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.



315
316
317
# File 'lib/google/apis/mybusinessaccountmanagement_v1/classes.rb', line 315

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



313
314
315
# File 'lib/google/apis/mybusinessaccountmanagement_v1/classes.rb', line 313

def invitations
  @invitations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



320
321
322
# File 'lib/google/apis/mybusinessaccountmanagement_v1/classes.rb', line 320

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