Service Client: Google::Cloud::Biglake::Hive::V1::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::V1::HiveMetastore - Compiled Protocol Buffers messages for google/cloud/biglake/hive/v1/hive_metastore.proto
SYNOPSIS
use Google::Cloud::Biglake::Hive::V1::HiveMetastore;
my $msg = Google::Cloud::Biglake::Hive::V1::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::V1::HiveMetastore::HiveCatalog->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/biglake/hive/v1/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::V1::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:
StringIdentifier. The resource name. Format: projects/{project_id_or_number}/catalogs/{catalog_id}
$msg->description()/$msg->description($value)Type:
StringOptional. Stores the catalog description. The maximum length is 4000 characters.
$msg->location_uri()/$msg->location_uri($value)Type:
StringRequired. 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::V1::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::V1::HiveMetastore::CreateHiveCatalogRequest
Request message for the CreateHiveCatalog method.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. 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::V1::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:
StringRequired. 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:
StringRequired. The GCP region that specifies where the catalog metadata is stored, e.g. us-central1, EU, etc.
Google::Cloud::Biglake::Hive::V1::HiveMetastore::GetHiveCatalogRequest
Request message for the GetHiveCatalog method.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the catalog to retrieve. Format: projects/{project_id_or_number}/catalogs/{catalog_id}
Google::Cloud::Biglake::Hive::V1::HiveMetastore::ListHiveCatalogsRequest
Request message for the ListHiveCatalogs method.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The project to list catalogs from. Format: projects/{project_id_or_number}
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. Page size for pagination.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. Page token for pagination.
Google::Cloud::Biglake::Hive::V1::HiveMetastore::ListHiveCatalogsResponse
Response message for the ListHiveCatalogs method.
Inherits from Protobuf::Message.
Accessors
$msg->catalogs()/$msg->catalogs($value)Type:
Message(Google::Cloud::Biglake::Hive::V1::HiveMetastore::HiveCatalog)Output only. The catalogs from the specified project.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringOutput 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:
StringOutput only. The list of unreachable cloud regions. If non-empty, the result set might be incomplete.
Google::Cloud::Biglake::Hive::V1::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::V1::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::V1::HiveMetastore::DeleteHiveCatalogRequest
Request message for the DeleteHiveCatalog method.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the catalog to delete. Format: projects/{project_id_or_number}/catalogs/{catalog_id}
Google::Cloud::Biglake::Hive::V1::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:
StringIdentifier. The resource name. Format: projects/{project_id_or_number}/catalogs/{catalog_id}/databases/{database_id}
$msg->description()/$msg->description($value)Type:
StringOptional. Stores the database description. The maximum length is 4000 characters.
$msg->location_uri()/$msg->location_uri($value)Type:
StringOptional. 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::V1::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::V1::HiveMetastore::CreateHiveDatabaseRequest
Request message for the CreateHiveDatabase method.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. 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::V1::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:
StringRequired. The ID to use for the Hive Database. The maximum length is 128 characters.
Google::Cloud::Biglake::Hive::V1::HiveMetastore::GetHiveDatabaseRequest
Request message for the GetHiveDatabase method.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the database to retrieve. Format: projects/{project_id_or_number}/catalogs/{catalog_id}/databases/{database_id}
Google::Cloud::Biglake::Hive::V1::HiveMetastore::ListHiveDatabasesRequest
Request message for the ListHiveDatabases method.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The hive catalog to list databases from. Format: projects/{project_id_or_number}/catalogs/{catalog_id}
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. Page size for pagination.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. PageToken for pagination.
Google::Cloud::Biglake::Hive::V1::HiveMetastore::ListHiveDatabasesResponse
Response message for the ListHiveDatabases method.
Inherits from Protobuf::Message.
Accessors
$msg->databases()/$msg->databases($value)Type:
Message(Google::Cloud::Biglake::Hive::V1::HiveMetastore::HiveDatabase)Output only. The databases from the specified project and catalog.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringOutput 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::V1::HiveMetastore::UpdateHiveDatabaseRequest
Request message for the UpdateHiveDatabase method.
Inherits from Protobuf::Message.
Accessors
$msg->hive_database()/$msg->hive_database($value)Type:
Message(Google::Cloud::Biglake::Hive::V1::HiveMetastore::HiveDatabase)Required. The database to update.
The database's `name` field is used to identify the database to update. Format: projects/{project_id_or_number}/catalogs/{catalog_id}/databases/{database_id}
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Optional. The list of fields to update.
Google::Cloud::Biglake::Hive::V1::HiveMetastore::DeleteHiveDatabaseRequest
Request message for the DeleteHiveDatabase method.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the database to delete. Format: projects/{project_id_or_number}/catalogs/{catalog_id}/databases/{database_id}
Google::Cloud::Biglake::Hive::V1::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:
StringIdentifier. The resource name. Format: projects/{project_id_or_number}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id}
$msg->description()/$msg->description($value)Type:
StringOptional. Description of the table. The maximum length is 4000 characters.
$msg->storage_descriptor()/$msg->storage_descriptor($value)Type:
Message(Google::Cloud::Biglake::Hive::V1::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::V1::HiveMetastore::FieldSchema)Optional. The partition keys of the table.
$msg->parameters()/$msg->parameters($value)Type:
Message(Google::Cloud::Biglake::Hive::V1::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:
StringOptional. The original view text. Empty for non-view. The maximum size is 16MiB.
$msg->view_expanded_text()/$msg->view_expanded_text($value)Type:
StringOptional. The expanded view text. Empty for non-view. The maximum size is 16MiB.
$msg->table_type()/$msg->table_type($value)Type:
StringOutput 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::V1::HiveMetastore::FieldSchema
Field schema information.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the field. The maximum length is 767 characters.
$msg->type()/$msg->type($value)Type:
StringRequired. Type of the field. The maximum length is 128 characters.
$msg->comment()/$msg->comment($value)Type:
StringOptional. Comment of the field. The maximum length is 256 characters.
Google::Cloud::Biglake::Hive::V1::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::V1::HiveMetastore::FieldSchema)Required. Specifies the columns of the table.
$msg->location_uri()/$msg->location_uri($value)Type:
StringOptional. 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:
StringOptional. The fully qualified Java class name of the input format. The maximum length is 4000 characters.
$msg->output_format()/$msg->output_format($value)Type:
StringOptional. The fully qualified Java class name of the output format. The maximum length is 4000 characters.
$msg->compressed()/$msg->compressed($value)Type:
BoolOptional. Whether the table is compressed.
$msg->num_buckets()/$msg->num_buckets($value)Type:
Int32Optional. The number of buckets in the table.
$msg->serde_info()/$msg->serde_info($value)Type:
Message(Google::Cloud::Biglake::Hive::V1::HiveMetastore::SerdeInfo)Optional. Serialization and deserialization information.
$msg->bucket_cols()/$msg->bucket_cols($value)Type:
StringOptional. Reducer grouping columns and clustering columns and bucketing columns
$msg->sort_cols()/$msg->sort_cols($value)Type:
Message(Google::Cloud::Biglake::Hive::V1::HiveMetastore::StorageDescriptor::Order)Optional. Sort order of the data in each bucket
$msg->parameters()/$msg->parameters($value)Type:
Message(Google::Cloud::Biglake::Hive::V1::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::V1::HiveMetastore::StorageDescriptor::SkewedInfo)Optional. Table data skew information.
$msg->stored_as_sub_dirs()/$msg->stored_as_sub_dirs($value)Type:
BoolOptional. Whether the table is stored as sub directories.
Google::Cloud::Biglake::Hive::V1::HiveMetastore::SerdeInfo
Serialization and deserialization information.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the SerDe. Table name by default. The maximum length is 128 characters.
$msg->serialization_lib()/$msg->serialization_lib($value)Type:
StringRequired. The fully qualified Java class name of the serialization library. The maximum length is 4000 characters.
$msg->description()/$msg->description($value)Type:
StringOptional. Description of the serde. The maximum length is 4000 characters.
$msg->parameters()/$msg->parameters($value)Type:
Message(Google::Cloud::Biglake::Hive::V1::HiveMetastore::SerdeInfo::ParametersEntry)Optional. Parameters of the serde. The maximum size is 10Kib.
$msg->serializer_class()/$msg->serializer_class($value)Type:
StringOptional. The fully qualified Java class name of the serializer. The maximum length is 4000 characters.
$msg->deserializer_class()/$msg->deserializer_class($value)Type:
StringOptional. 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::V1::SerdeInfo::SerdeType)Optional. The serde type.
Enum: SerdeInfo::SerdeType
SERDE_TYPE_UNSPECIFIED=>0HIVE=>1SCHEMA_REGISTRY=>2
Google::Cloud::Biglake::Hive::V1::HiveMetastore::CreateHiveTableRequest
Request message for the CreateHiveTable method.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. 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::V1::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:
StringRequired. 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::V1::HiveMetastore::GetHiveTableRequest
Request message for the GetHiveTable method.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. 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::V1::HiveMetastore::ListHiveTablesRequest
Request message for the ListHiveTables method.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. 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:
Int32Optional. Page size for pagination.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. PageToken for pagination.
Google::Cloud::Biglake::Hive::V1::HiveMetastore::ListHiveTablesResponse
Response message for the ListHiveTables method.
Inherits from Protobuf::Message.
Accessors
$msg->tables()/$msg->tables($value)Type:
Message(Google::Cloud::Biglake::Hive::V1::HiveMetastore::HiveTable)Output only. The tables from the specified project, catalog and database.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringOutput 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::V1::HiveMetastore::UpdateHiveTableRequest
Request message for the UpdateHiveTable method.
Inherits from Protobuf::Message.
Accessors
$msg->hive_table()/$msg->hive_table($value)Type:
Message(Google::Cloud::Biglake::Hive::V1::HiveMetastore::HiveTable)Required. The table to update.
The table's `name` field is used to identify the table to update. Format: projects/{project_id_or_number}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id}
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Optional. The list of fields to update.
Google::Cloud::Biglake::Hive::V1::HiveMetastore::DeleteHiveTableRequest
Request message for the DeleteHiveTable method.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. 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::V1::HiveMetastore::Partition
Information about a Hive partition.
Inherits from Protobuf::Message.
Accessors
$msg->values()/$msg->values($value)Type:
StringRequired. Represents the values of the partition keys, where each value corresponds to a specific partition key in the order in which the keys are defined. Each value is limited to 1024 characters.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The creation time of the partition.
$msg->storage_descriptor()/$msg->storage_descriptor($value)Type:
Message(Google::Cloud::Biglake::Hive::V1::HiveMetastore::StorageDescriptor)Optional. Contains information about the physical storage of the data in the partition.
$msg->parameters()/$msg->parameters($value)Type:
Message(Google::Cloud::Biglake::Hive::V1::HiveMetastore::Partition::ParametersEntry)Optional. Additional parameters or metadata associated with the partition. Maximum size 10 KiB.
$msg->fields()/$msg->fields($value)Type:
Message(Google::Cloud::Biglake::Hive::V1::HiveMetastore::FieldSchema)Optional. List of columns.
Google::Cloud::Biglake::Hive::V1::HiveMetastore::PartitionValues
Represents the values of a partition.
Inherits from Protobuf::Message.
Accessors
$msg->values()/$msg->values($value)Type:
StringRequired. 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::V1::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:
StringRequired. 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::V1::HiveMetastore::Partition)Required. The partition to be added.
Google::Cloud::Biglake::Hive::V1::HiveMetastore::BatchCreatePartitionsRequest
Request message for the BatchCreatePartitions method.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. 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::V1::HiveMetastore::CreatePartitionRequest)Required. Requests to add partitions to the table.
$msg->skip_existing_partitions()/$msg->skip_existing_partitions($value)Type:
BoolOptional. 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::V1::HiveMetastore::BatchCreatePartitionsResponse
Response message for BatchCreatePartitions.
Inherits from Protobuf::Message.
Accessors
$msg->partitions()/$msg->partitions($value)Type:
Message(Google::Cloud::Biglake::Hive::V1::HiveMetastore::Partition)The list of partitions that have been added.
Google::Cloud::Biglake::Hive::V1::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:
StringRequired. 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::V1::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::V1::HiveMetastore::UpdatePartitionRequest
Request message for UpdatePartition.
Inherits from Protobuf::Message.
Accessors
$msg->partition()/$msg->partition($value)Type:
Message(Google::Cloud::Biglake::Hive::V1::HiveMetastore::Partition)Required. The partition to be updated.
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Optional. The list of fields to update.
Google::Cloud::Biglake::Hive::V1::HiveMetastore::BatchUpdatePartitionsRequest
Request message for BatchUpdatePartitions.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. 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::V1::HiveMetastore::UpdatePartitionRequest)Required. Requests to update partitions in the table.
Google::Cloud::Biglake::Hive::V1::HiveMetastore::BatchUpdatePartitionsResponse
Response message for BatchUpdatePartitions.
Inherits from Protobuf::Message.
Accessors
$msg->partitions()/$msg->partitions($value)Type:
Message(Google::Cloud::Biglake::Hive::V1::HiveMetastore::Partition)The list of partitions that have been updated. A maximum of 900 partitions can be updated in a batch.
Google::Cloud::Biglake::Hive::V1::HiveMetastore::ListPartitionsRequest
Request message for ListPartitions.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. 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:
StringOptional. 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::V1::HiveMetastore::ListPartitionsResponse
Response message for ListPartitions.
Inherits from Protobuf::Message.
Accessors
$msg->partitions()/$msg->partitions($value)Type:
Message(Google::Cloud::Biglake::Hive::V1::HiveMetastore::Partition)Output only. List of partitions.
Google::Cloud::Biglake::Hive::V1::HiveMetastore::FailoverHiveCatalogRequest
Request message for FailoverHiveCatalog.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the catalog in the form "projects/{project_id}/catalogs/{catalog_id}"
$msg->primary_replica()/$msg->primary_replica($value)Type:
StringRequired. 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:
BoolOptional. 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::V1::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::V1::HiveMetastore::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.