google-cloud-kms-inventory-v1 0.6.0 → 0.7.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: 3e6dc0c23056d21bbd25ef775043ad1da093e532d340de056dcb3f48031ecc92
4
- data.tar.gz: 4eca7d0a971610d7e819bd007e79d473648ef6f882af0fefa9f62033b005362b
3
+ metadata.gz: 2c6ed9fb6df3ded7dc914937cba8193e062af5bdee3cbc6bf6109fc99315aee0
4
+ data.tar.gz: fd90c9913cdfcea4feb8491c0f55e8b187646d9dc8ec5ca7b7c9aa5f02f6deec
5
5
  SHA512:
6
- metadata.gz: 22bfc841cb23690ff6fba141ec54a2b901617f19af66faa60818cd7514b22cf6dfe4d8c25c3d4be4050691b078aa6039cc99d56616beea3b97f71a6cc4f1a7e2
7
- data.tar.gz: 6ad8510f1d8a2121225bb9193b3c579086a1bb470526a1e8d6af0f9beeb2a373ba5bc8da10550a7c88386c95d9f4782fffe0fa2505bf733444f765177361538b
6
+ metadata.gz: 499fbe785c74ab9aa22da9ca2c84c20c99a5fa0a158eeeb138ce27a91eaf0bdffd711b223889df21e045453e61f21b2ff21589a424ddc2d70665f3798c7d326f
7
+ data.tar.gz: 6ac482bdaee1015012e1ee0ac101d919664689799cd0f96670aea88c9245ac5aa564c04294b3c9c98a75d2c078440ec3e83c0a8d7c471bf2e0fa024e7600d2af
@@ -141,7 +141,8 @@ module Google
141
141
  credentials: credentials,
142
142
  endpoint: @config.endpoint,
143
143
  channel_args: @config.channel_args,
144
- interceptors: @config.interceptors
144
+ interceptors: @config.interceptors,
145
+ channel_pool_config: @config.channel_pool
145
146
  )
146
147
  end
147
148
 
@@ -366,6 +367,14 @@ module Google
366
367
  end
367
368
  end
368
369
 
370
+ ##
371
+ # Configuration for the channel pool
372
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
373
+ #
374
+ def channel_pool
375
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
376
+ end
377
+
369
378
  ##
370
379
  # Configuration RPC class for the KeyDashboardService API.
371
380
  #
@@ -175,6 +175,26 @@ module Google
175
175
  # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Kms::V1::CryptoKey>]
176
176
  #
177
177
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
178
+ #
179
+ # @example Basic example
180
+ # require "google/cloud/kms/inventory/v1"
181
+ #
182
+ # # Create a client object. The client can be reused for multiple calls.
183
+ # client = Google::Cloud::Kms::Inventory::V1::KeyDashboardService::Rest::Client.new
184
+ #
185
+ # # Create a request. To set request fields, pass in keyword arguments.
186
+ # request = Google::Cloud::Kms::Inventory::V1::ListCryptoKeysRequest.new
187
+ #
188
+ # # Call the list_crypto_keys method.
189
+ # result = client.list_crypto_keys request
190
+ #
191
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
192
+ # # over elements, and API calls will be issued to fetch pages as needed.
193
+ # result.each do |item|
194
+ # # Each element is of type ::Google::Cloud::Kms::V1::CryptoKey.
195
+ # p item
196
+ # end
197
+ #
178
198
  def list_crypto_keys request, options = nil
179
199
  raise ::ArgumentError, "request must be provided" if request.nil?
180
200
 
@@ -144,7 +144,8 @@ module Google
144
144
  credentials: credentials,
145
145
  endpoint: @config.endpoint,
146
146
  channel_args: @config.channel_args,
147
- interceptors: @config.interceptors
147
+ interceptors: @config.interceptors,
148
+ channel_pool_config: @config.channel_pool
148
149
  )
149
150
  end
150
151
 
@@ -482,6 +483,14 @@ module Google
482
483
  end
483
484
  end
484
485
 
486
+ ##
487
+ # Configuration for the channel pool
488
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
489
+ #
490
+ def channel_pool
491
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
492
+ end
493
+
485
494
  ##
486
495
  # Configuration RPC class for the KeyTrackingService API.
487
496
  #
@@ -173,6 +173,22 @@ module Google
173
173
  # @return [::Google::Cloud::Kms::Inventory::V1::ProtectedResourcesSummary]
174
174
  #
175
175
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
176
+ #
177
+ # @example Basic example
178
+ # require "google/cloud/kms/inventory/v1"
179
+ #
180
+ # # Create a client object. The client can be reused for multiple calls.
181
+ # client = Google::Cloud::Kms::Inventory::V1::KeyTrackingService::Rest::Client.new
182
+ #
183
+ # # Create a request. To set request fields, pass in keyword arguments.
184
+ # request = Google::Cloud::Kms::Inventory::V1::GetProtectedResourcesSummaryRequest.new
185
+ #
186
+ # # Call the get_protected_resources_summary method.
187
+ # result = client.get_protected_resources_summary request
188
+ #
189
+ # # The returned object is of type Google::Cloud::Kms::Inventory::V1::ProtectedResourcesSummary.
190
+ # p result
191
+ #
176
192
  def get_protected_resources_summary request, options = nil
177
193
  raise ::ArgumentError, "request must be provided" if request.nil?
178
194
 
@@ -268,6 +284,26 @@ module Google
268
284
  # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Kms::Inventory::V1::ProtectedResource>]
269
285
  #
270
286
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
287
+ #
288
+ # @example Basic example
289
+ # require "google/cloud/kms/inventory/v1"
290
+ #
291
+ # # Create a client object. The client can be reused for multiple calls.
292
+ # client = Google::Cloud::Kms::Inventory::V1::KeyTrackingService::Rest::Client.new
293
+ #
294
+ # # Create a request. To set request fields, pass in keyword arguments.
295
+ # request = Google::Cloud::Kms::Inventory::V1::SearchProtectedResourcesRequest.new
296
+ #
297
+ # # Call the search_protected_resources method.
298
+ # result = client.search_protected_resources request
299
+ #
300
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
301
+ # # over elements, and API calls will be issued to fetch pages as needed.
302
+ # result.each do |item|
303
+ # # Each element is of type ::Google::Cloud::Kms::Inventory::V1::ProtectedResource.
304
+ # p item
305
+ # end
306
+ #
271
307
  def search_protected_resources request, options = nil
272
308
  raise ::ArgumentError, "request must be provided" if request.nil?
273
309
 
@@ -22,7 +22,7 @@ module Google
22
22
  module Kms
23
23
  module Inventory
24
24
  module V1
25
- VERSION = "0.6.0"
25
+ VERSION = "0.7.0"
26
26
  end
27
27
  end
28
28
  end
@@ -66,6 +66,20 @@ module Google
66
66
  # a non-empty value will be returned. The user will not be aware of what
67
67
  # non-empty value to expect.
68
68
  NON_EMPTY_DEFAULT = 7
69
+
70
+ # Denotes that the field in a resource (a message annotated with
71
+ # google.api.resource) is used in the resource name to uniquely identify the
72
+ # resource. For AIP-compliant APIs, this should only be applied to the
73
+ # `name` field on the resource.
74
+ #
75
+ # This behavior should not be applied to references to other resources within
76
+ # the message.
77
+ #
78
+ # The identifier field of resources often have different field behavior
79
+ # depending on the request it is embedded in (e.g. for Create methods name
80
+ # is optional and unused, while for Update methods it is required). Instead
81
+ # of method-specific annotations, only `IDENTIFIER` is required.
82
+ IDENTIFIER = 8
69
83
  end
70
84
  end
71
85
  end
@@ -386,11 +386,11 @@ module Google
386
386
  # {::Google::Cloud::Kms::V1::CryptoKey#purpose CryptoKey.purpose}
387
387
  # {::Google::Cloud::Kms::V1::CryptoKey::CryptoKeyPurpose::ENCRYPT_DECRYPT ENCRYPT_DECRYPT}.
388
388
  #
389
- # Algorithms beginning with "RSA_SIGN_" are usable with
389
+ # Algorithms beginning with `RSA_SIGN_` are usable with
390
390
  # {::Google::Cloud::Kms::V1::CryptoKey#purpose CryptoKey.purpose}
391
391
  # {::Google::Cloud::Kms::V1::CryptoKey::CryptoKeyPurpose::ASYMMETRIC_SIGN ASYMMETRIC_SIGN}.
392
392
  #
393
- # The fields in the name after "RSA_SIGN_" correspond to the following
393
+ # The fields in the name after `RSA_SIGN_` correspond to the following
394
394
  # parameters: padding algorithm, modulus bit length, and digest algorithm.
395
395
  #
396
396
  # For PSS, the salt length used is equal to the length of digest
@@ -398,25 +398,25 @@ module Google
398
398
  # {::Google::Cloud::Kms::V1::CryptoKeyVersion::CryptoKeyVersionAlgorithm::RSA_SIGN_PSS_2048_SHA256 RSA_SIGN_PSS_2048_SHA256}
399
399
  # will use PSS with a salt length of 256 bits or 32 bytes.
400
400
  #
401
- # Algorithms beginning with "RSA_DECRYPT_" are usable with
401
+ # Algorithms beginning with `RSA_DECRYPT_` are usable with
402
402
  # {::Google::Cloud::Kms::V1::CryptoKey#purpose CryptoKey.purpose}
403
403
  # {::Google::Cloud::Kms::V1::CryptoKey::CryptoKeyPurpose::ASYMMETRIC_DECRYPT ASYMMETRIC_DECRYPT}.
404
404
  #
405
- # The fields in the name after "RSA_DECRYPT_" correspond to the following
405
+ # The fields in the name after `RSA_DECRYPT_` correspond to the following
406
406
  # parameters: padding algorithm, modulus bit length, and digest algorithm.
407
407
  #
408
- # Algorithms beginning with "EC_SIGN_" are usable with
408
+ # Algorithms beginning with `EC_SIGN_` are usable with
409
409
  # {::Google::Cloud::Kms::V1::CryptoKey#purpose CryptoKey.purpose}
410
410
  # {::Google::Cloud::Kms::V1::CryptoKey::CryptoKeyPurpose::ASYMMETRIC_SIGN ASYMMETRIC_SIGN}.
411
411
  #
412
- # The fields in the name after "EC_SIGN_" correspond to the following
412
+ # The fields in the name after `EC_SIGN_` correspond to the following
413
413
  # parameters: elliptic curve, digest algorithm.
414
414
  #
415
- # Algorithms beginning with "HMAC_" are usable with
415
+ # Algorithms beginning with `HMAC_` are usable with
416
416
  # {::Google::Cloud::Kms::V1::CryptoKey#purpose CryptoKey.purpose}
417
417
  # {::Google::Cloud::Kms::V1::CryptoKey::CryptoKeyPurpose::MAC MAC}.
418
418
  #
419
- # The suffix following "HMAC_" corresponds to the hash algorithm being used
419
+ # The suffix following `HMAC_` corresponds to the hash algorithm being used
420
420
  # (eg. SHA256).
421
421
  #
422
422
  # For more information, see [Key purposes and algorithms]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-kms-inventory-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.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: 2023-07-25 00:00:00.000000000 Z
11
+ date: 2023-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.19.1
19
+ version: 0.20.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.19.1
29
+ version: 0.20.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -241,7 +241,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
241
241
  - !ruby/object:Gem::Version
242
242
  version: '0'
243
243
  requirements: []
244
- rubygems_version: 3.4.2
244
+ rubygems_version: 3.4.19
245
245
  signing_key:
246
246
  specification_version: 4
247
247
  summary: API Client library for the KMS Inventory V1 API