Class protos.google.cloud.resourcemanager.v3.TagBindings

Represents a TagBindings

Inheritance

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

Package

@google-cloud/resource-manager!

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

Constructs a new TagBindings service.

Parameters
TypeNameDescription
$protobuf.RPCImplrpcImpl

RPC implementation

booleanrequestDelimited

Whether requests are length-delimited

booleanresponseDelimited

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
TypeNameDescription
$protobuf.RPCImplrpcImpl

RPC implementation

booleanrequestDelimited

Whether requests are length-delimited

booleanresponseDelimited

Whether responses are length-delimited

Returns
TypeDescription
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
TypeNameDescription
google.cloud.resourcemanager.v3.ICreateTagBindingRequestrequest

CreateTagBindingRequest message or plain object

google.cloud.resourcemanager.v3.TagBindings.CreateTagBindingCallbackcallback

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

Returns
TypeDescription
void

createTagBinding(request)

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

Calls CreateTagBinding.

Parameter
TypeNameDescription
google.cloud.resourcemanager.v3.ICreateTagBindingRequestrequest

CreateTagBindingRequest message or plain object

Returns
TypeDescription
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
TypeNameDescription
IDeleteTagBindingRequestrequest

DeleteTagBindingRequest message or plain object

google.cloud.resourcemanager.v3.TagBindings.DeleteTagBindingCallbackcallback

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

Returns
TypeDescription
void

deleteTagBinding(request)

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

Calls DeleteTagBinding.

Parameter
TypeNameDescription
IDeleteTagBindingRequestrequest

DeleteTagBindingRequest message or plain object

Returns
TypeDescription
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.

Parameters
TypeNameDescription
IListTagBindingsRequestrequest

ListTagBindingsRequest message or plain object

google.cloud.resourcemanager.v3.TagBindings.ListTagBindingsCallbackcallback

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

Returns
TypeDescription
void

listTagBindings(request)

public listTagBindings(request: google.cloud.resourcemanager.v3.IListTagBindingsRequest): Promise<google.cloud.resourcemanager.v3.ListTagBindingsResponse>;

Calls ListTagBindings.

Parameter
TypeNameDescription
IListTagBindingsRequestrequest

ListTagBindingsRequest message or plain object

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

Promise