Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesSmartCampaignSuggestionInfoBusinessContext

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

A context that describes a business.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesSmartCampaignSuggestionInfoBusinessContext

Returns a new instance of GoogleAdsSearchads360V23ServicesSmartCampaignSuggestionInfoBusinessContext.



35849
35850
35851
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35849

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

Instance Attribute Details

#business_nameString

Optional. The name of the business. Corresponds to the JSON property businessName

Returns:

  • (String)


35847
35848
35849
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35847

def business_name
  @business_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



35854
35855
35856
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35854

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