Class: Google::Apis::Adexchangebuyer2V2beta1::RowDimensions

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

Overview

A response may include multiple rows, breaking down along various dimensions. Encapsulates the values of all dimensions for a given row.

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

Returns a new instance of RowDimensions



3728
3729
3730
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3728

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

Instance Attribute Details

#publisher_identifierString

The publisher identifier for this row, if a breakdown by BreakdownDimension.PUBLISHER_IDENTIFIER was requested. Corresponds to the JSON property publisherIdentifier

Returns:

  • (String)


3721
3722
3723
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3721

def publisher_identifier
  @publisher_identifier
end

#time_intervalGoogle::Apis::Adexchangebuyer2V2beta1::TimeInterval

An interval of time, with an absolute start and end. Corresponds to the JSON property timeInterval



3726
3727
3728
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3726

def time_interval
  @time_interval
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3733
3734
3735
3736
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3733

def update!(**args)
  @publisher_identifier = args[:publisher_identifier] if args.key?(:publisher_identifier)
  @time_interval = args[:time_interval] if args.key?(:time_interval)
end