Class: Google::Apis::YoutubePartnerV1::ClaimedVideoDefaults
- Inherits:
-
Object
- Object
- Google::Apis::YoutubePartnerV1::ClaimedVideoDefaults
- 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
-
#auto_generated_breaks ⇒ Boolean
(also: #auto_generated_breaks?)
Set this property to true to enable automatically generated breaks for a newly claimed video longer than 10 minutes.
-
#channel_override ⇒ Boolean
(also: #channel_override?)
Set this property to true to indicate that the channel's claimedVideoOptions can override the content owner's claimedVideoOptions.
-
#kind ⇒ String
Identifies this resource as default options for newly claimed video.
-
#new_video_defaults ⇒ Array<String>
A list of ad formats that could be used as the default settings for a newly claimed video.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ClaimedVideoDefaults
constructor
A new instance of ClaimedVideoDefaults.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ClaimedVideoDefaults
Returns a new instance of ClaimedVideoDefaults
1418 1419 1420 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1418 def initialize(**args) update!(**args) end |
Instance Attribute Details
#auto_generated_breaks ⇒ Boolean Also known as: auto_generated_breaks?
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
1395 1396 1397 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1395 def auto_generated_breaks @auto_generated_breaks end |
#channel_override ⇒ Boolean Also known as: channel_override?
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
1402 1403 1404 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1402 def channel_override @channel_override end |
#kind ⇒ String
Identifies this resource as default options for newly claimed video. Value: "
youtubePartner#claimedVideoDefaults".
Corresponds to the JSON property kind
1409 1410 1411 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1409 def kind @kind end |
#new_video_defaults ⇒ Array<String>
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
1416 1417 1418 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1416 def new_video_defaults @new_video_defaults end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1423 1424 1425 1426 1427 1428 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1423 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 |