Class: Google::Apis::PlusV1::PlusAclentryResource
- Inherits:
-
Object
- Object
- Google::Apis::PlusV1::PlusAclentryResource
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/plus_v1/classes.rb,
generated/google/apis/plus_v1/representations.rb,
generated/google/apis/plus_v1/representations.rb
Instance Attribute Summary collapse
-
#display_name ⇒ String
A descriptive name for this entry.
-
#id ⇒ String
The ID of the entry.
-
#type ⇒ String
The type of entry describing to whom access is granted.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PlusAclentryResource
constructor
A new instance of PlusAclentryResource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ PlusAclentryResource
Returns a new instance of PlusAclentryResource
2081 2082 2083 |
# File 'generated/google/apis/plus_v1/classes.rb', line 2081 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
A descriptive name for this entry. Suitable for display.
Corresponds to the JSON property displayName
2061 2062 2063 |
# File 'generated/google/apis/plus_v1/classes.rb', line 2061 def display_name @display_name end |
#id ⇒ String
The ID of the entry. For entries of type "person" or "circle", this is the ID
of the resource. For other types, this property is not set.
Corresponds to the JSON property id
2067 2068 2069 |
# File 'generated/google/apis/plus_v1/classes.rb', line 2067 def id @id end |
#type ⇒ String
The type of entry describing to whom access is granted. Possible values are:
- "person" - Access to an individual.
- "circle" - Access to members of a circle.
- "myCircles" - Access to members of all the person's circles.
- "extendedCircles" - Access to members of all the person's circles, plus all of the people in their circles.
- "domain" - Access to members of the person's Google Apps domain.
- "public" - Access to anyone on the web.
Corresponds to the JSON property
type
2079 2080 2081 |
# File 'generated/google/apis/plus_v1/classes.rb', line 2079 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2086 2087 2088 2089 2090 |
# File 'generated/google/apis/plus_v1/classes.rb', line 2086 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @id = args[:id] if args.key?(:id) @type = args[:type] if args.key?(:type) end |