Class: Google::Apis::MerchantapiAccountsV1beta::ListUsersResponse
- Inherits:
-
Object
- Object
- Google::Apis::MerchantapiAccountsV1beta::ListUsersResponse
- 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
-
#next_page_token ⇒ String
A token, which can be sent as
page_token
to retrieve the next page. -
#users ⇒ Array<Google::Apis::MerchantapiAccountsV1beta::User>
The users from the specified account.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListUsersResponse
constructor
A new instance of ListUsersResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListUsersResponse
Returns a new instance of ListUsersResponse.
1335 1336 1337 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 1335 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
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
1328 1329 1330 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 1328 def next_page_token @next_page_token end |
#users ⇒ Array<Google::Apis::MerchantapiAccountsV1beta::User>
The users from the specified account.
Corresponds to the JSON property users
1333 1334 1335 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 1333 def users @users end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1340 1341 1342 1343 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 1340 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @users = args[:users] if args.key?(:users) end |