Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NasTrialDetail

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

Represents a NasTrial details along with its parameters. If there is a corresponding train NasTrial, the train NasTrial is also returned.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1NasTrialDetail

Returns a new instance of GoogleCloudAiplatformV1NasTrialDetail.



19255
19256
19257
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 19255

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

Instance Attribute Details

#nameString

Output only. Resource name of the NasTrialDetail. Corresponds to the JSON property name

Returns:

  • (String)


19238
19239
19240
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 19238

def name
  @name
end

#parametersString

The parameters for the NasJob NasTrial. Corresponds to the JSON property parameters

Returns:

  • (String)


19243
19244
19245
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 19243

def parameters
  @parameters
end

#search_trialGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1NasTrial

Represents a uCAIP NasJob trial. Corresponds to the JSON property searchTrial



19248
19249
19250
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 19248

def search_trial
  @search_trial
end

#train_trialGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1NasTrial

Represents a uCAIP NasJob trial. Corresponds to the JSON property trainTrial



19253
19254
19255
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 19253

def train_trial
  @train_trial
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



19260
19261
19262
19263
19264
19265
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 19260

def update!(**args)
  @name = args[:name] if args.key?(:name)
  @parameters = args[:parameters] if args.key?(:parameters)
  @search_trial = args[:search_trial] if args.key?(:search_trial)
  @train_trial = args[:train_trial] if args.key?(:train_trial)
end