Module instance (2.21.0)

User-friendly container for Google Cloud Bigtable Instance.

Classes

Instance

Instance(
    instance_id, client, display_name=None, instance_type=None, labels=None, _state=None
)

Representation of a Google Cloud Bigtable Instance.

We can use an Instance to:

  • reload itself
  • create itself
  • update itself
  • delete itself
Parameters
NameDescription
instance_id str

The ID of the instance.

client Client

The client that owns the instance. Provides authorization and a project ID.

display_name str

(Optional) The display name for the instance in the Cloud Console UI. (Must be between 4 and 30 characters.) If this value is not set in the constructor, will fall back to the instance ID.

instance_type int

(Optional) The type of the instance. Possible values are represented by the following constants: :data:google.cloud.bigtable.enums.Instance.Type.PRODUCTION. :data:google.cloud.bigtable.enums.Instance.Type.DEVELOPMENT, Defaults to :data:google.cloud.bigtable.enums.Instance.Type.UNSPECIFIED.

labels dict

(Optional) 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. Maximum 64 labels can be associated with a given resource. Label values must be between 0 and 63 characters long. Keys and values must both be under 128 bytes.

_state int

(OutputOnly) The current state of the instance. Possible values are represented by the following constants: :data:google.cloud.bigtable.enums.Instance.State.STATE_NOT_KNOWN. :data:google.cloud.bigtable.enums.Instance.State.READY. :data:google.cloud.bigtable.enums.Instance.State.CREATING.