REST Resource: projects.locations.lakes.zones.entities.partitions

Stay organized with collections Save and categorize content based on your preferences.

Resource: Partition

Represents partition metadata contained within entity instances.

JSON representation
{
  "name": string,
  "values": [
    string
  ],
  "location": string,
  "etag": string
}
Fields
name

string

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.

values[]

string

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

location

string

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>

etag
(deprecated)

string

Optional. The etag for this partition.

Methods

create

Create a metadata partition.

delete

Delete a metadata partition.

get

Get a metadata partition of an entity.

list

List metadata partitions of an entity.