Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CheckTrialEarlyStoppingStateMetatdata

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

This message will be placed in the metadata field of a google.longrunning. Operation associated with a CheckTrialEarlyStoppingState request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1CheckTrialEarlyStoppingStateMetatdata

Returns a new instance of GoogleCloudAiplatformV1CheckTrialEarlyStoppingStateMetatdata.



2613
2614
2615
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 2613

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#generic_metadataGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1GenericOperationMetadata

Generic Metadata shared by all operations. Corresponds to the JSON property genericMetadata



2601
2602
2603
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 2601

def 
  @generic_metadata
end

#studyString

The name of the Study that the Trial belongs to. Corresponds to the JSON property study

Returns:

  • (String)


2606
2607
2608
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 2606

def study
  @study
end

#trialString

The Trial name. Corresponds to the JSON property trial

Returns:

  • (String)


2611
2612
2613
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 2611

def trial
  @trial
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2618
2619
2620
2621
2622
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 2618

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