Reference documentation and code samples for the Google Cloud Data Catalog V1 Client class CreateTaxonomyRequest.
Request message for CreateTaxonomy.
Generated from protobuf message google.cloud.datacatalog.v1.CreateTaxonomyRequest
Namespace
Google \ Cloud \ DataCatalog \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. Resource name of the project that the taxonomy will belong to. |
↳ taxonomy |
Taxonomy
The taxonomy to create. |
getParent
Required. Resource name of the project that the taxonomy will belong to.
Returns | |
---|---|
Type | Description |
string |
setParent
Required. Resource name of the project that the taxonomy will belong to.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getTaxonomy
The taxonomy to create.
Returns | |
---|---|
Type | Description |
Taxonomy|null |
hasTaxonomy
clearTaxonomy
setTaxonomy
The taxonomy to create.
Parameter | |
---|---|
Name | Description |
var |
Taxonomy
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameters | |
---|---|
Name | Description |
parent |
string
Required. Resource name of the project that the taxonomy will belong to. Please see PolicyTagManagerClient::locationName() for help formatting this field. |
taxonomy |
Taxonomy
The taxonomy to create. |
Returns | |
---|---|
Type | Description |
CreateTaxonomyRequest |