Represents a TagBindings
Inheritance
$protobuf.rpc.Service > protos.google.cloud.resourcemanager.v3.TagBindingsPackage
@google-cloud/resource-managerConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new TagBindings service.
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): TagBindings;
Creates new TagBindings service using the specified rpc implementation.
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Type | Description |
TagBindings | RPC service. Useful where requests and/or responses are streamed. |
createTagBinding(request, callback)
public createTagBinding(request: google.cloud.resourcemanager.v3.ICreateTagBindingRequest, callback: google.cloud.resourcemanager.v3.TagBindings.CreateTagBindingCallback): void;
Calls CreateTagBinding.
Name | Description |
request |
google.cloud.resourcemanager.v3.ICreateTagBindingRequest
CreateTagBindingRequest message or plain object |
callback |
google.cloud.resourcemanager.v3.TagBindings.CreateTagBindingCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
createTagBinding(request)
public createTagBinding(request: google.cloud.resourcemanager.v3.ICreateTagBindingRequest): Promise<google.longrunning.Operation>;
Calls CreateTagBinding.
Name | Description |
request |
google.cloud.resourcemanager.v3.ICreateTagBindingRequest
CreateTagBindingRequest message or plain object |
Type | Description |
Promise<google.longrunning.Operation> | Promise |
deleteTagBinding(request, callback)
public deleteTagBinding(request: google.cloud.resourcemanager.v3.IDeleteTagBindingRequest, callback: google.cloud.resourcemanager.v3.TagBindings.DeleteTagBindingCallback): void;
Calls DeleteTagBinding.
Name | Description |
request |
IDeleteTagBindingRequest
DeleteTagBindingRequest message or plain object |
callback |
google.cloud.resourcemanager.v3.TagBindings.DeleteTagBindingCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
deleteTagBinding(request)
public deleteTagBinding(request: google.cloud.resourcemanager.v3.IDeleteTagBindingRequest): Promise<google.longrunning.Operation>;
Calls DeleteTagBinding.
Name | Description |
request |
IDeleteTagBindingRequest
DeleteTagBindingRequest message or plain object |
Type | Description |
Promise<google.longrunning.Operation> | Promise |
listTagBindings(request, callback)
public listTagBindings(request: google.cloud.resourcemanager.v3.IListTagBindingsRequest, callback: google.cloud.resourcemanager.v3.TagBindings.ListTagBindingsCallback): void;
Calls ListTagBindings.
Name | Description |
request |
google.cloud.resourcemanager.v3.IListTagBindingsRequest
ListTagBindingsRequest message or plain object |
callback |
google.cloud.resourcemanager.v3.TagBindings.ListTagBindingsCallback
Node-style callback called with the error, if any, and ListTagBindingsResponse |
Type | Description |
void |
listTagBindings(request)
public listTagBindings(request: google.cloud.resourcemanager.v3.IListTagBindingsRequest): Promise<google.cloud.resourcemanager.v3.ListTagBindingsResponse>;
Calls ListTagBindings.
Name | Description |
request |
google.cloud.resourcemanager.v3.IListTagBindingsRequest
ListTagBindingsRequest message or plain object |
Type | Description |
Promise<google.cloud.resourcemanager.v3.ListTagBindingsResponse> | Promise |