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

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(NetworkSecurity.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
NameDescription
grpcClientNetworkSecurity.NetworkSecurityClient

The underlying gRPC client.

settingsNetworkSecuritySettings

The base NetworkSecuritySettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

CreateAuthorizationPolicyOperationsClient

public override OperationsClient CreateAuthorizationPolicyOperationsClient { get; }

The long-running operations client for CreateAuthorizationPolicy.

Property Value
TypeDescription
OperationsClient
Overrides

CreateClientTlsPolicyOperationsClient

public override OperationsClient CreateClientTlsPolicyOperationsClient { get; }

The long-running operations client for CreateClientTlsPolicy.

Property Value
TypeDescription
OperationsClient
Overrides

CreateServerTlsPolicyOperationsClient

public override OperationsClient CreateServerTlsPolicyOperationsClient { get; }

The long-running operations client for CreateServerTlsPolicy.

Property Value
TypeDescription
OperationsClient
Overrides

DeleteAuthorizationPolicyOperationsClient

public override OperationsClient DeleteAuthorizationPolicyOperationsClient { get; }

The long-running operations client for DeleteAuthorizationPolicy.

Property Value
TypeDescription
OperationsClient
Overrides

DeleteClientTlsPolicyOperationsClient

public override OperationsClient DeleteClientTlsPolicyOperationsClient { get; }

The long-running operations client for DeleteClientTlsPolicy.

Property Value
TypeDescription
OperationsClient
Overrides

DeleteServerTlsPolicyOperationsClient

public override OperationsClient DeleteServerTlsPolicyOperationsClient { get; }

The long-running operations client for DeleteServerTlsPolicy.

Property Value
TypeDescription
OperationsClient
Overrides

GrpcClient

public override NetworkSecurity.NetworkSecurityClient GrpcClient { get; }

The underlying gRPC NetworkSecurity client

Property Value
TypeDescription
NetworkSecurity.NetworkSecurityClient
Overrides

IAMPolicyClient

public override IAMPolicyClient IAMPolicyClient { get; }

The IAMPolicyClient associated with this client.

Property Value
TypeDescription
IAMPolicyClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
TypeDescription
LocationsClient
Overrides

UpdateAuthorizationPolicyOperationsClient

public override OperationsClient UpdateAuthorizationPolicyOperationsClient { get; }

The long-running operations client for UpdateAuthorizationPolicy.

Property Value
TypeDescription
OperationsClient
Overrides

UpdateClientTlsPolicyOperationsClient

public override OperationsClient UpdateClientTlsPolicyOperationsClient { get; }

The long-running operations client for UpdateClientTlsPolicy.

Property Value
TypeDescription
OperationsClient
Overrides

UpdateServerTlsPolicyOperationsClient

public override OperationsClient UpdateServerTlsPolicyOperationsClient { get; }

The long-running operations client for UpdateServerTlsPolicy.

Property Value
TypeDescription
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
NameDescription
requestCreateAuthorizationPolicyRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<AuthorizationPolicy, OperationMetadata>

The RPC response.

Overrides

CreateAuthorizationPolicyAsync(CreateAuthorizationPolicyRequest, CallSettings)

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

Creates a new AuthorizationPolicy in a given project and location.

Parameters
NameDescription
requestCreateAuthorizationPolicyRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<AuthorizationPolicy, OperationMetadata>>

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<ClientTlsPolicy, OperationMetadata>

The RPC response.

Overrides

CreateClientTlsPolicyAsync(CreateClientTlsPolicyRequest, CallSettings)

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

Creates a new ClientTlsPolicy in a given project and location.

Parameters
NameDescription
requestCreateClientTlsPolicyRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<ClientTlsPolicy, OperationMetadata>>

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<ServerTlsPolicy, OperationMetadata>

The RPC response.

Overrides

CreateServerTlsPolicyAsync(CreateServerTlsPolicyRequest, CallSettings)

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

Creates a new ServerTlsPolicy in a given project and location.

Parameters
NameDescription
requestCreateServerTlsPolicyRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<ServerTlsPolicy, OperationMetadata>>

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Empty, OperationMetadata>

The RPC response.

Overrides

DeleteAuthorizationPolicyAsync(DeleteAuthorizationPolicyRequest, CallSettings)

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

Deletes a single AuthorizationPolicy.

Parameters
NameDescription
requestDeleteAuthorizationPolicyRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Empty, OperationMetadata>>

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Empty, OperationMetadata>

The RPC response.

Overrides

DeleteClientTlsPolicyAsync(DeleteClientTlsPolicyRequest, CallSettings)

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

Deletes a single ClientTlsPolicy.

Parameters
NameDescription
requestDeleteClientTlsPolicyRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Empty, OperationMetadata>>

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Empty, OperationMetadata>

The RPC response.

Overrides

DeleteServerTlsPolicyAsync(DeleteServerTlsPolicyRequest, CallSettings)

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

Deletes a single ServerTlsPolicy.

Parameters
NameDescription
requestDeleteServerTlsPolicyRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Empty, OperationMetadata>>

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestGetAuthorizationPolicyRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<AuthorizationPolicy>

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestGetClientTlsPolicyRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<ClientTlsPolicy>

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestGetServerTlsPolicyRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<ServerTlsPolicy>

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListAuthorizationPoliciesResponse, AuthorizationPolicy>

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListAuthorizationPoliciesResponse, AuthorizationPolicy>

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListClientTlsPoliciesResponse, ClientTlsPolicy>

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListClientTlsPoliciesResponse, ClientTlsPolicy>

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListServerTlsPoliciesResponse, ServerTlsPolicy>

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListServerTlsPoliciesResponse, ServerTlsPolicy>

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<AuthorizationPolicy, OperationMetadata>

The RPC response.

Overrides

UpdateAuthorizationPolicyAsync(UpdateAuthorizationPolicyRequest, CallSettings)

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

Updates the parameters of a single AuthorizationPolicy.

Parameters
NameDescription
requestUpdateAuthorizationPolicyRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<AuthorizationPolicy, OperationMetadata>>

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<ClientTlsPolicy, OperationMetadata>

The RPC response.

Overrides

UpdateClientTlsPolicyAsync(UpdateClientTlsPolicyRequest, CallSettings)

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

Updates the parameters of a single ClientTlsPolicy.

Parameters
NameDescription
requestUpdateClientTlsPolicyRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<ClientTlsPolicy, OperationMetadata>>

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<ServerTlsPolicy, OperationMetadata>

The RPC response.

Overrides

UpdateServerTlsPolicyAsync(UpdateServerTlsPolicyRequest, CallSettings)

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

Updates the parameters of a single ServerTlsPolicy.

Parameters
NameDescription
requestUpdateServerTlsPolicyRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<ServerTlsPolicy, OperationMetadata>>

A Task containing the RPC response.

Overrides