Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1ConversationDataSourceTurnLevelAudio

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/contactcenterinsights_v1/classes.rb,
lib/google/apis/contactcenterinsights_v1/representations.rb,
lib/google/apis/contactcenterinsights_v1/representations.rb

Overview

A wrapper for holding the audio for any given turn.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1alpha1ConversationDataSourceTurnLevelAudio

Returns a new instance of GoogleCloudContactcenterinsightsV1alpha1ConversationDataSourceTurnLevelAudio.



12090
12091
12092
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 12090

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

Instance Attribute Details

#audio_durationString

The duration of the audio. Corresponds to the JSON property audioDuration

Returns:

  • (String)


12083
12084
12085
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 12083

def audio_duration
  @audio_duration
end

#audio_gcs_uriString

The Cloud Storage URI of the audio for any given turn. Corresponds to the JSON property audioGcsUri

Returns:

  • (String)


12088
12089
12090
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 12088

def audio_gcs_uri
  @audio_gcs_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12095
12096
12097
12098
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 12095

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