Class: Google::Apis::MybusinessV3::ListAccountAdminsResponse

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) ⇒ ListAccountAdminsResponse

Returns a new instance of ListAccountAdminsResponse



764
765
766
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 764

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



762
763
764
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 762

def admins
  @admins
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



769
770
771
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 769

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