Cloud Resource Manager v3 API - Class TagHolds.TagHoldsBase (2.4.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
Name Description
request CreateTagHoldRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request DeleteTagHoldRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request ListTagHoldsRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskListTagHoldsResponse

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