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.



1829
1830
1831
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 1829

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



1817
1818
1819
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 1817

def 
  @generic_metadata
end

#studyString

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

Returns:

  • (String)


1822
1823
1824
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 1822

def study
  @study
end

#trialString

The Trial name. Corresponds to the JSON property trial

Returns:

  • (String)


1827
1828
1829
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 1827

def trial
  @trial
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1834
1835
1836
1837
1838
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 1834

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