google-cloud-vision_ai-v1 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (33) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/google/cloud/vision_ai/v1/app_platform/client.rb +7 -0
  4. data/lib/google/cloud/vision_ai/v1/app_platform/operations.rb +7 -0
  5. data/lib/google/cloud/vision_ai/v1/app_platform/rest/client.rb +7 -0
  6. data/lib/google/cloud/vision_ai/v1/app_platform/rest/operations.rb +7 -0
  7. data/lib/google/cloud/vision_ai/v1/health_check_service/client.rb +7 -0
  8. data/lib/google/cloud/vision_ai/v1/health_check_service/rest/client.rb +7 -0
  9. data/lib/google/cloud/vision_ai/v1/live_video_analytics/client.rb +7 -0
  10. data/lib/google/cloud/vision_ai/v1/live_video_analytics/operations.rb +7 -0
  11. data/lib/google/cloud/vision_ai/v1/live_video_analytics/rest/client.rb +7 -0
  12. data/lib/google/cloud/vision_ai/v1/live_video_analytics/rest/operations.rb +7 -0
  13. data/lib/google/cloud/vision_ai/v1/streaming_service/client.rb +7 -0
  14. data/lib/google/cloud/vision_ai/v1/streaming_service/rest/client.rb +7 -0
  15. data/lib/google/cloud/vision_ai/v1/streams_service/client.rb +7 -0
  16. data/lib/google/cloud/vision_ai/v1/streams_service/operations.rb +7 -0
  17. data/lib/google/cloud/vision_ai/v1/streams_service/rest/client.rb +7 -0
  18. data/lib/google/cloud/vision_ai/v1/streams_service/rest/operations.rb +7 -0
  19. data/lib/google/cloud/vision_ai/v1/version.rb +1 -1
  20. data/lib/google/cloud/vision_ai/v1/warehouse/client.rb +11 -0
  21. data/lib/google/cloud/vision_ai/v1/warehouse/operations.rb +7 -0
  22. data/lib/google/cloud/vision_ai/v1/warehouse/rest/client.rb +11 -0
  23. data/lib/google/cloud/vision_ai/v1/warehouse/rest/operations.rb +7 -0
  24. data/proto_docs/google/cloud/visionai/v1/annotations.rb +4 -0
  25. data/proto_docs/google/cloud/visionai/v1/lva.rb +8 -0
  26. data/proto_docs/google/cloud/visionai/v1/platform.rb +44 -0
  27. data/proto_docs/google/cloud/visionai/v1/streaming_resources.rb +4 -0
  28. data/proto_docs/google/cloud/visionai/v1/streaming_service.rb +32 -0
  29. data/proto_docs/google/cloud/visionai/v1/warehouse.rb +64 -0
  30. data/proto_docs/google/longrunning/operations.rb +4 -0
  31. data/proto_docs/google/protobuf/struct.rb +12 -0
  32. data/proto_docs/google/type/datetime.rb +4 -0
  33. metadata +6 -9
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1f0b75a98e1ea83ae1c884d171c811e97f6475a35f199f158d7402a2dd003831
4
- data.tar.gz: fc07e9fc7a237532436a98b8efc63b0f775c6b116dff4a9b2d1fadc918f416cb
3
+ metadata.gz: f0f87a17cb5027ab22fe569aa44b5a6c5b4add9176db7b4585d082389b458629
4
+ data.tar.gz: d9112d660da1e20071aaf2e3c236c4b08067882ffbb361d75700b7f078c049b5
5
5
  SHA512:
6
- metadata.gz: cea4dcaab4ff4ef8c3098f7361849017a225d53dd2ff7472c0a224c12bbabefd0f2eac37444abd8627194038bd86893bf9a1e835414ec085650500b4a7ea9c8f
7
- data.tar.gz: 790b2c8576a6b9c53b54768ee4cfdf27ba0eee5288becf66c1d143174edbc19ed6fe377d6ef802564bec62e9540d113218b3cbe47849aa9fbdde0900053766a3
6
+ metadata.gz: 60c6b98d40989883e9ab110f9d2e096390892518d6bc684d8ecd215587d23015e2b41034f1691442b6607756e4faab390d3d6ae3c5936dd4a08e285b456e7e1c
7
+ data.tar.gz: 8b8d3a810edcb69903eb396fbc8eb8002e1ee766b2442bb2ebdd14fcdd7e1937949b981636768064c791d5d64db935edf4e0db82b7b5c166c2bf1d8687af734b
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
@@ -3028,6 +3028,13 @@ module Google
3028
3028
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
3029
3029
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
3030
3030
  # * (`nil`) indicating no credentials
3031
+ #
3032
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
3033
+ # external source for authentication to Google Cloud, you must validate it before
3034
+ # providing it to a Google API client library. Providing an unvalidated credential
3035
+ # configuration to Google APIs can compromise the security of your systems and data.
3036
+ # For more information, refer to [Validate credential configurations from external
3037
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
3031
3038
  # @return [::Object]
3032
3039
  # @!attribute [rw] scope
3033
3040
  # 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
@@ -2829,6 +2829,13 @@ module Google
2829
2829
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
2830
2830
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
2831
2831
  # * (`nil`) indicating no credentials
2832
+ #
2833
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
2834
+ # external source for authentication to Google Cloud, you must validate it before
2835
+ # providing it to a Google API client library. Providing an unvalidated credential
2836
+ # configuration to Google APIs can compromise the security of your systems and data.
2837
+ # For more information, refer to [Validate credential configurations from external
2838
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
2832
2839
  # @return [::Object]
2833
2840
  # @!attribute [rw] scope
2834
2841
  # 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
@@ -345,6 +345,13 @@ module Google
345
345
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
346
346
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
347
347
  # * (`nil`) indicating no credentials
348
+ #
349
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
350
+ # external source for authentication to Google Cloud, you must validate it before
351
+ # providing it to a Google API client library. Providing an unvalidated credential
352
+ # configuration to Google APIs can compromise the security of your systems and data.
353
+ # For more information, refer to [Validate credential configurations from external
354
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
348
355
  # @return [::Object]
349
356
  # @!attribute [rw] scope
350
357
  # The OAuth scopes
@@ -329,6 +329,13 @@ module Google
329
329
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
330
330
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
331
331
  # * (`nil`) indicating no credentials
332
+ #
333
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
334
+ # external source for authentication to Google Cloud, you must validate it before
335
+ # providing it to a Google API client library. Providing an unvalidated credential
336
+ # configuration to Google APIs can compromise the security of your systems and data.
337
+ # For more information, refer to [Validate credential configurations from external
338
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
332
339
  # @return [::Object]
333
340
  # @!attribute [rw] scope
334
341
  # The OAuth scopes
@@ -2142,6 +2142,13 @@ module Google
2142
2142
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
2143
2143
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
2144
2144
  # * (`nil`) indicating no credentials
2145
+ #
2146
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
2147
+ # external source for authentication to Google Cloud, you must validate it before
2148
+ # providing it to a Google API client library. Providing an unvalidated credential
2149
+ # configuration to Google APIs can compromise the security of your systems and data.
2150
+ # For more information, refer to [Validate credential configurations from external
2151
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
2145
2152
  # @return [::Object]
2146
2153
  # @!attribute [rw] scope
2147
2154
  # 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
@@ -2001,6 +2001,13 @@ module Google
2001
2001
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
2002
2002
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
2003
2003
  # * (`nil`) indicating no credentials
2004
+ #
2005
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
2006
+ # external source for authentication to Google Cloud, you must validate it before
2007
+ # providing it to a Google API client library. Providing an unvalidated credential
2008
+ # configuration to Google APIs can compromise the security of your systems and data.
2009
+ # For more information, refer to [Validate credential configurations from external
2010
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
2004
2011
  # @return [::Object]
2005
2012
  # @!attribute [rw] scope
2006
2013
  # 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
@@ -764,6 +764,13 @@ module Google
764
764
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
765
765
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
766
766
  # * (`nil`) indicating no credentials
767
+ #
768
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
769
+ # external source for authentication to Google Cloud, you must validate it before
770
+ # providing it to a Google API client library. Providing an unvalidated credential
771
+ # configuration to Google APIs can compromise the security of your systems and data.
772
+ # For more information, refer to [Validate credential configurations from external
773
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
767
774
  # @return [::Object]
768
775
  # @!attribute [rw] scope
769
776
  # The OAuth scopes
@@ -500,6 +500,13 @@ module Google
500
500
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
501
501
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
502
502
  # * (`nil`) indicating no credentials
503
+ #
504
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
505
+ # external source for authentication to Google Cloud, you must validate it before
506
+ # providing it to a Google API client library. Providing an unvalidated credential
507
+ # configuration to Google APIs can compromise the security of your systems and data.
508
+ # For more information, refer to [Validate credential configurations from external
509
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
503
510
  # @return [::Object]
504
511
  # @!attribute [rw] scope
505
512
  # The OAuth scopes
@@ -2662,6 +2662,13 @@ module Google
2662
2662
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
2663
2663
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
2664
2664
  # * (`nil`) indicating no credentials
2665
+ #
2666
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
2667
+ # external source for authentication to Google Cloud, you must validate it before
2668
+ # providing it to a Google API client library. Providing an unvalidated credential
2669
+ # configuration to Google APIs can compromise the security of your systems and data.
2670
+ # For more information, refer to [Validate credential configurations from external
2671
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
2665
2672
  # @return [::Object]
2666
2673
  # @!attribute [rw] scope
2667
2674
  # 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
@@ -2484,6 +2484,13 @@ module Google
2484
2484
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
2485
2485
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
2486
2486
  # * (`nil`) indicating no credentials
2487
+ #
2488
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
2489
+ # external source for authentication to Google Cloud, you must validate it before
2490
+ # providing it to a Google API client library. Providing an unvalidated credential
2491
+ # configuration to Google APIs can compromise the security of your systems and data.
2492
+ # For more information, refer to [Validate credential configurations from external
2493
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
2487
2494
  # @return [::Object]
2488
2495
  # @!attribute [rw] scope
2489
2496
  # 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 VisionAI
23
23
  module V1
24
- VERSION = "0.3.0"
24
+ VERSION = "0.4.0"
25
25
  end
26
26
  end
27
27
  end
@@ -4800,8 +4800,12 @@ module Google
4800
4800
  #
4801
4801
  # @param image_query [::Google::Cloud::VisionAI::V1::ImageQuery, ::Hash]
4802
4802
  # An image-only query.
4803
+ #
4804
+ # Note: The following fields are mutually exclusive: `image_query`, `text_query`. If a field in that set is populated, all other fields in the set will automatically be cleared.
4803
4805
  # @param text_query [::String]
4804
4806
  # A text-only query.
4807
+ #
4808
+ # Note: The following fields are mutually exclusive: `text_query`, `image_query`. If a field in that set is populated, all other fields in the set will automatically be cleared.
4805
4809
  # @param index_endpoint [::String]
4806
4810
  # Required. The index endpoint to search.
4807
4811
  # Format:
@@ -6382,6 +6386,13 @@ module Google
6382
6386
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
6383
6387
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
6384
6388
  # * (`nil`) indicating no credentials
6389
+ #
6390
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
6391
+ # external source for authentication to Google Cloud, you must validate it before
6392
+ # providing it to a Google API client library. Providing an unvalidated credential
6393
+ # configuration to Google APIs can compromise the security of your systems and data.
6394
+ # For more information, refer to [Validate credential configurations from external
6395
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
6385
6396
  # @return [::Object]
6386
6397
  # @!attribute [rw] scope
6387
6398
  # 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
@@ -4383,8 +4383,12 @@ module Google
4383
4383
  #
4384
4384
  # @param image_query [::Google::Cloud::VisionAI::V1::ImageQuery, ::Hash]
4385
4385
  # An image-only query.
4386
+ #
4387
+ # Note: The following fields are mutually exclusive: `image_query`, `text_query`. If a field in that set is populated, all other fields in the set will automatically be cleared.
4386
4388
  # @param text_query [::String]
4387
4389
  # A text-only query.
4390
+ #
4391
+ # Note: The following fields are mutually exclusive: `text_query`, `image_query`. If a field in that set is populated, all other fields in the set will automatically be cleared.
4388
4392
  # @param index_endpoint [::String]
4389
4393
  # Required. The index endpoint to search.
4390
4394
  # Format:
@@ -5851,6 +5855,13 @@ module Google
5851
5855
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
5852
5856
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
5853
5857
  # * (`nil`) indicating no credentials
5858
+ #
5859
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
5860
+ # external source for authentication to Google Cloud, you must validate it before
5861
+ # providing it to a Google API client library. Providing an unvalidated credential
5862
+ # configuration to Google APIs can compromise the security of your systems and data.
5863
+ # For more information, refer to [Validate credential configurations from external
5864
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
5854
5865
  # @return [::Object]
5855
5866
  # @!attribute [rw] scope
5856
5867
  # 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
@@ -600,9 +600,13 @@ module Google
600
600
  # @!attribute [rw] active_zone
601
601
  # @return [::Google::Cloud::VisionAI::V1::NormalizedPolygon]
602
602
  # Annotation for type ACTIVE_ZONE
603
+ #
604
+ # Note: The following fields are mutually exclusive: `active_zone`, `crossing_line`. If a field in that set is populated, all other fields in the set will automatically be cleared.
603
605
  # @!attribute [rw] crossing_line
604
606
  # @return [::Google::Cloud::VisionAI::V1::NormalizedPolyline]
605
607
  # Annotation for type CROSSING_LINE
608
+ #
609
+ # Note: The following fields are mutually exclusive: `crossing_line`, `active_zone`. If a field in that set is populated, all other fields in the set will automatically be cleared.
606
610
  # @!attribute [rw] id
607
611
  # @return [::String]
608
612
  # ID of the annotation. It must be unique when used in the certain context.
@@ -160,15 +160,23 @@ module Google
160
160
  # @!attribute [rw] i
161
161
  # @return [::Integer]
162
162
  # int.
163
+ #
164
+ # Note: The following fields are mutually exclusive: `i`, `f`, `b`, `s`. If a field in that set is populated, all other fields in the set will automatically be cleared.
163
165
  # @!attribute [rw] f
164
166
  # @return [::Float]
165
167
  # float.
168
+ #
169
+ # Note: The following fields are mutually exclusive: `f`, `i`, `b`, `s`. If a field in that set is populated, all other fields in the set will automatically be cleared.
166
170
  # @!attribute [rw] b
167
171
  # @return [::Boolean]
168
172
  # bool.
173
+ #
174
+ # Note: The following fields are mutually exclusive: `b`, `i`, `f`, `s`. If a field in that set is populated, all other fields in the set will automatically be cleared.
169
175
  # @!attribute [rw] s
170
176
  # @return [::String]
171
177
  # string.
178
+ #
179
+ # Note: The following fields are mutually exclusive: `s`, `i`, `f`, `b`. If a field in that set is populated, all other fields in the set will automatically be cleared.
172
180
  class AttributeValue
173
181
  include ::Google::Protobuf::MessageExts
174
182
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1125,11 +1125,15 @@ module Google
1125
1125
  # "projects/123/locations/us-central1/clusters/456/streams/stream-a".
1126
1126
  # If the instance type is BATCH_PREDICTION from Cloud Storage input
1127
1127
  # container, the input resource is in format of "gs://bucket-a".
1128
+ #
1129
+ # Note: The following fields are mutually exclusive: `input_resource`, `annotated_stream`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1128
1130
  # @!attribute [rw] annotated_stream
1129
1131
  # @deprecated This field is deprecated and may be removed in the next major version update.
1130
1132
  # @return [::Google::Cloud::VisionAI::V1::StreamWithAnnotation]
1131
1133
  # If the input resource is VisionAI Stream, the associated annotations
1132
1134
  # can be specified using annotated_stream instead.
1135
+ #
1136
+ # Note: The following fields are mutually exclusive: `annotated_stream`, `input_resource`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1133
1137
  # @!attribute [rw] data_type
1134
1138
  # @return [::Google::Cloud::VisionAI::V1::DataType]
1135
1139
  # Data type for the current input resource.
@@ -1437,10 +1441,14 @@ module Google
1437
1441
  # @return [::String]
1438
1442
  # The configuration proto that includes the Googleapis resources. I.e.
1439
1443
  # type.googleapis.com/google.cloud.vision.v1.StreamWithAnnotation
1444
+ #
1445
+ # Note: The following fields are mutually exclusive: `config_type_uri`, `resource_type_uri`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1440
1446
  # @!attribute [rw] resource_type_uri
1441
1447
  # @return [::String]
1442
1448
  # The direct type url of Googleapis resource. i.e.
1443
1449
  # type.googleapis.com/google.cloud.vision.v1.Asset
1450
+ #
1451
+ # Note: The following fields are mutually exclusive: `resource_type_uri`, `config_type_uri`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1444
1452
  # @!attribute [rw] name
1445
1453
  # @return [::String]
1446
1454
  # Name of the input binding, unique within the processor.
@@ -1469,9 +1477,13 @@ module Google
1469
1477
  # @!attribute [rw] vertex_model
1470
1478
  # @return [::String]
1471
1479
  # The resource name original model hosted in the vertex AI platform.
1480
+ #
1481
+ # Note: The following fields are mutually exclusive: `vertex_model`, `product_recognizer_artifact`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1472
1482
  # @!attribute [rw] product_recognizer_artifact
1473
1483
  # @return [::Google::Cloud::VisionAI::V1::CustomProcessorSourceInfo::ProductRecognizerArtifact]
1474
1484
  # Artifact for product recognizer.
1485
+ #
1486
+ # Note: The following fields are mutually exclusive: `product_recognizer_artifact`, `vertex_model`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1475
1487
  # @!attribute [rw] source_type
1476
1488
  # @return [::Google::Cloud::VisionAI::V1::CustomProcessorSourceInfo::SourceType]
1477
1489
  # The original product which holds the custom processor's functionality.
@@ -1553,51 +1565,83 @@ module Google
1553
1565
  # @!attribute [rw] video_stream_input_config
1554
1566
  # @return [::Google::Cloud::VisionAI::V1::VideoStreamInputConfig]
1555
1567
  # Configs of stream input processor.
1568
+ #
1569
+ # Note: The following fields are mutually exclusive: `video_stream_input_config`, `ai_enabled_devices_input_config`, `media_warehouse_config`, `person_blur_config`, `occupancy_count_config`, `person_vehicle_detection_config`, `vertex_automl_vision_config`, `vertex_automl_video_config`, `vertex_custom_config`, `general_object_detection_config`, `big_query_config`, `gcs_output_config`, `product_recognizer_config`, `personal_protective_equipment_detection_config`, `tag_recognizer_config`, `universal_input_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1556
1570
  # @!attribute [rw] ai_enabled_devices_input_config
1557
1571
  # @return [::Google::Cloud::VisionAI::V1::AIEnabledDevicesInputConfig]
1558
1572
  # Config of AI-enabled input devices.
1573
+ #
1574
+ # Note: The following fields are mutually exclusive: `ai_enabled_devices_input_config`, `video_stream_input_config`, `media_warehouse_config`, `person_blur_config`, `occupancy_count_config`, `person_vehicle_detection_config`, `vertex_automl_vision_config`, `vertex_automl_video_config`, `vertex_custom_config`, `general_object_detection_config`, `big_query_config`, `gcs_output_config`, `product_recognizer_config`, `personal_protective_equipment_detection_config`, `tag_recognizer_config`, `universal_input_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1559
1575
  # @!attribute [rw] media_warehouse_config
1560
1576
  # @return [::Google::Cloud::VisionAI::V1::MediaWarehouseConfig]
1561
1577
  # Configs of media warehouse processor.
1578
+ #
1579
+ # Note: The following fields are mutually exclusive: `media_warehouse_config`, `video_stream_input_config`, `ai_enabled_devices_input_config`, `person_blur_config`, `occupancy_count_config`, `person_vehicle_detection_config`, `vertex_automl_vision_config`, `vertex_automl_video_config`, `vertex_custom_config`, `general_object_detection_config`, `big_query_config`, `gcs_output_config`, `product_recognizer_config`, `personal_protective_equipment_detection_config`, `tag_recognizer_config`, `universal_input_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1562
1580
  # @!attribute [rw] person_blur_config
1563
1581
  # @return [::Google::Cloud::VisionAI::V1::PersonBlurConfig]
1564
1582
  # Configs of person blur processor.
1583
+ #
1584
+ # Note: The following fields are mutually exclusive: `person_blur_config`, `video_stream_input_config`, `ai_enabled_devices_input_config`, `media_warehouse_config`, `occupancy_count_config`, `person_vehicle_detection_config`, `vertex_automl_vision_config`, `vertex_automl_video_config`, `vertex_custom_config`, `general_object_detection_config`, `big_query_config`, `gcs_output_config`, `product_recognizer_config`, `personal_protective_equipment_detection_config`, `tag_recognizer_config`, `universal_input_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1565
1585
  # @!attribute [rw] occupancy_count_config
1566
1586
  # @return [::Google::Cloud::VisionAI::V1::OccupancyCountConfig]
1567
1587
  # Configs of occupancy count processor.
1588
+ #
1589
+ # Note: The following fields are mutually exclusive: `occupancy_count_config`, `video_stream_input_config`, `ai_enabled_devices_input_config`, `media_warehouse_config`, `person_blur_config`, `person_vehicle_detection_config`, `vertex_automl_vision_config`, `vertex_automl_video_config`, `vertex_custom_config`, `general_object_detection_config`, `big_query_config`, `gcs_output_config`, `product_recognizer_config`, `personal_protective_equipment_detection_config`, `tag_recognizer_config`, `universal_input_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1568
1590
  # @!attribute [rw] person_vehicle_detection_config
1569
1591
  # @return [::Google::Cloud::VisionAI::V1::PersonVehicleDetectionConfig]
1570
1592
  # Configs of Person Vehicle Detection processor.
1593
+ #
1594
+ # Note: The following fields are mutually exclusive: `person_vehicle_detection_config`, `video_stream_input_config`, `ai_enabled_devices_input_config`, `media_warehouse_config`, `person_blur_config`, `occupancy_count_config`, `vertex_automl_vision_config`, `vertex_automl_video_config`, `vertex_custom_config`, `general_object_detection_config`, `big_query_config`, `gcs_output_config`, `product_recognizer_config`, `personal_protective_equipment_detection_config`, `tag_recognizer_config`, `universal_input_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1571
1595
  # @!attribute [rw] vertex_automl_vision_config
1572
1596
  # @return [::Google::Cloud::VisionAI::V1::VertexAutoMLVisionConfig]
1573
1597
  # Configs of Vertex AutoML vision processor.
1598
+ #
1599
+ # Note: The following fields are mutually exclusive: `vertex_automl_vision_config`, `video_stream_input_config`, `ai_enabled_devices_input_config`, `media_warehouse_config`, `person_blur_config`, `occupancy_count_config`, `person_vehicle_detection_config`, `vertex_automl_video_config`, `vertex_custom_config`, `general_object_detection_config`, `big_query_config`, `gcs_output_config`, `product_recognizer_config`, `personal_protective_equipment_detection_config`, `tag_recognizer_config`, `universal_input_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1574
1600
  # @!attribute [rw] vertex_automl_video_config
1575
1601
  # @return [::Google::Cloud::VisionAI::V1::VertexAutoMLVideoConfig]
1576
1602
  # Configs of Vertex AutoML video processor.
1603
+ #
1604
+ # Note: The following fields are mutually exclusive: `vertex_automl_video_config`, `video_stream_input_config`, `ai_enabled_devices_input_config`, `media_warehouse_config`, `person_blur_config`, `occupancy_count_config`, `person_vehicle_detection_config`, `vertex_automl_vision_config`, `vertex_custom_config`, `general_object_detection_config`, `big_query_config`, `gcs_output_config`, `product_recognizer_config`, `personal_protective_equipment_detection_config`, `tag_recognizer_config`, `universal_input_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1577
1605
  # @!attribute [rw] vertex_custom_config
1578
1606
  # @return [::Google::Cloud::VisionAI::V1::VertexCustomConfig]
1579
1607
  # Configs of Vertex Custom processor.
1608
+ #
1609
+ # Note: The following fields are mutually exclusive: `vertex_custom_config`, `video_stream_input_config`, `ai_enabled_devices_input_config`, `media_warehouse_config`, `person_blur_config`, `occupancy_count_config`, `person_vehicle_detection_config`, `vertex_automl_vision_config`, `vertex_automl_video_config`, `general_object_detection_config`, `big_query_config`, `gcs_output_config`, `product_recognizer_config`, `personal_protective_equipment_detection_config`, `tag_recognizer_config`, `universal_input_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1580
1610
  # @!attribute [rw] general_object_detection_config
1581
1611
  # @return [::Google::Cloud::VisionAI::V1::GeneralObjectDetectionConfig]
1582
1612
  # Configs of General Object Detection processor.
1613
+ #
1614
+ # Note: The following fields are mutually exclusive: `general_object_detection_config`, `video_stream_input_config`, `ai_enabled_devices_input_config`, `media_warehouse_config`, `person_blur_config`, `occupancy_count_config`, `person_vehicle_detection_config`, `vertex_automl_vision_config`, `vertex_automl_video_config`, `vertex_custom_config`, `big_query_config`, `gcs_output_config`, `product_recognizer_config`, `personal_protective_equipment_detection_config`, `tag_recognizer_config`, `universal_input_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1583
1615
  # @!attribute [rw] big_query_config
1584
1616
  # @return [::Google::Cloud::VisionAI::V1::BigQueryConfig]
1585
1617
  # Configs of BigQuery processor.
1618
+ #
1619
+ # Note: The following fields are mutually exclusive: `big_query_config`, `video_stream_input_config`, `ai_enabled_devices_input_config`, `media_warehouse_config`, `person_blur_config`, `occupancy_count_config`, `person_vehicle_detection_config`, `vertex_automl_vision_config`, `vertex_automl_video_config`, `vertex_custom_config`, `general_object_detection_config`, `gcs_output_config`, `product_recognizer_config`, `personal_protective_equipment_detection_config`, `tag_recognizer_config`, `universal_input_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1586
1620
  # @!attribute [rw] gcs_output_config
1587
1621
  # @return [::Google::Cloud::VisionAI::V1::GcsOutputConfig]
1588
1622
  # Configs of Cloud Storage output processor.
1623
+ #
1624
+ # Note: The following fields are mutually exclusive: `gcs_output_config`, `video_stream_input_config`, `ai_enabled_devices_input_config`, `media_warehouse_config`, `person_blur_config`, `occupancy_count_config`, `person_vehicle_detection_config`, `vertex_automl_vision_config`, `vertex_automl_video_config`, `vertex_custom_config`, `general_object_detection_config`, `big_query_config`, `product_recognizer_config`, `personal_protective_equipment_detection_config`, `tag_recognizer_config`, `universal_input_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1589
1625
  # @!attribute [rw] product_recognizer_config
1590
1626
  # @return [::Google::Cloud::VisionAI::V1::ProductRecognizerConfig]
1591
1627
  # Runtime configs of Product Recognizer processor.
1628
+ #
1629
+ # Note: The following fields are mutually exclusive: `product_recognizer_config`, `video_stream_input_config`, `ai_enabled_devices_input_config`, `media_warehouse_config`, `person_blur_config`, `occupancy_count_config`, `person_vehicle_detection_config`, `vertex_automl_vision_config`, `vertex_automl_video_config`, `vertex_custom_config`, `general_object_detection_config`, `big_query_config`, `gcs_output_config`, `personal_protective_equipment_detection_config`, `tag_recognizer_config`, `universal_input_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1592
1630
  # @!attribute [rw] personal_protective_equipment_detection_config
1593
1631
  # @return [::Google::Cloud::VisionAI::V1::PersonalProtectiveEquipmentDetectionConfig]
1594
1632
  # Configs of personal_protective_equipment_detection_config
1633
+ #
1634
+ # Note: The following fields are mutually exclusive: `personal_protective_equipment_detection_config`, `video_stream_input_config`, `ai_enabled_devices_input_config`, `media_warehouse_config`, `person_blur_config`, `occupancy_count_config`, `person_vehicle_detection_config`, `vertex_automl_vision_config`, `vertex_automl_video_config`, `vertex_custom_config`, `general_object_detection_config`, `big_query_config`, `gcs_output_config`, `product_recognizer_config`, `tag_recognizer_config`, `universal_input_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1595
1635
  # @!attribute [rw] tag_recognizer_config
1596
1636
  # @return [::Google::Cloud::VisionAI::V1::TagRecognizerConfig]
1597
1637
  # Runtime configs of Tag Recognizer processor.
1638
+ #
1639
+ # Note: The following fields are mutually exclusive: `tag_recognizer_config`, `video_stream_input_config`, `ai_enabled_devices_input_config`, `media_warehouse_config`, `person_blur_config`, `occupancy_count_config`, `person_vehicle_detection_config`, `vertex_automl_vision_config`, `vertex_automl_video_config`, `vertex_custom_config`, `general_object_detection_config`, `big_query_config`, `gcs_output_config`, `product_recognizer_config`, `personal_protective_equipment_detection_config`, `universal_input_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1598
1640
  # @!attribute [rw] universal_input_config
1599
1641
  # @return [::Google::Cloud::VisionAI::V1::UniversalInputConfig]
1600
1642
  # Runtime configs of UniversalInput processor.
1643
+ #
1644
+ # Note: The following fields are mutually exclusive: `universal_input_config`, `video_stream_input_config`, `ai_enabled_devices_input_config`, `media_warehouse_config`, `person_blur_config`, `occupancy_count_config`, `person_vehicle_detection_config`, `vertex_automl_vision_config`, `vertex_automl_video_config`, `vertex_custom_config`, `general_object_detection_config`, `big_query_config`, `gcs_output_config`, `product_recognizer_config`, `personal_protective_equipment_detection_config`, `tag_recognizer_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1601
1645
  # @!attribute [rw] experimental_config
1602
1646
  # @return [::Google::Protobuf::Struct]
1603
1647
  # Experimental configurations. Structured object containing not-yet-stable
@@ -73,9 +73,13 @@ module Google
73
73
  # @!attribute [rw] gstreamer_buffer_descriptor
74
74
  # @return [::Google::Cloud::VisionAI::V1::GstreamerBufferDescriptor]
75
75
  # GstreamerBufferDescriptor is the descriptor for gstreamer buffer type.
76
+ #
77
+ # Note: The following fields are mutually exclusive: `gstreamer_buffer_descriptor`, `raw_image_descriptor`. If a field in that set is populated, all other fields in the set will automatically be cleared.
76
78
  # @!attribute [rw] raw_image_descriptor
77
79
  # @return [::Google::Cloud::VisionAI::V1::RawImageDescriptor]
78
80
  # RawImageDescriptor is the descriptor for the raw image type.
81
+ #
82
+ # Note: The following fields are mutually exclusive: `raw_image_descriptor`, `gstreamer_buffer_descriptor`. If a field in that set is populated, all other fields in the set will automatically be cleared.
79
83
  # @!attribute [rw] type
80
84
  # @return [::String]
81
85
  # The type of the packet. Its possible values is codec dependent.
@@ -25,9 +25,13 @@ module Google
25
25
  # @!attribute [rw] setup_request
26
26
  # @return [::Google::Cloud::VisionAI::V1::ReceiveEventsRequest::SetupRequest]
27
27
  # The setup request to setup the RPC connection.
28
+ #
29
+ # Note: The following fields are mutually exclusive: `setup_request`, `commit_request`. If a field in that set is populated, all other fields in the set will automatically be cleared.
28
30
  # @!attribute [rw] commit_request
29
31
  # @return [::Google::Cloud::VisionAI::V1::CommitRequest]
30
32
  # This request checkpoints the consumer's read progress.
33
+ #
34
+ # Note: The following fields are mutually exclusive: `commit_request`, `setup_request`. If a field in that set is populated, all other fields in the set will automatically be cleared.
31
35
  class ReceiveEventsRequest
32
36
  include ::Google::Protobuf::MessageExts
33
37
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -96,6 +100,8 @@ module Google
96
100
  # @!attribute [rw] heartbeat
97
101
  # @return [::Boolean]
98
102
  # A server heartbeat.
103
+ #
104
+ # Note: The following fields are mutually exclusive: `heartbeat`, `writes_done_request`. If a field in that set is populated, all other fields in the set will automatically be cleared.
99
105
  # @!attribute [rw] writes_done_request
100
106
  # @return [::Boolean]
101
107
  # A request to the receiver to complete any final writes followed by a
@@ -107,6 +113,8 @@ module Google
107
113
  # If `WritesDone` does not get issued, then the server will forcefully
108
114
  # cancel the connection, and the receiver will likely receive an
109
115
  # uninformative after `Read` returns `false` and `Finish` is called.
116
+ #
117
+ # Note: The following fields are mutually exclusive: `writes_done_request`, `heartbeat`. If a field in that set is populated, all other fields in the set will automatically be cleared.
110
118
  class ReceiveEventsControlResponse
111
119
  include ::Google::Protobuf::MessageExts
112
120
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -116,9 +124,13 @@ module Google
116
124
  # @!attribute [rw] event_update
117
125
  # @return [::Google::Cloud::VisionAI::V1::EventUpdate]
118
126
  # The event update message.
127
+ #
128
+ # Note: The following fields are mutually exclusive: `event_update`, `control`. If a field in that set is populated, all other fields in the set will automatically be cleared.
119
129
  # @!attribute [rw] control
120
130
  # @return [::Google::Cloud::VisionAI::V1::ReceiveEventsControlResponse]
121
131
  # A control message from the server.
132
+ #
133
+ # Note: The following fields are mutually exclusive: `control`, `event_update`. If a field in that set is populated, all other fields in the set will automatically be cleared.
122
134
  class ReceiveEventsResponse
123
135
  include ::Google::Protobuf::MessageExts
124
136
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -233,9 +245,13 @@ module Google
233
245
  # @!attribute [rw] packet
234
246
  # @return [::Google::Cloud::VisionAI::V1::Packet]
235
247
  # Packets sent over the streaming rpc.
248
+ #
249
+ # Note: The following fields are mutually exclusive: `packet`, `metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
236
250
  # @!attribute [rw] metadata
237
251
  # @return [::Google::Cloud::VisionAI::V1::RequestMetadata]
238
252
  # The first message of the streaming rpc including the request metadata.
253
+ #
254
+ # Note: The following fields are mutually exclusive: `metadata`, `packet`. If a field in that set is populated, all other fields in the set will automatically be cleared.
239
255
  class SendPacketsRequest
240
256
  include ::Google::Protobuf::MessageExts
241
257
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -253,9 +269,13 @@ module Google
253
269
  # The request to setup the initial state of session.
254
270
  #
255
271
  # The client must send and only send this as the first message.
272
+ #
273
+ # Note: The following fields are mutually exclusive: `setup_request`, `commit_request`. If a field in that set is populated, all other fields in the set will automatically be cleared.
256
274
  # @!attribute [rw] commit_request
257
275
  # @return [::Google::Cloud::VisionAI::V1::CommitRequest]
258
276
  # This request checkpoints the consumer's read progress.
277
+ #
278
+ # Note: The following fields are mutually exclusive: `commit_request`, `setup_request`. If a field in that set is populated, all other fields in the set will automatically be cleared.
259
279
  class ReceivePacketsRequest
260
280
  include ::Google::Protobuf::MessageExts
261
281
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -264,9 +284,13 @@ module Google
264
284
  # @!attribute [rw] eager_receive_mode
265
285
  # @return [::Google::Cloud::VisionAI::V1::EagerMode]
266
286
  # Options for configuring eager mode.
287
+ #
288
+ # Note: The following fields are mutually exclusive: `eager_receive_mode`, `controlled_receive_mode`. If a field in that set is populated, all other fields in the set will automatically be cleared.
267
289
  # @!attribute [rw] controlled_receive_mode
268
290
  # @return [::Google::Cloud::VisionAI::V1::ControlledMode]
269
291
  # Options for configuring controlled mode.
292
+ #
293
+ # Note: The following fields are mutually exclusive: `controlled_receive_mode`, `eager_receive_mode`. If a field in that set is populated, all other fields in the set will automatically be cleared.
270
294
  # @!attribute [rw] metadata
271
295
  # @return [::Google::Cloud::VisionAI::V1::RequestMetadata]
272
296
  # The configurations that specify where packets are retrieved.
@@ -301,6 +325,8 @@ module Google
301
325
  # @!attribute [rw] heartbeat
302
326
  # @return [::Boolean]
303
327
  # A server heartbeat.
328
+ #
329
+ # Note: The following fields are mutually exclusive: `heartbeat`, `writes_done_request`. If a field in that set is populated, all other fields in the set will automatically be cleared.
304
330
  # @!attribute [rw] writes_done_request
305
331
  # @return [::Boolean]
306
332
  # A request to the receiver to complete any final writes followed by a
@@ -312,6 +338,8 @@ module Google
312
338
  # If `WritesDone` does not get issued, then the server will forcefully
313
339
  # cancel the connection, and the receiver will likely receive an
314
340
  # uninformative after `Read` returns `false` and `Finish` is called.
341
+ #
342
+ # Note: The following fields are mutually exclusive: `writes_done_request`, `heartbeat`. If a field in that set is populated, all other fields in the set will automatically be cleared.
315
343
  class ReceivePacketsControlResponse
316
344
  include ::Google::Protobuf::MessageExts
317
345
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -321,9 +349,13 @@ module Google
321
349
  # @!attribute [rw] packet
322
350
  # @return [::Google::Cloud::VisionAI::V1::Packet]
323
351
  # A genuine data payload originating from the sender.
352
+ #
353
+ # Note: The following fields are mutually exclusive: `packet`, `control`. If a field in that set is populated, all other fields in the set will automatically be cleared.
324
354
  # @!attribute [rw] control
325
355
  # @return [::Google::Cloud::VisionAI::V1::ReceivePacketsControlResponse]
326
356
  # A control message from the server.
357
+ #
358
+ # Note: The following fields are mutually exclusive: `control`, `packet`. If a field in that set is populated, all other fields in the set will automatically be cleared.
327
359
  class ReceivePacketsResponse
328
360
  include ::Google::Protobuf::MessageExts
329
361
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -129,9 +129,13 @@ module Google
129
129
  # @!attribute [rw] asset_gcs_source
130
130
  # @return [::Google::Cloud::VisionAI::V1::AssetSource::AssetGcsSource]
131
131
  # The source of the asset is from Cloud Storage.
132
+ #
133
+ # Note: The following fields are mutually exclusive: `asset_gcs_source`, `asset_content_data`. If a field in that set is populated, all other fields in the set will automatically be cleared.
132
134
  # @!attribute [rw] asset_content_data
133
135
  # @return [::Google::Cloud::VisionAI::V1::AssetSource::AssetContentData]
134
136
  # The source of the asset is from content bytes.
137
+ #
138
+ # Note: The following fields are mutually exclusive: `asset_content_data`, `asset_gcs_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
135
139
  class AssetSource
136
140
  include ::Google::Protobuf::MessageExts
137
141
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1544,34 +1548,54 @@ module Google
1544
1548
  # @!attribute [rw] int_value
1545
1549
  # @return [::Integer]
1546
1550
  # Value of int type annotation.
1551
+ #
1552
+ # Note: The following fields are mutually exclusive: `int_value`, `float_value`, `str_value`, `datetime_value`, `geo_coordinate`, `proto_any_value`, `bool_value`, `customized_struct_data_value`, `list_value`, `customized_struct_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1547
1553
  # @!attribute [rw] float_value
1548
1554
  # @return [::Float]
1549
1555
  # Value of float type annotation.
1556
+ #
1557
+ # Note: The following fields are mutually exclusive: `float_value`, `int_value`, `str_value`, `datetime_value`, `geo_coordinate`, `proto_any_value`, `bool_value`, `customized_struct_data_value`, `list_value`, `customized_struct_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1550
1558
  # @!attribute [rw] str_value
1551
1559
  # @return [::String]
1552
1560
  # Value of string type annotation.
1561
+ #
1562
+ # Note: The following fields are mutually exclusive: `str_value`, `int_value`, `float_value`, `datetime_value`, `geo_coordinate`, `proto_any_value`, `bool_value`, `customized_struct_data_value`, `list_value`, `customized_struct_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1553
1563
  # @!attribute [rw] datetime_value
1554
1564
  # @return [::String]
1555
1565
  # Value of date time type annotation.
1566
+ #
1567
+ # Note: The following fields are mutually exclusive: `datetime_value`, `int_value`, `float_value`, `str_value`, `geo_coordinate`, `proto_any_value`, `bool_value`, `customized_struct_data_value`, `list_value`, `customized_struct_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1556
1568
  # @!attribute [rw] geo_coordinate
1557
1569
  # @return [::Google::Cloud::VisionAI::V1::GeoCoordinate]
1558
1570
  # Value of geo coordinate type annotation.
1571
+ #
1572
+ # Note: The following fields are mutually exclusive: `geo_coordinate`, `int_value`, `float_value`, `str_value`, `datetime_value`, `proto_any_value`, `bool_value`, `customized_struct_data_value`, `list_value`, `customized_struct_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1559
1573
  # @!attribute [rw] proto_any_value
1560
1574
  # @return [::Google::Protobuf::Any]
1561
1575
  # Value of any proto value.
1576
+ #
1577
+ # Note: The following fields are mutually exclusive: `proto_any_value`, `int_value`, `float_value`, `str_value`, `datetime_value`, `geo_coordinate`, `bool_value`, `customized_struct_data_value`, `list_value`, `customized_struct_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1562
1578
  # @!attribute [rw] bool_value
1563
1579
  # @return [::Boolean]
1564
1580
  # Value of boolean type annotation.
1581
+ #
1582
+ # Note: The following fields are mutually exclusive: `bool_value`, `int_value`, `float_value`, `str_value`, `datetime_value`, `geo_coordinate`, `proto_any_value`, `customized_struct_data_value`, `list_value`, `customized_struct_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1565
1583
  # @!attribute [rw] customized_struct_data_value
1566
1584
  # @return [::Google::Protobuf::Struct]
1567
1585
  # Value of customized struct annotation. This field does not have effects.
1568
1586
  # Use customized_struct_value instead for customized struct annotation.
1587
+ #
1588
+ # Note: The following fields are mutually exclusive: `customized_struct_data_value`, `int_value`, `float_value`, `str_value`, `datetime_value`, `geo_coordinate`, `proto_any_value`, `bool_value`, `list_value`, `customized_struct_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1569
1589
  # @!attribute [rw] list_value
1570
1590
  # @return [::Google::Cloud::VisionAI::V1::AnnotationList]
1571
1591
  # Value of list type annotation.
1592
+ #
1593
+ # Note: The following fields are mutually exclusive: `list_value`, `int_value`, `float_value`, `str_value`, `datetime_value`, `geo_coordinate`, `proto_any_value`, `bool_value`, `customized_struct_data_value`, `customized_struct_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1572
1594
  # @!attribute [rw] customized_struct_value
1573
1595
  # @return [::Google::Cloud::VisionAI::V1::AnnotationCustomizedStruct]
1574
1596
  # Value of custom struct type annotation.
1597
+ #
1598
+ # Note: The following fields are mutually exclusive: `customized_struct_value`, `int_value`, `float_value`, `str_value`, `datetime_value`, `geo_coordinate`, `proto_any_value`, `bool_value`, `customized_struct_data_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1575
1599
  class AnnotationValue
1576
1600
  include ::Google::Protobuf::MessageExts
1577
1601
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -2154,12 +2178,18 @@ module Google
2154
2178
  # @!attribute [rw] fixed_range_bucket_spec
2155
2179
  # @return [::Google::Cloud::VisionAI::V1::FacetProperty::FixedRangeBucketSpec]
2156
2180
  # Fixed range facet bucket config.
2181
+ #
2182
+ # Note: The following fields are mutually exclusive: `fixed_range_bucket_spec`, `custom_range_bucket_spec`, `datetime_bucket_spec`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2157
2183
  # @!attribute [rw] custom_range_bucket_spec
2158
2184
  # @return [::Google::Cloud::VisionAI::V1::FacetProperty::CustomRangeBucketSpec]
2159
2185
  # Custom range facet bucket config.
2186
+ #
2187
+ # Note: The following fields are mutually exclusive: `custom_range_bucket_spec`, `fixed_range_bucket_spec`, `datetime_bucket_spec`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2160
2188
  # @!attribute [rw] datetime_bucket_spec
2161
2189
  # @return [::Google::Cloud::VisionAI::V1::FacetProperty::DateTimeBucketSpec]
2162
2190
  # Datetime range facet bucket config.
2191
+ #
2192
+ # Note: The following fields are mutually exclusive: `datetime_bucket_spec`, `fixed_range_bucket_spec`, `custom_range_bucket_spec`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2163
2193
  # @!attribute [rw] mapped_fields
2164
2194
  # @return [::Array<::String>]
2165
2195
  # Name of the facets, which are the dimensions users want to use to refine
@@ -2403,12 +2433,18 @@ module Google
2403
2433
  # @!attribute [rw] string_value
2404
2434
  # @return [::String]
2405
2435
  # String type value.
2436
+ #
2437
+ # Note: The following fields are mutually exclusive: `string_value`, `integer_value`, `datetime_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2406
2438
  # @!attribute [rw] integer_value
2407
2439
  # @return [::Integer]
2408
2440
  # Integer type value.
2441
+ #
2442
+ # Note: The following fields are mutually exclusive: `integer_value`, `string_value`, `datetime_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2409
2443
  # @!attribute [rw] datetime_value
2410
2444
  # @return [::Google::Type::DateTime]
2411
2445
  # Datetime type value.
2446
+ #
2447
+ # Note: The following fields are mutually exclusive: `datetime_value`, `string_value`, `integer_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2412
2448
  class FacetValue
2413
2449
  include ::Google::Protobuf::MessageExts
2414
2450
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -2418,9 +2454,13 @@ module Google
2418
2454
  # @!attribute [rw] value
2419
2455
  # @return [::Google::Cloud::VisionAI::V1::FacetValue]
2420
2456
  # Singular value.
2457
+ #
2458
+ # Note: The following fields are mutually exclusive: `value`, `range`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2421
2459
  # @!attribute [rw] range
2422
2460
  # @return [::Google::Cloud::VisionAI::V1::FacetBucket::Range]
2423
2461
  # Range value.
2462
+ #
2463
+ # Note: The following fields are mutually exclusive: `range`, `value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2424
2464
  # @!attribute [rw] selected
2425
2465
  # @return [::Boolean]
2426
2466
  # Whether one facet bucket is selected. This field represents user's facet
@@ -2475,9 +2515,13 @@ module Google
2475
2515
  # Provides information for the data and the asset resource name that the
2476
2516
  # data belongs to. The first `IngestAssetRequest` message must only contain
2477
2517
  # a `Config` message.
2518
+ #
2519
+ # Note: The following fields are mutually exclusive: `config`, `time_indexed_data`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2478
2520
  # @!attribute [rw] time_indexed_data
2479
2521
  # @return [::Google::Cloud::VisionAI::V1::IngestAssetRequest::TimeIndexedData]
2480
2522
  # Data to be ingested.
2523
+ #
2524
+ # Note: The following fields are mutually exclusive: `time_indexed_data`, `config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2481
2525
  class IngestAssetRequest
2482
2526
  include ::Google::Protobuf::MessageExts
2483
2527
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -2654,9 +2698,13 @@ module Google
2654
2698
  # @!attribute [rw] image_query
2655
2699
  # @return [::Google::Cloud::VisionAI::V1::ImageQuery]
2656
2700
  # An image-only query.
2701
+ #
2702
+ # Note: The following fields are mutually exclusive: `image_query`, `text_query`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2657
2703
  # @!attribute [rw] text_query
2658
2704
  # @return [::String]
2659
2705
  # A text-only query.
2706
+ #
2707
+ # Note: The following fields are mutually exclusive: `text_query`, `image_query`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2660
2708
  # @!attribute [rw] index_endpoint
2661
2709
  # @return [::String]
2662
2710
  # Required. The index endpoint to search.
@@ -2689,11 +2737,15 @@ module Google
2689
2737
  # @!attribute [rw] input_image
2690
2738
  # @return [::String]
2691
2739
  # Input image in raw bytes.
2740
+ #
2741
+ # Note: The following fields are mutually exclusive: `input_image`, `asset`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2692
2742
  # @!attribute [rw] asset
2693
2743
  # @return [::String]
2694
2744
  # Resource name of the asset. Only supported in IMAGE corpus type.
2695
2745
  # Format:
2696
2746
  # `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}`
2747
+ #
2748
+ # Note: The following fields are mutually exclusive: `asset`, `input_image`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2697
2749
  class ImageQuery
2698
2750
  include ::Google::Protobuf::MessageExts
2699
2751
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -2939,21 +2991,33 @@ module Google
2939
2991
  # @!attribute [rw] text_array
2940
2992
  # @return [::Google::Cloud::VisionAI::V1::StringArray]
2941
2993
  # The text values associated with the field.
2994
+ #
2995
+ # Note: The following fields are mutually exclusive: `text_array`, `int_range_array`, `float_range_array`, `date_time_range_array`, `geo_location_array`, `bool_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2942
2996
  # @!attribute [rw] int_range_array
2943
2997
  # @return [::Google::Cloud::VisionAI::V1::IntRangeArray]
2944
2998
  # The integer ranges associated with the field.
2999
+ #
3000
+ # Note: The following fields are mutually exclusive: `int_range_array`, `text_array`, `float_range_array`, `date_time_range_array`, `geo_location_array`, `bool_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2945
3001
  # @!attribute [rw] float_range_array
2946
3002
  # @return [::Google::Cloud::VisionAI::V1::FloatRangeArray]
2947
3003
  # The float ranges associated with the field.
3004
+ #
3005
+ # Note: The following fields are mutually exclusive: `float_range_array`, `text_array`, `int_range_array`, `date_time_range_array`, `geo_location_array`, `bool_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2948
3006
  # @!attribute [rw] date_time_range_array
2949
3007
  # @return [::Google::Cloud::VisionAI::V1::DateTimeRangeArray]
2950
3008
  # The datetime ranges associated with the field.
3009
+ #
3010
+ # Note: The following fields are mutually exclusive: `date_time_range_array`, `text_array`, `int_range_array`, `float_range_array`, `geo_location_array`, `bool_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2951
3011
  # @!attribute [rw] geo_location_array
2952
3012
  # @return [::Google::Cloud::VisionAI::V1::GeoLocationArray]
2953
3013
  # Geo Location array.
3014
+ #
3015
+ # Note: The following fields are mutually exclusive: `geo_location_array`, `text_array`, `int_range_array`, `float_range_array`, `date_time_range_array`, `bool_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2954
3016
  # @!attribute [rw] bool_value
2955
3017
  # @return [::Google::Cloud::VisionAI::V1::BoolValue]
2956
3018
  # A Boolean value.
3019
+ #
3020
+ # Note: The following fields are mutually exclusive: `bool_value`, `text_array`, `int_range_array`, `float_range_array`, `date_time_range_array`, `geo_location_array`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2957
3021
  # @!attribute [rw] field
2958
3022
  # @return [::String]
2959
3023
  # The UGA field or ML field to apply filtering criteria.
@@ -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
@@ -53,21 +53,33 @@ module Google
53
53
  # @!attribute [rw] null_value
54
54
  # @return [::Google::Protobuf::NullValue]
55
55
  # Represents a null value.
56
+ #
57
+ # Note: The following fields are mutually exclusive: `null_value`, `number_value`, `string_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
56
58
  # @!attribute [rw] number_value
57
59
  # @return [::Float]
58
60
  # Represents a double value.
61
+ #
62
+ # Note: The following fields are mutually exclusive: `number_value`, `null_value`, `string_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
59
63
  # @!attribute [rw] string_value
60
64
  # @return [::String]
61
65
  # Represents a string value.
66
+ #
67
+ # Note: The following fields are mutually exclusive: `string_value`, `null_value`, `number_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
62
68
  # @!attribute [rw] bool_value
63
69
  # @return [::Boolean]
64
70
  # Represents a boolean value.
71
+ #
72
+ # Note: The following fields are mutually exclusive: `bool_value`, `null_value`, `number_value`, `string_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
65
73
  # @!attribute [rw] struct_value
66
74
  # @return [::Google::Protobuf::Struct]
67
75
  # Represents a structured value.
76
+ #
77
+ # Note: The following fields are mutually exclusive: `struct_value`, `null_value`, `number_value`, `string_value`, `bool_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
68
78
  # @!attribute [rw] list_value
69
79
  # @return [::Google::Protobuf::ListValue]
70
80
  # Represents a repeated `Value`.
81
+ #
82
+ # Note: The following fields are mutually exclusive: `list_value`, `null_value`, `number_value`, `string_value`, `bool_value`, `struct_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
71
83
  class Value
72
84
  include ::Google::Protobuf::MessageExts
73
85
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -75,9 +75,13 @@ module Google
75
75
  # UTC offset. Must be whole seconds, between -18 hours and +18 hours.
76
76
  # For example, a UTC offset of -4:00 would be represented as
77
77
  # { seconds: -14400 }.
78
+ #
79
+ # Note: The following fields are mutually exclusive: `utc_offset`, `time_zone`. If a field in that set is populated, all other fields in the set will automatically be cleared.
78
80
  # @!attribute [rw] time_zone
79
81
  # @return [::Google::Type::TimeZone]
80
82
  # Time zone.
83
+ #
84
+ # Note: The following fields are mutually exclusive: `time_zone`, `utc_offset`. If a field in that set is populated, all other fields in the set will automatically be cleared.
81
85
  class DateTime
82
86
  include ::Google::Protobuf::MessageExts
83
87
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-vision_ai-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.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-10 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
@@ -200,7 +199,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
200
199
  licenses:
201
200
  - Apache-2.0
202
201
  metadata: {}
203
- post_install_message:
204
202
  rdoc_options: []
205
203
  require_paths:
206
204
  - lib
@@ -208,15 +206,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
208
206
  requirements:
209
207
  - - ">="
210
208
  - !ruby/object:Gem::Version
211
- version: '2.7'
209
+ version: '3.0'
212
210
  required_rubygems_version: !ruby/object:Gem::Requirement
213
211
  requirements:
214
212
  - - ">="
215
213
  - !ruby/object:Gem::Version
216
214
  version: '0'
217
215
  requirements: []
218
- rubygems_version: 3.5.23
219
- signing_key:
216
+ rubygems_version: 3.6.2
220
217
  specification_version: 4
221
218
  summary: API Client library for the Vision AI V1 API
222
219
  test_files: []