Class: Google::Container::V1::SetMonitoringServiceRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb

Overview

SetMonitoringServiceRequest sets the monitoring service of a cluster.

Instance Attribute Summary collapse

Instance Attribute Details

#cluster_idString

Returns Required. Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.

Returns:

  • (String)

    Required. Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.



1206
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 1206

class SetMonitoringServiceRequest; end

#monitoring_serviceString

Returns 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.

Returns:

  • (String)

    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


1206
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 1206

class SetMonitoringServiceRequest; end

#nameString

Returns The name (project, location, cluster) of the cluster to set monitoring. Specified in the format 'projects//locations//clusters/*'.

Returns:

  • (String)

    The name (project, location, cluster) of the cluster to set monitoring. Specified in the format 'projects//locations//clusters/*'.



1206
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 1206

class SetMonitoringServiceRequest; end

#project_idString

Returns Required. Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.

Returns:

  • (String)

    Required. Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.



1206
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 1206

class SetMonitoringServiceRequest; end

#zoneString

Returns 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.

Returns:

  • (String)

    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.



1206
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 1206

class SetMonitoringServiceRequest; end