Google Cloud Data Catalog V1 Client - Class CreatePolicyTagRequest (1.9.1)

Reference documentation and code samples for the Google Cloud Data Catalog V1 Client class CreatePolicyTagRequest.

Request message for CreatePolicyTag.

Generated from protobuf message google.cloud.datacatalog.v1.CreatePolicyTagRequest

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 taxonomy that the policy tag will belong to.

↳ policy_tag Google\Cloud\DataCatalog\V1\PolicyTag

The policy tag to create.

getParent

Required. Resource name of the taxonomy that the policy tag will belong to.

Returns
TypeDescription
string

setParent

Required. Resource name of the taxonomy that the policy tag will belong to.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPolicyTag

The policy tag to create.

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

hasPolicyTag

clearPolicyTag

setPolicyTag

The policy tag to create.

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

static::build

Parameters
NameDescription
parent string

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

policyTag Google\Cloud\DataCatalog\V1\PolicyTag

The policy tag to create.

Returns
TypeDescription
Google\Cloud\DataCatalog\V1\CreatePolicyTagRequest