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.



34622
34623
34624
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 34622

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)


34611
34612
34613
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 34611

def disabled
  @disabled
end

#enable_usage_stats_collectionBoolean Also known as: enable_usage_stats_collection?

Optional. Flag to enable the Ray usage stats collection by Anyscale. https:// docs.ray.io/en/latest/cluster/usage-stats.html#usage-stats-collection Disable by default. Corresponds to the JSON property enableUsageStatsCollection

Returns:

  • (Boolean)


34619
34620
34621
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 34619

def enable_usage_stats_collection
  @enable_usage_stats_collection
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



34627
34628
34629
34630
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 34627

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