CreateTranscriptionJobDetails¶
- class oci.ai_speech.models.CreateTranscriptionJobDetails(**kwargs)¶
Bases:
objectThe information about new Transcription Job.
Attributes:
A constant which can be used with the additional_transcription_formats property of a CreateTranscriptionJobDetails.
Gets the additional_transcription_formats of this CreateTranscriptionJobDetails.
[Required] Gets the compartment_id of this CreateTranscriptionJobDetails.
Gets the defined_tags of this CreateTranscriptionJobDetails.
Gets the description of this CreateTranscriptionJobDetails.
Gets the display_name of this CreateTranscriptionJobDetails.
Gets the freeform_tags of this CreateTranscriptionJobDetails.
[Required] Gets the input_location of this CreateTranscriptionJobDetails.
Gets the model_details of this CreateTranscriptionJobDetails.
Gets the normalization of this CreateTranscriptionJobDetails.
[Required] Gets the output_location of this CreateTranscriptionJobDetails.
Methods:
__init__(**kwargs)Initializes a new CreateTranscriptionJobDetails object with values from keyword arguments.
- ADDITIONAL_TRANSCRIPTION_FORMATS_SRT = 'SRT'¶
A constant which can be used with the additional_transcription_formats property of a CreateTranscriptionJobDetails. This constant has a value of “SRT”
- __init__(**kwargs)¶
Initializes a new CreateTranscriptionJobDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
display_name (str) – The value to assign to the display_name property of this CreateTranscriptionJobDetails.
compartment_id (str) – The value to assign to the compartment_id property of this CreateTranscriptionJobDetails.
description (str) – The value to assign to the description property of this CreateTranscriptionJobDetails.
additional_transcription_formats (list[str]) – The value to assign to the additional_transcription_formats property of this CreateTranscriptionJobDetails. Allowed values for items in this list are: “SRT”
model_details (oci.ai_speech.models.TranscriptionModelDetails) – The value to assign to the model_details property of this CreateTranscriptionJobDetails.
normalization (oci.ai_speech.models.TranscriptionNormalization) – The value to assign to the normalization property of this CreateTranscriptionJobDetails.
input_location (oci.ai_speech.models.InputLocation) – The value to assign to the input_location property of this CreateTranscriptionJobDetails.
output_location (oci.ai_speech.models.OutputLocation) – The value to assign to the output_location property of this CreateTranscriptionJobDetails.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateTranscriptionJobDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateTranscriptionJobDetails.
- property additional_transcription_formats¶
Gets the additional_transcription_formats of this CreateTranscriptionJobDetails. Transcription Format. By default, the JSON format is used.
Allowed values for items in this list are: “SRT”
- Returns
The additional_transcription_formats of this CreateTranscriptionJobDetails.
- Return type
list[str]
- property compartment_id¶
[Required] Gets the compartment_id of this CreateTranscriptionJobDetails. The OCID of the compartment where you want to create the job.
- Returns
The compartment_id of this CreateTranscriptionJobDetails.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this CreateTranscriptionJobDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace-1”: {“bar-key-1”: “value-1”, “bar-key-2”: “value-2”}, “foo-namespace-2”: {“bar-key-1”: “value-1”, “bar-key-2”: “value-2”}}.
- Returns
The defined_tags of this CreateTranscriptionJobDetails.
- Return type
dict(str, dict(str, object))
- property description¶
Gets the description of this CreateTranscriptionJobDetails. A short description of the job.
- Returns
The description of this CreateTranscriptionJobDetails.
- Return type
str
- property display_name¶
Gets the display_name of this CreateTranscriptionJobDetails. A user-friendly display name for the job.
- Returns
The display_name of this CreateTranscriptionJobDetails.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this CreateTranscriptionJobDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}.
- Returns
The freeform_tags of this CreateTranscriptionJobDetails.
- Return type
dict(str, str)
- property input_location¶
[Required] Gets the input_location of this CreateTranscriptionJobDetails.
- Returns
The input_location of this CreateTranscriptionJobDetails.
- Return type
- property model_details¶
Gets the model_details of this CreateTranscriptionJobDetails.
- Returns
The model_details of this CreateTranscriptionJobDetails.
- Return type
- property normalization¶
Gets the normalization of this CreateTranscriptionJobDetails.
- Returns
The normalization of this CreateTranscriptionJobDetails.
- Return type
- property output_location¶
[Required] Gets the output_location of this CreateTranscriptionJobDetails.
- Returns
The output_location of this CreateTranscriptionJobDetails.
- Return type