Class: Google::Apis::MlV1::GoogleCloudMlV1SuggestTrialsMetadata
- Inherits:
-
Object
- Object
- Google::Apis::MlV1::GoogleCloudMlV1SuggestTrialsMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/ml_v1/classes.rb,
generated/google/apis/ml_v1/representations.rb,
generated/google/apis/ml_v1/representations.rb
Overview
Metadata field of a google.longrunning.Operation associated with a SuggestTrialsRequest.
Instance Attribute Summary collapse
-
#client_id ⇒ String
The identifier of the client that is requesting the suggestion.
-
#create_time ⇒ String
The time operation was submitted.
-
#study ⇒ String
The name of the study that the trial belongs to.
-
#suggestion_count ⇒ Fixnum
The number of suggestions requested.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudMlV1SuggestTrialsMetadata
constructor
A new instance of GoogleCloudMlV1SuggestTrialsMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleCloudMlV1SuggestTrialsMetadata
Returns a new instance of GoogleCloudMlV1SuggestTrialsMetadata.
2216 2217 2218 |
# File 'generated/google/apis/ml_v1/classes.rb', line 2216 def initialize(**args) update!(**args) end |
Instance Attribute Details
#client_id ⇒ String
The identifier of the client that is requesting the suggestion.
Corresponds to the JSON property clientId
2199 2200 2201 |
# File 'generated/google/apis/ml_v1/classes.rb', line 2199 def client_id @client_id end |
#create_time ⇒ String
The time operation was submitted.
Corresponds to the JSON property createTime
2204 2205 2206 |
# File 'generated/google/apis/ml_v1/classes.rb', line 2204 def create_time @create_time end |
#study ⇒ String
The name of the study that the trial belongs to.
Corresponds to the JSON property study
2209 2210 2211 |
# File 'generated/google/apis/ml_v1/classes.rb', line 2209 def study @study end |
#suggestion_count ⇒ Fixnum
The number of suggestions requested.
Corresponds to the JSON property suggestionCount
2214 2215 2216 |
# File 'generated/google/apis/ml_v1/classes.rb', line 2214 def suggestion_count @suggestion_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2221 2222 2223 2224 2225 2226 |
# File 'generated/google/apis/ml_v1/classes.rb', line 2221 def update!(**args) @client_id = args[:client_id] if args.key?(:client_id) @create_time = args[:create_time] if args.key?(:create_time) @study = args[:study] if args.key?(:study) @suggestion_count = args[:suggestion_count] if args.key?(:suggestion_count) end |