google-cloud-automl 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (29) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -3
  3. data/lib/google/cloud/automl.rb +2 -2
  4. data/lib/google/cloud/automl/v1beta1.rb +2 -2
  5. data/lib/google/cloud/automl/v1beta1/automl_client.rb +4 -20
  6. data/lib/google/cloud/automl/v1beta1/classification_pb.rb +1 -0
  7. data/lib/google/cloud/automl/v1beta1/data_items_pb.rb +40 -1
  8. data/lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/classification.rb +9 -0
  9. data/lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/column_spec.rb +1 -6
  10. data/lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/data_items.rb +125 -9
  11. data/lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/data_types.rb +0 -8
  12. data/lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/detection.rb +4 -8
  13. data/lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/image.rb +10 -3
  14. data/lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/io.rb +257 -125
  15. data/lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/model.rb +4 -8
  16. data/lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/model_evaluation.rb +5 -9
  17. data/lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/prediction_service.rb +56 -6
  18. data/lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/service.rb +3 -18
  19. data/lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/table_spec.rb +4 -0
  20. data/lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/tables.rb +26 -30
  21. data/lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/text.rb +2 -4
  22. data/lib/google/cloud/automl/v1beta1/prediction_service_client.rb +40 -7
  23. data/lib/google/cloud/automl/v1beta1/prediction_service_pb.rb +3 -1
  24. data/lib/google/cloud/automl/v1beta1/prediction_service_services_pb.rb +10 -5
  25. data/lib/google/cloud/automl/v1beta1/service_services_pb.rb +1 -2
  26. data/lib/google/cloud/automl/v1beta1/table_spec_pb.rb +1 -0
  27. data/lib/google/cloud/automl/v1beta1/tables_pb.rb +0 -4
  28. data/lib/google/cloud/automl/version.rb +1 -1
  29. metadata +3 -3
@@ -52,17 +52,22 @@ module Google::Cloud::AutoML::V1beta1
52
52
  # up to 5MB. Not available for FORECASTING
53
53
  #
54
54
  # [prediction_type][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type].
55
+ # * Text Sentiment - TextSnippet, content up 500 characters, UTF-8
56
+ # encoded.
55
57
  rpc :Predict, PredictRequest, PredictResponse
56
- # Perform a batch prediction. Unlike the online [Predict][google.cloud.automl.v1beta1.PredictionService.Predict], batch
58
+ # Perform a batch prediction. Unlike the online
59
+ # [Predict][google.cloud.automl.v1beta1.PredictionService.Predict], batch
57
60
  # prediction result won't be immediately available in the response. Instead,
58
61
  # a long running operation object is returned. User can poll the operation
59
62
  # result via [GetOperation][google.longrunning.Operations.GetOperation]
60
- # method. Once the operation is done, [BatchPredictResult][google.cloud.automl.v1beta1.BatchPredictResult] is returned in
61
- # the [response][google.longrunning.Operation.response] field.
63
+ # method. Once the operation is done,
64
+ # [BatchPredictResult][google.cloud.automl.v1beta1.BatchPredictResult] is
65
+ # returned in the [response][google.longrunning.Operation.response] field.
62
66
  # Available for following ML problems:
67
+ # * Image Classification
68
+ # * Image Object Detection
63
69
  # * Video Classification
64
- # * Video Object Tracking
65
- # * Text Extraction
70
+ # * Video Object Tracking * Text Extraction
66
71
  # * Tables
67
72
  rpc :BatchPredict, BatchPredictRequest, Google::Longrunning::Operation
68
73
  end
@@ -110,8 +110,7 @@ module Google::Cloud::AutoML::V1beta1
110
110
  # [node_number][google.cloud.automl.v1beta1.ImageObjectDetectionModelDeploymentMetadata.node_number])
111
111
  # will reset the deployment state without pausing the model's availability.
112
112
  #
113
- # Only applicable for Text Classification, Image Object Detection and Tables;
114
- # all other domains manage deployment automatically.
113
+ # Only applicable for Text Classification, Image Object Detection and Tables; all other domains manage deployment automatically.
115
114
  #
116
115
  # Returns an empty response in the
117
116
  # [response][google.longrunning.Operation.response] field when it completes.
@@ -11,6 +11,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
11
11
  optional :name, :string, 1
12
12
  optional :time_column_spec_id, :string, 2
13
13
  optional :row_count, :int64, 3
14
+ optional :valid_row_count, :int64, 4
14
15
  optional :column_count, :int64, 7
15
16
  repeated :input_configs, :message, 5, "google.cloud.automl.v1beta1.InputConfig"
16
17
  optional :etag, :string, 6
@@ -30,10 +30,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
30
30
  optional :train_budget_milli_node_hours, :int64, 6
31
31
  optional :train_cost_milli_node_hours, :int64, 7
32
32
  optional :disable_early_stopping, :bool, 12
33
- oneof :additional_optimization_objective_config do
34
- optional :optimization_objective_recall_value, :float, 17
35
- optional :optimization_objective_precision_value, :float, 18
36
- end
37
33
  end
38
34
  add_message "google.cloud.automl.v1beta1.TablesAnnotation" do
39
35
  optional :score, :float, 1
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module AutoML
19
- VERSION = "0.1.0".freeze
19
+ VERSION = "0.2.0".freeze
20
20
  end
21
21
  end
22
22
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-automl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.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: 2019-07-16 00:00:00.000000000 Z
11
+ date: 2019-08-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-gax
@@ -196,7 +196,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
196
196
  - !ruby/object:Gem::Version
197
197
  version: '0'
198
198
  requirements: []
199
- rubygems_version: 3.0.3
199
+ rubygems_version: 3.0.4
200
200
  signing_key:
201
201
  specification_version: 4
202
202
  summary: API Client library for Cloud AutoML API