google-cloud-automl-v1 0.4.6 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +11 -6
  3. data/lib/google/cloud/automl/v1/annotation_payload_pb.rb +2 -3
  4. data/lib/google/cloud/automl/v1/annotation_spec_pb.rb +2 -2
  5. data/lib/google/cloud/automl/v1/automl/client.rb +2 -4
  6. data/lib/google/cloud/automl/v1/automl/operations.rb +3 -0
  7. data/lib/google/cloud/automl/v1/automl.rb +1 -1
  8. data/lib/google/cloud/automl/v1/classification_pb.rb +0 -1
  9. data/lib/google/cloud/automl/v1/data_items_pb.rb +2 -5
  10. data/lib/google/cloud/automl/v1/dataset_pb.rb +2 -2
  11. data/lib/google/cloud/automl/v1/detection_pb.rb +2 -3
  12. data/lib/google/cloud/automl/v1/geometry_pb.rb +0 -1
  13. data/lib/google/cloud/automl/v1/image_pb.rb +3 -5
  14. data/lib/google/cloud/automl/v1/io_pb.rb +2 -2
  15. data/lib/google/cloud/automl/v1/model_evaluation_pb.rb +2 -2
  16. data/lib/google/cloud/automl/v1/model_pb.rb +2 -2
  17. data/lib/google/cloud/automl/v1/operations_pb.rb +2 -3
  18. data/lib/google/cloud/automl/v1/prediction_service/client.rb +1 -2
  19. data/lib/google/cloud/automl/v1/prediction_service/operations.rb +3 -0
  20. data/lib/google/cloud/automl/v1/prediction_service.rb +1 -1
  21. data/lib/google/cloud/automl/v1/prediction_service_pb.rb +2 -2
  22. data/lib/google/cloud/automl/v1/prediction_service_services_pb.rb +1 -1
  23. data/lib/google/cloud/automl/v1/service_pb.rb +2 -2
  24. data/lib/google/cloud/automl/v1/service_services_pb.rb +1 -2
  25. data/lib/google/cloud/automl/v1/text_extraction_pb.rb +2 -2
  26. data/lib/google/cloud/automl/v1/text_pb.rb +2 -2
  27. data/lib/google/cloud/automl/v1/text_segment_pb.rb +0 -1
  28. data/lib/google/cloud/automl/v1/text_sentiment_pb.rb +2 -2
  29. data/lib/google/cloud/automl/v1/translation_pb.rb +2 -2
  30. data/lib/google/cloud/automl/v1/version.rb +1 -1
  31. data/lib/google/cloud/automl/v1.rb +2 -0
  32. data/proto_docs/google/cloud/automl/v1/annotation_spec.rb +0 -1
  33. data/proto_docs/google/cloud/automl/v1/classification.rb +0 -2
  34. data/proto_docs/google/cloud/automl/v1/data_items.rb +0 -1
  35. data/proto_docs/google/cloud/automl/v1/image.rb +10 -12
  36. data/proto_docs/google/cloud/automl/v1/io.rb +29 -67
  37. data/proto_docs/google/cloud/automl/v1/model_evaluation.rb +0 -4
  38. data/proto_docs/google/cloud/automl/v1/operations.rb +0 -1
  39. data/proto_docs/google/cloud/automl/v1/prediction_service.rb +0 -1
  40. data/proto_docs/google/cloud/automl/v1/service.rb +1 -2
  41. data/proto_docs/google/protobuf/any.rb +3 -3
  42. metadata +12 -13
  43. data/proto_docs/google/protobuf/struct.rb +0 -96
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e5e7220e71feb45348e9009bd6c4269b0a86d4059a817287fd11682d18542fe7
4
- data.tar.gz: 9babe7653583f09730f78ad1552fa3d2e51d8069f06f40d59979c0245422f1ac
3
+ metadata.gz: 1802aec97caf749530ac9d41f029e0ff654600f1eca85ab0d5dbe66c38137a5b
4
+ data.tar.gz: fe72849400cc6575e9a8b2bd157c8a46d1897e61b95f461da07c88d05b9f2b4f
5
5
  SHA512:
6
- metadata.gz: ca10093ffcad2221388b7c1eec1f233d5fec77bee6a1710185fc31300124d7f361e8da0fb86a4e8bbd145465650041436b048d2218fa9ecf0f6213fd9c8ff37e
7
- data.tar.gz: 72cc7496bf82cdeece1c90264fe8cb5cc0a105a4c44f98318a3cad53af98f5410c848b8202aca6fa84bfa07dcb586de2bcad03ca367801441ad66e6d9566adc1
6
+ metadata.gz: f5d12261b7288b7bc3f0011f272f1ef29080e6ba3f3001852f1e567cfd8bcfce94280c7ba7d0476f9af3543f0efbe38d291a5e862021c4514d9a6b2ab269f3cc
7
+ data.tar.gz: 3da91bdb4afa9e0dc6ebc90bea4768936d6bcc7f88402588717bae7cdd5f352bc5fdffebf8dadb1365871aa3576609819c88f62bb827d90838e0d9205e66f67f
data/README.md CHANGED
@@ -37,7 +37,7 @@ request = ::Google::Cloud::AutoML::V1::PredictRequest.new # (request fields as k
37
37
  response = client.predict request
38
38
  ```
39
39
 
40
- View the [Client Library Documentation](https://googleapis.dev/ruby/google-cloud-automl-v1/latest)
40
+ View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-automl-v1/latest)
41
41
  for class and method documentation.
42
42
 
43
43
  See also the [Product Documentation](https://cloud.google.com/automl)
@@ -69,16 +69,21 @@ module GRPC
69
69
  end
70
70
  ```
71
71
 
72
+
73
+ ## Google Cloud Samples
74
+
75
+ To browse ready to use code samples check [Google Cloud Samples](https://cloud.google.com/docs/samples).
76
+
72
77
  ## Supported Ruby Versions
73
78
 
74
- This library is supported on Ruby 2.5+.
79
+ This library is supported on Ruby 2.6+.
75
80
 
76
81
  Google provides official support for Ruby versions that are actively supported
77
82
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
78
- in security maintenance, and not end of life. Currently, this means Ruby 2.5
79
- and later. Older versions of Ruby _may_ still work, but are unsupported and not
80
- recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details
81
- about the Ruby support schedule.
83
+ in security maintenance, and not end of life. Older versions of Ruby _may_
84
+ still work, but are unsupported and not recommended. See
85
+ https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby
86
+ support schedule.
82
87
 
83
88
  ## Which client should I use?
84
89
 
@@ -1,14 +1,13 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/automl/v1/annotation_payload.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/cloud/automl/v1/classification_pb'
5
7
  require 'google/cloud/automl/v1/detection_pb'
6
8
  require 'google/cloud/automl/v1/text_extraction_pb'
7
9
  require 'google/cloud/automl/v1/text_sentiment_pb'
8
10
  require 'google/cloud/automl/v1/translation_pb'
9
- require 'google/protobuf/any_pb'
10
- require 'google/api/annotations_pb'
11
- require 'google/protobuf'
12
11
 
13
12
  Google::Protobuf::DescriptorPool.generated_pool.build do
14
13
  add_file("google/cloud/automl/v1/annotation_payload.proto", :syntax => :proto3) do
@@ -1,10 +1,10 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/automl/v1/annotation_spec.proto
3
3
 
4
- require 'google/api/resource_pb'
5
- require 'google/api/annotations_pb'
6
4
  require 'google/protobuf'
7
5
 
6
+ require 'google/api/resource_pb'
7
+
8
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
9
  add_file("google/cloud/automl/v1/annotation_spec.proto", :syntax => :proto3) do
10
10
  add_message "google.cloud.automl.v1.AnnotationSpec" do
@@ -40,7 +40,7 @@ module Google
40
40
  # Currently the only supported `location_id` is "us-central1".
41
41
  #
42
42
  # On any input that is documented to expect a string parameter in
43
- # snake_case or kebab-case, either of those cases is accepted.
43
+ # snake_case or dash-case, either of those cases is accepted.
44
44
  #
45
45
  class Client
46
46
  include Paths
@@ -437,8 +437,7 @@ module Google
437
437
  # An expression for filtering the results of the request.
438
438
  #
439
439
  # * `dataset_metadata` - for existence of the case (e.g.
440
- # `image_classification_dataset_metadata:*`). Some examples of
441
- # using the filter are:
440
+ # `image_classification_dataset_metadata:*`). Some examples of using the filter are:
442
441
  #
443
442
  # * `translation_dataset_metadata:*` --> The dataset has
444
443
  # `translation_dataset_metadata`.
@@ -1474,7 +1473,6 @@ module Google
1474
1473
  # Deploys a model. If a model is already deployed, deploying it with the
1475
1474
  # same parameters has no effect. Deploying with different parametrs
1476
1475
  # (as e.g. changing
1477
- #
1478
1476
  # [node_number][google.cloud.automl.v1p1beta.ImageObjectDetectionModelDeploymentMetadata.node_number])
1479
1477
  # will reset the deployment state without pausing the model's availability.
1480
1478
  #
@@ -95,6 +95,9 @@ module Google
95
95
  channel_args: @config.channel_args,
96
96
  interceptors: @config.interceptors
97
97
  )
98
+
99
+ # Used by an LRO wrapper for some methods of this service
100
+ @operations_client = self
98
101
  end
99
102
 
100
103
  # Service calls
@@ -45,7 +45,7 @@ module Google
45
45
  # Currently the only supported `location_id` is "us-central1".
46
46
  #
47
47
  # On any input that is documented to expect a string parameter in
48
- # snake_case or kebab-case, either of those cases is accepted.
48
+ # snake_case or dash-case, either of those cases is accepted.
49
49
  #
50
50
  # To load this service and instantiate a client:
51
51
  #
@@ -1,7 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/automl/v1/classification.proto
3
3
 
4
- require 'google/api/annotations_pb'
5
4
  require 'google/protobuf'
6
5
 
7
6
  Google::Protobuf::DescriptorPool.generated_pool.build do
@@ -1,14 +1,11 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/automl/v1/data_items.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/cloud/automl/v1/geometry_pb'
5
7
  require 'google/cloud/automl/v1/io_pb'
6
8
  require 'google/cloud/automl/v1/text_segment_pb'
7
- require 'google/protobuf/any_pb'
8
- require 'google/protobuf/duration_pb'
9
- require 'google/protobuf/struct_pb'
10
- require 'google/api/annotations_pb'
11
- require 'google/protobuf'
12
9
 
13
10
  Google::Protobuf::DescriptorPool.generated_pool.build do
14
11
  add_file("google/cloud/automl/v1/data_items.proto", :syntax => :proto3) do
@@ -1,13 +1,13 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/automl/v1/dataset.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/resource_pb'
5
7
  require 'google/cloud/automl/v1/image_pb'
6
8
  require 'google/cloud/automl/v1/text_pb'
7
9
  require 'google/cloud/automl/v1/translation_pb'
8
10
  require 'google/protobuf/timestamp_pb'
9
- require 'google/api/annotations_pb'
10
- require 'google/protobuf'
11
11
 
12
12
  Google::Protobuf::DescriptorPool.generated_pool.build do
13
13
  add_file("google/cloud/automl/v1/dataset.proto", :syntax => :proto3) do
@@ -1,11 +1,10 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/automl/v1/detection.proto
3
3
 
4
- require 'google/cloud/automl/v1/geometry_pb'
5
- require 'google/protobuf/duration_pb'
6
- require 'google/api/annotations_pb'
7
4
  require 'google/protobuf'
8
5
 
6
+ require 'google/cloud/automl/v1/geometry_pb'
7
+
9
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
10
9
  add_file("google/cloud/automl/v1/detection.proto", :syntax => :proto3) do
11
10
  add_message "google.cloud.automl.v1.ImageObjectDetectionAnnotation" do
@@ -1,7 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/automl/v1/geometry.proto
3
3
 
4
- require 'google/api/annotations_pb'
5
4
  require 'google/protobuf'
6
5
 
7
6
  Google::Protobuf::DescriptorPool.generated_pool.build do
@@ -1,13 +1,11 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/automl/v1/image.proto
3
3
 
4
- require 'google/api/resource_pb'
5
- require 'google/cloud/automl/v1/annotation_spec_pb'
6
- require 'google/cloud/automl/v1/classification_pb'
7
- require 'google/protobuf/timestamp_pb'
8
- require 'google/api/annotations_pb'
9
4
  require 'google/protobuf'
10
5
 
6
+ require 'google/api/field_behavior_pb'
7
+ require 'google/cloud/automl/v1/classification_pb'
8
+
11
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
12
10
  add_file("google/cloud/automl/v1/image.proto", :syntax => :proto3) do
13
11
  add_message "google.cloud.automl.v1.ImageClassificationDatasetMetadata" do
@@ -1,10 +1,10 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/automl/v1/io.proto
3
3
 
4
- require 'google/api/field_behavior_pb'
5
- require 'google/api/annotations_pb'
6
4
  require 'google/protobuf'
7
5
 
6
+ require 'google/api/field_behavior_pb'
7
+
8
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
9
  add_file("google/cloud/automl/v1/io.proto", :syntax => :proto3) do
10
10
  add_message "google.cloud.automl.v1.InputConfig" do
@@ -1,6 +1,8 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/automl/v1/model_evaluation.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/resource_pb'
5
7
  require 'google/cloud/automl/v1/classification_pb'
6
8
  require 'google/cloud/automl/v1/detection_pb'
@@ -8,8 +10,6 @@ require 'google/cloud/automl/v1/text_extraction_pb'
8
10
  require 'google/cloud/automl/v1/text_sentiment_pb'
9
11
  require 'google/cloud/automl/v1/translation_pb'
10
12
  require 'google/protobuf/timestamp_pb'
11
- require 'google/api/annotations_pb'
12
- require 'google/protobuf'
13
13
 
14
14
  Google::Protobuf::DescriptorPool.generated_pool.build do
15
15
  add_file("google/cloud/automl/v1/model_evaluation.proto", :syntax => :proto3) do
@@ -1,13 +1,13 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/automl/v1/model.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/resource_pb'
5
7
  require 'google/cloud/automl/v1/image_pb'
6
8
  require 'google/cloud/automl/v1/text_pb'
7
9
  require 'google/cloud/automl/v1/translation_pb'
8
10
  require 'google/protobuf/timestamp_pb'
9
- require 'google/api/annotations_pb'
10
- require 'google/protobuf'
11
11
 
12
12
  Google::Protobuf::DescriptorPool.generated_pool.build do
13
13
  add_file("google/cloud/automl/v1/model.proto", :syntax => :proto3) do
@@ -1,12 +1,11 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/automl/v1/operations.proto
3
3
 
4
- require 'google/cloud/automl/v1/dataset_pb'
4
+ require 'google/protobuf'
5
+
5
6
  require 'google/cloud/automl/v1/io_pb'
6
7
  require 'google/protobuf/timestamp_pb'
7
8
  require 'google/rpc/status_pb'
8
- require 'google/api/annotations_pb'
9
- require 'google/protobuf'
10
9
 
11
10
  Google::Protobuf::DescriptorPool.generated_pool.build do
12
11
  add_file("google/cloud/automl/v1/operations.proto", :syntax => :proto3) do
@@ -30,7 +30,7 @@ module Google
30
30
  # AutoML Prediction API.
31
31
  #
32
32
  # On any input that is documented to expect a string parameter in
33
- # snake_case or kebab-case, either of those cases is accepted.
33
+ # snake_case or dash-case, either of those cases is accepted.
34
34
  #
35
35
  class Client
36
36
  include Paths
@@ -249,7 +249,6 @@ module Google
249
249
  #
250
250
  # `feature_importance`
251
251
  # : (boolean) Whether
252
- #
253
252
  # [feature_importance][google.cloud.automl.v1.TablesModelColumnInfo.feature_importance]
254
253
  # is populated in the returned list of
255
254
  # [TablesAnnotation][google.cloud.automl.v1.TablesAnnotation]
@@ -95,6 +95,9 @@ module Google
95
95
  channel_args: @config.channel_args,
96
96
  interceptors: @config.interceptors
97
97
  )
98
+
99
+ # Used by an LRO wrapper for some methods of this service
100
+ @operations_client = self
98
101
  end
99
102
 
100
103
  # Service calls
@@ -35,7 +35,7 @@ module Google
35
35
  # AutoML Prediction API.
36
36
  #
37
37
  # On any input that is documented to expect a string parameter in
38
- # snake_case or kebab-case, either of those cases is accepted.
38
+ # snake_case or dash-case, either of those cases is accepted.
39
39
  #
40
40
  # To load this service and instantiate a client:
41
41
  #
@@ -1,6 +1,8 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/automl/v1/prediction_service.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/annotations_pb'
5
7
  require 'google/api/client_pb'
6
8
  require 'google/api/field_behavior_pb'
@@ -8,9 +10,7 @@ require 'google/api/resource_pb'
8
10
  require 'google/cloud/automl/v1/annotation_payload_pb'
9
11
  require 'google/cloud/automl/v1/data_items_pb'
10
12
  require 'google/cloud/automl/v1/io_pb'
11
- require 'google/cloud/automl/v1/operations_pb'
12
13
  require 'google/longrunning/operations_pb'
13
- require 'google/protobuf'
14
14
 
15
15
  Google::Protobuf::DescriptorPool.generated_pool.build do
16
16
  add_file("google/cloud/automl/v1/prediction_service.proto", :syntax => :proto3) do
@@ -27,7 +27,7 @@ module Google
27
27
  # AutoML Prediction API.
28
28
  #
29
29
  # On any input that is documented to expect a string parameter in
30
- # snake_case or kebab-case, either of those cases is accepted.
30
+ # snake_case or dash-case, either of those cases is accepted.
31
31
  class Service
32
32
 
33
33
  include ::GRPC::GenericService
@@ -1,6 +1,8 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/automl/v1/service.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/annotations_pb'
5
7
  require 'google/api/client_pb'
6
8
  require 'google/api/field_behavior_pb'
@@ -12,10 +14,8 @@ require 'google/cloud/automl/v1/image_pb'
12
14
  require 'google/cloud/automl/v1/io_pb'
13
15
  require 'google/cloud/automl/v1/model_pb'
14
16
  require 'google/cloud/automl/v1/model_evaluation_pb'
15
- require 'google/cloud/automl/v1/operations_pb'
16
17
  require 'google/longrunning/operations_pb'
17
18
  require 'google/protobuf/field_mask_pb'
18
- require 'google/protobuf'
19
19
 
20
20
  Google::Protobuf::DescriptorPool.generated_pool.build do
21
21
  add_file("google/cloud/automl/v1/service.proto", :syntax => :proto3) do
@@ -37,7 +37,7 @@ module Google
37
37
  # Currently the only supported `location_id` is "us-central1".
38
38
  #
39
39
  # On any input that is documented to expect a string parameter in
40
- # snake_case or kebab-case, either of those cases is accepted.
40
+ # snake_case or dash-case, either of those cases is accepted.
41
41
  class Service
42
42
 
43
43
  include ::GRPC::GenericService
@@ -97,7 +97,6 @@ module Google
97
97
  # Deploys a model. If a model is already deployed, deploying it with the
98
98
  # same parameters has no effect. Deploying with different parametrs
99
99
  # (as e.g. changing
100
- #
101
100
  # [node_number][google.cloud.automl.v1p1beta.ImageObjectDetectionModelDeploymentMetadata.node_number])
102
101
  # will reset the deployment state without pausing the model's availability.
103
102
  #
@@ -1,10 +1,10 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/automl/v1/text_extraction.proto
3
3
 
4
- require 'google/cloud/automl/v1/text_segment_pb'
5
- require 'google/api/annotations_pb'
6
4
  require 'google/protobuf'
7
5
 
6
+ require 'google/cloud/automl/v1/text_segment_pb'
7
+
8
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
9
  add_file("google/cloud/automl/v1/text_extraction.proto", :syntax => :proto3) do
10
10
  add_message "google.cloud.automl.v1.TextExtractionAnnotation" do
@@ -1,10 +1,10 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/automl/v1/text.proto
3
3
 
4
- require 'google/cloud/automl/v1/classification_pb'
5
- require 'google/api/annotations_pb'
6
4
  require 'google/protobuf'
7
5
 
6
+ require 'google/cloud/automl/v1/classification_pb'
7
+
8
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
9
  add_file("google/cloud/automl/v1/text.proto", :syntax => :proto3) do
10
10
  add_message "google.cloud.automl.v1.TextClassificationDatasetMetadata" do
@@ -1,7 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/automl/v1/text_segment.proto
3
3
 
4
- require 'google/api/annotations_pb'
5
4
  require 'google/protobuf'
6
5
 
7
6
  Google::Protobuf::DescriptorPool.generated_pool.build do
@@ -1,10 +1,10 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/automl/v1/text_sentiment.proto
3
3
 
4
- require 'google/cloud/automl/v1/classification_pb'
5
- require 'google/api/annotations_pb'
6
4
  require 'google/protobuf'
7
5
 
6
+ require 'google/cloud/automl/v1/classification_pb'
7
+
8
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
9
  add_file("google/cloud/automl/v1/text_sentiment.proto", :syntax => :proto3) do
10
10
  add_message "google.cloud.automl.v1.TextSentimentAnnotation" do
@@ -1,10 +1,10 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/automl/v1/translation.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/field_behavior_pb'
5
7
  require 'google/cloud/automl/v1/data_items_pb'
6
- require 'google/api/annotations_pb'
7
- require 'google/protobuf'
8
8
 
9
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
10
10
  add_file("google/cloud/automl/v1/translation.proto", :syntax => :proto3) do
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module AutoML
23
23
  module V1
24
- VERSION = "0.4.6"
24
+ VERSION = "0.5.0"
25
25
  end
26
26
  end
27
27
  end
@@ -26,6 +26,8 @@ module Google
26
26
  ##
27
27
  # To load this package, including all its services, and instantiate a client:
28
28
  #
29
+ # @example
30
+ #
29
31
  # require "google/cloud/automl/v1"
30
32
  # client = ::Google::Cloud::AutoML::V1::PredictionService::Client.new
31
33
  #
@@ -26,7 +26,6 @@ module Google
26
26
  # @return [::String]
27
27
  # Output only. Resource name of the annotation spec.
28
28
  # Form:
29
- #
30
29
  # 'projects/\\{project_id}/locations/\\{location_id}/datasets/\\{dataset_id}/annotationSpecs/\\{annotation_spec_id}'
31
30
  # @!attribute [rw] display_name
32
31
  # @return [::String]
@@ -137,7 +137,6 @@ module Google
137
137
  # @return [::Array<::String>]
138
138
  # Output only. IDs of the annotation specs used in the confusion matrix.
139
139
  # For Tables CLASSIFICATION
140
- #
141
140
  # [prediction_type][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type]
142
141
  # only list of [annotation_spec_display_name-s][] is populated.
143
142
  # @!attribute [rw] display_name
@@ -145,7 +144,6 @@ module Google
145
144
  # Output only. Display name of the annotation specs used in the confusion
146
145
  # matrix, as they were at the moment of the evaluation. For Tables
147
146
  # CLASSIFICATION
148
- #
149
147
  # [prediction_type-s][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type],
150
148
  # distinct values of the target column at the moment of the model
151
149
  # evaluation are populated here.
@@ -118,7 +118,6 @@ module Google
118
118
  # @return [::Google::Cloud::AutoML::V1::BoundingPoly]
119
119
  # The position of the {::Google::Cloud::AutoML::V1::Document::Layout#text_segment text_segment} in the page.
120
120
  # Contains exactly 4
121
- #
122
121
  # [normalized_vertices][google.cloud.automl.v1p1beta.BoundingPoly.normalized_vertices]
123
122
  # and they are connected by edges in the order provided, which will
124
123
  # represent a rectangle parallel to the frame. The
@@ -46,7 +46,7 @@ module Google
46
46
  # `model_type`.
47
47
  # @!attribute [rw] train_budget_milli_node_hours
48
48
  # @return [::Integer]
49
- # The train budget of creating this model, expressed in milli node
49
+ # Optional. The train budget of creating this model, expressed in milli node
50
50
  # hours i.e. 1,000 value in this field means 1 node hour. The actual
51
51
  # `train_cost` will be equal or less than this value. If further model
52
52
  # training ceases to provide any improvements, it will stop without using
@@ -60,12 +60,12 @@ module Google
60
60
  # `mobile-core-ml-high-accuracy-1`, the train budget must be between 1,000
61
61
  # and 100,000 milli node hours, inclusive. The default value is 24, 000 which
62
62
  # represents one day in wall time.
63
- # @!attribute [rw] train_cost_milli_node_hours
63
+ # @!attribute [r] train_cost_milli_node_hours
64
64
  # @return [::Integer]
65
65
  # Output only. The actual train cost of creating this model, expressed in
66
66
  # milli node hours, i.e. 1,000 value in this field means 1 node hour.
67
67
  # Guaranteed to not exceed the train budget.
68
- # @!attribute [rw] stop_reason
68
+ # @!attribute [r] stop_reason
69
69
  # @return [::String]
70
70
  # Output only. The reason that this create model operation stopped,
71
71
  # e.g. `BUDGET_REACHED`, `MODEL_CONVERGED`.
@@ -104,11 +104,11 @@ module Google
104
104
  # Core ML afterwards. Expected to have a higher latency, but
105
105
  # should also have a higher prediction quality than other
106
106
  # models.
107
- # @!attribute [rw] node_qps
107
+ # @!attribute [r] node_qps
108
108
  # @return [::Float]
109
109
  # Output only. An approximate number of online prediction QPS that can
110
110
  # be supported by this model per each node on which it is deployed.
111
- # @!attribute [rw] node_count
111
+ # @!attribute [r] node_count
112
112
  # @return [::Integer]
113
113
  # Output only. The number of nodes this model is deployed on. A node is an
114
114
  # abstraction of a machine resource, which can handle online prediction QPS
@@ -144,22 +144,22 @@ module Google
144
144
  # with TensorFlow afterwards. Expected to have a higher
145
145
  # latency, but should also have a higher prediction quality
146
146
  # than other models.
147
- # @!attribute [rw] node_count
147
+ # @!attribute [r] node_count
148
148
  # @return [::Integer]
149
149
  # Output only. The number of nodes this model is deployed on. A node is an
150
150
  # abstraction of a machine resource, which can handle online prediction QPS
151
151
  # as given in the qps_per_node field.
152
- # @!attribute [rw] node_qps
152
+ # @!attribute [r] node_qps
153
153
  # @return [::Float]
154
154
  # Output only. An approximate number of online prediction QPS that can
155
155
  # be supported by this model per each node on which it is deployed.
156
- # @!attribute [rw] stop_reason
156
+ # @!attribute [r] stop_reason
157
157
  # @return [::String]
158
158
  # Output only. The reason that this create model operation stopped,
159
159
  # e.g. `BUDGET_REACHED`, `MODEL_CONVERGED`.
160
160
  # @!attribute [rw] train_budget_milli_node_hours
161
161
  # @return [::Integer]
162
- # The train budget of creating this model, expressed in milli node
162
+ # Optional. The train budget of creating this model, expressed in milli node
163
163
  # hours i.e. 1,000 value in this field means 1 node hour. The actual
164
164
  # `train_cost` will be equal or less than this value. If further model
165
165
  # training ceases to provide any improvements, it will stop without using
@@ -174,7 +174,7 @@ module Google
174
174
  # `mobile-core-ml-versatile-1`, `mobile-core-ml-high-accuracy-1`, the train
175
175
  # budget must be between 1,000 and 100,000 milli node hours, inclusive.
176
176
  # The default value is 24, 000 which represents one day in wall time.
177
- # @!attribute [rw] train_cost_milli_node_hours
177
+ # @!attribute [r] train_cost_milli_node_hours
178
178
  # @return [::Integer]
179
179
  # Output only. The actual train cost of creating this model, expressed in
180
180
  # milli node hours, i.e. 1,000 value in this field means 1 node hour.
@@ -190,7 +190,6 @@ module Google
190
190
  # Input only. The number of nodes to deploy the model on. A node is an
191
191
  # abstraction of a machine resource, which can handle online prediction QPS
192
192
  # as given in the model's
193
- #
194
193
  # {::Google::Cloud::AutoML::V1::ImageClassificationModelMetadata#node_qps node_qps}.
195
194
  # Must be between 1 and 100, inclusive on both ends.
196
195
  class ImageClassificationModelDeploymentMetadata
@@ -204,7 +203,6 @@ module Google
204
203
  # Input only. The number of nodes to deploy the model on. A node is an
205
204
  # abstraction of a machine resource, which can handle online prediction QPS
206
205
  # as given in the model's
207
- #
208
206
  # [qps_per_node][google.cloud.automl.v1.ImageObjectDetectionModelMetadata.qps_per_node].
209
207
  # Must be between 1 and 100, inclusive on both ends.
210
208
  class ImageObjectDetectionModelDeploymentMetadata
@@ -527,7 +527,6 @@ module Google
527
527
  # [bigquery_source][google.cloud.automl.v1.InputConfig.bigquery_source].
528
528
  # All input is concatenated into a
529
529
  # single
530
- #
531
530
  # [primary_table_spec_id][google.cloud.automl.v1.TablesDatasetMetadata.primary_table_spec_id]
532
531
  #
533
532
  # **For gcs_source:**
@@ -544,9 +543,7 @@ module Google
544
543
  # First three sample rows of a CSV file:
545
544
  # <pre>
546
545
  # "Id","First Name","Last Name","Dob","Addresses"
547
- #
548
546
  # "1","John","Doe","1968-01-22","[\\{"status":"current","address":"123_First_Avenue","city":"Seattle","state":"WA","zip":"11111","numberOfYears":"1"},\\{"status":"previous","address":"456_Main_Street","city":"Portland","state":"OR","zip":"22222","numberOfYears":"5"}]"
549
- #
550
547
  # "2","Jane","Doe","1980-10-16","[\\{"status":"current","address":"789_Any_Avenue","city":"Albany","state":"NY","zip":"33333","numberOfYears":"2"},\\{"status":"previous","address":"321_Main_Street","city":"Hoboken","state":"NJ","zip":"44444","numberOfYears":"3"}]}
551
548
  # </pre>
552
549
  # **For bigquery_source:**
@@ -882,7 +879,6 @@ module Google
882
879
  # contain values for the corresponding columns.
883
880
  #
884
881
  # The column names must contain the model's
885
- #
886
882
  # [input_feature_column_specs'][google.cloud.automl.v1.TablesModelMetadata.input_feature_column_specs]
887
883
  # display_name-s
888
884
  # (order doesn't matter). The columns corresponding to the model's
@@ -894,9 +890,7 @@ module Google
894
890
  # Sample rows from a CSV file:
895
891
  # <pre>
896
892
  # "First Name","Last Name","Dob","Addresses"
897
- #
898
893
  # "John","Doe","1968-01-22","[\\{"status":"current","address":"123_First_Avenue","city":"Seattle","state":"WA","zip":"11111","numberOfYears":"1"},\\{"status":"previous","address":"456_Main_Street","city":"Portland","state":"OR","zip":"22222","numberOfYears":"5"}]"
899
- #
900
894
  # "Jane","Doe","1980-10-16","[\\{"status":"current","address":"789_Any_Avenue","city":"Albany","state":"NY","zip":"33333","numberOfYears":"2"},\\{"status":"previous","address":"321_Main_Street","city":"Hoboken","state":"NJ","zip":"44444","numberOfYears":"3"}]}
901
895
  # </pre>
902
896
  # **For bigquery_source:**
@@ -905,7 +899,6 @@ module Google
905
899
  # table must be 100GB or smaller.
906
900
  #
907
901
  # The column names must contain the model's
908
- #
909
902
  # [input_feature_column_specs'][google.cloud.automl.v1.TablesModelMetadata.input_feature_column_specs]
910
903
  # display_name-s
911
904
  # (order doesn't matter). The columns corresponding to the model's
@@ -979,19 +972,16 @@ module Google
979
972
  # Output depends on whether the dataset was imported from Google Cloud
980
973
  # Storage or BigQuery.
981
974
  # Google Cloud Storage case:
982
- #
983
- # [gcs_destination][google.cloud.automl.v1p1beta.OutputConfig.gcs_destination]
975
+ # [gcs_destination][google.cloud.automl.v1p1beta.OutputConfig.gcs_destination]
984
976
  # must be set. Exported are CSV file(s) `tables_1.csv`,
985
977
  # `tables_2.csv`,...,`tables_N.csv` with each having as header line
986
978
  # the table's column names, and all other lines contain values for
987
979
  # the header columns.
988
980
  # BigQuery case:
989
- #
990
- # [bigquery_destination][google.cloud.automl.v1p1beta.OutputConfig.bigquery_destination]
981
+ # [bigquery_destination][google.cloud.automl.v1p1beta.OutputConfig.bigquery_destination]
991
982
  # pointing to a BigQuery project must be set. In the given project a
992
983
  # new dataset will be created with name
993
- #
994
- # `export_data_<automl-dataset-display-name>_<timestamp-of-export-call>`
984
+ # `export_data_<automl-dataset-display-name>_<timestamp-of-export-call>`
995
985
  # where <automl-dataset-display-name> will be made
996
986
  # BigQuery-dataset-name compatible (e.g. most special characters will
997
987
  # become underscores), and timestamp will be in
@@ -1014,7 +1004,6 @@ module Google
1014
1004
  # Output configuration for BatchPredict Action.
1015
1005
  #
1016
1006
  # As destination the
1017
- #
1018
1007
  # {::Google::Cloud::AutoML::V1::BatchPredictOutputConfig#gcs_destination gcs_destination}
1019
1008
  # must be set unless specified otherwise for a domain. If gcs_destination is
1020
1009
  # set then in the given directory a new directory is created. Its name
@@ -1040,8 +1029,7 @@ module Google
1040
1029
  # predictions). These files will have a JSON representation of a proto
1041
1030
  # that wraps the same "ID" : "<id_value>" but here followed by
1042
1031
  # exactly one
1043
- #
1044
- # [`google.rpc.Status`](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto)
1032
+ # [`google.rpc.Status`](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto)
1045
1033
  # containing only `code` and `message`fields.
1046
1034
  #
1047
1035
  # * For Image Object Detection:
@@ -1061,8 +1049,7 @@ module Google
1061
1049
  # predictions). These files will have a JSON representation of a proto
1062
1050
  # that wraps the same "ID" : "<id_value>" but here followed by
1063
1051
  # exactly one
1064
- #
1065
- # [`google.rpc.Status`](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto)
1052
+ # [`google.rpc.Status`](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto)
1066
1053
  # containing only `code` and `message`fields.
1067
1054
  # * For Video Classification:
1068
1055
  # In the created directory a video_classification.csv file, and a .JSON
@@ -1070,8 +1057,7 @@ module Google
1070
1057
  # line in given CSV(s)), will be created.
1071
1058
  #
1072
1059
  # The format of video_classification.csv is:
1073
- #
1074
- # GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END,JSON_FILE_NAME,STATUS
1060
+ # GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END,JSON_FILE_NAME,STATUS
1075
1061
  # where:
1076
1062
  # GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END = matches 1 to 1
1077
1063
  # the prediction input lines (i.e. video_classification.csv has
@@ -1099,8 +1085,7 @@ module Google
1099
1085
  # lines in given CSV(s)).
1100
1086
  #
1101
1087
  # The format of video_object_tracking.csv is:
1102
- #
1103
- # GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END,JSON_FILE_NAME,STATUS
1088
+ # GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END,JSON_FILE_NAME,STATUS
1104
1089
  # where:
1105
1090
  # GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END = matches 1 to 1
1106
1091
  # the prediction input lines (i.e. video_object_tracking.csv has
@@ -1135,8 +1120,7 @@ module Google
1135
1120
  # `errors_N.jsonl` files will be created (N depends on total number of
1136
1121
  # failed predictions). These files will have a JSON representation of a
1137
1122
  # proto that wraps input file followed by exactly one
1138
- #
1139
- # [`google.rpc.Status`](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto)
1123
+ # [`google.rpc.Status`](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto)
1140
1124
  # containing only `code` and `message`.
1141
1125
  #
1142
1126
  # * For Text Sentiment:
@@ -1158,8 +1142,7 @@ module Google
1158
1142
  # `errors_N.jsonl` files will be created (N depends on total number of
1159
1143
  # failed predictions). These files will have a JSON representation of a
1160
1144
  # proto that wraps input file followed by exactly one
1161
- #
1162
- # [`google.rpc.Status`](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto)
1145
+ # [`google.rpc.Status`](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto)
1163
1146
  # containing only `code` and `message`.
1164
1147
  #
1165
1148
  # * For Text Extraction:
@@ -1193,33 +1176,26 @@ module Google
1193
1176
  # proto that wraps either the "id" : "<id_value>" (in case of inline)
1194
1177
  # or the document proto (in case of document) but here followed by
1195
1178
  # exactly one
1196
- #
1197
- # [`google.rpc.Status`](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto)
1179
+ # [`google.rpc.Status`](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto)
1198
1180
  # containing only `code` and `message`.
1199
1181
  #
1200
1182
  # * For Tables:
1201
1183
  # Output depends on whether
1202
- #
1203
- # [gcs_destination][google.cloud.automl.v1p1beta.BatchPredictOutputConfig.gcs_destination]
1184
+ # [gcs_destination][google.cloud.automl.v1p1beta.BatchPredictOutputConfig.gcs_destination]
1204
1185
  # or
1205
- #
1206
- # [bigquery_destination][google.cloud.automl.v1p1beta.BatchPredictOutputConfig.bigquery_destination]
1186
+ # [bigquery_destination][google.cloud.automl.v1p1beta.BatchPredictOutputConfig.bigquery_destination]
1207
1187
  # is set (either is allowed).
1208
1188
  # Google Cloud Storage case:
1209
1189
  # In the created directory files `tables_1.csv`, `tables_2.csv`,...,
1210
1190
  # `tables_N.csv` will be created, where N may be 1, and depends on
1211
1191
  # the total number of the successfully predicted rows.
1212
1192
  # For all CLASSIFICATION
1213
- #
1214
- # [prediction_type-s][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type]:
1193
+ # [prediction_type-s][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type]:
1215
1194
  # Each .csv file will contain a header, listing all columns'
1216
- #
1217
- # [display_name-s][google.cloud.automl.v1p1beta.ColumnSpec.display_name]
1195
+ # [display_name-s][google.cloud.automl.v1p1beta.ColumnSpec.display_name]
1218
1196
  # given on input followed by M target column names in the format of
1219
- #
1220
- # "<[target_column_specs][google.cloud.automl.v1p1beta.TablesModelMetadata.target_column_spec]
1221
- #
1222
- # [display_name][google.cloud.automl.v1p1beta.ColumnSpec.display_name]>_<target
1197
+ # "<[target_column_specs][google.cloud.automl.v1p1beta.TablesModelMetadata.target_column_spec]
1198
+ # [display_name][google.cloud.automl.v1p1beta.ColumnSpec.display_name]>_<target
1223
1199
  # value>_score" where M is the number of distinct target values,
1224
1200
  # i.e. number of distinct values in the target column of the table
1225
1201
  # used to train the model. Subsequent lines will contain the
@@ -1227,16 +1203,13 @@ module Google
1227
1203
  # i.e. the target, columns having the corresponding prediction
1228
1204
  # [scores][google.cloud.automl.v1p1beta.TablesAnnotation.score].
1229
1205
  # For REGRESSION and FORECASTING
1230
- #
1231
- # [prediction_type-s][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type]:
1206
+ # [prediction_type-s][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type]:
1232
1207
  # Each .csv file will contain a header, listing all columns'
1233
1208
  # [display_name-s][google.cloud.automl.v1p1beta.display_name]
1234
1209
  # given on input followed by the predicted target column with name
1235
1210
  # in the format of
1236
- #
1237
- # "predicted_<[target_column_specs][google.cloud.automl.v1p1beta.TablesModelMetadata.target_column_spec]
1238
- #
1239
- # [display_name][google.cloud.automl.v1p1beta.ColumnSpec.display_name]>"
1211
+ # "predicted_<[target_column_specs][google.cloud.automl.v1p1beta.TablesModelMetadata.target_column_spec]
1212
+ # [display_name][google.cloud.automl.v1p1beta.ColumnSpec.display_name]>"
1240
1213
  # Subsequent lines will contain the respective values of
1241
1214
  # successfully predicted rows, with the last, i.e. the target,
1242
1215
  # column having the predicted target value.
@@ -1245,13 +1218,11 @@ module Google
1245
1218
  # created (N depends on total number of failed rows). These files
1246
1219
  # will have analogous format as `tables_*.csv`, but always with a
1247
1220
  # single target column having
1248
- #
1249
- # [`google.rpc.Status`](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto)
1221
+ # [`google.rpc.Status`](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto)
1250
1222
  # represented as a JSON string, and containing only `code` and
1251
1223
  # `message`.
1252
1224
  # BigQuery case:
1253
- #
1254
- # [bigquery_destination][google.cloud.automl.v1p1beta.OutputConfig.bigquery_destination]
1225
+ # [bigquery_destination][google.cloud.automl.v1p1beta.OutputConfig.bigquery_destination]
1255
1226
  # pointing to a BigQuery project must be set. In the given project a
1256
1227
  # new dataset will be created with name
1257
1228
  # `prediction_<model-display-name>_<timestamp-of-prediction-call>`
@@ -1261,30 +1232,23 @@ module Google
1261
1232
  # YYYY_MM_DDThh_mm_ss_sssZ "based on ISO-8601" format. In the dataset
1262
1233
  # two tables will be created, `predictions`, and `errors`.
1263
1234
  # The `predictions` table's column names will be the input columns'
1264
- #
1265
- # [display_name-s][google.cloud.automl.v1p1beta.ColumnSpec.display_name]
1235
+ # [display_name-s][google.cloud.automl.v1p1beta.ColumnSpec.display_name]
1266
1236
  # followed by the target column with name in the format of
1267
- #
1268
- # "predicted_<[target_column_specs][google.cloud.automl.v1p1beta.TablesModelMetadata.target_column_spec]
1269
- #
1270
- # [display_name][google.cloud.automl.v1p1beta.ColumnSpec.display_name]>"
1237
+ # "predicted_<[target_column_specs][google.cloud.automl.v1p1beta.TablesModelMetadata.target_column_spec]
1238
+ # [display_name][google.cloud.automl.v1p1beta.ColumnSpec.display_name]>"
1271
1239
  # The input feature columns will contain the respective values of
1272
1240
  # successfully predicted rows, with the target column having an
1273
1241
  # ARRAY of
1274
- #
1275
- # [AnnotationPayloads][google.cloud.automl.v1p1beta.AnnotationPayload],
1242
+ # [AnnotationPayloads][google.cloud.automl.v1p1beta.AnnotationPayload],
1276
1243
  # represented as STRUCT-s, containing
1277
1244
  # [TablesAnnotation][google.cloud.automl.v1p1beta.TablesAnnotation].
1278
1245
  # The `errors` table contains rows for which the prediction has
1279
1246
  # failed, it has analogous input columns while the target column name
1280
1247
  # is in the format of
1281
- #
1282
- # "errors_<[target_column_specs][google.cloud.automl.v1p1beta.TablesModelMetadata.target_column_spec]
1283
- #
1284
- # [display_name][google.cloud.automl.v1p1beta.ColumnSpec.display_name]>",
1248
+ # "errors_<[target_column_specs][google.cloud.automl.v1p1beta.TablesModelMetadata.target_column_spec]
1249
+ # [display_name][google.cloud.automl.v1p1beta.ColumnSpec.display_name]>",
1285
1250
  # and as a value has
1286
- #
1287
- # [`google.rpc.Status`](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto)
1251
+ # [`google.rpc.Status`](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto)
1288
1252
  # represented as a STRUCT, and containing only `code` and `message`.
1289
1253
  # @!attribute [rw] gcs_destination
1290
1254
  # @return [::Google::Cloud::AutoML::V1::GcsDestination]
@@ -1338,9 +1302,7 @@ module Google
1338
1302
  # the container. The container is verified to work correctly on
1339
1303
  # ubuntu 16.04 operating system. See more at
1340
1304
  # [containers
1341
- #
1342
- # quickstart](https:
1343
- # //cloud.google.com/vision/automl/docs/containers-gcs-quickstart)
1305
+ # quickstart](https://cloud.google.com/vision/automl/docs/containers-gcs-quickstart)
1344
1306
  # * core_ml - Used for iOS mobile devices.
1345
1307
  # @!attribute [rw] params
1346
1308
  # @return [::Google::Protobuf::Map{::String => ::String}]
@@ -44,7 +44,6 @@ module Google
44
44
  # @return [::String]
45
45
  # Output only. Resource name of the model evaluation.
46
46
  # Format:
47
- #
48
47
  # `projects/{project_id}/locations/{location_id}/models/{model_id}/modelEvaluations/{model_evaluation_id}`
49
48
  # @!attribute [rw] annotation_spec_id
50
49
  # @return [::String]
@@ -52,7 +51,6 @@ module Google
52
51
  # The ID is empty for the overall model evaluation.
53
52
  # For Tables annotation specs in the dataset do not exist and this ID is
54
53
  # always not set, but for CLASSIFICATION
55
- #
56
54
  # [prediction_type-s][google.cloud.automl.v1.TablesModelMetadata.prediction_type]
57
55
  # the
58
56
  # {::Google::Cloud::AutoML::V1::ModelEvaluation#display_name display_name}
@@ -65,7 +63,6 @@ module Google
65
63
  # value at model training time, for different models trained from the same
66
64
  # dataset, the values may differ, since display names could had been changed
67
65
  # between the two model's trainings. For Tables CLASSIFICATION
68
- #
69
66
  # [prediction_type-s][google.cloud.automl.v1.TablesModelMetadata.prediction_type]
70
67
  # distinct values of the target column at the moment of the model evaluation
71
68
  # are populated here.
@@ -82,7 +79,6 @@ module Google
82
79
  # the total number of all examples used for evaluation.
83
80
  # Otherwise, this is the count of examples that according to the ground
84
81
  # truth were annotated by the
85
- #
86
82
  # {::Google::Cloud::AutoML::V1::ModelEvaluation#annotation_spec_id annotation_spec_id}.
87
83
  class ModelEvaluation
88
84
  include ::Google::Protobuf::MessageExts
@@ -141,7 +141,6 @@ module Google
141
141
 
142
142
  # Further describes this batch predict's output.
143
143
  # Supplements
144
- #
145
144
  # {::Google::Cloud::AutoML::V1::BatchPredictOutputConfig BatchPredictOutputConfig}.
146
145
  # @!attribute [rw] gcs_output_directory
147
146
  # @return [::String]
@@ -57,7 +57,6 @@ module Google
57
57
  #
58
58
  # `feature_importance`
59
59
  # : (boolean) Whether
60
- #
61
60
  # [feature_importance][google.cloud.automl.v1.TablesModelColumnInfo.feature_importance]
62
61
  # is populated in the returned list of
63
62
  # [TablesAnnotation][google.cloud.automl.v1.TablesAnnotation]
@@ -51,8 +51,7 @@ module Google
51
51
  # An expression for filtering the results of the request.
52
52
  #
53
53
  # * `dataset_metadata` - for existence of the case (e.g.
54
- # `image_classification_dataset_metadata:*`). Some examples of
55
- # using the filter are:
54
+ # `image_classification_dataset_metadata:*`). Some examples of using the filter are:
56
55
  #
57
56
  # * `translation_dataset_metadata:*` --> The dataset has
58
57
  # `translation_dataset_metadata`.
@@ -44,7 +44,7 @@ module Google
44
44
  # foo = any.unpack(Foo.class);
45
45
  # }
46
46
  #
47
- # Example 3: Pack and unpack a message in Python.
47
+ # Example 3: Pack and unpack a message in Python.
48
48
  #
49
49
  # foo = Foo(...)
50
50
  # any = Any()
@@ -54,7 +54,7 @@ module Google
54
54
  # any.Unpack(foo)
55
55
  # ...
56
56
  #
57
- # Example 4: Pack and unpack a message in Go
57
+ # Example 4: Pack and unpack a message in Go
58
58
  #
59
59
  # foo := &pb.Foo{...}
60
60
  # any, err := anypb.New(foo)
@@ -75,7 +75,7 @@ module Google
75
75
  #
76
76
  #
77
77
  # JSON
78
- # ====
78
+ #
79
79
  # The JSON representation of an `Any` value uses the regular
80
80
  # representation of the deserialized, embedded message, with an
81
81
  # additional field `@type` which contains the type URL. Example:
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-automl-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.6
4
+ version: 0.5.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: 2022-01-11 00:00:00.000000000 Z
11
+ date: 2022-07-01 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.7'
19
+ version: '0.10'
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.7'
29
+ version: '0.10'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -50,28 +50,28 @@ dependencies:
50
50
  requirements:
51
51
  - - "~>"
52
52
  - !ruby/object:Gem::Version
53
- version: 1.25.1
53
+ version: 1.26.1
54
54
  type: :development
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  requirements:
58
58
  - - "~>"
59
59
  - !ruby/object:Gem::Version
60
- version: 1.25.1
60
+ version: 1.26.1
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: minitest
63
63
  requirement: !ruby/object:Gem::Requirement
64
64
  requirements:
65
65
  - - "~>"
66
66
  - !ruby/object:Gem::Version
67
- version: '5.14'
67
+ version: '5.16'
68
68
  type: :development
69
69
  prerelease: false
70
70
  version_requirements: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - "~>"
73
73
  - !ruby/object:Gem::Version
74
- version: '5.14'
74
+ version: '5.16'
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: minitest-focus
77
77
  requirement: !ruby/object:Gem::Requirement
@@ -106,14 +106,14 @@ dependencies:
106
106
  requirements:
107
107
  - - ">="
108
108
  - !ruby/object:Gem::Version
109
- version: '12.0'
109
+ version: '13.0'
110
110
  type: :development
111
111
  prerelease: false
112
112
  version_requirements: !ruby/object:Gem::Requirement
113
113
  requirements:
114
114
  - - ">="
115
115
  - !ruby/object:Gem::Version
116
- version: '12.0'
116
+ version: '13.0'
117
117
  - !ruby/object:Gem::Dependency
118
118
  name: redcarpet
119
119
  requirement: !ruby/object:Gem::Requirement
@@ -234,7 +234,6 @@ files:
234
234
  - proto_docs/google/protobuf/duration.rb
235
235
  - proto_docs/google/protobuf/empty.rb
236
236
  - proto_docs/google/protobuf/field_mask.rb
237
- - proto_docs/google/protobuf/struct.rb
238
237
  - proto_docs/google/protobuf/timestamp.rb
239
238
  - proto_docs/google/rpc/status.rb
240
239
  homepage: https://github.com/googleapis/google-cloud-ruby
@@ -249,14 +248,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
249
248
  requirements:
250
249
  - - ">="
251
250
  - !ruby/object:Gem::Version
252
- version: '2.5'
251
+ version: '2.6'
253
252
  required_rubygems_version: !ruby/object:Gem::Requirement
254
253
  requirements:
255
254
  - - ">="
256
255
  - !ruby/object:Gem::Version
257
256
  version: '0'
258
257
  requirements: []
259
- rubygems_version: 3.3.4
258
+ rubygems_version: 3.3.14
260
259
  signing_key:
261
260
  specification_version: 4
262
261
  summary: API Client library for the Cloud AutoML V1 API
@@ -1,96 +0,0 @@
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 Protobuf
22
- # `Struct` represents a structured data value, consisting of fields
23
- # which map to dynamically typed values. In some languages, `Struct`
24
- # might be supported by a native representation. For example, in
25
- # scripting languages like JS a struct is represented as an
26
- # object. The details of that representation are described together
27
- # with the proto support for the language.
28
- #
29
- # The JSON representation for `Struct` is JSON object.
30
- # @!attribute [rw] fields
31
- # @return [::Google::Protobuf::Map{::String => ::Google::Protobuf::Value}]
32
- # Unordered map of dynamically typed values.
33
- class Struct
34
- include ::Google::Protobuf::MessageExts
35
- extend ::Google::Protobuf::MessageExts::ClassMethods
36
-
37
- # @!attribute [rw] key
38
- # @return [::String]
39
- # @!attribute [rw] value
40
- # @return [::Google::Protobuf::Value]
41
- class FieldsEntry
42
- include ::Google::Protobuf::MessageExts
43
- extend ::Google::Protobuf::MessageExts::ClassMethods
44
- end
45
- end
46
-
47
- # `Value` represents a dynamically typed value which can be either
48
- # null, a number, a string, a boolean, a recursive struct value, or a
49
- # list of values. A producer of value is expected to set one of that
50
- # variants, absence of any variant indicates an error.
51
- #
52
- # The JSON representation for `Value` is JSON value.
53
- # @!attribute [rw] null_value
54
- # @return [::Google::Protobuf::NullValue]
55
- # Represents a null value.
56
- # @!attribute [rw] number_value
57
- # @return [::Float]
58
- # Represents a double value.
59
- # @!attribute [rw] string_value
60
- # @return [::String]
61
- # Represents a string value.
62
- # @!attribute [rw] bool_value
63
- # @return [::Boolean]
64
- # Represents a boolean value.
65
- # @!attribute [rw] struct_value
66
- # @return [::Google::Protobuf::Struct]
67
- # Represents a structured value.
68
- # @!attribute [rw] list_value
69
- # @return [::Google::Protobuf::ListValue]
70
- # Represents a repeated `Value`.
71
- class Value
72
- include ::Google::Protobuf::MessageExts
73
- extend ::Google::Protobuf::MessageExts::ClassMethods
74
- end
75
-
76
- # `ListValue` is a wrapper around a repeated field of values.
77
- #
78
- # The JSON representation for `ListValue` is JSON array.
79
- # @!attribute [rw] values
80
- # @return [::Array<::Google::Protobuf::Value>]
81
- # Repeated field of dynamically typed values.
82
- class ListValue
83
- include ::Google::Protobuf::MessageExts
84
- extend ::Google::Protobuf::MessageExts::ClassMethods
85
- end
86
-
87
- # `NullValue` is a singleton enumeration to represent the null value for the
88
- # `Value` type union.
89
- #
90
- # The JSON representation for `NullValue` is JSON `null`.
91
- module NullValue
92
- # Null value.
93
- NULL_VALUE = 0
94
- end
95
- end
96
- end