Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::UploadEvaluationAudioRequest.
Request message for EvaluationService.UploadEvaluationAudio.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#audio_content
def audio_content() -> ::String
Returns
- (::String) — Required. The raw audio bytes. The format of the audio must be single-channel LINEAR16 with a sample rate of 16kHz (default InputAudioConfig).
#audio_content=
def audio_content=(value) -> ::String
Parameter
- value (::String) — Required. The raw audio bytes. The format of the audio must be single-channel LINEAR16 with a sample rate of 16kHz (default InputAudioConfig).
Returns
- (::String) — Required. The raw audio bytes. The format of the audio must be single-channel LINEAR16 with a sample rate of 16kHz (default InputAudioConfig).
#name
def name() -> ::String
Returns
-
(::String) — Required. The resource name of the Evaluation for which to upload the
evaluation audio. Format:
projects/{project}/locations/{location}/apps/{app}/evaluations/{evaluation}
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — Required. The resource name of the Evaluation for which to upload the
evaluation audio. Format:
projects/{project}/locations/{location}/apps/{app}/evaluations/{evaluation}
Returns
-
(::String) — Required. The resource name of the Evaluation for which to upload the
evaluation audio. Format:
projects/{project}/locations/{location}/apps/{app}/evaluations/{evaluation}
#previous_audio_gcs_uri
def previous_audio_gcs_uri() -> ::String
Returns
-
(::String) — Optional. The Google Cloud Storage URI of the previously uploaded audio
file to be deleted. Format:
gs://<bucket-name>/<object-name>
#previous_audio_gcs_uri=
def previous_audio_gcs_uri=(value) -> ::String
Parameter
-
value (::String) — Optional. The Google Cloud Storage URI of the previously uploaded audio
file to be deleted. Format:
gs://<bucket-name>/<object-name>
Returns
-
(::String) — Optional. The Google Cloud Storage URI of the previously uploaded audio
file to be deleted. Format:
gs://<bucket-name>/<object-name>