简体   繁体   中英

How to use setQ() method in google calendar api v3 java

Can someone give me an example on how to use the setQ() method on google calendar v3 api for calendar events in Java? I try the setQ() method in google drive and it's worked fine, so I want to know how to do the same thing in google calendar events.

So for example, I have an event description in my 'primary' calendar that contains the word 'event test' and I want to retrieve all events in this 'primary' calendar that has its description contains the word 'event test'. Because I want to avoid looping all the hundreds or thousands of events in my calendar to find a specific event.

Thanks.

事件feed = client.events()。list(“ calendarId”)。setQ(“ search text”)。execute();

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM