Method: projects.locations.lakes.tasks.create

Creates a task resource within a lake.

HTTP request

POST https://dataplex.googleapis.com/v1/{parent=projects/*/locations/*/lakes/*}/tasks

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

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

Authorization requires the following IAM permission on the specified resource parent:

  • dataplex.tasks.create

Query parameters

Parameters
taskId

string

Required. Task identifier.

validateOnly

boolean

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

Request body

The request body contains an instance of Task.

Response body

If successful, the response body contains a newly created instance of Operation.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.