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.



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

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

Instance Attribute Details

#companion_settingsGoogle::Apis::DfareportingV3_4::SiteCompanionSetting

Companion Settings Corresponds to the JSON property companionSettings



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

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)


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

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)


11365
11366
11367
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 11365

def orientation
  @orientation
end

#skippable_settingsGoogle::Apis::DfareportingV3_4::SiteSkippableSetting

Skippable Settings Corresponds to the JSON property skippableSettings



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

def skippable_settings
  @skippable_settings
end

#transcode_settingsGoogle::Apis::DfareportingV3_4::SiteTranscodeSetting

Transcode Settings Corresponds to the JSON property transcodeSettings



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

def transcode_settings
  @transcode_settings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11382
11383
11384
11385
11386
11387
11388
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 11382

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