NAME

Google::Bigtable::Admin::V2::Instance - Compiled Protocol Buffers messages for google/bigtable/admin/v2/instance.proto

SYNOPSIS

use Google::Bigtable::Admin::V2::Instance;

my $msg = Google::Bigtable::Admin::V2::Instance::Instance->new({
    name => $name,
    display_name => $display_name,
    state => $state,
    type => $type,
});

# Read or update a field
my $val = $msg->name();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Bigtable::Admin::V2::Instance::Instance->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/bigtable/admin/v2/instance.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Bigtable::Admin::V2::Instance::Instance

A collection of Bigtable [Tables][google.bigtable.admin.v2.Table] and the resources that serve them. All tables in an instance are served from all [Clusters][google.bigtable.admin.v2.Cluster] in the instance.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    The unique name of the instance. Values are of the form `projects/{project}/instances/[a-z][a-z0-9\\-]+[a-z0-9]`.

  • $msg->display_name() / $msg->display_name($value)

    Type: String

    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.

  • $msg->state() / $msg->state($value)

    Type: Enum (Google::Bigtable::Admin::V2::Instance::State)

    Output only. The current state of the instance.

  • $msg->type() / $msg->type($value)

    Type: Enum (Google::Bigtable::Admin::V2::Instance::Type)

    The type of the instance. Defaults to `PRODUCTION`.

  • $msg->edition() / $msg->edition($value)

    Type: Enum (Google::Bigtable::Admin::V2::Instance::Edition)

    Optional. The edition of the instance. See [Edition][google.bigtable.admin.v2.Instance.Edition] for details.

  • $msg->labels() / $msg->labels($value)

    Type: Message (Google::Bigtable::Admin::V2::Instance::Instance::LabelsEntry)

    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}][\p{Ll}\p{Lo}\p{N}_-]{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.

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    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`.

  • $msg->satisfies_pzs() / $msg->satisfies_pzs($value)

    Type: Bool

    Output only. Reserved for future use.

  • $msg->satisfies_pzi() / $msg->satisfies_pzi($value)

    Type: Bool

    Output only. Reserved for future use.

  • $msg->tags() / $msg->tags($value)

    Type: Message (Google::Bigtable::Admin::V2::Instance::Instance::TagsEntry)

    Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: - "123/environment": "production", - "123/costCenter": "marketing"

    Tags and Labels (above) are both used to bind metadata to resources, with different use-cases. See https://cloud.google.com/resource-manager/docs/tags/tags-overview for an in-depth overview on the difference between tags and labels.

Enum: Instance::State

  • STATE_NOT_KNOWN => 0

  • READY => 1

  • CREATING => 2

Enum: Instance::Type

  • TYPE_UNSPECIFIED => 0

  • PRODUCTION => 1

  • DEVELOPMENT => 2

Enum: Instance::Edition

  • EDITION_UNSPECIFIED => 0

  • ENTERPRISE => 1

  • ENTERPRISE_PLUS => 2

Google::Bigtable::Admin::V2::Instance::AutoscalingTargets

The Autoscaling targets for a Cluster. These determine the recommended nodes.

Inherits from Protobuf::Message.

Accessors

  • $msg->cpu_utilization_percent() / $msg->cpu_utilization_percent($value)

    Type: Int32

    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.

  • $msg->storage_utilization_gib_per_node() / $msg->storage_utilization_gib_per_node($value)

    Type: Int32

    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.

Google::Bigtable::Admin::V2::Instance::AutoscalingLimits

Limits for the number of nodes a Cluster can autoscale up/down to.

Inherits from Protobuf::Message.

Accessors

  • $msg->min_serve_nodes() / $msg->min_serve_nodes($value)

    Type: Int32

    Required. Minimum number of nodes to scale down to.

  • $msg->max_serve_nodes() / $msg->max_serve_nodes($value)

    Type: Int32

    Required. Maximum number of nodes to scale up to.

Google::Bigtable::Admin::V2::Instance::Cluster

A resizable group of nodes in a particular cloud location, capable of serving all [Tables][google.bigtable.admin.v2.Table] in the parent [Instance][google.bigtable.admin.v2.Instance].

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    The unique name of the cluster. Values are of the form `projects/{project}/instances/{instance}/clusters/[a-z][-a-z0-9]*`.

  • $msg->location() / $msg->location($value)

    Type: String

    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}`.

  • $msg->state() / $msg->state($value)

    Type: Enum (Google::Bigtable::Admin::V2::Cluster::State)

    Output only. The current state of the cluster.

  • $msg->serve_nodes() / $msg->serve_nodes($value)

    Type: Int32

    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.

  • $msg->node_scaling_factor() / $msg->node_scaling_factor($value)

    Type: Enum (Google::Bigtable::Admin::V2::Cluster::NodeScalingFactor)

    Immutable. The node scaling factor of this cluster.

  • $msg->cluster_config() / $msg->cluster_config($value)

    Type: Message (Google::Bigtable::Admin::V2::Instance::Cluster::ClusterConfig)

    Configuration for this cluster.

  • $msg->default_storage_type() / $msg->default_storage_type($value)

    Type: Enum (Google::Bigtable::Admin::V2::StorageType)

    Immutable. The type of storage used by this cluster to serve its parent instance's tables, unless explicitly overridden.

  • $msg->encryption_config() / $msg->encryption_config($value)

    Type: Message (Google::Bigtable::Admin::V2::Instance::Cluster::EncryptionConfig)

    Immutable. The encryption configuration for CMEK-protected clusters.

Enum: Cluster::State

  • STATE_NOT_KNOWN => 0

  • READY => 1

  • CREATING => 2

  • RESIZING => 3

  • DISABLED => 4

Enum: Cluster::NodeScalingFactor

  • NODE_SCALING_FACTOR_UNSPECIFIED => 0

  • NODE_SCALING_FACTOR_1X => 1

  • NODE_SCALING_FACTOR_2X => 2

Google::Bigtable::Admin::V2::Instance::MemoryLayer

The memory layer of a cluster. A memory layer serves reads from memory without hitting the backing persistent data store.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Identifier. Name of the memory layer. This is always: "projects/{project}/instances/{instance}/clusters/{cluster}/memoryLayer".

  • $msg->memory_config() / $msg->memory_config($value)

    Type: Message (Google::Bigtable::Admin::V2::Instance::MemoryLayer::MemoryConfig)

    The configuration of this memory layer. Set an empty `memory_config` to enable the memory layer. Unset this to disable the memory layer.

  • $msg->etag() / $msg->etag($value)

    Type: String

    Optional. The etag for this memory layer. This may be sent on update requests to ensure that the client has an up-to-date value before proceeding. The server returns an ABORTED error on a mismatched etag.

  • $msg->state() / $msg->state($value)

    Type: Enum (Google::Bigtable::Admin::V2::MemoryLayer::State)

    Output only. The current state of the memory layer.

Enum: MemoryLayer::State

  • STATE_NOT_KNOWN => 0

  • READY => 1

  • ENABLING => 2

  • RESIZING => 3

  • DISABLED => 4

Google::Bigtable::Admin::V2::Instance::AppProfile

A configuration object describing how Cloud Bigtable should treat traffic from a particular end user application.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    The unique name of the app profile. Values are of the form `projects/{project}/instances/{instance}/appProfiles/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.

  • $msg->etag() / $msg->etag($value)

    Type: String

    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.

  • $msg->description() / $msg->description($value)

    Type: String

    Long form description of the use case for this AppProfile.

  • $msg->multi_cluster_routing_use_any() / $msg->multi_cluster_routing_use_any($value)

    Type: Message (Google::Bigtable::Admin::V2::Instance::AppProfile::MultiClusterRoutingUseAny)

    Use a multi-cluster routing policy.

  • $msg->single_cluster_routing() / $msg->single_cluster_routing($value)

    Type: Message (Google::Bigtable::Admin::V2::Instance::AppProfile::SingleClusterRouting)

    Use a single-cluster routing policy.

  • $msg->priority() / $msg->priority($value)

    Type: Enum (Google::Bigtable::Admin::V2::AppProfile::Priority)

    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.

  • $msg->standard_isolation() / $msg->standard_isolation($value)

    Type: Message (Google::Bigtable::Admin::V2::Instance::AppProfile::StandardIsolation)

    The standard options used for isolating this app profile's traffic from other use cases.

  • $msg->data_boost_isolation_read_only() / $msg->data_boost_isolation_read_only($value)

    Type: Message (Google::Bigtable::Admin::V2::Instance::AppProfile::DataBoostIsolationReadOnly)

    Specifies that this app profile is intended for read-only usage via the Data Boost feature.

Enum: AppProfile::Priority

  • PRIORITY_UNSPECIFIED => 0

  • PRIORITY_LOW => 1

  • PRIORITY_MEDIUM => 2

  • PRIORITY_HIGH => 3

Google::Bigtable::Admin::V2::Instance::HotTablet

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.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    The unique name of the hot tablet. Values are of the form `projects/{project}/instances/{instance}/clusters/{cluster}/hotTablets/[a-zA-Z0-9_-]*`.

  • $msg->table_name() / $msg->table_name($value)

    Type: String

    Name of the table that contains the tablet. Values are of the form `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.

  • $msg->start_time() / $msg->start_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The start time of the hot tablet.

  • $msg->end_time() / $msg->end_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The end time of the hot tablet.

  • $msg->start_key() / $msg->start_key($value)

    Type: String

    Tablet Start Key (inclusive).

  • $msg->end_key() / $msg->end_key($value)

    Type: String

    Tablet End Key (inclusive).

  • $msg->node_cpu_usage_percent() / $msg->node_cpu_usage_percent($value)

    Type: Float

    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).

Google::Bigtable::Admin::V2::Instance::LogicalView

A SQL logical view object that can be referenced in SQL queries.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Identifier. The unique name of the logical view. Format: `projects/{project}/instances/{instance}/logicalViews/{logical_view}`

  • $msg->query() / $msg->query($value)

    Type: String

    Required. The logical view's select query.

  • $msg->etag() / $msg->etag($value)

    Type: String

    Optional. The etag for this logical view. This may be sent on update requests to ensure that the client has an up-to-date value before proceeding. The server returns an ABORTED error on a mismatched etag.

  • $msg->deletion_protection() / $msg->deletion_protection($value)

    Type: Bool

    Optional. Set to true to make the LogicalView protected against deletion.

Google::Bigtable::Admin::V2::Instance::MaterializedView

A materialized view object that can be referenced in SQL queries.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Identifier. The unique name of the materialized view. Format: `projects/{project}/instances/{instance}/materializedViews/{materialized_view}`

  • $msg->query() / $msg->query($value)

    Type: String

    Required. Immutable. The materialized view's select query.

  • $msg->etag() / $msg->etag($value)

    Type: String

    Optional. The etag for this materialized view. This may be sent on update requests to ensure that the client has an up-to-date value before proceeding. The server returns an ABORTED error on a mismatched etag.

  • $msg->deletion_protection() / $msg->deletion_protection($value)

    Type: Bool

    Set to true to make the MaterializedView protected against deletion.

SEE ALSO

Protobuf, Protobuf::Message, Google::Bigtable::Admin::V2::Instance::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.