Class InterconnectsClientImpl (2.1.0)

public sealed class InterconnectsClientImpl : InterconnectsClient

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(Interconnects.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
grpcClientInterconnects.InterconnectsClient

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
Interconnects.InterconnectsClient
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

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
Operation<Operation, Operation>

The RPC response.

Overrides

DeleteAsync(DeleteInterconnectRequest, CallSettings)

public override async 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
Task<Operation<Operation, Operation>>

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
Task<Interconnect>

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
Task<InterconnectsGetDiagnosticsResponse>

A Task containing the RPC response.

Overrides

Insert(InsertInterconnectRequest, CallSettings)

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

Creates a 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
Operation<Operation, Operation>

The RPC response.

Overrides

InsertAsync(InsertInterconnectRequest, CallSettings)

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

Creates a 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
Task<Operation<Operation, Operation>>

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 interconnect 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
PagedEnumerable<InterconnectList, Interconnect>

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 interconnect 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
PagedAsyncEnumerable<InterconnectList, Interconnect>

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
Operation<Operation, Operation>

The RPC response.

Overrides

PatchAsync(PatchInterconnectRequest, CallSettings)

public override async 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
Task<Operation<Operation, Operation>>

A Task containing the RPC response.

Overrides