@Generated("by gapic-generator-java")
Package com.google.cloud.networksecurity.v1beta1
A client to Network Security API
The interfaces provided are listed below, along with usage samples.
======================= NetworkSecurityClient =======================
Service Description: Network Security API provides resources to configure authentication and authorization policies. Refer to per API resource documentation for more information.
Sample for NetworkSecurityClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (NetworkSecurityClient networkSecurityClient = NetworkSecurityClient.create()) {
AuthorizationPolicyName name =
AuthorizationPolicyName.of("[PROJECT]", "[LOCATION]", "[AUTHORIZATION_POLICY]");
AuthorizationPolicy response = networkSecurityClient.getAuthorizationPolicy(name);
}
-
Class Summary Class Description AuthorizationPolicy AuthorizationPolicy is a resource that specifies how a server should authorize incoming connections.AuthorizationPolicy.Builder AuthorizationPolicy is a resource that specifies how a server should authorize incoming connections.AuthorizationPolicy.Rule Specification of rules.AuthorizationPolicy.Rule.Builder Specification of rules.AuthorizationPolicy.Rule.Destination Specification of traffic destination attributes.AuthorizationPolicy.Rule.Destination.Builder Specification of traffic destination attributes.AuthorizationPolicy.Rule.Destination.HttpHeaderMatch Specification of HTTP header match attributes.AuthorizationPolicy.Rule.Destination.HttpHeaderMatch.Builder Specification of HTTP header match attributes.AuthorizationPolicy.Rule.Source Specification of traffic source attributes.AuthorizationPolicy.Rule.Source.Builder Specification of traffic source attributes.AuthorizationPolicyName AuthorizationPolicyName.Builder Builder for projects/{project}/locations/{location}/authorizationPolicies/{authorization_policy}.AuthorizationPolicyProto CertificateProvider Specification of certificate provider.CertificateProvider.Builder Specification of certificate provider.CertificateProviderInstance Specification of a TLS certificate provider instance.CertificateProviderInstance.Builder Specification of a TLS certificate provider instance.ClientTlsPolicy ClientTlsPolicy is a resource that specifies how a client should authenticate connections to backends of a service.ClientTlsPolicy.Builder ClientTlsPolicy is a resource that specifies how a client should authenticate connections to backends of a service.ClientTlsPolicyName ClientTlsPolicyName.Builder Builder for projects/{project}/locations/{location}/clientTlsPolicies/{client_tls_policy}.ClientTlsPolicyProto CommonProto CreateAuthorizationPolicyRequest Request used by the CreateAuthorizationPolicy method.CreateAuthorizationPolicyRequest.Builder Request used by the CreateAuthorizationPolicy method.CreateClientTlsPolicyRequest Request used by the CreateClientTlsPolicy method.CreateClientTlsPolicyRequest.Builder Request used by the CreateClientTlsPolicy method.CreateServerTlsPolicyRequest Request used by the CreateServerTlsPolicy method.CreateServerTlsPolicyRequest.Builder Request used by the CreateServerTlsPolicy method.DeleteAuthorizationPolicyRequest Request used by the DeleteAuthorizationPolicy method.DeleteAuthorizationPolicyRequest.Builder Request used by the DeleteAuthorizationPolicy method.DeleteClientTlsPolicyRequest Request used by the DeleteClientTlsPolicy method.DeleteClientTlsPolicyRequest.Builder Request used by the DeleteClientTlsPolicy method.DeleteServerTlsPolicyRequest Request used by the DeleteServerTlsPolicy method.DeleteServerTlsPolicyRequest.Builder Request used by the DeleteServerTlsPolicy method.GetAuthorizationPolicyRequest Request used by the GetAuthorizationPolicy method.GetAuthorizationPolicyRequest.Builder Request used by the GetAuthorizationPolicy method.GetClientTlsPolicyRequest Request used by the GetClientTlsPolicy method.GetClientTlsPolicyRequest.Builder Request used by the GetClientTlsPolicy method.GetServerTlsPolicyRequest Request used by the GetServerTlsPolicy method.GetServerTlsPolicyRequest.Builder Request used by the GetServerTlsPolicy method.GrpcEndpoint Specification of the GRPC Endpoint.GrpcEndpoint.Builder Specification of the GRPC Endpoint.ListAuthorizationPoliciesRequest Request used with the ListAuthorizationPolicies method.ListAuthorizationPoliciesRequest.Builder Request used with the ListAuthorizationPolicies method.ListAuthorizationPoliciesResponse Response returned by the ListAuthorizationPolicies method.ListAuthorizationPoliciesResponse.Builder Response returned by the ListAuthorizationPolicies method.ListClientTlsPoliciesRequest Request used by the ListClientTlsPolicies method.ListClientTlsPoliciesRequest.Builder Request used by the ListClientTlsPolicies method.ListClientTlsPoliciesResponse Response returned by the ListClientTlsPolicies method.ListClientTlsPoliciesResponse.Builder Response returned by the ListClientTlsPolicies method.ListServerTlsPoliciesRequest Request used by the ListServerTlsPolicies method.ListServerTlsPoliciesRequest.Builder Request used by the ListServerTlsPolicies method.ListServerTlsPoliciesResponse Response returned by the ListServerTlsPolicies method.ListServerTlsPoliciesResponse.Builder Response returned by the ListServerTlsPolicies method.LocationName LocationName.Builder Builder for projects/{project}/locations/{location}.NetworkSecurityClient Service Description: Network Security API provides resources to configure authentication and authorization policies.NetworkSecurityClient.ListAuthorizationPoliciesFixedSizeCollection NetworkSecurityClient.ListAuthorizationPoliciesPage NetworkSecurityClient.ListAuthorizationPoliciesPagedResponse NetworkSecurityClient.ListClientTlsPoliciesFixedSizeCollection NetworkSecurityClient.ListClientTlsPoliciesPage NetworkSecurityClient.ListClientTlsPoliciesPagedResponse NetworkSecurityClient.ListLocationsFixedSizeCollection NetworkSecurityClient.ListLocationsPage NetworkSecurityClient.ListLocationsPagedResponse NetworkSecurityClient.ListServerTlsPoliciesFixedSizeCollection NetworkSecurityClient.ListServerTlsPoliciesPage NetworkSecurityClient.ListServerTlsPoliciesPagedResponse NetworkSecurityGrpc Network Security API provides resources to configure authentication and authorization policies.NetworkSecurityGrpc.NetworkSecurityBlockingStub A stub to allow clients to do synchronous rpc calls to service NetworkSecurity.NetworkSecurityGrpc.NetworkSecurityFutureStub A stub to allow clients to do ListenableFuture-style rpc calls to service NetworkSecurity.NetworkSecurityGrpc.NetworkSecurityImplBase Base class for the server implementation of the service NetworkSecurity.NetworkSecurityGrpc.NetworkSecurityStub A stub to allow clients to do asynchronous rpc calls to service NetworkSecurity.NetworkSecurityOuterClass NetworkSecuritySettings Settings class to configure an instance ofNetworkSecurityClient
.NetworkSecuritySettings.Builder Builder for NetworkSecuritySettings.OperationMetadata Represents the metadata of the long-running operation.OperationMetadata.Builder Represents the metadata of the long-running operation.ServerTlsPolicy ServerTlsPolicy is a resource that specifies how a server should authenticate incoming requests.ServerTlsPolicy.Builder ServerTlsPolicy is a resource that specifies how a server should authenticate incoming requests.ServerTlsPolicy.MTLSPolicy Specification of the MTLSPolicy.ServerTlsPolicy.MTLSPolicy.Builder Specification of the MTLSPolicy.ServerTlsPolicyName ServerTlsPolicyName.Builder Builder for projects/{project}/locations/{location}/serverTlsPolicies/{server_tls_policy}.ServerTlsPolicyProto TlsProto UpdateAuthorizationPolicyRequest Request used by the UpdateAuthorizationPolicy method.UpdateAuthorizationPolicyRequest.Builder Request used by the UpdateAuthorizationPolicy method.UpdateClientTlsPolicyRequest Request used by UpdateClientTlsPolicy method.UpdateClientTlsPolicyRequest.Builder Request used by UpdateClientTlsPolicy method.UpdateServerTlsPolicyRequest Request used by UpdateServerTlsPolicy method.UpdateServerTlsPolicyRequest.Builder Request used by UpdateServerTlsPolicy method.ValidationCA Specification of ValidationCA.ValidationCA.Builder Specification of ValidationCA. -
Enum Summary Enum Description AuthorizationPolicy.Action Possible values that define what action to take.AuthorizationPolicy.Rule.Destination.HttpHeaderMatch.TypeCase CertificateProvider.TypeCase ValidationCA.TypeCase