instance.display_name = 'My very own instance'
instance.create()
Check on Current Operation
NOTE: When modifying an instance (via aCreateInstancerequest), the Bigtable
API will return along-running operationand a correspondingOperationobject
will be returned bycreate().
You can check if a long-running operation (for acreate()has finished
by making aGetOperationrequest withOperation.finished():
NOTE: Once anOperationobject
has returnedTruefromfinished(), the
object should not be re-used. Subsequent calls tofinished()will result in aValueError.
Get metadata for an existing Instance
After creating the instance object, make aGetInstanceAPI request
withreload():
instance.reload()
This will loaddisplay_namefor the existinginstanceobject.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["Version latestkeyboard_arrow_down\n\n- [2.32.0 (latest)](/python/docs/reference/bigtable/latest/instance-api)\n- [2.31.0](/python/docs/reference/bigtable/2.31.0/instance-api)\n- [2.30.1](/python/docs/reference/bigtable/2.30.1/instance-api)\n- [2.29.0](/python/docs/reference/bigtable/2.29.0/instance-api)\n- [2.28.1](/python/docs/reference/bigtable/2.28.1/instance-api)\n- [2.26.0](/python/docs/reference/bigtable/2.26.0/instance-api)\n- [2.25.0](/python/docs/reference/bigtable/2.25.0/instance-api)\n- [2.24.0](/python/docs/reference/bigtable/2.24.0/instance-api)\n- [2.23.1](/python/docs/reference/bigtable/2.23.1/instance-api)\n- [2.22.0](/python/docs/reference/bigtable/2.22.0/instance-api)\n- [2.21.0](/python/docs/reference/bigtable/2.21.0/instance-api)\n- [2.20.0](/python/docs/reference/bigtable/2.20.0/instance-api)\n- [2.19.0](/python/docs/reference/bigtable/2.19.0/instance-api)\n- [2.18.1](/python/docs/reference/bigtable/2.18.1/instance-api)\n- [2.17.0](/python/docs/reference/bigtable/2.17.0/instance-api)\n- [2.16.0](/python/docs/reference/bigtable/2.16.0/instance-api)\n- [2.15.0](/python/docs/reference/bigtable/2.15.0/instance-api)\n- [2.14.1](/python/docs/reference/bigtable/2.14.1/instance-api)\n- [2.13.2](/python/docs/reference/bigtable/2.13.2/instance-api)\n- [2.12.0](/python/docs/reference/bigtable/2.12.0/instance-api)\n- [2.11.3](/python/docs/reference/bigtable/2.11.3/instance-api)\n- [2.10.1](/python/docs/reference/bigtable/2.10.1/instance-api)\n- [2.9.0](/python/docs/reference/bigtable/2.9.0/instance-api)\n- [2.8.1](/python/docs/reference/bigtable/2.8.1/instance-api)\n- [2.7.1](/python/docs/reference/bigtable/2.7.1/instance-api)\n- [2.6.0](/python/docs/reference/bigtable/2.6.0/instance-api)\n- [2.5.2](/python/docs/reference/bigtable/2.5.2/instance-api)\n- [2.4.0](/python/docs/reference/bigtable/2.4.0/instance-api)\n- [2.3.3](/python/docs/reference/bigtable/2.3.3/instance-api)\n- [2.2.0](/python/docs/reference/bigtable/2.2.0/instance-api)\n- [2.1.0](/python/docs/reference/bigtable/2.1.0/instance-api)\n- [2.0.0](/python/docs/reference/bigtable/2.0.0/instance-api)\n- [1.7.3](/python/docs/reference/bigtable/1.7.3/instance-api)\n- [1.6.1](/python/docs/reference/bigtable/1.6.1/instance-api)\n- [1.5.1](/python/docs/reference/bigtable/1.5.1/instance-api)\n- [1.4.0](/python/docs/reference/bigtable/1.4.0/instance-api)\n- [1.3.0](/python/docs/reference/bigtable/1.3.0/instance-api)\n- [1.2.1](/python/docs/reference/bigtable/1.2.1/instance-api)\n- [1.1.0](/python/docs/reference/bigtable/1.1.0/instance-api)\n- [1.0.0](/python/docs/reference/bigtable/1.0.0/instance-api)\n- [0.34.0](/python/docs/reference/bigtable/0.34.0/instance-api) \n\nInstance Admin API\n==================\n\nAfter creating a [`Client`](/python/docs/reference/bigtable/latest/client#google.cloud.bigtable.client.Client), you can\ninteract with individual instances for a project.\n\nList Instances\n--------------\n\nIf you want a comprehensive list of all existing instances, make a\n[ListInstances](https://googleapis.dev/python/bigtable/latest/instance-api.html#list-instances) API request with\n[`Client.list_instances()`](/python/docs/reference/bigtable/latest/client#google.cloud.bigtable.client.Client.list_instances): \n\n instances = client.list_instances()\n\nInstance Factory\n----------------\n\nTo create an [`Instance`](/python/docs/reference/bigtable/latest/instance#google.cloud.bigtable.instance.Instance) object: \n\n instance = client.instance(instance_id, display_name=display_name)\n\n- `display_name` is optional. When not provided, `display_name` defaults to the `instance_id` value.\n\nYou can also use `Client.instance()` to create a local wrapper for\ninstances that have already been created with the API, or through the web\nconsole: \n\n instance = client.instance(existing_instance_id)\n instance.reload()\n\nCreate a new Instance\n---------------------\n\nAfter creating the instance object, make a [CreateInstance](https://googleapis.dev/python/bigtable/latest/instance-api.html#create-a-new-instance) API request\nwith [`create()`](/python/docs/reference/bigtable/latest/instance#google.cloud.bigtable.instance.Instance.create): \n\n instance.display_name = 'My very own instance'\n instance.create()\n\nCheck on Current Operation\n--------------------------\n\n**NOTE** : When modifying an instance (via a [CreateInstance](https://googleapis.dev/python/bigtable/latest/instance-api.html#create-a-new-instance) request), the Bigtable\nAPI will return a [long-running operation](https://github.com/googleapis/googleapis/blob/main/google/longrunning/operations.proto#L128-L162) and a corresponding\n`Operation` object\nwill be returned by\n[`create()`](/python/docs/reference/bigtable/latest/instance#google.cloud.bigtable.instance.Instance.create).\n\nYou can check if a long-running operation (for a\n[`create()`](/python/docs/reference/bigtable/latest/instance#google.cloud.bigtable.instance.Instance.create) has finished\nby making a [GetOperation](https://googleapis.dev/python/bigtable/latest/instance-api.html#check-on-current-operation) request with\n`Operation.finished()`: \n\n \u003e\u003e\u003e operation = instance.create()\n \u003e\u003e\u003e operation.finished()\n True\n\n**NOTE** : Once an `Operation` object\nhas returned [`True`](https://docs.python.org/3/library/constants.html#True) from\n`finished()`, the\nobject should not be re-used. Subsequent calls to\n`finished()`\nwill result in a `ValueError`.\n\nGet metadata for an existing Instance\n-------------------------------------\n\nAfter creating the instance object, make a [GetInstance](https://googleapis.dev/python/bigtable/latest/instance-api.html#get-metadata-for-an-existing-instance) API request\nwith [`reload()`](/python/docs/reference/bigtable/latest/instance#google.cloud.bigtable.instance.Instance.reload): \n\n instance.reload()\n\nThis will load `display_name` for the existing `instance` object.\n\nUpdate an existing Instance\n---------------------------\n\nAfter creating the instance object, make an [UpdateInstance](https://googleapis.dev/python/bigtable/latest/instance-api.html#update-an-existing-instance) API request\nwith [`update()`](/python/docs/reference/bigtable/latest/instance#google.cloud.bigtable.instance.Instance.update): \n\n instance.display_name = 'New display_name'\n instance.update()\n\nDelete an existing Instance\n---------------------------\n\nMake a [DeleteInstance](https://googleapis.dev/python/bigtable/latest/instance-api.html#delete-an-existing-instance) API request with\n[`delete()`](/python/docs/reference/bigtable/latest/instance#google.cloud.bigtable.instance.Instance.delete): \n\n instance.delete()\n\nNext Step\n---------\n\nNow we go down the hierarchy from\n[`Instance`](/python/docs/reference/bigtable/latest/instance#google.cloud.bigtable.instance.Instance) to a\n[`Table`](/python/docs/reference/bigtable/latest/table#google.cloud.bigtable.table.Table).\n\nHead next to learn about the [Table Admin API](/python/docs/reference/bigtable/latest/table-api)."]]