google-cloud-video_intelligence-v1p1beta1 0.15.0 → 0.15.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: a8459bb6d79ec7e12f6ac9f94fa3e3cc02fefd679089ee231380390298f913b2
|
|
4
|
+
data.tar.gz: 2abe33683282ac0af9511d850b28abd0a201f39a1b89db306006c54ade7b779d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 437fd1ceb75476e1fa0a5230e57d366c3ce279b31353f3e63ef3b084004549e5b4f095bdd8531e84d59788bcbe2ba3eace12e5c812277bf447c000b6f41a133f
|
|
7
|
+
data.tar.gz: b10bd533722dbed14ab251efb933239f87143ec9c7e955a6f5319662c71d96e2a77a870942e48bfe17f77b800e81eed72576dc953060e2f10df55338c716f607
|
|
@@ -354,8 +354,6 @@ module Google
|
|
|
354
354
|
# @return [::String,nil]
|
|
355
355
|
# @!attribute [rw] credentials
|
|
356
356
|
# Credentials to send with calls. You may provide any of the following types:
|
|
357
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
358
|
-
# * (`Hash`) A service account key as a Hash
|
|
359
357
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
360
358
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
361
359
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -364,7 +362,26 @@ module Google
|
|
|
364
362
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
365
363
|
# * (`nil`) indicating no credentials
|
|
366
364
|
#
|
|
367
|
-
# Warning:
|
|
365
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
366
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
367
|
+
# Google APIs can compromise the security of your systems and data.
|
|
368
|
+
#
|
|
369
|
+
# @example
|
|
370
|
+
#
|
|
371
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
372
|
+
# # on the appropriate credentials class for your environment.
|
|
373
|
+
#
|
|
374
|
+
# require "googleauth"
|
|
375
|
+
#
|
|
376
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
377
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
378
|
+
# )
|
|
379
|
+
#
|
|
380
|
+
# client = ::Google::Cloud::VideoIntelligence::V1p1beta1::VideoIntelligenceService::Client.new do |config|
|
|
381
|
+
# config.credentials = credentials
|
|
382
|
+
# end
|
|
383
|
+
#
|
|
384
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
368
385
|
# external source for authentication to Google Cloud, you must validate it before
|
|
369
386
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
370
387
|
# 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.
|