public sealed class InterconnectRemoteLocationsClientImpl : InterconnectRemoteLocationsClient
Reference documentation and code samples for the Compute Engine v1 API class InterconnectRemoteLocationsClientImpl.
InterconnectRemoteLocations client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Remarks
The InterconnectRemoteLocations API.
Constructors
InterconnectRemoteLocationsClientImpl(InterconnectRemoteLocationsClient, InterconnectRemoteLocationsSettings, ILogger)
public InterconnectRemoteLocationsClientImpl(InterconnectRemoteLocations.InterconnectRemoteLocationsClient grpcClient, InterconnectRemoteLocationsSettings settings, ILogger logger)
Constructs a client wrapper for the InterconnectRemoteLocations service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient | InterconnectRemoteLocationsInterconnectRemoteLocationsClient The underlying gRPC client. |
settings | InterconnectRemoteLocationsSettings The base InterconnectRemoteLocationsSettings used within this client. |
logger | ILogger Optional ILogger to use within this client. |
Properties
GrpcClient
public override InterconnectRemoteLocations.InterconnectRemoteLocationsClient GrpcClient { get; }
The underlying gRPC InterconnectRemoteLocations client
Property Value | |
---|---|
Type | Description |
InterconnectRemoteLocationsInterconnectRemoteLocationsClient |
Methods
Get(GetInterconnectRemoteLocationRequest, CallSettings)
public override InterconnectRemoteLocation Get(GetInterconnectRemoteLocationRequest request, CallSettings callSettings = null)
Returns the details for the specified interconnect remote location. Gets a list of available interconnect remote locations by making a list() request.
Parameters | |
---|---|
Name | Description |
request | GetInterconnectRemoteLocationRequest 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 |
InterconnectRemoteLocation | The RPC response. |
GetAsync(GetInterconnectRemoteLocationRequest, CallSettings)
public override Task<InterconnectRemoteLocation> GetAsync(GetInterconnectRemoteLocationRequest request, CallSettings callSettings = null)
Returns the details for the specified interconnect remote location. Gets a list of available interconnect remote locations by making a list() request.
Parameters | |
---|---|
Name | Description |
request | GetInterconnectRemoteLocationRequest 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 |
TaskInterconnectRemoteLocation | A Task containing the RPC response. |
List(ListInterconnectRemoteLocationsRequest, CallSettings)
public override PagedEnumerable<InterconnectRemoteLocationList, InterconnectRemoteLocation> List(ListInterconnectRemoteLocationsRequest request, CallSettings callSettings = null)
Retrieves the list of interconnect remote locations available to the specified project.
Parameters | |
---|---|
Name | Description |
request | ListInterconnectRemoteLocationsRequest 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 |
PagedEnumerableInterconnectRemoteLocationListInterconnectRemoteLocation | A pageable sequence of InterconnectRemoteLocation resources. |
ListAsync(ListInterconnectRemoteLocationsRequest, CallSettings)
public override PagedAsyncEnumerable<InterconnectRemoteLocationList, InterconnectRemoteLocation> ListAsync(ListInterconnectRemoteLocationsRequest request, CallSettings callSettings = null)
Retrieves the list of interconnect remote locations available to the specified project.
Parameters | |
---|---|
Name | Description |
request | ListInterconnectRemoteLocationsRequest 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 |
PagedAsyncEnumerableInterconnectRemoteLocationListInterconnectRemoteLocation | A pageable asynchronous sequence of InterconnectRemoteLocation resources. |