Class: Google::Apis::DfareportingV3_1::VideoSettings

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



12243
12244
12245
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 12243

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

Instance Attribute Details

#companion_settingsGoogle::Apis::DfareportingV3_1::CompanionSetting

Companion Settings Corresponds to the JSON property companionSettings



12219
12220
12221
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 12219

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)


12225
12226
12227
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 12225

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)


12231
12232
12233
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 12231

def orientation
  @orientation
end

#skippable_settingsGoogle::Apis::DfareportingV3_1::SkippableSetting

Skippable Settings Corresponds to the JSON property skippableSettings



12236
12237
12238
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 12236

def skippable_settings
  @skippable_settings
end

#transcode_settingsGoogle::Apis::DfareportingV3_1::TranscodeSetting

Transcode Settings Corresponds to the JSON property transcodeSettings



12241
12242
12243
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 12241

def transcode_settings
  @transcode_settings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12248
12249
12250
12251
12252
12253
12254
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 12248

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