public sealed class InterconnectLocationsClientImpl : InterconnectLocationsClientReference documentation and code samples for the Compute Engine v1 API class InterconnectLocationsClientImpl.
InterconnectLocations client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Remarks
The InterconnectLocations API.
Constructors
InterconnectLocationsClientImpl(InterconnectLocationsClient, InterconnectLocationsSettings, ILogger)
public InterconnectLocationsClientImpl(InterconnectLocations.InterconnectLocationsClient grpcClient, InterconnectLocationsSettings settings, ILogger logger)Constructs a client wrapper for the InterconnectLocations service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description |
grpcClient |
InterconnectLocationsInterconnectLocationsClientThe underlying gRPC client. |
settings |
InterconnectLocationsSettingsThe base InterconnectLocationsSettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
GrpcClient
public override InterconnectLocations.InterconnectLocationsClient GrpcClient { get; }The underlying gRPC InterconnectLocations client
| Property Value | |
|---|---|
| Type | Description |
InterconnectLocationsInterconnectLocationsClient |
|
Methods
Get(GetInterconnectLocationRequest, CallSettings)
public override InterconnectLocation Get(GetInterconnectLocationRequest request, CallSettings callSettings = null)Returns the details for the specified interconnect location. Gets a list of available interconnect locations by making a list() request.
| Parameters | |
|---|---|
| Name | Description |
request |
GetInterconnectLocationRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
InterconnectLocation |
The RPC response. |
GetAsync(GetInterconnectLocationRequest, CallSettings)
public override Task<InterconnectLocation> GetAsync(GetInterconnectLocationRequest request, CallSettings callSettings = null)Returns the details for the specified interconnect location. Gets a list of available interconnect locations by making a list() request.
| Parameters | |
|---|---|
| Name | Description |
request |
GetInterconnectLocationRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskInterconnectLocation |
A Task containing the RPC response. |
List(ListInterconnectLocationsRequest, CallSettings)
public override PagedEnumerable<InterconnectLocationList, InterconnectLocation> List(ListInterconnectLocationsRequest request, CallSettings callSettings = null)Retrieves the list of interconnect locations available to the specified project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListInterconnectLocationsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableInterconnectLocationListInterconnectLocation |
A pageable sequence of InterconnectLocation resources. |
ListAsync(ListInterconnectLocationsRequest, CallSettings)
public override PagedAsyncEnumerable<InterconnectLocationList, InterconnectLocation> ListAsync(ListInterconnectLocationsRequest request, CallSettings callSettings = null)Retrieves the list of interconnect locations available to the specified project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListInterconnectLocationsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableInterconnectLocationListInterconnectLocation |
A pageable asynchronous sequence of InterconnectLocation resources. |