google-cloud-vision_ai-v1 1.3.0 → 1.3.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: e6b062e7bfcaa9c9801389da6ba3bbe786473afce30e059964d2e0f1c95286d2
4
- data.tar.gz: a13c142e521f1cab7f77b467efbe75ea35fd3adbb1b3d5baf8befad12221b3d7
3
+ metadata.gz: fc891d00294e453f765a4441e4609503d31772615a49b568202faa72415c9ccf
4
+ data.tar.gz: a9768c1341553588bdae4a4611fd24ddb298b9768edb4f7891334ea4a9768dfc
5
5
  SHA512:
6
- metadata.gz: 533c7d50d2a26e86eb4bf2178ef5a4aaa5a3d8d21379ec4e89e0beafd6446a0f50b61c56a78348df5e521bceedbb4102b2497df98e28590e414bda4076724e22
7
- data.tar.gz: 3c7fa52f2d84c5451d54db10383880ba30447353f65b5c005f2e242aba3067a74c7e4aa359b3bc2f21952d2ef61e091c80116ac356b8f4464b00d699652482b6
6
+ metadata.gz: 02e31886bdf235be2318da5c8974ef457f2690087203d234544f708141cfb1286d7975ded48f458cc711f33813c528b90f3446cfbe4952982f95e5257ea3b706
7
+ data.tar.gz: 373fa5e9d2d80bcb82f17e73d7228c482dbac44115f71009dbb60650d8652e8ef6c6855e9e32cc616c107bc59d6f1455c0d4ae4bf0608829de7e6648c3dd2144
@@ -3019,8 +3019,6 @@ module Google
3019
3019
  # @return [::String,nil]
3020
3020
  # @!attribute [rw] credentials
3021
3021
  # Credentials to send with calls. You may provide any of the following types:
3022
- # * (`String`) The path to a service account key file in JSON format
3023
- # * (`Hash`) A service account key as a Hash
3024
3022
  # * (`Google::Auth::Credentials`) A googleauth credentials object
3025
3023
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
3026
3024
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -3029,7 +3027,26 @@ module Google
3029
3027
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
3030
3028
  # * (`nil`) indicating no credentials
3031
3029
  #
3032
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
3030
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
3031
+ # is deprecated. Providing an unvalidated credential configuration to
3032
+ # Google APIs can compromise the security of your systems and data.
3033
+ #
3034
+ # @example
3035
+ #
3036
+ # # The recommended way to provide credentials is to use the `make_creds` method
3037
+ # # on the appropriate credentials class for your environment.
3038
+ #
3039
+ # require "googleauth"
3040
+ #
3041
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
3042
+ # json_key_io: ::File.open("/path/to/keyfile.json")
3043
+ # )
3044
+ #
3045
+ # client = ::Google::Cloud::VisionAI::V1::AppPlatform::Client.new do |config|
3046
+ # config.credentials = credentials
3047
+ # end
3048
+ #
3049
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
3033
3050
  # external source for authentication to Google Cloud, you must validate it before
3034
3051
  # providing it to a Google API client library. Providing an unvalidated credential
3035
3052
  # 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.
@@ -336,8 +336,6 @@ module Google
336
336
  # @return [::String,nil]
337
337
  # @!attribute [rw] credentials
338
338
  # Credentials to send with calls. You may provide any of the following types:
339
- # * (`String`) The path to a service account key file in JSON format
340
- # * (`Hash`) A service account key as a Hash
341
339
  # * (`Google::Auth::Credentials`) A googleauth credentials object
342
340
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
343
341
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -346,7 +344,26 @@ module Google
346
344
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
347
345
  # * (`nil`) indicating no credentials
348
346
  #
349
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
347
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
348
+ # is deprecated. Providing an unvalidated credential configuration to
349
+ # Google APIs can compromise the security of your systems and data.
350
+ #
351
+ # @example
352
+ #
353
+ # # The recommended way to provide credentials is to use the `make_creds` method
354
+ # # on the appropriate credentials class for your environment.
355
+ #
356
+ # require "googleauth"
357
+ #
358
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
359
+ # json_key_io: ::File.open("/path/to/keyfile.json")
360
+ # )
361
+ #
362
+ # client = ::Google::Cloud::VisionAI::V1::HealthCheckService::Client.new do |config|
363
+ # config.credentials = credentials
364
+ # end
365
+ #
366
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
350
367
  # external source for authentication to Google Cloud, you must validate it before
351
368
  # providing it to a Google API client library. Providing an unvalidated credential
352
369
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -2133,8 +2133,6 @@ module Google
2133
2133
  # @return [::String,nil]
2134
2134
  # @!attribute [rw] credentials
2135
2135
  # Credentials to send with calls. You may provide any of the following types:
2136
- # * (`String`) The path to a service account key file in JSON format
2137
- # * (`Hash`) A service account key as a Hash
2138
2136
  # * (`Google::Auth::Credentials`) A googleauth credentials object
2139
2137
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
2140
2138
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -2143,7 +2141,26 @@ module Google
2143
2141
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
2144
2142
  # * (`nil`) indicating no credentials
2145
2143
  #
2146
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
2144
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
2145
+ # is deprecated. Providing an unvalidated credential configuration to
2146
+ # Google APIs can compromise the security of your systems and data.
2147
+ #
2148
+ # @example
2149
+ #
2150
+ # # The recommended way to provide credentials is to use the `make_creds` method
2151
+ # # on the appropriate credentials class for your environment.
2152
+ #
2153
+ # require "googleauth"
2154
+ #
2155
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
2156
+ # json_key_io: ::File.open("/path/to/keyfile.json")
2157
+ # )
2158
+ #
2159
+ # client = ::Google::Cloud::VisionAI::V1::LiveVideoAnalytics::Client.new do |config|
2160
+ # config.credentials = credentials
2161
+ # end
2162
+ #
2163
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
2147
2164
  # external source for authentication to Google Cloud, you must validate it before
2148
2165
  # providing it to a Google API client library. Providing an unvalidated credential
2149
2166
  # 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.
@@ -755,8 +755,6 @@ module Google
755
755
  # @return [::String,nil]
756
756
  # @!attribute [rw] credentials
757
757
  # Credentials to send with calls. You may provide any of the following types:
758
- # * (`String`) The path to a service account key file in JSON format
759
- # * (`Hash`) A service account key as a Hash
760
758
  # * (`Google::Auth::Credentials`) A googleauth credentials object
761
759
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
762
760
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -765,7 +763,26 @@ module Google
765
763
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
766
764
  # * (`nil`) indicating no credentials
767
765
  #
768
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
766
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
767
+ # is deprecated. Providing an unvalidated credential configuration to
768
+ # Google APIs can compromise the security of your systems and data.
769
+ #
770
+ # @example
771
+ #
772
+ # # The recommended way to provide credentials is to use the `make_creds` method
773
+ # # on the appropriate credentials class for your environment.
774
+ #
775
+ # require "googleauth"
776
+ #
777
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
778
+ # json_key_io: ::File.open("/path/to/keyfile.json")
779
+ # )
780
+ #
781
+ # client = ::Google::Cloud::VisionAI::V1::StreamingService::Client.new do |config|
782
+ # config.credentials = credentials
783
+ # end
784
+ #
785
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
769
786
  # external source for authentication to Google Cloud, you must validate it before
770
787
  # providing it to a Google API client library. Providing an unvalidated credential
771
788
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -2653,8 +2653,6 @@ module Google
2653
2653
  # @return [::String,nil]
2654
2654
  # @!attribute [rw] credentials
2655
2655
  # Credentials to send with calls. You may provide any of the following types:
2656
- # * (`String`) The path to a service account key file in JSON format
2657
- # * (`Hash`) A service account key as a Hash
2658
2656
  # * (`Google::Auth::Credentials`) A googleauth credentials object
2659
2657
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
2660
2658
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -2663,7 +2661,26 @@ module Google
2663
2661
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
2664
2662
  # * (`nil`) indicating no credentials
2665
2663
  #
2666
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
2664
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
2665
+ # is deprecated. Providing an unvalidated credential configuration to
2666
+ # Google APIs can compromise the security of your systems and data.
2667
+ #
2668
+ # @example
2669
+ #
2670
+ # # The recommended way to provide credentials is to use the `make_creds` method
2671
+ # # on the appropriate credentials class for your environment.
2672
+ #
2673
+ # require "googleauth"
2674
+ #
2675
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
2676
+ # json_key_io: ::File.open("/path/to/keyfile.json")
2677
+ # )
2678
+ #
2679
+ # client = ::Google::Cloud::VisionAI::V1::StreamsService::Client.new do |config|
2680
+ # config.credentials = credentials
2681
+ # end
2682
+ #
2683
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
2667
2684
  # external source for authentication to Google Cloud, you must validate it before
2668
2685
  # providing it to a Google API client library. Providing an unvalidated credential
2669
2686
  # 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.
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module VisionAI
23
23
  module V1
24
- VERSION = "1.3.0"
24
+ VERSION = "1.3.1"
25
25
  end
26
26
  end
27
27
  end
@@ -6377,8 +6377,6 @@ module Google
6377
6377
  # @return [::String,nil]
6378
6378
  # @!attribute [rw] credentials
6379
6379
  # Credentials to send with calls. You may provide any of the following types:
6380
- # * (`String`) The path to a service account key file in JSON format
6381
- # * (`Hash`) A service account key as a Hash
6382
6380
  # * (`Google::Auth::Credentials`) A googleauth credentials object
6383
6381
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
6384
6382
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -6387,7 +6385,26 @@ module Google
6387
6385
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
6388
6386
  # * (`nil`) indicating no credentials
6389
6387
  #
6390
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
6388
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
6389
+ # is deprecated. Providing an unvalidated credential configuration to
6390
+ # Google APIs can compromise the security of your systems and data.
6391
+ #
6392
+ # @example
6393
+ #
6394
+ # # The recommended way to provide credentials is to use the `make_creds` method
6395
+ # # on the appropriate credentials class for your environment.
6396
+ #
6397
+ # require "googleauth"
6398
+ #
6399
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
6400
+ # json_key_io: ::File.open("/path/to/keyfile.json")
6401
+ # )
6402
+ #
6403
+ # client = ::Google::Cloud::VisionAI::V1::Warehouse::Client.new do |config|
6404
+ # config.credentials = credentials
6405
+ # end
6406
+ #
6407
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
6391
6408
  # external source for authentication to Google Cloud, you must validate it before
6392
6409
  # providing it to a Google API client library. Providing an unvalidated credential
6393
6410
  # 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-vision_ai-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC