google-cloud-vision-v1p4beta1 0.10.0 → 0.11.0

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: 6ea1a65bbbcd1819ba9965e9b766c3c3216fed7f42339fd9a1ccf08e1df1570f
4
- data.tar.gz: e53f040650f83044fbf99f9c25fb9a4b5f8bd4d0dd6b63450ee267e69eb36833
3
+ metadata.gz: 52a654c25431b5b696305b94e7160076a33a8e5a9fbba833e82b652f15de976f
4
+ data.tar.gz: 8170f6b2d0793c146123ebc824d00e5efb2c47dd49339f3b63f08e3eb783399f
5
5
  SHA512:
6
- metadata.gz: 48978d587124284156cf6c3af2aad233b9f371b1d4a33698a786b96e57656bfaf4f9e79d85d7f3549fa4cbae0e4f63d32a30b92164baf38f49dd663fed9af7e1
7
- data.tar.gz: d8d7061a9b424dcb797a33c7f3e58de264f3f46bf4d3eee0144055d8b4eab69bfafb6654e8a921aba3f1c8b504f68396bd9be5b3c21ad43a620da068450a4028
6
+ metadata.gz: ee40427eb97c043f97f71482e5cc79a8b0635834750ffa5ac07388563815f8ec11501c7770deaebdd13358b73f819448d98c8f2fc3959fe031cfa1aa1d6d1f9b
7
+ data.tar.gz: fefdfe2579ef8fc417813e1abaeba24905f05fffe7137341b320fa750254fc18866726f0df1b6d64ce2a220dfad1c44f25a5858fdca71c86ec78894a8d23c731
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
@@ -611,6 +611,13 @@ module Google
611
611
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
612
612
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
613
613
  # * (`nil`) indicating no credentials
614
+ #
615
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
616
+ # external source for authentication to Google Cloud, you must validate it before
617
+ # providing it to a Google API client library. Providing an unvalidated credential
618
+ # configuration to Google APIs can compromise the security of your systems and data.
619
+ # For more information, refer to [Validate credential configurations from external
620
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
614
621
  # @return [::Object]
615
622
  # @!attribute [rw] scope
616
623
  # The OAuth scopes
@@ -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
@@ -606,6 +606,13 @@ module Google
606
606
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
607
607
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
608
608
  # * (`nil`) indicating no credentials
609
+ #
610
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
611
+ # external source for authentication to Google Cloud, you must validate it before
612
+ # providing it to a Google API client library. Providing an unvalidated credential
613
+ # configuration to Google APIs can compromise the security of your systems and data.
614
+ # For more information, refer to [Validate credential configurations from external
615
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
609
616
  # @return [::Object]
610
617
  # @!attribute [rw] scope
611
618
  # The OAuth scopes
@@ -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
@@ -2138,9 +2138,13 @@ module Google
2138
2138
  #
2139
2139
  # @param product_set_purge_config [::Google::Cloud::Vision::V1p4beta1::ProductSetPurgeConfig, ::Hash]
2140
2140
  # Specify which ProductSet contains the Products to be deleted.
2141
+ #
2142
+ # Note: The following fields are mutually exclusive: `product_set_purge_config`, `delete_orphan_products`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2141
2143
  # @param delete_orphan_products [::Boolean]
2142
2144
  # If delete_orphan_products is true, all Products that are not in any
2143
2145
  # ProductSet will be deleted.
2146
+ #
2147
+ # Note: The following fields are mutually exclusive: `delete_orphan_products`, `product_set_purge_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2144
2148
  # @param parent [::String]
2145
2149
  # Required. The project and location in which the Products should be deleted.
2146
2150
  #
@@ -2266,6 +2270,13 @@ module Google
2266
2270
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
2267
2271
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
2268
2272
  # * (`nil`) indicating no credentials
2273
+ #
2274
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
2275
+ # external source for authentication to Google Cloud, you must validate it before
2276
+ # providing it to a Google API client library. Providing an unvalidated credential
2277
+ # configuration to Google APIs can compromise the security of your systems and data.
2278
+ # For more information, refer to [Validate credential configurations from external
2279
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
2269
2280
  # @return [::Object]
2270
2281
  # @!attribute [rw] scope
2271
2282
  # The OAuth scopes
@@ -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
@@ -2005,9 +2005,13 @@ module Google
2005
2005
  #
2006
2006
  # @param product_set_purge_config [::Google::Cloud::Vision::V1p4beta1::ProductSetPurgeConfig, ::Hash]
2007
2007
  # Specify which ProductSet contains the Products to be deleted.
2008
+ #
2009
+ # Note: The following fields are mutually exclusive: `product_set_purge_config`, `delete_orphan_products`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2008
2010
  # @param delete_orphan_products [::Boolean]
2009
2011
  # If delete_orphan_products is true, all Products that are not in any
2010
2012
  # ProductSet will be deleted.
2013
+ #
2014
+ # Note: The following fields are mutually exclusive: `delete_orphan_products`, `product_set_purge_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2011
2015
  # @param parent [::String]
2012
2016
  # Required. The project and location in which the Products should be deleted.
2013
2017
  #
@@ -2124,6 +2128,13 @@ module Google
2124
2128
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
2125
2129
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
2126
2130
  # * (`nil`) indicating no credentials
2131
+ #
2132
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
2133
+ # external source for authentication to Google Cloud, you must validate it before
2134
+ # providing it to a Google API client library. Providing an unvalidated credential
2135
+ # configuration to Google APIs can compromise the security of your systems and data.
2136
+ # For more information, refer to [Validate credential configurations from external
2137
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
2127
2138
  # @return [::Object]
2128
2139
  # @!attribute [rw] scope
2129
2140
  # The OAuth scopes
@@ -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
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Vision
23
23
  module V1p4beta1
24
- VERSION = "0.10.0"
24
+ VERSION = "0.11.0"
25
25
  end
26
26
  end
27
27
  end
@@ -653,10 +653,14 @@ module Google
653
653
  # @!attribute [rw] product_set_purge_config
654
654
  # @return [::Google::Cloud::Vision::V1p4beta1::ProductSetPurgeConfig]
655
655
  # Specify which ProductSet contains the Products to be deleted.
656
+ #
657
+ # Note: The following fields are mutually exclusive: `product_set_purge_config`, `delete_orphan_products`. If a field in that set is populated, all other fields in the set will automatically be cleared.
656
658
  # @!attribute [rw] delete_orphan_products
657
659
  # @return [::Boolean]
658
660
  # If delete_orphan_products is true, all Products that are not in any
659
661
  # ProductSet will be deleted.
662
+ #
663
+ # Note: The following fields are mutually exclusive: `delete_orphan_products`, `product_set_purge_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
660
664
  # @!attribute [rw] parent
661
665
  # @return [::String]
662
666
  # Required. The project and location in which the Products should be deleted.
@@ -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-v1p4beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.11.0
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-11 00:00:00.000000000 Z
10
+ date: 2025-01-29 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
@@ -117,7 +116,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
117
116
  licenses:
118
117
  - Apache-2.0
119
118
  metadata: {}
120
- post_install_message:
121
119
  rdoc_options: []
122
120
  require_paths:
123
121
  - lib
@@ -125,15 +123,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
125
123
  requirements:
126
124
  - - ">="
127
125
  - !ruby/object:Gem::Version
128
- version: '2.7'
126
+ version: '3.0'
129
127
  required_rubygems_version: !ruby/object:Gem::Requirement
130
128
  requirements:
131
129
  - - ">="
132
130
  - !ruby/object:Gem::Version
133
131
  version: '0'
134
132
  requirements: []
135
- rubygems_version: 3.5.23
136
- signing_key:
133
+ rubygems_version: 3.6.2
137
134
  specification_version: 4
138
135
  summary: Integrates Google Vision features, including image labeling, face, logo,
139
136
  and landmark detection, optical character recognition (OCR), and detection of explicit