Class: Google::Apis::DfareportingV3_5::SiteVideoSettings
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV3_5::SiteVideoSettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dfareporting_v3_5/classes.rb,
lib/google/apis/dfareporting_v3_5/representations.rb,
lib/google/apis/dfareporting_v3_5/representations.rb
Overview
Video Settings
Instance Attribute Summary collapse
-
#companion_settings ⇒ Google::Apis::DfareportingV3_5::SiteCompanionSetting
Companion Settings Corresponds to the JSON property
companionSettings. -
#kind ⇒ String
Identifies what kind of resource this is.
-
#oba_enabled ⇒ Boolean
(also: #oba_enabled?)
Whether OBA icons are enabled for this placement.
-
#oba_settings ⇒ Google::Apis::DfareportingV3_5::ObaIcon
Online Behavioral Advertiser icon.
-
#orientation ⇒ String
Orientation of a site template used for video.
-
#skippable_settings ⇒ Google::Apis::DfareportingV3_5::SiteSkippableSetting
Skippable Settings Corresponds to the JSON property
skippableSettings. -
#transcode_settings ⇒ Google::Apis::DfareportingV3_5::SiteTranscodeSetting
Transcode Settings Corresponds to the JSON property
transcodeSettings.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SiteVideoSettings
constructor
A new instance of SiteVideoSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SiteVideoSettings
Returns a new instance of SiteVideoSettings.
11404 11405 11406 |
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 11404 def initialize(**args) update!(**args) end |
Instance Attribute Details
#companion_settings ⇒ Google::Apis::DfareportingV3_5::SiteCompanionSetting
Companion Settings
Corresponds to the JSON property companionSettings
11369 11370 11371 |
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 11369 def companion_settings @companion_settings end |
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
dfareporting#siteVideoSettings".
Corresponds to the JSON property kind
11375 11376 11377 |
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 11375 def kind @kind end |
#oba_enabled ⇒ Boolean Also known as: oba_enabled?
Whether OBA icons are enabled for this placement.
Corresponds to the JSON property obaEnabled
11380 11381 11382 |
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 11380 def oba_enabled @oba_enabled end |
#oba_settings ⇒ Google::Apis::DfareportingV3_5::ObaIcon
Online Behavioral Advertiser icon.
Corresponds to the JSON property obaSettings
11386 11387 11388 |
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 11386 def oba_settings @oba_settings end |
#orientation ⇒ String
Orientation of a site template used for video. This will act as default for
new placements created under this site.
Corresponds to the JSON property orientation
11392 11393 11394 |
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 11392 def orientation @orientation end |
#skippable_settings ⇒ Google::Apis::DfareportingV3_5::SiteSkippableSetting
Skippable Settings
Corresponds to the JSON property skippableSettings
11397 11398 11399 |
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 11397 def skippable_settings @skippable_settings end |
#transcode_settings ⇒ Google::Apis::DfareportingV3_5::SiteTranscodeSetting
Transcode Settings
Corresponds to the JSON property transcodeSettings
11402 11403 11404 |
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 11402 def transcode_settings @transcode_settings end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11409 11410 11411 11412 11413 11414 11415 11416 11417 |
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 11409 def update!(**args) @companion_settings = args[:companion_settings] if args.key?(:companion_settings) @kind = args[:kind] if args.key?(:kind) @oba_enabled = args[:oba_enabled] if args.key?(:oba_enabled) @oba_settings = args[:oba_settings] if args.key?(:oba_settings) @orientation = args[:orientation] if args.key?(:orientation) @skippable_settings = args[:skippable_settings] if args.key?(:skippable_settings) @transcode_settings = args[:transcode_settings] if args.key?(:transcode_settings) end |