Represents a TagValues
Inheritance
$protobuf.rpc.Service > protos.google.cloud.resourcemanager.v3.TagValuesPackage
@google-cloud/resource-managerConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new TagValues 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): TagValues;
Creates new TagValues 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 |
TagValues | RPC service. Useful where requests and/or responses are streamed. |
createTagValue(request, callback)
public createTagValue(request: google.cloud.resourcemanager.v3.ICreateTagValueRequest, callback: google.cloud.resourcemanager.v3.TagValues.CreateTagValueCallback): void;
Calls CreateTagValue.
Parameters | |
---|---|
Name | Description |
request |
google.cloud.resourcemanager.v3.ICreateTagValueRequest
CreateTagValueRequest message or plain object |
callback |
google.cloud.resourcemanager.v3.TagValues.CreateTagValueCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
createTagValue(request)
public createTagValue(request: google.cloud.resourcemanager.v3.ICreateTagValueRequest): Promise<google.longrunning.Operation>;
Calls CreateTagValue.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.resourcemanager.v3.ICreateTagValueRequest
CreateTagValueRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> | Promise |
deleteTagValue(request, callback)
public deleteTagValue(request: google.cloud.resourcemanager.v3.IDeleteTagValueRequest, callback: google.cloud.resourcemanager.v3.TagValues.DeleteTagValueCallback): void;
Calls DeleteTagValue.
Parameters | |
---|---|
Name | Description |
request |
google.cloud.resourcemanager.v3.IDeleteTagValueRequest
DeleteTagValueRequest message or plain object |
callback |
google.cloud.resourcemanager.v3.TagValues.DeleteTagValueCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
deleteTagValue(request)
public deleteTagValue(request: google.cloud.resourcemanager.v3.IDeleteTagValueRequest): Promise<google.longrunning.Operation>;
Calls DeleteTagValue.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.resourcemanager.v3.IDeleteTagValueRequest
DeleteTagValueRequest 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.TagValues.GetIamPolicyCallback): void;
Calls GetIamPolicy.
Parameters | |
---|---|
Name | Description |
request |
google.iam.v1.IGetIamPolicyRequest
GetIamPolicyRequest message or plain object |
callback |
google.cloud.resourcemanager.v3.TagValues.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 |
getTagValue(request, callback)
public getTagValue(request: google.cloud.resourcemanager.v3.IGetTagValueRequest, callback: google.cloud.resourcemanager.v3.TagValues.GetTagValueCallback): void;
Calls GetTagValue.
Parameters | |
---|---|
Name | Description |
request |
google.cloud.resourcemanager.v3.IGetTagValueRequest
GetTagValueRequest message or plain object |
callback |
google.cloud.resourcemanager.v3.TagValues.GetTagValueCallback
Node-style callback called with the error, if any, and TagValue |
Returns | |
---|---|
Type | Description |
void |
getTagValue(request)
public getTagValue(request: google.cloud.resourcemanager.v3.IGetTagValueRequest): Promise<google.cloud.resourcemanager.v3.TagValue>;
Calls GetTagValue.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.resourcemanager.v3.IGetTagValueRequest
GetTagValueRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.resourcemanager.v3.TagValue> | Promise |
listTagValues(request, callback)
public listTagValues(request: google.cloud.resourcemanager.v3.IListTagValuesRequest, callback: google.cloud.resourcemanager.v3.TagValues.ListTagValuesCallback): void;
Calls ListTagValues.
Parameters | |
---|---|
Name | Description |
request |
google.cloud.resourcemanager.v3.IListTagValuesRequest
ListTagValuesRequest message or plain object |
callback |
google.cloud.resourcemanager.v3.TagValues.ListTagValuesCallback
Node-style callback called with the error, if any, and ListTagValuesResponse |
Returns | |
---|---|
Type | Description |
void |
listTagValues(request)
public listTagValues(request: google.cloud.resourcemanager.v3.IListTagValuesRequest): Promise<google.cloud.resourcemanager.v3.ListTagValuesResponse>;
Calls ListTagValues.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.resourcemanager.v3.IListTagValuesRequest
ListTagValuesRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.resourcemanager.v3.ListTagValuesResponse> | Promise |
setIamPolicy(request, callback)
public setIamPolicy(request: google.iam.v1.ISetIamPolicyRequest, callback: google.cloud.resourcemanager.v3.TagValues.SetIamPolicyCallback): void;
Calls SetIamPolicy.
Parameters | |
---|---|
Name | Description |
request |
google.iam.v1.ISetIamPolicyRequest
SetIamPolicyRequest message or plain object |
callback |
google.cloud.resourcemanager.v3.TagValues.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.TagValues.TestIamPermissionsCallback): void;
Calls TestIamPermissions.
Parameters | |
---|---|
Name | Description |
request |
google.iam.v1.ITestIamPermissionsRequest
TestIamPermissionsRequest message or plain object |
callback |
google.cloud.resourcemanager.v3.TagValues.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 |
updateTagValue(request, callback)
public updateTagValue(request: google.cloud.resourcemanager.v3.IUpdateTagValueRequest, callback: google.cloud.resourcemanager.v3.TagValues.UpdateTagValueCallback): void;
Calls UpdateTagValue.
Parameters | |
---|---|
Name | Description |
request |
google.cloud.resourcemanager.v3.IUpdateTagValueRequest
UpdateTagValueRequest message or plain object |
callback |
google.cloud.resourcemanager.v3.TagValues.UpdateTagValueCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
updateTagValue(request)
public updateTagValue(request: google.cloud.resourcemanager.v3.IUpdateTagValueRequest): Promise<google.longrunning.Operation>;
Calls UpdateTagValue.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.resourcemanager.v3.IUpdateTagValueRequest
UpdateTagValueRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> | Promise |