@@ -22,7 +22,6 @@ import "google/api/field_behavior.proto"; |
22 | 22 | import "google/api/resource.proto"; |
23 | 23 | import "google/cloud/security/publicca/v1beta1/resources.proto"; |
24 | 24 |
|
25 | | -option cc_enable_arenas = true; |
26 | 25 | option csharp_namespace = "Google.Cloud.Security.PublicCA.V1Beta1"; |
27 | 26 | option go_package = "cloud.google.com/go/security/publicca/apiv1beta1/publiccapb;publiccapb"; |
28 | 27 | option java_multiple_files = true; |
@@ -36,10 +35,14 @@ option ruby_package = "Google::Cloud::Security::PublicCA::V1beta1"; |
36 | 35 | // the public certificate authority service. |
37 | 36 | service PublicCertificateAuthorityService { |
38 | 37 | 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"; |
40 | 40 |
|
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) { |
43 | 46 | option (google.api.http) = { |
44 | 47 | post: "/v1beta1/{parent=projects/*/locations/*}/externalAccountKeys" |
45 | 48 | body: "external_account_key" |
@@ -48,21 +51,24 @@ service PublicCertificateAuthorityService { |
48 | 51 | } |
49 | 52 | } |
50 | 53 |
|
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. |
52 | 57 | 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. |
56 | 61 | string parent = 1 [ |
57 | 62 | (google.api.field_behavior) = REQUIRED, |
58 | 63 | (google.api.resource_reference) = { |
59 | 64 | child_type: "publicca.googleapis.com/ExternalAccountKey" |
60 | 65 | } |
61 | 66 | ]; |
62 | 67 |
|
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 |
66 | 71 | // 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]; |
68 | 74 | } |