google-cloud-automl-v1beta1 0.5.1 → 0.5.5
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 +15 -33
- data/README.md +1 -1
- data/lib/google/cloud/automl/v1beta1/annotation_payload_pb.rb +2 -2
- data/lib/google/cloud/automl/v1beta1/annotation_spec_pb.rb +2 -2
- data/lib/google/cloud/automl/v1beta1/automl/client.rb +693 -185
- data/lib/google/cloud/automl/v1beta1/automl/operations.rb +149 -37
- data/lib/google/cloud/automl/v1beta1/classification_pb.rb +2 -2
- data/lib/google/cloud/automl/v1beta1/column_spec_pb.rb +2 -2
- data/lib/google/cloud/automl/v1beta1/data_items_pb.rb +2 -2
- data/lib/google/cloud/automl/v1beta1/data_stats_pb.rb +1 -1
- data/lib/google/cloud/automl/v1beta1/data_types_pb.rb +1 -1
- data/lib/google/cloud/automl/v1beta1/dataset_pb.rb +2 -2
- data/lib/google/cloud/automl/v1beta1/detection_pb.rb +2 -2
- data/lib/google/cloud/automl/v1beta1/geometry_pb.rb +1 -1
- data/lib/google/cloud/automl/v1beta1/image_pb.rb +2 -2
- data/lib/google/cloud/automl/v1beta1/io_pb.rb +1 -1
- data/lib/google/cloud/automl/v1beta1/model_evaluation_pb.rb +2 -2
- data/lib/google/cloud/automl/v1beta1/model_pb.rb +2 -2
- data/lib/google/cloud/automl/v1beta1/operations_pb.rb +2 -2
- data/lib/google/cloud/automl/v1beta1/prediction_service/client.rb +84 -45
- data/lib/google/cloud/automl/v1beta1/prediction_service/operations.rb +149 -37
- data/lib/google/cloud/automl/v1beta1/prediction_service_pb.rb +2 -2
- data/lib/google/cloud/automl/v1beta1/ranges_pb.rb +1 -1
- data/lib/google/cloud/automl/v1beta1/regression_pb.rb +1 -1
- data/lib/google/cloud/automl/v1beta1/service_pb.rb +2 -2
- data/lib/google/cloud/automl/v1beta1/table_spec_pb.rb +2 -2
- data/lib/google/cloud/automl/v1beta1/tables_pb.rb +2 -2
- data/lib/google/cloud/automl/v1beta1/temporal_pb.rb +2 -2
- data/lib/google/cloud/automl/v1beta1/text_extraction_pb.rb +2 -2
- data/lib/google/cloud/automl/v1beta1/text_pb.rb +2 -2
- data/lib/google/cloud/automl/v1beta1/text_segment_pb.rb +1 -1
- data/lib/google/cloud/automl/v1beta1/text_sentiment_pb.rb +2 -2
- data/lib/google/cloud/automl/v1beta1/translation_pb.rb +2 -2
- data/lib/google/cloud/automl/v1beta1/version.rb +1 -1
- data/lib/google/cloud/automl/v1beta1/video_pb.rb +2 -2
- data/proto_docs/google/api/field_behavior.rb +7 -1
- data/proto_docs/google/api/resource.rb +10 -71
- data/proto_docs/google/cloud/automl/v1beta1/service.rb +5 -4
- metadata +5 -5
@@ -1,10 +1,10 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/automl/v1beta1/text_sentiment.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'google/cloud/automl/v1beta1/classification_pb'
|
7
5
|
require 'google/api/annotations_pb'
|
6
|
+
require 'google/protobuf'
|
7
|
+
|
8
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
9
|
add_file("google/cloud/automl/v1beta1/text_sentiment.proto", :syntax => :proto3) do
|
10
10
|
add_message "google.cloud.automl.v1beta1.TextSentimentAnnotation" do
|
@@ -1,11 +1,11 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/automl/v1beta1/translation.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'google/api/field_behavior_pb'
|
7
5
|
require 'google/cloud/automl/v1beta1/data_items_pb'
|
8
6
|
require 'google/api/annotations_pb'
|
7
|
+
require 'google/protobuf'
|
8
|
+
|
9
9
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
10
10
|
add_file("google/cloud/automl/v1beta1/translation.proto", :syntax => :proto3) do
|
11
11
|
add_message "google.cloud.automl.v1beta1.TranslationDatasetMetadata" do
|
@@ -1,10 +1,10 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/automl/v1beta1/video.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'google/cloud/automl/v1beta1/classification_pb'
|
7
5
|
require 'google/api/annotations_pb'
|
6
|
+
require 'google/protobuf'
|
7
|
+
|
8
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
9
|
add_file("google/cloud/automl/v1beta1/video.proto", :syntax => :proto3) do
|
10
10
|
add_message "google.cloud.automl.v1beta1.VideoClassificationDatasetMetadata" do
|
@@ -57,9 +57,15 @@ module Google
|
|
57
57
|
|
58
58
|
# Denotes that a (repeated) field is an unordered list.
|
59
59
|
# This indicates that the service may provide the elements of the list
|
60
|
-
# in any arbitrary
|
60
|
+
# in any arbitrary order, rather than the order the user originally
|
61
61
|
# provided. Additionally, the list's order may or may not be stable.
|
62
62
|
UNORDERED_LIST = 6
|
63
|
+
|
64
|
+
# Denotes that this field returns a non-empty default value if not set.
|
65
|
+
# This indicates that if the user provides the empty value in a request,
|
66
|
+
# a non-empty value will be returned. The user will not be aware of what
|
67
|
+
# non-empty value to expect.
|
68
|
+
NON_EMPTY_DEFAULT = 7
|
63
69
|
end
|
64
70
|
end
|
65
71
|
end
|
@@ -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]
|
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.5.
|
4
|
+
version: 0.5.5
|
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-01-11 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.7'
|
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.7'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -274,7 +274,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
274
274
|
- !ruby/object:Gem::Version
|
275
275
|
version: '0'
|
276
276
|
requirements: []
|
277
|
-
rubygems_version: 3.
|
277
|
+
rubygems_version: 3.3.4
|
278
278
|
signing_key:
|
279
279
|
specification_version: 4
|
280
280
|
summary: API Client library for the Cloud AutoML V1beta1 API
|