google-cloud-os_config-v1 1.6.0 → 1.6.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 +4 -4
- data/lib/google/cloud/os_config/v1/os_config_service/client.rb +20 -3
- data/lib/google/cloud/os_config/v1/os_config_zonal_service/client.rb +20 -3
- data/lib/google/cloud/os_config/v1/os_config_zonal_service/operations.rb +20 -3
- data/lib/google/cloud/os_config/v1/version.rb +1 -1
- 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: 53c3a396cc2321d9ec6ce3e40b4dc16d380dfc53cec6fde07646ce808508e827
|
|
4
|
+
data.tar.gz: acc6ba41235291d1631ad2b8003d5e2c7109a49be4deddf3e5da05bb2595fd34
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2e086f2d12c3369676c0b70250faed2d46165d0758549c6d61d9a9cf3c2852bff1650484d8d60b21702719df18cda36d3b1a1f611f9d2af7e0db51995e892b6e
|
|
7
|
+
data.tar.gz: dcafee32dd04bb71276ed8422238f38ae8dd0ea0267f87f8f0bf104e06daa7afc128fb5de9a7bb8404bdaf41a0517d256e63f214c0b1dd4ea39d19ef92b6714e
|
|
@@ -1331,8 +1331,6 @@ module Google
|
|
|
1331
1331
|
# @return [::String,nil]
|
|
1332
1332
|
# @!attribute [rw] credentials
|
|
1333
1333
|
# Credentials to send with calls. You may provide any of the following types:
|
|
1334
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
1335
|
-
# * (`Hash`) A service account key as a Hash
|
|
1336
1334
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
1337
1335
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
1338
1336
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -1341,7 +1339,26 @@ module Google
|
|
|
1341
1339
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
1342
1340
|
# * (`nil`) indicating no credentials
|
|
1343
1341
|
#
|
|
1344
|
-
# Warning:
|
|
1342
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
1343
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
1344
|
+
# Google APIs can compromise the security of your systems and data.
|
|
1345
|
+
#
|
|
1346
|
+
# @example
|
|
1347
|
+
#
|
|
1348
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
1349
|
+
# # on the appropriate credentials class for your environment.
|
|
1350
|
+
#
|
|
1351
|
+
# require "googleauth"
|
|
1352
|
+
#
|
|
1353
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
1354
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
1355
|
+
# )
|
|
1356
|
+
#
|
|
1357
|
+
# client = ::Google::Cloud::OsConfig::V1::OsConfigService::Client.new do |config|
|
|
1358
|
+
# config.credentials = credentials
|
|
1359
|
+
# end
|
|
1360
|
+
#
|
|
1361
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
1345
1362
|
# external source for authentication to Google Cloud, you must validate it before
|
|
1346
1363
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
1347
1364
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -1481,8 +1481,6 @@ module Google
|
|
|
1481
1481
|
# @return [::String,nil]
|
|
1482
1482
|
# @!attribute [rw] credentials
|
|
1483
1483
|
# Credentials to send with calls. You may provide any of the following types:
|
|
1484
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
1485
|
-
# * (`Hash`) A service account key as a Hash
|
|
1486
1484
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
1487
1485
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
1488
1486
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -1491,7 +1489,26 @@ module Google
|
|
|
1491
1489
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
1492
1490
|
# * (`nil`) indicating no credentials
|
|
1493
1491
|
#
|
|
1494
|
-
# Warning:
|
|
1492
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
1493
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
1494
|
+
# Google APIs can compromise the security of your systems and data.
|
|
1495
|
+
#
|
|
1496
|
+
# @example
|
|
1497
|
+
#
|
|
1498
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
1499
|
+
# # on the appropriate credentials class for your environment.
|
|
1500
|
+
#
|
|
1501
|
+
# require "googleauth"
|
|
1502
|
+
#
|
|
1503
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
1504
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
1505
|
+
# )
|
|
1506
|
+
#
|
|
1507
|
+
# client = ::Google::Cloud::OsConfig::V1::OsConfigZonalService::Client.new do |config|
|
|
1508
|
+
# config.credentials = credentials
|
|
1509
|
+
# end
|
|
1510
|
+
#
|
|
1511
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
1495
1512
|
# external source for authentication to Google Cloud, you must validate it before
|
|
1496
1513
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
1497
1514
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -642,8 +642,6 @@ module Google
|
|
|
642
642
|
# @return [::String,nil]
|
|
643
643
|
# @!attribute [rw] credentials
|
|
644
644
|
# Credentials to send with calls. You may provide any of the following types:
|
|
645
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
646
|
-
# * (`Hash`) A service account key as a Hash
|
|
647
645
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
648
646
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
649
647
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -652,7 +650,26 @@ module Google
|
|
|
652
650
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
653
651
|
# * (`nil`) indicating no credentials
|
|
654
652
|
#
|
|
655
|
-
# Warning:
|
|
653
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
654
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
655
|
+
# Google APIs can compromise the security of your systems and data.
|
|
656
|
+
#
|
|
657
|
+
# @example
|
|
658
|
+
#
|
|
659
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
660
|
+
# # on the appropriate credentials class for your environment.
|
|
661
|
+
#
|
|
662
|
+
# require "googleauth"
|
|
663
|
+
#
|
|
664
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
665
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
666
|
+
# )
|
|
667
|
+
#
|
|
668
|
+
# client = ::Google::Longrunning::Operations::Client.new do |config|
|
|
669
|
+
# config.credentials = credentials
|
|
670
|
+
# end
|
|
671
|
+
#
|
|
672
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
656
673
|
# external source for authentication to Google Cloud, you must validate it before
|
|
657
674
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
658
675
|
# configuration to Google APIs can compromise the security of your systems and data.
|