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 | |
|---|---|
| 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.
Generated from protobuf field .google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1;
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| 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.
Generated from protobuf field bool enable_network_egress_metering = 2;
| 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.
Generated from protobuf field bool enable_network_egress_metering = 2;
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getConsumptionMeteringConfig
Configuration to enable resource consumption metering.
Generated from protobuf field .google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3;
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
var |
Google\Cloud\Container\V1\ResourceUsageExportConfig\ConsumptionMeteringConfig
|
| Returns | |
|---|---|
| Type | Description |
$this |
|