google-cloud-vision-v1 1.6.0 → 1.7.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.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/google/cloud/vision/v1/image_annotator/client.rb +3 -1
  4. data/lib/google/cloud/vision/v1/image_annotator/credentials.rb +1 -1
  5. data/lib/google/cloud/vision/v1/image_annotator/operations.rb +3 -1
  6. data/lib/google/cloud/vision/v1/image_annotator/paths.rb +1 -1
  7. data/lib/google/cloud/vision/v1/image_annotator/rest/client.rb +3 -1
  8. data/lib/google/cloud/vision/v1/image_annotator/rest/operations.rb +5 -3
  9. data/lib/google/cloud/vision/v1/image_annotator/rest/service_stub.rb +1 -1
  10. data/lib/google/cloud/vision/v1/image_annotator/rest.rb +1 -1
  11. data/lib/google/cloud/vision/v1/image_annotator.rb +1 -1
  12. data/lib/google/cloud/vision/v1/image_annotator_services_pb.rb +1 -1
  13. data/lib/google/cloud/vision/v1/product_search/client.rb +3 -1
  14. data/lib/google/cloud/vision/v1/product_search/credentials.rb +1 -1
  15. data/lib/google/cloud/vision/v1/product_search/operations.rb +3 -1
  16. data/lib/google/cloud/vision/v1/product_search/paths.rb +1 -1
  17. data/lib/google/cloud/vision/v1/product_search/rest/client.rb +3 -1
  18. data/lib/google/cloud/vision/v1/product_search/rest/operations.rb +5 -3
  19. data/lib/google/cloud/vision/v1/product_search/rest/service_stub.rb +1 -1
  20. data/lib/google/cloud/vision/v1/product_search/rest.rb +1 -1
  21. data/lib/google/cloud/vision/v1/product_search.rb +1 -1
  22. data/lib/google/cloud/vision/v1/product_search_service_services_pb.rb +1 -1
  23. data/lib/google/cloud/vision/v1/rest.rb +1 -1
  24. data/lib/google/cloud/vision/v1/version.rb +1 -1
  25. data/lib/google/cloud/vision/v1.rb +1 -1
  26. data/lib/google-cloud-vision-v1.rb +1 -1
  27. data/proto_docs/google/api/client.rb +5 -1
  28. data/proto_docs/google/api/field_behavior.rb +1 -1
  29. data/proto_docs/google/api/launch_stage.rb +1 -1
  30. data/proto_docs/google/api/resource.rb +1 -1
  31. data/proto_docs/google/cloud/vision/v1/geometry.rb +1 -1
  32. data/proto_docs/google/cloud/vision/v1/image_annotator.rb +1 -1
  33. data/proto_docs/google/cloud/vision/v1/product_search.rb +1 -1
  34. data/proto_docs/google/cloud/vision/v1/product_search_service.rb +1 -1
  35. data/proto_docs/google/cloud/vision/v1/text_annotation.rb +1 -1
  36. data/proto_docs/google/cloud/vision/v1/web_detection.rb +1 -1
  37. data/proto_docs/google/longrunning/operations.rb +1 -1
  38. data/proto_docs/google/protobuf/any.rb +1 -1
  39. data/proto_docs/google/protobuf/duration.rb +1 -1
  40. data/proto_docs/google/protobuf/empty.rb +1 -1
  41. data/proto_docs/google/protobuf/field_mask.rb +1 -1
  42. data/proto_docs/google/protobuf/timestamp.rb +8 -7
  43. data/proto_docs/google/protobuf/wrappers.rb +1 -1
  44. data/proto_docs/google/rpc/status.rb +1 -1
  45. data/proto_docs/google/type/color.rb +1 -1
  46. data/proto_docs/google/type/latlng.rb +1 -1
  47. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9fb565e458275c4149fa584d110ccf699739e1432a3d6efe6d723cb487a7cd9b
4
- data.tar.gz: 884066ddc13b880d4d45c256e190a69da1c4ad98c5cb208a87730d75de2a85de
3
+ metadata.gz: c8a5373501916f9e5dc681b62a2192012896780102ba8b4af7a6320c790dd640
4
+ data.tar.gz: 5612aebc4f210779290f181f3c84e3763f47a053d1c8bac2197a5eee56fb3665
5
5
  SHA512:
6
- metadata.gz: c34463ae1c0958932458146864847a769d524d200692ff7b43fce5e43a195bb99d03d416594246686fe6f42d3ae08eacfb217d8080773ffc81251556e4949789
7
- data.tar.gz: 27382caa525252b1204532bcd3c99676fe338310f58c083a637e75a8d34c23d1b09363f88bea47b96cd88a07a24608a8508a23fc26783bdc81d03e2a1d75f0da
6
+ metadata.gz: e9e9838109c5a79330a771ee2e86121f5c30c5441a5b0e585871055d097483877951f4ff1237ba6f2795214ea010f84359f261255884dc904cf74a909f248a20
7
+ data.tar.gz: 691d078b4eb3dc33ffec1dbdf1457ae33c6271fab1e8ed19d570686193736cf7e9b20f64ab2424dc6bb885a1c3f77a7150c1cf07882755a132c29c79fce2b259
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 3.0+.
89
+ This library is supported on Ruby 3.2+.
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
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -743,6 +743,7 @@ module Google
743
743
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
744
744
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
745
745
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
746
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
746
747
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
747
748
  # trigger a retry.
748
749
  # @return [::Hash]
@@ -826,6 +827,7 @@ module Google
826
827
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
827
828
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
828
829
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
830
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
829
831
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
830
832
  # trigger a retry.
831
833
  #
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -703,6 +703,7 @@ module Google
703
703
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
704
704
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
705
705
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
706
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
706
707
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
707
708
  # trigger a retry.
708
709
  # @return [::Hash]
@@ -786,6 +787,7 @@ module Google
786
787
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
787
788
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
788
789
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
790
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
789
791
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
790
792
  # trigger a retry.
791
793
  #
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2023 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -714,6 +714,7 @@ module Google
714
714
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
715
715
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
716
716
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
717
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
717
718
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
718
719
  # trigger a retry.
719
720
  # @return [::Hash]
@@ -786,6 +787,7 @@ module Google
786
787
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
787
788
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
788
789
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
790
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
789
791
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
790
792
  # trigger a retry.
791
793
  #
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2023 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -541,6 +541,7 @@ module Google
541
541
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
542
542
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
543
543
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
544
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
544
545
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
545
546
  # trigger a retry.
546
547
  # @return [::Hash]
@@ -613,6 +614,7 @@ module Google
613
614
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
614
615
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
615
616
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
617
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
616
618
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
617
619
  # trigger a retry.
618
620
  #
@@ -910,7 +912,7 @@ module Google
910
912
  uri_method: :delete,
911
913
  uri_template: "/v1/{name}",
912
914
  matches: [
913
- ["name", %r{^operations(?:/.*)?$}, true]
915
+ ["name", %r{^operations(?:/(?<__wildcard__>.*))?$}, true]
914
916
  ]
915
917
  )
916
918
  transcoder.transcode request_pb
@@ -932,7 +934,7 @@ module Google
932
934
  uri_template: "/v1/{name}:cancel",
933
935
  body: "*",
934
936
  matches: [
935
- ["name", %r{^operations(?:/.*)?$}, true]
937
+ ["name", %r{^operations(?:/(?<__wildcard__>.*))?$}, true]
936
938
  ]
937
939
  )
938
940
  transcoder.transcode request_pb
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2023 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2023 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,7 +1,7 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # Source: google/cloud/vision/v1/image_annotator.proto for package 'google.cloud.vision.v1'
3
3
  # Original file comments:
4
- # Copyright 2020 Google LLC
4
+ # Copyright 2025 Google LLC
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
7
7
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -2323,6 +2323,7 @@ module Google
2323
2323
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
2324
2324
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
2325
2325
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
2326
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
2326
2327
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
2327
2328
  # trigger a retry.
2328
2329
  # @return [::Hash]
@@ -2406,6 +2407,7 @@ module Google
2406
2407
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
2407
2408
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
2408
2409
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
2410
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
2409
2411
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
2410
2412
  # trigger a retry.
2411
2413
  #
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -703,6 +703,7 @@ module Google
703
703
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
704
704
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
705
705
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
706
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
706
707
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
707
708
  # trigger a retry.
708
709
  # @return [::Hash]
@@ -786,6 +787,7 @@ module Google
786
787
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
787
788
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
788
789
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
790
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
789
791
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
790
792
  # trigger a retry.
791
793
  #
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2023 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -2157,6 +2157,7 @@ module Google
2157
2157
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
2158
2158
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
2159
2159
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
2160
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
2160
2161
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
2161
2162
  # trigger a retry.
2162
2163
  # @return [::Hash]
@@ -2229,6 +2230,7 @@ module Google
2229
2230
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
2230
2231
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
2231
2232
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
2233
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
2232
2234
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
2233
2235
  # trigger a retry.
2234
2236
  #
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2023 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -541,6 +541,7 @@ module Google
541
541
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
542
542
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
543
543
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
544
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
544
545
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
545
546
  # trigger a retry.
546
547
  # @return [::Hash]
@@ -613,6 +614,7 @@ module Google
613
614
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
614
615
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
615
616
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
617
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
616
618
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
617
619
  # trigger a retry.
618
620
  #
@@ -910,7 +912,7 @@ module Google
910
912
  uri_method: :delete,
911
913
  uri_template: "/v1/{name}",
912
914
  matches: [
913
- ["name", %r{^operations(?:/.*)?$}, true]
915
+ ["name", %r{^operations(?:/(?<__wildcard__>.*))?$}, true]
914
916
  ]
915
917
  )
916
918
  transcoder.transcode request_pb
@@ -932,7 +934,7 @@ module Google
932
934
  uri_template: "/v1/{name}:cancel",
933
935
  body: "*",
934
936
  matches: [
935
- ["name", %r{^operations(?:/.*)?$}, true]
937
+ ["name", %r{^operations(?:/(?<__wildcard__>.*))?$}, true]
936
938
  ]
937
939
  )
938
940
  transcoder.transcode request_pb
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2023 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2023 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,7 +1,7 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # Source: google/cloud/vision/v1/product_search_service.proto for package 'google.cloud.vision.v1'
3
3
  # Original file comments:
4
- # Copyright 2020 Google LLC
4
+ # Copyright 2025 Google LLC
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
7
7
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2023 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Vision
23
23
  module V1
24
- VERSION = "1.6.0"
24
+ VERSION = "1.7.1"
25
25
  end
26
26
  end
27
27
  end
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2022 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -31,6 +31,8 @@ module Google
31
31
  # @!attribute [rw] selective_gapic_generation
32
32
  # @return [::Google::Api::SelectiveGapicGeneration]
33
33
  # Configuration for which RPCs should be generated in the GAPIC client.
34
+ #
35
+ # Note: This field should not be used in most cases.
34
36
  class CommonLanguageSettings
35
37
  include ::Google::Protobuf::MessageExts
36
38
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -441,6 +443,8 @@ module Google
441
443
 
442
444
  # This message is used to configure the generation of a subset of the RPCs in
443
445
  # a service for client libraries.
446
+ #
447
+ # Note: This feature should not be used in most cases.
444
448
  # @!attribute [rw] methods
445
449
  # @return [::Array<::String>]
446
450
  # An allowlist of the fully qualified names of RPCs that should be included
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2022 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2021 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -110,14 +110,15 @@ module Google
110
110
  # ) to obtain a formatter capable of generating timestamps in this format.
111
111
  # @!attribute [rw] seconds
112
112
  # @return [::Integer]
113
- # Represents seconds of UTC time since Unix epoch
114
- # 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
115
- # 9999-12-31T23:59:59Z inclusive.
113
+ # Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must
114
+ # be between -315576000000 and 315576000000 inclusive (which corresponds to
115
+ # 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z).
116
116
  # @!attribute [rw] nanos
117
117
  # @return [::Integer]
118
- # Non-negative fractions of a second at nanosecond resolution. Negative
119
- # second values with fractions must still have non-negative nanos values
120
- # that count forward in time. Must be from 0 to 999,999,999
118
+ # Non-negative fractions of a second at nanosecond resolution. This field is
119
+ # the nanosecond portion of the duration, not an alternative to seconds.
120
+ # Negative second values with fractions must still have non-negative nanos
121
+ # values that count forward in time. Must be between 0 and 999,999,999
121
122
  # inclusive.
122
123
  class Timestamp
123
124
  include ::Google::Protobuf::MessageExts
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-vision-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -15,14 +15,14 @@ dependencies:
15
15
  requirements:
16
16
  - - "~>"
17
17
  - !ruby/object:Gem::Version
18
- version: '1.2'
18
+ version: '1.3'
19
19
  type: :runtime
20
20
  prerelease: false
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
23
23
  - - "~>"
24
24
  - !ruby/object:Gem::Version
25
- version: '1.2'
25
+ version: '1.3'
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: google-cloud-errors
28
28
  requirement: !ruby/object:Gem::Requirement