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.
Constructor Details
#initialize(**args) ⇒ UserAsset
Returns a new instance of UserAsset.
603 604 605 |
# File 'generated/google/apis/poly_v1/classes.rb', line 603 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
601 602 603 |
# File 'generated/google/apis/poly_v1/classes.rb', line 601 def asset @asset end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
608 609 610 |
# File 'generated/google/apis/poly_v1/classes.rb', line 608 def update!(**args) @asset = args[:asset] if args.key?(:asset) end |