Class: Google::Apis::DfareportingV2_5::DimensionValueRequest
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_5::DimensionValueRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dfareporting_v2_5/classes.rb,
generated/google/apis/dfareporting_v2_5/representations.rb,
generated/google/apis/dfareporting_v2_5/representations.rb
Overview
Represents a DimensionValuesRequest.
Instance Attribute Summary collapse
-
#dimension_name ⇒ String
The name of the dimension for which values should be requested.
-
#end_date ⇒ Date
The end date of the date range for which to retrieve dimension values.
-
#filters ⇒ Array<Google::Apis::DfareportingV2_5::DimensionFilter>
The list of filters by which to filter values.
-
#kind ⇒ String
The kind of request this is, in this case dfareporting#dimensionValueRequest.
-
#start_date ⇒ Date
The start date of the date range for which to retrieve dimension values.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DimensionValueRequest
constructor
A new instance of DimensionValueRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DimensionValueRequest
Returns a new instance of DimensionValueRequest.
4594 4595 4596 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 4594 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dimension_name ⇒ String
The name of the dimension for which values should be requested.
Corresponds to the JSON property dimensionName
4570 4571 4572 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 4570 def dimension_name @dimension_name end |
#end_date ⇒ Date
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
4576 4577 4578 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 4576 def end_date @end_date end |
#filters ⇒ Array<Google::Apis::DfareportingV2_5::DimensionFilter>
The list of filters by which to filter values. The filters are ANDed.
Corresponds to the JSON property filters
4581 4582 4583 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 4581 def filters @filters end |
#kind ⇒ String
The kind of request this is, in this case dfareporting#dimensionValueRequest.
Corresponds to the JSON property kind
4586 4587 4588 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 4586 def kind @kind end |
#start_date ⇒ Date
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
4592 4593 4594 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 4592 def start_date @start_date end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4599 4600 4601 4602 4603 4604 4605 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 4599 def update!(**args) @dimension_name = args[:dimension_name] if args.key?(:dimension_name) @end_date = args[:end_date] if args.key?(:end_date) @filters = args[:filters] if args.key?(:filters) @kind = args[:kind] if args.key?(:kind) @start_date = args[:start_date] if args.key?(:start_date) end |