google-cloud-automl-v1beta1 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (89) hide show
  1. checksums.yaml +7 -0
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +169 -0
  4. data/LICENSE.md +203 -0
  5. data/README.md +71 -0
  6. data/lib/google-cloud-automl-v1beta1.rb +21 -0
  7. data/lib/google/cloud/automl/v1beta1.rb +36 -0
  8. data/lib/google/cloud/automl/v1beta1/annotation_payload_pb.rb +41 -0
  9. data/lib/google/cloud/automl/v1beta1/annotation_spec_pb.rb +26 -0
  10. data/lib/google/cloud/automl/v1beta1/automl.rb +63 -0
  11. data/lib/google/cloud/automl/v1beta1/automl/client.rb +2368 -0
  12. data/lib/google/cloud/automl/v1beta1/automl/credentials.rb +51 -0
  13. data/lib/google/cloud/automl/v1beta1/automl/operations.rb +564 -0
  14. data/lib/google/cloud/automl/v1beta1/automl/paths.rb +174 -0
  15. data/lib/google/cloud/automl/v1beta1/classification_pb.rb +73 -0
  16. data/lib/google/cloud/automl/v1beta1/column_spec_pb.rb +36 -0
  17. data/lib/google/cloud/automl/v1beta1/data_items_pb.rb +95 -0
  18. data/lib/google/cloud/automl/v1beta1/data_stats_pb.rb +84 -0
  19. data/lib/google/cloud/automl/v1beta1/data_types_pb.rb +43 -0
  20. data/lib/google/cloud/automl/v1beta1/dataset_pb.rb +46 -0
  21. data/lib/google/cloud/automl/v1beta1/detection_pb.rb +59 -0
  22. data/lib/google/cloud/automl/v1beta1/geometry_pb.rb +28 -0
  23. data/lib/google/cloud/automl/v1beta1/image_pb.rb +57 -0
  24. data/lib/google/cloud/automl/v1beta1/io_pb.rb +87 -0
  25. data/lib/google/cloud/automl/v1beta1/model_evaluation_pb.rb +45 -0
  26. data/lib/google/cloud/automl/v1beta1/model_pb.rb +52 -0
  27. data/lib/google/cloud/automl/v1beta1/operations_pb.rb +97 -0
  28. data/lib/google/cloud/automl/v1beta1/prediction_service.rb +53 -0
  29. data/lib/google/cloud/automl/v1beta1/prediction_service/client.rb +586 -0
  30. data/lib/google/cloud/automl/v1beta1/prediction_service/credentials.rb +51 -0
  31. data/lib/google/cloud/automl/v1beta1/prediction_service/operations.rb +564 -0
  32. data/lib/google/cloud/automl/v1beta1/prediction_service/paths.rb +52 -0
  33. data/lib/google/cloud/automl/v1beta1/prediction_service_pb.rb +50 -0
  34. data/lib/google/cloud/automl/v1beta1/prediction_service_services_pb.rb +79 -0
  35. data/lib/google/cloud/automl/v1beta1/ranges_pb.rb +24 -0
  36. data/lib/google/cloud/automl/v1beta1/regression_pb.rb +27 -0
  37. data/lib/google/cloud/automl/v1beta1/service_pb.rb +187 -0
  38. data/lib/google/cloud/automl/v1beta1/service_services_pb.rb +163 -0
  39. data/lib/google/cloud/automl/v1beta1/table_spec_pb.rb +31 -0
  40. data/lib/google/cloud/automl/v1beta1/tables_pb.rb +65 -0
  41. data/lib/google/cloud/automl/v1beta1/temporal_pb.rb +25 -0
  42. data/lib/google/cloud/automl/v1beta1/text_extraction_pb.rb +39 -0
  43. data/lib/google/cloud/automl/v1beta1/text_pb.rb +41 -0
  44. data/lib/google/cloud/automl/v1beta1/text_segment_pb.rb +25 -0
  45. data/lib/google/cloud/automl/v1beta1/text_sentiment_pb.rb +36 -0
  46. data/lib/google/cloud/automl/v1beta1/translation_pb.rb +41 -0
  47. data/lib/google/cloud/automl/v1beta1/version.rb +28 -0
  48. data/lib/google/cloud/automl/v1beta1/video_pb.rb +32 -0
  49. data/lib/google/cloud/common_resources_pb.rb +15 -0
  50. data/proto_docs/README.md +4 -0
  51. data/proto_docs/google/api/field_behavior.rb +59 -0
  52. data/proto_docs/google/api/resource.rb +247 -0
  53. data/proto_docs/google/cloud/automl/v1beta1/annotation_payload.rb +70 -0
  54. data/proto_docs/google/cloud/automl/v1beta1/annotation_spec.rb +46 -0
  55. data/proto_docs/google/cloud/automl/v1beta1/classification.rb +234 -0
  56. data/proto_docs/google/cloud/automl/v1beta1/column_spec.rb +77 -0
  57. data/proto_docs/google/cloud/automl/v1beta1/data_items.rb +227 -0
  58. data/proto_docs/google/cloud/automl/v1beta1/data_stats.rb +227 -0
  59. data/proto_docs/google/cloud/automl/v1beta1/data_types.rb +118 -0
  60. data/proto_docs/google/cloud/automl/v1beta1/dataset.rb +84 -0
  61. data/proto_docs/google/cloud/automl/v1beta1/detection.rb +152 -0
  62. data/proto_docs/google/cloud/automl/v1beta1/geometry.rb +53 -0
  63. data/proto_docs/google/cloud/automl/v1beta1/image.rb +205 -0
  64. data/proto_docs/google/cloud/automl/v1beta1/io.rb +1168 -0
  65. data/proto_docs/google/cloud/automl/v1beta1/model.rb +95 -0
  66. data/proto_docs/google/cloud/automl/v1beta1/model_evaluation.rb +103 -0
  67. data/proto_docs/google/cloud/automl/v1beta1/operations.rb +206 -0
  68. data/proto_docs/google/cloud/automl/v1beta1/prediction_service.rb +238 -0
  69. data/proto_docs/google/cloud/automl/v1beta1/ranges.rb +38 -0
  70. data/proto_docs/google/cloud/automl/v1beta1/regression.rb +48 -0
  71. data/proto_docs/google/cloud/automl/v1beta1/service.rb +447 -0
  72. data/proto_docs/google/cloud/automl/v1beta1/table_spec.rb +75 -0
  73. data/proto_docs/google/cloud/automl/v1beta1/tables.rb +300 -0
  74. data/proto_docs/google/cloud/automl/v1beta1/temporal.rb +40 -0
  75. data/proto_docs/google/cloud/automl/v1beta1/text.rb +76 -0
  76. data/proto_docs/google/cloud/automl/v1beta1/text_extraction.rb +73 -0
  77. data/proto_docs/google/cloud/automl/v1beta1/text_segment.rb +44 -0
  78. data/proto_docs/google/cloud/automl/v1beta1/text_sentiment.rb +86 -0
  79. data/proto_docs/google/cloud/automl/v1beta1/translation.rb +79 -0
  80. data/proto_docs/google/cloud/automl/v1beta1/video.rb +51 -0
  81. data/proto_docs/google/longrunning/operations.rb +150 -0
  82. data/proto_docs/google/protobuf/any.rb +138 -0
  83. data/proto_docs/google/protobuf/duration.rb +98 -0
  84. data/proto_docs/google/protobuf/empty.rb +36 -0
  85. data/proto_docs/google/protobuf/field_mask.rb +229 -0
  86. data/proto_docs/google/protobuf/struct.rb +96 -0
  87. data/proto_docs/google/protobuf/timestamp.rb +120 -0
  88. data/proto_docs/google/rpc/status.rb +46 -0
  89. metadata +245 -0
@@ -0,0 +1,77 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2020 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module AutoML
23
+ module V1beta1
24
+ # A representation of a column in a relational table. When listing them, column specs are returned in the same order in which they were
25
+ # given on import .
26
+ # Used by:
27
+ # * Tables
28
+ # @!attribute [rw] name
29
+ # @return [String]
30
+ # Output only. The resource name of the column specs.
31
+ # Form:
32
+ #
33
+ # `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/tableSpecs/{table_spec_id}/columnSpecs/{column_spec_id}`
34
+ # @!attribute [rw] data_type
35
+ # @return [Google::Cloud::AutoML::V1beta1::DataType]
36
+ # The data type of elements stored in the column.
37
+ # @!attribute [rw] display_name
38
+ # @return [String]
39
+ # Output only. The name of the column to show in the interface. The name can
40
+ # be up to 100 characters long and can consist only of ASCII Latin letters
41
+ # A-Z and a-z, ASCII digits 0-9, underscores(_), and forward slashes(/), and
42
+ # must start with a letter or a digit.
43
+ # @!attribute [rw] data_stats
44
+ # @return [Google::Cloud::AutoML::V1beta1::DataStats]
45
+ # Output only. Stats of the series of values in the column.
46
+ # This field may be stale, see the ancestor's
47
+ # Dataset.tables_dataset_metadata.stats_update_time field
48
+ # for the timestamp at which these stats were last updated.
49
+ # @!attribute [rw] top_correlated_columns
50
+ # @return [Array<Google::Cloud::AutoML::V1beta1::ColumnSpec::CorrelatedColumn>]
51
+ # Deprecated.
52
+ # @!attribute [rw] etag
53
+ # @return [String]
54
+ # Used to perform consistent read-modify-write updates. If not set, a blind
55
+ # "overwrite" update happens.
56
+ class ColumnSpec
57
+ include Google::Protobuf::MessageExts
58
+ extend Google::Protobuf::MessageExts::ClassMethods
59
+
60
+ # Identifies the table's column, and its correlation with the column this
61
+ # ColumnSpec describes.
62
+ # @!attribute [rw] column_spec_id
63
+ # @return [String]
64
+ # The column_spec_id of the correlated column, which belongs to the same
65
+ # table as the in-context column.
66
+ # @!attribute [rw] correlation_stats
67
+ # @return [Google::Cloud::AutoML::V1beta1::CorrelationStats]
68
+ # Correlation between this and the in-context column.
69
+ class CorrelatedColumn
70
+ include Google::Protobuf::MessageExts
71
+ extend Google::Protobuf::MessageExts::ClassMethods
72
+ end
73
+ end
74
+ end
75
+ end
76
+ end
77
+ end
@@ -0,0 +1,227 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2020 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module AutoML
23
+ module V1beta1
24
+ # A representation of an image.
25
+ # Only images up to 30MB in size are supported.
26
+ # @!attribute [rw] image_bytes
27
+ # @return [String]
28
+ # Image content represented as a stream of bytes.
29
+ # Note: As with all `bytes` fields, protobuffers use a pure binary
30
+ # representation, whereas JSON representations use base64.
31
+ # @!attribute [rw] input_config
32
+ # @return [Google::Cloud::AutoML::V1beta1::InputConfig]
33
+ # An input config specifying the content of the image.
34
+ # @!attribute [rw] thumbnail_uri
35
+ # @return [String]
36
+ # Output only. HTTP URI to the thumbnail image.
37
+ class Image
38
+ include Google::Protobuf::MessageExts
39
+ extend Google::Protobuf::MessageExts::ClassMethods
40
+ end
41
+
42
+ # A representation of a text snippet.
43
+ # @!attribute [rw] content
44
+ # @return [String]
45
+ # Required. The content of the text snippet as a string. Up to 250000
46
+ # characters long.
47
+ # @!attribute [rw] mime_type
48
+ # @return [String]
49
+ # Optional. The format of {Google::Cloud::AutoML::V1beta1::TextSnippet#content content}. Currently the only two allowed
50
+ # values are "text/html" and "text/plain". If left blank, the format is
51
+ # automatically determined from the type of the uploaded {Google::Cloud::AutoML::V1beta1::TextSnippet#content content}.
52
+ # @!attribute [rw] content_uri
53
+ # @return [String]
54
+ # Output only. HTTP URI where you can download the content.
55
+ class TextSnippet
56
+ include Google::Protobuf::MessageExts
57
+ extend Google::Protobuf::MessageExts::ClassMethods
58
+ end
59
+
60
+ # Message that describes dimension of a document.
61
+ # @!attribute [rw] unit
62
+ # @return [Google::Cloud::AutoML::V1beta1::DocumentDimensions::DocumentDimensionUnit]
63
+ # Unit of the dimension.
64
+ # @!attribute [rw] width
65
+ # @return [Float]
66
+ # Width value of the document, works together with the unit.
67
+ # @!attribute [rw] height
68
+ # @return [Float]
69
+ # Height value of the document, works together with the unit.
70
+ class DocumentDimensions
71
+ include Google::Protobuf::MessageExts
72
+ extend Google::Protobuf::MessageExts::ClassMethods
73
+
74
+ # Unit of the document dimension.
75
+ module DocumentDimensionUnit
76
+ # Should not be used.
77
+ DOCUMENT_DIMENSION_UNIT_UNSPECIFIED = 0
78
+
79
+ # Document dimension is measured in inches.
80
+ INCH = 1
81
+
82
+ # Document dimension is measured in centimeters.
83
+ CENTIMETER = 2
84
+
85
+ # Document dimension is measured in points. 72 points = 1 inch.
86
+ POINT = 3
87
+ end
88
+ end
89
+
90
+ # A structured text document e.g. a PDF.
91
+ # @!attribute [rw] input_config
92
+ # @return [Google::Cloud::AutoML::V1beta1::DocumentInputConfig]
93
+ # An input config specifying the content of the document.
94
+ # @!attribute [rw] document_text
95
+ # @return [Google::Cloud::AutoML::V1beta1::TextSnippet]
96
+ # The plain text version of this document.
97
+ # @!attribute [rw] layout
98
+ # @return [Array<Google::Cloud::AutoML::V1beta1::Document::Layout>]
99
+ # Describes the layout of the document.
100
+ # Sorted by [page_number][].
101
+ # @!attribute [rw] document_dimensions
102
+ # @return [Google::Cloud::AutoML::V1beta1::DocumentDimensions]
103
+ # The dimensions of the page in the document.
104
+ # @!attribute [rw] page_count
105
+ # @return [Integer]
106
+ # Number of pages in the document.
107
+ class Document
108
+ include Google::Protobuf::MessageExts
109
+ extend Google::Protobuf::MessageExts::ClassMethods
110
+
111
+ # Describes the layout information of a {Google::Cloud::AutoML::V1beta1::Document::Layout#text_segment text_segment} in the document.
112
+ # @!attribute [rw] text_segment
113
+ # @return [Google::Cloud::AutoML::V1beta1::TextSegment]
114
+ # Text Segment that represents a segment in
115
+ # {Google::Cloud::AutoML::V1beta1::Document#document_text document_text}.
116
+ # @!attribute [rw] page_number
117
+ # @return [Integer]
118
+ # Page number of the {Google::Cloud::AutoML::V1beta1::Document::Layout#text_segment text_segment} in the original document, starts
119
+ # from 1.
120
+ # @!attribute [rw] bounding_poly
121
+ # @return [Google::Cloud::AutoML::V1beta1::BoundingPoly]
122
+ # The position of the {Google::Cloud::AutoML::V1beta1::Document::Layout#text_segment text_segment} in the page.
123
+ # Contains exactly 4
124
+ #
125
+ # {Google::Cloud::AutoML::V1beta1::BoundingPoly#normalized_vertices normalized_vertices}
126
+ # and they are connected by edges in the order provided, which will
127
+ # represent a rectangle parallel to the frame. The
128
+ # {Google::Cloud::AutoML::V1beta1::NormalizedVertex NormalizedVertex-s} are
129
+ # relative to the page.
130
+ # Coordinates are based on top-left as point (0,0).
131
+ # @!attribute [rw] text_segment_type
132
+ # @return [Google::Cloud::AutoML::V1beta1::Document::Layout::TextSegmentType]
133
+ # The type of the {Google::Cloud::AutoML::V1beta1::Document::Layout#text_segment text_segment} in document.
134
+ class Layout
135
+ include Google::Protobuf::MessageExts
136
+ extend Google::Protobuf::MessageExts::ClassMethods
137
+
138
+ # The type of TextSegment in the context of the original document.
139
+ module TextSegmentType
140
+ # Should not be used.
141
+ TEXT_SEGMENT_TYPE_UNSPECIFIED = 0
142
+
143
+ # The text segment is a token. e.g. word.
144
+ TOKEN = 1
145
+
146
+ # The text segment is a paragraph.
147
+ PARAGRAPH = 2
148
+
149
+ # The text segment is a form field.
150
+ FORM_FIELD = 3
151
+
152
+ # The text segment is the name part of a form field. It will be treated
153
+ # as child of another FORM_FIELD TextSegment if its span is subspan of
154
+ # another TextSegment with type FORM_FIELD.
155
+ FORM_FIELD_NAME = 4
156
+
157
+ # The text segment is the text content part of a form field. It will be
158
+ # treated as child of another FORM_FIELD TextSegment if its span is
159
+ # subspan of another TextSegment with type FORM_FIELD.
160
+ FORM_FIELD_CONTENTS = 5
161
+
162
+ # The text segment is a whole table, including headers, and all rows.
163
+ TABLE = 6
164
+
165
+ # The text segment is a table's headers. It will be treated as child of
166
+ # another TABLE TextSegment if its span is subspan of another TextSegment
167
+ # with type TABLE.
168
+ TABLE_HEADER = 7
169
+
170
+ # The text segment is a row in table. It will be treated as child of
171
+ # another TABLE TextSegment if its span is subspan of another TextSegment
172
+ # with type TABLE.
173
+ TABLE_ROW = 8
174
+
175
+ # The text segment is a cell in table. It will be treated as child of
176
+ # another TABLE_ROW TextSegment if its span is subspan of another
177
+ # TextSegment with type TABLE_ROW.
178
+ TABLE_CELL = 9
179
+ end
180
+ end
181
+ end
182
+
183
+ # A representation of a row in a relational table.
184
+ # @!attribute [rw] column_spec_ids
185
+ # @return [Array<String>]
186
+ # The resource IDs of the column specs describing the columns of the row.
187
+ # If set must contain, but possibly in a different order, all input
188
+ # feature
189
+ #
190
+ # {Google::Cloud::AutoML::V1beta1::TablesModelMetadata#input_feature_column_specs column_spec_ids}
191
+ # of the Model this row is being passed to.
192
+ # Note: The below `values` field must match order of this field, if this
193
+ # field is set.
194
+ # @!attribute [rw] values
195
+ # @return [Array<Google::Protobuf::Value>]
196
+ # Required. The values of the row cells, given in the same order as the
197
+ # column_spec_ids, or, if not set, then in the same order as input
198
+ # feature
199
+ #
200
+ # {Google::Cloud::AutoML::V1beta1::TablesModelMetadata#input_feature_column_specs column_specs}
201
+ # of the Model this row is being passed to.
202
+ class Row
203
+ include Google::Protobuf::MessageExts
204
+ extend Google::Protobuf::MessageExts::ClassMethods
205
+ end
206
+
207
+ # Example data used for training or prediction.
208
+ # @!attribute [rw] image
209
+ # @return [Google::Cloud::AutoML::V1beta1::Image]
210
+ # Example image.
211
+ # @!attribute [rw] text_snippet
212
+ # @return [Google::Cloud::AutoML::V1beta1::TextSnippet]
213
+ # Example text.
214
+ # @!attribute [rw] document
215
+ # @return [Google::Cloud::AutoML::V1beta1::Document]
216
+ # Example document.
217
+ # @!attribute [rw] row
218
+ # @return [Google::Cloud::AutoML::V1beta1::Row]
219
+ # Example relational table row.
220
+ class ExamplePayload
221
+ include Google::Protobuf::MessageExts
222
+ extend Google::Protobuf::MessageExts::ClassMethods
223
+ end
224
+ end
225
+ end
226
+ end
227
+ end
@@ -0,0 +1,227 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2020 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module AutoML
23
+ module V1beta1
24
+ # The data statistics of a series of values that share the same DataType.
25
+ # @!attribute [rw] float64_stats
26
+ # @return [Google::Cloud::AutoML::V1beta1::Float64Stats]
27
+ # The statistics for FLOAT64 DataType.
28
+ # @!attribute [rw] string_stats
29
+ # @return [Google::Cloud::AutoML::V1beta1::StringStats]
30
+ # The statistics for STRING DataType.
31
+ # @!attribute [rw] timestamp_stats
32
+ # @return [Google::Cloud::AutoML::V1beta1::TimestampStats]
33
+ # The statistics for TIMESTAMP DataType.
34
+ # @!attribute [rw] array_stats
35
+ # @return [Google::Cloud::AutoML::V1beta1::ArrayStats]
36
+ # The statistics for ARRAY DataType.
37
+ # @!attribute [rw] struct_stats
38
+ # @return [Google::Cloud::AutoML::V1beta1::StructStats]
39
+ # The statistics for STRUCT DataType.
40
+ # @!attribute [rw] category_stats
41
+ # @return [Google::Cloud::AutoML::V1beta1::CategoryStats]
42
+ # The statistics for CATEGORY DataType.
43
+ # @!attribute [rw] distinct_value_count
44
+ # @return [Integer]
45
+ # The number of distinct values.
46
+ # @!attribute [rw] null_value_count
47
+ # @return [Integer]
48
+ # The number of values that are null.
49
+ # @!attribute [rw] valid_value_count
50
+ # @return [Integer]
51
+ # The number of values that are valid.
52
+ class DataStats
53
+ include Google::Protobuf::MessageExts
54
+ extend Google::Protobuf::MessageExts::ClassMethods
55
+ end
56
+
57
+ # The data statistics of a series of FLOAT64 values.
58
+ # @!attribute [rw] mean
59
+ # @return [Float]
60
+ # The mean of the series.
61
+ # @!attribute [rw] standard_deviation
62
+ # @return [Float]
63
+ # The standard deviation of the series.
64
+ # @!attribute [rw] quantiles
65
+ # @return [Array<Float>]
66
+ # Ordered from 0 to k k-quantile values of the data series of n values.
67
+ # The value at index i is, approximately, the i*n/k-th smallest value in the
68
+ # series; for i = 0 and i = k these are, respectively, the min and max
69
+ # values.
70
+ # @!attribute [rw] histogram_buckets
71
+ # @return [Array<Google::Cloud::AutoML::V1beta1::Float64Stats::HistogramBucket>]
72
+ # Histogram buckets of the data series. Sorted by the min value of the
73
+ # bucket, ascendingly, and the number of the buckets is dynamically
74
+ # generated. The buckets are non-overlapping and completely cover whole
75
+ # FLOAT64 range with min of first bucket being `"-Infinity"`, and max of
76
+ # the last one being `"Infinity"`.
77
+ class Float64Stats
78
+ include Google::Protobuf::MessageExts
79
+ extend Google::Protobuf::MessageExts::ClassMethods
80
+
81
+ # A bucket of a histogram.
82
+ # @!attribute [rw] min
83
+ # @return [Float]
84
+ # The minimum value of the bucket, inclusive.
85
+ # @!attribute [rw] max
86
+ # @return [Float]
87
+ # The maximum value of the bucket, exclusive unless max = `"Infinity"`, in
88
+ # which case it's inclusive.
89
+ # @!attribute [rw] count
90
+ # @return [Integer]
91
+ # The number of data values that are in the bucket, i.e. are between
92
+ # min and max values.
93
+ class HistogramBucket
94
+ include Google::Protobuf::MessageExts
95
+ extend Google::Protobuf::MessageExts::ClassMethods
96
+ end
97
+ end
98
+
99
+ # The data statistics of a series of STRING values.
100
+ # @!attribute [rw] top_unigram_stats
101
+ # @return [Array<Google::Cloud::AutoML::V1beta1::StringStats::UnigramStats>]
102
+ # The statistics of the top 20 unigrams, ordered by
103
+ # {Google::Cloud::AutoML::V1beta1::StringStats::UnigramStats#count count}.
104
+ class StringStats
105
+ include Google::Protobuf::MessageExts
106
+ extend Google::Protobuf::MessageExts::ClassMethods
107
+
108
+ # The statistics of a unigram.
109
+ # @!attribute [rw] value
110
+ # @return [String]
111
+ # The unigram.
112
+ # @!attribute [rw] count
113
+ # @return [Integer]
114
+ # The number of occurrences of this unigram in the series.
115
+ class UnigramStats
116
+ include Google::Protobuf::MessageExts
117
+ extend Google::Protobuf::MessageExts::ClassMethods
118
+ end
119
+ end
120
+
121
+ # The data statistics of a series of TIMESTAMP values.
122
+ # @!attribute [rw] granular_stats
123
+ # @return [Google::Protobuf::Map{String => Google::Cloud::AutoML::V1beta1::TimestampStats::GranularStats}]
124
+ # The string key is the pre-defined granularity. Currently supported:
125
+ # hour_of_day, day_of_week, month_of_year.
126
+ # Granularities finer that the granularity of timestamp data are not
127
+ # populated (e.g. if timestamps are at day granularity, then hour_of_day
128
+ # is not populated).
129
+ class TimestampStats
130
+ include Google::Protobuf::MessageExts
131
+ extend Google::Protobuf::MessageExts::ClassMethods
132
+
133
+ # Stats split by a defined in context granularity.
134
+ # @!attribute [rw] buckets
135
+ # @return [Google::Protobuf::Map{Integer => Integer}]
136
+ # A map from granularity key to example count for that key.
137
+ # E.g. for hour_of_day `13` means 1pm, or for month_of_year `5` means May).
138
+ class GranularStats
139
+ include Google::Protobuf::MessageExts
140
+ extend Google::Protobuf::MessageExts::ClassMethods
141
+
142
+ # @!attribute [rw] key
143
+ # @return [Integer]
144
+ # @!attribute [rw] value
145
+ # @return [Integer]
146
+ class BucketsEntry
147
+ include Google::Protobuf::MessageExts
148
+ extend Google::Protobuf::MessageExts::ClassMethods
149
+ end
150
+ end
151
+
152
+ # @!attribute [rw] key
153
+ # @return [String]
154
+ # @!attribute [rw] value
155
+ # @return [Google::Cloud::AutoML::V1beta1::TimestampStats::GranularStats]
156
+ class GranularStatsEntry
157
+ include Google::Protobuf::MessageExts
158
+ extend Google::Protobuf::MessageExts::ClassMethods
159
+ end
160
+ end
161
+
162
+ # The data statistics of a series of ARRAY values.
163
+ # @!attribute [rw] member_stats
164
+ # @return [Google::Cloud::AutoML::V1beta1::DataStats]
165
+ # Stats of all the values of all arrays, as if they were a single long
166
+ # series of data. The type depends on the element type of the array.
167
+ class ArrayStats
168
+ include Google::Protobuf::MessageExts
169
+ extend Google::Protobuf::MessageExts::ClassMethods
170
+ end
171
+
172
+ # The data statistics of a series of STRUCT values.
173
+ # @!attribute [rw] field_stats
174
+ # @return [Google::Protobuf::Map{String => Google::Cloud::AutoML::V1beta1::DataStats}]
175
+ # Map from a field name of the struct to data stats aggregated over series
176
+ # of all data in that field across all the structs.
177
+ class StructStats
178
+ include Google::Protobuf::MessageExts
179
+ extend Google::Protobuf::MessageExts::ClassMethods
180
+
181
+ # @!attribute [rw] key
182
+ # @return [String]
183
+ # @!attribute [rw] value
184
+ # @return [Google::Cloud::AutoML::V1beta1::DataStats]
185
+ class FieldStatsEntry
186
+ include Google::Protobuf::MessageExts
187
+ extend Google::Protobuf::MessageExts::ClassMethods
188
+ end
189
+ end
190
+
191
+ # The data statistics of a series of CATEGORY values.
192
+ # @!attribute [rw] top_category_stats
193
+ # @return [Array<Google::Cloud::AutoML::V1beta1::CategoryStats::SingleCategoryStats>]
194
+ # The statistics of the top 20 CATEGORY values, ordered by
195
+ #
196
+ # {Google::Cloud::AutoML::V1beta1::CategoryStats::SingleCategoryStats#count count}.
197
+ class CategoryStats
198
+ include Google::Protobuf::MessageExts
199
+ extend Google::Protobuf::MessageExts::ClassMethods
200
+
201
+ # The statistics of a single CATEGORY value.
202
+ # @!attribute [rw] value
203
+ # @return [String]
204
+ # The CATEGORY value.
205
+ # @!attribute [rw] count
206
+ # @return [Integer]
207
+ # The number of occurrences of this value in the series.
208
+ class SingleCategoryStats
209
+ include Google::Protobuf::MessageExts
210
+ extend Google::Protobuf::MessageExts::ClassMethods
211
+ end
212
+ end
213
+
214
+ # A correlation statistics between two series of DataType values. The series
215
+ # may have differing DataType-s, but within a single series the DataType must
216
+ # be the same.
217
+ # @!attribute [rw] cramers_v
218
+ # @return [Float]
219
+ # The correlation value using the Cramer's V measure.
220
+ class CorrelationStats
221
+ include Google::Protobuf::MessageExts
222
+ extend Google::Protobuf::MessageExts::ClassMethods
223
+ end
224
+ end
225
+ end
226
+ end
227
+ end