google-cloud-document_ai-v1beta3 0.46.0 → 0.46.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/document_ai/v1beta3/document_processor_service/client.rb +20 -3
- data/lib/google/cloud/document_ai/v1beta3/document_processor_service/operations.rb +20 -3
- data/lib/google/cloud/document_ai/v1beta3/document_service/client.rb +20 -3
- data/lib/google/cloud/document_ai/v1beta3/document_service/operations.rb +20 -3
- data/lib/google/cloud/document_ai/v1beta3/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: aac4d972308ddeab5794e28ae1e46656794f591b6005943af1f4985a80f627f8
|
|
4
|
+
data.tar.gz: 047d9332a2205fe0b22205846c755a7d4896cfb97a985e74a3d148149422ccdb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8adf4426b4b0483f49b1834e311400af654e213d1e21ae6e3a6dcdf0635eecefe44bcb1048676ea40f6798c2b7a79bada66ec2941d9debed891119f9a1553c6c
|
|
7
|
+
data.tar.gz: d61f6135953f3a8848cbacf939872223cb0869c3a9f75db8bb1afce0fbaefea9d33792b56c93978c0554ded2d06e69259a4318d3510b01ecb8e3d47756030058
|
|
@@ -2549,8 +2549,6 @@ module Google
|
|
|
2549
2549
|
# @return [::String,nil]
|
|
2550
2550
|
# @!attribute [rw] credentials
|
|
2551
2551
|
# Credentials to send with calls. You may provide any of the following types:
|
|
2552
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
2553
|
-
# * (`Hash`) A service account key as a Hash
|
|
2554
2552
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
2555
2553
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
2556
2554
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -2559,7 +2557,26 @@ module Google
|
|
|
2559
2557
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
2560
2558
|
# * (`nil`) indicating no credentials
|
|
2561
2559
|
#
|
|
2562
|
-
# Warning:
|
|
2560
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
2561
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
2562
|
+
# Google APIs can compromise the security of your systems and data.
|
|
2563
|
+
#
|
|
2564
|
+
# @example
|
|
2565
|
+
#
|
|
2566
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
2567
|
+
# # on the appropriate credentials class for your environment.
|
|
2568
|
+
#
|
|
2569
|
+
# require "googleauth"
|
|
2570
|
+
#
|
|
2571
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
2572
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
2573
|
+
# )
|
|
2574
|
+
#
|
|
2575
|
+
# client = ::Google::Cloud::DocumentAI::V1beta3::DocumentProcessorService::Client.new do |config|
|
|
2576
|
+
# config.credentials = credentials
|
|
2577
|
+
# end
|
|
2578
|
+
#
|
|
2579
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
2563
2580
|
# external source for authentication to Google Cloud, you must validate it before
|
|
2564
2581
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
2565
2582
|
# 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.
|
|
@@ -962,8 +962,6 @@ module Google
|
|
|
962
962
|
# @return [::String,nil]
|
|
963
963
|
# @!attribute [rw] credentials
|
|
964
964
|
# Credentials to send with calls. You may provide any of the following types:
|
|
965
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
966
|
-
# * (`Hash`) A service account key as a Hash
|
|
967
965
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
968
966
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
969
967
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -972,7 +970,26 @@ module Google
|
|
|
972
970
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
973
971
|
# * (`nil`) indicating no credentials
|
|
974
972
|
#
|
|
975
|
-
# Warning:
|
|
973
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
974
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
975
|
+
# Google APIs can compromise the security of your systems and data.
|
|
976
|
+
#
|
|
977
|
+
# @example
|
|
978
|
+
#
|
|
979
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
980
|
+
# # on the appropriate credentials class for your environment.
|
|
981
|
+
#
|
|
982
|
+
# require "googleauth"
|
|
983
|
+
#
|
|
984
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
985
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
986
|
+
# )
|
|
987
|
+
#
|
|
988
|
+
# client = ::Google::Cloud::DocumentAI::V1beta3::DocumentService::Client.new do |config|
|
|
989
|
+
# config.credentials = credentials
|
|
990
|
+
# end
|
|
991
|
+
#
|
|
992
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
976
993
|
# external source for authentication to Google Cloud, you must validate it before
|
|
977
994
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
978
995
|
# 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.
|