Class: Google::Apis::DfareportingV3_1::DimensionFilter
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV3_1::DimensionFilter
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dfareporting_v3_1/classes.rb,
generated/google/apis/dfareporting_v3_1/representations.rb,
generated/google/apis/dfareporting_v3_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::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DimensionFilter
Returns a new instance of DimensionFilter
4896 4897 4898 |
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 4896 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
4884 4885 4886 |
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 4884 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
4889 4890 4891 |
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 4889 def kind @kind end |
#value ⇒ String
The value of the dimension to filter.
Corresponds to the JSON property value
4894 4895 4896 |
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 4894 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4901 4902 4903 4904 4905 |
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 4901 def update!(**args) @dimension_name = args[:dimension_name] if args.key?(:dimension_name) @kind = args[:kind] if args.key?(:kind) @value = args[:value] if args.key?(:value) end |