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.



18154
18155
18156
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 18154

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)


18151
18152
18153
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 18151

def disabled
  @disabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18159
18160
18161
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 18159

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