Skip to content

Commit c8dd40a

Browse files
chore: [kms] update copyright year for auto-generated protos (#5689)
* fix!: Pagination feature is introduced for method `ListKeyHandles` in service `Autokey` feat: Adding a state field for AutokeyConfig docs: Field service_resolvers in message .google.cloud.kms.v1.EkmConnection is Explicitly is marked as to have field behavior of Optional docs: A comment for field `destroy_scheduled_duration` in message `.google.cloud.kms.v1.CryptoKey` is updated for the default duration PiperOrigin-RevId: 676068244 Source-Link: googleapis/googleapis@42492c9 Source-Link: googleapis/googleapis-gen@4743218 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWttcy8uT3dsQm90LnlhbWwiLCJoIjoiNDc0MzIxODBiZGZiYTg3OWZjN2Y4MmM0YzQ1MTE4MTcwMmYyNTAwOSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * feat: Add GroundedGenerationService API feat: Add AdvancedCompleteQuery API feat: Add lite search API to allow public website search with API key feat: Add Sitemap APIs to preview channel feat: Support search personalization to preview channel feat: Support natural language understanding search feat: Add BillingEstimation in data store feat: Support Google Workspace search feat: Support advanced boost search feat: Add one_box_page_size on search feat: support query regex in control match rules docs: deprecate extractive_answers in answer generation docs: deprecate asynchronous mode in answer generation docs: keep the API doc up-to-date with recent changes PiperOrigin-RevId: 691212731 Source-Link: googleapis/googleapis@e6b6ff9 Source-Link: googleapis/googleapis-gen@67144fd Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWttcy8uT3dsQm90LnlhbWwiLCJoIjoiNjcxNDRmZDQzYzVhM2UxNjQ0MTBiMzYxN2U1NzUyZjJlMDY2ZWMyNSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * docs: A comment for enum `CryptoKeyVersionAlgorithm` is changed PiperOrigin-RevId: 700331075 Source-Link: googleapis/googleapis@3b7310b Source-Link: googleapis/googleapis-gen@9eda366 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWttcy8uT3dsQm90LnlhbWwiLCJoIjoiOWVkYTM2NmQyMmYzMjBlZDRkNGQ1Y2E5ZjFkNThiYmU2ZWZiODgwNSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * docs: code documentation improvements PiperOrigin-RevId: 706891520 Source-Link: googleapis/googleapis@edbf799 Source-Link: googleapis/googleapis-gen@dfaa238 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWttcy8uT3dsQm90LnlhbWwiLCJoIjoiZGZhYTIzODA0OTA2YTNjZGI2MzIwOGU2NTRhMzc4YzNkOWExZDU4NiJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * docs: modify enum comment PiperOrigin-RevId: 713058878 Source-Link: googleapis/googleapis@882633d Source-Link: googleapis/googleapis-gen@ed7e46a Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWttcy8uT3dsQm90LnlhbWwiLCJoIjoiZWQ3ZTQ2YWM4ODYzNzgwODE2NGUwYzFiMmY3ZmRkNmNmNTNiMjk4MSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * feat: paging changes for bigquery fix: add x-goog-request params to headers for LRO-polling methods fix: remove extra protos in ESM & capture ESM in headers docs: update comments for a Nodejs stream object PiperOrigin-RevId: 721038181 Source-Link: googleapis/googleapis@331a41a Source-Link: googleapis/googleapis-gen@e81b4c5 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWttcy8uT3dsQm90LnlhbWwiLCJoIjoiZTgxYjRjNWI1MjA4ODk1ZjY2M2EyNDA0ODYxNWE1OWQ1NjM2ZjQxNSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * fix: fix typings for headers in generator PiperOrigin-RevId: 723181578 Source-Link: googleapis/googleapis@c7b69f4 Source-Link: googleapis/googleapis-gen@d1bc1ac Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWttcy8uT3dsQm90LnlhbWwiLCJoIjoiZDFiYzFhY2Q3NDI5NjQyMmE1Y2I2ZTBjNDAxNmM4YzQ4ZTk5ODUzOCJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * fix: finalize fixing typings for headers in generator PiperOrigin-RevId: 723563760 Source-Link: googleapis/googleapis@2f843e2 Source-Link: googleapis/googleapis-gen@cd0f9c6 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWttcy8uT3dsQm90LnlhbWwiLCJoIjoiY2QwZjljNmZlMWRkNzdjNTUyZWY3NjZlNjA0N2Y4ZGNmZDNiY2MyZSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * feat: Support PQC asymmetric signing algorithms ML_DSA_65 and SLH_DSA_SHA2_128s feat: Add a PublicKeyFormat enum to allow specifying the format the public is going to be exported in PiperOrigin-RevId: 728208243 Source-Link: googleapis/googleapis@0c860e0 Source-Link: googleapis/googleapis-gen@904854f Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWttcy8uT3dsQm90LnlhbWwiLCJoIjoiOTA0ODU0ZmQ0YWYzNWVjY2EwM2M4NjQwNDgyMDAzMWE5ZWM4ZjdhZCJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * chore: update copyright year for auto-generated protos PiperOrigin-RevId: 731731294 Source-Link: googleapis/googleapis@a2dbd2d Source-Link: googleapis/googleapis-gen@c28cf03 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWttcy8uT3dsQm90LnlhbWwiLCJoIjoiYzI4Y2YwMzRlMTM4ZWEwOTg3MDYyYTMzODUwMDIxMWI3YjRmNDM2MiJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: sofisl <55454395+sofisl@users.noreply.github.com>
1 parent 65730ff commit c8dd40a

File tree

68 files changed

+1969
-572
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+1969
-572
lines changed

packages/google-cloud-kms/.jsdoc.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 Google LLC
1+
// Copyright 2025 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.
@@ -40,7 +40,7 @@ module.exports = {
4040
includePattern: '\\.js$'
4141
},
4242
templates: {
43-
copyright: 'Copyright 2024 Google LLC',
43+
copyright: 'Copyright 2025 Google LLC',
4444
includeDate: false,
4545
sourceFiles: false,
4646
systemName: '@google-cloud/kms',

packages/google-cloud-kms/.mocharc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 Google LLC
1+
// Copyright 2025 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.

packages/google-cloud-kms/.prettierrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 Google LLC
1+
// Copyright 2025 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.

packages/google-cloud-kms/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Google APIs Client Libraries, in [Client Libraries Explained][explained].
4444
1. [Select or create a Cloud Platform project][projects].
4545
1. [Enable billing for your project][billing].
4646
1. [Enable the Google Cloud Key Management Service API][enable_api].
47-
1. [Set up authentication with a service account][auth] so you can access the
47+
1. [Set up authentication][auth] so you can access the
4848
API from your local workstation.
4949

5050
### Installing the client library
@@ -207,4 +207,4 @@ See [LICENSE](https://github.com/googleapis/google-cloud-node/blob/main/LICENSE)
207207
[projects]: https://console.cloud.google.com/project
208208
[billing]: https://support.google.com/cloud/answer/6293499#enable-billing
209209
[enable_api]: https://console.cloud.google.com/flows/enableapi?apiid=cloudkms.googleapis.com
210-
[auth]: https://cloud.google.com/docs/authentication/getting-started
210+
[auth]: https://cloud.google.com/docs/authentication/external/set-up-adc-local

packages/google-cloud-kms/protos/google/cloud/kms/v1/autokey.proto

Lines changed: 25 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 Google LLC
1+
// Copyright 2025 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.
@@ -27,7 +27,8 @@ option java_multiple_files = true;
2727
option java_outer_classname = "AutokeyProto";
2828
option java_package = "com.google.cloud.kms.v1";
2929

30-
// Provides interfaces for using Cloud KMS Autokey to provision new
30+
// Provides interfaces for using [Cloud KMS
31+
// Autokey](https://cloud.google.com/kms/help/autokey) to provision new
3132
// [CryptoKeys][google.cloud.kms.v1.CryptoKey], ready for Customer Managed
3233
// Encryption Key (CMEK) use, on-demand. To support certain client tooling, this
3334
// feature is modeled around a [KeyHandle][google.cloud.kms.v1.KeyHandle]
@@ -53,9 +54,9 @@ service Autokey {
5354
// Creates a new [KeyHandle][google.cloud.kms.v1.KeyHandle], triggering the
5455
// provisioning of a new [CryptoKey][google.cloud.kms.v1.CryptoKey] for CMEK
5556
// use with the given resource type in the configured key project and the same
56-
// location. [GetOperation][Operations.GetOperation] should be used to resolve
57-
// the resulting long-running operation and get the resulting
58-
// [KeyHandle][google.cloud.kms.v1.KeyHandle] and
57+
// location. [GetOperation][google.longrunning.Operations.GetOperation] should
58+
// be used to resolve the resulting long-running operation and get the
59+
// resulting [KeyHandle][google.cloud.kms.v1.KeyHandle] and
5960
// [CryptoKey][google.cloud.kms.v1.CryptoKey].
6061
rpc CreateKeyHandle(CreateKeyHandleRequest)
6162
returns (google.longrunning.Operation) {
@@ -180,6 +181,20 @@ message ListKeyHandlesRequest {
180181
}
181182
];
182183

184+
// Optional. Optional limit on the number of
185+
// [KeyHandles][google.cloud.kms.v1.KeyHandle] to include in the response. The
186+
// service may return fewer than this value. Further
187+
// [KeyHandles][google.cloud.kms.v1.KeyHandle] can subsequently be obtained by
188+
// including the
189+
// [ListKeyHandlesResponse.next_page_token][google.cloud.kms.v1.ListKeyHandlesResponse.next_page_token]
190+
// in a subsequent request. If unspecified, at most 100
191+
// [KeyHandles][google.cloud.kms.v1.KeyHandle] will be returned.
192+
int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
193+
194+
// Optional. Optional pagination token, returned earlier via
195+
// [ListKeyHandlesResponse.next_page_token][google.cloud.kms.v1.ListKeyHandlesResponse.next_page_token].
196+
string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
197+
183198
// Optional. Filter to apply when listing
184199
// [KeyHandles][google.cloud.kms.v1.KeyHandle], e.g.
185200
// `resource_type_selector="{SERVICE}.googleapis.com/{TYPE}"`.
@@ -191,4 +206,9 @@ message ListKeyHandlesRequest {
191206
message ListKeyHandlesResponse {
192207
// Resulting [KeyHandles][google.cloud.kms.v1.KeyHandle].
193208
repeated KeyHandle key_handles = 1;
209+
210+
// A token to retrieve next page of results. Pass this value in
211+
// [ListKeyHandlesRequest.page_token][google.cloud.kms.v1.ListKeyHandlesRequest.page_token]
212+
// to retrieve the next page of results.
213+
string next_page_token = 2;
194214
}

packages/google-cloud-kms/protos/google/cloud/kms/v1/autokey_admin.proto

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 Google LLC
1+
// Copyright 2025 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.
@@ -27,7 +27,8 @@ option java_multiple_files = true;
2727
option java_outer_classname = "AutokeyAdminProto";
2828
option java_package = "com.google.cloud.kms.v1";
2929

30-
// Provides interfaces for managing Cloud KMS Autokey folder-level
30+
// Provides interfaces for managing [Cloud KMS
31+
// Autokey](https://cloud.google.com/kms/help/autokey) folder-level
3132
// configurations. A configuration is inherited by all descendent projects. A
3233
// configuration at one folder overrides any other configurations in its
3334
// ancestry. Setting a configuration on a folder is a prerequisite for Cloud KMS
@@ -110,6 +111,23 @@ message AutokeyConfig {
110111
singular: "autokeyConfig"
111112
};
112113

114+
// The states AutokeyConfig can be in.
115+
enum State {
116+
// The state of the AutokeyConfig is unspecified.
117+
STATE_UNSPECIFIED = 0;
118+
119+
// The AutokeyConfig is currently active.
120+
ACTIVE = 1;
121+
122+
// A previously configured key project has been deleted and the current
123+
// AutokeyConfig is unusable.
124+
KEY_PROJECT_DELETED = 2;
125+
126+
// The AutokeyConfig is not yet initialized or has been reset to its default
127+
// uninitialized state.
128+
UNINITIALIZED = 3;
129+
}
130+
113131
// Identifier. Name of the [AutokeyConfig][google.cloud.kms.v1.AutokeyConfig]
114132
// resource, e.g. `folders/{FOLDER_NUMBER}/autokeyConfig`.
115133
string name = 1 [(google.api.field_behavior) = IDENTIFIER];
@@ -126,6 +144,9 @@ message AutokeyConfig {
126144
// `cloudkms.admin` role (or pertinent permissions). A request with an empty
127145
// key project field will clear the configuration.
128146
string key_project = 2 [(google.api.field_behavior) = OPTIONAL];
147+
148+
// Output only. The state for the AutokeyConfig.
149+
State state = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
129150
}
130151

131152
// Request message for

packages/google-cloud-kms/protos/google/cloud/kms/v1/ekm_service.proto

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 Google LLC
1+
// Copyright 2025 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.
@@ -23,7 +23,6 @@ import "google/api/resource.proto";
2323
import "google/protobuf/field_mask.proto";
2424
import "google/protobuf/timestamp.proto";
2525

26-
option cc_enable_arenas = true;
2726
option csharp_namespace = "Google.Cloud.Kms.V1";
2827
option go_package = "cloud.google.com/go/kms/apiv1/kmspb;kmspb";
2928
option java_multiple_files = true;
@@ -289,7 +288,7 @@ message Certificate {
289288
// [CryptoKeys][google.cloud.kms.v1.CryptoKey] and
290289
// [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] with a
291290
// [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of
292-
// [EXTERNAL_VPC][CryptoKeyVersion.ProtectionLevel.EXTERNAL_VPC], as well as
291+
// [EXTERNAL_VPC][google.cloud.kms.v1.ProtectionLevel.EXTERNAL_VPC], as well as
293292
// performing cryptographic operations using keys created within the
294293
// [EkmConnection][google.cloud.kms.v1.EkmConnection].
295294
message EkmConnection {
@@ -355,6 +354,7 @@ message EkmConnection {
355354
// All [CryptoKeys][google.cloud.kms.v1.CryptoKey] created with this
356355
// [EkmConnection][google.cloud.kms.v1.EkmConnection] use EKM-side key
357356
// management operations initiated from Cloud KMS. This means that:
357+
//
358358
// * When a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]
359359
// associated with this [EkmConnection][google.cloud.kms.v1.EkmConnection]
360360
// is
@@ -363,7 +363,8 @@ message EkmConnection {
363363
// external key material.
364364
// * Destruction of external key material associated with this
365365
// [EkmConnection][google.cloud.kms.v1.EkmConnection] can be requested by
366-
// calling [DestroyCryptoKeyVersion][EkmService.DestroyCryptoKeyVersion].
366+
// calling
367+
// [DestroyCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.DestroyCryptoKeyVersion].
367368
// * Automatic rotation of key material is supported.
368369
CLOUD_KMS = 2;
369370
}
@@ -378,13 +379,14 @@ message EkmConnection {
378379
google.protobuf.Timestamp create_time = 2
379380
[(google.api.field_behavior) = OUTPUT_ONLY];
380381

381-
// A list of
382+
// Optional. A list of
382383
// [ServiceResolvers][google.cloud.kms.v1.EkmConnection.ServiceResolver] where
383384
// the EKM can be reached. There should be one ServiceResolver per EKM
384385
// replica. Currently, only a single
385386
// [ServiceResolver][google.cloud.kms.v1.EkmConnection.ServiceResolver] is
386387
// supported.
387-
repeated ServiceResolver service_resolvers = 3;
388+
repeated ServiceResolver service_resolvers = 3
389+
[(google.api.field_behavior) = OPTIONAL];
388390

389391
// Optional. Etag of the currently stored
390392
// [EkmConnection][google.cloud.kms.v1.EkmConnection].
@@ -409,7 +411,7 @@ message EkmConnection {
409411
// [CryptoKeys][google.cloud.kms.v1.CryptoKey] and
410412
// [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] with a
411413
// [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of
412-
// [EXTERNAL_VPC][CryptoKeyVersion.ProtectionLevel.EXTERNAL_VPC] in a given
414+
// [EXTERNAL_VPC][google.cloud.kms.v1.ProtectionLevel.EXTERNAL_VPC] in a given
413415
// project and location.
414416
message EkmConfig {
415417
option (google.api.resource) = {

0 commit comments

Comments
 (0)