Cloud Resource Manager v3 API - Class TagHolds.TagHoldsBase (2.2.0)

[BindServiceMethod(typeof(TagHolds), "BindService")]
public abstract class TagHolds.TagHoldsBase

Reference documentation and code samples for the Cloud Resource Manager v3 API class TagHolds.TagHoldsBase.

Base class for server-side implementations of TagHolds

Inheritance

object > TagHolds.TagHoldsBase

Namespace

Google.Cloud.ResourceManager.V3

Assembly

Google.Cloud.ResourceManager.V3.dll

Methods

CreateTagHold(CreateTagHoldRequest, ServerCallContext)

public virtual Task<Operation> CreateTagHold(CreateTagHoldRequest request, ServerCallContext context)

Creates a TagHold. Returns ALREADY_EXISTS if a TagHold with the same resource and origin exists under the same TagValue.

Parameters
NameDescription
requestCreateTagHoldRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

DeleteTagHold(DeleteTagHoldRequest, ServerCallContext)

public virtual Task<Operation> DeleteTagHold(DeleteTagHoldRequest request, ServerCallContext context)

Deletes a TagHold.

Parameters
NameDescription
requestDeleteTagHoldRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

ListTagHolds(ListTagHoldsRequest, ServerCallContext)

public virtual Task<ListTagHoldsResponse> ListTagHolds(ListTagHoldsRequest request, ServerCallContext context)

Lists TagHolds under a TagValue.

Parameters
NameDescription
requestListTagHoldsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskListTagHoldsResponse

The response to send back to the client (wrapped by a task).