class Google::Apis::YoutubePartnerV1::AssetRelationship
Attributes
child_asset_id[RW]
The ID of the child (contained) asset. Corresponds to the JSON property `childAssetId` @return [String]
id[RW]
A value that YouTube assigns and uses to uniquely identify the asset relationship. Corresponds to the JSON property `id` @return [String]
kind[RW]
The type of the API resource. For this resource, the value is youtubePartner# assetRelationship. Corresponds to the JSON property `kind` @return [String]
parent_asset_id[RW]
The ID of the parent (containing) asset. Corresponds to the JSON property `parentAssetId` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/youtube_partner_v1/classes.rb, line 394 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/youtube_partner_v1/classes.rb, line 399 def update!(**args) @child_asset_id = args[:child_asset_id] if args.key?(:child_asset_id) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @parent_asset_id = args[:parent_asset_id] if args.key?(:parent_asset_id) end