Class: Google::Apis::DisplayvideoV4::YoutubeAssetAssociationSitelinkAsset

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ YoutubeAssetAssociationSitelinkAsset

Returns a new instance of YoutubeAssetAssociationSitelinkAsset.



14923
14924
14925
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 14923

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

Instance Attribute Details

#asset_idFixnum

Required. ID of the sitelink asset. Corresponds to the JSON property assetId

Returns:

  • (Fixnum)


14921
14922
14923
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 14921

def asset_id
  @asset_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14928
14929
14930
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 14928

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