Google Cloud Container V1 Client - Class CostManagementConfig (1.33.0)

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

Configuration for fine-grained cost management feature.

Generated from protobuf message google.container.v1.CostManagementConfig

Namespace

Google \ Cloud \ Container \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ enabled bool

Whether the feature is enabled or not.

getEnabled

Whether the feature is enabled or not.

Returns
Type Description
bool

setEnabled

Whether the feature is enabled or not.

Parameter
Name Description
var bool
Returns
Type Description
$this