public class RegionUrlMaps.RegionUrlMapsClient : ClientBase<RegionUrlMaps.RegionUrlMapsClient>
Reference documentation and code samples for the Compute Engine v1 API class RegionUrlMaps.RegionUrlMapsClient.
Client for RegionUrlMaps
Inheritance
object > ClientBase > ClientBaseRegionUrlMapsRegionUrlMapsClient > RegionUrlMaps.RegionUrlMapsClientNamespace
GoogleCloudGoogle.Cloud.ComputeV1Assembly
Google.Cloud.Compute.V1.dll
Constructors
RegionUrlMapsClient()
protected RegionUrlMapsClient()
Protected parameterless constructor to allow creation of test doubles.
RegionUrlMapsClient(CallInvoker)
public RegionUrlMapsClient(CallInvoker callInvoker)
Creates a new client for RegionUrlMaps that uses a custom CallInvoker
.
Parameter | |
---|---|
Name | Description |
callInvoker | CallInvoker The callInvoker to use to make remote calls. |
RegionUrlMapsClient(ChannelBase)
public RegionUrlMapsClient(ChannelBase channel)
Creates a new client for RegionUrlMaps
Parameter | |
---|---|
Name | Description |
channel | ChannelBase The channel to use to make remote calls. |
RegionUrlMapsClient(ClientBaseConfiguration)
protected RegionUrlMapsClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBaseClientBaseConfiguration The client configuration. |
Methods
CreateOperationsClientForRegionOperations()
public virtual Operations.OperationsClient CreateOperationsClientForRegionOperations()
Creates a new instance of Operations.OperationsClient using the same call invoker as this client, delegating to RegionOperations.
Returns | |
---|---|
Type | Description |
OperationsOperationsClient | A new Operations client for the same target as this client. |
Delete(DeleteRegionUrlMapRequest, CallOptions)
public virtual Operation Delete(DeleteRegionUrlMapRequest request, CallOptions options)
Deletes the specified UrlMap resource.
Parameters | |
---|---|
Name | Description |
request | DeleteRegionUrlMapRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
Delete(DeleteRegionUrlMapRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation Delete(DeleteRegionUrlMapRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Deletes the specified UrlMap resource.
Parameters | |
---|---|
Name | Description |
request | DeleteRegionUrlMapRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
DeleteAsync(DeleteRegionUrlMapRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteRegionUrlMapRequest request, CallOptions options)
Deletes the specified UrlMap resource.
Parameters | |
---|---|
Name | Description |
request | DeleteRegionUrlMapRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |
DeleteAsync(DeleteRegionUrlMapRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteRegionUrlMapRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Deletes the specified UrlMap resource.
Parameters | |
---|---|
Name | Description |
request | DeleteRegionUrlMapRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |
Get(GetRegionUrlMapRequest, CallOptions)
public virtual UrlMap Get(GetRegionUrlMapRequest request, CallOptions options)
Returns the specified UrlMap resource. Gets a list of available URL maps by making a list() request.
Parameters | |
---|---|
Name | Description |
request | GetRegionUrlMapRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
UrlMap | The response received from the server. |
Get(GetRegionUrlMapRequest, Metadata, DateTime?, CancellationToken)
public virtual UrlMap Get(GetRegionUrlMapRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Returns the specified UrlMap resource. Gets a list of available URL maps by making a list() request.
Parameters | |
---|---|
Name | Description |
request | GetRegionUrlMapRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
UrlMap | The response received from the server. |
GetAsync(GetRegionUrlMapRequest, CallOptions)
public virtual AsyncUnaryCall<UrlMap> GetAsync(GetRegionUrlMapRequest request, CallOptions options)
Returns the specified UrlMap resource. Gets a list of available URL maps by making a list() request.
Parameters | |
---|---|
Name | Description |
request | GetRegionUrlMapRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallUrlMap | The call object. |
GetAsync(GetRegionUrlMapRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<UrlMap> GetAsync(GetRegionUrlMapRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Returns the specified UrlMap resource. Gets a list of available URL maps by making a list() request.
Parameters | |
---|---|
Name | Description |
request | GetRegionUrlMapRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallUrlMap | The call object. |
Insert(InsertRegionUrlMapRequest, CallOptions)
public virtual Operation Insert(InsertRegionUrlMapRequest request, CallOptions options)
Creates a UrlMap resource in the specified project using the data included in the request.
Parameters | |
---|---|
Name | Description |
request | InsertRegionUrlMapRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
Insert(InsertRegionUrlMapRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation Insert(InsertRegionUrlMapRequest 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 | |
---|---|
Name | Description |
request | InsertRegionUrlMapRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
InsertAsync(InsertRegionUrlMapRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> InsertAsync(InsertRegionUrlMapRequest request, CallOptions options)
Creates a UrlMap resource in the specified project using the data included in the request.
Parameters | |
---|---|
Name | Description |
request | InsertRegionUrlMapRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |
InsertAsync(InsertRegionUrlMapRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> InsertAsync(InsertRegionUrlMapRequest 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 | |
---|---|
Name | Description |
request | InsertRegionUrlMapRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |
List(ListRegionUrlMapsRequest, CallOptions)
public virtual UrlMapList List(ListRegionUrlMapsRequest request, CallOptions options)
Retrieves the list of UrlMap resources available to the specified project in the specified region.
Parameters | |
---|---|
Name | Description |
request | ListRegionUrlMapsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
UrlMapList | The response received from the server. |
List(ListRegionUrlMapsRequest, Metadata, DateTime?, CancellationToken)
public virtual UrlMapList List(ListRegionUrlMapsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Retrieves the list of UrlMap resources available to the specified project in the specified region.
Parameters | |
---|---|
Name | Description |
request | ListRegionUrlMapsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
UrlMapList | The response received from the server. |
ListAsync(ListRegionUrlMapsRequest, CallOptions)
public virtual AsyncUnaryCall<UrlMapList> ListAsync(ListRegionUrlMapsRequest request, CallOptions options)
Retrieves the list of UrlMap resources available to the specified project in the specified region.
Parameters | |
---|---|
Name | Description |
request | ListRegionUrlMapsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallUrlMapList | The call object. |
ListAsync(ListRegionUrlMapsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<UrlMapList> ListAsync(ListRegionUrlMapsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Retrieves the list of UrlMap resources available to the specified project in the specified region.
Parameters | |
---|---|
Name | Description |
request | ListRegionUrlMapsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallUrlMapList | The call object. |
NewInstance(ClientBaseConfiguration)
protected override RegionUrlMaps.RegionUrlMapsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration | ClientBaseClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
RegionUrlMapsRegionUrlMapsClient |
Patch(PatchRegionUrlMapRequest, CallOptions)
public virtual Operation Patch(PatchRegionUrlMapRequest request, CallOptions options)
Patches the specified UrlMap resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.
Parameters | |
---|---|
Name | Description |
request | PatchRegionUrlMapRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
Patch(PatchRegionUrlMapRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation Patch(PatchRegionUrlMapRequest 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 JSON merge patch format and processing rules.
Parameters | |
---|---|
Name | Description |
request | PatchRegionUrlMapRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
PatchAsync(PatchRegionUrlMapRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> PatchAsync(PatchRegionUrlMapRequest request, CallOptions options)
Patches the specified UrlMap resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.
Parameters | |
---|---|
Name | Description |
request | PatchRegionUrlMapRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |
PatchAsync(PatchRegionUrlMapRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> PatchAsync(PatchRegionUrlMapRequest 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 JSON merge patch format and processing rules.
Parameters | |
---|---|
Name | Description |
request | PatchRegionUrlMapRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |
Update(UpdateRegionUrlMapRequest, CallOptions)
public virtual Operation Update(UpdateRegionUrlMapRequest request, CallOptions options)
Updates the specified UrlMap resource with the data included in the request.
Parameters | |
---|---|
Name | Description |
request | UpdateRegionUrlMapRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
Update(UpdateRegionUrlMapRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation Update(UpdateRegionUrlMapRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Updates the specified UrlMap resource with the data included in the request.
Parameters | |
---|---|
Name | Description |
request | UpdateRegionUrlMapRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
UpdateAsync(UpdateRegionUrlMapRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> UpdateAsync(UpdateRegionUrlMapRequest request, CallOptions options)
Updates the specified UrlMap resource with the data included in the request.
Parameters | |
---|---|
Name | Description |
request | UpdateRegionUrlMapRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |
UpdateAsync(UpdateRegionUrlMapRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> UpdateAsync(UpdateRegionUrlMapRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Updates the specified UrlMap resource with the data included in the request.
Parameters | |
---|---|
Name | Description |
request | UpdateRegionUrlMapRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |
Validate(ValidateRegionUrlMapRequest, CallOptions)
public virtual UrlMapsValidateResponse Validate(ValidateRegionUrlMapRequest 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 | |
---|---|
Name | Description |
request | ValidateRegionUrlMapRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
UrlMapsValidateResponse | The response received from the server. |
Validate(ValidateRegionUrlMapRequest, Metadata, DateTime?, CancellationToken)
public virtual UrlMapsValidateResponse Validate(ValidateRegionUrlMapRequest 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 | |
---|---|
Name | Description |
request | ValidateRegionUrlMapRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
UrlMapsValidateResponse | The response received from the server. |
ValidateAsync(ValidateRegionUrlMapRequest, CallOptions)
public virtual AsyncUnaryCall<UrlMapsValidateResponse> ValidateAsync(ValidateRegionUrlMapRequest 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 | |
---|---|
Name | Description |
request | ValidateRegionUrlMapRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallUrlMapsValidateResponse | The call object. |
ValidateAsync(ValidateRegionUrlMapRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<UrlMapsValidateResponse> ValidateAsync(ValidateRegionUrlMapRequest 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 | |
---|---|
Name | Description |
request | ValidateRegionUrlMapRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallUrlMapsValidateResponse | The call object. |