Service Client: Google::Bigtable::Admin::V2::BigtableTableAdmin::BigtableTableAdminClient
Client stub representing the remote BigtableTableAdmin gRPC service. Delegates call dispatching to Google::gRPC::Client.
target
The endpoint target address. Defaults to bigtable.googleapis.com:443.
credentials
The authentication credentials provider. Defaults to application default credentials via Google::Auth.
NAME
Google::Bigtable::Admin::V2::BigtableTableAdmin - Compiled Protocol Buffers messages for google/bigtable/admin/v2/bigtable_table_admin.proto
SYNOPSIS
use Google::Bigtable::Admin::V2::BigtableTableAdmin;
my $msg = Google::Bigtable::Admin::V2::BigtableTableAdmin::RestoreTableRequest->new({
parent => $parent,
table_id => $table_id,
backup => $backup,
});
# Read or update a field
my $val = $msg->parent();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Bigtable::Admin::V2::BigtableTableAdmin::RestoreTableRequest->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/bigtable/admin/v2/bigtable_table_admin.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::BigtableTableAdmin::RestoreTableRequest
The request for [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The name of the instance in which to create the restored table. Values are of the form `projects/<project>/instances/<instance>`.
$msg->table_id()/$msg->table_id($value)Type:
StringRequired. 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/<project>/instances/<instance>/tables/<table_id>`.
$msg->backup()/$msg->backup($value)Type:
StringName of the backup from which to restore. Values are of the form `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
Google::Bigtable::Admin::V2::BigtableTableAdmin::RestoreTableMetadata
Metadata type for the long-running operation returned by [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringName of the table being created and restored to.
$msg->source_type()/$msg->source_type($value)Type:
Enum(Google::Bigtable::Admin::V2::RestoreSourceType)The type of the restore source.
$msg->backup_info()/$msg->backup_info($value)Type:
Message(Google::Bigtable::Admin::V2::Table::BackupInfo)$msg->optimize_table_operation_name()/$msg->optimize_table_operation_name($value)Type:
StringIf 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][google.protobuf.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.
$msg->progress()/$msg->progress($value)Type:
Message(Google::Bigtable::Admin::V2::Common::OperationProgress)The progress of the [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable] operation.
Google::Bigtable::Admin::V2::BigtableTableAdmin::OptimizeRestoredTableMetadata
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.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringName of the restored table being optimized.
$msg->progress()/$msg->progress($value)Type:
Message(Google::Bigtable::Admin::V2::Common::OperationProgress)The progress of the post-restore optimizations.
Google::Bigtable::Admin::V2::BigtableTableAdmin::CreateTableRequest
Request message for [google.bigtable.admin.v2.BigtableTableAdmin.CreateTable][google.bigtable.admin.v2.BigtableTableAdmin.CreateTable]
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The unique name of the instance in which to create the table. Values are of the form `projects/{project}/instances/{instance}`.
$msg->table_id()/$msg->table_id($value)Type:
StringRequired. 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.
$msg->table()/$msg->table($value)Type:
Message(Google::Bigtable::Admin::V2::Table::Table)Required. The Table to create.
$msg->initial_splits()/$msg->initial_splits($value)Type:
Message(Google::Bigtable::Admin::V2::BigtableTableAdmin::CreateTableRequest::Split)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) => {"a"}.` - Tablet 2 `[apple, customer_1) => {"apple", "custom"}.` - Tablet 3 `[customer_1, customer_2) => {"customer_1"}.` - Tablet 4 `[customer_2, other) => {"customer_2"}.` - Tablet 5 `[other, ) => {"other", "zz"}.`
Google::Bigtable::Admin::V2::BigtableTableAdmin::CreateTableFromSnapshotRequest
Request message for [google.bigtable.admin.v2.BigtableTableAdmin.CreateTableFromSnapshot][google.bigtable.admin.v2.BigtableTableAdmin.CreateTableFromSnapshot]
Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The unique name of the instance in which to create the table. Values are of the form `projects/{project}/instances/{instance}`.
$msg->table_id()/$msg->table_id($value)Type:
StringRequired. The name by which the new table should be referred to within the parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
$msg->source_snapshot()/$msg->source_snapshot($value)Type:
StringRequired. The unique name of the snapshot from which to restore the table. The snapshot and the table must be in the same instance. Values are of the form `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
Google::Bigtable::Admin::V2::BigtableTableAdmin::DropRowRangeRequest
Request message for [google.bigtable.admin.v2.BigtableTableAdmin.DropRowRange][google.bigtable.admin.v2.BigtableTableAdmin.DropRowRange]
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. 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}`.
$msg->row_key_prefix()/$msg->row_key_prefix($value)Type:
BytesDelete all rows that start with this row key prefix. Prefix cannot be zero length.
$msg->delete_all_data_from_table()/$msg->delete_all_data_from_table($value)Type:
BoolDelete all rows in the table. Setting this to false is a no-op.
Google::Bigtable::Admin::V2::BigtableTableAdmin::ListTablesRequest
Request message for [google.bigtable.admin.v2.BigtableTableAdmin.ListTables][google.bigtable.admin.v2.BigtableTableAdmin.ListTables]
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The unique name of the instance for which tables should be listed. Values are of the form `projects/{project}/instances/{instance}`.
$msg->view()/$msg->view($value)Type:
Enum(Google::Bigtable::Admin::V2::Table::View)The view to be applied to the returned tables' fields. NAME_ONLY view (default) and REPLICATION_VIEW are supported.
$msg->page_size()/$msg->page_size($value)Type:
Int32Maximum 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.
$msg->page_token()/$msg->page_token($value)Type:
StringThe value of `next_page_token` returned by a previous call.
Google::Bigtable::Admin::V2::BigtableTableAdmin::ListTablesResponse
Response message for [google.bigtable.admin.v2.BigtableTableAdmin.ListTables][google.bigtable.admin.v2.BigtableTableAdmin.ListTables]
Inherits from Protobuf::Message.
Accessors
$msg->tables()/$msg->tables($value)Type:
Message(Google::Bigtable::Admin::V2::Table::Table)The tables present in the requested instance.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringSet 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.
Google::Bigtable::Admin::V2::BigtableTableAdmin::GetTableRequest
Request message for [google.bigtable.admin.v2.BigtableTableAdmin.GetTable][google.bigtable.admin.v2.BigtableTableAdmin.GetTable]
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The unique name of the requested table. Values are of the form `projects/{project}/instances/{instance}/tables/{table}`.
$msg->view()/$msg->view($value)Type:
Enum(Google::Bigtable::Admin::V2::Table::View)The view to be applied to the returned table's fields. Defaults to `SCHEMA_VIEW` if unspecified.
Google::Bigtable::Admin::V2::BigtableTableAdmin::UpdateTableRequest
The request for [UpdateTable][google.bigtable.admin.v2.BigtableTableAdmin.UpdateTable].
Inherits from Protobuf::Message.
Accessors
$msg->table()/$msg->table($value)Type:
Message(Google::Bigtable::Admin::V2::Table::Table)Required. The table to update. The table's `name` field is used to identify the table to update.
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)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` * `row_key_schema`
If `column_families` is set in `update_mask`, it will return an UNIMPLEMENTED error.
$msg->ignore_warnings()/$msg->ignore_warnings($value)Type:
BoolOptional. If true, ignore safety checks when updating the table.
Google::Bigtable::Admin::V2::BigtableTableAdmin::UpdateTableMetadata
Metadata type for the operation returned by [UpdateTable][google.bigtable.admin.v2.BigtableTableAdmin.UpdateTable].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringThe name of the table being updated.
$msg->start_time()/$msg->start_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The time at which this operation started.
$msg->end_time()/$msg->end_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)If set, the time at which this operation finished or was canceled.
Google::Bigtable::Admin::V2::BigtableTableAdmin::DeleteTableRequest
Request message for [google.bigtable.admin.v2.BigtableTableAdmin.DeleteTable][google.bigtable.admin.v2.BigtableTableAdmin.DeleteTable]
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The unique name of the table to be deleted. Values are of the form `projects/{project}/instances/{instance}/tables/{table}`.
Google::Bigtable::Admin::V2::BigtableTableAdmin::UndeleteTableRequest
Request message for [google.bigtable.admin.v2.BigtableTableAdmin.UndeleteTable][google.bigtable.admin.v2.BigtableTableAdmin.UndeleteTable]
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The unique name of the table to be restored. Values are of the form `projects/{project}/instances/{instance}/tables/{table}`.
Google::Bigtable::Admin::V2::BigtableTableAdmin::UndeleteTableMetadata
Metadata type for the operation returned by [google.bigtable.admin.v2.BigtableTableAdmin.UndeleteTable][google.bigtable.admin.v2.BigtableTableAdmin.UndeleteTable].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringThe name of the table being restored.
$msg->start_time()/$msg->start_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The time at which this operation started.
$msg->end_time()/$msg->end_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)If set, the time at which this operation finished or was cancelled.
Google::Bigtable::Admin::V2::BigtableTableAdmin::ModifyColumnFamiliesRequest
Request message for [google.bigtable.admin.v2.BigtableTableAdmin.ModifyColumnFamilies][google.bigtable.admin.v2.BigtableTableAdmin.ModifyColumnFamilies]
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The unique name of the table whose families should be modified. Values are of the form `projects/{project}/instances/{instance}/tables/{table}`.
$msg->modifications()/$msg->modifications($value)Type:
Message(Google::Bigtable::Admin::V2::BigtableTableAdmin::ModifyColumnFamiliesRequest::Modification)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).
$msg->ignore_warnings()/$msg->ignore_warnings($value)Type:
BoolOptional. If true, ignore safety checks when modifying the column families.
Google::Bigtable::Admin::V2::BigtableTableAdmin::GenerateConsistencyTokenRequest
Request message for [google.bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken][google.bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken]
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The unique name of the Table for which to create a consistency token. Values are of the form `projects/{project}/instances/{instance}/tables/{table}`.
Google::Bigtable::Admin::V2::BigtableTableAdmin::GenerateConsistencyTokenResponse
Response message for [google.bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken][google.bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken]
Inherits from Protobuf::Message.
Accessors
$msg->consistency_token()/$msg->consistency_token($value)Type:
StringThe generated consistency token.
Google::Bigtable::Admin::V2::BigtableTableAdmin::CheckConsistencyRequest
Request message for [google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency][google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency]
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The unique name of the Table for which to check replication consistency. Values are of the form `projects/{project}/instances/{instance}/tables/{table}`.
$msg->consistency_token()/$msg->consistency_token($value)Type:
StringRequired. The token created using GenerateConsistencyToken for the Table.
$msg->standard_read_remote_writes()/$msg->standard_read_remote_writes($value)Type:
Message(Google::Bigtable::Admin::V2::BigtableTableAdmin::StandardReadRemoteWrites)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.
$msg->data_boost_read_local_writes()/$msg->data_boost_read_local_writes($value)Type:
Message(Google::Bigtable::Admin::V2::BigtableTableAdmin::DataBoostReadLocalWrites)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.
Google::Bigtable::Admin::V2::BigtableTableAdmin::StandardReadRemoteWrites
Checks that all writes before the consistency token was generated are replicated in every cluster and readable.
Inherits from Protobuf::Message.
Google::Bigtable::Admin::V2::BigtableTableAdmin::DataBoostReadLocalWrites
Checks that all writes before the consistency token was generated in the same cluster are readable by Databoost.
Inherits from Protobuf::Message.
Google::Bigtable::Admin::V2::BigtableTableAdmin::CheckConsistencyResponse
Response message for [google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency][google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency]
Inherits from Protobuf::Message.
Accessors
$msg->consistent()/$msg->consistent($value)Type:
BoolTrue only if the token is consistent. A token is consistent if replication has caught up with the restrictions specified in the request.
Google::Bigtable::Admin::V2::BigtableTableAdmin::SnapshotTableRequest
Request message for [google.bigtable.admin.v2.BigtableTableAdmin.SnapshotTable][google.bigtable.admin.v2.BigtableTableAdmin.SnapshotTable]
Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The unique name of the table to have the snapshot taken. Values are of the form `projects/{project}/instances/{instance}/tables/{table}`.
$msg->cluster()/$msg->cluster($value)Type:
StringRequired. The name of the cluster where the snapshot will be created in. Values are of the form `projects/{project}/instances/{instance}/clusters/{cluster}`.
$msg->snapshot_id()/$msg->snapshot_id($value)Type:
StringRequired. The ID by which the new snapshot should be referred to within the parent cluster, e.g., `mysnapshot` of the form: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*` rather than `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/mysnapshot`.
$msg->ttl()/$msg->ttl($value)Type:
Message(Google::Protobuf::Duration::Duration)The amount of time that the new snapshot can stay active after it is created. Once 'ttl' expires, the snapshot will get deleted. The maximum amount of time a snapshot can stay active is 7 days. If 'ttl' is not specified, the default value of 24 hours will be used.
$msg->description()/$msg->description($value)Type:
StringDescription of the snapshot.
Google::Bigtable::Admin::V2::BigtableTableAdmin::GetSnapshotRequest
Request message for [google.bigtable.admin.v2.BigtableTableAdmin.GetSnapshot][google.bigtable.admin.v2.BigtableTableAdmin.GetSnapshot]
Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The unique name of the requested snapshot. Values are of the form `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
Google::Bigtable::Admin::V2::BigtableTableAdmin::ListSnapshotsRequest
Request message for [google.bigtable.admin.v2.BigtableTableAdmin.ListSnapshots][google.bigtable.admin.v2.BigtableTableAdmin.ListSnapshots]
Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The unique name of the cluster for which snapshots should be listed. Values are of the form `projects/{project}/instances/{instance}/clusters/{cluster}`. Use `{cluster} = '-'` to list snapshots for all clusters in an instance, e.g., `projects/{project}/instances/{instance}/clusters/-`.
$msg->page_size()/$msg->page_size($value)Type:
Int32The maximum number of snapshots to return per page. CURRENTLY UNIMPLEMENTED AND IGNORED.
$msg->page_token()/$msg->page_token($value)Type:
StringThe value of `next_page_token` returned by a previous call.
Google::Bigtable::Admin::V2::BigtableTableAdmin::ListSnapshotsResponse
Response message for [google.bigtable.admin.v2.BigtableTableAdmin.ListSnapshots][google.bigtable.admin.v2.BigtableTableAdmin.ListSnapshots]
Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.
Inherits from Protobuf::Message.
Accessors
$msg->snapshots()/$msg->snapshots($value)Type:
Message(Google::Bigtable::Admin::V2::Table::Snapshot)The snapshots present in the requested cluster.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringSet if not all snapshots could be returned in a single response. Pass this value to `page_token` in another request to get the next page of results.
Google::Bigtable::Admin::V2::BigtableTableAdmin::DeleteSnapshotRequest
Request message for [google.bigtable.admin.v2.BigtableTableAdmin.DeleteSnapshot][google.bigtable.admin.v2.BigtableTableAdmin.DeleteSnapshot]
Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The unique name of the snapshot to be deleted. Values are of the form `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
Google::Bigtable::Admin::V2::BigtableTableAdmin::SnapshotTableMetadata
The metadata for the Operation returned by SnapshotTable.
Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.
Inherits from Protobuf::Message.
Accessors
$msg->original_request()/$msg->original_request($value)Type:
Message(Google::Bigtable::Admin::V2::BigtableTableAdmin::SnapshotTableRequest)The request that prompted the initiation of this SnapshotTable operation.
$msg->request_time()/$msg->request_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The time at which the original request was received.
$msg->finish_time()/$msg->finish_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The time at which the operation failed or was completed successfully.
Google::Bigtable::Admin::V2::BigtableTableAdmin::CreateTableFromSnapshotMetadata
The metadata for the Operation returned by CreateTableFromSnapshot.
Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.
Inherits from Protobuf::Message.
Accessors
$msg->original_request()/$msg->original_request($value)Type:
Message(Google::Bigtable::Admin::V2::BigtableTableAdmin::CreateTableFromSnapshotRequest)The request that prompted the initiation of this CreateTableFromSnapshot operation.
$msg->request_time()/$msg->request_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The time at which the original request was received.
$msg->finish_time()/$msg->finish_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The time at which the operation failed or was completed successfully.
Google::Bigtable::Admin::V2::BigtableTableAdmin::CreateBackupRequest
The request for [CreateBackup][google.bigtable.admin.v2.BigtableTableAdmin.CreateBackup].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. 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}`.
$msg->backup_id()/$msg->backup_id($value)Type:
StringRequired. 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][-_.a-zA-Z0-9]*.
$msg->backup()/$msg->backup($value)Type:
Message(Google::Bigtable::Admin::V2::Table::Backup)Required. The backup to create.
Google::Bigtable::Admin::V2::BigtableTableAdmin::CreateBackupMetadata
Metadata type for the operation returned by [CreateBackup][google.bigtable.admin.v2.BigtableTableAdmin.CreateBackup].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringThe name of the backup being created.
$msg->source_table()/$msg->source_table($value)Type:
StringThe name of the table the backup is created from.
$msg->start_time()/$msg->start_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The time at which this operation started.
$msg->end_time()/$msg->end_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)If set, the time at which this operation finished or was cancelled.
Google::Bigtable::Admin::V2::BigtableTableAdmin::UpdateBackupRequest
The request for [UpdateBackup][google.bigtable.admin.v2.BigtableTableAdmin.UpdateBackup].
Inherits from Protobuf::Message.
Accessors
$msg->backup()/$msg->backup($value)Type:
Message(Google::Bigtable::Admin::V2::Table::Backup)Required. The backup to update. `backup.name`, and the fields to be updated as specified by `update_mask` are required. Other fields are ignored. Update is only supported for the following fields:
* `backup.expire_time`.$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)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.
Google::Bigtable::Admin::V2::BigtableTableAdmin::GetBackupRequest
The request for [GetBackup][google.bigtable.admin.v2.BigtableTableAdmin.GetBackup].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the backup. Values are of the form `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
Google::Bigtable::Admin::V2::BigtableTableAdmin::DeleteBackupRequest
The request for [DeleteBackup][google.bigtable.admin.v2.BigtableTableAdmin.DeleteBackup].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the backup to delete. Values are of the form `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
Google::Bigtable::Admin::V2::BigtableTableAdmin::ListBackupsRequest
The request for [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. 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/-`.
$msg->filter()/$msg->filter($value)Type:
StringA 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 <, >, <=, >=, !=, =, 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"` --> The backup's name is the string "exact". * `name:howl` --> The backup's name contains the string "howl". * `source_table:prod` --> The source_table's name contains the string "prod". * `state:CREATING` --> The backup is pending creation. * `state:READY` --> The backup is fully created and ready for use. * `(name:howl) AND (start_time < \"2018-03-28T14:50:00Z\")` --> The backup name contains the string "howl" and start_time of the backup is before 2018-03-28T14:50:00Z. * `size_bytes > 10000000000` --> The backup's size is greater than 10GB
$msg->order_by()/$msg->order_by($value)Type:
StringAn expression for specifying the sort order of the results of the request. The string value should specify one or more fields in [Backup][google.bigtable.admin.v2.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.
$msg->page_size()/$msg->page_size($value)Type:
Int32Number of backups to be returned in the response. If 0 or less, defaults to the server's maximum allowed page size.
$msg->page_token()/$msg->page_token($value)Type:
StringIf non-empty, `page_token` should contain a [next_page_token][google.bigtable.admin.v2.ListBackupsResponse.next_page_token] from a previous [ListBackupsResponse][google.bigtable.admin.v2.ListBackupsResponse] to the same `parent` and with the same `filter`.
Google::Bigtable::Admin::V2::BigtableTableAdmin::ListBackupsResponse
The response for [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups].
Inherits from Protobuf::Message.
Accessors
$msg->backups()/$msg->backups($value)Type:
Message(Google::Bigtable::Admin::V2::Table::Backup)The list of matching backups.
$msg->next_page_token()/$msg->next_page_token($value)Type:
String`next_page_token` can be sent in a subsequent [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups] call to fetch more of the matching backups.
Google::Bigtable::Admin::V2::BigtableTableAdmin::CopyBackupRequest
The request for [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The name of the destination cluster that will contain the backup copy. The cluster must already exist. Values are of the form: `projects/{project}/instances/{instance}/clusters/{cluster}`.
$msg->backup_id()/$msg->backup_id($value)Type:
StringRequired. 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][-_.a-zA-Z0-9]*.
$msg->source_backup()/$msg->source_backup($value)Type:
StringRequired. 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/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
$msg->expire_time()/$msg->expire_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)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.
Google::Bigtable::Admin::V2::BigtableTableAdmin::CopyBackupMetadata
Metadata type for the google.longrunning.Operation returned by [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringThe name of the backup being created through the copy operation. Values are of the form `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
$msg->source_backup_info()/$msg->source_backup_info($value)Type:
Message(Google::Bigtable::Admin::V2::Table::BackupInfo)Information about the source backup that is being copied from.
$msg->progress()/$msg->progress($value)Type:
Message(Google::Bigtable::Admin::V2::Common::OperationProgress)The progress of the [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup] operation.
Google::Bigtable::Admin::V2::BigtableTableAdmin::CreateAuthorizedViewRequest
The request for [CreateAuthorizedView][google.bigtable.admin.v2.BigtableTableAdmin.CreateAuthorizedView]
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. This is the name of the table the AuthorizedView belongs to. Values are of the form `projects/{project}/instances/{instance}/tables/{table}`.
$msg->authorized_view_id()/$msg->authorized_view_id($value)Type:
StringRequired. 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}`.
$msg->authorized_view()/$msg->authorized_view($value)Type:
Message(Google::Bigtable::Admin::V2::Table::AuthorizedView)Required. The AuthorizedView to create.
Google::Bigtable::Admin::V2::BigtableTableAdmin::CreateAuthorizedViewMetadata
The metadata for the Operation returned by CreateAuthorizedView.
Inherits from Protobuf::Message.
Accessors
$msg->original_request()/$msg->original_request($value)Type:
Message(Google::Bigtable::Admin::V2::BigtableTableAdmin::CreateAuthorizedViewRequest)The request that prompted the initiation of this CreateAuthorizedView operation.
$msg->request_time()/$msg->request_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The time at which the original request was received.
$msg->finish_time()/$msg->finish_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The time at which the operation failed or was completed successfully.
Google::Bigtable::Admin::V2::BigtableTableAdmin::ListAuthorizedViewsRequest
Request message for [google.bigtable.admin.v2.BigtableTableAdmin.ListAuthorizedViews][google.bigtable.admin.v2.BigtableTableAdmin.ListAuthorizedViews]
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The unique name of the table for which AuthorizedViews should be listed. Values are of the form `projects/{project}/instances/{instance}/tables/{table}`.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. 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.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. The value of `next_page_token` returned by a previous call.
$msg->view()/$msg->view($value)Type:
Enum(Google::Bigtable::Admin::V2::AuthorizedView::ResponseView)Optional. The resource_view to be applied to the returned AuthorizedViews' fields. Default to NAME_ONLY.
Google::Bigtable::Admin::V2::BigtableTableAdmin::ListAuthorizedViewsResponse
Response message for [google.bigtable.admin.v2.BigtableTableAdmin.ListAuthorizedViews][google.bigtable.admin.v2.BigtableTableAdmin.ListAuthorizedViews]
Inherits from Protobuf::Message.
Accessors
$msg->authorized_views()/$msg->authorized_views($value)Type:
Message(Google::Bigtable::Admin::V2::Table::AuthorizedView)The AuthorizedViews present in the requested table.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringSet 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.
Google::Bigtable::Admin::V2::BigtableTableAdmin::GetAuthorizedViewRequest
Request message for [google.bigtable.admin.v2.BigtableTableAdmin.GetAuthorizedView][google.bigtable.admin.v2.BigtableTableAdmin.GetAuthorizedView]
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The unique name of the requested AuthorizedView. Values are of the form `projects/{project}/instances/{instance}/tables/{table}/authorizedViews/{authorized_view}`.
$msg->view()/$msg->view($value)Type:
Enum(Google::Bigtable::Admin::V2::AuthorizedView::ResponseView)Optional. The resource_view to be applied to the returned AuthorizedView's fields. Default to BASIC.
Google::Bigtable::Admin::V2::BigtableTableAdmin::UpdateAuthorizedViewRequest
The request for [UpdateAuthorizedView][google.bigtable.admin.v2.BigtableTableAdmin.UpdateAuthorizedView].
Inherits from Protobuf::Message.
Accessors
$msg->authorized_view()/$msg->authorized_view($value)Type:
Message(Google::Bigtable::Admin::V2::Table::AuthorizedView)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}`.
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)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).
$msg->ignore_warnings()/$msg->ignore_warnings($value)Type:
BoolOptional. If true, ignore the safety checks when updating the AuthorizedView.
Google::Bigtable::Admin::V2::BigtableTableAdmin::UpdateAuthorizedViewMetadata
Metadata for the google.longrunning.Operation returned by [UpdateAuthorizedView][google.bigtable.admin.v2.BigtableTableAdmin.UpdateAuthorizedView].
Inherits from Protobuf::Message.
Accessors
$msg->original_request()/$msg->original_request($value)Type:
Message(Google::Bigtable::Admin::V2::BigtableTableAdmin::UpdateAuthorizedViewRequest)The request that prompted the initiation of this UpdateAuthorizedView operation.
$msg->request_time()/$msg->request_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The time at which the original request was received.
$msg->finish_time()/$msg->finish_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The time at which the operation failed or was completed successfully.
Google::Bigtable::Admin::V2::BigtableTableAdmin::DeleteAuthorizedViewRequest
Request message for [google.bigtable.admin.v2.BigtableTableAdmin.DeleteAuthorizedView][google.bigtable.admin.v2.BigtableTableAdmin.DeleteAuthorizedView]
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The unique name of the AuthorizedView to be deleted. Values are of the form `projects/{project}/instances/{instance}/tables/{table}/authorizedViews/{authorized_view}`.
$msg->etag()/$msg->etag($value)Type:
StringOptional. 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.
Google::Bigtable::Admin::V2::BigtableTableAdmin::CreateSchemaBundleRequest
The request for [CreateSchemaBundle][google.bigtable.admin.v2.BigtableTableAdmin.CreateSchemaBundle].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent resource where this schema bundle will be created. Values are of the form `projects/{project}/instances/{instance}/tables/{table}`.
$msg->schema_bundle_id()/$msg->schema_bundle_id($value)Type:
StringRequired. The unique ID to use for the schema bundle, which will become the final component of the schema bundle's resource name.
$msg->schema_bundle()/$msg->schema_bundle($value)Type:
Message(Google::Bigtable::Admin::V2::Table::SchemaBundle)Required. The schema bundle to create.
Google::Bigtable::Admin::V2::BigtableTableAdmin::CreateSchemaBundleMetadata
The metadata for the Operation returned by [CreateSchemaBundle][google.bigtable.admin.v2.BigtableTableAdmin.CreateSchemaBundle].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringThe unique name identifying this schema bundle. Values are of the form `projects/{project}/instances/{instance}/tables/{table}/schemaBundles/{schema_bundle}`
$msg->start_time()/$msg->start_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The time at which this operation started.
$msg->end_time()/$msg->end_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)If set, the time at which this operation finished or was canceled.
Google::Bigtable::Admin::V2::BigtableTableAdmin::UpdateSchemaBundleRequest
The request for [UpdateSchemaBundle][google.bigtable.admin.v2.BigtableTableAdmin.UpdateSchemaBundle].
Inherits from Protobuf::Message.
Accessors
$msg->schema_bundle()/$msg->schema_bundle($value)Type:
Message(Google::Bigtable::Admin::V2::Table::SchemaBundle)Required. The schema bundle to update.
The schema bundle's `name` field is used to identify the schema bundle to update. Values are of the form `projects/{project}/instances/{instance}/tables/{table}/schemaBundles/{schema_bundle}`
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Optional. The list of fields to update.
$msg->ignore_warnings()/$msg->ignore_warnings($value)Type:
BoolOptional. If set, ignore the safety checks when updating the Schema Bundle. The safety checks are: - The new Schema Bundle is backwards compatible with the existing Schema Bundle.
Google::Bigtable::Admin::V2::BigtableTableAdmin::UpdateSchemaBundleMetadata
The metadata for the Operation returned by [UpdateSchemaBundle][google.bigtable.admin.v2.BigtableTableAdmin.UpdateSchemaBundle].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringThe unique name identifying this schema bundle. Values are of the form `projects/{project}/instances/{instance}/tables/{table}/schemaBundles/{schema_bundle}`
$msg->start_time()/$msg->start_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The time at which this operation started.
$msg->end_time()/$msg->end_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)If set, the time at which this operation finished or was canceled.
Google::Bigtable::Admin::V2::BigtableTableAdmin::GetSchemaBundleRequest
The request for [GetSchemaBundle][google.bigtable.admin.v2.BigtableTableAdmin.GetSchemaBundle].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The unique name of the schema bundle to retrieve. Values are of the form `projects/{project}/instances/{instance}/tables/{table}/schemaBundles/{schema_bundle}`
Google::Bigtable::Admin::V2::BigtableTableAdmin::ListSchemaBundlesRequest
The request for [ListSchemaBundles][google.bigtable.admin.v2.BigtableTableAdmin.ListSchemaBundles].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent, which owns this collection of schema bundles. Values are of the form `projects/{project}/instances/{instance}/tables/{table}`.
$msg->page_size()/$msg->page_size($value)Type:
Int32The maximum number of schema bundles to return. If the value is positive, the server may return at most this value. If unspecified, the server will return the maximum allowed page size.
$msg->page_token()/$msg->page_token($value)Type:
StringA page token, received from a previous `ListSchemaBundles` call. Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to `ListSchemaBundles` must match the call that provided the page token.
Google::Bigtable::Admin::V2::BigtableTableAdmin::ListSchemaBundlesResponse
The response for [ListSchemaBundles][google.bigtable.admin.v2.BigtableTableAdmin.ListSchemaBundles].
Inherits from Protobuf::Message.
Accessors
$msg->schema_bundles()/$msg->schema_bundles($value)Type:
Message(Google::Bigtable::Admin::V2::Table::SchemaBundle)The schema bundles from the specified table.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
Google::Bigtable::Admin::V2::BigtableTableAdmin::DeleteSchemaBundleRequest
The request for [DeleteSchemaBundle][google.bigtable.admin.v2.BigtableTableAdmin.DeleteSchemaBundle].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The unique name of the schema bundle to delete. Values are of the form `projects/{project}/instances/{instance}/tables/{table}/schemaBundles/{schema_bundle}`
$msg->etag()/$msg->etag($value)Type:
StringOptional. The etag of the schema bundle. If this is provided, it must match the server's etag. The server returns an ABORTED error on a mismatched etag.
SEE ALSO
Protobuf, Protobuf::Message, Google::Bigtable::Admin::V2::BigtableTableAdmin::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.