Class Partition (1.0.0)

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

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
NameDescription
otherPartition

Properties

Etag

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

Optional. The etag for this partition.

Property Value
TypeDescription
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/&lt;project_id>/datasets/&lt;dataset_id>/tables/&lt;table_id>

Property Value
TypeDescription
String

Name

public string Name { get; set; }

Output only. The values must be HTML URL encoded two times before constructing the path. For example, if you have a value of "US:CA", encoded it two times and you get "US%253ACA". Then if you have the 2nd value is "CA#Sunnyvale", encoded two times and you get "CA%2523Sunnyvale". The partition values path is "US%253ACA/CA%2523Sunnyvale". The final URL will be "https://.../partitions/US%253ACA/CA%2523Sunnyvale". The name field in the responses will always have the encoded format.

Property Value
TypeDescription
String

PartitionName

public PartitionName PartitionName { get; set; }

PartitionName-typed view over the Name resource name property.

Property Value
TypeDescription
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
TypeDescription
RepeatedField<String>