Google Cloud Container V1 Client - Class ResourceUsageExportConfig (2.5.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
Name
Description
data
array

Optional. Data for populating the Message object.

↳ bigquery_destination
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
ResourceUsageExportConfig\ConsumptionMeteringConfig

Configuration to enable resource consumption metering.

getBigqueryDestination

Configuration to use BigQuery as usage export destination.

Returns
Type
Description

hasBigqueryDestination

clearBigqueryDestination

setBigqueryDestination

Configuration to use BigQuery as usage export destination.

Parameter
Name
Description
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.

hasConsumptionMeteringConfig

clearConsumptionMeteringConfig

setConsumptionMeteringConfig

Configuration to enable resource consumption metering.

Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: