Class protos.google.cloud.datacatalog.v1.PolicyTagManager

Represents a PolicyTagManager

Inheritance

$protobuf.rpc.Service > protos.google.cloud.datacatalog.v1.PolicyTagManager

Package

@google-cloud/datacatalog!

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);

Constructs a new PolicyTagManager service.

Parameters
TypeNameDescription
$protobuf.RPCImplrpcImpl

RPC implementation

booleanrequestDelimited

Whether requests are length-delimited

booleanresponseDelimited

Whether responses are length-delimited

Methods

create(rpcImpl, requestDelimited, responseDelimited)

public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): PolicyTagManager;

Creates new PolicyTagManager service using the specified rpc implementation.

Parameters
TypeNameDescription
$protobuf.RPCImplrpcImpl

RPC implementation

booleanrequestDelimited

Whether requests are length-delimited

booleanresponseDelimited

Whether responses are length-delimited

Returns
TypeDescription
PolicyTagManager

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

createPolicyTag(request, callback)

public createPolicyTag(request: google.cloud.datacatalog.v1.ICreatePolicyTagRequest, callback: google.cloud.datacatalog.v1.PolicyTagManager.CreatePolicyTagCallback): void;

Calls CreatePolicyTag.

Parameters
TypeNameDescription
google.cloud.datacatalog.v1.ICreatePolicyTagRequestrequest

CreatePolicyTagRequest message or plain object

google.cloud.datacatalog.v1.PolicyTagManager.CreatePolicyTagCallbackcallback

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

Returns
TypeDescription
void

createPolicyTag(request)

public createPolicyTag(request: google.cloud.datacatalog.v1.ICreatePolicyTagRequest): Promise<google.cloud.datacatalog.v1.PolicyTag>;

Calls CreatePolicyTag.

Parameter
TypeNameDescription
google.cloud.datacatalog.v1.ICreatePolicyTagRequestrequest

CreatePolicyTagRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.datacatalog.v1.PolicyTag>

Promise

createTaxonomy(request, callback)

public createTaxonomy(request: google.cloud.datacatalog.v1.ICreateTaxonomyRequest, callback: google.cloud.datacatalog.v1.PolicyTagManager.CreateTaxonomyCallback): void;

Calls CreateTaxonomy.

Parameters
TypeNameDescription
google.cloud.datacatalog.v1.ICreateTaxonomyRequestrequest

CreateTaxonomyRequest message or plain object

google.cloud.datacatalog.v1.PolicyTagManager.CreateTaxonomyCallbackcallback

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

Returns
TypeDescription
void

createTaxonomy(request)

public createTaxonomy(request: google.cloud.datacatalog.v1.ICreateTaxonomyRequest): Promise<google.cloud.datacatalog.v1.Taxonomy>;

Calls CreateTaxonomy.

Parameter
TypeNameDescription
google.cloud.datacatalog.v1.ICreateTaxonomyRequestrequest

CreateTaxonomyRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.datacatalog.v1.Taxonomy>

Promise

deletePolicyTag(request, callback)

public deletePolicyTag(request: google.cloud.datacatalog.v1.IDeletePolicyTagRequest, callback: google.cloud.datacatalog.v1.PolicyTagManager.DeletePolicyTagCallback): void;

Calls DeletePolicyTag.

Parameters
TypeNameDescription
IDeletePolicyTagRequestrequest

DeletePolicyTagRequest message or plain object

google.cloud.datacatalog.v1.PolicyTagManager.DeletePolicyTagCallbackcallback

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

Returns
TypeDescription
void

deletePolicyTag(request)

public deletePolicyTag(request: google.cloud.datacatalog.v1.IDeletePolicyTagRequest): Promise<google.protobuf.Empty>;

Calls DeletePolicyTag.

Parameter
TypeNameDescription
IDeletePolicyTagRequestrequest

DeletePolicyTagRequest message or plain object

Returns
TypeDescription
Promise<google.protobuf.Empty>

Promise

deleteTaxonomy(request, callback)

public deleteTaxonomy(request: google.cloud.datacatalog.v1.IDeleteTaxonomyRequest, callback: google.cloud.datacatalog.v1.PolicyTagManager.DeleteTaxonomyCallback): void;

Calls DeleteTaxonomy.

Parameters
TypeNameDescription
IDeleteTaxonomyRequestrequest

DeleteTaxonomyRequest message or plain object

google.cloud.datacatalog.v1.PolicyTagManager.DeleteTaxonomyCallbackcallback

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

Returns
TypeDescription
void

deleteTaxonomy(request)

public deleteTaxonomy(request: google.cloud.datacatalog.v1.IDeleteTaxonomyRequest): Promise<google.protobuf.Empty>;

Calls DeleteTaxonomy.

Parameter
TypeNameDescription
IDeleteTaxonomyRequestrequest

DeleteTaxonomyRequest message or plain object

Returns
TypeDescription
Promise<google.protobuf.Empty>

Promise

getIamPolicy(request, callback)

public getIamPolicy(request: google.iam.v1.IGetIamPolicyRequest, callback: google.cloud.datacatalog.v1.PolicyTagManager.GetIamPolicyCallback): void;

Calls GetIamPolicy.

Parameters
TypeNameDescription
google.iam.v1.IGetIamPolicyRequestrequest

GetIamPolicyRequest message or plain object

google.cloud.datacatalog.v1.PolicyTagManager.GetIamPolicyCallbackcallback

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

Returns
TypeDescription
void

getIamPolicy(request)

public getIamPolicy(request: google.iam.v1.IGetIamPolicyRequest): Promise<google.iam.v1.Policy>;

Calls GetIamPolicy.

Parameter
TypeNameDescription
google.iam.v1.IGetIamPolicyRequestrequest

GetIamPolicyRequest message or plain object

Returns
TypeDescription
Promise<google.iam.v1.Policy>

Promise

getPolicyTag(request, callback)

public getPolicyTag(request: google.cloud.datacatalog.v1.IGetPolicyTagRequest, callback: google.cloud.datacatalog.v1.PolicyTagManager.GetPolicyTagCallback): void;

Calls GetPolicyTag.

Parameters
TypeNameDescription
google.cloud.datacatalog.v1.IGetPolicyTagRequestrequest

GetPolicyTagRequest message or plain object

google.cloud.datacatalog.v1.PolicyTagManager.GetPolicyTagCallbackcallback

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

Returns
TypeDescription
void

getPolicyTag(request)

public getPolicyTag(request: google.cloud.datacatalog.v1.IGetPolicyTagRequest): Promise<google.cloud.datacatalog.v1.PolicyTag>;

Calls GetPolicyTag.

Parameter
TypeNameDescription
google.cloud.datacatalog.v1.IGetPolicyTagRequestrequest

GetPolicyTagRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.datacatalog.v1.PolicyTag>

Promise

getTaxonomy(request, callback)

public getTaxonomy(request: google.cloud.datacatalog.v1.IGetTaxonomyRequest, callback: google.cloud.datacatalog.v1.PolicyTagManager.GetTaxonomyCallback): void;

Calls GetTaxonomy.

Parameters
TypeNameDescription
IGetTaxonomyRequestrequest

GetTaxonomyRequest message or plain object

google.cloud.datacatalog.v1.PolicyTagManager.GetTaxonomyCallbackcallback

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

Returns
TypeDescription
void

getTaxonomy(request)

public getTaxonomy(request: google.cloud.datacatalog.v1.IGetTaxonomyRequest): Promise<google.cloud.datacatalog.v1.Taxonomy>;

Calls GetTaxonomy.

Parameter
TypeNameDescription
IGetTaxonomyRequestrequest

GetTaxonomyRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.datacatalog.v1.Taxonomy>

Promise

listPolicyTags(request, callback)

public listPolicyTags(request: google.cloud.datacatalog.v1.IListPolicyTagsRequest, callback: google.cloud.datacatalog.v1.PolicyTagManager.ListPolicyTagsCallback): void;

Calls ListPolicyTags.

Parameters
TypeNameDescription
IListPolicyTagsRequestrequest

ListPolicyTagsRequest message or plain object

google.cloud.datacatalog.v1.PolicyTagManager.ListPolicyTagsCallbackcallback

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

Returns
TypeDescription
void

listPolicyTags(request)

public listPolicyTags(request: google.cloud.datacatalog.v1.IListPolicyTagsRequest): Promise<google.cloud.datacatalog.v1.ListPolicyTagsResponse>;

Calls ListPolicyTags.

Parameter
TypeNameDescription
IListPolicyTagsRequestrequest

ListPolicyTagsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.datacatalog.v1.ListPolicyTagsResponse>

Promise

listTaxonomies(request, callback)

public listTaxonomies(request: google.cloud.datacatalog.v1.IListTaxonomiesRequest, callback: google.cloud.datacatalog.v1.PolicyTagManager.ListTaxonomiesCallback): void;

Calls ListTaxonomies.

Parameters
TypeNameDescription
IListTaxonomiesRequestrequest

ListTaxonomiesRequest message or plain object

google.cloud.datacatalog.v1.PolicyTagManager.ListTaxonomiesCallbackcallback

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

Returns
TypeDescription
void

listTaxonomies(request)

public listTaxonomies(request: google.cloud.datacatalog.v1.IListTaxonomiesRequest): Promise<google.cloud.datacatalog.v1.ListTaxonomiesResponse>;

Calls ListTaxonomies.

Parameter
TypeNameDescription
IListTaxonomiesRequestrequest

ListTaxonomiesRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.datacatalog.v1.ListTaxonomiesResponse>

Promise

setIamPolicy(request, callback)

public setIamPolicy(request: google.iam.v1.ISetIamPolicyRequest, callback: google.cloud.datacatalog.v1.PolicyTagManager.SetIamPolicyCallback): void;

Calls SetIamPolicy.

Parameters
TypeNameDescription
google.iam.v1.ISetIamPolicyRequestrequest

SetIamPolicyRequest message or plain object

google.cloud.datacatalog.v1.PolicyTagManager.SetIamPolicyCallbackcallback

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

Returns
TypeDescription
void

setIamPolicy(request)

public setIamPolicy(request: google.iam.v1.ISetIamPolicyRequest): Promise<google.iam.v1.Policy>;

Calls SetIamPolicy.

Parameter
TypeNameDescription
google.iam.v1.ISetIamPolicyRequestrequest

SetIamPolicyRequest message or plain object

Returns
TypeDescription
Promise<google.iam.v1.Policy>

Promise

testIamPermissions(request, callback)

public testIamPermissions(request: google.iam.v1.ITestIamPermissionsRequest, callback: google.cloud.datacatalog.v1.PolicyTagManager.TestIamPermissionsCallback): void;

Calls TestIamPermissions.

Parameters
TypeNameDescription
ITestIamPermissionsRequestrequest

TestIamPermissionsRequest message or plain object

google.cloud.datacatalog.v1.PolicyTagManager.TestIamPermissionsCallbackcallback

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

Returns
TypeDescription
void

testIamPermissions(request)

public testIamPermissions(request: google.iam.v1.ITestIamPermissionsRequest): Promise<google.iam.v1.TestIamPermissionsResponse>;

Calls TestIamPermissions.

Parameter
TypeNameDescription
ITestIamPermissionsRequestrequest

TestIamPermissionsRequest message or plain object

Returns
TypeDescription
Promise<google.iam.v1.TestIamPermissionsResponse>

Promise

updatePolicyTag(request, callback)

public updatePolicyTag(request: google.cloud.datacatalog.v1.IUpdatePolicyTagRequest, callback: google.cloud.datacatalog.v1.PolicyTagManager.UpdatePolicyTagCallback): void;

Calls UpdatePolicyTag.

Parameters
TypeNameDescription
IUpdatePolicyTagRequestrequest

UpdatePolicyTagRequest message or plain object

google.cloud.datacatalog.v1.PolicyTagManager.UpdatePolicyTagCallbackcallback

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

Returns
TypeDescription
void

updatePolicyTag(request)

public updatePolicyTag(request: google.cloud.datacatalog.v1.IUpdatePolicyTagRequest): Promise<google.cloud.datacatalog.v1.PolicyTag>;

Calls UpdatePolicyTag.

Parameter
TypeNameDescription
IUpdatePolicyTagRequestrequest

UpdatePolicyTagRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.datacatalog.v1.PolicyTag>

Promise

updateTaxonomy(request, callback)

public updateTaxonomy(request: google.cloud.datacatalog.v1.IUpdateTaxonomyRequest, callback: google.cloud.datacatalog.v1.PolicyTagManager.UpdateTaxonomyCallback): void;

Calls UpdateTaxonomy.

Parameters
TypeNameDescription
IUpdateTaxonomyRequestrequest

UpdateTaxonomyRequest message or plain object

google.cloud.datacatalog.v1.PolicyTagManager.UpdateTaxonomyCallbackcallback

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

Returns
TypeDescription
void

updateTaxonomy(request)

public updateTaxonomy(request: google.cloud.datacatalog.v1.IUpdateTaxonomyRequest): Promise<google.cloud.datacatalog.v1.Taxonomy>;

Calls UpdateTaxonomy.

Parameter
TypeNameDescription
IUpdateTaxonomyRequestrequest

UpdateTaxonomyRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.datacatalog.v1.Taxonomy>

Promise