Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: [kms] update copyright year for auto-generated protos #5689

Merged
merged 22 commits into from
Mar 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
13fd625
fix!: Pagination feature is introduced for method `ListKeyHandles` in…
gcf-owl-bot[bot] Sep 19, 2024
bb11beb
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] Sep 19, 2024
a5ac9b6
feat: Add GroundedGenerationService API
gcf-owl-bot[bot] Oct 30, 2024
d6f6c77
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] Oct 30, 2024
df34097
docs: A comment for enum `CryptoKeyVersionAlgorithm` is changed
gcf-owl-bot[bot] Nov 26, 2024
e8fb7fe
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] Nov 26, 2024
dec625b
docs: code documentation improvements
gcf-owl-bot[bot] Dec 17, 2024
359de43
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] Dec 17, 2024
551eff6
docs: modify enum comment
gcf-owl-bot[bot] Jan 8, 2025
99462d0
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] Jan 8, 2025
1193c1d
feat: paging changes for bigquery
gcf-owl-bot[bot] Jan 29, 2025
78be38f
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] Jan 29, 2025
c874317
fix: fix typings for headers in generator
gcf-owl-bot[bot] Feb 4, 2025
ef5cc6e
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] Feb 4, 2025
0f6ca9e
fix: finalize fixing typings for headers in generator
gcf-owl-bot[bot] Feb 5, 2025
8e5f194
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] Feb 5, 2025
6d84dfc
feat: Support PQC asymmetric signing algorithms ML_DSA_65 and SLH_DSA…
gcf-owl-bot[bot] Feb 18, 2025
26c8617
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] Feb 18, 2025
a7277e7
chore: update copyright year for auto-generated protos
gcf-owl-bot[bot] Feb 27, 2025
00cc38a
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] Feb 27, 2025
347fba5
Merge branch 'main' into owl-bot-copy-packages-google-cloud-kms
sofisl Mar 3, 2025
93eadd8
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] Mar 3, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/google-cloud-kms/.jsdoc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 Google LLC
// Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -40,7 +40,7 @@ module.exports = {
includePattern: '\\.js$'
},
templates: {
copyright: 'Copyright 2024 Google LLC',
copyright: 'Copyright 2025 Google LLC',
includeDate: false,
sourceFiles: false,
systemName: '@google-cloud/kms',
Expand Down
2 changes: 1 addition & 1 deletion packages/google-cloud-kms/.mocharc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 Google LLC
// Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion packages/google-cloud-kms/.prettierrc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 Google LLC
// Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions packages/google-cloud-kms/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Google APIs Client Libraries, in [Client Libraries Explained][explained].
1. [Select or create a Cloud Platform project][projects].
1. [Enable billing for your project][billing].
1. [Enable the Google Cloud Key Management Service API][enable_api].
1. [Set up authentication with a service account][auth] so you can access the
1. [Set up authentication][auth] so you can access the
API from your local workstation.

### Installing the client library
Expand Down Expand Up @@ -207,4 +207,4 @@ See [LICENSE](https://github.com/googleapis/google-cloud-node/blob/main/LICENSE)
[projects]: https://console.cloud.google.com/project
[billing]: https://support.google.com/cloud/answer/6293499#enable-billing
[enable_api]: https://console.cloud.google.com/flows/enableapi?apiid=cloudkms.googleapis.com
[auth]: https://cloud.google.com/docs/authentication/getting-started
[auth]: https://cloud.google.com/docs/authentication/external/set-up-adc-local
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 Google LLC
// Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -27,7 +27,8 @@ option java_multiple_files = true;
option java_outer_classname = "AutokeyProto";
option java_package = "com.google.cloud.kms.v1";

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

// Optional. Optional limit on the number of
// [KeyHandles][google.cloud.kms.v1.KeyHandle] to include in the response. The
// service may return fewer than this value. Further
// [KeyHandles][google.cloud.kms.v1.KeyHandle] can subsequently be obtained by
// including the
// [ListKeyHandlesResponse.next_page_token][google.cloud.kms.v1.ListKeyHandlesResponse.next_page_token]
// in a subsequent request. If unspecified, at most 100
// [KeyHandles][google.cloud.kms.v1.KeyHandle] will be returned.
int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];

// Optional. Optional pagination token, returned earlier via
// [ListKeyHandlesResponse.next_page_token][google.cloud.kms.v1.ListKeyHandlesResponse.next_page_token].
string page_token = 3 [(google.api.field_behavior) = OPTIONAL];

// Optional. Filter to apply when listing
// [KeyHandles][google.cloud.kms.v1.KeyHandle], e.g.
// `resource_type_selector="{SERVICE}.googleapis.com/{TYPE}"`.
Expand All @@ -191,4 +206,9 @@ message ListKeyHandlesRequest {
message ListKeyHandlesResponse {
// Resulting [KeyHandles][google.cloud.kms.v1.KeyHandle].
repeated KeyHandle key_handles = 1;

// A token to retrieve next page of results. Pass this value in
// [ListKeyHandlesRequest.page_token][google.cloud.kms.v1.ListKeyHandlesRequest.page_token]
// to retrieve the next page of results.
string next_page_token = 2;
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 Google LLC
// Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -27,7 +27,8 @@ option java_multiple_files = true;
option java_outer_classname = "AutokeyAdminProto";
option java_package = "com.google.cloud.kms.v1";

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

// The states AutokeyConfig can be in.
enum State {
// The state of the AutokeyConfig is unspecified.
STATE_UNSPECIFIED = 0;

// The AutokeyConfig is currently active.
ACTIVE = 1;

// A previously configured key project has been deleted and the current
// AutokeyConfig is unusable.
KEY_PROJECT_DELETED = 2;

// The AutokeyConfig is not yet initialized or has been reset to its default
// uninitialized state.
UNINITIALIZED = 3;
}

// Identifier. Name of the [AutokeyConfig][google.cloud.kms.v1.AutokeyConfig]
// resource, e.g. `folders/{FOLDER_NUMBER}/autokeyConfig`.
string name = 1 [(google.api.field_behavior) = IDENTIFIER];
Expand All @@ -126,6 +144,9 @@ message AutokeyConfig {
// `cloudkms.admin` role (or pertinent permissions). A request with an empty
// key project field will clear the configuration.
string key_project = 2 [(google.api.field_behavior) = OPTIONAL];

// Output only. The state for the AutokeyConfig.
State state = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
}

// Request message for
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 Google LLC
// Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -23,7 +23,6 @@ import "google/api/resource.proto";
import "google/protobuf/field_mask.proto";
import "google/protobuf/timestamp.proto";

option cc_enable_arenas = true;
option csharp_namespace = "Google.Cloud.Kms.V1";
option go_package = "cloud.google.com/go/kms/apiv1/kmspb;kmspb";
option java_multiple_files = true;
Expand Down Expand Up @@ -289,7 +288,7 @@ message Certificate {
// [CryptoKeys][google.cloud.kms.v1.CryptoKey] and
// [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] with a
// [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of
// [EXTERNAL_VPC][CryptoKeyVersion.ProtectionLevel.EXTERNAL_VPC], as well as
// [EXTERNAL_VPC][google.cloud.kms.v1.ProtectionLevel.EXTERNAL_VPC], as well as
// performing cryptographic operations using keys created within the
// [EkmConnection][google.cloud.kms.v1.EkmConnection].
message EkmConnection {
Expand Down Expand Up @@ -355,6 +354,7 @@ message EkmConnection {
// All [CryptoKeys][google.cloud.kms.v1.CryptoKey] created with this
// [EkmConnection][google.cloud.kms.v1.EkmConnection] use EKM-side key
// management operations initiated from Cloud KMS. This means that:
//
// * When a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]
// associated with this [EkmConnection][google.cloud.kms.v1.EkmConnection]
// is
Expand All @@ -363,7 +363,8 @@ message EkmConnection {
// external key material.
// * Destruction of external key material associated with this
// [EkmConnection][google.cloud.kms.v1.EkmConnection] can be requested by
// calling [DestroyCryptoKeyVersion][EkmService.DestroyCryptoKeyVersion].
// calling
// [DestroyCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.DestroyCryptoKeyVersion].
// * Automatic rotation of key material is supported.
CLOUD_KMS = 2;
}
Expand All @@ -378,13 +379,14 @@ message EkmConnection {
google.protobuf.Timestamp create_time = 2
[(google.api.field_behavior) = OUTPUT_ONLY];

// A list of
// Optional. A list of
// [ServiceResolvers][google.cloud.kms.v1.EkmConnection.ServiceResolver] where
// the EKM can be reached. There should be one ServiceResolver per EKM
// replica. Currently, only a single
// [ServiceResolver][google.cloud.kms.v1.EkmConnection.ServiceResolver] is
// supported.
repeated ServiceResolver service_resolvers = 3;
repeated ServiceResolver service_resolvers = 3
[(google.api.field_behavior) = OPTIONAL];

// Optional. Etag of the currently stored
// [EkmConnection][google.cloud.kms.v1.EkmConnection].
Expand All @@ -409,7 +411,7 @@ message EkmConnection {
// [CryptoKeys][google.cloud.kms.v1.CryptoKey] and
// [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] with a
// [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of
// [EXTERNAL_VPC][CryptoKeyVersion.ProtectionLevel.EXTERNAL_VPC] in a given
// [EXTERNAL_VPC][google.cloud.kms.v1.ProtectionLevel.EXTERNAL_VPC] in a given
// project and location.
message EkmConfig {
option (google.api.resource) = {
Expand Down
Loading