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.



3068
3069
3070
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 3068

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



3056
3057
3058
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 3056

def 
  @generic_metadata
end

#studyString

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

Returns:

  • (String)


3061
3062
3063
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 3061

def study
  @study
end

#trialString

The Trial name. Corresponds to the JSON property trial

Returns:

  • (String)


3066
3067
3068
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 3066

def trial
  @trial
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3073
3074
3075
3076
3077
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 3073

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