google-apis-apikeys_v2 0.4.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 62c041c90df7f43a59dd2e5d7f1b3be02c5ddc5b85d2e078354ecda2b6c3dca8
4
- data.tar.gz: 2bef69e349042e53fe610a88e6c95d7aa7b85272dd040900d2206e21a5689087
3
+ metadata.gz: 46e9925dfd29b2b08bee2ca5e6755078e153a893f9b4b5efeb3687d325f369b7
4
+ data.tar.gz: 4031f231bd0f00344feac6460d0ce5e5db8aa726fa6a51c71345595f97fc066b
5
5
  SHA512:
6
- metadata.gz: 461b5c20a6b8af132df6aa9fa9cd7d7dd942ef9819a7c0e01de603b17e08fb28211d032a9f299d050a4adebcb0c23e9453b2b901f236631f7708a5c43c1cea51
7
- data.tar.gz: 1955a9b5d434d86821c86d5b9b5712ed70e4eacde375329cca31cc1eae983b9ac1790e574bb3c64cfff78a65cb896c0cbea46fee0db3c3b79885332c7c808765
6
+ metadata.gz: f1b912bd67651cbad5f6bec1378bf964e5977d4a447ac389a7db8bf29d8c33838e8bbdfff1d417e38c0773b1aff1d5bee0f1a93066ca02a39aaac4f3b230df82
7
+ data.tar.gz: 2a5896b7929c24dad7d5048d4edd1dee02e02b1c0b5644dd1881b0d370f1bc8b40db84ac68ef3c92a2e064e794593f9c4fe0dcd3c190beed7fdea686a5e1869a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
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
+
8
+ ### v0.7.0 (2022-01-07)
9
+
10
+ * Regenerated from discovery document revision 20220105
11
+ * Unspecified changes
12
+
13
+ ### v0.6.0 (2021-10-20)
14
+
15
+ * Unspecified changes
16
+
17
+ ### v0.5.0 (2021-09-01)
18
+
19
+ * Regenerated from discovery document revision 20210807
20
+
3
21
  ### v0.4.0 (2021-06-29)
4
22
 
5
23
  * Regenerated using generator version 0.4.0
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/apikeys_v2"
51
51
  client = Google::Apis::ApikeysV2::ApiKeysServiceService.new
52
52
 
53
53
  # Authenticate calls
54
- client.authentication = # ... use the googleauth gem to create credentials
54
+ client.authorization = # ... use the googleauth gem to create credentials
55
55
  ```
56
56
 
57
57
  See the class reference docs for information on the methods you can call from a client.
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
60
60
 
61
61
  More detailed descriptions of the Google simple REST clients are available in two documents.
62
62
 
63
- * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
- * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
63
+ * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
+ * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
65
65
 
66
66
  (Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Apikeys service in particular.)
67
67
 
@@ -307,7 +307,8 @@ module Google
307
307
 
308
308
  # Output only. A checksum computed by the server based on the current value of
309
309
  # the Key resource. This may be sent on update and delete requests to ensure the
310
- # client has an up-to-date value before proceeding.
310
+ # client has an up-to-date value before proceeding. See https://google.aip.dev/
311
+ # 154.
311
312
  # Corresponds to the JSON property `etag`
312
313
  # @return [String]
313
314
  attr_accessor :etag
@@ -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.4.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 = "20210421"
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)
@@ -29,10 +29,10 @@ 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 Platform data
32
+ # See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
34
34
 
35
- # View your data across Google Cloud Platform services
35
+ # View your data across Google Cloud services and see the email address of your Google Account
36
36
  AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only'
37
37
  end
38
38
  end
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.4.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: 2021-07-05 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
@@ -57,9 +57,9 @@ licenses:
57
57
  - Apache-2.0
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
- changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-apikeys_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-apikeys_v2/v0.4.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-apikeys_v2
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.8.0
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: []
65
65
  require_paths:
@@ -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.2.17
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