public class NetworkEndpointGroups.NetworkEndpointGroupsClient : ClientBase<NetworkEndpointGroups.NetworkEndpointGroupsClient>
Reference documentation and code samples for the Compute Engine v1 API class NetworkEndpointGroups.NetworkEndpointGroupsClient.
Client for NetworkEndpointGroups
Inheritance
object > ClientBase > ClientBaseNetworkEndpointGroupsNetworkEndpointGroupsClient > NetworkEndpointGroups.NetworkEndpointGroupsClientNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
NetworkEndpointGroupsClient()
protected NetworkEndpointGroupsClient()
Protected parameterless constructor to allow creation of test doubles.
NetworkEndpointGroupsClient(CallInvoker)
public NetworkEndpointGroupsClient(CallInvoker callInvoker)
Creates a new client for NetworkEndpointGroups that uses a custom CallInvoker
.
Parameter | |
---|---|
Name | Description |
callInvoker | CallInvoker The callInvoker to use to make remote calls. |
NetworkEndpointGroupsClient(ChannelBase)
public NetworkEndpointGroupsClient(ChannelBase channel)
Creates a new client for NetworkEndpointGroups
Parameter | |
---|---|
Name | Description |
channel | ChannelBase The channel to use to make remote calls. |
NetworkEndpointGroupsClient(ClientBaseConfiguration)
protected NetworkEndpointGroupsClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBaseClientBaseConfiguration The client configuration. |
Methods
AggregatedList(AggregatedListNetworkEndpointGroupsRequest, CallOptions)
public virtual NetworkEndpointGroupAggregatedList AggregatedList(AggregatedListNetworkEndpointGroupsRequest request, CallOptions options)
Retrieves the list of network endpoint groups and sorts them by zone.
Parameters | |
---|---|
Name | Description |
request | AggregatedListNetworkEndpointGroupsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
NetworkEndpointGroupAggregatedList | The response received from the server. |
AggregatedList(AggregatedListNetworkEndpointGroupsRequest, Metadata, DateTime?, CancellationToken)
public virtual NetworkEndpointGroupAggregatedList AggregatedList(AggregatedListNetworkEndpointGroupsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Retrieves the list of network endpoint groups and sorts them by zone.
Parameters | |
---|---|
Name | Description |
request | AggregatedListNetworkEndpointGroupsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | 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 |
NetworkEndpointGroupAggregatedList | The response received from the server. |
AggregatedListAsync(AggregatedListNetworkEndpointGroupsRequest, CallOptions)
public virtual AsyncUnaryCall<NetworkEndpointGroupAggregatedList> AggregatedListAsync(AggregatedListNetworkEndpointGroupsRequest request, CallOptions options)
Retrieves the list of network endpoint groups and sorts them by zone.
Parameters | |
---|---|
Name | Description |
request | AggregatedListNetworkEndpointGroupsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallNetworkEndpointGroupAggregatedList | The call object. |
AggregatedListAsync(AggregatedListNetworkEndpointGroupsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<NetworkEndpointGroupAggregatedList> AggregatedListAsync(AggregatedListNetworkEndpointGroupsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Retrieves the list of network endpoint groups and sorts them by zone.
Parameters | |
---|---|
Name | Description |
request | AggregatedListNetworkEndpointGroupsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | 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 |
AsyncUnaryCallNetworkEndpointGroupAggregatedList | The call object. |
AttachNetworkEndpoints(AttachNetworkEndpointsNetworkEndpointGroupRequest, CallOptions)
public virtual Operation AttachNetworkEndpoints(AttachNetworkEndpointsNetworkEndpointGroupRequest request, CallOptions options)
Attach a list of network endpoints to the specified network endpoint group.
Parameters | |
---|---|
Name | Description |
request | AttachNetworkEndpointsNetworkEndpointGroupRequest 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(AttachNetworkEndpointsNetworkEndpointGroupRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation AttachNetworkEndpoints(AttachNetworkEndpointsNetworkEndpointGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Attach a list of network endpoints to the specified network endpoint group.
Parameters | |
---|---|
Name | Description |
request | AttachNetworkEndpointsNetworkEndpointGroupRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | 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(AttachNetworkEndpointsNetworkEndpointGroupRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> AttachNetworkEndpointsAsync(AttachNetworkEndpointsNetworkEndpointGroupRequest request, CallOptions options)
Attach a list of network endpoints to the specified network endpoint group.
Parameters | |
---|---|
Name | Description |
request | AttachNetworkEndpointsNetworkEndpointGroupRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |
AttachNetworkEndpointsAsync(AttachNetworkEndpointsNetworkEndpointGroupRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> AttachNetworkEndpointsAsync(AttachNetworkEndpointsNetworkEndpointGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Attach a list of network endpoints to the specified network endpoint group.
Parameters | |
---|---|
Name | Description |
request | AttachNetworkEndpointsNetworkEndpointGroupRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | 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. |
CreateOperationsClientForZoneOperations()
public virtual Operations.OperationsClient CreateOperationsClientForZoneOperations()
Creates a new instance of Operations.OperationsClient using the same call invoker as this client, delegating to ZoneOperations.
Returns | |
---|---|
Type | Description |
OperationsOperationsClient | A new Operations client for the same target as this client. |
Delete(DeleteNetworkEndpointGroupRequest, CallOptions)
public virtual Operation Delete(DeleteNetworkEndpointGroupRequest request, CallOptions options)
Deletes the specified network endpoint group. The network endpoints in the NEG and the VM instances they belong to are not terminated when the NEG is deleted. Note that the NEG cannot be deleted if there are backend services referencing it.
Parameters | |
---|---|
Name | Description |
request | DeleteNetworkEndpointGroupRequest 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(DeleteNetworkEndpointGroupRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation Delete(DeleteNetworkEndpointGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Deletes the specified network endpoint group. The network endpoints in the NEG and the VM instances they belong to are not terminated when the NEG is deleted. Note that the NEG cannot be deleted if there are backend services referencing it.
Parameters | |
---|---|
Name | Description |
request | DeleteNetworkEndpointGroupRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | 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(DeleteNetworkEndpointGroupRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteNetworkEndpointGroupRequest request, CallOptions options)
Deletes the specified network endpoint group. The network endpoints in the NEG and the VM instances they belong to are not terminated when the NEG is deleted. Note that the NEG cannot be deleted if there are backend services referencing it.
Parameters | |
---|---|
Name | Description |
request | DeleteNetworkEndpointGroupRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |
DeleteAsync(DeleteNetworkEndpointGroupRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteNetworkEndpointGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Deletes the specified network endpoint group. The network endpoints in the NEG and the VM instances they belong to are not terminated when the NEG is deleted. Note that the NEG cannot be deleted if there are backend services referencing it.
Parameters | |
---|---|
Name | Description |
request | DeleteNetworkEndpointGroupRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | 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. |
DetachNetworkEndpoints(DetachNetworkEndpointsNetworkEndpointGroupRequest, CallOptions)
public virtual Operation DetachNetworkEndpoints(DetachNetworkEndpointsNetworkEndpointGroupRequest request, CallOptions options)
Detach a list of network endpoints from the specified network endpoint group.
Parameters | |
---|---|
Name | Description |
request | DetachNetworkEndpointsNetworkEndpointGroupRequest 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(DetachNetworkEndpointsNetworkEndpointGroupRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation DetachNetworkEndpoints(DetachNetworkEndpointsNetworkEndpointGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Detach a list of network endpoints from the specified network endpoint group.
Parameters | |
---|---|
Name | Description |
request | DetachNetworkEndpointsNetworkEndpointGroupRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | 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(DetachNetworkEndpointsNetworkEndpointGroupRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DetachNetworkEndpointsAsync(DetachNetworkEndpointsNetworkEndpointGroupRequest request, CallOptions options)
Detach a list of network endpoints from the specified network endpoint group.
Parameters | |
---|---|
Name | Description |
request | DetachNetworkEndpointsNetworkEndpointGroupRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |
DetachNetworkEndpointsAsync(DetachNetworkEndpointsNetworkEndpointGroupRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> DetachNetworkEndpointsAsync(DetachNetworkEndpointsNetworkEndpointGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Detach a list of network endpoints from the specified network endpoint group.
Parameters | |
---|---|
Name | Description |
request | DetachNetworkEndpointsNetworkEndpointGroupRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | 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. |
Get(GetNetworkEndpointGroupRequest, CallOptions)
public virtual NetworkEndpointGroup Get(GetNetworkEndpointGroupRequest request, CallOptions options)
Returns the specified network endpoint group.
Parameters | |
---|---|
Name | Description |
request | GetNetworkEndpointGroupRequest 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(GetNetworkEndpointGroupRequest, Metadata, DateTime?, CancellationToken)
public virtual NetworkEndpointGroup Get(GetNetworkEndpointGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Returns the specified network endpoint group.
Parameters | |
---|---|
Name | Description |
request | GetNetworkEndpointGroupRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | 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(GetNetworkEndpointGroupRequest, CallOptions)
public virtual AsyncUnaryCall<NetworkEndpointGroup> GetAsync(GetNetworkEndpointGroupRequest request, CallOptions options)
Returns the specified network endpoint group.
Parameters | |
---|---|
Name | Description |
request | GetNetworkEndpointGroupRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallNetworkEndpointGroup | The call object. |
GetAsync(GetNetworkEndpointGroupRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<NetworkEndpointGroup> GetAsync(GetNetworkEndpointGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Returns the specified network endpoint group.
Parameters | |
---|---|
Name | Description |
request | GetNetworkEndpointGroupRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | 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 |
AsyncUnaryCallNetworkEndpointGroup | The call object. |
Insert(InsertNetworkEndpointGroupRequest, CallOptions)
public virtual Operation Insert(InsertNetworkEndpointGroupRequest 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 | InsertNetworkEndpointGroupRequest 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(InsertNetworkEndpointGroupRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation Insert(InsertNetworkEndpointGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Creates a network endpoint group in the specified project using the parameters that are included in the request.
Parameters | |
---|---|
Name | Description |
request | InsertNetworkEndpointGroupRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | 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(InsertNetworkEndpointGroupRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> InsertAsync(InsertNetworkEndpointGroupRequest 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 | InsertNetworkEndpointGroupRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |
InsertAsync(InsertNetworkEndpointGroupRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> InsertAsync(InsertNetworkEndpointGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Creates a network endpoint group in the specified project using the parameters that are included in the request.
Parameters | |
---|---|
Name | Description |
request | InsertNetworkEndpointGroupRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | 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. |
List(ListNetworkEndpointGroupsRequest, CallOptions)
public virtual NetworkEndpointGroupList List(ListNetworkEndpointGroupsRequest request, CallOptions options)
Retrieves the list of network endpoint groups that are located in the specified project and zone.
Parameters | |
---|---|
Name | Description |
request | ListNetworkEndpointGroupsRequest 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(ListNetworkEndpointGroupsRequest, Metadata, DateTime?, CancellationToken)
public virtual NetworkEndpointGroupList List(ListNetworkEndpointGroupsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Retrieves the list of network endpoint groups that are located in the specified project and zone.
Parameters | |
---|---|
Name | Description |
request | ListNetworkEndpointGroupsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | 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(ListNetworkEndpointGroupsRequest, CallOptions)
public virtual AsyncUnaryCall<NetworkEndpointGroupList> ListAsync(ListNetworkEndpointGroupsRequest request, CallOptions options)
Retrieves the list of network endpoint groups that are located in the specified project and zone.
Parameters | |
---|---|
Name | Description |
request | ListNetworkEndpointGroupsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallNetworkEndpointGroupList | The call object. |
ListAsync(ListNetworkEndpointGroupsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<NetworkEndpointGroupList> ListAsync(ListNetworkEndpointGroupsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Retrieves the list of network endpoint groups that are located in the specified project and zone.
Parameters | |
---|---|
Name | Description |
request | ListNetworkEndpointGroupsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | 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 |
AsyncUnaryCallNetworkEndpointGroupList | The call object. |
ListNetworkEndpoints(ListNetworkEndpointsNetworkEndpointGroupsRequest, CallOptions)
public virtual NetworkEndpointGroupsListNetworkEndpoints ListNetworkEndpoints(ListNetworkEndpointsNetworkEndpointGroupsRequest request, CallOptions options)
Lists the network endpoints in the specified network endpoint group.
Parameters | |
---|---|
Name | Description |
request | ListNetworkEndpointsNetworkEndpointGroupsRequest 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(ListNetworkEndpointsNetworkEndpointGroupsRequest, Metadata, DateTime?, CancellationToken)
public virtual NetworkEndpointGroupsListNetworkEndpoints ListNetworkEndpoints(ListNetworkEndpointsNetworkEndpointGroupsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Lists the network endpoints in the specified network endpoint group.
Parameters | |
---|---|
Name | Description |
request | ListNetworkEndpointsNetworkEndpointGroupsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | 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(ListNetworkEndpointsNetworkEndpointGroupsRequest, CallOptions)
public virtual AsyncUnaryCall<NetworkEndpointGroupsListNetworkEndpoints> ListNetworkEndpointsAsync(ListNetworkEndpointsNetworkEndpointGroupsRequest request, CallOptions options)
Lists the network endpoints in the specified network endpoint group.
Parameters | |
---|---|
Name | Description |
request | ListNetworkEndpointsNetworkEndpointGroupsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallNetworkEndpointGroupsListNetworkEndpoints | The call object. |
ListNetworkEndpointsAsync(ListNetworkEndpointsNetworkEndpointGroupsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<NetworkEndpointGroupsListNetworkEndpoints> ListNetworkEndpointsAsync(ListNetworkEndpointsNetworkEndpointGroupsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Lists the network endpoints in the specified network endpoint group.
Parameters | |
---|---|
Name | Description |
request | ListNetworkEndpointsNetworkEndpointGroupsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | 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 |
AsyncUnaryCallNetworkEndpointGroupsListNetworkEndpoints | The call object. |
NewInstance(ClientBaseConfiguration)
protected override NetworkEndpointGroups.NetworkEndpointGroupsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration | ClientBaseClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
NetworkEndpointGroupsNetworkEndpointGroupsClient |
TestIamPermissions(TestIamPermissionsNetworkEndpointGroupRequest, CallOptions)
public virtual TestPermissionsResponse TestIamPermissions(TestIamPermissionsNetworkEndpointGroupRequest request, CallOptions options)
Returns permissions that a caller has on the specified resource.
Parameters | |
---|---|
Name | Description |
request | TestIamPermissionsNetworkEndpointGroupRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
TestPermissionsResponse | The response received from the server. |
TestIamPermissions(TestIamPermissionsNetworkEndpointGroupRequest, Metadata, DateTime?, CancellationToken)
public virtual TestPermissionsResponse TestIamPermissions(TestIamPermissionsNetworkEndpointGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Returns permissions that a caller has on the specified resource.
Parameters | |
---|---|
Name | Description |
request | TestIamPermissionsNetworkEndpointGroupRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | 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 |
TestPermissionsResponse | The response received from the server. |
TestIamPermissionsAsync(TestIamPermissionsNetworkEndpointGroupRequest, CallOptions)
public virtual AsyncUnaryCall<TestPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsNetworkEndpointGroupRequest request, CallOptions options)
Returns permissions that a caller has on the specified resource.
Parameters | |
---|---|
Name | Description |
request | TestIamPermissionsNetworkEndpointGroupRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallTestPermissionsResponse | The call object. |
TestIamPermissionsAsync(TestIamPermissionsNetworkEndpointGroupRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<TestPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsNetworkEndpointGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Returns permissions that a caller has on the specified resource.
Parameters | |
---|---|
Name | Description |
request | TestIamPermissionsNetworkEndpointGroupRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | 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 |
AsyncUnaryCallTestPermissionsResponse | The call object. |