Class: Google::Apis::DfareportingV3_2::VideoSettings

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dfareporting_v3_2/classes.rb,
generated/google/apis/dfareporting_v3_2/representations.rb,
generated/google/apis/dfareporting_v3_2/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) ⇒ VideoSettings

Returns a new instance of VideoSettings



12284
12285
12286
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 12284

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

Instance Attribute Details

#companion_settingsGoogle::Apis::DfareportingV3_2::CompanionSetting

Companion Settings Corresponds to the JSON property companionSettings



12260
12261
12262
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 12260

def companion_settings
  @companion_settings
end

#kindString

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

Returns:

  • (String)


12266
12267
12268
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 12266

def kind
  @kind
end

#orientationString

Orientation of a video placement. If this value is set, placement will return assets matching the specified orientation. Corresponds to the JSON property orientation

Returns:

  • (String)


12272
12273
12274
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 12272

def orientation
  @orientation
end

#skippable_settingsGoogle::Apis::DfareportingV3_2::SkippableSetting

Skippable Settings Corresponds to the JSON property skippableSettings



12277
12278
12279
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 12277

def skippable_settings
  @skippable_settings
end

#transcode_settingsGoogle::Apis::DfareportingV3_2::TranscodeSetting

Transcode Settings Corresponds to the JSON property transcodeSettings



12282
12283
12284
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 12282

def transcode_settings
  @transcode_settings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12289
12290
12291
12292
12293
12294
12295
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 12289

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