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.


3594
3595
3596
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3594

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)

3587
3588
3589
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3587

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


3592
3593
3594
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3592

def time_interval
  @time_interval
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


3599
3600
3601
3602
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3599

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