Service Client: Google::Cloud::Bigquery::Biglake::V1::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::V1::Metastore - Compiled Protocol Buffers messages for google/cloud/bigquery/biglake/v1/metastore.proto

SYNOPSIS

use Google::Cloud::Bigquery::Biglake::V1::Metastore;

my $msg = Google::Cloud::Bigquery::Biglake::V1::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::V1::Metastore::Catalog->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/bigquery/biglake/v1/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::V1::Metastore::Catalog

Catalog is the container of databases.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Output 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::V1::Metastore::Database

Database is the container of tables.

Inherits from Protobuf::Message.

Accessors

Enum: Database::Type

  • TYPE_UNSPECIFIED => 0

  • HIVE => 1

Google::Cloud::Bigquery::Biglake::V1::Metastore::Table

Represents a table.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Bigquery::Biglake::V1::Metastore::HiveTableOptions)

    Options of a Hive table.

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

    Type: String

    Output 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::V1::Table::Type)

    The table type.

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

    Type: String

    The 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 => 0

  • HIVE => 1

Google::Cloud::Bigquery::Biglake::V1::Metastore::CreateCatalogRequest

Request message for the CreateCatalog 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}/locations/{location_id}

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

    Type: Message (Google::Cloud::Bigquery::Biglake::V1::Metastore::Catalog)

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

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

    Type: String

    Required. The ID to use for the catalog, which will become the final component of the catalog's resource name.

Google::Cloud::Bigquery::Biglake::V1::Metastore::DeleteCatalogRequest

Request message for the DeleteCatalog 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}/locations/{location_id}/catalogs/{catalog_id}

Google::Cloud::Bigquery::Biglake::V1::Metastore::GetCatalogRequest

Request message for the GetCatalog 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}/locations/{location_id}/catalogs/{catalog_id}

Google::Cloud::Bigquery::Biglake::V1::Metastore::ListCatalogsRequest

Request message for the ListCatalogs method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. 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: Int32

    The 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: String

    A 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::V1::Metastore::ListCatalogsResponse

Response message for the ListCatalogs method.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Bigquery::Biglake::V1::Metastore::Catalog)

    The catalogs from the specified project.

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

    Type: String

    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::Bigquery::Biglake::V1::Metastore::CreateDatabaseRequest

Request message for the CreateDatabase 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}/locations/{location_id}/catalogs/{catalog_id}

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

    Type: Message (Google::Cloud::Bigquery::Biglake::V1::Metastore::Database)

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

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

    Type: String

    Required. The ID to use for the database, which will become the final component of the database's resource name.

Google::Cloud::Bigquery::Biglake::V1::Metastore::DeleteDatabaseRequest

Request message for the DeleteDatabase 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}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}

Google::Cloud::Bigquery::Biglake::V1::Metastore::UpdateDatabaseRequest

Request message for the UpdateDatabase method.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Bigquery::Biglake::V1::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::V1::Metastore::GetDatabaseRequest

Request message for the GetDatabase 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}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}

Google::Cloud::Bigquery::Biglake::V1::Metastore::ListDatabasesRequest

Request message for the ListDatabases method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. 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: Int32

    The 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: String

    A 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::V1::Metastore::ListDatabasesResponse

Response message for the ListDatabases method.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Bigquery::Biglake::V1::Metastore::Database)

    The databases from the specified catalog.

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

    Type: String

    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::Bigquery::Biglake::V1::Metastore::CreateTableRequest

Request message for the CreateTable method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. 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::V1::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: String

    Required. The ID to use for the table, which will become the final component of the table's resource name.

Google::Cloud::Bigquery::Biglake::V1::Metastore::DeleteTableRequest

Request message for the DeleteTable method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. 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::V1::Metastore::UpdateTableRequest

Request message for the UpdateTable method.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Bigquery::Biglake::V1::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::V1::Metastore::RenameTableRequest

Request message for the RenameTable method in MetastoreService

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. 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: String

    Required. 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::V1::Metastore::GetTableRequest

Request message for the GetTable 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}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id}

Google::Cloud::Bigquery::Biglake::V1::Metastore::ListTablesRequest

Request message for the ListTables method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. 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: Int32

    The 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: String

    A 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::V1::TableView)

    The view for the returned tables.

Google::Cloud::Bigquery::Biglake::V1::Metastore::ListTablesResponse

Response message for the ListTables method.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Bigquery::Biglake::V1::Metastore::Table)

    The tables from the specified database.

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

    Type: String

    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::Bigquery::Biglake::V1::Metastore::HiveDatabaseOptions

Options of a Hive database.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Bigquery::Biglake::V1::Metastore::HiveTableOptions

Options of a Hive table.

Inherits from Protobuf::Message.

Accessors

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Bigquery::Biglake::V1::Metastore::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.