Compute Engine v1 API - Class UrlMaps.UrlMapsBase (3.0.0)

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

Reference documentation and code samples for the Compute Engine v1 API class UrlMaps.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. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.

Parameters
Name Description
request AggregatedListUrlMapsRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskUrlMapsAggregatedList

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
Name Description
request DeleteUrlMapRequest

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).

Get(GetUrlMapRequest, ServerCallContext)

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

Returns the specified UrlMap resource.

Parameters
Name Description
request GetUrlMapRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskUrlMap

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
Name Description
request InsertUrlMapRequest

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).

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
Name Description
request InvalidateCacheUrlMapRequest

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).

List(ListUrlMapsRequest, ServerCallContext)

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

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

Parameters
Name Description
request ListUrlMapsRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskUrlMapList

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
Name Description
request PatchUrlMapRequest

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).

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
Name Description
request UpdateUrlMapRequest

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).

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
Name Description
request ValidateUrlMapRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskUrlMapsValidateResponse

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