google-apis-apikeys_v2 0.7.0 → 0.8.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: 7efec06cb49e1190424007fcc6fe49f3637e95a80dda84a742310aecb302197e
4
- data.tar.gz: c8ad462d7ffdc497958f2449818f22ba60149409a6adfb79ad2b48e3bd28416a
3
+ metadata.gz: 46e9925dfd29b2b08bee2ca5e6755078e153a893f9b4b5efeb3687d325f369b7
4
+ data.tar.gz: 4031f231bd0f00344feac6460d0ce5e5db8aa726fa6a51c71345595f97fc066b
5
5
  SHA512:
6
- metadata.gz: 409bf38664448cf9d4964b4b249014ffee690c4aaf7bc7e9b36d7994cc975e38c74cdf1440a70a5b58a914a8fc13e5bcc317661a6b587071f1e6bd55c2ca08c7
7
- data.tar.gz: 122d5ccf4e8cb80ab68c6b5429ab59921b99f4c13979fca49f990bcf7cece74047b81b276b3a4401801a5453ce4d6b0a342817c86dee7c0c62089f470009d245
6
+ metadata.gz: f1b912bd67651cbad5f6bec1378bf964e5977d4a447ac389a7db8bf29d8c33838e8bbdfff1d417e38c0773b1aff1d5bee0f1a93066ca02a39aaac4f3b230df82
7
+ data.tar.gz: 2a5896b7929c24dad7d5048d4edd1dee02e02b1c0b5644dd1881b0d370f1bc8b40db84ac68ef3c92a2e064e794593f9c4fe0dcd3c190beed7fdea686a5e1869a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-apikeys_v2
2
2
 
3
+ ### v0.8.0 (2022-01-19)
4
+
5
+ * Regenerated from discovery document revision 20220118
6
+ * Regenerated using generator version 0.4.1
7
+
3
8
  ### v0.7.0 (2022-01-07)
4
9
 
5
10
  * Regenerated from discovery document revision 20220105
@@ -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.7.0"
19
+ GEM_VERSION = "0.8.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.0"
22
+ GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220105"
25
+ REVISION = "20220118"
26
26
  end
27
27
  end
28
28
  end
@@ -113,10 +113,12 @@ module Google
113
113
  execute_or_queue_command(command, &block)
114
114
  end
115
115
 
116
- # Clones the existing key's restriction and display name to a new API key. The
117
- # service account must have the `apikeys.keys.get` and `apikeys.keys.create`
118
- # permissions in the project. NOTE: Key is a global resource; hence the only
119
- # supported value for location is `global`.
116
+ # DEPRECATED: API customers can call `GetKey` and then `CreateKey` methods to
117
+ # create a copy of an existing key. Retire `CloneKey` method to eliminate the
118
+ # unnessary method from API Keys API. Clones the existing key's restriction and
119
+ # display name to a new API key. The service account must have the `apikeys.keys.
120
+ # get` and `apikeys.keys.create` permissions in the project. NOTE: Key is a
121
+ # global resource; hence the only supported value for location is `global`.
120
122
  # @param [String] name
121
123
  # Required. The resource name of the API key to be cloned in the same project.
122
124
  # @param [Google::Apis::ApikeysV2::V2CloneKeyRequest] v2_clone_key_request_object
@@ -296,13 +298,16 @@ module Google
296
298
  # @param [String] parent
297
299
  # Required. Lists all API keys associated with this project.
298
300
  # @param [String] filter
299
- # Optional. Only list keys that conform to the specified filter. The allowed
300
- # filter strings are `state:ACTIVE` and `state:DELETED`. By default, ListKeys
301
- # returns only active keys.
301
+ # Optional. Deprecated: Use `show_deleted` instead. Only list keys that conform
302
+ # to the specified filter. The allowed filter strings are `state:ACTIVE` and `
303
+ # state:DELETED`. By default, ListKeys returns only active keys.
302
304
  # @param [Fixnum] page_size
303
305
  # Optional. Specifies the maximum number of results to be returned at a time.
304
306
  # @param [String] page_token
305
307
  # Optional. Requests a specific page of results.
308
+ # @param [Boolean] show_deleted
309
+ # Optional. Indicate that keys are marked as deleted within 30 days should also
310
+ # be returned. Normally only active keys are returned.
306
311
  # @param [String] fields
307
312
  # Selector specifying which fields to include in a partial response.
308
313
  # @param [String] quota_user
@@ -320,7 +325,7 @@ module Google
320
325
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
321
326
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
322
327
  # @raise [Google::Apis::AuthorizationError] Authorization is required
323
- def list_project_location_keys(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
328
+ def list_project_location_keys(parent, filter: nil, page_size: nil, page_token: nil, show_deleted: nil, fields: nil, quota_user: nil, options: nil, &block)
324
329
  command = make_simple_command(:get, 'v2/{+parent}/keys', options)
325
330
  command.response_representation = Google::Apis::ApikeysV2::V2ListKeysResponse::Representation
326
331
  command.response_class = Google::Apis::ApikeysV2::V2ListKeysResponse
@@ -328,6 +333,7 @@ module Google
328
333
  command.query['filter'] = filter unless filter.nil?
329
334
  command.query['pageSize'] = page_size unless page_size.nil?
330
335
  command.query['pageToken'] = page_token unless page_token.nil?
336
+ command.query['showDeleted'] = show_deleted unless show_deleted.nil?
331
337
  command.query['fields'] = fields unless fields.nil?
332
338
  command.query['quotaUser'] = quota_user unless quota_user.nil?
333
339
  execute_or_queue_command(command, &block)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-apikeys_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-10 00:00:00.000000000 Z
11
+ date: 2022-01-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-apikeys_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-apikeys_v2/v0.7.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-apikeys_v2/v0.8.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-apikeys_v2
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.4
78
+ rubygems_version: 3.3.5
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for API Keys API V2