Google Cloud Dataproc Metastore V1alpha Client - Class Federation (0.8.1)

Reference documentation and code samples for the Google Cloud Dataproc Metastore V1alpha Client class Federation.

Represents a federation of multiple backend metastores.

Generated from protobuf message google.cloud.metastore.v1alpha.Federation

Namespace

Google \ Cloud \ Metastore \ V1alpha

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Immutable. The relative resource name of the federation, of the form: projects/{project_number}/locations/{location_id}/federations/{federation_id}`.

↳ create_time Google\Protobuf\Timestamp

Output only. The time when the metastore federation was created.

↳ update_time Google\Protobuf\Timestamp

Output only. The time when the metastore federation was last updated.

↳ labels array|Google\Protobuf\Internal\MapField

User-defined labels for the metastore federation.

↳ version string

Immutable. The Apache Hive metastore version of the federation. All backend metastore versions must be compatible with the federation version.

↳ backend_metastores array|Google\Protobuf\Internal\MapField

A map from BackendMetastore rank to BackendMetastores from which the federation service serves metadata at query time. The map key represents the order in which BackendMetastores 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.

↳ endpoint_uri string

Output only. The federation endpoint.

↳ state int

Output only. The current state of the federation.

↳ state_message string

Output only. Additional information about the current state of the metastore federation, if available.

↳ uid string

Output only. The globally unique resource identifier of the metastore federation.

getName

Immutable. The relative resource name of the federation, of the form: projects/{project_number}/locations/{location_id}/federations/{federation_id}`.

Returns
TypeDescription
string

setName

Immutable. The relative resource name of the federation, of the form: projects/{project_number}/locations/{location_id}/federations/{federation_id}`.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCreateTime

Output only. The time when the metastore federation was created.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. The time when the metastore federation was created.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getUpdateTime

Output only. The time when the metastore federation was last updated.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. The time when the metastore federation was last updated.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getLabels

User-defined labels for the metastore federation.

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setLabels

User-defined labels for the metastore federation.

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this

getVersion

Immutable. The Apache Hive metastore version of the federation. All backend metastore versions must be compatible with the federation version.

Returns
TypeDescription
string

setVersion

Immutable. The Apache Hive metastore version of the federation. All backend metastore versions must be compatible with the federation version.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getBackendMetastores

A map from BackendMetastore rank to BackendMetastores from which the federation service serves metadata at query time. The map key represents the order in which BackendMetastores 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.

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setBackendMetastores

A map from BackendMetastore rank to BackendMetastores from which the federation service serves metadata at query time. The map key represents the order in which BackendMetastores 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.

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this

getEndpointUri

Output only. The federation endpoint.

Returns
TypeDescription
string

setEndpointUri

Output only. The federation endpoint.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getState

Output only. The current state of the federation.

Returns
TypeDescription
int

setState

Output only. The current state of the federation.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getStateMessage

Output only. Additional information about the current state of the metastore federation, if available.

Returns
TypeDescription
string

setStateMessage

Output only. Additional information about the current state of the metastore federation, if available.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getUid

Output only. The globally unique resource identifier of the metastore federation.

Returns
TypeDescription
string

setUid

Output only. The globally unique resource identifier of the metastore federation.

Parameter
NameDescription
var string
Returns
TypeDescription
$this