google-cloud-automl-v1beta1 0.12.0 → 0.13.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 (26) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/google/cloud/automl/v1beta1/automl/client.rb +13 -2
  4. data/lib/google/cloud/automl/v1beta1/automl/operations.rb +9 -2
  5. data/lib/google/cloud/automl/v1beta1/automl/rest/client.rb +12 -1
  6. data/lib/google/cloud/automl/v1beta1/automl/rest/operations.rb +8 -1
  7. data/lib/google/cloud/automl/v1beta1/prediction_service/client.rb +9 -2
  8. data/lib/google/cloud/automl/v1beta1/prediction_service/operations.rb +9 -2
  9. data/lib/google/cloud/automl/v1beta1/prediction_service/rest/client.rb +8 -1
  10. data/lib/google/cloud/automl/v1beta1/prediction_service/rest/operations.rb +8 -1
  11. data/lib/google/cloud/automl/v1beta1/version.rb +1 -1
  12. data/proto_docs/google/api/client.rb +14 -0
  13. data/proto_docs/google/cloud/automl/v1beta1/annotation_payload.rb +16 -0
  14. data/proto_docs/google/cloud/automl/v1beta1/data_items.rb +12 -0
  15. data/proto_docs/google/cloud/automl/v1beta1/data_stats.rb +12 -0
  16. data/proto_docs/google/cloud/automl/v1beta1/data_types.rb +6 -0
  17. data/proto_docs/google/cloud/automl/v1beta1/dataset.rb +18 -0
  18. data/proto_docs/google/cloud/automl/v1beta1/io.rb +20 -0
  19. data/proto_docs/google/cloud/automl/v1beta1/model.rb +18 -0
  20. data/proto_docs/google/cloud/automl/v1beta1/model_evaluation.rb +14 -0
  21. data/proto_docs/google/cloud/automl/v1beta1/operations.rb +26 -0
  22. data/proto_docs/google/cloud/automl/v1beta1/service.rb +4 -0
  23. data/proto_docs/google/cloud/automl/v1beta1/tables.rb +4 -0
  24. data/proto_docs/google/longrunning/operations.rb +4 -0
  25. data/proto_docs/google/protobuf/struct.rb +12 -0
  26. metadata +6 -9
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f2d49f8670a69eb9aeb207c838d57b1c2de21e55980f0a4755404824ef9976e5
4
- data.tar.gz: a34775ff7db0af650c61b921e36f8c1e50401f4876e3d7a6262e5852dcffc865
3
+ metadata.gz: a44d2c85d3c5876cb99e5d2bf9d0449daa48ab13535830c4a6ec7301bb619cda
4
+ data.tar.gz: a74ebc469231710e30e8bd3209a877568138383eb9bc5abf55a67eb2f4f7d355
5
5
  SHA512:
6
- metadata.gz: 7e4cfacfbdf5891a29ddc1442374a06608b237a4aeb6ec12963bbe56a83c82f4d6656e308fcc4d8724f8b3743d2ccf545ca329e1e1dc84dc86a0bb1c0b7b5571
7
- data.tar.gz: 0c2144b9a7eacab1ad88ce27d193de6a1cf6bacf68ba3430302f4c391973ed7c2a5fa65a3030aa622dd45aad2e60bdfb2956713fdbe7b138cc4b0460113f4cf8
6
+ metadata.gz: d36ccf5ad36cbc90ad4c2455fa8bd798e33a93447d83c8a92c0a7748618fb428601920430bb19c64e22b750cde30ce1738d7ffcde141509af6610806b146af99
7
+ data.tar.gz: 5656c8f6d7d604bb6bbf82d0ecb63ce7003f1ddd072a99f393475e076a52d49e287073e95a990856a10335fe34575669e6a40b36847259601a86530c28adb12e
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
@@ -2024,8 +2024,12 @@ module Google
2024
2024
  #
2025
2025
  # @param image_object_detection_model_deployment_metadata [::Google::Cloud::AutoML::V1beta1::ImageObjectDetectionModelDeploymentMetadata, ::Hash]
2026
2026
  # Model deployment metadata specific to Image Object Detection.
2027
+ #
2028
+ # Note: The following fields are mutually exclusive: `image_object_detection_model_deployment_metadata`, `image_classification_model_deployment_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2027
2029
  # @param image_classification_model_deployment_metadata [::Google::Cloud::AutoML::V1beta1::ImageClassificationModelDeploymentMetadata, ::Hash]
2028
2030
  # Model deployment metadata specific to Image Classification.
2031
+ #
2032
+ # Note: The following fields are mutually exclusive: `image_classification_model_deployment_metadata`, `image_object_detection_model_deployment_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2029
2033
  # @param name [::String]
2030
2034
  # Required. Resource name of the model to deploy.
2031
2035
  #
@@ -2656,6 +2660,13 @@ module Google
2656
2660
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
2657
2661
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
2658
2662
  # * (`nil`) indicating no credentials
2663
+ #
2664
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
2665
+ # external source for authentication to Google Cloud, you must validate it before
2666
+ # providing it to a Google API client library. Providing an unvalidated credential
2667
+ # configuration to Google APIs can compromise the security of your systems and data.
2668
+ # For more information, refer to [Validate credential configurations from external
2669
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
2659
2670
  # @return [::Object]
2660
2671
  # @!attribute [rw] scope
2661
2672
  # The OAuth scopes
@@ -2710,8 +2721,8 @@ module Google
2710
2721
 
2711
2722
  config_attr :endpoint, nil, ::String, nil
2712
2723
  config_attr :credentials, nil do |value|
2713
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
2714
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
2724
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
2725
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
2715
2726
  allowed.any? { |klass| klass === value }
2716
2727
  end
2717
2728
  config_attr :scope, nil, ::String, ::Array, nil
@@ -648,6 +648,13 @@ module Google
648
648
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
649
649
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
650
650
  # * (`nil`) indicating no credentials
651
+ #
652
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
653
+ # external source for authentication to Google Cloud, you must validate it before
654
+ # providing it to a Google API client library. Providing an unvalidated credential
655
+ # configuration to Google APIs can compromise the security of your systems and data.
656
+ # For more information, refer to [Validate credential configurations from external
657
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
651
658
  # @return [::Object]
652
659
  # @!attribute [rw] scope
653
660
  # The OAuth scopes
@@ -702,8 +709,8 @@ module Google
702
709
 
703
710
  config_attr :endpoint, nil, ::String, nil
704
711
  config_attr :credentials, nil do |value|
705
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
706
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
712
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
713
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
707
714
  allowed.any? { |klass| klass === value }
708
715
  end
709
716
  config_attr :scope, nil, ::String, ::Array, nil
@@ -1891,8 +1891,12 @@ module Google
1891
1891
  #
1892
1892
  # @param image_object_detection_model_deployment_metadata [::Google::Cloud::AutoML::V1beta1::ImageObjectDetectionModelDeploymentMetadata, ::Hash]
1893
1893
  # Model deployment metadata specific to Image Object Detection.
1894
+ #
1895
+ # Note: The following fields are mutually exclusive: `image_object_detection_model_deployment_metadata`, `image_classification_model_deployment_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1894
1896
  # @param image_classification_model_deployment_metadata [::Google::Cloud::AutoML::V1beta1::ImageClassificationModelDeploymentMetadata, ::Hash]
1895
1897
  # Model deployment metadata specific to Image Classification.
1898
+ #
1899
+ # Note: The following fields are mutually exclusive: `image_classification_model_deployment_metadata`, `image_object_detection_model_deployment_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1896
1900
  # @param name [::String]
1897
1901
  # Required. Resource name of the model to deploy.
1898
1902
  # @yield [result, operation] Access the result along with the TransportOperation object
@@ -2479,6 +2483,13 @@ module Google
2479
2483
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
2480
2484
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
2481
2485
  # * (`nil`) indicating no credentials
2486
+ #
2487
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
2488
+ # external source for authentication to Google Cloud, you must validate it before
2489
+ # providing it to a Google API client library. Providing an unvalidated credential
2490
+ # configuration to Google APIs can compromise the security of your systems and data.
2491
+ # For more information, refer to [Validate credential configurations from external
2492
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
2482
2493
  # @return [::Object]
2483
2494
  # @!attribute [rw] scope
2484
2495
  # The OAuth scopes
@@ -2526,7 +2537,7 @@ module Google
2526
2537
 
2527
2538
  config_attr :endpoint, nil, ::String, nil
2528
2539
  config_attr :credentials, nil do |value|
2529
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
2540
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
2530
2541
  allowed.any? { |klass| klass === value }
2531
2542
  end
2532
2543
  config_attr :scope, nil, ::String, ::Array, nil
@@ -601,6 +601,13 @@ module Google
601
601
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
602
602
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
603
603
  # * (`nil`) indicating no credentials
604
+ #
605
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
606
+ # external source for authentication to Google Cloud, you must validate it before
607
+ # providing it to a Google API client library. Providing an unvalidated credential
608
+ # configuration to Google APIs can compromise the security of your systems and data.
609
+ # For more information, refer to [Validate credential configurations from external
610
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
604
611
  # @return [::Object]
605
612
  # @!attribute [rw] scope
606
613
  # The OAuth scopes
@@ -648,7 +655,7 @@ module Google
648
655
 
649
656
  config_attr :endpoint, nil, ::String, nil
650
657
  config_attr :credentials, nil do |value|
651
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
658
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
652
659
  allowed.any? { |klass| klass === value }
653
660
  end
654
661
  config_attr :scope, nil, ::String, ::Array, nil
@@ -556,6 +556,13 @@ module Google
556
556
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
557
557
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
558
558
  # * (`nil`) indicating no credentials
559
+ #
560
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
561
+ # external source for authentication to Google Cloud, you must validate it before
562
+ # providing it to a Google API client library. Providing an unvalidated credential
563
+ # configuration to Google APIs can compromise the security of your systems and data.
564
+ # For more information, refer to [Validate credential configurations from external
565
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
559
566
  # @return [::Object]
560
567
  # @!attribute [rw] scope
561
568
  # The OAuth scopes
@@ -610,8 +617,8 @@ module Google
610
617
 
611
618
  config_attr :endpoint, nil, ::String, nil
612
619
  config_attr :credentials, nil do |value|
613
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
614
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
620
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
621
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
615
622
  allowed.any? { |klass| klass === value }
616
623
  end
617
624
  config_attr :scope, nil, ::String, ::Array, nil
@@ -648,6 +648,13 @@ module Google
648
648
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
649
649
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
650
650
  # * (`nil`) indicating no credentials
651
+ #
652
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
653
+ # external source for authentication to Google Cloud, you must validate it before
654
+ # providing it to a Google API client library. Providing an unvalidated credential
655
+ # configuration to Google APIs can compromise the security of your systems and data.
656
+ # For more information, refer to [Validate credential configurations from external
657
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
651
658
  # @return [::Object]
652
659
  # @!attribute [rw] scope
653
660
  # The OAuth scopes
@@ -702,8 +709,8 @@ module Google
702
709
 
703
710
  config_attr :endpoint, nil, ::String, nil
704
711
  config_attr :credentials, nil do |value|
705
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
706
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
712
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
713
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
707
714
  allowed.any? { |klass| klass === value }
708
715
  end
709
716
  config_attr :scope, nil, ::String, ::Array, nil
@@ -533,6 +533,13 @@ module Google
533
533
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
534
534
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
535
535
  # * (`nil`) indicating no credentials
536
+ #
537
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
538
+ # external source for authentication to Google Cloud, you must validate it before
539
+ # providing it to a Google API client library. Providing an unvalidated credential
540
+ # configuration to Google APIs can compromise the security of your systems and data.
541
+ # For more information, refer to [Validate credential configurations from external
542
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
536
543
  # @return [::Object]
537
544
  # @!attribute [rw] scope
538
545
  # The OAuth scopes
@@ -580,7 +587,7 @@ module Google
580
587
 
581
588
  config_attr :endpoint, nil, ::String, nil
582
589
  config_attr :credentials, nil do |value|
583
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
590
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
584
591
  allowed.any? { |klass| klass === value }
585
592
  end
586
593
  config_attr :scope, nil, ::String, ::Array, nil
@@ -601,6 +601,13 @@ module Google
601
601
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
602
602
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
603
603
  # * (`nil`) indicating no credentials
604
+ #
605
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
606
+ # external source for authentication to Google Cloud, you must validate it before
607
+ # providing it to a Google API client library. Providing an unvalidated credential
608
+ # configuration to Google APIs can compromise the security of your systems and data.
609
+ # For more information, refer to [Validate credential configurations from external
610
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
604
611
  # @return [::Object]
605
612
  # @!attribute [rw] scope
606
613
  # The OAuth scopes
@@ -648,7 +655,7 @@ module Google
648
655
 
649
656
  config_attr :endpoint, nil, ::String, nil
650
657
  config_attr :credentials, nil do |value|
651
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
658
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
652
659
  allowed.any? { |klass| klass === value }
653
660
  end
654
661
  config_attr :scope, nil, ::String, ::Array, nil
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module AutoML
23
23
  module V1beta1
24
- VERSION = "0.12.0"
24
+ VERSION = "0.13.1"
25
25
  end
26
26
  end
27
27
  end
@@ -221,6 +221,12 @@ module Google
221
221
  # Pythonic which are included in `protobuf>=5.29.x`. This feature will be
222
222
  # enabled by default 1 month after launching the feature in preview
223
223
  # packages.
224
+ # @!attribute [rw] unversioned_package_disabled
225
+ # @return [::Boolean]
226
+ # Disables generation of an unversioned Python package for this client
227
+ # library. This means that the module names will need to be versioned in
228
+ # import statements. For example `import google.cloud.library_v2` instead
229
+ # of `import google.cloud.library`.
224
230
  class ExperimentalFeatures
225
231
  include ::Google::Protobuf::MessageExts
226
232
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -409,6 +415,14 @@ module Google
409
415
  # @return [::Array<::String>]
410
416
  # An allowlist of the fully qualified names of RPCs that should be included
411
417
  # on public client surfaces.
418
+ # @!attribute [rw] generate_omitted_as_internal
419
+ # @return [::Boolean]
420
+ # Setting this to true indicates to the client generators that methods
421
+ # that would be excluded from the generation should instead be generated
422
+ # in a way that indicates these methods should not be consumed by
423
+ # end users. How this is expressed is up to individual language
424
+ # implementations to decide. Some examples may be: added annotations,
425
+ # obfuscated identifiers, or other language idiomatic patterns.
412
426
  class SelectiveGapicGeneration
413
427
  include ::Google::Protobuf::MessageExts
414
428
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -25,28 +25,44 @@ module Google
25
25
  # @!attribute [rw] translation
26
26
  # @return [::Google::Cloud::AutoML::V1beta1::TranslationAnnotation]
27
27
  # Annotation details for translation.
28
+ #
29
+ # Note: The following fields are mutually exclusive: `translation`, `classification`, `image_object_detection`, `video_classification`, `video_object_tracking`, `text_extraction`, `text_sentiment`, `tables`. If a field in that set is populated, all other fields in the set will automatically be cleared.
28
30
  # @!attribute [rw] classification
29
31
  # @return [::Google::Cloud::AutoML::V1beta1::ClassificationAnnotation]
30
32
  # Annotation details for content or image classification.
33
+ #
34
+ # Note: The following fields are mutually exclusive: `classification`, `translation`, `image_object_detection`, `video_classification`, `video_object_tracking`, `text_extraction`, `text_sentiment`, `tables`. If a field in that set is populated, all other fields in the set will automatically be cleared.
31
35
  # @!attribute [rw] image_object_detection
32
36
  # @return [::Google::Cloud::AutoML::V1beta1::ImageObjectDetectionAnnotation]
33
37
  # Annotation details for image object detection.
38
+ #
39
+ # Note: The following fields are mutually exclusive: `image_object_detection`, `translation`, `classification`, `video_classification`, `video_object_tracking`, `text_extraction`, `text_sentiment`, `tables`. If a field in that set is populated, all other fields in the set will automatically be cleared.
34
40
  # @!attribute [rw] video_classification
35
41
  # @return [::Google::Cloud::AutoML::V1beta1::VideoClassificationAnnotation]
36
42
  # Annotation details for video classification.
37
43
  # Returned for Video Classification predictions.
44
+ #
45
+ # Note: The following fields are mutually exclusive: `video_classification`, `translation`, `classification`, `image_object_detection`, `video_object_tracking`, `text_extraction`, `text_sentiment`, `tables`. If a field in that set is populated, all other fields in the set will automatically be cleared.
38
46
  # @!attribute [rw] video_object_tracking
39
47
  # @return [::Google::Cloud::AutoML::V1beta1::VideoObjectTrackingAnnotation]
40
48
  # Annotation details for video object tracking.
49
+ #
50
+ # Note: The following fields are mutually exclusive: `video_object_tracking`, `translation`, `classification`, `image_object_detection`, `video_classification`, `text_extraction`, `text_sentiment`, `tables`. If a field in that set is populated, all other fields in the set will automatically be cleared.
41
51
  # @!attribute [rw] text_extraction
42
52
  # @return [::Google::Cloud::AutoML::V1beta1::TextExtractionAnnotation]
43
53
  # Annotation details for text extraction.
54
+ #
55
+ # Note: The following fields are mutually exclusive: `text_extraction`, `translation`, `classification`, `image_object_detection`, `video_classification`, `video_object_tracking`, `text_sentiment`, `tables`. If a field in that set is populated, all other fields in the set will automatically be cleared.
44
56
  # @!attribute [rw] text_sentiment
45
57
  # @return [::Google::Cloud::AutoML::V1beta1::TextSentimentAnnotation]
46
58
  # Annotation details for text sentiment.
59
+ #
60
+ # Note: The following fields are mutually exclusive: `text_sentiment`, `translation`, `classification`, `image_object_detection`, `video_classification`, `video_object_tracking`, `text_extraction`, `tables`. If a field in that set is populated, all other fields in the set will automatically be cleared.
47
61
  # @!attribute [rw] tables
48
62
  # @return [::Google::Cloud::AutoML::V1beta1::TablesAnnotation]
49
63
  # Annotation details for Tables.
64
+ #
65
+ # Note: The following fields are mutually exclusive: `tables`, `translation`, `classification`, `image_object_detection`, `video_classification`, `video_object_tracking`, `text_extraction`, `text_sentiment`. If a field in that set is populated, all other fields in the set will automatically be cleared.
50
66
  # @!attribute [rw] annotation_spec_id
51
67
  # @return [::String]
52
68
  # Output only . The resource ID of the annotation spec that
@@ -28,9 +28,13 @@ module Google
28
28
  # Image content represented as a stream of bytes.
29
29
  # Note: As with all `bytes` fields, protobuffers use a pure binary
30
30
  # representation, whereas JSON representations use base64.
31
+ #
32
+ # Note: The following fields are mutually exclusive: `image_bytes`, `input_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
31
33
  # @!attribute [rw] input_config
32
34
  # @return [::Google::Cloud::AutoML::V1beta1::InputConfig]
33
35
  # An input config specifying the content of the image.
36
+ #
37
+ # Note: The following fields are mutually exclusive: `input_config`, `image_bytes`. If a field in that set is populated, all other fields in the set will automatically be cleared.
34
38
  # @!attribute [rw] thumbnail_uri
35
39
  # @return [::String]
36
40
  # Output only. HTTP URI to the thumbnail image.
@@ -208,15 +212,23 @@ module Google
208
212
  # @!attribute [rw] image
209
213
  # @return [::Google::Cloud::AutoML::V1beta1::Image]
210
214
  # Example image.
215
+ #
216
+ # Note: The following fields are mutually exclusive: `image`, `text_snippet`, `document`, `row`. If a field in that set is populated, all other fields in the set will automatically be cleared.
211
217
  # @!attribute [rw] text_snippet
212
218
  # @return [::Google::Cloud::AutoML::V1beta1::TextSnippet]
213
219
  # Example text.
220
+ #
221
+ # Note: The following fields are mutually exclusive: `text_snippet`, `image`, `document`, `row`. If a field in that set is populated, all other fields in the set will automatically be cleared.
214
222
  # @!attribute [rw] document
215
223
  # @return [::Google::Cloud::AutoML::V1beta1::Document]
216
224
  # Example document.
225
+ #
226
+ # Note: The following fields are mutually exclusive: `document`, `image`, `text_snippet`, `row`. If a field in that set is populated, all other fields in the set will automatically be cleared.
217
227
  # @!attribute [rw] row
218
228
  # @return [::Google::Cloud::AutoML::V1beta1::Row]
219
229
  # Example relational table row.
230
+ #
231
+ # Note: The following fields are mutually exclusive: `row`, `image`, `text_snippet`, `document`. If a field in that set is populated, all other fields in the set will automatically be cleared.
220
232
  class ExamplePayload
221
233
  include ::Google::Protobuf::MessageExts
222
234
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -25,21 +25,33 @@ module Google
25
25
  # @!attribute [rw] float64_stats
26
26
  # @return [::Google::Cloud::AutoML::V1beta1::Float64Stats]
27
27
  # The statistics for FLOAT64 DataType.
28
+ #
29
+ # Note: The following fields are mutually exclusive: `float64_stats`, `string_stats`, `timestamp_stats`, `array_stats`, `struct_stats`, `category_stats`. If a field in that set is populated, all other fields in the set will automatically be cleared.
28
30
  # @!attribute [rw] string_stats
29
31
  # @return [::Google::Cloud::AutoML::V1beta1::StringStats]
30
32
  # The statistics for STRING DataType.
33
+ #
34
+ # Note: The following fields are mutually exclusive: `string_stats`, `float64_stats`, `timestamp_stats`, `array_stats`, `struct_stats`, `category_stats`. If a field in that set is populated, all other fields in the set will automatically be cleared.
31
35
  # @!attribute [rw] timestamp_stats
32
36
  # @return [::Google::Cloud::AutoML::V1beta1::TimestampStats]
33
37
  # The statistics for TIMESTAMP DataType.
38
+ #
39
+ # Note: The following fields are mutually exclusive: `timestamp_stats`, `float64_stats`, `string_stats`, `array_stats`, `struct_stats`, `category_stats`. If a field in that set is populated, all other fields in the set will automatically be cleared.
34
40
  # @!attribute [rw] array_stats
35
41
  # @return [::Google::Cloud::AutoML::V1beta1::ArrayStats]
36
42
  # The statistics for ARRAY DataType.
43
+ #
44
+ # Note: The following fields are mutually exclusive: `array_stats`, `float64_stats`, `string_stats`, `timestamp_stats`, `struct_stats`, `category_stats`. If a field in that set is populated, all other fields in the set will automatically be cleared.
37
45
  # @!attribute [rw] struct_stats
38
46
  # @return [::Google::Cloud::AutoML::V1beta1::StructStats]
39
47
  # The statistics for STRUCT DataType.
48
+ #
49
+ # Note: The following fields are mutually exclusive: `struct_stats`, `float64_stats`, `string_stats`, `timestamp_stats`, `array_stats`, `category_stats`. If a field in that set is populated, all other fields in the set will automatically be cleared.
40
50
  # @!attribute [rw] category_stats
41
51
  # @return [::Google::Cloud::AutoML::V1beta1::CategoryStats]
42
52
  # The statistics for CATEGORY DataType.
53
+ #
54
+ # Note: The following fields are mutually exclusive: `category_stats`, `float64_stats`, `string_stats`, `timestamp_stats`, `array_stats`, `struct_stats`. If a field in that set is populated, all other fields in the set will automatically be cleared.
43
55
  # @!attribute [rw] distinct_value_count
44
56
  # @return [::Integer]
45
57
  # The number of distinct values.
@@ -27,10 +27,14 @@ module Google
27
27
  # @return [::Google::Cloud::AutoML::V1beta1::DataType]
28
28
  # If {::Google::Cloud::AutoML::V1beta1::DataType#type_code type_code} == {::Google::Cloud::AutoML::V1beta1::TypeCode::ARRAY ARRAY},
29
29
  # then `list_element_type` is the type of the elements.
30
+ #
31
+ # Note: The following fields are mutually exclusive: `list_element_type`, `struct_type`, `time_format`. If a field in that set is populated, all other fields in the set will automatically be cleared.
30
32
  # @!attribute [rw] struct_type
31
33
  # @return [::Google::Cloud::AutoML::V1beta1::StructType]
32
34
  # If {::Google::Cloud::AutoML::V1beta1::DataType#type_code type_code} == {::Google::Cloud::AutoML::V1beta1::TypeCode::STRUCT STRUCT}, then `struct_type`
33
35
  # provides type information for the struct's fields.
36
+ #
37
+ # Note: The following fields are mutually exclusive: `struct_type`, `list_element_type`, `time_format`. If a field in that set is populated, all other fields in the set will automatically be cleared.
34
38
  # @!attribute [rw] time_format
35
39
  # @return [::String]
36
40
  # If {::Google::Cloud::AutoML::V1beta1::DataType#type_code type_code} == {::Google::Cloud::AutoML::V1beta1::TypeCode::TIMESTAMP TIMESTAMP}
@@ -44,6 +48,8 @@ module Google
44
48
  # nanoseconds since start of the Unix epoch);
45
49
  # or be written in `strftime` syntax. If time_format is not set, then the
46
50
  # default format as described on the type_code is used.
51
+ #
52
+ # Note: The following fields are mutually exclusive: `time_format`, `list_element_type`, `struct_type`. If a field in that set is populated, all other fields in the set will automatically be cleared.
47
53
  # @!attribute [rw] type_code
48
54
  # @return [::Google::Cloud::AutoML::V1beta1::TypeCode]
49
55
  # Required. The {::Google::Cloud::AutoML::V1beta1::TypeCode TypeCode} for this type.
@@ -26,30 +26,48 @@ module Google
26
26
  # @!attribute [rw] translation_dataset_metadata
27
27
  # @return [::Google::Cloud::AutoML::V1beta1::TranslationDatasetMetadata]
28
28
  # Metadata for a dataset used for translation.
29
+ #
30
+ # Note: The following fields are mutually exclusive: `translation_dataset_metadata`, `image_classification_dataset_metadata`, `text_classification_dataset_metadata`, `image_object_detection_dataset_metadata`, `video_classification_dataset_metadata`, `video_object_tracking_dataset_metadata`, `text_extraction_dataset_metadata`, `text_sentiment_dataset_metadata`, `tables_dataset_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
29
31
  # @!attribute [rw] image_classification_dataset_metadata
30
32
  # @return [::Google::Cloud::AutoML::V1beta1::ImageClassificationDatasetMetadata]
31
33
  # Metadata for a dataset used for image classification.
34
+ #
35
+ # Note: The following fields are mutually exclusive: `image_classification_dataset_metadata`, `translation_dataset_metadata`, `text_classification_dataset_metadata`, `image_object_detection_dataset_metadata`, `video_classification_dataset_metadata`, `video_object_tracking_dataset_metadata`, `text_extraction_dataset_metadata`, `text_sentiment_dataset_metadata`, `tables_dataset_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
32
36
  # @!attribute [rw] text_classification_dataset_metadata
33
37
  # @return [::Google::Cloud::AutoML::V1beta1::TextClassificationDatasetMetadata]
34
38
  # Metadata for a dataset used for text classification.
39
+ #
40
+ # Note: The following fields are mutually exclusive: `text_classification_dataset_metadata`, `translation_dataset_metadata`, `image_classification_dataset_metadata`, `image_object_detection_dataset_metadata`, `video_classification_dataset_metadata`, `video_object_tracking_dataset_metadata`, `text_extraction_dataset_metadata`, `text_sentiment_dataset_metadata`, `tables_dataset_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
35
41
  # @!attribute [rw] image_object_detection_dataset_metadata
36
42
  # @return [::Google::Cloud::AutoML::V1beta1::ImageObjectDetectionDatasetMetadata]
37
43
  # Metadata for a dataset used for image object detection.
44
+ #
45
+ # Note: The following fields are mutually exclusive: `image_object_detection_dataset_metadata`, `translation_dataset_metadata`, `image_classification_dataset_metadata`, `text_classification_dataset_metadata`, `video_classification_dataset_metadata`, `video_object_tracking_dataset_metadata`, `text_extraction_dataset_metadata`, `text_sentiment_dataset_metadata`, `tables_dataset_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
38
46
  # @!attribute [rw] video_classification_dataset_metadata
39
47
  # @return [::Google::Cloud::AutoML::V1beta1::VideoClassificationDatasetMetadata]
40
48
  # Metadata for a dataset used for video classification.
49
+ #
50
+ # Note: The following fields are mutually exclusive: `video_classification_dataset_metadata`, `translation_dataset_metadata`, `image_classification_dataset_metadata`, `text_classification_dataset_metadata`, `image_object_detection_dataset_metadata`, `video_object_tracking_dataset_metadata`, `text_extraction_dataset_metadata`, `text_sentiment_dataset_metadata`, `tables_dataset_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
41
51
  # @!attribute [rw] video_object_tracking_dataset_metadata
42
52
  # @return [::Google::Cloud::AutoML::V1beta1::VideoObjectTrackingDatasetMetadata]
43
53
  # Metadata for a dataset used for video object tracking.
54
+ #
55
+ # Note: The following fields are mutually exclusive: `video_object_tracking_dataset_metadata`, `translation_dataset_metadata`, `image_classification_dataset_metadata`, `text_classification_dataset_metadata`, `image_object_detection_dataset_metadata`, `video_classification_dataset_metadata`, `text_extraction_dataset_metadata`, `text_sentiment_dataset_metadata`, `tables_dataset_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
44
56
  # @!attribute [rw] text_extraction_dataset_metadata
45
57
  # @return [::Google::Cloud::AutoML::V1beta1::TextExtractionDatasetMetadata]
46
58
  # Metadata for a dataset used for text extraction.
59
+ #
60
+ # Note: The following fields are mutually exclusive: `text_extraction_dataset_metadata`, `translation_dataset_metadata`, `image_classification_dataset_metadata`, `text_classification_dataset_metadata`, `image_object_detection_dataset_metadata`, `video_classification_dataset_metadata`, `video_object_tracking_dataset_metadata`, `text_sentiment_dataset_metadata`, `tables_dataset_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
47
61
  # @!attribute [rw] text_sentiment_dataset_metadata
48
62
  # @return [::Google::Cloud::AutoML::V1beta1::TextSentimentDatasetMetadata]
49
63
  # Metadata for a dataset used for text sentiment.
64
+ #
65
+ # Note: The following fields are mutually exclusive: `text_sentiment_dataset_metadata`, `translation_dataset_metadata`, `image_classification_dataset_metadata`, `text_classification_dataset_metadata`, `image_object_detection_dataset_metadata`, `video_classification_dataset_metadata`, `video_object_tracking_dataset_metadata`, `text_extraction_dataset_metadata`, `tables_dataset_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
50
66
  # @!attribute [rw] tables_dataset_metadata
51
67
  # @return [::Google::Cloud::AutoML::V1beta1::TablesDatasetMetadata]
52
68
  # Metadata for a dataset used for Tables.
69
+ #
70
+ # Note: The following fields are mutually exclusive: `tables_dataset_metadata`, `translation_dataset_metadata`, `image_classification_dataset_metadata`, `text_classification_dataset_metadata`, `image_object_detection_dataset_metadata`, `video_classification_dataset_metadata`, `video_object_tracking_dataset_metadata`, `text_extraction_dataset_metadata`, `text_sentiment_dataset_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
53
71
  # @!attribute [rw] name
54
72
  # @return [::String]
55
73
  # Output only. The resource name of the dataset.
@@ -383,9 +383,13 @@ module Google
383
383
  # The Google Cloud Storage location for the input content.
384
384
  # In ImportData, the gcs_source points to a csv with structure described in
385
385
  # the comment.
386
+ #
387
+ # Note: The following fields are mutually exclusive: `gcs_source`, `bigquery_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
386
388
  # @!attribute [rw] bigquery_source
387
389
  # @return [::Google::Cloud::AutoML::V1beta1::BigQuerySource]
388
390
  # The BigQuery location for the input content.
391
+ #
392
+ # Note: The following fields are mutually exclusive: `bigquery_source`, `gcs_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
389
393
  # @!attribute [rw] params
390
394
  # @return [::Google::Protobuf::Map{::String => ::String}]
391
395
  # Additional domain-specific parameters describing the semantic of the
@@ -626,9 +630,13 @@ module Google
626
630
  # @!attribute [rw] gcs_source
627
631
  # @return [::Google::Cloud::AutoML::V1beta1::GcsSource]
628
632
  # The Google Cloud Storage location for the input content.
633
+ #
634
+ # Note: The following fields are mutually exclusive: `gcs_source`, `bigquery_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
629
635
  # @!attribute [rw] bigquery_source
630
636
  # @return [::Google::Cloud::AutoML::V1beta1::BigQuerySource]
631
637
  # The BigQuery location for the input content.
638
+ #
639
+ # Note: The following fields are mutually exclusive: `bigquery_source`, `gcs_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
632
640
  class BatchPredictInputConfig
633
641
  include ::Google::Protobuf::MessageExts
634
642
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -685,9 +693,13 @@ module Google
685
693
  # export_data-<dataset-display-name>-<timestamp-of-export-call> where
686
694
  # timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. All export
687
695
  # output will be written into that directory.
696
+ #
697
+ # Note: The following fields are mutually exclusive: `gcs_destination`, `bigquery_destination`. If a field in that set is populated, all other fields in the set will automatically be cleared.
688
698
  # @!attribute [rw] bigquery_destination
689
699
  # @return [::Google::Cloud::AutoML::V1beta1::BigQueryDestination]
690
700
  # The BigQuery location where the output is to be written to.
701
+ #
702
+ # Note: The following fields are mutually exclusive: `bigquery_destination`, `gcs_destination`. If a field in that set is populated, all other fields in the set will automatically be cleared.
691
703
  class OutputConfig
692
704
  include ::Google::Protobuf::MessageExts
693
705
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -972,9 +984,13 @@ module Google
972
984
  # @return [::Google::Cloud::AutoML::V1beta1::GcsDestination]
973
985
  # The Google Cloud Storage location of the directory where the output is to
974
986
  # be written to.
987
+ #
988
+ # Note: The following fields are mutually exclusive: `gcs_destination`, `bigquery_destination`. If a field in that set is populated, all other fields in the set will automatically be cleared.
975
989
  # @!attribute [rw] bigquery_destination
976
990
  # @return [::Google::Cloud::AutoML::V1beta1::BigQueryDestination]
977
991
  # The BigQuery location where the output is to be written to.
992
+ #
993
+ # Note: The following fields are mutually exclusive: `bigquery_destination`, `gcs_destination`. If a field in that set is populated, all other fields in the set will automatically be cleared.
978
994
  class BatchPredictOutputConfig
979
995
  include ::Google::Protobuf::MessageExts
980
996
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -992,6 +1008,8 @@ module Google
992
1008
  # where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format,
993
1009
  # will be created. Inside the model and any of its supporting files
994
1010
  # will be written.
1011
+ #
1012
+ # Note: The following fields are mutually exclusive: `gcs_destination`, `gcr_destination`. If a field in that set is populated, all other fields in the set will automatically be cleared.
995
1013
  # @!attribute [rw] gcr_destination
996
1014
  # @return [::Google::Cloud::AutoML::V1beta1::GcrDestination]
997
1015
  # The GCR location where model image is to be pushed to. This location
@@ -999,6 +1017,8 @@ module Google
999
1017
  # "docker".
1000
1018
  #
1001
1019
  # The model image will be created under the given URI.
1020
+ #
1021
+ # Note: The following fields are mutually exclusive: `gcr_destination`, `gcs_destination`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1002
1022
  # @!attribute [rw] model_format
1003
1023
  # @return [::String]
1004
1024
  # The format in which the model must be exported. The available, and default,
@@ -25,30 +25,48 @@ module Google
25
25
  # @!attribute [rw] translation_model_metadata
26
26
  # @return [::Google::Cloud::AutoML::V1beta1::TranslationModelMetadata]
27
27
  # Metadata for translation models.
28
+ #
29
+ # Note: The following fields are mutually exclusive: `translation_model_metadata`, `image_classification_model_metadata`, `text_classification_model_metadata`, `image_object_detection_model_metadata`, `video_classification_model_metadata`, `video_object_tracking_model_metadata`, `text_extraction_model_metadata`, `tables_model_metadata`, `text_sentiment_model_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
28
30
  # @!attribute [rw] image_classification_model_metadata
29
31
  # @return [::Google::Cloud::AutoML::V1beta1::ImageClassificationModelMetadata]
30
32
  # Metadata for image classification models.
33
+ #
34
+ # Note: The following fields are mutually exclusive: `image_classification_model_metadata`, `translation_model_metadata`, `text_classification_model_metadata`, `image_object_detection_model_metadata`, `video_classification_model_metadata`, `video_object_tracking_model_metadata`, `text_extraction_model_metadata`, `tables_model_metadata`, `text_sentiment_model_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
31
35
  # @!attribute [rw] text_classification_model_metadata
32
36
  # @return [::Google::Cloud::AutoML::V1beta1::TextClassificationModelMetadata]
33
37
  # Metadata for text classification models.
38
+ #
39
+ # Note: The following fields are mutually exclusive: `text_classification_model_metadata`, `translation_model_metadata`, `image_classification_model_metadata`, `image_object_detection_model_metadata`, `video_classification_model_metadata`, `video_object_tracking_model_metadata`, `text_extraction_model_metadata`, `tables_model_metadata`, `text_sentiment_model_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
34
40
  # @!attribute [rw] image_object_detection_model_metadata
35
41
  # @return [::Google::Cloud::AutoML::V1beta1::ImageObjectDetectionModelMetadata]
36
42
  # Metadata for image object detection models.
43
+ #
44
+ # Note: The following fields are mutually exclusive: `image_object_detection_model_metadata`, `translation_model_metadata`, `image_classification_model_metadata`, `text_classification_model_metadata`, `video_classification_model_metadata`, `video_object_tracking_model_metadata`, `text_extraction_model_metadata`, `tables_model_metadata`, `text_sentiment_model_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
37
45
  # @!attribute [rw] video_classification_model_metadata
38
46
  # @return [::Google::Cloud::AutoML::V1beta1::VideoClassificationModelMetadata]
39
47
  # Metadata for video classification models.
48
+ #
49
+ # Note: The following fields are mutually exclusive: `video_classification_model_metadata`, `translation_model_metadata`, `image_classification_model_metadata`, `text_classification_model_metadata`, `image_object_detection_model_metadata`, `video_object_tracking_model_metadata`, `text_extraction_model_metadata`, `tables_model_metadata`, `text_sentiment_model_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
40
50
  # @!attribute [rw] video_object_tracking_model_metadata
41
51
  # @return [::Google::Cloud::AutoML::V1beta1::VideoObjectTrackingModelMetadata]
42
52
  # Metadata for video object tracking models.
53
+ #
54
+ # Note: The following fields are mutually exclusive: `video_object_tracking_model_metadata`, `translation_model_metadata`, `image_classification_model_metadata`, `text_classification_model_metadata`, `image_object_detection_model_metadata`, `video_classification_model_metadata`, `text_extraction_model_metadata`, `tables_model_metadata`, `text_sentiment_model_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
43
55
  # @!attribute [rw] text_extraction_model_metadata
44
56
  # @return [::Google::Cloud::AutoML::V1beta1::TextExtractionModelMetadata]
45
57
  # Metadata for text extraction models.
58
+ #
59
+ # Note: The following fields are mutually exclusive: `text_extraction_model_metadata`, `translation_model_metadata`, `image_classification_model_metadata`, `text_classification_model_metadata`, `image_object_detection_model_metadata`, `video_classification_model_metadata`, `video_object_tracking_model_metadata`, `tables_model_metadata`, `text_sentiment_model_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
46
60
  # @!attribute [rw] tables_model_metadata
47
61
  # @return [::Google::Cloud::AutoML::V1beta1::TablesModelMetadata]
48
62
  # Metadata for Tables models.
63
+ #
64
+ # Note: The following fields are mutually exclusive: `tables_model_metadata`, `translation_model_metadata`, `image_classification_model_metadata`, `text_classification_model_metadata`, `image_object_detection_model_metadata`, `video_classification_model_metadata`, `video_object_tracking_model_metadata`, `text_extraction_model_metadata`, `text_sentiment_model_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
49
65
  # @!attribute [rw] text_sentiment_model_metadata
50
66
  # @return [::Google::Cloud::AutoML::V1beta1::TextSentimentModelMetadata]
51
67
  # Metadata for text sentiment models.
68
+ #
69
+ # Note: The following fields are mutually exclusive: `text_sentiment_model_metadata`, `translation_model_metadata`, `image_classification_model_metadata`, `text_classification_model_metadata`, `image_object_detection_model_metadata`, `video_classification_model_metadata`, `video_object_tracking_model_metadata`, `text_extraction_model_metadata`, `tables_model_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
52
70
  # @!attribute [rw] name
53
71
  # @return [::String]
54
72
  # Output only. Resource name of the model.
@@ -28,26 +28,40 @@ module Google
28
28
  # classification.
29
29
  # Tables problem is considered a classification when the target column
30
30
  # is CATEGORY DataType.
31
+ #
32
+ # Note: The following fields are mutually exclusive: `classification_evaluation_metrics`, `regression_evaluation_metrics`, `translation_evaluation_metrics`, `image_object_detection_evaluation_metrics`, `video_object_tracking_evaluation_metrics`, `text_sentiment_evaluation_metrics`, `text_extraction_evaluation_metrics`. If a field in that set is populated, all other fields in the set will automatically be cleared.
31
33
  # @!attribute [rw] regression_evaluation_metrics
32
34
  # @return [::Google::Cloud::AutoML::V1beta1::RegressionEvaluationMetrics]
33
35
  # Model evaluation metrics for Tables regression.
34
36
  # Tables problem is considered a regression when the target column
35
37
  # has FLOAT64 DataType.
38
+ #
39
+ # Note: The following fields are mutually exclusive: `regression_evaluation_metrics`, `classification_evaluation_metrics`, `translation_evaluation_metrics`, `image_object_detection_evaluation_metrics`, `video_object_tracking_evaluation_metrics`, `text_sentiment_evaluation_metrics`, `text_extraction_evaluation_metrics`. If a field in that set is populated, all other fields in the set will automatically be cleared.
36
40
  # @!attribute [rw] translation_evaluation_metrics
37
41
  # @return [::Google::Cloud::AutoML::V1beta1::TranslationEvaluationMetrics]
38
42
  # Model evaluation metrics for translation.
43
+ #
44
+ # Note: The following fields are mutually exclusive: `translation_evaluation_metrics`, `classification_evaluation_metrics`, `regression_evaluation_metrics`, `image_object_detection_evaluation_metrics`, `video_object_tracking_evaluation_metrics`, `text_sentiment_evaluation_metrics`, `text_extraction_evaluation_metrics`. If a field in that set is populated, all other fields in the set will automatically be cleared.
39
45
  # @!attribute [rw] image_object_detection_evaluation_metrics
40
46
  # @return [::Google::Cloud::AutoML::V1beta1::ImageObjectDetectionEvaluationMetrics]
41
47
  # Model evaluation metrics for image object detection.
48
+ #
49
+ # Note: The following fields are mutually exclusive: `image_object_detection_evaluation_metrics`, `classification_evaluation_metrics`, `regression_evaluation_metrics`, `translation_evaluation_metrics`, `video_object_tracking_evaluation_metrics`, `text_sentiment_evaluation_metrics`, `text_extraction_evaluation_metrics`. If a field in that set is populated, all other fields in the set will automatically be cleared.
42
50
  # @!attribute [rw] video_object_tracking_evaluation_metrics
43
51
  # @return [::Google::Cloud::AutoML::V1beta1::VideoObjectTrackingEvaluationMetrics]
44
52
  # Model evaluation metrics for video object tracking.
53
+ #
54
+ # Note: The following fields are mutually exclusive: `video_object_tracking_evaluation_metrics`, `classification_evaluation_metrics`, `regression_evaluation_metrics`, `translation_evaluation_metrics`, `image_object_detection_evaluation_metrics`, `text_sentiment_evaluation_metrics`, `text_extraction_evaluation_metrics`. If a field in that set is populated, all other fields in the set will automatically be cleared.
45
55
  # @!attribute [rw] text_sentiment_evaluation_metrics
46
56
  # @return [::Google::Cloud::AutoML::V1beta1::TextSentimentEvaluationMetrics]
47
57
  # Evaluation metrics for text sentiment models.
58
+ #
59
+ # Note: The following fields are mutually exclusive: `text_sentiment_evaluation_metrics`, `classification_evaluation_metrics`, `regression_evaluation_metrics`, `translation_evaluation_metrics`, `image_object_detection_evaluation_metrics`, `video_object_tracking_evaluation_metrics`, `text_extraction_evaluation_metrics`. If a field in that set is populated, all other fields in the set will automatically be cleared.
48
60
  # @!attribute [rw] text_extraction_evaluation_metrics
49
61
  # @return [::Google::Cloud::AutoML::V1beta1::TextExtractionEvaluationMetrics]
50
62
  # Evaluation metrics for text extraction models.
63
+ #
64
+ # Note: The following fields are mutually exclusive: `text_extraction_evaluation_metrics`, `classification_evaluation_metrics`, `regression_evaluation_metrics`, `translation_evaluation_metrics`, `image_object_detection_evaluation_metrics`, `video_object_tracking_evaluation_metrics`, `text_sentiment_evaluation_metrics`. If a field in that set is populated, all other fields in the set will automatically be cleared.
51
65
  # @!attribute [rw] name
52
66
  # @return [::String]
53
67
  # Output only. Resource name of the model evaluation.
@@ -25,30 +25,48 @@ module Google
25
25
  # @!attribute [rw] delete_details
26
26
  # @return [::Google::Cloud::AutoML::V1beta1::DeleteOperationMetadata]
27
27
  # Details of a Delete operation.
28
+ #
29
+ # Note: The following fields are mutually exclusive: `delete_details`, `deploy_model_details`, `undeploy_model_details`, `create_model_details`, `import_data_details`, `batch_predict_details`, `export_data_details`, `export_model_details`, `export_evaluated_examples_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.
28
30
  # @!attribute [rw] deploy_model_details
29
31
  # @return [::Google::Cloud::AutoML::V1beta1::DeployModelOperationMetadata]
30
32
  # Details of a DeployModel operation.
33
+ #
34
+ # Note: The following fields are mutually exclusive: `deploy_model_details`, `delete_details`, `undeploy_model_details`, `create_model_details`, `import_data_details`, `batch_predict_details`, `export_data_details`, `export_model_details`, `export_evaluated_examples_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.
31
35
  # @!attribute [rw] undeploy_model_details
32
36
  # @return [::Google::Cloud::AutoML::V1beta1::UndeployModelOperationMetadata]
33
37
  # Details of an UndeployModel operation.
38
+ #
39
+ # Note: The following fields are mutually exclusive: `undeploy_model_details`, `delete_details`, `deploy_model_details`, `create_model_details`, `import_data_details`, `batch_predict_details`, `export_data_details`, `export_model_details`, `export_evaluated_examples_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.
34
40
  # @!attribute [rw] create_model_details
35
41
  # @return [::Google::Cloud::AutoML::V1beta1::CreateModelOperationMetadata]
36
42
  # Details of CreateModel operation.
43
+ #
44
+ # Note: The following fields are mutually exclusive: `create_model_details`, `delete_details`, `deploy_model_details`, `undeploy_model_details`, `import_data_details`, `batch_predict_details`, `export_data_details`, `export_model_details`, `export_evaluated_examples_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.
37
45
  # @!attribute [rw] import_data_details
38
46
  # @return [::Google::Cloud::AutoML::V1beta1::ImportDataOperationMetadata]
39
47
  # Details of ImportData operation.
48
+ #
49
+ # Note: The following fields are mutually exclusive: `import_data_details`, `delete_details`, `deploy_model_details`, `undeploy_model_details`, `create_model_details`, `batch_predict_details`, `export_data_details`, `export_model_details`, `export_evaluated_examples_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.
40
50
  # @!attribute [rw] batch_predict_details
41
51
  # @return [::Google::Cloud::AutoML::V1beta1::BatchPredictOperationMetadata]
42
52
  # Details of BatchPredict operation.
53
+ #
54
+ # Note: The following fields are mutually exclusive: `batch_predict_details`, `delete_details`, `deploy_model_details`, `undeploy_model_details`, `create_model_details`, `import_data_details`, `export_data_details`, `export_model_details`, `export_evaluated_examples_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.
43
55
  # @!attribute [rw] export_data_details
44
56
  # @return [::Google::Cloud::AutoML::V1beta1::ExportDataOperationMetadata]
45
57
  # Details of ExportData operation.
58
+ #
59
+ # Note: The following fields are mutually exclusive: `export_data_details`, `delete_details`, `deploy_model_details`, `undeploy_model_details`, `create_model_details`, `import_data_details`, `batch_predict_details`, `export_model_details`, `export_evaluated_examples_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.
46
60
  # @!attribute [rw] export_model_details
47
61
  # @return [::Google::Cloud::AutoML::V1beta1::ExportModelOperationMetadata]
48
62
  # Details of ExportModel operation.
63
+ #
64
+ # Note: The following fields are mutually exclusive: `export_model_details`, `delete_details`, `deploy_model_details`, `undeploy_model_details`, `create_model_details`, `import_data_details`, `batch_predict_details`, `export_data_details`, `export_evaluated_examples_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.
49
65
  # @!attribute [rw] export_evaluated_examples_details
50
66
  # @return [::Google::Cloud::AutoML::V1beta1::ExportEvaluatedExamplesOperationMetadata]
51
67
  # Details of ExportEvaluatedExamples operation.
68
+ #
69
+ # Note: The following fields are mutually exclusive: `export_evaluated_examples_details`, `delete_details`, `deploy_model_details`, `undeploy_model_details`, `create_model_details`, `import_data_details`, `batch_predict_details`, `export_data_details`, `export_model_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.
52
70
  # @!attribute [rw] progress_percent
53
71
  # @return [::Integer]
54
72
  # Output only. Progress of operation. Range: [0, 100].
@@ -115,10 +133,14 @@ module Google
115
133
  # @return [::String]
116
134
  # The full path of the Google Cloud Storage directory created, into which
117
135
  # the exported data is written.
136
+ #
137
+ # Note: The following fields are mutually exclusive: `gcs_output_directory`, `bigquery_output_dataset`. If a field in that set is populated, all other fields in the set will automatically be cleared.
118
138
  # @!attribute [rw] bigquery_output_dataset
119
139
  # @return [::String]
120
140
  # The path of the BigQuery dataset created, in bq://projectId.bqDatasetId
121
141
  # format, into which the exported data is written.
142
+ #
143
+ # Note: The following fields are mutually exclusive: `bigquery_output_dataset`, `gcs_output_directory`. If a field in that set is populated, all other fields in the set will automatically be cleared.
122
144
  class ExportDataOutputInfo
123
145
  include ::Google::Protobuf::MessageExts
124
146
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -145,10 +167,14 @@ module Google
145
167
  # @return [::String]
146
168
  # The full path of the Google Cloud Storage directory created, into which
147
169
  # the prediction output is written.
170
+ #
171
+ # Note: The following fields are mutually exclusive: `gcs_output_directory`, `bigquery_output_dataset`. If a field in that set is populated, all other fields in the set will automatically be cleared.
148
172
  # @!attribute [rw] bigquery_output_dataset
149
173
  # @return [::String]
150
174
  # The path of the BigQuery dataset created, in bq://projectId.bqDatasetId
151
175
  # format, into which the prediction output is written.
176
+ #
177
+ # Note: The following fields are mutually exclusive: `bigquery_output_dataset`, `gcs_output_directory`. If a field in that set is populated, all other fields in the set will automatically be cleared.
152
178
  class BatchPredictOutputInfo
153
179
  include ::Google::Protobuf::MessageExts
154
180
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -340,9 +340,13 @@ module Google
340
340
  # @!attribute [rw] image_object_detection_model_deployment_metadata
341
341
  # @return [::Google::Cloud::AutoML::V1beta1::ImageObjectDetectionModelDeploymentMetadata]
342
342
  # Model deployment metadata specific to Image Object Detection.
343
+ #
344
+ # Note: The following fields are mutually exclusive: `image_object_detection_model_deployment_metadata`, `image_classification_model_deployment_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
343
345
  # @!attribute [rw] image_classification_model_deployment_metadata
344
346
  # @return [::Google::Cloud::AutoML::V1beta1::ImageClassificationModelDeploymentMetadata]
345
347
  # Model deployment metadata specific to Image Classification.
348
+ #
349
+ # Note: The following fields are mutually exclusive: `image_classification_model_deployment_metadata`, `image_object_detection_model_deployment_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
346
350
  # @!attribute [rw] name
347
351
  # @return [::String]
348
352
  # Required. Resource name of the model to deploy.
@@ -106,10 +106,14 @@ module Google
106
106
  # @return [::Float]
107
107
  # Required when optimization_objective is "MAXIMIZE_PRECISION_AT_RECALL".
108
108
  # Must be between 0 and 1, inclusive.
109
+ #
110
+ # Note: The following fields are mutually exclusive: `optimization_objective_recall_value`, `optimization_objective_precision_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
109
111
  # @!attribute [rw] optimization_objective_precision_value
110
112
  # @return [::Float]
111
113
  # Required when optimization_objective is "MAXIMIZE_RECALL_AT_PRECISION".
112
114
  # Must be between 0 and 1, inclusive.
115
+ #
116
+ # Note: The following fields are mutually exclusive: `optimization_objective_precision_value`, `optimization_objective_recall_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
113
117
  # @!attribute [rw] target_column_spec
114
118
  # @return [::Google::Cloud::AutoML::V1beta1::ColumnSpec]
115
119
  # Column spec of the dataset's primary table's column the model is
@@ -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
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-automl-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.13.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-10 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: gapic-common
@@ -16,7 +15,7 @@ dependencies:
16
15
  requirements:
17
16
  - - ">="
18
17
  - !ruby/object:Gem::Version
19
- version: 0.24.0
18
+ version: 0.25.0
20
19
  - - "<"
21
20
  - !ruby/object:Gem::Version
22
21
  version: 2.a
@@ -26,7 +25,7 @@ dependencies:
26
25
  requirements:
27
26
  - - ">="
28
27
  - !ruby/object:Gem::Version
29
- version: 0.24.0
28
+ version: 0.25.0
30
29
  - - "<"
31
30
  - !ruby/object:Gem::Version
32
31
  version: 2.a
@@ -158,7 +157,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
158
157
  licenses:
159
158
  - Apache-2.0
160
159
  metadata: {}
161
- post_install_message:
162
160
  rdoc_options: []
163
161
  require_paths:
164
162
  - lib
@@ -166,15 +164,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
166
164
  requirements:
167
165
  - - ">="
168
166
  - !ruby/object:Gem::Version
169
- version: '2.7'
167
+ version: '3.0'
170
168
  required_rubygems_version: !ruby/object:Gem::Requirement
171
169
  requirements:
172
170
  - - ">="
173
171
  - !ruby/object:Gem::Version
174
172
  version: '0'
175
173
  requirements: []
176
- rubygems_version: 3.5.23
177
- signing_key:
174
+ rubygems_version: 3.6.8
178
175
  specification_version: 4
179
176
  summary: Train high-quality custom machine learning models with minimum effort and
180
177
  machine learning expertise.