Class NetworkSecurity.NetworkSecurityBase (1.0.0-beta02)

[BindServiceMethod(typeof(NetworkSecurity), "BindService")]
public abstract class NetworkSecurityBase

Base class for server-side implementations of NetworkSecurity

Inheritance

Object > NetworkSecurity.NetworkSecurityBase

Namespace

Google.Cloud.NetworkSecurity.V1Beta1

Assembly

Google.Cloud.NetworkSecurity.V1Beta1.dll

Methods

CreateAuthorizationPolicy(CreateAuthorizationPolicyRequest, ServerCallContext)

public virtual Task<Operation> CreateAuthorizationPolicy(CreateAuthorizationPolicyRequest request, ServerCallContext context)

Creates a new AuthorizationPolicy in a given project and location.

Parameters
NameDescription
requestCreateAuthorizationPolicyRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

CreateClientTlsPolicy(CreateClientTlsPolicyRequest, ServerCallContext)

public virtual Task<Operation> CreateClientTlsPolicy(CreateClientTlsPolicyRequest request, ServerCallContext context)

Creates a new ClientTlsPolicy in a given project and location.

Parameters
NameDescription
requestCreateClientTlsPolicyRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

CreateServerTlsPolicy(CreateServerTlsPolicyRequest, ServerCallContext)

public virtual Task<Operation> CreateServerTlsPolicy(CreateServerTlsPolicyRequest request, ServerCallContext context)

Creates a new ServerTlsPolicy in a given project and location.

Parameters
NameDescription
requestCreateServerTlsPolicyRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

DeleteAuthorizationPolicy(DeleteAuthorizationPolicyRequest, ServerCallContext)

public virtual Task<Operation> DeleteAuthorizationPolicy(DeleteAuthorizationPolicyRequest request, ServerCallContext context)

Deletes a single AuthorizationPolicy.

Parameters
NameDescription
requestDeleteAuthorizationPolicyRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

DeleteClientTlsPolicy(DeleteClientTlsPolicyRequest, ServerCallContext)

public virtual Task<Operation> DeleteClientTlsPolicy(DeleteClientTlsPolicyRequest request, ServerCallContext context)

Deletes a single ClientTlsPolicy.

Parameters
NameDescription
requestDeleteClientTlsPolicyRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

DeleteServerTlsPolicy(DeleteServerTlsPolicyRequest, ServerCallContext)

public virtual Task<Operation> DeleteServerTlsPolicy(DeleteServerTlsPolicyRequest request, ServerCallContext context)

Deletes a single ServerTlsPolicy.

Parameters
NameDescription
requestDeleteServerTlsPolicyRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

GetAuthorizationPolicy(GetAuthorizationPolicyRequest, ServerCallContext)

public virtual Task<AuthorizationPolicy> GetAuthorizationPolicy(GetAuthorizationPolicyRequest request, ServerCallContext context)

Gets details of a single AuthorizationPolicy.

Parameters
NameDescription
requestGetAuthorizationPolicyRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<AuthorizationPolicy>

The response to send back to the client (wrapped by a task).

GetClientTlsPolicy(GetClientTlsPolicyRequest, ServerCallContext)

public virtual Task<ClientTlsPolicy> GetClientTlsPolicy(GetClientTlsPolicyRequest request, ServerCallContext context)

Gets details of a single ClientTlsPolicy.

Parameters
NameDescription
requestGetClientTlsPolicyRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<ClientTlsPolicy>

The response to send back to the client (wrapped by a task).

GetServerTlsPolicy(GetServerTlsPolicyRequest, ServerCallContext)

public virtual Task<ServerTlsPolicy> GetServerTlsPolicy(GetServerTlsPolicyRequest request, ServerCallContext context)

Gets details of a single ServerTlsPolicy.

Parameters
NameDescription
requestGetServerTlsPolicyRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<ServerTlsPolicy>

The response to send back to the client (wrapped by a task).

ListAuthorizationPolicies(ListAuthorizationPoliciesRequest, ServerCallContext)

public virtual Task<ListAuthorizationPoliciesResponse> ListAuthorizationPolicies(ListAuthorizationPoliciesRequest request, ServerCallContext context)

Lists AuthorizationPolicies in a given project and location.

Parameters
NameDescription
requestListAuthorizationPoliciesRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<ListAuthorizationPoliciesResponse>

The response to send back to the client (wrapped by a task).

ListClientTlsPolicies(ListClientTlsPoliciesRequest, ServerCallContext)

public virtual Task<ListClientTlsPoliciesResponse> ListClientTlsPolicies(ListClientTlsPoliciesRequest request, ServerCallContext context)

Lists ClientTlsPolicies in a given project and location.

Parameters
NameDescription
requestListClientTlsPoliciesRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<ListClientTlsPoliciesResponse>

The response to send back to the client (wrapped by a task).

ListServerTlsPolicies(ListServerTlsPoliciesRequest, ServerCallContext)

public virtual Task<ListServerTlsPoliciesResponse> ListServerTlsPolicies(ListServerTlsPoliciesRequest request, ServerCallContext context)

Lists ServerTlsPolicies in a given project and location.

Parameters
NameDescription
requestListServerTlsPoliciesRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<ListServerTlsPoliciesResponse>

The response to send back to the client (wrapped by a task).

UpdateAuthorizationPolicy(UpdateAuthorizationPolicyRequest, ServerCallContext)

public virtual Task<Operation> UpdateAuthorizationPolicy(UpdateAuthorizationPolicyRequest request, ServerCallContext context)

Updates the parameters of a single AuthorizationPolicy.

Parameters
NameDescription
requestUpdateAuthorizationPolicyRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

UpdateClientTlsPolicy(UpdateClientTlsPolicyRequest, ServerCallContext)

public virtual Task<Operation> UpdateClientTlsPolicy(UpdateClientTlsPolicyRequest request, ServerCallContext context)

Updates the parameters of a single ClientTlsPolicy.

Parameters
NameDescription
requestUpdateClientTlsPolicyRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

UpdateServerTlsPolicy(UpdateServerTlsPolicyRequest, ServerCallContext)

public virtual Task<Operation> UpdateServerTlsPolicy(UpdateServerTlsPolicyRequest request, ServerCallContext context)

Updates the parameters of a single ServerTlsPolicy.

Parameters
NameDescription
requestUpdateServerTlsPolicyRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).