Class: Google::Apis::PolyV1::ListUserAssetsResponse
- Inherits:
-
Object
- Object
- Google::Apis::PolyV1::ListUserAssetsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/poly_v1/classes.rb,
generated/google/apis/poly_v1/representations.rb,
generated/google/apis/poly_v1/representations.rb
Overview
A response message from a request to list.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
The continuation token for retrieving the next page.
-
#total_size ⇒ Fixnum
The total number of assets in the list, without pagination.
-
#user_assets ⇒ Array<Google::Apis::PolyV1::UserAsset>
A list of UserAssets matching the request.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListUserAssetsResponse
constructor
A new instance of ListUserAssetsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListUserAssetsResponse
Returns a new instance of ListUserAssetsResponse.
402 403 404 |
# File 'generated/google/apis/poly_v1/classes.rb', line 402 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
The continuation token for retrieving the next page. If empty,
indicates that there are no more pages. To get the next page, submit the
same request specifying this value as the
page_token.
Corresponds to the JSON property nextPageToken
390 391 392 |
# File 'generated/google/apis/poly_v1/classes.rb', line 390 def next_page_token @next_page_token end |
#total_size ⇒ Fixnum
The total number of assets in the list, without pagination.
Corresponds to the JSON property totalSize
395 396 397 |
# File 'generated/google/apis/poly_v1/classes.rb', line 395 def total_size @total_size end |
#user_assets ⇒ Array<Google::Apis::PolyV1::UserAsset>
A list of UserAssets matching the request.
Corresponds to the JSON property userAssets
400 401 402 |
# File 'generated/google/apis/poly_v1/classes.rb', line 400 def user_assets @user_assets end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
407 408 409 410 411 |
# File 'generated/google/apis/poly_v1/classes.rb', line 407 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @total_size = args[:total_size] if args.key?(:total_size) @user_assets = args[:user_assets] if args.key?(:user_assets) end |