google-cloud-automl-v1beta1 0.5.1 → 0.5.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +1 -1
  3. data/AUTHENTICATION.md +15 -33
  4. data/README.md +1 -1
  5. data/lib/google/cloud/automl/v1beta1/annotation_payload_pb.rb +2 -2
  6. data/lib/google/cloud/automl/v1beta1/annotation_spec_pb.rb +2 -2
  7. data/lib/google/cloud/automl/v1beta1/automl/client.rb +693 -185
  8. data/lib/google/cloud/automl/v1beta1/automl/operations.rb +149 -37
  9. data/lib/google/cloud/automl/v1beta1/classification_pb.rb +2 -2
  10. data/lib/google/cloud/automl/v1beta1/column_spec_pb.rb +2 -2
  11. data/lib/google/cloud/automl/v1beta1/data_items_pb.rb +2 -2
  12. data/lib/google/cloud/automl/v1beta1/data_stats_pb.rb +1 -1
  13. data/lib/google/cloud/automl/v1beta1/data_types_pb.rb +1 -1
  14. data/lib/google/cloud/automl/v1beta1/dataset_pb.rb +2 -2
  15. data/lib/google/cloud/automl/v1beta1/detection_pb.rb +2 -2
  16. data/lib/google/cloud/automl/v1beta1/geometry_pb.rb +1 -1
  17. data/lib/google/cloud/automl/v1beta1/image_pb.rb +2 -2
  18. data/lib/google/cloud/automl/v1beta1/io_pb.rb +1 -1
  19. data/lib/google/cloud/automl/v1beta1/model_evaluation_pb.rb +2 -2
  20. data/lib/google/cloud/automl/v1beta1/model_pb.rb +2 -2
  21. data/lib/google/cloud/automl/v1beta1/operations_pb.rb +2 -2
  22. data/lib/google/cloud/automl/v1beta1/prediction_service/client.rb +84 -45
  23. data/lib/google/cloud/automl/v1beta1/prediction_service/operations.rb +149 -37
  24. data/lib/google/cloud/automl/v1beta1/prediction_service_pb.rb +2 -2
  25. data/lib/google/cloud/automl/v1beta1/ranges_pb.rb +1 -1
  26. data/lib/google/cloud/automl/v1beta1/regression_pb.rb +1 -1
  27. data/lib/google/cloud/automl/v1beta1/service_pb.rb +2 -2
  28. data/lib/google/cloud/automl/v1beta1/table_spec_pb.rb +2 -2
  29. data/lib/google/cloud/automl/v1beta1/tables_pb.rb +2 -2
  30. data/lib/google/cloud/automl/v1beta1/temporal_pb.rb +2 -2
  31. data/lib/google/cloud/automl/v1beta1/text_extraction_pb.rb +2 -2
  32. data/lib/google/cloud/automl/v1beta1/text_pb.rb +2 -2
  33. data/lib/google/cloud/automl/v1beta1/text_segment_pb.rb +1 -1
  34. data/lib/google/cloud/automl/v1beta1/text_sentiment_pb.rb +2 -2
  35. data/lib/google/cloud/automl/v1beta1/translation_pb.rb +2 -2
  36. data/lib/google/cloud/automl/v1beta1/version.rb +1 -1
  37. data/lib/google/cloud/automl/v1beta1/video_pb.rb +2 -2
  38. data/proto_docs/google/api/field_behavior.rb +7 -1
  39. data/proto_docs/google/api/resource.rb +10 -71
  40. data/proto_docs/google/cloud/automl/v1beta1/service.rb +5 -4
  41. 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
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module AutoML
23
23
  module V1beta1
24
- VERSION = "0.5.1"
24
+ VERSION = "0.5.5"
25
25
  end
26
26
  end
27
27
  end
@@ -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 order, rather than the order the user originally
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
- # name_descriptor: {
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
- # name_descriptor:
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
- # name_descriptor: {
62
- # pattern: "projects/{project}/logs/{log}"
63
- # parent_type: "cloudresourcemanager.googleapis.com/Project"
64
- # parent_name_extractor: "projects/{project}"
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
- # name_descriptor:
89
- # - pattern: "projects/{project}/logs/{log}"
90
- # parent_type: "cloudresourcemanager.googleapis.com/Project"
91
- # parent_name_extractor: "projects/{project}"
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:*). Some examples of using the filter are:
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
- # image_classification_model_metadata.
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.1
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: 2021-06-17 00:00:00.000000000 Z
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.5'
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.5'
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.2.17
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