google-cloud-automl-v1beta1 0.11.1 → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +31 -21
  3. data/lib/google/cloud/automl/v1beta1/automl/client.rb +52 -25
  4. data/lib/google/cloud/automl/v1beta1/automl/operations.rb +19 -15
  5. data/lib/google/cloud/automl/v1beta1/automl/rest/client.rb +52 -25
  6. data/lib/google/cloud/automl/v1beta1/automl/rest/operations.rb +59 -45
  7. data/lib/google/cloud/automl/v1beta1/automl/rest/service_stub.rb +206 -146
  8. data/lib/google/cloud/automl/v1beta1/prediction_service/client.rb +35 -3
  9. data/lib/google/cloud/automl/v1beta1/prediction_service/operations.rb +19 -15
  10. data/lib/google/cloud/automl/v1beta1/prediction_service/rest/client.rb +35 -3
  11. data/lib/google/cloud/automl/v1beta1/prediction_service/rest/operations.rb +59 -45
  12. data/lib/google/cloud/automl/v1beta1/prediction_service/rest/service_stub.rb +30 -14
  13. data/lib/google/cloud/automl/v1beta1/version.rb +1 -1
  14. data/proto_docs/google/api/client.rb +39 -0
  15. data/proto_docs/google/cloud/automl/v1beta1/annotation_payload.rb +16 -0
  16. data/proto_docs/google/cloud/automl/v1beta1/data_items.rb +12 -0
  17. data/proto_docs/google/cloud/automl/v1beta1/data_stats.rb +12 -0
  18. data/proto_docs/google/cloud/automl/v1beta1/data_types.rb +6 -0
  19. data/proto_docs/google/cloud/automl/v1beta1/dataset.rb +18 -0
  20. data/proto_docs/google/cloud/automl/v1beta1/io.rb +20 -0
  21. data/proto_docs/google/cloud/automl/v1beta1/model.rb +18 -0
  22. data/proto_docs/google/cloud/automl/v1beta1/model_evaluation.rb +14 -0
  23. data/proto_docs/google/cloud/automl/v1beta1/operations.rb +26 -0
  24. data/proto_docs/google/cloud/automl/v1beta1/service.rb +4 -0
  25. data/proto_docs/google/cloud/automl/v1beta1/tables.rb +4 -0
  26. data/proto_docs/google/longrunning/operations.rb +23 -14
  27. data/proto_docs/google/protobuf/struct.rb +12 -0
  28. metadata +6 -9
@@ -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,9 +40,11 @@ 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
- # The normal response of the operation in case of success. If the original
47
+ # The normal, successful response of the operation. If the original
46
48
  # method returns no data on success, such as `Delete`, the response is
47
49
  # `google.protobuf.Empty`. If the original method is standard
48
50
  # `Get`/`Create`/`Update`, the response should be the resource. For other
@@ -50,12 +52,15 @@ 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
56
60
  end
57
61
 
58
- # The request message for Operations.GetOperation.
62
+ # The request message for
63
+ # Operations.GetOperation.
59
64
  # @!attribute [rw] name
60
65
  # @return [::String]
61
66
  # The name of the operation resource.
@@ -64,7 +69,8 @@ module Google
64
69
  extend ::Google::Protobuf::MessageExts::ClassMethods
65
70
  end
66
71
 
67
- # The request message for Operations.ListOperations.
72
+ # The request message for
73
+ # Operations.ListOperations.
68
74
  # @!attribute [rw] name
69
75
  # @return [::String]
70
76
  # The name of the operation's parent resource.
@@ -82,7 +88,8 @@ module Google
82
88
  extend ::Google::Protobuf::MessageExts::ClassMethods
83
89
  end
84
90
 
85
- # The response message for Operations.ListOperations.
91
+ # The response message for
92
+ # Operations.ListOperations.
86
93
  # @!attribute [rw] operations
87
94
  # @return [::Array<::Google::Longrunning::Operation>]
88
95
  # A list of operations that matches the specified filter in the request.
@@ -94,7 +101,8 @@ module Google
94
101
  extend ::Google::Protobuf::MessageExts::ClassMethods
95
102
  end
96
103
 
97
- # The request message for Operations.CancelOperation.
104
+ # The request message for
105
+ # Operations.CancelOperation.
98
106
  # @!attribute [rw] name
99
107
  # @return [::String]
100
108
  # The name of the operation resource to be cancelled.
@@ -103,7 +111,8 @@ module Google
103
111
  extend ::Google::Protobuf::MessageExts::ClassMethods
104
112
  end
105
113
 
106
- # The request message for Operations.DeleteOperation.
114
+ # The request message for
115
+ # Operations.DeleteOperation.
107
116
  # @!attribute [rw] name
108
117
  # @return [::String]
109
118
  # The name of the operation resource to be deleted.
@@ -112,7 +121,8 @@ module Google
112
121
  extend ::Google::Protobuf::MessageExts::ClassMethods
113
122
  end
114
123
 
115
- # The request message for Operations.WaitOperation.
124
+ # The request message for
125
+ # Operations.WaitOperation.
116
126
  # @!attribute [rw] name
117
127
  # @return [::String]
118
128
  # The name of the operation resource to wait on.
@@ -130,13 +140,12 @@ module Google
130
140
  #
131
141
  # Example:
132
142
  #
133
- # rpc LongRunningRecognize(LongRunningRecognizeRequest)
134
- # returns (google.longrunning.Operation) {
135
- # option (google.longrunning.operation_info) = {
136
- # response_type: "LongRunningRecognizeResponse"
137
- # metadata_type: "LongRunningRecognizeMetadata"
138
- # };
139
- # }
143
+ # rpc Export(ExportRequest) returns (google.longrunning.Operation) {
144
+ # option (google.longrunning.operation_info) = {
145
+ # response_type: "ExportResponse"
146
+ # metadata_type: "ExportMetadata"
147
+ # };
148
+ # }
140
149
  # @!attribute [rw] response_type
141
150
  # @return [::String]
142
151
  # Required. The message name of the primary return type for this
@@ -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