Class: Google::Apis::DfareportingV2_7::VideoFormat

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

Contains information about supported video formats.

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) ⇒ VideoFormat

Returns a new instance of VideoFormat



11784
11785
11786
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 11784

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

Instance Attribute Details

#file_typeString

File type of the video format. Corresponds to the JSON property fileType

Returns:

  • (String)


11761
11762
11763
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 11761

def file_type
  @file_type
end

#idFixnum

ID of the video format. Corresponds to the JSON property id

Returns:

  • (Fixnum)


11766
11767
11768
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 11766

def id
  @id
end

#kindString

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

Returns:

  • (String)


11772
11773
11774
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 11772

def kind
  @kind
end

#resolutionGoogle::Apis::DfareportingV2_7::Size

Represents the dimensions of ads, placements, creatives, or creative assets. Corresponds to the JSON property resolution



11777
11778
11779
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 11777

def resolution
  @resolution
end

#target_bit_rateFixnum

The target bit rate of this video format. Corresponds to the JSON property targetBitRate

Returns:

  • (Fixnum)


11782
11783
11784
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 11782

def target_bit_rate
  @target_bit_rate
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11789
11790
11791
11792
11793
11794
11795
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 11789

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