Google Cloud Dataplex V1 Client - Class GetPartitionRequest (0.4.0)

Reference documentation and code samples for the Google Cloud Dataplex V1 Client class GetPartitionRequest.

Get metadata partition request.

Generated from protobuf message google.cloud.dataplex.v1.GetPartitionRequest

Methods

build

Parameter
NameDescription
name string

Required. The resource name of the partition: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}/partitions/{partition_value_path}. The {partition_value_path} segment consists of an ordered sequence of partition values separated by "/". All values must be provided. Please see {@see \Google\Cloud\Dataplex\V1\MetadataServiceClient::partitionName()} for help formatting this field.

Returns
TypeDescription
Google\Cloud\Dataplex\V1\GetPartitionRequest

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The resource name of the partition: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}/partitions/{partition_value_path}. The {partition_value_path} segment consists of an ordered sequence of partition values separated by "/". All values must be provided.

getName

Required. The resource name of the partition: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}/partitions/{partition_value_path}.

The {partition_value_path} segment consists of an ordered sequence of partition values separated by "/". All values must be provided.

Returns
TypeDescription
string

setName

Required. The resource name of the partition: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}/partitions/{partition_value_path}.

The {partition_value_path} segment consists of an ordered sequence of partition values separated by "/". All values must be provided.

Parameter
NameDescription
var string
Returns
TypeDescription
$this