Class: Google::Apis::PolyV1::UserAsset
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::PolyV1::UserAsset
 
 
- 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
Data about the user's asset.
Instance Attribute Summary collapse
- 
  
    
      #asset  ⇒ Google::Apis::PolyV1::Asset 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Represents and describes an asset in the Poly library.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ UserAsset 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of UserAsset.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ UserAsset
Returns a new instance of UserAsset
      615 616 617  | 
    
      # File 'generated/google/apis/poly_v1/classes.rb', line 615 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#asset ⇒ Google::Apis::PolyV1::Asset
Represents and describes an asset in the Poly library. An asset is a 3D model
or scene created using Tilt Brush,
Blocks, or any 3D program that produces a file
that can be upload to Poly.
Corresponds to the JSON property asset
      613 614 615  | 
    
      # File 'generated/google/apis/poly_v1/classes.rb', line 613 def asset @asset end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      620 621 622  | 
    
      # File 'generated/google/apis/poly_v1/classes.rb', line 620 def update!(**args) @asset = args[:asset] if args.key?(:asset) end  |