Class: Google::Container::V1::SetMonitoringServiceRequest
- Inherits:
-
Object
- Object
- Google::Container::V1::SetMonitoringServiceRequest
- 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
-
#cluster_id ⇒ String
Required.
-
#monitoring_service ⇒ String
Required.
-
#name ⇒ String
The name (project, location, cluster) of the cluster to set monitoring.
-
#project_id ⇒ String
Required.
-
#zone ⇒ String
Required.
Instance Attribute Details
#cluster_id ⇒ String
Returns 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_service ⇒ String
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.
1206 |
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 1206 class SetMonitoringServiceRequest; end |
#name ⇒ String
Returns 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_id ⇒ String
Returns 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 |
#zone ⇒ String
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.
1206 |
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 1206 class SetMonitoringServiceRequest; end |