- JSON representation
- UpdateConfigRequest
- CreateCustomClassRequest
- DeleteCustomClassRequest
- UndeleteCustomClassRequest
- UpdateCustomClassRequest
- CreatePhraseSetRequest
- DeletePhraseSetRequest
- UndeletePhraseSetRequest
- UpdatePhraseSetRequest
- BatchRecognizeRequest
- CreateRecognizerRequest
- DeleteRecognizerRequest
- UndeleteRecognizerRequest
- UpdateRecognizerRequest
Represents the metadata of a long-running operation.
JSON representation |
---|
{ "createTime": string, "updateTime": string, "resource": string, "method": string, "kmsKeyName": string, "kmsKeyVersionName": string, "progressPercent": integer, // Union field |
Fields | |
---|---|
createTime |
The time the operation was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
updateTime |
The time the operation was last updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
resource |
The resource path for the target of the operation. |
method |
The method that triggered the operation. |
kmsKeyName |
The KMS key name with which the content of the Operation is encrypted. The expected format is |
kmsKeyVersionName |
The KMS key version name with which content of the Operation is encrypted. The expected format is |
progressPercent |
The percent progress of the Operation. Values can range from 0-100. If the value is 100, then the operation is finished. |
Union field request . The request that spawned the Operation. request can be only one of the following: |
|
batchRecognizeRequest |
The BatchRecognizeRequest that spawned the Operation. |
createRecognizerRequest |
The CreateRecognizerRequest that spawned the Operation. |
updateRecognizerRequest |
The UpdateRecognizerRequest that spawned the Operation. |
deleteRecognizerRequest |
The DeleteRecognizerRequest that spawned the Operation. |
undeleteRecognizerRequest |
The UndeleteRecognizerRequest that spawned the Operation. |
createCustomClassRequest |
The CreateCustomClassRequest that spawned the Operation. |
updateCustomClassRequest |
The UpdateCustomClassRequest that spawned the Operation. |
deleteCustomClassRequest |
The DeleteCustomClassRequest that spawned the Operation. |
undeleteCustomClassRequest |
The UndeleteCustomClassRequest that spawned the Operation. |
createPhraseSetRequest |
The CreatePhraseSetRequest that spawned the Operation. |
updatePhraseSetRequest |
The UpdatePhraseSetRequest that spawned the Operation. |
deletePhraseSetRequest |
The DeletePhraseSetRequest that spawned the Operation. |
undeletePhraseSetRequest |
The UndeletePhraseSetRequest that spawned the Operation. |
updateConfigRequest |
The UpdateConfigRequest that spawned the Operation. |
Union field metadata . Specific metadata per RPC. metadata can be only one of the following: |
|
batchRecognizeMetadata |
Metadata specific to the recognizers.batchRecognize method. |
UpdateConfigRequest
Request message for the config.update
method.
JSON representation |
---|
{
"config": {
object ( |
Fields | |
---|---|
config |
Required. The config to update. The config's |
updateMask |
The list of fields to be updated. This is a comma-separated list of fully qualified names of fields. Example: |
CreateCustomClassRequest
Request message for the CreateCustomClass
method.
JSON representation |
---|
{
"customClass": {
object ( |
Fields | |
---|---|
customClass |
Required. The CustomClass to create. |
validateOnly |
If set, validate the request and preview the CustomClass, but do not actually create it. |
customClassId |
The ID to use for the CustomClass, which will become the final component of the CustomClass's resource name. This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/. |
parent |
Required. The project and location where this CustomClass will be created. The expected format is |
DeleteCustomClassRequest
Request message for the DeleteCustomClass
method.
JSON representation |
---|
{ "name": string, "validateOnly": boolean, "allowMissing": boolean, "etag": string } |
Fields | |
---|---|
name |
Required. The name of the CustomClass to delete. Format: |
validateOnly |
If set, validate the request and preview the deleted CustomClass, but do not actually delete it. |
allowMissing |
If set to true, and the CustomClass is not found, the request will succeed and be a no-op (no Operation is recorded in this case). |
etag |
This checksum is computed by the server based on the value of other fields. This may be sent on update, undelete, and delete requests to ensure the client has an up-to-date value before proceeding. |
UndeleteCustomClassRequest
Request message for the customClasses.undelete
method.
JSON representation |
---|
{ "name": string, "validateOnly": boolean, "etag": string } |
Fields | |
---|---|
name |
Required. The name of the CustomClass to undelete. Format: |
validateOnly |
If set, validate the request and preview the undeleted CustomClass, but do not actually undelete it. |
etag |
This checksum is computed by the server based on the value of other fields. This may be sent on update, undelete, and delete requests to ensure the client has an up-to-date value before proceeding. |
UpdateCustomClassRequest
Request message for the UpdateCustomClass
method.
JSON representation |
---|
{
"customClass": {
object ( |
Fields | |
---|---|
customClass |
Required. The CustomClass to update. The CustomClass's |
updateMask |
The list of fields to be updated. If empty, all fields are considered for update. This is a comma-separated list of fully qualified names of fields. Example: |
validateOnly |
If set, validate the request and preview the updated CustomClass, but do not actually update it. |
CreatePhraseSetRequest
Request message for the CreatePhraseSet
method.
JSON representation |
---|
{
"phraseSet": {
object ( |
Fields | |
---|---|
phraseSet |
Required. The PhraseSet to create. |
validateOnly |
If set, validate the request and preview the PhraseSet, but do not actually create it. |
phraseSetId |
The ID to use for the PhraseSet, which will become the final component of the PhraseSet's resource name. This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/. |
parent |
Required. The project and location where this PhraseSet will be created. The expected format is |
DeletePhraseSetRequest
Request message for the DeletePhraseSet
method.
JSON representation |
---|
{ "name": string, "validateOnly": boolean, "allowMissing": boolean, "etag": string } |
Fields | |
---|---|
name |
Required. The name of the PhraseSet to delete. Format: |
validateOnly |
If set, validate the request and preview the deleted PhraseSet, but do not actually delete it. |
allowMissing |
If set to true, and the PhraseSet is not found, the request will succeed and be a no-op (no Operation is recorded in this case). |
etag |
This checksum is computed by the server based on the value of other fields. This may be sent on update, undelete, and delete requests to ensure the client has an up-to-date value before proceeding. |
UndeletePhraseSetRequest
Request message for the phraseSets.undelete
method.
JSON representation |
---|
{ "name": string, "validateOnly": boolean, "etag": string } |
Fields | |
---|---|
name |
Required. The name of the PhraseSet to undelete. Format: |
validateOnly |
If set, validate the request and preview the undeleted PhraseSet, but do not actually undelete it. |
etag |
This checksum is computed by the server based on the value of other fields. This may be sent on update, undelete, and delete requests to ensure the client has an up-to-date value before proceeding. |
UpdatePhraseSetRequest
Request message for the UpdatePhraseSet
method.
JSON representation |
---|
{
"phraseSet": {
object ( |
Fields | |
---|---|
phraseSet |
Required. The PhraseSet to update. The PhraseSet's |
updateMask |
The list of fields to update. If empty, all non-default valued fields are considered for update. Use This is a comma-separated list of fully qualified names of fields. Example: |
validateOnly |
If set, validate the request and preview the updated PhraseSet, but do not actually update it. |
BatchRecognizeRequest
Request message for the recognizers.batchRecognize
method.
JSON representation |
---|
{ "recognizer": string, "config": { object ( |
Fields | |
---|---|
recognizer |
Required. The name of the Recognizer to use during recognition. The expected format is |
config |
Features and audio metadata to use for the Automatic Speech Recognition. This field in combination with the |
configMask |
The list of fields in This is a comma-separated list of fully qualified names of fields. Example: |
files[] |
Audio files with file metadata for ASR. The maximum number of files allowed to be specified is 15. |
recognitionOutputConfig |
Configuration options for where to output the transcripts of each file. |
processingStrategy |
Processing strategy to use for this request. |
CreateRecognizerRequest
Request message for the recognizers.create
method.
JSON representation |
---|
{
"recognizer": {
object ( |
Fields | |
---|---|
recognizer |
Required. The Recognizer to create. |
validateOnly |
If set, validate the request and preview the Recognizer, but do not actually create it. |
recognizerId |
The ID to use for the Recognizer, which will become the final component of the Recognizer's resource name. This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/. |
parent |
Required. The project and location where this Recognizer will be created. The expected format is |
DeleteRecognizerRequest
Request message for the recognizers.delete
method.
JSON representation |
---|
{ "name": string, "validateOnly": boolean, "allowMissing": boolean, "etag": string } |
Fields | |
---|---|
name |
Required. The name of the Recognizer to delete. Format: |
validateOnly |
If set, validate the request and preview the deleted Recognizer, but do not actually delete it. |
allowMissing |
If set to true, and the Recognizer is not found, the request will succeed and be a no-op (no Operation is recorded in this case). |
etag |
This checksum is computed by the server based on the value of other fields. This may be sent on update, undelete, and delete requests to ensure the client has an up-to-date value before proceeding. |
UndeleteRecognizerRequest
Request message for the recognizers.undelete
method.
JSON representation |
---|
{ "name": string, "validateOnly": boolean, "etag": string } |
Fields | |
---|---|
name |
Required. The name of the Recognizer to undelete. Format: |
validateOnly |
If set, validate the request and preview the undeleted Recognizer, but do not actually undelete it. |
etag |
This checksum is computed by the server based on the value of other fields. This may be sent on update, undelete, and delete requests to ensure the client has an up-to-date value before proceeding. |
UpdateRecognizerRequest
Request message for the recognizers.patch
method.
JSON representation |
---|
{
"recognizer": {
object ( |
Fields | |
---|---|
recognizer |
Required. The Recognizer to update. The Recognizer's |
updateMask |
The list of fields to update. If empty, all non-default valued fields are considered for update. Use This is a comma-separated list of fully qualified names of fields. Example: |
validateOnly |
If set, validate the request and preview the updated Recognizer, but do not actually update it. |