google-apis-apikeys_v2 0.28.0 → 0.30.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7fbb634b98f591634ade55d948f60a0ad096be8065dc8e5d5183bcfe6b7344ba
4
- data.tar.gz: c3b3cacf70a510ab32728e321d9cc842a4b2e7cfff0f809f94cb1a26b4b82221
3
+ metadata.gz: 1de8d1a10c0fc4e5f192be82df67a992298c936f96d30166b3859709bc27c181
4
+ data.tar.gz: 49c8e4ab903054e0b1b5f281161c6b74851d929b740d2b0297a5f1a5e125c140
5
5
  SHA512:
6
- metadata.gz: a78dbc13243fc052d872653bc12e3f556b09b66ac02d3c6ea845317ecdebf1edcd904e2e49300c10029c68fba0b43584679aa726d996c15ee08072bbaf955490
7
- data.tar.gz: '044369a8791b9a1500e7cf9f9fac3bee30787ffa581a034529dec1801e703c3ce42380be02868d0184b45f923c8d9cb43ea4a0c734075bc94bdfa21fb888a37c'
6
+ metadata.gz: 7863e9e5064eda6b55b96884a0e1cf53f762280c369f0e02b3b71aff5774a172dc0512f51966e93abd46cf92582399a9dd562755bff86757f86437d31fe465a9
7
+ data.tar.gz: a65a10db9a4676dc732f55f320a856a5ca00b39b6a22445d8365e65cc1ba01a5fceb6030993b5f8183dafed16ec18bdfa5af8d49cf60eb5bfeccb57c8f130161
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-apikeys_v2
2
2
 
3
+ ### v0.30.0 (2026-08-23)
4
+
5
+ * Regenerated from discovery document revision 20260818
6
+
7
+ ### v0.29.0 (2026-08-09)
8
+
9
+ * Regenerated from discovery document revision 20260731
10
+
3
11
  ### v0.28.0 (2026-06-14)
4
12
 
5
13
  * Regenerated using generator version 0.19.0
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ApikeysV2
18
18
  # Version of the google-apis-apikeys_v2 gem
19
- GEM_VERSION = "0.28.0"
19
+ GEM_VERSION = "0.30.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260317"
25
+ REVISION = "20260818"
26
26
  end
27
27
  end
28
28
  end
@@ -163,6 +163,8 @@ module Google
163
163
  # hence the only supported value for location is `global`.
164
164
  # @param [String] name
165
165
  # Required. The resource name of the API key to be deleted.
166
+ # @param [String] check_existing_usage
167
+ # Optional. Defines the behavior for checking existing usage when deleting a key.
166
168
  # @param [String] etag
167
169
  # Optional. The etag known to the client for the expected state of the key. This
168
170
  # is to be used for optimistic concurrency.
@@ -183,11 +185,12 @@ module Google
183
185
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
184
186
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
185
187
  # @raise [Google::Apis::AuthorizationError] Authorization is required
186
- def delete_project_location_key(name, etag: nil, fields: nil, quota_user: nil, options: nil, &block)
188
+ def delete_project_location_key(name, check_existing_usage: nil, etag: nil, fields: nil, quota_user: nil, options: nil, &block)
187
189
  command = make_simple_command(:delete, 'v2/{+name}', options)
188
190
  command.response_representation = Google::Apis::ApikeysV2::Operation::Representation
189
191
  command.response_class = Google::Apis::ApikeysV2::Operation
190
192
  command.params['name'] = name unless name.nil?
193
+ command.query['checkExistingUsage'] = check_existing_usage unless check_existing_usage.nil?
191
194
  command.query['etag'] = etag unless etag.nil?
192
195
  command.query['fields'] = fields unless fields.nil?
193
196
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -309,6 +312,8 @@ module Google
309
312
  # keys/b7ff1f9f-8275-410a-94dd-3855ee9b5dd2` NOTE: Key is a global resource;
310
313
  # hence the only supported value for location is `global`.
311
314
  # @param [Google::Apis::ApikeysV2::V2Key] v2_key_object
315
+ # @param [String] check_existing_usage
316
+ # Optional. Defines the behavior for checking existing usage when updating a key.
312
317
  # @param [String] update_mask
313
318
  # The field mask specifies which fields to be updated as part of this request.
314
319
  # All other fields are ignored. Mutable fields are: `display_name`, `
@@ -333,13 +338,14 @@ module Google
333
338
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
334
339
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
335
340
  # @raise [Google::Apis::AuthorizationError] Authorization is required
336
- def patch_project_location_key(name, v2_key_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
341
+ def patch_project_location_key(name, v2_key_object = nil, check_existing_usage: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
337
342
  command = make_simple_command(:patch, 'v2/{+name}', options)
338
343
  command.request_representation = Google::Apis::ApikeysV2::V2Key::Representation
339
344
  command.request_object = v2_key_object
340
345
  command.response_representation = Google::Apis::ApikeysV2::Operation::Representation
341
346
  command.response_class = Google::Apis::ApikeysV2::Operation
342
347
  command.params['name'] = name unless name.nil?
348
+ command.query['checkExistingUsage'] = check_existing_usage unless check_existing_usage.nil?
343
349
  command.query['updateMask'] = update_mask unless update_mask.nil?
344
350
  command.query['fields'] = fields unless fields.nil?
345
351
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -29,6 +29,12 @@ module Google
29
29
  # This is NOT the gem version.
30
30
  VERSION = 'V2'
31
31
 
32
+ # See, edit, configure, and delete your Google Cloud API Keys data and see the email address for your Google Account
33
+ AUTH_APIKEYS = 'https://www.googleapis.com/auth/apikeys'
34
+
35
+ # See your Google Cloud API Keys data and the email address of your Google Account
36
+ AUTH_APIKEYS_READONLY = 'https://www.googleapis.com/auth/apikeys.readonly'
37
+
32
38
  # See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
33
39
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
34
40
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-apikeys_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.28.0
4
+ version: 0.30.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-apikeys_v2/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-apikeys_v2/v0.28.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-apikeys_v2/v0.30.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-apikeys_v2
62
62
  rdoc_options: []
63
63
  require_paths: