Class: Google::Apis::YoutubePartnerV1::ContentOwnerAdvertisingOption
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::YoutubePartnerV1::ContentOwnerAdvertisingOption
 
- 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
- 
  
    
      #allowed_options  ⇒ Google::Apis::YoutubePartnerV1::AllowedAdvertisingOptions 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    This object identifies the ad formats that the content owner is allowed to use. 
- 
  
    
      #claimed_video_options  ⇒ Google::Apis::YoutubePartnerV1::ClaimedVideoDefaults 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    This object identifies the advertising options used by default for the content owner's newly claimed videos. 
- 
  
    
      #id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The value that YouTube uses to uniquely identify the content owner. 
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The type of the API resource. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ContentOwnerAdvertisingOption 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ContentOwnerAdvertisingOption. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ContentOwnerAdvertisingOption
Returns a new instance of ContentOwnerAdvertisingOption
| 1598 1599 1600 | # File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1598 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#allowed_options ⇒ Google::Apis::YoutubePartnerV1::AllowedAdvertisingOptions
This object identifies the ad formats that the content owner is allowed to use.
Corresponds to the JSON property allowedOptions
| 1579 1580 1581 | # File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1579 def @allowed_options end | 
#claimed_video_options ⇒ Google::Apis::YoutubePartnerV1::ClaimedVideoDefaults
This object identifies the advertising options used by default for the content
owner's newly claimed videos.
Corresponds to the JSON property claimedVideoOptions
| 1585 1586 1587 | # File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1585 def @claimed_video_options end | 
#id ⇒ String
The value that YouTube uses to uniquely identify the content owner.
Corresponds to the JSON property id
| 1590 1591 1592 | # File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1590 def id @id end | 
#kind ⇒ String
The type of the API resource. For this resource, the value is youtubePartner#
contentOwnerAdvertisingOption.
Corresponds to the JSON property kind
| 1596 1597 1598 | # File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1596 def kind @kind end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1603 1604 1605 1606 1607 1608 | # File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1603 def update!(**args) @allowed_options = args[:allowed_options] if args.key?(:allowed_options) @claimed_video_options = args[:claimed_video_options] if args.key?(:claimed_video_options) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) end |