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



1571
1572
1573
# File 'generated/google/apis/container_v1/classes.rb', line 1571

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)


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