Compute Engine v1 API - Class InterconnectsClientImpl (2.11.0)

public sealed class InterconnectsClientImpl : InterconnectsClient

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

Interconnects client wrapper implementation, for convenient use.

Inheritance

object > InterconnectsClient > InterconnectsClientImpl

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Remarks

The Interconnects API.

Constructors

InterconnectsClientImpl(InterconnectsClient, InterconnectsSettings, ILogger)

public InterconnectsClientImpl(Interconnects.InterconnectsClient grpcClient, InterconnectsSettings settings, ILogger logger)

Constructs a client wrapper for the Interconnects service, with the specified gRPC client and settings.

Parameters
NameDescription
grpcClientInterconnectsInterconnectsClient

The underlying gRPC client.

settingsInterconnectsSettings

The base InterconnectsSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

DeleteOperationsClient

public override OperationsClient DeleteOperationsClient { get; }

The long-running operations client for Delete.

Property Value
TypeDescription
OperationsClient
Overrides

GrpcClient

public override Interconnects.InterconnectsClient GrpcClient { get; }

The underlying gRPC Interconnects client

Property Value
TypeDescription
InterconnectsInterconnectsClient
Overrides

InsertOperationsClient

public override OperationsClient InsertOperationsClient { get; }

The long-running operations client for Insert.

Property Value
TypeDescription
OperationsClient
Overrides

PatchOperationsClient

public override OperationsClient PatchOperationsClient { get; }

The long-running operations client for Patch.

Property Value
TypeDescription
OperationsClient
Overrides

SetLabelsOperationsClient

public override OperationsClient SetLabelsOperationsClient { get; }

The long-running operations client for SetLabels.

Property Value
TypeDescription
OperationsClient
Overrides

Methods

Delete(DeleteInterconnectRequest, CallSettings)

public override Operation<Operation, Operation> Delete(DeleteInterconnectRequest request, CallSettings callSettings = null)

Deletes the specified Interconnect.

Parameters
NameDescription
requestDeleteInterconnectRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationOperationOperation

The RPC response.

Overrides

DeleteAsync(DeleteInterconnectRequest, CallSettings)

public override Task<Operation<Operation, Operation>> DeleteAsync(DeleteInterconnectRequest request, CallSettings callSettings = null)

Deletes the specified Interconnect.

Parameters
NameDescription
requestDeleteInterconnectRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationOperationOperation

A Task containing the RPC response.

Overrides

Get(GetInterconnectRequest, CallSettings)

public override Interconnect Get(GetInterconnectRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestGetInterconnectRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Interconnect

The RPC response.

Overrides

GetAsync(GetInterconnectRequest, CallSettings)

public override Task<Interconnect> GetAsync(GetInterconnectRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestGetInterconnectRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskInterconnect

A Task containing the RPC response.

Overrides

GetDiagnostics(GetDiagnosticsInterconnectRequest, CallSettings)

public override InterconnectsGetDiagnosticsResponse GetDiagnostics(GetDiagnosticsInterconnectRequest request, CallSettings callSettings = null)

Returns the interconnectDiagnostics for the specified Interconnect.

Parameters
NameDescription
requestGetDiagnosticsInterconnectRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
InterconnectsGetDiagnosticsResponse

The RPC response.

Overrides

GetDiagnosticsAsync(GetDiagnosticsInterconnectRequest, CallSettings)

public override Task<InterconnectsGetDiagnosticsResponse> GetDiagnosticsAsync(GetDiagnosticsInterconnectRequest request, CallSettings callSettings = null)

Returns the interconnectDiagnostics for the specified Interconnect.

Parameters
NameDescription
requestGetDiagnosticsInterconnectRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskInterconnectsGetDiagnosticsResponse

A Task containing the RPC response.

Overrides

Insert(InsertInterconnectRequest, CallSettings)

public override Operation<Operation, Operation> Insert(InsertInterconnectRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestInsertInterconnectRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationOperationOperation

The RPC response.

Overrides

InsertAsync(InsertInterconnectRequest, CallSettings)

public override Task<Operation<Operation, Operation>> InsertAsync(InsertInterconnectRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestInsertInterconnectRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationOperationOperation

A Task containing the RPC response.

Overrides

List(ListInterconnectsRequest, CallSettings)

public override PagedEnumerable<InterconnectList, Interconnect> List(ListInterconnectsRequest request, CallSettings callSettings = null)

Retrieves the list of Interconnects available to the specified project.

Parameters
NameDescription
requestListInterconnectsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableInterconnectListInterconnect

A pageable sequence of Interconnect resources.

Overrides

ListAsync(ListInterconnectsRequest, CallSettings)

public override PagedAsyncEnumerable<InterconnectList, Interconnect> ListAsync(ListInterconnectsRequest request, CallSettings callSettings = null)

Retrieves the list of Interconnects available to the specified project.

Parameters
NameDescription
requestListInterconnectsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableInterconnectListInterconnect

A pageable asynchronous sequence of Interconnect resources.

Overrides

Patch(PatchInterconnectRequest, CallSettings)

public override Operation<Operation, Operation> Patch(PatchInterconnectRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationOperationOperation

The RPC response.

Overrides

PatchAsync(PatchInterconnectRequest, CallSettings)

public override Task<Operation<Operation, Operation>> PatchAsync(PatchInterconnectRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationOperationOperation

A Task containing the RPC response.

Overrides

SetLabels(SetLabelsInterconnectRequest, CallSettings)

public override Operation<Operation, Operation> SetLabels(SetLabelsInterconnectRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestSetLabelsInterconnectRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationOperationOperation

The RPC response.

Overrides

SetLabelsAsync(SetLabelsInterconnectRequest, CallSettings)

public override Task<Operation<Operation, Operation>> SetLabelsAsync(SetLabelsInterconnectRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestSetLabelsInterconnectRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationOperationOperation

A Task containing the RPC response.

Overrides