Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NasTrialDetail

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

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

Returns a new instance of GoogleCloudAiplatformV1beta1NasTrialDetail.



18654
18655
18656
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 18654

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)


18637
18638
18639
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 18637

def name
  @name
end

#parametersString

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

Returns:

  • (String)


18642
18643
18644
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 18642

def parameters
  @parameters
end

#search_trialGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NasTrial

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



18647
18648
18649
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 18647

def search_trial
  @search_trial
end

#train_trialGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NasTrial

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



18652
18653
18654
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 18652

def train_trial
  @train_trial
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18659
18660
18661
18662
18663
18664
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 18659

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