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.
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): TagBindings;
Creates new TagBindings 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 |
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.
Parameters | |
---|---|
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 |
Returns | |
---|---|
Type | Description |
void |
createTagBinding(request)
public createTagBinding(request: google.cloud.resourcemanager.v3.ICreateTagBindingRequest): Promise<google.longrunning.Operation>;
Calls CreateTagBinding.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.resourcemanager.v3.ICreateTagBindingRequest
CreateTagBindingRequest message or plain object |
Returns | |
---|---|
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.
Parameters | |
---|---|
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 |
Returns | |
---|---|
Type | Description |
void |
deleteTagBinding(request)
public deleteTagBinding(request: google.cloud.resourcemanager.v3.IDeleteTagBindingRequest): Promise<google.longrunning.Operation>;
Calls DeleteTagBinding.
Parameter | |
---|---|
Name | Description |
request |
IDeleteTagBindingRequest
DeleteTagBindingRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> | Promise |
listEffectiveTags(request, callback)
public listEffectiveTags(request: google.cloud.resourcemanager.v3.IListEffectiveTagsRequest, callback: google.cloud.resourcemanager.v3.TagBindings.ListEffectiveTagsCallback): void;
Calls ListEffectiveTags.
Parameters | |
---|---|
Name | Description |
request |
google.cloud.resourcemanager.v3.IListEffectiveTagsRequest
ListEffectiveTagsRequest message or plain object |
callback |
google.cloud.resourcemanager.v3.TagBindings.ListEffectiveTagsCallback
Node-style callback called with the error, if any, and ListEffectiveTagsResponse |
Returns | |
---|---|
Type | Description |
void |
listEffectiveTags(request)
public listEffectiveTags(request: google.cloud.resourcemanager.v3.IListEffectiveTagsRequest): Promise<google.cloud.resourcemanager.v3.ListEffectiveTagsResponse>;
Calls ListEffectiveTags.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.resourcemanager.v3.IListEffectiveTagsRequest
ListEffectiveTagsRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.resourcemanager.v3.ListEffectiveTagsResponse> | Promise |
listTagBindings(request, callback)
public listTagBindings(request: google.cloud.resourcemanager.v3.IListTagBindingsRequest, callback: google.cloud.resourcemanager.v3.TagBindings.ListTagBindingsCallback): void;
Calls ListTagBindings.
Parameters | |
---|---|
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 |
Returns | |
---|---|
Type | Description |
void |
listTagBindings(request)
public listTagBindings(request: google.cloud.resourcemanager.v3.IListTagBindingsRequest): Promise<google.cloud.resourcemanager.v3.ListTagBindingsResponse>;
Calls ListTagBindings.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.resourcemanager.v3.IListTagBindingsRequest
ListTagBindingsRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.resourcemanager.v3.ListTagBindingsResponse> | Promise |