public sealed class CloudLocationFinderClientImpl : CloudLocationFinderClient
Reference documentation and code samples for the Cloud Location Finder v1 API class CloudLocationFinderClientImpl.
CloudLocationFinder client wrapper implementation, for convenient use.
Namespace
Google.Cloud.LocationFinder.V1Assembly
Google.Cloud.LocationFinder.V1.dll
Remarks
Service describing handlers for resources
Constructors
CloudLocationFinderClientImpl(CloudLocationFinderClient, CloudLocationFinderSettings, ILogger)
public CloudLocationFinderClientImpl(CloudLocationFinder.CloudLocationFinderClient grpcClient, CloudLocationFinderSettings settings, ILogger logger)
Constructs a client wrapper for the CloudLocationFinder service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient |
CloudLocationFinderCloudLocationFinderClient The underlying gRPC client. |
settings |
CloudLocationFinderSettings The base CloudLocationFinderSettings used within this client. |
logger |
ILogger Optional ILogger to use within this client. |
Properties
GrpcClient
public override CloudLocationFinder.CloudLocationFinderClient GrpcClient { get; }
The underlying gRPC CloudLocationFinder client
Property Value | |
---|---|
Type | Description |
CloudLocationFinderCloudLocationFinderClient |
LocationsClient
public override LocationsClient LocationsClient { get; }
The LocationsClient associated with this client.
Property Value | |
---|---|
Type | Description |
LocationsClient |
Methods
GetCloudLocation(GetCloudLocationRequest, CallSettings)
public override CloudLocation GetCloudLocation(GetCloudLocationRequest request, CallSettings callSettings = null)
Retrieves a resource containing information about a cloud location.
Parameters | |
---|---|
Name | Description |
request |
GetCloudLocationRequest 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 |
CloudLocation |
The RPC response. |
GetCloudLocationAsync(GetCloudLocationRequest, CallSettings)
public override Task<CloudLocation> GetCloudLocationAsync(GetCloudLocationRequest request, CallSettings callSettings = null)
Retrieves a resource containing information about a cloud location.
Parameters | |
---|---|
Name | Description |
request |
GetCloudLocationRequest 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 |
TaskCloudLocation |
A Task containing the RPC response. |
ListCloudLocations(ListCloudLocationsRequest, CallSettings)
public override PagedEnumerable<ListCloudLocationsResponse, CloudLocation> ListCloudLocations(ListCloudLocationsRequest request, CallSettings callSettings = null)
Lists cloud locations under a given project and location.
Parameters | |
---|---|
Name | Description |
request |
ListCloudLocationsRequest 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 |
PagedEnumerableListCloudLocationsResponseCloudLocation |
A pageable sequence of CloudLocation resources. |
ListCloudLocationsAsync(ListCloudLocationsRequest, CallSettings)
public override PagedAsyncEnumerable<ListCloudLocationsResponse, CloudLocation> ListCloudLocationsAsync(ListCloudLocationsRequest request, CallSettings callSettings = null)
Lists cloud locations under a given project and location.
Parameters | |
---|---|
Name | Description |
request |
ListCloudLocationsRequest 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 |
PagedAsyncEnumerableListCloudLocationsResponseCloudLocation |
A pageable asynchronous sequence of CloudLocation resources. |
SearchCloudLocations(SearchCloudLocationsRequest, CallSettings)
public override PagedEnumerable<SearchCloudLocationsResponse, CloudLocation> SearchCloudLocations(SearchCloudLocationsRequest request, CallSettings callSettings = null)
Searches for cloud locations from a given source location.
Parameters | |
---|---|
Name | Description |
request |
SearchCloudLocationsRequest 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 |
PagedEnumerableSearchCloudLocationsResponseCloudLocation |
A pageable sequence of CloudLocation resources. |
SearchCloudLocationsAsync(SearchCloudLocationsRequest, CallSettings)
public override PagedAsyncEnumerable<SearchCloudLocationsResponse, CloudLocation> SearchCloudLocationsAsync(SearchCloudLocationsRequest request, CallSettings callSettings = null)
Searches for cloud locations from a given source location.
Parameters | |
---|---|
Name | Description |
request |
SearchCloudLocationsRequest 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 |
PagedAsyncEnumerableSearchCloudLocationsResponseCloudLocation |
A pageable asynchronous sequence of CloudLocation resources. |