Class: Google::Apis::DfareportingV3_4::VideoSettings

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) ⇒ VideoSettings

Returns a new instance of VideoSettings.



12702
12703
12704
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 12702

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

Instance Attribute Details

#companion_settingsGoogle::Apis::DfareportingV3_4::CompanionSetting

Companion Settings Corresponds to the JSON property companionSettings



12678
12679
12680
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 12678

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)


12684
12685
12686
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 12684

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)


12690
12691
12692
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 12690

def orientation
  @orientation
end

#skippable_settingsGoogle::Apis::DfareportingV3_4::SkippableSetting

Skippable Settings Corresponds to the JSON property skippableSettings



12695
12696
12697
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 12695

def skippable_settings
  @skippable_settings
end

#transcode_settingsGoogle::Apis::DfareportingV3_4::TranscodeSetting

Transcode Settings Corresponds to the JSON property transcodeSettings



12700
12701
12702
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 12700

def transcode_settings
  @transcode_settings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12707
12708
12709
12710
12711
12712
12713
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 12707

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