Class: Google::Apis::DfareportingV2_1::DimensionFilter
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_1::DimensionFilter
- Includes:
- Core::Hashable
- Defined in:
- generated/google/apis/dfareporting_v2_1/classes.rb,
generated/google/apis/dfareporting_v2_1/representations.rb,
generated/google/apis/dfareporting_v2_1/representations.rb
Overview
Represents a dimension filter.
Instance Attribute Summary collapse
-
#dimension_name ⇒ String
The name of the dimension to filter.
-
#kind ⇒ String
The kind of resource this is, in this case dfareporting#dimensionFilter.
-
#value ⇒ String
The value of the dimension to filter.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DimensionFilter
constructor
A new instance of DimensionFilter.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DimensionFilter
Returns a new instance of DimensionFilter.
4139 4140 4141 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4139 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dimension_name ⇒ String
The name of the dimension to filter.
Corresponds to the JSON property dimensionName
4127 4128 4129 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4127 def dimension_name @dimension_name end |
#kind ⇒ String
The kind of resource this is, in this case dfareporting#dimensionFilter.
Corresponds to the JSON property kind
4132 4133 4134 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4132 def kind @kind end |
#value ⇒ String
The value of the dimension to filter.
Corresponds to the JSON property value
4137 4138 4139 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4137 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4144 4145 4146 4147 4148 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4144 def update!(**args) @dimension_name = args[:dimension_name] unless args[:dimension_name].nil? @kind = args[:kind] unless args[:kind].nil? @value = args[:value] unless args[:value].nil? end |