class Google::Apis::YoutubePartnerV1::ClaimedVideoDefaults

Attributes

auto_generated_breaks[RW]

Set this property to true to enable automatically generated breaks for a newly claimed video longer than 10 minutes. The first partner that claims the video sets its default advertising options to that video. claimedVideoOptions. auto_generated_breaks_default Corresponds to the JSON property `autoGeneratedBreaks` @return [Boolean]

auto_generated_breaks?[RW]

Set this property to true to enable automatically generated breaks for a newly claimed video longer than 10 minutes. The first partner that claims the video sets its default advertising options to that video. claimedVideoOptions. auto_generated_breaks_default Corresponds to the JSON property `autoGeneratedBreaks` @return [Boolean]

channel_override[RW]

Set this property to true to indicate that the channel's claimedVideoOptions can override the content owner's claimedVideoOptions. Corresponds to the JSON property `channelOverride` @return [Boolean]

channel_override?[RW]

Set this property to true to indicate that the channel's claimedVideoOptions can override the content owner's claimedVideoOptions. Corresponds to the JSON property `channelOverride` @return [Boolean]

kind[RW]

Identifies this resource as default options for newly claimed video. Value: “ youtubePartner#claimedVideoDefaults”. Corresponds to the JSON property `kind` @return [String]

new_video_defaults[RW]

A list of ad formats that could be used as the default settings for a newly claimed video. The first partner that claims the video sets its default advertising options to that video. Corresponds to the JSON property `newVideoDefaults` @return [Array<String>]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/youtube_partner_v1/classes.rb, line 1341
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 1346
def update!(**args)
  @auto_generated_breaks = args[:auto_generated_breaks] if args.key?(:auto_generated_breaks)
  @channel_override = args[:channel_override] if args.key?(:channel_override)
  @kind = args[:kind] if args.key?(:kind)
  @new_video_defaults = args[:new_video_defaults] if args.key?(:new_video_defaults)
end