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

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 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
ManagedPrometheusConfig|null

hasManagedPrometheusConfig

clearManagedPrometheusConfig

setManagedPrometheusConfig

Enable Google Cloud Managed Service for Prometheus in the cluster.

Parameter
Name Description
var ManagedPrometheusConfig
Returns
Type Description
$this