google-apis-apikeys_v2 0.10.0 → 0.13.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: c9c47e4926f8ddd115ef415bb9eb8f52c3feb1e42e174499f259724a393d9cc5
4
- data.tar.gz: 1708b4bec5fd31aec58bbdbc47ccd56178e9e0c61ebfa40b8f96b4b7a09126b4
3
+ metadata.gz: 28d412ce4f36b712cbef0102aad8d7abd1abd4c7d44c73160121c4636e796719
4
+ data.tar.gz: 46cb12c6ce82a8c412d7ea9245ac45ea7606cb5daa4160a52ae4bf78032767d8
5
5
  SHA512:
6
- metadata.gz: 4b6db43fd9560970168a14031cb07e455471d4cdf373842b0535a0345f0ff62d617f5af25169039bf33d15d1840cd25315d81cccd4d7443b2264384a86a1009e
7
- data.tar.gz: 0207f326b69c6785fbd9f9700b65893d219dca117d7cf971c1cd876e3551d2a9ea28ecf46eacb4a79c06bdd42d9e85ab72975387569a9a585f3722cf37595cfa
6
+ metadata.gz: 48065b34909635b0a1eefbb5a951e86dc3ad1c29e9f9d0a7a9c9df6a53e9b2402fbaf88707389387eac62d966e98dfc0abff23be42431aa352baee154ee55861
7
+ data.tar.gz: e360a7c95367b2b869acdb8b417fa967d4e3da6f7220f53de521e35bbe05110bd3b598685827bed8155024dcaf93e6d775dd80557f7396b2cdd7b91f20e22679
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-apikeys_v2
2
2
 
3
+ ### v0.13.0 (2022-06-01)
4
+
5
+ * Regenerated from discovery document revision 20220530
6
+
7
+ ### v0.12.0 (2022-04-20)
8
+
9
+ * Regenerated from discovery document revision 20220418
10
+
11
+ ### v0.11.0 (2022-04-07)
12
+
13
+ * Regenerated from discovery document revision 20220405
14
+
3
15
  ### v0.10.0 (2022-04-01)
4
16
 
5
17
  * Regenerated from discovery document revision 20220330
@@ -222,30 +222,6 @@ module Google
222
222
  end
223
223
  end
224
224
 
225
- # Request message for `CloneKey` method.
226
- class V2CloneKeyRequest
227
- include Google::Apis::Core::Hashable
228
-
229
- # User specified key id (optional). If specified, it will become the final
230
- # component of the key resource name. The id must be unique within the project,
231
- # must conform with RFC-1034, is restricted to lower-cased letters, and has a
232
- # maximum length of 63 characters. In another word, the id must match the
233
- # regular expression: `[a-z]([a-z0-9-]`0,61`[a-z0-9])?`. The id must NOT be a
234
- # UUID-like string.
235
- # Corresponds to the JSON property `keyId`
236
- # @return [String]
237
- attr_accessor :key_id
238
-
239
- def initialize(**args)
240
- update!(**args)
241
- end
242
-
243
- # Update properties of this object
244
- def update!(**args)
245
- @key_id = args[:key_id] if args.key?(:key_id)
246
- end
247
- end
248
-
249
225
  # Response message for `GetKeyString` method.
250
226
  class V2GetKeyStringResponse
251
227
  include Google::Apis::Core::Hashable
@@ -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.10.0"
19
+ GEM_VERSION = "0.13.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220330"
25
+ REVISION = "20220530"
26
26
  end
27
27
  end
28
28
  end
@@ -58,12 +58,6 @@ module Google
58
58
  include Google::Apis::Core::JsonObjectSupport
59
59
  end
60
60
 
61
- class V2CloneKeyRequest
62
- class Representation < Google::Apis::Core::JsonRepresentation; end
63
-
64
- include Google::Apis::Core::JsonObjectSupport
65
- end
66
-
67
61
  class V2GetKeyStringResponse
68
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
63
 
@@ -164,13 +158,6 @@ module Google
164
158
  end
165
159
  end
166
160
 
167
- class V2CloneKeyRequest
168
- # @private
169
- class Representation < Google::Apis::Core::JsonRepresentation
170
- property :key_id, as: 'keyId'
171
- end
172
- end
173
-
174
161
  class V2GetKeyStringResponse
175
162
  # @private
176
163
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -113,44 +113,6 @@ module Google
113
113
  execute_or_queue_command(command, &block)
114
114
  end
115
115
 
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`.
122
- # @param [String] name
123
- # Required. The resource name of the API key to be cloned in the same project.
124
- # @param [Google::Apis::ApikeysV2::V2CloneKeyRequest] v2_clone_key_request_object
125
- # @param [String] fields
126
- # Selector specifying which fields to include in a partial response.
127
- # @param [String] quota_user
128
- # Available to use for quota purposes for server-side applications. Can be any
129
- # arbitrary string assigned to a user, but should not exceed 40 characters.
130
- # @param [Google::Apis::RequestOptions] options
131
- # Request-specific options
132
- #
133
- # @yield [result, err] Result & error if block supplied
134
- # @yieldparam result [Google::Apis::ApikeysV2::Operation] parsed result object
135
- # @yieldparam err [StandardError] error object if request failed
136
- #
137
- # @return [Google::Apis::ApikeysV2::Operation]
138
- #
139
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
140
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
141
- # @raise [Google::Apis::AuthorizationError] Authorization is required
142
- def clone_project_location_key(name, v2_clone_key_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
143
- command = make_simple_command(:post, 'v2/{+name}:clone', options)
144
- command.request_representation = Google::Apis::ApikeysV2::V2CloneKeyRequest::Representation
145
- command.request_object = v2_clone_key_request_object
146
- command.response_representation = Google::Apis::ApikeysV2::Operation::Representation
147
- command.response_class = Google::Apis::ApikeysV2::Operation
148
- command.params['name'] = name unless name.nil?
149
- command.query['fields'] = fields unless fields.nil?
150
- command.query['quotaUser'] = quota_user unless quota_user.nil?
151
- execute_or_queue_command(command, &block)
152
- end
153
-
154
116
  # Creates a new API key. NOTE: Key is a global resource; hence the only
155
117
  # supported value for location is `global`.
156
118
  # @param [String] parent
@@ -297,10 +259,6 @@ module Google
297
259
  # supported value for location is `global`.
298
260
  # @param [String] parent
299
261
  # Required. Lists all API keys associated with this project.
300
- # @param [String] filter
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.
304
262
  # @param [Fixnum] page_size
305
263
  # Optional. Specifies the maximum number of results to be returned at a time.
306
264
  # @param [String] page_token
@@ -325,12 +283,11 @@ module Google
325
283
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
326
284
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
327
285
  # @raise [Google::Apis::AuthorizationError] Authorization is required
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)
286
+ def list_project_location_keys(parent, page_size: nil, page_token: nil, show_deleted: nil, fields: nil, quota_user: nil, options: nil, &block)
329
287
  command = make_simple_command(:get, 'v2/{+parent}/keys', options)
330
288
  command.response_representation = Google::Apis::ApikeysV2::V2ListKeysResponse::Representation
331
289
  command.response_class = Google::Apis::ApikeysV2::V2ListKeysResponse
332
290
  command.params['parent'] = parent unless parent.nil?
333
- command.query['filter'] = filter unless filter.nil?
334
291
  command.query['pageSize'] = page_size unless page_size.nil?
335
292
  command.query['pageToken'] = page_token unless page_token.nil?
336
293
  command.query['showDeleted'] = show_deleted unless show_deleted.nil?
@@ -350,11 +307,11 @@ module Google
350
307
  # @param [Google::Apis::ApikeysV2::V2Key] v2_key_object
351
308
  # @param [String] update_mask
352
309
  # The field mask specifies which fields to be updated as part of this request.
353
- # All other fields are ignored. Mutable fields are: `display_name` and `
354
- # restrictions`. If an update mask is not provided, the service treats it as an
355
- # implied mask equivalent to all allowed fields that are set on the wire. If the
356
- # field mask has a special value "*", the service treats it equivalent to
357
- # replace all allowed mutable fields.
310
+ # All other fields are ignored. Mutable fields are: `display_name`, `
311
+ # restrictions`, and `annotations`. If an update mask is not provided, the
312
+ # service treats it as an implied mask equivalent to all allowed fields that are
313
+ # set on the wire. If the field mask has a special value "*", the service treats
314
+ # it equivalent to replace all allowed mutable fields.
358
315
  # @param [String] fields
359
316
  # Selector specifying which fields to include in a partial response.
360
317
  # @param [String] quota_user
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.10.0
4
+ version: 0.13.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-04-04 00:00:00.000000000 Z
11
+ date: 2022-06-13 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.10.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-apikeys_v2/v0.13.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.5
78
+ rubygems_version: 3.3.14
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for API Keys API V2