Class: Google::Apis::MerchantapiAccountsV1beta::ListSubAccountsResponse
- Inherits:
-
Object
- Object
- Google::Apis::MerchantapiAccountsV1beta::ListSubAccountsResponse
- 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 ListSubAccounts
method.
Instance Attribute Summary collapse
-
#accounts ⇒ Array<Google::Apis::MerchantapiAccountsV1beta::Account>
The accounts for which the given parent account is an aggregator.
-
#next_page_token ⇒ String
A token, which can be sent as
page_token
to retrieve the next page.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListSubAccountsResponse
constructor
A new instance of ListSubAccountsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListSubAccountsResponse
Returns a new instance of ListSubAccountsResponse.
1309 1310 1311 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 1309 def initialize(**args) update!(**args) end |
Instance Attribute Details
#accounts ⇒ Array<Google::Apis::MerchantapiAccountsV1beta::Account>
The accounts for which the given parent account is an aggregator.
Corresponds to the JSON property accounts
1301 1302 1303 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 1301 def accounts @accounts end |
#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
1307 1308 1309 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 1307 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1314 1315 1316 1317 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 1314 def update!(**args) @accounts = args[:accounts] if args.key?(:accounts) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |