3.16.0 (latest) 3.15.0 3.14.0 3.13.0 3.12.0 3.11.0 3.10.0 3.9.0 3.8.0 3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0 3.1.0 3.0.0 2.15.0 2.14.0 2.13.0 2.12.0 2.11.0 2.10.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.0.0

    public sealed class Partition : IMessage<Partition>, IEquatable<Partition>, IDeepCloneable<Partition>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Dataplex v1 API class Partition.

Represents partition metadata contained within entity instances.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> Partition

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[Partition](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.Partition.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Partition](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.Partition.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[Partition](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.Partition.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Dataplex.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.md.txt)

## Assembly

Google.Cloud.Dataplex.V1.dll

## Constructors

### Partition()

    public Partition()

### Partition(Partition)

    public Partition(Partition other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `Partition` |

## Properties

### Etag

    [Obsolete]
    public string Etag { get; set; }

Optional. The etag for this partition.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### Location

    public string Location { get; set; }

Required. Immutable. The location of the entity data within the partition,
for example, `gs://bucket/path/to/entity/key1=value1/key2=value2`. Or
`projects/<project_id>/datasets/<dataset_id>/tables/<table_id>`

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### Name

    public string Name { get; set; }

Output only. Partition values used in the HTTP URL must be
double encoded. For example, `url_encode(url_encode(value))` can be used
to encode "US:CA/CA#Sunnyvale so that the request URL ends
with "/partitions/US%253ACA/CA%2523Sunnyvale".
The name field in the response retains the encoded format.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### PartitionName

    public PartitionName PartitionName { get; set; }

[PartitionName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.PartitionName.md.txt)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.Partition.md.txt#Google_Cloud_Dataplex_V1_Partition_Name) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `PartitionName` |   |

### Values

    public RepeatedField<string> Values { get; }

Required. Immutable. The set of values representing the partition, which
correspond to the partition schema defined in the parent entity.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldstring` |   |