google-cloud-vision_ai-v1 0.a → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (104) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +122 -0
  4. data/README.md +144 -8
  5. data/lib/google/cloud/vision_ai/v1/app_platform/client.rb +3318 -0
  6. data/lib/google/cloud/vision_ai/v1/app_platform/credentials.rb +47 -0
  7. data/lib/google/cloud/vision_ai/v1/app_platform/operations.rb +809 -0
  8. data/lib/google/cloud/vision_ai/v1/app_platform/paths.rb +151 -0
  9. data/lib/google/cloud/vision_ai/v1/app_platform/rest/client.rb +3106 -0
  10. data/lib/google/cloud/vision_ai/v1/app_platform/rest/operations.rb +951 -0
  11. data/lib/google/cloud/vision_ai/v1/app_platform/rest/service_stub.rb +1618 -0
  12. data/lib/google/cloud/vision_ai/v1/app_platform/rest.rb +53 -0
  13. data/lib/google/cloud/vision_ai/v1/app_platform.rb +56 -0
  14. data/lib/google/cloud/vision_ai/v1/health_check_service/client.rb +456 -0
  15. data/lib/google/cloud/vision_ai/v1/health_check_service/credentials.rb +47 -0
  16. data/lib/google/cloud/vision_ai/v1/health_check_service/paths.rb +52 -0
  17. data/lib/google/cloud/vision_ai/v1/health_check_service/rest/client.rb +423 -0
  18. data/lib/google/cloud/vision_ai/v1/health_check_service/rest/service_stub.rb +128 -0
  19. data/lib/google/cloud/vision_ai/v1/health_check_service/rest.rb +53 -0
  20. data/lib/google/cloud/vision_ai/v1/health_check_service.rb +56 -0
  21. data/lib/google/cloud/vision_ai/v1/live_video_analytics/client.rb +2375 -0
  22. data/lib/google/cloud/vision_ai/v1/live_video_analytics/credentials.rb +47 -0
  23. data/lib/google/cloud/vision_ai/v1/live_video_analytics/operations.rb +809 -0
  24. data/lib/google/cloud/vision_ai/v1/live_video_analytics/paths.rb +130 -0
  25. data/lib/google/cloud/vision_ai/v1/live_video_analytics/rest/client.rb +2220 -0
  26. data/lib/google/cloud/vision_ai/v1/live_video_analytics/rest/operations.rb +951 -0
  27. data/lib/google/cloud/vision_ai/v1/live_video_analytics/rest/service_stub.rb +1139 -0
  28. data/lib/google/cloud/vision_ai/v1/live_video_analytics/rest.rb +54 -0
  29. data/lib/google/cloud/vision_ai/v1/live_video_analytics.rb +57 -0
  30. data/lib/google/cloud/vision_ai/v1/rest.rb +42 -0
  31. data/lib/google/cloud/vision_ai/v1/streaming_service/client.rb +915 -0
  32. data/lib/google/cloud/vision_ai/v1/streaming_service/credentials.rb +47 -0
  33. data/lib/google/cloud/vision_ai/v1/streaming_service/paths.rb +54 -0
  34. data/lib/google/cloud/vision_ai/v1/streaming_service/rest/client.rb +610 -0
  35. data/lib/google/cloud/vision_ai/v1/streaming_service/rest/service_stub.rb +249 -0
  36. data/lib/google/cloud/vision_ai/v1/streaming_service/rest.rb +52 -0
  37. data/lib/google/cloud/vision_ai/v1/streaming_service.rb +55 -0
  38. data/lib/google/cloud/vision_ai/v1/streams_service/client.rb +2931 -0
  39. data/lib/google/cloud/vision_ai/v1/streams_service/credentials.rb +47 -0
  40. data/lib/google/cloud/vision_ai/v1/streams_service/operations.rb +809 -0
  41. data/lib/google/cloud/vision_ai/v1/streams_service/paths.rb +153 -0
  42. data/lib/google/cloud/vision_ai/v1/streams_service/rest/client.rb +2740 -0
  43. data/lib/google/cloud/vision_ai/v1/streams_service/rest/operations.rb +951 -0
  44. data/lib/google/cloud/vision_ai/v1/streams_service/rest/service_stub.rb +1437 -0
  45. data/lib/google/cloud/vision_ai/v1/streams_service/rest.rb +56 -0
  46. data/lib/google/cloud/vision_ai/v1/streams_service.rb +59 -0
  47. data/lib/google/cloud/vision_ai/v1/version.rb +8 -3
  48. data/lib/google/cloud/vision_ai/v1/warehouse/client.rb +6958 -0
  49. data/lib/google/cloud/vision_ai/v1/warehouse/credentials.rb +47 -0
  50. data/lib/google/cloud/vision_ai/v1/warehouse/operations.rb +809 -0
  51. data/lib/google/cloud/vision_ai/v1/warehouse/paths.rb +237 -0
  52. data/lib/google/cloud/vision_ai/v1/warehouse/rest/client.rb +6403 -0
  53. data/lib/google/cloud/vision_ai/v1/warehouse/rest/operations.rb +951 -0
  54. data/lib/google/cloud/vision_ai/v1/warehouse/rest/service_stub.rb +3760 -0
  55. data/lib/google/cloud/vision_ai/v1/warehouse/rest.rb +53 -0
  56. data/lib/google/cloud/vision_ai/v1/warehouse.rb +56 -0
  57. data/lib/google/cloud/vision_ai/v1.rb +50 -0
  58. data/lib/google/cloud/visionai/v1/annotations_pb.rb +90 -0
  59. data/lib/google/cloud/visionai/v1/common_pb.rb +50 -0
  60. data/lib/google/cloud/visionai/v1/health_service_pb.rb +48 -0
  61. data/lib/google/cloud/visionai/v1/health_service_services_pb.rb +46 -0
  62. data/lib/google/cloud/visionai/v1/lva_pb.rb +54 -0
  63. data/lib/google/cloud/visionai/v1/lva_resources_pb.rb +51 -0
  64. data/lib/google/cloud/visionai/v1/lva_service_pb.rb +80 -0
  65. data/lib/google/cloud/visionai/v1/lva_service_services_pb.rb +81 -0
  66. data/lib/google/cloud/visionai/v1/platform_pb.rb +162 -0
  67. data/lib/google/cloud/visionai/v1/platform_services_pb.rb +111 -0
  68. data/lib/google/cloud/visionai/v1/streaming_resources_pb.rb +58 -0
  69. data/lib/google/cloud/visionai/v1/streaming_service_pb.rb +71 -0
  70. data/lib/google/cloud/visionai/v1/streaming_service_services_pb.rb +55 -0
  71. data/lib/google/cloud/visionai/v1/streams_resources_pb.rb +53 -0
  72. data/lib/google/cloud/visionai/v1/streams_service_pb.rb +85 -0
  73. data/lib/google/cloud/visionai/v1/streams_service_services_pb.rb +92 -0
  74. data/lib/google/cloud/visionai/v1/warehouse_pb.rb +251 -0
  75. data/lib/google/cloud/visionai/v1/warehouse_services_pb.rb +228 -0
  76. data/lib/google-cloud-vision_ai-v1.rb +21 -0
  77. data/proto_docs/README.md +4 -0
  78. data/proto_docs/google/api/client.rb +420 -0
  79. data/proto_docs/google/api/field_behavior.rb +85 -0
  80. data/proto_docs/google/api/launch_stage.rb +71 -0
  81. data/proto_docs/google/api/resource.rb +227 -0
  82. data/proto_docs/google/cloud/visionai/v1/annotations.rb +787 -0
  83. data/proto_docs/google/cloud/visionai/v1/common.rb +134 -0
  84. data/proto_docs/google/cloud/visionai/v1/health_service.rb +61 -0
  85. data/proto_docs/google/cloud/visionai/v1/lva.rb +345 -0
  86. data/proto_docs/google/cloud/visionai/v1/lva_resources.rb +167 -0
  87. data/proto_docs/google/cloud/visionai/v1/lva_service.rb +543 -0
  88. data/proto_docs/google/cloud/visionai/v1/platform.rb +2228 -0
  89. data/proto_docs/google/cloud/visionai/v1/streaming_resources.rb +178 -0
  90. data/proto_docs/google/cloud/visionai/v1/streaming_service.rb +393 -0
  91. data/proto_docs/google/cloud/visionai/v1/streams_resources.rb +229 -0
  92. data/proto_docs/google/cloud/visionai/v1/streams_service.rb +644 -0
  93. data/proto_docs/google/cloud/visionai/v1/warehouse.rb +3055 -0
  94. data/proto_docs/google/longrunning/operations.rb +164 -0
  95. data/proto_docs/google/protobuf/any.rb +145 -0
  96. data/proto_docs/google/protobuf/duration.rb +98 -0
  97. data/proto_docs/google/protobuf/empty.rb +34 -0
  98. data/proto_docs/google/protobuf/field_mask.rb +229 -0
  99. data/proto_docs/google/protobuf/struct.rb +96 -0
  100. data/proto_docs/google/protobuf/timestamp.rb +127 -0
  101. data/proto_docs/google/rpc/status.rb +48 -0
  102. data/proto_docs/google/type/datetime.rb +99 -0
  103. data/proto_docs/google/type/expr.rb +75 -0
  104. metadata +183 -10
@@ -0,0 +1,543 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2024 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 Cloud
22
+ module VisionAI
23
+ module V1
24
+ # Message for requesting list of Operators.
25
+ # @!attribute [rw] parent
26
+ # @return [::String]
27
+ # Required. Parent value for ListOperatorsRequest.
28
+ # @!attribute [rw] page_size
29
+ # @return [::Integer]
30
+ # Requested page size. Server may return fewer items than requested.
31
+ # If unspecified, server will pick an appropriate default.
32
+ # @!attribute [rw] page_token
33
+ # @return [::String]
34
+ # A token identifying a page of results the server should return.
35
+ # @!attribute [rw] filter
36
+ # @return [::String]
37
+ # Filtering results.
38
+ # @!attribute [rw] order_by
39
+ # @return [::String]
40
+ # Hint for how to order the results.
41
+ class ListOperatorsRequest
42
+ include ::Google::Protobuf::MessageExts
43
+ extend ::Google::Protobuf::MessageExts::ClassMethods
44
+ end
45
+
46
+ # Message for response to listing Operators.
47
+ # @!attribute [rw] operators
48
+ # @return [::Array<::Google::Cloud::VisionAI::V1::Operator>]
49
+ # The list of Operator
50
+ # @!attribute [rw] next_page_token
51
+ # @return [::String]
52
+ # A token identifying a page of results the server should return.
53
+ # @!attribute [rw] unreachable
54
+ # @return [::Array<::String>]
55
+ # Locations that could not be reached.
56
+ class ListOperatorsResponse
57
+ include ::Google::Protobuf::MessageExts
58
+ extend ::Google::Protobuf::MessageExts::ClassMethods
59
+ end
60
+
61
+ # Message for getting a Operator.
62
+ # @!attribute [rw] name
63
+ # @return [::String]
64
+ # Required. Name of the resource.
65
+ class GetOperatorRequest
66
+ include ::Google::Protobuf::MessageExts
67
+ extend ::Google::Protobuf::MessageExts::ClassMethods
68
+ end
69
+
70
+ # Message for creating a Operator.
71
+ # @!attribute [rw] parent
72
+ # @return [::String]
73
+ # Required. Value for parent.
74
+ # @!attribute [rw] operator_id
75
+ # @return [::String]
76
+ # Required. Id of the requesting object.
77
+ # @!attribute [rw] operator
78
+ # @return [::Google::Cloud::VisionAI::V1::Operator]
79
+ # Required. The resource being created.
80
+ # @!attribute [rw] request_id
81
+ # @return [::String]
82
+ # Optional. An optional request ID to identify requests. Specify a unique
83
+ # request ID so that if you must retry your request, the server will know to
84
+ # ignore the request if it has already been completed. The server will
85
+ # guarantee that for at least 60 minutes since the first request.
86
+ #
87
+ # For example, consider a situation where you make an initial request and the
88
+ # request times out. If you make the request again with the same request ID,
89
+ # the server can check if original operation with the same request ID was
90
+ # received, and if so, will ignore the second request. This prevents clients
91
+ # from accidentally creating duplicate commitments.
92
+ #
93
+ # The request ID must be a valid UUID with the exception that zero UUID is
94
+ # not supported (00000000-0000-0000-0000-000000000000).
95
+ class CreateOperatorRequest
96
+ include ::Google::Protobuf::MessageExts
97
+ extend ::Google::Protobuf::MessageExts::ClassMethods
98
+ end
99
+
100
+ # Message for updating a Operator.
101
+ # @!attribute [rw] update_mask
102
+ # @return [::Google::Protobuf::FieldMask]
103
+ # Required. Field mask is used to specify the fields to be overwritten in the
104
+ # Operator resource by the update.
105
+ # The fields specified in the update_mask are relative to the resource, not
106
+ # the full request. A field will be overwritten if it is in the mask. If the
107
+ # user does not provide a mask then all fields will be overwritten.
108
+ # @!attribute [rw] operator
109
+ # @return [::Google::Cloud::VisionAI::V1::Operator]
110
+ # Required. The resource being updated
111
+ # @!attribute [rw] request_id
112
+ # @return [::String]
113
+ # Optional. An optional request ID to identify requests. Specify a unique
114
+ # request ID so that if you must retry your request, the server will know to
115
+ # ignore the request if it has already been completed. The server will
116
+ # guarantee that for at least 60 minutes since the first request.
117
+ #
118
+ # For example, consider a situation where you make an initial request and the
119
+ # request times out. If you make the request again with the same request ID,
120
+ # the server can check if original operation with the same request ID was
121
+ # received, and if so, will ignore the second request. This prevents clients
122
+ # from accidentally creating duplicate commitments.
123
+ #
124
+ # The request ID must be a valid UUID with the exception that zero UUID is
125
+ # not supported (00000000-0000-0000-0000-000000000000).
126
+ class UpdateOperatorRequest
127
+ include ::Google::Protobuf::MessageExts
128
+ extend ::Google::Protobuf::MessageExts::ClassMethods
129
+ end
130
+
131
+ # Message for deleting a Operator
132
+ # @!attribute [rw] name
133
+ # @return [::String]
134
+ # Required. Name of the resource
135
+ # @!attribute [rw] request_id
136
+ # @return [::String]
137
+ # Optional. An optional request ID to identify requests. Specify a unique
138
+ # request ID so that if you must retry your request, the server will know to
139
+ # ignore the request if it has already been completed. The server will
140
+ # guarantee that for at least 60 minutes after the first request.
141
+ #
142
+ # For example, consider a situation where you make an initial request and the
143
+ # request times out. If you make the request again with the same request ID,
144
+ # the server can check if original operation with the same request ID was
145
+ # received, and if so, will ignore the second request. This prevents clients
146
+ # from accidentally creating duplicate commitments.
147
+ #
148
+ # The request ID must be a valid UUID with the exception that zero UUID is
149
+ # not supported (00000000-0000-0000-0000-000000000000).
150
+ class DeleteOperatorRequest
151
+ include ::Google::Protobuf::MessageExts
152
+ extend ::Google::Protobuf::MessageExts::ClassMethods
153
+ end
154
+
155
+ # Message for requesting list of Analyses
156
+ # @!attribute [rw] parent
157
+ # @return [::String]
158
+ # Required. Parent value for ListAnalysesRequest
159
+ # @!attribute [rw] page_size
160
+ # @return [::Integer]
161
+ # Requested page size. Server may return fewer items than requested.
162
+ # If unspecified, server will pick an appropriate default.
163
+ # @!attribute [rw] page_token
164
+ # @return [::String]
165
+ # A token identifying a page of results the server should return.
166
+ # @!attribute [rw] filter
167
+ # @return [::String]
168
+ # Filtering results
169
+ # @!attribute [rw] order_by
170
+ # @return [::String]
171
+ # Hint for how to order the results
172
+ class ListAnalysesRequest
173
+ include ::Google::Protobuf::MessageExts
174
+ extend ::Google::Protobuf::MessageExts::ClassMethods
175
+ end
176
+
177
+ # Message for response to listing Analyses
178
+ # @!attribute [rw] analyses
179
+ # @return [::Array<::Google::Cloud::VisionAI::V1::Analysis>]
180
+ # The list of Analysis
181
+ # @!attribute [rw] next_page_token
182
+ # @return [::String]
183
+ # A token identifying a page of results the server should return.
184
+ # @!attribute [rw] unreachable
185
+ # @return [::Array<::String>]
186
+ # Locations that could not be reached.
187
+ class ListAnalysesResponse
188
+ include ::Google::Protobuf::MessageExts
189
+ extend ::Google::Protobuf::MessageExts::ClassMethods
190
+ end
191
+
192
+ # Message for getting an Analysis.
193
+ # @!attribute [rw] name
194
+ # @return [::String]
195
+ # Required. Name of the resource.
196
+ class GetAnalysisRequest
197
+ include ::Google::Protobuf::MessageExts
198
+ extend ::Google::Protobuf::MessageExts::ClassMethods
199
+ end
200
+
201
+ # Message for creating an Analysis.
202
+ # @!attribute [rw] parent
203
+ # @return [::String]
204
+ # Required. Value for parent.
205
+ # @!attribute [rw] analysis_id
206
+ # @return [::String]
207
+ # Required. Id of the requesting object.
208
+ # @!attribute [rw] analysis
209
+ # @return [::Google::Cloud::VisionAI::V1::Analysis]
210
+ # Required. The resource being created.
211
+ # @!attribute [rw] request_id
212
+ # @return [::String]
213
+ # Optional. An optional request ID to identify requests. Specify a unique
214
+ # request ID so that if you must retry your request, the server will know to
215
+ # ignore the request if it has already been completed. The server will
216
+ # guarantee that for at least 60 minutes since the first request.
217
+ #
218
+ # For example, consider a situation where you make an initial request and the
219
+ # request times out. If you make the request again with the same request ID,
220
+ # the server can check if original operation with the same request ID was
221
+ # received, and if so, will ignore the second request. This prevents clients
222
+ # from accidentally creating duplicate commitments.
223
+ #
224
+ # The request ID must be a valid UUID with the exception that zero UUID is
225
+ # not supported (00000000-0000-0000-0000-000000000000).
226
+ class CreateAnalysisRequest
227
+ include ::Google::Protobuf::MessageExts
228
+ extend ::Google::Protobuf::MessageExts::ClassMethods
229
+ end
230
+
231
+ # Message for updating an Analysis.
232
+ # @!attribute [rw] update_mask
233
+ # @return [::Google::Protobuf::FieldMask]
234
+ # Required. Field mask is used to specify the fields to be overwritten in the
235
+ # Analysis resource by the update.
236
+ # The fields specified in the update_mask are relative to the resource, not
237
+ # the full request. A field will be overwritten if it is in the mask. If the
238
+ # user does not provide a mask then all fields will be overwritten.
239
+ # @!attribute [rw] analysis
240
+ # @return [::Google::Cloud::VisionAI::V1::Analysis]
241
+ # Required. The resource being updated.
242
+ # @!attribute [rw] request_id
243
+ # @return [::String]
244
+ # Optional. An optional request ID to identify requests. Specify a unique
245
+ # request ID so that if you must retry your request, the server will know to
246
+ # ignore the request if it has already been completed. The server will
247
+ # guarantee that for at least 60 minutes since the first request.
248
+ #
249
+ # For example, consider a situation where you make an initial request and the
250
+ # request times out. If you make the request again with the same request ID,
251
+ # the server can check if original operation with the same request ID was
252
+ # received, and if so, will ignore the second request. This prevents clients
253
+ # from accidentally creating duplicate commitments.
254
+ #
255
+ # The request ID must be a valid UUID with the exception that zero UUID is
256
+ # not supported (00000000-0000-0000-0000-000000000000).
257
+ class UpdateAnalysisRequest
258
+ include ::Google::Protobuf::MessageExts
259
+ extend ::Google::Protobuf::MessageExts::ClassMethods
260
+ end
261
+
262
+ # Message for deleting an Analysis.
263
+ # @!attribute [rw] name
264
+ # @return [::String]
265
+ # Required. Name of the resource.
266
+ # @!attribute [rw] request_id
267
+ # @return [::String]
268
+ # Optional. An optional request ID to identify requests. Specify a unique
269
+ # request ID so that if you must retry your request, the server will know to
270
+ # ignore the request if it has already been completed. The server will
271
+ # guarantee that for at least 60 minutes after the first request.
272
+ #
273
+ # For example, consider a situation where you make an initial request and the
274
+ # request times out. If you make the request again with the same request ID,
275
+ # the server can check if original operation with the same request ID was
276
+ # received, and if so, will ignore the second request. This prevents clients
277
+ # from accidentally creating duplicate commitments.
278
+ #
279
+ # The request ID must be a valid UUID with the exception that zero UUID is
280
+ # not supported (00000000-0000-0000-0000-000000000000).
281
+ class DeleteAnalysisRequest
282
+ include ::Google::Protobuf::MessageExts
283
+ extend ::Google::Protobuf::MessageExts::ClassMethods
284
+ end
285
+
286
+ # Message for requesting list of Processes.
287
+ # @!attribute [rw] parent
288
+ # @return [::String]
289
+ # Required. Parent value for ListProcessesRequest.
290
+ # @!attribute [rw] page_size
291
+ # @return [::Integer]
292
+ # Requested page size. Server may return fewer items than requested.
293
+ # If unspecified, server will pick an appropriate default.
294
+ # @!attribute [rw] page_token
295
+ # @return [::String]
296
+ # A token identifying a page of results the server should return.
297
+ # @!attribute [rw] filter
298
+ # @return [::String]
299
+ # Filtering results
300
+ # @!attribute [rw] order_by
301
+ # @return [::String]
302
+ # Hint for how to order the results
303
+ class ListProcessesRequest
304
+ include ::Google::Protobuf::MessageExts
305
+ extend ::Google::Protobuf::MessageExts::ClassMethods
306
+ end
307
+
308
+ # Message for response to listing Processes.
309
+ # @!attribute [rw] processes
310
+ # @return [::Array<::Google::Cloud::VisionAI::V1::Process>]
311
+ # The list of Processes.
312
+ # @!attribute [rw] next_page_token
313
+ # @return [::String]
314
+ # A token identifying a page of results the server should return.
315
+ # @!attribute [rw] unreachable
316
+ # @return [::Array<::String>]
317
+ # Locations that could not be reached.
318
+ class ListProcessesResponse
319
+ include ::Google::Protobuf::MessageExts
320
+ extend ::Google::Protobuf::MessageExts::ClassMethods
321
+ end
322
+
323
+ # Message for getting a Process.
324
+ # @!attribute [rw] name
325
+ # @return [::String]
326
+ # Required. Name of the resource.
327
+ class GetProcessRequest
328
+ include ::Google::Protobuf::MessageExts
329
+ extend ::Google::Protobuf::MessageExts::ClassMethods
330
+ end
331
+
332
+ # Message for creating a Process.
333
+ # @!attribute [rw] parent
334
+ # @return [::String]
335
+ # Required. Value for parent.
336
+ # @!attribute [rw] process_id
337
+ # @return [::String]
338
+ # Required. Id of the requesting object.
339
+ # @!attribute [rw] process
340
+ # @return [::Google::Cloud::VisionAI::V1::Process]
341
+ # Required. The resource being created.
342
+ # @!attribute [rw] request_id
343
+ # @return [::String]
344
+ # Optional. An optional request ID to identify requests. Specify a unique
345
+ # request ID so that if you must retry your request, the server will know to
346
+ # ignore the request if it has already been completed. The server will
347
+ # guarantee that for at least 60 minutes since the first request.
348
+ #
349
+ # For example, consider a situation where you make an initial request and the
350
+ # request times out. If you make the request again with the same request ID,
351
+ # the server can check if original operation with the same request ID was
352
+ # received, and if so, will ignore the second request. This prevents clients
353
+ # from accidentally creating duplicate commitments.
354
+ #
355
+ # The request ID must be a valid UUID with the exception that zero UUID is
356
+ # not supported (00000000-0000-0000-0000-000000000000).
357
+ class CreateProcessRequest
358
+ include ::Google::Protobuf::MessageExts
359
+ extend ::Google::Protobuf::MessageExts::ClassMethods
360
+ end
361
+
362
+ # Message for updating a Process.
363
+ # @!attribute [rw] update_mask
364
+ # @return [::Google::Protobuf::FieldMask]
365
+ # Required. Field mask is used to specify the fields to be overwritten in the
366
+ # Process resource by the update.
367
+ # The fields specified in the update_mask are relative to the resource, not
368
+ # the full request. A field will be overwritten if it is in the mask. If the
369
+ # user does not provide a mask then all fields will be overwritten.
370
+ # @!attribute [rw] process
371
+ # @return [::Google::Cloud::VisionAI::V1::Process]
372
+ # Required. The resource being updated.
373
+ # @!attribute [rw] request_id
374
+ # @return [::String]
375
+ # Optional. An optional request ID to identify requests. Specify a unique
376
+ # request ID so that if you must retry your request, the server will know to
377
+ # ignore the request if it has already been completed. The server will
378
+ # guarantee that for at least 60 minutes since the first request.
379
+ #
380
+ # For example, consider a situation where you make an initial request and the
381
+ # request times out. If you make the request again with the same request ID,
382
+ # the server can check if original operation with the same request ID was
383
+ # received, and if so, will ignore the second request. This prevents clients
384
+ # from accidentally creating duplicate commitments.
385
+ #
386
+ # The request ID must be a valid UUID with the exception that zero UUID is
387
+ # not supported (00000000-0000-0000-0000-000000000000).
388
+ class UpdateProcessRequest
389
+ include ::Google::Protobuf::MessageExts
390
+ extend ::Google::Protobuf::MessageExts::ClassMethods
391
+ end
392
+
393
+ # Message for deleting a Process.
394
+ # @!attribute [rw] name
395
+ # @return [::String]
396
+ # Required. Name of the resource.
397
+ # @!attribute [rw] request_id
398
+ # @return [::String]
399
+ # Optional. An optional request ID to identify requests. Specify a unique
400
+ # request ID so that if you must retry your request, the server will know to
401
+ # ignore the request if it has already been completed. The server will
402
+ # guarantee that for at least 60 minutes after the first request.
403
+ #
404
+ # For example, consider a situation where you make an initial request and the
405
+ # request times out. If you make the request again with the same request ID,
406
+ # the server can check if original operation with the same request ID was
407
+ # received, and if so, will ignore the second request. This prevents clients
408
+ # from accidentally creating duplicate commitments.
409
+ #
410
+ # The request ID must be a valid UUID with the exception that zero UUID is
411
+ # not supported (00000000-0000-0000-0000-000000000000).
412
+ class DeleteProcessRequest
413
+ include ::Google::Protobuf::MessageExts
414
+ extend ::Google::Protobuf::MessageExts::ClassMethods
415
+ end
416
+
417
+ # Request message for running the processes in a batch.
418
+ # @!attribute [rw] parent
419
+ # @return [::String]
420
+ # Required. The parent resource shared by all processes being created.
421
+ # @!attribute [rw] requests
422
+ # @return [::Array<::Google::Cloud::VisionAI::V1::CreateProcessRequest>]
423
+ # Required. The create process requests.
424
+ # @!attribute [rw] options
425
+ # @return [::Google::Cloud::VisionAI::V1::BatchRunProcessRequest::BatchRunProcessOptions]
426
+ # Optional. Options for batch processes.
427
+ # @!attribute [r] batch_id
428
+ # @return [::String]
429
+ # Output only. The batch ID.
430
+ class BatchRunProcessRequest
431
+ include ::Google::Protobuf::MessageExts
432
+ extend ::Google::Protobuf::MessageExts::ClassMethods
433
+
434
+ # Options for batch processes.
435
+ # @!attribute [rw] retry_count
436
+ # @return [::Integer]
437
+ # The retry counts per process. Default: 3.
438
+ # @!attribute [rw] batch_size
439
+ # @return [::Integer]
440
+ # The batch size. Default: 5, maximum: 100.
441
+ class BatchRunProcessOptions
442
+ include ::Google::Protobuf::MessageExts
443
+ extend ::Google::Protobuf::MessageExts::ClassMethods
444
+ end
445
+ end
446
+
447
+ # Response message for running the processes in a batch.
448
+ # @!attribute [rw] batch_id
449
+ # @return [::String]
450
+ # The batch ID.
451
+ # @!attribute [rw] processes
452
+ # @return [::Array<::Google::Cloud::VisionAI::V1::Process>]
453
+ # Processes created.
454
+ class BatchRunProcessResponse
455
+ include ::Google::Protobuf::MessageExts
456
+ extend ::Google::Protobuf::MessageExts::ClassMethods
457
+ end
458
+
459
+ # Request message for querying operator info.
460
+ # @!attribute [rw] parent
461
+ # @return [::String]
462
+ # Required. Parent value for ResolveOperatorInfoRequest.
463
+ # @!attribute [rw] queries
464
+ # @return [::Array<::Google::Cloud::VisionAI::V1::OperatorQuery>]
465
+ # Required. The operator queries.
466
+ class ResolveOperatorInfoRequest
467
+ include ::Google::Protobuf::MessageExts
468
+ extend ::Google::Protobuf::MessageExts::ClassMethods
469
+ end
470
+
471
+ # OperatorQuery represents one query to a Operator.
472
+ # @!attribute [rw] operator
473
+ # @return [::String]
474
+ # Required. The canonical Name of the operator. e.g. OccupancyCounting.
475
+ # @!attribute [rw] tag
476
+ # @return [::String]
477
+ # Optional. Tag of the operator.
478
+ # @!attribute [rw] registry
479
+ # @return [::Google::Cloud::VisionAI::V1::Registry]
480
+ # Optional. Registry of the operator.
481
+ class OperatorQuery
482
+ include ::Google::Protobuf::MessageExts
483
+ extend ::Google::Protobuf::MessageExts::ClassMethods
484
+ end
485
+
486
+ # Response message of ResolveOperatorInfo API.
487
+ # @!attribute [rw] operators
488
+ # @return [::Array<::Google::Cloud::VisionAI::V1::Operator>]
489
+ # Operators with detailed information.
490
+ class ResolveOperatorInfoResponse
491
+ include ::Google::Protobuf::MessageExts
492
+ extend ::Google::Protobuf::MessageExts::ClassMethods
493
+ end
494
+
495
+ # Request message of ListPublicOperatorsRequest API.
496
+ # @!attribute [rw] parent
497
+ # @return [::String]
498
+ # Required. Parent value for ListPublicOperatorsRequest.
499
+ # @!attribute [rw] page_size
500
+ # @return [::Integer]
501
+ # Requested page size. Server may return fewer items than requested.
502
+ # If unspecified, server will pick an appropriate default.
503
+ # @!attribute [rw] page_token
504
+ # @return [::String]
505
+ # A token identifying a page of results the server should return.
506
+ # @!attribute [rw] filter
507
+ # @return [::String]
508
+ # Filtering results.
509
+ # @!attribute [rw] order_by
510
+ # @return [::String]
511
+ # Hint for how to order the results.
512
+ class ListPublicOperatorsRequest
513
+ include ::Google::Protobuf::MessageExts
514
+ extend ::Google::Protobuf::MessageExts::ClassMethods
515
+ end
516
+
517
+ # Response message of ListPublicOperators API.
518
+ # @!attribute [rw] operators
519
+ # @return [::Array<::Google::Cloud::VisionAI::V1::Operator>]
520
+ # The list of Operator
521
+ # @!attribute [rw] next_page_token
522
+ # @return [::String]
523
+ # A token identifying a page of results the server should return.
524
+ class ListPublicOperatorsResponse
525
+ include ::Google::Protobuf::MessageExts
526
+ extend ::Google::Protobuf::MessageExts::ClassMethods
527
+ end
528
+
529
+ # The enum of the types of the Registry.
530
+ module Registry
531
+ # Registry is unspecified.
532
+ REGISTRY_UNSPECIFIED = 0
533
+
534
+ # Public Registry containing the public Operators released by Google.
535
+ PUBLIC = 1
536
+
537
+ # Private Registry containing the local registered operators.
538
+ PRIVATE = 2
539
+ end
540
+ end
541
+ end
542
+ end
543
+ end