Compute Engine v1 API - Class InterconnectAttachments.InterconnectAttachmentsClient (2.14.0)

public class InterconnectAttachments.InterconnectAttachmentsClient : ClientBase<InterconnectAttachments.InterconnectAttachmentsClient>

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

Client for InterconnectAttachments

Inheritance

object > ClientBase > ClientBaseInterconnectAttachmentsInterconnectAttachmentsClient > InterconnectAttachments.InterconnectAttachmentsClient

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

InterconnectAttachmentsClient()

protected InterconnectAttachmentsClient()

Protected parameterless constructor to allow creation of test doubles.

InterconnectAttachmentsClient(CallInvoker)

public InterconnectAttachmentsClient(CallInvoker callInvoker)

Creates a new client for InterconnectAttachments that uses a custom CallInvoker.

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

InterconnectAttachmentsClient(ChannelBase)

public InterconnectAttachmentsClient(ChannelBase channel)

Creates a new client for InterconnectAttachments

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

InterconnectAttachmentsClient(ClientBaseConfiguration)

protected InterconnectAttachmentsClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

The client configuration.

Methods

AggregatedList(AggregatedListInterconnectAttachmentsRequest, CallOptions)

public virtual InterconnectAttachmentAggregatedList AggregatedList(AggregatedListInterconnectAttachmentsRequest request, CallOptions options)

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

Parameters
NameDescription
requestAggregatedListInterconnectAttachmentsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
InterconnectAttachmentAggregatedList

The response received from the server.

AggregatedList(AggregatedListInterconnectAttachmentsRequest, Metadata, DateTime?, CancellationToken)

public virtual InterconnectAttachmentAggregatedList AggregatedList(AggregatedListInterconnectAttachmentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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

Parameters
NameDescription
requestAggregatedListInterconnectAttachmentsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
InterconnectAttachmentAggregatedList

The response received from the server.

AggregatedListAsync(AggregatedListInterconnectAttachmentsRequest, CallOptions)

public virtual AsyncUnaryCall<InterconnectAttachmentAggregatedList> AggregatedListAsync(AggregatedListInterconnectAttachmentsRequest request, CallOptions options)

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

Parameters
NameDescription
requestAggregatedListInterconnectAttachmentsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallInterconnectAttachmentAggregatedList

The call object.

AggregatedListAsync(AggregatedListInterconnectAttachmentsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<InterconnectAttachmentAggregatedList> AggregatedListAsync(AggregatedListInterconnectAttachmentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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

Parameters
NameDescription
requestAggregatedListInterconnectAttachmentsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallInterconnectAttachmentAggregatedList

The call object.

CreateOperationsClientForRegionOperations()

public virtual Operations.OperationsClient CreateOperationsClientForRegionOperations()

Creates a new instance of Operations.OperationsClient using the same call invoker as this client, delegating to RegionOperations.

Returns
TypeDescription
OperationsOperationsClient

A new Operations client for the same target as this client.

Delete(DeleteInterconnectAttachmentRequest, CallOptions)

public virtual Operation Delete(DeleteInterconnectAttachmentRequest request, CallOptions options)

Deletes the specified interconnect attachment.

Parameters
NameDescription
requestDeleteInterconnectAttachmentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

Delete(DeleteInterconnectAttachmentRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation Delete(DeleteInterconnectAttachmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes the specified interconnect attachment.

Parameters
NameDescription
requestDeleteInterconnectAttachmentRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteAsync(DeleteInterconnectAttachmentRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteInterconnectAttachmentRequest request, CallOptions options)

Deletes the specified interconnect attachment.

Parameters
NameDescription
requestDeleteInterconnectAttachmentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

DeleteAsync(DeleteInterconnectAttachmentRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteInterconnectAttachmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes the specified interconnect attachment.

Parameters
NameDescription
requestDeleteInterconnectAttachmentRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

Get(GetInterconnectAttachmentRequest, CallOptions)

public virtual InterconnectAttachment Get(GetInterconnectAttachmentRequest request, CallOptions options)

Returns the specified interconnect attachment.

Parameters
NameDescription
requestGetInterconnectAttachmentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
InterconnectAttachment

The response received from the server.

Get(GetInterconnectAttachmentRequest, Metadata, DateTime?, CancellationToken)

public virtual InterconnectAttachment Get(GetInterconnectAttachmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns the specified interconnect attachment.

Parameters
NameDescription
requestGetInterconnectAttachmentRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
InterconnectAttachment

The response received from the server.

GetAsync(GetInterconnectAttachmentRequest, CallOptions)

public virtual AsyncUnaryCall<InterconnectAttachment> GetAsync(GetInterconnectAttachmentRequest request, CallOptions options)

Returns the specified interconnect attachment.

Parameters
NameDescription
requestGetInterconnectAttachmentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallInterconnectAttachment

The call object.

GetAsync(GetInterconnectAttachmentRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<InterconnectAttachment> GetAsync(GetInterconnectAttachmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns the specified interconnect attachment.

Parameters
NameDescription
requestGetInterconnectAttachmentRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallInterconnectAttachment

The call object.

Insert(InsertInterconnectAttachmentRequest, CallOptions)

public virtual Operation Insert(InsertInterconnectAttachmentRequest request, CallOptions options)

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

Parameters
NameDescription
requestInsertInterconnectAttachmentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

Insert(InsertInterconnectAttachmentRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation Insert(InsertInterconnectAttachmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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

Parameters
NameDescription
requestInsertInterconnectAttachmentRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

InsertAsync(InsertInterconnectAttachmentRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> InsertAsync(InsertInterconnectAttachmentRequest request, CallOptions options)

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

Parameters
NameDescription
requestInsertInterconnectAttachmentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

InsertAsync(InsertInterconnectAttachmentRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> InsertAsync(InsertInterconnectAttachmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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

Parameters
NameDescription
requestInsertInterconnectAttachmentRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

List(ListInterconnectAttachmentsRequest, CallOptions)

public virtual InterconnectAttachmentList List(ListInterconnectAttachmentsRequest request, CallOptions options)

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

Parameters
NameDescription
requestListInterconnectAttachmentsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
InterconnectAttachmentList

The response received from the server.

List(ListInterconnectAttachmentsRequest, Metadata, DateTime?, CancellationToken)

public virtual InterconnectAttachmentList List(ListInterconnectAttachmentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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

Parameters
NameDescription
requestListInterconnectAttachmentsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
InterconnectAttachmentList

The response received from the server.

ListAsync(ListInterconnectAttachmentsRequest, CallOptions)

public virtual AsyncUnaryCall<InterconnectAttachmentList> ListAsync(ListInterconnectAttachmentsRequest request, CallOptions options)

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

Parameters
NameDescription
requestListInterconnectAttachmentsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallInterconnectAttachmentList

The call object.

ListAsync(ListInterconnectAttachmentsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<InterconnectAttachmentList> ListAsync(ListInterconnectAttachmentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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

Parameters
NameDescription
requestListInterconnectAttachmentsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallInterconnectAttachmentList

The call object.

NewInstance(ClientBaseConfiguration)

protected override InterconnectAttachments.InterconnectAttachmentsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
InterconnectAttachmentsInterconnectAttachmentsClient
Overrides

Patch(PatchInterconnectAttachmentRequest, CallOptions)

public virtual Operation Patch(PatchInterconnectAttachmentRequest request, CallOptions options)

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 to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

Patch(PatchInterconnectAttachmentRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation Patch(PatchInterconnectAttachmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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 to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

PatchAsync(PatchInterconnectAttachmentRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> PatchAsync(PatchInterconnectAttachmentRequest request, CallOptions options)

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 to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

PatchAsync(PatchInterconnectAttachmentRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> PatchAsync(PatchInterconnectAttachmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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 to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

SetLabels(SetLabelsInterconnectAttachmentRequest, CallOptions)

public virtual Operation SetLabels(SetLabelsInterconnectAttachmentRequest request, CallOptions options)

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

Parameters
NameDescription
requestSetLabelsInterconnectAttachmentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

SetLabels(SetLabelsInterconnectAttachmentRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation SetLabels(SetLabelsInterconnectAttachmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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

Parameters
NameDescription
requestSetLabelsInterconnectAttachmentRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

SetLabelsAsync(SetLabelsInterconnectAttachmentRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> SetLabelsAsync(SetLabelsInterconnectAttachmentRequest request, CallOptions options)

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

Parameters
NameDescription
requestSetLabelsInterconnectAttachmentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

SetLabelsAsync(SetLabelsInterconnectAttachmentRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> SetLabelsAsync(SetLabelsInterconnectAttachmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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

Parameters
NameDescription
requestSetLabelsInterconnectAttachmentRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.