Class Partition (0.2.1)

Partition(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents partition metadata contained within entity instances.

Attributes

NameDescription
name str
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.
values Sequence[str]
Required. Immutable. The set of values representing the partition, which correspond to the partition schema defined in the parent entity.
location str
Required. Immutable. The location of the entity data within the partition, for example, gs://bucket/path/to/entity/key1=value1/key2=value2. Or projects/
etag str
Optional. The etag for this partition.