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.



138
139
140
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 138

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



136
137
138
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 136

def admins
  @admins
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



143
144
145
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 143

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