TranscriptionTaskSummary¶
- class oci.ai_speech.models.TranscriptionTaskSummary(**kwargs)¶
Bases:
objectSummary of the Transcription Task.
Methods:
__init__(**kwargs)Initializes a new TranscriptionTaskSummary object with values from keyword arguments.
Attributes:
[Required] Gets the display_name of this TranscriptionTaskSummary.
Gets the file_duration_in_seconds of this TranscriptionTaskSummary.
Gets the file_size_in_bytes of this TranscriptionTaskSummary.
[Required] Gets the id of this TranscriptionTaskSummary.
Gets the lifecycle_details of this TranscriptionTaskSummary.
Gets the lifecycle_state of this TranscriptionTaskSummary.
Gets the percent_complete of this TranscriptionTaskSummary.
Gets the processing_duration_in_seconds of this TranscriptionTaskSummary.
Gets the time_finished of this TranscriptionTaskSummary.
Gets the time_started of this TranscriptionTaskSummary.
- __init__(**kwargs)¶
Initializes a new TranscriptionTaskSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
id (str) – The value to assign to the id property of this TranscriptionTaskSummary.
display_name (str) – The value to assign to the display_name property of this TranscriptionTaskSummary.
percent_complete (int) – The value to assign to the percent_complete property of this TranscriptionTaskSummary.
file_size_in_bytes (int) – The value to assign to the file_size_in_bytes property of this TranscriptionTaskSummary.
file_duration_in_seconds (int) – The value to assign to the file_duration_in_seconds property of this TranscriptionTaskSummary.
processing_duration_in_seconds (int) – The value to assign to the processing_duration_in_seconds property of this TranscriptionTaskSummary.
time_started (datetime) – The value to assign to the time_started property of this TranscriptionTaskSummary.
time_finished (datetime) – The value to assign to the time_finished property of this TranscriptionTaskSummary.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this TranscriptionTaskSummary.
lifecycle_details (str) – The value to assign to the lifecycle_details property of this TranscriptionTaskSummary.
- property display_name¶
[Required] Gets the display_name of this TranscriptionTaskSummary. A user-friendly display name for the task.
- Returns
The display_name of this TranscriptionTaskSummary.
- Return type
str
- property file_duration_in_seconds¶
Gets the file_duration_in_seconds of this TranscriptionTaskSummary. Duration of input file in Seconds.
- Returns
The file_duration_in_seconds of this TranscriptionTaskSummary.
- Return type
int
- property file_size_in_bytes¶
Gets the file_size_in_bytes of this TranscriptionTaskSummary. Size of input file in Bytes.
- Returns
The file_size_in_bytes of this TranscriptionTaskSummary.
- Return type
int
- property id¶
[Required] Gets the id of this TranscriptionTaskSummary. The OCID of the task.
- Returns
The id of this TranscriptionTaskSummary.
- Return type
str
- property lifecycle_details¶
Gets the lifecycle_details of this TranscriptionTaskSummary. A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- Returns
The lifecycle_details of this TranscriptionTaskSummary.
- Return type
str
- property lifecycle_state¶
Gets the lifecycle_state of this TranscriptionTaskSummary. The current state of the Speech Job.
- Returns
The lifecycle_state of this TranscriptionTaskSummary.
- Return type
str
- property percent_complete¶
Gets the percent_complete of this TranscriptionTaskSummary. How much progress the operation has made, vs the total amount of work that must be performed.
- Returns
The percent_complete of this TranscriptionTaskSummary.
- Return type
int
- property processing_duration_in_seconds¶
Gets the processing_duration_in_seconds of this TranscriptionTaskSummary. Task proccessing duration, which excludes waiting time in the system.
- Returns
The processing_duration_in_seconds of this TranscriptionTaskSummary.
- Return type
int
- property time_finished¶
Gets the time_finished of this TranscriptionTaskSummary. Job finished time
- Returns
The time_finished of this TranscriptionTaskSummary.
- Return type
datetime
- property time_started¶
Gets the time_started of this TranscriptionTaskSummary. Task started time
- Returns
The time_started of this TranscriptionTaskSummary.
- Return type
datetime