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

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.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(ClientBaseConfiguration)

protected NetworkEndpointGroupsClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

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

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

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

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

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

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

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

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

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

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

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

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

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
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
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, 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
NameDescription
requestDetachNetworkEndpointsNetworkEndpointGroupRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

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

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

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
AsyncUnaryCallOperation

The call object.

Get(GetNetworkEndpointGroupRequest, CallOptions)

public virtual NetworkEndpointGroup Get(GetNetworkEndpointGroupRequest request, CallOptions options)

Returns the specified network endpoint group.

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, DateTime?, CancellationToken)

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

Returns the specified network endpoint group.

Parameters
NameDescription
requestGetNetworkEndpointGroupRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

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.

Parameters
NameDescription
requestGetNetworkEndpointGroupRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestGetNetworkEndpointGroupRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

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

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

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

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

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

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

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

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

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
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
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, 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
NameDescription
requestListNetworkEndpointsNetworkEndpointGroupsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

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

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

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
AsyncUnaryCallNetworkEndpointGroupsListNetworkEndpoints

The call object.

NewInstance(ClientBaseConfiguration)

protected override NetworkEndpointGroups.NetworkEndpointGroupsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
NetworkEndpointGroupsNetworkEndpointGroupsClient
Overrides

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

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

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

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

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
AsyncUnaryCallTestPermissionsResponse

The call object.