1- // Copyright 2025 Google LLC
1+ // Copyright 2026 Google LLC
22//
33// Licensed under the Apache License, Version 2.0 (the "License");
44// you may not use this file except in compliance with the License.
@@ -19,6 +19,7 @@ package google.cloud.certificatemanager.v1;
1919import "google/api/field_behavior.proto" ;
2020import "google/api/resource.proto" ;
2121import "google/protobuf/duration.proto" ;
22+ import "google/protobuf/field_mask.proto" ;
2223import "google/protobuf/timestamp.proto" ;
2324
2425option csharp_namespace = "Google.Cloud.CertificateManager.V1" ;
@@ -44,22 +45,22 @@ message ListCertificateIssuanceConfigsRequest {
4445 }
4546 ];
4647
47- // Maximum number of certificate configs to return per call.
48- int32 page_size = 2 ;
48+ // Optional. Maximum number of certificate configs to return per call.
49+ int32 page_size = 2 [ (google.api .field_behavior ) = OPTIONAL ] ;
4950
50- // The value returned by the last `ListCertificateIssuanceConfigsResponse`.
51- // Indicates that this is a continuation of a prior
52- // `ListCertificateIssuanceConfigs` call, and that the system should return
53- // the next page of data.
54- string page_token = 3 ;
51+ // Optional. The value returned by the last
52+ // `ListCertificateIssuanceConfigsResponse`. Indicates that this is a
53+ // continuation of a prior `ListCertificateIssuanceConfigs` call, and that the
54+ // system should return the next page of data.
55+ string page_token = 3 [ (google.api .field_behavior ) = OPTIONAL ] ;
5556
56- // Filter expression to restrict the Certificates Configs returned.
57- string filter = 4 ;
57+ // Optional. Filter expression to restrict the Certificates Configs returned.
58+ string filter = 4 [ (google.api .field_behavior ) = OPTIONAL ] ;
5859
59- // A list of Certificate Config field names used to specify the order of the
60- // returned results. The default sorting order is ascending. To specify
61- // descending order for a field, add a suffix `" desc"`.
62- string order_by = 5 ;
60+ // Optional. A list of Certificate Config field names used to specify the
61+ // order of the returned results. The default sorting order is ascending. To
62+ // specify descending order for a field, add a suffix `" desc"`.
63+ string order_by = 5 [ (google.api .field_behavior ) = OPTIONAL ] ;
6364}
6465
6566// Response for the `ListCertificateIssuanceConfigs` method.
@@ -108,6 +109,19 @@ message CreateCertificateIssuanceConfigRequest {
108109 [(google.api.field_behavior ) = REQUIRED ];
109110}
110111
112+ // Request for the `UpdateCertificateIssuanceConfig` method.
113+ message UpdateCertificateIssuanceConfigRequest {
114+ // Required. A definition of the certificate issuance config to update.
115+ CertificateIssuanceConfig certificate_issuance_config = 1
116+ [(google.api.field_behavior ) = REQUIRED ];
117+
118+ // Required. The update mask applies to the resource. For the `FieldMask`
119+ // definition, see
120+ // https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
121+ google.protobuf.FieldMask update_mask = 2
122+ [(google.api.field_behavior ) = REQUIRED ];
123+ }
124+
111125// Request for the `DeleteCertificateIssuanceConfig` method.
112126message DeleteCertificateIssuanceConfigRequest {
113127 // Required. A name of the certificate issuance config to delete. Must be in
@@ -125,6 +139,8 @@ message CertificateIssuanceConfig {
125139 option (google.api.resource ) = {
126140 type : "certificatemanager.googleapis.com/CertificateIssuanceConfig"
127141 pattern : "projects/{project}/locations/{location}/certificateIssuanceConfigs/{certificate_issuance_config}"
142+ plural : "certificateIssuanceConfigs"
143+ singular : "certificateIssuanceConfig"
128144 };
129145
130146 // The CA that issues the workload certificate. It includes CA address, type,
@@ -143,6 +159,7 @@ message CertificateIssuanceConfig {
143159 ];
144160 }
145161
162+ // The kind of CA config.
146163 oneof kind {
147164 // Defines a CertificateAuthorityServiceConfig.
148165 CertificateAuthorityServiceConfig certificate_authority_service_config =
@@ -162,10 +179,10 @@ message CertificateIssuanceConfig {
162179 ECDSA_P256 = 4 ;
163180 }
164181
165- // A user-defined name of the certificate issuance config.
182+ // Identifier. A user-defined name of the certificate issuance config.
166183 // CertificateIssuanceConfig names must be unique globally and match pattern
167184 // `projects/*/locations/*/certificateIssuanceConfigs/*`.
168- string name = 1 ;
185+ string name = 1 [ (google.api .field_behavior ) = IDENTIFIER ] ;
169186
170187 // Output only. The creation timestamp of a CertificateIssuanceConfig.
171188 google.protobuf.Timestamp create_time = 2
@@ -175,11 +192,12 @@ message CertificateIssuanceConfig {
175192 google.protobuf.Timestamp update_time = 3
176193 [(google.api.field_behavior ) = OUTPUT_ONLY ];
177194
178- // Set of labels associated with a CertificateIssuanceConfig.
179- map <string , string > labels = 4 ;
195+ // Optional. Set of labels associated with a CertificateIssuanceConfig.
196+ map <string , string > labels = 4 [ (google.api .field_behavior ) = OPTIONAL ] ;
180197
181- // One or more paragraphs of text description of a CertificateIssuanceConfig.
182- string description = 5 ;
198+ // Optional. One or more paragraphs of text description of a
199+ // CertificateIssuanceConfig.
200+ string description = 5 [(google.api.field_behavior ) = OPTIONAL ];
183201
184202 // Required. The CA that issues the workload certificate. It includes the CA
185203 // address, type, authentication to CA service, etc.
@@ -197,4 +215,14 @@ message CertificateIssuanceConfig {
197215
198216 // Required. The key algorithm to use when generating the private key.
199217 KeyAlgorithm key_algorithm = 9 [(google.api.field_behavior ) = REQUIRED ];
218+
219+ // Optional. Input only. Immutable. Tag keys/values directly bound to this
220+ // resource. For example:
221+ // "123/environment": "production",
222+ // "123/costCenter": "marketing"
223+ map <string , string > tags = 10 [
224+ (google.api.field_behavior ) = INPUT_ONLY ,
225+ (google.api.field_behavior ) = IMMUTABLE ,
226+ (google.api.field_behavior ) = OPTIONAL
227+ ];
200228}
0 commit comments