class Google::Apis::YoutubePartnerV1::CampaignTargetLink
Attributes
target_id[RW]
The channel ID or video ID of the link target. Corresponds to the JSON property `targetId` @return [String]
target_type[RW]
Indicates whether the link target is a channel or video. Corresponds to the JSON property `targetType` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/youtube_partner_v1/classes.rb, line 758 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/youtube_partner_v1/classes.rb, line 763 def update!(**args) @target_id = args[:target_id] if args.key?(:target_id) @target_type = args[:target_type] if args.key?(:target_type) end