Class: Google::Apis::DfareportingV4::VideoFormat

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



12807
12808
12809
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12807

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)


12784
12785
12786
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12784

def file_type
  @file_type
end

#idFixnum

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

Returns:

  • (Fixnum)


12789
12790
12791
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12789

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)


12795
12796
12797
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12795

def kind
  @kind
end

#resolutionGoogle::Apis::DfareportingV4::Size

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



12800
12801
12802
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12800

def resolution
  @resolution
end

#target_bit_rateFixnum

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

Returns:

  • (Fixnum)


12805
12806
12807
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12805

def target_bit_rate
  @target_bit_rate
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12812
12813
12814
12815
12816
12817
12818
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12812

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