Class: Google::Apis::ContainerV1::RayOperatorConfig

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/container_v1/classes.rb,
lib/google/apis/container_v1/representations.rb,
lib/google/apis/container_v1/representations.rb

Overview

Configuration options for the Ray Operator add-on.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RayOperatorConfig

Returns a new instance of RayOperatorConfig.



8213
8214
8215
# File 'lib/google/apis/container_v1/classes.rb', line 8213

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

Instance Attribute Details

#enabledBoolean Also known as: enabled?

Whether the Ray Operator addon is enabled for this cluster. Corresponds to the JSON property enabled

Returns:

  • (Boolean)


8200
8201
8202
# File 'lib/google/apis/container_v1/classes.rb', line 8200

def enabled
  @enabled
end

#ray_cluster_logging_configGoogle::Apis::ContainerV1::RayClusterLoggingConfig

RayClusterLoggingConfig specifies configuration of Ray logging. Corresponds to the JSON property rayClusterLoggingConfig



8206
8207
8208
# File 'lib/google/apis/container_v1/classes.rb', line 8206

def ray_cluster_logging_config
  @ray_cluster_logging_config
end

#ray_cluster_monitoring_configGoogle::Apis::ContainerV1::RayClusterMonitoringConfig

RayClusterMonitoringConfig specifies monitoring configuration for Ray clusters. Corresponds to the JSON property rayClusterMonitoringConfig



8211
8212
8213
# File 'lib/google/apis/container_v1/classes.rb', line 8211

def ray_cluster_monitoring_config
  @ray_cluster_monitoring_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8218
8219
8220
8221
8222
# File 'lib/google/apis/container_v1/classes.rb', line 8218

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