google-cloud-video_intelligence-v1beta2 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: db0dd40c732a7f36a624f5fe9fb203bfbf8e62fb44e436dd059371c155fd57da
4
- data.tar.gz: 4ee888587045561e01ad7dc1cd422b350f18c93e82ef90d7133e6f0245837423
3
+ metadata.gz: 59d942a37447d48e0ca1cd0b640c917b7fd561a146090170d3a1f473771fdaeb
4
+ data.tar.gz: 53484b71b6bb172386f6f99a9578811307fdff08459e03e6c92d5274daa78b77
5
5
  SHA512:
6
- metadata.gz: 0b5cdb5aa022adcec7011c446e99cb2159821e1c7733a9ba8c4eac7e41d042be6637770d449457b9059f1c8e05ce3f50018ed4d7a32f047a680ab77494a0c5f9
7
- data.tar.gz: 365dd67f5b9bd1e01f385f5c83c5a6c8443eeb995c251a659239bdf01914e2d9afe726135a07b2ab87eb7bee1bd01de5b430cb73176553740ce2a07d4d637457
6
+ metadata.gz: bb3d2a2b3415be5ad88098d0892c2487bf4ad8081516c88b146e356d45116bf4eb746081e6fd51f89176ec83d781dd2577a0c52047b2ab00849afe863f7fbc08
7
+ data.tar.gz: a68233620a7392c63a2eefaa648dd33e4359c2bb4e4a4dd66e5d57b7b6f0ba083407f0d73c4f0a2a06d330d3dec863ac08a77e5c3609b32d9fc0b916b3046fe7
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module VideoIntelligence
23
23
  module V1beta2
24
- VERSION = "0.15.0"
24
+ VERSION = "0.15.1"
25
25
  end
26
26
  end
27
27
  end
@@ -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: If you accept a credential configuration (JSON file or Hash) from an
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::V1beta2::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: 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-v1beta2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.15.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC