Network Security v1beta1 API - Class NetworkSecurityClientImpl (2.0.0-beta06)

public sealed class NetworkSecurityClientImpl : NetworkSecurityClient

Reference documentation and code samples for the Network Security v1beta1 API class NetworkSecurityClientImpl.

NetworkSecurity client wrapper implementation, for convenient use.

Inheritance

object > NetworkSecurityClient > NetworkSecurityClientImpl

Namespace

Google.Cloud.NetworkSecurity.V1Beta1

Assembly

Google.Cloud.NetworkSecurity.V1Beta1.dll

Remarks

Network Security API provides resources to configure authentication and authorization policies. Refer to per API resource documentation for more information.

Constructors

NetworkSecurityClientImpl(NetworkSecurityClient, NetworkSecuritySettings, ILogger)

public NetworkSecurityClientImpl(NetworkSecurity.NetworkSecurityClient grpcClient, NetworkSecuritySettings settings, ILogger logger)

Constructs a client wrapper for the NetworkSecurity service, with the specified gRPC client and settings.

Parameters
Name Description
grpcClient NetworkSecurityNetworkSecurityClient

The underlying gRPC client.

settings NetworkSecuritySettings

The base NetworkSecuritySettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

CreateAuthorizationPolicyOperationsClient

public override OperationsClient CreateAuthorizationPolicyOperationsClient { get; }

The long-running operations client for CreateAuthorizationPolicy.

Property Value
Type Description
OperationsClient
Overrides

CreateClientTlsPolicyOperationsClient

public override OperationsClient CreateClientTlsPolicyOperationsClient { get; }

The long-running operations client for CreateClientTlsPolicy.

Property Value
Type Description
OperationsClient
Overrides

CreateServerTlsPolicyOperationsClient

public override OperationsClient CreateServerTlsPolicyOperationsClient { get; }

The long-running operations client for CreateServerTlsPolicy.

Property Value
Type Description
OperationsClient
Overrides

DeleteAuthorizationPolicyOperationsClient

public override OperationsClient DeleteAuthorizationPolicyOperationsClient { get; }

The long-running operations client for DeleteAuthorizationPolicy.

Property Value
Type Description
OperationsClient
Overrides

DeleteClientTlsPolicyOperationsClient

public override OperationsClient DeleteClientTlsPolicyOperationsClient { get; }

The long-running operations client for DeleteClientTlsPolicy.

Property Value
Type Description
OperationsClient
Overrides

DeleteServerTlsPolicyOperationsClient

public override OperationsClient DeleteServerTlsPolicyOperationsClient { get; }

The long-running operations client for DeleteServerTlsPolicy.

Property Value
Type Description
OperationsClient
Overrides

GrpcClient

public override NetworkSecurity.NetworkSecurityClient GrpcClient { get; }

The underlying gRPC NetworkSecurity client

Property Value
Type Description
NetworkSecurityNetworkSecurityClient
Overrides

IAMPolicyClient

public override IAMPolicyClient IAMPolicyClient { get; }

The IAMPolicyClient associated with this client.

Property Value
Type Description
IAMPolicyClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
Type Description
LocationsClient
Overrides

UpdateAuthorizationPolicyOperationsClient

public override OperationsClient UpdateAuthorizationPolicyOperationsClient { get; }

The long-running operations client for UpdateAuthorizationPolicy.

Property Value
Type Description
OperationsClient
Overrides

UpdateClientTlsPolicyOperationsClient

public override OperationsClient UpdateClientTlsPolicyOperationsClient { get; }

The long-running operations client for UpdateClientTlsPolicy.

Property Value
Type Description
OperationsClient
Overrides

UpdateServerTlsPolicyOperationsClient

public override OperationsClient UpdateServerTlsPolicyOperationsClient { get; }

The long-running operations client for UpdateServerTlsPolicy.

Property Value
Type Description
OperationsClient
Overrides

Methods

CreateAuthorizationPolicy(CreateAuthorizationPolicyRequest, CallSettings)

public override Operation<AuthorizationPolicy, OperationMetadata> CreateAuthorizationPolicy(CreateAuthorizationPolicyRequest request, CallSettings callSettings = null)

Creates a new AuthorizationPolicy in a given project and location.

Parameters
Name Description
request CreateAuthorizationPolicyRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationAuthorizationPolicyOperationMetadata

The RPC response.

Overrides

CreateAuthorizationPolicyAsync(CreateAuthorizationPolicyRequest, CallSettings)

public override Task<Operation<AuthorizationPolicy, OperationMetadata>> CreateAuthorizationPolicyAsync(CreateAuthorizationPolicyRequest request, CallSettings callSettings = null)

Creates a new AuthorizationPolicy in a given project and location.

Parameters
Name Description
request CreateAuthorizationPolicyRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationAuthorizationPolicyOperationMetadata

A Task containing the RPC response.

Overrides

CreateClientTlsPolicy(CreateClientTlsPolicyRequest, CallSettings)

public override Operation<ClientTlsPolicy, OperationMetadata> CreateClientTlsPolicy(CreateClientTlsPolicyRequest request, CallSettings callSettings = null)

Creates a new ClientTlsPolicy in a given project and location.

Parameters
Name Description
request CreateClientTlsPolicyRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationClientTlsPolicyOperationMetadata

The RPC response.

Overrides

CreateClientTlsPolicyAsync(CreateClientTlsPolicyRequest, CallSettings)

public override Task<Operation<ClientTlsPolicy, OperationMetadata>> CreateClientTlsPolicyAsync(CreateClientTlsPolicyRequest request, CallSettings callSettings = null)

Creates a new ClientTlsPolicy in a given project and location.

Parameters
Name Description
request CreateClientTlsPolicyRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationClientTlsPolicyOperationMetadata

A Task containing the RPC response.

Overrides

CreateServerTlsPolicy(CreateServerTlsPolicyRequest, CallSettings)

public override Operation<ServerTlsPolicy, OperationMetadata> CreateServerTlsPolicy(CreateServerTlsPolicyRequest request, CallSettings callSettings = null)

Creates a new ServerTlsPolicy in a given project and location.

Parameters
Name Description
request CreateServerTlsPolicyRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationServerTlsPolicyOperationMetadata

The RPC response.

Overrides

CreateServerTlsPolicyAsync(CreateServerTlsPolicyRequest, CallSettings)

public override Task<Operation<ServerTlsPolicy, OperationMetadata>> CreateServerTlsPolicyAsync(CreateServerTlsPolicyRequest request, CallSettings callSettings = null)

Creates a new ServerTlsPolicy in a given project and location.

Parameters
Name Description
request CreateServerTlsPolicyRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationServerTlsPolicyOperationMetadata

A Task containing the RPC response.

Overrides

DeleteAuthorizationPolicy(DeleteAuthorizationPolicyRequest, CallSettings)

public override Operation<Empty, OperationMetadata> DeleteAuthorizationPolicy(DeleteAuthorizationPolicyRequest request, CallSettings callSettings = null)

Deletes a single AuthorizationPolicy.

Parameters
Name Description
request DeleteAuthorizationPolicyRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Overrides

DeleteAuthorizationPolicyAsync(DeleteAuthorizationPolicyRequest, CallSettings)

public override Task<Operation<Empty, OperationMetadata>> DeleteAuthorizationPolicyAsync(DeleteAuthorizationPolicyRequest request, CallSettings callSettings = null)

Deletes a single AuthorizationPolicy.

Parameters
Name Description
request DeleteAuthorizationPolicyRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Overrides

DeleteClientTlsPolicy(DeleteClientTlsPolicyRequest, CallSettings)

public override Operation<Empty, OperationMetadata> DeleteClientTlsPolicy(DeleteClientTlsPolicyRequest request, CallSettings callSettings = null)

Deletes a single ClientTlsPolicy.

Parameters
Name Description
request DeleteClientTlsPolicyRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Overrides

DeleteClientTlsPolicyAsync(DeleteClientTlsPolicyRequest, CallSettings)

public override Task<Operation<Empty, OperationMetadata>> DeleteClientTlsPolicyAsync(DeleteClientTlsPolicyRequest request, CallSettings callSettings = null)

Deletes a single ClientTlsPolicy.

Parameters
Name Description
request DeleteClientTlsPolicyRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Overrides

DeleteServerTlsPolicy(DeleteServerTlsPolicyRequest, CallSettings)

public override Operation<Empty, OperationMetadata> DeleteServerTlsPolicy(DeleteServerTlsPolicyRequest request, CallSettings callSettings = null)

Deletes a single ServerTlsPolicy.

Parameters
Name Description
request DeleteServerTlsPolicyRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Overrides

DeleteServerTlsPolicyAsync(DeleteServerTlsPolicyRequest, CallSettings)

public override Task<Operation<Empty, OperationMetadata>> DeleteServerTlsPolicyAsync(DeleteServerTlsPolicyRequest request, CallSettings callSettings = null)

Deletes a single ServerTlsPolicy.

Parameters
Name Description
request DeleteServerTlsPolicyRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Overrides

GetAuthorizationPolicy(GetAuthorizationPolicyRequest, CallSettings)

public override AuthorizationPolicy GetAuthorizationPolicy(GetAuthorizationPolicyRequest request, CallSettings callSettings = null)

Gets details of a single AuthorizationPolicy.

Parameters
Name Description
request GetAuthorizationPolicyRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
AuthorizationPolicy

The RPC response.

Overrides

GetAuthorizationPolicyAsync(GetAuthorizationPolicyRequest, CallSettings)

public override Task<AuthorizationPolicy> GetAuthorizationPolicyAsync(GetAuthorizationPolicyRequest request, CallSettings callSettings = null)

Gets details of a single AuthorizationPolicy.

Parameters
Name Description
request GetAuthorizationPolicyRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskAuthorizationPolicy

A Task containing the RPC response.

Overrides

GetClientTlsPolicy(GetClientTlsPolicyRequest, CallSettings)

public override ClientTlsPolicy GetClientTlsPolicy(GetClientTlsPolicyRequest request, CallSettings callSettings = null)

Gets details of a single ClientTlsPolicy.

Parameters
Name Description
request GetClientTlsPolicyRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
ClientTlsPolicy

The RPC response.

Overrides

GetClientTlsPolicyAsync(GetClientTlsPolicyRequest, CallSettings)

public override Task<ClientTlsPolicy> GetClientTlsPolicyAsync(GetClientTlsPolicyRequest request, CallSettings callSettings = null)

Gets details of a single ClientTlsPolicy.

Parameters
Name Description
request GetClientTlsPolicyRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskClientTlsPolicy

A Task containing the RPC response.

Overrides

GetServerTlsPolicy(GetServerTlsPolicyRequest, CallSettings)

public override ServerTlsPolicy GetServerTlsPolicy(GetServerTlsPolicyRequest request, CallSettings callSettings = null)

Gets details of a single ServerTlsPolicy.

Parameters
Name Description
request GetServerTlsPolicyRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
ServerTlsPolicy

The RPC response.

Overrides

GetServerTlsPolicyAsync(GetServerTlsPolicyRequest, CallSettings)

public override Task<ServerTlsPolicy> GetServerTlsPolicyAsync(GetServerTlsPolicyRequest request, CallSettings callSettings = null)

Gets details of a single ServerTlsPolicy.

Parameters
Name Description
request GetServerTlsPolicyRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskServerTlsPolicy

A Task containing the RPC response.

Overrides

ListAuthorizationPolicies(ListAuthorizationPoliciesRequest, CallSettings)

public override PagedEnumerable<ListAuthorizationPoliciesResponse, AuthorizationPolicy> ListAuthorizationPolicies(ListAuthorizationPoliciesRequest request, CallSettings callSettings = null)

Lists AuthorizationPolicies in a given project and location.

Parameters
Name Description
request ListAuthorizationPoliciesRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListAuthorizationPoliciesResponseAuthorizationPolicy

A pageable sequence of AuthorizationPolicy resources.

Overrides

ListAuthorizationPoliciesAsync(ListAuthorizationPoliciesRequest, CallSettings)

public override PagedAsyncEnumerable<ListAuthorizationPoliciesResponse, AuthorizationPolicy> ListAuthorizationPoliciesAsync(ListAuthorizationPoliciesRequest request, CallSettings callSettings = null)

Lists AuthorizationPolicies in a given project and location.

Parameters
Name Description
request ListAuthorizationPoliciesRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListAuthorizationPoliciesResponseAuthorizationPolicy

A pageable asynchronous sequence of AuthorizationPolicy resources.

Overrides

ListClientTlsPolicies(ListClientTlsPoliciesRequest, CallSettings)

public override PagedEnumerable<ListClientTlsPoliciesResponse, ClientTlsPolicy> ListClientTlsPolicies(ListClientTlsPoliciesRequest request, CallSettings callSettings = null)

Lists ClientTlsPolicies in a given project and location.

Parameters
Name Description
request ListClientTlsPoliciesRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListClientTlsPoliciesResponseClientTlsPolicy

A pageable sequence of ClientTlsPolicy resources.

Overrides

ListClientTlsPoliciesAsync(ListClientTlsPoliciesRequest, CallSettings)

public override PagedAsyncEnumerable<ListClientTlsPoliciesResponse, ClientTlsPolicy> ListClientTlsPoliciesAsync(ListClientTlsPoliciesRequest request, CallSettings callSettings = null)

Lists ClientTlsPolicies in a given project and location.

Parameters
Name Description
request ListClientTlsPoliciesRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListClientTlsPoliciesResponseClientTlsPolicy

A pageable asynchronous sequence of ClientTlsPolicy resources.

Overrides

ListServerTlsPolicies(ListServerTlsPoliciesRequest, CallSettings)

public override PagedEnumerable<ListServerTlsPoliciesResponse, ServerTlsPolicy> ListServerTlsPolicies(ListServerTlsPoliciesRequest request, CallSettings callSettings = null)

Lists ServerTlsPolicies in a given project and location.

Parameters
Name Description
request ListServerTlsPoliciesRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListServerTlsPoliciesResponseServerTlsPolicy

A pageable sequence of ServerTlsPolicy resources.

Overrides

ListServerTlsPoliciesAsync(ListServerTlsPoliciesRequest, CallSettings)

public override PagedAsyncEnumerable<ListServerTlsPoliciesResponse, ServerTlsPolicy> ListServerTlsPoliciesAsync(ListServerTlsPoliciesRequest request, CallSettings callSettings = null)

Lists ServerTlsPolicies in a given project and location.

Parameters
Name Description
request ListServerTlsPoliciesRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListServerTlsPoliciesResponseServerTlsPolicy

A pageable asynchronous sequence of ServerTlsPolicy resources.

Overrides

UpdateAuthorizationPolicy(UpdateAuthorizationPolicyRequest, CallSettings)

public override Operation<AuthorizationPolicy, OperationMetadata> UpdateAuthorizationPolicy(UpdateAuthorizationPolicyRequest request, CallSettings callSettings = null)

Updates the parameters of a single AuthorizationPolicy.

Parameters
Name Description
request UpdateAuthorizationPolicyRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationAuthorizationPolicyOperationMetadata

The RPC response.

Overrides

UpdateAuthorizationPolicyAsync(UpdateAuthorizationPolicyRequest, CallSettings)

public override Task<Operation<AuthorizationPolicy, OperationMetadata>> UpdateAuthorizationPolicyAsync(UpdateAuthorizationPolicyRequest request, CallSettings callSettings = null)

Updates the parameters of a single AuthorizationPolicy.

Parameters
Name Description
request UpdateAuthorizationPolicyRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationAuthorizationPolicyOperationMetadata

A Task containing the RPC response.

Overrides

UpdateClientTlsPolicy(UpdateClientTlsPolicyRequest, CallSettings)

public override Operation<ClientTlsPolicy, OperationMetadata> UpdateClientTlsPolicy(UpdateClientTlsPolicyRequest request, CallSettings callSettings = null)

Updates the parameters of a single ClientTlsPolicy.

Parameters
Name Description
request UpdateClientTlsPolicyRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationClientTlsPolicyOperationMetadata

The RPC response.

Overrides

UpdateClientTlsPolicyAsync(UpdateClientTlsPolicyRequest, CallSettings)

public override Task<Operation<ClientTlsPolicy, OperationMetadata>> UpdateClientTlsPolicyAsync(UpdateClientTlsPolicyRequest request, CallSettings callSettings = null)

Updates the parameters of a single ClientTlsPolicy.

Parameters
Name Description
request UpdateClientTlsPolicyRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationClientTlsPolicyOperationMetadata

A Task containing the RPC response.

Overrides

UpdateServerTlsPolicy(UpdateServerTlsPolicyRequest, CallSettings)

public override Operation<ServerTlsPolicy, OperationMetadata> UpdateServerTlsPolicy(UpdateServerTlsPolicyRequest request, CallSettings callSettings = null)

Updates the parameters of a single ServerTlsPolicy.

Parameters
Name Description
request UpdateServerTlsPolicyRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationServerTlsPolicyOperationMetadata

The RPC response.

Overrides

UpdateServerTlsPolicyAsync(UpdateServerTlsPolicyRequest, CallSettings)

public override Task<Operation<ServerTlsPolicy, OperationMetadata>> UpdateServerTlsPolicyAsync(UpdateServerTlsPolicyRequest request, CallSettings callSettings = null)

Updates the parameters of a single ServerTlsPolicy.

Parameters
Name Description
request UpdateServerTlsPolicyRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationServerTlsPolicyOperationMetadata

A Task containing the RPC response.

Overrides