Google Cloud Container V1 Client - Class AdvancedDatapathObservabilityConfig (1.19.0)

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

AdvancedDatapathObservabilityConfig specifies configuration of observability features of advanced datapath.

Generated from protobuf message google.container.v1.AdvancedDatapathObservabilityConfig

Namespace

Google \ Cloud \ Container \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ enable_metrics bool

Expose flow metrics on nodes

↳ relay_mode int

Method used to make Relay available

getEnableMetrics

Expose flow metrics on nodes

Returns
TypeDescription
bool

setEnableMetrics

Expose flow metrics on nodes

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getRelayMode

Method used to make Relay available

Returns
TypeDescription
int

setRelayMode

Method used to make Relay available

Parameter
NameDescription
var int
Returns
TypeDescription
$this