Google Cloud Data Catalog V1 Client - Class CreateTaxonomyRequest (1.5.1)

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 \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. Resource name of the project that the taxonomy will belong to.

↳ taxonomy Google\Cloud\DataCatalog\V1\Taxonomy

The taxonomy to create.

getParent

Required. Resource name of the project that the taxonomy will belong to.

Returns
TypeDescription
string

setParent

Required. Resource name of the project that the taxonomy will belong to.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getTaxonomy

The taxonomy to create.

Returns
TypeDescription
Google\Cloud\DataCatalog\V1\Taxonomy|null

hasTaxonomy

clearTaxonomy

setTaxonomy

The taxonomy to create.

Parameter
NameDescription
var Google\Cloud\DataCatalog\V1\Taxonomy
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
parent string

Required. Resource name of the project that the taxonomy will belong to. Please see Google\Cloud\DataCatalog\V1\PolicyTagManagerClient::locationName() for help formatting this field.

taxonomy Google\Cloud\DataCatalog\V1\Taxonomy

The taxonomy to create.

Returns
TypeDescription
Google\Cloud\DataCatalog\V1\CreateTaxonomyRequest