google-cloud-video_intelligence-v1p3beta1 0.12.0 → 0.12.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/video_intelligence/v1p3beta1/streaming_video_intelligence_service/client.rb +20 -3
- data/lib/google/cloud/video_intelligence/v1p3beta1/version.rb +1 -1
- data/lib/google/cloud/video_intelligence/v1p3beta1/video_intelligence_service/client.rb +20 -3
- data/lib/google/cloud/video_intelligence/v1p3beta1/video_intelligence_service/operations.rb +20 -3
- 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: 0ff8192fd03cdfd64f720bee29fe7ff374d0497bc6d20bb4ae7866de97bc32d4
|
|
4
|
+
data.tar.gz: 664cac27dd54b17824050c1499f4eb42beddd06d516d7cfcd64cc917a7526c95
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fe0b45a46fbbb70ecbb8c0fe4d6e001db68d26959abcc4885fa12bb8cebf6a59cb5a334d5fc5d83d28325a3ab255395f1f5b3e46e980358e1c2dd9a1eb13d12b
|
|
7
|
+
data.tar.gz: 9ea819703e268c6163f26deda01bc521e06684f2cd27f12fd5c8502bad7ec831dad61df5573fe0877f43488ec3b50c8f4ae30192ca4634c859b80488c83d1a8b
|
data/lib/google/cloud/video_intelligence/v1p3beta1/streaming_video_intelligence_service/client.rb
CHANGED
|
@@ -301,8 +301,6 @@ module Google
|
|
|
301
301
|
# @return [::String,nil]
|
|
302
302
|
# @!attribute [rw] credentials
|
|
303
303
|
# Credentials to send with calls. You may provide any of the following types:
|
|
304
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
305
|
-
# * (`Hash`) A service account key as a Hash
|
|
306
304
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
307
305
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
308
306
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -311,7 +309,26 @@ module Google
|
|
|
311
309
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
312
310
|
# * (`nil`) indicating no credentials
|
|
313
311
|
#
|
|
314
|
-
# Warning:
|
|
312
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
313
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
314
|
+
# Google APIs can compromise the security of your systems and data.
|
|
315
|
+
#
|
|
316
|
+
# @example
|
|
317
|
+
#
|
|
318
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
319
|
+
# # on the appropriate credentials class for your environment.
|
|
320
|
+
#
|
|
321
|
+
# require "googleauth"
|
|
322
|
+
#
|
|
323
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
324
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
325
|
+
# )
|
|
326
|
+
#
|
|
327
|
+
# client = ::Google::Cloud::VideoIntelligence::V1p3beta1::StreamingVideoIntelligenceService::Client.new do |config|
|
|
328
|
+
# config.credentials = credentials
|
|
329
|
+
# end
|
|
330
|
+
#
|
|
331
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
315
332
|
# external source for authentication to Google Cloud, you must validate it before
|
|
316
333
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
317
334
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -355,8 +355,6 @@ module Google
|
|
|
355
355
|
# @return [::String,nil]
|
|
356
356
|
# @!attribute [rw] credentials
|
|
357
357
|
# Credentials to send with calls. You may provide any of the following types:
|
|
358
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
359
|
-
# * (`Hash`) A service account key as a Hash
|
|
360
358
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
361
359
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
362
360
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -365,7 +363,26 @@ module Google
|
|
|
365
363
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
366
364
|
# * (`nil`) indicating no credentials
|
|
367
365
|
#
|
|
368
|
-
# Warning:
|
|
366
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
367
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
368
|
+
# Google APIs can compromise the security of your systems and data.
|
|
369
|
+
#
|
|
370
|
+
# @example
|
|
371
|
+
#
|
|
372
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
373
|
+
# # on the appropriate credentials class for your environment.
|
|
374
|
+
#
|
|
375
|
+
# require "googleauth"
|
|
376
|
+
#
|
|
377
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
378
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
379
|
+
# )
|
|
380
|
+
#
|
|
381
|
+
# client = ::Google::Cloud::VideoIntelligence::V1p3beta1::VideoIntelligenceService::Client.new do |config|
|
|
382
|
+
# config.credentials = credentials
|
|
383
|
+
# end
|
|
384
|
+
#
|
|
385
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
369
386
|
# external source for authentication to Google Cloud, you must validate it before
|
|
370
387
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
371
388
|
# 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.
|