Compute Engine v1 API - Class InterconnectLocationsClientImpl (2.15.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
Name Description
grpcClient InterconnectLocationsInterconnectLocationsClient

The underlying gRPC client.

settings InterconnectLocationsSettings

The base InterconnectLocationsSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override InterconnectLocations.InterconnectLocationsClient GrpcClient { get; }

The underlying gRPC InterconnectLocations client

Property Value
Type Description
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
Name Description
request GetInterconnectLocationRequest

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
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
Name Description
request GetInterconnectLocationRequest

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
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
Name Description
request ListInterconnectLocationsRequest

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
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
Name Description
request ListInterconnectLocationsRequest

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
PagedAsyncEnumerableInterconnectLocationListInterconnectLocation

A pageable asynchronous sequence of InterconnectLocation resources.

Overrides