Compute Engine v1 API - Class InterconnectAttachmentsClientImpl (3.2.0)

public sealed class InterconnectAttachmentsClientImpl : InterconnectAttachmentsClient

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

InterconnectAttachments client wrapper implementation, for convenient use.

Inheritance

object > InterconnectAttachmentsClient > InterconnectAttachmentsClientImpl

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Remarks

The InterconnectAttachments API.

Constructors

InterconnectAttachmentsClientImpl(InterconnectAttachmentsClient, InterconnectAttachmentsSettings, ILogger)

public InterconnectAttachmentsClientImpl(InterconnectAttachments.InterconnectAttachmentsClient grpcClient, InterconnectAttachmentsSettings settings, ILogger logger)

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

Parameters
Name Description
grpcClient InterconnectAttachmentsInterconnectAttachmentsClient

The underlying gRPC client.

settings InterconnectAttachmentsSettings

The base InterconnectAttachmentsSettings 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 InterconnectAttachments.InterconnectAttachmentsClient GrpcClient { get; }

The underlying gRPC InterconnectAttachments client

Property Value
Type Description
InterconnectAttachmentsInterconnectAttachmentsClient
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

AggregatedList(AggregatedListInterconnectAttachmentsRequest, CallSettings)

public override PagedEnumerable<InterconnectAttachmentAggregatedList, KeyValuePair<string, InterconnectAttachmentsScopedList>> AggregatedList(AggregatedListInterconnectAttachmentsRequest request, CallSettings callSettings = null)

Retrieves an aggregated list of interconnect attachments. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.

Parameters
Name Description
request AggregatedListInterconnectAttachmentsRequest

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
PagedEnumerableInterconnectAttachmentAggregatedListKeyValuePairstringInterconnectAttachmentsScopedList

A pageable sequence of KeyValuePair<TKey, TValue> resources.

Overrides

AggregatedListAsync(AggregatedListInterconnectAttachmentsRequest, CallSettings)

public override PagedAsyncEnumerable<InterconnectAttachmentAggregatedList, KeyValuePair<string, InterconnectAttachmentsScopedList>> AggregatedListAsync(AggregatedListInterconnectAttachmentsRequest request, CallSettings callSettings = null)

Retrieves an aggregated list of interconnect attachments. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.

Parameters
Name Description
request AggregatedListInterconnectAttachmentsRequest

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
PagedAsyncEnumerableInterconnectAttachmentAggregatedListKeyValuePairstringInterconnectAttachmentsScopedList

A pageable asynchronous sequence of KeyValuePair<TKey, TValue> resources.

Overrides

Delete(DeleteInterconnectAttachmentRequest, CallSettings)

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

Deletes the specified interconnect attachment.

Parameters
Name Description
request DeleteInterconnectAttachmentRequest

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(DeleteInterconnectAttachmentRequest, CallSettings)

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

Deletes the specified interconnect attachment.

Parameters
Name Description
request DeleteInterconnectAttachmentRequest

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(GetInterconnectAttachmentRequest, CallSettings)

public override InterconnectAttachment Get(GetInterconnectAttachmentRequest request, CallSettings callSettings = null)

Returns the specified interconnect attachment.

Parameters
Name Description
request GetInterconnectAttachmentRequest

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
InterconnectAttachment

The RPC response.

Overrides

GetAsync(GetInterconnectAttachmentRequest, CallSettings)

public override Task<InterconnectAttachment> GetAsync(GetInterconnectAttachmentRequest request, CallSettings callSettings = null)

Returns the specified interconnect attachment.

Parameters
Name Description
request GetInterconnectAttachmentRequest

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
TaskInterconnectAttachment

A Task containing the RPC response.

Overrides

Insert(InsertInterconnectAttachmentRequest, CallSettings)

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

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

Parameters
Name Description
request InsertInterconnectAttachmentRequest

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(InsertInterconnectAttachmentRequest, CallSettings)

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

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

Parameters
Name Description
request InsertInterconnectAttachmentRequest

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(ListInterconnectAttachmentsRequest, CallSettings)

public override PagedEnumerable<InterconnectAttachmentList, InterconnectAttachment> List(ListInterconnectAttachmentsRequest request, CallSettings callSettings = null)

Retrieves the list of interconnect attachments contained within the specified region.

Parameters
Name Description
request ListInterconnectAttachmentsRequest

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
PagedEnumerableInterconnectAttachmentListInterconnectAttachment

A pageable sequence of InterconnectAttachment resources.

Overrides

ListAsync(ListInterconnectAttachmentsRequest, CallSettings)

public override PagedAsyncEnumerable<InterconnectAttachmentList, InterconnectAttachment> ListAsync(ListInterconnectAttachmentsRequest request, CallSettings callSettings = null)

Retrieves the list of interconnect attachments contained within the specified region.

Parameters
Name Description
request ListInterconnectAttachmentsRequest

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
PagedAsyncEnumerableInterconnectAttachmentListInterconnectAttachment

A pageable asynchronous sequence of InterconnectAttachment resources.

Overrides

Patch(PatchInterconnectAttachmentRequest, CallSettings)

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

Updates the specified interconnect attachment 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 PatchInterconnectAttachmentRequest

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(PatchInterconnectAttachmentRequest, CallSettings)

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

Updates the specified interconnect attachment 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 PatchInterconnectAttachmentRequest

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(SetLabelsInterconnectAttachmentRequest, CallSettings)

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

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

Parameters
Name Description
request SetLabelsInterconnectAttachmentRequest

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(SetLabelsInterconnectAttachmentRequest, CallSettings)

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

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

Parameters
Name Description
request SetLabelsInterconnectAttachmentRequest

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