class Google::Apis::MybusinessaccountmanagementV1::ListAccountsResponse

Response message for Accounts.ListAccounts.

Attributes

accounts[RW]

A collection of accounts to which the user has access. The personal account of the user doing the query will always be the first item of the result, unless it is filtered out. Corresponds to the JSON property `accounts` @return [Array<Google::Apis::MybusinessaccountmanagementV1::Account>]

next_page_token[RW]

If the number of accounts exceeds the requested page size, this field is populated with a token to fetch the next page of accounts on a subsequent call to `accounts.list`. If there are no more accounts, this field is not present in the response. Corresponds to the JSON property `nextPageToken` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/mybusinessaccountmanagement_v1/classes.rb, line 285
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/mybusinessaccountmanagement_v1/classes.rb, line 290
def update!(**args)
  @accounts = args[:accounts] if args.key?(:accounts)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end