google-cloud-kms-inventory-v1 0.16.0 → 0.16.2
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 +4 -4
- data/lib/google/cloud/kms/inventory/v1/key_dashboard_service/client.rb +20 -3
- data/lib/google/cloud/kms/inventory/v1/key_tracking_service/client.rb +20 -3
- data/lib/google/cloud/kms/inventory/v1/version.rb +1 -1
- data/proto_docs/google/cloud/kms/v1/resources.rb +10 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b90f1ac234556337d58cc78787c9e1b3f27b84478fd5059793e7e6a06d5efb5a
|
|
4
|
+
data.tar.gz: 72273f5fe23a15c25ab4b9113461b6cb4e58c94c9ec6d933d07df9a5180060a0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: eee0a8aa48fe4a171943a74be106db942fcd7bef0397101760c8a7dde28727f3e0ac93feac088d32604d4c3b923e1bce29cabf2396ef76c39ab103abd0549558
|
|
7
|
+
data.tar.gz: a22e43f5ccf1707092b9e8c56dd917f396fdad38a3d311dd7bafda4a178c9c19153c2b8d5f3eceea36beec39e195d91efcd53c462c42c57f66e214b111f65e39
|
|
@@ -322,8 +322,6 @@ module Google
|
|
|
322
322
|
# @return [::String,nil]
|
|
323
323
|
# @!attribute [rw] credentials
|
|
324
324
|
# Credentials to send with calls. You may provide any of the following types:
|
|
325
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
326
|
-
# * (`Hash`) A service account key as a Hash
|
|
327
325
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
328
326
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
329
327
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -332,7 +330,26 @@ module Google
|
|
|
332
330
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
333
331
|
# * (`nil`) indicating no credentials
|
|
334
332
|
#
|
|
335
|
-
# Warning:
|
|
333
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
334
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
335
|
+
# Google APIs can compromise the security of your systems and data.
|
|
336
|
+
#
|
|
337
|
+
# @example
|
|
338
|
+
#
|
|
339
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
340
|
+
# # on the appropriate credentials class for your environment.
|
|
341
|
+
#
|
|
342
|
+
# require "googleauth"
|
|
343
|
+
#
|
|
344
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
345
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
346
|
+
# )
|
|
347
|
+
#
|
|
348
|
+
# client = ::Google::Cloud::Kms::Inventory::V1::KeyDashboardService::Client.new do |config|
|
|
349
|
+
# config.credentials = credentials
|
|
350
|
+
# end
|
|
351
|
+
#
|
|
352
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
336
353
|
# external source for authentication to Google Cloud, you must validate it before
|
|
337
354
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
338
355
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -438,8 +438,6 @@ module Google
|
|
|
438
438
|
# @return [::String,nil]
|
|
439
439
|
# @!attribute [rw] credentials
|
|
440
440
|
# Credentials to send with calls. You may provide any of the following types:
|
|
441
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
442
|
-
# * (`Hash`) A service account key as a Hash
|
|
443
441
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
444
442
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
445
443
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -448,7 +446,26 @@ module Google
|
|
|
448
446
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
449
447
|
# * (`nil`) indicating no credentials
|
|
450
448
|
#
|
|
451
|
-
# Warning:
|
|
449
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
450
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
451
|
+
# Google APIs can compromise the security of your systems and data.
|
|
452
|
+
#
|
|
453
|
+
# @example
|
|
454
|
+
#
|
|
455
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
456
|
+
# # on the appropriate credentials class for your environment.
|
|
457
|
+
#
|
|
458
|
+
# require "googleauth"
|
|
459
|
+
#
|
|
460
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
461
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
462
|
+
# )
|
|
463
|
+
#
|
|
464
|
+
# client = ::Google::Cloud::Kms::Inventory::V1::KeyTrackingService::Client.new do |config|
|
|
465
|
+
# config.credentials = credentials
|
|
466
|
+
# end
|
|
467
|
+
#
|
|
468
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
452
469
|
# external source for authentication to Google Cloud, you must validate it before
|
|
453
470
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
454
471
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -1050,6 +1050,11 @@ module Google
|
|
|
1050
1050
|
# No reason is expected for this key request.
|
|
1051
1051
|
REASON_NOT_EXPECTED = 7
|
|
1052
1052
|
|
|
1053
|
+
# Deprecated: This code is no longer generated by Google Cloud. The
|
|
1054
|
+
# GOOGLE_RESPONSE_TO_PRODUCTION_ALERT justification codes available in both
|
|
1055
|
+
# Key Access Justifications and Access Transparency logs provide
|
|
1056
|
+
# customer-visible signals of emergency access in more precise contexts.
|
|
1057
|
+
#
|
|
1053
1058
|
# Customer uses their account to perform any access to their own data which
|
|
1054
1059
|
# their IAM policy authorizes, and one of the following is true:
|
|
1055
1060
|
#
|
|
@@ -1060,6 +1065,11 @@ module Google
|
|
|
1060
1065
|
# within the past 7 days.
|
|
1061
1066
|
MODIFIED_CUSTOMER_INITIATED_ACCESS = 8
|
|
1062
1067
|
|
|
1068
|
+
# Deprecated: This code is no longer generated by Google Cloud. The
|
|
1069
|
+
# GOOGLE_RESPONSE_TO_PRODUCTION_ALERT justification codes available in both
|
|
1070
|
+
# Key Access Justifications and Access Transparency logs provide
|
|
1071
|
+
# customer-visible signals of emergency access in more precise contexts.
|
|
1072
|
+
#
|
|
1063
1073
|
# Google systems access customer data to help optimize the structure of the
|
|
1064
1074
|
# data or quality for future uses by the customer, and one of the following
|
|
1065
1075
|
# is true:
|