1717 * under the License.
1818 */
1919
20+ import { Page } from '@ml/_types/Page'
2021import { RequestBase } from '@_types/Base'
2122import { Field , Id } from '@_types/common'
2223import { integer } from '@_types/Numeric'
@@ -36,13 +37,16 @@ export interface Request extends RequestBase {
3637 */
3738 job_id : Id
3839 /**
39- * A numerical character string that uniquely identifies the model snapshot.
40+ * A numerical character string that uniquely identifies the model snapshot. You can get information for multiple
41+ * snapshots by using a comma-separated list or a wildcard expression. You can get all snapshots by using `_all`,
42+ * by specifying `*` as the snapshot ID, or by omitting the snapshot ID.
4043 */
4144 snapshot_id ?: Id
4245 }
4346 query_parameters : {
4447 /**
4548 * If true, the results are sorted in descending order.
49+ * @server_default false
4650 */
4751 desc ?: boolean
4852 /**
@@ -51,10 +55,12 @@ export interface Request extends RequestBase {
5155 end ?: Time
5256 /**
5357 * Skips the specified number of snapshots.
58+ * @server_default 0
5459 */
5560 from ?: integer
5661 /**
5762 * Specifies the maximum number of snapshots to obtain.
63+ * @server_default 100
5864 */
5965 size ?: integer
6066 /**
@@ -69,14 +75,22 @@ export interface Request extends RequestBase {
6975 }
7076 body : {
7177 /**
72- * Returns snapshots with timestamps after this time. Defaults to unset,
73- * which means results are not limited to specific timestamps.
78+ * Refer to the description for the `desc` query parameter.
79+ * @server_default false
7480 */
75- start ?: Time
81+ desc ?: boolean
7682 /**
77- * Returns snapshots with timestamps earlier than this time. Defaults to
78- * unset, which means results are not limited to specific timestamps.
83+ * Refer to the description for the `end` query parameter.
7984 */
8085 end ?: Time
86+ page ?: Page
87+ /**
88+ * Refer to the description for the `sort` query parameter.
89+ */
90+ sort ?: Field
91+ /**
92+ * Refer to the description for the `start` query parameter.
93+ */
94+ start ?: Time
8195 }
8296}
0 commit comments