Service Client: Google::Cloud::Biglake::Hive::V1beta::HiveMetastore::HiveMetastoreServiceClient

Client stub representing the remote HiveMetastoreService gRPC service. Delegates call dispatching to Google::gRPC::Client.

target

The endpoint target address. Defaults to biglake.googleapis.com:443.

credentials

The authentication credentials provider. Defaults to application default credentials via Google::Auth.

NAME

Google::Cloud::Biglake::Hive::V1beta::HiveMetastore - Compiled Protocol Buffers messages for google/cloud/biglake/hive/v1beta/hive_metastore.proto

SYNOPSIS

use Google::Cloud::Biglake::Hive::V1beta::HiveMetastore;

my $msg = Google::Cloud::Biglake::Hive::V1beta::HiveMetastore::HiveCatalog->new({
    name => $name,
    description => $description,
    location_uri => $location_uri,
    replicas => $replicas,
});

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

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Biglake::Hive::V1beta::HiveMetastore::HiveCatalog->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/biglake/hive/v1beta/hive_metastore.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Cloud::Biglake::Hive::V1beta::HiveMetastore::HiveCatalog

The HiveCatalog contains spark/hive databases and tables in the BigLake Metastore. While creating resources under a catalog, ideally ensure that the storage bucket location, spark / hive engine location or any other compute location match. Catalog can be viewed as the destination for migrating an on-prem Hive metastore to GCP.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Identifier. The resource name. Format: projects/{project_id_or_number}/catalogs/{catalog_id}

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

    Type: String

    Optional. Stores the catalog description. The maximum length is 4000 characters.

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

    Type: String

    Required. The Cloud Storage location path where the catalog exists. Format: gs://bucket/path/to/catalog The maximum length is 4000 characters.

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

    Type: Message (Google::Cloud::Biglake::Hive::V1beta::HiveMetastore::HiveCatalog::Replica)

    Output only. The replicas for the catalog metadata.

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

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

    Output only. The creation time of the catalog.

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

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

    Output only. The update time of the catalog.

Google::Cloud::Biglake::Hive::V1beta::HiveMetastore::CreateHiveCatalogRequest

Request message for the CreateHiveCatalog method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent resource where this catalog will be created. Format: projects/{project_id_or_number}

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

    Type: Message (Google::Cloud::Biglake::Hive::V1beta::HiveMetastore::HiveCatalog)

    Required. The catalog to create. The `name` field does not need to be provided. Gets copied over from catalog_id.

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

    Type: String

    Required. The Hive Catalog ID to use for the catalog that will become the final component of the catalog's resource name. The maximum length is 256 characters.

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

    Type: String

    Required. The GCP region that specifies where the catalog metadata is stored, e.g. us-central1, EU, etc.

Google::Cloud::Biglake::Hive::V1beta::HiveMetastore::GetHiveCatalogRequest

Request message for the GetHiveCatalog method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the catalog to retrieve. Format: projects/{project_id_or_number}/catalogs/{catalog_id}

Google::Cloud::Biglake::Hive::V1beta::HiveMetastore::ListHiveCatalogsRequest

Request message for the ListHiveCatalogs method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The project to list catalogs from. Format: projects/{project_id_or_number}

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

    Type: Int32

    Optional. Page size for pagination.

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

    Type: String

    Optional. Page token for pagination.

Google::Cloud::Biglake::Hive::V1beta::HiveMetastore::ListHiveCatalogsResponse

Response message for the ListHiveCatalogs method.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Biglake::Hive::V1beta::HiveMetastore::HiveCatalog)

    Output only. The catalogs from the specified project.

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

    Type: String

    Output only. A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.

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

    Type: String

    Output only. The list of unreachable cloud regions. If non-empty, the result set might be incomplete.

Google::Cloud::Biglake::Hive::V1beta::HiveMetastore::UpdateHiveCatalogRequest

Request message for the UpdateHiveCatalog method.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Biglake::Hive::V1beta::HiveMetastore::HiveCatalog)

    Required. The hive catalog to update. The name under the catalog is used to identify the catalog. Format: projects/{project_id_or_number}/catalogs/{catalog_id}

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

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Optional. The list of fields to update.

    For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If not set, defaults to all of the fields that are allowed to update.

Google::Cloud::Biglake::Hive::V1beta::HiveMetastore::DeleteHiveCatalogRequest

Request message for the DeleteHiveCatalog method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the catalog to delete. Format: projects/{project_id_or_number}/catalogs/{catalog_id}

Google::Cloud::Biglake::Hive::V1beta::HiveMetastore::HiveDatabase

Stores the hive database information. It includes the database name, description, location and properties associated with the database.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Identifier. The resource name. Format: projects/{project_id_or_number}/catalogs/{catalog_id}/databases/{database_id}

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

    Type: String

    Optional. Stores the database description. The maximum length is 4000 characters.

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

    Type: String

    Optional. The Cloud Storage location path where the database exists. Format: `gs://bucket/path/to/database` If unspecified, the database will be stored in the catalog location. The maximum length is 4000 characters.

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

    Type: Message (Google::Cloud::Biglake::Hive::V1beta::HiveMetastore::HiveDatabase::ParametersEntry)

    Optional. Stores the properties associated with the database. The maximum size is 2 MiB.

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

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

    Output only. The creation time of the database.

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

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

    Output only. The update time of the database.

Google::Cloud::Biglake::Hive::V1beta::HiveMetastore::CreateHiveDatabaseRequest

Request message for the CreateHiveDatabase method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent resource where this database will be created. Format: projects/{project_id_or_number}/catalogs/{catalog_id}

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

    Type: Message (Google::Cloud::Biglake::Hive::V1beta::HiveMetastore::HiveDatabase)

    Required. The database to create. The `name` field does not need to be provided.

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

    Type: String

    Required. The ID to use for the Hive Database. The maximum length is 128 characters.

Google::Cloud::Biglake::Hive::V1beta::HiveMetastore::GetHiveDatabaseRequest

Request message for the GetHiveDatabase method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the database to retrieve. Format: projects/{project_id_or_number}/catalogs/{catalog_id}/databases/{database_id}

Google::Cloud::Biglake::Hive::V1beta::HiveMetastore::ListHiveDatabasesRequest

Request message for the ListHiveDatabases method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The hive catalog to list databases from. Format: projects/{project_id_or_number}/catalogs/{catalog_id}

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

    Type: Int32

    Optional. Page size for pagination.

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

    Type: String

    Optional. PageToken for pagination.

Google::Cloud::Biglake::Hive::V1beta::HiveMetastore::ListHiveDatabasesResponse

Response message for the ListHiveDatabases method.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Biglake::Hive::V1beta::HiveMetastore::HiveDatabase)

    Output only. The databases from the specified project and catalog.

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

    Type: String

    Output only. A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.

Google::Cloud::Biglake::Hive::V1beta::HiveMetastore::UpdateHiveDatabaseRequest

Request message for the UpdateHiveDatabase method.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Biglake::Hive::V1beta::HiveMetastore::DeleteHiveDatabaseRequest

Request message for the DeleteHiveDatabase method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the database to delete. Format: projects/{project_id_or_number}/catalogs/{catalog_id}/databases/{database_id}

Google::Cloud::Biglake::Hive::V1beta::HiveMetastore::HiveTable

Stores the hive table information. It includes the table name, schema (column names and types), data location, storage format, serde info, etc. This message closely matches the Table object in the IMetastoreClient

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Identifier. The resource name. Format: projects/{project_id_or_number}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id}

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

    Type: String

    Optional. Description of the table. The maximum length is 4000 characters.

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

    Type: Message (Google::Cloud::Biglake::Hive::V1beta::HiveMetastore::StorageDescriptor)

    Required. Storage descriptor of the table.

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

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

    Output only. The creation time of the table.

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

    Type: Message (Google::Cloud::Biglake::Hive::V1beta::HiveMetastore::FieldSchema)

    Optional. The partition keys of the table.

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

    Type: Message (Google::Cloud::Biglake::Hive::V1beta::HiveMetastore::HiveTable::ParametersEntry)

    Optional. Stores the properties associated with the table. The maximum size is 4MiB.

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

    Type: String

    Optional. The original view text. Empty for non-view. The maximum size is 16MiB.

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

    Type: String

    Optional. The expanded view text. Empty for non-view. The maximum size is 16MiB.

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

    Type: String

    Output only. The type of the table. This is EXTERNAL for BigLake hive tables.

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

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

    Output only. The update time of the table.

Google::Cloud::Biglake::Hive::V1beta::HiveMetastore::FieldSchema

Field schema information.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Name of the field. The maximum length is 767 characters.

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

    Type: String

    Required. Type of the field. The maximum length is 128 characters.

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

    Type: String

    Optional. Comment of the field. The maximum length is 256 characters.

Google::Cloud::Biglake::Hive::V1beta::HiveMetastore::StorageDescriptor

Contains information about the physical storage of the table data.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Biglake::Hive::V1beta::HiveMetastore::FieldSchema)

    Required. Specifies the columns of the table.

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

    Type: String

    Optional. The Cloud storage uri where the table is located. Defaults to `<database_location_uri>/<table_name>`. The maximum length is 4000 characters.

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

    Type: String

    Optional. The fully qualified Java class name of the input format. The maximum length is 4000 characters.

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

    Type: String

    Optional. The fully qualified Java class name of the output format. The maximum length is 4000 characters.

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

    Type: Bool

    Optional. Whether the table is compressed.

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

    Type: Int32

    Optional. The number of buckets in the table.

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

    Type: Message (Google::Cloud::Biglake::Hive::V1beta::HiveMetastore::SerdeInfo)

    Optional. Serialization and deserialization information.

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

    Type: String

    Optional. Reducer grouping columns and clustering columns and bucketing columns

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

    Type: Message (Google::Cloud::Biglake::Hive::V1beta::HiveMetastore::StorageDescriptor::Order)

    Optional. Sort order of the data in each bucket

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

    Type: Message (Google::Cloud::Biglake::Hive::V1beta::HiveMetastore::StorageDescriptor::ParametersEntry)

    Optional. Key-value pairs for the storage descriptor. The maximum size is 10Kib.

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

    Type: Message (Google::Cloud::Biglake::Hive::V1beta::HiveMetastore::StorageDescriptor::SkewedInfo)

    Optional. Table data skew information.

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

    Type: Bool

    Optional. Whether the table is stored as sub directories.

Google::Cloud::Biglake::Hive::V1beta::HiveMetastore::SerdeInfo

Serialization and deserialization information.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Name of the SerDe. Table name by default. The maximum length is 128 characters.

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

    Type: String

    Required. The fully qualified Java class name of the serialization library. The maximum length is 4000 characters.

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

    Type: String

    Optional. Description of the serde. The maximum length is 4000 characters.

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

    Type: Message (Google::Cloud::Biglake::Hive::V1beta::HiveMetastore::SerdeInfo::ParametersEntry)

    Optional. Parameters of the serde. The maximum size is 10Kib.

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

    Type: String

    Optional. The fully qualified Java class name of the serializer. The maximum length is 4000 characters.

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

    Type: String

    Optional. The fully qualified Java class name of the deserializer. The maximum length is 4000 characters.

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

    Type: Enum (Google::Cloud::Biglake::Hive::V1beta::SerdeInfo::SerdeType)

    Optional. The serde type.

Enum: SerdeInfo::SerdeType

  • SERDE_TYPE_UNSPECIFIED => 0

  • HIVE => 1

  • SCHEMA_REGISTRY => 2

Google::Cloud::Biglake::Hive::V1beta::HiveMetastore::CreateHiveTableRequest

Request message for the CreateHiveTable method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent resource for the table to be created. Format: projects/{project_id_or_number}/catalogs/{catalog_id}/databases/{database_id}

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

    Type: Message (Google::Cloud::Biglake::Hive::V1beta::HiveMetastore::HiveTable)

    Required. The Hive Table to create. The `name` field does not need to be provided.

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

    Type: String

    Required. The Hive Table ID to use for the table that will become the final component of the table's resource name. The maximum length is 256 characters.

Google::Cloud::Biglake::Hive::V1beta::HiveMetastore::GetHiveTableRequest

Request message for the GetHiveTable method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the table to retrieve. Format: projects/{project_id_or_number}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id}

Google::Cloud::Biglake::Hive::V1beta::HiveMetastore::ListHiveTablesRequest

Request message for the ListHiveTables method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The database to list tables from. Format: projects/{project_id_or_number}/catalogs/{catalog_id}/databases/{database_id}

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

    Type: Int32

    Optional. Page size for pagination.

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

    Type: String

    Optional. PageToken for pagination.

Google::Cloud::Biglake::Hive::V1beta::HiveMetastore::ListHiveTablesResponse

Response message for the ListHiveTables method.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Biglake::Hive::V1beta::HiveMetastore::HiveTable)

    Output only. The tables from the specified project, catalog and database.

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

    Type: String

    Output only. A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.

Google::Cloud::Biglake::Hive::V1beta::HiveMetastore::UpdateHiveTableRequest

Request message for the UpdateHiveTable method.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Biglake::Hive::V1beta::HiveMetastore::DeleteHiveTableRequest

Request message for the DeleteHiveTable method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the database to delete. Format: projects/{project_id_or_number}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id}

Google::Cloud::Biglake::Hive::V1beta::HiveMetastore::Partition

Information about a Hive partition.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Biglake::Hive::V1beta::HiveMetastore::PartitionValues

Represents the values of a partition.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The values of the partition keys, where each value corresponds to a specific partition key in the order in which the keys are defined.

Google::Cloud::Biglake::Hive::V1beta::HiveMetastore::CreatePartitionRequest

Request message for CreatePartition. The Partition is uniquely identified by values, which is an ordered list. Hence, there is no separate name or partition id field.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Reference to the table to where the partition to be added, in the format of projects/{project}/catalogs/{catalogs}/databases/{databases}/tables/{table}.

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

    Type: Message (Google::Cloud::Biglake::Hive::V1beta::HiveMetastore::Partition)

    Required. The partition to be added.

Google::Cloud::Biglake::Hive::V1beta::HiveMetastore::BatchCreatePartitionsRequest

Request message for the BatchCreatePartitions method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Reference to the table to where the partitions to be added, in the format of projects/{project}/catalogs/{catalogs}/databases/{database}/tables/{table}.

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

    Type: Message (Google::Cloud::Biglake::Hive::V1beta::HiveMetastore::CreatePartitionRequest)

    Required. Requests to add partitions to the table.

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

    Type: Bool

    Optional. Corresponds to the `ifNotExists` flag in the Hive Metastore APIs. If the flag is set to false, the server will return ALREADY_EXISTS if any partition already exists. If the flag is set to true, the server will skip existing partitions and insert only the non-existing partitions. A maximum of 900 partitions can be inserted in a batch.

Google::Cloud::Biglake::Hive::V1beta::HiveMetastore::BatchCreatePartitionsResponse

Response message for BatchCreatePartitions.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Biglake::Hive::V1beta::HiveMetastore::BatchDeletePartitionsRequest

Request message for BatchDeletePartitions. The Partition is uniquely identified by values, which is an ordered list. Hence, there is no separate name or partition id field.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Reference to the table to which these partitions belong, in the format of projects/{project}/catalogs/{catalogs}/databases/{database}/tables/{table}.

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

    Type: Message (Google::Cloud::Biglake::Hive::V1beta::HiveMetastore::PartitionValues)

    Required. The list of partitions (identified by its values) to be deleted. A maximum of 900 partitions can be deleted in a batch.

Google::Cloud::Biglake::Hive::V1beta::HiveMetastore::UpdatePartitionRequest

Request message for UpdatePartition.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Biglake::Hive::V1beta::HiveMetastore::BatchUpdatePartitionsRequest

Request message for BatchUpdatePartitions.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Reference to the table to which these partitions belong, in the format of projects/{project}/catalogs/{catalogs}/databases/{database}/tables/{table}.

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

    Type: Message (Google::Cloud::Biglake::Hive::V1beta::HiveMetastore::UpdatePartitionRequest)

    Required. Requests to update partitions in the table.

Google::Cloud::Biglake::Hive::V1beta::HiveMetastore::BatchUpdatePartitionsResponse

Response message for BatchUpdatePartitions.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Biglake::Hive::V1beta::HiveMetastore::ListPartitionsRequest

Request message for ListPartitions.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Reference to the table to which these partitions belong, in the format of projects/{project}/catalogs/{catalogs}/databases/{database}/tables/{table}.

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

    Type: String

    Optional. SQL text filtering statement, similar to a `WHERE` clause in a query. Only supports single-row expressions. Aggregate functions are not supported.

    Examples: * `"int_field > 5"` * `"date_field = CAST('2014-9-27' as DATE)"` * `"nullable_field is not NULL"` * `"st_equals(geo_field, st_geofromtext("POINT(2, 2)"))"` * `"numeric_field BETWEEN 1.0 AND 5.0"`

    Restricted to a maximum length of 1 MB.

Google::Cloud::Biglake::Hive::V1beta::HiveMetastore::ListPartitionsResponse

Response message for ListPartitions.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Biglake::Hive::V1beta::HiveMetastore::FailoverHiveCatalogRequest

Request message for FailoverHiveCatalog.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the catalog in the form "projects/{project_id}/catalogs/{catalog_id}"

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

    Type: String

    Required. The region being assigned as the new primary replica region. For example "us-east1". This must be one of the replica regions in the catalog's list of replicas marked as a "secondary".

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

    Type: Bool

    Optional. If set, only validate the request, but do not perform the update. This can be used to inspect the replication_time at any time, including before performing a fail-over.

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

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

    Optional. If unset, wait for all data from the source region to replicate to the new primary region before completing the failover, with no data loss (also called "soft failover"). If set, failover immediately, accepting the loss of any data committed in the source region after this timestamp, that has not yet replicated. If any data committed before this time has not replicated, the failover will not be performed and an error will be returned (also called "hard failover").

Google::Cloud::Biglake::Hive::V1beta::HiveMetastore::FailoverHiveCatalogResponse

Response message for FailoverHiveCatalog.

Inherits from Protobuf::Message.

Accessors

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

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

    Output only. The min timestamp for which all namespaces and table metadata have been replicated in the region specified as the new primary_replica. Some resources may have been replicated more recently than this timestamp. If empty, the replica has just been created and has not yet been fully initialized.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Biglake::Hive::V1beta::HiveMetastore::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.