v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1372300401.5 KB
projects

Creates a task resource within a lake.

post/v1/{+parent}/tasks

Path parameters

parentstring required

Required. The resource name of the parent lake: projects/{project_number}/locations/{location_id}/lakes/{lake_id}.

Query parameters

taskIdstring

Required. Task identifier.

validateOnlyboolean

Optional. Only validate the request, but do not perform mutations. The default is false.

Request body

uidstring

Output only. System generated globally unique ID for the task. This ID will be different if the task is deleted and re-created with the same name.

displayNamestring

Optional. User friendly display name.

labelsobject

Optional. User-defined labels for the task.

updateTimestring google-datetime

Output only. The time when the task was last updated.

createTimestring google-datetime

Output only. The time when the task was created.

state'STATE_UNSPECIFIED' | 'ACTIVE' | 'CREATING' | 'DELETING' | 'ACTION_REQUIRED'

Output only. Current state of the task.

namestring

Output only. The relative resource name of the task, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/ tasks/{task_id}.

descriptionstring

Optional. Description of the task.

Response

Successful response