Class: Google::Apis::DfareportingV3_4::SiteVideoSettings

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dfareporting_v3_4/classes.rb,
generated/google/apis/dfareporting_v3_4/representations.rb,
generated/google/apis/dfareporting_v3_4/representations.rb

Overview

Video Settings

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ SiteVideoSettings

Returns a new instance of SiteVideoSettings.



11370
11371
11372
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 11370

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#companion_settingsGoogle::Apis::DfareportingV3_4::SiteCompanionSetting

Companion Settings Corresponds to the JSON property companionSettings



11346
11347
11348
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 11346

def companion_settings
  @companion_settings
end

#kindString

Identifies what kind of resource this is. Value: the fixed string " dfareporting#siteVideoSettings". Corresponds to the JSON property kind

Returns:

  • (String)


11352
11353
11354
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 11352

def kind
  @kind
end

#orientationString

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

Returns:

  • (String)


11358
11359
11360
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 11358

def orientation
  @orientation
end

#skippable_settingsGoogle::Apis::DfareportingV3_4::SiteSkippableSetting

Skippable Settings Corresponds to the JSON property skippableSettings



11363
11364
11365
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 11363

def skippable_settings
  @skippable_settings
end

#transcode_settingsGoogle::Apis::DfareportingV3_4::SiteTranscodeSetting

Transcode Settings Corresponds to the JSON property transcodeSettings



11368
11369
11370
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 11368

def transcode_settings
  @transcode_settings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11375
11376
11377
11378
11379
11380
11381
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 11375

def update!(**args)
  @companion_settings = args[:companion_settings] if args.key?(:companion_settings)
  @kind = args[:kind] if args.key?(:kind)
  @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