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

public class UrlMapsClient : ClientBase<UrlMaps.UrlMapsClient>

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

Client for UrlMaps

Inheritance

Object > ClientBase > ClientBase<UrlMaps.UrlMapsClient> > 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(ClientBase.ClientBaseConfiguration)

protected UrlMapsClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<UrlMapsAggregatedList>

The call object.

AggregatedListAsync(AggregatedListUrlMapsRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<UrlMapsAggregatedList>

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
Operations.OperationsClient

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

The call object.

DeleteAsync(DeleteUrlMapRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

The call object.

Get(GetUrlMapRequest, CallOptions)

public virtual UrlMap Get(GetUrlMapRequest request, CallOptions options)

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

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, Nullable<DateTime>, CancellationToken)

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

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

Parameters
NameDescription
requestGetUrlMapRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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. Gets a list of available URL maps by making a list() request.

Parameters
NameDescription
requestGetUrlMapRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<UrlMap>

The call object.

GetAsync(GetUrlMapRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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

Parameters
NameDescription
requestGetUrlMapRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
AsyncUnaryCall<UrlMap>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

The call object.

InsertAsync(InsertUrlMapRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

The call object.

InvalidateCacheAsync(InvalidateCacheUrlMapRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<UrlMapList>

The call object.

ListAsync(ListUrlMapsRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<UrlMapList>

The call object.

NewInstance(ClientBase.ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
UrlMaps.UrlMapsClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.Compute.V1.UrlMaps.UrlMapsClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

The call object.

PatchAsync(PatchUrlMapRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

The call object.

UpdateAsync(UpdateUrlMapRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<UrlMapsValidateResponse>

The call object.

ValidateAsync(ValidateUrlMapRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<UrlMapsValidateResponse>

The call object.