Class: Google::Apis::LocalservicesV1::GoogleAdsHomeservicesLocalservicesV1MessageLead
- Inherits:
-
Object
- Object
- Google::Apis::LocalservicesV1::GoogleAdsHomeservicesLocalservicesV1MessageLead
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/localservices_v1/classes.rb,
generated/google/apis/localservices_v1/representations.rb,
generated/google/apis/localservices_v1/representations.rb
Overview
Container for message lead specific information.
Instance Attribute Summary collapse
-
#consumer_phone_number ⇒ String
Consumer phone number associated with the message lead.
-
#customer_name ⇒ String
Name of the customer who created the lead.
-
#job_type ⇒ String
The job type of the specified lead.
-
#postal_code ⇒ String
The postal code of the customer who created the lead.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsHomeservicesLocalservicesV1MessageLead
constructor
A new instance of GoogleAdsHomeservicesLocalservicesV1MessageLead.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsHomeservicesLocalservicesV1MessageLead
Returns a new instance of GoogleAdsHomeservicesLocalservicesV1MessageLead.
295 296 297 |
# File 'generated/google/apis/localservices_v1/classes.rb', line 295 def initialize(**args) update!(**args) end |
Instance Attribute Details
#consumer_phone_number ⇒ String
Consumer phone number associated with the message lead.
Corresponds to the JSON property consumerPhoneNumber
278 279 280 |
# File 'generated/google/apis/localservices_v1/classes.rb', line 278 def consumer_phone_number @consumer_phone_number end |
#customer_name ⇒ String
Name of the customer who created the lead.
Corresponds to the JSON property customerName
283 284 285 |
# File 'generated/google/apis/localservices_v1/classes.rb', line 283 def customer_name @customer_name end |
#job_type ⇒ String
The job type of the specified lead.
Corresponds to the JSON property jobType
288 289 290 |
# File 'generated/google/apis/localservices_v1/classes.rb', line 288 def job_type @job_type end |
#postal_code ⇒ String
The postal code of the customer who created the lead.
Corresponds to the JSON property postalCode
293 294 295 |
# File 'generated/google/apis/localservices_v1/classes.rb', line 293 def postal_code @postal_code end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
300 301 302 303 304 305 |
# File 'generated/google/apis/localservices_v1/classes.rb', line 300 def update!(**args) @consumer_phone_number = args[:consumer_phone_number] if args.key?(:consumer_phone_number) @customer_name = args[:customer_name] if args.key?(:customer_name) @job_type = args[:job_type] if args.key?(:job_type) @postal_code = args[:postal_code] if args.key?(:postal_code) end |