Class: Google::Apis::PolyV1::RemixInfo

Inherits:
Object
  • Object
show all
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

Info about the sources of this asset (i.e. assets that were remixed to create this asset).

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ RemixInfo

Returns a new instance of RemixInfo



552
553
554
# File 'generated/google/apis/poly_v1/classes.rb', line 552

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#source_assetArray<String>

Resource ids for the sources of this remix, of the form: assets/ASSET_ID` Corresponds to the JSON propertysourceAsset`

Returns:

  • (Array<String>)


550
551
552
# File 'generated/google/apis/poly_v1/classes.rb', line 550

def source_asset
  @source_asset
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



557
558
559
# File 'generated/google/apis/poly_v1/classes.rb', line 557

def update!(**args)
  @source_asset = args[:source_asset] if args.key?(:source_asset)
end