Skip to content

Commit e2a57b3

Browse files
feat: Automated regeneration of cloudkms v1 client (googleapis#25737)
Auto-created at 2026-02-15 10:51:42 +0000 using the toys pull request generator.
1 parent da7e2ac commit e2a57b3

6 files changed

Lines changed: 280 additions & 6 deletions

File tree

api_names_out.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82454,6 +82454,11 @@
8245482454
"/cloudkms:v1/ListLocationsResponse/locations": locations
8245582455
"/cloudkms:v1/ListLocationsResponse/locations/location": location
8245682456
"/cloudkms:v1/ListLocationsResponse/nextPageToken": next_page_token
82457+
"/cloudkms:v1/ListRetiredResourcesResponse": list_retired_resources_response
82458+
"/cloudkms:v1/ListRetiredResourcesResponse/nextPageToken": next_page_token
82459+
"/cloudkms:v1/ListRetiredResourcesResponse/retiredResources": retired_resources
82460+
"/cloudkms:v1/ListRetiredResourcesResponse/retiredResources/retired_resource": retired_resource
82461+
"/cloudkms:v1/ListRetiredResourcesResponse/totalSize": total_size
8245782462
"/cloudkms:v1/ListSingleTenantHsmInstanceProposalsResponse": list_single_tenant_hsm_instance_proposals_response
8245882463
"/cloudkms:v1/ListSingleTenantHsmInstanceProposalsResponse/nextPageToken": next_page_token
8245982464
"/cloudkms:v1/ListSingleTenantHsmInstanceProposalsResponse/singleTenantHsmInstanceProposals": single_tenant_hsm_instance_proposals
@@ -82595,6 +82600,11 @@
8259582600
"/cloudkms:v1/RequiredActionQuorumReply/requiredChallengeReplies": required_challenge_replies
8259682601
"/cloudkms:v1/RequiredActionQuorumReply/requiredChallengeReplies/required_challenge_reply": required_challenge_reply
8259782602
"/cloudkms:v1/RestoreCryptoKeyVersionRequest": restore_crypto_key_version_request
82603+
"/cloudkms:v1/RetiredResource": retired_resource
82604+
"/cloudkms:v1/RetiredResource/deleteTime": delete_time
82605+
"/cloudkms:v1/RetiredResource/name": name
82606+
"/cloudkms:v1/RetiredResource/originalResource": original_resource
82607+
"/cloudkms:v1/RetiredResource/resourceType": resource_type
8259882608
"/cloudkms:v1/Rule": rule
8259982609
"/cloudkms:v1/Rule/action": action
8260082610
"/cloudkms:v1/Rule/conditions": conditions
@@ -82748,6 +82758,8 @@
8274882758
"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.create/parent": parent
8274982759
"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.decapsulate": decapsulate_crypto_key_version
8275082760
"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.decapsulate/name": name
82761+
"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.delete": delete_project_location_key_ring_crypto_key_crypto_key_version
82762+
"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.delete/name": name
8275182763
"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.destroy": destroy_crypto_key_version
8275282764
"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.destroy/name": name
8275382765
"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.get": get_project_location_key_ring_crypto_key_crypto_key_version
@@ -82779,6 +82791,8 @@
8277982791
"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.restore/name": name
8278082792
"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.decrypt": decrypt_crypto_key
8278182793
"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.decrypt/name": name
82794+
"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.delete": delete_project_location_key_ring_crypto_key
82795+
"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.delete/name": name
8278282796
"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.encrypt": encrypt_crypto_key
8278382797
"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.encrypt/name": name
8278482798
"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.get": get_project_location_key_ring_crypto_key
@@ -82843,6 +82857,12 @@
8284382857
"/cloudkms:v1/cloudkms.projects.locations.list/pageToken": page_token
8284482858
"/cloudkms:v1/cloudkms.projects.locations.operations.get": get_project_location_operation
8284582859
"/cloudkms:v1/cloudkms.projects.locations.operations.get/name": name
82860+
"/cloudkms:v1/cloudkms.projects.locations.retiredResources.get": get_project_location_retired_resource
82861+
"/cloudkms:v1/cloudkms.projects.locations.retiredResources.get/name": name
82862+
"/cloudkms:v1/cloudkms.projects.locations.retiredResources.list": list_project_location_retired_resources
82863+
"/cloudkms:v1/cloudkms.projects.locations.retiredResources.list/pageSize": page_size
82864+
"/cloudkms:v1/cloudkms.projects.locations.retiredResources.list/pageToken": page_token
82865+
"/cloudkms:v1/cloudkms.projects.locations.retiredResources.list/parent": parent
8284682866
"/cloudkms:v1/cloudkms.projects.locations.singleTenantHsmInstances.create": create_project_location_single_tenant_hsm_instance
8284782867
"/cloudkms:v1/cloudkms.projects.locations.singleTenantHsmInstances.create/parent": parent
8284882868
"/cloudkms:v1/cloudkms.projects.locations.singleTenantHsmInstances.create/singleTenantHsmInstanceId": single_tenant_hsm_instance_id

generated/google-apis-cloudkms_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-cloudkms_v1
22

3+
### v0.70.0 (2026-02-15)
4+
5+
* Regenerated from discovery document revision 20260206
6+
37
### v0.69.0 (2026-02-08)
48

59
* Regenerated from discovery document revision 20260123

generated/google-apis-cloudkms_v1/lib/google/apis/cloudkms_v1/classes.rb

Lines changed: 75 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ class AutokeyConfig
410410
attr_accessor :key_project_resolution_mode
411411

412412
# Identifier. Name of the AutokeyConfig resource, e.g. `folders/`FOLDER_NUMBER`/
413-
# autokeyConfig`
413+
# autokeyConfig` or `projects/`PROJECT_NUMBER`/autokeyConfig`.
414414
# Corresponds to the JSON property `name`
415415
# @return [String]
416416
attr_accessor :name
@@ -2290,6 +2290,38 @@ def update!(**args)
22902290
end
22912291
end
22922292

2293+
# Response message for KeyManagementService.ListRetiredResources.
2294+
class ListRetiredResourcesResponse
2295+
include Google::Apis::Core::Hashable
2296+
2297+
# A token to retrieve the next page of results. Pass this value in
2298+
# ListRetiredResourcesRequest.page_token to retrieve the next page of results.
2299+
# Corresponds to the JSON property `nextPageToken`
2300+
# @return [String]
2301+
attr_accessor :next_page_token
2302+
2303+
# The list of RetiredResources.
2304+
# Corresponds to the JSON property `retiredResources`
2305+
# @return [Array<Google::Apis::CloudkmsV1::RetiredResource>]
2306+
attr_accessor :retired_resources
2307+
2308+
# The total number of RetiredResources that matched the query.
2309+
# Corresponds to the JSON property `totalSize`
2310+
# @return [Fixnum]
2311+
attr_accessor :total_size
2312+
2313+
def initialize(**args)
2314+
update!(**args)
2315+
end
2316+
2317+
# Update properties of this object
2318+
def update!(**args)
2319+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2320+
@retired_resources = args[:retired_resources] if args.key?(:retired_resources)
2321+
@total_size = args[:total_size] if args.key?(:total_size)
2322+
end
2323+
end
2324+
22932325
# Response message for HsmManagement.ListSingleTenantHsmInstanceProposals.
22942326
class ListSingleTenantHsmInstanceProposalsResponse
22952327
include Google::Apis::Core::Hashable
@@ -3526,6 +3558,48 @@ def update!(**args)
35263558
end
35273559
end
35283560

3561+
# A RetiredResource resource represents the record of a deleted CryptoKey. Its
3562+
# purpose is to provide visibility into retained user data and to prevent reuse
3563+
# of these names for new CryptoKeys.
3564+
class RetiredResource
3565+
include Google::Apis::Core::Hashable
3566+
3567+
# Output only. The time at which the original resource was deleted and this
3568+
# RetiredResource record was created.
3569+
# Corresponds to the JSON property `deleteTime`
3570+
# @return [String]
3571+
attr_accessor :delete_time
3572+
3573+
# Output only. Identifier. The resource name for this RetiredResource in the
3574+
# format `projects/*/locations/*/retiredResources/*`.
3575+
# Corresponds to the JSON property `name`
3576+
# @return [String]
3577+
attr_accessor :name
3578+
3579+
# Output only. The full resource name of the original CryptoKey that was deleted
3580+
# in the format `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
3581+
# Corresponds to the JSON property `originalResource`
3582+
# @return [String]
3583+
attr_accessor :original_resource
3584+
3585+
# Output only. The resource type of the original deleted resource.
3586+
# Corresponds to the JSON property `resourceType`
3587+
# @return [String]
3588+
attr_accessor :resource_type
3589+
3590+
def initialize(**args)
3591+
update!(**args)
3592+
end
3593+
3594+
# Update properties of this object
3595+
def update!(**args)
3596+
@delete_time = args[:delete_time] if args.key?(:delete_time)
3597+
@name = args[:name] if args.key?(:name)
3598+
@original_resource = args[:original_resource] if args.key?(:original_resource)
3599+
@resource_type = args[:resource_type] if args.key?(:resource_type)
3600+
end
3601+
end
3602+
35293603
# A ServiceResolver represents an EKM replica that can be reached within an
35303604
# EkmConnection.
35313605
class ServiceResolver

generated/google-apis-cloudkms_v1/lib/google/apis/cloudkms_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module CloudkmsV1
1818
# Version of the google-apis-cloudkms_v1 gem
19-
GEM_VERSION = "0.69.0"
19+
GEM_VERSION = "0.70.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20260123"
25+
REVISION = "20260206"
2626
end
2727
end
2828
end

generated/google-apis-cloudkms_v1/lib/google/apis/cloudkms_v1/representations.rb

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
340340
include Google::Apis::Core::JsonObjectSupport
341341
end
342342

343+
class ListRetiredResourcesResponse
344+
class Representation < Google::Apis::Core::JsonRepresentation; end
345+
346+
include Google::Apis::Core::JsonObjectSupport
347+
end
348+
343349
class ListSingleTenantHsmInstanceProposalsResponse
344350
class Representation < Google::Apis::Core::JsonRepresentation; end
345351

@@ -484,6 +490,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
484490
include Google::Apis::Core::JsonObjectSupport
485491
end
486492

493+
class RetiredResource
494+
class Representation < Google::Apis::Core::JsonRepresentation; end
495+
496+
include Google::Apis::Core::JsonObjectSupport
497+
end
498+
487499
class ServiceResolver
488500
class Representation < Google::Apis::Core::JsonRepresentation; end
489501

@@ -1075,6 +1087,16 @@ class Representation < Google::Apis::Core::JsonRepresentation
10751087
end
10761088
end
10771089

1090+
class ListRetiredResourcesResponse
1091+
# @private
1092+
class Representation < Google::Apis::Core::JsonRepresentation
1093+
property :next_page_token, as: 'nextPageToken'
1094+
collection :retired_resources, as: 'retiredResources', class: Google::Apis::CloudkmsV1::RetiredResource, decorator: Google::Apis::CloudkmsV1::RetiredResource::Representation
1095+
1096+
property :total_size, :numeric_string => true, as: 'totalSize'
1097+
end
1098+
end
1099+
10781100
class ListSingleTenantHsmInstanceProposalsResponse
10791101
# @private
10801102
class Representation < Google::Apis::Core::JsonRepresentation
@@ -1323,6 +1345,16 @@ class Representation < Google::Apis::Core::JsonRepresentation
13231345
end
13241346
end
13251347

1348+
class RetiredResource
1349+
# @private
1350+
class Representation < Google::Apis::Core::JsonRepresentation
1351+
property :delete_time, as: 'deleteTime'
1352+
property :name, as: 'name'
1353+
property :original_resource, as: 'originalResource'
1354+
property :resource_type, as: 'resourceType'
1355+
end
1356+
end
1357+
13261358
class ServiceResolver
13271359
# @private
13281360
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)