Class protos.google.cloud.resourcemanager.v3.TagKeys (4.3.0)

Represents a TagKeys

Inheritance

$protobuf.rpc.Service > protos.google.cloud.resourcemanager.v3.TagKeys

Package

@google-cloud/resource-manager

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

Constructs a new TagKeys service.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Methods

create(rpcImpl, requestDelimited, responseDelimited)

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

Creates new TagKeys service using the specified rpc implementation.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Returns
TypeDescription
TagKeys

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

createTagKey(request, callback)

public createTagKey(request: google.cloud.resourcemanager.v3.ICreateTagKeyRequest, callback: google.cloud.resourcemanager.v3.TagKeys.CreateTagKeyCallback): void;

Calls CreateTagKey.

Parameters
NameDescription
request google.cloud.resourcemanager.v3.ICreateTagKeyRequest

CreateTagKeyRequest message or plain object

callback google.cloud.resourcemanager.v3.TagKeys.CreateTagKeyCallback

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

Returns
TypeDescription
void

createTagKey(request)

public createTagKey(request: google.cloud.resourcemanager.v3.ICreateTagKeyRequest): Promise<google.longrunning.Operation>;

Calls CreateTagKey.

Parameter
NameDescription
request google.cloud.resourcemanager.v3.ICreateTagKeyRequest

CreateTagKeyRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

deleteTagKey(request, callback)

public deleteTagKey(request: google.cloud.resourcemanager.v3.IDeleteTagKeyRequest, callback: google.cloud.resourcemanager.v3.TagKeys.DeleteTagKeyCallback): void;

Calls DeleteTagKey.

Parameters
NameDescription
request google.cloud.resourcemanager.v3.IDeleteTagKeyRequest

DeleteTagKeyRequest message or plain object

callback google.cloud.resourcemanager.v3.TagKeys.DeleteTagKeyCallback

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

Returns
TypeDescription
void

deleteTagKey(request)

public deleteTagKey(request: google.cloud.resourcemanager.v3.IDeleteTagKeyRequest): Promise<google.longrunning.Operation>;

Calls DeleteTagKey.

Parameter
NameDescription
request google.cloud.resourcemanager.v3.IDeleteTagKeyRequest

DeleteTagKeyRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

getIamPolicy(request, callback)

public getIamPolicy(request: google.iam.v1.IGetIamPolicyRequest, callback: google.cloud.resourcemanager.v3.TagKeys.GetIamPolicyCallback): void;

Calls GetIamPolicy.

Parameters
NameDescription
request IGetIamPolicyRequest

GetIamPolicyRequest message or plain object

callback google.cloud.resourcemanager.v3.TagKeys.GetIamPolicyCallback

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
NameDescription
request IGetIamPolicyRequest

GetIamPolicyRequest message or plain object

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

Promise

getNamespacedTagKey(request, callback)

public getNamespacedTagKey(request: google.cloud.resourcemanager.v3.IGetNamespacedTagKeyRequest, callback: google.cloud.resourcemanager.v3.TagKeys.GetNamespacedTagKeyCallback): void;

Calls GetNamespacedTagKey.

Parameters
NameDescription
request google.cloud.resourcemanager.v3.IGetNamespacedTagKeyRequest

GetNamespacedTagKeyRequest message or plain object

callback google.cloud.resourcemanager.v3.TagKeys.GetNamespacedTagKeyCallback

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

Returns
TypeDescription
void

getNamespacedTagKey(request)

public getNamespacedTagKey(request: google.cloud.resourcemanager.v3.IGetNamespacedTagKeyRequest): Promise<google.cloud.resourcemanager.v3.TagKey>;

Calls GetNamespacedTagKey.

Parameter
NameDescription
request google.cloud.resourcemanager.v3.IGetNamespacedTagKeyRequest

GetNamespacedTagKeyRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.resourcemanager.v3.TagKey>

Promise

getTagKey(request, callback)

public getTagKey(request: google.cloud.resourcemanager.v3.IGetTagKeyRequest, callback: google.cloud.resourcemanager.v3.TagKeys.GetTagKeyCallback): void;

Calls GetTagKey.

Parameters
NameDescription
request google.cloud.resourcemanager.v3.IGetTagKeyRequest

GetTagKeyRequest message or plain object

callback google.cloud.resourcemanager.v3.TagKeys.GetTagKeyCallback

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

Returns
TypeDescription
void

getTagKey(request)

public getTagKey(request: google.cloud.resourcemanager.v3.IGetTagKeyRequest): Promise<google.cloud.resourcemanager.v3.TagKey>;

Calls GetTagKey.

Parameter
NameDescription
request google.cloud.resourcemanager.v3.IGetTagKeyRequest

GetTagKeyRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.resourcemanager.v3.TagKey>

Promise

listTagKeys(request, callback)

public listTagKeys(request: google.cloud.resourcemanager.v3.IListTagKeysRequest, callback: google.cloud.resourcemanager.v3.TagKeys.ListTagKeysCallback): void;

Calls ListTagKeys.

Parameters
NameDescription
request google.cloud.resourcemanager.v3.IListTagKeysRequest

ListTagKeysRequest message or plain object

callback google.cloud.resourcemanager.v3.TagKeys.ListTagKeysCallback

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

Returns
TypeDescription
void

listTagKeys(request)

public listTagKeys(request: google.cloud.resourcemanager.v3.IListTagKeysRequest): Promise<google.cloud.resourcemanager.v3.ListTagKeysResponse>;

Calls ListTagKeys.

Parameter
NameDescription
request google.cloud.resourcemanager.v3.IListTagKeysRequest

ListTagKeysRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.resourcemanager.v3.ListTagKeysResponse>

Promise

setIamPolicy(request, callback)

public setIamPolicy(request: google.iam.v1.ISetIamPolicyRequest, callback: google.cloud.resourcemanager.v3.TagKeys.SetIamPolicyCallback): void;

Calls SetIamPolicy.

Parameters
NameDescription
request ISetIamPolicyRequest

SetIamPolicyRequest message or plain object

callback google.cloud.resourcemanager.v3.TagKeys.SetIamPolicyCallback

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
NameDescription
request ISetIamPolicyRequest

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.resourcemanager.v3.TagKeys.TestIamPermissionsCallback): void;

Calls TestIamPermissions.

Parameters
NameDescription
request google.iam.v1.ITestIamPermissionsRequest

TestIamPermissionsRequest message or plain object

callback google.cloud.resourcemanager.v3.TagKeys.TestIamPermissionsCallback

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
NameDescription
request google.iam.v1.ITestIamPermissionsRequest

TestIamPermissionsRequest message or plain object

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

Promise

updateTagKey(request, callback)

public updateTagKey(request: google.cloud.resourcemanager.v3.IUpdateTagKeyRequest, callback: google.cloud.resourcemanager.v3.TagKeys.UpdateTagKeyCallback): void;

Calls UpdateTagKey.

Parameters
NameDescription
request google.cloud.resourcemanager.v3.IUpdateTagKeyRequest

UpdateTagKeyRequest message or plain object

callback google.cloud.resourcemanager.v3.TagKeys.UpdateTagKeyCallback

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

Returns
TypeDescription
void

updateTagKey(request)

public updateTagKey(request: google.cloud.resourcemanager.v3.IUpdateTagKeyRequest): Promise<google.longrunning.Operation>;

Calls UpdateTagKey.

Parameter
NameDescription
request google.cloud.resourcemanager.v3.IUpdateTagKeyRequest

UpdateTagKeyRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise