Represents a TagKeys
Inheritance
$protobuf.rpc.Service > protos.google.cloud.resourcemanager.v3.TagKeysPackage
@google-cloud/resource-managerConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);Constructs a new TagKeys service.
| Parameters | |
|---|---|
| Name | Description |
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 | |
|---|---|
| Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
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 | |
|---|---|
| Type | Description |
void |
|
createTagKey(request)
public createTagKey(request: google.cloud.resourcemanager.v3.ICreateTagKeyRequest): Promise<google.longrunning.Operation>;Calls CreateTagKey.
| Parameter | |
|---|---|
| Name | Description |
request |
ICreateTagKeyRequest
CreateTagKeyRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
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 | |
|---|---|
| Type | Description |
void |
|
deleteTagKey(request)
public deleteTagKey(request: google.cloud.resourcemanager.v3.IDeleteTagKeyRequest): Promise<google.longrunning.Operation>;Calls DeleteTagKey.
| Parameter | |
|---|---|
| Name | Description |
request |
IDeleteTagKeyRequest
DeleteTagKeyRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
google.iam.v1.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 | |
|---|---|
| Type | Description |
void |
|
getIamPolicy(request)
public getIamPolicy(request: google.iam.v1.IGetIamPolicyRequest): Promise<google.iam.v1.Policy>;Calls GetIamPolicy.
| Parameter | |
|---|---|
| Name | Description |
request |
google.iam.v1.IGetIamPolicyRequest
GetIamPolicyRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.iam.v1.Policy> |
Promise |
getTagKey(request, callback)
public getTagKey(request: google.cloud.resourcemanager.v3.IGetTagKeyRequest, callback: google.cloud.resourcemanager.v3.TagKeys.GetTagKeyCallback): void;Calls GetTagKey.
| Parameters | |
|---|---|
| Name | Description |
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 | |
|---|---|
| Type | Description |
void |
|
getTagKey(request)
public getTagKey(request: google.cloud.resourcemanager.v3.IGetTagKeyRequest): Promise<google.cloud.resourcemanager.v3.TagKey>;Calls GetTagKey.
| Parameter | |
|---|---|
| Name | Description |
request |
google.cloud.resourcemanager.v3.IGetTagKeyRequest
GetTagKeyRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
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 | |
|---|---|
| Type | Description |
void |
|
listTagKeys(request)
public listTagKeys(request: google.cloud.resourcemanager.v3.IListTagKeysRequest): Promise<google.cloud.resourcemanager.v3.ListTagKeysResponse>;Calls ListTagKeys.
| Parameter | |
|---|---|
| Name | Description |
request |
IListTagKeysRequest
ListTagKeysRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
google.iam.v1.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 | |
|---|---|
| Type | Description |
void |
|
setIamPolicy(request)
public setIamPolicy(request: google.iam.v1.ISetIamPolicyRequest): Promise<google.iam.v1.Policy>;Calls SetIamPolicy.
| Parameter | |
|---|---|
| Name | Description |
request |
google.iam.v1.ISetIamPolicyRequest
SetIamPolicyRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
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 | |
|---|---|
| Type | Description |
void |
|
testIamPermissions(request)
public testIamPermissions(request: google.iam.v1.ITestIamPermissionsRequest): Promise<google.iam.v1.TestIamPermissionsResponse>;Calls TestIamPermissions.
| Parameter | |
|---|---|
| Name | Description |
request |
google.iam.v1.ITestIamPermissionsRequest
TestIamPermissionsRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
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 | |
|---|---|
| Type | Description |
void |
|
updateTagKey(request)
public updateTagKey(request: google.cloud.resourcemanager.v3.IUpdateTagKeyRequest): Promise<google.longrunning.Operation>;Calls UpdateTagKey.
| Parameter | |
|---|---|
| Name | Description |
request |
IUpdateTagKeyRequest
UpdateTagKeyRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.longrunning.Operation> |
Promise |