Class InterconnectLocationsClientImpl (1.0.0)

public sealed class InterconnectLocationsClientImpl : InterconnectLocationsClient

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(InterconnectLocations.InterconnectLocationsClient, InterconnectLocationsSettings)

public InterconnectLocationsClientImpl(InterconnectLocations.InterconnectLocationsClient grpcClient, InterconnectLocationsSettings settings)

Constructs a client wrapper for the InterconnectLocations service, with the specified gRPC client and settings.

Parameters
NameDescription
grpcClientInterconnectLocations.InterconnectLocationsClient

The underlying gRPC client.

settingsInterconnectLocationsSettings

The base InterconnectLocationsSettings used within this client.

Properties

GrpcClient

public override InterconnectLocations.InterconnectLocationsClient GrpcClient { get; }

The underlying gRPC InterconnectLocations client

Property Value
TypeDescription
InterconnectLocations.InterconnectLocationsClient
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
Task<InterconnectLocation>

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
PagedEnumerable<InterconnectLocationList, InterconnectLocation>

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
PagedAsyncEnumerable<InterconnectLocationList, InterconnectLocation>

A pageable asynchronous sequence of InterconnectLocation resources.

Overrides