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



1985
1986
1987
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1985

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

Instance Attribute Details

#time_intervalGoogle::Apis::Adexchangebuyer2V2beta1::TimeInterval

An interval of time, with an absolute start and end. This is included in the response, for several reasons: 1) The request may have specified start or end times relative to the time the request was sent; the response indicates the corresponding absolute time interval. 2) The request may have specified an end time past the latest time for which data was available (e.g. if requesting data for the today); the response indicates the latest time for which data was actually returned. 3) The response data for a single request may be broken down into multiple time intervals, if a time series was requested. Corresponds to the JSON property timeInterval



1983
1984
1985
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1983

def time_interval
  @time_interval
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1990
1991
1992
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1990

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