Method: projects.locations.lakes.zones.create

Stay organized with collections Save and categorize content based on your preferences.

Creates a zone resource within a lake.

HTTP request

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

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.zones.create

Query parameters

Parameters
zoneId

string

Required. Zone identifier. This ID will be used to generate names such as database and dataset names when publishing metadata to Hive Metastore and BigQuery. * Must contain only lowercase letters, numbers and hyphens. * Must start with a letter. * Must end with a number or a letter. * Must be between 1-63 characters. * Must be unique across all lakes from all locations in a project. * Must not be one of the reserved IDs (i.e. "default", "global-temp")

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 Zone.

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.