Class: Google::Apis::DfareportingV3_0::VideoFormat
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV3_0::VideoFormat
- 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
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::DfareportingV3_0::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
12004 12005 12006 |
# File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 12004 def initialize(**args) update!(**args) end |
Instance Attribute Details
#file_type ⇒ String
File type of the video format.
Corresponds to the JSON property fileType
11981 11982 11983 |
# File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 11981 def file_type @file_type end |
#id ⇒ Fixnum
ID of the video format.
Corresponds to the JSON property id
11986 11987 11988 |
# File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 11986 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
11992 11993 11994 |
# File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 11992 def kind @kind end |
#resolution ⇒ Google::Apis::DfareportingV3_0::Size
Represents the dimensions of ads, placements, creatives, or creative assets.
Corresponds to the JSON property resolution
11997 11998 11999 |
# File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 11997 def resolution @resolution end |
#target_bit_rate ⇒ Fixnum
The target bit rate of this video format.
Corresponds to the JSON property targetBitRate
12002 12003 12004 |
# File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 12002 def target_bit_rate @target_bit_rate end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12009 12010 12011 12012 12013 12014 12015 |
# File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 12009 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 |