Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CheckTrialEarlyStoppingStateMetatdata

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

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) ⇒ GoogleCloudAiplatformV1beta1CheckTrialEarlyStoppingStateMetatdata

Returns a new instance of GoogleCloudAiplatformV1beta1CheckTrialEarlyStoppingStateMetatdata.



2895
2896
2897
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 2895

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

Instance Attribute Details

#generic_metadataGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenericOperationMetadata

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



2883
2884
2885
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 2883

def 
  @generic_metadata
end

#studyString

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

Returns:

  • (String)


2888
2889
2890
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 2888

def study
  @study
end

#trialString

The Trial name. Corresponds to the JSON property trial

Returns:

  • (String)


2893
2894
2895
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 2893

def trial
  @trial
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2900
2901
2902
2903
2904
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 2900

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