Class PartitionSpec (3.14.1)

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

Specifications of BigQuery partitioned table as export destination.

Attribute

NameDescription
partition_key google.cloud.asset_v1.types.PartitionSpec.PartitionKey
The partition key for BigQuery partitioned table.

Inheritance

builtins.object > proto.message.Message > PartitionSpec

Classes

PartitionKey

PartitionKey(value)

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).