Compute Engine v1 API - Class InterconnectsClientImpl (3.1.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
Name Description
grpcClient InterconnectsInterconnectsClient

The underlying gRPC client.

settings InterconnectsSettings

The base InterconnectsSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

DeleteOperationsClient

public override OperationsClient DeleteOperationsClient { get; }

The long-running operations client for Delete.

Property Value
Type Description
OperationsClient
Overrides

GrpcClient

public override Interconnects.InterconnectsClient GrpcClient { get; }

The underlying gRPC Interconnects client

Property Value
Type Description
InterconnectsInterconnectsClient
Overrides

InsertOperationsClient

public override OperationsClient InsertOperationsClient { get; }

The long-running operations client for Insert.

Property Value
Type Description
OperationsClient
Overrides

PatchOperationsClient

public override OperationsClient PatchOperationsClient { get; }

The long-running operations client for Patch.

Property Value
Type Description
OperationsClient
Overrides

SetLabelsOperationsClient

public override OperationsClient SetLabelsOperationsClient { get; }

The long-running operations client for SetLabels.

Property Value
Type Description
OperationsClient
Overrides

Methods

Delete(DeleteInterconnectRequest, CallSettings)

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

Deletes the specified Interconnect.

Parameters
Name Description
request DeleteInterconnectRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
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
Name Description
request DeleteInterconnectRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
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
Name Description
request GetInterconnectRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
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
Name Description
request GetInterconnectRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskInterconnectsGetDiagnosticsResponse

A Task containing the RPC response.

Overrides

GetMacsecConfig(GetMacsecConfigInterconnectRequest, CallSettings)

public override InterconnectsGetMacsecConfigResponse GetMacsecConfig(GetMacsecConfigInterconnectRequest request, CallSettings callSettings = null)

Returns the interconnectMacsecConfig for the specified Interconnect.

Parameters
Name Description
request GetMacsecConfigInterconnectRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
InterconnectsGetMacsecConfigResponse

The RPC response.

Overrides

GetMacsecConfigAsync(GetMacsecConfigInterconnectRequest, CallSettings)

public override Task<InterconnectsGetMacsecConfigResponse> GetMacsecConfigAsync(GetMacsecConfigInterconnectRequest request, CallSettings callSettings = null)

Returns the interconnectMacsecConfig for the specified Interconnect.

Parameters
Name Description
request GetMacsecConfigInterconnectRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskInterconnectsGetMacsecConfigResponse

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
Name Description
request InsertInterconnectRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
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
Name Description
request InsertInterconnectRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
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
Name Description
request ListInterconnectsRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
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
Name Description
request ListInterconnectsRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
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
Name Description
request PatchInterconnectRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
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
Name Description
request PatchInterconnectRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
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
Name Description
request SetLabelsInterconnectRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
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
Name Description
request SetLabelsInterconnectRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

Overrides