class Google::Apis::MlV1::GoogleCloudMlV1SuggestTrialsRequest
The request message for the SuggestTrial service method.
Attributes
client_id[RW]
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` @return [String]
suggestion_count[RW]
Required. The number of suggestions requested. Corresponds to the JSON property `suggestionCount` @return [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/ml_v1/classes.rb, line 2565 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/ml_v1/classes.rb, line 2570 def update!(**args) @client_id = args[:client_id] if args.key?(:client_id) @suggestion_count = args[:suggestion_count] if args.key?(:suggestion_count) end