google-cloud-data_labeling-v1beta1 0.13.0 → 0.13.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: 9d61081519b5dbee462859484aff856a2cbb74ed39e0a25eb33f1c22b159ea1c
|
|
4
|
+
data.tar.gz: d3f259efa4c548e7d7d3552fb926bc64154e3a5d6568bd2c91b3ee0d140ea6f6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 553c1387d0467ddd876983cf6dd0c118ffbbffe07e3bdfafb3d969b671a3b8a1d4a350ffd8552adb3ffb9c09572a231d9daf1ad66c8ee1e5f61d38f1532c5d40
|
|
7
|
+
data.tar.gz: a5fb256bc54a2e117134efb1f26447900f86fa86149f3521f2bc3b6bbc43b1261382b1a0652a26c5b3e08ea6589c951cf4e55d77f306922102933c5653e4be0b
|
|
@@ -3676,8 +3676,6 @@ module Google
|
|
|
3676
3676
|
# @return [::String,nil]
|
|
3677
3677
|
# @!attribute [rw] credentials
|
|
3678
3678
|
# Credentials to send with calls. You may provide any of the following types:
|
|
3679
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
3680
|
-
# * (`Hash`) A service account key as a Hash
|
|
3681
3679
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
3682
3680
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
3683
3681
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -3686,7 +3684,26 @@ module Google
|
|
|
3686
3684
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
3687
3685
|
# * (`nil`) indicating no credentials
|
|
3688
3686
|
#
|
|
3689
|
-
# Warning:
|
|
3687
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
3688
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
3689
|
+
# Google APIs can compromise the security of your systems and data.
|
|
3690
|
+
#
|
|
3691
|
+
# @example
|
|
3692
|
+
#
|
|
3693
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
3694
|
+
# # on the appropriate credentials class for your environment.
|
|
3695
|
+
#
|
|
3696
|
+
# require "googleauth"
|
|
3697
|
+
#
|
|
3698
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
3699
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
3700
|
+
# )
|
|
3701
|
+
#
|
|
3702
|
+
# client = ::Google::Cloud::DataLabeling::V1beta1::DataLabelingService::Client.new do |config|
|
|
3703
|
+
# config.credentials = credentials
|
|
3704
|
+
# end
|
|
3705
|
+
#
|
|
3706
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
3690
3707
|
# external source for authentication to Google Cloud, you must validate it before
|
|
3691
3708
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
3692
3709
|
# 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.
|