Class: Google::Apis::MerchantapiAccountsV1beta::ListUsersResponse

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

Overview

Response message for the ListUsers method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListUsersResponse

Returns a new instance of ListUsersResponse.



2513
2514
2515
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 2513

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

Instance Attribute Details

#next_page_tokenString

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


2506
2507
2508
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 2506

def next_page_token
  @next_page_token
end

#usersArray<Google::Apis::MerchantapiAccountsV1beta::User>

The users from the specified account. Corresponds to the JSON property users



2511
2512
2513
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 2511

def users
  @users
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2518
2519
2520
2521
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 2518

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