Cloud Asset V1 API - Module Google::Cloud::Asset::V1::PartitionSpec::PartitionKey (v1.0.2)

Reference documentation and code samples for the Cloud Asset V1 API module Google::Cloud::Asset::V1::PartitionSpec::PartitionKey.

This enum is used to determine the partition key column when exporting assets to BigQuery partitioned table(s). Note that, if the partition key is a timestamp column, the actual partition is based on its date value (expressed in UTC. see details in https://cloud.google.com/bigquery/docs/partitioned-tables#date_timestamp_partitioned_tables).

Constants

PARTITION_KEY_UNSPECIFIED

value: 0
Unspecified partition key. If used, it means using non-partitioned table.

READ_TIME

value: 1
The time when the snapshot is taken. If specified as partition key, the result table(s) is partitoned by the additional timestamp column, readTime. If [read_time] in ExportAssetsRequest is specified, the readTime column's value will be the same as it. Otherwise, its value will be the current time that is used to take the snapshot.

REQUEST_TIME

value: 2
The time when the request is received and started to be processed. If specified as partition key, the result table(s) is partitoned by the requestTime column, an additional timestamp column representing when the request was received.