Google Cloud Dataplex V1 Client - Class DeletePartitionRequest (0.16.1)

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

Delete metadata partition request.

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

Namespace

Google \ Cloud \ Dataplex \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The resource name of the partition. format: 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.

↳ etag string

Optional. The etag associated with the partition.

getName

Required. The resource name of the partition.

format: 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
Type Description
string

setName

Required. The resource name of the partition.

format: 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
Name Description
var string
Returns
Type Description
$this

getEtag

Optional. The etag associated with the partition.

Returns
Type Description
string

setEtag

Optional. The etag associated with the partition.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The resource name of the partition. format: 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 Google\Cloud\Dataplex\V1\MetadataServiceClient::partitionName() for help formatting this field.

Returns
Type Description
Google\Cloud\Dataplex\V1\DeletePartitionRequest