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.



22786
22787
22788
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 22786

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)


22779
22780
22781
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 22779

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)


22784
22785
22786
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 22784

def suggestion_count
  @suggestion_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



22791
22792
22793
22794
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 22791

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