Compute Engine v1 API - Class InterconnectAttachments.InterconnectAttachmentsClient (2.16.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
Name Description
callInvoker CallInvoker

The callInvoker to use to make remote calls.

InterconnectAttachmentsClient(ChannelBase)

public InterconnectAttachmentsClient(ChannelBase channel)

Creates a new client for InterconnectAttachments

Parameter
Name Description
channel ChannelBase

The channel to use to make remote calls.

InterconnectAttachmentsClient(ClientBaseConfiguration)

protected InterconnectAttachmentsClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration

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

The request to send to the server.

options CallOptions

The options for the call.

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

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

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

The request to send to the server.

options CallOptions

The options for the call.

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

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

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

The request to send to the server.

options CallOptions

The options for the call.

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

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

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

The request to send to the server.

options CallOptions

The options for the call.

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

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

Get(GetInterconnectAttachmentRequest, CallOptions)

public virtual InterconnectAttachment Get(GetInterconnectAttachmentRequest request, CallOptions options)

Returns the specified interconnect attachment.

Parameters
Name Description
request GetInterconnectAttachmentRequest

The request to send to the server.

options CallOptions

The options for the call.

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

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

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

The request to send to the server.

options CallOptions

The options for the call.

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

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

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

The request to send to the server.

options CallOptions

The options for the call.

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

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

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

The request to send to the server.

options CallOptions

The options for the call.

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

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

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

The request to send to the server.

options CallOptions

The options for the call.

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

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

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

The request to send to the server.

options CallOptions

The options for the call.

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

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallInterconnectAttachmentList

The call object.

NewInstance(ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration
Returns
Type Description
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
Name Description
request PatchInterconnectAttachmentRequest

The request to send to the server.

options CallOptions

The options for the call.

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

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

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

The request to send to the server.

options CallOptions

The options for the call.

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

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

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

The request to send to the server.

options CallOptions

The options for the call.

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

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

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

The request to send to the server.

options CallOptions

The options for the call.

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

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.