public class GlobalNetworkEndpointGroupsClient : ClientBase<GlobalNetworkEndpointGroups.GlobalNetworkEndpointGroupsClient>
Reference documentation and code samples for the Compute Engine v1 API class GlobalNetworkEndpointGroups.GlobalNetworkEndpointGroupsClient.
Client for GlobalNetworkEndpointGroups
Inheritance
Object > ClientBase > ClientBase<GlobalNetworkEndpointGroups.GlobalNetworkEndpointGroupsClient> > GlobalNetworkEndpointGroups.GlobalNetworkEndpointGroupsClientNamespace
Google.Cloud.Compute.V1Assembly
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 | |
---|---|
Name | Description |
callInvoker | CallInvoker The callInvoker to use to make remote calls. |
GlobalNetworkEndpointGroupsClient(ChannelBase)
public GlobalNetworkEndpointGroupsClient(ChannelBase channel)
Creates a new client for GlobalNetworkEndpointGroups
Parameter | |
---|---|
Name | Description |
channel | ChannelBase 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 | |
---|---|
Name | Description |
configuration | ClientBase.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 | |
---|---|
Name | Description |
request | AttachNetworkEndpointsGlobalNetworkEndpointGroupRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | AttachNetworkEndpointsGlobalNetworkEndpointGroupRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<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. |
AttachNetworkEndpointsAsync(AttachNetworkEndpointsGlobalNetworkEndpointGroupRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> AttachNetworkEndpointsAsync(AttachNetworkEndpointsGlobalNetworkEndpointGroupRequest request, CallOptions options)
Attach a network endpoint to the specified network endpoint group.
Parameters | |
---|---|
Name | Description |
request | AttachNetworkEndpointsGlobalNetworkEndpointGroupRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | AttachNetworkEndpointsGlobalNetworkEndpointGroupRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<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 |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | DeleteGlobalNetworkEndpointGroupRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | DeleteGlobalNetworkEndpointGroupRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<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. |
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 | |
---|---|
Name | Description |
request | DeleteGlobalNetworkEndpointGroupRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | DeleteGlobalNetworkEndpointGroupRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<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 |
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 | |
---|---|
Name | Description |
request | DetachNetworkEndpointsGlobalNetworkEndpointGroupRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | DetachNetworkEndpointsGlobalNetworkEndpointGroupRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<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. |
DetachNetworkEndpointsAsync(DetachNetworkEndpointsGlobalNetworkEndpointGroupRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DetachNetworkEndpointsAsync(DetachNetworkEndpointsGlobalNetworkEndpointGroupRequest request, CallOptions options)
Detach the network endpoint from the specified network endpoint group.
Parameters | |
---|---|
Name | Description |
request | DetachNetworkEndpointsGlobalNetworkEndpointGroupRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | DetachNetworkEndpointsGlobalNetworkEndpointGroupRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<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 |
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 | |
---|---|
Name | Description |
request | GetGlobalNetworkEndpointGroupRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GetGlobalNetworkEndpointGroupRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<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 |
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 | |
---|---|
Name | Description |
request | GetGlobalNetworkEndpointGroupRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GetGlobalNetworkEndpointGroupRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<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 |
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 | |
---|---|
Name | Description |
request | InsertGlobalNetworkEndpointGroupRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | InsertGlobalNetworkEndpointGroupRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<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. |
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 | |
---|---|
Name | Description |
request | InsertGlobalNetworkEndpointGroupRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | InsertGlobalNetworkEndpointGroupRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<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 |
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 | |
---|---|
Name | Description |
request | ListGlobalNetworkEndpointGroupsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListGlobalNetworkEndpointGroupsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<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 |
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 | |
---|---|
Name | Description |
request | ListGlobalNetworkEndpointGroupsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListGlobalNetworkEndpointGroupsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<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 |
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 | |
---|---|
Name | Description |
request | ListNetworkEndpointsGlobalNetworkEndpointGroupsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListNetworkEndpointsGlobalNetworkEndpointGroupsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<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 |
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 | |
---|---|
Name | Description |
request | ListNetworkEndpointsGlobalNetworkEndpointGroupsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListNetworkEndpointsGlobalNetworkEndpointGroupsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<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 |
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 | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
GlobalNetworkEndpointGroups.GlobalNetworkEndpointGroupsClient |