Skip to content

Commit 3c20000

Browse files
Google APIscopybara-github
authored andcommitted
docs: Add API publishing information for public CA.googleapis.com
PiperOrigin-RevId: 802152308
1 parent 3346b30 commit 3c20000

File tree

3 files changed

+27
-18
lines changed

3 files changed

+27
-18
lines changed

google/cloud/security/publicca/v1beta1/publicca_v1beta1.yaml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,18 @@ documentation:
1212
external account binding keys associated with Google Trust Services'
1313
publicly trusted certificate authority.
1414
15-
backend:
16-
rules:
17-
- selector: google.cloud.security.publicca.v1beta1.PublicCertificateAuthorityService.CreateExternalAccountKey
18-
deadline: 5.0
19-
2015
authentication:
2116
rules:
2217
- selector: google.cloud.security.publicca.v1beta1.PublicCertificateAuthorityService.CreateExternalAccountKey
2318
oauth:
2419
canonical_scopes: |-
2520
https://www.googleapis.com/auth/cloud-platform
21+
22+
publishing:
23+
new_issue_uri: https://cloud.google.com/certificate-manager/docs/getting-support
24+
documentation_uri: https://cloud.google.com/certificate-manager/docs/public-ca
25+
api_short_name: publicca
26+
github_label: 'api: publicca'
27+
doc_tag_prefix: publicca
28+
organization: CLOUD
29+
proto_reference_documentation_uri: https://cloud.google.com/certificate-manager/docs/reference/public-ca/rpc

google/cloud/security/publicca/v1beta1/resources.proto

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ package google.cloud.security.publicca.v1beta1;
1919
import "google/api/field_behavior.proto";
2020
import "google/api/resource.proto";
2121

22-
option cc_enable_arenas = true;
2322
option csharp_namespace = "Google.Cloud.Security.PublicCA.V1Beta1";
2423
option go_package = "cloud.google.com/go/security/publicca/apiv1beta1/publiccapb;publiccapb";
2524
option java_multiple_files = true;

google/cloud/security/publicca/v1beta1/service.proto

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ import "google/api/field_behavior.proto";
2222
import "google/api/resource.proto";
2323
import "google/cloud/security/publicca/v1beta1/resources.proto";
2424

25-
option cc_enable_arenas = true;
2625
option csharp_namespace = "Google.Cloud.Security.PublicCA.V1Beta1";
2726
option go_package = "cloud.google.com/go/security/publicca/apiv1beta1/publiccapb;publiccapb";
2827
option java_multiple_files = true;
@@ -36,10 +35,14 @@ option ruby_package = "Google::Cloud::Security::PublicCA::V1beta1";
3635
// the public certificate authority service.
3736
service PublicCertificateAuthorityService {
3837
option (google.api.default_host) = "publicca.googleapis.com";
39-
option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform";
38+
option (google.api.oauth_scopes) =
39+
"https://www.googleapis.com/auth/cloud-platform";
4040

41-
// Creates a new [ExternalAccountKey][google.cloud.security.publicca.v1beta1.ExternalAccountKey] bound to the project.
42-
rpc CreateExternalAccountKey(CreateExternalAccountKeyRequest) returns (ExternalAccountKey) {
41+
// Creates a new
42+
// [ExternalAccountKey][google.cloud.security.publicca.v1beta1.ExternalAccountKey]
43+
// bound to the project.
44+
rpc CreateExternalAccountKey(CreateExternalAccountKeyRequest)
45+
returns (ExternalAccountKey) {
4346
option (google.api.http) = {
4447
post: "/v1beta1/{parent=projects/*/locations/*}/externalAccountKeys"
4548
body: "external_account_key"
@@ -48,21 +51,24 @@ service PublicCertificateAuthorityService {
4851
}
4952
}
5053

51-
// Creates a new [ExternalAccountKey][google.cloud.security.publicca.v1beta1.ExternalAccountKey] in a given project.
54+
// Creates a new
55+
// [ExternalAccountKey][google.cloud.security.publicca.v1beta1.ExternalAccountKey]
56+
// in a given project.
5257
message CreateExternalAccountKeyRequest {
53-
// Required. The parent resource where this external_account_key will be created.
54-
// Format: projects/[project_id]/locations/[location].
55-
// At present only the "global" location is supported.
58+
// Required. The parent resource where this external_account_key will be
59+
// created. Format: projects/[project_id]/locations/[location]. At present
60+
// only the "global" location is supported.
5661
string parent = 1 [
5762
(google.api.field_behavior) = REQUIRED,
5863
(google.api.resource_reference) = {
5964
child_type: "publicca.googleapis.com/ExternalAccountKey"
6065
}
6166
];
6267

63-
// Required. The external account key to create. This field only exists to future-proof
64-
// the API. At present, all fields in ExternalAccountKey are output only and
65-
// all values are ignored. For the purpose of the
68+
// Required. The external account key to create. This field only exists to
69+
// future-proof the API. At present, all fields in ExternalAccountKey are
70+
// output only and all values are ignored. For the purpose of the
6671
// CreateExternalAccountKeyRequest, set it to a default/empty value.
67-
ExternalAccountKey external_account_key = 2 [(google.api.field_behavior) = REQUIRED];
72+
ExternalAccountKey external_account_key = 2
73+
[(google.api.field_behavior) = REQUIRED];
6874
}

0 commit comments

Comments
 (0)