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.



35642
35643
35644
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35642

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)


35640
35641
35642
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35640

def business_name
  @business_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



35647
35648
35649
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35647

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