Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesPhoneCallDetails

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

Represents details of a phone call conversation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesPhoneCallDetails

Returns a new instance of GoogleAdsSearchads360V23ResourcesPhoneCallDetails.



32418
32419
32420
# File 'lib/google/apis/searchads360_v23/classes.rb', line 32418

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

Instance Attribute Details

#call_duration_millisFixnum

Output only. The duration (in milliseconds) of the phone call (end to end). Corresponds to the JSON property callDurationMillis

Returns:

  • (Fixnum)


32411
32412
32413
# File 'lib/google/apis/searchads360_v23/classes.rb', line 32411

def call_duration_millis
  @call_duration_millis
end

#call_recording_urlString

Output only. URL to the call recording audio file. Corresponds to the JSON property callRecordingUrl

Returns:

  • (String)


32416
32417
32418
# File 'lib/google/apis/searchads360_v23/classes.rb', line 32416

def call_recording_url
  @call_recording_url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



32423
32424
32425
32426
# File 'lib/google/apis/searchads360_v23/classes.rb', line 32423

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