Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RayMetricSpec

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

Overview

Configuration for the Ray metrics.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1RayMetricSpec

Returns a new instance of GoogleCloudAiplatformV1RayMetricSpec.



18363
18364
18365
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 18363

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

Instance Attribute Details

#disabledBoolean Also known as: disabled?

Optional. Flag to disable the Ray metrics collection. Corresponds to the JSON property disabled

Returns:

  • (Boolean)


18360
18361
18362
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 18360

def disabled
  @disabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18368
18369
18370
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 18368

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