Google Cloud Container V1 Client - Class ResourceUsageExportConfig (1.9.1)

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

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.

Generated from protobuf field .google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1;

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

hasBigqueryDestination

clearBigqueryDestination

setBigqueryDestination

Configuration to use BigQuery as usage export destination.

Generated from protobuf field .google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1;

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.

Generated from protobuf field bool enable_network_egress_metering = 2;

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.

Generated from protobuf field bool enable_network_egress_metering = 2;

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getConsumptionMeteringConfig

Configuration to enable resource consumption metering.

Generated from protobuf field .google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3;

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

hasConsumptionMeteringConfig

clearConsumptionMeteringConfig

setConsumptionMeteringConfig

Configuration to enable resource consumption metering.

Generated from protobuf field .google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3;

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