Class: Google::Apis::MybusinessaccountmanagementV1::ListAccountAdminsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/mybusinessaccountmanagement_v1/classes.rb,
lib/google/apis/mybusinessaccountmanagement_v1/representations.rb,
lib/google/apis/mybusinessaccountmanagement_v1/representations.rb

Overview

Response message for AccessControl.ListAccountAdmins.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListAccountAdminsResponse

Returns a new instance of ListAccountAdminsResponse.



265
266
267
# File 'lib/google/apis/mybusinessaccountmanagement_v1/classes.rb', line 265

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

Instance Attribute Details

#account_adminsArray<Google::Apis::MybusinessaccountmanagementV1::Admin>

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



263
264
265
# File 'lib/google/apis/mybusinessaccountmanagement_v1/classes.rb', line 263

def 
  @account_admins
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



270
271
272
# File 'lib/google/apis/mybusinessaccountmanagement_v1/classes.rb', line 270

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