google-cloud-automl-v1beta1 0.1.0 → 0.2.3

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 (54) hide show
  1. checksums.yaml +4 -4
  2. data/AUTHENTICATION.md +6 -6
  3. data/README.md +1 -1
  4. data/lib/google/cloud/automl/v1beta1.rb +1 -1
  5. data/lib/google/cloud/automl/v1beta1/automl.rb +1 -1
  6. data/lib/google/cloud/automl/v1beta1/automl/client.rb +497 -492
  7. data/lib/google/cloud/automl/v1beta1/automl/credentials.rb +1 -1
  8. data/lib/google/cloud/automl/v1beta1/automl/operations.rb +109 -103
  9. data/lib/google/cloud/automl/v1beta1/automl/paths.rb +25 -25
  10. data/lib/google/cloud/automl/v1beta1/prediction_service.rb +1 -1
  11. data/lib/google/cloud/automl/v1beta1/prediction_service/client.rb +87 -82
  12. data/lib/google/cloud/automl/v1beta1/prediction_service/credentials.rb +1 -1
  13. data/lib/google/cloud/automl/v1beta1/prediction_service/operations.rb +109 -103
  14. data/lib/google/cloud/automl/v1beta1/prediction_service/paths.rb +3 -3
  15. data/lib/google/cloud/automl/v1beta1/version.rb +1 -1
  16. data/proto_docs/google/api/resource.rb +12 -12
  17. data/proto_docs/google/cloud/automl/v1beta1/annotation_payload.rb +13 -13
  18. data/proto_docs/google/cloud/automl/v1beta1/annotation_spec.rb +5 -5
  19. data/proto_docs/google/cloud/automl/v1beta1/classification.rb +43 -43
  20. data/proto_docs/google/cloud/automl/v1beta1/column_spec.rb +12 -12
  21. data/proto_docs/google/cloud/automl/v1beta1/data_items.rb +49 -49
  22. data/proto_docs/google/cloud/automl/v1beta1/data_stats.rb +65 -65
  23. data/proto_docs/google/cloud/automl/v1beta1/data_types.rb +23 -23
  24. data/proto_docs/google/cloud/automl/v1beta1/dataset.rb +17 -17
  25. data/proto_docs/google/cloud/automl/v1beta1/detection.rb +32 -32
  26. data/proto_docs/google/cloud/automl/v1beta1/geometry.rb +7 -7
  27. data/proto_docs/google/cloud/automl/v1beta1/image.rb +38 -38
  28. data/proto_docs/google/cloud/automl/v1beta1/io.rb +92 -99
  29. data/proto_docs/google/cloud/automl/v1beta1/model.rb +17 -17
  30. data/proto_docs/google/cloud/automl/v1beta1/model_evaluation.rb +17 -17
  31. data/proto_docs/google/cloud/automl/v1beta1/operations.rb +56 -56
  32. data/proto_docs/google/cloud/automl/v1beta1/prediction_service.rb +41 -41
  33. data/proto_docs/google/cloud/automl/v1beta1/ranges.rb +4 -4
  34. data/proto_docs/google/cloud/automl/v1beta1/regression.rb +7 -7
  35. data/proto_docs/google/cloud/automl/v1beta1/service.rb +167 -167
  36. data/proto_docs/google/cloud/automl/v1beta1/table_spec.rb +9 -9
  37. data/proto_docs/google/cloud/automl/v1beta1/tables.rb +47 -47
  38. data/proto_docs/google/cloud/automl/v1beta1/temporal.rb +4 -4
  39. data/proto_docs/google/cloud/automl/v1beta1/text.rb +15 -15
  40. data/proto_docs/google/cloud/automl/v1beta1/text_extraction.rb +14 -14
  41. data/proto_docs/google/cloud/automl/v1beta1/text_segment.rb +5 -5
  42. data/proto_docs/google/cloud/automl/v1beta1/text_sentiment.rb +15 -15
  43. data/proto_docs/google/cloud/automl/v1beta1/translation.rb +16 -16
  44. data/proto_docs/google/cloud/automl/v1beta1/video.rb +8 -8
  45. data/proto_docs/google/longrunning/operations.rb +30 -30
  46. data/proto_docs/google/protobuf/any.rb +4 -4
  47. data/proto_docs/google/protobuf/duration.rb +4 -4
  48. data/proto_docs/google/protobuf/empty.rb +2 -2
  49. data/proto_docs/google/protobuf/field_mask.rb +3 -3
  50. data/proto_docs/google/protobuf/struct.rb +18 -18
  51. data/proto_docs/google/protobuf/timestamp.rb +4 -4
  52. data/proto_docs/google/rpc/status.rb +6 -6
  53. metadata +33 -6
  54. data/lib/google/cloud/common_resources_pb.rb +0 -15
@@ -25,7 +25,7 @@ module Google
25
25
  #
26
26
  # The format of input depends on dataset_metadata the Dataset into which
27
27
  # the import is happening has. As input source the
28
- # {Google::Cloud::AutoML::V1beta1::InputConfig#gcs_source gcs_source}
28
+ # {::Google::Cloud::AutoML::V1beta1::InputConfig#gcs_source gcs_source}
29
29
  # is expected, unless specified otherwise. Additionally any input .CSV file
30
30
  # by itself must be 100MB or smaller, unless specified otherwise.
31
31
  # If an "example" file (that is, image, video etc.) with identical content
@@ -292,9 +292,9 @@ module Google
292
292
  #
293
293
  # * For Tables:
294
294
  # Either
295
- # {Google::Cloud::AutoML::V1beta1::InputConfig#gcs_source gcs_source} or
295
+ # {::Google::Cloud::AutoML::V1beta1::InputConfig#gcs_source gcs_source} or
296
296
  #
297
- # {Google::Cloud::AutoML::V1beta1::InputConfig#bigquery_source bigquery_source}
297
+ # {::Google::Cloud::AutoML::V1beta1::InputConfig#bigquery_source bigquery_source}
298
298
  # can be used. All inputs is concatenated into a single
299
299
  #
300
300
  # [primary_table][google.cloud.automl.v1beta1.TablesDatasetMetadata.primary_table_name]
@@ -379,15 +379,15 @@ module Google
379
379
  # failures, up to a certain count cap, is listed in
380
380
  # Operation.metadata.partial_failures.
381
381
  # @!attribute [rw] gcs_source
382
- # @return [Google::Cloud::AutoML::V1beta1::GcsSource]
382
+ # @return [::Google::Cloud::AutoML::V1beta1::GcsSource]
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
386
  # @!attribute [rw] bigquery_source
387
- # @return [Google::Cloud::AutoML::V1beta1::BigQuerySource]
387
+ # @return [::Google::Cloud::AutoML::V1beta1::BigQuerySource]
388
388
  # The BigQuery location for the input content.
389
389
  # @!attribute [rw] params
390
- # @return [Google::Protobuf::Map{String => String}]
390
+ # @return [::Google::Protobuf::Map{::String => ::String}]
391
391
  # Additional domain-specific parameters describing the semantic of the
392
392
  # imported data, any string must be up to 25000
393
393
  # characters long.
@@ -398,16 +398,16 @@ module Google
398
398
  # schema (columns' DataTypes) of the table the data is being imported
399
399
  # into. Allowed values: "1".
400
400
  class InputConfig
401
- include Google::Protobuf::MessageExts
402
- extend Google::Protobuf::MessageExts::ClassMethods
401
+ include ::Google::Protobuf::MessageExts
402
+ extend ::Google::Protobuf::MessageExts::ClassMethods
403
403
 
404
404
  # @!attribute [rw] key
405
- # @return [String]
405
+ # @return [::String]
406
406
  # @!attribute [rw] value
407
- # @return [String]
407
+ # @return [::String]
408
408
  class ParamsEntry
409
- include Google::Protobuf::MessageExts
410
- extend Google::Protobuf::MessageExts::ClassMethods
409
+ include ::Google::Protobuf::MessageExts
410
+ extend ::Google::Protobuf::MessageExts::ClassMethods
411
411
  end
412
412
  end
413
413
 
@@ -415,7 +415,7 @@ module Google
415
415
  #
416
416
  # The format of input depends on the ML problem of the model used for
417
417
  # prediction. As input source the
418
- # {Google::Cloud::AutoML::V1beta1::InputConfig#gcs_source gcs_source}
418
+ # {::Google::Cloud::AutoML::V1beta1::InputConfig#gcs_source gcs_source}
419
419
  # is expected, unless specified otherwise.
420
420
  #
421
421
  # The formats are represented in EBNF with commas being literal and with
@@ -552,9 +552,9 @@ module Google
552
552
  #
553
553
  # * For Tables:
554
554
  # Either
555
- # {Google::Cloud::AutoML::V1beta1::InputConfig#gcs_source gcs_source} or
555
+ # {::Google::Cloud::AutoML::V1beta1::InputConfig#gcs_source gcs_source} or
556
556
  #
557
- # {Google::Cloud::AutoML::V1beta1::InputConfig#bigquery_source bigquery_source}.
557
+ # {::Google::Cloud::AutoML::V1beta1::InputConfig#bigquery_source bigquery_source}.
558
558
  # GCS case:
559
559
  # CSV file(s), each by itself 10GB or smaller and total size must be
560
560
  # 100GB or smaller, where first file must have a header containing
@@ -565,7 +565,7 @@ module Google
565
565
  #
566
566
  # [input_feature_column_specs'][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
567
567
  #
568
- # {Google::Cloud::AutoML::V1beta1::ColumnSpec#display_name display_name-s}
568
+ # {::Google::Cloud::AutoML::V1beta1::ColumnSpec#display_name display_name-s}
569
569
  # (order doesn't matter). The columns corresponding to the model's
570
570
  # input feature column specs must contain values compatible with the
571
571
  # column spec's data types. Prediction on all the rows, i.e. the CSV
@@ -589,7 +589,7 @@ module Google
589
589
  #
590
590
  # [input_feature_column_specs'][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
591
591
  #
592
- # {Google::Cloud::AutoML::V1beta1::ColumnSpec#display_name display_name-s}
592
+ # {::Google::Cloud::AutoML::V1beta1::ColumnSpec#display_name display_name-s}
593
593
  # (order doesn't matter). The columns corresponding to the model's
594
594
  # input feature column specs must contain values compatible with the
595
595
  # column spec's data types. Prediction on all the rows of the table
@@ -624,26 +624,26 @@ module Google
624
624
  # per-row failures, up to a certain count cap, will be listed in
625
625
  # Operation.metadata.partial_failures.
626
626
  # @!attribute [rw] gcs_source
627
- # @return [Google::Cloud::AutoML::V1beta1::GcsSource]
627
+ # @return [::Google::Cloud::AutoML::V1beta1::GcsSource]
628
628
  # The Google Cloud Storage location for the input content.
629
629
  # @!attribute [rw] bigquery_source
630
- # @return [Google::Cloud::AutoML::V1beta1::BigQuerySource]
630
+ # @return [::Google::Cloud::AutoML::V1beta1::BigQuerySource]
631
631
  # The BigQuery location for the input content.
632
632
  class BatchPredictInputConfig
633
- include Google::Protobuf::MessageExts
634
- extend Google::Protobuf::MessageExts::ClassMethods
633
+ include ::Google::Protobuf::MessageExts
634
+ extend ::Google::Protobuf::MessageExts::ClassMethods
635
635
  end
636
636
 
637
- # Input configuration of a {Google::Cloud::AutoML::V1beta1::Document Document}.
637
+ # Input configuration of a {::Google::Cloud::AutoML::V1beta1::Document Document}.
638
638
  # @!attribute [rw] gcs_source
639
- # @return [Google::Cloud::AutoML::V1beta1::GcsSource]
639
+ # @return [::Google::Cloud::AutoML::V1beta1::GcsSource]
640
640
  # The Google Cloud Storage location of the document file. Only a single path
641
641
  # should be given.
642
642
  # Max supported size: 512MB.
643
643
  # Supported extensions: .PDF.
644
644
  class DocumentInputConfig
645
- include Google::Protobuf::MessageExts
646
- extend Google::Protobuf::MessageExts::ClassMethods
645
+ include ::Google::Protobuf::MessageExts
646
+ extend ::Google::Protobuf::MessageExts::ClassMethods
647
647
  end
648
648
 
649
649
  # * For Translation:
@@ -659,14 +659,14 @@ module Google
659
659
  # BigQuery.
660
660
  # GCS case:
661
661
  #
662
- # {Google::Cloud::AutoML::V1beta1::OutputConfig#gcs_destination gcs_destination}
662
+ # {::Google::Cloud::AutoML::V1beta1::OutputConfig#gcs_destination gcs_destination}
663
663
  # must be set. Exported are CSV file(s) `tables_1.csv`,
664
664
  # `tables_2.csv`,...,`tables_N.csv` with each having as header line
665
665
  # the table's column names, and all other lines contain values for
666
666
  # the header columns.
667
667
  # BigQuery case:
668
668
  #
669
- # {Google::Cloud::AutoML::V1beta1::OutputConfig#bigquery_destination bigquery_destination}
669
+ # {::Google::Cloud::AutoML::V1beta1::OutputConfig#bigquery_destination bigquery_destination}
670
670
  # pointing to a BigQuery project must be set. In the given project a
671
671
  # new dataset will be created with name
672
672
  #
@@ -678,7 +678,7 @@ module Google
678
678
  # dataset a new table called `primary_table` will be created, and
679
679
  # filled with precisely the same data as this obtained on import.
680
680
  # @!attribute [rw] gcs_destination
681
- # @return [Google::Cloud::AutoML::V1beta1::GcsDestination]
681
+ # @return [::Google::Cloud::AutoML::V1beta1::GcsDestination]
682
682
  # The Google Cloud Storage location where the output is to be written to.
683
683
  # For Image Object Detection, Text Extraction, Video Classification and
684
684
  # Tables, in the given directory a new directory will be created with name:
@@ -686,18 +686,18 @@ module Google
686
686
  # timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. All export
687
687
  # output will be written into that directory.
688
688
  # @!attribute [rw] bigquery_destination
689
- # @return [Google::Cloud::AutoML::V1beta1::BigQueryDestination]
689
+ # @return [::Google::Cloud::AutoML::V1beta1::BigQueryDestination]
690
690
  # The BigQuery location where the output is to be written to.
691
691
  class OutputConfig
692
- include Google::Protobuf::MessageExts
693
- extend Google::Protobuf::MessageExts::ClassMethods
692
+ include ::Google::Protobuf::MessageExts
693
+ extend ::Google::Protobuf::MessageExts::ClassMethods
694
694
  end
695
695
 
696
696
  # Output configuration for BatchPredict Action.
697
697
  #
698
698
  # As destination the
699
699
  #
700
- # {Google::Cloud::AutoML::V1beta1::BatchPredictOutputConfig#gcs_destination gcs_destination}
700
+ # {::Google::Cloud::AutoML::V1beta1::BatchPredictOutputConfig#gcs_destination gcs_destination}
701
701
  # must be set unless specified otherwise for a domain. If gcs_destination is
702
702
  # set then in the given directory a new directory is created. Its name
703
703
  # will be
@@ -723,8 +723,7 @@ module Google
723
723
  # that wraps the same "ID" : "<id_value>" but here followed by
724
724
  # exactly one
725
725
  #
726
- # [`google.rpc.Status`](https:
727
- # //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto)
726
+ # [`google.rpc.Status`](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto)
728
727
  # containing only `code` and `message`fields.
729
728
  #
730
729
  # * For Image Object Detection:
@@ -745,8 +744,7 @@ module Google
745
744
  # that wraps the same "ID" : "<id_value>" but here followed by
746
745
  # exactly one
747
746
  #
748
- # [`google.rpc.Status`](https:
749
- # //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto)
747
+ # [`google.rpc.Status`](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto)
750
748
  # containing only `code` and `message`fields.
751
749
  # * For Video Classification:
752
750
  # In the created directory a video_classification.csv file, and a .JSON
@@ -820,8 +818,7 @@ module Google
820
818
  # proto that wraps input text snippet or input text file followed by
821
819
  # exactly one
822
820
  #
823
- # [`google.rpc.Status`](https:
824
- # //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto)
821
+ # [`google.rpc.Status`](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto)
825
822
  # containing only `code` and `message`.
826
823
  #
827
824
  # * For Text Sentiment:
@@ -844,8 +841,7 @@ module Google
844
841
  # proto that wraps input text snippet or input text file followed by
845
842
  # exactly one
846
843
  #
847
- # [`google.rpc.Status`](https:
848
- # //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto)
844
+ # [`google.rpc.Status`](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto)
849
845
  # containing only `code` and `message`.
850
846
  #
851
847
  # * For Text Extraction:
@@ -880,17 +876,16 @@ module Google
880
876
  # or the document proto (in case of document) but here followed by
881
877
  # exactly one
882
878
  #
883
- # [`google.rpc.Status`](https:
884
- # //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto)
879
+ # [`google.rpc.Status`](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto)
885
880
  # containing only `code` and `message`.
886
881
  #
887
882
  # * For Tables:
888
883
  # Output depends on whether
889
884
  #
890
- # {Google::Cloud::AutoML::V1beta1::BatchPredictOutputConfig#gcs_destination gcs_destination}
885
+ # {::Google::Cloud::AutoML::V1beta1::BatchPredictOutputConfig#gcs_destination gcs_destination}
891
886
  # or
892
887
  #
893
- # {Google::Cloud::AutoML::V1beta1::BatchPredictOutputConfig#bigquery_destination bigquery_destination}
888
+ # {::Google::Cloud::AutoML::V1beta1::BatchPredictOutputConfig#bigquery_destination bigquery_destination}
894
889
  # is set (either is allowed).
895
890
  # GCS case:
896
891
  # In the created directory files `tables_1.csv`, `tables_2.csv`,...,
@@ -901,18 +896,18 @@ module Google
901
896
  # [prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type]:
902
897
  # Each .csv file will contain a header, listing all columns'
903
898
  #
904
- # {Google::Cloud::AutoML::V1beta1::ColumnSpec#display_name display_name-s}
899
+ # {::Google::Cloud::AutoML::V1beta1::ColumnSpec#display_name display_name-s}
905
900
  # given on input followed by M target column names in the format of
906
901
  #
907
- # "<{Google::Cloud::AutoML::V1beta1::TablesModelMetadata#target_column_spec target_column_specs}
902
+ # "<{::Google::Cloud::AutoML::V1beta1::TablesModelMetadata#target_column_spec target_column_specs}
908
903
  #
909
- # {Google::Cloud::AutoML::V1beta1::ColumnSpec#display_name display_name}>_<target
904
+ # {::Google::Cloud::AutoML::V1beta1::ColumnSpec#display_name display_name}>_<target
910
905
  # value>_score" where M is the number of distinct target values,
911
906
  # i.e. number of distinct values in the target column of the table
912
907
  # used to train the model. Subsequent lines will contain the
913
908
  # respective values of successfully predicted rows, with the last,
914
909
  # i.e. the target, columns having the corresponding prediction
915
- # {Google::Cloud::AutoML::V1beta1::TablesAnnotation#score scores}.
910
+ # {::Google::Cloud::AutoML::V1beta1::TablesAnnotation#score scores}.
916
911
  # For REGRESSION and FORECASTING
917
912
  #
918
913
  # [prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type]:
@@ -921,9 +916,9 @@ module Google
921
916
  # on input followed by the predicted target column with name in the
922
917
  # format of
923
918
  #
924
- # "predicted_<{Google::Cloud::AutoML::V1beta1::TablesModelMetadata#target_column_spec target_column_specs}
919
+ # "predicted_<{::Google::Cloud::AutoML::V1beta1::TablesModelMetadata#target_column_spec target_column_specs}
925
920
  #
926
- # {Google::Cloud::AutoML::V1beta1::ColumnSpec#display_name display_name}>"
921
+ # {::Google::Cloud::AutoML::V1beta1::ColumnSpec#display_name display_name}>"
927
922
  # Subsequent lines will contain the respective values of
928
923
  # successfully predicted rows, with the last, i.e. the target,
929
924
  # column having the predicted target value.
@@ -933,13 +928,12 @@ module Google
933
928
  # will have analogous format as `tables_*.csv`, but always with a
934
929
  # single target column having
935
930
  #
936
- # [`google.rpc.Status`](https:
937
- # //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto)
931
+ # [`google.rpc.Status`](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto)
938
932
  # represented as a JSON string, and containing only `code` and
939
933
  # `message`.
940
934
  # BigQuery case:
941
935
  #
942
- # {Google::Cloud::AutoML::V1beta1::OutputConfig#bigquery_destination bigquery_destination}
936
+ # {::Google::Cloud::AutoML::V1beta1::OutputConfig#bigquery_destination bigquery_destination}
943
937
  # pointing to a BigQuery project must be set. In the given project a
944
938
  # new dataset will be created with name
945
939
  # `prediction_<model-display-name>_<timestamp-of-prediction-call>`
@@ -950,46 +944,45 @@ module Google
950
944
  # two tables will be created, `predictions`, and `errors`.
951
945
  # The `predictions` table's column names will be the input columns'
952
946
  #
953
- # {Google::Cloud::AutoML::V1beta1::ColumnSpec#display_name display_name-s}
947
+ # {::Google::Cloud::AutoML::V1beta1::ColumnSpec#display_name display_name-s}
954
948
  # followed by the target column with name in the format of
955
949
  #
956
- # "predicted_<{Google::Cloud::AutoML::V1beta1::TablesModelMetadata#target_column_spec target_column_specs}
950
+ # "predicted_<{::Google::Cloud::AutoML::V1beta1::TablesModelMetadata#target_column_spec target_column_specs}
957
951
  #
958
- # {Google::Cloud::AutoML::V1beta1::ColumnSpec#display_name display_name}>"
952
+ # {::Google::Cloud::AutoML::V1beta1::ColumnSpec#display_name display_name}>"
959
953
  # The input feature columns will contain the respective values of
960
954
  # successfully predicted rows, with the target column having an
961
955
  # ARRAY of
962
956
  #
963
- # {Google::Cloud::AutoML::V1beta1::AnnotationPayload AnnotationPayloads},
957
+ # {::Google::Cloud::AutoML::V1beta1::AnnotationPayload AnnotationPayloads},
964
958
  # represented as STRUCT-s, containing
965
- # {Google::Cloud::AutoML::V1beta1::TablesAnnotation TablesAnnotation}.
959
+ # {::Google::Cloud::AutoML::V1beta1::TablesAnnotation TablesAnnotation}.
966
960
  # The `errors` table contains rows for which the prediction has
967
961
  # failed, it has analogous input columns while the target column name
968
962
  # is in the format of
969
963
  #
970
- # "errors_<{Google::Cloud::AutoML::V1beta1::TablesModelMetadata#target_column_spec target_column_specs}
964
+ # "errors_<{::Google::Cloud::AutoML::V1beta1::TablesModelMetadata#target_column_spec target_column_specs}
971
965
  #
972
- # {Google::Cloud::AutoML::V1beta1::ColumnSpec#display_name display_name}>",
966
+ # {::Google::Cloud::AutoML::V1beta1::ColumnSpec#display_name display_name}>",
973
967
  # and as a value has
974
968
  #
975
- # [`google.rpc.Status`](https:
976
- # //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto)
969
+ # [`google.rpc.Status`](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto)
977
970
  # represented as a STRUCT, and containing only `code` and `message`.
978
971
  # @!attribute [rw] gcs_destination
979
- # @return [Google::Cloud::AutoML::V1beta1::GcsDestination]
972
+ # @return [::Google::Cloud::AutoML::V1beta1::GcsDestination]
980
973
  # The Google Cloud Storage location of the directory where the output is to
981
974
  # be written to.
982
975
  # @!attribute [rw] bigquery_destination
983
- # @return [Google::Cloud::AutoML::V1beta1::BigQueryDestination]
976
+ # @return [::Google::Cloud::AutoML::V1beta1::BigQueryDestination]
984
977
  # The BigQuery location where the output is to be written to.
985
978
  class BatchPredictOutputConfig
986
- include Google::Protobuf::MessageExts
987
- extend Google::Protobuf::MessageExts::ClassMethods
979
+ include ::Google::Protobuf::MessageExts
980
+ extend ::Google::Protobuf::MessageExts::ClassMethods
988
981
  end
989
982
 
990
983
  # Output configuration for ModelExport Action.
991
984
  # @!attribute [rw] gcs_destination
992
- # @return [Google::Cloud::AutoML::V1beta1::GcsDestination]
985
+ # @return [::Google::Cloud::AutoML::V1beta1::GcsDestination]
993
986
  # The Google Cloud Storage location where the model is to be written to.
994
987
  # This location may only be set for the following model formats:
995
988
  # "tflite", "edgetpu_tflite", "tf_saved_model", "tf_js", "core_ml".
@@ -1000,14 +993,14 @@ module Google
1000
993
  # will be created. Inside the model and any of its supporting files
1001
994
  # will be written.
1002
995
  # @!attribute [rw] gcr_destination
1003
- # @return [Google::Cloud::AutoML::V1beta1::GcrDestination]
996
+ # @return [::Google::Cloud::AutoML::V1beta1::GcrDestination]
1004
997
  # The GCR location where model image is to be pushed to. This location
1005
998
  # may only be set for the following model formats:
1006
999
  # "docker".
1007
1000
  #
1008
1001
  # The model image will be created under the given URI.
1009
1002
  # @!attribute [rw] model_format
1010
- # @return [String]
1003
+ # @return [::String]
1011
1004
  # The format in which the model must be exported. The available, and default,
1012
1005
  # formats depend on the problem and model type (if given problem and type
1013
1006
  # combination doesn't have a format listed, it means its models are not
@@ -1038,7 +1031,7 @@ module Google
1038
1031
  # //cloud.google.com/vision/automl/docs/containers-gcs-quickstart)
1039
1032
  # * core_ml - Used for iOS mobile devices.
1040
1033
  # @!attribute [rw] params
1041
- # @return [Google::Protobuf::Map{String => String}]
1034
+ # @return [::Google::Protobuf::Map{::String => ::String}]
1042
1035
  # Additional model-type and format specific parameters describing the
1043
1036
  # requirements for the to be exported model files, any string must be up to
1044
1037
  # 25000 characters long.
@@ -1047,16 +1040,16 @@ module Google
1047
1040
  # `cpu_architecture` - (string) "x86_64" (default).
1048
1041
  # `gpu_architecture` - (string) "none" (default), "nvidia".
1049
1042
  class ModelExportOutputConfig
1050
- include Google::Protobuf::MessageExts
1051
- extend Google::Protobuf::MessageExts::ClassMethods
1043
+ include ::Google::Protobuf::MessageExts
1044
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1052
1045
 
1053
1046
  # @!attribute [rw] key
1054
- # @return [String]
1047
+ # @return [::String]
1055
1048
  # @!attribute [rw] value
1056
- # @return [String]
1049
+ # @return [::String]
1057
1050
  class ParamsEntry
1058
- include Google::Protobuf::MessageExts
1059
- extend Google::Protobuf::MessageExts::ClassMethods
1051
+ include ::Google::Protobuf::MessageExts
1052
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1060
1053
  end
1061
1054
  end
1062
1055
 
@@ -1067,7 +1060,7 @@ module Google
1067
1060
  #
1068
1061
  # * For Tables:
1069
1062
  #
1070
- # {Google::Cloud::AutoML::V1beta1::OutputConfig#bigquery_destination bigquery_destination}
1063
+ # {::Google::Cloud::AutoML::V1beta1::OutputConfig#bigquery_destination bigquery_destination}
1071
1064
  # pointing to a BigQuery project must be set. In the given project a
1072
1065
  # new dataset will be created with name
1073
1066
  #
@@ -1078,50 +1071,50 @@ module Google
1078
1071
  # format. In the dataset an `evaluated_examples` table will be
1079
1072
  # created. It will have all the same columns as the
1080
1073
  #
1081
- # {Google::Cloud::AutoML::V1beta1::TablesDatasetMetadata#primary_table_spec_id primary_table}
1074
+ # {::Google::Cloud::AutoML::V1beta1::TablesDatasetMetadata#primary_table_spec_id primary_table}
1082
1075
  # of the
1083
- # {Google::Cloud::AutoML::V1beta1::Model#dataset_id dataset} from which
1076
+ # {::Google::Cloud::AutoML::V1beta1::Model#dataset_id dataset} from which
1084
1077
  # the model was created, as they were at the moment of model's
1085
1078
  # evaluation (this includes the target column with its ground
1086
1079
  # truth), followed by a column called "predicted_<target_column>". That
1087
1080
  # last column will contain the model's prediction result for each
1088
1081
  # respective row, given as ARRAY of
1089
- # {Google::Cloud::AutoML::V1beta1::AnnotationPayload AnnotationPayloads},
1082
+ # {::Google::Cloud::AutoML::V1beta1::AnnotationPayload AnnotationPayloads},
1090
1083
  # represented as STRUCT-s, containing
1091
- # {Google::Cloud::AutoML::V1beta1::TablesAnnotation TablesAnnotation}.
1084
+ # {::Google::Cloud::AutoML::V1beta1::TablesAnnotation TablesAnnotation}.
1092
1085
  # @!attribute [rw] bigquery_destination
1093
- # @return [Google::Cloud::AutoML::V1beta1::BigQueryDestination]
1086
+ # @return [::Google::Cloud::AutoML::V1beta1::BigQueryDestination]
1094
1087
  # The BigQuery location where the output is to be written to.
1095
1088
  class ExportEvaluatedExamplesOutputConfig
1096
- include Google::Protobuf::MessageExts
1097
- extend Google::Protobuf::MessageExts::ClassMethods
1089
+ include ::Google::Protobuf::MessageExts
1090
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1098
1091
  end
1099
1092
 
1100
1093
  # The Google Cloud Storage location for the input content.
1101
1094
  # @!attribute [rw] input_uris
1102
- # @return [Array<String>]
1095
+ # @return [::Array<::String>]
1103
1096
  # Required. Google Cloud Storage URIs to input files, up to 2000 characters
1104
1097
  # long. Accepted forms:
1105
1098
  # * Full object path, e.g. gs://bucket/directory/object.csv
1106
1099
  class GcsSource
1107
- include Google::Protobuf::MessageExts
1108
- extend Google::Protobuf::MessageExts::ClassMethods
1100
+ include ::Google::Protobuf::MessageExts
1101
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1109
1102
  end
1110
1103
 
1111
1104
  # The BigQuery location for the input content.
1112
1105
  # @!attribute [rw] input_uri
1113
- # @return [String]
1106
+ # @return [::String]
1114
1107
  # Required. BigQuery URI to a table, up to 2000 characters long.
1115
1108
  # Accepted forms:
1116
1109
  # * BigQuery path e.g. bq://projectId.bqDatasetId.bqTableId
1117
1110
  class BigQuerySource
1118
- include Google::Protobuf::MessageExts
1119
- extend Google::Protobuf::MessageExts::ClassMethods
1111
+ include ::Google::Protobuf::MessageExts
1112
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1120
1113
  end
1121
1114
 
1122
1115
  # The Google Cloud Storage location where the output is to be written to.
1123
1116
  # @!attribute [rw] output_uri_prefix
1124
- # @return [String]
1117
+ # @return [::String]
1125
1118
  # Required. Google Cloud Storage URI to output directory, up to 2000
1126
1119
  # characters long.
1127
1120
  # Accepted forms:
@@ -1129,24 +1122,24 @@ module Google
1129
1122
  # The requesting user must have write permission to the bucket.
1130
1123
  # The directory is created if it doesn't exist.
1131
1124
  class GcsDestination
1132
- include Google::Protobuf::MessageExts
1133
- extend Google::Protobuf::MessageExts::ClassMethods
1125
+ include ::Google::Protobuf::MessageExts
1126
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1134
1127
  end
1135
1128
 
1136
1129
  # The BigQuery location for the output content.
1137
1130
  # @!attribute [rw] output_uri
1138
- # @return [String]
1131
+ # @return [::String]
1139
1132
  # Required. BigQuery URI to a project, up to 2000 characters long.
1140
1133
  # Accepted forms:
1141
1134
  # * BigQuery path e.g. bq://projectId
1142
1135
  class BigQueryDestination
1143
- include Google::Protobuf::MessageExts
1144
- extend Google::Protobuf::MessageExts::ClassMethods
1136
+ include ::Google::Protobuf::MessageExts
1137
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1145
1138
  end
1146
1139
 
1147
1140
  # The GCR location where the image must be pushed to.
1148
1141
  # @!attribute [rw] output_uri
1149
- # @return [String]
1142
+ # @return [::String]
1150
1143
  # Required. Google Contained Registry URI of the new image, up to 2000
1151
1144
  # characters long. See
1152
1145
  #
@@ -1159,8 +1152,8 @@ module Google
1159
1152
  #
1160
1153
  # The requesting user must have permission to push images the project.
1161
1154
  class GcrDestination
1162
- include Google::Protobuf::MessageExts
1163
- extend Google::Protobuf::MessageExts::ClassMethods
1155
+ include ::Google::Protobuf::MessageExts
1156
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1164
1157
  end
1165
1158
  end
1166
1159
  end