Reference documentation and code samples for the Google Cloud Dataplex V1 Client class CreateZoneRequest.
Create zone request.
Generated from protobuf message google.cloud.dataplex.v1.CreateZoneRequest
Namespace
Google \ Cloud \ Dataplex \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The resource name of the parent lake: projects/{project_number}/locations/{location_id}/lakes/{lake_id}
.
↳ zone_id
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")
↳ zone
↳ validate_only
bool
Optional. Only validate the request, but do not perform mutations. The default is false.
getParent
Required. The resource name of the parent lake: projects/{project_number}/locations/{location_id}/lakes/{lake_id}
.
string
setParent
Required. The resource name of the parent lake: projects/{project_number}/locations/{location_id}/lakes/{lake_id}
.
var
string
$this
getZoneId
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")
string
setZoneId
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")
var
string
$this
getZone
Required. Zone resource.
hasZone
clearZone
setZone
Required. Zone resource.
$this
getValidateOnly
Optional. Only validate the request, but do not perform mutations.
The default is false.
bool
setValidateOnly
Optional. Only validate the request, but do not perform mutations.
The default is false.
var
bool
$this
static::build
parent
string
Required. The resource name of the parent lake: projects/{project_number}/locations/{location_id}/lakes/{lake_id}
. Please see DataplexServiceClient::lakeName()
for help formatting this field.
zone
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")