google-cloud-automl-v1beta1 0.1.0 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +6 -6
- data/README.md +1 -1
- data/lib/google/cloud/automl/v1beta1.rb +1 -1
- data/lib/google/cloud/automl/v1beta1/automl.rb +1 -1
- data/lib/google/cloud/automl/v1beta1/automl/client.rb +497 -492
- data/lib/google/cloud/automl/v1beta1/automl/credentials.rb +1 -1
- data/lib/google/cloud/automl/v1beta1/automl/operations.rb +109 -103
- data/lib/google/cloud/automl/v1beta1/automl/paths.rb +25 -25
- data/lib/google/cloud/automl/v1beta1/prediction_service.rb +1 -1
- data/lib/google/cloud/automl/v1beta1/prediction_service/client.rb +87 -82
- data/lib/google/cloud/automl/v1beta1/prediction_service/credentials.rb +1 -1
- data/lib/google/cloud/automl/v1beta1/prediction_service/operations.rb +109 -103
- data/lib/google/cloud/automl/v1beta1/prediction_service/paths.rb +3 -3
- data/lib/google/cloud/automl/v1beta1/version.rb +1 -1
- data/proto_docs/google/api/resource.rb +12 -12
- data/proto_docs/google/cloud/automl/v1beta1/annotation_payload.rb +13 -13
- data/proto_docs/google/cloud/automl/v1beta1/annotation_spec.rb +5 -5
- data/proto_docs/google/cloud/automl/v1beta1/classification.rb +43 -43
- data/proto_docs/google/cloud/automl/v1beta1/column_spec.rb +12 -12
- data/proto_docs/google/cloud/automl/v1beta1/data_items.rb +49 -49
- data/proto_docs/google/cloud/automl/v1beta1/data_stats.rb +65 -65
- data/proto_docs/google/cloud/automl/v1beta1/data_types.rb +23 -23
- data/proto_docs/google/cloud/automl/v1beta1/dataset.rb +17 -17
- data/proto_docs/google/cloud/automl/v1beta1/detection.rb +32 -32
- data/proto_docs/google/cloud/automl/v1beta1/geometry.rb +7 -7
- data/proto_docs/google/cloud/automl/v1beta1/image.rb +38 -38
- data/proto_docs/google/cloud/automl/v1beta1/io.rb +92 -99
- data/proto_docs/google/cloud/automl/v1beta1/model.rb +17 -17
- data/proto_docs/google/cloud/automl/v1beta1/model_evaluation.rb +17 -17
- data/proto_docs/google/cloud/automl/v1beta1/operations.rb +56 -56
- data/proto_docs/google/cloud/automl/v1beta1/prediction_service.rb +41 -41
- data/proto_docs/google/cloud/automl/v1beta1/ranges.rb +4 -4
- data/proto_docs/google/cloud/automl/v1beta1/regression.rb +7 -7
- data/proto_docs/google/cloud/automl/v1beta1/service.rb +167 -167
- data/proto_docs/google/cloud/automl/v1beta1/table_spec.rb +9 -9
- data/proto_docs/google/cloud/automl/v1beta1/tables.rb +47 -47
- data/proto_docs/google/cloud/automl/v1beta1/temporal.rb +4 -4
- data/proto_docs/google/cloud/automl/v1beta1/text.rb +15 -15
- data/proto_docs/google/cloud/automl/v1beta1/text_extraction.rb +14 -14
- data/proto_docs/google/cloud/automl/v1beta1/text_segment.rb +5 -5
- data/proto_docs/google/cloud/automl/v1beta1/text_sentiment.rb +15 -15
- data/proto_docs/google/cloud/automl/v1beta1/translation.rb +16 -16
- data/proto_docs/google/cloud/automl/v1beta1/video.rb +8 -8
- data/proto_docs/google/longrunning/operations.rb +30 -30
- data/proto_docs/google/protobuf/any.rb +4 -4
- data/proto_docs/google/protobuf/duration.rb +4 -4
- data/proto_docs/google/protobuf/empty.rb +2 -2
- data/proto_docs/google/protobuf/field_mask.rb +3 -3
- data/proto_docs/google/protobuf/struct.rb +18 -18
- data/proto_docs/google/protobuf/timestamp.rb +4 -4
- data/proto_docs/google/rpc/status.rb +6 -6
- metadata +33 -6
- data/lib/google/cloud/common_resources_pb.rb +0 -15
@@ -24,52 +24,52 @@ module Google
|
|
24
24
|
# A representation of an image.
|
25
25
|
# Only images up to 30MB in size are supported.
|
26
26
|
# @!attribute [rw] image_bytes
|
27
|
-
# @return [String]
|
27
|
+
# @return [::String]
|
28
28
|
# Image content represented as a stream of bytes.
|
29
29
|
# Note: As with all `bytes` fields, protobuffers use a pure binary
|
30
30
|
# representation, whereas JSON representations use base64.
|
31
31
|
# @!attribute [rw] input_config
|
32
|
-
# @return [Google::Cloud::AutoML::V1beta1::InputConfig]
|
32
|
+
# @return [::Google::Cloud::AutoML::V1beta1::InputConfig]
|
33
33
|
# An input config specifying the content of the image.
|
34
34
|
# @!attribute [rw] thumbnail_uri
|
35
|
-
# @return [String]
|
35
|
+
# @return [::String]
|
36
36
|
# Output only. HTTP URI to the thumbnail image.
|
37
37
|
class Image
|
38
|
-
include Google::Protobuf::MessageExts
|
39
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
38
|
+
include ::Google::Protobuf::MessageExts
|
39
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
40
40
|
end
|
41
41
|
|
42
42
|
# A representation of a text snippet.
|
43
43
|
# @!attribute [rw] content
|
44
|
-
# @return [String]
|
44
|
+
# @return [::String]
|
45
45
|
# Required. The content of the text snippet as a string. Up to 250000
|
46
46
|
# characters long.
|
47
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
|
48
|
+
# @return [::String]
|
49
|
+
# Optional. The format of {::Google::Cloud::AutoML::V1beta1::TextSnippet#content content}. Currently the only two allowed
|
50
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}.
|
51
|
+
# automatically determined from the type of the uploaded {::Google::Cloud::AutoML::V1beta1::TextSnippet#content content}.
|
52
52
|
# @!attribute [rw] content_uri
|
53
|
-
# @return [String]
|
53
|
+
# @return [::String]
|
54
54
|
# Output only. HTTP URI where you can download the content.
|
55
55
|
class TextSnippet
|
56
|
-
include Google::Protobuf::MessageExts
|
57
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
56
|
+
include ::Google::Protobuf::MessageExts
|
57
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
58
58
|
end
|
59
59
|
|
60
60
|
# Message that describes dimension of a document.
|
61
61
|
# @!attribute [rw] unit
|
62
|
-
# @return [Google::Cloud::AutoML::V1beta1::DocumentDimensions::DocumentDimensionUnit]
|
62
|
+
# @return [::Google::Cloud::AutoML::V1beta1::DocumentDimensions::DocumentDimensionUnit]
|
63
63
|
# Unit of the dimension.
|
64
64
|
# @!attribute [rw] width
|
65
|
-
# @return [Float]
|
65
|
+
# @return [::Float]
|
66
66
|
# Width value of the document, works together with the unit.
|
67
67
|
# @!attribute [rw] height
|
68
|
-
# @return [Float]
|
68
|
+
# @return [::Float]
|
69
69
|
# Height value of the document, works together with the unit.
|
70
70
|
class DocumentDimensions
|
71
|
-
include Google::Protobuf::MessageExts
|
72
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
71
|
+
include ::Google::Protobuf::MessageExts
|
72
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
73
73
|
|
74
74
|
# Unit of the document dimension.
|
75
75
|
module DocumentDimensionUnit
|
@@ -89,51 +89,51 @@ module Google
|
|
89
89
|
|
90
90
|
# A structured text document e.g. a PDF.
|
91
91
|
# @!attribute [rw] input_config
|
92
|
-
# @return [Google::Cloud::AutoML::V1beta1::DocumentInputConfig]
|
92
|
+
# @return [::Google::Cloud::AutoML::V1beta1::DocumentInputConfig]
|
93
93
|
# An input config specifying the content of the document.
|
94
94
|
# @!attribute [rw] document_text
|
95
|
-
# @return [Google::Cloud::AutoML::V1beta1::TextSnippet]
|
95
|
+
# @return [::Google::Cloud::AutoML::V1beta1::TextSnippet]
|
96
96
|
# The plain text version of this document.
|
97
97
|
# @!attribute [rw] layout
|
98
|
-
# @return [Array
|
98
|
+
# @return [::Array<::Google::Cloud::AutoML::V1beta1::Document::Layout>]
|
99
99
|
# Describes the layout of the document.
|
100
100
|
# Sorted by [page_number][].
|
101
101
|
# @!attribute [rw] document_dimensions
|
102
|
-
# @return [Google::Cloud::AutoML::V1beta1::DocumentDimensions]
|
102
|
+
# @return [::Google::Cloud::AutoML::V1beta1::DocumentDimensions]
|
103
103
|
# The dimensions of the page in the document.
|
104
104
|
# @!attribute [rw] page_count
|
105
|
-
# @return [Integer]
|
105
|
+
# @return [::Integer]
|
106
106
|
# Number of pages in the document.
|
107
107
|
class Document
|
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
|
-
# Describes the layout information of a {Google::Cloud::AutoML::V1beta1::Document::Layout#text_segment text_segment} in the document.
|
111
|
+
# Describes the layout information of a {::Google::Cloud::AutoML::V1beta1::Document::Layout#text_segment text_segment} in the document.
|
112
112
|
# @!attribute [rw] text_segment
|
113
|
-
# @return [Google::Cloud::AutoML::V1beta1::TextSegment]
|
113
|
+
# @return [::Google::Cloud::AutoML::V1beta1::TextSegment]
|
114
114
|
# Text Segment that represents a segment in
|
115
|
-
# {Google::Cloud::AutoML::V1beta1::Document#document_text document_text}.
|
115
|
+
# {::Google::Cloud::AutoML::V1beta1::Document#document_text document_text}.
|
116
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
|
117
|
+
# @return [::Integer]
|
118
|
+
# Page number of the {::Google::Cloud::AutoML::V1beta1::Document::Layout#text_segment text_segment} in the original document, starts
|
119
119
|
# from 1.
|
120
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.
|
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
123
|
# Contains exactly 4
|
124
124
|
#
|
125
|
-
# {Google::Cloud::AutoML::V1beta1::BoundingPoly#normalized_vertices normalized_vertices}
|
125
|
+
# {::Google::Cloud::AutoML::V1beta1::BoundingPoly#normalized_vertices normalized_vertices}
|
126
126
|
# and they are connected by edges in the order provided, which will
|
127
127
|
# represent a rectangle parallel to the frame. The
|
128
|
-
# {Google::Cloud::AutoML::V1beta1::NormalizedVertex NormalizedVertex-s} are
|
128
|
+
# {::Google::Cloud::AutoML::V1beta1::NormalizedVertex NormalizedVertex-s} are
|
129
129
|
# relative to the page.
|
130
130
|
# Coordinates are based on top-left as point (0,0).
|
131
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.
|
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
134
|
class Layout
|
135
|
-
include Google::Protobuf::MessageExts
|
136
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
135
|
+
include ::Google::Protobuf::MessageExts
|
136
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
137
137
|
|
138
138
|
# The type of TextSegment in the context of the original document.
|
139
139
|
module TextSegmentType
|
@@ -182,44 +182,44 @@ module Google
|
|
182
182
|
|
183
183
|
# A representation of a row in a relational table.
|
184
184
|
# @!attribute [rw] column_spec_ids
|
185
|
-
# @return [Array
|
185
|
+
# @return [::Array<::String>]
|
186
186
|
# The resource IDs of the column specs describing the columns of the row.
|
187
187
|
# If set must contain, but possibly in a different order, all input
|
188
188
|
# feature
|
189
189
|
#
|
190
|
-
# {Google::Cloud::AutoML::V1beta1::TablesModelMetadata#input_feature_column_specs column_spec_ids}
|
190
|
+
# {::Google::Cloud::AutoML::V1beta1::TablesModelMetadata#input_feature_column_specs column_spec_ids}
|
191
191
|
# of the Model this row is being passed to.
|
192
192
|
# Note: The below `values` field must match order of this field, if this
|
193
193
|
# field is set.
|
194
194
|
# @!attribute [rw] values
|
195
|
-
# @return [Array
|
195
|
+
# @return [::Array<::Google::Protobuf::Value>]
|
196
196
|
# Required. The values of the row cells, given in the same order as the
|
197
197
|
# column_spec_ids, or, if not set, then in the same order as input
|
198
198
|
# feature
|
199
199
|
#
|
200
|
-
# {Google::Cloud::AutoML::V1beta1::TablesModelMetadata#input_feature_column_specs column_specs}
|
200
|
+
# {::Google::Cloud::AutoML::V1beta1::TablesModelMetadata#input_feature_column_specs column_specs}
|
201
201
|
# of the Model this row is being passed to.
|
202
202
|
class Row
|
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
|
|
207
207
|
# Example data used for training or prediction.
|
208
208
|
# @!attribute [rw] image
|
209
|
-
# @return [Google::Cloud::AutoML::V1beta1::Image]
|
209
|
+
# @return [::Google::Cloud::AutoML::V1beta1::Image]
|
210
210
|
# Example image.
|
211
211
|
# @!attribute [rw] text_snippet
|
212
|
-
# @return [Google::Cloud::AutoML::V1beta1::TextSnippet]
|
212
|
+
# @return [::Google::Cloud::AutoML::V1beta1::TextSnippet]
|
213
213
|
# Example text.
|
214
214
|
# @!attribute [rw] document
|
215
|
-
# @return [Google::Cloud::AutoML::V1beta1::Document]
|
215
|
+
# @return [::Google::Cloud::AutoML::V1beta1::Document]
|
216
216
|
# Example document.
|
217
217
|
# @!attribute [rw] row
|
218
|
-
# @return [Google::Cloud::AutoML::V1beta1::Row]
|
218
|
+
# @return [::Google::Cloud::AutoML::V1beta1::Row]
|
219
219
|
# Example relational table row.
|
220
220
|
class ExamplePayload
|
221
|
-
include Google::Protobuf::MessageExts
|
222
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
221
|
+
include ::Google::Protobuf::MessageExts
|
222
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
223
223
|
end
|
224
224
|
end
|
225
225
|
end
|
@@ -23,191 +23,191 @@ module Google
|
|
23
23
|
module V1beta1
|
24
24
|
# The data statistics of a series of values that share the same DataType.
|
25
25
|
# @!attribute [rw] float64_stats
|
26
|
-
# @return [Google::Cloud::AutoML::V1beta1::Float64Stats]
|
26
|
+
# @return [::Google::Cloud::AutoML::V1beta1::Float64Stats]
|
27
27
|
# The statistics for FLOAT64 DataType.
|
28
28
|
# @!attribute [rw] string_stats
|
29
|
-
# @return [Google::Cloud::AutoML::V1beta1::StringStats]
|
29
|
+
# @return [::Google::Cloud::AutoML::V1beta1::StringStats]
|
30
30
|
# The statistics for STRING DataType.
|
31
31
|
# @!attribute [rw] timestamp_stats
|
32
|
-
# @return [Google::Cloud::AutoML::V1beta1::TimestampStats]
|
32
|
+
# @return [::Google::Cloud::AutoML::V1beta1::TimestampStats]
|
33
33
|
# The statistics for TIMESTAMP DataType.
|
34
34
|
# @!attribute [rw] array_stats
|
35
|
-
# @return [Google::Cloud::AutoML::V1beta1::ArrayStats]
|
35
|
+
# @return [::Google::Cloud::AutoML::V1beta1::ArrayStats]
|
36
36
|
# The statistics for ARRAY DataType.
|
37
37
|
# @!attribute [rw] struct_stats
|
38
|
-
# @return [Google::Cloud::AutoML::V1beta1::StructStats]
|
38
|
+
# @return [::Google::Cloud::AutoML::V1beta1::StructStats]
|
39
39
|
# The statistics for STRUCT DataType.
|
40
40
|
# @!attribute [rw] category_stats
|
41
|
-
# @return [Google::Cloud::AutoML::V1beta1::CategoryStats]
|
41
|
+
# @return [::Google::Cloud::AutoML::V1beta1::CategoryStats]
|
42
42
|
# The statistics for CATEGORY DataType.
|
43
43
|
# @!attribute [rw] distinct_value_count
|
44
|
-
# @return [Integer]
|
44
|
+
# @return [::Integer]
|
45
45
|
# The number of distinct values.
|
46
46
|
# @!attribute [rw] null_value_count
|
47
|
-
# @return [Integer]
|
47
|
+
# @return [::Integer]
|
48
48
|
# The number of values that are null.
|
49
49
|
# @!attribute [rw] valid_value_count
|
50
|
-
# @return [Integer]
|
50
|
+
# @return [::Integer]
|
51
51
|
# The number of values that are valid.
|
52
52
|
class DataStats
|
53
|
-
include Google::Protobuf::MessageExts
|
54
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
53
|
+
include ::Google::Protobuf::MessageExts
|
54
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
55
55
|
end
|
56
56
|
|
57
57
|
# The data statistics of a series of FLOAT64 values.
|
58
58
|
# @!attribute [rw] mean
|
59
|
-
# @return [Float]
|
59
|
+
# @return [::Float]
|
60
60
|
# The mean of the series.
|
61
61
|
# @!attribute [rw] standard_deviation
|
62
|
-
# @return [Float]
|
62
|
+
# @return [::Float]
|
63
63
|
# The standard deviation of the series.
|
64
64
|
# @!attribute [rw] quantiles
|
65
|
-
# @return [Array
|
65
|
+
# @return [::Array<::Float>]
|
66
66
|
# Ordered from 0 to k k-quantile values of the data series of n values.
|
67
67
|
# The value at index i is, approximately, the i*n/k-th smallest value in the
|
68
68
|
# series; for i = 0 and i = k these are, respectively, the min and max
|
69
69
|
# values.
|
70
70
|
# @!attribute [rw] histogram_buckets
|
71
|
-
# @return [Array
|
71
|
+
# @return [::Array<::Google::Cloud::AutoML::V1beta1::Float64Stats::HistogramBucket>]
|
72
72
|
# Histogram buckets of the data series. Sorted by the min value of the
|
73
73
|
# bucket, ascendingly, and the number of the buckets is dynamically
|
74
74
|
# generated. The buckets are non-overlapping and completely cover whole
|
75
75
|
# FLOAT64 range with min of first bucket being `"-Infinity"`, and max of
|
76
76
|
# the last one being `"Infinity"`.
|
77
77
|
class Float64Stats
|
78
|
-
include Google::Protobuf::MessageExts
|
79
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
78
|
+
include ::Google::Protobuf::MessageExts
|
79
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
80
80
|
|
81
81
|
# A bucket of a histogram.
|
82
82
|
# @!attribute [rw] min
|
83
|
-
# @return [Float]
|
83
|
+
# @return [::Float]
|
84
84
|
# The minimum value of the bucket, inclusive.
|
85
85
|
# @!attribute [rw] max
|
86
|
-
# @return [Float]
|
86
|
+
# @return [::Float]
|
87
87
|
# The maximum value of the bucket, exclusive unless max = `"Infinity"`, in
|
88
88
|
# which case it's inclusive.
|
89
89
|
# @!attribute [rw] count
|
90
|
-
# @return [Integer]
|
90
|
+
# @return [::Integer]
|
91
91
|
# The number of data values that are in the bucket, i.e. are between
|
92
92
|
# min and max values.
|
93
93
|
class HistogramBucket
|
94
|
-
include Google::Protobuf::MessageExts
|
95
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
94
|
+
include ::Google::Protobuf::MessageExts
|
95
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
96
96
|
end
|
97
97
|
end
|
98
98
|
|
99
99
|
# The data statistics of a series of STRING values.
|
100
100
|
# @!attribute [rw] top_unigram_stats
|
101
|
-
# @return [Array
|
101
|
+
# @return [::Array<::Google::Cloud::AutoML::V1beta1::StringStats::UnigramStats>]
|
102
102
|
# The statistics of the top 20 unigrams, ordered by
|
103
|
-
# {Google::Cloud::AutoML::V1beta1::StringStats::UnigramStats#count count}.
|
103
|
+
# {::Google::Cloud::AutoML::V1beta1::StringStats::UnigramStats#count count}.
|
104
104
|
class StringStats
|
105
|
-
include Google::Protobuf::MessageExts
|
106
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
105
|
+
include ::Google::Protobuf::MessageExts
|
106
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
107
107
|
|
108
108
|
# The statistics of a unigram.
|
109
109
|
# @!attribute [rw] value
|
110
|
-
# @return [String]
|
110
|
+
# @return [::String]
|
111
111
|
# The unigram.
|
112
112
|
# @!attribute [rw] count
|
113
|
-
# @return [Integer]
|
113
|
+
# @return [::Integer]
|
114
114
|
# The number of occurrences of this unigram in the series.
|
115
115
|
class UnigramStats
|
116
|
-
include Google::Protobuf::MessageExts
|
117
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
116
|
+
include ::Google::Protobuf::MessageExts
|
117
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
118
118
|
end
|
119
119
|
end
|
120
120
|
|
121
121
|
# The data statistics of a series of TIMESTAMP values.
|
122
122
|
# @!attribute [rw] granular_stats
|
123
|
-
# @return [Google::Protobuf::Map{String => Google::Cloud::AutoML::V1beta1::TimestampStats::GranularStats}]
|
123
|
+
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::AutoML::V1beta1::TimestampStats::GranularStats}]
|
124
124
|
# The string key is the pre-defined granularity. Currently supported:
|
125
125
|
# hour_of_day, day_of_week, month_of_year.
|
126
126
|
# Granularities finer that the granularity of timestamp data are not
|
127
127
|
# populated (e.g. if timestamps are at day granularity, then hour_of_day
|
128
128
|
# is not populated).
|
129
129
|
class TimestampStats
|
130
|
-
include Google::Protobuf::MessageExts
|
131
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
130
|
+
include ::Google::Protobuf::MessageExts
|
131
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
132
132
|
|
133
133
|
# Stats split by a defined in context granularity.
|
134
134
|
# @!attribute [rw] buckets
|
135
|
-
# @return [Google::Protobuf::Map{Integer => Integer}]
|
135
|
+
# @return [::Google::Protobuf::Map{::Integer => ::Integer}]
|
136
136
|
# A map from granularity key to example count for that key.
|
137
137
|
# E.g. for hour_of_day `13` means 1pm, or for month_of_year `5` means May).
|
138
138
|
class GranularStats
|
139
|
-
include Google::Protobuf::MessageExts
|
140
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
139
|
+
include ::Google::Protobuf::MessageExts
|
140
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
141
141
|
|
142
142
|
# @!attribute [rw] key
|
143
|
-
# @return [Integer]
|
143
|
+
# @return [::Integer]
|
144
144
|
# @!attribute [rw] value
|
145
|
-
# @return [Integer]
|
145
|
+
# @return [::Integer]
|
146
146
|
class BucketsEntry
|
147
|
-
include Google::Protobuf::MessageExts
|
148
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
147
|
+
include ::Google::Protobuf::MessageExts
|
148
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
149
149
|
end
|
150
150
|
end
|
151
151
|
|
152
152
|
# @!attribute [rw] key
|
153
|
-
# @return [String]
|
153
|
+
# @return [::String]
|
154
154
|
# @!attribute [rw] value
|
155
|
-
# @return [Google::Cloud::AutoML::V1beta1::TimestampStats::GranularStats]
|
155
|
+
# @return [::Google::Cloud::AutoML::V1beta1::TimestampStats::GranularStats]
|
156
156
|
class GranularStatsEntry
|
157
|
-
include Google::Protobuf::MessageExts
|
158
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
157
|
+
include ::Google::Protobuf::MessageExts
|
158
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
159
159
|
end
|
160
160
|
end
|
161
161
|
|
162
162
|
# The data statistics of a series of ARRAY values.
|
163
163
|
# @!attribute [rw] member_stats
|
164
|
-
# @return [Google::Cloud::AutoML::V1beta1::DataStats]
|
164
|
+
# @return [::Google::Cloud::AutoML::V1beta1::DataStats]
|
165
165
|
# Stats of all the values of all arrays, as if they were a single long
|
166
166
|
# series of data. The type depends on the element type of the array.
|
167
167
|
class ArrayStats
|
168
|
-
include Google::Protobuf::MessageExts
|
169
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
168
|
+
include ::Google::Protobuf::MessageExts
|
169
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
170
170
|
end
|
171
171
|
|
172
172
|
# The data statistics of a series of STRUCT values.
|
173
173
|
# @!attribute [rw] field_stats
|
174
|
-
# @return [Google::Protobuf::Map{String => Google::Cloud::AutoML::V1beta1::DataStats}]
|
174
|
+
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::AutoML::V1beta1::DataStats}]
|
175
175
|
# Map from a field name of the struct to data stats aggregated over series
|
176
176
|
# of all data in that field across all the structs.
|
177
177
|
class StructStats
|
178
|
-
include Google::Protobuf::MessageExts
|
179
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
178
|
+
include ::Google::Protobuf::MessageExts
|
179
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
180
180
|
|
181
181
|
# @!attribute [rw] key
|
182
|
-
# @return [String]
|
182
|
+
# @return [::String]
|
183
183
|
# @!attribute [rw] value
|
184
|
-
# @return [Google::Cloud::AutoML::V1beta1::DataStats]
|
184
|
+
# @return [::Google::Cloud::AutoML::V1beta1::DataStats]
|
185
185
|
class FieldStatsEntry
|
186
|
-
include Google::Protobuf::MessageExts
|
187
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
186
|
+
include ::Google::Protobuf::MessageExts
|
187
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
188
188
|
end
|
189
189
|
end
|
190
190
|
|
191
191
|
# The data statistics of a series of CATEGORY values.
|
192
192
|
# @!attribute [rw] top_category_stats
|
193
|
-
# @return [Array
|
193
|
+
# @return [::Array<::Google::Cloud::AutoML::V1beta1::CategoryStats::SingleCategoryStats>]
|
194
194
|
# The statistics of the top 20 CATEGORY values, ordered by
|
195
195
|
#
|
196
|
-
# {Google::Cloud::AutoML::V1beta1::CategoryStats::SingleCategoryStats#count count}.
|
196
|
+
# {::Google::Cloud::AutoML::V1beta1::CategoryStats::SingleCategoryStats#count count}.
|
197
197
|
class CategoryStats
|
198
|
-
include Google::Protobuf::MessageExts
|
199
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
198
|
+
include ::Google::Protobuf::MessageExts
|
199
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
200
200
|
|
201
201
|
# The statistics of a single CATEGORY value.
|
202
202
|
# @!attribute [rw] value
|
203
|
-
# @return [String]
|
203
|
+
# @return [::String]
|
204
204
|
# The CATEGORY value.
|
205
205
|
# @!attribute [rw] count
|
206
|
-
# @return [Integer]
|
206
|
+
# @return [::Integer]
|
207
207
|
# The number of occurrences of this value in the series.
|
208
208
|
class SingleCategoryStats
|
209
|
-
include Google::Protobuf::MessageExts
|
210
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
209
|
+
include ::Google::Protobuf::MessageExts
|
210
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
211
211
|
end
|
212
212
|
end
|
213
213
|
|
@@ -215,11 +215,11 @@ module Google
|
|
215
215
|
# may have differing DataType-s, but within a single series the DataType must
|
216
216
|
# be the same.
|
217
217
|
# @!attribute [rw] cramers_v
|
218
|
-
# @return [Float]
|
218
|
+
# @return [::Float]
|
219
219
|
# The correlation value using the Cramer's V measure.
|
220
220
|
class CorrelationStats
|
221
|
-
include Google::Protobuf::MessageExts
|
222
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
221
|
+
include ::Google::Protobuf::MessageExts
|
222
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
223
223
|
end
|
224
224
|
end
|
225
225
|
end
|