google-cloud-automl-v1beta1 0.6.1 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/google/cloud/automl/v1beta1/annotation_payload_pb.rb +30 -15
- data/lib/google/cloud/automl/v1beta1/annotation_spec_pb.rb +24 -6
- data/lib/google/cloud/automl/v1beta1/automl/client.rb +6 -4
- data/lib/google/cloud/automl/v1beta1/automl/operations.rb +5 -3
- data/lib/google/cloud/automl/v1beta1/automl/rest/client.rb +2224 -0
- data/lib/google/cloud/automl/v1beta1/automl/rest/operations.rb +937 -0
- data/lib/google/cloud/automl/v1beta1/automl/rest/service_stub.rb +1475 -0
- data/lib/google/cloud/automl/v1beta1/automl/rest.rb +66 -0
- data/lib/google/cloud/automl/v1beta1/automl.rb +6 -0
- data/lib/google/cloud/automl/v1beta1/classification_pb.rb +25 -47
- data/lib/google/cloud/automl/v1beta1/column_spec_pb.rb +26 -13
- data/lib/google/cloud/automl/v1beta1/data_items_pb.rb +28 -61
- data/lib/google/cloud/automl/v1beta1/data_stats_pb.rb +24 -54
- data/lib/google/cloud/automl/v1beta1/data_types_pb.rb +24 -22
- data/lib/google/cloud/automl/v1beta1/dataset_pb.rb +30 -20
- data/lib/google/cloud/automl/v1beta1/detection_pb.rb +26 -33
- data/lib/google/cloud/automl/v1beta1/geometry_pb.rb +24 -8
- data/lib/google/cloud/automl/v1beta1/image_pb.rb +24 -29
- data/lib/google/cloud/automl/v1beta1/io_pb.rb +24 -57
- data/lib/google/cloud/automl/v1beta1/model_evaluation_pb.rb +31 -17
- data/lib/google/cloud/automl/v1beta1/model_pb.rb +30 -25
- data/lib/google/cloud/automl/v1beta1/operations_pb.rb +27 -59
- data/lib/google/cloud/automl/v1beta1/prediction_service/client.rb +6 -4
- data/lib/google/cloud/automl/v1beta1/prediction_service/operations.rb +5 -3
- data/lib/google/cloud/automl/v1beta1/prediction_service/rest/client.rb +565 -0
- data/lib/google/cloud/automl/v1beta1/prediction_service/rest/operations.rb +937 -0
- data/lib/google/cloud/automl/v1beta1/prediction_service/rest/service_stub.rb +168 -0
- data/lib/google/cloud/automl/v1beta1/prediction_service/rest.rb +56 -0
- data/lib/google/cloud/automl/v1beta1/prediction_service.rb +6 -0
- data/lib/google/cloud/automl/v1beta1/prediction_service_pb.rb +27 -20
- data/lib/google/cloud/automl/v1beta1/ranges_pb.rb +24 -5
- data/lib/google/cloud/automl/v1beta1/regression_pb.rb +24 -8
- data/lib/google/cloud/automl/v1beta1/rest.rb +38 -0
- data/lib/google/cloud/automl/v1beta1/service_pb.rb +32 -125
- data/lib/google/cloud/automl/v1beta1/table_spec_pb.rb +25 -10
- data/lib/google/cloud/automl/v1beta1/tables_pb.rb +29 -34
- data/lib/google/cloud/automl/v1beta1/temporal_pb.rb +25 -5
- data/lib/google/cloud/automl/v1beta1/text_extraction_pb.rb +25 -17
- data/lib/google/cloud/automl/v1beta1/text_pb.rb +24 -17
- data/lib/google/cloud/automl/v1beta1/text_segment_pb.rb +24 -6
- data/lib/google/cloud/automl/v1beta1/text_sentiment_pb.rb +25 -15
- data/lib/google/cloud/automl/v1beta1/translation_pb.rb +25 -17
- data/lib/google/cloud/automl/v1beta1/version.rb +1 -1
- data/lib/google/cloud/automl/v1beta1/video_pb.rb +24 -9
- data/lib/google/cloud/automl/v1beta1.rb +5 -0
- data/proto_docs/google/api/client.rb +67 -4
- data/proto_docs/google/protobuf/any.rb +7 -4
- data/proto_docs/google/protobuf/struct.rb +1 -1
- data/proto_docs/google/protobuf/timestamp.rb +1 -3
- metadata +15 -5
@@ -43,8 +43,12 @@ module Google
|
|
43
43
|
# if (any.is(Foo.class)) {
|
44
44
|
# foo = any.unpack(Foo.class);
|
45
45
|
# }
|
46
|
+
# // or ...
|
47
|
+
# if (any.isSameTypeAs(Foo.getDefaultInstance())) {
|
48
|
+
# foo = any.unpack(Foo.getDefaultInstance());
|
49
|
+
# }
|
46
50
|
#
|
47
|
-
#
|
51
|
+
# Example 3: Pack and unpack a message in Python.
|
48
52
|
#
|
49
53
|
# foo = Foo(...)
|
50
54
|
# any = Any()
|
@@ -54,7 +58,7 @@ module Google
|
|
54
58
|
# any.Unpack(foo)
|
55
59
|
# ...
|
56
60
|
#
|
57
|
-
#
|
61
|
+
# Example 4: Pack and unpack a message in Go
|
58
62
|
#
|
59
63
|
# foo := &pb.Foo{...}
|
60
64
|
# any, err := anypb.New(foo)
|
@@ -73,9 +77,8 @@ module Google
|
|
73
77
|
# in the type URL, for example "foo.bar.com/x/y.z" will yield type
|
74
78
|
# name "y.z".
|
75
79
|
#
|
76
|
-
#
|
77
80
|
# JSON
|
78
|
-
#
|
81
|
+
# ====
|
79
82
|
# The JSON representation of an `Any` value uses the regular
|
80
83
|
# representation of the deserialized, embedded message, with an
|
81
84
|
# additional field `@type` which contains the type URL. Example:
|
@@ -87,7 +87,7 @@ module Google
|
|
87
87
|
# `NullValue` is a singleton enumeration to represent the null value for the
|
88
88
|
# `Value` type union.
|
89
89
|
#
|
90
|
-
#
|
90
|
+
# The JSON representation for `NullValue` is JSON `null`.
|
91
91
|
module NullValue
|
92
92
|
# Null value.
|
93
93
|
NULL_VALUE = 0
|
@@ -69,7 +69,6 @@ module Google
|
|
69
69
|
# Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
|
70
70
|
# .setNanos((int) ((millis % 1000) * 1000000)).build();
|
71
71
|
#
|
72
|
-
#
|
73
72
|
# Example 5: Compute Timestamp from Java `Instant.now()`.
|
74
73
|
#
|
75
74
|
# Instant now = Instant.now();
|
@@ -78,7 +77,6 @@ module Google
|
|
78
77
|
# Timestamp.newBuilder().setSeconds(now.getEpochSecond())
|
79
78
|
# .setNanos(now.getNano()).build();
|
80
79
|
#
|
81
|
-
#
|
82
80
|
# Example 6: Compute Timestamp from current time in Python.
|
83
81
|
#
|
84
82
|
# timestamp = Timestamp()
|
@@ -108,7 +106,7 @@ module Google
|
|
108
106
|
# [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
|
109
107
|
# the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
|
110
108
|
# the Joda Time's [`ISODateTimeFormat.dateTime()`](
|
111
|
-
# http://
|
109
|
+
# http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
|
112
110
|
# ) to obtain a formatter capable of generating timestamps in this format.
|
113
111
|
# @!attribute [rw] seconds
|
114
112
|
# @return [::Integer]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-automl-v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-06-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.19.1
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.19.1
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -182,6 +182,10 @@ files:
|
|
182
182
|
- lib/google/cloud/automl/v1beta1/automl/credentials.rb
|
183
183
|
- lib/google/cloud/automl/v1beta1/automl/operations.rb
|
184
184
|
- lib/google/cloud/automl/v1beta1/automl/paths.rb
|
185
|
+
- lib/google/cloud/automl/v1beta1/automl/rest.rb
|
186
|
+
- lib/google/cloud/automl/v1beta1/automl/rest/client.rb
|
187
|
+
- lib/google/cloud/automl/v1beta1/automl/rest/operations.rb
|
188
|
+
- lib/google/cloud/automl/v1beta1/automl/rest/service_stub.rb
|
185
189
|
- lib/google/cloud/automl/v1beta1/classification_pb.rb
|
186
190
|
- lib/google/cloud/automl/v1beta1/column_spec_pb.rb
|
187
191
|
- lib/google/cloud/automl/v1beta1/data_items_pb.rb
|
@@ -200,10 +204,15 @@ files:
|
|
200
204
|
- lib/google/cloud/automl/v1beta1/prediction_service/credentials.rb
|
201
205
|
- lib/google/cloud/automl/v1beta1/prediction_service/operations.rb
|
202
206
|
- lib/google/cloud/automl/v1beta1/prediction_service/paths.rb
|
207
|
+
- lib/google/cloud/automl/v1beta1/prediction_service/rest.rb
|
208
|
+
- lib/google/cloud/automl/v1beta1/prediction_service/rest/client.rb
|
209
|
+
- lib/google/cloud/automl/v1beta1/prediction_service/rest/operations.rb
|
210
|
+
- lib/google/cloud/automl/v1beta1/prediction_service/rest/service_stub.rb
|
203
211
|
- lib/google/cloud/automl/v1beta1/prediction_service_pb.rb
|
204
212
|
- lib/google/cloud/automl/v1beta1/prediction_service_services_pb.rb
|
205
213
|
- lib/google/cloud/automl/v1beta1/ranges_pb.rb
|
206
214
|
- lib/google/cloud/automl/v1beta1/regression_pb.rb
|
215
|
+
- lib/google/cloud/automl/v1beta1/rest.rb
|
207
216
|
- lib/google/cloud/automl/v1beta1/service_pb.rb
|
208
217
|
- lib/google/cloud/automl/v1beta1/service_services_pb.rb
|
209
218
|
- lib/google/cloud/automl/v1beta1/table_spec_pb.rb
|
@@ -279,5 +288,6 @@ requirements: []
|
|
279
288
|
rubygems_version: 3.4.2
|
280
289
|
signing_key:
|
281
290
|
specification_version: 4
|
282
|
-
summary:
|
291
|
+
summary: Train high-quality custom machine learning models with minimum effort and
|
292
|
+
machine learning expertise.
|
283
293
|
test_files: []
|