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

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

The newest version!






AclRule.Scope (Calendar API v3-rev20241101-2.0.0)












com.google.api.services.calendar.model

Class AclRule.Scope

  • All Implemented Interfaces:
    Cloneable, Map<String,Object>
    Enclosing class:
    AclRule


    public static final class AclRule.Scope
    extends com.google.api.client.json.GenericJson
    The extent to which calendar access is granted by this ACL rule.
    • Constructor Detail

      • Scope

        public Scope()
    • Method Detail

      • getType

        public String getType()
        The type of the scope. Possible values are: - "default" - The public scope. This is the default value. - "user" - Limits the scope to a single user. - "group" - Limits the scope to a group. - "domain" - Limits the scope to a domain. Note: The permissions granted to the "default", or public, scope apply to any user, authenticated or not.
        Returns:
        value or null for none
      • setType

        public AclRule.Scope setType(String type)
        The type of the scope. Possible values are: - "default" - The public scope. This is the default value. - "user" - Limits the scope to a single user. - "group" - Limits the scope to a group. - "domain" - Limits the scope to a domain. Note: The permissions granted to the "default", or public, scope apply to any user, authenticated or not.
        Parameters:
        type - type or null for none
      • getValue

        public String getValue()
        The email address of a user or group, or the name of a domain, depending on the scope type. Omitted for type "default".
        Returns:
        value or null for none
      • setValue

        public AclRule.Scope setValue(String value)
        The email address of a user or group, or the name of a domain, depending on the scope type. Omitted for type "default".
        Parameters:
        value - value or null for none
      • set

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

        public AclRule.Scope 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