Class RegionNetworkEndpointGroups.RegionNetworkEndpointGroupsClient (1.1.0)

public class RegionNetworkEndpointGroupsClient : ClientBase<RegionNetworkEndpointGroups.RegionNetworkEndpointGroupsClient>

Client for RegionNetworkEndpointGroups

Inheritance

Object > ClientBase > ClientBase<RegionNetworkEndpointGroups.RegionNetworkEndpointGroupsClient> > RegionNetworkEndpointGroups.RegionNetworkEndpointGroupsClient

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

RegionNetworkEndpointGroupsClient()

protected RegionNetworkEndpointGroupsClient()

Protected parameterless constructor to allow creation of test doubles.

RegionNetworkEndpointGroupsClient(CallInvoker)

public RegionNetworkEndpointGroupsClient(CallInvoker callInvoker)

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

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

RegionNetworkEndpointGroupsClient(ChannelBase)

public RegionNetworkEndpointGroupsClient(ChannelBase channel)

Creates a new client for RegionNetworkEndpointGroups

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

RegionNetworkEndpointGroupsClient(ClientBase.ClientBaseConfiguration)

protected RegionNetworkEndpointGroupsClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

The client configuration.

Methods

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

public virtual Operation Delete(DeleteRegionNetworkEndpointGroupRequest request, CallOptions options)

Deletes the specified network endpoint group. Note that the NEG cannot be deleted if it is configured as a backend of a backend service.

Parameters
NameDescription
requestDeleteRegionNetworkEndpointGroupRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

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

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

Deletes the specified network endpoint group. Note that the NEG cannot be deleted if it is configured as a backend of a backend service.

Parameters
NameDescription
requestDeleteRegionNetworkEndpointGroupRequest

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

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

Deletes the specified network endpoint group. Note that the NEG cannot be deleted if it is configured as a backend of a backend service.

Parameters
NameDescription
requestDeleteRegionNetworkEndpointGroupRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

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

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

Deletes the specified network endpoint group. Note that the NEG cannot be deleted if it is configured as a backend of a backend service.

Parameters
NameDescription
requestDeleteRegionNetworkEndpointGroupRequest

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

public virtual NetworkEndpointGroup Get(GetRegionNetworkEndpointGroupRequest request, CallOptions options)

Returns the specified network endpoint group. Gets a list of available network endpoint groups by making a list() request.

Parameters
NameDescription
requestGetRegionNetworkEndpointGroupRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
NetworkEndpointGroup

The response received from the server.

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

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

Returns the specified network endpoint group. Gets a list of available network endpoint groups by making a list() request.

Parameters
NameDescription
requestGetRegionNetworkEndpointGroupRequest

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
NetworkEndpointGroup

The response received from the server.

GetAsync(GetRegionNetworkEndpointGroupRequest, CallOptions)

public virtual AsyncUnaryCall<NetworkEndpointGroup> GetAsync(GetRegionNetworkEndpointGroupRequest request, CallOptions options)

Returns the specified network endpoint group. Gets a list of available network endpoint groups by making a list() request.

Parameters
NameDescription
requestGetRegionNetworkEndpointGroupRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<NetworkEndpointGroup>

The call object.

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

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

Returns the specified network endpoint group. Gets a list of available network endpoint groups by making a list() request.

Parameters
NameDescription
requestGetRegionNetworkEndpointGroupRequest

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

The call object.

Insert(InsertRegionNetworkEndpointGroupRequest, CallOptions)

public virtual Operation Insert(InsertRegionNetworkEndpointGroupRequest request, CallOptions options)

Creates a network endpoint group in the specified project using the parameters that are included in the request.

Parameters
NameDescription
requestInsertRegionNetworkEndpointGroupRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

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

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

Creates a network endpoint group in the specified project using the parameters that are included in the request.

Parameters
NameDescription
requestInsertRegionNetworkEndpointGroupRequest

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

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

Creates a network endpoint group in the specified project using the parameters that are included in the request.

Parameters
NameDescription
requestInsertRegionNetworkEndpointGroupRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

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

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

Creates a network endpoint group in the specified project using the parameters that are included in the request.

Parameters
NameDescription
requestInsertRegionNetworkEndpointGroupRequest

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

public virtual NetworkEndpointGroupList List(ListRegionNetworkEndpointGroupsRequest request, CallOptions options)

Retrieves the list of regional network endpoint groups available to the specified project in the given region.

Parameters
NameDescription
requestListRegionNetworkEndpointGroupsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
NetworkEndpointGroupList

The response received from the server.

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

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

Retrieves the list of regional network endpoint groups available to the specified project in the given region.

Parameters
NameDescription
requestListRegionNetworkEndpointGroupsRequest

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
NetworkEndpointGroupList

The response received from the server.

ListAsync(ListRegionNetworkEndpointGroupsRequest, CallOptions)

public virtual AsyncUnaryCall<NetworkEndpointGroupList> ListAsync(ListRegionNetworkEndpointGroupsRequest request, CallOptions options)

Retrieves the list of regional network endpoint groups available to the specified project in the given region.

Parameters
NameDescription
requestListRegionNetworkEndpointGroupsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<NetworkEndpointGroupList>

The call object.

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

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

Retrieves the list of regional network endpoint groups available to the specified project in the given region.

Parameters
NameDescription
requestListRegionNetworkEndpointGroupsRequest

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

The call object.

NewInstance(ClientBase.ClientBaseConfiguration)

protected override RegionNetworkEndpointGroups.RegionNetworkEndpointGroupsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

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