Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SuggestTrialsRequest

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

Request message for VizierService.SuggestTrials.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1SuggestTrialsRequest

Returns a new instance of GoogleCloudAiplatformV1beta1SuggestTrialsRequest.



22739
22740
22741
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 22739

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

Instance Attribute Details

#client_idString

Required. The identifier of the client that is requesting the suggestion. If multiple SuggestTrialsRequests have the same client_id, the service will return the identical suggested Trial if the Trial is pending, and provide a new Trial if the last suggested Trial was completed. Corresponds to the JSON property clientId

Returns:

  • (String)


22732
22733
22734
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 22732

def client_id
  @client_id
end

#suggestion_countFixnum

Required. The number of suggestions requested. It must be positive. Corresponds to the JSON property suggestionCount

Returns:

  • (Fixnum)


22737
22738
22739
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 22737

def suggestion_count
  @suggestion_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



22744
22745
22746
22747
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 22744

def update!(**args)
  @client_id = args[:client_id] if args.key?(:client_id)
  @suggestion_count = args[:suggestion_count] if args.key?(:suggestion_count)
end