Class: Google::Apis::YoutubePartnerV1::CampaignTargetLink
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::YoutubePartnerV1::CampaignTargetLink
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/youtube_partner_v1/classes.rb,
 generated/google/apis/youtube_partner_v1/representations.rb,
 generated/google/apis/youtube_partner_v1/representations.rb
Instance Attribute Summary collapse
- 
  
    
      #target_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The channel ID or video ID of the link target. 
- 
  
    
      #target_type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Indicates whether the link target is a channel or video. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ CampaignTargetLink 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of CampaignTargetLink. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CampaignTargetLink
Returns a new instance of CampaignTargetLink
| 783 784 785 | # File 'generated/google/apis/youtube_partner_v1/classes.rb', line 783 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#target_id ⇒ String
The channel ID or video ID of the link target.
Corresponds to the JSON property targetId
| 776 777 778 | # File 'generated/google/apis/youtube_partner_v1/classes.rb', line 776 def target_id @target_id end | 
#target_type ⇒ String
Indicates whether the link target is a channel or video.
Corresponds to the JSON property targetType
| 781 782 783 | # File 'generated/google/apis/youtube_partner_v1/classes.rb', line 781 def target_type @target_type end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 788 789 790 791 | # File 'generated/google/apis/youtube_partner_v1/classes.rb', line 788 def update!(**args) @target_id = args[:target_id] if args.key?(:target_id) @target_type = args[:target_type] if args.key?(:target_type) end |