Google Cloud Container V1 Client - Class CostManagementConfig (1.24.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
NameDescription
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
TypeDescription
bool

setEnabled

Whether the feature is enabled or not.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this