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,229 @@
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 describing the Stream object. The Stream and the Event resources are
25
+ # many to many; i.e., each Stream resource can associate to many Event
26
+ # resources and each Event resource can associate to many Stream resources.
27
+ # @!attribute [rw] name
28
+ # @return [::String]
29
+ # Name of the resource.
30
+ # @!attribute [r] create_time
31
+ # @return [::Google::Protobuf::Timestamp]
32
+ # Output only. The create timestamp.
33
+ # @!attribute [r] update_time
34
+ # @return [::Google::Protobuf::Timestamp]
35
+ # Output only. The update timestamp.
36
+ # @!attribute [rw] labels
37
+ # @return [::Google::Protobuf::Map{::String => ::String}]
38
+ # Labels as key value pairs.
39
+ # @!attribute [rw] annotations
40
+ # @return [::Google::Protobuf::Map{::String => ::String}]
41
+ # Annotations to allow clients to store small amounts of arbitrary data.
42
+ # @!attribute [rw] display_name
43
+ # @return [::String]
44
+ # The display name for the stream resource.
45
+ # @!attribute [rw] enable_hls_playback
46
+ # @return [::Boolean]
47
+ # Whether to enable the HLS playback service on this stream.
48
+ # @!attribute [rw] media_warehouse_asset
49
+ # @return [::String]
50
+ # The name of the media warehouse asset for long term storage of stream data.
51
+ # Format: projects/$\\{p_id}/locations/$\\{l_id}/corpora/$\\{c_id}/assets/$\\{a_id}
52
+ # Remain empty if the media warehouse storage is not needed for the stream.
53
+ class Stream
54
+ include ::Google::Protobuf::MessageExts
55
+ extend ::Google::Protobuf::MessageExts::ClassMethods
56
+
57
+ # @!attribute [rw] key
58
+ # @return [::String]
59
+ # @!attribute [rw] value
60
+ # @return [::String]
61
+ class LabelsEntry
62
+ include ::Google::Protobuf::MessageExts
63
+ extend ::Google::Protobuf::MessageExts::ClassMethods
64
+ end
65
+
66
+ # @!attribute [rw] key
67
+ # @return [::String]
68
+ # @!attribute [rw] value
69
+ # @return [::String]
70
+ class AnnotationsEntry
71
+ include ::Google::Protobuf::MessageExts
72
+ extend ::Google::Protobuf::MessageExts::ClassMethods
73
+ end
74
+ end
75
+
76
+ # Message describing the Event object.
77
+ # @!attribute [rw] name
78
+ # @return [::String]
79
+ # Name of the resource.
80
+ # @!attribute [r] create_time
81
+ # @return [::Google::Protobuf::Timestamp]
82
+ # Output only. The create timestamp.
83
+ # @!attribute [r] update_time
84
+ # @return [::Google::Protobuf::Timestamp]
85
+ # Output only. The update timestamp.
86
+ # @!attribute [rw] labels
87
+ # @return [::Google::Protobuf::Map{::String => ::String}]
88
+ # Labels as key value pairs.
89
+ # @!attribute [rw] annotations
90
+ # @return [::Google::Protobuf::Map{::String => ::String}]
91
+ # Annotations to allow clients to store small amounts of arbitrary data.
92
+ # @!attribute [rw] alignment_clock
93
+ # @return [::Google::Cloud::VisionAI::V1::Event::Clock]
94
+ # The clock used for joining streams.
95
+ # @!attribute [rw] grace_period
96
+ # @return [::Google::Protobuf::Duration]
97
+ # Grace period for cleaning up the event. This is the time the controller
98
+ # waits for before deleting the event. During this period, if there is any
99
+ # active channel on the event. The deletion of the event after grace_period
100
+ # will be ignored.
101
+ class Event
102
+ include ::Google::Protobuf::MessageExts
103
+ extend ::Google::Protobuf::MessageExts::ClassMethods
104
+
105
+ # @!attribute [rw] key
106
+ # @return [::String]
107
+ # @!attribute [rw] value
108
+ # @return [::String]
109
+ class LabelsEntry
110
+ include ::Google::Protobuf::MessageExts
111
+ extend ::Google::Protobuf::MessageExts::ClassMethods
112
+ end
113
+
114
+ # @!attribute [rw] key
115
+ # @return [::String]
116
+ # @!attribute [rw] value
117
+ # @return [::String]
118
+ class AnnotationsEntry
119
+ include ::Google::Protobuf::MessageExts
120
+ extend ::Google::Protobuf::MessageExts::ClassMethods
121
+ end
122
+
123
+ # Clock that will be used for joining streams.
124
+ module Clock
125
+ # Clock is not specified.
126
+ CLOCK_UNSPECIFIED = 0
127
+
128
+ # Use the timestamp when the data is captured. Clients need to sync the
129
+ # clock.
130
+ CAPTURE = 1
131
+
132
+ # Use the timestamp when the data is received.
133
+ INGEST = 2
134
+ end
135
+ end
136
+
137
+ # Message describing the Series object.
138
+ # @!attribute [rw] name
139
+ # @return [::String]
140
+ # Name of the resource.
141
+ # @!attribute [r] create_time
142
+ # @return [::Google::Protobuf::Timestamp]
143
+ # Output only. The create timestamp.
144
+ # @!attribute [r] update_time
145
+ # @return [::Google::Protobuf::Timestamp]
146
+ # Output only. The update timestamp.
147
+ # @!attribute [rw] labels
148
+ # @return [::Google::Protobuf::Map{::String => ::String}]
149
+ # Labels as key value pairs.
150
+ # @!attribute [rw] annotations
151
+ # @return [::Google::Protobuf::Map{::String => ::String}]
152
+ # Annotations to allow clients to store small amounts of arbitrary data.
153
+ # @!attribute [rw] stream
154
+ # @return [::String]
155
+ # Required. Stream that is associated with this series.
156
+ # @!attribute [rw] event
157
+ # @return [::String]
158
+ # Required. Event that is associated with this series.
159
+ class Series
160
+ include ::Google::Protobuf::MessageExts
161
+ extend ::Google::Protobuf::MessageExts::ClassMethods
162
+
163
+ # @!attribute [rw] key
164
+ # @return [::String]
165
+ # @!attribute [rw] value
166
+ # @return [::String]
167
+ class LabelsEntry
168
+ include ::Google::Protobuf::MessageExts
169
+ extend ::Google::Protobuf::MessageExts::ClassMethods
170
+ end
171
+
172
+ # @!attribute [rw] key
173
+ # @return [::String]
174
+ # @!attribute [rw] value
175
+ # @return [::String]
176
+ class AnnotationsEntry
177
+ include ::Google::Protobuf::MessageExts
178
+ extend ::Google::Protobuf::MessageExts::ClassMethods
179
+ end
180
+ end
181
+
182
+ # Message describing the Channel object.
183
+ # @!attribute [rw] name
184
+ # @return [::String]
185
+ # Name of the resource.
186
+ # @!attribute [r] create_time
187
+ # @return [::Google::Protobuf::Timestamp]
188
+ # Output only. The create timestamp.
189
+ # @!attribute [r] update_time
190
+ # @return [::Google::Protobuf::Timestamp]
191
+ # Output only. The update timestamp.
192
+ # @!attribute [rw] labels
193
+ # @return [::Google::Protobuf::Map{::String => ::String}]
194
+ # Labels as key value pairs.
195
+ # @!attribute [rw] annotations
196
+ # @return [::Google::Protobuf::Map{::String => ::String}]
197
+ # Annotations to allow clients to store small amounts of arbitrary data.
198
+ # @!attribute [rw] stream
199
+ # @return [::String]
200
+ # Required. Stream that is associated with this series.
201
+ # @!attribute [rw] event
202
+ # @return [::String]
203
+ # Required. Event that is associated with this series.
204
+ class Channel
205
+ include ::Google::Protobuf::MessageExts
206
+ extend ::Google::Protobuf::MessageExts::ClassMethods
207
+
208
+ # @!attribute [rw] key
209
+ # @return [::String]
210
+ # @!attribute [rw] value
211
+ # @return [::String]
212
+ class LabelsEntry
213
+ include ::Google::Protobuf::MessageExts
214
+ extend ::Google::Protobuf::MessageExts::ClassMethods
215
+ end
216
+
217
+ # @!attribute [rw] key
218
+ # @return [::String]
219
+ # @!attribute [rw] value
220
+ # @return [::String]
221
+ class AnnotationsEntry
222
+ include ::Google::Protobuf::MessageExts
223
+ extend ::Google::Protobuf::MessageExts::ClassMethods
224
+ end
225
+ end
226
+ end
227
+ end
228
+ end
229
+ end