Google Cloud Container V1 Client - Class ResourceUsageExportConfig (2.0.0-RC1)

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
Name Description
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
Type Description
Google\Cloud\Container\V1\ResourceUsageExportConfig\BigQueryDestination|null

hasBigqueryDestination

clearBigqueryDestination

setBigqueryDestination

Configuration to use BigQuery as usage export destination.

Parameter
Name Description
var Google\Cloud\Container\V1\ResourceUsageExportConfig\BigQueryDestination
Returns
Type Description
$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
Type Description
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
Name Description
var bool
Returns
Type Description
$this

getConsumptionMeteringConfig

Configuration to enable resource consumption metering.

Returns
Type Description
Google\Cloud\Container\V1\ResourceUsageExportConfig\ConsumptionMeteringConfig|null

hasConsumptionMeteringConfig

clearConsumptionMeteringConfig

setConsumptionMeteringConfig

Configuration to enable resource consumption metering.

Parameter
Name Description
var Google\Cloud\Container\V1\ResourceUsageExportConfig\ConsumptionMeteringConfig
Returns
Type Description
$this