Network Security v1 API - Class NetworkSecurity.NetworkSecurityBase (1.0.0-beta01)

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

Reference documentation and code samples for the Network Security v1 API class NetworkSecurity.NetworkSecurityBase.

Base class for server-side implementations of NetworkSecurity

Inheritance

object > NetworkSecurity.NetworkSecurityBase

Namespace

Google.Cloud.NetworkSecurity.V1

Assembly

Google.Cloud.NetworkSecurity.V1.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
Name Description
request CreateAuthorizationPolicyRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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

CreateAuthzPolicy(CreateAuthzPolicyRequest, ServerCallContext)

public virtual Task<Operation> CreateAuthzPolicy(CreateAuthzPolicyRequest request, ServerCallContext context)

Creates a new AuthzPolicy in a given project and location.

Parameters
Name Description
request CreateAuthzPolicyRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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

CreateBackendAuthenticationConfig(CreateBackendAuthenticationConfigRequest, ServerCallContext)

public virtual Task<Operation> CreateBackendAuthenticationConfig(CreateBackendAuthenticationConfigRequest request, ServerCallContext context)

Creates a new BackendAuthenticationConfig in a given project and location.

Parameters
Name Description
request CreateBackendAuthenticationConfigRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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
Name Description
request CreateClientTlsPolicyRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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

CreateGatewaySecurityPolicy(CreateGatewaySecurityPolicyRequest, ServerCallContext)

public virtual Task<Operation> CreateGatewaySecurityPolicy(CreateGatewaySecurityPolicyRequest request, ServerCallContext context)

Creates a new GatewaySecurityPolicy in a given project and location.

Parameters
Name Description
request CreateGatewaySecurityPolicyRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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

CreateGatewaySecurityPolicyRule(CreateGatewaySecurityPolicyRuleRequest, ServerCallContext)

public virtual Task<Operation> CreateGatewaySecurityPolicyRule(CreateGatewaySecurityPolicyRuleRequest request, ServerCallContext context)

Creates a new GatewaySecurityPolicy in a given project and location.

Parameters
Name Description
request CreateGatewaySecurityPolicyRuleRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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
Name Description
request CreateServerTlsPolicyRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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

CreateTlsInspectionPolicy(CreateTlsInspectionPolicyRequest, ServerCallContext)

public virtual Task<Operation> CreateTlsInspectionPolicy(CreateTlsInspectionPolicyRequest request, ServerCallContext context)

Creates a new TlsInspectionPolicy in a given project and location.

Parameters
Name Description
request CreateTlsInspectionPolicyRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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

CreateUrlList(CreateUrlListRequest, ServerCallContext)

public virtual Task<Operation> CreateUrlList(CreateUrlListRequest request, ServerCallContext context)

Creates a new UrlList in a given project and location.

Parameters
Name Description
request CreateUrlListRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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
Name Description
request DeleteAuthorizationPolicyRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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

DeleteAuthzPolicy(DeleteAuthzPolicyRequest, ServerCallContext)

public virtual Task<Operation> DeleteAuthzPolicy(DeleteAuthzPolicyRequest request, ServerCallContext context)

Deletes a single AuthzPolicy.

Parameters
Name Description
request DeleteAuthzPolicyRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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

DeleteBackendAuthenticationConfig(DeleteBackendAuthenticationConfigRequest, ServerCallContext)

public virtual Task<Operation> DeleteBackendAuthenticationConfig(DeleteBackendAuthenticationConfigRequest request, ServerCallContext context)

Deletes a single BackendAuthenticationConfig to BackendAuthenticationConfig.

Parameters
Name Description
request DeleteBackendAuthenticationConfigRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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
Name Description
request DeleteClientTlsPolicyRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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

DeleteGatewaySecurityPolicy(DeleteGatewaySecurityPolicyRequest, ServerCallContext)

public virtual Task<Operation> DeleteGatewaySecurityPolicy(DeleteGatewaySecurityPolicyRequest request, ServerCallContext context)

Deletes a single GatewaySecurityPolicy.

Parameters
Name Description
request DeleteGatewaySecurityPolicyRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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

DeleteGatewaySecurityPolicyRule(DeleteGatewaySecurityPolicyRuleRequest, ServerCallContext)

public virtual Task<Operation> DeleteGatewaySecurityPolicyRule(DeleteGatewaySecurityPolicyRuleRequest request, ServerCallContext context)

Deletes a single GatewaySecurityPolicyRule.

Parameters
Name Description
request DeleteGatewaySecurityPolicyRuleRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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
Name Description
request DeleteServerTlsPolicyRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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

DeleteTlsInspectionPolicy(DeleteTlsInspectionPolicyRequest, ServerCallContext)

public virtual Task<Operation> DeleteTlsInspectionPolicy(DeleteTlsInspectionPolicyRequest request, ServerCallContext context)

Deletes a single TlsInspectionPolicy.

Parameters
Name Description
request DeleteTlsInspectionPolicyRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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

DeleteUrlList(DeleteUrlListRequest, ServerCallContext)

public virtual Task<Operation> DeleteUrlList(DeleteUrlListRequest request, ServerCallContext context)

Deletes a single UrlList.

Parameters
Name Description
request DeleteUrlListRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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
Name Description
request GetAuthorizationPolicyRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskAuthorizationPolicy

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

GetAuthzPolicy(GetAuthzPolicyRequest, ServerCallContext)

public virtual Task<AuthzPolicy> GetAuthzPolicy(GetAuthzPolicyRequest request, ServerCallContext context)

Gets details of a single AuthzPolicy.

Parameters
Name Description
request GetAuthzPolicyRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskAuthzPolicy

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

GetBackendAuthenticationConfig(GetBackendAuthenticationConfigRequest, ServerCallContext)

public virtual Task<BackendAuthenticationConfig> GetBackendAuthenticationConfig(GetBackendAuthenticationConfigRequest request, ServerCallContext context)

Gets details of a single BackendAuthenticationConfig to BackendAuthenticationConfig.

Parameters
Name Description
request GetBackendAuthenticationConfigRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskBackendAuthenticationConfig

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
Name Description
request GetClientTlsPolicyRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskClientTlsPolicy

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

GetGatewaySecurityPolicy(GetGatewaySecurityPolicyRequest, ServerCallContext)

public virtual Task<GatewaySecurityPolicy> GetGatewaySecurityPolicy(GetGatewaySecurityPolicyRequest request, ServerCallContext context)

Gets details of a single GatewaySecurityPolicy.

Parameters
Name Description
request GetGatewaySecurityPolicyRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskGatewaySecurityPolicy

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

GetGatewaySecurityPolicyRule(GetGatewaySecurityPolicyRuleRequest, ServerCallContext)

public virtual Task<GatewaySecurityPolicyRule> GetGatewaySecurityPolicyRule(GetGatewaySecurityPolicyRuleRequest request, ServerCallContext context)

Gets details of a single GatewaySecurityPolicyRule.

Parameters
Name Description
request GetGatewaySecurityPolicyRuleRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskGatewaySecurityPolicyRule

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
Name Description
request GetServerTlsPolicyRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskServerTlsPolicy

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

GetTlsInspectionPolicy(GetTlsInspectionPolicyRequest, ServerCallContext)

public virtual Task<TlsInspectionPolicy> GetTlsInspectionPolicy(GetTlsInspectionPolicyRequest request, ServerCallContext context)

Gets details of a single TlsInspectionPolicy.

Parameters
Name Description
request GetTlsInspectionPolicyRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskTlsInspectionPolicy

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

GetUrlList(GetUrlListRequest, ServerCallContext)

public virtual Task<UrlList> GetUrlList(GetUrlListRequest request, ServerCallContext context)

Gets details of a single UrlList.

Parameters
Name Description
request GetUrlListRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskUrlList

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
Name Description
request ListAuthorizationPoliciesRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskListAuthorizationPoliciesResponse

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

ListAuthzPolicies(ListAuthzPoliciesRequest, ServerCallContext)

public virtual Task<ListAuthzPoliciesResponse> ListAuthzPolicies(ListAuthzPoliciesRequest request, ServerCallContext context)

Lists AuthzPolicies in a given project and location.

Parameters
Name Description
request ListAuthzPoliciesRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskListAuthzPoliciesResponse

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

ListBackendAuthenticationConfigs(ListBackendAuthenticationConfigsRequest, ServerCallContext)

public virtual Task<ListBackendAuthenticationConfigsResponse> ListBackendAuthenticationConfigs(ListBackendAuthenticationConfigsRequest request, ServerCallContext context)

Lists BackendAuthenticationConfigs in a given project and location.

Parameters
Name Description
request ListBackendAuthenticationConfigsRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskListBackendAuthenticationConfigsResponse

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
Name Description
request ListClientTlsPoliciesRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskListClientTlsPoliciesResponse

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

ListGatewaySecurityPolicies(ListGatewaySecurityPoliciesRequest, ServerCallContext)

public virtual Task<ListGatewaySecurityPoliciesResponse> ListGatewaySecurityPolicies(ListGatewaySecurityPoliciesRequest request, ServerCallContext context)

Lists GatewaySecurityPolicies in a given project and location.

Parameters
Name Description
request ListGatewaySecurityPoliciesRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskListGatewaySecurityPoliciesResponse

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

ListGatewaySecurityPolicyRules(ListGatewaySecurityPolicyRulesRequest, ServerCallContext)

public virtual Task<ListGatewaySecurityPolicyRulesResponse> ListGatewaySecurityPolicyRules(ListGatewaySecurityPolicyRulesRequest request, ServerCallContext context)

Lists GatewaySecurityPolicyRules in a given project and location.

Parameters
Name Description
request ListGatewaySecurityPolicyRulesRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskListGatewaySecurityPolicyRulesResponse

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
Name Description
request ListServerTlsPoliciesRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskListServerTlsPoliciesResponse

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

ListTlsInspectionPolicies(ListTlsInspectionPoliciesRequest, ServerCallContext)

public virtual Task<ListTlsInspectionPoliciesResponse> ListTlsInspectionPolicies(ListTlsInspectionPoliciesRequest request, ServerCallContext context)

Lists TlsInspectionPolicies in a given project and location.

Parameters
Name Description
request ListTlsInspectionPoliciesRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskListTlsInspectionPoliciesResponse

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

ListUrlLists(ListUrlListsRequest, ServerCallContext)

public virtual Task<ListUrlListsResponse> ListUrlLists(ListUrlListsRequest request, ServerCallContext context)

Lists UrlLists in a given project and location.

Parameters
Name Description
request ListUrlListsRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskListUrlListsResponse

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
Name Description
request UpdateAuthorizationPolicyRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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

UpdateAuthzPolicy(UpdateAuthzPolicyRequest, ServerCallContext)

public virtual Task<Operation> UpdateAuthzPolicy(UpdateAuthzPolicyRequest request, ServerCallContext context)

Updates the parameters of a single AuthzPolicy.

Parameters
Name Description
request UpdateAuthzPolicyRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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

UpdateBackendAuthenticationConfig(UpdateBackendAuthenticationConfigRequest, ServerCallContext)

public virtual Task<Operation> UpdateBackendAuthenticationConfig(UpdateBackendAuthenticationConfigRequest request, ServerCallContext context)

Updates the parameters of a single BackendAuthenticationConfig to BackendAuthenticationConfig.

Parameters
Name Description
request UpdateBackendAuthenticationConfigRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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
Name Description
request UpdateClientTlsPolicyRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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

UpdateGatewaySecurityPolicy(UpdateGatewaySecurityPolicyRequest, ServerCallContext)

public virtual Task<Operation> UpdateGatewaySecurityPolicy(UpdateGatewaySecurityPolicyRequest request, ServerCallContext context)

Updates the parameters of a single GatewaySecurityPolicy.

Parameters
Name Description
request UpdateGatewaySecurityPolicyRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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

UpdateGatewaySecurityPolicyRule(UpdateGatewaySecurityPolicyRuleRequest, ServerCallContext)

public virtual Task<Operation> UpdateGatewaySecurityPolicyRule(UpdateGatewaySecurityPolicyRuleRequest request, ServerCallContext context)

Updates the parameters of a single GatewaySecurityPolicyRule.

Parameters
Name Description
request UpdateGatewaySecurityPolicyRuleRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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
Name Description
request UpdateServerTlsPolicyRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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

UpdateTlsInspectionPolicy(UpdateTlsInspectionPolicyRequest, ServerCallContext)

public virtual Task<Operation> UpdateTlsInspectionPolicy(UpdateTlsInspectionPolicyRequest request, ServerCallContext context)

Updates the parameters of a single TlsInspectionPolicy.

Parameters
Name Description
request UpdateTlsInspectionPolicyRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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

UpdateUrlList(UpdateUrlListRequest, ServerCallContext)

public virtual Task<Operation> UpdateUrlList(UpdateUrlListRequest request, ServerCallContext context)

Updates the parameters of a single UrlList.

Parameters
Name Description
request UpdateUrlListRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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