class Google::Apis::DfareportingV2_1::DimensionValueRequest

Represents a DimensionValuesRequest.

Attributes

dimension_name[RW]

The name of the dimension for which values should be requested. Corresponds to the JSON property `dimensionName` @return [String]

end_date[RW]

The end date of the date range for which to retrieve dimension values. A string of the format “yyyy-MM-dd”. Corresponds to the JSON property `endDate` @return [Date]

filters[RW]

The list of filters by which to filter values. The filters are ANDed. Corresponds to the JSON property `filters` @return [Array<Google::Apis::DfareportingV2_1::DimensionFilter>]

kind[RW]

The kind of request this is, in this case dfareporting#dimensionValueRequest. Corresponds to the JSON property `kind` @return [String]

start_date[RW]

The start date of the date range for which to retrieve dimension values. A string of the format “yyyy-MM-dd”. Corresponds to the JSON property `startDate` @return [Date]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/dfareporting_v2_1/classes.rb, line 4275
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/dfareporting_v2_1/classes.rb, line 4280
def update!(**args)
  @dimension_name = args[:dimension_name] unless args[:dimension_name].nil?
  @end_date = args[:end_date] unless args[:end_date].nil?
  @filters = args[:filters] unless args[:filters].nil?
  @kind = args[:kind] unless args[:kind].nil?
  @start_date = args[:start_date] unless args[:start_date].nil?
end