Compute Engine v1 API - Class NetworkEndpointGroups.NetworkEndpointGroupsClient (2.3.0)

public class NetworkEndpointGroupsClient : ClientBase<NetworkEndpointGroups.NetworkEndpointGroupsClient>

Reference documentation and code samples for the Compute Engine v1 API class NetworkEndpointGroups.NetworkEndpointGroupsClient.

Client for NetworkEndpointGroups

Inheritance

Object > ClientBase > ClientBase<NetworkEndpointGroups.NetworkEndpointGroupsClient> > NetworkEndpointGroups.NetworkEndpointGroupsClient

Namespace

Google.Cloud.Compute.V1

Assembly

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
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

NetworkEndpointGroupsClient(ChannelBase)

public NetworkEndpointGroupsClient(ChannelBase channel)

Creates a new client for NetworkEndpointGroups

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

NetworkEndpointGroupsClient(ClientBase.ClientBaseConfiguration)

protected NetworkEndpointGroupsClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

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
NameDescription
requestAggregatedListNetworkEndpointGroupsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
NetworkEndpointGroupAggregatedList

The response received from the server.

AggregatedList(AggregatedListNetworkEndpointGroupsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual NetworkEndpointGroupAggregatedList AggregatedList(AggregatedListNetworkEndpointGroupsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Retrieves the list of network endpoint groups and sorts them by zone.

Parameters
NameDescription
requestAggregatedListNetworkEndpointGroupsRequest

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
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
NameDescription
requestAggregatedListNetworkEndpointGroupsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<NetworkEndpointGroupAggregatedList>

The call object.

AggregatedListAsync(AggregatedListNetworkEndpointGroupsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<NetworkEndpointGroupAggregatedList> AggregatedListAsync(AggregatedListNetworkEndpointGroupsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Retrieves the list of network endpoint groups and sorts them by zone.

Parameters
NameDescription
requestAggregatedListNetworkEndpointGroupsRequest

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

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
NameDescription
requestAttachNetworkEndpointsNetworkEndpointGroupRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

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

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

Attach a list of network endpoints to the specified network endpoint group.

Parameters
NameDescription
requestAttachNetworkEndpointsNetworkEndpointGroupRequest

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

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

Attach a list of network endpoints to the specified network endpoint group.

Parameters
NameDescription
requestAttachNetworkEndpointsNetworkEndpointGroupRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

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

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

Attach a list of network endpoints to the specified network endpoint group.

Parameters
NameDescription
requestAttachNetworkEndpointsNetworkEndpointGroupRequest

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.

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
TypeDescription
Operations.OperationsClient

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
NameDescription
requestDeleteNetworkEndpointGroupRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

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

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

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
NameDescription
requestDeleteNetworkEndpointGroupRequest

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(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
NameDescription
requestDeleteNetworkEndpointGroupRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

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

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

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
NameDescription
requestDeleteNetworkEndpointGroupRequest

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

public virtual Operation DetachNetworkEndpoints(DetachNetworkEndpointsNetworkEndpointGroupRequest request, CallOptions options)

Detach a list of network endpoints from the specified network endpoint group.

Parameters
NameDescription
requestDetachNetworkEndpointsNetworkEndpointGroupRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

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

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

Detach a list of network endpoints from the specified network endpoint group.

Parameters
NameDescription
requestDetachNetworkEndpointsNetworkEndpointGroupRequest

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

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

Detach a list of network endpoints from the specified network endpoint group.

Parameters
NameDescription
requestDetachNetworkEndpointsNetworkEndpointGroupRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

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

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

Detach a list of network endpoints from the specified network endpoint group.

Parameters
NameDescription
requestDetachNetworkEndpointsNetworkEndpointGroupRequest

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

public virtual NetworkEndpointGroup Get(GetNetworkEndpointGroupRequest request, CallOptions options)

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

Parameters
NameDescription
requestGetNetworkEndpointGroupRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
NetworkEndpointGroup

The response received from the server.

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

public virtual NetworkEndpointGroup Get(GetNetworkEndpointGroupRequest 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
requestGetNetworkEndpointGroupRequest

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

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

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

Parameters
NameDescription
requestGetNetworkEndpointGroupRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<NetworkEndpointGroup>

The call object.

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

public virtual AsyncUnaryCall<NetworkEndpointGroup> GetAsync(GetNetworkEndpointGroupRequest 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
requestGetNetworkEndpointGroupRequest

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(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
NameDescription
requestInsertNetworkEndpointGroupRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

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

public virtual Operation Insert(InsertNetworkEndpointGroupRequest 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
requestInsertNetworkEndpointGroupRequest

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(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
NameDescription
requestInsertNetworkEndpointGroupRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

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

public virtual AsyncUnaryCall<Operation> InsertAsync(InsertNetworkEndpointGroupRequest 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
requestInsertNetworkEndpointGroupRequest

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(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
NameDescription
requestListNetworkEndpointGroupsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
NetworkEndpointGroupList

The response received from the server.

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

public virtual NetworkEndpointGroupList List(ListNetworkEndpointGroupsRequest 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 and zone.

Parameters
NameDescription
requestListNetworkEndpointGroupsRequest

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(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
NameDescription
requestListNetworkEndpointGroupsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<NetworkEndpointGroupList>

The call object.

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

public virtual AsyncUnaryCall<NetworkEndpointGroupList> ListAsync(ListNetworkEndpointGroupsRequest 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 and zone.

Parameters
NameDescription
requestListNetworkEndpointGroupsRequest

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

public virtual NetworkEndpointGroupsListNetworkEndpoints ListNetworkEndpoints(ListNetworkEndpointsNetworkEndpointGroupsRequest request, CallOptions options)

Lists the network endpoints in the specified network endpoint group.

Parameters
NameDescription
requestListNetworkEndpointsNetworkEndpointGroupsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
NetworkEndpointGroupsListNetworkEndpoints

The response received from the server.

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

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

Lists the network endpoints in the specified network endpoint group.

Parameters
NameDescription
requestListNetworkEndpointsNetworkEndpointGroupsRequest

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

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

Lists the network endpoints in the specified network endpoint group.

Parameters
NameDescription
requestListNetworkEndpointsNetworkEndpointGroupsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<NetworkEndpointGroupsListNetworkEndpoints>

The call object.

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

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

Lists the network endpoints in the specified network endpoint group.

Parameters
NameDescription
requestListNetworkEndpointsNetworkEndpointGroupsRequest

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 NetworkEndpointGroups.NetworkEndpointGroupsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

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

TestIamPermissions(TestIamPermissionsNetworkEndpointGroupRequest, CallOptions)

public virtual TestPermissionsResponse TestIamPermissions(TestIamPermissionsNetworkEndpointGroupRequest request, CallOptions options)

Returns permissions that a caller has on the specified resource.

Parameters
NameDescription
requestTestIamPermissionsNetworkEndpointGroupRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
TestPermissionsResponse

The response received from the server.

TestIamPermissions(TestIamPermissionsNetworkEndpointGroupRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual TestPermissionsResponse TestIamPermissions(TestIamPermissionsNetworkEndpointGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Returns permissions that a caller has on the specified resource.

Parameters
NameDescription
requestTestIamPermissionsNetworkEndpointGroupRequest

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
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
NameDescription
requestTestIamPermissionsNetworkEndpointGroupRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<TestPermissionsResponse>

The call object.

TestIamPermissionsAsync(TestIamPermissionsNetworkEndpointGroupRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<TestPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsNetworkEndpointGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Returns permissions that a caller has on the specified resource.

Parameters
NameDescription
requestTestIamPermissionsNetworkEndpointGroupRequest

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

The call object.