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

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
NameDescription
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
TypeDescription
Google\Cloud\GkeMultiCloud\V1\ManagedPrometheusConfig|null

hasManagedPrometheusConfig

clearManagedPrometheusConfig

setManagedPrometheusConfig

Enable Google Cloud Managed Service for Prometheus in the cluster.

Parameter
NameDescription
var Google\Cloud\GkeMultiCloud\V1\ManagedPrometheusConfig
Returns
TypeDescription
$this