Google Anthos Multi Cloud V1 Client - Class MonitoringConfig (0.6.1)

Reference documentation and code samples for the Google Anthos Multi Cloud V1 Client class MonitoringConfig.

Parameters that describe the Monitoring configuration in a cluster.

Generated from protobuf message google.cloud.gkemulticloud.v1.MonitoringConfig

Namespace

Google \ Cloud \ GkeMultiCloud \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ managed_prometheus_config Google\Cloud\GkeMultiCloud\V1\ManagedPrometheusConfig

Enable Google Cloud Managed Service for Prometheus in the cluster.

getManagedPrometheusConfig

Enable Google Cloud Managed Service for Prometheus in the cluster.

Returns
Type Description
Google\Cloud\GkeMultiCloud\V1\ManagedPrometheusConfig|null

hasManagedPrometheusConfig

clearManagedPrometheusConfig

setManagedPrometheusConfig

Enable Google Cloud Managed Service for Prometheus in the cluster.

Parameter
Name Description
var Google\Cloud\GkeMultiCloud\V1\ManagedPrometheusConfig
Returns
Type Description
$this