Google Cloud Container V1 Client - Class RayOperatorConfig (2.2.0)

Reference documentation and code samples for the Google Cloud Container V1 Client class RayOperatorConfig.

Configuration options for the Ray Operator add-on.

Generated from protobuf message google.container.v1.RayOperatorConfig

Namespace

Google \ Cloud \ Container \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ enabled bool

Whether the Ray Operator addon is enabled for this cluster.

↳ ray_cluster_logging_config Google\Cloud\Container\V1\RayClusterLoggingConfig

Optional. Logging configuration for Ray clusters.

↳ ray_cluster_monitoring_config Google\Cloud\Container\V1\RayClusterMonitoringConfig

Optional. Monitoring configuration for Ray clusters.

getEnabled

Whether the Ray Operator addon is enabled for this cluster.

Returns
Type Description
bool

setEnabled

Whether the Ray Operator addon is enabled for this cluster.

Parameter
Name Description
var bool
Returns
Type Description
$this

getRayClusterLoggingConfig

Optional. Logging configuration for Ray clusters.

Returns
Type Description
Google\Cloud\Container\V1\RayClusterLoggingConfig|null

hasRayClusterLoggingConfig

clearRayClusterLoggingConfig

setRayClusterLoggingConfig

Optional. Logging configuration for Ray clusters.

Parameter
Name Description
var Google\Cloud\Container\V1\RayClusterLoggingConfig
Returns
Type Description
$this

getRayClusterMonitoringConfig

Optional. Monitoring configuration for Ray clusters.

Returns
Type Description
Google\Cloud\Container\V1\RayClusterMonitoringConfig|null

hasRayClusterMonitoringConfig

clearRayClusterMonitoringConfig

setRayClusterMonitoringConfig

Optional. Monitoring configuration for Ray clusters.

Parameter
Name Description
var Google\Cloud\Container\V1\RayClusterMonitoringConfig
Returns
Type Description
$this