Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RayMetricSpec

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

Overview

Configuration for the Ray metrics.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1RayMetricSpec

Returns a new instance of GoogleCloudAiplatformV1beta1RayMetricSpec.



21538
21539
21540
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 21538

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)


21535
21536
21537
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 21535

def disabled
  @disabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



21543
21544
21545
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 21543

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