Compute Engine v1 API - Class UrlMaps.UrlMapsClient (2.12.0)

public class UrlMaps.UrlMapsClient : ClientBase<UrlMaps.UrlMapsClient>

Reference documentation and code samples for the Compute Engine v1 API class UrlMaps.UrlMapsClient.

Client for UrlMaps

Inheritance

object > ClientBase > ClientBaseUrlMapsUrlMapsClient > UrlMaps.UrlMapsClient

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

UrlMapsClient()

protected UrlMapsClient()

Protected parameterless constructor to allow creation of test doubles.

UrlMapsClient(CallInvoker)

public UrlMapsClient(CallInvoker callInvoker)

Creates a new client for UrlMaps that uses a custom CallInvoker.

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

UrlMapsClient(ChannelBase)

public UrlMapsClient(ChannelBase channel)

Creates a new client for UrlMaps

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

UrlMapsClient(ClientBaseConfiguration)

protected UrlMapsClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

The client configuration.

Methods

AggregatedList(AggregatedListUrlMapsRequest, CallOptions)

public virtual UrlMapsAggregatedList AggregatedList(AggregatedListUrlMapsRequest request, CallOptions options)

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

Parameters
NameDescription
requestAggregatedListUrlMapsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
UrlMapsAggregatedList

The response received from the server.

AggregatedList(AggregatedListUrlMapsRequest, Metadata, DateTime?, CancellationToken)

public virtual UrlMapsAggregatedList AggregatedList(AggregatedListUrlMapsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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

Parameters
NameDescription
requestAggregatedListUrlMapsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
UrlMapsAggregatedList

The response received from the server.

AggregatedListAsync(AggregatedListUrlMapsRequest, CallOptions)

public virtual AsyncUnaryCall<UrlMapsAggregatedList> AggregatedListAsync(AggregatedListUrlMapsRequest request, CallOptions options)

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

Parameters
NameDescription
requestAggregatedListUrlMapsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallUrlMapsAggregatedList

The call object.

AggregatedListAsync(AggregatedListUrlMapsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<UrlMapsAggregatedList> AggregatedListAsync(AggregatedListUrlMapsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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

Parameters
NameDescription
requestAggregatedListUrlMapsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallUrlMapsAggregatedList

The call object.

CreateOperationsClientForGlobalOperations()

public virtual Operations.OperationsClient CreateOperationsClientForGlobalOperations()

Creates a new instance of Operations.OperationsClient using the same call invoker as this client, delegating to GlobalOperations.

Returns
TypeDescription
OperationsOperationsClient

A new Operations client for the same target as this client.

Delete(DeleteUrlMapRequest, CallOptions)

public virtual Operation Delete(DeleteUrlMapRequest request, CallOptions options)

Deletes the specified UrlMap resource.

Parameters
NameDescription
requestDeleteUrlMapRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

Delete(DeleteUrlMapRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation Delete(DeleteUrlMapRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes the specified UrlMap resource.

Parameters
NameDescription
requestDeleteUrlMapRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteAsync(DeleteUrlMapRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteUrlMapRequest request, CallOptions options)

Deletes the specified UrlMap resource.

Parameters
NameDescription
requestDeleteUrlMapRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

DeleteAsync(DeleteUrlMapRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteUrlMapRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes the specified UrlMap resource.

Parameters
NameDescription
requestDeleteUrlMapRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

Get(GetUrlMapRequest, CallOptions)

public virtual UrlMap Get(GetUrlMapRequest request, CallOptions options)

Returns the specified UrlMap resource.

Parameters
NameDescription
requestGetUrlMapRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
UrlMap

The response received from the server.

Get(GetUrlMapRequest, Metadata, DateTime?, CancellationToken)

public virtual UrlMap Get(GetUrlMapRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns the specified UrlMap resource.

Parameters
NameDescription
requestGetUrlMapRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
UrlMap

The response received from the server.

GetAsync(GetUrlMapRequest, CallOptions)

public virtual AsyncUnaryCall<UrlMap> GetAsync(GetUrlMapRequest request, CallOptions options)

Returns the specified UrlMap resource.

Parameters
NameDescription
requestGetUrlMapRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallUrlMap

The call object.

GetAsync(GetUrlMapRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<UrlMap> GetAsync(GetUrlMapRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns the specified UrlMap resource.

Parameters
NameDescription
requestGetUrlMapRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallUrlMap

The call object.

Insert(InsertUrlMapRequest, CallOptions)

public virtual Operation Insert(InsertUrlMapRequest request, CallOptions options)

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

Parameters
NameDescription
requestInsertUrlMapRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

Insert(InsertUrlMapRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation Insert(InsertUrlMapRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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

Parameters
NameDescription
requestInsertUrlMapRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

InsertAsync(InsertUrlMapRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> InsertAsync(InsertUrlMapRequest request, CallOptions options)

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

Parameters
NameDescription
requestInsertUrlMapRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

InsertAsync(InsertUrlMapRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> InsertAsync(InsertUrlMapRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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

Parameters
NameDescription
requestInsertUrlMapRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

InvalidateCache(InvalidateCacheUrlMapRequest, CallOptions)

public virtual Operation InvalidateCache(InvalidateCacheUrlMapRequest request, CallOptions options)

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 to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

InvalidateCache(InvalidateCacheUrlMapRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation InvalidateCache(InvalidateCacheUrlMapRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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 to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

InvalidateCacheAsync(InvalidateCacheUrlMapRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> InvalidateCacheAsync(InvalidateCacheUrlMapRequest request, CallOptions options)

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 to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

InvalidateCacheAsync(InvalidateCacheUrlMapRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> InvalidateCacheAsync(InvalidateCacheUrlMapRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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 to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

List(ListUrlMapsRequest, CallOptions)

public virtual UrlMapList List(ListUrlMapsRequest request, CallOptions options)

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

Parameters
NameDescription
requestListUrlMapsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
UrlMapList

The response received from the server.

List(ListUrlMapsRequest, Metadata, DateTime?, CancellationToken)

public virtual UrlMapList List(ListUrlMapsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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

Parameters
NameDescription
requestListUrlMapsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
UrlMapList

The response received from the server.

ListAsync(ListUrlMapsRequest, CallOptions)

public virtual AsyncUnaryCall<UrlMapList> ListAsync(ListUrlMapsRequest request, CallOptions options)

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

Parameters
NameDescription
requestListUrlMapsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallUrlMapList

The call object.

ListAsync(ListUrlMapsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<UrlMapList> ListAsync(ListUrlMapsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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

Parameters
NameDescription
requestListUrlMapsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallUrlMapList

The call object.

NewInstance(ClientBaseConfiguration)

protected override UrlMaps.UrlMapsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
UrlMapsUrlMapsClient
Overrides

Patch(PatchUrlMapRequest, CallOptions)

public virtual Operation Patch(PatchUrlMapRequest request, CallOptions options)

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 to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

Patch(PatchUrlMapRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation Patch(PatchUrlMapRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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 to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

PatchAsync(PatchUrlMapRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> PatchAsync(PatchUrlMapRequest request, CallOptions options)

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 to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

PatchAsync(PatchUrlMapRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> PatchAsync(PatchUrlMapRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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 to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

Update(UpdateUrlMapRequest, CallOptions)

public virtual Operation Update(UpdateUrlMapRequest request, CallOptions options)

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

Parameters
NameDescription
requestUpdateUrlMapRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

Update(UpdateUrlMapRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation Update(UpdateUrlMapRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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

Parameters
NameDescription
requestUpdateUrlMapRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

UpdateAsync(UpdateUrlMapRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> UpdateAsync(UpdateUrlMapRequest request, CallOptions options)

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

Parameters
NameDescription
requestUpdateUrlMapRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

UpdateAsync(UpdateUrlMapRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> UpdateAsync(UpdateUrlMapRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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

Parameters
NameDescription
requestUpdateUrlMapRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

Validate(ValidateUrlMapRequest, CallOptions)

public virtual UrlMapsValidateResponse Validate(ValidateUrlMapRequest request, CallOptions options)

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 to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
UrlMapsValidateResponse

The response received from the server.

Validate(ValidateUrlMapRequest, Metadata, DateTime?, CancellationToken)

public virtual UrlMapsValidateResponse Validate(ValidateUrlMapRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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 to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
UrlMapsValidateResponse

The response received from the server.

ValidateAsync(ValidateUrlMapRequest, CallOptions)

public virtual AsyncUnaryCall<UrlMapsValidateResponse> ValidateAsync(ValidateUrlMapRequest request, CallOptions options)

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 to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallUrlMapsValidateResponse

The call object.

ValidateAsync(ValidateUrlMapRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<UrlMapsValidateResponse> ValidateAsync(ValidateUrlMapRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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 to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallUrlMapsValidateResponse

The call object.