{ "basePath": "", "servicePath": "", "revision": "20240413", "canonicalName": "Bigtable Admin", "batchPath": "batch", "version_module": true, "mtlsRootUrl": "https://bigtableadmin.mtls.googleapis.com/", "id": "bigtableadmin:v2", "auth": { "oauth2": { "scopes": { "https://www.googleapis.com/auth/bigtable.admin": { "description": "Administer your Cloud Bigtable tables and clusters" }, "https://www.googleapis.com/auth/bigtable.admin.cluster": { "description": "Administer your Cloud Bigtable clusters" }, "https://www.googleapis.com/auth/bigtable.admin.instance": { "description": "Administer your Cloud Bigtable clusters" }, "https://www.googleapis.com/auth/bigtable.admin.table": { "description": "Administer your Cloud Bigtable tables" }, "https://www.googleapis.com/auth/cloud-bigtable.admin": { "description": "Administer your Cloud Bigtable tables and clusters" }, "https://www.googleapis.com/auth/cloud-bigtable.admin.cluster": { "description": "Administer your Cloud Bigtable clusters" }, "https://www.googleapis.com/auth/cloud-bigtable.admin.table": { "description": "Administer your Cloud Bigtable tables" }, "https://www.googleapis.com/auth/cloud-platform": { "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." }, "https://www.googleapis.com/auth/cloud-platform.read-only": { "description": "View your data across Google Cloud services and see the email address of your Google Account" } } } }, "discoveryVersion": "v1", "ownerName": "Google", "baseUrl": "https://bigtableadmin.googleapis.com/", "rootUrl": "https://bigtableadmin.googleapis.com/", "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", "x32": "http://www.google.com/images/icons/product/search-32.gif" }, "documentationLink": "https://cloud.google.com/bigtable/", "resources": { "operations": { "methods": { "get": { "id": "bigtableadmin.operations.get", "path": "v2/{+name}", "flatPath": "v2/operations/{operationsId}", "httpMethod": "GET", "parameters": { "name": { "description": "The name of the operation resource.", "pattern": "^operations/.*$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "Operation" }, "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" ], "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service." } }, "resources": { "projects": { "resources": { "operations": { "methods": { "list": { "id": "bigtableadmin.operations.projects.operations.list", "path": "v2/{+name}/operations", "flatPath": "v2/operations/projects/{projectsId}/operations", "httpMethod": "GET", "parameters": { "name": { "description": "The name of the operation's parent resource.", "pattern": "^operations/projects/.*$", "location": "path", "required": true, "type": "string" }, "filter": { "description": "The standard list filter.", "location": "query", "type": "string" }, "pageSize": { "description": "The standard list page size.", "location": "query", "type": "integer", "format": "int32" }, "pageToken": { "description": "The standard list page token.", "location": "query", "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "ListOperationsResponse" }, "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" ], "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`." } } } } } } }, "projects": { "resources": { "instances": { "methods": { "create": { "id": "bigtableadmin.projects.instances.create", "path": "v2/{+parent}/instances", "flatPath": "v2/projects/{projectsId}/instances", "httpMethod": "POST", "parameters": { "parent": { "description": "Required. The unique name of the project in which to create the new instance. Values are of the form `projects/{project}`.", "pattern": "^projects/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "parent" ], "request": { "$ref": "CreateInstanceRequest" }, "response": { "$ref": "Operation" }, "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" ], "description": "Create an instance within a project. Note that exactly one of Cluster.serve_nodes and Cluster.cluster_config.cluster_autoscaling_config can be set. If serve_nodes is set to non-zero, then the cluster is manually scaled. If cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is enabled." }, "get": { "id": "bigtableadmin.projects.instances.get", "path": "v2/{+name}", "flatPath": "v2/projects/{projectsId}/instances/{instancesId}", "httpMethod": "GET", "parameters": { "name": { "description": "Required. The unique name of the requested instance. Values are of the form `projects/{project}/instances/{instance}`.", "pattern": "^projects/[^/]+/instances/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "Instance" }, "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" ], "description": "Gets information about an instance." }, "list": { "id": "bigtableadmin.projects.instances.list", "path": "v2/{+parent}/instances", "flatPath": "v2/projects/{projectsId}/instances", "httpMethod": "GET", "parameters": { "parent": { "description": "Required. The unique name of the project for which a list of instances is requested. Values are of the form `projects/{project}`.", "pattern": "^projects/[^/]+$", "location": "path", "required": true, "type": "string" }, "pageToken": { "description": "DEPRECATED: This field is unused and ignored.", "location": "query", "type": "string" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListInstancesResponse" }, "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" ], "description": "Lists information about instances in a project." }, "update": { "id": "bigtableadmin.projects.instances.update", "path": "v2/{+name}", "flatPath": "v2/projects/{projectsId}/instances/{instancesId}", "httpMethod": "PUT", "parameters": { "name": { "description": "The unique name of the instance. Values are of the form `projects/{project}/instances/a-z+[a-z0-9]`.", "pattern": "^projects/[^/]+/instances/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "request": { "$ref": "Instance" }, "response": { "$ref": "Instance" }, "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" ], "description": "Updates an instance within a project. This method updates only the display name and type for an Instance. To update other Instance properties, such as labels, use PartialUpdateInstance." }, "partialUpdateInstance": { "id": "bigtableadmin.projects.instances.partialUpdateInstance", "path": "v2/{+name}", "flatPath": "v2/projects/{projectsId}/instances/{instancesId}", "httpMethod": "PATCH", "parameters": { "name": { "description": "The unique name of the instance. Values are of the form `projects/{project}/instances/a-z+[a-z0-9]`.", "pattern": "^projects/[^/]+/instances/[^/]+$", "location": "path", "required": true, "type": "string" }, "updateMask": { "description": "Required. The subset of Instance fields which should be replaced. Must be explicitly set.", "location": "query", "type": "string", "format": "google-fieldmask" } }, "parameterOrder": [ "name" ], "request": { "$ref": "Instance" }, "response": { "$ref": "Operation" }, "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" ], "description": "Partially updates an instance within a project. This method can modify all fields of an Instance and is the preferred way to update an Instance." }, "delete": { "id": "bigtableadmin.projects.instances.delete", "path": "v2/{+name}", "flatPath": "v2/projects/{projectsId}/instances/{instancesId}", "httpMethod": "DELETE", "parameters": { "name": { "description": "Required. The unique name of the instance to be deleted. Values are of the form `projects/{project}/instances/{instance}`.", "pattern": "^projects/[^/]+/instances/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "Empty" }, "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" ], "description": "Delete an instance from a project." }, "getIamPolicy": { "id": "bigtableadmin.projects.instances.getIamPolicy", "path": "v2/{+resource}:getIamPolicy", "flatPath": "v2/projects/{projectsId}/instances/{instancesId}:getIamPolicy", "httpMethod": "POST", "parameters": { "resource": { "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", "pattern": "^projects/[^/]+/instances/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "resource" ], "request": { "$ref": "GetIamPolicyRequest" }, "response": { "$ref": "Policy" }, "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" ], "description": "Gets the access control policy for an instance resource. Returns an empty policy if an instance exists but does not have a policy set." }, "setIamPolicy": { "id": "bigtableadmin.projects.instances.setIamPolicy", "path": "v2/{+resource}:setIamPolicy", "flatPath": "v2/projects/{projectsId}/instances/{instancesId}:setIamPolicy", "httpMethod": "POST", "parameters": { "resource": { "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", "pattern": "^projects/[^/]+/instances/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "resource" ], "request": { "$ref": "SetIamPolicyRequest" }, "response": { "$ref": "Policy" }, "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" ], "description": "Sets the access control policy on an instance resource. Replaces any existing policy." }, "testIamPermissions": { "id": "bigtableadmin.projects.instances.testIamPermissions", "path": "v2/{+resource}:testIamPermissions", "flatPath": "v2/projects/{projectsId}/instances/{instancesId}:testIamPermissions", "httpMethod": "POST", "parameters": { "resource": { "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", "pattern": "^projects/[^/]+/instances/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "resource" ], "request": { "$ref": "TestIamPermissionsRequest" }, "response": { "$ref": "TestIamPermissionsResponse" }, "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" ], "description": "Returns permissions that the caller has on the specified instance resource." } }, "resources": { "clusters": { "methods": { "create": { "id": "bigtableadmin.projects.instances.clusters.create", "path": "v2/{+parent}/clusters", "flatPath": "v2/projects/{projectsId}/instances/{instancesId}/clusters", "httpMethod": "POST", "parameters": { "parent": { "description": "Required. The unique name of the instance in which to create the new cluster. Values are of the form `projects/{project}/instances/{instance}`.", "pattern": "^projects/[^/]+/instances/[^/]+$", "location": "path", "required": true, "type": "string" }, "clusterId": { "description": "Required. The ID to be used when referring to the new cluster within its instance, e.g., just `mycluster` rather than `projects/myproject/instances/myinstance/clusters/mycluster`.", "location": "query", "type": "string" } }, "parameterOrder": [ "parent" ], "request": { "$ref": "Cluster" }, "response": { "$ref": "Operation" }, "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" ], "description": "Creates a cluster within an instance. Note that exactly one of Cluster.serve_nodes and Cluster.cluster_config.cluster_autoscaling_config can be set. If serve_nodes is set to non-zero, then the cluster is manually scaled. If cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is enabled." }, "get": { "id": "bigtableadmin.projects.instances.clusters.get", "path": "v2/{+name}", "flatPath": "v2/projects/{projectsId}/instances/{instancesId}/clusters/{clustersId}", "httpMethod": "GET", "parameters": { "name": { "description": "Required. The unique name of the requested cluster. Values are of the form `projects/{project}/instances/{instance}/clusters/{cluster}`.", "pattern": "^projects/[^/]+/instances/[^/]+/clusters/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "Cluster" }, "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" ], "description": "Gets information about a cluster." }, "list": { "id": "bigtableadmin.projects.instances.clusters.list", "path": "v2/{+parent}/clusters", "flatPath": "v2/projects/{projectsId}/instances/{instancesId}/clusters", "httpMethod": "GET", "parameters": { "parent": { "description": "Required. The unique name of the instance for which a list of clusters is requested. Values are of the form `projects/{project}/instances/{instance}`. Use `{instance} = '-'` to list Clusters for all Instances in a project, e.g., `projects/myproject/instances/-`.", "pattern": "^projects/[^/]+/instances/[^/]+$", "location": "path", "required": true, "type": "string" }, "pageToken": { "description": "DEPRECATED: This field is unused and ignored.", "location": "query", "type": "string" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListClustersResponse" }, "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" ], "description": "Lists information about clusters in an instance." }, "update": { "id": "bigtableadmin.projects.instances.clusters.update", "path": "v2/{+name}", "flatPath": "v2/projects/{projectsId}/instances/{instancesId}/clusters/{clustersId}", "httpMethod": "PUT", "parameters": { "name": { "description": "The unique name of the cluster. Values are of the form `projects/{project}/instances/{instance}/clusters/a-z*`.", "pattern": "^projects/[^/]+/instances/[^/]+/clusters/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "request": { "$ref": "Cluster" }, "response": { "$ref": "Operation" }, "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" ], "description": "Updates a cluster within an instance. Note that UpdateCluster does not support updating cluster_config.cluster_autoscaling_config. In order to update it, you must use PartialUpdateCluster." }, "partialUpdateCluster": { "id": "bigtableadmin.projects.instances.clusters.partialUpdateCluster", "path": "v2/{+name}", "flatPath": "v2/projects/{projectsId}/instances/{instancesId}/clusters/{clustersId}", "httpMethod": "PATCH", "parameters": { "name": { "description": "The unique name of the cluster. Values are of the form `projects/{project}/instances/{instance}/clusters/a-z*`.", "pattern": "^projects/[^/]+/instances/[^/]+/clusters/[^/]+$", "location": "path", "required": true, "type": "string" }, "updateMask": { "description": "Required. The subset of Cluster fields which should be replaced.", "location": "query", "type": "string", "format": "google-fieldmask" } }, "parameterOrder": [ "name" ], "request": { "$ref": "Cluster" }, "response": { "$ref": "Operation" }, "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" ], "description": "Partially updates a cluster within a project. This method is the preferred way to update a Cluster. To enable and update autoscaling, set cluster_config.cluster_autoscaling_config. When autoscaling is enabled, serve_nodes is treated as an OUTPUT_ONLY field, meaning that updates to it are ignored. Note that an update cannot simultaneously set serve_nodes to non-zero and cluster_config.cluster_autoscaling_config to non-empty, and also specify both in the update_mask. To disable autoscaling, clear cluster_config.cluster_autoscaling_config, and explicitly set a serve_node count via the update_mask." }, "delete": { "id": "bigtableadmin.projects.instances.clusters.delete", "path": "v2/{+name}", "flatPath": "v2/projects/{projectsId}/instances/{instancesId}/clusters/{clustersId}", "httpMethod": "DELETE", "parameters": { "name": { "description": "Required. The unique name of the cluster to be deleted. Values are of the form `projects/{project}/instances/{instance}/clusters/{cluster}`.", "pattern": "^projects/[^/]+/instances/[^/]+/clusters/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "Empty" }, "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" ], "description": "Deletes a cluster from an instance." } }, "resources": { "hotTablets": { "methods": { "list": { "id": "bigtableadmin.projects.instances.clusters.hotTablets.list", "path": "v2/{+parent}/hotTablets", "flatPath": "v2/projects/{projectsId}/instances/{instancesId}/clusters/{clustersId}/hotTablets", "httpMethod": "GET", "parameters": { "parent": { "description": "Required. The cluster name to list hot tablets. Value is in the following form: `projects/{project}/instances/{instance}/clusters/{cluster}`.", "pattern": "^projects/[^/]+/instances/[^/]+/clusters/[^/]+$", "location": "path", "required": true, "type": "string" }, "startTime": { "description": "The start time to list hot tablets. The hot tablets in the response will have start times between the requested start time and end time. Start time defaults to Now if it is unset, and end time defaults to Now - 24 hours if it is unset. The start time should be less than the end time, and the maximum allowed time range between start time and end time is 48 hours. Start time and end time should have values between Now and Now - 14 days.", "location": "query", "type": "string", "format": "google-datetime" }, "endTime": { "description": "The end time to list hot tablets.", "location": "query", "type": "string", "format": "google-datetime" }, "pageSize": { "description": "Maximum number of results per page. A page_size that is empty or zero lets the server choose the number of items to return. A page_size which is strictly positive will return at most that many items. A negative page_size will cause an error. Following the first request, subsequent paginated calls do not need a page_size field. If a page_size is set in subsequent calls, it must match the page_size given in the first request.", "location": "query", "type": "integer", "format": "int32" }, "pageToken": { "description": "The value of `next_page_token` returned by a previous call.", "location": "query", "type": "string" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListHotTabletsResponse" }, "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" ], "description": "Lists hot tablets in a cluster, within the time range provided. Hot tablets are ordered based on CPU usage." } } }, "backups": { "methods": { "create": { "id": "bigtableadmin.projects.instances.clusters.backups.create", "path": "v2/{+parent}/backups", "flatPath": "v2/projects/{projectsId}/instances/{instancesId}/clusters/{clustersId}/backups", "httpMethod": "POST", "parameters": { "parent": { "description": "Required. This must be one of the clusters in the instance in which this table is located. The backup will be stored in this cluster. Values are of the form `projects/{project}/instances/{instance}/clusters/{cluster}`.", "pattern": "^projects/[^/]+/instances/[^/]+/clusters/[^/]+$", "location": "path", "required": true, "type": "string" }, "backupId": { "description": "Required. The id of the backup to be created. The `backup_id` along with the parent `parent` are combined as {parent}/backups/{backup_id} to create the full backup name, of the form: `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup_id}`. This string must be between 1 and 50 characters in length and match the regex _a-zA-Z0-9*.", "location": "query", "type": "string" } }, "parameterOrder": [ "parent" ], "request": { "$ref": "Backup" }, "response": { "$ref": "Operation" }, "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" ], "description": "Starts creating a new Cloud Bigtable Backup. The returned backup long-running operation can be used to track creation of the backup. The metadata field type is CreateBackupMetadata. The response field type is Backup, if successful. Cancelling the returned operation will stop the creation and delete the backup." }, "get": { "id": "bigtableadmin.projects.instances.clusters.backups.get", "path": "v2/{+name}", "flatPath": "v2/projects/{projectsId}/instances/{instancesId}/clusters/{clustersId}/backups/{backupsId}", "httpMethod": "GET", "parameters": { "name": { "description": "Required. Name of the backup. Values are of the form `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.", "pattern": "^projects/[^/]+/instances/[^/]+/clusters/[^/]+/backups/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "Backup" }, "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" ], "description": "Gets metadata on a pending or completed Cloud Bigtable Backup." }, "patch": { "id": "bigtableadmin.projects.instances.clusters.backups.patch", "path": "v2/{+name}", "flatPath": "v2/projects/{projectsId}/instances/{instancesId}/clusters/{clustersId}/backups/{backupsId}", "httpMethod": "PATCH", "parameters": { "name": { "description": "A globally unique identifier for the backup which cannot be changed. Values are of the form `projects/{project}/instances/{instance}/clusters/{cluster}/ backups/_a-zA-Z0-9*` The final segment of the name must be between 1 and 50 characters in length. The backup is stored in the cluster identified by the prefix of the backup name of the form `projects/{project}/instances/{instance}/clusters/{cluster}`.", "pattern": "^projects/[^/]+/instances/[^/]+/clusters/[^/]+/backups/[^/]+$", "location": "path", "required": true, "type": "string" }, "updateMask": { "description": "Required. A mask specifying which fields (e.g. `expire_time`) in the Backup resource should be updated. This mask is relative to the Backup resource, not to the request message. The field mask must always be specified; this prevents any future fields from being erased accidentally by clients that do not know about them.", "location": "query", "type": "string", "format": "google-fieldmask" } }, "parameterOrder": [ "name" ], "request": { "$ref": "Backup" }, "response": { "$ref": "Backup" }, "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" ], "description": "Updates a pending or completed Cloud Bigtable Backup." }, "delete": { "id": "bigtableadmin.projects.instances.clusters.backups.delete", "path": "v2/{+name}", "flatPath": "v2/projects/{projectsId}/instances/{instancesId}/clusters/{clustersId}/backups/{backupsId}", "httpMethod": "DELETE", "parameters": { "name": { "description": "Required. Name of the backup to delete. Values are of the form `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.", "pattern": "^projects/[^/]+/instances/[^/]+/clusters/[^/]+/backups/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "Empty" }, "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" ], "description": "Deletes a pending or completed Cloud Bigtable backup." }, "list": { "id": "bigtableadmin.projects.instances.clusters.backups.list", "path": "v2/{+parent}/backups", "flatPath": "v2/projects/{projectsId}/instances/{instancesId}/clusters/{clustersId}/backups", "httpMethod": "GET", "parameters": { "parent": { "description": "Required. The cluster to list backups from. Values are of the form `projects/{project}/instances/{instance}/clusters/{cluster}`. Use `{cluster} = '-'` to list backups for all clusters in an instance, e.g., `projects/{project}/instances/{instance}/clusters/-`.", "pattern": "^projects/[^/]+/instances/[^/]+/clusters/[^/]+$", "location": "path", "required": true, "type": "string" }, "filter": { "description": "A filter expression that filters backups listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be \u003c, \u003e, \u003c=, \u003e=, !=, =, or :. Colon ':' represents a HAS operator which is roughly synonymous with equality. Filter rules are case insensitive. The fields eligible for filtering are: * `name` * `source_table` * `state` * `start_time` (and values are of the format YYYY-MM-DDTHH:MM:SSZ) * `end_time` (and values are of the format YYYY-MM-DDTHH:MM:SSZ) * `expire_time` (and values are of the format YYYY-MM-DDTHH:MM:SSZ) * `size_bytes` To filter on multiple expressions, provide each separate expression within parentheses. By default, each expression is an AND expression. However, you can include AND, OR, and NOT expressions explicitly. Some examples of using filters are: * `name:\"exact\"` --\u003e The backup's name is the string \"exact\". * `name:howl` --\u003e The backup's name contains the string \"howl\". * `source_table:prod` --\u003e The source_table's name contains the string \"prod\". * `state:CREATING` --\u003e The backup is pending creation. * `state:READY` --\u003e The backup is fully created and ready for use. * `(name:howl) AND (start_time \u003c \\\"2018-03-28T14:50:00Z\\\")` --\u003e The backup name contains the string \"howl\" and start_time of the backup is before 2018-03-28T14:50:00Z. * `size_bytes \u003e 10000000000` --\u003e The backup's size is greater than 10GB", "location": "query", "type": "string" }, "orderBy": { "description": "An expression for specifying the sort order of the results of the request. The string value should specify one or more fields in Backup. The full syntax is described at https://aip.dev/132#ordering. Fields supported are: * name * source_table * expire_time * start_time * end_time * size_bytes * state For example, \"start_time\". The default sorting order is ascending. To specify descending order for the field, a suffix \" desc\" should be appended to the field name. For example, \"start_time desc\". Redundant space characters in the syntax are insigificant. If order_by is empty, results will be sorted by `start_time` in descending order starting from the most recently created backup.", "location": "query", "type": "string" }, "pageSize": { "description": "Number of backups to be returned in the response. If 0 or less, defaults to the server's maximum allowed page size.", "location": "query", "type": "integer", "format": "int32" }, "pageToken": { "description": "If non-empty, `page_token` should contain a next_page_token from a previous ListBackupsResponse to the same `parent` and with the same `filter`.", "location": "query", "type": "string" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListBackupsResponse" }, "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" ], "description": "Lists Cloud Bigtable backups. Returns both completed and pending backups." }, "copy": { "id": "bigtableadmin.projects.instances.clusters.backups.copy", "path": "v2/{+parent}/backups:copy", "flatPath": "v2/projects/{projectsId}/instances/{instancesId}/clusters/{clustersId}/backups:copy", "httpMethod": "POST", "parameters": { "parent": { "description": "Required. The name of the destination cluster that will contain the backup copy. The cluster must already exists. Values are of the form: `projects/{project}/instances/{instance}/clusters/{cluster}`.", "pattern": "^projects/[^/]+/instances/[^/]+/clusters/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "parent" ], "request": { "$ref": "CopyBackupRequest" }, "response": { "$ref": "Operation" }, "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" ], "description": "Copy a Cloud Bigtable backup to a new backup in the destination cluster located in the destination instance and project." }, "getIamPolicy": { "id": "bigtableadmin.projects.instances.clusters.backups.getIamPolicy", "path": "v2/{+resource}:getIamPolicy", "flatPath": "v2/projects/{projectsId}/instances/{instancesId}/clusters/{clustersId}/backups/{backupsId}:getIamPolicy", "httpMethod": "POST", "parameters": { "resource": { "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", "pattern": "^projects/[^/]+/instances/[^/]+/clusters/[^/]+/backups/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "resource" ], "request": { "$ref": "GetIamPolicyRequest" }, "response": { "$ref": "Policy" }, "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" ], "description": "Gets the access control policy for a Bigtable resource. Returns an empty policy if the resource exists but does not have a policy set." }, "setIamPolicy": { "id": "bigtableadmin.projects.instances.clusters.backups.setIamPolicy", "path": "v2/{+resource}:setIamPolicy", "flatPath": "v2/projects/{projectsId}/instances/{instancesId}/clusters/{clustersId}/backups/{backupsId}:setIamPolicy", "httpMethod": "POST", "parameters": { "resource": { "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", "pattern": "^projects/[^/]+/instances/[^/]+/clusters/[^/]+/backups/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "resource" ], "request": { "$ref": "SetIamPolicyRequest" }, "response": { "$ref": "Policy" }, "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" ], "description": "Sets the access control policy on a Bigtable resource. Replaces any existing policy." }, "testIamPermissions": { "id": "bigtableadmin.projects.instances.clusters.backups.testIamPermissions", "path": "v2/{+resource}:testIamPermissions", "flatPath": "v2/projects/{projectsId}/instances/{instancesId}/clusters/{clustersId}/backups/{backupsId}:testIamPermissions", "httpMethod": "POST", "parameters": { "resource": { "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", "pattern": "^projects/[^/]+/instances/[^/]+/clusters/[^/]+/backups/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "resource" ], "request": { "$ref": "TestIamPermissionsRequest" }, "response": { "$ref": "TestIamPermissionsResponse" }, "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" ], "description": "Returns permissions that the caller has on the specified Bigtable resource." } } } } }, "appProfiles": { "methods": { "create": { "id": "bigtableadmin.projects.instances.appProfiles.create", "path": "v2/{+parent}/appProfiles", "flatPath": "v2/projects/{projectsId}/instances/{instancesId}/appProfiles", "httpMethod": "POST", "parameters": { "parent": { "description": "Required. The unique name of the instance in which to create the new app profile. Values are of the form `projects/{project}/instances/{instance}`.", "pattern": "^projects/[^/]+/instances/[^/]+$", "location": "path", "required": true, "type": "string" }, "appProfileId": { "description": "Required. The ID to be used when referring to the new app profile within its instance, e.g., just `myprofile` rather than `projects/myproject/instances/myinstance/appProfiles/myprofile`.", "location": "query", "type": "string" }, "ignoreWarnings": { "description": "If true, ignore safety checks when creating the app profile.", "location": "query", "type": "boolean" } }, "parameterOrder": [ "parent" ], "request": { "$ref": "AppProfile" }, "response": { "$ref": "AppProfile" }, "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" ], "description": "Creates an app profile within an instance." }, "get": { "id": "bigtableadmin.projects.instances.appProfiles.get", "path": "v2/{+name}", "flatPath": "v2/projects/{projectsId}/instances/{instancesId}/appProfiles/{appProfilesId}", "httpMethod": "GET", "parameters": { "name": { "description": "Required. The unique name of the requested app profile. Values are of the form `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.", "pattern": "^projects/[^/]+/instances/[^/]+/appProfiles/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "AppProfile" }, "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" ], "description": "Gets information about an app profile." }, "list": { "id": "bigtableadmin.projects.instances.appProfiles.list", "path": "v2/{+parent}/appProfiles", "flatPath": "v2/projects/{projectsId}/instances/{instancesId}/appProfiles", "httpMethod": "GET", "parameters": { "parent": { "description": "Required. The unique name of the instance for which a list of app profiles is requested. Values are of the form `projects/{project}/instances/{instance}`. Use `{instance} = '-'` to list AppProfiles for all Instances in a project, e.g., `projects/myproject/instances/-`.", "pattern": "^projects/[^/]+/instances/[^/]+$", "location": "path", "required": true, "type": "string" }, "pageSize": { "description": "Maximum number of results per page. A page_size of zero lets the server choose the number of items to return. A page_size which is strictly positive will return at most that many items. A negative page_size will cause an error. Following the first request, subsequent paginated calls are not required to pass a page_size. If a page_size is set in subsequent calls, it must match the page_size given in the first request.", "location": "query", "type": "integer", "format": "int32" }, "pageToken": { "description": "The value of `next_page_token` returned by a previous call.", "location": "query", "type": "string" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListAppProfilesResponse" }, "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" ], "description": "Lists information about app profiles in an instance." }, "patch": { "id": "bigtableadmin.projects.instances.appProfiles.patch", "path": "v2/{+name}", "flatPath": "v2/projects/{projectsId}/instances/{instancesId}/appProfiles/{appProfilesId}", "httpMethod": "PATCH", "parameters": { "name": { "description": "The unique name of the app profile. Values are of the form `projects/{project}/instances/{instance}/appProfiles/_a-zA-Z0-9*`.", "pattern": "^projects/[^/]+/instances/[^/]+/appProfiles/[^/]+$", "location": "path", "required": true, "type": "string" }, "updateMask": { "description": "Required. The subset of app profile fields which should be replaced. If unset, all fields will be replaced.", "location": "query", "type": "string", "format": "google-fieldmask" }, "ignoreWarnings": { "description": "If true, ignore safety checks when updating the app profile.", "location": "query", "type": "boolean" } }, "parameterOrder": [ "name" ], "request": { "$ref": "AppProfile" }, "response": { "$ref": "Operation" }, "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" ], "description": "Updates an app profile within an instance." }, "delete": { "id": "bigtableadmin.projects.instances.appProfiles.delete", "path": "v2/{+name}", "flatPath": "v2/projects/{projectsId}/instances/{instancesId}/appProfiles/{appProfilesId}", "httpMethod": "DELETE", "parameters": { "name": { "description": "Required. The unique name of the app profile to be deleted. Values are of the form `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.", "pattern": "^projects/[^/]+/instances/[^/]+/appProfiles/[^/]+$", "location": "path", "required": true, "type": "string" }, "ignoreWarnings": { "description": "Required. If true, ignore safety checks when deleting the app profile.", "location": "query", "type": "boolean" } }, "parameterOrder": [ "name" ], "response": { "$ref": "Empty" }, "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" ], "description": "Deletes an app profile from an instance." } } }, "tables": { "methods": { "create": { "id": "bigtableadmin.projects.instances.tables.create", "path": "v2/{+parent}/tables", "flatPath": "v2/projects/{projectsId}/instances/{instancesId}/tables", "httpMethod": "POST", "parameters": { "parent": { "description": "Required. The unique name of the instance in which to create the table. Values are of the form `projects/{project}/instances/{instance}`.", "pattern": "^projects/[^/]+/instances/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "parent" ], "request": { "$ref": "CreateTableRequest" }, "response": { "$ref": "Table" }, "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" ], "description": "Creates a new table in the specified instance. The table can be created with a full set of initial column families, specified in the request." }, "list": { "id": "bigtableadmin.projects.instances.tables.list", "path": "v2/{+parent}/tables", "flatPath": "v2/projects/{projectsId}/instances/{instancesId}/tables", "httpMethod": "GET", "parameters": { "parent": { "description": "Required. The unique name of the instance for which tables should be listed. Values are of the form `projects/{project}/instances/{instance}`.", "pattern": "^projects/[^/]+/instances/[^/]+$", "location": "path", "required": true, "type": "string" }, "view": { "description": "The view to be applied to the returned tables' fields. Only NAME_ONLY view (default), REPLICATION_VIEW and ENCRYPTION_VIEW are supported.", "location": "query", "type": "string", "enumDescriptions": [ "Uses the default view for each method as documented in its request.", "Only populates `name`.", "Only populates `name` and fields related to the table's schema.", "Only populates `name` and fields related to the table's replication state.", "Only populates `name` and fields related to the table's encryption state.", "Only populates `name` and fields related to the table's stats (e.g. TableStats and ColumnFamilyStats).", "Populates all fields except for stats. See STATS_VIEW to request stats." ], "enum": [ "VIEW_UNSPECIFIED", "NAME_ONLY", "SCHEMA_VIEW", "REPLICATION_VIEW", "ENCRYPTION_VIEW", "STATS_VIEW", "FULL" ] }, "pageSize": { "description": "Maximum number of results per page. A page_size of zero lets the server choose the number of items to return. A page_size which is strictly positive will return at most that many items. A negative page_size will cause an error. Following the first request, subsequent paginated calls are not required to pass a page_size. If a page_size is set in subsequent calls, it must match the page_size given in the first request.", "location": "query", "type": "integer", "format": "int32" }, "pageToken": { "description": "The value of `next_page_token` returned by a previous call.", "location": "query", "type": "string" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListTablesResponse" }, "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" ], "description": "Lists all tables served from a specified instance." }, "get": { "id": "bigtableadmin.projects.instances.tables.get", "path": "v2/{+name}", "flatPath": "v2/projects/{projectsId}/instances/{instancesId}/tables/{tablesId}", "httpMethod": "GET", "parameters": { "name": { "description": "Required. The unique name of the requested table. Values are of the form `projects/{project}/instances/{instance}/tables/{table}`.", "pattern": "^projects/[^/]+/instances/[^/]+/tables/[^/]+$", "location": "path", "required": true, "type": "string" }, "view": { "description": "The view to be applied to the returned table's fields. Defaults to `SCHEMA_VIEW` if unspecified.", "location": "query", "type": "string", "enumDescriptions": [ "Uses the default view for each method as documented in its request.", "Only populates `name`.", "Only populates `name` and fields related to the table's schema.", "Only populates `name` and fields related to the table's replication state.", "Only populates `name` and fields related to the table's encryption state.", "Only populates `name` and fields related to the table's stats (e.g. TableStats and ColumnFamilyStats).", "Populates all fields except for stats. See STATS_VIEW to request stats." ], "enum": [ "VIEW_UNSPECIFIED", "NAME_ONLY", "SCHEMA_VIEW", "REPLICATION_VIEW", "ENCRYPTION_VIEW", "STATS_VIEW", "FULL" ] } }, "parameterOrder": [ "name" ], "response": { "$ref": "Table" }, "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" ], "description": "Gets metadata information about the specified table." }, "patch": { "id": "bigtableadmin.projects.instances.tables.patch", "path": "v2/{+name}", "flatPath": "v2/projects/{projectsId}/instances/{instancesId}/tables/{tablesId}", "httpMethod": "PATCH", "parameters": { "name": { "description": "The unique name of the table. Values are of the form `projects/{project}/instances/{instance}/tables/_a-zA-Z0-9*`. Views: `NAME_ONLY`, `SCHEMA_VIEW`, `REPLICATION_VIEW`, `STATS_VIEW`, `FULL`", "pattern": "^projects/[^/]+/instances/[^/]+/tables/[^/]+$", "location": "path", "required": true, "type": "string" }, "updateMask": { "description": "Required. The list of fields to update. A mask specifying which fields (e.g. `change_stream_config`) in the `table` field should be updated. This mask is relative to the `table` field, not to the request message. The wildcard (*) path is currently not supported. Currently UpdateTable is only supported for the following fields: * `change_stream_config` * `change_stream_config.retention_period` * `deletion_protection` If `column_families` is set in `update_mask`, it will return an UNIMPLEMENTED error.", "location": "query", "type": "string", "format": "google-fieldmask" } }, "parameterOrder": [ "name" ], "request": { "$ref": "Table" }, "response": { "$ref": "Operation" }, "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" ], "description": "Updates a specified table." }, "delete": { "id": "bigtableadmin.projects.instances.tables.delete", "path": "v2/{+name}", "flatPath": "v2/projects/{projectsId}/instances/{instancesId}/tables/{tablesId}", "httpMethod": "DELETE", "parameters": { "name": { "description": "Required. The unique name of the table to be deleted. Values are of the form `projects/{project}/instances/{instance}/tables/{table}`.", "pattern": "^projects/[^/]+/instances/[^/]+/tables/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "Empty" }, "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" ], "description": "Permanently deletes a specified table and all of its data." }, "undelete": { "id": "bigtableadmin.projects.instances.tables.undelete", "path": "v2/{+name}:undelete", "flatPath": "v2/projects/{projectsId}/instances/{instancesId}/tables/{tablesId}:undelete", "httpMethod": "POST", "parameters": { "name": { "description": "Required. The unique name of the table to be restored. Values are of the form `projects/{project}/instances/{instance}/tables/{table}`.", "pattern": "^projects/[^/]+/instances/[^/]+/tables/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "request": { "$ref": "UndeleteTableRequest" }, "response": { "$ref": "Operation" }, "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" ], "description": "Restores a specified table which was accidentally deleted." }, "modifyColumnFamilies": { "id": "bigtableadmin.projects.instances.tables.modifyColumnFamilies", "path": "v2/{+name}:modifyColumnFamilies", "flatPath": "v2/projects/{projectsId}/instances/{instancesId}/tables/{tablesId}:modifyColumnFamilies", "httpMethod": "POST", "parameters": { "name": { "description": "Required. The unique name of the table whose families should be modified. Values are of the form `projects/{project}/instances/{instance}/tables/{table}`.", "pattern": "^projects/[^/]+/instances/[^/]+/tables/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "request": { "$ref": "ModifyColumnFamiliesRequest" }, "response": { "$ref": "Table" }, "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" ], "description": "Performs a series of column family modifications on the specified table. Either all or none of the modifications will occur before this method returns, but data requests received prior to that point may see a table where only some modifications have taken effect." }, "dropRowRange": { "id": "bigtableadmin.projects.instances.tables.dropRowRange", "path": "v2/{+name}:dropRowRange", "flatPath": "v2/projects/{projectsId}/instances/{instancesId}/tables/{tablesId}:dropRowRange", "httpMethod": "POST", "parameters": { "name": { "description": "Required. The unique name of the table on which to drop a range of rows. Values are of the form `projects/{project}/instances/{instance}/tables/{table}`.", "pattern": "^projects/[^/]+/instances/[^/]+/tables/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "request": { "$ref": "DropRowRangeRequest" }, "response": { "$ref": "Empty" }, "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" ], "description": "Permanently drop/delete a row range from a specified table. The request can specify whether to delete all rows in a table, or only those that match a particular prefix. Note that row key prefixes used here are treated as service data. For more information about how service data is handled, see the [Google Cloud Privacy Notice](https://cloud.google.com/terms/cloud-privacy-notice)." }, "generateConsistencyToken": { "id": "bigtableadmin.projects.instances.tables.generateConsistencyToken", "path": "v2/{+name}:generateConsistencyToken", "flatPath": "v2/projects/{projectsId}/instances/{instancesId}/tables/{tablesId}:generateConsistencyToken", "httpMethod": "POST", "parameters": { "name": { "description": "Required. The unique name of the Table for which to create a consistency token. Values are of the form `projects/{project}/instances/{instance}/tables/{table}`.", "pattern": "^projects/[^/]+/instances/[^/]+/tables/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "request": { "$ref": "GenerateConsistencyTokenRequest" }, "response": { "$ref": "GenerateConsistencyTokenResponse" }, "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" ], "description": "Generates a consistency token for a Table, which can be used in CheckConsistency to check whether mutations to the table that finished before this call started have been replicated. The tokens will be available for 90 days." }, "checkConsistency": { "id": "bigtableadmin.projects.instances.tables.checkConsistency", "path": "v2/{+name}:checkConsistency", "flatPath": "v2/projects/{projectsId}/instances/{instancesId}/tables/{tablesId}:checkConsistency", "httpMethod": "POST", "parameters": { "name": { "description": "Required. The unique name of the Table for which to check replication consistency. Values are of the form `projects/{project}/instances/{instance}/tables/{table}`.", "pattern": "^projects/[^/]+/instances/[^/]+/tables/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "request": { "$ref": "CheckConsistencyRequest" }, "response": { "$ref": "CheckConsistencyResponse" }, "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" ], "description": "Checks replication consistency based on a consistency token, that is, if replication has caught up based on the conditions specified in the token and the check request." }, "restore": { "id": "bigtableadmin.projects.instances.tables.restore", "path": "v2/{+parent}/tables:restore", "flatPath": "v2/projects/{projectsId}/instances/{instancesId}/tables:restore", "httpMethod": "POST", "parameters": { "parent": { "description": "Required. The name of the instance in which to create the restored table. Values are of the form `projects//instances/`.", "pattern": "^projects/[^/]+/instances/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "parent" ], "request": { "$ref": "RestoreTableRequest" }, "response": { "$ref": "Operation" }, "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" ], "description": "Create a new table by restoring from a completed backup. The returned table long-running operation can be used to track the progress of the operation, and to cancel it. The metadata field type is RestoreTableMetadata. The response type is Table, if successful." }, "getIamPolicy": { "id": "bigtableadmin.projects.instances.tables.getIamPolicy", "path": "v2/{+resource}:getIamPolicy", "flatPath": "v2/projects/{projectsId}/instances/{instancesId}/tables/{tablesId}:getIamPolicy", "httpMethod": "POST", "parameters": { "resource": { "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", "pattern": "^projects/[^/]+/instances/[^/]+/tables/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "resource" ], "request": { "$ref": "GetIamPolicyRequest" }, "response": { "$ref": "Policy" }, "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" ], "description": "Gets the access control policy for a Bigtable resource. Returns an empty policy if the resource exists but does not have a policy set." }, "setIamPolicy": { "id": "bigtableadmin.projects.instances.tables.setIamPolicy", "path": "v2/{+resource}:setIamPolicy", "flatPath": "v2/projects/{projectsId}/instances/{instancesId}/tables/{tablesId}:setIamPolicy", "httpMethod": "POST", "parameters": { "resource": { "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", "pattern": "^projects/[^/]+/instances/[^/]+/tables/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "resource" ], "request": { "$ref": "SetIamPolicyRequest" }, "response": { "$ref": "Policy" }, "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" ], "description": "Sets the access control policy on a Bigtable resource. Replaces any existing policy." }, "testIamPermissions": { "id": "bigtableadmin.projects.instances.tables.testIamPermissions", "path": "v2/{+resource}:testIamPermissions", "flatPath": "v2/projects/{projectsId}/instances/{instancesId}/tables/{tablesId}:testIamPermissions", "httpMethod": "POST", "parameters": { "resource": { "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", "pattern": "^projects/[^/]+/instances/[^/]+/tables/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "resource" ], "request": { "$ref": "TestIamPermissionsRequest" }, "response": { "$ref": "TestIamPermissionsResponse" }, "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" ], "description": "Returns permissions that the caller has on the specified Bigtable resource." } }, "resources": { "authorizedViews": { "methods": { "create": { "id": "bigtableadmin.projects.instances.tables.authorizedViews.create", "path": "v2/{+parent}/authorizedViews", "flatPath": "v2/projects/{projectsId}/instances/{instancesId}/tables/{tablesId}/authorizedViews", "httpMethod": "POST", "parameters": { "parent": { "description": "Required. This is the name of the table the AuthorizedView belongs to. Values are of the form `projects/{project}/instances/{instance}/tables/{table}`.", "pattern": "^projects/[^/]+/instances/[^/]+/tables/[^/]+$", "location": "path", "required": true, "type": "string" }, "authorizedViewId": { "description": "Required. The id of the AuthorizedView to create. This AuthorizedView must not already exist. The `authorized_view_id` appended to `parent` forms the full AuthorizedView name of the form `projects/{project}/instances/{instance}/tables/{table}/authorizedView/{authorized_view}`.", "location": "query", "type": "string" } }, "parameterOrder": [ "parent" ], "request": { "$ref": "AuthorizedView" }, "response": { "$ref": "Operation" }, "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" ], "description": "Creates a new AuthorizedView in a table." }, "list": { "id": "bigtableadmin.projects.instances.tables.authorizedViews.list", "path": "v2/{+parent}/authorizedViews", "flatPath": "v2/projects/{projectsId}/instances/{instancesId}/tables/{tablesId}/authorizedViews", "httpMethod": "GET", "parameters": { "parent": { "description": "Required. The unique name of the table for which AuthorizedViews should be listed. Values are of the form `projects/{project}/instances/{instance}/tables/{table}`.", "pattern": "^projects/[^/]+/instances/[^/]+/tables/[^/]+$", "location": "path", "required": true, "type": "string" }, "pageSize": { "description": "Optional. Maximum number of results per page. A page_size of zero lets the server choose the number of items to return. A page_size which is strictly positive will return at most that many items. A negative page_size will cause an error. Following the first request, subsequent paginated calls are not required to pass a page_size. If a page_size is set in subsequent calls, it must match the page_size given in the first request.", "location": "query", "type": "integer", "format": "int32" }, "pageToken": { "description": "Optional. The value of `next_page_token` returned by a previous call.", "location": "query", "type": "string" }, "view": { "description": "Optional. The resource_view to be applied to the returned views' fields. Default to NAME_ONLY.", "location": "query", "type": "string", "enumDescriptions": [ "Uses the default view for each method as documented in the request.", "Only populates `name`.", "Only populates the AuthorizedView's basic metadata. This includes: name, deletion_protection, etag.", "Populates every fields." ], "enum": [ "RESPONSE_VIEW_UNSPECIFIED", "NAME_ONLY", "BASIC", "FULL" ] } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListAuthorizedViewsResponse" }, "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" ], "description": "Lists all AuthorizedViews from a specific table." }, "get": { "id": "bigtableadmin.projects.instances.tables.authorizedViews.get", "path": "v2/{+name}", "flatPath": "v2/projects/{projectsId}/instances/{instancesId}/tables/{tablesId}/authorizedViews/{authorizedViewsId}", "httpMethod": "GET", "parameters": { "name": { "description": "Required. The unique name of the requested AuthorizedView. Values are of the form `projects/{project}/instances/{instance}/tables/{table}/authorizedViews/{authorized_view}`.", "pattern": "^projects/[^/]+/instances/[^/]+/tables/[^/]+/authorizedViews/[^/]+$", "location": "path", "required": true, "type": "string" }, "view": { "description": "Optional. The resource_view to be applied to the returned AuthorizedView's fields. Default to BASIC.", "location": "query", "type": "string", "enumDescriptions": [ "Uses the default view for each method as documented in the request.", "Only populates `name`.", "Only populates the AuthorizedView's basic metadata. This includes: name, deletion_protection, etag.", "Populates every fields." ], "enum": [ "RESPONSE_VIEW_UNSPECIFIED", "NAME_ONLY", "BASIC", "FULL" ] } }, "parameterOrder": [ "name" ], "response": { "$ref": "AuthorizedView" }, "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" ], "description": "Gets information from a specified AuthorizedView." }, "patch": { "id": "bigtableadmin.projects.instances.tables.authorizedViews.patch", "path": "v2/{+name}", "flatPath": "v2/projects/{projectsId}/instances/{instancesId}/tables/{tablesId}/authorizedViews/{authorizedViewsId}", "httpMethod": "PATCH", "parameters": { "name": { "description": "Identifier. The name of this AuthorizedView. Values are of the form `projects/{project}/instances/{instance}/tables/{table}/authorizedViews/{authorized_view}`", "pattern": "^projects/[^/]+/instances/[^/]+/tables/[^/]+/authorizedViews/[^/]+$", "location": "path", "required": true, "type": "string" }, "updateMask": { "description": "Optional. The list of fields to update. A mask specifying which fields in the AuthorizedView resource should be updated. This mask is relative to the AuthorizedView resource, not to the request message. A field will be overwritten if it is in the mask. If empty, all fields set in the request will be overwritten. A special value `*` means to overwrite all fields (including fields not set in the request).", "location": "query", "type": "string", "format": "google-fieldmask" }, "ignoreWarnings": { "description": "Optional. If true, ignore the safety checks when updating the AuthorizedView.", "location": "query", "type": "boolean" } }, "parameterOrder": [ "name" ], "request": { "$ref": "AuthorizedView" }, "response": { "$ref": "Operation" }, "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" ], "description": "Updates an AuthorizedView in a table." }, "delete": { "id": "bigtableadmin.projects.instances.tables.authorizedViews.delete", "path": "v2/{+name}", "flatPath": "v2/projects/{projectsId}/instances/{instancesId}/tables/{tablesId}/authorizedViews/{authorizedViewsId}", "httpMethod": "DELETE", "parameters": { "name": { "description": "Required. The unique name of the AuthorizedView to be deleted. Values are of the form `projects/{project}/instances/{instance}/tables/{table}/authorizedViews/{authorized_view}`.", "pattern": "^projects/[^/]+/instances/[^/]+/tables/[^/]+/authorizedViews/[^/]+$", "location": "path", "required": true, "type": "string" }, "etag": { "description": "Optional. The current etag of the AuthorizedView. If an etag is provided and does not match the current etag of the AuthorizedView, deletion will be blocked and an ABORTED error will be returned.", "location": "query", "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "Empty" }, "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" ], "description": "Permanently deletes a specified AuthorizedView." }, "getIamPolicy": { "id": "bigtableadmin.projects.instances.tables.authorizedViews.getIamPolicy", "path": "v2/{+resource}:getIamPolicy", "flatPath": "v2/projects/{projectsId}/instances/{instancesId}/tables/{tablesId}/authorizedViews/{authorizedViewsId}:getIamPolicy", "httpMethod": "POST", "parameters": { "resource": { "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", "pattern": "^projects/[^/]+/instances/[^/]+/tables/[^/]+/authorizedViews/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "resource" ], "request": { "$ref": "GetIamPolicyRequest" }, "response": { "$ref": "Policy" }, "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" ], "description": "Gets the access control policy for a Bigtable resource. Returns an empty policy if the resource exists but does not have a policy set." }, "setIamPolicy": { "id": "bigtableadmin.projects.instances.tables.authorizedViews.setIamPolicy", "path": "v2/{+resource}:setIamPolicy", "flatPath": "v2/projects/{projectsId}/instances/{instancesId}/tables/{tablesId}/authorizedViews/{authorizedViewsId}:setIamPolicy", "httpMethod": "POST", "parameters": { "resource": { "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", "pattern": "^projects/[^/]+/instances/[^/]+/tables/[^/]+/authorizedViews/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "resource" ], "request": { "$ref": "SetIamPolicyRequest" }, "response": { "$ref": "Policy" }, "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" ], "description": "Sets the access control policy on a Bigtable resource. Replaces any existing policy." }, "testIamPermissions": { "id": "bigtableadmin.projects.instances.tables.authorizedViews.testIamPermissions", "path": "v2/{+resource}:testIamPermissions", "flatPath": "v2/projects/{projectsId}/instances/{instancesId}/tables/{tablesId}/authorizedViews/{authorizedViewsId}:testIamPermissions", "httpMethod": "POST", "parameters": { "resource": { "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", "pattern": "^projects/[^/]+/instances/[^/]+/tables/[^/]+/authorizedViews/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "resource" ], "request": { "$ref": "TestIamPermissionsRequest" }, "response": { "$ref": "TestIamPermissionsResponse" }, "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" ], "description": "Returns permissions that the caller has on the specified Bigtable resource." } } } } } } }, "locations": { "methods": { "list": { "id": "bigtableadmin.projects.locations.list", "path": "v2/{+name}/locations", "flatPath": "v2/projects/{projectsId}/locations", "httpMethod": "GET", "parameters": { "name": { "description": "The resource that owns the locations collection, if applicable.", "pattern": "^projects/[^/]+$", "location": "path", "required": true, "type": "string" }, "filter": { "description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", "location": "query", "type": "string" }, "pageSize": { "description": "The maximum number of results to return. If not set, the service selects a default.", "location": "query", "type": "integer", "format": "int32" }, "pageToken": { "description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", "location": "query", "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "ListLocationsResponse" }, "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" ], "description": "Lists information about the supported locations for this service." } } } } } }, "schemas": { "ListOperationsResponse": { "id": "ListOperationsResponse", "description": "The response message for Operations.ListOperations.", "type": "object", "properties": { "operations": { "description": "A list of operations that matches the specified filter in the request.", "type": "array", "items": { "$ref": "Operation" } }, "nextPageToken": { "description": "The standard List next-page token.", "type": "string" } } }, "Operation": { "id": "Operation", "description": "This resource represents a long-running operation that is the result of a network API call.", "type": "object", "properties": { "name": { "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", "type": "string" }, "metadata": { "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", "type": "object", "additionalProperties": { "type": "any", "description": "Properties of the object. Contains field @type with type URL." } }, "done": { "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", "type": "boolean" }, "error": { "description": "The error result of the operation in case of failure or cancellation.", "$ref": "Status" }, "response": { "description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", "type": "object", "additionalProperties": { "type": "any", "description": "Properties of the object. Contains field @type with type URL." } } } }, "Status": { "id": "Status", "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", "type": "object", "properties": { "code": { "description": "The status code, which should be an enum value of google.rpc.Code.", "type": "integer", "format": "int32" }, "message": { "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", "type": "string" }, "details": { "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", "type": "array", "items": { "type": "object", "additionalProperties": { "type": "any", "description": "Properties of the object. Contains field @type with type URL." } } } } }, "CreateInstanceRequest": { "id": "CreateInstanceRequest", "description": "Request message for BigtableInstanceAdmin.CreateInstance.", "type": "object", "properties": { "parent": { "description": "Required. The unique name of the project in which to create the new instance. Values are of the form `projects/{project}`.", "type": "string" }, "instanceId": { "description": "Required. The ID to be used when referring to the new instance within its project, e.g., just `myinstance` rather than `projects/myproject/instances/myinstance`.", "type": "string" }, "instance": { "description": "Required. The instance to create. Fields marked `OutputOnly` must be left blank.", "$ref": "Instance" }, "clusters": { "description": "Required. The clusters to be created within the instance, mapped by desired cluster ID, e.g., just `mycluster` rather than `projects/myproject/instances/myinstance/clusters/mycluster`. Fields marked `OutputOnly` must be left blank.", "type": "object", "additionalProperties": { "$ref": "Cluster" } } } }, "Instance": { "id": "Instance", "description": "A collection of Bigtable Tables and the resources that serve them. All tables in an instance are served from all Clusters in the instance.", "type": "object", "properties": { "name": { "description": "The unique name of the instance. Values are of the form `projects/{project}/instances/a-z+[a-z0-9]`.", "type": "string" }, "displayName": { "description": "Required. The descriptive name for this instance as it appears in UIs. Can be changed at any time, but should be kept globally unique to avoid confusion.", "type": "string" }, "state": { "description": "Output only. The current state of the instance.", "readOnly": true, "type": "string", "enumDescriptions": [ "The state of the instance could not be determined.", "The instance has been successfully created and can serve requests to its tables.", "The instance is currently being created, and may be destroyed if the creation process encounters an error." ], "enum": [ "STATE_NOT_KNOWN", "READY", "CREATING" ] }, "type": { "description": "The type of the instance. Defaults to `PRODUCTION`.", "type": "string", "enumDescriptions": [ "The type of the instance is unspecified. If set when creating an instance, a `PRODUCTION` instance will be created. If set when updating an instance, the type will be left unchanged.", "An instance meant for production use. `serve_nodes` must be set on the cluster.", "DEPRECATED: Prefer PRODUCTION for all use cases, as it no longer enforces a higher minimum node count than DEVELOPMENT." ], "enum": [ "TYPE_UNSPECIFIED", "PRODUCTION", "DEVELOPMENT" ] }, "labels": { "description": "Labels are a flexible and lightweight mechanism for organizing cloud resources into groups that reflect a customer's organizational needs and deployment strategies. They can be used to filter resources and aggregate metrics. * Label keys must be between 1 and 63 characters long and must conform to the regular expression: `\\p{Ll}\\p{Lo}{0,62}`. * Label values must be between 0 and 63 characters long and must conform to the regular expression: `[\\p{Ll}\\p{Lo}\\p{N}_-]{0,63}`. * No more than 64 labels can be associated with a given resource. * Keys and values must both be under 128 bytes.", "type": "object", "additionalProperties": { "type": "string" } }, "createTime": { "description": "Output only. A commit timestamp representing when this Instance was created. For instances created before this field was added (August 2021), this value is `seconds: 0, nanos: 1`.", "readOnly": true, "type": "string", "format": "google-datetime" }, "satisfiesPzs": { "description": "Output only. Reserved for future use.", "readOnly": true, "type": "boolean" } } }, "Cluster": { "id": "Cluster", "description": "A resizable group of nodes in a particular cloud location, capable of serving all Tables in the parent Instance.", "type": "object", "properties": { "name": { "description": "The unique name of the cluster. Values are of the form `projects/{project}/instances/{instance}/clusters/a-z*`.", "type": "string" }, "location": { "description": "Immutable. The location where this cluster's nodes and storage reside. For best performance, clients should be located as close as possible to this cluster. Currently only zones are supported, so values should be of the form `projects/{project}/locations/{zone}`.", "type": "string" }, "state": { "description": "Output only. The current state of the cluster.", "readOnly": true, "type": "string", "enumDescriptions": [ "The state of the cluster could not be determined.", "The cluster has been successfully created and is ready to serve requests.", "The cluster is currently being created, and may be destroyed if the creation process encounters an error. A cluster may not be able to serve requests while being created.", "The cluster is currently being resized, and may revert to its previous node count if the process encounters an error. A cluster is still capable of serving requests while being resized, but may exhibit performance as if its number of allocated nodes is between the starting and requested states.", "The cluster has no backing nodes. The data (tables) still exist, but no operations can be performed on the cluster." ], "enum": [ "STATE_NOT_KNOWN", "READY", "CREATING", "RESIZING", "DISABLED" ] }, "serveNodes": { "description": "The number of nodes in the cluster. If no value is set, Cloud Bigtable automatically allocates nodes based on your data footprint and optimized for 50% storage utilization.", "type": "integer", "format": "int32" }, "clusterConfig": { "description": "Configuration for this cluster.", "$ref": "ClusterConfig" }, "defaultStorageType": { "description": "Immutable. The type of storage used by this cluster to serve its parent instance's tables, unless explicitly overridden.", "type": "string", "enumDescriptions": [ "The user did not specify a storage type.", "Flash (SSD) storage should be used.", "Magnetic drive (HDD) storage should be used." ], "enum": [ "STORAGE_TYPE_UNSPECIFIED", "SSD", "HDD" ] }, "encryptionConfig": { "description": "Immutable. The encryption configuration for CMEK-protected clusters.", "$ref": "EncryptionConfig" } } }, "ClusterConfig": { "id": "ClusterConfig", "description": "Configuration for a cluster.", "type": "object", "properties": { "clusterAutoscalingConfig": { "description": "Autoscaling configuration for this cluster.", "$ref": "ClusterAutoscalingConfig" } } }, "ClusterAutoscalingConfig": { "id": "ClusterAutoscalingConfig", "description": "Autoscaling config for a cluster.", "type": "object", "properties": { "autoscalingLimits": { "description": "Required. Autoscaling limits for this cluster.", "$ref": "AutoscalingLimits" }, "autoscalingTargets": { "description": "Required. Autoscaling targets for this cluster.", "$ref": "AutoscalingTargets" } } }, "AutoscalingLimits": { "id": "AutoscalingLimits", "description": "Limits for the number of nodes a Cluster can autoscale up/down to.", "type": "object", "properties": { "minServeNodes": { "description": "Required. Minimum number of nodes to scale down to.", "type": "integer", "format": "int32" }, "maxServeNodes": { "description": "Required. Maximum number of nodes to scale up to.", "type": "integer", "format": "int32" } } }, "AutoscalingTargets": { "id": "AutoscalingTargets", "description": "The Autoscaling targets for a Cluster. These determine the recommended nodes.", "type": "object", "properties": { "cpuUtilizationPercent": { "description": "The cpu utilization that the Autoscaler should be trying to achieve. This number is on a scale from 0 (no utilization) to 100 (total utilization), and is limited between 10 and 80, otherwise it will return INVALID_ARGUMENT error.", "type": "integer", "format": "int32" }, "storageUtilizationGibPerNode": { "description": "The storage utilization that the Autoscaler should be trying to achieve. This number is limited between 2560 (2.5TiB) and 5120 (5TiB) for a SSD cluster and between 8192 (8TiB) and 16384 (16TiB) for an HDD cluster, otherwise it will return INVALID_ARGUMENT error. If this value is set to 0, it will be treated as if it were set to the default value: 2560 for SSD, 8192 for HDD.", "type": "integer", "format": "int32" } } }, "EncryptionConfig": { "id": "EncryptionConfig", "description": "Cloud Key Management Service (Cloud KMS) settings for a CMEK-protected cluster.", "type": "object", "properties": { "kmsKeyName": { "description": "Describes the Cloud KMS encryption key that will be used to protect the destination Bigtable cluster. The requirements for this key are: 1) The Cloud Bigtable service account associated with the project that contains this cluster must be granted the `cloudkms.cryptoKeyEncrypterDecrypter` role on the CMEK key. 2) Only regional keys can be used and the region of the CMEK key must match the region of the cluster. Values are of the form `projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}`", "type": "string" } } }, "ListInstancesResponse": { "id": "ListInstancesResponse", "description": "Response message for BigtableInstanceAdmin.ListInstances.", "type": "object", "properties": { "instances": { "description": "The list of requested instances.", "type": "array", "items": { "$ref": "Instance" } }, "failedLocations": { "description": "Locations from which Instance information could not be retrieved, due to an outage or some other transient condition. Instances whose Clusters are all in one of the failed locations may be missing from `instances`, and Instances with at least one Cluster in a failed location may only have partial information returned. Values are of the form `projects//locations/`", "type": "array", "items": { "type": "string" } }, "nextPageToken": { "description": "DEPRECATED: This field is unused and ignored.", "type": "string" } } }, "Empty": { "id": "Empty", "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", "type": "object", "properties": {} }, "ListClustersResponse": { "id": "ListClustersResponse", "description": "Response message for BigtableInstanceAdmin.ListClusters.", "type": "object", "properties": { "clusters": { "description": "The list of requested clusters.", "type": "array", "items": { "$ref": "Cluster" } }, "failedLocations": { "description": "Locations from which Cluster information could not be retrieved, due to an outage or some other transient condition. Clusters from these locations may be missing from `clusters`, or may only have partial information returned. Values are of the form `projects//locations/`", "type": "array", "items": { "type": "string" } }, "nextPageToken": { "description": "DEPRECATED: This field is unused and ignored.", "type": "string" } } }, "AppProfile": { "id": "AppProfile", "description": "A configuration object describing how Cloud Bigtable should treat traffic from a particular end user application.", "type": "object", "properties": { "name": { "description": "The unique name of the app profile. Values are of the form `projects/{project}/instances/{instance}/appProfiles/_a-zA-Z0-9*`.", "type": "string" }, "etag": { "description": "Strongly validated etag for optimistic concurrency control. Preserve the value returned from `GetAppProfile` when calling `UpdateAppProfile` to fail the request if there has been a modification in the mean time. The `update_mask` of the request need not include `etag` for this protection to apply. See [Wikipedia](https://en.wikipedia.org/wiki/HTTP_ETag) and [RFC 7232](https://tools.ietf.org/html/rfc7232#section-2.3) for more details.", "type": "string" }, "description": { "description": "Long form description of the use case for this AppProfile.", "type": "string" }, "multiClusterRoutingUseAny": { "description": "Use a multi-cluster routing policy.", "$ref": "MultiClusterRoutingUseAny" }, "singleClusterRouting": { "description": "Use a single-cluster routing policy.", "$ref": "SingleClusterRouting" }, "priority": { "description": "This field has been deprecated in favor of `standard_isolation.priority`. If you set this field, `standard_isolation.priority` will be set instead. The priority of requests sent using this app profile.", "deprecated": true, "type": "string", "enumDescriptions": [ "Default value. Mapped to PRIORITY_HIGH (the legacy behavior) on creation.", "", "", "" ], "enum": [ "PRIORITY_UNSPECIFIED", "PRIORITY_LOW", "PRIORITY_MEDIUM", "PRIORITY_HIGH" ] }, "standardIsolation": { "description": "The standard options used for isolating this app profile's traffic from other use cases.", "$ref": "StandardIsolation" }, "dataBoostIsolationReadOnly": { "description": "Specifies that this app profile is intended for read-only usage via the Data Boost feature.", "$ref": "DataBoostIsolationReadOnly" } } }, "MultiClusterRoutingUseAny": { "id": "MultiClusterRoutingUseAny", "description": "Read/write requests are routed to the nearest cluster in the instance, and will fail over to the nearest cluster that is available in the event of transient errors or delays. Clusters in a region are considered equidistant. Choosing this option sacrifices read-your-writes consistency to improve availability.", "type": "object", "properties": { "clusterIds": { "description": "The set of clusters to route to. The order is ignored; clusters will be tried in order of distance. If left empty, all clusters are eligible.", "type": "array", "items": { "type": "string" } } } }, "SingleClusterRouting": { "id": "SingleClusterRouting", "description": "Unconditionally routes all read/write requests to a specific cluster. This option preserves read-your-writes consistency but does not improve availability.", "type": "object", "properties": { "clusterId": { "description": "The cluster to which read/write requests should be routed.", "type": "string" }, "allowTransactionalWrites": { "description": "Whether or not `CheckAndMutateRow` and `ReadModifyWriteRow` requests are allowed by this app profile. It is unsafe to send these requests to the same table/row/column in multiple clusters.", "type": "boolean" } } }, "StandardIsolation": { "id": "StandardIsolation", "description": "Standard options for isolating this app profile's traffic from other use cases.", "type": "object", "properties": { "priority": { "description": "The priority of requests sent using this app profile.", "type": "string", "enumDescriptions": [ "Default value. Mapped to PRIORITY_HIGH (the legacy behavior) on creation.", "", "", "" ], "enum": [ "PRIORITY_UNSPECIFIED", "PRIORITY_LOW", "PRIORITY_MEDIUM", "PRIORITY_HIGH" ] } } }, "DataBoostIsolationReadOnly": { "id": "DataBoostIsolationReadOnly", "description": "Data Boost is a serverless compute capability that lets you run high-throughput read jobs and queries on your Bigtable data, without impacting the performance of the clusters that handle your application traffic. Data Boost supports read-only use cases with single-cluster routing.", "type": "object", "properties": { "computeBillingOwner": { "description": "The Compute Billing Owner for this Data Boost App Profile.", "type": "string", "enumDescriptions": [ "Unspecified value.", "The host Cloud Project containing the targeted Bigtable Instance / Table pays for compute." ], "enum": [ "COMPUTE_BILLING_OWNER_UNSPECIFIED", "HOST_PAYS" ] } } }, "ListAppProfilesResponse": { "id": "ListAppProfilesResponse", "description": "Response message for BigtableInstanceAdmin.ListAppProfiles.", "type": "object", "properties": { "appProfiles": { "description": "The list of requested app profiles.", "type": "array", "items": { "$ref": "AppProfile" } }, "nextPageToken": { "description": "Set if not all app profiles could be returned in a single response. Pass this value to `page_token` in another request to get the next page of results.", "type": "string" }, "failedLocations": { "description": "Locations from which AppProfile information could not be retrieved, due to an outage or some other transient condition. AppProfiles from these locations may be missing from `app_profiles`. Values are of the form `projects//locations/`", "type": "array", "items": { "type": "string" } } } }, "GetIamPolicyRequest": { "id": "GetIamPolicyRequest", "description": "Request message for `GetIamPolicy` method.", "type": "object", "properties": { "options": { "description": "OPTIONAL: A `GetPolicyOptions` object for specifying options to `GetIamPolicy`.", "$ref": "GetPolicyOptions" } } }, "GetPolicyOptions": { "id": "GetPolicyOptions", "description": "Encapsulates settings provided to GetIamPolicy.", "type": "object", "properties": { "requestedPolicyVersion": { "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", "type": "integer", "format": "int32" } } }, "Policy": { "id": "Policy", "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time \u003c timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time \u003c timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", "type": "object", "properties": { "version": { "description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", "type": "integer", "format": "int32" }, "bindings": { "description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", "type": "array", "items": { "$ref": "Binding" } }, "auditConfigs": { "description": "Specifies cloud audit logging configuration for this policy.", "type": "array", "items": { "$ref": "AuditConfig" } }, "etag": { "description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", "type": "string", "format": "byte" } } }, "Binding": { "id": "Binding", "description": "Associates `members`, or principals, with a `role`.", "type": "object", "properties": { "role": { "description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", "type": "string" }, "members": { "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", "type": "array", "items": { "type": "string" } }, "condition": { "description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", "$ref": "Expr" } } }, "Expr": { "id": "Expr", "description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() \u003c 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", "type": "object", "properties": { "expression": { "description": "Textual representation of an expression in Common Expression Language syntax.", "type": "string" }, "title": { "description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", "type": "string" }, "description": { "description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", "type": "string" }, "location": { "description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", "type": "string" } } }, "AuditConfig": { "id": "AuditConfig", "description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.", "type": "object", "properties": { "service": { "description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.", "type": "string" }, "auditLogConfigs": { "description": "The configuration for logging of each type of permission.", "type": "array", "items": { "$ref": "AuditLogConfig" } } } }, "AuditLogConfig": { "id": "AuditLogConfig", "description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.", "type": "object", "properties": { "logType": { "description": "The log type that this config enables.", "type": "string", "enumDescriptions": [ "Default case. Should never be this.", "Admin reads. Example: CloudIAM getIamPolicy", "Data writes. Example: CloudSQL Users create", "Data reads. Example: CloudSQL Users list" ], "enum": [ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] }, "exemptedMembers": { "description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.", "type": "array", "items": { "type": "string" } } } }, "SetIamPolicyRequest": { "id": "SetIamPolicyRequest", "description": "Request message for `SetIamPolicy` method.", "type": "object", "properties": { "policy": { "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them.", "$ref": "Policy" }, "updateMask": { "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: \"bindings, etag\"`", "type": "string", "format": "google-fieldmask" } } }, "TestIamPermissionsRequest": { "id": "TestIamPermissionsRequest", "description": "Request message for `TestIamPermissions` method.", "type": "object", "properties": { "permissions": { "description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", "type": "array", "items": { "type": "string" } } } }, "TestIamPermissionsResponse": { "id": "TestIamPermissionsResponse", "description": "Response message for `TestIamPermissions` method.", "type": "object", "properties": { "permissions": { "description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", "type": "array", "items": { "type": "string" } } } }, "ListHotTabletsResponse": { "id": "ListHotTabletsResponse", "description": "Response message for BigtableInstanceAdmin.ListHotTablets.", "type": "object", "properties": { "hotTablets": { "description": "List of hot tablets in the tables of the requested cluster that fall within the requested time range. Hot tablets are ordered by node cpu usage percent. If there are multiple hot tablets that correspond to the same tablet within a 15-minute interval, only the hot tablet with the highest node cpu usage will be included in the response.", "type": "array", "items": { "$ref": "HotTablet" } }, "nextPageToken": { "description": "Set if not all hot tablets could be returned in a single response. Pass this value to `page_token` in another request to get the next page of results.", "type": "string" } } }, "HotTablet": { "id": "HotTablet", "description": "A tablet is a defined by a start and end key and is explained in https://cloud.google.com/bigtable/docs/overview#architecture and https://cloud.google.com/bigtable/docs/performance#optimization. A Hot tablet is a tablet that exhibits high average cpu usage during the time interval from start time to end time.", "type": "object", "properties": { "name": { "description": "The unique name of the hot tablet. Values are of the form `projects/{project}/instances/{instance}/clusters/{cluster}/hotTablets/[a-zA-Z0-9_-]*`.", "type": "string" }, "tableName": { "description": "Name of the table that contains the tablet. Values are of the form `projects/{project}/instances/{instance}/tables/_a-zA-Z0-9*`.", "type": "string" }, "startTime": { "description": "Output only. The start time of the hot tablet.", "readOnly": true, "type": "string", "format": "google-datetime" }, "endTime": { "description": "Output only. The end time of the hot tablet.", "readOnly": true, "type": "string", "format": "google-datetime" }, "startKey": { "description": "Tablet Start Key (inclusive).", "type": "string" }, "endKey": { "description": "Tablet End Key (inclusive).", "type": "string" }, "nodeCpuUsagePercent": { "description": "Output only. The average CPU usage spent by a node on this tablet over the start_time to end_time time range. The percentage is the amount of CPU used by the node to serve the tablet, from 0% (tablet was not interacted with) to 100% (the node spent all cycles serving the hot tablet).", "readOnly": true, "type": "number", "format": "float" } } }, "CreateTableRequest": { "id": "CreateTableRequest", "description": "Request message for google.bigtable.admin.v2.BigtableTableAdmin.CreateTable", "type": "object", "properties": { "tableId": { "description": "Required. The name by which the new table should be referred to within the parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`. Maximum 50 characters.", "type": "string" }, "table": { "description": "Required. The Table to create.", "$ref": "Table" }, "initialSplits": { "description": "The optional list of row keys that will be used to initially split the table into several tablets (tablets are similar to HBase regions). Given two split keys, `s1` and `s2`, three tablets will be created, spanning the key ranges: `[, s1), [s1, s2), [s2, )`. Example: * Row keys := `[\"a\", \"apple\", \"custom\", \"customer_1\", \"customer_2\",` `\"other\", \"zz\"]` * initial_split_keys := `[\"apple\", \"customer_1\", \"customer_2\", \"other\"]` * Key assignment: - Tablet 1 `[, apple) =\u003e {\"a\"}.` - Tablet 2 `[apple, customer_1) =\u003e {\"apple\", \"custom\"}.` - Tablet 3 `[customer_1, customer_2) =\u003e {\"customer_1\"}.` - Tablet 4 `[customer_2, other) =\u003e {\"customer_2\"}.` - Tablet 5 `[other, ) =\u003e {\"other\", \"zz\"}.`", "type": "array", "items": { "$ref": "Split" } } } }, "Table": { "id": "Table", "description": "A collection of user data indexed by row, column, and timestamp. Each table is served using the resources of its parent cluster.", "type": "object", "properties": { "name": { "description": "The unique name of the table. Values are of the form `projects/{project}/instances/{instance}/tables/_a-zA-Z0-9*`. Views: `NAME_ONLY`, `SCHEMA_VIEW`, `REPLICATION_VIEW`, `STATS_VIEW`, `FULL`", "type": "string" }, "clusterStates": { "description": "Output only. Map from cluster ID to per-cluster table state. If it could not be determined whether or not the table has data in a particular cluster (for example, if its zone is unavailable), then there will be an entry for the cluster with UNKNOWN `replication_status`. Views: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL`", "readOnly": true, "type": "object", "additionalProperties": { "$ref": "ClusterState" } }, "columnFamilies": { "description": "The column families configured for this table, mapped by column family ID. Views: `SCHEMA_VIEW`, `STATS_VIEW`, `FULL`", "type": "object", "additionalProperties": { "$ref": "ColumnFamily" } }, "granularity": { "description": "Immutable. The granularity (i.e. `MILLIS`) at which timestamps are stored in this table. Timestamps not matching the granularity will be rejected. If unspecified at creation time, the value will be set to `MILLIS`. Views: `SCHEMA_VIEW`, `FULL`.", "type": "string", "enumDescriptions": [ "The user did not specify a granularity. Should not be returned. When specified during table creation, MILLIS will be used.", "The table keeps data versioned at a granularity of 1ms." ], "enum": [ "TIMESTAMP_GRANULARITY_UNSPECIFIED", "MILLIS" ] }, "restoreInfo": { "description": "Output only. If this table was restored from another data source (e.g. a backup), this field will be populated with information about the restore.", "readOnly": true, "$ref": "RestoreInfo" }, "changeStreamConfig": { "description": "If specified, enable the change stream on this table. Otherwise, the change stream is disabled and the change stream is not retained.", "$ref": "ChangeStreamConfig" }, "deletionProtection": { "description": "Set to true to make the table protected against data loss. i.e. deleting the following resources through Admin APIs are prohibited: * The table. * The column families in the table. * The instance containing the table. Note one can still delete the data stored in the table through Data APIs.", "type": "boolean" }, "stats": { "description": "Output only. Only available with STATS_VIEW, this includes summary statistics about the entire table contents. For statistics about a specific column family, see ColumnFamilyStats in the mapped ColumnFamily collection above.", "readOnly": true, "$ref": "TableStats" }, "automatedBackupPolicy": { "description": "If specified, automated backups are enabled for this table. Otherwise, automated backups are disabled.", "$ref": "AutomatedBackupPolicy" } } }, "ClusterState": { "id": "ClusterState", "description": "The state of a table's data in a particular cluster.", "type": "object", "properties": { "replicationState": { "description": "Output only. The state of replication for the table in this cluster.", "readOnly": true, "type": "string", "enumDescriptions": [ "The replication state of the table is unknown in this cluster.", "The cluster was recently created, and the table must finish copying over pre-existing data from other clusters before it can begin receiving live replication updates and serving Data API requests.", "The table is temporarily unable to serve Data API requests from this cluster due to planned internal maintenance.", "The table is temporarily unable to serve Data API requests from this cluster due to unplanned or emergency maintenance.", "The table can serve Data API requests from this cluster. Depending on replication delay, reads may not immediately reflect the state of the table in other clusters.", "The table is fully created and ready for use after a restore, and is being optimized for performance. When optimizations are complete, the table will transition to `READY` state." ], "enum": [ "STATE_NOT_KNOWN", "INITIALIZING", "PLANNED_MAINTENANCE", "UNPLANNED_MAINTENANCE", "READY", "READY_OPTIMIZING" ] }, "encryptionInfo": { "description": "Output only. The encryption information for the table in this cluster. If the encryption key protecting this resource is customer managed, then its version can be rotated in Cloud Key Management Service (Cloud KMS). The primary version of the key and its status will be reflected here when changes propagate from Cloud KMS.", "readOnly": true, "type": "array", "items": { "$ref": "EncryptionInfo" } } } }, "EncryptionInfo": { "id": "EncryptionInfo", "description": "Encryption information for a given resource. If this resource is protected with customer managed encryption, the in-use Cloud Key Management Service (Cloud KMS) key version is specified along with its status.", "type": "object", "properties": { "encryptionType": { "description": "Output only. The type of encryption used to protect this resource.", "readOnly": true, "type": "string", "enumDescriptions": [ "Encryption type was not specified, though data at rest remains encrypted.", "The data backing this resource is encrypted at rest with a key that is fully managed by Google. No key version or status will be populated. This is the default state.", "The data backing this resource is encrypted at rest with a key that is managed by the customer. The in-use version of the key and its status are populated for CMEK-protected tables. CMEK-protected backups are pinned to the key version that was in use at the time the backup was taken. This key version is populated but its status is not tracked and is reported as `UNKNOWN`." ], "enum": [ "ENCRYPTION_TYPE_UNSPECIFIED", "GOOGLE_DEFAULT_ENCRYPTION", "CUSTOMER_MANAGED_ENCRYPTION" ] }, "encryptionStatus": { "description": "Output only. The status of encrypt/decrypt calls on underlying data for this resource. Regardless of status, the existing data is always encrypted at rest.", "readOnly": true, "$ref": "Status" }, "kmsKeyVersion": { "description": "Output only. The version of the Cloud KMS key specified in the parent cluster that is in use for the data underlying this table.", "readOnly": true, "type": "string" } } }, "ColumnFamily": { "id": "ColumnFamily", "description": "A set of columns within a table which share a common configuration.", "type": "object", "properties": { "gcRule": { "description": "Garbage collection rule specified as a protobuf. Must serialize to at most 500 bytes. NOTE: Garbage collection executes opportunistically in the background, and so it's possible for reads to return a cell even if it matches the active GC expression for its family.", "$ref": "GcRule" }, "stats": { "description": "Output only. Only available with STATS_VIEW, this includes summary statistics about column family contents. For statistics over an entire table, see TableStats above.", "readOnly": true, "$ref": "ColumnFamilyStats" }, "valueType": { "description": "The type of data stored in each of this family's cell values, including its full encoding. If omitted, the family only serves raw untyped bytes. For now, only the `Aggregate` type is supported. `Aggregate` can only be set at family creation and is immutable afterwards. If `value_type` is `Aggregate`, written data must be compatible with: * `value_type.input_type` for `AddInput` mutations", "$ref": "Type" } } }, "GcRule": { "id": "GcRule", "description": "Rule for determining which cells to delete during garbage collection.", "type": "object", "properties": { "maxNumVersions": { "description": "Delete all cells in a column except the most recent N.", "type": "integer", "format": "int32" }, "maxAge": { "description": "Delete cells in a column older than the given age. Values must be at least one millisecond, and will be truncated to microsecond granularity.", "type": "string", "format": "google-duration" }, "intersection": { "description": "Delete cells that would be deleted by every nested rule.", "$ref": "Intersection" }, "union": { "description": "Delete cells that would be deleted by any nested rule.", "$ref": "Union" } } }, "Intersection": { "id": "Intersection", "description": "A GcRule which deletes cells matching all of the given rules.", "type": "object", "properties": { "rules": { "description": "Only delete cells which would be deleted by every element of `rules`.", "type": "array", "items": { "$ref": "GcRule" } } } }, "Union": { "id": "Union", "description": "A GcRule which deletes cells matching any of the given rules.", "type": "object", "properties": { "rules": { "description": "Delete cells which would be deleted by any element of `rules`.", "type": "array", "items": { "$ref": "GcRule" } } } }, "ColumnFamilyStats": { "id": "ColumnFamilyStats", "description": "Approximate statistics related to a single column family within a table. This information may change rapidly, interpreting these values at a point in time may already preset out-of-date information. Everything below is approximate, unless otherwise specified.", "type": "object", "properties": { "averageColumnsPerRow": { "description": "How many column qualifiers are present in this column family, averaged over all rows in the table. e.g. For column family \"family\" in a table with 3 rows: * A row with cells in \"family:col\" and \"other:col\" (1 column in \"family\") * A row with cells in \"family:col\", \"family:other_col\", and \"other:data\" (2 columns in \"family\") * A row with cells in \"other:col\" (0 columns in \"family\", \"family\" not present) would report (1 + 2 + 0)/3 = 1.5 in this field.", "type": "number", "format": "double" }, "averageCellsPerColumn": { "description": "How many cells are present per column qualifier in this column family, averaged over all rows containing any column in the column family. e.g. For column family \"family\" in a table with 3 rows: * A row with 3 cells in \"family:col\" and 1 cell in \"other:col\" (3 cells / 1 column in \"family\") * A row with 1 cell in \"family:col\", 7 cells in \"family:other_col\", and 7 cells in \"other:data\" (8 cells / 2 columns in \"family\") * A row with 3 cells in \"other:col\" (0 columns in \"family\", \"family\" not present) would report (3 + 8 + 0)/(1 + 2 + 0) = 3.66 in this field.", "type": "number", "format": "double" }, "logicalDataBytes": { "description": "How much space the data in the column family occupies. This is roughly how many bytes would be needed to read the contents of the entire column family (e.g. by streaming all contents out).", "type": "string", "format": "int64" } } }, "Type": { "id": "Type", "description": "`Type` represents the type of data that is written to, read from, or stored in Bigtable. It is heavily based on the GoogleSQL standard to help maintain familiarity and consistency across products and features. For compatibility with Bigtable's existing untyped APIs, each `Type` includes an `Encoding` which describes how to convert to/from the underlying data. This might involve composing a series of steps into an \"encoding chain,\" for example to convert from INT64 -\u003e STRING -\u003e raw bytes. In most cases, a \"link\" in the encoding chain will be based an on existing GoogleSQL conversion function like `CAST`. Each link in the encoding chain also defines the following properties: * Natural sort: Does the encoded value sort consistently with the original typed value? Note that Bigtable will always sort data based on the raw encoded value, *not* the decoded type. - Example: STRING values sort in the same order as their UTF-8 encodings. - Counterexample: Encoding INT64 to a fixed-width STRING does *not* preserve sort order when dealing with negative numbers. INT64(1) \u003e INT64(-1), but STRING(\"-00001\") \u003e STRING(\"00001). - The overall encoding chain sorts naturally if *every* link does. * Self-delimiting: If we concatenate two encoded values, can we always tell where the first one ends and the second one begins? - Example: If we encode INT64s to fixed-width STRINGs, the first value will always contain exactly N digits, possibly preceded by a sign. - Counterexample: If we concatenate two UTF-8 encoded STRINGs, we have no way to tell where the first one ends. - The overall encoding chain is self-delimiting if *any* link is. * Compatibility: Which other systems have matching encoding schemes? For example, does this encoding have a GoogleSQL equivalent? HBase? Java?", "type": "object", "properties": { "bytesType": { "description": "Bytes", "$ref": "GoogleBigtableAdminV2TypeBytes" }, "int64Type": { "description": "Int64", "$ref": "GoogleBigtableAdminV2TypeInt64" }, "aggregateType": { "description": "Aggregate", "$ref": "GoogleBigtableAdminV2TypeAggregate" } } }, "GoogleBigtableAdminV2TypeBytes": { "id": "GoogleBigtableAdminV2TypeBytes", "description": "Bytes Values of type `Bytes` are stored in `Value.bytes_value`.", "type": "object", "properties": { "encoding": { "description": "The encoding to use when converting to/from lower level types.", "$ref": "GoogleBigtableAdminV2TypeBytesEncoding" } } }, "GoogleBigtableAdminV2TypeBytesEncoding": { "id": "GoogleBigtableAdminV2TypeBytesEncoding", "description": "Rules used to convert to/from lower level types.", "type": "object", "properties": { "raw": { "description": "Use `Raw` encoding.", "$ref": "GoogleBigtableAdminV2TypeBytesEncodingRaw" } } }, "GoogleBigtableAdminV2TypeBytesEncodingRaw": { "id": "GoogleBigtableAdminV2TypeBytesEncodingRaw", "description": "Leaves the value \"as-is\" * Natural sort? Yes * Self-delimiting? No * Compatibility? N/A", "type": "object", "properties": {} }, "GoogleBigtableAdminV2TypeInt64": { "id": "GoogleBigtableAdminV2TypeInt64", "description": "Int64 Values of type `Int64` are stored in `Value.int_value`.", "type": "object", "properties": { "encoding": { "description": "The encoding to use when converting to/from lower level types.", "$ref": "GoogleBigtableAdminV2TypeInt64Encoding" } } }, "GoogleBigtableAdminV2TypeInt64Encoding": { "id": "GoogleBigtableAdminV2TypeInt64Encoding", "description": "Rules used to convert to/from lower level types.", "type": "object", "properties": { "bigEndianBytes": { "description": "Use `BigEndianBytes` encoding.", "$ref": "GoogleBigtableAdminV2TypeInt64EncodingBigEndianBytes" } } }, "GoogleBigtableAdminV2TypeInt64EncodingBigEndianBytes": { "id": "GoogleBigtableAdminV2TypeInt64EncodingBigEndianBytes", "description": "Encodes the value as an 8-byte big endian twos complement `Bytes` value. * Natural sort? No (positive values only) * Self-delimiting? Yes * Compatibility? - BigQuery Federation `BINARY` encoding - HBase `Bytes.toBytes` - Java `ByteBuffer.putLong()` with `ByteOrder.BIG_ENDIAN`", "type": "object", "properties": { "bytesType": { "description": "The underlying `Bytes` type, which may be able to encode further.", "$ref": "GoogleBigtableAdminV2TypeBytes" } } }, "GoogleBigtableAdminV2TypeAggregate": { "id": "GoogleBigtableAdminV2TypeAggregate", "description": "A value that combines incremental updates into a summarized value. Data is never directly written or read using type `Aggregate`. Writes will provide either the `input_type` or `state_type`, and reads will always return the `state_type` .", "type": "object", "properties": { "inputType": { "description": "Type of the inputs that are accumulated by this `Aggregate`, which must specify a full encoding. Use `AddInput` mutations to accumulate new inputs.", "$ref": "Type" }, "stateType": { "description": "Output only. Type that holds the internal accumulator state for the `Aggregate`. This is a function of the `input_type` and `aggregator` chosen, and will always specify a full encoding.", "readOnly": true, "$ref": "Type" }, "sum": { "description": "Sum aggregator.", "$ref": "GoogleBigtableAdminV2TypeAggregateSum" } } }, "GoogleBigtableAdminV2TypeAggregateSum": { "id": "GoogleBigtableAdminV2TypeAggregateSum", "description": "Computes the sum of the input values. Allowed input: `Int64` State: same as input", "type": "object", "properties": {} }, "RestoreInfo": { "id": "RestoreInfo", "description": "Information about a table restore.", "type": "object", "properties": { "sourceType": { "description": "The type of the restore source.", "type": "string", "enumDescriptions": [ "No restore associated.", "A backup was used as the source of the restore." ], "enum": [ "RESTORE_SOURCE_TYPE_UNSPECIFIED", "BACKUP" ] }, "backupInfo": { "description": "Information about the backup used to restore the table. The backup may no longer exist.", "$ref": "BackupInfo" } } }, "BackupInfo": { "id": "BackupInfo", "description": "Information about a backup.", "type": "object", "properties": { "backup": { "description": "Output only. Name of the backup.", "readOnly": true, "type": "string" }, "startTime": { "description": "Output only. The time that the backup was started. Row data in the backup will be no older than this timestamp.", "readOnly": true, "type": "string", "format": "google-datetime" }, "endTime": { "description": "Output only. This time that the backup was finished. Row data in the backup will be no newer than this timestamp.", "readOnly": true, "type": "string", "format": "google-datetime" }, "sourceTable": { "description": "Output only. Name of the table the backup was created from.", "readOnly": true, "type": "string" }, "sourceBackup": { "description": "Output only. Name of the backup from which this backup was copied. If a backup is not created by copying a backup, this field will be empty. Values are of the form: projects//instances//clusters//backups/", "readOnly": true, "type": "string" } } }, "ChangeStreamConfig": { "id": "ChangeStreamConfig", "description": "Change stream configuration.", "type": "object", "properties": { "retentionPeriod": { "description": "How long the change stream should be retained. Change stream data older than the retention period will not be returned when reading the change stream from the table. Values must be at least 1 day and at most 7 days, and will be truncated to microsecond granularity.", "type": "string", "format": "google-duration" } } }, "TableStats": { "id": "TableStats", "description": "Approximate statistics related to a table. These statistics are calculated infrequently, while simultaneously, data in the table can change rapidly. Thus the values reported here (e.g. row count) are very likely out-of date, even the instant they are received in this API. Thus, only treat these values as approximate. IMPORTANT: Everything below is approximate, unless otherwise specified.", "type": "object", "properties": { "rowCount": { "description": "How many rows are in the table.", "type": "string", "format": "int64" }, "averageColumnsPerRow": { "description": "How many (column family, column qualifier) combinations are present per row in the table, averaged over all rows in the table. e.g. A table with 2 rows: * A row with cells in \"family:col\" and \"other:col\" (2 distinct columns) * A row with cells in \"family:col\", \"family:other_col\", and \"other:data\" (3 distinct columns) would report (2 + 3)/2 = 2.5 in this field.", "type": "number", "format": "double" }, "averageCellsPerColumn": { "description": "How many cells are present per column (column family, column qualifier) combinations, averaged over all columns in all rows in the table. e.g. A table with 2 rows: * A row with 3 cells in \"family:col\" and 1 cell in \"other:col\" (4 cells / 2 columns) * A row with 1 cell in \"family:col\", 7 cells in \"family:other_col\", and 7 cells in \"other:data\" (15 cells / 3 columns) would report (4 + 15)/(2 + 3) = 3.8 in this field.", "type": "number", "format": "double" }, "logicalDataBytes": { "description": "This is roughly how many bytes would be needed to read the entire table (e.g. by streaming all contents out).", "type": "string", "format": "int64" } } }, "AutomatedBackupPolicy": { "id": "AutomatedBackupPolicy", "description": "Defines an automated backup policy for a table", "type": "object", "properties": { "retentionPeriod": { "description": "Required. How long the automated backups should be retained. The only supported value at this time is 3 days.", "type": "string", "format": "google-duration" }, "frequency": { "description": "Required. How frequently automated backups should occur. The only supported value at this time is 24 hours.", "type": "string", "format": "google-duration" } } }, "Split": { "id": "Split", "description": "An initial split point for a newly created table.", "type": "object", "properties": { "key": { "description": "Row key to use as an initial tablet boundary.", "type": "string", "format": "byte" } } }, "ListTablesResponse": { "id": "ListTablesResponse", "description": "Response message for google.bigtable.admin.v2.BigtableTableAdmin.ListTables", "type": "object", "properties": { "tables": { "description": "The tables present in the requested instance.", "type": "array", "items": { "$ref": "Table" } }, "nextPageToken": { "description": "Set if not all tables could be returned in a single response. Pass this value to `page_token` in another request to get the next page of results.", "type": "string" } } }, "UndeleteTableRequest": { "id": "UndeleteTableRequest", "description": "Request message for google.bigtable.admin.v2.BigtableTableAdmin.UndeleteTable", "type": "object", "properties": {} }, "AuthorizedView": { "id": "AuthorizedView", "description": "An Authorized View of a Cloud Bigtable Table.", "type": "object", "properties": { "name": { "description": "Identifier. The name of this AuthorizedView. Values are of the form `projects/{project}/instances/{instance}/tables/{table}/authorizedViews/{authorized_view}`", "type": "string" }, "subsetView": { "description": "An AuthorizedView permitting access to an explicit subset of a Table.", "$ref": "GoogleBigtableAdminV2AuthorizedViewSubsetView" }, "etag": { "description": "The etag for this AuthorizedView. If this is provided on update, it must match the server's etag. The server returns ABORTED error on a mismatched etag.", "type": "string" }, "deletionProtection": { "description": "Set to true to make the AuthorizedView protected against deletion. The parent Table and containing Instance cannot be deleted if an AuthorizedView has this bit set.", "type": "boolean" } } }, "GoogleBigtableAdminV2AuthorizedViewSubsetView": { "id": "GoogleBigtableAdminV2AuthorizedViewSubsetView", "description": "Defines a simple AuthorizedView that is a subset of the underlying Table.", "type": "object", "properties": { "rowPrefixes": { "description": "Row prefixes to be included in the AuthorizedView. To provide access to all rows, include the empty string as a prefix (\"\").", "type": "array", "items": { "type": "string", "format": "byte" } }, "familySubsets": { "description": "Map from column family name to the columns in this family to be included in the AuthorizedView.", "type": "object", "additionalProperties": { "$ref": "GoogleBigtableAdminV2AuthorizedViewFamilySubsets" } } } }, "GoogleBigtableAdminV2AuthorizedViewFamilySubsets": { "id": "GoogleBigtableAdminV2AuthorizedViewFamilySubsets", "description": "Subsets of a column family that are included in this AuthorizedView.", "type": "object", "properties": { "qualifiers": { "description": "Individual exact column qualifiers to be included in the AuthorizedView.", "type": "array", "items": { "type": "string", "format": "byte" } }, "qualifierPrefixes": { "description": "Prefixes for qualifiers to be included in the AuthorizedView. Every qualifier starting with one of these prefixes is included in the AuthorizedView. To provide access to all qualifiers, include the empty string as a prefix (\"\").", "type": "array", "items": { "type": "string", "format": "byte" } } } }, "ListAuthorizedViewsResponse": { "id": "ListAuthorizedViewsResponse", "description": "Response message for google.bigtable.admin.v2.BigtableTableAdmin.ListAuthorizedViews", "type": "object", "properties": { "authorizedViews": { "description": "The AuthorizedViews present in the requested table.", "type": "array", "items": { "$ref": "AuthorizedView" } }, "nextPageToken": { "description": "Set if not all tables could be returned in a single response. Pass this value to `page_token` in another request to get the next page of results.", "type": "string" } } }, "ModifyColumnFamiliesRequest": { "id": "ModifyColumnFamiliesRequest", "description": "Request message for google.bigtable.admin.v2.BigtableTableAdmin.ModifyColumnFamilies", "type": "object", "properties": { "modifications": { "description": "Required. Modifications to be atomically applied to the specified table's families. Entries are applied in order, meaning that earlier modifications can be masked by later ones (in the case of repeated updates to the same family, for example).", "type": "array", "items": { "$ref": "Modification" } }, "ignoreWarnings": { "description": "Optional. If true, ignore safety checks when modifying the column families.", "type": "boolean" } } }, "Modification": { "id": "Modification", "description": "A create, update, or delete of a particular column family.", "type": "object", "properties": { "id": { "description": "The ID of the column family to be modified.", "type": "string" }, "create": { "description": "Create a new column family with the specified schema, or fail if one already exists with the given ID.", "$ref": "ColumnFamily" }, "update": { "description": "Update an existing column family to the specified schema, or fail if no column family exists with the given ID.", "$ref": "ColumnFamily" }, "drop": { "description": "Drop (delete) the column family with the given ID, or fail if no such family exists.", "type": "boolean" }, "updateMask": { "description": "Optional. A mask specifying which fields (e.g. `gc_rule`) in the `update` mod should be updated, ignored for other modification types. If unset or empty, we treat it as updating `gc_rule` to be backward compatible.", "type": "string", "format": "google-fieldmask" } } }, "DropRowRangeRequest": { "id": "DropRowRangeRequest", "description": "Request message for google.bigtable.admin.v2.BigtableTableAdmin.DropRowRange", "type": "object", "properties": { "rowKeyPrefix": { "description": "Delete all rows that start with this row key prefix. Prefix cannot be zero length.", "type": "string", "format": "byte" }, "deleteAllDataFromTable": { "description": "Delete all rows in the table. Setting this to false is a no-op.", "type": "boolean" } } }, "GenerateConsistencyTokenRequest": { "id": "GenerateConsistencyTokenRequest", "description": "Request message for google.bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken", "type": "object", "properties": {} }, "GenerateConsistencyTokenResponse": { "id": "GenerateConsistencyTokenResponse", "description": "Response message for google.bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken", "type": "object", "properties": { "consistencyToken": { "description": "The generated consistency token.", "type": "string" } } }, "CheckConsistencyRequest": { "id": "CheckConsistencyRequest", "description": "Request message for google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency", "type": "object", "properties": { "consistencyToken": { "description": "Required. The token created using GenerateConsistencyToken for the Table.", "type": "string" }, "standardReadRemoteWrites": { "description": "Checks that reads using an app profile with `StandardIsolation` can see all writes committed before the token was created, even if the read and write target different clusters.", "$ref": "StandardReadRemoteWrites" }, "dataBoostReadLocalWrites": { "description": "Checks that reads using an app profile with `DataBoostIsolationReadOnly` can see all writes committed before the token was created, but only if the read and write target the same cluster.", "$ref": "DataBoostReadLocalWrites" } } }, "StandardReadRemoteWrites": { "id": "StandardReadRemoteWrites", "description": "Checks that all writes before the consistency token was generated are replicated in every cluster and readable.", "type": "object", "properties": {} }, "DataBoostReadLocalWrites": { "id": "DataBoostReadLocalWrites", "description": "Checks that all writes before the consistency token was generated in the same cluster are readable by Databoost.", "type": "object", "properties": {} }, "CheckConsistencyResponse": { "id": "CheckConsistencyResponse", "description": "Response message for google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency", "type": "object", "properties": { "consistent": { "description": "True only if the token is consistent. A token is consistent if replication has caught up with the restrictions specified in the request.", "type": "boolean" } } }, "Backup": { "id": "Backup", "description": "A backup of a Cloud Bigtable table.", "type": "object", "properties": { "name": { "description": "A globally unique identifier for the backup which cannot be changed. Values are of the form `projects/{project}/instances/{instance}/clusters/{cluster}/ backups/_a-zA-Z0-9*` The final segment of the name must be between 1 and 50 characters in length. The backup is stored in the cluster identified by the prefix of the backup name of the form `projects/{project}/instances/{instance}/clusters/{cluster}`.", "type": "string" }, "sourceTable": { "description": "Required. Immutable. Name of the table from which this backup was created. This needs to be in the same instance as the backup. Values are of the form `projects/{project}/instances/{instance}/tables/{source_table}`.", "type": "string" }, "sourceBackup": { "description": "Output only. Name of the backup from which this backup was copied. If a backup is not created by copying a backup, this field will be empty. Values are of the form: projects//instances//clusters//backups/", "readOnly": true, "type": "string" }, "expireTime": { "description": "Required. The expiration time of the backup, with microseconds granularity that must be at least 6 hours and at most 90 days from the time the request is received. Once the `expire_time` has passed, Cloud Bigtable will delete the backup and free the resources used by the backup.", "type": "string", "format": "google-datetime" }, "startTime": { "description": "Output only. `start_time` is the time that the backup was started (i.e. approximately the time the CreateBackup request is received). The row data in this backup will be no older than this timestamp.", "readOnly": true, "type": "string", "format": "google-datetime" }, "endTime": { "description": "Output only. `end_time` is the time that the backup was finished. The row data in the backup will be no newer than this timestamp.", "readOnly": true, "type": "string", "format": "google-datetime" }, "sizeBytes": { "description": "Output only. Size of the backup in bytes.", "readOnly": true, "type": "string", "format": "int64" }, "state": { "description": "Output only. The current state of the backup.", "readOnly": true, "type": "string", "enumDescriptions": [ "Not specified.", "The pending backup is still being created. Operations on the backup may fail with `FAILED_PRECONDITION` in this state.", "The backup is complete and ready for use." ], "enum": [ "STATE_UNSPECIFIED", "CREATING", "READY" ] }, "encryptionInfo": { "description": "Output only. The encryption information for the backup.", "readOnly": true, "$ref": "EncryptionInfo" } } }, "ListBackupsResponse": { "id": "ListBackupsResponse", "description": "The response for ListBackups.", "type": "object", "properties": { "backups": { "description": "The list of matching backups.", "type": "array", "items": { "$ref": "Backup" } }, "nextPageToken": { "description": "`next_page_token` can be sent in a subsequent ListBackups call to fetch more of the matching backups.", "type": "string" } } }, "RestoreTableRequest": { "id": "RestoreTableRequest", "description": "The request for RestoreTable.", "type": "object", "properties": { "tableId": { "description": "Required. The id of the table to create and restore to. This table must not already exist. The `table_id` appended to `parent` forms the full table name of the form `projects//instances//tables/`.", "type": "string" }, "backup": { "description": "Name of the backup from which to restore. Values are of the form `projects//instances//clusters//backups/`.", "type": "string" } } }, "CopyBackupRequest": { "id": "CopyBackupRequest", "description": "The request for CopyBackup.", "type": "object", "properties": { "backupId": { "description": "Required. The id of the new backup. The `backup_id` along with `parent` are combined as {parent}/backups/{backup_id} to create the full backup name, of the form: `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup_id}`. This string must be between 1 and 50 characters in length and match the regex _a-zA-Z0-9*.", "type": "string" }, "sourceBackup": { "description": "Required. The source backup to be copied from. The source backup needs to be in READY state for it to be copied. Copying a copied backup is not allowed. Once CopyBackup is in progress, the source backup cannot be deleted or cleaned up on expiration until CopyBackup is finished. Values are of the form: `projects//instances//clusters//backups/`.", "type": "string" }, "expireTime": { "description": "Required. Required. The expiration time of the copied backup with microsecond granularity that must be at least 6 hours and at most 30 days from the time the request is received. Once the `expire_time` has passed, Cloud Bigtable will delete the backup and free the resources used by the backup.", "type": "string", "format": "google-datetime" } } }, "ListLocationsResponse": { "id": "ListLocationsResponse", "description": "The response message for Locations.ListLocations.", "type": "object", "properties": { "locations": { "description": "A list of locations that matches the specified filter in the request.", "type": "array", "items": { "$ref": "Location" } }, "nextPageToken": { "description": "The standard List next-page token.", "type": "string" } } }, "Location": { "id": "Location", "description": "A resource that represents a Google Cloud location.", "type": "object", "properties": { "name": { "description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", "type": "string" }, "locationId": { "description": "The canonical id for this location. For example: `\"us-east1\"`.", "type": "string" }, "displayName": { "description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", "type": "string" }, "labels": { "description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", "type": "object", "additionalProperties": { "type": "string" } }, "metadata": { "description": "Service-specific metadata. For example the available capacity at the given location.", "type": "object", "additionalProperties": { "type": "any", "description": "Properties of the object. Contains field @type with type URL." } } } }, "CreateInstanceMetadata": { "id": "CreateInstanceMetadata", "description": "The metadata for the Operation returned by CreateInstance.", "type": "object", "properties": { "originalRequest": { "description": "The request that prompted the initiation of this CreateInstance operation.", "$ref": "CreateInstanceRequest" }, "requestTime": { "description": "The time at which the original request was received.", "type": "string", "format": "google-datetime" }, "finishTime": { "description": "The time at which the operation failed or was completed successfully.", "type": "string", "format": "google-datetime" } } }, "UpdateInstanceMetadata": { "id": "UpdateInstanceMetadata", "description": "The metadata for the Operation returned by UpdateInstance.", "type": "object", "properties": { "originalRequest": { "description": "The request that prompted the initiation of this UpdateInstance operation.", "$ref": "PartialUpdateInstanceRequest" }, "requestTime": { "description": "The time at which the original request was received.", "type": "string", "format": "google-datetime" }, "finishTime": { "description": "The time at which the operation failed or was completed successfully.", "type": "string", "format": "google-datetime" } } }, "PartialUpdateInstanceRequest": { "id": "PartialUpdateInstanceRequest", "description": "Request message for BigtableInstanceAdmin.PartialUpdateInstance.", "type": "object", "properties": { "instance": { "description": "Required. The Instance which will (partially) replace the current value.", "$ref": "Instance" }, "updateMask": { "description": "Required. The subset of Instance fields which should be replaced. Must be explicitly set.", "type": "string", "format": "google-fieldmask" } } }, "CreateClusterMetadata": { "id": "CreateClusterMetadata", "description": "The metadata for the Operation returned by CreateCluster.", "type": "object", "properties": { "originalRequest": { "description": "The request that prompted the initiation of this CreateCluster operation.", "$ref": "CreateClusterRequest" }, "requestTime": { "description": "The time at which the original request was received.", "type": "string", "format": "google-datetime" }, "finishTime": { "description": "The time at which the operation failed or was completed successfully.", "type": "string", "format": "google-datetime" }, "tables": { "description": "Keys: the full `name` of each table that existed in the instance when CreateCluster was first called, i.e. `projects//instances//tables/`. Any table added to the instance by a later API call will be created in the new cluster by that API call, not this one. Values: information on how much of a table's data has been copied to the newly-created cluster so far.", "type": "object", "additionalProperties": { "$ref": "TableProgress" } } } }, "CreateClusterRequest": { "id": "CreateClusterRequest", "description": "Request message for BigtableInstanceAdmin.CreateCluster.", "type": "object", "properties": { "parent": { "description": "Required. The unique name of the instance in which to create the new cluster. Values are of the form `projects/{project}/instances/{instance}`.", "type": "string" }, "clusterId": { "description": "Required. The ID to be used when referring to the new cluster within its instance, e.g., just `mycluster` rather than `projects/myproject/instances/myinstance/clusters/mycluster`.", "type": "string" }, "cluster": { "description": "Required. The cluster to be created. Fields marked `OutputOnly` must be left blank.", "$ref": "Cluster" } } }, "TableProgress": { "id": "TableProgress", "description": "Progress info for copying a table's data to the new cluster.", "type": "object", "properties": { "estimatedSizeBytes": { "description": "Estimate of the size of the table to be copied.", "type": "string", "format": "int64" }, "estimatedCopiedBytes": { "description": "Estimate of the number of bytes copied so far for this table. This will eventually reach 'estimated_size_bytes' unless the table copy is CANCELLED.", "type": "string", "format": "int64" }, "state": { "type": "string", "enumDescriptions": [ "", "The table has not yet begun copying to the new cluster.", "The table is actively being copied to the new cluster.", "The table has been fully copied to the new cluster.", "The table was deleted before it finished copying to the new cluster. Note that tables deleted after completion will stay marked as COMPLETED, not CANCELLED." ], "enum": [ "STATE_UNSPECIFIED", "PENDING", "COPYING", "COMPLETED", "CANCELLED" ] } } }, "PartialUpdateClusterMetadata": { "id": "PartialUpdateClusterMetadata", "description": "The metadata for the Operation returned by PartialUpdateCluster.", "type": "object", "properties": { "requestTime": { "description": "The time at which the original request was received.", "type": "string", "format": "google-datetime" }, "finishTime": { "description": "The time at which the operation failed or was completed successfully.", "type": "string", "format": "google-datetime" }, "originalRequest": { "description": "The original request for PartialUpdateCluster.", "$ref": "PartialUpdateClusterRequest" } } }, "PartialUpdateClusterRequest": { "id": "PartialUpdateClusterRequest", "description": "Request message for BigtableInstanceAdmin.PartialUpdateCluster.", "type": "object", "properties": { "cluster": { "description": "Required. The Cluster which contains the partial updates to be applied, subject to the update_mask.", "$ref": "Cluster" }, "updateMask": { "description": "Required. The subset of Cluster fields which should be replaced.", "type": "string", "format": "google-fieldmask" } } }, "UpdateClusterMetadata": { "id": "UpdateClusterMetadata", "description": "The metadata for the Operation returned by UpdateCluster.", "type": "object", "properties": { "originalRequest": { "description": "The request that prompted the initiation of this UpdateCluster operation.", "$ref": "Cluster" }, "requestTime": { "description": "The time at which the original request was received.", "type": "string", "format": "google-datetime" }, "finishTime": { "description": "The time at which the operation failed or was completed successfully.", "type": "string", "format": "google-datetime" } } }, "UpdateAppProfileMetadata": { "id": "UpdateAppProfileMetadata", "description": "The metadata for the Operation returned by UpdateAppProfile.", "type": "object", "properties": {} }, "CreateBackupMetadata": { "id": "CreateBackupMetadata", "description": "Metadata type for the operation returned by CreateBackup.", "type": "object", "properties": { "name": { "description": "The name of the backup being created.", "type": "string" }, "sourceTable": { "description": "The name of the table the backup is created from.", "type": "string" }, "startTime": { "description": "The time at which this operation started.", "type": "string", "format": "google-datetime" }, "endTime": { "description": "If set, the time at which this operation finished or was cancelled.", "type": "string", "format": "google-datetime" } } }, "CreateAuthorizedViewMetadata": { "id": "CreateAuthorizedViewMetadata", "description": "The metadata for the Operation returned by CreateAuthorizedView.", "type": "object", "properties": { "originalRequest": { "description": "The request that prompted the initiation of this CreateInstance operation.", "$ref": "CreateAuthorizedViewRequest" }, "requestTime": { "description": "The time at which the original request was received.", "type": "string", "format": "google-datetime" }, "finishTime": { "description": "The time at which the operation failed or was completed successfully.", "type": "string", "format": "google-datetime" } } }, "CreateAuthorizedViewRequest": { "id": "CreateAuthorizedViewRequest", "description": "The request for CreateAuthorizedView", "type": "object", "properties": { "parent": { "description": "Required. This is the name of the table the AuthorizedView belongs to. Values are of the form `projects/{project}/instances/{instance}/tables/{table}`.", "type": "string" }, "authorizedViewId": { "description": "Required. The id of the AuthorizedView to create. This AuthorizedView must not already exist. The `authorized_view_id` appended to `parent` forms the full AuthorizedView name of the form `projects/{project}/instances/{instance}/tables/{table}/authorizedView/{authorized_view}`.", "type": "string" }, "authorizedView": { "description": "Required. The AuthorizedView to create.", "$ref": "AuthorizedView" } } }, "CopyBackupMetadata": { "id": "CopyBackupMetadata", "description": "Metadata type for the google.longrunning.Operation returned by CopyBackup.", "type": "object", "properties": { "name": { "description": "The name of the backup being created through the copy operation. Values are of the form `projects//instances//clusters//backups/`.", "type": "string" }, "sourceBackupInfo": { "description": "Information about the source backup that is being copied from.", "$ref": "BackupInfo" }, "progress": { "description": "The progress of the CopyBackup operation.", "$ref": "OperationProgress" } } }, "OperationProgress": { "id": "OperationProgress", "description": "Encapsulates progress related information for a Cloud Bigtable long running operation.", "type": "object", "properties": { "progressPercent": { "description": "Percent completion of the operation. Values are between 0 and 100 inclusive.", "type": "integer", "format": "int32" }, "startTime": { "description": "Time the request was received.", "type": "string", "format": "google-datetime" }, "endTime": { "description": "If set, the time at which this operation failed or was completed successfully.", "type": "string", "format": "google-datetime" } } }, "RestoreTableMetadata": { "id": "RestoreTableMetadata", "description": "Metadata type for the long-running operation returned by RestoreTable.", "type": "object", "properties": { "name": { "description": "Name of the table being created and restored to.", "type": "string" }, "sourceType": { "description": "The type of the restore source.", "type": "string", "enumDescriptions": [ "No restore associated.", "A backup was used as the source of the restore." ], "enum": [ "RESTORE_SOURCE_TYPE_UNSPECIFIED", "BACKUP" ] }, "backupInfo": { "$ref": "BackupInfo" }, "optimizeTableOperationName": { "description": "If exists, the name of the long-running operation that will be used to track the post-restore optimization process to optimize the performance of the restored table. The metadata type of the long-running operation is OptimizeRestoreTableMetadata. The response type is Empty. This long-running operation may be automatically created by the system if applicable after the RestoreTable long-running operation completes successfully. This operation may not be created if the table is already optimized or the restore was not successful.", "type": "string" }, "progress": { "description": "The progress of the RestoreTable operation.", "$ref": "OperationProgress" } } }, "OptimizeRestoredTableMetadata": { "id": "OptimizeRestoredTableMetadata", "description": "Metadata type for the long-running operation used to track the progress of optimizations performed on a newly restored table. This long-running operation is automatically created by the system after the successful completion of a table restore, and cannot be cancelled.", "type": "object", "properties": { "name": { "description": "Name of the restored table being optimized.", "type": "string" }, "progress": { "description": "The progress of the post-restore optimizations.", "$ref": "OperationProgress" } } }, "UndeleteTableMetadata": { "id": "UndeleteTableMetadata", "description": "Metadata type for the operation returned by google.bigtable.admin.v2.BigtableTableAdmin.UndeleteTable.", "type": "object", "properties": { "name": { "description": "The name of the table being restored.", "type": "string" }, "startTime": { "description": "The time at which this operation started.", "type": "string", "format": "google-datetime" }, "endTime": { "description": "If set, the time at which this operation finished or was cancelled.", "type": "string", "format": "google-datetime" } } }, "UpdateTableMetadata": { "id": "UpdateTableMetadata", "description": "Metadata type for the operation returned by UpdateTable.", "type": "object", "properties": { "name": { "description": "The name of the table being updated.", "type": "string" }, "startTime": { "description": "The time at which this operation started.", "type": "string", "format": "google-datetime" }, "endTime": { "description": "If set, the time at which this operation finished or was canceled.", "type": "string", "format": "google-datetime" } } }, "UpdateAuthorizedViewMetadata": { "id": "UpdateAuthorizedViewMetadata", "description": "Metadata for the google.longrunning.Operation returned by UpdateAuthorizedView.", "type": "object", "properties": { "originalRequest": { "description": "The request that prompted the initiation of this UpdateAuthorizedView operation.", "$ref": "UpdateAuthorizedViewRequest" }, "requestTime": { "description": "The time at which the original request was received.", "type": "string", "format": "google-datetime" }, "finishTime": { "description": "The time at which the operation failed or was completed successfully.", "type": "string", "format": "google-datetime" } } }, "UpdateAuthorizedViewRequest": { "id": "UpdateAuthorizedViewRequest", "description": "The request for UpdateAuthorizedView.", "type": "object", "properties": { "authorizedView": { "description": "Required. The AuthorizedView to update. The `name` in `authorized_view` is used to identify the AuthorizedView. AuthorizedView name must in this format: `projects/{project}/instances/{instance}/tables/{table}/authorizedViews/{authorized_view}`.", "$ref": "AuthorizedView" }, "updateMask": { "description": "Optional. The list of fields to update. A mask specifying which fields in the AuthorizedView resource should be updated. This mask is relative to the AuthorizedView resource, not to the request message. A field will be overwritten if it is in the mask. If empty, all fields set in the request will be overwritten. A special value `*` means to overwrite all fields (including fields not set in the request).", "type": "string", "format": "google-fieldmask" }, "ignoreWarnings": { "description": "Optional. If true, ignore the safety checks when updating the AuthorizedView.", "type": "boolean" } } } }, "protocol": "rest", "title": "Cloud Bigtable Admin API", "kind": "discovery#restDescription", "ownerDomain": "google.com", "name": "bigtableadmin", "fullyEncodeReservedExpansion": true, "description": "Administer your Cloud Bigtable tables and instances.", "parameters": { "access_token": { "type": "string", "description": "OAuth access token.", "location": "query" }, "alt": { "type": "string", "description": "Data format for response.", "default": "json", "enum": [ "json", "media", "proto" ], "enumDescriptions": [ "Responses with Content-Type of application/json", "Media download with context-dependent Content-Type", "Responses with Content-Type of application/x-protobuf" ], "location": "query" }, "callback": { "type": "string", "description": "JSONP", "location": "query" }, "fields": { "type": "string", "description": "Selector specifying which fields to include in a partial response.", "location": "query" }, "key": { "type": "string", "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", "location": "query" }, "oauth_token": { "type": "string", "description": "OAuth 2.0 token for the current user.", "location": "query" }, "prettyPrint": { "type": "boolean", "description": "Returns response with indentations and line breaks.", "default": "true", "location": "query" }, "quotaUser": { "type": "string", "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", "location": "query" }, "upload_protocol": { "type": "string", "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", "location": "query" }, "uploadType": { "type": "string", "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", "location": "query" }, "$.xgafv": { "type": "string", "description": "V1 error format.", "enum": [ "1", "2" ], "enumDescriptions": [ "v1 error format", "v2 error format" ], "location": "query" } }, "version": "v2" }