Class: Google::Apis::MybusinessaccountmanagementV1::ListInvitationsResponse

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.ListInvitations.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListInvitationsResponse

Returns a new instance of ListInvitationsResponse.



306
307
308
# File 'lib/google/apis/mybusinessaccountmanagement_v1/classes.rb', line 306

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

Instance Attribute Details

#invitationsArray<Google::Apis::MybusinessaccountmanagementV1::Invitation>

A collection of invitations that are pending for the account. The number of invitations listed here cannot exceed 1000. Corresponds to the JSON property invitations



304
305
306
# File 'lib/google/apis/mybusinessaccountmanagement_v1/classes.rb', line 304

def invitations
  @invitations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



311
312
313
# File 'lib/google/apis/mybusinessaccountmanagement_v1/classes.rb', line 311

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