google-apis-apikeys_v2 0.28.0 → 0.29.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/apikeys_v2/gem_version.rb +2 -2
- data/lib/google/apis/apikeys_v2/service.rb +8 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2b5c74b06967b3e25f21a874fdec51c3fb8df8c9052437ac6952bc5a03629bd7
|
|
4
|
+
data.tar.gz: a13c27bb4571572762012c944e331ec16b2057559dce98308d0dbbb7e02892f5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3b35ffa05f8da7b975b0ba29d0ee011f7ff6c7dc78421ead780739479d585d9633a341171042e5b5f6be6a4442ea239c676c471fb455be0a89ca025e7a38fe3b
|
|
7
|
+
data.tar.gz: 21c9cc971466a49704050cdbde4f712974d6616405a9c244e3c4086fc760f34e9f483bdb6638015bbe61e5c2f87e0aa3255e4446762343321b8bd6520079837e
|
data/CHANGELOG.md
CHANGED
|
@@ -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.
|
|
19
|
+
GEM_VERSION = "0.29.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 = "
|
|
25
|
+
REVISION = "20260731"
|
|
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?
|
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.
|
|
4
|
+
version: 0.29.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.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-apikeys_v2/v0.29.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:
|