Class: Google::Apis::DfareportingV2_8::VideoFormat
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_8::VideoFormat
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dfareporting_v2_8/classes.rb,
generated/google/apis/dfareporting_v2_8/representations.rb,
generated/google/apis/dfareporting_v2_8/representations.rb
Overview
Contains information about supported video formats.
Instance Attribute Summary collapse
-
#file_type ⇒ String
File type of the video format.
-
#id ⇒ Fixnum
ID of the video format.
-
#kind ⇒ String
Identifies what kind of resource this is.
-
#resolution ⇒ Google::Apis::DfareportingV2_8::Size
Represents the dimensions of ads, placements, creatives, or creative assets.
-
#target_bit_rate ⇒ Fixnum
The target bit rate of this video format.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VideoFormat
constructor
A new instance of VideoFormat.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ VideoFormat
Returns a new instance of VideoFormat
11937 11938 11939 |
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 11937 def initialize(**args) update!(**args) end |
Instance Attribute Details
#file_type ⇒ String
File type of the video format.
Corresponds to the JSON property fileType
11914 11915 11916 |
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 11914 def file_type @file_type end |
#id ⇒ Fixnum
ID of the video format.
Corresponds to the JSON property id
11919 11920 11921 |
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 11919 def id @id end |
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
dfareporting#videoFormat".
Corresponds to the JSON property kind
11925 11926 11927 |
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 11925 def kind @kind end |
#resolution ⇒ Google::Apis::DfareportingV2_8::Size
Represents the dimensions of ads, placements, creatives, or creative assets.
Corresponds to the JSON property resolution
11930 11931 11932 |
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 11930 def resolution @resolution end |
#target_bit_rate ⇒ Fixnum
The target bit rate of this video format.
Corresponds to the JSON property targetBitRate
11935 11936 11937 |
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 11935 def target_bit_rate @target_bit_rate end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11942 11943 11944 11945 11946 11947 11948 |
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 11942 def update!(**args) @file_type = args[:file_type] if args.key?(:file_type) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @resolution = args[:resolution] if args.key?(:resolution) @target_bit_rate = args[:target_bit_rate] if args.key?(:target_bit_rate) end |