public sealed class RegionUrlMapsClientImpl : RegionUrlMapsClient
RegionUrlMaps client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Remarks
The RegionUrlMaps API.
Constructors
RegionUrlMapsClientImpl(RegionUrlMaps.RegionUrlMapsClient, RegionUrlMapsSettings, ILogger)
public RegionUrlMapsClientImpl(RegionUrlMaps.RegionUrlMapsClient grpcClient, RegionUrlMapsSettings settings, ILogger logger)
Constructs a client wrapper for the RegionUrlMaps service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient | RegionUrlMaps.RegionUrlMapsClient The underlying gRPC client. |
settings | RegionUrlMapsSettings The base RegionUrlMapsSettings used within this client. |
logger | ILogger Optional ILogger to use within this client. |
Properties
DeleteOperationsClient
public override OperationsClient DeleteOperationsClient { get; }
The long-running operations client for Delete
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
GrpcClient
public override RegionUrlMaps.RegionUrlMapsClient GrpcClient { get; }
The underlying gRPC RegionUrlMaps client
Property Value | |
---|---|
Type | Description |
RegionUrlMaps.RegionUrlMapsClient |
InsertOperationsClient
public override OperationsClient InsertOperationsClient { get; }
The long-running operations client for Insert
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
PatchOperationsClient
public override OperationsClient PatchOperationsClient { get; }
The long-running operations client for Patch
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
UpdateOperationsClient
public override OperationsClient UpdateOperationsClient { get; }
The long-running operations client for Update
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
Methods
Delete(DeleteRegionUrlMapRequest, CallSettings)
public override Operation<Operation, Operation> Delete(DeleteRegionUrlMapRequest request, CallSettings callSettings = null)
Deletes the specified UrlMap resource.
Parameters | |
---|---|
Name | Description |
request | DeleteRegionUrlMapRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Operation, Operation> | The RPC response. |
DeleteAsync(DeleteRegionUrlMapRequest, CallSettings)
public override async Task<Operation<Operation, Operation>> DeleteAsync(DeleteRegionUrlMapRequest request, CallSettings callSettings = null)
Deletes the specified UrlMap resource.
Parameters | |
---|---|
Name | Description |
request | DeleteRegionUrlMapRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Operation, Operation>> | A Task containing the RPC response. |
Get(GetRegionUrlMapRequest, CallSettings)
public override UrlMap Get(GetRegionUrlMapRequest request, CallSettings callSettings = null)
Returns the specified UrlMap resource. Gets a list of available URL maps by making a list() request.
Parameters | |
---|---|
Name | Description |
request | GetRegionUrlMapRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
UrlMap | The RPC response. |
GetAsync(GetRegionUrlMapRequest, CallSettings)
public override Task<UrlMap> GetAsync(GetRegionUrlMapRequest request, CallSettings callSettings = null)
Returns the specified UrlMap resource. Gets a list of available URL maps by making a list() request.
Parameters | |
---|---|
Name | Description |
request | GetRegionUrlMapRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<UrlMap> | A Task containing the RPC response. |
Insert(InsertRegionUrlMapRequest, CallSettings)
public override Operation<Operation, Operation> Insert(InsertRegionUrlMapRequest request, CallSettings callSettings = null)
Creates a UrlMap resource in the specified project using the data included in the request.
Parameters | |
---|---|
Name | Description |
request | InsertRegionUrlMapRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Operation, Operation> | The RPC response. |
InsertAsync(InsertRegionUrlMapRequest, CallSettings)
public override async Task<Operation<Operation, Operation>> InsertAsync(InsertRegionUrlMapRequest request, CallSettings callSettings = null)
Creates a UrlMap resource in the specified project using the data included in the request.
Parameters | |
---|---|
Name | Description |
request | InsertRegionUrlMapRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Operation, Operation>> | A Task containing the RPC response. |
List(ListRegionUrlMapsRequest, CallSettings)
public override PagedEnumerable<UrlMapList, UrlMap> List(ListRegionUrlMapsRequest request, CallSettings callSettings = null)
Retrieves the list of UrlMap resources available to the specified project in the specified region.
Parameters | |
---|---|
Name | Description |
request | ListRegionUrlMapsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<UrlMapList, UrlMap> | A pageable sequence of UrlMap resources. |
ListAsync(ListRegionUrlMapsRequest, CallSettings)
public override PagedAsyncEnumerable<UrlMapList, UrlMap> ListAsync(ListRegionUrlMapsRequest request, CallSettings callSettings = null)
Retrieves the list of UrlMap resources available to the specified project in the specified region.
Parameters | |
---|---|
Name | Description |
request | ListRegionUrlMapsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<UrlMapList, UrlMap> | A pageable asynchronous sequence of UrlMap resources. |
Patch(PatchRegionUrlMapRequest, CallSettings)
public override Operation<Operation, Operation> Patch(PatchRegionUrlMapRequest request, CallSettings callSettings = null)
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 object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Operation, Operation> | The RPC response. |
PatchAsync(PatchRegionUrlMapRequest, CallSettings)
public override async Task<Operation<Operation, Operation>> PatchAsync(PatchRegionUrlMapRequest request, CallSettings callSettings = null)
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 object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Operation, Operation>> | A Task containing the RPC response. |
Update(UpdateRegionUrlMapRequest, CallSettings)
public override Operation<Operation, Operation> Update(UpdateRegionUrlMapRequest request, CallSettings callSettings = null)
Updates the specified UrlMap resource with the data included in the request.
Parameters | |
---|---|
Name | Description |
request | UpdateRegionUrlMapRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Operation, Operation> | The RPC response. |
UpdateAsync(UpdateRegionUrlMapRequest, CallSettings)
public override async Task<Operation<Operation, Operation>> UpdateAsync(UpdateRegionUrlMapRequest request, CallSettings callSettings = null)
Updates the specified UrlMap resource with the data included in the request.
Parameters | |
---|---|
Name | Description |
request | UpdateRegionUrlMapRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Operation, Operation>> | A Task containing the RPC response. |
Validate(ValidateRegionUrlMapRequest, CallSettings)
public override UrlMapsValidateResponse Validate(ValidateRegionUrlMapRequest request, CallSettings callSettings = null)
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 object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
UrlMapsValidateResponse | The RPC response. |
ValidateAsync(ValidateRegionUrlMapRequest, CallSettings)
public override Task<UrlMapsValidateResponse> ValidateAsync(ValidateRegionUrlMapRequest request, CallSettings callSettings = null)
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 object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<UrlMapsValidateResponse> | A Task containing the RPC response. |