google-cloud-vision-v1p3beta1 0.14.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: c5b04b28dbb506479e3ed22b8f7d1145da0f08e32713161db0582340aafbf8bb
4
- data.tar.gz: 8934248b5fa872e3c6c14d1f5b7ef718b0179df263ba97e77dc0592e4371b95b
3
+ metadata.gz: cb4ea9efe8e3a0fc774b549b450d57050a9dee2ebc7db7bf0354ffe7e4e1c217
4
+ data.tar.gz: 4e083d788076b81a8bd3040e34a87999a11ecb12af11d78b2217f9228af0d462
5
5
  SHA512:
6
- metadata.gz: 214d465bfba7c750b3263f9cc24ff08e4e0b79742d81cb3cb684f8c94846681a888d69cb487a4075740c742f47b3b1721b334d24a1258f342e3f76d7551c609e
7
- data.tar.gz: ebcb13adffbac97ffefa754079b1584d6f6aac0da99e804482facbe2f4d0d956f17274287f4d559b8f677cab3f2120b580798f66af14e5100a7715857c5ed521
6
+ metadata.gz: 399b9c581757db9f300ed927bc4566e91235a90da0980f88a1dd14d248627808a1c3d0bfec723b37790fe837772595a2d62c2d0a185f1a6e1699e8b53dbd134b
7
+ data.tar.gz: fe808c39a1414c2a8e51b1cadb08b1279c98b5aab38f9b1ded2b36ced2bce2faa6055428828c390f030f16a48f7dca21cef9d76f4cd259c323f2cce054b1503f
data/README.md CHANGED
@@ -86,7 +86,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
86
86
 
87
87
  ## Supported Ruby Versions
88
88
 
89
- This library is supported on Ruby 2.7+.
89
+ This library is supported on Ruby 3.0+.
90
90
 
91
91
  Google provides official support for Ruby versions that are actively supported
92
92
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -421,6 +421,13 @@ module Google
421
421
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
422
422
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
423
423
  # * (`nil`) indicating no credentials
424
+ #
425
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
426
+ # external source for authentication to Google Cloud, you must validate it before
427
+ # providing it to a Google API client library. Providing an unvalidated credential
428
+ # configuration to Google APIs can compromise the security of your systems and data.
429
+ # For more information, refer to [Validate credential configurations from external
430
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
424
431
  # @return [::Object]
425
432
  # @!attribute [rw] scope
426
433
  # The OAuth scopes
@@ -475,8 +482,8 @@ module Google
475
482
 
476
483
  config_attr :endpoint, nil, ::String, nil
477
484
  config_attr :credentials, nil do |value|
478
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
479
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
485
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
486
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
480
487
  allowed.any? { |klass| klass === value }
481
488
  end
482
489
  config_attr :scope, nil, ::String, ::Array, nil
@@ -640,6 +640,13 @@ module Google
640
640
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
641
641
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
642
642
  # * (`nil`) indicating no credentials
643
+ #
644
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
645
+ # external source for authentication to Google Cloud, you must validate it before
646
+ # providing it to a Google API client library. Providing an unvalidated credential
647
+ # configuration to Google APIs can compromise the security of your systems and data.
648
+ # For more information, refer to [Validate credential configurations from external
649
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
643
650
  # @return [::Object]
644
651
  # @!attribute [rw] scope
645
652
  # The OAuth scopes
@@ -694,8 +701,8 @@ module Google
694
701
 
695
702
  config_attr :endpoint, nil, ::String, nil
696
703
  config_attr :credentials, nil do |value|
697
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
698
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
704
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
705
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
699
706
  allowed.any? { |klass| klass === value }
700
707
  end
701
708
  config_attr :scope, nil, ::String, ::Array, nil
@@ -414,6 +414,13 @@ module Google
414
414
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
415
415
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
416
416
  # * (`nil`) indicating no credentials
417
+ #
418
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
419
+ # external source for authentication to Google Cloud, you must validate it before
420
+ # providing it to a Google API client library. Providing an unvalidated credential
421
+ # configuration to Google APIs can compromise the security of your systems and data.
422
+ # For more information, refer to [Validate credential configurations from external
423
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
417
424
  # @return [::Object]
418
425
  # @!attribute [rw] scope
419
426
  # The OAuth scopes
@@ -461,7 +468,7 @@ module Google
461
468
 
462
469
  config_attr :endpoint, nil, ::String, nil
463
470
  config_attr :credentials, nil do |value|
464
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
471
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
465
472
  allowed.any? { |klass| klass === value }
466
473
  end
467
474
  config_attr :scope, nil, ::String, ::Array, nil
@@ -502,6 +502,13 @@ module Google
502
502
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
503
503
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
504
504
  # * (`nil`) indicating no credentials
505
+ #
506
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
507
+ # external source for authentication to Google Cloud, you must validate it before
508
+ # providing it to a Google API client library. Providing an unvalidated credential
509
+ # configuration to Google APIs can compromise the security of your systems and data.
510
+ # For more information, refer to [Validate credential configurations from external
511
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
505
512
  # @return [::Object]
506
513
  # @!attribute [rw] scope
507
514
  # The OAuth scopes
@@ -549,7 +556,7 @@ module Google
549
556
 
550
557
  config_attr :endpoint, nil, ::String, nil
551
558
  config_attr :credentials, nil do |value|
552
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
559
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
553
560
  allowed.any? { |klass| klass === value }
554
561
  end
555
562
  config_attr :scope, nil, ::String, ::Array, nil
@@ -2148,6 +2148,13 @@ module Google
2148
2148
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
2149
2149
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
2150
2150
  # * (`nil`) indicating no credentials
2151
+ #
2152
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
2153
+ # external source for authentication to Google Cloud, you must validate it before
2154
+ # providing it to a Google API client library. Providing an unvalidated credential
2155
+ # configuration to Google APIs can compromise the security of your systems and data.
2156
+ # For more information, refer to [Validate credential configurations from external
2157
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
2151
2158
  # @return [::Object]
2152
2159
  # @!attribute [rw] scope
2153
2160
  # The OAuth scopes
@@ -2202,8 +2209,8 @@ module Google
2202
2209
 
2203
2210
  config_attr :endpoint, nil, ::String, nil
2204
2211
  config_attr :credentials, nil do |value|
2205
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
2206
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
2212
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
2213
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
2207
2214
  allowed.any? { |klass| klass === value }
2208
2215
  end
2209
2216
  config_attr :scope, nil, ::String, ::Array, nil
@@ -640,6 +640,13 @@ module Google
640
640
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
641
641
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
642
642
  # * (`nil`) indicating no credentials
643
+ #
644
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
645
+ # external source for authentication to Google Cloud, you must validate it before
646
+ # providing it to a Google API client library. Providing an unvalidated credential
647
+ # configuration to Google APIs can compromise the security of your systems and data.
648
+ # For more information, refer to [Validate credential configurations from external
649
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
643
650
  # @return [::Object]
644
651
  # @!attribute [rw] scope
645
652
  # The OAuth scopes
@@ -694,8 +701,8 @@ module Google
694
701
 
695
702
  config_attr :endpoint, nil, ::String, nil
696
703
  config_attr :credentials, nil do |value|
697
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
698
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
704
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
705
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
699
706
  allowed.any? { |klass| klass === value }
700
707
  end
701
708
  config_attr :scope, nil, ::String, ::Array, nil
@@ -2013,6 +2013,13 @@ module Google
2013
2013
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
2014
2014
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
2015
2015
  # * (`nil`) indicating no credentials
2016
+ #
2017
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
2018
+ # external source for authentication to Google Cloud, you must validate it before
2019
+ # providing it to a Google API client library. Providing an unvalidated credential
2020
+ # configuration to Google APIs can compromise the security of your systems and data.
2021
+ # For more information, refer to [Validate credential configurations from external
2022
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
2016
2023
  # @return [::Object]
2017
2024
  # @!attribute [rw] scope
2018
2025
  # The OAuth scopes
@@ -2060,7 +2067,7 @@ module Google
2060
2067
 
2061
2068
  config_attr :endpoint, nil, ::String, nil
2062
2069
  config_attr :credentials, nil do |value|
2063
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
2070
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
2064
2071
  allowed.any? { |klass| klass === value }
2065
2072
  end
2066
2073
  config_attr :scope, nil, ::String, ::Array, nil
@@ -502,6 +502,13 @@ module Google
502
502
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
503
503
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
504
504
  # * (`nil`) indicating no credentials
505
+ #
506
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
507
+ # external source for authentication to Google Cloud, you must validate it before
508
+ # providing it to a Google API client library. Providing an unvalidated credential
509
+ # configuration to Google APIs can compromise the security of your systems and data.
510
+ # For more information, refer to [Validate credential configurations from external
511
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
505
512
  # @return [::Object]
506
513
  # @!attribute [rw] scope
507
514
  # The OAuth scopes
@@ -549,7 +556,7 @@ module Google
549
556
 
550
557
  config_attr :endpoint, nil, ::String, nil
551
558
  config_attr :credentials, nil do |value|
552
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
559
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
553
560
  allowed.any? { |klass| klass === value }
554
561
  end
555
562
  config_attr :scope, nil, ::String, ::Array, nil
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Vision
23
23
  module V1p3beta1
24
- VERSION = "0.14.0"
24
+ VERSION = "0.15.1"
25
25
  end
26
26
  end
27
27
  end
@@ -221,6 +221,12 @@ module Google
221
221
  # Pythonic which are included in `protobuf>=5.29.x`. This feature will be
222
222
  # enabled by default 1 month after launching the feature in preview
223
223
  # packages.
224
+ # @!attribute [rw] unversioned_package_disabled
225
+ # @return [::Boolean]
226
+ # Disables generation of an unversioned Python package for this client
227
+ # library. This means that the module names will need to be versioned in
228
+ # import statements. For example `import google.cloud.library_v2` instead
229
+ # of `import google.cloud.library`.
224
230
  class ExperimentalFeatures
225
231
  include ::Google::Protobuf::MessageExts
226
232
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -409,6 +415,14 @@ module Google
409
415
  # @return [::Array<::String>]
410
416
  # An allowlist of the fully qualified names of RPCs that should be included
411
417
  # on public client surfaces.
418
+ # @!attribute [rw] generate_omitted_as_internal
419
+ # @return [::Boolean]
420
+ # Setting this to true indicates to the client generators that methods
421
+ # that would be excluded from the generation should instead be generated
422
+ # in a way that indicates these methods should not be consumed by
423
+ # end users. How this is expressed is up to individual language
424
+ # implementations to decide. Some examples may be: added annotations,
425
+ # obfuscated identifiers, or other language idiomatic patterns.
412
426
  class SelectiveGapicGeneration
413
427
  include ::Google::Protobuf::MessageExts
414
428
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -40,6 +40,8 @@ module Google
40
40
  # @!attribute [rw] error
41
41
  # @return [::Google::Rpc::Status]
42
42
  # The error result of the operation in case of failure or cancellation.
43
+ #
44
+ # Note: The following fields are mutually exclusive: `error`, `response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
43
45
  # @!attribute [rw] response
44
46
  # @return [::Google::Protobuf::Any]
45
47
  # The normal, successful response of the operation. If the original
@@ -50,6 +52,8 @@ module Google
50
52
  # is the original method name. For example, if the original method name
51
53
  # is `TakeSnapshot()`, the inferred response type is
52
54
  # `TakeSnapshotResponse`.
55
+ #
56
+ # Note: The following fields are mutually exclusive: `response`, `error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
53
57
  class Operation
54
58
  include ::Google::Protobuf::MessageExts
55
59
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-vision-v1p3beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.15.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-10 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: gapic-common
@@ -16,7 +15,7 @@ dependencies:
16
15
  requirements:
17
16
  - - ">="
18
17
  - !ruby/object:Gem::Version
19
- version: 0.24.0
18
+ version: 0.25.0
20
19
  - - "<"
21
20
  - !ruby/object:Gem::Version
22
21
  version: 2.a
@@ -26,7 +25,7 @@ dependencies:
26
25
  requirements:
27
26
  - - ">="
28
27
  - !ruby/object:Gem::Version
29
- version: 0.24.0
28
+ version: 0.25.0
30
29
  - - "<"
31
30
  - !ruby/object:Gem::Version
32
31
  version: 2.a
@@ -115,7 +114,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
115
114
  licenses:
116
115
  - Apache-2.0
117
116
  metadata: {}
118
- post_install_message:
119
117
  rdoc_options: []
120
118
  require_paths:
121
119
  - lib
@@ -123,15 +121,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
123
121
  requirements:
124
122
  - - ">="
125
123
  - !ruby/object:Gem::Version
126
- version: '2.7'
124
+ version: '3.0'
127
125
  required_rubygems_version: !ruby/object:Gem::Requirement
128
126
  requirements:
129
127
  - - ">="
130
128
  - !ruby/object:Gem::Version
131
129
  version: '0'
132
130
  requirements: []
133
- rubygems_version: 3.5.23
134
- signing_key:
131
+ rubygems_version: 3.6.8
135
132
  specification_version: 4
136
133
  summary: Integrates Google Vision features, including image labeling, face, logo,
137
134
  and landmark detection, optical character recognition (OCR), and detection of explicit