All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.calendar.Calendar.Acl.Watch.html Maven / Gradle / Ivy

There is a newer version: v3-rev20241101-2.0.0
Show newest version






Calendar.Acl.Watch (Calendar API v3-rev20240927-2.0.0)












com.google.api.services.calendar

Class Calendar.Acl.Watch

    • Constructor Detail

      • Watch

        protected Watch(String calendarId,
                        Channel content)
        Watch for changes to ACL resources. Create a request for the method "acl.watch". This request holds the parameters needed by the the calendar server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.

        Calendar.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest) must be called to initialize this instance immediately after invoking the constructor.

        Parameters:
        calendarId - Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword.
        content - the Channel
        Since:
        1.13
    • Method Detail

      • getCalendarId

        public String getCalendarId()
        Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword.
      • setCalendarId

        public Calendar.Acl.Watch setCalendarId(String calendarId)
        Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword.
      • getMaxResults

        public Integer getMaxResults()
        Maximum number of entries returned on one result page. By default the value is 100 entries. The page size can never be larger than 250 entries. Optional. [minimum: 1]
      • setMaxResults

        public Calendar.Acl.Watch setMaxResults(Integer maxResults)
        Maximum number of entries returned on one result page. By default the value is 100 entries. The page size can never be larger than 250 entries. Optional.
      • getPageToken

        public String getPageToken()
        Token specifying which result page to return. Optional.
      • setPageToken

        public Calendar.Acl.Watch setPageToken(String pageToken)
        Token specifying which result page to return. Optional.
      • getShowDeleted

        public Boolean getShowDeleted()
        Whether to include deleted ACLs in the result. Deleted ACLs are represented by role equal to "none". Deleted ACLs will always be included if syncToken is provided. Optional. The default is False.
      • setShowDeleted

        public Calendar.Acl.Watch setShowDeleted(Boolean showDeleted)
        Whether to include deleted ACLs in the result. Deleted ACLs are represented by role equal to "none". Deleted ACLs will always be included if syncToken is provided. Optional. The default is False.
      • getSyncToken

        public String getSyncToken()
        Token obtained from the nextSyncToken field returned on the last page of results from the previous list request. It makes the result of this list request contain only entries that have changed since then. All entries deleted since the previous list request will always be in the result set and it is not allowed to set showDeleted to False. If the syncToken expires, the server will respond with a 410 GONE response code and the client should clear its storage and perform a full synchronization without any syncToken. Learn more about incremental synchronization. Optional. The default is to return all entries.
      • setSyncToken

        public Calendar.Acl.Watch setSyncToken(String syncToken)
        Token obtained from the nextSyncToken field returned on the last page of results from the previous list request. It makes the result of this list request contain only entries that have changed since then. All entries deleted since the previous list request will always be in the result set and it is not allowed to set showDeleted to False. If the syncToken expires, the server will respond with a 410 GONE response code and the client should clear its storage and perform a full synchronization without any syncToken. Learn more about incremental synchronization. Optional. The default is to return all entries.

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy