Class: Google::Apis::WebmastersV3::ApiDimensionFilter

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#dimensionString

Corresponds to the JSON property dimension

Returns:

  • (String)


75
76
77
# File 'generated/google/apis/webmasters_v3/classes.rb', line 75

def dimension
  @dimension
end

#expressionString

Corresponds to the JSON property expression

Returns:

  • (String)


80
81
82
# File 'generated/google/apis/webmasters_v3/classes.rb', line 80

def expression
  @expression
end

#operatorString

Corresponds to the JSON property operator

Returns:

  • (String)


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