Class GlobalNetworkEndpointGroups.GlobalNetworkEndpointGroupsClient (2.1.0)

public class GlobalNetworkEndpointGroupsClient : ClientBase<GlobalNetworkEndpointGroups.GlobalNetworkEndpointGroupsClient>

Client for GlobalNetworkEndpointGroups

Inheritance

Object > ClientBase > ClientBase<GlobalNetworkEndpointGroups.GlobalNetworkEndpointGroupsClient> > GlobalNetworkEndpointGroups.GlobalNetworkEndpointGroupsClient

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

GlobalNetworkEndpointGroupsClient()

protected GlobalNetworkEndpointGroupsClient()

Protected parameterless constructor to allow creation of test doubles.

GlobalNetworkEndpointGroupsClient(CallInvoker)

public GlobalNetworkEndpointGroupsClient(CallInvoker callInvoker)

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

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

GlobalNetworkEndpointGroupsClient(ChannelBase)

public GlobalNetworkEndpointGroupsClient(ChannelBase channel)

Creates a new client for GlobalNetworkEndpointGroups

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

GlobalNetworkEndpointGroupsClient(ClientBase.ClientBaseConfiguration)

protected GlobalNetworkEndpointGroupsClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

The client configuration.

Methods

AttachNetworkEndpoints(AttachNetworkEndpointsGlobalNetworkEndpointGroupRequest, CallOptions)

public virtual Operation AttachNetworkEndpoints(AttachNetworkEndpointsGlobalNetworkEndpointGroupRequest request, CallOptions options)

Attach a network endpoint to the specified network endpoint group.

Parameters
NameDescription
requestAttachNetworkEndpointsGlobalNetworkEndpointGroupRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

AttachNetworkEndpoints(AttachNetworkEndpointsGlobalNetworkEndpointGroupRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Attach a network endpoint to the specified network endpoint group.

Parameters
NameDescription
requestAttachNetworkEndpointsGlobalNetworkEndpointGroupRequest

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.

AttachNetworkEndpointsAsync(AttachNetworkEndpointsGlobalNetworkEndpointGroupRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> AttachNetworkEndpointsAsync(AttachNetworkEndpointsGlobalNetworkEndpointGroupRequest request, CallOptions options)

Attach a network endpoint to the specified network endpoint group.

Parameters
NameDescription
requestAttachNetworkEndpointsGlobalNetworkEndpointGroupRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

AttachNetworkEndpointsAsync(AttachNetworkEndpointsGlobalNetworkEndpointGroupRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Attach a network endpoint to the specified network endpoint group.

Parameters
NameDescription
requestAttachNetworkEndpointsGlobalNetworkEndpointGroupRequest

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.

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

public virtual Operation Delete(DeleteGlobalNetworkEndpointGroupRequest request, CallOptions options)

Deletes the specified network endpoint group.Note that the NEG cannot be deleted if there are backend services referencing it.

Parameters
NameDescription
requestDeleteGlobalNetworkEndpointGroupRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

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

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

Deletes the specified network endpoint group.Note that the NEG cannot be deleted if there are backend services referencing it.

Parameters
NameDescription
requestDeleteGlobalNetworkEndpointGroupRequest

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

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

Deletes the specified network endpoint group.Note that the NEG cannot be deleted if there are backend services referencing it.

Parameters
NameDescription
requestDeleteGlobalNetworkEndpointGroupRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

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

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

Deletes the specified network endpoint group.Note that the NEG cannot be deleted if there are backend services referencing it.

Parameters
NameDescription
requestDeleteGlobalNetworkEndpointGroupRequest

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.

DetachNetworkEndpoints(DetachNetworkEndpointsGlobalNetworkEndpointGroupRequest, CallOptions)

public virtual Operation DetachNetworkEndpoints(DetachNetworkEndpointsGlobalNetworkEndpointGroupRequest request, CallOptions options)

Detach the network endpoint from the specified network endpoint group.

Parameters
NameDescription
requestDetachNetworkEndpointsGlobalNetworkEndpointGroupRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

DetachNetworkEndpoints(DetachNetworkEndpointsGlobalNetworkEndpointGroupRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Detach the network endpoint from the specified network endpoint group.

Parameters
NameDescription
requestDetachNetworkEndpointsGlobalNetworkEndpointGroupRequest

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.

DetachNetworkEndpointsAsync(DetachNetworkEndpointsGlobalNetworkEndpointGroupRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DetachNetworkEndpointsAsync(DetachNetworkEndpointsGlobalNetworkEndpointGroupRequest request, CallOptions options)

Detach the network endpoint from the specified network endpoint group.

Parameters
NameDescription
requestDetachNetworkEndpointsGlobalNetworkEndpointGroupRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

DetachNetworkEndpointsAsync(DetachNetworkEndpointsGlobalNetworkEndpointGroupRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Detach the network endpoint from the specified network endpoint group.

Parameters
NameDescription
requestDetachNetworkEndpointsGlobalNetworkEndpointGroupRequest

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

public virtual NetworkEndpointGroup Get(GetGlobalNetworkEndpointGroupRequest request, CallOptions options)

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

Parameters
NameDescription
requestGetGlobalNetworkEndpointGroupRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
NetworkEndpointGroup

The response received from the server.

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

public virtual NetworkEndpointGroup Get(GetGlobalNetworkEndpointGroupRequest request, Metadata headers = null, DateTime? deadline = null, 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
requestGetGlobalNetworkEndpointGroupRequest

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

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

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

Parameters
NameDescription
requestGetGlobalNetworkEndpointGroupRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<NetworkEndpointGroup>

The call object.

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

public virtual AsyncUnaryCall<NetworkEndpointGroup> GetAsync(GetGlobalNetworkEndpointGroupRequest request, Metadata headers = null, DateTime? deadline = null, 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
requestGetGlobalNetworkEndpointGroupRequest

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

public virtual Operation Insert(InsertGlobalNetworkEndpointGroupRequest request, CallOptions options)

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

Parameters
NameDescription
requestInsertGlobalNetworkEndpointGroupRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

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

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

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

Parameters
NameDescription
requestInsertGlobalNetworkEndpointGroupRequest

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

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

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

Parameters
NameDescription
requestInsertGlobalNetworkEndpointGroupRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

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

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

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

Parameters
NameDescription
requestInsertGlobalNetworkEndpointGroupRequest

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

public virtual NetworkEndpointGroupList List(ListGlobalNetworkEndpointGroupsRequest request, CallOptions options)

Retrieves the list of network endpoint groups that are located in the specified project.

Parameters
NameDescription
requestListGlobalNetworkEndpointGroupsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
NetworkEndpointGroupList

The response received from the server.

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

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

Retrieves the list of network endpoint groups that are located in the specified project.

Parameters
NameDescription
requestListGlobalNetworkEndpointGroupsRequest

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

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

Retrieves the list of network endpoint groups that are located in the specified project.

Parameters
NameDescription
requestListGlobalNetworkEndpointGroupsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<NetworkEndpointGroupList>

The call object.

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

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

Retrieves the list of network endpoint groups that are located in the specified project.

Parameters
NameDescription
requestListGlobalNetworkEndpointGroupsRequest

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.

ListNetworkEndpoints(ListNetworkEndpointsGlobalNetworkEndpointGroupsRequest, CallOptions)

public virtual NetworkEndpointGroupsListNetworkEndpoints ListNetworkEndpoints(ListNetworkEndpointsGlobalNetworkEndpointGroupsRequest request, CallOptions options)

Lists the network endpoints in the specified network endpoint group.

Parameters
NameDescription
requestListNetworkEndpointsGlobalNetworkEndpointGroupsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
NetworkEndpointGroupsListNetworkEndpoints

The response received from the server.

ListNetworkEndpoints(ListNetworkEndpointsGlobalNetworkEndpointGroupsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual NetworkEndpointGroupsListNetworkEndpoints ListNetworkEndpoints(ListNetworkEndpointsGlobalNetworkEndpointGroupsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Lists the network endpoints in the specified network endpoint group.

Parameters
NameDescription
requestListNetworkEndpointsGlobalNetworkEndpointGroupsRequest

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
NetworkEndpointGroupsListNetworkEndpoints

The response received from the server.

ListNetworkEndpointsAsync(ListNetworkEndpointsGlobalNetworkEndpointGroupsRequest, CallOptions)

public virtual AsyncUnaryCall<NetworkEndpointGroupsListNetworkEndpoints> ListNetworkEndpointsAsync(ListNetworkEndpointsGlobalNetworkEndpointGroupsRequest request, CallOptions options)

Lists the network endpoints in the specified network endpoint group.

Parameters
NameDescription
requestListNetworkEndpointsGlobalNetworkEndpointGroupsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<NetworkEndpointGroupsListNetworkEndpoints>

The call object.

ListNetworkEndpointsAsync(ListNetworkEndpointsGlobalNetworkEndpointGroupsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<NetworkEndpointGroupsListNetworkEndpoints> ListNetworkEndpointsAsync(ListNetworkEndpointsGlobalNetworkEndpointGroupsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Lists the network endpoints in the specified network endpoint group.

Parameters
NameDescription
requestListNetworkEndpointsGlobalNetworkEndpointGroupsRequest

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

The call object.

NewInstance(ClientBase.ClientBaseConfiguration)

protected override GlobalNetworkEndpointGroups.GlobalNetworkEndpointGroupsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

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