Class: Google::Apis::DfareportingV3_0::VideoSettings

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



12102
12103
12104
# File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 12102

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

Instance Attribute Details

#companion_settingsGoogle::Apis::DfareportingV3_0::CompanionSetting

Companion Settings Corresponds to the JSON property companionSettings



12078
12079
12080
# File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 12078

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)


12084
12085
12086
# File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 12084

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)


12090
12091
12092
# File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 12090

def orientation
  @orientation
end

#skippable_settingsGoogle::Apis::DfareportingV3_0::SkippableSetting

Skippable Settings Corresponds to the JSON property skippableSettings



12095
12096
12097
# File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 12095

def skippable_settings
  @skippable_settings
end

#transcode_settingsGoogle::Apis::DfareportingV3_0::TranscodeSetting

Transcode Settings Corresponds to the JSON property transcodeSettings



12100
12101
12102
# File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 12100

def transcode_settings
  @transcode_settings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12107
12108
12109
12110
12111
12112
12113
# File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 12107

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