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.



3701
3702
3703
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3701

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)


3694
3695
3696
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3694

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



3699
3700
3701
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3699

def time_interval
  @time_interval
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3706
3707
3708
3709
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3706

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