ProjectsJobsPatchOptions
import type { ProjectsJobsPatchOptions } from "https://googleapis.deno.dev/v1/ml:v1.ts";
Additional options for ml#projectsJobsPatch.
interface ProjectsJobsPatchOptions {
updateMask?: string;
}§Properties
§
updateMask?: string
[src]Required. Specifies the path, relative to Job
, of the field to update.
To adopt etag mechanism, include etag
field in the mask, and include the
etag
value in your job resource. For example, to change the labels of a
job, the update_mask
parameter would be specified as labels
, etag
,
and the PATCH
request body would specify the new value, as follows: {
"labels": { "owner": "Google", "color": "Blue" } "etag":
"33a64df551425fcc55e4d42a148795d9f25f89d4" } If etag
matches the one on
the server, the labels of the job will be replaced with the given ones, and
the server end etag
will be recalculated. Currently the only supported
update masks are labels
and etag
.