Network Connectivity v1 API - Class InternalRangeService.InternalRangeServiceClient (2.11.0)

public class InternalRangeService.InternalRangeServiceClient : ClientBase<InternalRangeService.InternalRangeServiceClient>

Reference documentation and code samples for the Network Connectivity v1 API class InternalRangeService.InternalRangeServiceClient.

Client for InternalRangeService

Inheritance

object > ClientBase > ClientBaseInternalRangeServiceInternalRangeServiceClient > InternalRangeService.InternalRangeServiceClient

Namespace

Google.Cloud.NetworkConnectivity.V1

Assembly

Google.Cloud.NetworkConnectivity.V1.dll

Constructors

InternalRangeServiceClient()

protected InternalRangeServiceClient()

Protected parameterless constructor to allow creation of test doubles.

InternalRangeServiceClient(CallInvoker)

public InternalRangeServiceClient(CallInvoker callInvoker)

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

Parameter
Name Description
callInvoker CallInvoker

The callInvoker to use to make remote calls.

InternalRangeServiceClient(ChannelBase)

public InternalRangeServiceClient(ChannelBase channel)

Creates a new client for InternalRangeService

Parameter
Name Description
channel ChannelBase

The channel to use to make remote calls.

InternalRangeServiceClient(ClientBaseConfiguration)

protected InternalRangeServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration

The client configuration.

Methods

CreateIAMPolicyClient()

public virtual IAMPolicy.IAMPolicyClient CreateIAMPolicyClient()

Creates a new instance of IAMPolicy.IAMPolicyClient using the same call invoker as this client.

Returns
Type Description
IAMPolicyIAMPolicyClient

A new IAMPolicy.IAMPolicyClient for the same target as this client.

CreateInternalRange(CreateInternalRangeRequest, CallOptions)

public virtual Operation CreateInternalRange(CreateInternalRangeRequest request, CallOptions options)

Creates a new internal range in a given project and location.

Parameters
Name Description
request CreateInternalRangeRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

CreateInternalRange(CreateInternalRangeRequest, Metadata, DateTime?, CancellationToken)

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

Creates a new internal range in a given project and location.

Parameters
Name Description
request CreateInternalRangeRequest

The request to send to the server.

headers Metadata

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

deadline System.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.

CreateInternalRangeAsync(CreateInternalRangeRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateInternalRangeAsync(CreateInternalRangeRequest request, CallOptions options)

Creates a new internal range in a given project and location.

Parameters
Name Description
request CreateInternalRangeRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

CreateInternalRangeAsync(CreateInternalRangeRequest, Metadata, DateTime?, CancellationToken)

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

Creates a new internal range in a given project and location.

Parameters
Name Description
request CreateInternalRangeRequest

The request to send to the server.

headers Metadata

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

deadline System.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.

CreateLocationsClient()

public virtual Locations.LocationsClient CreateLocationsClient()

Creates a new instance of Locations.LocationsClient using the same call invoker as this client.

Returns
Type Description
LocationsLocationsClient

A new Locations.LocationsClient for the same target as this client.

CreateOperationsClient()

public virtual Operations.OperationsClient CreateOperationsClient()

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

Returns
Type Description
OperationsOperationsClient

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

DeleteInternalRange(DeleteInternalRangeRequest, CallOptions)

public virtual Operation DeleteInternalRange(DeleteInternalRangeRequest request, CallOptions options)

Deletes a single internal range.

Parameters
Name Description
request DeleteInternalRangeRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

DeleteInternalRange(DeleteInternalRangeRequest, Metadata, DateTime?, CancellationToken)

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

Deletes a single internal range.

Parameters
Name Description
request DeleteInternalRangeRequest

The request to send to the server.

headers Metadata

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

deadline System.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.

DeleteInternalRangeAsync(DeleteInternalRangeRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteInternalRangeAsync(DeleteInternalRangeRequest request, CallOptions options)

Deletes a single internal range.

Parameters
Name Description
request DeleteInternalRangeRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

DeleteInternalRangeAsync(DeleteInternalRangeRequest, Metadata, DateTime?, CancellationToken)

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

Deletes a single internal range.

Parameters
Name Description
request DeleteInternalRangeRequest

The request to send to the server.

headers Metadata

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

deadline System.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.

GetInternalRange(GetInternalRangeRequest, CallOptions)

public virtual InternalRange GetInternalRange(GetInternalRangeRequest request, CallOptions options)

Gets details of a single internal range.

Parameters
Name Description
request GetInternalRangeRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
InternalRange

The response received from the server.

GetInternalRange(GetInternalRangeRequest, Metadata, DateTime?, CancellationToken)

public virtual InternalRange GetInternalRange(GetInternalRangeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details of a single internal range.

Parameters
Name Description
request GetInternalRangeRequest

The request to send to the server.

headers Metadata

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

deadline System.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
InternalRange

The response received from the server.

GetInternalRangeAsync(GetInternalRangeRequest, CallOptions)

public virtual AsyncUnaryCall<InternalRange> GetInternalRangeAsync(GetInternalRangeRequest request, CallOptions options)

Gets details of a single internal range.

Parameters
Name Description
request GetInternalRangeRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallInternalRange

The call object.

GetInternalRangeAsync(GetInternalRangeRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<InternalRange> GetInternalRangeAsync(GetInternalRangeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details of a single internal range.

Parameters
Name Description
request GetInternalRangeRequest

The request to send to the server.

headers Metadata

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

deadline System.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
AsyncUnaryCallInternalRange

The call object.

ListInternalRanges(ListInternalRangesRequest, CallOptions)

public virtual ListInternalRangesResponse ListInternalRanges(ListInternalRangesRequest request, CallOptions options)

Lists internal ranges in a given project and location.

Parameters
Name Description
request ListInternalRangesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListInternalRangesResponse

The response received from the server.

ListInternalRanges(ListInternalRangesRequest, Metadata, DateTime?, CancellationToken)

public virtual ListInternalRangesResponse ListInternalRanges(ListInternalRangesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists internal ranges in a given project and location.

Parameters
Name Description
request ListInternalRangesRequest

The request to send to the server.

headers Metadata

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

deadline System.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
ListInternalRangesResponse

The response received from the server.

ListInternalRangesAsync(ListInternalRangesRequest, CallOptions)

public virtual AsyncUnaryCall<ListInternalRangesResponse> ListInternalRangesAsync(ListInternalRangesRequest request, CallOptions options)

Lists internal ranges in a given project and location.

Parameters
Name Description
request ListInternalRangesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListInternalRangesResponse

The call object.

ListInternalRangesAsync(ListInternalRangesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListInternalRangesResponse> ListInternalRangesAsync(ListInternalRangesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists internal ranges in a given project and location.

Parameters
Name Description
request ListInternalRangesRequest

The request to send to the server.

headers Metadata

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

deadline System.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
AsyncUnaryCallListInternalRangesResponse

The call object.

NewInstance(ClientBaseConfiguration)

protected override InternalRangeService.InternalRangeServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration
Returns
Type Description
InternalRangeServiceInternalRangeServiceClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.NetworkConnectivity.V1.InternalRangeService.InternalRangeServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

UpdateInternalRange(UpdateInternalRangeRequest, CallOptions)

public virtual Operation UpdateInternalRange(UpdateInternalRangeRequest request, CallOptions options)

Updates the parameters of a single internal range.

Parameters
Name Description
request UpdateInternalRangeRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

UpdateInternalRange(UpdateInternalRangeRequest, Metadata, DateTime?, CancellationToken)

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

Updates the parameters of a single internal range.

Parameters
Name Description
request UpdateInternalRangeRequest

The request to send to the server.

headers Metadata

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

deadline System.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.

UpdateInternalRangeAsync(UpdateInternalRangeRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> UpdateInternalRangeAsync(UpdateInternalRangeRequest request, CallOptions options)

Updates the parameters of a single internal range.

Parameters
Name Description
request UpdateInternalRangeRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

UpdateInternalRangeAsync(UpdateInternalRangeRequest, Metadata, DateTime?, CancellationToken)

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

Updates the parameters of a single internal range.

Parameters
Name Description
request UpdateInternalRangeRequest

The request to send to the server.

headers Metadata

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

deadline System.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.