Class: Google::Apis::WebmastersV3::ApiDimensionFilterGroup

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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ApiDimensionFilterGroup

Returns a new instance of ApiDimensionFilterGroup.


113
114
115
# File 'generated/google/apis/webmasters_v3/classes.rb', line 113

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#filtersArray<Google::Apis::WebmastersV3::ApiDimensionFilter>

Corresponds to the JSON property filters


106
107
108
# File 'generated/google/apis/webmasters_v3/classes.rb', line 106

def filters
  @filters
end

#group_typeString

Corresponds to the JSON property groupType

Returns:

  • (String)

111
112
113
# File 'generated/google/apis/webmasters_v3/classes.rb', line 111

def group_type
  @group_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


118
119
120
121
# File 'generated/google/apis/webmasters_v3/classes.rb', line 118

def update!(**args)
  @filters = args[:filters] if args.key?(:filters)
  @group_type = args[:group_type] if args.key?(:group_type)
end