google-cloud-speech-v1 1.5.0 → 1.5.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: 1b246379028c209901631e6254fcc251f07ff616c4a40d066e210ecf60bfc83f
|
|
4
|
+
data.tar.gz: cd4e955eb3e0e31611a9f059384c89c0e128413d6fee6cf975f327f232fc1f4a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c5d5e96b73d3013c8294e6d95b03242f3927f4b4547552a25620be9ef7337cd870b51f98e5b1bc9dab0db5ff976b0909a0de6c5109faa340c1568a2db036779c
|
|
7
|
+
data.tar.gz: 4f04261768634195cd0ecee08146ca110ce132c29f1693f8ad6458f83dac0ce7389973ebb37a249808b9e0a89cb17e68968ec72abf4dd3e0ff15663624c9c7cc
|
|
@@ -1200,8 +1200,6 @@ module Google
|
|
|
1200
1200
|
# @return [::String,nil]
|
|
1201
1201
|
# @!attribute [rw] credentials
|
|
1202
1202
|
# Credentials to send with calls. You may provide any of the following types:
|
|
1203
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
1204
|
-
# * (`Hash`) A service account key as a Hash
|
|
1205
1203
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
1206
1204
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
1207
1205
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -1210,7 +1208,26 @@ module Google
|
|
|
1210
1208
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
1211
1209
|
# * (`nil`) indicating no credentials
|
|
1212
1210
|
#
|
|
1213
|
-
# Warning:
|
|
1211
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
1212
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
1213
|
+
# Google APIs can compromise the security of your systems and data.
|
|
1214
|
+
#
|
|
1215
|
+
# @example
|
|
1216
|
+
#
|
|
1217
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
1218
|
+
# # on the appropriate credentials class for your environment.
|
|
1219
|
+
#
|
|
1220
|
+
# require "googleauth"
|
|
1221
|
+
#
|
|
1222
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
1223
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
1224
|
+
# )
|
|
1225
|
+
#
|
|
1226
|
+
# client = ::Google::Cloud::Speech::V1::Adaptation::Client.new do |config|
|
|
1227
|
+
# config.credentials = credentials
|
|
1228
|
+
# end
|
|
1229
|
+
#
|
|
1230
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
1214
1231
|
# external source for authentication to Google Cloud, you must validate it before
|
|
1215
1232
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
1216
1233
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -500,8 +500,6 @@ module Google
|
|
|
500
500
|
# @return [::String,nil]
|
|
501
501
|
# @!attribute [rw] credentials
|
|
502
502
|
# Credentials to send with calls. You may provide any of the following types:
|
|
503
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
504
|
-
# * (`Hash`) A service account key as a Hash
|
|
505
503
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
506
504
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
507
505
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -510,7 +508,26 @@ module Google
|
|
|
510
508
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
511
509
|
# * (`nil`) indicating no credentials
|
|
512
510
|
#
|
|
513
|
-
# Warning:
|
|
511
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
512
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
513
|
+
# Google APIs can compromise the security of your systems and data.
|
|
514
|
+
#
|
|
515
|
+
# @example
|
|
516
|
+
#
|
|
517
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
518
|
+
# # on the appropriate credentials class for your environment.
|
|
519
|
+
#
|
|
520
|
+
# require "googleauth"
|
|
521
|
+
#
|
|
522
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
523
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
524
|
+
# )
|
|
525
|
+
#
|
|
526
|
+
# client = ::Google::Cloud::Speech::V1::Speech::Client.new do |config|
|
|
527
|
+
# config.credentials = credentials
|
|
528
|
+
# end
|
|
529
|
+
#
|
|
530
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
514
531
|
# external source for authentication to Google Cloud, you must validate it before
|
|
515
532
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
516
533
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -634,8 +634,6 @@ module Google
|
|
|
634
634
|
# @return [::String,nil]
|
|
635
635
|
# @!attribute [rw] credentials
|
|
636
636
|
# Credentials to send with calls. You may provide any of the following types:
|
|
637
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
638
|
-
# * (`Hash`) A service account key as a Hash
|
|
639
637
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
640
638
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
641
639
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -644,7 +642,26 @@ module Google
|
|
|
644
642
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
645
643
|
# * (`nil`) indicating no credentials
|
|
646
644
|
#
|
|
647
|
-
# Warning:
|
|
645
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
646
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
647
|
+
# Google APIs can compromise the security of your systems and data.
|
|
648
|
+
#
|
|
649
|
+
# @example
|
|
650
|
+
#
|
|
651
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
652
|
+
# # on the appropriate credentials class for your environment.
|
|
653
|
+
#
|
|
654
|
+
# require "googleauth"
|
|
655
|
+
#
|
|
656
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
657
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
658
|
+
# )
|
|
659
|
+
#
|
|
660
|
+
# client = ::Google::Longrunning::Operations::Client.new do |config|
|
|
661
|
+
# config.credentials = credentials
|
|
662
|
+
# end
|
|
663
|
+
#
|
|
664
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
648
665
|
# external source for authentication to Google Cloud, you must validate it before
|
|
649
666
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
650
667
|
# configuration to Google APIs can compromise the security of your systems and data.
|