Service Client: Google::Cloud::Metastore::V1beta::MetastoreFederation::DataprocMetastoreFederationClient
Client stub representing the remote DataprocMetastoreFederation gRPC service. Delegates call dispatching to Google::gRPC::Client.
target
The endpoint target address. Defaults to metastore.googleapis.com:443.
credentials
The authentication credentials provider. Defaults to application default credentials via Google::Auth.
NAME
Google::Cloud::Metastore::V1beta::MetastoreFederation - Compiled Protocol Buffers messages for google/cloud/metastore/v1beta/metastore_federation.proto
SYNOPSIS
use Google::Cloud::Metastore::V1beta::MetastoreFederation;
my $msg = Google::Cloud::Metastore::V1beta::MetastoreFederation::Federation->new({
name => $name,
create_time => $create_time,
update_time => $update_time,
labels => $labels,
});
# Read or update a field
my $val = $msg->name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Metastore::V1beta::MetastoreFederation::Federation->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/metastore/v1beta/metastore_federation.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::Metastore::V1beta::MetastoreFederation::Federation
Represents a federation of multiple backend metastores.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringImmutable. The relative resource name of the federation, of the form: projects/{project_number}/locations/{location_id}/federations/{federation_id}`.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time when the metastore federation was created.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time when the metastore federation was last updated.
$msg->labels()/$msg->labels($value)Type:
Message(Google::Cloud::Metastore::V1beta::MetastoreFederation::Federation::LabelsEntry)User-defined labels for the metastore federation.
$msg->version()/$msg->version($value)Type:
StringImmutable. The Apache Hive metastore version of the federation. All backend metastore versions must be compatible with the federation version.
$msg->backend_metastores()/$msg->backend_metastores($value)Type:
Message(Google::Cloud::Metastore::V1beta::MetastoreFederation::Federation::BackendMetastoresEntry)A map from `BackendMetastore` rank to `BackendMetastore`s from which the federation service serves metadata at query time. The map key represents the order in which `BackendMetastore`s should be evaluated to resolve database names at query time and should be greater than or equal to zero. A `BackendMetastore` with a lower number will be evaluated before a `BackendMetastore` with a higher number.
$msg->endpoint_uri()/$msg->endpoint_uri($value)Type:
StringOutput only. The federation endpoint.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Metastore::V1beta::Federation::State)Output only. The current state of the federation.
$msg->state_message()/$msg->state_message($value)Type:
StringOutput only. Additional information about the current state of the metastore federation, if available.
$msg->uid()/$msg->uid($value)Type:
StringOutput only. The globally unique resource identifier of the metastore federation.
Enum: Federation::State
STATE_UNSPECIFIED=>0CREATING=>1ACTIVE=>2UPDATING=>3DELETING=>4ERROR=>5
Google::Cloud::Metastore::V1beta::MetastoreFederation::BackendMetastore
Represents a backend metastore for the federation.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringThe relative resource name of the metastore that is being federated. The formats of the relative resource names for the currently supported metastores are listed below:
* BigQuery * `projects/{project_id}` * Dataproc Metastore * `projects/{project_id}/locations/{location}/services/{service_id}`
$msg->metastore_type()/$msg->metastore_type($value)Type:
Enum(Google::Cloud::Metastore::V1beta::BackendMetastore::MetastoreType)The type of the backend metastore.
Enum: BackendMetastore::MetastoreType
METASTORE_TYPE_UNSPECIFIED=>0DATAPLEX=>1BIGQUERY=>2DATAPROC_METASTORE=>3
Google::Cloud::Metastore::V1beta::MetastoreFederation::ListFederationsRequest
Request message for ListFederations.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The relative resource name of the location of metastore federations to list, in the following form: `projects/{project_number}/locations/{location_id}`.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. The maximum number of federations to return. The response may contain less than the maximum number. If unspecified, no more than 500 services are returned. The maximum value is 1000; values above 1000 are changed to 1000.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. A page token, received from a previous ListFederationServices call. Provide this token to retrieve the subsequent page.
To retrieve the first page, supply an empty page token.
When paginating, other parameters provided to ListFederationServices must match the call that provided the page token.
$msg->filter()/$msg->filter($value)Type:
StringOptional. The filter to apply to list results.
$msg->order_by()/$msg->order_by($value)Type:
StringOptional. Specify the ordering of results as described in [Sorting Order](https://cloud.google.com/apis/design/design_patterns#sorting_order). If not specified, the results will be sorted in the default order.
Google::Cloud::Metastore::V1beta::MetastoreFederation::ListFederationsResponse
Response message for ListFederations
Inherits from Protobuf::Message.
Accessors
$msg->federations()/$msg->federations($value)Type:
Message(Google::Cloud::Metastore::V1beta::MetastoreFederation::Federation)The services in the specified location.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token that 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:
StringLocations that could not be reached.
Google::Cloud::Metastore::V1beta::MetastoreFederation::GetFederationRequest
Request message for GetFederation.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The relative resource name of the metastore federation to retrieve, in the following form:
`projects/{project_number}/locations/{location_id}/federations/{federation_id}`.
Google::Cloud::Metastore::V1beta::MetastoreFederation::CreateFederationRequest
Request message for CreateFederation.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The relative resource name of the location in which to create a federation service, in the following form:
`projects/{project_number}/locations/{location_id}`.
$msg->federation_id()/$msg->federation_id($value)Type:
StringRequired. The ID of the metastore federation, which is used as the final component of the metastore federation's name.
This value must be between 2 and 63 characters long inclusive, begin with a letter, end with a letter or number, and consist of alpha-numeric ASCII characters or hyphens.
$msg->federation()/$msg->federation($value)Type:
Message(Google::Cloud::Metastore::V1beta::MetastoreFederation::Federation)Required. The Metastore Federation to create. The `name` field is ignored. The ID of the created metastore federation must be provided in the request's `federation_id` field.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.
For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.
The request ID must be a valid [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
Google::Cloud::Metastore::V1beta::MetastoreFederation::UpdateFederationRequest
Request message for UpdateFederation.
Inherits from Protobuf::Message.
Accessors
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Required. A field mask used to specify the fields to be overwritten in the metastore federation resource by the update. Fields specified in the `update_mask` are relative to the resource (not to the full request). A field is overwritten if it is in the mask.
$msg->federation()/$msg->federation($value)Type:
Message(Google::Cloud::Metastore::V1beta::MetastoreFederation::Federation)Required. The metastore federation to update. The server only merges fields in the service if they are specified in `update_mask`.
The metastore federation's `name` field is used to identify the metastore service to be updated.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.
For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.
The request ID must be a valid [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
Google::Cloud::Metastore::V1beta::MetastoreFederation::DeleteFederationRequest
Request message for DeleteFederation.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The relative resource name of the metastore federation to delete, in the following form:
`projects/{project_number}/locations/{location_id}/federations/{federation_id}`.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.
For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.
The request ID must be a valid [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Metastore::V1beta::MetastoreFederation::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.