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.
Files changed (53) 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 +488 -488
  7. data/lib/google/cloud/automl/v1beta1/automl/credentials.rb +1 -1
  8. data/lib/google/cloud/automl/v1beta1/automl/operations.rb +100 -100
  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 +78 -78
  12. data/lib/google/cloud/automl/v1beta1/prediction_service/credentials.rb +1 -1
  13. data/lib/google/cloud/automl/v1beta1/prediction_service/operations.rb +100 -100
  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 +85 -85
  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 +2 -2
@@ -23,59 +23,59 @@ module Google
23
23
  module V1beta1
24
24
  # API proto representing a trained machine learning model.
25
25
  # @!attribute [rw] translation_model_metadata
26
- # @return [Google::Cloud::AutoML::V1beta1::TranslationModelMetadata]
26
+ # @return [::Google::Cloud::AutoML::V1beta1::TranslationModelMetadata]
27
27
  # Metadata for translation models.
28
28
  # @!attribute [rw] image_classification_model_metadata
29
- # @return [Google::Cloud::AutoML::V1beta1::ImageClassificationModelMetadata]
29
+ # @return [::Google::Cloud::AutoML::V1beta1::ImageClassificationModelMetadata]
30
30
  # Metadata for image classification models.
31
31
  # @!attribute [rw] text_classification_model_metadata
32
- # @return [Google::Cloud::AutoML::V1beta1::TextClassificationModelMetadata]
32
+ # @return [::Google::Cloud::AutoML::V1beta1::TextClassificationModelMetadata]
33
33
  # Metadata for text classification models.
34
34
  # @!attribute [rw] image_object_detection_model_metadata
35
- # @return [Google::Cloud::AutoML::V1beta1::ImageObjectDetectionModelMetadata]
35
+ # @return [::Google::Cloud::AutoML::V1beta1::ImageObjectDetectionModelMetadata]
36
36
  # Metadata for image object detection models.
37
37
  # @!attribute [rw] video_classification_model_metadata
38
- # @return [Google::Cloud::AutoML::V1beta1::VideoClassificationModelMetadata]
38
+ # @return [::Google::Cloud::AutoML::V1beta1::VideoClassificationModelMetadata]
39
39
  # Metadata for video classification models.
40
40
  # @!attribute [rw] video_object_tracking_model_metadata
41
- # @return [Google::Cloud::AutoML::V1beta1::VideoObjectTrackingModelMetadata]
41
+ # @return [::Google::Cloud::AutoML::V1beta1::VideoObjectTrackingModelMetadata]
42
42
  # Metadata for video object tracking models.
43
43
  # @!attribute [rw] text_extraction_model_metadata
44
- # @return [Google::Cloud::AutoML::V1beta1::TextExtractionModelMetadata]
44
+ # @return [::Google::Cloud::AutoML::V1beta1::TextExtractionModelMetadata]
45
45
  # Metadata for text extraction models.
46
46
  # @!attribute [rw] tables_model_metadata
47
- # @return [Google::Cloud::AutoML::V1beta1::TablesModelMetadata]
47
+ # @return [::Google::Cloud::AutoML::V1beta1::TablesModelMetadata]
48
48
  # Metadata for Tables models.
49
49
  # @!attribute [rw] text_sentiment_model_metadata
50
- # @return [Google::Cloud::AutoML::V1beta1::TextSentimentModelMetadata]
50
+ # @return [::Google::Cloud::AutoML::V1beta1::TextSentimentModelMetadata]
51
51
  # Metadata for text sentiment models.
52
52
  # @!attribute [rw] name
53
- # @return [String]
53
+ # @return [::String]
54
54
  # Output only. Resource name of the model.
55
55
  # Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
56
56
  # @!attribute [rw] display_name
57
- # @return [String]
57
+ # @return [::String]
58
58
  # Required. The name of the model to show in the interface. The name can be
59
59
  # up to 32 characters long and can consist only of ASCII Latin letters A-Z
60
60
  # and a-z, underscores
61
61
  # (_), and ASCII digits 0-9. It must start with a letter.
62
62
  # @!attribute [rw] dataset_id
63
- # @return [String]
63
+ # @return [::String]
64
64
  # Required. The resource ID of the dataset used to create the model. The dataset must
65
65
  # come from the same ancestor project and location.
66
66
  # @!attribute [rw] create_time
67
- # @return [Google::Protobuf::Timestamp]
67
+ # @return [::Google::Protobuf::Timestamp]
68
68
  # Output only. Timestamp when the model training finished and can be used for prediction.
69
69
  # @!attribute [rw] update_time
70
- # @return [Google::Protobuf::Timestamp]
70
+ # @return [::Google::Protobuf::Timestamp]
71
71
  # Output only. Timestamp when this model was last updated.
72
72
  # @!attribute [rw] deployment_state
73
- # @return [Google::Cloud::AutoML::V1beta1::Model::DeploymentState]
73
+ # @return [::Google::Cloud::AutoML::V1beta1::Model::DeploymentState]
74
74
  # Output only. Deployment state of the model. A model can only serve
75
75
  # prediction requests after it gets deployed.
76
76
  class Model
77
- include Google::Protobuf::MessageExts
78
- extend Google::Protobuf::MessageExts::ClassMethods
77
+ include ::Google::Protobuf::MessageExts
78
+ extend ::Google::Protobuf::MessageExts::ClassMethods
79
79
 
80
80
  # Deployment state of the model.
81
81
  module DeploymentState
@@ -23,39 +23,39 @@ module Google
23
23
  module V1beta1
24
24
  # Evaluation results of a model.
25
25
  # @!attribute [rw] classification_evaluation_metrics
26
- # @return [Google::Cloud::AutoML::V1beta1::ClassificationEvaluationMetrics]
26
+ # @return [::Google::Cloud::AutoML::V1beta1::ClassificationEvaluationMetrics]
27
27
  # Model evaluation metrics for image, text, video and tables
28
28
  # classification.
29
29
  # Tables problem is considered a classification when the target column
30
30
  # is CATEGORY DataType.
31
31
  # @!attribute [rw] regression_evaluation_metrics
32
- # @return [Google::Cloud::AutoML::V1beta1::RegressionEvaluationMetrics]
32
+ # @return [::Google::Cloud::AutoML::V1beta1::RegressionEvaluationMetrics]
33
33
  # Model evaluation metrics for Tables regression.
34
34
  # Tables problem is considered a regression when the target column
35
35
  # has FLOAT64 DataType.
36
36
  # @!attribute [rw] translation_evaluation_metrics
37
- # @return [Google::Cloud::AutoML::V1beta1::TranslationEvaluationMetrics]
37
+ # @return [::Google::Cloud::AutoML::V1beta1::TranslationEvaluationMetrics]
38
38
  # Model evaluation metrics for translation.
39
39
  # @!attribute [rw] image_object_detection_evaluation_metrics
40
- # @return [Google::Cloud::AutoML::V1beta1::ImageObjectDetectionEvaluationMetrics]
40
+ # @return [::Google::Cloud::AutoML::V1beta1::ImageObjectDetectionEvaluationMetrics]
41
41
  # Model evaluation metrics for image object detection.
42
42
  # @!attribute [rw] video_object_tracking_evaluation_metrics
43
- # @return [Google::Cloud::AutoML::V1beta1::VideoObjectTrackingEvaluationMetrics]
43
+ # @return [::Google::Cloud::AutoML::V1beta1::VideoObjectTrackingEvaluationMetrics]
44
44
  # Model evaluation metrics for video object tracking.
45
45
  # @!attribute [rw] text_sentiment_evaluation_metrics
46
- # @return [Google::Cloud::AutoML::V1beta1::TextSentimentEvaluationMetrics]
46
+ # @return [::Google::Cloud::AutoML::V1beta1::TextSentimentEvaluationMetrics]
47
47
  # Evaluation metrics for text sentiment models.
48
48
  # @!attribute [rw] text_extraction_evaluation_metrics
49
- # @return [Google::Cloud::AutoML::V1beta1::TextExtractionEvaluationMetrics]
49
+ # @return [::Google::Cloud::AutoML::V1beta1::TextExtractionEvaluationMetrics]
50
50
  # Evaluation metrics for text extraction models.
51
51
  # @!attribute [rw] name
52
- # @return [String]
52
+ # @return [::String]
53
53
  # Output only. Resource name of the model evaluation.
54
54
  # Format:
55
55
  #
56
56
  # `projects/{project_id}/locations/{location_id}/models/{model_id}/modelEvaluations/{model_evaluation_id}`
57
57
  # @!attribute [rw] annotation_spec_id
58
- # @return [String]
58
+ # @return [::String]
59
59
  # Output only. The ID of the annotation spec that the model evaluation applies to. The
60
60
  # The ID is empty for the overall model evaluation.
61
61
  # For Tables annotation specs in the dataset do not exist and this ID is
@@ -63,12 +63,12 @@ module Google
63
63
  #
64
64
  # [prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type]
65
65
  # the
66
- # {Google::Cloud::AutoML::V1beta1::ModelEvaluation#display_name display_name}
66
+ # {::Google::Cloud::AutoML::V1beta1::ModelEvaluation#display_name display_name}
67
67
  # field is used.
68
68
  # @!attribute [rw] display_name
69
- # @return [String]
69
+ # @return [::String]
70
70
  # Output only. The value of
71
- # {Google::Cloud::AutoML::V1beta1::AnnotationSpec#display_name display_name} at
71
+ # {::Google::Cloud::AutoML::V1beta1::AnnotationSpec#display_name display_name} at
72
72
  # the moment when the model was trained. Because this field returns a value
73
73
  # at model training time, for different models trained from the same dataset,
74
74
  # the values may differ, since display names could had been changed between
@@ -80,10 +80,10 @@ module Google
80
80
  # are populated here.
81
81
  # The display_name is empty for the overall model evaluation.
82
82
  # @!attribute [rw] create_time
83
- # @return [Google::Protobuf::Timestamp]
83
+ # @return [::Google::Protobuf::Timestamp]
84
84
  # Output only. Timestamp when this model evaluation was created.
85
85
  # @!attribute [rw] evaluated_example_count
86
- # @return [Integer]
86
+ # @return [::Integer]
87
87
  # Output only. The number of examples used for model evaluation, i.e. for
88
88
  # which ground truth from time of model creation is compared against the
89
89
  # predicted annotations created by the model.
@@ -92,10 +92,10 @@ module Google
92
92
  # Otherwise, this is the count of examples that according to the ground
93
93
  # truth were annotated by the
94
94
  #
95
- # {Google::Cloud::AutoML::V1beta1::ModelEvaluation#annotation_spec_id annotation_spec_id}.
95
+ # {::Google::Cloud::AutoML::V1beta1::ModelEvaluation#annotation_spec_id annotation_spec_id}.
96
96
  class ModelEvaluation
97
- include Google::Protobuf::MessageExts
98
- extend Google::Protobuf::MessageExts::ClassMethods
97
+ include ::Google::Protobuf::MessageExts
98
+ extend ::Google::Protobuf::MessageExts::ClassMethods
99
99
  end
100
100
  end
101
101
  end
@@ -23,181 +23,181 @@ module Google
23
23
  module V1beta1
24
24
  # Metadata used across all long running operations returned by AutoML API.
25
25
  # @!attribute [rw] delete_details
26
- # @return [Google::Cloud::AutoML::V1beta1::DeleteOperationMetadata]
26
+ # @return [::Google::Cloud::AutoML::V1beta1::DeleteOperationMetadata]
27
27
  # Details of a Delete operation.
28
28
  # @!attribute [rw] deploy_model_details
29
- # @return [Google::Cloud::AutoML::V1beta1::DeployModelOperationMetadata]
29
+ # @return [::Google::Cloud::AutoML::V1beta1::DeployModelOperationMetadata]
30
30
  # Details of a DeployModel operation.
31
31
  # @!attribute [rw] undeploy_model_details
32
- # @return [Google::Cloud::AutoML::V1beta1::UndeployModelOperationMetadata]
32
+ # @return [::Google::Cloud::AutoML::V1beta1::UndeployModelOperationMetadata]
33
33
  # Details of an UndeployModel operation.
34
34
  # @!attribute [rw] create_model_details
35
- # @return [Google::Cloud::AutoML::V1beta1::CreateModelOperationMetadata]
35
+ # @return [::Google::Cloud::AutoML::V1beta1::CreateModelOperationMetadata]
36
36
  # Details of CreateModel operation.
37
37
  # @!attribute [rw] import_data_details
38
- # @return [Google::Cloud::AutoML::V1beta1::ImportDataOperationMetadata]
38
+ # @return [::Google::Cloud::AutoML::V1beta1::ImportDataOperationMetadata]
39
39
  # Details of ImportData operation.
40
40
  # @!attribute [rw] batch_predict_details
41
- # @return [Google::Cloud::AutoML::V1beta1::BatchPredictOperationMetadata]
41
+ # @return [::Google::Cloud::AutoML::V1beta1::BatchPredictOperationMetadata]
42
42
  # Details of BatchPredict operation.
43
43
  # @!attribute [rw] export_data_details
44
- # @return [Google::Cloud::AutoML::V1beta1::ExportDataOperationMetadata]
44
+ # @return [::Google::Cloud::AutoML::V1beta1::ExportDataOperationMetadata]
45
45
  # Details of ExportData operation.
46
46
  # @!attribute [rw] export_model_details
47
- # @return [Google::Cloud::AutoML::V1beta1::ExportModelOperationMetadata]
47
+ # @return [::Google::Cloud::AutoML::V1beta1::ExportModelOperationMetadata]
48
48
  # Details of ExportModel operation.
49
49
  # @!attribute [rw] export_evaluated_examples_details
50
- # @return [Google::Cloud::AutoML::V1beta1::ExportEvaluatedExamplesOperationMetadata]
50
+ # @return [::Google::Cloud::AutoML::V1beta1::ExportEvaluatedExamplesOperationMetadata]
51
51
  # Details of ExportEvaluatedExamples operation.
52
52
  # @!attribute [rw] progress_percent
53
- # @return [Integer]
53
+ # @return [::Integer]
54
54
  # Output only. Progress of operation. Range: [0, 100].
55
55
  # Not used currently.
56
56
  # @!attribute [rw] partial_failures
57
- # @return [Array<Google::Rpc::Status>]
57
+ # @return [::Array<::Google::Rpc::Status>]
58
58
  # Output only. Partial failures encountered.
59
59
  # E.g. single files that couldn't be read.
60
60
  # This field should never exceed 20 entries.
61
61
  # Status details field will contain standard GCP error details.
62
62
  # @!attribute [rw] create_time
63
- # @return [Google::Protobuf::Timestamp]
63
+ # @return [::Google::Protobuf::Timestamp]
64
64
  # Output only. Time when the operation was created.
65
65
  # @!attribute [rw] update_time
66
- # @return [Google::Protobuf::Timestamp]
66
+ # @return [::Google::Protobuf::Timestamp]
67
67
  # Output only. Time when the operation was updated for the last time.
68
68
  class OperationMetadata
69
- include Google::Protobuf::MessageExts
70
- extend Google::Protobuf::MessageExts::ClassMethods
69
+ include ::Google::Protobuf::MessageExts
70
+ extend ::Google::Protobuf::MessageExts::ClassMethods
71
71
  end
72
72
 
73
73
  # Details of operations that perform deletes of any entities.
74
74
  class DeleteOperationMetadata
75
- include Google::Protobuf::MessageExts
76
- extend Google::Protobuf::MessageExts::ClassMethods
75
+ include ::Google::Protobuf::MessageExts
76
+ extend ::Google::Protobuf::MessageExts::ClassMethods
77
77
  end
78
78
 
79
79
  # Details of DeployModel operation.
80
80
  class DeployModelOperationMetadata
81
- include Google::Protobuf::MessageExts
82
- extend Google::Protobuf::MessageExts::ClassMethods
81
+ include ::Google::Protobuf::MessageExts
82
+ extend ::Google::Protobuf::MessageExts::ClassMethods
83
83
  end
84
84
 
85
85
  # Details of UndeployModel operation.
86
86
  class UndeployModelOperationMetadata
87
- include Google::Protobuf::MessageExts
88
- extend Google::Protobuf::MessageExts::ClassMethods
87
+ include ::Google::Protobuf::MessageExts
88
+ extend ::Google::Protobuf::MessageExts::ClassMethods
89
89
  end
90
90
 
91
91
  # Details of CreateModel operation.
92
92
  class CreateModelOperationMetadata
93
- include Google::Protobuf::MessageExts
94
- extend Google::Protobuf::MessageExts::ClassMethods
93
+ include ::Google::Protobuf::MessageExts
94
+ extend ::Google::Protobuf::MessageExts::ClassMethods
95
95
  end
96
96
 
97
97
  # Details of ImportData operation.
98
98
  class ImportDataOperationMetadata
99
- include Google::Protobuf::MessageExts
100
- extend Google::Protobuf::MessageExts::ClassMethods
99
+ include ::Google::Protobuf::MessageExts
100
+ extend ::Google::Protobuf::MessageExts::ClassMethods
101
101
  end
102
102
 
103
103
  # Details of ExportData operation.
104
104
  # @!attribute [rw] output_info
105
- # @return [Google::Cloud::AutoML::V1beta1::ExportDataOperationMetadata::ExportDataOutputInfo]
105
+ # @return [::Google::Cloud::AutoML::V1beta1::ExportDataOperationMetadata::ExportDataOutputInfo]
106
106
  # Output only. Information further describing this export data's output.
107
107
  class ExportDataOperationMetadata
108
- include Google::Protobuf::MessageExts
109
- extend Google::Protobuf::MessageExts::ClassMethods
108
+ include ::Google::Protobuf::MessageExts
109
+ extend ::Google::Protobuf::MessageExts::ClassMethods
110
110
 
111
111
  # Further describes this export data's output.
112
112
  # Supplements
113
- # {Google::Cloud::AutoML::V1beta1::OutputConfig OutputConfig}.
113
+ # {::Google::Cloud::AutoML::V1beta1::OutputConfig OutputConfig}.
114
114
  # @!attribute [rw] gcs_output_directory
115
- # @return [String]
115
+ # @return [::String]
116
116
  # The full path of the Google Cloud Storage directory created, into which
117
117
  # the exported data is written.
118
118
  # @!attribute [rw] bigquery_output_dataset
119
- # @return [String]
119
+ # @return [::String]
120
120
  # The path of the BigQuery dataset created, in bq://projectId.bqDatasetId
121
121
  # format, into which the exported data is written.
122
122
  class ExportDataOutputInfo
123
- include Google::Protobuf::MessageExts
124
- extend Google::Protobuf::MessageExts::ClassMethods
123
+ include ::Google::Protobuf::MessageExts
124
+ extend ::Google::Protobuf::MessageExts::ClassMethods
125
125
  end
126
126
  end
127
127
 
128
128
  # Details of BatchPredict operation.
129
129
  # @!attribute [rw] input_config
130
- # @return [Google::Cloud::AutoML::V1beta1::BatchPredictInputConfig]
130
+ # @return [::Google::Cloud::AutoML::V1beta1::BatchPredictInputConfig]
131
131
  # Output only. The input config that was given upon starting this
132
132
  # batch predict operation.
133
133
  # @!attribute [rw] output_info
134
- # @return [Google::Cloud::AutoML::V1beta1::BatchPredictOperationMetadata::BatchPredictOutputInfo]
134
+ # @return [::Google::Cloud::AutoML::V1beta1::BatchPredictOperationMetadata::BatchPredictOutputInfo]
135
135
  # Output only. Information further describing this batch predict's output.
136
136
  class BatchPredictOperationMetadata
137
- include Google::Protobuf::MessageExts
138
- extend Google::Protobuf::MessageExts::ClassMethods
137
+ include ::Google::Protobuf::MessageExts
138
+ extend ::Google::Protobuf::MessageExts::ClassMethods
139
139
 
140
140
  # Further describes this batch predict's output.
141
141
  # Supplements
142
142
  #
143
- # {Google::Cloud::AutoML::V1beta1::BatchPredictOutputConfig BatchPredictOutputConfig}.
143
+ # {::Google::Cloud::AutoML::V1beta1::BatchPredictOutputConfig BatchPredictOutputConfig}.
144
144
  # @!attribute [rw] gcs_output_directory
145
- # @return [String]
145
+ # @return [::String]
146
146
  # The full path of the Google Cloud Storage directory created, into which
147
147
  # the prediction output is written.
148
148
  # @!attribute [rw] bigquery_output_dataset
149
- # @return [String]
149
+ # @return [::String]
150
150
  # The path of the BigQuery dataset created, in bq://projectId.bqDatasetId
151
151
  # format, into which the prediction output is written.
152
152
  class BatchPredictOutputInfo
153
- include Google::Protobuf::MessageExts
154
- extend Google::Protobuf::MessageExts::ClassMethods
153
+ include ::Google::Protobuf::MessageExts
154
+ extend ::Google::Protobuf::MessageExts::ClassMethods
155
155
  end
156
156
  end
157
157
 
158
158
  # Details of ExportModel operation.
159
159
  # @!attribute [rw] output_info
160
- # @return [Google::Cloud::AutoML::V1beta1::ExportModelOperationMetadata::ExportModelOutputInfo]
160
+ # @return [::Google::Cloud::AutoML::V1beta1::ExportModelOperationMetadata::ExportModelOutputInfo]
161
161
  # Output only. Information further describing the output of this model
162
162
  # export.
163
163
  class ExportModelOperationMetadata
164
- include Google::Protobuf::MessageExts
165
- extend Google::Protobuf::MessageExts::ClassMethods
164
+ include ::Google::Protobuf::MessageExts
165
+ extend ::Google::Protobuf::MessageExts::ClassMethods
166
166
 
167
167
  # Further describes the output of model export.
168
168
  # Supplements
169
169
  #
170
- # {Google::Cloud::AutoML::V1beta1::ModelExportOutputConfig ModelExportOutputConfig}.
170
+ # {::Google::Cloud::AutoML::V1beta1::ModelExportOutputConfig ModelExportOutputConfig}.
171
171
  # @!attribute [rw] gcs_output_directory
172
- # @return [String]
172
+ # @return [::String]
173
173
  # The full path of the Google Cloud Storage directory created, into which
174
174
  # the model will be exported.
175
175
  class ExportModelOutputInfo
176
- include Google::Protobuf::MessageExts
177
- extend Google::Protobuf::MessageExts::ClassMethods
176
+ include ::Google::Protobuf::MessageExts
177
+ extend ::Google::Protobuf::MessageExts::ClassMethods
178
178
  end
179
179
  end
180
180
 
181
181
  # Details of EvaluatedExamples operation.
182
182
  # @!attribute [rw] output_info
183
- # @return [Google::Cloud::AutoML::V1beta1::ExportEvaluatedExamplesOperationMetadata::ExportEvaluatedExamplesOutputInfo]
183
+ # @return [::Google::Cloud::AutoML::V1beta1::ExportEvaluatedExamplesOperationMetadata::ExportEvaluatedExamplesOutputInfo]
184
184
  # Output only. Information further describing the output of this evaluated
185
185
  # examples export.
186
186
  class ExportEvaluatedExamplesOperationMetadata
187
- include Google::Protobuf::MessageExts
188
- extend Google::Protobuf::MessageExts::ClassMethods
187
+ include ::Google::Protobuf::MessageExts
188
+ extend ::Google::Protobuf::MessageExts::ClassMethods
189
189
 
190
190
  # Further describes the output of the evaluated examples export.
191
191
  # Supplements
192
192
  #
193
- # {Google::Cloud::AutoML::V1beta1::ExportEvaluatedExamplesOutputConfig ExportEvaluatedExamplesOutputConfig}.
193
+ # {::Google::Cloud::AutoML::V1beta1::ExportEvaluatedExamplesOutputConfig ExportEvaluatedExamplesOutputConfig}.
194
194
  # @!attribute [rw] bigquery_output_dataset
195
- # @return [String]
195
+ # @return [::String]
196
196
  # The path of the BigQuery dataset created, in bq://projectId.bqDatasetId
197
197
  # format, into which the output of export evaluated examples is written.
198
198
  class ExportEvaluatedExamplesOutputInfo
199
- include Google::Protobuf::MessageExts
200
- extend Google::Protobuf::MessageExts::ClassMethods
199
+ include ::Google::Protobuf::MessageExts
200
+ extend ::Google::Protobuf::MessageExts::ClassMethods
201
201
  end
202
202
  end
203
203
  end
@@ -21,16 +21,16 @@ module Google
21
21
  module Cloud
22
22
  module AutoML
23
23
  module V1beta1
24
- # Request message for {Google::Cloud::AutoML::V1beta1::PredictionService::Client#predict PredictionService.Predict}.
24
+ # Request message for {::Google::Cloud::AutoML::V1beta1::PredictionService::Client#predict PredictionService.Predict}.
25
25
  # @!attribute [rw] name
26
- # @return [String]
26
+ # @return [::String]
27
27
  # Required. Name of the model requested to serve the prediction.
28
28
  # @!attribute [rw] payload
29
- # @return [Google::Cloud::AutoML::V1beta1::ExamplePayload]
29
+ # @return [::Google::Cloud::AutoML::V1beta1::ExamplePayload]
30
30
  # Required. Payload to perform a prediction on. The payload must match the
31
31
  # problem type that the model was trained to solve.
32
32
  # @!attribute [rw] params
33
- # @return [Google::Protobuf::Map{String => String}]
33
+ # @return [::Google::Protobuf::Map{::String => ::String}]
34
34
  # Additional domain-specific parameters, any string must be up to 25000
35
35
  # characters long.
36
36
  #
@@ -52,33 +52,33 @@ module Google
52
52
  # should be populated in the returned TablesAnnotation.
53
53
  # The default is false.
54
54
  class PredictRequest
55
- include Google::Protobuf::MessageExts
56
- extend Google::Protobuf::MessageExts::ClassMethods
55
+ include ::Google::Protobuf::MessageExts
56
+ extend ::Google::Protobuf::MessageExts::ClassMethods
57
57
 
58
58
  # @!attribute [rw] key
59
- # @return [String]
59
+ # @return [::String]
60
60
  # @!attribute [rw] value
61
- # @return [String]
61
+ # @return [::String]
62
62
  class ParamsEntry
63
- include Google::Protobuf::MessageExts
64
- extend Google::Protobuf::MessageExts::ClassMethods
63
+ include ::Google::Protobuf::MessageExts
64
+ extend ::Google::Protobuf::MessageExts::ClassMethods
65
65
  end
66
66
  end
67
67
 
68
- # Response message for {Google::Cloud::AutoML::V1beta1::PredictionService::Client#predict PredictionService.Predict}.
68
+ # Response message for {::Google::Cloud::AutoML::V1beta1::PredictionService::Client#predict PredictionService.Predict}.
69
69
  # @!attribute [rw] payload
70
- # @return [Array<Google::Cloud::AutoML::V1beta1::AnnotationPayload>]
70
+ # @return [::Array<::Google::Cloud::AutoML::V1beta1::AnnotationPayload>]
71
71
  # Prediction result.
72
72
  # Translation and Text Sentiment will return precisely one payload.
73
73
  # @!attribute [rw] preprocessed_input
74
- # @return [Google::Cloud::AutoML::V1beta1::ExamplePayload]
74
+ # @return [::Google::Cloud::AutoML::V1beta1::ExamplePayload]
75
75
  # The preprocessed example that AutoML actually makes prediction on.
76
76
  # Empty if AutoML does not preprocess the input example.
77
77
  # * For Text Extraction:
78
78
  # If the input is a .pdf file, the OCR'ed text will be provided in
79
- # {Google::Cloud::AutoML::V1beta1::Document#document_text document_text}.
79
+ # {::Google::Cloud::AutoML::V1beta1::Document#document_text document_text}.
80
80
  # @!attribute [rw] metadata
81
- # @return [Google::Protobuf::Map{String => String}]
81
+ # @return [::Google::Protobuf::Map{::String => ::String}]
82
82
  # Additional domain-specific prediction response metadata.
83
83
  #
84
84
  # * For Image Object Detection:
@@ -95,32 +95,32 @@ module Google
95
95
  # The sentiment_score shouldn't be confused with "score" or "magnitude"
96
96
  # from the previous Natural Language Sentiment Analysis API.
97
97
  class PredictResponse
98
- include Google::Protobuf::MessageExts
99
- extend Google::Protobuf::MessageExts::ClassMethods
98
+ include ::Google::Protobuf::MessageExts
99
+ extend ::Google::Protobuf::MessageExts::ClassMethods
100
100
 
101
101
  # @!attribute [rw] key
102
- # @return [String]
102
+ # @return [::String]
103
103
  # @!attribute [rw] value
104
- # @return [String]
104
+ # @return [::String]
105
105
  class MetadataEntry
106
- include Google::Protobuf::MessageExts
107
- extend Google::Protobuf::MessageExts::ClassMethods
106
+ include ::Google::Protobuf::MessageExts
107
+ extend ::Google::Protobuf::MessageExts::ClassMethods
108
108
  end
109
109
  end
110
110
 
111
- # Request message for {Google::Cloud::AutoML::V1beta1::PredictionService::Client#batch_predict PredictionService.BatchPredict}.
111
+ # Request message for {::Google::Cloud::AutoML::V1beta1::PredictionService::Client#batch_predict PredictionService.BatchPredict}.
112
112
  # @!attribute [rw] name
113
- # @return [String]
113
+ # @return [::String]
114
114
  # Required. Name of the model requested to serve the batch prediction.
115
115
  # @!attribute [rw] input_config
116
- # @return [Google::Cloud::AutoML::V1beta1::BatchPredictInputConfig]
116
+ # @return [::Google::Cloud::AutoML::V1beta1::BatchPredictInputConfig]
117
117
  # Required. The input configuration for batch prediction.
118
118
  # @!attribute [rw] output_config
119
- # @return [Google::Cloud::AutoML::V1beta1::BatchPredictOutputConfig]
119
+ # @return [::Google::Cloud::AutoML::V1beta1::BatchPredictOutputConfig]
120
120
  # Required. The Configuration specifying where output predictions should
121
121
  # be written.
122
122
  # @!attribute [rw] params
123
- # @return [Google::Protobuf::Map{String => String}]
123
+ # @return [::Google::Protobuf::Map{::String => ::String}]
124
124
  # Required. Additional domain-specific parameters for the predictions, any string must
125
125
  # be up to 25000 characters long.
126
126
  #
@@ -192,24 +192,24 @@ module Google
192
192
  # at least that long as a relative value of video frame size will be
193
193
  # returned. Value in 0 to 1 range. Default is 0.
194
194
  class BatchPredictRequest
195
- include Google::Protobuf::MessageExts
196
- extend Google::Protobuf::MessageExts::ClassMethods
195
+ include ::Google::Protobuf::MessageExts
196
+ extend ::Google::Protobuf::MessageExts::ClassMethods
197
197
 
198
198
  # @!attribute [rw] key
199
- # @return [String]
199
+ # @return [::String]
200
200
  # @!attribute [rw] value
201
- # @return [String]
201
+ # @return [::String]
202
202
  class ParamsEntry
203
- include Google::Protobuf::MessageExts
204
- extend Google::Protobuf::MessageExts::ClassMethods
203
+ include ::Google::Protobuf::MessageExts
204
+ extend ::Google::Protobuf::MessageExts::ClassMethods
205
205
  end
206
206
  end
207
207
 
208
208
  # Result of the Batch Predict. This message is returned in
209
- # {Google::Longrunning::Operation#response response} of the operation returned
210
- # by the {Google::Cloud::AutoML::V1beta1::PredictionService::Client#batch_predict PredictionService.BatchPredict}.
209
+ # {::Google::Longrunning::Operation#response response} of the operation returned
210
+ # by the {::Google::Cloud::AutoML::V1beta1::PredictionService::Client#batch_predict PredictionService.BatchPredict}.
211
211
  # @!attribute [rw] metadata
212
- # @return [Google::Protobuf::Map{String => String}]
212
+ # @return [::Google::Protobuf::Map{::String => ::String}]
213
213
  # Additional domain-specific prediction response metadata.
214
214
  #
215
215
  # * For Image Object Detection:
@@ -220,16 +220,16 @@ module Google
220
220
  # `max_bounding_box_count` - (int64) At most that many bounding boxes per
221
221
  # frame could have been returned.
222
222
  class BatchPredictResult
223
- include Google::Protobuf::MessageExts
224
- extend Google::Protobuf::MessageExts::ClassMethods
223
+ include ::Google::Protobuf::MessageExts
224
+ extend ::Google::Protobuf::MessageExts::ClassMethods
225
225
 
226
226
  # @!attribute [rw] key
227
- # @return [String]
227
+ # @return [::String]
228
228
  # @!attribute [rw] value
229
- # @return [String]
229
+ # @return [::String]
230
230
  class MetadataEntry
231
- include Google::Protobuf::MessageExts
232
- extend Google::Protobuf::MessageExts::ClassMethods
231
+ include ::Google::Protobuf::MessageExts
232
+ extend ::Google::Protobuf::MessageExts::ClassMethods
233
233
  end
234
234
  end
235
235
  end