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



11876
11877
11878
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 11876

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

Instance Attribute Details

#companion_settingsGoogle::Apis::DfareportingV2_7::CompanionSetting

Companion Settings Corresponds to the JSON property companionSettings



11858
11859
11860
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 11858

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)


11864
11865
11866
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 11864

def kind
  @kind
end

#skippable_settingsGoogle::Apis::DfareportingV2_7::SkippableSetting

Skippable Settings Corresponds to the JSON property skippableSettings



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

def skippable_settings
  @skippable_settings
end

#transcode_settingsGoogle::Apis::DfareportingV2_7::TranscodeSetting

Transcode Settings Corresponds to the JSON property transcodeSettings



11874
11875
11876
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 11874

def transcode_settings
  @transcode_settings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11881
11882
11883
11884
11885
11886
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 11881

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