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
| 577 578 579 | # File 'generated/google/apis/poly_v1/classes.rb', line 577 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
| 575 576 577 | # File 'generated/google/apis/poly_v1/classes.rb', line 575 def asset @asset end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 582 583 584 | # File 'generated/google/apis/poly_v1/classes.rb', line 582 def update!(**args) @asset = args[:asset] if args.key?(:asset) end |