Class: Google::Apis::DfareportingV3_4::VideoFormat

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dfareporting_v3_4/classes.rb,
lib/google/apis/dfareporting_v3_4/representations.rb,
lib/google/apis/dfareporting_v3_4/representations.rb

Overview

Contains information about supported video formats.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VideoFormat

Returns a new instance of VideoFormat.



12978
12979
12980
# File 'lib/google/apis/dfareporting_v3_4/classes.rb', line 12978

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)


12955
12956
12957
# File 'lib/google/apis/dfareporting_v3_4/classes.rb', line 12955

def file_type
  @file_type
end

#idFixnum

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

Returns:

  • (Fixnum)


12960
12961
12962
# File 'lib/google/apis/dfareporting_v3_4/classes.rb', line 12960

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)


12966
12967
12968
# File 'lib/google/apis/dfareporting_v3_4/classes.rb', line 12966

def kind
  @kind
end

#resolutionGoogle::Apis::DfareportingV3_4::Size

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



12971
12972
12973
# File 'lib/google/apis/dfareporting_v3_4/classes.rb', line 12971

def resolution
  @resolution
end

#target_bit_rateFixnum

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

Returns:

  • (Fixnum)


12976
12977
12978
# File 'lib/google/apis/dfareporting_v3_4/classes.rb', line 12976

def target_bit_rate
  @target_bit_rate
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12983
12984
12985
12986
12987
12988
12989
# File 'lib/google/apis/dfareporting_v3_4/classes.rb', line 12983

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