Class: Google::Apis::WebmastersV3::ApiDimensionFilter
- Inherits:
-
Object
- Object
- Google::Apis::WebmastersV3::ApiDimensionFilter
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/webmasters_v3/classes.rb,
generated/google/apis/webmasters_v3/representations.rb,
generated/google/apis/webmasters_v3/representations.rb
Instance Attribute Summary collapse
-
#dimension ⇒ String
Corresponds to the JSON property
dimension
. -
#expression ⇒ String
Corresponds to the JSON property
expression
. -
#operator ⇒ String
Corresponds to the JSON property
operator
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ApiDimensionFilter
constructor
A new instance of ApiDimensionFilter.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ApiDimensionFilter
Returns a new instance of ApiDimensionFilter.
87 88 89 |
# File 'generated/google/apis/webmasters_v3/classes.rb', line 87 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dimension ⇒ String
Corresponds to the JSON property dimension
75 76 77 |
# File 'generated/google/apis/webmasters_v3/classes.rb', line 75 def dimension @dimension end |
#expression ⇒ String
Corresponds to the JSON property expression
80 81 82 |
# File 'generated/google/apis/webmasters_v3/classes.rb', line 80 def expression @expression end |
#operator ⇒ String
Corresponds to the JSON property operator
85 86 87 |
# File 'generated/google/apis/webmasters_v3/classes.rb', line 85 def operator @operator end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
92 93 94 95 96 |
# File 'generated/google/apis/webmasters_v3/classes.rb', line 92 def update!(**args) @dimension = args[:dimension] if args.key?(:dimension) @expression = args[:expression] if args.key?(:expression) @operator = args[:operator] if args.key?(:operator) end |