google-cloud-publicca overview (0.2.0)

com.google.cloud.security.publicca.v1beta1

A client to Public Certificate Authority API

The interfaces provided are listed below, along with usage samples.

PublicCertificateAuthorityServiceClient

Service Description: Manages the resources required for ACME external account binding for the public certificate authority service.

Sample for PublicCertificateAuthorityServiceClient:


 // 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 (PublicCertificateAuthorityServiceClient publicCertificateAuthorityServiceClient =
     PublicCertificateAuthorityServiceClient.create()) {
   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
   ExternalAccountKey externalAccountKey = ExternalAccountKey.newBuilder().build();
   ExternalAccountKey response =
       publicCertificateAuthorityServiceClient.createExternalAccountKey(
           parent, externalAccountKey);
 }
 

com.google.cloud.security.publicca.v1beta1.stub