class Google::Apis::LocalservicesV1::GoogleAdsHomeservicesLocalservicesV1PhoneLead

Container for phone lead specific information.

Attributes

charged_call_timestamp[RW]

Timestamp of the phone call which resulted in a charged phone lead. Corresponds to the JSON property `chargedCallTimestamp` @return [String]

charged_connected_call_duration_seconds[RW]

Duration of the charged phone call in seconds. Corresponds to the JSON property `chargedConnectedCallDurationSeconds` @return [String]

consumer_phone_number[RW]

Consumer phone number associated with the phone lead. Corresponds to the JSON property `consumerPhoneNumber` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/localservices_v1/classes.rb, line 333
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/localservices_v1/classes.rb, line 338
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