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
@@ -24,16 +24,16 @@ module Google
24
24
  # Indicated the type of data that can be stored in a structured data entity
25
25
  # (e.g. a table).
26
26
  # @!attribute [rw] list_element_type
27
- # @return [Google::Cloud::AutoML::V1beta1::DataType]
28
- # If {Google::Cloud::AutoML::V1beta1::DataType#type_code type_code} == {Google::Cloud::AutoML::V1beta1::TypeCode::ARRAY ARRAY},
27
+ # @return [::Google::Cloud::AutoML::V1beta1::DataType]
28
+ # If {::Google::Cloud::AutoML::V1beta1::DataType#type_code type_code} == {::Google::Cloud::AutoML::V1beta1::TypeCode::ARRAY ARRAY},
29
29
  # then `list_element_type` is the type of the elements.
30
30
  # @!attribute [rw] struct_type
31
- # @return [Google::Cloud::AutoML::V1beta1::StructType]
32
- # If {Google::Cloud::AutoML::V1beta1::DataType#type_code type_code} == {Google::Cloud::AutoML::V1beta1::TypeCode::STRUCT STRUCT}, then `struct_type`
31
+ # @return [::Google::Cloud::AutoML::V1beta1::StructType]
32
+ # If {::Google::Cloud::AutoML::V1beta1::DataType#type_code type_code} == {::Google::Cloud::AutoML::V1beta1::TypeCode::STRUCT STRUCT}, then `struct_type`
33
33
  # provides type information for the struct's fields.
34
34
  # @!attribute [rw] time_format
35
- # @return [String]
36
- # If {Google::Cloud::AutoML::V1beta1::DataType#type_code type_code} == {Google::Cloud::AutoML::V1beta1::TypeCode::TIMESTAMP TIMESTAMP}
35
+ # @return [::String]
36
+ # If {::Google::Cloud::AutoML::V1beta1::DataType#type_code type_code} == {::Google::Cloud::AutoML::V1beta1::TypeCode::TIMESTAMP TIMESTAMP}
37
37
  # then `time_format` provides the format in which that time field is
38
38
  # expressed. The time_format must either be one of:
39
39
  # * `UNIX_SECONDS`
@@ -45,39 +45,39 @@ module Google
45
45
  # or be written in `strftime` syntax. If time_format is not set, then the
46
46
  # default format as described on the type_code is used.
47
47
  # @!attribute [rw] type_code
48
- # @return [Google::Cloud::AutoML::V1beta1::TypeCode]
49
- # Required. The {Google::Cloud::AutoML::V1beta1::TypeCode TypeCode} for this type.
48
+ # @return [::Google::Cloud::AutoML::V1beta1::TypeCode]
49
+ # Required. The {::Google::Cloud::AutoML::V1beta1::TypeCode TypeCode} for this type.
50
50
  # @!attribute [rw] nullable
51
- # @return [Boolean]
51
+ # @return [::Boolean]
52
52
  # If true, this DataType can also be `NULL`. In .CSV files `NULL` value is
53
53
  # expressed as an empty string.
54
54
  class DataType
55
- include Google::Protobuf::MessageExts
56
- extend Google::Protobuf::MessageExts::ClassMethods
55
+ include ::Google::Protobuf::MessageExts
56
+ extend ::Google::Protobuf::MessageExts::ClassMethods
57
57
  end
58
58
 
59
- # `StructType` defines the DataType-s of a {Google::Cloud::AutoML::V1beta1::TypeCode::STRUCT STRUCT} type.
59
+ # `StructType` defines the DataType-s of a {::Google::Cloud::AutoML::V1beta1::TypeCode::STRUCT STRUCT} type.
60
60
  # @!attribute [rw] fields
61
- # @return [Google::Protobuf::Map{String => Google::Cloud::AutoML::V1beta1::DataType}]
61
+ # @return [::Google::Protobuf::Map{::String => ::Google::Cloud::AutoML::V1beta1::DataType}]
62
62
  # Unordered map of struct field names to their data types.
63
63
  # Fields cannot be added or removed via Update. Their names and
64
64
  # data types are still mutable.
65
65
  class StructType
66
- include Google::Protobuf::MessageExts
67
- extend Google::Protobuf::MessageExts::ClassMethods
66
+ include ::Google::Protobuf::MessageExts
67
+ extend ::Google::Protobuf::MessageExts::ClassMethods
68
68
 
69
69
  # @!attribute [rw] key
70
- # @return [String]
70
+ # @return [::String]
71
71
  # @!attribute [rw] value
72
- # @return [Google::Cloud::AutoML::V1beta1::DataType]
72
+ # @return [::Google::Cloud::AutoML::V1beta1::DataType]
73
73
  class FieldsEntry
74
- include Google::Protobuf::MessageExts
75
- extend Google::Protobuf::MessageExts::ClassMethods
74
+ include ::Google::Protobuf::MessageExts
75
+ extend ::Google::Protobuf::MessageExts::ClassMethods
76
76
  end
77
77
  end
78
78
 
79
79
  # `TypeCode` is used as a part of
80
- # {Google::Cloud::AutoML::V1beta1::DataType DataType}.
80
+ # {::Google::Cloud::AutoML::V1beta1::DataType DataType}.
81
81
  module TypeCode
82
82
  # Not specified. Should not be used.
83
83
  TYPE_CODE_UNSPECIFIED = 0
@@ -87,7 +87,7 @@ module Google
87
87
  FLOAT64 = 3
88
88
 
89
89
  # Must be between 0AD and 9999AD. Encoded as `string` according to
90
- # {Google::Cloud::AutoML::V1beta1::DataType#time_format time_format}, or, if
90
+ # {::Google::Cloud::AutoML::V1beta1::DataType#time_format time_format}, or, if
91
91
  # that format is not set, then in RFC 3339 `date-time` format, where
92
92
  # `time-offset` = `"Z"` (e.g. 1985-04-12T23:20:50.52Z).
93
93
  TIMESTAMP = 4
@@ -97,11 +97,11 @@ module Google
97
97
 
98
98
  # Encoded as `list`, where the list elements are represented according to
99
99
  #
100
- # {Google::Cloud::AutoML::V1beta1::DataType#list_element_type list_element_type}.
100
+ # {::Google::Cloud::AutoML::V1beta1::DataType#list_element_type list_element_type}.
101
101
  ARRAY = 8
102
102
 
103
103
  # Encoded as `struct`, where field values are represented according to
104
- # {Google::Cloud::AutoML::V1beta1::DataType#struct_type struct_type}.
104
+ # {::Google::Cloud::AutoML::V1beta1::DataType#struct_type struct_type}.
105
105
  STRUCT = 9
106
106
 
107
107
  # Values of this type are not further understood by AutoML,
@@ -24,59 +24,59 @@ module Google
24
24
  # A workspace for solving a single, particular machine learning (ML) problem.
25
25
  # A workspace contains examples that may be annotated.
26
26
  # @!attribute [rw] translation_dataset_metadata
27
- # @return [Google::Cloud::AutoML::V1beta1::TranslationDatasetMetadata]
27
+ # @return [::Google::Cloud::AutoML::V1beta1::TranslationDatasetMetadata]
28
28
  # Metadata for a dataset used for translation.
29
29
  # @!attribute [rw] image_classification_dataset_metadata
30
- # @return [Google::Cloud::AutoML::V1beta1::ImageClassificationDatasetMetadata]
30
+ # @return [::Google::Cloud::AutoML::V1beta1::ImageClassificationDatasetMetadata]
31
31
  # Metadata for a dataset used for image classification.
32
32
  # @!attribute [rw] text_classification_dataset_metadata
33
- # @return [Google::Cloud::AutoML::V1beta1::TextClassificationDatasetMetadata]
33
+ # @return [::Google::Cloud::AutoML::V1beta1::TextClassificationDatasetMetadata]
34
34
  # Metadata for a dataset used for text classification.
35
35
  # @!attribute [rw] image_object_detection_dataset_metadata
36
- # @return [Google::Cloud::AutoML::V1beta1::ImageObjectDetectionDatasetMetadata]
36
+ # @return [::Google::Cloud::AutoML::V1beta1::ImageObjectDetectionDatasetMetadata]
37
37
  # Metadata for a dataset used for image object detection.
38
38
  # @!attribute [rw] video_classification_dataset_metadata
39
- # @return [Google::Cloud::AutoML::V1beta1::VideoClassificationDatasetMetadata]
39
+ # @return [::Google::Cloud::AutoML::V1beta1::VideoClassificationDatasetMetadata]
40
40
  # Metadata for a dataset used for video classification.
41
41
  # @!attribute [rw] video_object_tracking_dataset_metadata
42
- # @return [Google::Cloud::AutoML::V1beta1::VideoObjectTrackingDatasetMetadata]
42
+ # @return [::Google::Cloud::AutoML::V1beta1::VideoObjectTrackingDatasetMetadata]
43
43
  # Metadata for a dataset used for video object tracking.
44
44
  # @!attribute [rw] text_extraction_dataset_metadata
45
- # @return [Google::Cloud::AutoML::V1beta1::TextExtractionDatasetMetadata]
45
+ # @return [::Google::Cloud::AutoML::V1beta1::TextExtractionDatasetMetadata]
46
46
  # Metadata for a dataset used for text extraction.
47
47
  # @!attribute [rw] text_sentiment_dataset_metadata
48
- # @return [Google::Cloud::AutoML::V1beta1::TextSentimentDatasetMetadata]
48
+ # @return [::Google::Cloud::AutoML::V1beta1::TextSentimentDatasetMetadata]
49
49
  # Metadata for a dataset used for text sentiment.
50
50
  # @!attribute [rw] tables_dataset_metadata
51
- # @return [Google::Cloud::AutoML::V1beta1::TablesDatasetMetadata]
51
+ # @return [::Google::Cloud::AutoML::V1beta1::TablesDatasetMetadata]
52
52
  # Metadata for a dataset used for Tables.
53
53
  # @!attribute [rw] name
54
- # @return [String]
54
+ # @return [::String]
55
55
  # Output only. The resource name of the dataset.
56
56
  # Form: `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}`
57
57
  # @!attribute [rw] display_name
58
- # @return [String]
58
+ # @return [::String]
59
59
  # Required. The name of the dataset to show in the interface. The name can be
60
60
  # up to 32 characters long and can consist only of ASCII Latin letters A-Z
61
61
  # and a-z, underscores
62
62
  # (_), and ASCII digits 0-9.
63
63
  # @!attribute [rw] description
64
- # @return [String]
64
+ # @return [::String]
65
65
  # User-provided description of the dataset. The description can be up to
66
66
  # 25000 characters long.
67
67
  # @!attribute [rw] example_count
68
- # @return [Integer]
68
+ # @return [::Integer]
69
69
  # Output only. The number of examples in the dataset.
70
70
  # @!attribute [rw] create_time
71
- # @return [Google::Protobuf::Timestamp]
71
+ # @return [::Google::Protobuf::Timestamp]
72
72
  # Output only. Timestamp when this dataset was created.
73
73
  # @!attribute [rw] etag
74
- # @return [String]
74
+ # @return [::String]
75
75
  # Used to perform consistent read-modify-write updates. If not set, a blind
76
76
  # "overwrite" update happens.
77
77
  class Dataset
78
- include Google::Protobuf::MessageExts
79
- extend Google::Protobuf::MessageExts::ClassMethods
78
+ include ::Google::Protobuf::MessageExts
79
+ extend ::Google::Protobuf::MessageExts::ClassMethods
80
80
  end
81
81
  end
82
82
  end
@@ -23,20 +23,20 @@ module Google
23
23
  module V1beta1
24
24
  # Annotation details for image object detection.
25
25
  # @!attribute [rw] bounding_box
26
- # @return [Google::Cloud::AutoML::V1beta1::BoundingPoly]
26
+ # @return [::Google::Cloud::AutoML::V1beta1::BoundingPoly]
27
27
  # Output only. The rectangle representing the object location.
28
28
  # @!attribute [rw] score
29
- # @return [Float]
29
+ # @return [::Float]
30
30
  # Output only. The confidence that this annotation is positive for the parent example,
31
31
  # value in [0, 1], higher means higher positivity confidence.
32
32
  class ImageObjectDetectionAnnotation
33
- include Google::Protobuf::MessageExts
34
- extend Google::Protobuf::MessageExts::ClassMethods
33
+ include ::Google::Protobuf::MessageExts
34
+ extend ::Google::Protobuf::MessageExts::ClassMethods
35
35
  end
36
36
 
37
37
  # Annotation details for video object tracking.
38
38
  # @!attribute [rw] instance_id
39
- # @return [String]
39
+ # @return [::String]
40
40
  # Optional. The instance of the object, expressed as a positive integer. Used to tell
41
41
  # apart objects of the same type (i.e. AnnotationSpec) when multiple are
42
42
  # present on a single example.
@@ -45,106 +45,106 @@ module Google
45
45
  # off-screen for a longer time (minutes), when it comes back it may be given
46
46
  # a new instance ID.
47
47
  # @!attribute [rw] time_offset
48
- # @return [Google::Protobuf::Duration]
48
+ # @return [::Google::Protobuf::Duration]
49
49
  # Required. A time (frame) of a video to which this annotation pertains.
50
50
  # Represented as the duration since the video's start.
51
51
  # @!attribute [rw] bounding_box
52
- # @return [Google::Cloud::AutoML::V1beta1::BoundingPoly]
52
+ # @return [::Google::Cloud::AutoML::V1beta1::BoundingPoly]
53
53
  # Required. The rectangle representing the object location on the frame (i.e.
54
54
  # at the time_offset of the video).
55
55
  # @!attribute [rw] score
56
- # @return [Float]
56
+ # @return [::Float]
57
57
  # Output only. The confidence that this annotation is positive for the video at
58
58
  # the time_offset, value in [0, 1], higher means higher positivity
59
59
  # confidence. For annotations created by the user the score is 1. When
60
60
  # user approves an annotation, the original float score is kept (and not
61
61
  # changed to 1).
62
62
  class VideoObjectTrackingAnnotation
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
 
67
67
  # Bounding box matching model metrics for a single intersection-over-union
68
68
  # threshold and multiple label match confidence thresholds.
69
69
  # @!attribute [rw] iou_threshold
70
- # @return [Float]
70
+ # @return [::Float]
71
71
  # Output only. The intersection-over-union threshold value used to compute
72
72
  # this metrics entry.
73
73
  # @!attribute [rw] mean_average_precision
74
- # @return [Float]
74
+ # @return [::Float]
75
75
  # Output only. The mean average precision, most often close to au_prc.
76
76
  # @!attribute [rw] confidence_metrics_entries
77
- # @return [Array<Google::Cloud::AutoML::V1beta1::BoundingBoxMetricsEntry::ConfidenceMetricsEntry>]
77
+ # @return [::Array<::Google::Cloud::AutoML::V1beta1::BoundingBoxMetricsEntry::ConfidenceMetricsEntry>]
78
78
  # Output only. Metrics for each label-match confidence_threshold from
79
79
  # 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99. Precision-recall curve is
80
80
  # derived from them.
81
81
  class BoundingBoxMetricsEntry
82
- include Google::Protobuf::MessageExts
83
- extend Google::Protobuf::MessageExts::ClassMethods
82
+ include ::Google::Protobuf::MessageExts
83
+ extend ::Google::Protobuf::MessageExts::ClassMethods
84
84
 
85
85
  # Metrics for a single confidence threshold.
86
86
  # @!attribute [rw] confidence_threshold
87
- # @return [Float]
87
+ # @return [::Float]
88
88
  # Output only. The confidence threshold value used to compute the metrics.
89
89
  # @!attribute [rw] recall
90
- # @return [Float]
90
+ # @return [::Float]
91
91
  # Output only. Recall under the given confidence threshold.
92
92
  # @!attribute [rw] precision
93
- # @return [Float]
93
+ # @return [::Float]
94
94
  # Output only. Precision under the given confidence threshold.
95
95
  # @!attribute [rw] f1_score
96
- # @return [Float]
96
+ # @return [::Float]
97
97
  # Output only. The harmonic mean of recall and precision.
98
98
  class ConfidenceMetricsEntry
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
  end
103
103
 
104
104
  # Model evaluation metrics for image object detection problems.
105
105
  # Evaluates prediction quality of labeled bounding boxes.
106
106
  # @!attribute [rw] evaluated_bounding_box_count
107
- # @return [Integer]
107
+ # @return [::Integer]
108
108
  # Output only. The total number of bounding boxes (i.e. summed over all
109
109
  # images) the ground truth used to create this evaluation had.
110
110
  # @!attribute [rw] bounding_box_metrics_entries
111
- # @return [Array<Google::Cloud::AutoML::V1beta1::BoundingBoxMetricsEntry>]
111
+ # @return [::Array<::Google::Cloud::AutoML::V1beta1::BoundingBoxMetricsEntry>]
112
112
  # Output only. The bounding boxes match metrics for each
113
113
  # Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99
114
114
  # and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99
115
115
  # pair.
116
116
  # @!attribute [rw] bounding_box_mean_average_precision
117
- # @return [Float]
117
+ # @return [::Float]
118
118
  # Output only. The single metric for bounding boxes evaluation:
119
119
  # the mean_average_precision averaged over all bounding_box_metrics_entries.
120
120
  class ImageObjectDetectionEvaluationMetrics
121
- include Google::Protobuf::MessageExts
122
- extend Google::Protobuf::MessageExts::ClassMethods
121
+ include ::Google::Protobuf::MessageExts
122
+ extend ::Google::Protobuf::MessageExts::ClassMethods
123
123
  end
124
124
 
125
125
  # Model evaluation metrics for video object tracking problems.
126
126
  # Evaluates prediction quality of both labeled bounding boxes and labeled
127
127
  # tracks (i.e. series of bounding boxes sharing same label and instance ID).
128
128
  # @!attribute [rw] evaluated_frame_count
129
- # @return [Integer]
129
+ # @return [::Integer]
130
130
  # Output only. The number of video frames used to create this evaluation.
131
131
  # @!attribute [rw] evaluated_bounding_box_count
132
- # @return [Integer]
132
+ # @return [::Integer]
133
133
  # Output only. The total number of bounding boxes (i.e. summed over all
134
134
  # frames) the ground truth used to create this evaluation had.
135
135
  # @!attribute [rw] bounding_box_metrics_entries
136
- # @return [Array<Google::Cloud::AutoML::V1beta1::BoundingBoxMetricsEntry>]
136
+ # @return [::Array<::Google::Cloud::AutoML::V1beta1::BoundingBoxMetricsEntry>]
137
137
  # Output only. The bounding boxes match metrics for each
138
138
  # Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99
139
139
  # and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99
140
140
  # pair.
141
141
  # @!attribute [rw] bounding_box_mean_average_precision
142
- # @return [Float]
142
+ # @return [::Float]
143
143
  # Output only. The single metric for bounding boxes evaluation:
144
144
  # the mean_average_precision averaged over all bounding_box_metrics_entries.
145
145
  class VideoObjectTrackingEvaluationMetrics
146
- include Google::Protobuf::MessageExts
147
- extend Google::Protobuf::MessageExts::ClassMethods
146
+ include ::Google::Protobuf::MessageExts
147
+ extend ::Google::Protobuf::MessageExts::ClassMethods
148
148
  end
149
149
  end
150
150
  end
@@ -27,25 +27,25 @@ module Google
27
27
  # have size 10 x 20 then a point with normalized coordinates (0.1, 0.3) would
28
28
  # be at the position (1, 6) on that plane.
29
29
  # @!attribute [rw] x
30
- # @return [Float]
30
+ # @return [::Float]
31
31
  # Required. Horizontal coordinate.
32
32
  # @!attribute [rw] y
33
- # @return [Float]
33
+ # @return [::Float]
34
34
  # Required. Vertical coordinate.
35
35
  class NormalizedVertex
36
- include Google::Protobuf::MessageExts
37
- extend Google::Protobuf::MessageExts::ClassMethods
36
+ include ::Google::Protobuf::MessageExts
37
+ extend ::Google::Protobuf::MessageExts::ClassMethods
38
38
  end
39
39
 
40
40
  # A bounding polygon of a detected object on a plane.
41
41
  # On output both vertices and normalized_vertices are provided.
42
42
  # The polygon is formed by connecting vertices in the order they are listed.
43
43
  # @!attribute [rw] normalized_vertices
44
- # @return [Array<Google::Cloud::AutoML::V1beta1::NormalizedVertex>]
44
+ # @return [::Array<::Google::Cloud::AutoML::V1beta1::NormalizedVertex>]
45
45
  # Output only . The bounding polygon normalized vertices.
46
46
  class BoundingPoly
47
- include Google::Protobuf::MessageExts
48
- extend Google::Protobuf::MessageExts::ClassMethods
47
+ include ::Google::Protobuf::MessageExts
48
+ extend ::Google::Protobuf::MessageExts::ClassMethods
49
49
  end
50
50
  end
51
51
  end
@@ -23,92 +23,92 @@ module Google
23
23
  module V1beta1
24
24
  # Dataset metadata that is specific to image classification.
25
25
  # @!attribute [rw] classification_type
26
- # @return [Google::Cloud::AutoML::V1beta1::ClassificationType]
26
+ # @return [::Google::Cloud::AutoML::V1beta1::ClassificationType]
27
27
  # Required. Type of the classification problem.
28
28
  class ImageClassificationDatasetMetadata
29
- include Google::Protobuf::MessageExts
30
- extend Google::Protobuf::MessageExts::ClassMethods
29
+ include ::Google::Protobuf::MessageExts
30
+ extend ::Google::Protobuf::MessageExts::ClassMethods
31
31
  end
32
32
 
33
33
  # Dataset metadata specific to image object detection.
34
34
  class ImageObjectDetectionDatasetMetadata
35
- include Google::Protobuf::MessageExts
36
- extend Google::Protobuf::MessageExts::ClassMethods
35
+ include ::Google::Protobuf::MessageExts
36
+ extend ::Google::Protobuf::MessageExts::ClassMethods
37
37
  end
38
38
 
39
39
  # Model metadata for image classification.
40
40
  # @!attribute [rw] base_model_id
41
- # @return [String]
41
+ # @return [::String]
42
42
  # Optional. The ID of the `base` model. If it is specified, the new model
43
43
  # will be created based on the `base` model. Otherwise, the new model will be
44
44
  # created from scratch. The `base` model must be in the same
45
45
  # `project` and `location` as the new model to create, and have the same
46
46
  # `model_type`.
47
47
  # @!attribute [rw] train_budget
48
- # @return [Integer]
48
+ # @return [::Integer]
49
49
  # Required. The train budget of creating this model, expressed in hours. The
50
50
  # actual `train_cost` will be equal or less than this value.
51
51
  # @!attribute [rw] train_cost
52
- # @return [Integer]
52
+ # @return [::Integer]
53
53
  # Output only. The actual train cost of creating this model, expressed in
54
54
  # hours. If this model is created from a `base` model, the train cost used
55
55
  # to create the `base` model are not included.
56
56
  # @!attribute [rw] stop_reason
57
- # @return [String]
57
+ # @return [::String]
58
58
  # Output only. The reason that this create model operation stopped,
59
59
  # e.g. `BUDGET_REACHED`, `MODEL_CONVERGED`.
60
60
  # @!attribute [rw] model_type
61
- # @return [String]
61
+ # @return [::String]
62
62
  # Optional. Type of the model. The available values are:
63
63
  # * `cloud` - Model to be used via prediction calls to AutoML API.
64
64
  # This is the default value.
65
65
  # * `mobile-low-latency-1` - A model that, in addition to providing
66
66
  # prediction via AutoML API, can also be exported (see
67
- # {Google::Cloud::AutoML::V1beta1::AutoML::Client#export_model AutoMl.ExportModel}) and used on a mobile or edge device
67
+ # {::Google::Cloud::AutoML::V1beta1::AutoML::Client#export_model AutoMl.ExportModel}) and used on a mobile or edge device
68
68
  # with TensorFlow afterwards. Expected to have low latency, but
69
69
  # may have lower prediction quality than other models.
70
70
  # * `mobile-versatile-1` - A model that, in addition to providing
71
71
  # prediction via AutoML API, can also be exported (see
72
- # {Google::Cloud::AutoML::V1beta1::AutoML::Client#export_model AutoMl.ExportModel}) and used on a mobile or edge device
72
+ # {::Google::Cloud::AutoML::V1beta1::AutoML::Client#export_model AutoMl.ExportModel}) and used on a mobile or edge device
73
73
  # with TensorFlow afterwards.
74
74
  # * `mobile-high-accuracy-1` - A model that, in addition to providing
75
75
  # prediction via AutoML API, can also be exported (see
76
- # {Google::Cloud::AutoML::V1beta1::AutoML::Client#export_model AutoMl.ExportModel}) and used on a mobile or edge device
76
+ # {::Google::Cloud::AutoML::V1beta1::AutoML::Client#export_model AutoMl.ExportModel}) and used on a mobile or edge device
77
77
  # with TensorFlow afterwards. Expected to have a higher
78
78
  # latency, but should also have a higher prediction quality
79
79
  # than other models.
80
80
  # * `mobile-core-ml-low-latency-1` - A model that, in addition to providing
81
81
  # prediction via AutoML API, can also be exported (see
82
- # {Google::Cloud::AutoML::V1beta1::AutoML::Client#export_model AutoMl.ExportModel}) and used on a mobile device with Core
82
+ # {::Google::Cloud::AutoML::V1beta1::AutoML::Client#export_model AutoMl.ExportModel}) and used on a mobile device with Core
83
83
  # ML afterwards. Expected to have low latency, but may have
84
84
  # lower prediction quality than other models.
85
85
  # * `mobile-core-ml-versatile-1` - A model that, in addition to providing
86
86
  # prediction via AutoML API, can also be exported (see
87
- # {Google::Cloud::AutoML::V1beta1::AutoML::Client#export_model AutoMl.ExportModel}) and used on a mobile device with Core
87
+ # {::Google::Cloud::AutoML::V1beta1::AutoML::Client#export_model AutoMl.ExportModel}) and used on a mobile device with Core
88
88
  # ML afterwards.
89
89
  # * `mobile-core-ml-high-accuracy-1` - A model that, in addition to
90
90
  # providing prediction via AutoML API, can also be exported
91
- # (see {Google::Cloud::AutoML::V1beta1::AutoML::Client#export_model AutoMl.ExportModel}) and used on a mobile device with
91
+ # (see {::Google::Cloud::AutoML::V1beta1::AutoML::Client#export_model AutoMl.ExportModel}) and used on a mobile device with
92
92
  # Core ML afterwards. Expected to have a higher latency, but
93
93
  # should also have a higher prediction quality than other
94
94
  # models.
95
95
  # @!attribute [rw] node_qps
96
- # @return [Float]
96
+ # @return [::Float]
97
97
  # Output only. An approximate number of online prediction QPS that can
98
98
  # be supported by this model per each node on which it is deployed.
99
99
  # @!attribute [rw] node_count
100
- # @return [Integer]
100
+ # @return [::Integer]
101
101
  # Output only. The number of nodes this model is deployed on. A node is an
102
102
  # abstraction of a machine resource, which can handle online prediction QPS
103
103
  # as given in the node_qps field.
104
104
  class ImageClassificationModelMetadata
105
- include Google::Protobuf::MessageExts
106
- extend Google::Protobuf::MessageExts::ClassMethods
105
+ include ::Google::Protobuf::MessageExts
106
+ extend ::Google::Protobuf::MessageExts::ClassMethods
107
107
  end
108
108
 
109
109
  # Model metadata specific to image object detection.
110
110
  # @!attribute [rw] model_type
111
- # @return [String]
111
+ # @return [::String]
112
112
  # Optional. Type of the model. The available values are:
113
113
  # * `cloud-high-accuracy-1` - (default) A model to be used via prediction
114
114
  # calls to AutoML API. Expected to have a higher latency, but
@@ -119,34 +119,34 @@ module Google
119
119
  # have lower prediction quality than other models.
120
120
  # * `mobile-low-latency-1` - A model that, in addition to providing
121
121
  # prediction via AutoML API, can also be exported (see
122
- # {Google::Cloud::AutoML::V1beta1::AutoML::Client#export_model AutoMl.ExportModel}) and used on a mobile or edge device
122
+ # {::Google::Cloud::AutoML::V1beta1::AutoML::Client#export_model AutoMl.ExportModel}) and used on a mobile or edge device
123
123
  # with TensorFlow afterwards. Expected to have low latency, but
124
124
  # may have lower prediction quality than other models.
125
125
  # * `mobile-versatile-1` - A model that, in addition to providing
126
126
  # prediction via AutoML API, can also be exported (see
127
- # {Google::Cloud::AutoML::V1beta1::AutoML::Client#export_model AutoMl.ExportModel}) and used on a mobile or edge device
127
+ # {::Google::Cloud::AutoML::V1beta1::AutoML::Client#export_model AutoMl.ExportModel}) and used on a mobile or edge device
128
128
  # with TensorFlow afterwards.
129
129
  # * `mobile-high-accuracy-1` - A model that, in addition to providing
130
130
  # prediction via AutoML API, can also be exported (see
131
- # {Google::Cloud::AutoML::V1beta1::AutoML::Client#export_model AutoMl.ExportModel}) and used on a mobile or edge device
131
+ # {::Google::Cloud::AutoML::V1beta1::AutoML::Client#export_model AutoMl.ExportModel}) and used on a mobile or edge device
132
132
  # with TensorFlow afterwards. Expected to have a higher
133
133
  # latency, but should also have a higher prediction quality
134
134
  # than other models.
135
135
  # @!attribute [rw] node_count
136
- # @return [Integer]
136
+ # @return [::Integer]
137
137
  # Output only. The number of nodes this model is deployed on. A node is an
138
138
  # abstraction of a machine resource, which can handle online prediction QPS
139
139
  # as given in the qps_per_node field.
140
140
  # @!attribute [rw] node_qps
141
- # @return [Float]
141
+ # @return [::Float]
142
142
  # Output only. An approximate number of online prediction QPS that can
143
143
  # be supported by this model per each node on which it is deployed.
144
144
  # @!attribute [rw] stop_reason
145
- # @return [String]
145
+ # @return [::String]
146
146
  # Output only. The reason that this create model operation stopped,
147
147
  # e.g. `BUDGET_REACHED`, `MODEL_CONVERGED`.
148
148
  # @!attribute [rw] train_budget_milli_node_hours
149
- # @return [Integer]
149
+ # @return [::Integer]
150
150
  # The train budget of creating this model, expressed in milli node
151
151
  # hours i.e. 1,000 value in this field means 1 node hour. The actual
152
152
  # `train_cost` will be equal or less than this value. If further model
@@ -163,32 +163,32 @@ module Google
163
163
  # budget must be between 1,000 and 100,000 milli node hours, inclusive.
164
164
  # The default value is 24, 000 which represents one day in wall time.
165
165
  # @!attribute [rw] train_cost_milli_node_hours
166
- # @return [Integer]
166
+ # @return [::Integer]
167
167
  # Output only. The actual train cost of creating this model, expressed in
168
168
  # milli node hours, i.e. 1,000 value in this field means 1 node hour.
169
169
  # Guaranteed to not exceed the train budget.
170
170
  class ImageObjectDetectionModelMetadata
171
- include Google::Protobuf::MessageExts
172
- extend Google::Protobuf::MessageExts::ClassMethods
171
+ include ::Google::Protobuf::MessageExts
172
+ extend ::Google::Protobuf::MessageExts::ClassMethods
173
173
  end
174
174
 
175
175
  # Model deployment metadata specific to Image Classification.
176
176
  # @!attribute [rw] node_count
177
- # @return [Integer]
177
+ # @return [::Integer]
178
178
  # Input only. The number of nodes to deploy the model on. A node is an
179
179
  # abstraction of a machine resource, which can handle online prediction QPS
180
180
  # as given in the model's
181
181
  #
182
- # {Google::Cloud::AutoML::V1beta1::ImageClassificationModelMetadata#node_qps node_qps}.
182
+ # {::Google::Cloud::AutoML::V1beta1::ImageClassificationModelMetadata#node_qps node_qps}.
183
183
  # Must be between 1 and 100, inclusive on both ends.
184
184
  class ImageClassificationModelDeploymentMetadata
185
- include Google::Protobuf::MessageExts
186
- extend Google::Protobuf::MessageExts::ClassMethods
185
+ include ::Google::Protobuf::MessageExts
186
+ extend ::Google::Protobuf::MessageExts::ClassMethods
187
187
  end
188
188
 
189
189
  # Model deployment metadata specific to Image Object Detection.
190
190
  # @!attribute [rw] node_count
191
- # @return [Integer]
191
+ # @return [::Integer]
192
192
  # Input only. The number of nodes to deploy the model on. A node is an
193
193
  # abstraction of a machine resource, which can handle online prediction QPS
194
194
  # as given in the model's
@@ -196,8 +196,8 @@ module Google
196
196
  # [qps_per_node][google.cloud.automl.v1beta1.ImageObjectDetectionModelMetadata.qps_per_node].
197
197
  # Must be between 1 and 100, inclusive on both ends.
198
198
  class ImageObjectDetectionModelDeploymentMetadata
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