Class Interconnects.InterconnectsClient (2.1.0)

public class InterconnectsClient : ClientBase<Interconnects.InterconnectsClient>

Client for Interconnects

Inheritance

Object > ClientBase > ClientBase<Interconnects.InterconnectsClient> > Interconnects.InterconnectsClient

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

InterconnectsClient()

protected InterconnectsClient()

Protected parameterless constructor to allow creation of test doubles.

InterconnectsClient(CallInvoker)

public InterconnectsClient(CallInvoker callInvoker)

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

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

InterconnectsClient(ChannelBase)

public InterconnectsClient(ChannelBase channel)

Creates a new client for Interconnects

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

InterconnectsClient(ClientBase.ClientBaseConfiguration)

protected InterconnectsClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

The client configuration.

Methods

CreateOperationsClientForGlobalOperations()

public virtual Operations.OperationsClient CreateOperationsClientForGlobalOperations()

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

Returns
TypeDescription
Operations.OperationsClient

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

Delete(DeleteInterconnectRequest, CallOptions)

public virtual Operation Delete(DeleteInterconnectRequest request, CallOptions options)

Deletes the specified interconnect.

Parameters
NameDescription
requestDeleteInterconnectRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

Delete(DeleteInterconnectRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Deletes the specified interconnect.

Parameters
NameDescription
requestDeleteInterconnectRequest

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(DeleteInterconnectRequest, CallOptions)

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

Deletes the specified interconnect.

Parameters
NameDescription
requestDeleteInterconnectRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

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

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

Deletes the specified interconnect.

Parameters
NameDescription
requestDeleteInterconnectRequest

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(GetInterconnectRequest, CallOptions)

public virtual Interconnect Get(GetInterconnectRequest request, CallOptions options)

Returns the specified interconnect. Get a list of available interconnects by making a list() request.

Parameters
NameDescription
requestGetInterconnectRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Interconnect

The response received from the server.

Get(GetInterconnectRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Returns the specified interconnect. Get a list of available interconnects by making a list() request.

Parameters
NameDescription
requestGetInterconnectRequest

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
Interconnect

The response received from the server.

GetAsync(GetInterconnectRequest, CallOptions)

public virtual AsyncUnaryCall<Interconnect> GetAsync(GetInterconnectRequest request, CallOptions options)

Returns the specified interconnect. Get a list of available interconnects by making a list() request.

Parameters
NameDescription
requestGetInterconnectRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Interconnect>

The call object.

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

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

Returns the specified interconnect. Get a list of available interconnects by making a list() request.

Parameters
NameDescription
requestGetInterconnectRequest

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

The call object.

GetDiagnostics(GetDiagnosticsInterconnectRequest, CallOptions)

public virtual InterconnectsGetDiagnosticsResponse GetDiagnostics(GetDiagnosticsInterconnectRequest request, CallOptions options)

Returns the interconnectDiagnostics for the specified interconnect.

Parameters
NameDescription
requestGetDiagnosticsInterconnectRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
InterconnectsGetDiagnosticsResponse

The response received from the server.

GetDiagnostics(GetDiagnosticsInterconnectRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual InterconnectsGetDiagnosticsResponse GetDiagnostics(GetDiagnosticsInterconnectRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Returns the interconnectDiagnostics for the specified interconnect.

Parameters
NameDescription
requestGetDiagnosticsInterconnectRequest

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
InterconnectsGetDiagnosticsResponse

The response received from the server.

GetDiagnosticsAsync(GetDiagnosticsInterconnectRequest, CallOptions)

public virtual AsyncUnaryCall<InterconnectsGetDiagnosticsResponse> GetDiagnosticsAsync(GetDiagnosticsInterconnectRequest request, CallOptions options)

Returns the interconnectDiagnostics for the specified interconnect.

Parameters
NameDescription
requestGetDiagnosticsInterconnectRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<InterconnectsGetDiagnosticsResponse>

The call object.

GetDiagnosticsAsync(GetDiagnosticsInterconnectRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<InterconnectsGetDiagnosticsResponse> GetDiagnosticsAsync(GetDiagnosticsInterconnectRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Returns the interconnectDiagnostics for the specified interconnect.

Parameters
NameDescription
requestGetDiagnosticsInterconnectRequest

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

The call object.

Insert(InsertInterconnectRequest, CallOptions)

public virtual Operation Insert(InsertInterconnectRequest request, CallOptions options)

Creates a Interconnect in the specified project using the data included in the request.

Parameters
NameDescription
requestInsertInterconnectRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

Insert(InsertInterconnectRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Creates a Interconnect in the specified project using the data included in the request.

Parameters
NameDescription
requestInsertInterconnectRequest

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(InsertInterconnectRequest, CallOptions)

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

Creates a Interconnect in the specified project using the data included in the request.

Parameters
NameDescription
requestInsertInterconnectRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

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

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

Creates a Interconnect in the specified project using the data included in the request.

Parameters
NameDescription
requestInsertInterconnectRequest

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(ListInterconnectsRequest, CallOptions)

public virtual InterconnectList List(ListInterconnectsRequest request, CallOptions options)

Retrieves the list of interconnect available to the specified project.

Parameters
NameDescription
requestListInterconnectsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
InterconnectList

The response received from the server.

List(ListInterconnectsRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Retrieves the list of interconnect available to the specified project.

Parameters
NameDescription
requestListInterconnectsRequest

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
InterconnectList

The response received from the server.

ListAsync(ListInterconnectsRequest, CallOptions)

public virtual AsyncUnaryCall<InterconnectList> ListAsync(ListInterconnectsRequest request, CallOptions options)

Retrieves the list of interconnect available to the specified project.

Parameters
NameDescription
requestListInterconnectsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<InterconnectList>

The call object.

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

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

Retrieves the list of interconnect available to the specified project.

Parameters
NameDescription
requestListInterconnectsRequest

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

The call object.

NewInstance(ClientBase.ClientBaseConfiguration)

protected override Interconnects.InterconnectsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

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

Patch(PatchInterconnectRequest, CallOptions)

public virtual Operation Patch(PatchInterconnectRequest request, CallOptions options)

Updates the specified interconnect with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.

Parameters
NameDescription
requestPatchInterconnectRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

Patch(PatchInterconnectRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Updates the specified interconnect with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.

Parameters
NameDescription
requestPatchInterconnectRequest

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(PatchInterconnectRequest, CallOptions)

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

Updates the specified interconnect with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.

Parameters
NameDescription
requestPatchInterconnectRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

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

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

Updates the specified interconnect with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.

Parameters
NameDescription
requestPatchInterconnectRequest

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.