blob: 290eef27bc1bc8c3cf1d9ec8e1b37214c5ffbaad [file] [log] [blame]
Bu Sun Kim65020912020-05-20 12:08:20 -07001<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13}
14
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54 margin-top: 0.5em;
55}
56
57.firstline {
58 margin-left: 2 em;
59}
60
61.method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66}
67
68.details {
69 font-weight: bold;
70 font-size: 14px;
71}
72
73</style>
74
75<h1><a href="ml_v1.html">AI Platform Training & Prediction API</a> . <a href="ml_v1.projects.html">projects</a> . <a href="ml_v1.projects.locations.html">locations</a> . <a href="ml_v1.projects.locations.studies.html">studies</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78 <code><a href="ml_v1.projects.locations.studies.trials.html">trials()</a></code>
79</p>
80<p class="firstline">Returns the trials Resource.</p>
81
82<p class="toc_element">
83 <code><a href="#create">create(parent, body=None, studyId=None, x__xgafv=None)</a></code></p>
84<p class="firstline">Creates a study.</p>
85<p class="toc_element">
86 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
87<p class="firstline">Deletes a study.</p>
88<p class="toc_element">
89 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
90<p class="firstline">Gets a study.</p>
91<p class="toc_element">
92 <code><a href="#list">list(parent, x__xgafv=None)</a></code></p>
93<p class="firstline">Lists all the studies in a region for an associated project.</p>
94<h3>Method Details</h3>
95<div class="method">
96 <code class="details" id="create">create(parent, body=None, studyId=None, x__xgafv=None)</code>
97 <pre>Creates a study.
98
99Args:
100 parent: string, Required. The project and location that the study belongs to.
101Format: projects/{project}/locations/{location} (required)
102 body: object, The request body.
103 The object takes the form of:
104
105{ # A message representing a Study.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700106 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of a study.
107 &quot;state&quot;: &quot;A String&quot;, # Output only. The detailed state of a study.
108 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Time at which the study was created.
Bu Sun Kim65020912020-05-20 12:08:20 -0700109 &quot;inactiveReason&quot;: &quot;A String&quot;, # Output only. A human readable reason why the Study is inactive.
110 # This should be empty if a study is ACTIVE or COMPLETED.
Bu Sun Kim65020912020-05-20 12:08:20 -0700111 &quot;studyConfig&quot;: { # Represents configuration of a study. # Required. Configuration of the study.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700112 &quot;algorithm&quot;: &quot;A String&quot;, # The search algorithm specified for the study.
Bu Sun Kim65020912020-05-20 12:08:20 -0700113 &quot;automatedStoppingConfig&quot;: { # Configuration for Automated Early Stopping of Trials. If no # Configuration for automated stopping of unpromising Trials.
114 # implementation_config is set, automated early stopping will not be run.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700115 &quot;decayCurveStoppingConfig&quot;: {
116 &quot;useElapsedTime&quot;: True or False, # If true, measurement.elapsed_time is used as the x-axis of each
117 # Trials Decay Curve. Otherwise, Measurement.steps will be used as the
118 # x-axis.
119 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700120 &quot;medianAutomatedStoppingConfig&quot;: { # The median automated stopping rule stops a pending trial if the trial&#x27;s
121 # best objective_value is strictly below the median &#x27;performance&#x27; of all
122 # completed trials reported up to the trial&#x27;s last measurement.
123 # Currently, &#x27;performance&#x27; refers to the running average of the objective
124 # values reported by the trial in each measurement.
125 &quot;useElapsedTime&quot;: True or False, # If true, the median automated stopping rule applies to
126 # measurement.use_elapsed_time, which means the elapsed_time field of
127 # the current trial&#x27;s
128 # latest measurement is used to compute the median objective
129 # value for each completed trial.
130 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700131 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700132 &quot;parameters&quot;: [ # Required. The set of parameters to tune.
133 { # Represents a single parameter to optimize.
Bu Sun Kim65020912020-05-20 12:08:20 -0700134 &quot;categoricalValueSpec&quot;: { # The value spec for a &#x27;CATEGORICAL&#x27; parameter.
135 &quot;values&quot;: [ # Must be specified if type is `CATEGORICAL`.
136 # The list of possible categories.
137 &quot;A String&quot;,
138 ],
139 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700140 &quot;type&quot;: &quot;A String&quot;, # Required. The type of the parameter.
Bu Sun Kim65020912020-05-20 12:08:20 -0700141 &quot;childParameterSpecs&quot;: [ # A child node is active if the parameter&#x27;s value matches the child node&#x27;s
142 # matching_parent_values.
143 #
144 # If two items in child_parameter_specs have the same name, they must have
145 # disjoint matching_parent_values.
146 # Object with schema name: GoogleCloudMlV1_StudyConfig_ParameterSpec
147 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700148 &quot;parentIntValues&quot;: { # Represents the spec to match integer values from parent parameter.
149 &quot;values&quot;: [ # Matches values of the parent parameter with type &#x27;INTEGER&#x27;.
150 # All values must lie in `integer_value_spec` of parent parameter.
151 &quot;A String&quot;,
152 ],
153 },
154 &quot;scaleType&quot;: &quot;A String&quot;, # How the parameter should be scaled.
155 # Leave unset for categorical parameters.
156 &quot;doubleValueSpec&quot;: { # The value spec for a &#x27;DOUBLE&#x27; parameter.
157 &quot;maxValue&quot;: 3.14, # Must be specified if type is `DOUBLE`. Maximum value of the parameter.
158 &quot;minValue&quot;: 3.14, # Must be specified if type is `DOUBLE`. Minimum value of the parameter.
159 },
160 &quot;parameter&quot;: &quot;A String&quot;, # Required. The parameter name must be unique amongst all ParameterSpecs.
Bu Sun Kim65020912020-05-20 12:08:20 -0700161 &quot;discreteValueSpec&quot;: { # The value spec for a &#x27;DISCRETE&#x27; parameter.
162 &quot;values&quot;: [ # Must be specified if type is `DISCRETE`.
163 # A list of feasible points.
164 # The list should be in strictly increasing order. For instance, this
165 # parameter might have possible settings of 1.5, 2.5, and 4.0. This list
166 # should not contain more than 1,000 values.
167 3.14,
168 ],
169 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700170 &quot;parentDiscreteValues&quot;: { # Represents the spec to match discrete values from parent parameter.
171 &quot;values&quot;: [ # Matches values of the parent parameter with type &#x27;DISCRETE&#x27;.
172 # All values must exist in `discrete_value_spec` of parent parameter.
173 3.14,
174 ],
175 },
176 &quot;integerValueSpec&quot;: { # The value spec for an &#x27;INTEGER&#x27; parameter.
177 &quot;maxValue&quot;: &quot;A String&quot;, # Must be specified if type is `INTEGER`. Maximum value of the parameter.
178 &quot;minValue&quot;: &quot;A String&quot;, # Must be specified if type is `INTEGER`. Minimum value of the parameter.
179 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700180 &quot;parentCategoricalValues&quot;: { # Represents the spec to match categorical values from parent parameter.
181 &quot;values&quot;: [ # Matches values of the parent parameter with type &#x27;CATEGORICAL&#x27;.
182 # All values must exist in `categorical_value_spec` of parent parameter.
183 &quot;A String&quot;,
184 ],
185 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700186 },
187 ],
188 &quot;metrics&quot;: [ # Metric specs for the study.
189 { # Represents a metric to optimize.
190 &quot;goal&quot;: &quot;A String&quot;, # Required. The optimization goal of the metric.
191 &quot;metric&quot;: &quot;A String&quot;, # Required. The name of the metric.
Bu Sun Kim65020912020-05-20 12:08:20 -0700192 },
193 ],
194 },
195}
196
197 studyId: string, Required. The ID to use for the study, which will become the final component of
198the study&#x27;s resource name.
199 x__xgafv: string, V1 error format.
200 Allowed values
201 1 - v1 error format
202 2 - v2 error format
203
204Returns:
205 An object of the form:
206
207 { # A message representing a Study.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700208 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of a study.
209 &quot;state&quot;: &quot;A String&quot;, # Output only. The detailed state of a study.
210 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Time at which the study was created.
Bu Sun Kim65020912020-05-20 12:08:20 -0700211 &quot;inactiveReason&quot;: &quot;A String&quot;, # Output only. A human readable reason why the Study is inactive.
212 # This should be empty if a study is ACTIVE or COMPLETED.
Bu Sun Kim65020912020-05-20 12:08:20 -0700213 &quot;studyConfig&quot;: { # Represents configuration of a study. # Required. Configuration of the study.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700214 &quot;algorithm&quot;: &quot;A String&quot;, # The search algorithm specified for the study.
Bu Sun Kim65020912020-05-20 12:08:20 -0700215 &quot;automatedStoppingConfig&quot;: { # Configuration for Automated Early Stopping of Trials. If no # Configuration for automated stopping of unpromising Trials.
216 # implementation_config is set, automated early stopping will not be run.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700217 &quot;decayCurveStoppingConfig&quot;: {
218 &quot;useElapsedTime&quot;: True or False, # If true, measurement.elapsed_time is used as the x-axis of each
219 # Trials Decay Curve. Otherwise, Measurement.steps will be used as the
220 # x-axis.
221 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700222 &quot;medianAutomatedStoppingConfig&quot;: { # The median automated stopping rule stops a pending trial if the trial&#x27;s
223 # best objective_value is strictly below the median &#x27;performance&#x27; of all
224 # completed trials reported up to the trial&#x27;s last measurement.
225 # Currently, &#x27;performance&#x27; refers to the running average of the objective
226 # values reported by the trial in each measurement.
227 &quot;useElapsedTime&quot;: True or False, # If true, the median automated stopping rule applies to
228 # measurement.use_elapsed_time, which means the elapsed_time field of
229 # the current trial&#x27;s
230 # latest measurement is used to compute the median objective
231 # value for each completed trial.
232 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700233 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700234 &quot;parameters&quot;: [ # Required. The set of parameters to tune.
235 { # Represents a single parameter to optimize.
Bu Sun Kim65020912020-05-20 12:08:20 -0700236 &quot;categoricalValueSpec&quot;: { # The value spec for a &#x27;CATEGORICAL&#x27; parameter.
237 &quot;values&quot;: [ # Must be specified if type is `CATEGORICAL`.
238 # The list of possible categories.
239 &quot;A String&quot;,
240 ],
241 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700242 &quot;type&quot;: &quot;A String&quot;, # Required. The type of the parameter.
Bu Sun Kim65020912020-05-20 12:08:20 -0700243 &quot;childParameterSpecs&quot;: [ # A child node is active if the parameter&#x27;s value matches the child node&#x27;s
244 # matching_parent_values.
245 #
246 # If two items in child_parameter_specs have the same name, they must have
247 # disjoint matching_parent_values.
248 # Object with schema name: GoogleCloudMlV1_StudyConfig_ParameterSpec
249 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700250 &quot;parentIntValues&quot;: { # Represents the spec to match integer values from parent parameter.
251 &quot;values&quot;: [ # Matches values of the parent parameter with type &#x27;INTEGER&#x27;.
252 # All values must lie in `integer_value_spec` of parent parameter.
253 &quot;A String&quot;,
254 ],
255 },
256 &quot;scaleType&quot;: &quot;A String&quot;, # How the parameter should be scaled.
257 # Leave unset for categorical parameters.
258 &quot;doubleValueSpec&quot;: { # The value spec for a &#x27;DOUBLE&#x27; parameter.
259 &quot;maxValue&quot;: 3.14, # Must be specified if type is `DOUBLE`. Maximum value of the parameter.
260 &quot;minValue&quot;: 3.14, # Must be specified if type is `DOUBLE`. Minimum value of the parameter.
261 },
262 &quot;parameter&quot;: &quot;A String&quot;, # Required. The parameter name must be unique amongst all ParameterSpecs.
Bu Sun Kim65020912020-05-20 12:08:20 -0700263 &quot;discreteValueSpec&quot;: { # The value spec for a &#x27;DISCRETE&#x27; parameter.
264 &quot;values&quot;: [ # Must be specified if type is `DISCRETE`.
265 # A list of feasible points.
266 # The list should be in strictly increasing order. For instance, this
267 # parameter might have possible settings of 1.5, 2.5, and 4.0. This list
268 # should not contain more than 1,000 values.
269 3.14,
270 ],
271 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700272 &quot;parentDiscreteValues&quot;: { # Represents the spec to match discrete values from parent parameter.
273 &quot;values&quot;: [ # Matches values of the parent parameter with type &#x27;DISCRETE&#x27;.
274 # All values must exist in `discrete_value_spec` of parent parameter.
275 3.14,
276 ],
277 },
278 &quot;integerValueSpec&quot;: { # The value spec for an &#x27;INTEGER&#x27; parameter.
279 &quot;maxValue&quot;: &quot;A String&quot;, # Must be specified if type is `INTEGER`. Maximum value of the parameter.
280 &quot;minValue&quot;: &quot;A String&quot;, # Must be specified if type is `INTEGER`. Minimum value of the parameter.
281 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700282 &quot;parentCategoricalValues&quot;: { # Represents the spec to match categorical values from parent parameter.
283 &quot;values&quot;: [ # Matches values of the parent parameter with type &#x27;CATEGORICAL&#x27;.
284 # All values must exist in `categorical_value_spec` of parent parameter.
285 &quot;A String&quot;,
286 ],
287 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700288 },
289 ],
290 &quot;metrics&quot;: [ # Metric specs for the study.
291 { # Represents a metric to optimize.
292 &quot;goal&quot;: &quot;A String&quot;, # Required. The optimization goal of the metric.
293 &quot;metric&quot;: &quot;A String&quot;, # Required. The name of the metric.
Bu Sun Kim65020912020-05-20 12:08:20 -0700294 },
295 ],
296 },
297 }</pre>
298</div>
299
300<div class="method">
301 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
302 <pre>Deletes a study.
303
304Args:
305 name: string, Required. The study name. (required)
306 x__xgafv: string, V1 error format.
307 Allowed values
308 1 - v1 error format
309 2 - v2 error format
310
311Returns:
312 An object of the form:
313
314 { # A generic empty message that you can re-use to avoid defining duplicated
315 # empty messages in your APIs. A typical example is to use it as the request
316 # or the response type of an API method. For instance:
317 #
318 # service Foo {
319 # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
320 # }
321 #
322 # The JSON representation for `Empty` is empty JSON object `{}`.
323 }</pre>
324</div>
325
326<div class="method">
327 <code class="details" id="get">get(name, x__xgafv=None)</code>
328 <pre>Gets a study.
329
330Args:
331 name: string, Required. The study name. (required)
332 x__xgafv: string, V1 error format.
333 Allowed values
334 1 - v1 error format
335 2 - v2 error format
336
337Returns:
338 An object of the form:
339
340 { # A message representing a Study.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700341 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of a study.
342 &quot;state&quot;: &quot;A String&quot;, # Output only. The detailed state of a study.
343 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Time at which the study was created.
Bu Sun Kim65020912020-05-20 12:08:20 -0700344 &quot;inactiveReason&quot;: &quot;A String&quot;, # Output only. A human readable reason why the Study is inactive.
345 # This should be empty if a study is ACTIVE or COMPLETED.
Bu Sun Kim65020912020-05-20 12:08:20 -0700346 &quot;studyConfig&quot;: { # Represents configuration of a study. # Required. Configuration of the study.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700347 &quot;algorithm&quot;: &quot;A String&quot;, # The search algorithm specified for the study.
Bu Sun Kim65020912020-05-20 12:08:20 -0700348 &quot;automatedStoppingConfig&quot;: { # Configuration for Automated Early Stopping of Trials. If no # Configuration for automated stopping of unpromising Trials.
349 # implementation_config is set, automated early stopping will not be run.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700350 &quot;decayCurveStoppingConfig&quot;: {
351 &quot;useElapsedTime&quot;: True or False, # If true, measurement.elapsed_time is used as the x-axis of each
352 # Trials Decay Curve. Otherwise, Measurement.steps will be used as the
353 # x-axis.
354 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700355 &quot;medianAutomatedStoppingConfig&quot;: { # The median automated stopping rule stops a pending trial if the trial&#x27;s
356 # best objective_value is strictly below the median &#x27;performance&#x27; of all
357 # completed trials reported up to the trial&#x27;s last measurement.
358 # Currently, &#x27;performance&#x27; refers to the running average of the objective
359 # values reported by the trial in each measurement.
360 &quot;useElapsedTime&quot;: True or False, # If true, the median automated stopping rule applies to
361 # measurement.use_elapsed_time, which means the elapsed_time field of
362 # the current trial&#x27;s
363 # latest measurement is used to compute the median objective
364 # value for each completed trial.
365 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700366 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700367 &quot;parameters&quot;: [ # Required. The set of parameters to tune.
368 { # Represents a single parameter to optimize.
Bu Sun Kim65020912020-05-20 12:08:20 -0700369 &quot;categoricalValueSpec&quot;: { # The value spec for a &#x27;CATEGORICAL&#x27; parameter.
370 &quot;values&quot;: [ # Must be specified if type is `CATEGORICAL`.
371 # The list of possible categories.
372 &quot;A String&quot;,
373 ],
374 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700375 &quot;type&quot;: &quot;A String&quot;, # Required. The type of the parameter.
Bu Sun Kim65020912020-05-20 12:08:20 -0700376 &quot;childParameterSpecs&quot;: [ # A child node is active if the parameter&#x27;s value matches the child node&#x27;s
377 # matching_parent_values.
378 #
379 # If two items in child_parameter_specs have the same name, they must have
380 # disjoint matching_parent_values.
381 # Object with schema name: GoogleCloudMlV1_StudyConfig_ParameterSpec
382 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700383 &quot;parentIntValues&quot;: { # Represents the spec to match integer values from parent parameter.
384 &quot;values&quot;: [ # Matches values of the parent parameter with type &#x27;INTEGER&#x27;.
385 # All values must lie in `integer_value_spec` of parent parameter.
386 &quot;A String&quot;,
387 ],
388 },
389 &quot;scaleType&quot;: &quot;A String&quot;, # How the parameter should be scaled.
390 # Leave unset for categorical parameters.
391 &quot;doubleValueSpec&quot;: { # The value spec for a &#x27;DOUBLE&#x27; parameter.
392 &quot;maxValue&quot;: 3.14, # Must be specified if type is `DOUBLE`. Maximum value of the parameter.
393 &quot;minValue&quot;: 3.14, # Must be specified if type is `DOUBLE`. Minimum value of the parameter.
394 },
395 &quot;parameter&quot;: &quot;A String&quot;, # Required. The parameter name must be unique amongst all ParameterSpecs.
Bu Sun Kim65020912020-05-20 12:08:20 -0700396 &quot;discreteValueSpec&quot;: { # The value spec for a &#x27;DISCRETE&#x27; parameter.
397 &quot;values&quot;: [ # Must be specified if type is `DISCRETE`.
398 # A list of feasible points.
399 # The list should be in strictly increasing order. For instance, this
400 # parameter might have possible settings of 1.5, 2.5, and 4.0. This list
401 # should not contain more than 1,000 values.
402 3.14,
403 ],
404 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700405 &quot;parentDiscreteValues&quot;: { # Represents the spec to match discrete values from parent parameter.
406 &quot;values&quot;: [ # Matches values of the parent parameter with type &#x27;DISCRETE&#x27;.
407 # All values must exist in `discrete_value_spec` of parent parameter.
408 3.14,
409 ],
410 },
411 &quot;integerValueSpec&quot;: { # The value spec for an &#x27;INTEGER&#x27; parameter.
412 &quot;maxValue&quot;: &quot;A String&quot;, # Must be specified if type is `INTEGER`. Maximum value of the parameter.
413 &quot;minValue&quot;: &quot;A String&quot;, # Must be specified if type is `INTEGER`. Minimum value of the parameter.
414 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700415 &quot;parentCategoricalValues&quot;: { # Represents the spec to match categorical values from parent parameter.
416 &quot;values&quot;: [ # Matches values of the parent parameter with type &#x27;CATEGORICAL&#x27;.
417 # All values must exist in `categorical_value_spec` of parent parameter.
418 &quot;A String&quot;,
419 ],
420 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700421 },
422 ],
423 &quot;metrics&quot;: [ # Metric specs for the study.
424 { # Represents a metric to optimize.
425 &quot;goal&quot;: &quot;A String&quot;, # Required. The optimization goal of the metric.
426 &quot;metric&quot;: &quot;A String&quot;, # Required. The name of the metric.
Bu Sun Kim65020912020-05-20 12:08:20 -0700427 },
428 ],
429 },
430 }</pre>
431</div>
432
433<div class="method">
434 <code class="details" id="list">list(parent, x__xgafv=None)</code>
435 <pre>Lists all the studies in a region for an associated project.
436
437Args:
438 parent: string, Required. The project and location that the study belongs to.
439Format: projects/{project}/locations/{location} (required)
440 x__xgafv: string, V1 error format.
441 Allowed values
442 1 - v1 error format
443 2 - v2 error format
444
445Returns:
446 An object of the form:
447
448 {
449 &quot;studies&quot;: [ # The studies associated with the project.
450 { # A message representing a Study.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700451 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of a study.
452 &quot;state&quot;: &quot;A String&quot;, # Output only. The detailed state of a study.
453 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Time at which the study was created.
Bu Sun Kim65020912020-05-20 12:08:20 -0700454 &quot;inactiveReason&quot;: &quot;A String&quot;, # Output only. A human readable reason why the Study is inactive.
455 # This should be empty if a study is ACTIVE or COMPLETED.
Bu Sun Kim65020912020-05-20 12:08:20 -0700456 &quot;studyConfig&quot;: { # Represents configuration of a study. # Required. Configuration of the study.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700457 &quot;algorithm&quot;: &quot;A String&quot;, # The search algorithm specified for the study.
Bu Sun Kim65020912020-05-20 12:08:20 -0700458 &quot;automatedStoppingConfig&quot;: { # Configuration for Automated Early Stopping of Trials. If no # Configuration for automated stopping of unpromising Trials.
459 # implementation_config is set, automated early stopping will not be run.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700460 &quot;decayCurveStoppingConfig&quot;: {
461 &quot;useElapsedTime&quot;: True or False, # If true, measurement.elapsed_time is used as the x-axis of each
462 # Trials Decay Curve. Otherwise, Measurement.steps will be used as the
463 # x-axis.
464 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700465 &quot;medianAutomatedStoppingConfig&quot;: { # The median automated stopping rule stops a pending trial if the trial&#x27;s
466 # best objective_value is strictly below the median &#x27;performance&#x27; of all
467 # completed trials reported up to the trial&#x27;s last measurement.
468 # Currently, &#x27;performance&#x27; refers to the running average of the objective
469 # values reported by the trial in each measurement.
470 &quot;useElapsedTime&quot;: True or False, # If true, the median automated stopping rule applies to
471 # measurement.use_elapsed_time, which means the elapsed_time field of
472 # the current trial&#x27;s
473 # latest measurement is used to compute the median objective
474 # value for each completed trial.
475 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700476 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700477 &quot;parameters&quot;: [ # Required. The set of parameters to tune.
478 { # Represents a single parameter to optimize.
Bu Sun Kim65020912020-05-20 12:08:20 -0700479 &quot;categoricalValueSpec&quot;: { # The value spec for a &#x27;CATEGORICAL&#x27; parameter.
480 &quot;values&quot;: [ # Must be specified if type is `CATEGORICAL`.
481 # The list of possible categories.
482 &quot;A String&quot;,
483 ],
484 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700485 &quot;type&quot;: &quot;A String&quot;, # Required. The type of the parameter.
Bu Sun Kim65020912020-05-20 12:08:20 -0700486 &quot;childParameterSpecs&quot;: [ # A child node is active if the parameter&#x27;s value matches the child node&#x27;s
487 # matching_parent_values.
488 #
489 # If two items in child_parameter_specs have the same name, they must have
490 # disjoint matching_parent_values.
491 # Object with schema name: GoogleCloudMlV1_StudyConfig_ParameterSpec
492 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700493 &quot;parentIntValues&quot;: { # Represents the spec to match integer values from parent parameter.
494 &quot;values&quot;: [ # Matches values of the parent parameter with type &#x27;INTEGER&#x27;.
495 # All values must lie in `integer_value_spec` of parent parameter.
496 &quot;A String&quot;,
497 ],
498 },
499 &quot;scaleType&quot;: &quot;A String&quot;, # How the parameter should be scaled.
500 # Leave unset for categorical parameters.
501 &quot;doubleValueSpec&quot;: { # The value spec for a &#x27;DOUBLE&#x27; parameter.
502 &quot;maxValue&quot;: 3.14, # Must be specified if type is `DOUBLE`. Maximum value of the parameter.
503 &quot;minValue&quot;: 3.14, # Must be specified if type is `DOUBLE`. Minimum value of the parameter.
504 },
505 &quot;parameter&quot;: &quot;A String&quot;, # Required. The parameter name must be unique amongst all ParameterSpecs.
Bu Sun Kim65020912020-05-20 12:08:20 -0700506 &quot;discreteValueSpec&quot;: { # The value spec for a &#x27;DISCRETE&#x27; parameter.
507 &quot;values&quot;: [ # Must be specified if type is `DISCRETE`.
508 # A list of feasible points.
509 # The list should be in strictly increasing order. For instance, this
510 # parameter might have possible settings of 1.5, 2.5, and 4.0. This list
511 # should not contain more than 1,000 values.
512 3.14,
513 ],
514 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700515 &quot;parentDiscreteValues&quot;: { # Represents the spec to match discrete values from parent parameter.
516 &quot;values&quot;: [ # Matches values of the parent parameter with type &#x27;DISCRETE&#x27;.
517 # All values must exist in `discrete_value_spec` of parent parameter.
518 3.14,
519 ],
520 },
521 &quot;integerValueSpec&quot;: { # The value spec for an &#x27;INTEGER&#x27; parameter.
522 &quot;maxValue&quot;: &quot;A String&quot;, # Must be specified if type is `INTEGER`. Maximum value of the parameter.
523 &quot;minValue&quot;: &quot;A String&quot;, # Must be specified if type is `INTEGER`. Minimum value of the parameter.
524 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700525 &quot;parentCategoricalValues&quot;: { # Represents the spec to match categorical values from parent parameter.
526 &quot;values&quot;: [ # Matches values of the parent parameter with type &#x27;CATEGORICAL&#x27;.
527 # All values must exist in `categorical_value_spec` of parent parameter.
528 &quot;A String&quot;,
529 ],
530 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700531 },
532 ],
533 &quot;metrics&quot;: [ # Metric specs for the study.
534 { # Represents a metric to optimize.
535 &quot;goal&quot;: &quot;A String&quot;, # Required. The optimization goal of the metric.
536 &quot;metric&quot;: &quot;A String&quot;, # Required. The name of the metric.
Bu Sun Kim65020912020-05-20 12:08:20 -0700537 },
538 ],
539 },
540 },
541 ],
542 }</pre>
543</div>
544
545</body></html>