Reference documentation and code samples for the Google Cloud Dataplex V1 Client class CreateDataTaxonomyRequest.
Create DataTaxonomy request.
Generated from protobuf message google.cloud.dataplex.v1.CreateDataTaxonomyRequest
Namespace
Google \ Cloud \ Dataplex \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. The resource name of the data taxonomy location, of the form: projects/{project_number}/locations/{location_id} where |
↳ data_taxonomy_id |
string
Required. DataTaxonomy 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 Project. |
↳ data_taxonomy |
Google\Cloud\Dataplex\V1\DataTaxonomy
Required. DataTaxonomy resource. |
↳ validate_only |
bool
Optional. Only validate the request, but do not perform mutations. The default is false. |
getParent
Required. The resource name of the data taxonomy location, of the form:
projects/{project_number}/locations/{location_id}
where location_id
refers to a GCP region.
Returns | |
---|---|
Type | Description |
string |
setParent
Required. The resource name of the data taxonomy location, of the form:
projects/{project_number}/locations/{location_id}
where location_id
refers to a GCP region.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getDataTaxonomyId
Required. DataTaxonomy 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 Project.
Returns | |
---|---|
Type | Description |
string |
setDataTaxonomyId
Required. DataTaxonomy 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 Project.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getDataTaxonomy
Required. DataTaxonomy resource.
Returns | |
---|---|
Type | Description |
Google\Cloud\Dataplex\V1\DataTaxonomy|null |
hasDataTaxonomy
clearDataTaxonomy
setDataTaxonomy
Required. DataTaxonomy resource.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Dataplex\V1\DataTaxonomy
|
Returns | |
---|---|
Type | Description |
$this |
getValidateOnly
Optional. Only validate the request, but do not perform mutations.
The default is false.
Returns | |
---|---|
Type | Description |
bool |
setValidateOnly
Optional. Only validate the request, but do not perform mutations.
The default is false.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameters | |
---|---|
Name | Description |
parent |
string
Required. The resource name of the data taxonomy location, of the form:
projects/{project_number}/locations/{location_id}
where |
dataTaxonomy |
Google\Cloud\Dataplex\V1\DataTaxonomy
Required. DataTaxonomy resource. |
dataTaxonomyId |
string
Required. DataTaxonomy identifier.
|
Returns | |
---|---|
Type | Description |
Google\Cloud\Dataplex\V1\CreateDataTaxonomyRequest |