type: google.api.Service
config_version: 3
name: bigtableadmin.googleapis.com
title: Cloud Bigtable Admin API

apis:
- name: google.bigtable.admin.v2.BigtableInstanceAdmin
- name: google.bigtable.admin.v2.BigtableTableAdmin

types:
- name: google.bigtable.admin.v2.CreateInstanceMetadata
- name: google.bigtable.admin.v2.CreateClusterMetadata
- name: google.bigtable.admin.v2.UpdateClusterMetadata

http:
  rules:
  - selector: google.longrunning.Operations.ListOperations
    get: '/v2/{name=operations}'

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

  - selector: google.longrunning.Operations.DeleteOperation
    delete: '/v2/{name=operations/**}'

  - selector: google.longrunning.Operations.CancelOperation
    post: '/v2/{name=operations/**}:cancel'


authentication:
  rules:
  - selector: '*'
    oauth:
      canonical_scopes: |-
        https://www.googleapis.com/auth/bigtable.admin,
        https://www.googleapis.com/auth/bigtable.admin.cluster,
        https://www.googleapis.com/auth/bigtable.admin.instance,
        https://www.googleapis.com/auth/cloud-bigtable.admin,
        https://www.googleapis.com/auth/cloud-bigtable.admin.cluster,
        https://www.googleapis.com/auth/cloud-platform
  - selector: 'google.bigtable.admin.v2.BigtableTableAdmin.*'
    oauth:
      canonical_scopes: |-
        https://www.googleapis.com/auth/bigtable.admin,
        https://www.googleapis.com/auth/bigtable.admin.table,
        https://www.googleapis.com/auth/cloud-bigtable.admin,
        https://www.googleapis.com/auth/cloud-bigtable.admin.table,
        https://www.googleapis.com/auth/cloud-platform
  - selector: |-
      google.bigtable.admin.v2.BigtableInstanceAdmin.GetCluster,
      google.bigtable.admin.v2.BigtableInstanceAdmin.GetInstance,
      google.bigtable.admin.v2.BigtableInstanceAdmin.ListClusters,
      google.bigtable.admin.v2.BigtableInstanceAdmin.ListInstances
    oauth:
      canonical_scopes: |-
        https://www.googleapis.com/auth/bigtable.admin,
        https://www.googleapis.com/auth/bigtable.admin.cluster,
        https://www.googleapis.com/auth/bigtable.admin.instance,
        https://www.googleapis.com/auth/cloud-bigtable.admin,
        https://www.googleapis.com/auth/cloud-bigtable.admin.cluster,
        https://www.googleapis.com/auth/cloud-platform,
        https://www.googleapis.com/auth/cloud-platform.read-only
  - selector: |-
      google.bigtable.admin.v2.BigtableTableAdmin.GetTable,
      google.bigtable.admin.v2.BigtableTableAdmin.ListTables
    oauth:
      canonical_scopes: |-
        https://www.googleapis.com/auth/bigtable.admin,
        https://www.googleapis.com/auth/bigtable.admin.table,
        https://www.googleapis.com/auth/cloud-bigtable.admin,
        https://www.googleapis.com/auth/cloud-bigtable.admin.table,
        https://www.googleapis.com/auth/cloud-platform,
        https://www.googleapis.com/auth/cloud-platform.read-only
  - selector: |-
      google.longrunning.Operations.GetOperation,
      google.longrunning.Operations.ListOperations
    oauth:
      canonical_scopes: |-
        https://www.googleapis.com/auth/bigtable.admin,
        https://www.googleapis.com/auth/bigtable.admin.cluster,
        https://www.googleapis.com/auth/bigtable.admin.instance,
        https://www.googleapis.com/auth/cloud-bigtable.admin,
        https://www.googleapis.com/auth/cloud-bigtable.admin.cluster,
        https://www.googleapis.com/auth/cloud-platform,
        https://www.googleapis.com/auth/cloud-platform.read-only
