google-cloud-license_manager-v1 0.3.0 → 0.3.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 360b5246ce5269c69c60fc398210ab385cabdd0fca378741cdbb223fecc3dc34
|
|
4
|
+
data.tar.gz: e72e3abdb7298fdc962056fc7ce0b8ed31900bd302e98f3109415d025e5eba26
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 657f49d907e43eb0f1e1396f660ad2593a7260ade472aadba9731febbaee7f81daa233d5fb6625f1713bfda7c6d7141b588250dec4e4325866dab251966c96df
|
|
7
|
+
data.tar.gz: 159a78958964aafb280d33402843b3650facb9b15e1754ffabaf8722007f052fe2369726d5022faf922cb5d54557b6652d417fddf1413ea381c5625797afd8ab
|
|
@@ -1593,8 +1593,6 @@ module Google
|
|
|
1593
1593
|
# @return [::String,nil]
|
|
1594
1594
|
# @!attribute [rw] credentials
|
|
1595
1595
|
# Credentials to send with calls. You may provide any of the following types:
|
|
1596
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
1597
|
-
# * (`Hash`) A service account key as a Hash
|
|
1598
1596
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
1599
1597
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
1600
1598
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -1603,7 +1601,26 @@ module Google
|
|
|
1603
1601
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
1604
1602
|
# * (`nil`) indicating no credentials
|
|
1605
1603
|
#
|
|
1606
|
-
# Warning:
|
|
1604
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
1605
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
1606
|
+
# Google APIs can compromise the security of your systems and data.
|
|
1607
|
+
#
|
|
1608
|
+
# @example
|
|
1609
|
+
#
|
|
1610
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
1611
|
+
# # on the appropriate credentials class for your environment.
|
|
1612
|
+
#
|
|
1613
|
+
# require "googleauth"
|
|
1614
|
+
#
|
|
1615
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
1616
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
1617
|
+
# )
|
|
1618
|
+
#
|
|
1619
|
+
# client = ::Google::Cloud::LicenseManager::V1::LicenseManager::Client.new do |config|
|
|
1620
|
+
# config.credentials = credentials
|
|
1621
|
+
# end
|
|
1622
|
+
#
|
|
1623
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
1607
1624
|
# external source for authentication to Google Cloud, you must validate it before
|
|
1608
1625
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
1609
1626
|
# 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.
|