- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Create an environment resource.
HTTP request
POST https://dataplex.googleapis.com/v1/{parent=projects/*/locations/*/lakes/*}/environments
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The resource name of the parent lake: Authorization requires the following IAM permission on the specified resource
|
Query parameters
Parameters | |
---|---|
environment |
Required. Environment identifier. * Must contain only lowercase letters, numbers and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the lake. |
validate |
Optional. Only validate the request, but do not perform mutations. The default is false. |
Request body
The request body contains an instance of Environment
.
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.