Class: Google::Apis::PlusV1::PlusAclentryResource

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

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_nameString

A descriptive name for this entry. Suitable for display. Corresponds to the JSON property displayName

Returns:

  • (String)


2061
2062
2063
# File 'generated/google/apis/plus_v1/classes.rb', line 2061

def display_name
  @display_name
end

#idString

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

Returns:

  • (String)


2067
2068
2069
# File 'generated/google/apis/plus_v1/classes.rb', line 2067

def id
  @id
end

#typeString

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

Returns:

  • (String)


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