google_api_container v0.12.0 GoogleApi.Container.V1.Model.SetMonitoringServiceRequest View Source

SetMonitoringServiceRequest sets the monitoring service of a cluster.

Attributes

  • clusterId (type: String.t, default: nil) - Required. Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.

  • monitoringService (type: String.t, default: nil) - Required. The monitoring service the cluster should use to write metrics. Currently available options:

    • "monitoring.googleapis.com/kubernetes" - the Google Cloud Monitoring service with Kubernetes-native resource model
    • "monitoring.googleapis.com" - the Google Cloud Monitoring service
    • "none" - no metrics will be exported from the cluster
  • name (type: String.t, default: nil) - The name (project, location, cluster) of the cluster to set monitoring. Specified in the format 'projects//locations//clusters/*'.

  • projectId (type: String.t, default: nil) - Required. Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.

  • zone (type: String.t, default: nil) - Required. Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.Container.V1.Model.SetMonitoringServiceRequest{
  clusterId: String.t(),
  monitoringService: String.t(),
  name: String.t(),
  projectId: String.t(),
  zone: String.t()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.