Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonLocalServiceIdInfo

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 Local Services Ads service ID. Represents a service type (such as install_faucet) that a Local Services Campaign can target.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonLocalServiceIdInfo

Returns a new instance of GoogleAdsSearchads360V23CommonLocalServiceIdInfo.



7042
7043
7044
# File 'lib/google/apis/searchads360_v23/classes.rb', line 7042

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

Instance Attribute Details

#service_idString

The criterion resource name. Corresponds to the JSON property serviceId

Returns:

  • (String)


7040
7041
7042
# File 'lib/google/apis/searchads360_v23/classes.rb', line 7040

def service_id
  @service_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7047
7048
7049
# File 'lib/google/apis/searchads360_v23/classes.rb', line 7047

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