TagBindings

google.cloud.resourcemanager.v3. TagBindings

Represents a TagBindings

Constructor

new TagBindings(rpcImpl, requestDelimitedopt, responseDelimitedopt)

Constructs a new TagBindings service.

Parameters:
Name Type Attributes Default Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean <optional>
false

Whether requests are length-delimited

responseDelimited boolean <optional>
false

Whether responses are length-delimited

Extends

  • $protobuf.rpc.Service

Methods

createTagBinding(request, callback) → {undefined}

Calls CreateTagBinding.

Parameters:
Name Type 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
undefined

createTagBinding(request) → {Promise.<google.longrunning.Operation>}

Calls CreateTagBinding.

Parameters:
Name Type Description
request google.cloud.resourcemanager.v3.ICreateTagBindingRequest

CreateTagBindingRequest message or plain object

Returns:
Type Description
Promise.<google.longrunning.Operation>

Promise

deleteTagBinding(request, callback) → {undefined}

Calls DeleteTagBinding.

Parameters:
Name Type Description
request google.cloud.resourcemanager.v3.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
undefined

deleteTagBinding(request) → {Promise.<google.longrunning.Operation>}

Calls DeleteTagBinding.

Parameters:
Name Type Description
request google.cloud.resourcemanager.v3.IDeleteTagBindingRequest

DeleteTagBindingRequest message or plain object

Returns:
Type Description
Promise.<google.longrunning.Operation>

Promise

listEffectiveTags(request, callback) → {undefined}

Calls ListEffectiveTags.

Parameters:
Name Type 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
undefined

listEffectiveTags(request) → {Promise.<google.cloud.resourcemanager.v3.ListEffectiveTagsResponse>}

Calls ListEffectiveTags.

Parameters:
Name Type 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) → {undefined}

Calls ListTagBindings.

Parameters:
Name Type 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
undefined

listTagBindings(request) → {Promise.<google.cloud.resourcemanager.v3.ListTagBindingsResponse>}

Calls ListTagBindings.

Parameters:
Name Type Description
request google.cloud.resourcemanager.v3.IListTagBindingsRequest

ListTagBindingsRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.resourcemanager.v3.ListTagBindingsResponse>

Promise

(static) create(rpcImpl, requestDelimitedopt, responseDelimitedopt) → {TagBindings}

Creates new TagBindings service using the specified rpc implementation.

Parameters:
Name Type Attributes Default Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean <optional>
false

Whether requests are length-delimited

responseDelimited boolean <optional>
false

Whether responses are length-delimited

Returns:
Type Description
TagBindings

RPC service. Useful where requests and/or responses are streamed.

Type Definitions

CreateTagBindingCallback(error, responseopt)

Callback as used by createTagBinding.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.longrunning.Operation <optional>

Operation

DeleteTagBindingCallback(error, responseopt)

Callback as used by deleteTagBinding.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.longrunning.Operation <optional>

Operation

ListEffectiveTagsCallback(error, responseopt)

Callback as used by listEffectiveTags.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.resourcemanager.v3.ListEffectiveTagsResponse <optional>

ListEffectiveTagsResponse

ListTagBindingsCallback(error, responseopt)

Callback as used by listTagBindings.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.resourcemanager.v3.ListTagBindingsResponse <optional>

ListTagBindingsResponse