blob: debb8f93bae80b4ea18a2cbee9af98e191bf5f3b [file] [log] [blame]
type: com.google.api.codegen.ConfigProto
language_settings:
java:
package_name: com.google.cloud.speech.spi.v1
python:
package_name: google.cloud.gapic.speech.v1
go:
package_name: cloud.google.com/go/speech/apiv1
csharp:
package_name: Google.Cloud.Speech.V1
ruby:
package_name: Google::Cloud::Speech::V1
php:
package_name: Google\Cloud\Speech\V1
nodejs:
package_name: speech.v1
domain_layer_location: google-cloud
license_header:
copyright_file: copyright-google.txt
license_file: license-header-apache-2.0.txt
interfaces:
- name: google.cloud.speech.v1.Speech
collections: []
retry_codes_def:
- name: idempotent
retry_codes:
- UNAVAILABLE
- DEADLINE_EXCEEDED
- name: non_idempotent
retry_codes:
- UNAVAILABLE
retry_params_def:
- name: default
initial_retry_delay_millis: 100
retry_delay_multiplier: 1.3
max_retry_delay_millis: 60000
initial_rpc_timeout_millis: 190000
rpc_timeout_multiplier: 1
max_rpc_timeout_millis: 190000
total_timeout_millis: 600000
methods:
- name: Recognize
flattening:
groups:
- parameters:
- config
- audio
required_fields:
- config
- audio
sample_code_init_fields:
- config.encoding=FLAC
- config.sample_rate_hertz=44100
- config.language_code="en-US"
- audio.uri=gs://bucket_name/file_name.flac
request_object_method: true
retry_codes_name: idempotent
retry_params_name: default
timeout_millis: 190000
- name: LongRunningRecognize
flattening:
groups:
- parameters:
- config
- audio
required_fields:
- config
- audio
sample_code_init_fields:
- config.encoding=FLAC
- config.sample_rate_hertz=44100
- config.language_code="en-US"
- audio.uri=gs://bucket_name/file_name.flac
request_object_method: true
retry_codes_name: non_idempotent
retry_params_name: default
timeout_millis: 60000
long_running:
return_type: google.cloud.speech.v1.LongRunningRecognizeResponse
metadata_type: google.cloud.speech.v1.LongRunningRecognizeMetadata
polling_interval_millis: 20000
- name: StreamingRecognize
request_object_method: true
retry_codes_name: idempotent
retry_params_name: default
timeout_millis: 190000