class Google::Apis::YoutubePartnerV1::ContentOwnerAdvertisingOption
Attributes
allowed_options[RW]
This object identifies the ad formats that the content owner is allowed to use. Corresponds to the JSON property `allowedOptions` @return [Google::Apis::YoutubePartnerV1::AllowedAdvertisingOptions]
claimed_video_options[RW]
This object identifies the advertising options used by default for the content owner's newly claimed videos. Corresponds to the JSON property `claimedVideoOptions` @return [Google::Apis::YoutubePartnerV1::ClaimedVideoDefaults]
id[RW]
The value that YouTube uses to uniquely identify the content owner. Corresponds to the JSON property `id` @return [String]
kind[RW]
The type of the API resource. For this resource, the value is youtubePartner# contentOwnerAdvertisingOption. Corresponds to the JSON property `kind` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/youtube_partner_v1/classes.rb, line 1521 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 1526 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