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.



47879
47880
47881
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 47879

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)


47868
47869
47870
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 47868

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)


47876
47877
47878
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 47876

def enable_usage_stats_collection
  @enable_usage_stats_collection
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



47884
47885
47886
47887
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 47884

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