Class: Google::Apis::ContainerV1::RayOperatorConfig
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1::RayOperatorConfig
- 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
-
#enabled ⇒ Boolean
(also: #enabled?)
Whether the Ray Operator addon is enabled for this cluster.
-
#ray_cluster_logging_config ⇒ Google::Apis::ContainerV1::RayClusterLoggingConfig
RayClusterLoggingConfig specifies configuration of Ray logging.
-
#ray_cluster_monitoring_config ⇒ Google::Apis::ContainerV1::RayClusterMonitoringConfig
RayClusterMonitoringConfig specifies monitoring configuration for Ray clusters.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RayOperatorConfig
constructor
A new instance of RayOperatorConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RayOperatorConfig
Returns a new instance of RayOperatorConfig.
5688 5689 5690 |
# File 'lib/google/apis/container_v1/classes.rb', line 5688 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enabled ⇒ Boolean Also known as: enabled?
Whether the Ray Operator addon is enabled for this cluster.
Corresponds to the JSON property enabled
5675 5676 5677 |
# File 'lib/google/apis/container_v1/classes.rb', line 5675 def enabled @enabled end |
#ray_cluster_logging_config ⇒ Google::Apis::ContainerV1::RayClusterLoggingConfig
RayClusterLoggingConfig specifies configuration of Ray logging.
Corresponds to the JSON property rayClusterLoggingConfig
5681 5682 5683 |
# File 'lib/google/apis/container_v1/classes.rb', line 5681 def ray_cluster_logging_config @ray_cluster_logging_config end |
#ray_cluster_monitoring_config ⇒ Google::Apis::ContainerV1::RayClusterMonitoringConfig
RayClusterMonitoringConfig specifies monitoring configuration for Ray clusters.
Corresponds to the JSON property rayClusterMonitoringConfig
5686 5687 5688 |
# File 'lib/google/apis/container_v1/classes.rb', line 5686 def ray_cluster_monitoring_config @ray_cluster_monitoring_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5693 5694 5695 5696 5697 |
# File 'lib/google/apis/container_v1/classes.rb', line 5693 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 |