Compute Engine v1 API - Class InterconnectLocationsClientImpl (2.13.0)

public sealed class InterconnectLocationsClientImpl : InterconnectLocationsClient

Reference documentation and code samples for the Compute Engine v1 API class InterconnectLocationsClientImpl.

InterconnectLocations client wrapper implementation, for convenient use.

Inheritance

object > InterconnectLocationsClient > InterconnectLocationsClientImpl

Namespace

Google.Cloud.Compute.V1

Assembly

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
NameDescription
grpcClientInterconnectLocationsInterconnectLocationsClient

The underlying gRPC client.

settingsInterconnectLocationsSettings

The base InterconnectLocationsSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override InterconnectLocations.InterconnectLocationsClient GrpcClient { get; }

The underlying gRPC InterconnectLocations client

Property Value
TypeDescription
InterconnectLocationsInterconnectLocationsClient
Overrides

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
NameDescription
requestGetInterconnectLocationRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
InterconnectLocation

The RPC response.

Overrides

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
NameDescription
requestGetInterconnectLocationRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskInterconnectLocation

A Task containing the RPC response.

Overrides

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
NameDescription
requestListInterconnectLocationsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableInterconnectLocationListInterconnectLocation

A pageable sequence of InterconnectLocation resources.

Overrides

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
NameDescription
requestListInterconnectLocationsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableInterconnectLocationListInterconnectLocation

A pageable asynchronous sequence of InterconnectLocation resources.

Overrides