Network Management v1 API - Class ReachabilityService.ReachabilityServiceClient (2.6.0)

public class ReachabilityService.ReachabilityServiceClient : ClientBase<ReachabilityService.ReachabilityServiceClient>

Reference documentation and code samples for the Network Management v1 API class ReachabilityService.ReachabilityServiceClient.

Client for ReachabilityService

Inheritance

object > ClientBase > ClientBaseReachabilityServiceReachabilityServiceClient > ReachabilityService.ReachabilityServiceClient

Namespace

Google.Cloud.NetworkManagement.V1

Assembly

Google.Cloud.NetworkManagement.V1.dll

Constructors

ReachabilityServiceClient()

protected ReachabilityServiceClient()

Protected parameterless constructor to allow creation of test doubles.

ReachabilityServiceClient(CallInvoker)

public ReachabilityServiceClient(CallInvoker callInvoker)

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

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

ReachabilityServiceClient(ChannelBase)

public ReachabilityServiceClient(ChannelBase channel)

Creates a new client for ReachabilityService

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

ReachabilityServiceClient(ClientBaseConfiguration)

protected ReachabilityServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

The client configuration.

Methods

CreateConnectivityTest(CreateConnectivityTestRequest, CallOptions)

public virtual Operation CreateConnectivityTest(CreateConnectivityTestRequest request, CallOptions options)

Creates a new Connectivity Test. After you create a test, the reachability analysis is performed as part of the long running operation, which completes when the analysis completes.

If the endpoint specifications in ConnectivityTest are invalid (for example, containing non-existent resources in the network, or you don't have read permissions to the network configurations of listed projects), then the reachability result returns a value of UNKNOWN.

If the endpoint specifications in ConnectivityTest are incomplete, the reachability result returns a value of <code>AMBIGUOUS</code>. For more information, see the Connectivity Test documentation.

Parameters
NameDescription
requestCreateConnectivityTestRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateConnectivityTest(CreateConnectivityTestRequest, Metadata, DateTime?, CancellationToken)

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

Creates a new Connectivity Test. After you create a test, the reachability analysis is performed as part of the long running operation, which completes when the analysis completes.

If the endpoint specifications in ConnectivityTest are invalid (for example, containing non-existent resources in the network, or you don't have read permissions to the network configurations of listed projects), then the reachability result returns a value of UNKNOWN.

If the endpoint specifications in ConnectivityTest are incomplete, the reachability result returns a value of <code>AMBIGUOUS</code>. For more information, see the Connectivity Test documentation.

Parameters
NameDescription
requestCreateConnectivityTestRequest

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.

CreateConnectivityTestAsync(CreateConnectivityTestRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateConnectivityTestAsync(CreateConnectivityTestRequest request, CallOptions options)

Creates a new Connectivity Test. After you create a test, the reachability analysis is performed as part of the long running operation, which completes when the analysis completes.

If the endpoint specifications in ConnectivityTest are invalid (for example, containing non-existent resources in the network, or you don't have read permissions to the network configurations of listed projects), then the reachability result returns a value of UNKNOWN.

If the endpoint specifications in ConnectivityTest are incomplete, the reachability result returns a value of <code>AMBIGUOUS</code>. For more information, see the Connectivity Test documentation.

Parameters
NameDescription
requestCreateConnectivityTestRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

CreateConnectivityTestAsync(CreateConnectivityTestRequest, Metadata, DateTime?, CancellationToken)

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

Creates a new Connectivity Test. After you create a test, the reachability analysis is performed as part of the long running operation, which completes when the analysis completes.

If the endpoint specifications in ConnectivityTest are invalid (for example, containing non-existent resources in the network, or you don't have read permissions to the network configurations of listed projects), then the reachability result returns a value of UNKNOWN.

If the endpoint specifications in ConnectivityTest are incomplete, the reachability result returns a value of <code>AMBIGUOUS</code>. For more information, see the Connectivity Test documentation.

Parameters
NameDescription
requestCreateConnectivityTestRequest

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.

CreateOperationsClient()

public virtual Operations.OperationsClient CreateOperationsClient()

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

Returns
TypeDescription
OperationsOperationsClient

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

DeleteConnectivityTest(DeleteConnectivityTestRequest, CallOptions)

public virtual Operation DeleteConnectivityTest(DeleteConnectivityTestRequest request, CallOptions options)

Deletes a specific ConnectivityTest.

Parameters
NameDescription
requestDeleteConnectivityTestRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteConnectivityTest(DeleteConnectivityTestRequest, Metadata, DateTime?, CancellationToken)

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

Deletes a specific ConnectivityTest.

Parameters
NameDescription
requestDeleteConnectivityTestRequest

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.

DeleteConnectivityTestAsync(DeleteConnectivityTestRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteConnectivityTestAsync(DeleteConnectivityTestRequest request, CallOptions options)

Deletes a specific ConnectivityTest.

Parameters
NameDescription
requestDeleteConnectivityTestRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

DeleteConnectivityTestAsync(DeleteConnectivityTestRequest, Metadata, DateTime?, CancellationToken)

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

Deletes a specific ConnectivityTest.

Parameters
NameDescription
requestDeleteConnectivityTestRequest

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.

GetConnectivityTest(GetConnectivityTestRequest, CallOptions)

public virtual ConnectivityTest GetConnectivityTest(GetConnectivityTestRequest request, CallOptions options)

Gets the details of a specific Connectivity Test.

Parameters
NameDescription
requestGetConnectivityTestRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ConnectivityTest

The response received from the server.

GetConnectivityTest(GetConnectivityTestRequest, Metadata, DateTime?, CancellationToken)

public virtual ConnectivityTest GetConnectivityTest(GetConnectivityTestRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets the details of a specific Connectivity Test.

Parameters
NameDescription
requestGetConnectivityTestRequest

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
ConnectivityTest

The response received from the server.

GetConnectivityTestAsync(GetConnectivityTestRequest, CallOptions)

public virtual AsyncUnaryCall<ConnectivityTest> GetConnectivityTestAsync(GetConnectivityTestRequest request, CallOptions options)

Gets the details of a specific Connectivity Test.

Parameters
NameDescription
requestGetConnectivityTestRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallConnectivityTest

The call object.

GetConnectivityTestAsync(GetConnectivityTestRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ConnectivityTest> GetConnectivityTestAsync(GetConnectivityTestRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets the details of a specific Connectivity Test.

Parameters
NameDescription
requestGetConnectivityTestRequest

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
AsyncUnaryCallConnectivityTest

The call object.

ListConnectivityTests(ListConnectivityTestsRequest, CallOptions)

public virtual ListConnectivityTestsResponse ListConnectivityTests(ListConnectivityTestsRequest request, CallOptions options)

Lists all Connectivity Tests owned by a project.

Parameters
NameDescription
requestListConnectivityTestsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListConnectivityTestsResponse

The response received from the server.

ListConnectivityTests(ListConnectivityTestsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListConnectivityTestsResponse ListConnectivityTests(ListConnectivityTestsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists all Connectivity Tests owned by a project.

Parameters
NameDescription
requestListConnectivityTestsRequest

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
ListConnectivityTestsResponse

The response received from the server.

ListConnectivityTestsAsync(ListConnectivityTestsRequest, CallOptions)

public virtual AsyncUnaryCall<ListConnectivityTestsResponse> ListConnectivityTestsAsync(ListConnectivityTestsRequest request, CallOptions options)

Lists all Connectivity Tests owned by a project.

Parameters
NameDescription
requestListConnectivityTestsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListConnectivityTestsResponse

The call object.

ListConnectivityTestsAsync(ListConnectivityTestsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListConnectivityTestsResponse> ListConnectivityTestsAsync(ListConnectivityTestsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists all Connectivity Tests owned by a project.

Parameters
NameDescription
requestListConnectivityTestsRequest

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
AsyncUnaryCallListConnectivityTestsResponse

The call object.

NewInstance(ClientBaseConfiguration)

protected override ReachabilityService.ReachabilityServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
ReachabilityServiceReachabilityServiceClient
Overrides

RerunConnectivityTest(RerunConnectivityTestRequest, CallOptions)

public virtual Operation RerunConnectivityTest(RerunConnectivityTestRequest request, CallOptions options)

Rerun an existing ConnectivityTest. After the user triggers the rerun, the reachability analysis is performed as part of the long running operation, which completes when the analysis completes.

Even though the test configuration remains the same, the reachability result may change due to underlying network configuration changes.

If the endpoint specifications in ConnectivityTest become invalid (for example, specified resources are deleted in the network, or you lost read permissions to the network configurations of listed projects), then the reachability result returns a value of UNKNOWN.

Parameters
NameDescription
requestRerunConnectivityTestRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

RerunConnectivityTest(RerunConnectivityTestRequest, Metadata, DateTime?, CancellationToken)

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

Rerun an existing ConnectivityTest. After the user triggers the rerun, the reachability analysis is performed as part of the long running operation, which completes when the analysis completes.

Even though the test configuration remains the same, the reachability result may change due to underlying network configuration changes.

If the endpoint specifications in ConnectivityTest become invalid (for example, specified resources are deleted in the network, or you lost read permissions to the network configurations of listed projects), then the reachability result returns a value of UNKNOWN.

Parameters
NameDescription
requestRerunConnectivityTestRequest

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.

RerunConnectivityTestAsync(RerunConnectivityTestRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> RerunConnectivityTestAsync(RerunConnectivityTestRequest request, CallOptions options)

Rerun an existing ConnectivityTest. After the user triggers the rerun, the reachability analysis is performed as part of the long running operation, which completes when the analysis completes.

Even though the test configuration remains the same, the reachability result may change due to underlying network configuration changes.

If the endpoint specifications in ConnectivityTest become invalid (for example, specified resources are deleted in the network, or you lost read permissions to the network configurations of listed projects), then the reachability result returns a value of UNKNOWN.

Parameters
NameDescription
requestRerunConnectivityTestRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

RerunConnectivityTestAsync(RerunConnectivityTestRequest, Metadata, DateTime?, CancellationToken)

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

Rerun an existing ConnectivityTest. After the user triggers the rerun, the reachability analysis is performed as part of the long running operation, which completes when the analysis completes.

Even though the test configuration remains the same, the reachability result may change due to underlying network configuration changes.

If the endpoint specifications in ConnectivityTest become invalid (for example, specified resources are deleted in the network, or you lost read permissions to the network configurations of listed projects), then the reachability result returns a value of UNKNOWN.

Parameters
NameDescription
requestRerunConnectivityTestRequest

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.

UpdateConnectivityTest(UpdateConnectivityTestRequest, CallOptions)

public virtual Operation UpdateConnectivityTest(UpdateConnectivityTestRequest request, CallOptions options)

Updates the configuration of an existing ConnectivityTest. After you update a test, the reachability analysis is performed as part of the long running operation, which completes when the analysis completes. The Reachability state in the test resource is updated with the new result.

If the endpoint specifications in ConnectivityTest are invalid (for example, they contain non-existent resources in the network, or the user does not have read permissions to the network configurations of listed projects), then the reachability result returns a value of <code>UNKNOWN</code>.

If the endpoint specifications in ConnectivityTest are incomplete, the reachability result returns a value of AMBIGUOUS. See the documentation in ConnectivityTest for for more details.

Parameters
NameDescription
requestUpdateConnectivityTestRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

UpdateConnectivityTest(UpdateConnectivityTestRequest, Metadata, DateTime?, CancellationToken)

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

Updates the configuration of an existing ConnectivityTest. After you update a test, the reachability analysis is performed as part of the long running operation, which completes when the analysis completes. The Reachability state in the test resource is updated with the new result.

If the endpoint specifications in ConnectivityTest are invalid (for example, they contain non-existent resources in the network, or the user does not have read permissions to the network configurations of listed projects), then the reachability result returns a value of <code>UNKNOWN</code>.

If the endpoint specifications in ConnectivityTest are incomplete, the reachability result returns a value of AMBIGUOUS. See the documentation in ConnectivityTest for for more details.

Parameters
NameDescription
requestUpdateConnectivityTestRequest

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.

UpdateConnectivityTestAsync(UpdateConnectivityTestRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> UpdateConnectivityTestAsync(UpdateConnectivityTestRequest request, CallOptions options)

Updates the configuration of an existing ConnectivityTest. After you update a test, the reachability analysis is performed as part of the long running operation, which completes when the analysis completes. The Reachability state in the test resource is updated with the new result.

If the endpoint specifications in ConnectivityTest are invalid (for example, they contain non-existent resources in the network, or the user does not have read permissions to the network configurations of listed projects), then the reachability result returns a value of <code>UNKNOWN</code>.

If the endpoint specifications in ConnectivityTest are incomplete, the reachability result returns a value of AMBIGUOUS. See the documentation in ConnectivityTest for for more details.

Parameters
NameDescription
requestUpdateConnectivityTestRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

UpdateConnectivityTestAsync(UpdateConnectivityTestRequest, Metadata, DateTime?, CancellationToken)

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

Updates the configuration of an existing ConnectivityTest. After you update a test, the reachability analysis is performed as part of the long running operation, which completes when the analysis completes. The Reachability state in the test resource is updated with the new result.

If the endpoint specifications in ConnectivityTest are invalid (for example, they contain non-existent resources in the network, or the user does not have read permissions to the network configurations of listed projects), then the reachability result returns a value of <code>UNKNOWN</code>.

If the endpoint specifications in ConnectivityTest are incomplete, the reachability result returns a value of AMBIGUOUS. See the documentation in ConnectivityTest for for more details.

Parameters
NameDescription
requestUpdateConnectivityTestRequest

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.