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.



32520
32521
32522
# File 'lib/google/apis/searchads360_v23/classes.rb', line 32520

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)


32513
32514
32515
# File 'lib/google/apis/searchads360_v23/classes.rb', line 32513

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)


32518
32519
32520
# File 'lib/google/apis/searchads360_v23/classes.rb', line 32518

def call_recording_url
  @call_recording_url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



32525
32526
32527
32528
# File 'lib/google/apis/searchads360_v23/classes.rb', line 32525

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