google-cloud-video-live_stream-v1 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.yardopts +12 -0
- data/AUTHENTICATION.md +149 -0
- data/LICENSE.md +201 -0
- data/README.md +139 -0
- data/lib/google/cloud/video/live_stream/v1/livestream_service/client.rb +2162 -0
- data/lib/google/cloud/video/live_stream/v1/livestream_service/credentials.rb +49 -0
- data/lib/google/cloud/video/live_stream/v1/livestream_service/operations.rb +769 -0
- data/lib/google/cloud/video/live_stream/v1/livestream_service/paths.rb +111 -0
- data/lib/google/cloud/video/live_stream/v1/livestream_service.rb +56 -0
- data/lib/google/cloud/video/live_stream/v1/version.rb +30 -0
- data/lib/google/cloud/video/live_stream/v1.rb +40 -0
- data/lib/google/cloud/video/livestream/v1/outputs_pb.rb +134 -0
- data/lib/google/cloud/video/livestream/v1/resources_pb.rb +168 -0
- data/lib/google/cloud/video/livestream/v1/service_pb.rb +154 -0
- data/lib/google/cloud/video/livestream/v1/service_services_pb.rb +84 -0
- data/lib/google-cloud-video-live_stream-v1.rb +21 -0
- data/proto_docs/README.md +4 -0
- data/proto_docs/google/api/field_behavior.rb +71 -0
- data/proto_docs/google/api/resource.rb +222 -0
- data/proto_docs/google/cloud/video/livestream/v1/outputs.rb +427 -0
- data/proto_docs/google/cloud/video/livestream/v1/resources.rb +450 -0
- data/proto_docs/google/cloud/video/livestream/v1/service.rb +523 -0
- data/proto_docs/google/longrunning/operations.rb +164 -0
- data/proto_docs/google/protobuf/any.rb +141 -0
- data/proto_docs/google/protobuf/duration.rb +98 -0
- data/proto_docs/google/protobuf/empty.rb +36 -0
- data/proto_docs/google/protobuf/field_mask.rb +229 -0
- data/proto_docs/google/protobuf/timestamp.rb +129 -0
- data/proto_docs/google/rpc/status.rb +46 -0
- metadata +222 -0
@@ -0,0 +1,523 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2022 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 Video
|
23
|
+
module LiveStream
|
24
|
+
module V1
|
25
|
+
# Request message for "LivestreamService.CreateChannel".
|
26
|
+
# @!attribute [rw] parent
|
27
|
+
# @return [::String]
|
28
|
+
# Required. The parent location for the resource, in the form of:
|
29
|
+
# `projects/{project}/locations/{location}`.
|
30
|
+
# @!attribute [rw] channel
|
31
|
+
# @return [::Google::Cloud::Video::LiveStream::V1::Channel]
|
32
|
+
# Required. The channel resource to be created.
|
33
|
+
# @!attribute [rw] channel_id
|
34
|
+
# @return [::String]
|
35
|
+
# Required. The ID of the channel resource to be created.
|
36
|
+
# This value must be 1-63 characters, begin and end with `[a-z0-9]`,
|
37
|
+
# could contain dashes (-) in between.
|
38
|
+
# @!attribute [rw] request_id
|
39
|
+
# @return [::String]
|
40
|
+
# A request ID to identify requests. Specify a unique request ID
|
41
|
+
# so that if you must retry your request, the server will know to ignore
|
42
|
+
# the request if it has already been completed. The server will guarantee
|
43
|
+
# that for at least 60 minutes since the first request.
|
44
|
+
#
|
45
|
+
# For example, consider a situation where you make an initial request and the
|
46
|
+
# request times out. If you make the request again with the same request ID,
|
47
|
+
# the server can check if original operation with the same request ID was
|
48
|
+
# received, and if so, will ignore the second request. This prevents clients
|
49
|
+
# from accidentally creating duplicate commitments.
|
50
|
+
#
|
51
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
52
|
+
# not supported `(00000000-0000-0000-0000-000000000000)`.
|
53
|
+
class CreateChannelRequest
|
54
|
+
include ::Google::Protobuf::MessageExts
|
55
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
56
|
+
end
|
57
|
+
|
58
|
+
# Request message for "LivestreamService.ListChannels".
|
59
|
+
# @!attribute [rw] parent
|
60
|
+
# @return [::String]
|
61
|
+
# Required. The parent location for the resource, in the form of:
|
62
|
+
# `projects/{project}/locations/{location}`.
|
63
|
+
# @!attribute [rw] page_size
|
64
|
+
# @return [::Integer]
|
65
|
+
# The maximum number of items to return. If unspecified, server
|
66
|
+
# will pick an appropriate default. Server may return fewer items than
|
67
|
+
# requested. A caller should only rely on response's
|
68
|
+
# {::Google::Cloud::Video::LiveStream::V1::ListChannelsResponse#next_page_token next_page_token} to
|
69
|
+
# determine if there are more items left to be queried.
|
70
|
+
# @!attribute [rw] page_token
|
71
|
+
# @return [::String]
|
72
|
+
# The next_page_token value returned from a previous List request, if any.
|
73
|
+
# @!attribute [rw] filter
|
74
|
+
# @return [::String]
|
75
|
+
# The filter to apply to list results.
|
76
|
+
# @!attribute [rw] order_by
|
77
|
+
# @return [::String]
|
78
|
+
# Specifies the ordering of results following syntax at
|
79
|
+
# https://cloud.google.com/apis/design/design_patterns#sorting_order.
|
80
|
+
class ListChannelsRequest
|
81
|
+
include ::Google::Protobuf::MessageExts
|
82
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
83
|
+
end
|
84
|
+
|
85
|
+
# Response message for "LivestreamService.ListChannels".
|
86
|
+
# @!attribute [rw] channels
|
87
|
+
# @return [::Array<::Google::Cloud::Video::LiveStream::V1::Channel>]
|
88
|
+
# A list of channels.
|
89
|
+
# @!attribute [rw] next_page_token
|
90
|
+
# @return [::String]
|
91
|
+
# Token to retrieve the next page of results, or empty if there are no more
|
92
|
+
# results in the list.
|
93
|
+
# @!attribute [rw] unreachable
|
94
|
+
# @return [::Array<::String>]
|
95
|
+
# Locations that could not be reached.
|
96
|
+
class ListChannelsResponse
|
97
|
+
include ::Google::Protobuf::MessageExts
|
98
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
99
|
+
end
|
100
|
+
|
101
|
+
# Request message for "LivestreamService.GetChannel".
|
102
|
+
# @!attribute [rw] name
|
103
|
+
# @return [::String]
|
104
|
+
# Required. The name of the channel resource, in the form of:
|
105
|
+
# `projects/{project}/locations/{location}/channels/{channelId}`.
|
106
|
+
class GetChannelRequest
|
107
|
+
include ::Google::Protobuf::MessageExts
|
108
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
109
|
+
end
|
110
|
+
|
111
|
+
# Request message for "LivestreamService.DeleteChannel".
|
112
|
+
# @!attribute [rw] name
|
113
|
+
# @return [::String]
|
114
|
+
# Required. The name of the channel resource, in the form of:
|
115
|
+
# `projects/{project}/locations/{location}/channels/{channelId}`.
|
116
|
+
# @!attribute [rw] request_id
|
117
|
+
# @return [::String]
|
118
|
+
# A request ID to identify requests. Specify a unique request ID
|
119
|
+
# so that if you must retry your request, the server will know to ignore
|
120
|
+
# the request if it has already been completed. The server will guarantee
|
121
|
+
# that for at least 60 minutes after the first request.
|
122
|
+
#
|
123
|
+
# For example, consider a situation where you make an initial request and the
|
124
|
+
# request times out. If you make the request again with the same request ID,
|
125
|
+
# the server can check if original operation with the same request ID was
|
126
|
+
# received, and if so, will ignore the second request. This prevents clients
|
127
|
+
# from accidentally creating duplicate commitments.
|
128
|
+
#
|
129
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
130
|
+
# not supported `(00000000-0000-0000-0000-000000000000)`.
|
131
|
+
# @!attribute [rw] force
|
132
|
+
# @return [::Boolean]
|
133
|
+
# If the `force` field is set to the default value of `false`, you must
|
134
|
+
# delete all of a channel's events before you can delete the channel itself.
|
135
|
+
# If the field is set to `true`, requests to delete a channel also delete
|
136
|
+
# associated channel events.
|
137
|
+
class DeleteChannelRequest
|
138
|
+
include ::Google::Protobuf::MessageExts
|
139
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
140
|
+
end
|
141
|
+
|
142
|
+
# Request message for "LivestreamService.UpdateChannel".
|
143
|
+
# @!attribute [rw] update_mask
|
144
|
+
# @return [::Google::Protobuf::FieldMask]
|
145
|
+
# Field mask is used to specify the fields to be overwritten in the Channel
|
146
|
+
# resource by the update. You can only update the following fields:
|
147
|
+
#
|
148
|
+
# * [`inputAttachments`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#inputattachment)
|
149
|
+
# * [`output`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#output)
|
150
|
+
# * [`elementaryStreams`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#ElementaryStream)
|
151
|
+
# * [`muxStreams`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#muxstream)
|
152
|
+
# * [`manifests`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#Manifest)
|
153
|
+
# * [`spritesheets`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#spritesheet)
|
154
|
+
#
|
155
|
+
# The fields specified in the update_mask are relative to the resource, not
|
156
|
+
# the full request. A field will be overwritten if it is in the mask.
|
157
|
+
# @!attribute [rw] channel
|
158
|
+
# @return [::Google::Cloud::Video::LiveStream::V1::Channel]
|
159
|
+
# Required. The channel resource to be updated.
|
160
|
+
# @!attribute [rw] request_id
|
161
|
+
# @return [::String]
|
162
|
+
# A request ID to identify requests. Specify a unique request ID
|
163
|
+
# so that if you must retry your request, the server will know to ignore
|
164
|
+
# the request if it has already been completed. The server will guarantee
|
165
|
+
# that for at least 60 minutes since the first request.
|
166
|
+
#
|
167
|
+
# For example, consider a situation where you make an initial request and the
|
168
|
+
# request times out. If you make the request again with the same request ID,
|
169
|
+
# the server can check if original operation with the same request ID was
|
170
|
+
# received, and if so, will ignore the second request. This prevents clients
|
171
|
+
# from accidentally creating duplicate commitments.
|
172
|
+
#
|
173
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
174
|
+
# not supported `(00000000-0000-0000-0000-000000000000)`.
|
175
|
+
class UpdateChannelRequest
|
176
|
+
include ::Google::Protobuf::MessageExts
|
177
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
178
|
+
end
|
179
|
+
|
180
|
+
# Request message for "LivestreamService.StartChannel".
|
181
|
+
# @!attribute [rw] name
|
182
|
+
# @return [::String]
|
183
|
+
# Required. The name of the channel resource, in the form of:
|
184
|
+
# `projects/{project}/locations/{location}/channels/{channelId}`.
|
185
|
+
# @!attribute [rw] request_id
|
186
|
+
# @return [::String]
|
187
|
+
# A request ID to identify requests. Specify a unique request ID
|
188
|
+
# so that if you must retry your request, the server will know to ignore
|
189
|
+
# the request if it has already been completed. The server will guarantee
|
190
|
+
# that for at least 60 minutes since the first request.
|
191
|
+
#
|
192
|
+
# For example, consider a situation where you make an initial request and the
|
193
|
+
# request times out. If you make the request again with the same request ID,
|
194
|
+
# the server can check if original operation with the same request ID was
|
195
|
+
# received, and if so, will ignore the second request. This prevents clients
|
196
|
+
# from accidentally creating duplicate commitments.
|
197
|
+
#
|
198
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
199
|
+
# not supported `(00000000-0000-0000-0000-000000000000)`.
|
200
|
+
class StartChannelRequest
|
201
|
+
include ::Google::Protobuf::MessageExts
|
202
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
203
|
+
end
|
204
|
+
|
205
|
+
# Request message for "LivestreamService.StopChannel".
|
206
|
+
# @!attribute [rw] name
|
207
|
+
# @return [::String]
|
208
|
+
# Required. The name of the channel resource, in the form of:
|
209
|
+
# `projects/{project}/locations/{location}/channels/{channelId}`.
|
210
|
+
# @!attribute [rw] request_id
|
211
|
+
# @return [::String]
|
212
|
+
# A request ID to identify requests. Specify a unique request ID
|
213
|
+
# so that if you must retry your request, the server will know to ignore
|
214
|
+
# the request if it has already been completed. The server will guarantee
|
215
|
+
# that for at least 60 minutes since the first request.
|
216
|
+
#
|
217
|
+
# For example, consider a situation where you make an initial request and the
|
218
|
+
# request times out. If you make the request again with the same request ID,
|
219
|
+
# the server can check if original operation with the same request ID was
|
220
|
+
# received, and if so, will ignore the second request. This prevents clients
|
221
|
+
# from accidentally creating duplicate commitments.
|
222
|
+
#
|
223
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
224
|
+
# not supported `(00000000-0000-0000-0000-000000000000)`.
|
225
|
+
class StopChannelRequest
|
226
|
+
include ::Google::Protobuf::MessageExts
|
227
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
228
|
+
end
|
229
|
+
|
230
|
+
# Request message for "LivestreamService.CreateInput".
|
231
|
+
# @!attribute [rw] parent
|
232
|
+
# @return [::String]
|
233
|
+
# Required. The parent location for the resource, in the form of:
|
234
|
+
# `projects/{project}/locations/{location}`.
|
235
|
+
# @!attribute [rw] input
|
236
|
+
# @return [::Google::Cloud::Video::LiveStream::V1::Input]
|
237
|
+
# Required. The input resource to be created.
|
238
|
+
# @!attribute [rw] input_id
|
239
|
+
# @return [::String]
|
240
|
+
# Required. The ID of the input resource to be created.
|
241
|
+
# This value must be 1-63 characters, begin and end with `[a-z0-9]`,
|
242
|
+
# could contain dashes (-) in between.
|
243
|
+
# @!attribute [rw] request_id
|
244
|
+
# @return [::String]
|
245
|
+
# A request ID to identify requests. Specify a unique request ID
|
246
|
+
# so that if you must retry your request, the server will know to ignore
|
247
|
+
# the request if it has already been completed. The server will guarantee
|
248
|
+
# that for at least 60 minutes since the first request.
|
249
|
+
#
|
250
|
+
# For example, consider a situation where you make an initial request and the
|
251
|
+
# request times out. If you make the request again with the same request ID,
|
252
|
+
# the server can check if original operation with the same request ID was
|
253
|
+
# received, and if so, will ignore the second request. This prevents clients
|
254
|
+
# from accidentally creating duplicate commitments.
|
255
|
+
#
|
256
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
257
|
+
# not supported `(00000000-0000-0000-0000-000000000000)`.
|
258
|
+
class CreateInputRequest
|
259
|
+
include ::Google::Protobuf::MessageExts
|
260
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
261
|
+
end
|
262
|
+
|
263
|
+
# Request message for "LivestreamService.ListInputs".
|
264
|
+
# @!attribute [rw] parent
|
265
|
+
# @return [::String]
|
266
|
+
# Required. The parent location for the resource, in the form of:
|
267
|
+
# `projects/{project}/locations/{location}`.
|
268
|
+
# @!attribute [rw] page_size
|
269
|
+
# @return [::Integer]
|
270
|
+
# The maximum number of items to return. If unspecified, server
|
271
|
+
# will pick an appropriate default. Server may return fewer items than
|
272
|
+
# requested. A caller should only rely on response's
|
273
|
+
# {::Google::Cloud::Video::LiveStream::V1::ListInputsResponse#next_page_token next_page_token} to
|
274
|
+
# determine if there are more items left to be queried.
|
275
|
+
# @!attribute [rw] page_token
|
276
|
+
# @return [::String]
|
277
|
+
# The next_page_token value returned from a previous List request, if any.
|
278
|
+
# @!attribute [rw] filter
|
279
|
+
# @return [::String]
|
280
|
+
# The filter to apply to list results.
|
281
|
+
# @!attribute [rw] order_by
|
282
|
+
# @return [::String]
|
283
|
+
# Specifies the ordering of results following syntax at [Sorting
|
284
|
+
# Order](https://cloud.google.com/apis/design/design_patterns#sorting_order).
|
285
|
+
class ListInputsRequest
|
286
|
+
include ::Google::Protobuf::MessageExts
|
287
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
288
|
+
end
|
289
|
+
|
290
|
+
# Response message for "LivestreamService.ListInputs".
|
291
|
+
# @!attribute [rw] inputs
|
292
|
+
# @return [::Array<::Google::Cloud::Video::LiveStream::V1::Input>]
|
293
|
+
# A list of inputs.
|
294
|
+
# @!attribute [rw] next_page_token
|
295
|
+
# @return [::String]
|
296
|
+
# Token to retrieve the next page of results, or empty if there are no more
|
297
|
+
# results in the list.
|
298
|
+
# @!attribute [rw] unreachable
|
299
|
+
# @return [::Array<::String>]
|
300
|
+
# Locations that could not be reached.
|
301
|
+
class ListInputsResponse
|
302
|
+
include ::Google::Protobuf::MessageExts
|
303
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
304
|
+
end
|
305
|
+
|
306
|
+
# Request message for "LivestreamService.GetInput".
|
307
|
+
# @!attribute [rw] name
|
308
|
+
# @return [::String]
|
309
|
+
# Required. The name of the input resource, in the form of:
|
310
|
+
# `projects/{project}/locations/{location}/inputs/{inputId}`.
|
311
|
+
class GetInputRequest
|
312
|
+
include ::Google::Protobuf::MessageExts
|
313
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
314
|
+
end
|
315
|
+
|
316
|
+
# Request message for "LivestreamService.DeleteInput".
|
317
|
+
# @!attribute [rw] name
|
318
|
+
# @return [::String]
|
319
|
+
# Required. The name of the input resource, in the form of:
|
320
|
+
# `projects/{project}/locations/{location}/inputs/{inputId}`.
|
321
|
+
# @!attribute [rw] request_id
|
322
|
+
# @return [::String]
|
323
|
+
# A request ID to identify requests. Specify a unique request ID
|
324
|
+
# so that if you must retry your request, the server will know to ignore
|
325
|
+
# the request if it has already been completed. The server will guarantee
|
326
|
+
# that for at least 60 minutes since the first request.
|
327
|
+
#
|
328
|
+
# For example, consider a situation where you make an initial request and the
|
329
|
+
# request times out. If you make the request again with the same request ID,
|
330
|
+
# the server can check if original operation with the same request ID was
|
331
|
+
# received, and if so, will ignore the second request. This prevents clients
|
332
|
+
# from accidentally creating duplicate commitments.
|
333
|
+
#
|
334
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
335
|
+
# not supported `(00000000-0000-0000-0000-000000000000)`.
|
336
|
+
class DeleteInputRequest
|
337
|
+
include ::Google::Protobuf::MessageExts
|
338
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
339
|
+
end
|
340
|
+
|
341
|
+
# Request message for "LivestreamService.UpdateInput".
|
342
|
+
# @!attribute [rw] update_mask
|
343
|
+
# @return [::Google::Protobuf::FieldMask]
|
344
|
+
# Field mask is used to specify the fields to be overwritten in the Input
|
345
|
+
# resource by the update. You can only update the following fields:
|
346
|
+
#
|
347
|
+
# * [`preprocessingConfig`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.inputs#PreprocessingConfig)
|
348
|
+
# * [`securityRules`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.inputs#SecurityRule)
|
349
|
+
#
|
350
|
+
# The fields specified in the update_mask are relative to the resource, not
|
351
|
+
# the full request. A field will be overwritten if it is in the mask.
|
352
|
+
# @!attribute [rw] input
|
353
|
+
# @return [::Google::Cloud::Video::LiveStream::V1::Input]
|
354
|
+
# Required. The input resource to be updated.
|
355
|
+
# @!attribute [rw] request_id
|
356
|
+
# @return [::String]
|
357
|
+
# A request ID to identify requests. Specify a unique request ID
|
358
|
+
# so that if you must retry your request, the server will know to ignore
|
359
|
+
# the request if it has already been completed. The server will guarantee
|
360
|
+
# that for at least 60 minutes since the first request.
|
361
|
+
#
|
362
|
+
# For example, consider a situation where you make an initial request and the
|
363
|
+
# request times out. If you make the request again with the same request ID,
|
364
|
+
# the server can check if original operation with the same request ID was
|
365
|
+
# received, and if so, will ignore the second request. This prevents clients
|
366
|
+
# from accidentally creating duplicate commitments.
|
367
|
+
#
|
368
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
369
|
+
# not supported `(00000000-0000-0000-0000-000000000000)`.
|
370
|
+
class UpdateInputRequest
|
371
|
+
include ::Google::Protobuf::MessageExts
|
372
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
373
|
+
end
|
374
|
+
|
375
|
+
# Request message for "LivestreamService.CreateEvent".
|
376
|
+
# @!attribute [rw] parent
|
377
|
+
# @return [::String]
|
378
|
+
# Required. The parent channel for the resource, in the form of:
|
379
|
+
# `projects/{project}/locations/{location}/channels/{channelId}`.
|
380
|
+
# @!attribute [rw] event
|
381
|
+
# @return [::Google::Cloud::Video::LiveStream::V1::Event]
|
382
|
+
# Required. The event resource to be created.
|
383
|
+
# @!attribute [rw] event_id
|
384
|
+
# @return [::String]
|
385
|
+
# Required. The ID of the event resource to be created.
|
386
|
+
# This value must be 1-63 characters, begin and end with `[a-z0-9]`,
|
387
|
+
# could contain dashes (-) in between.
|
388
|
+
# @!attribute [rw] request_id
|
389
|
+
# @return [::String]
|
390
|
+
# A request ID to identify requests. Specify a unique request ID
|
391
|
+
# so that if you must retry your request, the server will know to ignore
|
392
|
+
# the request if it has already been completed. The server will guarantee
|
393
|
+
# that for at least 60 minutes since the first request.
|
394
|
+
#
|
395
|
+
# For example, consider a situation where you make an initial request and the
|
396
|
+
# request times out. If you make the request again with the same request ID,
|
397
|
+
# the server can check if original operation with the same request ID was
|
398
|
+
# received, and if so, will ignore the second request. This prevents clients
|
399
|
+
# from accidentally creating duplicate commitments.
|
400
|
+
#
|
401
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
402
|
+
# not supported `(00000000-0000-0000-0000-000000000000)`.
|
403
|
+
class CreateEventRequest
|
404
|
+
include ::Google::Protobuf::MessageExts
|
405
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
406
|
+
end
|
407
|
+
|
408
|
+
# Request message for "LivestreamService.ListEvents".
|
409
|
+
# @!attribute [rw] parent
|
410
|
+
# @return [::String]
|
411
|
+
# Required. The parent channel for the resource, in the form of:
|
412
|
+
# `projects/{project}/locations/{location}/channels/{channelId}`.
|
413
|
+
# @!attribute [rw] page_size
|
414
|
+
# @return [::Integer]
|
415
|
+
# The maximum number of items to return. If unspecified, server
|
416
|
+
# will pick an appropriate default. Server may return fewer items than
|
417
|
+
# requested. A caller should only rely on response's
|
418
|
+
# {::Google::Cloud::Video::LiveStream::V1::ListEventsResponse#next_page_token next_page_token} to
|
419
|
+
# determine if there are more items left to be queried.
|
420
|
+
# @!attribute [rw] page_token
|
421
|
+
# @return [::String]
|
422
|
+
# The next_page_token value returned from a previous List request, if any.
|
423
|
+
# @!attribute [rw] filter
|
424
|
+
# @return [::String]
|
425
|
+
# The filter to apply to list results.
|
426
|
+
# @!attribute [rw] order_by
|
427
|
+
# @return [::String]
|
428
|
+
# Specifies the ordering of results following syntax at
|
429
|
+
# https://cloud.google.com/apis/design/design_patterns#sorting_order.
|
430
|
+
class ListEventsRequest
|
431
|
+
include ::Google::Protobuf::MessageExts
|
432
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
433
|
+
end
|
434
|
+
|
435
|
+
# Response message for "LivestreamService.ListEvents".
|
436
|
+
# @!attribute [rw] events
|
437
|
+
# @return [::Array<::Google::Cloud::Video::LiveStream::V1::Event>]
|
438
|
+
# A list of events.
|
439
|
+
# @!attribute [rw] next_page_token
|
440
|
+
# @return [::String]
|
441
|
+
# Token to retrieve the next page of results, or empty if there are no more
|
442
|
+
# results in the list.
|
443
|
+
# @!attribute [rw] unreachable
|
444
|
+
# @return [::Array<::String>]
|
445
|
+
# Locations that could not be reached.
|
446
|
+
class ListEventsResponse
|
447
|
+
include ::Google::Protobuf::MessageExts
|
448
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
449
|
+
end
|
450
|
+
|
451
|
+
# Request message for "LivestreamService.GetEvent".
|
452
|
+
# @!attribute [rw] name
|
453
|
+
# @return [::String]
|
454
|
+
# Required. The name of the event resource, in the form of:
|
455
|
+
# `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
|
456
|
+
class GetEventRequest
|
457
|
+
include ::Google::Protobuf::MessageExts
|
458
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
459
|
+
end
|
460
|
+
|
461
|
+
# Request message for "LivestreamService.DeleteEvent".
|
462
|
+
# @!attribute [rw] name
|
463
|
+
# @return [::String]
|
464
|
+
# Required. The name of the event resource, in the form of:
|
465
|
+
# `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
|
466
|
+
# @!attribute [rw] request_id
|
467
|
+
# @return [::String]
|
468
|
+
# A request ID to identify requests. Specify a unique request ID
|
469
|
+
# so that if you must retry your request, the server will know to ignore
|
470
|
+
# the request if it has already been completed. The server will guarantee
|
471
|
+
# that for at least 60 minutes since the first request.
|
472
|
+
#
|
473
|
+
# For example, consider a situation where you make an initial request and the
|
474
|
+
# request times out. If you make the request again with the same request ID,
|
475
|
+
# the server can check if original operation with the same request ID was
|
476
|
+
# received, and if so, will ignore the second request. This prevents clients
|
477
|
+
# from accidentally creating duplicate commitments.
|
478
|
+
#
|
479
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
480
|
+
# not supported `(00000000-0000-0000-0000-000000000000)`.
|
481
|
+
class DeleteEventRequest
|
482
|
+
include ::Google::Protobuf::MessageExts
|
483
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
484
|
+
end
|
485
|
+
|
486
|
+
# Response message for Start/Stop Channel long-running operations.
|
487
|
+
class ChannelOperationResponse
|
488
|
+
include ::Google::Protobuf::MessageExts
|
489
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
490
|
+
end
|
491
|
+
|
492
|
+
# Represents the metadata of the long-running operation.
|
493
|
+
# @!attribute [r] create_time
|
494
|
+
# @return [::Google::Protobuf::Timestamp]
|
495
|
+
# Output only. The time the operation was created.
|
496
|
+
# @!attribute [r] end_time
|
497
|
+
# @return [::Google::Protobuf::Timestamp]
|
498
|
+
# Output only. The time the operation finished running.
|
499
|
+
# @!attribute [r] target
|
500
|
+
# @return [::String]
|
501
|
+
# Output only. Server-defined resource path for the target of the operation.
|
502
|
+
# @!attribute [r] verb
|
503
|
+
# @return [::String]
|
504
|
+
# Output only. Name of the verb executed by the operation.
|
505
|
+
# @!attribute [r] requested_cancellation
|
506
|
+
# @return [::Boolean]
|
507
|
+
# Output only. Identifies whether the user has requested cancellation
|
508
|
+
# of the operation. Operations that have successfully been cancelled
|
509
|
+
# have [Operation.error][] value with a
|
510
|
+
# {::Google::Rpc::Status#code google.rpc.Status.code} of 1, corresponding to
|
511
|
+
# `Code.CANCELLED`.
|
512
|
+
# @!attribute [r] api_version
|
513
|
+
# @return [::String]
|
514
|
+
# Output only. API version used to start the operation.
|
515
|
+
class OperationMetadata
|
516
|
+
include ::Google::Protobuf::MessageExts
|
517
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
518
|
+
end
|
519
|
+
end
|
520
|
+
end
|
521
|
+
end
|
522
|
+
end
|
523
|
+
end
|