google-cloud-video-live_stream-v1 2.3.0 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7759bfd694d0913e82178352789708a88b6087de0f6764734031afc534935ed3
4
- data.tar.gz: a8c8f31ad7fab3c4af9f07413634665f38bfaa747b2a51fe72f5a81a572e5e0e
3
+ metadata.gz: 1756cbc8c269ca47bfc3e57d2e1179e44e7ffac78ea8b940a4b79659d8b37ab0
4
+ data.tar.gz: b82274e157a6fa76b9d1f00d4b0030b875be3c98de60e3d2e36306e83dcc2c39
5
5
  SHA512:
6
- metadata.gz: 50c0d1c1fba1a49fcd4e4b694f37faaa5b07046025ec990b29fd27ee3b0ef3e384cc6c8b4a4a89c031c65db3962a78cfea297ef54b8f96035bf3388f79d3f266
7
- data.tar.gz: 137479b0299b3d87e33359912563bfb147ea1efc0fbe8b67354266b653fa097c738e19f3f8b727ea7ba5a7944dd920486236153bcd29b54375220c3a1b57547b
6
+ metadata.gz: 9923012ee79d73b705946281e92aacaf992eaa8f13a9000bb420e5a9a31b6ca687aba6c74d9a79460d4a55eaee80d2330b7ef58da5455c79db47118aae624853
7
+ data.tar.gz: 3078934b9b8a5171bebfa2997732356a6fe2ed1f198fa0f8d72a97db96e35eec2d0f8c49a316cb8f517d94747d6b6cb2fa8af6925109ef58ce1eb10b6852761f
@@ -96,6 +96,10 @@ module Google
96
96
 
97
97
  default_config.rpcs.stop_channel.timeout = 60.0
98
98
 
99
+ default_config.rpcs.start_distribution.timeout = 60.0
100
+
101
+ default_config.rpcs.stop_distribution.timeout = 60.0
102
+
99
103
  default_config.rpcs.create_input.timeout = 60.0
100
104
 
101
105
  default_config.rpcs.list_inputs.timeout = 60.0
@@ -112,6 +116,8 @@ module Google
112
116
 
113
117
  default_config.rpcs.update_input.timeout = 60.0
114
118
 
119
+ default_config.rpcs.preview_input.timeout = 60.0
120
+
115
121
  default_config.rpcs.create_event.timeout = 60.0
116
122
 
117
123
  default_config.rpcs.list_events.timeout = 60.0
@@ -136,6 +142,30 @@ module Google
136
142
  initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14]
137
143
  }
138
144
 
145
+ default_config.rpcs.create_clip.timeout = 60.0
146
+
147
+ default_config.rpcs.delete_clip.timeout = 60.0
148
+
149
+ default_config.rpcs.create_dvr_session.timeout = 60.0
150
+
151
+ default_config.rpcs.list_dvr_sessions.timeout = 60.0
152
+ default_config.rpcs.list_dvr_sessions.retry_policy = {
153
+ initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14]
154
+ }
155
+
156
+ default_config.rpcs.get_dvr_session.timeout = 60.0
157
+ default_config.rpcs.get_dvr_session.retry_policy = {
158
+ initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14]
159
+ }
160
+
161
+ default_config.rpcs.delete_dvr_session.timeout = 60.0
162
+
163
+ default_config.rpcs.update_dvr_session.timeout = 60.0
164
+
165
+ default_config.rpcs.create_asset.timeout = 60.0
166
+
167
+ default_config.rpcs.delete_asset.timeout = 60.0
168
+
139
169
  default_config.rpcs.get_asset.timeout = 60.0
140
170
  default_config.rpcs.get_asset.retry_policy = {
141
171
  initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14]
@@ -151,6 +181,8 @@ module Google
151
181
  initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14]
152
182
  }
153
183
 
184
+ default_config.rpcs.update_pool.timeout = 60.0
185
+
154
186
  default_config
155
187
  end
156
188
  yield @configure if block_given?
@@ -319,8 +351,11 @@ module Google
319
351
  # Required. The channel resource to be created.
320
352
  # @param channel_id [::String]
321
353
  # Required. The ID of the channel resource to be created.
322
- # This value must be 1-63 characters, begin and end with `[a-z0-9]`,
323
- # could contain dashes (-) in between.
354
+ #
355
+ # This value must be 1-63 characters, begin and end with a lower-case letter
356
+ # or a number, and consist of only lower-case letters, numbers, and hyphens.
357
+ # In other words, it must match the following regex:
358
+ # `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`.
324
359
  # @param request_id [::String]
325
360
  # A request ID to identify requests. Specify a unique request ID
326
361
  # so that if you must retry your request, the server will know to ignore
@@ -1063,6 +1098,233 @@ module Google
1063
1098
  raise ::Google::Cloud::Error.from_error(e)
1064
1099
  end
1065
1100
 
1101
+ ##
1102
+ # Starts distribution which delivers outputs to the destination indicated by
1103
+ # the Distribution configuration.
1104
+ #
1105
+ # @overload start_distribution(request, options = nil)
1106
+ # Pass arguments to `start_distribution` via a request object, either of type
1107
+ # {::Google::Cloud::Video::LiveStream::V1::StartDistributionRequest} or an equivalent Hash.
1108
+ #
1109
+ # @param request [::Google::Cloud::Video::LiveStream::V1::StartDistributionRequest, ::Hash]
1110
+ # A request object representing the call parameters. Required. To specify no
1111
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
1112
+ # @param options [::Gapic::CallOptions, ::Hash]
1113
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
1114
+ #
1115
+ # @overload start_distribution(name: nil, distribution_keys: nil, request_id: nil)
1116
+ # Pass arguments to `start_distribution` via keyword arguments. Note that at
1117
+ # least one keyword argument is required. To specify no parameters, or to keep all
1118
+ # the default parameter values, pass an empty Hash as a request object (see above).
1119
+ #
1120
+ # @param name [::String]
1121
+ # Required. The name of the channel resource, in the form of:
1122
+ # `projects/{project}/locations/{location}/channels/{channelId}`.
1123
+ # @param distribution_keys [::Array<::String>]
1124
+ # Optional. A list of keys to identify the distribution configuration in the
1125
+ # channel resource. If left empty, all the distributions in the channel
1126
+ # specification will be started.
1127
+ # @param request_id [::String]
1128
+ # Optional. A request ID to identify requests. Specify a unique request ID
1129
+ # so that if you must retry your request, the server will know to ignore
1130
+ # the request if it has already been completed. The server will guarantee
1131
+ # that for at least 60 minutes since the first request.
1132
+ #
1133
+ # For example, consider a situation where you make an initial request and the
1134
+ # request times out. If you make the request again with the same request ID,
1135
+ # the server can check if original operation with the same request ID was
1136
+ # received, and if so, will ignore the second request. This prevents clients
1137
+ # from accidentally creating duplicate commitments.
1138
+ #
1139
+ # The request ID must be a valid UUID with the exception that zero UUID is
1140
+ # not supported `(00000000-0000-0000-0000-000000000000)`.
1141
+ #
1142
+ # @yield [response, operation] Access the result along with the RPC operation
1143
+ # @yieldparam response [::Gapic::Operation]
1144
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
1145
+ #
1146
+ # @return [::Gapic::Operation]
1147
+ #
1148
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
1149
+ #
1150
+ # @example Basic example
1151
+ # require "google/cloud/video/live_stream/v1"
1152
+ #
1153
+ # # Create a client object. The client can be reused for multiple calls.
1154
+ # client = Google::Cloud::Video::LiveStream::V1::LivestreamService::Client.new
1155
+ #
1156
+ # # Create a request. To set request fields, pass in keyword arguments.
1157
+ # request = Google::Cloud::Video::LiveStream::V1::StartDistributionRequest.new
1158
+ #
1159
+ # # Call the start_distribution method.
1160
+ # result = client.start_distribution request
1161
+ #
1162
+ # # The returned object is of type Gapic::Operation. You can use it to
1163
+ # # check the status of an operation, cancel it, or wait for results.
1164
+ # # Here is how to wait for a response.
1165
+ # result.wait_until_done! timeout: 60
1166
+ # if result.response?
1167
+ # p result.response
1168
+ # else
1169
+ # puts "No response received."
1170
+ # end
1171
+ #
1172
+ def start_distribution request, options = nil
1173
+ raise ::ArgumentError, "request must be provided" if request.nil?
1174
+
1175
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Video::LiveStream::V1::StartDistributionRequest
1176
+
1177
+ # Converts hash and nil to an options object
1178
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
1179
+
1180
+ # Customize the options with defaults
1181
+ metadata = @config.rpcs.start_distribution.metadata.to_h
1182
+
1183
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1184
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1185
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
1186
+ gapic_version: ::Google::Cloud::Video::LiveStream::V1::VERSION
1187
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1188
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1189
+
1190
+ header_params = {}
1191
+ if request.name
1192
+ header_params["name"] = request.name
1193
+ end
1194
+
1195
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
1196
+ metadata[:"x-goog-request-params"] ||= request_params_header
1197
+
1198
+ options.apply_defaults timeout: @config.rpcs.start_distribution.timeout,
1199
+ metadata: metadata,
1200
+ retry_policy: @config.rpcs.start_distribution.retry_policy
1201
+
1202
+ options.apply_defaults timeout: @config.timeout,
1203
+ metadata: @config.metadata,
1204
+ retry_policy: @config.retry_policy
1205
+
1206
+ @livestream_service_stub.call_rpc :start_distribution, request, options: options do |response, operation|
1207
+ response = ::Gapic::Operation.new response, @operations_client, options: options
1208
+ yield response, operation if block_given?
1209
+ throw :response, response
1210
+ end
1211
+ rescue ::GRPC::BadStatus => e
1212
+ raise ::Google::Cloud::Error.from_error(e)
1213
+ end
1214
+
1215
+ ##
1216
+ # Stops the specified distribution.
1217
+ #
1218
+ # @overload stop_distribution(request, options = nil)
1219
+ # Pass arguments to `stop_distribution` via a request object, either of type
1220
+ # {::Google::Cloud::Video::LiveStream::V1::StopDistributionRequest} or an equivalent Hash.
1221
+ #
1222
+ # @param request [::Google::Cloud::Video::LiveStream::V1::StopDistributionRequest, ::Hash]
1223
+ # A request object representing the call parameters. Required. To specify no
1224
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
1225
+ # @param options [::Gapic::CallOptions, ::Hash]
1226
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
1227
+ #
1228
+ # @overload stop_distribution(name: nil, distribution_keys: nil, request_id: nil)
1229
+ # Pass arguments to `stop_distribution` via keyword arguments. Note that at
1230
+ # least one keyword argument is required. To specify no parameters, or to keep all
1231
+ # the default parameter values, pass an empty Hash as a request object (see above).
1232
+ #
1233
+ # @param name [::String]
1234
+ # Required. The name of the channel resource, in the form of:
1235
+ # `projects/{project}/locations/{location}/channels/{channelId}`.
1236
+ # @param distribution_keys [::Array<::String>]
1237
+ # Optional. A list of key to identify the distribution configuration in the
1238
+ # channel resource. If left empty, all the distributions in the channel
1239
+ # specification will be stopped.
1240
+ # @param request_id [::String]
1241
+ # Optional. A request ID to identify requests. Specify a unique request ID
1242
+ # so that if you must retry your request, the server will know to ignore
1243
+ # the request if it has already been completed. The server will guarantee
1244
+ # that for at least 60 minutes since the first request.
1245
+ #
1246
+ # For example, consider a situation where you make an initial request and the
1247
+ # request times out. If you make the request again with the same request ID,
1248
+ # the server can check if original operation with the same request ID was
1249
+ # received, and if so, will ignore the second request. This prevents clients
1250
+ # from accidentally creating duplicate commitments.
1251
+ #
1252
+ # The request ID must be a valid UUID with the exception that zero UUID is
1253
+ # not supported `(00000000-0000-0000-0000-000000000000)`.
1254
+ #
1255
+ # @yield [response, operation] Access the result along with the RPC operation
1256
+ # @yieldparam response [::Gapic::Operation]
1257
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
1258
+ #
1259
+ # @return [::Gapic::Operation]
1260
+ #
1261
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
1262
+ #
1263
+ # @example Basic example
1264
+ # require "google/cloud/video/live_stream/v1"
1265
+ #
1266
+ # # Create a client object. The client can be reused for multiple calls.
1267
+ # client = Google::Cloud::Video::LiveStream::V1::LivestreamService::Client.new
1268
+ #
1269
+ # # Create a request. To set request fields, pass in keyword arguments.
1270
+ # request = Google::Cloud::Video::LiveStream::V1::StopDistributionRequest.new
1271
+ #
1272
+ # # Call the stop_distribution method.
1273
+ # result = client.stop_distribution request
1274
+ #
1275
+ # # The returned object is of type Gapic::Operation. You can use it to
1276
+ # # check the status of an operation, cancel it, or wait for results.
1277
+ # # Here is how to wait for a response.
1278
+ # result.wait_until_done! timeout: 60
1279
+ # if result.response?
1280
+ # p result.response
1281
+ # else
1282
+ # puts "No response received."
1283
+ # end
1284
+ #
1285
+ def stop_distribution request, options = nil
1286
+ raise ::ArgumentError, "request must be provided" if request.nil?
1287
+
1288
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Video::LiveStream::V1::StopDistributionRequest
1289
+
1290
+ # Converts hash and nil to an options object
1291
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
1292
+
1293
+ # Customize the options with defaults
1294
+ metadata = @config.rpcs.stop_distribution.metadata.to_h
1295
+
1296
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1297
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1298
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
1299
+ gapic_version: ::Google::Cloud::Video::LiveStream::V1::VERSION
1300
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1301
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1302
+
1303
+ header_params = {}
1304
+ if request.name
1305
+ header_params["name"] = request.name
1306
+ end
1307
+
1308
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
1309
+ metadata[:"x-goog-request-params"] ||= request_params_header
1310
+
1311
+ options.apply_defaults timeout: @config.rpcs.stop_distribution.timeout,
1312
+ metadata: metadata,
1313
+ retry_policy: @config.rpcs.stop_distribution.retry_policy
1314
+
1315
+ options.apply_defaults timeout: @config.timeout,
1316
+ metadata: @config.metadata,
1317
+ retry_policy: @config.retry_policy
1318
+
1319
+ @livestream_service_stub.call_rpc :stop_distribution, request, options: options do |response, operation|
1320
+ response = ::Gapic::Operation.new response, @operations_client, options: options
1321
+ yield response, operation if block_given?
1322
+ throw :response, response
1323
+ end
1324
+ rescue ::GRPC::BadStatus => e
1325
+ raise ::Google::Cloud::Error.from_error(e)
1326
+ end
1327
+
1066
1328
  ##
1067
1329
  # Creates an input with the provided unique ID in the specified region.
1068
1330
  #
@@ -1088,8 +1350,11 @@ module Google
1088
1350
  # Required. The input resource to be created.
1089
1351
  # @param input_id [::String]
1090
1352
  # Required. The ID of the input resource to be created.
1091
- # This value must be 1-63 characters, begin and end with `[a-z0-9]`,
1092
- # could contain dashes (-) in between.
1353
+ #
1354
+ # This value must be 1-63 characters, begin and end with a lower-case letter
1355
+ # or a number, and consist of only lower-case letters, numbers, and hyphens.
1356
+ # In other words, it must match the following regex:
1357
+ # `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`.
1093
1358
  # @param request_id [::String]
1094
1359
  # A request ID to identify requests. Specify a unique request ID
1095
1360
  # so that if you must retry your request, the server will know to ignore
@@ -1600,6 +1865,92 @@ module Google
1600
1865
  raise ::Google::Cloud::Error.from_error(e)
1601
1866
  end
1602
1867
 
1868
+ ##
1869
+ # Preview the streaming content of the specified input.
1870
+ #
1871
+ # @overload preview_input(request, options = nil)
1872
+ # Pass arguments to `preview_input` via a request object, either of type
1873
+ # {::Google::Cloud::Video::LiveStream::V1::PreviewInputRequest} or an equivalent Hash.
1874
+ #
1875
+ # @param request [::Google::Cloud::Video::LiveStream::V1::PreviewInputRequest, ::Hash]
1876
+ # A request object representing the call parameters. Required. To specify no
1877
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
1878
+ # @param options [::Gapic::CallOptions, ::Hash]
1879
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
1880
+ #
1881
+ # @overload preview_input(name: nil)
1882
+ # Pass arguments to `preview_input` via keyword arguments. Note that at
1883
+ # least one keyword argument is required. To specify no parameters, or to keep all
1884
+ # the default parameter values, pass an empty Hash as a request object (see above).
1885
+ #
1886
+ # @param name [::String]
1887
+ # Required. The name of the input resource, in the form of:
1888
+ # `projects/{project}/locations/{location}/inputs/{inputId}`.
1889
+ #
1890
+ # @yield [response, operation] Access the result along with the RPC operation
1891
+ # @yieldparam response [::Google::Cloud::Video::LiveStream::V1::PreviewInputResponse]
1892
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
1893
+ #
1894
+ # @return [::Google::Cloud::Video::LiveStream::V1::PreviewInputResponse]
1895
+ #
1896
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
1897
+ #
1898
+ # @example Basic example
1899
+ # require "google/cloud/video/live_stream/v1"
1900
+ #
1901
+ # # Create a client object. The client can be reused for multiple calls.
1902
+ # client = Google::Cloud::Video::LiveStream::V1::LivestreamService::Client.new
1903
+ #
1904
+ # # Create a request. To set request fields, pass in keyword arguments.
1905
+ # request = Google::Cloud::Video::LiveStream::V1::PreviewInputRequest.new
1906
+ #
1907
+ # # Call the preview_input method.
1908
+ # result = client.preview_input request
1909
+ #
1910
+ # # The returned object is of type Google::Cloud::Video::LiveStream::V1::PreviewInputResponse.
1911
+ # p result
1912
+ #
1913
+ def preview_input request, options = nil
1914
+ raise ::ArgumentError, "request must be provided" if request.nil?
1915
+
1916
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Video::LiveStream::V1::PreviewInputRequest
1917
+
1918
+ # Converts hash and nil to an options object
1919
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
1920
+
1921
+ # Customize the options with defaults
1922
+ metadata = @config.rpcs.preview_input.metadata.to_h
1923
+
1924
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1925
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1926
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
1927
+ gapic_version: ::Google::Cloud::Video::LiveStream::V1::VERSION
1928
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1929
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1930
+
1931
+ header_params = {}
1932
+ if request.name
1933
+ header_params["name"] = request.name
1934
+ end
1935
+
1936
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
1937
+ metadata[:"x-goog-request-params"] ||= request_params_header
1938
+
1939
+ options.apply_defaults timeout: @config.rpcs.preview_input.timeout,
1940
+ metadata: metadata,
1941
+ retry_policy: @config.rpcs.preview_input.retry_policy
1942
+
1943
+ options.apply_defaults timeout: @config.timeout,
1944
+ metadata: @config.metadata,
1945
+ retry_policy: @config.retry_policy
1946
+
1947
+ @livestream_service_stub.call_rpc :preview_input, request, options: options do |response, operation|
1948
+ yield response, operation if block_given?
1949
+ end
1950
+ rescue ::GRPC::BadStatus => e
1951
+ raise ::Google::Cloud::Error.from_error(e)
1952
+ end
1953
+
1603
1954
  ##
1604
1955
  # Creates an event with the provided unique ID in the specified channel.
1605
1956
  #
@@ -1625,8 +1976,11 @@ module Google
1625
1976
  # Required. The event resource to be created.
1626
1977
  # @param event_id [::String]
1627
1978
  # Required. The ID of the event resource to be created.
1628
- # This value must be 1-63 characters, begin and end with `[a-z0-9]`,
1629
- # could contain dashes (-) in between.
1979
+ #
1980
+ # This value must be 1-63 characters, begin and end with a lower-case letter
1981
+ # or a number, and consist of only lower-case letters, numbers, and hyphens.
1982
+ # In other words, it must match the following regex:
1983
+ # `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`.
1630
1984
  # @param request_id [::String]
1631
1985
  # A request ID to identify requests. Specify a unique request ID
1632
1986
  # so that if you must retry your request, the server will know to ignore
@@ -2205,10 +2559,12 @@ module Google
2205
2559
  # Required. The parent resource name, in the following form:
2206
2560
  # `projects/{project}/locations/{location}/channels/{channel}`.
2207
2561
  # @param clip_id [::String]
2208
- # Required. Id of the requesting object in the following form:
2562
+ # Required. The ID of the clip resource to be created.
2209
2563
  #
2210
- # 1. 1 character minimum, 63 characters maximum
2211
- # 2. Only contains letters, digits, underscores, and hyphens
2564
+ # This value must be 1-63 characters, begin and end with a lower-case letter
2565
+ # or a number, and consist of only lower-case letters, numbers, and hyphens.
2566
+ # In other words, it must match the following regex:
2567
+ # `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`.
2212
2568
  # @param clip [::Google::Cloud::Video::LiveStream::V1::Clip, ::Hash]
2213
2569
  # Required. The resource being created
2214
2570
  # @param request_id [::String]
@@ -2431,10 +2787,12 @@ module Google
2431
2787
  # Required. The parent resource name, in the following form:
2432
2788
  # `projects/{project}/locations/{location}/channels/{channelId}`.
2433
2789
  # @param dvr_session_id [::String]
2434
- # Required. Id of the requesting object in the following form:
2790
+ # Required. The ID of the DVR session resource to be created.
2435
2791
  #
2436
- # 1. 1 character minimum, 63 characters maximum
2437
- # 2. Only contains letters, digits, underscores, and hyphens
2792
+ # This value must be 1-63 characters, begin and end with a lower-case letter
2793
+ # or a number, and consist of only lower-case letters, numbers, and hyphens.
2794
+ # In other words, it must match the following regex:
2795
+ # `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`.
2438
2796
  # @param dvr_session [::Google::Cloud::Video::LiveStream::V1::DvrSession, ::Hash]
2439
2797
  # Required. The resource being created
2440
2798
  # @param request_id [::String]
@@ -2963,8 +3321,11 @@ module Google
2963
3321
  # Required. The asset resource to be created.
2964
3322
  # @param asset_id [::String]
2965
3323
  # Required. The ID of the asset resource to be created.
2966
- # This value must be 1-63 characters, begin and end with `[a-z0-9]`,
2967
- # could contain dashes (-) in between.
3324
+ #
3325
+ # This value must be 1-63 characters, begin and end with a lower-case letter
3326
+ # or a number, and consist of only lower-case letters, numbers, and hyphens.
3327
+ # In other words, it must match the following regex:
3328
+ # `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`.
2968
3329
  # @param request_id [::String]
2969
3330
  # A request ID to identify requests. Specify a unique request ID
2970
3331
  # so that if you must retry your request, the server will know to ignore
@@ -3753,6 +4114,16 @@ module Google
3753
4114
  #
3754
4115
  attr_reader :stop_channel
3755
4116
  ##
4117
+ # RPC-specific configuration for `start_distribution`
4118
+ # @return [::Gapic::Config::Method]
4119
+ #
4120
+ attr_reader :start_distribution
4121
+ ##
4122
+ # RPC-specific configuration for `stop_distribution`
4123
+ # @return [::Gapic::Config::Method]
4124
+ #
4125
+ attr_reader :stop_distribution
4126
+ ##
3756
4127
  # RPC-specific configuration for `create_input`
3757
4128
  # @return [::Gapic::Config::Method]
3758
4129
  #
@@ -3778,6 +4149,11 @@ module Google
3778
4149
  #
3779
4150
  attr_reader :update_input
3780
4151
  ##
4152
+ # RPC-specific configuration for `preview_input`
4153
+ # @return [::Gapic::Config::Method]
4154
+ #
4155
+ attr_reader :preview_input
4156
+ ##
3781
4157
  # RPC-specific configuration for `create_event`
3782
4158
  # @return [::Gapic::Config::Method]
3783
4159
  #
@@ -3889,6 +4265,10 @@ module Google
3889
4265
  @start_channel = ::Gapic::Config::Method.new start_channel_config
3890
4266
  stop_channel_config = parent_rpcs.stop_channel if parent_rpcs.respond_to? :stop_channel
3891
4267
  @stop_channel = ::Gapic::Config::Method.new stop_channel_config
4268
+ start_distribution_config = parent_rpcs.start_distribution if parent_rpcs.respond_to? :start_distribution
4269
+ @start_distribution = ::Gapic::Config::Method.new start_distribution_config
4270
+ stop_distribution_config = parent_rpcs.stop_distribution if parent_rpcs.respond_to? :stop_distribution
4271
+ @stop_distribution = ::Gapic::Config::Method.new stop_distribution_config
3892
4272
  create_input_config = parent_rpcs.create_input if parent_rpcs.respond_to? :create_input
3893
4273
  @create_input = ::Gapic::Config::Method.new create_input_config
3894
4274
  list_inputs_config = parent_rpcs.list_inputs if parent_rpcs.respond_to? :list_inputs
@@ -3899,6 +4279,8 @@ module Google
3899
4279
  @delete_input = ::Gapic::Config::Method.new delete_input_config
3900
4280
  update_input_config = parent_rpcs.update_input if parent_rpcs.respond_to? :update_input
3901
4281
  @update_input = ::Gapic::Config::Method.new update_input_config
4282
+ preview_input_config = parent_rpcs.preview_input if parent_rpcs.respond_to? :preview_input
4283
+ @preview_input = ::Gapic::Config::Method.new preview_input_config
3902
4284
  create_event_config = parent_rpcs.create_event if parent_rpcs.respond_to? :create_event
3903
4285
  @create_event = ::Gapic::Config::Method.new create_event_config
3904
4286
  list_events_config = parent_rpcs.list_events if parent_rpcs.respond_to? :list_events