Class InterconnectAttachments.InterconnectAttachmentsClient (2.1.0)

public class InterconnectAttachmentsClient : ClientBase<InterconnectAttachments.InterconnectAttachmentsClient>

Client for InterconnectAttachments

Inheritance

Object > ClientBase > ClientBase<InterconnectAttachments.InterconnectAttachmentsClient> > 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(ClientBase.ClientBaseConfiguration)

protected InterconnectAttachmentsClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

The client configuration.

Methods

AggregatedList(AggregatedListInterconnectAttachmentsRequest, CallOptions)

public virtual InterconnectAttachmentAggregatedList AggregatedList(AggregatedListInterconnectAttachmentsRequest request, CallOptions options)

Retrieves an aggregated list of interconnect attachments.

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, Nullable<DateTime>, CancellationToken)

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

Retrieves an aggregated list of interconnect attachments.

Parameters
NameDescription
requestAggregatedListInterconnectAttachmentsRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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.

Parameters
NameDescription
requestAggregatedListInterconnectAttachmentsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<InterconnectAttachmentAggregatedList>

The call object.

AggregatedListAsync(AggregatedListInterconnectAttachmentsRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Retrieves an aggregated list of interconnect attachments.

Parameters
NameDescription
requestAggregatedListInterconnectAttachmentsRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
AsyncUnaryCall<InterconnectAttachmentAggregatedList>

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
Operations.OperationsClient

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

The call object.

DeleteAsync(DeleteInterconnectAttachmentRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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

The call object.

GetAsync(GetInterconnectAttachmentRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

The call object.

InsertAsync(InsertInterconnectAttachmentRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<InterconnectAttachmentList>

The call object.

ListAsync(ListInterconnectAttachmentsRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<InterconnectAttachmentList>

The call object.

NewInstance(ClientBase.ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
InterconnectAttachments.InterconnectAttachmentsClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.Compute.V1.InterconnectAttachments.InterconnectAttachmentsClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

The call object.

PatchAsync(PatchInterconnectAttachmentRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

The call object.