Google Cloud Dataproc Metastore V1 Client - Class LocationMetadata (0.6.1)

Reference documentation and code samples for the Google Cloud Dataproc Metastore V1 Client class LocationMetadata.

Metadata about the service in a location.

Generated from protobuf message google.cloud.metastore.v1.LocationMetadata

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ supported_hive_metastore_versions array<Google\Cloud\Metastore\V1\LocationMetadata\HiveMetastoreVersion>

The versions of Hive Metastore that can be used when creating a new metastore service in this location. The server guarantees that exactly one HiveMetastoreVersion in the list will set is_default.

getSupportedHiveMetastoreVersions

The versions of Hive Metastore that can be used when creating a new metastore service in this location. The server guarantees that exactly one HiveMetastoreVersion in the list will set is_default.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setSupportedHiveMetastoreVersions

The versions of Hive Metastore that can be used when creating a new metastore service in this location. The server guarantees that exactly one HiveMetastoreVersion in the list will set is_default.

Parameter
NameDescription
var array<Google\Cloud\Metastore\V1\LocationMetadata\HiveMetastoreVersion>
Returns
TypeDescription
$this