Class: Google::Apis::LocalservicesV1::GoogleAdsHomeservicesLocalservicesV1PhoneLead
- Inherits:
-
Object
- Object
- Google::Apis::LocalservicesV1::GoogleAdsHomeservicesLocalservicesV1PhoneLead
- 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 phone lead specific information.
Instance Attribute Summary collapse
-
#charged_call_timestamp ⇒ String
Timestamp of the phone call which resulted in a charged phone lead.
-
#charged_connected_call_duration_seconds ⇒ String
Duration of the charged phone call in seconds.
-
#consumer_phone_number ⇒ String
Consumer phone number associated with the phone lead.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsHomeservicesLocalservicesV1PhoneLead
constructor
A new instance of GoogleAdsHomeservicesLocalservicesV1PhoneLead.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsHomeservicesLocalservicesV1PhoneLead
Returns a new instance of GoogleAdsHomeservicesLocalservicesV1PhoneLead.
327 328 329 |
# File 'generated/google/apis/localservices_v1/classes.rb', line 327 def initialize(**args) update!(**args) end |
Instance Attribute Details
#charged_call_timestamp ⇒ String
Timestamp of the phone call which resulted in a charged phone lead.
Corresponds to the JSON property chargedCallTimestamp
315 316 317 |
# File 'generated/google/apis/localservices_v1/classes.rb', line 315 def @charged_call_timestamp end |
#charged_connected_call_duration_seconds ⇒ String
Duration of the charged phone call in seconds.
Corresponds to the JSON property chargedConnectedCallDurationSeconds
320 321 322 |
# File 'generated/google/apis/localservices_v1/classes.rb', line 320 def charged_connected_call_duration_seconds @charged_connected_call_duration_seconds end |
#consumer_phone_number ⇒ String
Consumer phone number associated with the phone lead.
Corresponds to the JSON property consumerPhoneNumber
325 326 327 |
# File 'generated/google/apis/localservices_v1/classes.rb', line 325 def consumer_phone_number @consumer_phone_number end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
332 333 334 335 336 |
# File 'generated/google/apis/localservices_v1/classes.rb', line 332 def update!(**args) @charged_call_timestamp = args[:charged_call_timestamp] if args.key?(:charged_call_timestamp) @charged_connected_call_duration_seconds = args[:charged_connected_call_duration_seconds] if args.key?(:charged_connected_call_duration_seconds) @consumer_phone_number = args[:consumer_phone_number] if args.key?(:consumer_phone_number) end |