Class: Google::Apis::PlusDomainsV1::PlusDomainsAclentryResource

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/plus_domains_v1/classes.rb,
generated/google/apis/plus_domains_v1/representations.rb,
generated/google/apis/plus_domains_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) ⇒ PlusDomainsAclentryResource

Returns a new instance of PlusDomainsAclentryResource



2559
2560
2561
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 2559

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)


2539
2540
2541
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 2539

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)


2545
2546
2547
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 2545

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)


2557
2558
2559
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 2557

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2564
2565
2566
2567
2568
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 2564

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