google-cloud-automl-v1beta1 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +6 -6
- data/README.md +1 -1
- data/lib/google/cloud/automl/v1beta1.rb +1 -1
- data/lib/google/cloud/automl/v1beta1/automl.rb +1 -1
- data/lib/google/cloud/automl/v1beta1/automl/client.rb +488 -488
- data/lib/google/cloud/automl/v1beta1/automl/credentials.rb +1 -1
- data/lib/google/cloud/automl/v1beta1/automl/operations.rb +100 -100
- data/lib/google/cloud/automl/v1beta1/automl/paths.rb +25 -25
- data/lib/google/cloud/automl/v1beta1/prediction_service.rb +1 -1
- data/lib/google/cloud/automl/v1beta1/prediction_service/client.rb +78 -78
- data/lib/google/cloud/automl/v1beta1/prediction_service/credentials.rb +1 -1
- data/lib/google/cloud/automl/v1beta1/prediction_service/operations.rb +100 -100
- data/lib/google/cloud/automl/v1beta1/prediction_service/paths.rb +3 -3
- data/lib/google/cloud/automl/v1beta1/version.rb +1 -1
- data/proto_docs/google/api/resource.rb +12 -12
- data/proto_docs/google/cloud/automl/v1beta1/annotation_payload.rb +13 -13
- data/proto_docs/google/cloud/automl/v1beta1/annotation_spec.rb +5 -5
- data/proto_docs/google/cloud/automl/v1beta1/classification.rb +43 -43
- data/proto_docs/google/cloud/automl/v1beta1/column_spec.rb +12 -12
- data/proto_docs/google/cloud/automl/v1beta1/data_items.rb +49 -49
- data/proto_docs/google/cloud/automl/v1beta1/data_stats.rb +65 -65
- data/proto_docs/google/cloud/automl/v1beta1/data_types.rb +23 -23
- data/proto_docs/google/cloud/automl/v1beta1/dataset.rb +17 -17
- data/proto_docs/google/cloud/automl/v1beta1/detection.rb +32 -32
- data/proto_docs/google/cloud/automl/v1beta1/geometry.rb +7 -7
- data/proto_docs/google/cloud/automl/v1beta1/image.rb +38 -38
- data/proto_docs/google/cloud/automl/v1beta1/io.rb +85 -85
- data/proto_docs/google/cloud/automl/v1beta1/model.rb +17 -17
- data/proto_docs/google/cloud/automl/v1beta1/model_evaluation.rb +17 -17
- data/proto_docs/google/cloud/automl/v1beta1/operations.rb +56 -56
- data/proto_docs/google/cloud/automl/v1beta1/prediction_service.rb +41 -41
- data/proto_docs/google/cloud/automl/v1beta1/ranges.rb +4 -4
- data/proto_docs/google/cloud/automl/v1beta1/regression.rb +7 -7
- data/proto_docs/google/cloud/automl/v1beta1/service.rb +167 -167
- data/proto_docs/google/cloud/automl/v1beta1/table_spec.rb +9 -9
- data/proto_docs/google/cloud/automl/v1beta1/tables.rb +47 -47
- data/proto_docs/google/cloud/automl/v1beta1/temporal.rb +4 -4
- data/proto_docs/google/cloud/automl/v1beta1/text.rb +15 -15
- data/proto_docs/google/cloud/automl/v1beta1/text_extraction.rb +14 -14
- data/proto_docs/google/cloud/automl/v1beta1/text_segment.rb +5 -5
- data/proto_docs/google/cloud/automl/v1beta1/text_sentiment.rb +15 -15
- data/proto_docs/google/cloud/automl/v1beta1/translation.rb +16 -16
- data/proto_docs/google/cloud/automl/v1beta1/video.rb +8 -8
- data/proto_docs/google/longrunning/operations.rb +30 -30
- data/proto_docs/google/protobuf/any.rb +4 -4
- data/proto_docs/google/protobuf/duration.rb +4 -4
- data/proto_docs/google/protobuf/empty.rb +2 -2
- data/proto_docs/google/protobuf/field_mask.rb +3 -3
- data/proto_docs/google/protobuf/struct.rb +18 -18
- data/proto_docs/google/protobuf/timestamp.rb +4 -4
- data/proto_docs/google/rpc/status.rb +6 -6
- metadata +2 -2
@@ -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
|
@@ -887,10 +887,10 @@ module Google
|
|
887
887
|
# * For Tables:
|
888
888
|
# Output depends on whether
|
889
889
|
#
|
890
|
-
# {Google::Cloud::AutoML::V1beta1::BatchPredictOutputConfig#gcs_destination gcs_destination}
|
890
|
+
# {::Google::Cloud::AutoML::V1beta1::BatchPredictOutputConfig#gcs_destination gcs_destination}
|
891
891
|
# or
|
892
892
|
#
|
893
|
-
# {Google::Cloud::AutoML::V1beta1::BatchPredictOutputConfig#bigquery_destination bigquery_destination}
|
893
|
+
# {::Google::Cloud::AutoML::V1beta1::BatchPredictOutputConfig#bigquery_destination bigquery_destination}
|
894
894
|
# is set (either is allowed).
|
895
895
|
# GCS case:
|
896
896
|
# In the created directory files `tables_1.csv`, `tables_2.csv`,...,
|
@@ -901,18 +901,18 @@ module Google
|
|
901
901
|
# [prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type]:
|
902
902
|
# Each .csv file will contain a header, listing all columns'
|
903
903
|
#
|
904
|
-
# {Google::Cloud::AutoML::V1beta1::ColumnSpec#display_name display_name-s}
|
904
|
+
# {::Google::Cloud::AutoML::V1beta1::ColumnSpec#display_name display_name-s}
|
905
905
|
# given on input followed by M target column names in the format of
|
906
906
|
#
|
907
|
-
# "<{Google::Cloud::AutoML::V1beta1::TablesModelMetadata#target_column_spec target_column_specs}
|
907
|
+
# "<{::Google::Cloud::AutoML::V1beta1::TablesModelMetadata#target_column_spec target_column_specs}
|
908
908
|
#
|
909
|
-
# {Google::Cloud::AutoML::V1beta1::ColumnSpec#display_name display_name}>_<target
|
909
|
+
# {::Google::Cloud::AutoML::V1beta1::ColumnSpec#display_name display_name}>_<target
|
910
910
|
# value>_score" where M is the number of distinct target values,
|
911
911
|
# i.e. number of distinct values in the target column of the table
|
912
912
|
# used to train the model. Subsequent lines will contain the
|
913
913
|
# respective values of successfully predicted rows, with the last,
|
914
914
|
# i.e. the target, columns having the corresponding prediction
|
915
|
-
# {Google::Cloud::AutoML::V1beta1::TablesAnnotation#score scores}.
|
915
|
+
# {::Google::Cloud::AutoML::V1beta1::TablesAnnotation#score scores}.
|
916
916
|
# For REGRESSION and FORECASTING
|
917
917
|
#
|
918
918
|
# [prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type]:
|
@@ -921,9 +921,9 @@ module Google
|
|
921
921
|
# on input followed by the predicted target column with name in the
|
922
922
|
# format of
|
923
923
|
#
|
924
|
-
# "predicted_<{Google::Cloud::AutoML::V1beta1::TablesModelMetadata#target_column_spec target_column_specs}
|
924
|
+
# "predicted_<{::Google::Cloud::AutoML::V1beta1::TablesModelMetadata#target_column_spec target_column_specs}
|
925
925
|
#
|
926
|
-
# {Google::Cloud::AutoML::V1beta1::ColumnSpec#display_name display_name}>"
|
926
|
+
# {::Google::Cloud::AutoML::V1beta1::ColumnSpec#display_name display_name}>"
|
927
927
|
# Subsequent lines will contain the respective values of
|
928
928
|
# successfully predicted rows, with the last, i.e. the target,
|
929
929
|
# column having the predicted target value.
|
@@ -939,7 +939,7 @@ module Google
|
|
939
939
|
# `message`.
|
940
940
|
# BigQuery case:
|
941
941
|
#
|
942
|
-
# {Google::Cloud::AutoML::V1beta1::OutputConfig#bigquery_destination bigquery_destination}
|
942
|
+
# {::Google::Cloud::AutoML::V1beta1::OutputConfig#bigquery_destination bigquery_destination}
|
943
943
|
# pointing to a BigQuery project must be set. In the given project a
|
944
944
|
# new dataset will be created with name
|
945
945
|
# `prediction_<model-display-name>_<timestamp-of-prediction-call>`
|
@@ -950,46 +950,46 @@ module Google
|
|
950
950
|
# two tables will be created, `predictions`, and `errors`.
|
951
951
|
# The `predictions` table's column names will be the input columns'
|
952
952
|
#
|
953
|
-
# {Google::Cloud::AutoML::V1beta1::ColumnSpec#display_name display_name-s}
|
953
|
+
# {::Google::Cloud::AutoML::V1beta1::ColumnSpec#display_name display_name-s}
|
954
954
|
# followed by the target column with name in the format of
|
955
955
|
#
|
956
|
-
# "predicted_<{Google::Cloud::AutoML::V1beta1::TablesModelMetadata#target_column_spec target_column_specs}
|
956
|
+
# "predicted_<{::Google::Cloud::AutoML::V1beta1::TablesModelMetadata#target_column_spec target_column_specs}
|
957
957
|
#
|
958
|
-
# {Google::Cloud::AutoML::V1beta1::ColumnSpec#display_name display_name}>"
|
958
|
+
# {::Google::Cloud::AutoML::V1beta1::ColumnSpec#display_name display_name}>"
|
959
959
|
# The input feature columns will contain the respective values of
|
960
960
|
# successfully predicted rows, with the target column having an
|
961
961
|
# ARRAY of
|
962
962
|
#
|
963
|
-
# {Google::Cloud::AutoML::V1beta1::AnnotationPayload AnnotationPayloads},
|
963
|
+
# {::Google::Cloud::AutoML::V1beta1::AnnotationPayload AnnotationPayloads},
|
964
964
|
# represented as STRUCT-s, containing
|
965
|
-
# {Google::Cloud::AutoML::V1beta1::TablesAnnotation TablesAnnotation}.
|
965
|
+
# {::Google::Cloud::AutoML::V1beta1::TablesAnnotation TablesAnnotation}.
|
966
966
|
# The `errors` table contains rows for which the prediction has
|
967
967
|
# failed, it has analogous input columns while the target column name
|
968
968
|
# is in the format of
|
969
969
|
#
|
970
|
-
# "errors_<{Google::Cloud::AutoML::V1beta1::TablesModelMetadata#target_column_spec target_column_specs}
|
970
|
+
# "errors_<{::Google::Cloud::AutoML::V1beta1::TablesModelMetadata#target_column_spec target_column_specs}
|
971
971
|
#
|
972
|
-
# {Google::Cloud::AutoML::V1beta1::ColumnSpec#display_name display_name}>",
|
972
|
+
# {::Google::Cloud::AutoML::V1beta1::ColumnSpec#display_name display_name}>",
|
973
973
|
# and as a value has
|
974
974
|
#
|
975
975
|
# [`google.rpc.Status`](https:
|
976
976
|
# //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto)
|
977
977
|
# represented as a STRUCT, and containing only `code` and `message`.
|
978
978
|
# @!attribute [rw] gcs_destination
|
979
|
-
# @return [Google::Cloud::AutoML::V1beta1::GcsDestination]
|
979
|
+
# @return [::Google::Cloud::AutoML::V1beta1::GcsDestination]
|
980
980
|
# The Google Cloud Storage location of the directory where the output is to
|
981
981
|
# be written to.
|
982
982
|
# @!attribute [rw] bigquery_destination
|
983
|
-
# @return [Google::Cloud::AutoML::V1beta1::BigQueryDestination]
|
983
|
+
# @return [::Google::Cloud::AutoML::V1beta1::BigQueryDestination]
|
984
984
|
# The BigQuery location where the output is to be written to.
|
985
985
|
class BatchPredictOutputConfig
|
986
|
-
include Google::Protobuf::MessageExts
|
987
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
986
|
+
include ::Google::Protobuf::MessageExts
|
987
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
988
988
|
end
|
989
989
|
|
990
990
|
# Output configuration for ModelExport Action.
|
991
991
|
# @!attribute [rw] gcs_destination
|
992
|
-
# @return [Google::Cloud::AutoML::V1beta1::GcsDestination]
|
992
|
+
# @return [::Google::Cloud::AutoML::V1beta1::GcsDestination]
|
993
993
|
# The Google Cloud Storage location where the model is to be written to.
|
994
994
|
# This location may only be set for the following model formats:
|
995
995
|
# "tflite", "edgetpu_tflite", "tf_saved_model", "tf_js", "core_ml".
|
@@ -1000,14 +1000,14 @@ module Google
|
|
1000
1000
|
# will be created. Inside the model and any of its supporting files
|
1001
1001
|
# will be written.
|
1002
1002
|
# @!attribute [rw] gcr_destination
|
1003
|
-
# @return [Google::Cloud::AutoML::V1beta1::GcrDestination]
|
1003
|
+
# @return [::Google::Cloud::AutoML::V1beta1::GcrDestination]
|
1004
1004
|
# The GCR location where model image is to be pushed to. This location
|
1005
1005
|
# may only be set for the following model formats:
|
1006
1006
|
# "docker".
|
1007
1007
|
#
|
1008
1008
|
# The model image will be created under the given URI.
|
1009
1009
|
# @!attribute [rw] model_format
|
1010
|
-
# @return [String]
|
1010
|
+
# @return [::String]
|
1011
1011
|
# The format in which the model must be exported. The available, and default,
|
1012
1012
|
# formats depend on the problem and model type (if given problem and type
|
1013
1013
|
# combination doesn't have a format listed, it means its models are not
|
@@ -1038,7 +1038,7 @@ module Google
|
|
1038
1038
|
# //cloud.google.com/vision/automl/docs/containers-gcs-quickstart)
|
1039
1039
|
# * core_ml - Used for iOS mobile devices.
|
1040
1040
|
# @!attribute [rw] params
|
1041
|
-
# @return [Google::Protobuf::Map{String => String}]
|
1041
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
1042
1042
|
# Additional model-type and format specific parameters describing the
|
1043
1043
|
# requirements for the to be exported model files, any string must be up to
|
1044
1044
|
# 25000 characters long.
|
@@ -1047,16 +1047,16 @@ module Google
|
|
1047
1047
|
# `cpu_architecture` - (string) "x86_64" (default).
|
1048
1048
|
# `gpu_architecture` - (string) "none" (default), "nvidia".
|
1049
1049
|
class ModelExportOutputConfig
|
1050
|
-
include Google::Protobuf::MessageExts
|
1051
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
1050
|
+
include ::Google::Protobuf::MessageExts
|
1051
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1052
1052
|
|
1053
1053
|
# @!attribute [rw] key
|
1054
|
-
# @return [String]
|
1054
|
+
# @return [::String]
|
1055
1055
|
# @!attribute [rw] value
|
1056
|
-
# @return [String]
|
1056
|
+
# @return [::String]
|
1057
1057
|
class ParamsEntry
|
1058
|
-
include Google::Protobuf::MessageExts
|
1059
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
1058
|
+
include ::Google::Protobuf::MessageExts
|
1059
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1060
1060
|
end
|
1061
1061
|
end
|
1062
1062
|
|
@@ -1067,7 +1067,7 @@ module Google
|
|
1067
1067
|
#
|
1068
1068
|
# * For Tables:
|
1069
1069
|
#
|
1070
|
-
# {Google::Cloud::AutoML::V1beta1::OutputConfig#bigquery_destination bigquery_destination}
|
1070
|
+
# {::Google::Cloud::AutoML::V1beta1::OutputConfig#bigquery_destination bigquery_destination}
|
1071
1071
|
# pointing to a BigQuery project must be set. In the given project a
|
1072
1072
|
# new dataset will be created with name
|
1073
1073
|
#
|
@@ -1078,50 +1078,50 @@ module Google
|
|
1078
1078
|
# format. In the dataset an `evaluated_examples` table will be
|
1079
1079
|
# created. It will have all the same columns as the
|
1080
1080
|
#
|
1081
|
-
# {Google::Cloud::AutoML::V1beta1::TablesDatasetMetadata#primary_table_spec_id primary_table}
|
1081
|
+
# {::Google::Cloud::AutoML::V1beta1::TablesDatasetMetadata#primary_table_spec_id primary_table}
|
1082
1082
|
# of the
|
1083
|
-
# {Google::Cloud::AutoML::V1beta1::Model#dataset_id dataset} from which
|
1083
|
+
# {::Google::Cloud::AutoML::V1beta1::Model#dataset_id dataset} from which
|
1084
1084
|
# the model was created, as they were at the moment of model's
|
1085
1085
|
# evaluation (this includes the target column with its ground
|
1086
1086
|
# truth), followed by a column called "predicted_<target_column>". That
|
1087
1087
|
# last column will contain the model's prediction result for each
|
1088
1088
|
# respective row, given as ARRAY of
|
1089
|
-
# {Google::Cloud::AutoML::V1beta1::AnnotationPayload AnnotationPayloads},
|
1089
|
+
# {::Google::Cloud::AutoML::V1beta1::AnnotationPayload AnnotationPayloads},
|
1090
1090
|
# represented as STRUCT-s, containing
|
1091
|
-
# {Google::Cloud::AutoML::V1beta1::TablesAnnotation TablesAnnotation}.
|
1091
|
+
# {::Google::Cloud::AutoML::V1beta1::TablesAnnotation TablesAnnotation}.
|
1092
1092
|
# @!attribute [rw] bigquery_destination
|
1093
|
-
# @return [Google::Cloud::AutoML::V1beta1::BigQueryDestination]
|
1093
|
+
# @return [::Google::Cloud::AutoML::V1beta1::BigQueryDestination]
|
1094
1094
|
# The BigQuery location where the output is to be written to.
|
1095
1095
|
class ExportEvaluatedExamplesOutputConfig
|
1096
|
-
include Google::Protobuf::MessageExts
|
1097
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
1096
|
+
include ::Google::Protobuf::MessageExts
|
1097
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1098
1098
|
end
|
1099
1099
|
|
1100
1100
|
# The Google Cloud Storage location for the input content.
|
1101
1101
|
# @!attribute [rw] input_uris
|
1102
|
-
# @return [Array
|
1102
|
+
# @return [::Array<::String>]
|
1103
1103
|
# Required. Google Cloud Storage URIs to input files, up to 2000 characters
|
1104
1104
|
# long. Accepted forms:
|
1105
1105
|
# * Full object path, e.g. gs://bucket/directory/object.csv
|
1106
1106
|
class GcsSource
|
1107
|
-
include Google::Protobuf::MessageExts
|
1108
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
1107
|
+
include ::Google::Protobuf::MessageExts
|
1108
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1109
1109
|
end
|
1110
1110
|
|
1111
1111
|
# The BigQuery location for the input content.
|
1112
1112
|
# @!attribute [rw] input_uri
|
1113
|
-
# @return [String]
|
1113
|
+
# @return [::String]
|
1114
1114
|
# Required. BigQuery URI to a table, up to 2000 characters long.
|
1115
1115
|
# Accepted forms:
|
1116
1116
|
# * BigQuery path e.g. bq://projectId.bqDatasetId.bqTableId
|
1117
1117
|
class BigQuerySource
|
1118
|
-
include Google::Protobuf::MessageExts
|
1119
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
1118
|
+
include ::Google::Protobuf::MessageExts
|
1119
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1120
1120
|
end
|
1121
1121
|
|
1122
1122
|
# The Google Cloud Storage location where the output is to be written to.
|
1123
1123
|
# @!attribute [rw] output_uri_prefix
|
1124
|
-
# @return [String]
|
1124
|
+
# @return [::String]
|
1125
1125
|
# Required. Google Cloud Storage URI to output directory, up to 2000
|
1126
1126
|
# characters long.
|
1127
1127
|
# Accepted forms:
|
@@ -1129,24 +1129,24 @@ module Google
|
|
1129
1129
|
# The requesting user must have write permission to the bucket.
|
1130
1130
|
# The directory is created if it doesn't exist.
|
1131
1131
|
class GcsDestination
|
1132
|
-
include Google::Protobuf::MessageExts
|
1133
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
1132
|
+
include ::Google::Protobuf::MessageExts
|
1133
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1134
1134
|
end
|
1135
1135
|
|
1136
1136
|
# The BigQuery location for the output content.
|
1137
1137
|
# @!attribute [rw] output_uri
|
1138
|
-
# @return [String]
|
1138
|
+
# @return [::String]
|
1139
1139
|
# Required. BigQuery URI to a project, up to 2000 characters long.
|
1140
1140
|
# Accepted forms:
|
1141
1141
|
# * BigQuery path e.g. bq://projectId
|
1142
1142
|
class BigQueryDestination
|
1143
|
-
include Google::Protobuf::MessageExts
|
1144
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
1143
|
+
include ::Google::Protobuf::MessageExts
|
1144
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1145
1145
|
end
|
1146
1146
|
|
1147
1147
|
# The GCR location where the image must be pushed to.
|
1148
1148
|
# @!attribute [rw] output_uri
|
1149
|
-
# @return [String]
|
1149
|
+
# @return [::String]
|
1150
1150
|
# Required. Google Contained Registry URI of the new image, up to 2000
|
1151
1151
|
# characters long. See
|
1152
1152
|
#
|
@@ -1159,8 +1159,8 @@ module Google
|
|
1159
1159
|
#
|
1160
1160
|
# The requesting user must have permission to push images the project.
|
1161
1161
|
class GcrDestination
|
1162
|
-
include Google::Protobuf::MessageExts
|
1163
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
1162
|
+
include ::Google::Protobuf::MessageExts
|
1163
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1164
1164
|
end
|
1165
1165
|
end
|
1166
1166
|
end
|