google-cloud-automl-v1beta1 0.5.3 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.yardopts +1 -1
- data/AUTHENTICATION.md +7 -25
- data/README.md +11 -6
- data/lib/google/cloud/automl/v1beta1/annotation_payload_pb.rb +1 -0
- data/lib/google/cloud/automl/v1beta1/annotation_spec_pb.rb +1 -0
- data/lib/google/cloud/automl/v1beta1/automl/client.rb +579 -76
- data/lib/google/cloud/automl/v1beta1/automl/operations.rb +118 -12
- data/lib/google/cloud/automl/v1beta1/classification_pb.rb +1 -0
- data/lib/google/cloud/automl/v1beta1/column_spec_pb.rb +1 -0
- data/lib/google/cloud/automl/v1beta1/data_items_pb.rb +1 -0
- data/lib/google/cloud/automl/v1beta1/data_stats_pb.rb +1 -0
- data/lib/google/cloud/automl/v1beta1/data_types_pb.rb +1 -0
- data/lib/google/cloud/automl/v1beta1/dataset_pb.rb +1 -0
- data/lib/google/cloud/automl/v1beta1/detection_pb.rb +1 -0
- data/lib/google/cloud/automl/v1beta1/geometry_pb.rb +1 -0
- data/lib/google/cloud/automl/v1beta1/image_pb.rb +1 -0
- data/lib/google/cloud/automl/v1beta1/io_pb.rb +1 -0
- data/lib/google/cloud/automl/v1beta1/model_evaluation_pb.rb +1 -0
- data/lib/google/cloud/automl/v1beta1/model_pb.rb +1 -0
- data/lib/google/cloud/automl/v1beta1/operations_pb.rb +1 -0
- data/lib/google/cloud/automl/v1beta1/prediction_service/client.rb +48 -6
- data/lib/google/cloud/automl/v1beta1/prediction_service/operations.rb +118 -12
- data/lib/google/cloud/automl/v1beta1/prediction_service_pb.rb +1 -0
- data/lib/google/cloud/automl/v1beta1/prediction_service_services_pb.rb +1 -1
- data/lib/google/cloud/automl/v1beta1/ranges_pb.rb +1 -0
- data/lib/google/cloud/automl/v1beta1/regression_pb.rb +1 -0
- data/lib/google/cloud/automl/v1beta1/service_pb.rb +1 -0
- data/lib/google/cloud/automl/v1beta1/service_services_pb.rb +1 -1
- data/lib/google/cloud/automl/v1beta1/table_spec_pb.rb +1 -0
- data/lib/google/cloud/automl/v1beta1/tables_pb.rb +1 -0
- data/lib/google/cloud/automl/v1beta1/temporal_pb.rb +1 -0
- data/lib/google/cloud/automl/v1beta1/text_extraction_pb.rb +1 -0
- data/lib/google/cloud/automl/v1beta1/text_pb.rb +1 -0
- data/lib/google/cloud/automl/v1beta1/text_segment_pb.rb +1 -0
- data/lib/google/cloud/automl/v1beta1/text_sentiment_pb.rb +1 -0
- data/lib/google/cloud/automl/v1beta1/translation_pb.rb +1 -0
- data/lib/google/cloud/automl/v1beta1/version.rb +1 -1
- data/lib/google/cloud/automl/v1beta1/video_pb.rb +1 -0
- data/lib/google/cloud/automl/v1beta1.rb +2 -0
- data/proto_docs/google/api/resource.rb +10 -71
- data/proto_docs/google/cloud/automl/v1beta1/service.rb +5 -4
- data/proto_docs/google/protobuf/any.rb +3 -3
- data/proto_docs/google/protobuf/struct.rb +2 -2
- metadata +12 -12
@@ -6,6 +6,7 @@ require 'google/protobuf'
|
|
6
6
|
require 'google/api/resource_pb'
|
7
7
|
require 'google/cloud/automl/v1beta1/io_pb'
|
8
8
|
require 'google/api/annotations_pb'
|
9
|
+
|
9
10
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
10
11
|
add_file("google/cloud/automl/v1beta1/table_spec.proto", :syntax => :proto3) do
|
11
12
|
add_message "google.cloud.automl.v1beta1.TableSpec" do
|
@@ -13,6 +13,7 @@ require 'google/cloud/automl/v1beta1/temporal_pb'
|
|
13
13
|
require 'google/protobuf/struct_pb'
|
14
14
|
require 'google/protobuf/timestamp_pb'
|
15
15
|
require 'google/api/annotations_pb'
|
16
|
+
|
16
17
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
17
18
|
add_file("google/cloud/automl/v1beta1/tables.proto", :syntax => :proto3) do
|
18
19
|
add_message "google.cloud.automl.v1beta1.TablesDatasetMetadata" do
|
@@ -5,6 +5,7 @@ require 'google/protobuf'
|
|
5
5
|
|
6
6
|
require 'google/protobuf/duration_pb'
|
7
7
|
require 'google/api/annotations_pb'
|
8
|
+
|
8
9
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
10
|
add_file("google/cloud/automl/v1beta1/temporal.proto", :syntax => :proto3) do
|
10
11
|
add_message "google.cloud.automl.v1beta1.TimeSegment" do
|
@@ -5,6 +5,7 @@ require 'google/protobuf'
|
|
5
5
|
|
6
6
|
require 'google/cloud/automl/v1beta1/text_segment_pb'
|
7
7
|
require 'google/api/annotations_pb'
|
8
|
+
|
8
9
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
10
|
add_file("google/cloud/automl/v1beta1/text_extraction.proto", :syntax => :proto3) do
|
10
11
|
add_message "google.cloud.automl.v1beta1.TextExtractionAnnotation" do
|
@@ -5,6 +5,7 @@ require 'google/protobuf'
|
|
5
5
|
|
6
6
|
require 'google/cloud/automl/v1beta1/classification_pb'
|
7
7
|
require 'google/api/annotations_pb'
|
8
|
+
|
8
9
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
10
|
add_file("google/cloud/automl/v1beta1/text.proto", :syntax => :proto3) do
|
10
11
|
add_message "google.cloud.automl.v1beta1.TextClassificationDatasetMetadata" do
|
@@ -4,6 +4,7 @@
|
|
4
4
|
require 'google/protobuf'
|
5
5
|
|
6
6
|
require 'google/api/annotations_pb'
|
7
|
+
|
7
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
9
|
add_file("google/cloud/automl/v1beta1/text_segment.proto", :syntax => :proto3) do
|
9
10
|
add_message "google.cloud.automl.v1beta1.TextSegment" do
|
@@ -5,6 +5,7 @@ require 'google/protobuf'
|
|
5
5
|
|
6
6
|
require 'google/cloud/automl/v1beta1/classification_pb'
|
7
7
|
require 'google/api/annotations_pb'
|
8
|
+
|
8
9
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
10
|
add_file("google/cloud/automl/v1beta1/text_sentiment.proto", :syntax => :proto3) do
|
10
11
|
add_message "google.cloud.automl.v1beta1.TextSentimentAnnotation" do
|
@@ -6,6 +6,7 @@ require 'google/protobuf'
|
|
6
6
|
require 'google/api/field_behavior_pb'
|
7
7
|
require 'google/cloud/automl/v1beta1/data_items_pb'
|
8
8
|
require 'google/api/annotations_pb'
|
9
|
+
|
9
10
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
10
11
|
add_file("google/cloud/automl/v1beta1/translation.proto", :syntax => :proto3) do
|
11
12
|
add_message "google.cloud.automl.v1beta1.TranslationDatasetMetadata" do
|
@@ -5,6 +5,7 @@ require 'google/protobuf'
|
|
5
5
|
|
6
6
|
require 'google/cloud/automl/v1beta1/classification_pb'
|
7
7
|
require 'google/api/annotations_pb'
|
8
|
+
|
8
9
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
10
|
add_file("google/cloud/automl/v1beta1/video.proto", :syntax => :proto3) do
|
10
11
|
add_message "google.cloud.automl.v1beta1.VideoClassificationDatasetMetadata" do
|
@@ -33,11 +33,7 @@ module Google
|
|
33
33
|
# // For Kubernetes resources, the format is {api group}/{kind}.
|
34
34
|
# option (google.api.resource) = {
|
35
35
|
# type: "pubsub.googleapis.com/Topic"
|
36
|
-
#
|
37
|
-
# pattern: "projects/{project}/topics/{topic}"
|
38
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Project"
|
39
|
-
# parent_name_extractor: "projects/{project}"
|
40
|
-
# }
|
36
|
+
# pattern: "projects/{project}/topics/{topic}"
|
41
37
|
# };
|
42
38
|
# }
|
43
39
|
#
|
@@ -45,10 +41,7 @@ module Google
|
|
45
41
|
#
|
46
42
|
# resources:
|
47
43
|
# - type: "pubsub.googleapis.com/Topic"
|
48
|
-
#
|
49
|
-
# - pattern: "projects/{project}/topics/{topic}"
|
50
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Project"
|
51
|
-
# parent_name_extractor: "projects/{project}"
|
44
|
+
# pattern: "projects/{project}/topics/{topic}"
|
52
45
|
#
|
53
46
|
# Sometimes, resources have multiple patterns, typically because they can
|
54
47
|
# live under multiple parents.
|
@@ -58,26 +51,10 @@ module Google
|
|
58
51
|
# message LogEntry {
|
59
52
|
# option (google.api.resource) = {
|
60
53
|
# type: "logging.googleapis.com/LogEntry"
|
61
|
-
#
|
62
|
-
#
|
63
|
-
#
|
64
|
-
#
|
65
|
-
# }
|
66
|
-
# name_descriptor: {
|
67
|
-
# pattern: "folders/{folder}/logs/{log}"
|
68
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Folder"
|
69
|
-
# parent_name_extractor: "folders/{folder}"
|
70
|
-
# }
|
71
|
-
# name_descriptor: {
|
72
|
-
# pattern: "organizations/{organization}/logs/{log}"
|
73
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Organization"
|
74
|
-
# parent_name_extractor: "organizations/{organization}"
|
75
|
-
# }
|
76
|
-
# name_descriptor: {
|
77
|
-
# pattern: "billingAccounts/{billing_account}/logs/{log}"
|
78
|
-
# parent_type: "billing.googleapis.com/BillingAccount"
|
79
|
-
# parent_name_extractor: "billingAccounts/{billing_account}"
|
80
|
-
# }
|
54
|
+
# pattern: "projects/{project}/logs/{log}"
|
55
|
+
# pattern: "folders/{folder}/logs/{log}"
|
56
|
+
# pattern: "organizations/{organization}/logs/{log}"
|
57
|
+
# pattern: "billingAccounts/{billing_account}/logs/{log}"
|
81
58
|
# };
|
82
59
|
# }
|
83
60
|
#
|
@@ -85,48 +62,10 @@ module Google
|
|
85
62
|
#
|
86
63
|
# resources:
|
87
64
|
# - type: 'logging.googleapis.com/LogEntry'
|
88
|
-
#
|
89
|
-
#
|
90
|
-
#
|
91
|
-
#
|
92
|
-
# - pattern: "folders/{folder}/logs/{log}"
|
93
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Folder"
|
94
|
-
# parent_name_extractor: "folders/{folder}"
|
95
|
-
# - pattern: "organizations/{organization}/logs/{log}"
|
96
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Organization"
|
97
|
-
# parent_name_extractor: "organizations/{organization}"
|
98
|
-
# - pattern: "billingAccounts/{billing_account}/logs/{log}"
|
99
|
-
# parent_type: "billing.googleapis.com/BillingAccount"
|
100
|
-
# parent_name_extractor: "billingAccounts/{billing_account}"
|
101
|
-
#
|
102
|
-
# For flexible resources, the resource name doesn't contain parent names, but
|
103
|
-
# the resource itself has parents for policy evaluation.
|
104
|
-
#
|
105
|
-
# Example:
|
106
|
-
#
|
107
|
-
# message Shelf {
|
108
|
-
# option (google.api.resource) = {
|
109
|
-
# type: "library.googleapis.com/Shelf"
|
110
|
-
# name_descriptor: {
|
111
|
-
# pattern: "shelves/{shelf}"
|
112
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Project"
|
113
|
-
# }
|
114
|
-
# name_descriptor: {
|
115
|
-
# pattern: "shelves/{shelf}"
|
116
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Folder"
|
117
|
-
# }
|
118
|
-
# };
|
119
|
-
# }
|
120
|
-
#
|
121
|
-
# The ResourceDescriptor Yaml config will look like:
|
122
|
-
#
|
123
|
-
# resources:
|
124
|
-
# - type: 'library.googleapis.com/Shelf'
|
125
|
-
# name_descriptor:
|
126
|
-
# - pattern: "shelves/{shelf}"
|
127
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Project"
|
128
|
-
# - pattern: "shelves/{shelf}"
|
129
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Folder"
|
65
|
+
# pattern: "projects/{project}/logs/{log}"
|
66
|
+
# pattern: "folders/{folder}/logs/{log}"
|
67
|
+
# pattern: "organizations/{organization}/logs/{log}"
|
68
|
+
# pattern: "billingAccounts/{billing_account}/logs/{log}"
|
130
69
|
# @!attribute [rw] type
|
131
70
|
# @return [::String]
|
132
71
|
# The resource type. It must be in the format of
|
@@ -51,10 +51,11 @@ 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
|
54
|
+
# `image_classification_dataset_metadata:*`). Some examples of
|
55
|
+
# using the filter are:
|
55
56
|
#
|
56
57
|
# * `translation_dataset_metadata:*` --> The dataset has
|
57
|
-
# translation_dataset_metadata
|
58
|
+
# `translation_dataset_metadata`.
|
58
59
|
# @!attribute [rw] page_size
|
59
60
|
# @return [::Integer]
|
60
61
|
# Requested page size. Server may return fewer results than requested.
|
@@ -293,11 +294,11 @@ module Google
|
|
293
294
|
# An expression for filtering the results of the request.
|
294
295
|
#
|
295
296
|
# * `model_metadata` - for existence of the case (e.g.
|
296
|
-
# video_classification_model_metadata
|
297
|
+
# `video_classification_model_metadata:*`).
|
297
298
|
# * `dataset_id` - for = or !=. Some examples of using the filter are:
|
298
299
|
#
|
299
300
|
# * `image_classification_model_metadata:*` --> The model has
|
300
|
-
#
|
301
|
+
# `image_classification_model_metadata`.
|
301
302
|
# * `dataset_id=5` --> The model was created from a dataset with ID 5.
|
302
303
|
# @!attribute [rw] page_size
|
303
304
|
# @return [::Integer]
|
@@ -44,7 +44,7 @@ module Google
|
|
44
44
|
# foo = any.unpack(Foo.class);
|
45
45
|
# }
|
46
46
|
#
|
47
|
-
#
|
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
|
-
#
|
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:
|
@@ -46,8 +46,8 @@ module Google
|
|
46
46
|
|
47
47
|
# `Value` represents a dynamically typed value which can be either
|
48
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
|
50
|
-
# variants
|
49
|
+
# list of values. A producer of value is expected to set one of these
|
50
|
+
# variants. Absence of any variant indicates an error.
|
51
51
|
#
|
52
52
|
# The JSON representation for `Value` is JSON value.
|
53
53
|
# @!attribute [rw] null_value
|
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.6.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:
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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: '
|
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: '
|
116
|
+
version: '13.0'
|
117
117
|
- !ruby/object:Gem::Dependency
|
118
118
|
name: redcarpet
|
119
119
|
requirement: !ruby/object:Gem::Requirement
|
@@ -267,14 +267,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
267
267
|
requirements:
|
268
268
|
- - ">="
|
269
269
|
- !ruby/object:Gem::Version
|
270
|
-
version: '2.
|
270
|
+
version: '2.6'
|
271
271
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
272
272
|
requirements:
|
273
273
|
- - ">="
|
274
274
|
- !ruby/object:Gem::Version
|
275
275
|
version: '0'
|
276
276
|
requirements: []
|
277
|
-
rubygems_version: 3.
|
277
|
+
rubygems_version: 3.3.14
|
278
278
|
signing_key:
|
279
279
|
specification_version: 4
|
280
280
|
summary: API Client library for the Cloud AutoML V1beta1 API
|