Google Cloud Container V1 Client - Class ResourceUsageExportConfig (1.19.0)

Reference documentation and code samples for the Google Cloud Container V1 Client class ResourceUsageExportConfig.

Configuration for exporting cluster resource usages.

Generated from protobuf message google.container.v1.ResourceUsageExportConfig

Namespace

Google \ Cloud \ Container \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ bigquery_destination Google\Cloud\Container\V1\ResourceUsageExportConfig\BigQueryDestination

Configuration to use BigQuery as usage export destination.

↳ enable_network_egress_metering bool

Whether to enable network egress metering for this cluster. If enabled, a daemonset will be created in the cluster to meter network egress traffic.

↳ consumption_metering_config Google\Cloud\Container\V1\ResourceUsageExportConfig\ConsumptionMeteringConfig

Configuration to enable resource consumption metering.

getBigqueryDestination

Configuration to use BigQuery as usage export destination.

Returns
TypeDescription
Google\Cloud\Container\V1\ResourceUsageExportConfig\BigQueryDestination|null

hasBigqueryDestination

clearBigqueryDestination

setBigqueryDestination

Configuration to use BigQuery as usage export destination.

Parameter
NameDescription
var Google\Cloud\Container\V1\ResourceUsageExportConfig\BigQueryDestination
Returns
TypeDescription
$this

getEnableNetworkEgressMetering

Whether to enable network egress metering for this cluster. If enabled, a daemonset will be created in the cluster to meter network egress traffic.

Returns
TypeDescription
bool

setEnableNetworkEgressMetering

Whether to enable network egress metering for this cluster. If enabled, a daemonset will be created in the cluster to meter network egress traffic.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getConsumptionMeteringConfig

Configuration to enable resource consumption metering.

Returns
TypeDescription
Google\Cloud\Container\V1\ResourceUsageExportConfig\ConsumptionMeteringConfig|null

hasConsumptionMeteringConfig

clearConsumptionMeteringConfig

setConsumptionMeteringConfig

Configuration to enable resource consumption metering.

Parameter
NameDescription
var Google\Cloud\Container\V1\ResourceUsageExportConfig\ConsumptionMeteringConfig
Returns
TypeDescription
$this