Class: Google::Apis::ContainerV1::SetLoggingServiceRequest
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1::SetLoggingServiceRequest
- Defined in:
- generated/google/apis/container_v1/classes.rb,
generated/google/apis/container_v1/representations.rb,
generated/google/apis/container_v1/representations.rb
Overview
SetLoggingServiceRequest sets the logging service of a cluster.
Instance Attribute Summary collapse
-
#logging_service ⇒ String
The logging service the cluster should use to write metrics.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SetLoggingServiceRequest
constructor
A new instance of SetLoggingServiceRequest.
-
#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) ⇒ SetLoggingServiceRequest
Returns a new instance of SetLoggingServiceRequest
1571 1572 1573 |
# File 'generated/google/apis/container_v1/classes.rb', line 1571 def initialize(**args) update!(**args) end |
Instance Attribute Details
#logging_service ⇒ String
The logging service the cluster should use to write metrics. Currently available options:
- "logging.googleapis.com" - the Google Cloud Logging service
- "none" - no metrics will be exported from the cluster
Corresponds to the JSON property
loggingService
1569 1570 1571 |
# File 'generated/google/apis/container_v1/classes.rb', line 1569 def logging_service @logging_service end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1576 1577 1578 |
# File 'generated/google/apis/container_v1/classes.rb', line 1576 def update!(**args) @logging_service = args[:logging_service] if args.key?(:logging_service) end |