Google Cloud Dataplex V1 Client - Class DeletePartitionRequest (0.13.0)

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
NameDescription
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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getEtag

Optional. The etag associated with the partition.

Returns
TypeDescription
string

setEtag

Optional. The etag associated with the partition.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
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
TypeDescription
Google\Cloud\Dataplex\V1\DeletePartitionRequest