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.



21053
21054
21055
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 21053

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)


21050
21051
21052
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 21050

def disabled
  @disabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



21058
21059
21060
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 21058

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