type: google.api.Service
config_version: 3
name: speech.googleapis.com
title: Cloud Speech API

apis:
- name: google.cloud.speech.v1.Speech

types:
- name: google.cloud.speech.v1.LongRunningRecognizeMetadata
- name: google.cloud.speech.v1.LongRunningRecognizeResponse

documentation:
  summary: Converts audio to text by applying powerful neural network models.
  overview: |-
    # Introduction

    Google Cloud Speech API provides speech recognition as a service.

backend:
  rules:
  - selector: google.longrunning.Operations.ListOperations
    deadline: 200.0
  - selector: google.longrunning.Operations.GetOperation
    deadline: 200.0
  - selector: google.longrunning.Operations.WaitOperation
    deadline: 200.0
  - selector: google.cloud.speech.v1.Speech.Recognize
    deadline: 200.0
  - selector: google.cloud.speech.v1.Speech.LongRunningRecognize
    deadline: 200.0
  - selector: google.cloud.speech.v1.Speech.StreamingRecognize
    deadline: 200.0

http:
  rules:
  - selector: google.longrunning.Operations.ListOperations
    get: /v1/operations
    additional_bindings:
    - get: /v1beta1/operations

    - get: /v1p1beta1/operations

    - get: '/v1p1beta1/{name=projects/*/locations/*}/operations'

    - get: '/v1/{name=projects/*/locations/*}/operations'

  - selector: google.longrunning.Operations.GetOperation
    get: '/v1/operations/{name=**}'
    additional_bindings:
    - get: '/v1beta1/operations/{name=**}'

    - get: '/v1p1beta1/operations/{name=**}'

    - get: '/v1/{name=projects/*/locations/*/operations/*}'

    - get: '/v1p1beta1/{name=projects/*/locations/*/operations/*}'


authentication:
  rules:
  - selector: '*'
    oauth:
      canonical_scopes: |-
        https://www.googleapis.com/auth/cloud-platform
