Compute Engine v1 API - Class NetworkEdgeSecurityServices.NetworkEdgeSecurityServicesClient (2.15.0)

public class NetworkEdgeSecurityServices.NetworkEdgeSecurityServicesClient : ClientBase<NetworkEdgeSecurityServices.NetworkEdgeSecurityServicesClient>

Reference documentation and code samples for the Compute Engine v1 API class NetworkEdgeSecurityServices.NetworkEdgeSecurityServicesClient.

Client for NetworkEdgeSecurityServices

Inheritance

object > ClientBase > ClientBaseNetworkEdgeSecurityServicesNetworkEdgeSecurityServicesClient > NetworkEdgeSecurityServices.NetworkEdgeSecurityServicesClient

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

NetworkEdgeSecurityServicesClient()

protected NetworkEdgeSecurityServicesClient()

Protected parameterless constructor to allow creation of test doubles.

NetworkEdgeSecurityServicesClient(CallInvoker)

public NetworkEdgeSecurityServicesClient(CallInvoker callInvoker)

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

Parameter
Name Description
callInvoker CallInvoker

The callInvoker to use to make remote calls.

NetworkEdgeSecurityServicesClient(ChannelBase)

public NetworkEdgeSecurityServicesClient(ChannelBase channel)

Creates a new client for NetworkEdgeSecurityServices

Parameter
Name Description
channel ChannelBase

The channel to use to make remote calls.

NetworkEdgeSecurityServicesClient(ClientBaseConfiguration)

protected NetworkEdgeSecurityServicesClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration

The client configuration.

Methods

AggregatedList(AggregatedListNetworkEdgeSecurityServicesRequest, CallOptions)

public virtual NetworkEdgeSecurityServiceAggregatedList AggregatedList(AggregatedListNetworkEdgeSecurityServicesRequest request, CallOptions options)

Retrieves the list of all NetworkEdgeSecurityService resources available to the specified project. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.

Parameters
Name Description
request AggregatedListNetworkEdgeSecurityServicesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
NetworkEdgeSecurityServiceAggregatedList

The response received from the server.

AggregatedList(AggregatedListNetworkEdgeSecurityServicesRequest, Metadata, DateTime?, CancellationToken)

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

Retrieves the list of all NetworkEdgeSecurityService resources available to the specified project. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.

Parameters
Name Description
request AggregatedListNetworkEdgeSecurityServicesRequest

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
NetworkEdgeSecurityServiceAggregatedList

The response received from the server.

AggregatedListAsync(AggregatedListNetworkEdgeSecurityServicesRequest, CallOptions)

public virtual AsyncUnaryCall<NetworkEdgeSecurityServiceAggregatedList> AggregatedListAsync(AggregatedListNetworkEdgeSecurityServicesRequest request, CallOptions options)

Retrieves the list of all NetworkEdgeSecurityService resources available to the specified project. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.

Parameters
Name Description
request AggregatedListNetworkEdgeSecurityServicesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallNetworkEdgeSecurityServiceAggregatedList

The call object.

AggregatedListAsync(AggregatedListNetworkEdgeSecurityServicesRequest, Metadata, DateTime?, CancellationToken)

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

Retrieves the list of all NetworkEdgeSecurityService resources available to the specified project. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.

Parameters
Name Description
request AggregatedListNetworkEdgeSecurityServicesRequest

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
AsyncUnaryCallNetworkEdgeSecurityServiceAggregatedList

The call object.

CreateOperationsClientForRegionOperations()

public virtual Operations.OperationsClient CreateOperationsClientForRegionOperations()

Creates a new instance of Operations.OperationsClient using the same call invoker as this client, delegating to RegionOperations.

Returns
Type Description
OperationsOperationsClient

A new Operations client for the same target as this client.

Delete(DeleteNetworkEdgeSecurityServiceRequest, CallOptions)

public virtual Operation Delete(DeleteNetworkEdgeSecurityServiceRequest request, CallOptions options)

Deletes the specified service.

Parameters
Name Description
request DeleteNetworkEdgeSecurityServiceRequest

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

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

Deletes the specified service.

Parameters
Name Description
request DeleteNetworkEdgeSecurityServiceRequest

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

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

Deletes the specified service.

Parameters
Name Description
request DeleteNetworkEdgeSecurityServiceRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

DeleteAsync(DeleteNetworkEdgeSecurityServiceRequest, Metadata, DateTime?, CancellationToken)

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

Deletes the specified service.

Parameters
Name Description
request DeleteNetworkEdgeSecurityServiceRequest

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

public virtual NetworkEdgeSecurityService Get(GetNetworkEdgeSecurityServiceRequest request, CallOptions options)

Gets a specified NetworkEdgeSecurityService.

Parameters
Name Description
request GetNetworkEdgeSecurityServiceRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
NetworkEdgeSecurityService

The response received from the server.

Get(GetNetworkEdgeSecurityServiceRequest, Metadata, DateTime?, CancellationToken)

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

Gets a specified NetworkEdgeSecurityService.

Parameters
Name Description
request GetNetworkEdgeSecurityServiceRequest

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
NetworkEdgeSecurityService

The response received from the server.

GetAsync(GetNetworkEdgeSecurityServiceRequest, CallOptions)

public virtual AsyncUnaryCall<NetworkEdgeSecurityService> GetAsync(GetNetworkEdgeSecurityServiceRequest request, CallOptions options)

Gets a specified NetworkEdgeSecurityService.

Parameters
Name Description
request GetNetworkEdgeSecurityServiceRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallNetworkEdgeSecurityService

The call object.

GetAsync(GetNetworkEdgeSecurityServiceRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<NetworkEdgeSecurityService> GetAsync(GetNetworkEdgeSecurityServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a specified NetworkEdgeSecurityService.

Parameters
Name Description
request GetNetworkEdgeSecurityServiceRequest

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
AsyncUnaryCallNetworkEdgeSecurityService

The call object.

Insert(InsertNetworkEdgeSecurityServiceRequest, CallOptions)

public virtual Operation Insert(InsertNetworkEdgeSecurityServiceRequest request, CallOptions options)

Creates a new service in the specified project using the data included in the request.

Parameters
Name Description
request InsertNetworkEdgeSecurityServiceRequest

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

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

Creates a new service in the specified project using the data included in the request.

Parameters
Name Description
request InsertNetworkEdgeSecurityServiceRequest

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

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

Creates a new service in the specified project using the data included in the request.

Parameters
Name Description
request InsertNetworkEdgeSecurityServiceRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

InsertAsync(InsertNetworkEdgeSecurityServiceRequest, Metadata, DateTime?, CancellationToken)

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

Creates a new service in the specified project using the data included in the request.

Parameters
Name Description
request InsertNetworkEdgeSecurityServiceRequest

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.

NewInstance(ClientBaseConfiguration)

protected override NetworkEdgeSecurityServices.NetworkEdgeSecurityServicesClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration
Returns
Type Description
NetworkEdgeSecurityServicesNetworkEdgeSecurityServicesClient
Overrides

Patch(PatchNetworkEdgeSecurityServiceRequest, CallOptions)

public virtual Operation Patch(PatchNetworkEdgeSecurityServiceRequest request, CallOptions options)

Patches the specified policy with the data included in the request.

Parameters
Name Description
request PatchNetworkEdgeSecurityServiceRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

Patch(PatchNetworkEdgeSecurityServiceRequest, Metadata, DateTime?, CancellationToken)

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

Patches the specified policy with the data included in the request.

Parameters
Name Description
request PatchNetworkEdgeSecurityServiceRequest

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.

PatchAsync(PatchNetworkEdgeSecurityServiceRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> PatchAsync(PatchNetworkEdgeSecurityServiceRequest request, CallOptions options)

Patches the specified policy with the data included in the request.

Parameters
Name Description
request PatchNetworkEdgeSecurityServiceRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

PatchAsync(PatchNetworkEdgeSecurityServiceRequest, Metadata, DateTime?, CancellationToken)

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

Patches the specified policy with the data included in the request.

Parameters
Name Description
request PatchNetworkEdgeSecurityServiceRequest

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.