Class: Google::Apis::ContainerV1::SetLoggingServiceRequest

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
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

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ SetLoggingServiceRequest

Returns a new instance of SetLoggingServiceRequest



1675
1676
1677
# File 'generated/google/apis/container_v1/classes.rb', line 1675

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#logging_serviceString

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

Returns:

  • (String)


1673
1674
1675
# File 'generated/google/apis/container_v1/classes.rb', line 1673

def logging_service
  @logging_service
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1680
1681
1682
# File 'generated/google/apis/container_v1/classes.rb', line 1680

def update!(**args)
  @logging_service = args[:logging_service] if args.key?(:logging_service)
end