Compute Engine v1 API - Class Interconnects.InterconnectsBase (3.0.0)

[BindServiceMethod(typeof(Interconnects), "BindService")]
public abstract class Interconnects.InterconnectsBase

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

Base class for server-side implementations of Interconnects

Inheritance

object > Interconnects.InterconnectsBase

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Methods

Delete(DeleteInterconnectRequest, ServerCallContext)

public virtual Task<Operation> Delete(DeleteInterconnectRequest request, ServerCallContext context)

Deletes the specified Interconnect.

Parameters
Name Description
request DeleteInterconnectRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

Get(GetInterconnectRequest, ServerCallContext)

public virtual Task<Interconnect> Get(GetInterconnectRequest request, ServerCallContext context)

Returns the specified Interconnect. Get a list of available Interconnects by making a list() request.

Parameters
Name Description
request GetInterconnectRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskInterconnect

The response to send back to the client (wrapped by a task).

GetDiagnostics(GetDiagnosticsInterconnectRequest, ServerCallContext)

public virtual Task<InterconnectsGetDiagnosticsResponse> GetDiagnostics(GetDiagnosticsInterconnectRequest request, ServerCallContext context)

Returns the interconnectDiagnostics for the specified Interconnect. In the event of a global outage, do not use this API to make decisions about where to redirect your network traffic. Unlike a VLAN attachment, which is regional, a Cloud Interconnect connection is a global resource. A global outage can prevent this API from functioning properly.

Parameters
Name Description
request GetDiagnosticsInterconnectRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskInterconnectsGetDiagnosticsResponse

The response to send back to the client (wrapped by a task).

GetMacsecConfig(GetMacsecConfigInterconnectRequest, ServerCallContext)

public virtual Task<InterconnectsGetMacsecConfigResponse> GetMacsecConfig(GetMacsecConfigInterconnectRequest request, ServerCallContext context)

Returns the interconnectMacsecConfig for the specified Interconnect.

Parameters
Name Description
request GetMacsecConfigInterconnectRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskInterconnectsGetMacsecConfigResponse

The response to send back to the client (wrapped by a task).

Insert(InsertInterconnectRequest, ServerCallContext)

public virtual Task<Operation> Insert(InsertInterconnectRequest request, ServerCallContext context)

Creates an Interconnect in the specified project using the data included in the request.

Parameters
Name Description
request InsertInterconnectRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

List(ListInterconnectsRequest, ServerCallContext)

public virtual Task<InterconnectList> List(ListInterconnectsRequest request, ServerCallContext context)

Retrieves the list of Interconnects available to the specified project.

Parameters
Name Description
request ListInterconnectsRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskInterconnectList

The response to send back to the client (wrapped by a task).

Patch(PatchInterconnectRequest, ServerCallContext)

public virtual Task<Operation> Patch(PatchInterconnectRequest request, ServerCallContext context)

Updates the specified Interconnect with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.

Parameters
Name Description
request PatchInterconnectRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

SetLabels(SetLabelsInterconnectRequest, ServerCallContext)

public virtual Task<Operation> SetLabels(SetLabelsInterconnectRequest request, ServerCallContext context)

Sets the labels on an Interconnect. To learn more about labels, read the Labeling Resources documentation.

Parameters
Name Description
request SetLabelsInterconnectRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).