blob: e1ff34777c1a79aa40bc5586e52cb8bff56111c2 [file] [log] [blame]
{
"clientLibrary": {
"name": "cloud.google.com/go/speech/apiv2",
"version": "1.20.0",
"language": "GO",
"apis": [
{
"id": "google.cloud.speech.v2",
"version": "v2"
}
]
},
"snippets": [
{
"regionTag": "speech_v2_generated_Speech_BatchRecognize_sync",
"title": "speech BatchRecognize Sample",
"description": "BatchRecognize performs batch asynchronous speech recognition: send a request with N\naudio files and receive a long running operation that can be polled to see\nwhen the transcriptions are finished.",
"file": "Client/BatchRecognize/main.go",
"language": "GO",
"clientMethod": {
"shortName": "BatchRecognize",
"fullName": "google.cloud.speech.v2.Client.BatchRecognize",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "speechpb.BatchRecognizeRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "BatchRecognizeOperation",
"client": {
"shortName": "Client",
"fullName": "google.cloud.speech.v2.Client"
},
"method": {
"shortName": "BatchRecognize",
"fullName": "google.cloud.speech.v2.Speech.BatchRecognize",
"service": {
"shortName": "Speech",
"fullName": "google.cloud.speech.v2.Speech"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "speech_v2_generated_Speech_CancelOperation_sync",
"title": "speech CancelOperation Sample",
"description": "CancelOperation is a utility method from google.longrunning.Operations.",
"file": "Client/CancelOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CancelOperation",
"fullName": "google.cloud.speech.v2.Client.CancelOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.CancelOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "Client",
"fullName": "google.cloud.speech.v2.Client"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.longrunning.Operations.CancelOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "speech_v2_generated_Speech_CreateCustomClass_sync",
"title": "speech CreateCustomClass Sample",
"description": "CreateCustomClass creates a [CustomClass][google.cloud.speech.v2.CustomClass].",
"file": "Client/CreateCustomClass/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateCustomClass",
"fullName": "google.cloud.speech.v2.Client.CreateCustomClass",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "speechpb.CreateCustomClassRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "CreateCustomClassOperation",
"client": {
"shortName": "Client",
"fullName": "google.cloud.speech.v2.Client"
},
"method": {
"shortName": "CreateCustomClass",
"fullName": "google.cloud.speech.v2.Speech.CreateCustomClass",
"service": {
"shortName": "Speech",
"fullName": "google.cloud.speech.v2.Speech"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "speech_v2_generated_Speech_CreatePhraseSet_sync",
"title": "speech CreatePhraseSet Sample",
"description": "CreatePhraseSet creates a [PhraseSet][google.cloud.speech.v2.PhraseSet].",
"file": "Client/CreatePhraseSet/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreatePhraseSet",
"fullName": "google.cloud.speech.v2.Client.CreatePhraseSet",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "speechpb.CreatePhraseSetRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "CreatePhraseSetOperation",
"client": {
"shortName": "Client",
"fullName": "google.cloud.speech.v2.Client"
},
"method": {
"shortName": "CreatePhraseSet",
"fullName": "google.cloud.speech.v2.Speech.CreatePhraseSet",
"service": {
"shortName": "Speech",
"fullName": "google.cloud.speech.v2.Speech"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "speech_v2_generated_Speech_CreateRecognizer_sync",
"title": "speech CreateRecognizer Sample",
"description": "CreateRecognizer creates a [Recognizer][google.cloud.speech.v2.Recognizer].",
"file": "Client/CreateRecognizer/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateRecognizer",
"fullName": "google.cloud.speech.v2.Client.CreateRecognizer",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "speechpb.CreateRecognizerRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "CreateRecognizerOperation",
"client": {
"shortName": "Client",
"fullName": "google.cloud.speech.v2.Client"
},
"method": {
"shortName": "CreateRecognizer",
"fullName": "google.cloud.speech.v2.Speech.CreateRecognizer",
"service": {
"shortName": "Speech",
"fullName": "google.cloud.speech.v2.Speech"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "speech_v2_generated_Speech_DeleteCustomClass_sync",
"title": "speech DeleteCustomClass Sample",
"description": "DeleteCustomClass deletes the [CustomClass][google.cloud.speech.v2.CustomClass].",
"file": "Client/DeleteCustomClass/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteCustomClass",
"fullName": "google.cloud.speech.v2.Client.DeleteCustomClass",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "speechpb.DeleteCustomClassRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "DeleteCustomClassOperation",
"client": {
"shortName": "Client",
"fullName": "google.cloud.speech.v2.Client"
},
"method": {
"shortName": "DeleteCustomClass",
"fullName": "google.cloud.speech.v2.Speech.DeleteCustomClass",
"service": {
"shortName": "Speech",
"fullName": "google.cloud.speech.v2.Speech"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "speech_v2_generated_Speech_DeleteOperation_sync",
"title": "speech DeleteOperation Sample",
"description": "DeleteOperation is a utility method from google.longrunning.Operations.",
"file": "Client/DeleteOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteOperation",
"fullName": "google.cloud.speech.v2.Client.DeleteOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.DeleteOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "Client",
"fullName": "google.cloud.speech.v2.Client"
},
"method": {
"shortName": "DeleteOperation",
"fullName": "google.longrunning.Operations.DeleteOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "speech_v2_generated_Speech_DeletePhraseSet_sync",
"title": "speech DeletePhraseSet Sample",
"description": "DeletePhraseSet deletes the [PhraseSet][google.cloud.speech.v2.PhraseSet].",
"file": "Client/DeletePhraseSet/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeletePhraseSet",
"fullName": "google.cloud.speech.v2.Client.DeletePhraseSet",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "speechpb.DeletePhraseSetRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "DeletePhraseSetOperation",
"client": {
"shortName": "Client",
"fullName": "google.cloud.speech.v2.Client"
},
"method": {
"shortName": "DeletePhraseSet",
"fullName": "google.cloud.speech.v2.Speech.DeletePhraseSet",
"service": {
"shortName": "Speech",
"fullName": "google.cloud.speech.v2.Speech"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "speech_v2_generated_Speech_DeleteRecognizer_sync",
"title": "speech DeleteRecognizer Sample",
"description": "DeleteRecognizer deletes the [Recognizer][google.cloud.speech.v2.Recognizer].",
"file": "Client/DeleteRecognizer/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteRecognizer",
"fullName": "google.cloud.speech.v2.Client.DeleteRecognizer",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "speechpb.DeleteRecognizerRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "DeleteRecognizerOperation",
"client": {
"shortName": "Client",
"fullName": "google.cloud.speech.v2.Client"
},
"method": {
"shortName": "DeleteRecognizer",
"fullName": "google.cloud.speech.v2.Speech.DeleteRecognizer",
"service": {
"shortName": "Speech",
"fullName": "google.cloud.speech.v2.Speech"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "speech_v2_generated_Speech_GetConfig_sync",
"title": "speech GetConfig Sample",
"description": "GetConfig returns the requested [Config][google.cloud.speech.v2.Config].",
"file": "Client/GetConfig/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetConfig",
"fullName": "google.cloud.speech.v2.Client.GetConfig",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "speechpb.GetConfigRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*speechpb.Config",
"client": {
"shortName": "Client",
"fullName": "google.cloud.speech.v2.Client"
},
"method": {
"shortName": "GetConfig",
"fullName": "google.cloud.speech.v2.Speech.GetConfig",
"service": {
"shortName": "Speech",
"fullName": "google.cloud.speech.v2.Speech"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "speech_v2_generated_Speech_GetCustomClass_sync",
"title": "speech GetCustomClass Sample",
"description": "GetCustomClass returns the requested\n[CustomClass][google.cloud.speech.v2.CustomClass].",
"file": "Client/GetCustomClass/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetCustomClass",
"fullName": "google.cloud.speech.v2.Client.GetCustomClass",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "speechpb.GetCustomClassRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*speechpb.CustomClass",
"client": {
"shortName": "Client",
"fullName": "google.cloud.speech.v2.Client"
},
"method": {
"shortName": "GetCustomClass",
"fullName": "google.cloud.speech.v2.Speech.GetCustomClass",
"service": {
"shortName": "Speech",
"fullName": "google.cloud.speech.v2.Speech"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "speech_v2_generated_Speech_GetLocation_sync",
"title": "speech GetLocation Sample",
"description": "GetLocation gets information about a location.",
"file": "Client/GetLocation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetLocation",
"fullName": "google.cloud.speech.v2.Client.GetLocation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.GetLocationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*locationpb.Location",
"client": {
"shortName": "Client",
"fullName": "google.cloud.speech.v2.Client"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.location.Locations.GetLocation",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "speech_v2_generated_Speech_GetOperation_sync",
"title": "speech GetOperation Sample",
"description": "GetOperation is a utility method from google.longrunning.Operations.",
"file": "Client/GetOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetOperation",
"fullName": "google.cloud.speech.v2.Client.GetOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.GetOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*longrunningpb.Operation",
"client": {
"shortName": "Client",
"fullName": "google.cloud.speech.v2.Client"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.longrunning.Operations.GetOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "speech_v2_generated_Speech_GetPhraseSet_sync",
"title": "speech GetPhraseSet Sample",
"description": "GetPhraseSet returns the requested\n[PhraseSet][google.cloud.speech.v2.PhraseSet].",
"file": "Client/GetPhraseSet/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetPhraseSet",
"fullName": "google.cloud.speech.v2.Client.GetPhraseSet",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "speechpb.GetPhraseSetRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*speechpb.PhraseSet",
"client": {
"shortName": "Client",
"fullName": "google.cloud.speech.v2.Client"
},
"method": {
"shortName": "GetPhraseSet",
"fullName": "google.cloud.speech.v2.Speech.GetPhraseSet",
"service": {
"shortName": "Speech",
"fullName": "google.cloud.speech.v2.Speech"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "speech_v2_generated_Speech_GetRecognizer_sync",
"title": "speech GetRecognizer Sample",
"description": "GetRecognizer returns the requested\n[Recognizer][google.cloud.speech.v2.Recognizer]. Fails with\n[NOT_FOUND][google.rpc.Code.NOT_FOUND] if the requested Recognizer doesn't\nexist.",
"file": "Client/GetRecognizer/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetRecognizer",
"fullName": "google.cloud.speech.v2.Client.GetRecognizer",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "speechpb.GetRecognizerRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*speechpb.Recognizer",
"client": {
"shortName": "Client",
"fullName": "google.cloud.speech.v2.Client"
},
"method": {
"shortName": "GetRecognizer",
"fullName": "google.cloud.speech.v2.Speech.GetRecognizer",
"service": {
"shortName": "Speech",
"fullName": "google.cloud.speech.v2.Speech"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "speech_v2_generated_Speech_ListCustomClasses_sync",
"title": "speech ListCustomClasses Sample",
"description": "ListCustomClasses lists CustomClasses.",
"file": "Client/ListCustomClasses/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListCustomClasses",
"fullName": "google.cloud.speech.v2.Client.ListCustomClasses",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "speechpb.ListCustomClassesRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "CustomClassIterator",
"client": {
"shortName": "Client",
"fullName": "google.cloud.speech.v2.Client"
},
"method": {
"shortName": "ListCustomClasses",
"fullName": "google.cloud.speech.v2.Speech.ListCustomClasses",
"service": {
"shortName": "Speech",
"fullName": "google.cloud.speech.v2.Speech"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "speech_v2_generated_Speech_ListLocations_sync",
"title": "speech ListLocations Sample",
"description": "ListLocations lists information about the supported locations for this service.",
"file": "Client/ListLocations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListLocations",
"fullName": "google.cloud.speech.v2.Client.ListLocations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.ListLocationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "LocationIterator",
"client": {
"shortName": "Client",
"fullName": "google.cloud.speech.v2.Client"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.location.Locations.ListLocations",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "speech_v2_generated_Speech_ListOperations_sync",
"title": "speech ListOperations Sample",
"description": "ListOperations is a utility method from google.longrunning.Operations.",
"file": "Client/ListOperations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListOperations",
"fullName": "google.cloud.speech.v2.Client.ListOperations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.ListOperationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "OperationIterator",
"client": {
"shortName": "Client",
"fullName": "google.cloud.speech.v2.Client"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.longrunning.Operations.ListOperations",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "speech_v2_generated_Speech_ListPhraseSets_sync",
"title": "speech ListPhraseSets Sample",
"description": "ListPhraseSets lists PhraseSets.",
"file": "Client/ListPhraseSets/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListPhraseSets",
"fullName": "google.cloud.speech.v2.Client.ListPhraseSets",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "speechpb.ListPhraseSetsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "PhraseSetIterator",
"client": {
"shortName": "Client",
"fullName": "google.cloud.speech.v2.Client"
},
"method": {
"shortName": "ListPhraseSets",
"fullName": "google.cloud.speech.v2.Speech.ListPhraseSets",
"service": {
"shortName": "Speech",
"fullName": "google.cloud.speech.v2.Speech"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "speech_v2_generated_Speech_ListRecognizers_sync",
"title": "speech ListRecognizers Sample",
"description": "ListRecognizers lists Recognizers.",
"file": "Client/ListRecognizers/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListRecognizers",
"fullName": "google.cloud.speech.v2.Client.ListRecognizers",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "speechpb.ListRecognizersRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "RecognizerIterator",
"client": {
"shortName": "Client",
"fullName": "google.cloud.speech.v2.Client"
},
"method": {
"shortName": "ListRecognizers",
"fullName": "google.cloud.speech.v2.Speech.ListRecognizers",
"service": {
"shortName": "Speech",
"fullName": "google.cloud.speech.v2.Speech"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "speech_v2_generated_Speech_Recognize_sync",
"title": "speech Recognize Sample",
"description": "Recognize performs synchronous Speech recognition: receive results after all audio\nhas been sent and processed.",
"file": "Client/Recognize/main.go",
"language": "GO",
"clientMethod": {
"shortName": "Recognize",
"fullName": "google.cloud.speech.v2.Client.Recognize",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "speechpb.RecognizeRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*speechpb.RecognizeResponse",
"client": {
"shortName": "Client",
"fullName": "google.cloud.speech.v2.Client"
},
"method": {
"shortName": "Recognize",
"fullName": "google.cloud.speech.v2.Speech.Recognize",
"service": {
"shortName": "Speech",
"fullName": "google.cloud.speech.v2.Speech"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "speech_v2_generated_Speech_StreamingRecognize_sync",
"title": "speech StreamingRecognize Sample",
"description": "StreamingRecognize performs bidirectional streaming speech recognition: receive results while\nsending audio. This method is only available via the gRPC API (not REST).\n\n\nThis method is not supported for the REST transport.",
"file": "Client/StreamingRecognize/main.go",
"language": "GO",
"clientMethod": {
"shortName": "StreamingRecognize",
"fullName": "google.cloud.speech.v2.Client.StreamingRecognize",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "speechpb.Speech_StreamingRecognizeClient",
"client": {
"shortName": "Client",
"fullName": "google.cloud.speech.v2.Client"
},
"method": {
"shortName": "StreamingRecognize",
"fullName": "google.cloud.speech.v2.Speech.StreamingRecognize",
"service": {
"shortName": "Speech",
"fullName": "google.cloud.speech.v2.Speech"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 69,
"type": "FULL"
}
]
},
{
"regionTag": "speech_v2_generated_Speech_UndeleteCustomClass_sync",
"title": "speech UndeleteCustomClass Sample",
"description": "UndeleteCustomClass undeletes the [CustomClass][google.cloud.speech.v2.CustomClass].",
"file": "Client/UndeleteCustomClass/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UndeleteCustomClass",
"fullName": "google.cloud.speech.v2.Client.UndeleteCustomClass",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "speechpb.UndeleteCustomClassRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "UndeleteCustomClassOperation",
"client": {
"shortName": "Client",
"fullName": "google.cloud.speech.v2.Client"
},
"method": {
"shortName": "UndeleteCustomClass",
"fullName": "google.cloud.speech.v2.Speech.UndeleteCustomClass",
"service": {
"shortName": "Speech",
"fullName": "google.cloud.speech.v2.Speech"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "speech_v2_generated_Speech_UndeletePhraseSet_sync",
"title": "speech UndeletePhraseSet Sample",
"description": "UndeletePhraseSet undeletes the [PhraseSet][google.cloud.speech.v2.PhraseSet].",
"file": "Client/UndeletePhraseSet/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UndeletePhraseSet",
"fullName": "google.cloud.speech.v2.Client.UndeletePhraseSet",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "speechpb.UndeletePhraseSetRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "UndeletePhraseSetOperation",
"client": {
"shortName": "Client",
"fullName": "google.cloud.speech.v2.Client"
},
"method": {
"shortName": "UndeletePhraseSet",
"fullName": "google.cloud.speech.v2.Speech.UndeletePhraseSet",
"service": {
"shortName": "Speech",
"fullName": "google.cloud.speech.v2.Speech"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "speech_v2_generated_Speech_UndeleteRecognizer_sync",
"title": "speech UndeleteRecognizer Sample",
"description": "UndeleteRecognizer undeletes the [Recognizer][google.cloud.speech.v2.Recognizer].",
"file": "Client/UndeleteRecognizer/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UndeleteRecognizer",
"fullName": "google.cloud.speech.v2.Client.UndeleteRecognizer",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "speechpb.UndeleteRecognizerRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "UndeleteRecognizerOperation",
"client": {
"shortName": "Client",
"fullName": "google.cloud.speech.v2.Client"
},
"method": {
"shortName": "UndeleteRecognizer",
"fullName": "google.cloud.speech.v2.Speech.UndeleteRecognizer",
"service": {
"shortName": "Speech",
"fullName": "google.cloud.speech.v2.Speech"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "speech_v2_generated_Speech_UpdateConfig_sync",
"title": "speech UpdateConfig Sample",
"description": "UpdateConfig updates the [Config][google.cloud.speech.v2.Config].",
"file": "Client/UpdateConfig/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdateConfig",
"fullName": "google.cloud.speech.v2.Client.UpdateConfig",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "speechpb.UpdateConfigRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*speechpb.Config",
"client": {
"shortName": "Client",
"fullName": "google.cloud.speech.v2.Client"
},
"method": {
"shortName": "UpdateConfig",
"fullName": "google.cloud.speech.v2.Speech.UpdateConfig",
"service": {
"shortName": "Speech",
"fullName": "google.cloud.speech.v2.Speech"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "speech_v2_generated_Speech_UpdateCustomClass_sync",
"title": "speech UpdateCustomClass Sample",
"description": "UpdateCustomClass updates the [CustomClass][google.cloud.speech.v2.CustomClass].",
"file": "Client/UpdateCustomClass/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdateCustomClass",
"fullName": "google.cloud.speech.v2.Client.UpdateCustomClass",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "speechpb.UpdateCustomClassRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "UpdateCustomClassOperation",
"client": {
"shortName": "Client",
"fullName": "google.cloud.speech.v2.Client"
},
"method": {
"shortName": "UpdateCustomClass",
"fullName": "google.cloud.speech.v2.Speech.UpdateCustomClass",
"service": {
"shortName": "Speech",
"fullName": "google.cloud.speech.v2.Speech"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "speech_v2_generated_Speech_UpdatePhraseSet_sync",
"title": "speech UpdatePhraseSet Sample",
"description": "UpdatePhraseSet updates the [PhraseSet][google.cloud.speech.v2.PhraseSet].",
"file": "Client/UpdatePhraseSet/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdatePhraseSet",
"fullName": "google.cloud.speech.v2.Client.UpdatePhraseSet",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "speechpb.UpdatePhraseSetRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "UpdatePhraseSetOperation",
"client": {
"shortName": "Client",
"fullName": "google.cloud.speech.v2.Client"
},
"method": {
"shortName": "UpdatePhraseSet",
"fullName": "google.cloud.speech.v2.Speech.UpdatePhraseSet",
"service": {
"shortName": "Speech",
"fullName": "google.cloud.speech.v2.Speech"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "speech_v2_generated_Speech_UpdateRecognizer_sync",
"title": "speech UpdateRecognizer Sample",
"description": "UpdateRecognizer updates the [Recognizer][google.cloud.speech.v2.Recognizer].",
"file": "Client/UpdateRecognizer/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdateRecognizer",
"fullName": "google.cloud.speech.v2.Client.UpdateRecognizer",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "speechpb.UpdateRecognizerRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "UpdateRecognizerOperation",
"client": {
"shortName": "Client",
"fullName": "google.cloud.speech.v2.Client"
},
"method": {
"shortName": "UpdateRecognizer",
"fullName": "google.cloud.speech.v2.Speech.UpdateRecognizer",
"service": {
"shortName": "Speech",
"fullName": "google.cloud.speech.v2.Speech"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
}
]
}