Class: Google::Apis::PolyV1::ListAssetsResponse
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::PolyV1::ListAssetsResponse
 
 
- 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
- 
  
    
      #assets  ⇒ Array<Google::Apis::PolyV1::Asset> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A list of assets that match the criteria specified in the request.
 - 
  
    
      #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.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ListAssetsResponse 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of ListAssetsResponse.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListAssetsResponse
Returns a new instance of ListAssetsResponse
      333 334 335  | 
    
      # File 'generated/google/apis/poly_v1/classes.rb', line 333 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#assets ⇒ Array<Google::Apis::PolyV1::Asset>
A list of assets that match the criteria specified in the request.
Corresponds to the JSON property assets
      318 319 320  | 
    
      # File 'generated/google/apis/poly_v1/classes.rb', line 318 def assets @assets end  | 
  
#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
      326 327 328  | 
    
      # File 'generated/google/apis/poly_v1/classes.rb', line 326 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
      331 332 333  | 
    
      # File 'generated/google/apis/poly_v1/classes.rb', line 331 def total_size @total_size end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      338 339 340 341 342  | 
    
      # File 'generated/google/apis/poly_v1/classes.rb', line 338 def update!(**args) @assets = args[:assets] if args.key?(:assets) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @total_size = args[:total_size] if args.key?(:total_size) end  |