Compute Engine v1 API - Class InterconnectRemoteLocations.InterconnectRemoteLocationsClient (2.11.0)

public class InterconnectRemoteLocations.InterconnectRemoteLocationsClient : ClientBase<InterconnectRemoteLocations.InterconnectRemoteLocationsClient>

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

Client for InterconnectRemoteLocations

Inheritance

object > ClientBase > ClientBaseInterconnectRemoteLocationsInterconnectRemoteLocationsClient > InterconnectRemoteLocations.InterconnectRemoteLocationsClient

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

InterconnectRemoteLocationsClient()

protected InterconnectRemoteLocationsClient()

Protected parameterless constructor to allow creation of test doubles.

InterconnectRemoteLocationsClient(CallInvoker)

public InterconnectRemoteLocationsClient(CallInvoker callInvoker)

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

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

InterconnectRemoteLocationsClient(ChannelBase)

public InterconnectRemoteLocationsClient(ChannelBase channel)

Creates a new client for InterconnectRemoteLocations

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

InterconnectRemoteLocationsClient(ClientBaseConfiguration)

protected InterconnectRemoteLocationsClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

The client configuration.

Methods

Get(GetInterconnectRemoteLocationRequest, CallOptions)

public virtual InterconnectRemoteLocation Get(GetInterconnectRemoteLocationRequest request, CallOptions options)

Returns the details for the specified interconnect remote location. Gets a list of available interconnect remote locations by making a list() request.

Parameters
NameDescription
requestGetInterconnectRemoteLocationRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
InterconnectRemoteLocation

The response received from the server.

Get(GetInterconnectRemoteLocationRequest, Metadata, DateTime?, CancellationToken)

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

Returns the details for the specified interconnect remote location. Gets a list of available interconnect remote locations by making a list() request.

Parameters
NameDescription
requestGetInterconnectRemoteLocationRequest

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
InterconnectRemoteLocation

The response received from the server.

GetAsync(GetInterconnectRemoteLocationRequest, CallOptions)

public virtual AsyncUnaryCall<InterconnectRemoteLocation> GetAsync(GetInterconnectRemoteLocationRequest request, CallOptions options)

Returns the details for the specified interconnect remote location. Gets a list of available interconnect remote locations by making a list() request.

Parameters
NameDescription
requestGetInterconnectRemoteLocationRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallInterconnectRemoteLocation

The call object.

GetAsync(GetInterconnectRemoteLocationRequest, Metadata, DateTime?, CancellationToken)

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

Returns the details for the specified interconnect remote location. Gets a list of available interconnect remote locations by making a list() request.

Parameters
NameDescription
requestGetInterconnectRemoteLocationRequest

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
AsyncUnaryCallInterconnectRemoteLocation

The call object.

List(ListInterconnectRemoteLocationsRequest, CallOptions)

public virtual InterconnectRemoteLocationList List(ListInterconnectRemoteLocationsRequest request, CallOptions options)

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

Parameters
NameDescription
requestListInterconnectRemoteLocationsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
InterconnectRemoteLocationList

The response received from the server.

List(ListInterconnectRemoteLocationsRequest, Metadata, DateTime?, CancellationToken)

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

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

Parameters
NameDescription
requestListInterconnectRemoteLocationsRequest

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
InterconnectRemoteLocationList

The response received from the server.

ListAsync(ListInterconnectRemoteLocationsRequest, CallOptions)

public virtual AsyncUnaryCall<InterconnectRemoteLocationList> ListAsync(ListInterconnectRemoteLocationsRequest request, CallOptions options)

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

Parameters
NameDescription
requestListInterconnectRemoteLocationsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallInterconnectRemoteLocationList

The call object.

ListAsync(ListInterconnectRemoteLocationsRequest, Metadata, DateTime?, CancellationToken)

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

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

Parameters
NameDescription
requestListInterconnectRemoteLocationsRequest

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
AsyncUnaryCallInterconnectRemoteLocationList

The call object.

NewInstance(ClientBaseConfiguration)

protected override InterconnectRemoteLocations.InterconnectRemoteLocationsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
InterconnectRemoteLocationsInterconnectRemoteLocationsClient
Overrides