Add LRO service config. Update Pub/Sub. Remove unneeded context. (#155)
This commit is contained in:
parent
7823ab700b
commit
acfc5dc744
|
|
@ -12,18 +12,8 @@ documentation:
|
|||
|
||||
apis:
|
||||
- name: google.cloud.speech.v1beta1.Speech
|
||||
# TODO get LRO API call support added for Speech
|
||||
#- name: google.longrunning.Operations
|
||||
- name: google.longrunning.Operations
|
||||
|
||||
# Pass origin and project RpcServerExtensions to the backend.
|
||||
context:
|
||||
rules:
|
||||
- selector: '*'
|
||||
requested:
|
||||
- google.rpc.context.ProjectContext
|
||||
- google.rpc.context.OriginContext
|
||||
|
||||
# Auth section.
|
||||
authentication:
|
||||
rules:
|
||||
- selector: '*'
|
||||
|
|
|
|||
|
|
@ -19,9 +19,3 @@ authentication:
|
|||
oauth:
|
||||
canonical_scopes: https://www.googleapis.com/auth/iam,
|
||||
https://www.googleapis.com/auth/cloud-platform
|
||||
|
||||
context:
|
||||
rules:
|
||||
- selector: '*'
|
||||
requested:
|
||||
- google.rpc.context.OriginContext
|
||||
|
|
|
|||
|
|
@ -0,0 +1,12 @@
|
|||
type: google.api.Service
|
||||
config_version: 1
|
||||
name: longrunning.googleapis.com
|
||||
title: Google Long Running Operations API
|
||||
|
||||
apis:
|
||||
- name: google.longrunning.Operations
|
||||
|
||||
# Documentation section
|
||||
documentation:
|
||||
overview:
|
||||
(== include google/longrunning/README.md ==)
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
# Google Cloud Pub/Sub API service configuration
|
||||
|
||||
type: google.api.Service
|
||||
config_version: 1
|
||||
config_version: 3
|
||||
name: pubsub.googleapis.com
|
||||
|
||||
title: Google Cloud Pub/Sub API
|
||||
|
|
@ -34,19 +34,9 @@ apis:
|
|||
- name: google.pubsub.v1.Publisher
|
||||
- name: google.pubsub.v1.Subscriber
|
||||
|
||||
# Pass origin and project RpcServerExtensions to the backend.
|
||||
context:
|
||||
rules:
|
||||
- selector: '*'
|
||||
requested:
|
||||
- google.rpc.context.OriginContext
|
||||
- google.rpc.context.ProjectContext
|
||||
|
||||
# Auth section
|
||||
authentication:
|
||||
rules:
|
||||
- selector: '*'
|
||||
oauth:
|
||||
canonical_scopes: https://www.googleapis.com/auth/pubsub,
|
||||
https://www.googleapis.com/auth/cloud-platform
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue