Google Cloud Asset V1 Client - Class PartitionSpec (1.9.2)

Reference documentation and code samples for the Google Cloud Asset V1 Client class PartitionSpec.

Specifications of BigQuery partitioned table as export destination.

Generated from protobuf message google.cloud.asset.v1.PartitionSpec

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ partition_key int

The partition key for BigQuery partitioned table.

getPartitionKey

The partition key for BigQuery partitioned table.

Generated from protobuf field .google.cloud.asset.v1.PartitionSpec.PartitionKey partition_key = 1;

Returns
TypeDescription
int

setPartitionKey

The partition key for BigQuery partitioned table.

Generated from protobuf field .google.cloud.asset.v1.PartitionSpec.PartitionKey partition_key = 1;

Parameter
NameDescription
var int
Returns
TypeDescription
$this