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

[BindServiceMethod(typeof(Interconnects), "BindService")]
public abstract class 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
NameDescription
requestDeleteInterconnectRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<Operation>

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
NameDescription
requestGetInterconnectRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<Interconnect>

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.

Parameters
NameDescription
requestGetDiagnosticsInterconnectRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<InterconnectsGetDiagnosticsResponse>

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
NameDescription
requestInsertInterconnectRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<Operation>

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
NameDescription
requestListInterconnectsRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<InterconnectList>

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
NameDescription
requestPatchInterconnectRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<Operation>

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
NameDescription
requestSetLabelsInterconnectRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<Operation>

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