Long running operation representation for Google Speech API
Operation(client, name, complete=False, metadata=None, results=None)#
Representation of a Google API Long-Running Operation.
Completion state of the Operation.
Return type: bool Returns: True if already completed, else false.
Factory: construct an instance from Google Speech API.
Parameters: Return type: Returns:
Instance of ~google.cloud.speech.operations.Operation.
Check if the operation has finished.
Return type: bool Returns: A boolean indicating if the current operation has completed. Raises:
ValueErrorif the operation has already completed.