Compute Engine v1 API - Class InterconnectLocations.InterconnectLocationsClient (2.13.0)

public class InterconnectLocations.InterconnectLocationsClient : ClientBase<InterconnectLocations.InterconnectLocationsClient>

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

Client for InterconnectLocations

Inheritance

object > ClientBase > ClientBaseInterconnectLocationsInterconnectLocationsClient > InterconnectLocations.InterconnectLocationsClient

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

InterconnectLocationsClient()

protected InterconnectLocationsClient()

Protected parameterless constructor to allow creation of test doubles.

InterconnectLocationsClient(CallInvoker)

public InterconnectLocationsClient(CallInvoker callInvoker)

Creates a new client for InterconnectLocations that uses a custom CallInvoker.

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

InterconnectLocationsClient(ChannelBase)

public InterconnectLocationsClient(ChannelBase channel)

Creates a new client for InterconnectLocations

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

InterconnectLocationsClient(ClientBaseConfiguration)

protected InterconnectLocationsClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

The client configuration.

Methods

Get(GetInterconnectLocationRequest, CallOptions)

public virtual InterconnectLocation Get(GetInterconnectLocationRequest request, CallOptions options)

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 to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
InterconnectLocation

The response received from the server.

Get(GetInterconnectLocationRequest, Metadata, DateTime?, CancellationToken)

public virtual InterconnectLocation Get(GetInterconnectLocationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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 to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
InterconnectLocation

The response received from the server.

GetAsync(GetInterconnectLocationRequest, CallOptions)

public virtual AsyncUnaryCall<InterconnectLocation> GetAsync(GetInterconnectLocationRequest request, CallOptions options)

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 to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallInterconnectLocation

The call object.

GetAsync(GetInterconnectLocationRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<InterconnectLocation> GetAsync(GetInterconnectLocationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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 to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallInterconnectLocation

The call object.

List(ListInterconnectLocationsRequest, CallOptions)

public virtual InterconnectLocationList List(ListInterconnectLocationsRequest request, CallOptions options)

Retrieves the list of interconnect locations available to the specified project.

Parameters
NameDescription
requestListInterconnectLocationsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
InterconnectLocationList

The response received from the server.

List(ListInterconnectLocationsRequest, Metadata, DateTime?, CancellationToken)

public virtual InterconnectLocationList List(ListInterconnectLocationsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Retrieves the list of interconnect locations available to the specified project.

Parameters
NameDescription
requestListInterconnectLocationsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
InterconnectLocationList

The response received from the server.

ListAsync(ListInterconnectLocationsRequest, CallOptions)

public virtual AsyncUnaryCall<InterconnectLocationList> ListAsync(ListInterconnectLocationsRequest request, CallOptions options)

Retrieves the list of interconnect locations available to the specified project.

Parameters
NameDescription
requestListInterconnectLocationsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallInterconnectLocationList

The call object.

ListAsync(ListInterconnectLocationsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<InterconnectLocationList> ListAsync(ListInterconnectLocationsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Retrieves the list of interconnect locations available to the specified project.

Parameters
NameDescription
requestListInterconnectLocationsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallInterconnectLocationList

The call object.

NewInstance(ClientBaseConfiguration)

protected override InterconnectLocations.InterconnectLocationsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
InterconnectLocationsInterconnectLocationsClient
Overrides