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.



35777
35778
35779
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35777

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)


35775
35776
35777
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35775

def business_name
  @business_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



35782
35783
35784
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35782

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