Compute Engine v1 API - Class InterconnectAttachmentsClientImpl (2.3.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(InterconnectAttachments.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
NameDescription
grpcClientInterconnectAttachments.InterconnectAttachmentsClient

The underlying gRPC client.

settingsInterconnectAttachmentsSettings

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

The underlying gRPC InterconnectAttachments client

Property Value
TypeDescription
InterconnectAttachments.InterconnectAttachmentsClient
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

AggregatedList(AggregatedListInterconnectAttachmentsRequest, CallSettings)

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

Retrieves an aggregated list of interconnect attachments.

Parameters
NameDescription
requestAggregatedListInterconnectAttachmentsRequest

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<InterconnectAttachmentAggregatedList, KeyValuePair<String, InterconnectAttachmentsScopedList>>

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.

Parameters
NameDescription
requestAggregatedListInterconnectAttachmentsRequest

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<InterconnectAttachmentAggregatedList, KeyValuePair<String, InterconnectAttachmentsScopedList>>

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
NameDescription
requestDeleteInterconnectAttachmentRequest

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

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

Deletes the specified interconnect attachment.

Parameters
NameDescription
requestDeleteInterconnectAttachmentRequest

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

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

Returns the specified interconnect attachment.

Parameters
NameDescription
requestGetInterconnectAttachmentRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
InterconnectAttachment

The RPC response.

Overrides

GetAsync(GetInterconnectAttachmentRequest, CallSettings)

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

Returns the specified interconnect attachment.

Parameters
NameDescription
requestGetInterconnectAttachmentRequest

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<InterconnectAttachment>

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
NameDescription
requestInsertInterconnectAttachmentRequest

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

public override async 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
NameDescription
requestInsertInterconnectAttachmentRequest

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(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
NameDescription
requestListInterconnectAttachmentsRequest

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<InterconnectAttachmentList, InterconnectAttachment>

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
NameDescription
requestListInterconnectAttachmentsRequest

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<InterconnectAttachmentList, InterconnectAttachment>

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
NameDescription
requestPatchInterconnectAttachmentRequest

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

public override async 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
NameDescription
requestPatchInterconnectAttachmentRequest

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

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
NameDescription
requestSetLabelsInterconnectAttachmentRequest

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

SetLabelsAsync(SetLabelsInterconnectAttachmentRequest, CallSettings)

public override async 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
NameDescription
requestSetLabelsInterconnectAttachmentRequest

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