Class Interconnects.InterconnectsBase (1.4.0)

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