Class protos.google.cloud.resourcemanager.v3.TagBindings (4.3.0)

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
NameDescription
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
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

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
NameDescription
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
TypeDescription
void

createTagBinding(request)

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

Calls CreateTagBinding.

Parameter
NameDescription
request google.cloud.resourcemanager.v3.ICreateTagBindingRequest

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
NameDescription
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
TypeDescription
void

deleteTagBinding(request)

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

Calls DeleteTagBinding.

Parameter
NameDescription
request IDeleteTagBindingRequest

DeleteTagBindingRequest message or plain object

Returns
TypeDescription
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
NameDescription
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
TypeDescription
void

listEffectiveTags(request)

public listEffectiveTags(request: google.cloud.resourcemanager.v3.IListEffectiveTagsRequest): Promise<google.cloud.resourcemanager.v3.ListEffectiveTagsResponse>;

Calls ListEffectiveTags.

Parameter
NameDescription
request google.cloud.resourcemanager.v3.IListEffectiveTagsRequest

ListEffectiveTagsRequest message or plain object

Returns
TypeDescription
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
NameDescription
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
TypeDescription
void

listTagBindings(request)

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

Calls ListTagBindings.

Parameter
NameDescription
request google.cloud.resourcemanager.v3.IListTagBindingsRequest

ListTagBindingsRequest message or plain object

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

Promise