Service Client: Google::Cloud::Bigquery::Biglake::V1alpha1::Metastore::MetastoreServiceClient
Client stub representing the remote MetastoreService gRPC service. Delegates call dispatching to Google::gRPC::Client.
target
The endpoint target address. Defaults to bigquery.googleapis.com:443.
credentials
The authentication credentials provider. Defaults to application default credentials via Google::Auth.
NAME
Google::Cloud::Bigquery::Biglake::V1alpha1::Metastore - Compiled Protocol Buffers messages for google/cloud/bigquery/biglake/v1alpha1/metastore.proto
SYNOPSIS
use Google::Cloud::Bigquery::Biglake::V1alpha1::Metastore;
my $msg = Google::Cloud::Bigquery::Biglake::V1alpha1::Metastore::Catalog->new({
name => $name,
create_time => $create_time,
update_time => $update_time,
delete_time => $delete_time,
});
# Read or update a field
my $val = $msg->name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Bigquery::Biglake::V1alpha1::Metastore::Catalog->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/bigquery/biglake/v1alpha1/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::Bigquery::Biglake::V1alpha1::Metastore::Catalog
Catalog is the container of databases.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringOutput only. The resource name. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}
$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 last modification time of the catalog.
$msg->delete_time()/$msg->delete_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The deletion time of the catalog. Only set after the catalog is deleted.
$msg->expire_time()/$msg->expire_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time when this catalog is considered expired. Only set after the catalog is deleted.
Google::Cloud::Bigquery::Biglake::V1alpha1::Metastore::Database
Database is the container of tables.
Inherits from Protobuf::Message.
Accessors
$msg->hive_options()/$msg->hive_options($value)Type:
Message(Google::Cloud::Bigquery::Biglake::V1alpha1::Metastore::HiveDatabaseOptions)Options of a Hive database.
$msg->name()/$msg->name($value)Type:
StringOutput only. The resource name. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}
$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 last modification time of the database.
$msg->delete_time()/$msg->delete_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The deletion time of the database. Only set after the database is deleted.
$msg->expire_time()/$msg->expire_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time when this database is considered expired. Only set after the database is deleted.
$msg->type()/$msg->type($value)Type:
Enum(Google::Cloud::Bigquery::Biglake::V1alpha1::Database::Type)The database type.
Enum: Database::Type
TYPE_UNSPECIFIED=>0HIVE=>1
Google::Cloud::Bigquery::Biglake::V1alpha1::Metastore::Table
Represents a table.
Inherits from Protobuf::Message.
Accessors
$msg->hive_options()/$msg->hive_options($value)Type:
Message(Google::Cloud::Bigquery::Biglake::V1alpha1::Metastore::HiveTableOptions)Options of a Hive table.
$msg->name()/$msg->name($value)Type:
StringOutput only. The resource name. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id}
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The creation time of the table.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The last modification time of the table.
$msg->delete_time()/$msg->delete_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The deletion time of the table. Only set after the table is deleted.
$msg->expire_time()/$msg->expire_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time when this table is considered expired. Only set after the table is deleted.
$msg->type()/$msg->type($value)Type:
Enum(Google::Cloud::Bigquery::Biglake::V1alpha1::Table::Type)The table type.
$msg->etag()/$msg->etag($value)Type:
StringThe checksum of a table object computed by the server based on the value of other fields. It may be sent on update requests to ensure the client has an up-to-date value before proceeding. It is only checked for update table operations.
Enum: Table::Type
TYPE_UNSPECIFIED=>0HIVE=>1
Google::Cloud::Bigquery::Biglake::V1alpha1::Metastore::Lock
Represents a lock.
Inherits from Protobuf::Message.
Accessors
$msg->table_id()/$msg->table_id($value)Type:
StringThe table ID (not fully qualified name) in the same database that the lock will be created on. The table must exist.
$msg->name()/$msg->name($value)Type:
StringOutput only. The resource name. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/locks/{lock_id}
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The creation time of the lock.
$msg->type()/$msg->type($value)Type:
Enum(Google::Cloud::Bigquery::Biglake::V1alpha1::Lock::Type)The lock type.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Bigquery::Biglake::V1alpha1::Lock::State)Output only. The lock state.
Enum: Lock::Type
TYPE_UNSPECIFIED=>0EXCLUSIVE=>1
Enum: Lock::State
STATE_UNSPECIFIED=>0WAITING=>1ACQUIRED=>2
Google::Cloud::Bigquery::Biglake::V1alpha1::Metastore::CreateCatalogRequest
Request message for the CreateCatalog 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}/locations/{location_id}
$msg->catalog()/$msg->catalog($value)Type:
Message(Google::Cloud::Bigquery::Biglake::V1alpha1::Metastore::Catalog)Required. The catalog to create. The `name` field does not need to be provided.
$msg->catalog_id()/$msg->catalog_id($value)Type:
StringRequired. The ID to use for the catalog, which will become the final component of the catalog's resource name.
Google::Cloud::Bigquery::Biglake::V1alpha1::Metastore::DeleteCatalogRequest
Request message for the DeleteCatalog 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}/locations/{location_id}/catalogs/{catalog_id}
Google::Cloud::Bigquery::Biglake::V1alpha1::Metastore::GetCatalogRequest
Request message for the GetCatalog 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}/locations/{location_id}/catalogs/{catalog_id}
Google::Cloud::Bigquery::Biglake::V1alpha1::Metastore::ListCatalogsRequest
Request message for the ListCatalogs method.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent, which owns this collection of catalogs. Format: projects/{project_id_or_number}/locations/{location_id}
$msg->page_size()/$msg->page_size($value)Type:
Int32The maximum number of catalogs to return. The service may return fewer than this value. If unspecified, at most 50 catalogs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
$msg->page_token()/$msg->page_token($value)Type:
StringA page token, received from a previous `ListCatalogs` call. Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to `ListCatalogs` must match the call that provided the page token.
Google::Cloud::Bigquery::Biglake::V1alpha1::Metastore::ListCatalogsResponse
Response message for the ListCatalogs method.
Inherits from Protobuf::Message.
Accessors
$msg->catalogs()/$msg->catalogs($value)Type:
Message(Google::Cloud::Bigquery::Biglake::V1alpha1::Metastore::Catalog)The catalogs from the specified project.
$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::Cloud::Bigquery::Biglake::V1alpha1::Metastore::CreateDatabaseRequest
Request message for the CreateDatabase 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}/locations/{location_id}/catalogs/{catalog_id}
$msg->database()/$msg->database($value)Type:
Message(Google::Cloud::Bigquery::Biglake::V1alpha1::Metastore::Database)Required. The database to create. The `name` field does not need to be provided.
$msg->database_id()/$msg->database_id($value)Type:
StringRequired. The ID to use for the database, which will become the final component of the database's resource name.
Google::Cloud::Bigquery::Biglake::V1alpha1::Metastore::DeleteDatabaseRequest
Request message for the DeleteDatabase 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}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}
Google::Cloud::Bigquery::Biglake::V1alpha1::Metastore::UpdateDatabaseRequest
Request message for the UpdateDatabase method.
Inherits from Protobuf::Message.
Accessors
$msg->database()/$msg->database($value)Type:
Message(Google::Cloud::Bigquery::Biglake::V1alpha1::Metastore::Database)Required. The database to update.
The database's `name` field is used to identify the database to update. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)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::Bigquery::Biglake::V1alpha1::Metastore::GetDatabaseRequest
Request message for the GetDatabase 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}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}
Google::Cloud::Bigquery::Biglake::V1alpha1::Metastore::ListDatabasesRequest
Request message for the ListDatabases method.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent, which owns this collection of databases. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}
$msg->page_size()/$msg->page_size($value)Type:
Int32The maximum number of databases to return. The service may return fewer than this value. If unspecified, at most 50 databases will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
$msg->page_token()/$msg->page_token($value)Type:
StringA page token, received from a previous `ListDatabases` call. Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to `ListDatabases` must match the call that provided the page token.
Google::Cloud::Bigquery::Biglake::V1alpha1::Metastore::ListDatabasesResponse
Response message for the ListDatabases method.
Inherits from Protobuf::Message.
Accessors
$msg->databases()/$msg->databases($value)Type:
Message(Google::Cloud::Bigquery::Biglake::V1alpha1::Metastore::Database)The databases from the specified catalog.
$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::Cloud::Bigquery::Biglake::V1alpha1::Metastore::CreateTableRequest
Request message for the CreateTable method.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent resource where this table will be created. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}
$msg->table()/$msg->table($value)Type:
Message(Google::Cloud::Bigquery::Biglake::V1alpha1::Metastore::Table)Required. The table to create. The `name` field does not need to be provided for the table creation.
$msg->table_id()/$msg->table_id($value)Type:
StringRequired. The ID to use for the table, which will become the final component of the table's resource name.
Google::Cloud::Bigquery::Biglake::V1alpha1::Metastore::DeleteTableRequest
Request message for the DeleteTable method.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the table to delete. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id}
Google::Cloud::Bigquery::Biglake::V1alpha1::Metastore::UpdateTableRequest
Request message for the UpdateTable method.
Inherits from Protobuf::Message.
Accessors
$msg->table()/$msg->table($value)Type:
Message(Google::Cloud::Bigquery::Biglake::V1alpha1::Metastore::Table)Required. The table to update.
The table's `name` field is used to identify the table to update. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id}
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)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::Bigquery::Biglake::V1alpha1::Metastore::RenameTableRequest
Request message for the RenameTable method in MetastoreService
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The table's `name` field is used to identify the table to rename. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id}
$msg->new_name()/$msg->new_name($value)Type:
StringRequired. The new `name` for the specified table, must be in the same database. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id}
Google::Cloud::Bigquery::Biglake::V1alpha1::Metastore::GetTableRequest
Request message for the GetTable 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}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id}
Google::Cloud::Bigquery::Biglake::V1alpha1::Metastore::ListTablesRequest
Request message for the ListTables method.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent, which owns this collection of tables. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}
$msg->page_size()/$msg->page_size($value)Type:
Int32The maximum number of tables to return. The service may return fewer than this value. If unspecified, at most 50 tables will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
$msg->page_token()/$msg->page_token($value)Type:
StringA page token, received from a previous `ListTables` call. Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to `ListTables` must match the call that provided the page token.
$msg->view()/$msg->view($value)Type:
Enum(Google::Cloud::Bigquery::Biglake::V1alpha1::TableView)The view for the returned tables.
Google::Cloud::Bigquery::Biglake::V1alpha1::Metastore::ListTablesResponse
Response message for the ListTables method.
Inherits from Protobuf::Message.
Accessors
$msg->tables()/$msg->tables($value)Type:
Message(Google::Cloud::Bigquery::Biglake::V1alpha1::Metastore::Table)The tables from the specified database.
$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::Cloud::Bigquery::Biglake::V1alpha1::Metastore::CreateLockRequest
Request message for the CreateLock method.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent resource where this lock will be created. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}
$msg->lock()/$msg->lock($value)Type:
Message(Google::Cloud::Bigquery::Biglake::V1alpha1::Metastore::Lock)Required. The lock to create. The `name` field does not need to be provided for the lock creation.
Google::Cloud::Bigquery::Biglake::V1alpha1::Metastore::DeleteLockRequest
Request message for the DeleteLock method.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the lock to delete. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/locks/{lock_id}
Google::Cloud::Bigquery::Biglake::V1alpha1::Metastore::CheckLockRequest
Request message for the CheckLock method.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the lock to check. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/locks/{lock_id}
Google::Cloud::Bigquery::Biglake::V1alpha1::Metastore::ListLocksRequest
Request message for the ListLocks method.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent, which owns this collection of locks. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}
$msg->page_size()/$msg->page_size($value)Type:
Int32The maximum number of locks to return. The service may return fewer than this value. If unspecified, at most 50 locks will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
$msg->page_token()/$msg->page_token($value)Type:
StringA page token, received from a previous `ListLocks` call. Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to `ListLocks` must match the call that provided the page token.
Google::Cloud::Bigquery::Biglake::V1alpha1::Metastore::ListLocksResponse
Response message for the ListLocks method.
Inherits from Protobuf::Message.
Accessors
$msg->locks()/$msg->locks($value)Type:
Message(Google::Cloud::Bigquery::Biglake::V1alpha1::Metastore::Lock)The locks from the specified database.
$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::Cloud::Bigquery::Biglake::V1alpha1::Metastore::HiveDatabaseOptions
Options of a Hive database.
Inherits from Protobuf::Message.
Accessors
$msg->location_uri()/$msg->location_uri($value)Type:
StringCloud Storage folder URI where the database data is stored, starting with "gs://".
$msg->parameters()/$msg->parameters($value)Type:
Message(Google::Cloud::Bigquery::Biglake::V1alpha1::Metastore::HiveDatabaseOptions::ParametersEntry)Stores user supplied Hive database parameters.
Google::Cloud::Bigquery::Biglake::V1alpha1::Metastore::HiveTableOptions
Options of a Hive table.
Inherits from Protobuf::Message.
Accessors
$msg->parameters()/$msg->parameters($value)Type:
Message(Google::Cloud::Bigquery::Biglake::V1alpha1::Metastore::HiveTableOptions::ParametersEntry)Stores user supplied Hive table parameters.
$msg->table_type()/$msg->table_type($value)Type:
StringHive table type. For example, MANAGED_TABLE, EXTERNAL_TABLE.
$msg->storage_descriptor()/$msg->storage_descriptor($value)Type:
Message(Google::Cloud::Bigquery::Biglake::V1alpha1::Metastore::HiveTableOptions::StorageDescriptor)Stores physical storage information of the data.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Bigquery::Biglake::V1alpha1::Metastore::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.