Class UrlMaps.UrlMapsBase (2.1.0)

[BindServiceMethod(typeof(UrlMaps), "BindService")]
public abstract class UrlMapsBase

Base class for server-side implementations of UrlMaps

Inheritance

Object > UrlMaps.UrlMapsBase

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Methods

AggregatedList(AggregatedListUrlMapsRequest, ServerCallContext)

public virtual Task<UrlMapsAggregatedList> AggregatedList(AggregatedListUrlMapsRequest request, ServerCallContext context)

Retrieves the list of all UrlMap resources, regional and global, available to the specified project.

Parameters
NameDescription
requestAggregatedListUrlMapsRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<UrlMapsAggregatedList>

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

Delete(DeleteUrlMapRequest, ServerCallContext)

public virtual Task<Operation> Delete(DeleteUrlMapRequest request, ServerCallContext context)

Deletes the specified UrlMap resource.

Parameters
NameDescription
requestDeleteUrlMapRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<Operation>

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

Get(GetUrlMapRequest, ServerCallContext)

public virtual Task<UrlMap> Get(GetUrlMapRequest request, ServerCallContext context)

Returns the specified UrlMap resource. Gets a list of available URL maps by making a list() request.

Parameters
NameDescription
requestGetUrlMapRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<UrlMap>

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

Insert(InsertUrlMapRequest, ServerCallContext)

public virtual Task<Operation> Insert(InsertUrlMapRequest request, ServerCallContext context)

Creates a UrlMap resource in the specified project using the data included in the request.

Parameters
NameDescription
requestInsertUrlMapRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<Operation>

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

InvalidateCache(InvalidateCacheUrlMapRequest, ServerCallContext)

public virtual Task<Operation> InvalidateCache(InvalidateCacheUrlMapRequest request, ServerCallContext context)

Initiates a cache invalidation operation, invalidating the specified path, scoped to the specified UrlMap. For more information, see Invalidating cached content.

Parameters
NameDescription
requestInvalidateCacheUrlMapRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<Operation>

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

List(ListUrlMapsRequest, ServerCallContext)

public virtual Task<UrlMapList> List(ListUrlMapsRequest request, ServerCallContext context)

Retrieves the list of UrlMap resources available to the specified project.

Parameters
NameDescription
requestListUrlMapsRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<UrlMapList>

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

Patch(PatchUrlMapRequest, ServerCallContext)

public virtual Task<Operation> Patch(PatchUrlMapRequest request, ServerCallContext context)

Patches the specified UrlMap resource with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.

Parameters
NameDescription
requestPatchUrlMapRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<Operation>

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

Update(UpdateUrlMapRequest, ServerCallContext)

public virtual Task<Operation> Update(UpdateUrlMapRequest request, ServerCallContext context)

Updates the specified UrlMap resource with the data included in the request.

Parameters
NameDescription
requestUpdateUrlMapRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<Operation>

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

Validate(ValidateUrlMapRequest, ServerCallContext)

public virtual Task<UrlMapsValidateResponse> Validate(ValidateUrlMapRequest request, ServerCallContext context)

Runs static validation for the UrlMap. In particular, the tests of the provided UrlMap will be run. Calling this method does NOT create the UrlMap.

Parameters
NameDescription
requestValidateUrlMapRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<UrlMapsValidateResponse>

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