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

target.apidocs.com.google.api.services.calendar.model.AclRule.html Maven / Gradle / Ivy

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






AclRule (Calendar API v3-rev20240927-2.0.0)












com.google.api.services.calendar.model

Class AclRule

    • Constructor Detail

      • AclRule

        public AclRule()
    • Method Detail

      • getEtag

        public String getEtag()
        ETag of the resource.
        Returns:
        value or null for none
      • setEtag

        public AclRule setEtag(String etag)
        ETag of the resource.
        Parameters:
        etag - etag or null for none
      • getId

        public String getId()
        Identifier of the Access Control List (ACL) rule. See Sharing calendars.
        Returns:
        value or null for none
      • setId

        public AclRule setId(String id)
        Identifier of the Access Control List (ACL) rule. See Sharing calendars.
        Parameters:
        id - id or null for none
      • getKind

        public String getKind()
        Type of the resource ("calendar#aclRule").
        Returns:
        value or null for none
      • setKind

        public AclRule setKind(String kind)
        Type of the resource ("calendar#aclRule").
        Parameters:
        kind - kind or null for none
      • getRole

        public String getRole()
        The role assigned to the scope. Possible values are: - "none" - Provides no access. - "freeBusyReader" - Provides read access to free/busy information. - "reader" - Provides read access to the calendar. Private events will appear to users with reader access, but event details will be hidden. - "writer" - Provides read and write access to the calendar. Private events will appear to users with writer access, and event details will be visible. - "owner" - Provides ownership of the calendar. This role has all of the permissions of the writer role with the additional ability to see and manipulate ACLs.
        Returns:
        value or null for none
      • setRole

        public AclRule setRole(String role)
        The role assigned to the scope. Possible values are: - "none" - Provides no access. - "freeBusyReader" - Provides read access to free/busy information. - "reader" - Provides read access to the calendar. Private events will appear to users with reader access, but event details will be hidden. - "writer" - Provides read and write access to the calendar. Private events will appear to users with writer access, and event details will be visible. - "owner" - Provides ownership of the calendar. This role has all of the permissions of the writer role with the additional ability to see and manipulate ACLs.
        Parameters:
        role - role or null for none
      • getScope

        public AclRule.Scope getScope()
        The extent to which calendar access is granted by this ACL rule.
        Returns:
        value or null for none
      • setScope

        public AclRule setScope(AclRule.Scope scope)
        The extent to which calendar access is granted by this ACL rule.
        Parameters:
        scope - scope or null for none
      • set

        public AclRule set(String fieldName,
                           Object value)
        Overrides:
        set in class com.google.api.client.json.GenericJson
      • clone

        public AclRule clone()
        Overrides:
        clone in class com.google.api.client.json.GenericJson

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy