Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonBusinessProfileBusinessNameFilter

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/searchads360_v23/classes.rb,
lib/google/apis/searchads360_v23/representations.rb,
lib/google/apis/searchads360_v23/representations.rb

Overview

Business Profile location group business name filter.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonBusinessProfileBusinessNameFilter

Returns a new instance of GoogleAdsSearchads360V23CommonBusinessProfileBusinessNameFilter.



2180
2181
2182
# File 'lib/google/apis/searchads360_v23/classes.rb', line 2180

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

Instance Attribute Details

#business_nameString

Business name string to use for filtering. Corresponds to the JSON property businessName

Returns:

  • (String)


2173
2174
2175
# File 'lib/google/apis/searchads360_v23/classes.rb', line 2173

def business_name
  @business_name
end

#filter_typeString

The type of string matching to use when filtering with business_name. Corresponds to the JSON property filterType

Returns:

  • (String)


2178
2179
2180
# File 'lib/google/apis/searchads360_v23/classes.rb', line 2178

def filter_type
  @filter_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2185
2186
2187
2188
# File 'lib/google/apis/searchads360_v23/classes.rb', line 2185

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