You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
kratos/third_party/google/spanner/admin/database/spanner_admin_database.yaml

41 lines
1.6 KiB

type: google.api.Service
config_version: 3
name: spanner.googleapis.com
title: Cloud Spanner Database Admin API
apis:
- name: google.spanner.admin.database.v1.DatabaseAdmin
mixins:
- name: google.iam.v1.IAMPolicy
types:
- name: google.spanner.admin.database.v1.CreateDatabaseMetadata
- name: google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata
authentication:
rules:
- selector: google.spanner.admin.database.v1.DatabaseAdmin.*,
google.iam.v1.IAMPolicy.*,
google.longrunning.Operations.*
oauth:
canonical_scopes: https://www.googleapis.com/auth/spanner.admin,
https://www.googleapis.com/auth/cloud-platform
http:
rules:
- selector: google.longrunning.Operations.GetOperation
get: '/v1/{name=projects/*/instances/*/databases/*/operations/*}'
additional_bindings:
- get: '/v1/{name=projects/*/instances/*/operations/*}'
- selector: google.longrunning.Operations.ListOperations
get: '/v1/{name=projects/*/instances/*/databases/*/operations}'
additional_bindings:
- get: '/v1/{name=projects/*/instances/*/operations}'
- selector: google.longrunning.Operations.CancelOperation
post: '/v1/{name=projects/*/instances/*/databases/*/operations/*}:cancel'
additional_bindings:
- post: '/v1/{name=projects/*/instances/*/operations/*}:cancel'
- selector: google.longrunning.Operations.DeleteOperation
delete: '/v1/{name=projects/*/instances/*/databases/*/operations/*}'
additional_bindings:
- delete: '/v1/{name=projects/*/instances/*/operations/*}'