Skip to content

Commit

Permalink
feat: add security publicca v1 (googleapis#10865)
Browse files Browse the repository at this point in the history
* feat: add security publicca v1

* chore: generate libraries at Tue May 21 17:30:26 UTC 2024

---------

Co-authored-by: cloud-java-bot <cloud-java-bot@google.com>
  • Loading branch information
JoeWang1127 and cloud-java-bot authored May 21, 2024
1 parent a855d34 commit c3e5366
Show file tree
Hide file tree
Showing 45 changed files with 7,188 additions and 20 deletions.
12 changes: 7 additions & 5 deletions generation_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1500,13 +1500,15 @@ libraries:
- proto_path: google/devtools/cloudprofiler/v2

- api_shortname: publicca
name_pretty: Public Certificate Authority
product_documentation: https://cloud.google.com/certificate-manager/docs/public-ca/
api_description: Certificate Manager's Public Certificate Authority (CA) functionality
allows you to provision and deploy widely trusted X.509 certificates after validating
that the certificate requester controls the domains.
name_pretty: Public Certificate Authority API
product_documentation: https://cloud.google.com/certificate-manager/docs/public-ca
api_description: The Public Certificate Authority API may be used to create and manage ACME
external account binding keys associated with Google Trust Services'
publicly trusted certificate authority.
rpc_documentation: https://cloud.google.com/certificate-manager/docs/reference/public-ca/rpc
GAPICs:
- proto_path: google/cloud/security/publicca/v1beta1
- proto_path: google/cloud/security/publicca/v1

- api_shortname: rapidmigrationassessment
name_pretty: Rapid Migration Assessment API
Expand Down
9 changes: 5 additions & 4 deletions java-publicca/.repo-metadata.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"api_shortname": "publicca",
"name_pretty": "Public Certificate Authority",
"product_documentation": "https://cloud.google.com/certificate-manager/docs/public-ca/",
"api_description": "Certificate Manager's Public Certificate Authority (CA) functionality allows you to provision and deploy widely trusted X.509 certificates after validating that the certificate requester controls the domains.",
"name_pretty": "Public Certificate Authority API",
"product_documentation": "https://cloud.google.com/certificate-manager/docs/public-ca",
"api_description": "The Public Certificate Authority API may be used to create and manage ACME external account binding keys associated with Google Trust Services' publicly trusted certificate authority.",
"client_documentation": "https://cloud.google.com/java/docs/reference/google-cloud-publicca/latest/overview",
"release_level": "preview",
"transport": "both",
Expand All @@ -12,5 +12,6 @@
"distribution_name": "com.google.cloud:google-cloud-publicca",
"api_id": "publicca.googleapis.com",
"library_type": "GAPIC_AUTO",
"requires_billing": true
"requires_billing": true,
"rpc_documentation": "https://cloud.google.com/certificate-manager/docs/reference/public-ca/rpc"
}
22 changes: 11 additions & 11 deletions java-publicca/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Google Public Certificate Authority Client for Java
# Google Public Certificate Authority API Client for Java

Java idiomatic client for [Public Certificate Authority][product-docs].
Java idiomatic client for [Public Certificate Authority API][product-docs].

[![Maven][maven-version-image]][maven-version-link]
![Stability][stability-image]
Expand Down Expand Up @@ -68,14 +68,14 @@ See the [Authentication][authentication] section in the base directory's README.

## Authorization

The client application making API calls must be granted [authorization scopes][auth-scopes] required for the desired Public Certificate Authority APIs, and the authenticated principal must have the [IAM role(s)][predefined-iam-roles] required to access GCP resources using the Public Certificate Authority API calls.
The client application making API calls must be granted [authorization scopes][auth-scopes] required for the desired Public Certificate Authority API APIs, and the authenticated principal must have the [IAM role(s)][predefined-iam-roles] required to access GCP resources using the Public Certificate Authority API API calls.

## Getting Started

### Prerequisites

You will need a [Google Cloud Platform Console][developer-console] project with the Public Certificate Authority [API enabled][enable-api].
You will need to [enable billing][enable-billing] to use Google Public Certificate Authority.
You will need a [Google Cloud Platform Console][developer-console] project with the Public Certificate Authority API [API enabled][enable-api].
You will need to [enable billing][enable-billing] to use Google Public Certificate Authority API.
[Follow these instructions][create-project] to get your project set up. You will also need to set up the local development environment by
[installing the Google Cloud Command Line Interface][cloud-cli] and running the following commands in command line:
`gcloud auth login` and `gcloud config set project [YOUR PROJECT ID]`.
Expand All @@ -85,13 +85,13 @@ You will need to [enable billing][enable-billing] to use Google Public Certifica
You'll need to obtain the `google-cloud-publicca` library. See the [Quickstart](#quickstart) section
to add `google-cloud-publicca` as a dependency in your code.

## About Public Certificate Authority
## About Public Certificate Authority API


[Public Certificate Authority][product-docs] Certificate Manager's Public Certificate Authority (CA) functionality allows you to provision and deploy widely trusted X.509 certificates after validating that the certificate requester controls the domains.
[Public Certificate Authority API][product-docs] The Public Certificate Authority API may be used to create and manage ACME external account binding keys associated with Google Trust Services' publicly trusted certificate authority.

See the [Public Certificate Authority client library docs][javadocs] to learn how to
use this Public Certificate Authority Client Library.
See the [Public Certificate Authority API client library docs][javadocs] to learn how to
use this Public Certificate Authority API Client Library.



Expand All @@ -104,7 +104,7 @@ To get help, follow the instructions in the [shared Troubleshooting document][tr

## Transport

Public Certificate Authority uses both gRPC and HTTP/JSON for the transport layer.
Public Certificate Authority API uses both gRPC and HTTP/JSON for the transport layer.

## Supported Java Versions

Expand Down Expand Up @@ -187,7 +187,7 @@ Java 11 | [![Kokoro CI][kokoro-badge-image-5]][kokoro-badge-link-5]

Java is a registered trademark of Oracle and/or its affiliates.

[product-docs]: https://cloud.google.com/certificate-manager/docs/public-ca/
[product-docs]: https://cloud.google.com/certificate-manager/docs/public-ca
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-publicca/latest/overview
[kokoro-badge-image-1]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java7.svg
[kokoro-badge-link-1]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java7.html
Expand Down
10 changes: 10 additions & 0 deletions java-publicca/google-cloud-publicca-bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,21 @@
<artifactId>grpc-google-cloud-publicca-v1beta1</artifactId>
<version>0.41.0-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-publicca-v1beta1:current} -->
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>grpc-google-cloud-publicca-v1</artifactId>
<version>0.41.0-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-publicca-v1:current} -->
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-cloud-publicca-v1beta1</artifactId>
<version>0.41.0-SNAPSHOT</version><!-- {x-version-update:proto-google-cloud-publicca-v1beta1:current} -->
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-cloud-publicca-v1</artifactId>
<version>0.41.0-SNAPSHOT</version><!-- {x-version-update:proto-google-cloud-publicca-v1:current} -->
</dependency>
</dependencies>
</dependencyManagement>
</project>
9 changes: 9 additions & 0 deletions java-publicca/google-cloud-publicca/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@
<artifactId>proto-google-common-protos</artifactId>
</dependency>

<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-cloud-publicca-v1</artifactId>
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-cloud-publicca-v1beta1</artifactId>
Expand All @@ -65,6 +69,11 @@
<groupId>com.google.api.grpc</groupId>
<artifactId>grpc-google-common-protos</artifactId>
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>grpc-google-cloud-publicca-v1</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-iam-v1</artifactId>
Expand Down
Loading

0 comments on commit c3e5366

Please sign in to comment.