Cloud Dataplex v1 API - Class Partition (2.15.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 > Partition

Namespace

Google.Cloud.Dataplex.V1

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-typed view over the 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