Class: Google::Apis::DfareportingV2_7::VideoSettings

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



11862
11863
11864
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 11862

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

Instance Attribute Details

#companion_settingsGoogle::Apis::DfareportingV2_7::CompanionSetting

Companion Settings Corresponds to the JSON property companionSettings



11844
11845
11846
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 11844

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)


11850
11851
11852
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 11850

def kind
  @kind
end

#skippable_settingsGoogle::Apis::DfareportingV2_7::SkippableSetting

Skippable Settings Corresponds to the JSON property skippableSettings



11855
11856
11857
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 11855

def skippable_settings
  @skippable_settings
end

#transcode_settingsGoogle::Apis::DfareportingV2_7::TranscodeSetting

Transcode Settings Corresponds to the JSON property transcodeSettings



11860
11861
11862
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 11860

def transcode_settings
  @transcode_settings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11867
11868
11869
11870
11871
11872
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 11867

def update!(**args)
  @companion_settings = args[:companion_settings] if args.key?(:companion_settings)
  @kind = args[:kind] if args.key?(:kind)
  @skippable_settings = args[:skippable_settings] if args.key?(:skippable_settings)
  @transcode_settings = args[:transcode_settings] if args.key?(:transcode_settings)
end