PolicyTagManager

google.cloud.datacatalog.v1beta1. PolicyTagManager

Represents a PolicyTagManager

Constructor

new PolicyTagManager(rpcImpl, requestDelimitedopt, responseDelimitedopt)

Constructs a new PolicyTagManager service.

Parameters:
Name Type Attributes Default Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean <optional>
false

Whether requests are length-delimited

responseDelimited boolean <optional>
false

Whether responses are length-delimited

Extends

  • $protobuf.rpc.Service

Methods

createPolicyTag(request, callback) → {undefined}

Calls CreatePolicyTag.

Parameters:
Name Type Description
request google.cloud.datacatalog.v1beta1.ICreatePolicyTagRequest

CreatePolicyTagRequest message or plain object

callback google.cloud.datacatalog.v1beta1.PolicyTagManager.CreatePolicyTagCallback

Node-style callback called with the error, if any, and PolicyTag

Returns:
Type Description
undefined

createPolicyTag(request) → {Promise.<google.cloud.datacatalog.v1beta1.PolicyTag>}

Calls CreatePolicyTag.

Parameters:
Name Type Description
request google.cloud.datacatalog.v1beta1.ICreatePolicyTagRequest

CreatePolicyTagRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.datacatalog.v1beta1.PolicyTag>

Promise

createTaxonomy(request, callback) → {undefined}

Calls CreateTaxonomy.

Parameters:
Name Type Description
request google.cloud.datacatalog.v1beta1.ICreateTaxonomyRequest

CreateTaxonomyRequest message or plain object

callback google.cloud.datacatalog.v1beta1.PolicyTagManager.CreateTaxonomyCallback

Node-style callback called with the error, if any, and Taxonomy

Returns:
Type Description
undefined

createTaxonomy(request) → {Promise.<google.cloud.datacatalog.v1beta1.Taxonomy>}

Calls CreateTaxonomy.

Parameters:
Name Type Description
request google.cloud.datacatalog.v1beta1.ICreateTaxonomyRequest

CreateTaxonomyRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.datacatalog.v1beta1.Taxonomy>

Promise

deletePolicyTag(request, callback) → {undefined}

Calls DeletePolicyTag.

Parameters:
Name Type Description
request google.cloud.datacatalog.v1beta1.IDeletePolicyTagRequest

DeletePolicyTagRequest message or plain object

callback google.cloud.datacatalog.v1beta1.PolicyTagManager.DeletePolicyTagCallback

Node-style callback called with the error, if any, and Empty

Returns:
Type Description
undefined

deletePolicyTag(request) → {Promise.<google.protobuf.Empty>}

Calls DeletePolicyTag.

Parameters:
Name Type Description
request google.cloud.datacatalog.v1beta1.IDeletePolicyTagRequest

DeletePolicyTagRequest message or plain object

Returns:
Type Description
Promise.<google.protobuf.Empty>

Promise

deleteTaxonomy(request, callback) → {undefined}

Calls DeleteTaxonomy.

Parameters:
Name Type Description
request google.cloud.datacatalog.v1beta1.IDeleteTaxonomyRequest

DeleteTaxonomyRequest message or plain object

callback google.cloud.datacatalog.v1beta1.PolicyTagManager.DeleteTaxonomyCallback

Node-style callback called with the error, if any, and Empty

Returns:
Type Description
undefined

deleteTaxonomy(request) → {Promise.<google.protobuf.Empty>}

Calls DeleteTaxonomy.

Parameters:
Name Type Description
request google.cloud.datacatalog.v1beta1.IDeleteTaxonomyRequest

DeleteTaxonomyRequest message or plain object

Returns:
Type Description
Promise.<google.protobuf.Empty>

Promise

getIamPolicy(request, callback) → {undefined}

Calls GetIamPolicy.

Parameters:
Name Type Description
request google.iam.v1.IGetIamPolicyRequest

GetIamPolicyRequest message or plain object

callback google.cloud.datacatalog.v1beta1.PolicyTagManager.GetIamPolicyCallback

Node-style callback called with the error, if any, and Policy

Returns:
Type Description
undefined

getIamPolicy(request) → {Promise.<google.iam.v1.Policy>}

Calls GetIamPolicy.

Parameters:
Name Type Description
request google.iam.v1.IGetIamPolicyRequest

GetIamPolicyRequest message or plain object

Returns:
Type Description
Promise.<google.iam.v1.Policy>

Promise

getPolicyTag(request, callback) → {undefined}

Calls GetPolicyTag.

Parameters:
Name Type Description
request google.cloud.datacatalog.v1beta1.IGetPolicyTagRequest

GetPolicyTagRequest message or plain object

callback google.cloud.datacatalog.v1beta1.PolicyTagManager.GetPolicyTagCallback

Node-style callback called with the error, if any, and PolicyTag

Returns:
Type Description
undefined

getPolicyTag(request) → {Promise.<google.cloud.datacatalog.v1beta1.PolicyTag>}

Calls GetPolicyTag.

Parameters:
Name Type Description
request google.cloud.datacatalog.v1beta1.IGetPolicyTagRequest

GetPolicyTagRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.datacatalog.v1beta1.PolicyTag>

Promise

getTaxonomy(request, callback) → {undefined}

Calls GetTaxonomy.

Parameters:
Name Type Description
request google.cloud.datacatalog.v1beta1.IGetTaxonomyRequest

GetTaxonomyRequest message or plain object

callback google.cloud.datacatalog.v1beta1.PolicyTagManager.GetTaxonomyCallback

Node-style callback called with the error, if any, and Taxonomy

Returns:
Type Description
undefined

getTaxonomy(request) → {Promise.<google.cloud.datacatalog.v1beta1.Taxonomy>}

Calls GetTaxonomy.

Parameters:
Name Type Description
request google.cloud.datacatalog.v1beta1.IGetTaxonomyRequest

GetTaxonomyRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.datacatalog.v1beta1.Taxonomy>

Promise

listPolicyTags(request, callback) → {undefined}

Calls ListPolicyTags.

Parameters:
Name Type Description
request google.cloud.datacatalog.v1beta1.IListPolicyTagsRequest

ListPolicyTagsRequest message or plain object

callback google.cloud.datacatalog.v1beta1.PolicyTagManager.ListPolicyTagsCallback

Node-style callback called with the error, if any, and ListPolicyTagsResponse

Returns:
Type Description
undefined

listPolicyTags(request) → {Promise.<google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse>}

Calls ListPolicyTags.

Parameters:
Name Type Description
request google.cloud.datacatalog.v1beta1.IListPolicyTagsRequest

ListPolicyTagsRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse>

Promise

listTaxonomies(request, callback) → {undefined}

Calls ListTaxonomies.

Parameters:
Name Type Description
request google.cloud.datacatalog.v1beta1.IListTaxonomiesRequest

ListTaxonomiesRequest message or plain object

callback google.cloud.datacatalog.v1beta1.PolicyTagManager.ListTaxonomiesCallback

Node-style callback called with the error, if any, and ListTaxonomiesResponse

Returns:
Type Description
undefined

listTaxonomies(request) → {Promise.<google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse>}

Calls ListTaxonomies.

Parameters:
Name Type Description
request google.cloud.datacatalog.v1beta1.IListTaxonomiesRequest

ListTaxonomiesRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse>

Promise

setIamPolicy(request, callback) → {undefined}

Calls SetIamPolicy.

Parameters:
Name Type Description
request google.iam.v1.ISetIamPolicyRequest

SetIamPolicyRequest message or plain object

callback google.cloud.datacatalog.v1beta1.PolicyTagManager.SetIamPolicyCallback

Node-style callback called with the error, if any, and Policy

Returns:
Type Description
undefined

setIamPolicy(request) → {Promise.<google.iam.v1.Policy>}

Calls SetIamPolicy.

Parameters:
Name Type Description
request google.iam.v1.ISetIamPolicyRequest

SetIamPolicyRequest message or plain object

Returns:
Type Description
Promise.<google.iam.v1.Policy>

Promise

testIamPermissions(request, callback) → {undefined}

Calls TestIamPermissions.

Parameters:
Name Type Description
request google.iam.v1.ITestIamPermissionsRequest

TestIamPermissionsRequest message or plain object

callback google.cloud.datacatalog.v1beta1.PolicyTagManager.TestIamPermissionsCallback

Node-style callback called with the error, if any, and TestIamPermissionsResponse

Returns:
Type Description
undefined

testIamPermissions(request) → {Promise.<google.iam.v1.TestIamPermissionsResponse>}

Calls TestIamPermissions.

Parameters:
Name Type Description
request google.iam.v1.ITestIamPermissionsRequest

TestIamPermissionsRequest message or plain object

Returns:
Type Description
Promise.<google.iam.v1.TestIamPermissionsResponse>

Promise

updatePolicyTag(request, callback) → {undefined}

Calls UpdatePolicyTag.

Parameters:
Name Type Description
request google.cloud.datacatalog.v1beta1.IUpdatePolicyTagRequest

UpdatePolicyTagRequest message or plain object

callback google.cloud.datacatalog.v1beta1.PolicyTagManager.UpdatePolicyTagCallback

Node-style callback called with the error, if any, and PolicyTag

Returns:
Type Description
undefined

updatePolicyTag(request) → {Promise.<google.cloud.datacatalog.v1beta1.PolicyTag>}

Calls UpdatePolicyTag.

Parameters:
Name Type Description
request google.cloud.datacatalog.v1beta1.IUpdatePolicyTagRequest

UpdatePolicyTagRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.datacatalog.v1beta1.PolicyTag>

Promise

updateTaxonomy(request, callback) → {undefined}

Calls UpdateTaxonomy.

Parameters:
Name Type Description
request google.cloud.datacatalog.v1beta1.IUpdateTaxonomyRequest

UpdateTaxonomyRequest message or plain object

callback google.cloud.datacatalog.v1beta1.PolicyTagManager.UpdateTaxonomyCallback

Node-style callback called with the error, if any, and Taxonomy

Returns:
Type Description
undefined

updateTaxonomy(request) → {Promise.<google.cloud.datacatalog.v1beta1.Taxonomy>}

Calls UpdateTaxonomy.

Parameters:
Name Type Description
request google.cloud.datacatalog.v1beta1.IUpdateTaxonomyRequest

UpdateTaxonomyRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.datacatalog.v1beta1.Taxonomy>

Promise

(static) create(rpcImpl, requestDelimitedopt, responseDelimitedopt) → {PolicyTagManager}

Creates new PolicyTagManager service using the specified rpc implementation.

Parameters:
Name Type Attributes Default Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean <optional>
false

Whether requests are length-delimited

responseDelimited boolean <optional>
false

Whether responses are length-delimited

Returns:
Type Description
PolicyTagManager

RPC service. Useful where requests and/or responses are streamed.

Type Definitions

CreatePolicyTagCallback(error, responseopt)

Callback as used by createPolicyTag.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.datacatalog.v1beta1.PolicyTag <optional>

PolicyTag

CreateTaxonomyCallback(error, responseopt)

Callback as used by createTaxonomy.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.datacatalog.v1beta1.Taxonomy <optional>

Taxonomy

DeletePolicyTagCallback(error, responseopt)

Callback as used by deletePolicyTag.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.protobuf.Empty <optional>

Empty

DeleteTaxonomyCallback(error, responseopt)

Callback as used by deleteTaxonomy.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.protobuf.Empty <optional>

Empty

GetIamPolicyCallback(error, responseopt)

Callback as used by getIamPolicy.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.iam.v1.Policy <optional>

Policy

GetPolicyTagCallback(error, responseopt)

Callback as used by getPolicyTag.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.datacatalog.v1beta1.PolicyTag <optional>

PolicyTag

GetTaxonomyCallback(error, responseopt)

Callback as used by getTaxonomy.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.datacatalog.v1beta1.Taxonomy <optional>

Taxonomy

ListPolicyTagsCallback(error, responseopt)

Callback as used by listPolicyTags.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse <optional>

ListPolicyTagsResponse

ListTaxonomiesCallback(error, responseopt)

Callback as used by listTaxonomies.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse <optional>

ListTaxonomiesResponse

SetIamPolicyCallback(error, responseopt)

Callback as used by setIamPolicy.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.iam.v1.Policy <optional>

Policy

TestIamPermissionsCallback(error, responseopt)

Callback as used by testIamPermissions.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.iam.v1.TestIamPermissionsResponse <optional>

TestIamPermissionsResponse

UpdatePolicyTagCallback(error, responseopt)

Callback as used by updatePolicyTag.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.datacatalog.v1beta1.PolicyTag <optional>

PolicyTag

UpdateTaxonomyCallback(error, responseopt)

Callback as used by updateTaxonomy.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.datacatalog.v1beta1.Taxonomy <optional>

Taxonomy