google-cloud-kms-inventory-v1 0.1.0 → 0.2.1

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: 1fec4d9901e920953f9b86415c55f3c806c7b3ca19016be72c055dc865b9f14c
4
- data.tar.gz: 6886e6c3e4ae05a53d4d39f57112f6fea6a206180f2eef25e74e4342b206d3ed
3
+ metadata.gz: 632f5f267544c095fb466c8eda385e9fa7925438fc75a1536486c72f109949f8
4
+ data.tar.gz: 47287074e29f3f6f120a5c49f54aa2792edf39a5cfdeffb8263eaca91fa872d9
5
5
  SHA512:
6
- metadata.gz: b689eaa11c2e70e926fc9107c90466435b42363ce09078bc44ff2579ef57700647e53e21cf49afb42d565edbc19cba144e8395f94a0ec07fac3c6676c316990c
7
- data.tar.gz: 0f12cf4a20ac26c82896e6f73e283ab0b78d919dfa411a599102719405bec800e2f2f7dc0e5f34a4dac4a945072c4a323499e776f8a9638f76fab05740087e4b
6
+ metadata.gz: cc4f7471957ef735139b12988890645f7b42eaefcb5d5cae472ce5913a2193df01c8f6a19cba997922e209d8226ee17e5cf7882044579b4df3409bc61c7e50b1
7
+ data.tar.gz: 10ab43f884c2f3a29392310667eb41eb34a3295abbb4a72f3850426052604c07c742aadb5469b193838c934634e88fdd5dd2d5ad0f4645d219490001d6f41798
data/README.md CHANGED
@@ -47,7 +47,7 @@ for general usage information.
47
47
 
48
48
  To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
49
49
  The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
50
- or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
50
+ or a [`Google::Cloud::Logging::Logger`](https://cloud.google.com/ruby/docs/reference/google-cloud-logging/latest)
51
51
  that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
52
52
  and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
53
53
 
@@ -285,9 +285,9 @@ module Google
285
285
  # * (`String`) The path to a service account key file in JSON format
286
286
  # * (`Hash`) A service account key as a Hash
287
287
  # * (`Google::Auth::Credentials`) A googleauth credentials object
288
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
288
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
289
289
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
290
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
290
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
291
291
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
292
292
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
293
293
  # * (`nil`) indicating no credentials
@@ -249,9 +249,9 @@ module Google
249
249
  # * (`String`) The path to a service account key file in JSON format
250
250
  # * (`Hash`) A service account key as a Hash
251
251
  # * (`Google::Auth::Credentials`) A googleauth credentials object
252
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
252
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
253
253
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
254
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
254
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
255
255
  # * (`nil`) indicating no credentials
256
256
  # @return [::Object]
257
257
  # @!attribute [rw] scope
@@ -386,9 +386,9 @@ module Google
386
386
  # * (`String`) The path to a service account key file in JSON format
387
387
  # * (`Hash`) A service account key as a Hash
388
388
  # * (`Google::Auth::Credentials`) A googleauth credentials object
389
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
389
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
390
390
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
391
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
391
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
392
392
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
393
393
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
394
394
  # * (`nil`) indicating no credentials
@@ -327,9 +327,9 @@ module Google
327
327
  # * (`String`) The path to a service account key file in JSON format
328
328
  # * (`Hash`) A service account key as a Hash
329
329
  # * (`Google::Auth::Credentials`) A googleauth credentials object
330
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
330
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
331
331
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
332
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
332
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
333
333
  # * (`nil`) indicating no credentials
334
334
  # @return [::Object]
335
335
  # @!attribute [rw] scope
@@ -22,7 +22,7 @@ module Google
22
22
  module Kms
23
23
  module Inventory
24
24
  module V1
25
- VERSION = "0.1.0"
25
+ VERSION = "0.2.1"
26
26
  end
27
27
  end
28
28
  end
@@ -35,7 +35,9 @@ module Google
35
35
  # Details about how and where to publish client libraries.
36
36
  # @!attribute [rw] version
37
37
  # @return [::String]
38
- # Version of the API to apply these settings to.
38
+ # Version of the API to apply these settings to. This is the full protobuf
39
+ # package for the API, ending in the version element.
40
+ # Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1".
39
41
  # @!attribute [rw] launch_stage
40
42
  # @return [::Google::Api::LaunchStage]
41
43
  # Launch stage of this version of the API.
@@ -111,6 +113,10 @@ module Google
111
113
  # Client library settings. If the same version string appears multiple
112
114
  # times in this list, then the last one wins. Settings from earlier
113
115
  # settings with the same version string are discarded.
116
+ # @!attribute [rw] proto_reference_documentation_uri
117
+ # @return [::String]
118
+ # Optional link to proto reference documentation. Example:
119
+ # https://cloud.google.com/pubsub/lite/docs/reference/rpc
114
120
  class Publishing
115
121
  include ::Google::Protobuf::MessageExts
116
122
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -203,9 +209,57 @@ module Google
203
209
  # @!attribute [rw] common
204
210
  # @return [::Google::Api::CommonLanguageSettings]
205
211
  # Some settings.
212
+ # @!attribute [rw] renamed_services
213
+ # @return [::Google::Protobuf::Map{::String => ::String}]
214
+ # Map from original service names to renamed versions.
215
+ # This is used when the default generated types
216
+ # would cause a naming conflict. (Neither name is
217
+ # fully-qualified.)
218
+ # Example: Subscriber to SubscriberServiceApi.
219
+ # @!attribute [rw] renamed_resources
220
+ # @return [::Google::Protobuf::Map{::String => ::String}]
221
+ # Map from full resource types to the effective short name
222
+ # for the resource. This is used when otherwise resource
223
+ # named from different services would cause naming collisions.
224
+ # Example entry:
225
+ # "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
226
+ # @!attribute [rw] ignored_resources
227
+ # @return [::Array<::String>]
228
+ # List of full resource types to ignore during generation.
229
+ # This is typically used for API-specific Location resources,
230
+ # which should be handled by the generator as if they were actually
231
+ # the common Location resources.
232
+ # Example entry: "documentai.googleapis.com/Location"
233
+ # @!attribute [rw] forced_namespace_aliases
234
+ # @return [::Array<::String>]
235
+ # Namespaces which must be aliased in snippets due to
236
+ # a known (but non-generator-predictable) naming collision
237
+ # @!attribute [rw] handwritten_signatures
238
+ # @return [::Array<::String>]
239
+ # Method signatures (in the form "service.method(signature)")
240
+ # which are provided separately, so shouldn't be generated.
241
+ # Snippets *calling* these methods are still generated, however.
206
242
  class DotnetSettings
207
243
  include ::Google::Protobuf::MessageExts
208
244
  extend ::Google::Protobuf::MessageExts::ClassMethods
245
+
246
+ # @!attribute [rw] key
247
+ # @return [::String]
248
+ # @!attribute [rw] value
249
+ # @return [::String]
250
+ class RenamedServicesEntry
251
+ include ::Google::Protobuf::MessageExts
252
+ extend ::Google::Protobuf::MessageExts::ClassMethods
253
+ end
254
+
255
+ # @!attribute [rw] key
256
+ # @return [::String]
257
+ # @!attribute [rw] value
258
+ # @return [::String]
259
+ class RenamedResourcesEntry
260
+ include ::Google::Protobuf::MessageExts
261
+ extend ::Google::Protobuf::MessageExts::ClassMethods
262
+ end
209
263
  end
210
264
 
211
265
  # Settings for Ruby client libraries.
@@ -240,8 +294,8 @@ module Google
240
294
  # Example of a YAML configuration::
241
295
  #
242
296
  # publishing:
243
- # method_behavior:
244
- # - selector: CreateAdDomain
297
+ # method_settings:
298
+ # - selector: google.cloud.speech.v2.Speech.BatchRecognize
245
299
  # long_running:
246
300
  # initial_poll_delay:
247
301
  # seconds: 60 # 1 minute
@@ -341,6 +341,17 @@ module Google
341
341
  # Output only. The root cause of the most recent import failure. Only present
342
342
  # if {::Google::Cloud::Kms::V1::CryptoKeyVersion#state state} is
343
343
  # {::Google::Cloud::Kms::V1::CryptoKeyVersion::CryptoKeyVersionState::IMPORT_FAILED IMPORT_FAILED}.
344
+ # @!attribute [r] generation_failure_reason
345
+ # @return [::String]
346
+ # Output only. The root cause of the most recent generation failure. Only
347
+ # present if {::Google::Cloud::Kms::V1::CryptoKeyVersion#state state} is
348
+ # {::Google::Cloud::Kms::V1::CryptoKeyVersion::CryptoKeyVersionState::GENERATION_FAILED GENERATION_FAILED}.
349
+ # @!attribute [r] external_destruction_failure_reason
350
+ # @return [::String]
351
+ # Output only. The root cause of the most recent external destruction
352
+ # failure. Only present if
353
+ # {::Google::Cloud::Kms::V1::CryptoKeyVersion#state state} is
354
+ # {::Google::Cloud::Kms::V1::CryptoKeyVersion::CryptoKeyVersionState::EXTERNAL_DESTRUCTION_FAILED EXTERNAL_DESTRUCTION_FAILED}.
344
355
  # @!attribute [rw] external_protection_level_options
345
356
  # @return [::Google::Cloud::Kms::V1::ExternalProtectionLevelOptions]
346
357
  # ExternalProtectionLevelOptions stores a group of additional fields for
@@ -465,13 +476,19 @@ module Google
465
476
  RSA_DECRYPT_OAEP_4096_SHA1 = 39
466
477
 
467
478
  # ECDSA on the NIST P-256 curve with a SHA256 digest.
479
+ # Other hash functions can also be used:
480
+ # https://cloud.google.com/kms/docs/create-validate-signatures#ecdsa_support_for_other_hash_algorithms
468
481
  EC_SIGN_P256_SHA256 = 12
469
482
 
470
483
  # ECDSA on the NIST P-384 curve with a SHA384 digest.
484
+ # Other hash functions can also be used:
485
+ # https://cloud.google.com/kms/docs/create-validate-signatures#ecdsa_support_for_other_hash_algorithms
471
486
  EC_SIGN_P384_SHA384 = 13
472
487
 
473
488
  # ECDSA on the non-NIST secp256k1 curve. This curve is only supported for
474
489
  # HSM protection level.
490
+ # Other hash functions can also be used:
491
+ # https://cloud.google.com/kms/docs/create-validate-signatures#ecdsa_support_for_other_hash_algorithms
475
492
  EC_SIGN_SECP256K1_SHA256 = 31
476
493
 
477
494
  # HMAC-SHA256 signing with a 256 bit key.
@@ -544,6 +561,23 @@ module Google
544
561
  # Additional details can be found in
545
562
  # {::Google::Cloud::Kms::V1::CryptoKeyVersion#import_failure_reason CryptoKeyVersion.import_failure_reason}.
546
563
  IMPORT_FAILED = 7
564
+
565
+ # This version was not generated successfully. It may not be used, enabled,
566
+ # disabled, or destroyed. Additional details can be found in
567
+ # {::Google::Cloud::Kms::V1::CryptoKeyVersion#generation_failure_reason CryptoKeyVersion.generation_failure_reason}.
568
+ GENERATION_FAILED = 8
569
+
570
+ # This version was destroyed, and it may not be used or enabled again.
571
+ # Cloud KMS is waiting for the corresponding key material residing in an
572
+ # external key manager to be destroyed.
573
+ PENDING_EXTERNAL_DESTRUCTION = 9
574
+
575
+ # This version was destroyed, and it may not be used or enabled again.
576
+ # However, Cloud KMS could not confirm that the corresponding key material
577
+ # residing in an external key manager was destroyed. Additional details can
578
+ # be found in
579
+ # {::Google::Cloud::Kms::V1::CryptoKeyVersion#external_destruction_failure_reason CryptoKeyVersion.external_destruction_failure_reason}.
580
+ EXTERNAL_DESTRUCTION_FAILED = 10
547
581
  end
548
582
 
549
583
  # A view for {::Google::Cloud::Kms::V1::CryptoKeyVersion CryptoKeyVersion}s.
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.1.0
4
+ version: 0.2.1
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-03-04 00:00:00.000000000 Z
11
+ date: 2023-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common