i want search files getting exception.
query = "mimetype ='application/pdf' , properties has { key="+ "'" + agency + "'" +"and value contains"+ "'" + somevalue + "'" + " , visibility='public'} "; request = service.files().list().setq(query);
do need search exact value?
query = "mimetype ='application/pdf' , properties has { key="+ "'" + agency + "'" +"and value = "+ "'" + somevalue + "'" + " , visibility='public'} "; request = service.files().list().setq(query);
the second 1 working, there feature support wildcard characters?
yes, custom properties have seach exact values
properties has { key='additionalid' , value='8e8aceg2af2ge72e78' , visibility='private' }
https://developers.google.com/drive/web/search-parameters#properties