Class: Google::Apis::DisplayvideoV4::YoutubeAssetAssociationSitelinkAsset
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV4::YoutubeAssetAssociationSitelinkAsset
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v4/classes.rb,
lib/google/apis/displayvideo_v4/representations.rb,
lib/google/apis/displayvideo_v4/representations.rb
Overview
A sitelink asset.
Instance Attribute Summary collapse
-
#asset_id ⇒ Fixnum
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ YoutubeAssetAssociationSitelinkAsset
constructor
A new instance of YoutubeAssetAssociationSitelinkAsset.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ YoutubeAssetAssociationSitelinkAsset
Returns a new instance of YoutubeAssetAssociationSitelinkAsset.
14913 14914 14915 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 14913 def initialize(**args) update!(**args) end |
Instance Attribute Details
#asset_id ⇒ Fixnum
Required. ID of the sitelink asset.
Corresponds to the JSON property assetId
14911 14912 14913 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 14911 def asset_id @asset_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14918 14919 14920 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 14918 def update!(**args) @asset_id = args[:asset_id] if args.key?(:asset_id) end |