target.apidocs.com.google.api.services.calendar.model.AclRule.Scope.html Maven / Gradle / Ivy
AclRule.Scope (Calendar API v3-rev20240927-2.0.0)
com.google.api.services.calendar.model
Class AclRule.Scope
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.calendar.model.AclRule.Scope
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
Scope()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
AclRule.Scope
clone()
String
getType()
The type of the scope.
String
getValue()
The email address of a user or group, or the name of a domain, depending on the scope type.
AclRule.Scope
set(String fieldName,
Object value)
AclRule.Scope
setType(String type)
The type of the scope.
AclRule.Scope
setValue(String value)
The email address of a user or group, or the name of a domain, depending on the scope type.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
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