Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ConversationDataSourceTurnLevelAudio
- Inherits:
-
Object
- Object
- Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ConversationDataSourceTurnLevelAudio
- 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
-
#audio_duration ⇒ String
The duration of the audio.
-
#audio_gcs_uri ⇒ String
The Cloud Storage URI of the audio for any given turn.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1ConversationDataSourceTurnLevelAudio
constructor
A new instance of GoogleCloudContactcenterinsightsV1ConversationDataSourceTurnLevelAudio.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1ConversationDataSourceTurnLevelAudio
Returns a new instance of GoogleCloudContactcenterinsightsV1ConversationDataSourceTurnLevelAudio.
1807 1808 1809 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1807 def initialize(**args) update!(**args) end |
Instance Attribute Details
#audio_duration ⇒ String
The duration of the audio.
Corresponds to the JSON property audioDuration
1800 1801 1802 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1800 def audio_duration @audio_duration end |
#audio_gcs_uri ⇒ String
The Cloud Storage URI of the audio for any given turn.
Corresponds to the JSON property audioGcsUri
1805 1806 1807 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1805 def audio_gcs_uri @audio_gcs_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1812 1813 1814 1815 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1812 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 |