Class NetworkEdgeSecurityServices.NetworkEdgeSecurityServicesClient (1.4.0)

public class NetworkEdgeSecurityServicesClient : ClientBase<NetworkEdgeSecurityServices.NetworkEdgeSecurityServicesClient>

Client for NetworkEdgeSecurityServices

Inheritance

Object > ClientBase > ClientBase<NetworkEdgeSecurityServices.NetworkEdgeSecurityServicesClient> > 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
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

NetworkEdgeSecurityServicesClient(ChannelBase)

public NetworkEdgeSecurityServicesClient(ChannelBase channel)

Creates a new client for NetworkEdgeSecurityServices

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

NetworkEdgeSecurityServicesClient(ClientBase.ClientBaseConfiguration)

protected NetworkEdgeSecurityServicesClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

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.

Parameters
NameDescription
requestAggregatedListNetworkEdgeSecurityServicesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
NetworkEdgeSecurityServiceAggregatedList

The response received from the server.

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

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

Retrieves the list of all NetworkEdgeSecurityService resources available to the specified project.

Parameters
NameDescription
requestAggregatedListNetworkEdgeSecurityServicesRequest

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

Parameters
NameDescription
requestAggregatedListNetworkEdgeSecurityServicesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<NetworkEdgeSecurityServiceAggregatedList>

The call object.

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

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

Retrieves the list of all NetworkEdgeSecurityService resources available to the specified project.

Parameters
NameDescription
requestAggregatedListNetworkEdgeSecurityServicesRequest

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

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

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

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

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

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

Deletes the specified service.

Parameters
NameDescription
requestDeleteNetworkEdgeSecurityServiceRequest

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

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

Deletes the specified service.

Parameters
NameDescription
requestDeleteNetworkEdgeSecurityServiceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

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

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

Deletes the specified service.

Parameters
NameDescription
requestDeleteNetworkEdgeSecurityServiceRequest

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

public virtual NetworkEdgeSecurityService Get(GetNetworkEdgeSecurityServiceRequest request, CallOptions options)

Gets a specified NetworkEdgeSecurityService.

Parameters
NameDescription
requestGetNetworkEdgeSecurityServiceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
NetworkEdgeSecurityService

The response received from the server.

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

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

Gets a specified NetworkEdgeSecurityService.

Parameters
NameDescription
requestGetNetworkEdgeSecurityServiceRequest

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
NetworkEdgeSecurityService

The response received from the server.

GetAsync(GetNetworkEdgeSecurityServiceRequest, CallOptions)

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

Gets a specified NetworkEdgeSecurityService.

Parameters
NameDescription
requestGetNetworkEdgeSecurityServiceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<NetworkEdgeSecurityService>

The call object.

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

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

Gets a specified NetworkEdgeSecurityService.

Parameters
NameDescription
requestGetNetworkEdgeSecurityServiceRequest

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

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

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

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

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

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

Parameters
NameDescription
requestInsertNetworkEdgeSecurityServiceRequest

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

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

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

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

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

Parameters
NameDescription
requestInsertNetworkEdgeSecurityServiceRequest

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.

NewInstance(ClientBase.ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

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

Patch(PatchNetworkEdgeSecurityServiceRequest, CallOptions)

public virtual Operation Patch(PatchNetworkEdgeSecurityServiceRequest request, CallOptions options)

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

Parameters
NameDescription
requestPatchNetworkEdgeSecurityServiceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

Patch(PatchNetworkEdgeSecurityServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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

Parameters
NameDescription
requestPatchNetworkEdgeSecurityServiceRequest

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.

PatchAsync(PatchNetworkEdgeSecurityServiceRequest, CallOptions)

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

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

Parameters
NameDescription
requestPatchNetworkEdgeSecurityServiceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

PatchAsync(PatchNetworkEdgeSecurityServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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

Parameters
NameDescription
requestPatchNetworkEdgeSecurityServiceRequest

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.