Class: Google::Apis::ContainerV1::SetMonitoringServiceRequest
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1::SetMonitoringServiceRequest
- Defined in:
- generated/google/apis/container_v1/classes.rb,
generated/google/apis/container_v1/representations.rb,
generated/google/apis/container_v1/representations.rb
Overview
SetMonitoringServiceRequest sets the monitoring service of a cluster.
Instance Attribute Summary collapse
-
#monitoring_service ⇒ String
The monitoring service the cluster should use to write metrics.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SetMonitoringServiceRequest
constructor
A new instance of SetMonitoringServiceRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ SetMonitoringServiceRequest
Returns a new instance of SetMonitoringServiceRequest
1620 1621 1622 |
# File 'generated/google/apis/container_v1/classes.rb', line 1620 def initialize(**args) update!(**args) end |
Instance Attribute Details
#monitoring_service ⇒ String
The monitoring service the cluster should use to write metrics. Currently available options:
- "monitoring.googleapis.com" - the Google Cloud Monitoring service
- "none" - no metrics will be exported from the cluster
Corresponds to the JSON property
monitoringService
1618 1619 1620 |
# File 'generated/google/apis/container_v1/classes.rb', line 1618 def monitoring_service @monitoring_service end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1625 1626 1627 |
# File 'generated/google/apis/container_v1/classes.rb', line 1625 def update!(**args) @monitoring_service = args[:monitoring_service] if args.key?(:monitoring_service) end |