public sealed class NetworkSecurityClientImpl : NetworkSecurityClient
NetworkSecurity client wrapper implementation, for convenient use.
Namespace
Google.Cloud.NetworkSecurity.V1Beta1Assembly
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. Network Security service.
Constructors
NetworkSecurityClientImpl(NetworkSecurity.NetworkSecurityClient, NetworkSecuritySettings)
public NetworkSecurityClientImpl(NetworkSecurity.NetworkSecurityClient grpcClient, NetworkSecuritySettings settings)
Constructs a client wrapper for the NetworkSecurity service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient | NetworkSecurity.NetworkSecurityClient The underlying gRPC client. |
settings | NetworkSecuritySettings The base NetworkSecuritySettings used within this client. |
Properties
CreateAuthorizationPolicyOperationsClient
public override OperationsClient CreateAuthorizationPolicyOperationsClient { get; }
The long-running operations client for CreateAuthorizationPolicy
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
CreateClientTlsPolicyOperationsClient
public override OperationsClient CreateClientTlsPolicyOperationsClient { get; }
The long-running operations client for CreateClientTlsPolicy
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
CreateServerTlsPolicyOperationsClient
public override OperationsClient CreateServerTlsPolicyOperationsClient { get; }
The long-running operations client for CreateServerTlsPolicy
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
DeleteAuthorizationPolicyOperationsClient
public override OperationsClient DeleteAuthorizationPolicyOperationsClient { get; }
The long-running operations client for DeleteAuthorizationPolicy
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
DeleteClientTlsPolicyOperationsClient
public override OperationsClient DeleteClientTlsPolicyOperationsClient { get; }
The long-running operations client for DeleteClientTlsPolicy
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
DeleteServerTlsPolicyOperationsClient
public override OperationsClient DeleteServerTlsPolicyOperationsClient { get; }
The long-running operations client for DeleteServerTlsPolicy
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
GrpcClient
public override NetworkSecurity.NetworkSecurityClient GrpcClient { get; }
The underlying gRPC NetworkSecurity client
Property Value | |
---|---|
Type | Description |
NetworkSecurity.NetworkSecurityClient |
UpdateAuthorizationPolicyOperationsClient
public override OperationsClient UpdateAuthorizationPolicyOperationsClient { get; }
The long-running operations client for UpdateAuthorizationPolicy
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
UpdateClientTlsPolicyOperationsClient
public override OperationsClient UpdateClientTlsPolicyOperationsClient { get; }
The long-running operations client for UpdateClientTlsPolicy
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
UpdateServerTlsPolicyOperationsClient
public override OperationsClient UpdateServerTlsPolicyOperationsClient { get; }
The long-running operations client for UpdateServerTlsPolicy
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
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 |
Operation<AuthorizationPolicy, OperationMetadata> | The RPC response. |
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 |
Task<Operation<AuthorizationPolicy, OperationMetadata>> | A Task containing the RPC response. |
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 |
Operation<ClientTlsPolicy, OperationMetadata> | The RPC response. |
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 |
Task<Operation<ClientTlsPolicy, OperationMetadata>> | A Task containing the RPC response. |
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 |
Operation<ServerTlsPolicy, OperationMetadata> | The RPC response. |
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 |
Task<Operation<ServerTlsPolicy, OperationMetadata>> | A Task containing the RPC response. |
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 |
Operation<Empty, OperationMetadata> | The RPC response. |
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 |
Task<Operation<Empty, OperationMetadata>> | A Task containing the RPC response. |
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 |
Operation<Empty, OperationMetadata> | The RPC response. |
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 |
Task<Operation<Empty, OperationMetadata>> | A Task containing the RPC response. |
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 |
Operation<Empty, OperationMetadata> | The RPC response. |
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 |
Task<Operation<Empty, OperationMetadata>> | A Task containing the RPC response. |
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. |
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 |
Task<AuthorizationPolicy> | A Task containing the RPC response. |
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. |
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 |
Task<ClientTlsPolicy> | A Task containing the RPC response. |
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. |
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 |
Task<ServerTlsPolicy> | A Task containing the RPC response. |
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 |
PagedEnumerable<ListAuthorizationPoliciesResponse, AuthorizationPolicy> | A pageable sequence of AuthorizationPolicy resources. |
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 |
PagedAsyncEnumerable<ListAuthorizationPoliciesResponse, AuthorizationPolicy> | A pageable asynchronous sequence of AuthorizationPolicy resources. |
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 |
PagedEnumerable<ListClientTlsPoliciesResponse, ClientTlsPolicy> | A pageable sequence of ClientTlsPolicy resources. |
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 |
PagedAsyncEnumerable<ListClientTlsPoliciesResponse, ClientTlsPolicy> | A pageable asynchronous sequence of ClientTlsPolicy resources. |
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 |
PagedEnumerable<ListServerTlsPoliciesResponse, ServerTlsPolicy> | A pageable sequence of ServerTlsPolicy resources. |
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 |
PagedAsyncEnumerable<ListServerTlsPoliciesResponse, ServerTlsPolicy> | A pageable asynchronous sequence of ServerTlsPolicy resources. |
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 |
Operation<AuthorizationPolicy, OperationMetadata> | The RPC response. |
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 |
Task<Operation<AuthorizationPolicy, OperationMetadata>> | A Task containing the RPC response. |
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 |
Operation<ClientTlsPolicy, OperationMetadata> | The RPC response. |
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 |
Task<Operation<ClientTlsPolicy, OperationMetadata>> | A Task containing the RPC response. |
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 |
Operation<ServerTlsPolicy, OperationMetadata> | The RPC response. |
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 |
Task<Operation<ServerTlsPolicy, OperationMetadata>> | A Task containing the RPC response. |