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.



20506
20507
20508
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 20506

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)


20503
20504
20505
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 20503

def disabled
  @disabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



20511
20512
20513
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 20511

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