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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bd15e399b40c10b001e686e383f1b93e7f73ca9e21fe81017c2824817c9a05a9
4
- data.tar.gz: e368344c772814a9e238acf05d0c02b842198d58c9ea4742c57bd06f55d569b5
3
+ metadata.gz: 0ff8192fd03cdfd64f720bee29fe7ff374d0497bc6d20bb4ae7866de97bc32d4
4
+ data.tar.gz: 664cac27dd54b17824050c1499f4eb42beddd06d516d7cfcd64cc917a7526c95
5
5
  SHA512:
6
- metadata.gz: 9f352757ca6acf88bfdaf3e18ec946fe9754c73ddfdd9c3ae83f70e817085f1d9a1f55ea91eb5481a41d1352bc22099609400bc7138182a2aec05797906a41e9
7
- data.tar.gz: ced495a83a0cb00a6985a16d3327b5e2cec9eb17639c5b1cb11b0ada8baf7d4cf856f94f782d41714bc226a7baa6028ceaf6e3be2ca4243959869e0c6844865f
6
+ metadata.gz: fe0b45a46fbbb70ecbb8c0fe4d6e001db68d26959abcc4885fa12bb8cebf6a59cb5a334d5fc5d83d28325a3ab255395f1f5b3e46e980358e1c2dd9a1eb13d12b
7
+ data.tar.gz: 9ea819703e268c6163f26deda01bc521e06684f2cd27f12fd5c8502bad7ec831dad61df5573fe0877f43488ec3b50c8f4ae30192ca4634c859b80488c83d1a8b
@@ -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: If you accept a credential configuration (JSON file or Hash) from an
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.
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module VideoIntelligence
23
23
  module V1p3beta1
24
- VERSION = "0.12.0"
24
+ VERSION = "0.12.1"
25
25
  end
26
26
  end
27
27
  end
@@ -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: If you accept a credential configuration (JSON file or Hash) from an
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: If you accept a credential configuration (JSON file or Hash) from an
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.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-video_intelligence-v1p3beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.12.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC