Class: Google::Apis::DfareportingV3_2::DimensionFilter
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV3_2::DimensionFilter
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dfareporting_v3_2/classes.rb,
generated/google/apis/dfareporting_v3_2/representations.rb,
generated/google/apis/dfareporting_v3_2/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
4930 4931 4932 |
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 4930 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
4918 4919 4920 |
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 4918 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
4923 4924 4925 |
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 4923 def kind @kind end |
#value ⇒ String
The value of the dimension to filter.
Corresponds to the JSON property value
4928 4929 4930 |
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 4928 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4935 4936 4937 4938 4939 |
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 4935 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 |