Class: Google::Apis::DfareportingV3_3::SiteVideoSettings

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

Returns a new instance of SiteVideoSettings



10953
10954
10955
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 10953

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

Instance Attribute Details

#companion_settingsGoogle::Apis::DfareportingV3_3::SiteCompanionSetting

Companion Settings Corresponds to the JSON property companionSettings



10929
10930
10931
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 10929

def companion_settings
  @companion_settings
end

#kindString

Identifies what kind of resource this is. Value: the fixed string " dfareporting#siteVideoSettings". Corresponds to the JSON property kind

Returns:

  • (String)


10935
10936
10937
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 10935

def kind
  @kind
end

#orientationString

Orientation of a site template used for video. This will act as default for new placements created under this site. Corresponds to the JSON property orientation

Returns:

  • (String)


10941
10942
10943
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 10941

def orientation
  @orientation
end

#skippable_settingsGoogle::Apis::DfareportingV3_3::SiteSkippableSetting

Skippable Settings Corresponds to the JSON property skippableSettings



10946
10947
10948
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 10946

def skippable_settings
  @skippable_settings
end

#transcode_settingsGoogle::Apis::DfareportingV3_3::SiteTranscodeSetting

Transcode Settings Corresponds to the JSON property transcodeSettings



10951
10952
10953
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 10951

def transcode_settings
  @transcode_settings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10958
10959
10960
10961
10962
10963
10964
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 10958

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