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.
- checksums.yaml +4 -4
- data/.yardopts +12 -0
- data/AUTHENTICATION.md +122 -0
- data/README.md +144 -8
- data/lib/google/cloud/vision_ai/v1/app_platform/client.rb +3318 -0
- data/lib/google/cloud/vision_ai/v1/app_platform/credentials.rb +47 -0
- data/lib/google/cloud/vision_ai/v1/app_platform/operations.rb +809 -0
- data/lib/google/cloud/vision_ai/v1/app_platform/paths.rb +151 -0
- data/lib/google/cloud/vision_ai/v1/app_platform/rest/client.rb +3106 -0
- data/lib/google/cloud/vision_ai/v1/app_platform/rest/operations.rb +951 -0
- data/lib/google/cloud/vision_ai/v1/app_platform/rest/service_stub.rb +1618 -0
- data/lib/google/cloud/vision_ai/v1/app_platform/rest.rb +53 -0
- data/lib/google/cloud/vision_ai/v1/app_platform.rb +56 -0
- data/lib/google/cloud/vision_ai/v1/health_check_service/client.rb +456 -0
- data/lib/google/cloud/vision_ai/v1/health_check_service/credentials.rb +47 -0
- data/lib/google/cloud/vision_ai/v1/health_check_service/paths.rb +52 -0
- data/lib/google/cloud/vision_ai/v1/health_check_service/rest/client.rb +423 -0
- data/lib/google/cloud/vision_ai/v1/health_check_service/rest/service_stub.rb +128 -0
- data/lib/google/cloud/vision_ai/v1/health_check_service/rest.rb +53 -0
- data/lib/google/cloud/vision_ai/v1/health_check_service.rb +56 -0
- data/lib/google/cloud/vision_ai/v1/live_video_analytics/client.rb +2375 -0
- data/lib/google/cloud/vision_ai/v1/live_video_analytics/credentials.rb +47 -0
- data/lib/google/cloud/vision_ai/v1/live_video_analytics/operations.rb +809 -0
- data/lib/google/cloud/vision_ai/v1/live_video_analytics/paths.rb +130 -0
- data/lib/google/cloud/vision_ai/v1/live_video_analytics/rest/client.rb +2220 -0
- data/lib/google/cloud/vision_ai/v1/live_video_analytics/rest/operations.rb +951 -0
- data/lib/google/cloud/vision_ai/v1/live_video_analytics/rest/service_stub.rb +1139 -0
- data/lib/google/cloud/vision_ai/v1/live_video_analytics/rest.rb +54 -0
- data/lib/google/cloud/vision_ai/v1/live_video_analytics.rb +57 -0
- data/lib/google/cloud/vision_ai/v1/rest.rb +42 -0
- data/lib/google/cloud/vision_ai/v1/streaming_service/client.rb +915 -0
- data/lib/google/cloud/vision_ai/v1/streaming_service/credentials.rb +47 -0
- data/lib/google/cloud/vision_ai/v1/streaming_service/paths.rb +54 -0
- data/lib/google/cloud/vision_ai/v1/streaming_service/rest/client.rb +610 -0
- data/lib/google/cloud/vision_ai/v1/streaming_service/rest/service_stub.rb +249 -0
- data/lib/google/cloud/vision_ai/v1/streaming_service/rest.rb +52 -0
- data/lib/google/cloud/vision_ai/v1/streaming_service.rb +55 -0
- data/lib/google/cloud/vision_ai/v1/streams_service/client.rb +2931 -0
- data/lib/google/cloud/vision_ai/v1/streams_service/credentials.rb +47 -0
- data/lib/google/cloud/vision_ai/v1/streams_service/operations.rb +809 -0
- data/lib/google/cloud/vision_ai/v1/streams_service/paths.rb +153 -0
- data/lib/google/cloud/vision_ai/v1/streams_service/rest/client.rb +2740 -0
- data/lib/google/cloud/vision_ai/v1/streams_service/rest/operations.rb +951 -0
- data/lib/google/cloud/vision_ai/v1/streams_service/rest/service_stub.rb +1437 -0
- data/lib/google/cloud/vision_ai/v1/streams_service/rest.rb +56 -0
- data/lib/google/cloud/vision_ai/v1/streams_service.rb +59 -0
- data/lib/google/cloud/vision_ai/v1/version.rb +8 -3
- data/lib/google/cloud/vision_ai/v1/warehouse/client.rb +6958 -0
- data/lib/google/cloud/vision_ai/v1/warehouse/credentials.rb +47 -0
- data/lib/google/cloud/vision_ai/v1/warehouse/operations.rb +809 -0
- data/lib/google/cloud/vision_ai/v1/warehouse/paths.rb +237 -0
- data/lib/google/cloud/vision_ai/v1/warehouse/rest/client.rb +6403 -0
- data/lib/google/cloud/vision_ai/v1/warehouse/rest/operations.rb +951 -0
- data/lib/google/cloud/vision_ai/v1/warehouse/rest/service_stub.rb +3760 -0
- data/lib/google/cloud/vision_ai/v1/warehouse/rest.rb +53 -0
- data/lib/google/cloud/vision_ai/v1/warehouse.rb +56 -0
- data/lib/google/cloud/vision_ai/v1.rb +50 -0
- data/lib/google/cloud/visionai/v1/annotations_pb.rb +90 -0
- data/lib/google/cloud/visionai/v1/common_pb.rb +50 -0
- data/lib/google/cloud/visionai/v1/health_service_pb.rb +48 -0
- data/lib/google/cloud/visionai/v1/health_service_services_pb.rb +46 -0
- data/lib/google/cloud/visionai/v1/lva_pb.rb +54 -0
- data/lib/google/cloud/visionai/v1/lva_resources_pb.rb +51 -0
- data/lib/google/cloud/visionai/v1/lva_service_pb.rb +80 -0
- data/lib/google/cloud/visionai/v1/lva_service_services_pb.rb +81 -0
- data/lib/google/cloud/visionai/v1/platform_pb.rb +162 -0
- data/lib/google/cloud/visionai/v1/platform_services_pb.rb +111 -0
- data/lib/google/cloud/visionai/v1/streaming_resources_pb.rb +58 -0
- data/lib/google/cloud/visionai/v1/streaming_service_pb.rb +71 -0
- data/lib/google/cloud/visionai/v1/streaming_service_services_pb.rb +55 -0
- data/lib/google/cloud/visionai/v1/streams_resources_pb.rb +53 -0
- data/lib/google/cloud/visionai/v1/streams_service_pb.rb +85 -0
- data/lib/google/cloud/visionai/v1/streams_service_services_pb.rb +92 -0
- data/lib/google/cloud/visionai/v1/warehouse_pb.rb +251 -0
- data/lib/google/cloud/visionai/v1/warehouse_services_pb.rb +228 -0
- data/lib/google-cloud-vision_ai-v1.rb +21 -0
- data/proto_docs/README.md +4 -0
- data/proto_docs/google/api/client.rb +420 -0
- data/proto_docs/google/api/field_behavior.rb +85 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/api/resource.rb +227 -0
- data/proto_docs/google/cloud/visionai/v1/annotations.rb +787 -0
- data/proto_docs/google/cloud/visionai/v1/common.rb +134 -0
- data/proto_docs/google/cloud/visionai/v1/health_service.rb +61 -0
- data/proto_docs/google/cloud/visionai/v1/lva.rb +345 -0
- data/proto_docs/google/cloud/visionai/v1/lva_resources.rb +167 -0
- data/proto_docs/google/cloud/visionai/v1/lva_service.rb +543 -0
- data/proto_docs/google/cloud/visionai/v1/platform.rb +2228 -0
- data/proto_docs/google/cloud/visionai/v1/streaming_resources.rb +178 -0
- data/proto_docs/google/cloud/visionai/v1/streaming_service.rb +393 -0
- data/proto_docs/google/cloud/visionai/v1/streams_resources.rb +229 -0
- data/proto_docs/google/cloud/visionai/v1/streams_service.rb +644 -0
- data/proto_docs/google/cloud/visionai/v1/warehouse.rb +3055 -0
- data/proto_docs/google/longrunning/operations.rb +164 -0
- data/proto_docs/google/protobuf/any.rb +145 -0
- data/proto_docs/google/protobuf/duration.rb +98 -0
- data/proto_docs/google/protobuf/empty.rb +34 -0
- data/proto_docs/google/protobuf/field_mask.rb +229 -0
- data/proto_docs/google/protobuf/struct.rb +96 -0
- data/proto_docs/google/protobuf/timestamp.rb +127 -0
- data/proto_docs/google/rpc/status.rb +48 -0
- data/proto_docs/google/type/datetime.rb +99 -0
- data/proto_docs/google/type/expr.rb +75 -0
- metadata +183 -10
@@ -0,0 +1,644 @@
|
|
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 Clusters.
|
25
|
+
# @!attribute [rw] parent
|
26
|
+
# @return [::String]
|
27
|
+
# Required. Parent value for ListClustersRequest.
|
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 ListClustersRequest
|
42
|
+
include ::Google::Protobuf::MessageExts
|
43
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
44
|
+
end
|
45
|
+
|
46
|
+
# Message for response to listing Clusters.
|
47
|
+
# @!attribute [rw] clusters
|
48
|
+
# @return [::Array<::Google::Cloud::VisionAI::V1::Cluster>]
|
49
|
+
# The list of Cluster.
|
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 ListClustersResponse
|
57
|
+
include ::Google::Protobuf::MessageExts
|
58
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
59
|
+
end
|
60
|
+
|
61
|
+
# Message for getting a Cluster.
|
62
|
+
# @!attribute [rw] name
|
63
|
+
# @return [::String]
|
64
|
+
# Required. Name of the resource.
|
65
|
+
class GetClusterRequest
|
66
|
+
include ::Google::Protobuf::MessageExts
|
67
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
68
|
+
end
|
69
|
+
|
70
|
+
# Message for creating a Cluster.
|
71
|
+
# @!attribute [rw] parent
|
72
|
+
# @return [::String]
|
73
|
+
# Required. Value for parent.
|
74
|
+
# @!attribute [rw] cluster_id
|
75
|
+
# @return [::String]
|
76
|
+
# Required. Id of the requesting object.
|
77
|
+
# @!attribute [rw] cluster
|
78
|
+
# @return [::Google::Cloud::VisionAI::V1::Cluster]
|
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 CreateClusterRequest
|
96
|
+
include ::Google::Protobuf::MessageExts
|
97
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
98
|
+
end
|
99
|
+
|
100
|
+
# Message for updating a Cluster.
|
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
|
+
# Cluster 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] cluster
|
109
|
+
# @return [::Google::Cloud::VisionAI::V1::Cluster]
|
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 UpdateClusterRequest
|
127
|
+
include ::Google::Protobuf::MessageExts
|
128
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
129
|
+
end
|
130
|
+
|
131
|
+
# Message for deleting a Cluster.
|
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 DeleteClusterRequest
|
151
|
+
include ::Google::Protobuf::MessageExts
|
152
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
153
|
+
end
|
154
|
+
|
155
|
+
# Message for requesting list of Streams.
|
156
|
+
# @!attribute [rw] parent
|
157
|
+
# @return [::String]
|
158
|
+
# Required. Parent value for ListStreamsRequest.
|
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 ListStreamsRequest
|
173
|
+
include ::Google::Protobuf::MessageExts
|
174
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
175
|
+
end
|
176
|
+
|
177
|
+
# Message for response to listing Streams.
|
178
|
+
# @!attribute [rw] streams
|
179
|
+
# @return [::Array<::Google::Cloud::VisionAI::V1::Stream>]
|
180
|
+
# The list of Stream.
|
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 ListStreamsResponse
|
188
|
+
include ::Google::Protobuf::MessageExts
|
189
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
190
|
+
end
|
191
|
+
|
192
|
+
# Message for getting a Stream.
|
193
|
+
# @!attribute [rw] name
|
194
|
+
# @return [::String]
|
195
|
+
# Required. Name of the resource.
|
196
|
+
class GetStreamRequest
|
197
|
+
include ::Google::Protobuf::MessageExts
|
198
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
199
|
+
end
|
200
|
+
|
201
|
+
# Message for creating a Stream.
|
202
|
+
# @!attribute [rw] parent
|
203
|
+
# @return [::String]
|
204
|
+
# Required. Value for parent.
|
205
|
+
# @!attribute [rw] stream_id
|
206
|
+
# @return [::String]
|
207
|
+
# Required. Id of the requesting object.
|
208
|
+
# @!attribute [rw] stream
|
209
|
+
# @return [::Google::Cloud::VisionAI::V1::Stream]
|
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 CreateStreamRequest
|
227
|
+
include ::Google::Protobuf::MessageExts
|
228
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
229
|
+
end
|
230
|
+
|
231
|
+
# Message for updating a Stream.
|
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
|
+
# Stream 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] stream
|
240
|
+
# @return [::Google::Cloud::VisionAI::V1::Stream]
|
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 UpdateStreamRequest
|
258
|
+
include ::Google::Protobuf::MessageExts
|
259
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
260
|
+
end
|
261
|
+
|
262
|
+
# Message for deleting a Stream.
|
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 DeleteStreamRequest
|
282
|
+
include ::Google::Protobuf::MessageExts
|
283
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
284
|
+
end
|
285
|
+
|
286
|
+
# Message for getting the thumbnail of a Stream.
|
287
|
+
# @!attribute [rw] stream
|
288
|
+
# @return [::String]
|
289
|
+
# Required. The name of the stream for to get the thumbnail from.
|
290
|
+
# @!attribute [rw] gcs_object_name
|
291
|
+
# @return [::String]
|
292
|
+
# Required. The name of the GCS object to store the thumbnail image.
|
293
|
+
# @!attribute [rw] event
|
294
|
+
# @return [::String]
|
295
|
+
# Optional. The name of the event. If unspecified, the thumbnail will be
|
296
|
+
# retrieved from the latest event.
|
297
|
+
# @!attribute [rw] request_id
|
298
|
+
# @return [::String]
|
299
|
+
# Optional. An optional request ID to identify the requests. Specify a unique
|
300
|
+
# request ID so that if you must retry your request, the server will know to
|
301
|
+
# ignore the request if it has already been completed. The server will
|
302
|
+
# guarantee that for at least 60 minutes since the first request.
|
303
|
+
#
|
304
|
+
# For example, consider a situation where you make an initial request and the
|
305
|
+
# request times out. If you make the request again with the same request ID,
|
306
|
+
# the server can check if original operation with the same request ID was
|
307
|
+
# received, and if so, will ignore the second request. This prevents clients
|
308
|
+
# from accidentally creating duplicate commitments.
|
309
|
+
#
|
310
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
311
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
312
|
+
class GetStreamThumbnailRequest
|
313
|
+
include ::Google::Protobuf::MessageExts
|
314
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
315
|
+
end
|
316
|
+
|
317
|
+
# Message for the response of GetStreamThumbnail. The empty response message
|
318
|
+
# indicates the thumbnail image has been uploaded to GCS successfully.
|
319
|
+
class GetStreamThumbnailResponse
|
320
|
+
include ::Google::Protobuf::MessageExts
|
321
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
322
|
+
end
|
323
|
+
|
324
|
+
# Request message for getting the auth token to access the stream HLS contents.
|
325
|
+
# @!attribute [rw] stream
|
326
|
+
# @return [::String]
|
327
|
+
# Required. The name of the stream.
|
328
|
+
class GenerateStreamHlsTokenRequest
|
329
|
+
include ::Google::Protobuf::MessageExts
|
330
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
331
|
+
end
|
332
|
+
|
333
|
+
# Response message for GenerateStreamHlsToken.
|
334
|
+
# @!attribute [rw] token
|
335
|
+
# @return [::String]
|
336
|
+
# The generated JWT token.
|
337
|
+
#
|
338
|
+
# The caller should insert this token to the authorization header of the HTTP
|
339
|
+
# requests to get the HLS playlist manifest and the video chunks.
|
340
|
+
# eg: curl -H "Authorization: Bearer $TOKEN"
|
341
|
+
# https://domain.com/test-stream.playback/master.m3u8
|
342
|
+
# @!attribute [rw] expiration_time
|
343
|
+
# @return [::Google::Protobuf::Timestamp]
|
344
|
+
# The expiration time of the token.
|
345
|
+
class GenerateStreamHlsTokenResponse
|
346
|
+
include ::Google::Protobuf::MessageExts
|
347
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
348
|
+
end
|
349
|
+
|
350
|
+
# Message for requesting list of Events.
|
351
|
+
# @!attribute [rw] parent
|
352
|
+
# @return [::String]
|
353
|
+
# Required. Parent value for ListEventsRequest.
|
354
|
+
# @!attribute [rw] page_size
|
355
|
+
# @return [::Integer]
|
356
|
+
# Requested page size. Server may return fewer items than requested.
|
357
|
+
# If unspecified, server will pick an appropriate default.
|
358
|
+
# @!attribute [rw] page_token
|
359
|
+
# @return [::String]
|
360
|
+
# A token identifying a page of results the server should return.
|
361
|
+
# @!attribute [rw] filter
|
362
|
+
# @return [::String]
|
363
|
+
# Filtering results.
|
364
|
+
# @!attribute [rw] order_by
|
365
|
+
# @return [::String]
|
366
|
+
# Hint for how to order the results.
|
367
|
+
class ListEventsRequest
|
368
|
+
include ::Google::Protobuf::MessageExts
|
369
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
370
|
+
end
|
371
|
+
|
372
|
+
# Message for response to listing Events.
|
373
|
+
# @!attribute [rw] events
|
374
|
+
# @return [::Array<::Google::Cloud::VisionAI::V1::Event>]
|
375
|
+
# The list of Event.
|
376
|
+
# @!attribute [rw] next_page_token
|
377
|
+
# @return [::String]
|
378
|
+
# A token identifying a page of results the server should return.
|
379
|
+
# @!attribute [rw] unreachable
|
380
|
+
# @return [::Array<::String>]
|
381
|
+
# Locations that could not be reached.
|
382
|
+
class ListEventsResponse
|
383
|
+
include ::Google::Protobuf::MessageExts
|
384
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
385
|
+
end
|
386
|
+
|
387
|
+
# Message for getting a Event.
|
388
|
+
# @!attribute [rw] name
|
389
|
+
# @return [::String]
|
390
|
+
# Required. Name of the resource.
|
391
|
+
class GetEventRequest
|
392
|
+
include ::Google::Protobuf::MessageExts
|
393
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
394
|
+
end
|
395
|
+
|
396
|
+
# Message for creating a Event.
|
397
|
+
# @!attribute [rw] parent
|
398
|
+
# @return [::String]
|
399
|
+
# Required. Value for parent.
|
400
|
+
# @!attribute [rw] event_id
|
401
|
+
# @return [::String]
|
402
|
+
# Required. Id of the requesting object.
|
403
|
+
# @!attribute [rw] event
|
404
|
+
# @return [::Google::Cloud::VisionAI::V1::Event]
|
405
|
+
# Required. The resource being created.
|
406
|
+
# @!attribute [rw] request_id
|
407
|
+
# @return [::String]
|
408
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
409
|
+
# request ID so that if you must retry your request, the server will know to
|
410
|
+
# ignore the request if it has already been completed. The server will
|
411
|
+
# guarantee that for at least 60 minutes since the first request.
|
412
|
+
#
|
413
|
+
# For example, consider a situation where you make an initial request and the
|
414
|
+
# request times out. If you make the request again with the same request ID,
|
415
|
+
# the server can check if original operation with the same request ID was
|
416
|
+
# received, and if so, will ignore the second request. This prevents clients
|
417
|
+
# from accidentally creating duplicate commitments.
|
418
|
+
#
|
419
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
420
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
421
|
+
class CreateEventRequest
|
422
|
+
include ::Google::Protobuf::MessageExts
|
423
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
424
|
+
end
|
425
|
+
|
426
|
+
# Message for updating a Event.
|
427
|
+
# @!attribute [rw] update_mask
|
428
|
+
# @return [::Google::Protobuf::FieldMask]
|
429
|
+
# Required. Field mask is used to specify the fields to be overwritten in the
|
430
|
+
# Event resource by the update.
|
431
|
+
# The fields specified in the update_mask are relative to the resource, not
|
432
|
+
# the full request. A field will be overwritten if it is in the mask. If the
|
433
|
+
# user does not provide a mask then all fields will be overwritten.
|
434
|
+
# @!attribute [rw] event
|
435
|
+
# @return [::Google::Cloud::VisionAI::V1::Event]
|
436
|
+
# Required. The resource being updated.
|
437
|
+
# @!attribute [rw] request_id
|
438
|
+
# @return [::String]
|
439
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
440
|
+
# request ID so that if you must retry your request, the server will know to
|
441
|
+
# ignore the request if it has already been completed. The server will
|
442
|
+
# guarantee that for at least 60 minutes since the first request.
|
443
|
+
#
|
444
|
+
# For example, consider a situation where you make an initial request and the
|
445
|
+
# request times out. If you make the request again with the same request ID,
|
446
|
+
# the server can check if original operation with the same request ID was
|
447
|
+
# received, and if so, will ignore the second request. This prevents clients
|
448
|
+
# from accidentally creating duplicate commitments.
|
449
|
+
#
|
450
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
451
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
452
|
+
class UpdateEventRequest
|
453
|
+
include ::Google::Protobuf::MessageExts
|
454
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
455
|
+
end
|
456
|
+
|
457
|
+
# Message for deleting a Event.
|
458
|
+
# @!attribute [rw] name
|
459
|
+
# @return [::String]
|
460
|
+
# Required. Name of the resource.
|
461
|
+
# @!attribute [rw] request_id
|
462
|
+
# @return [::String]
|
463
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
464
|
+
# request ID so that if you must retry your request, the server will know to
|
465
|
+
# ignore the request if it has already been completed. The server will
|
466
|
+
# guarantee that for at least 60 minutes after the first request.
|
467
|
+
#
|
468
|
+
# For example, consider a situation where you make an initial request and the
|
469
|
+
# request times out. If you make the request again with the same request ID,
|
470
|
+
# the server can check if original operation with the same request ID was
|
471
|
+
# received, and if so, will ignore the second request. This prevents clients
|
472
|
+
# from accidentally creating duplicate commitments.
|
473
|
+
#
|
474
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
475
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
476
|
+
class DeleteEventRequest
|
477
|
+
include ::Google::Protobuf::MessageExts
|
478
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
479
|
+
end
|
480
|
+
|
481
|
+
# Message for requesting list of Series.
|
482
|
+
# @!attribute [rw] parent
|
483
|
+
# @return [::String]
|
484
|
+
# Required. Parent value for ListSeriesRequest.
|
485
|
+
# @!attribute [rw] page_size
|
486
|
+
# @return [::Integer]
|
487
|
+
# Requested page size. Server may return fewer items than requested.
|
488
|
+
# If unspecified, server will pick an appropriate default.
|
489
|
+
# @!attribute [rw] page_token
|
490
|
+
# @return [::String]
|
491
|
+
# A token identifying a page of results the server should return.
|
492
|
+
# @!attribute [rw] filter
|
493
|
+
# @return [::String]
|
494
|
+
# Filtering results.
|
495
|
+
# @!attribute [rw] order_by
|
496
|
+
# @return [::String]
|
497
|
+
# Hint for how to order the results.
|
498
|
+
class ListSeriesRequest
|
499
|
+
include ::Google::Protobuf::MessageExts
|
500
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
501
|
+
end
|
502
|
+
|
503
|
+
# Message for response to listing Series.
|
504
|
+
# @!attribute [rw] series
|
505
|
+
# @return [::Array<::Google::Cloud::VisionAI::V1::Series>]
|
506
|
+
# The list of Series.
|
507
|
+
# @!attribute [rw] next_page_token
|
508
|
+
# @return [::String]
|
509
|
+
# A token identifying a page of results the server should return.
|
510
|
+
# @!attribute [rw] unreachable
|
511
|
+
# @return [::Array<::String>]
|
512
|
+
# Locations that could not be reached.
|
513
|
+
class ListSeriesResponse
|
514
|
+
include ::Google::Protobuf::MessageExts
|
515
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
516
|
+
end
|
517
|
+
|
518
|
+
# Message for getting a Series.
|
519
|
+
# @!attribute [rw] name
|
520
|
+
# @return [::String]
|
521
|
+
# Required. Name of the resource.
|
522
|
+
class GetSeriesRequest
|
523
|
+
include ::Google::Protobuf::MessageExts
|
524
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
525
|
+
end
|
526
|
+
|
527
|
+
# Message for creating a Series.
|
528
|
+
# @!attribute [rw] parent
|
529
|
+
# @return [::String]
|
530
|
+
# Required. Value for parent.
|
531
|
+
# @!attribute [rw] series_id
|
532
|
+
# @return [::String]
|
533
|
+
# Required. Id of the requesting object.
|
534
|
+
# @!attribute [rw] series
|
535
|
+
# @return [::Google::Cloud::VisionAI::V1::Series]
|
536
|
+
# Required. The resource being created.
|
537
|
+
# @!attribute [rw] request_id
|
538
|
+
# @return [::String]
|
539
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
540
|
+
# request ID so that if you must retry your request, the server will know to
|
541
|
+
# ignore the request if it has already been completed. The server will
|
542
|
+
# guarantee that for at least 60 minutes since the first request.
|
543
|
+
#
|
544
|
+
# For example, consider a situation where you make an initial request and the
|
545
|
+
# request times out. If you make the request again with the same request ID,
|
546
|
+
# the server can check if original operation with the same request ID was
|
547
|
+
# received, and if so, will ignore the second request. This prevents clients
|
548
|
+
# from accidentally creating duplicate commitments.
|
549
|
+
#
|
550
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
551
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
552
|
+
class CreateSeriesRequest
|
553
|
+
include ::Google::Protobuf::MessageExts
|
554
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
555
|
+
end
|
556
|
+
|
557
|
+
# Message for updating a Series.
|
558
|
+
# @!attribute [rw] update_mask
|
559
|
+
# @return [::Google::Protobuf::FieldMask]
|
560
|
+
# Required. Field mask is used to specify the fields to be overwritten in the
|
561
|
+
# Series resource by the update. The fields specified in the update_mask are
|
562
|
+
# relative to the resource, not the full request. A field will be overwritten
|
563
|
+
# if it is in the mask. If the user does not provide a mask then all fields
|
564
|
+
# will be overwritten.
|
565
|
+
# @!attribute [rw] series
|
566
|
+
# @return [::Google::Cloud::VisionAI::V1::Series]
|
567
|
+
# Required. The resource being updated
|
568
|
+
# @!attribute [rw] request_id
|
569
|
+
# @return [::String]
|
570
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
571
|
+
# request ID so that if you must retry your request, the server will know to
|
572
|
+
# ignore the request if it has already been completed. The server will
|
573
|
+
# guarantee that for at least 60 minutes since the first request.
|
574
|
+
#
|
575
|
+
# For example, consider a situation where you make an initial request and the
|
576
|
+
# request times out. If you make the request again with the same request ID,
|
577
|
+
# the server can check if original operation with the same request ID was
|
578
|
+
# received, and if so, will ignore the second request. This prevents clients
|
579
|
+
# from accidentally creating duplicate commitments.
|
580
|
+
#
|
581
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
582
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
583
|
+
class UpdateSeriesRequest
|
584
|
+
include ::Google::Protobuf::MessageExts
|
585
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
586
|
+
end
|
587
|
+
|
588
|
+
# Message for deleting a Series.
|
589
|
+
# @!attribute [rw] name
|
590
|
+
# @return [::String]
|
591
|
+
# Required. Name of the resource.
|
592
|
+
# @!attribute [rw] request_id
|
593
|
+
# @return [::String]
|
594
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
595
|
+
# request ID so that if you must retry your request, the server will know to
|
596
|
+
# ignore the request if it has already been completed. The server will
|
597
|
+
# guarantee that for at least 60 minutes after the first request.
|
598
|
+
#
|
599
|
+
# For example, consider a situation where you make an initial request and the
|
600
|
+
# request times out. If you make the request again with the same request ID,
|
601
|
+
# the server can check if original operation with the same request ID was
|
602
|
+
# received, and if so, will ignore the second request. This prevents clients
|
603
|
+
# from accidentally creating duplicate commitments.
|
604
|
+
#
|
605
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
606
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
607
|
+
class DeleteSeriesRequest
|
608
|
+
include ::Google::Protobuf::MessageExts
|
609
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
610
|
+
end
|
611
|
+
|
612
|
+
# Message for materializing a channel.
|
613
|
+
# @!attribute [rw] parent
|
614
|
+
# @return [::String]
|
615
|
+
# Required. Value for parent.
|
616
|
+
# @!attribute [rw] channel_id
|
617
|
+
# @return [::String]
|
618
|
+
# Required. Id of the channel.
|
619
|
+
# @!attribute [rw] channel
|
620
|
+
# @return [::Google::Cloud::VisionAI::V1::Channel]
|
621
|
+
# Required. The resource being created.
|
622
|
+
# @!attribute [rw] request_id
|
623
|
+
# @return [::String]
|
624
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
625
|
+
# request ID so that if you must retry your request, the server will know to
|
626
|
+
# ignore the request if it has already been completed. The server will
|
627
|
+
# guarantee that for at least 60 minutes since the first request.
|
628
|
+
#
|
629
|
+
# For example, consider a situation where you make an initial request and the
|
630
|
+
# request times out. If you make the request again with the same request ID,
|
631
|
+
# the server can check if original operation with the same request ID was
|
632
|
+
# received, and if so, will ignore the second request. This prevents clients
|
633
|
+
# from accidentally creating duplicate commitments.
|
634
|
+
#
|
635
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
636
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
637
|
+
class MaterializeChannelRequest
|
638
|
+
include ::Google::Protobuf::MessageExts
|
639
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
640
|
+
end
|
641
|
+
end
|
642
|
+
end
|
643
|
+
end
|
644
|
+
end
|