Class: Google::Apis::MybusinessV3::ListLocationAdminsResponse

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

Returns a new instance of ListLocationAdminsResponse



811
812
813
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 811

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#adminsArray<Google::Apis::MybusinessV3::Admin>

A collection of Admin instances. Corresponds to the JSON property admins



809
810
811
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 809

def admins
  @admins
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



816
817
818
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 816

def update!(**args)
  @admins = args[:admins] if args.key?(:admins)
end