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.
@@ -98,6 +98,10 @@ module Google
98
98
 
99
99
  default_config.rpcs.stop_channel.timeout = 60.0
100
100
 
101
+ default_config.rpcs.start_distribution.timeout = 60.0
102
+
103
+ default_config.rpcs.stop_distribution.timeout = 60.0
104
+
101
105
  default_config.rpcs.create_input.timeout = 60.0
102
106
 
103
107
  default_config.rpcs.list_inputs.timeout = 60.0
@@ -114,6 +118,8 @@ module Google
114
118
 
115
119
  default_config.rpcs.update_input.timeout = 60.0
116
120
 
121
+ default_config.rpcs.preview_input.timeout = 60.0
122
+
117
123
  default_config.rpcs.create_event.timeout = 60.0
118
124
 
119
125
  default_config.rpcs.list_events.timeout = 60.0
@@ -138,6 +144,30 @@ module Google
138
144
  initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14]
139
145
  }
140
146
 
147
+ default_config.rpcs.create_clip.timeout = 60.0
148
+
149
+ default_config.rpcs.delete_clip.timeout = 60.0
150
+
151
+ default_config.rpcs.create_dvr_session.timeout = 60.0
152
+
153
+ default_config.rpcs.list_dvr_sessions.timeout = 60.0
154
+ default_config.rpcs.list_dvr_sessions.retry_policy = {
155
+ initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14]
156
+ }
157
+
158
+ default_config.rpcs.get_dvr_session.timeout = 60.0
159
+ default_config.rpcs.get_dvr_session.retry_policy = {
160
+ initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14]
161
+ }
162
+
163
+ default_config.rpcs.delete_dvr_session.timeout = 60.0
164
+
165
+ default_config.rpcs.update_dvr_session.timeout = 60.0
166
+
167
+ default_config.rpcs.create_asset.timeout = 60.0
168
+
169
+ default_config.rpcs.delete_asset.timeout = 60.0
170
+
141
171
  default_config.rpcs.get_asset.timeout = 60.0
142
172
  default_config.rpcs.get_asset.retry_policy = {
143
173
  initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14]
@@ -153,6 +183,8 @@ module Google
153
183
  initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14]
154
184
  }
155
185
 
186
+ default_config.rpcs.update_pool.timeout = 60.0
187
+
156
188
  default_config
157
189
  end
158
190
  yield @configure if block_given?
@@ -313,8 +345,11 @@ module Google
313
345
  # Required. The channel resource to be created.
314
346
  # @param channel_id [::String]
315
347
  # Required. The ID of the channel resource to be created.
316
- # This value must be 1-63 characters, begin and end with `[a-z0-9]`,
317
- # could contain dashes (-) in between.
348
+ #
349
+ # This value must be 1-63 characters, begin and end with a lower-case letter
350
+ # or a number, and consist of only lower-case letters, numbers, and hyphens.
351
+ # In other words, it must match the following regex:
352
+ # `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`.
318
353
  # @param request_id [::String]
319
354
  # A request ID to identify requests. Specify a unique request ID
320
355
  # so that if you must retry your request, the server will know to ignore
@@ -1008,6 +1043,219 @@ module Google
1008
1043
  raise ::Google::Cloud::Error.from_error(e)
1009
1044
  end
1010
1045
 
1046
+ ##
1047
+ # Starts distribution which delivers outputs to the destination indicated by
1048
+ # the Distribution configuration.
1049
+ #
1050
+ # @overload start_distribution(request, options = nil)
1051
+ # Pass arguments to `start_distribution` via a request object, either of type
1052
+ # {::Google::Cloud::Video::LiveStream::V1::StartDistributionRequest} or an equivalent Hash.
1053
+ #
1054
+ # @param request [::Google::Cloud::Video::LiveStream::V1::StartDistributionRequest, ::Hash]
1055
+ # A request object representing the call parameters. Required. To specify no
1056
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
1057
+ # @param options [::Gapic::CallOptions, ::Hash]
1058
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1059
+ #
1060
+ # @overload start_distribution(name: nil, distribution_keys: nil, request_id: nil)
1061
+ # Pass arguments to `start_distribution` via keyword arguments. Note that at
1062
+ # least one keyword argument is required. To specify no parameters, or to keep all
1063
+ # the default parameter values, pass an empty Hash as a request object (see above).
1064
+ #
1065
+ # @param name [::String]
1066
+ # Required. The name of the channel resource, in the form of:
1067
+ # `projects/{project}/locations/{location}/channels/{channelId}`.
1068
+ # @param distribution_keys [::Array<::String>]
1069
+ # Optional. A list of keys to identify the distribution configuration in the
1070
+ # channel resource. If left empty, all the distributions in the channel
1071
+ # specification will be started.
1072
+ # @param request_id [::String]
1073
+ # Optional. A request ID to identify requests. Specify a unique request ID
1074
+ # so that if you must retry your request, the server will know to ignore
1075
+ # the request if it has already been completed. The server will guarantee
1076
+ # that for at least 60 minutes since the first request.
1077
+ #
1078
+ # For example, consider a situation where you make an initial request and the
1079
+ # request times out. If you make the request again with the same request ID,
1080
+ # the server can check if original operation with the same request ID was
1081
+ # received, and if so, will ignore the second request. This prevents clients
1082
+ # from accidentally creating duplicate commitments.
1083
+ #
1084
+ # The request ID must be a valid UUID with the exception that zero UUID is
1085
+ # not supported `(00000000-0000-0000-0000-000000000000)`.
1086
+ # @yield [result, operation] Access the result along with the TransportOperation object
1087
+ # @yieldparam result [::Gapic::Operation]
1088
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1089
+ #
1090
+ # @return [::Gapic::Operation]
1091
+ #
1092
+ # @raise [::Google::Cloud::Error] if the REST call is aborted.
1093
+ #
1094
+ # @example Basic example
1095
+ # require "google/cloud/video/live_stream/v1"
1096
+ #
1097
+ # # Create a client object. The client can be reused for multiple calls.
1098
+ # client = Google::Cloud::Video::LiveStream::V1::LivestreamService::Rest::Client.new
1099
+ #
1100
+ # # Create a request. To set request fields, pass in keyword arguments.
1101
+ # request = Google::Cloud::Video::LiveStream::V1::StartDistributionRequest.new
1102
+ #
1103
+ # # Call the start_distribution method.
1104
+ # result = client.start_distribution request
1105
+ #
1106
+ # # The returned object is of type Gapic::Operation. You can use it to
1107
+ # # check the status of an operation, cancel it, or wait for results.
1108
+ # # Here is how to wait for a response.
1109
+ # result.wait_until_done! timeout: 60
1110
+ # if result.response?
1111
+ # p result.response
1112
+ # else
1113
+ # puts "No response received."
1114
+ # end
1115
+ #
1116
+ def start_distribution request, options = nil
1117
+ raise ::ArgumentError, "request must be provided" if request.nil?
1118
+
1119
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Video::LiveStream::V1::StartDistributionRequest
1120
+
1121
+ # Converts hash and nil to an options object
1122
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
1123
+
1124
+ # Customize the options with defaults
1125
+ call_metadata = @config.rpcs.start_distribution.metadata.to_h
1126
+
1127
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1128
+ call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1129
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
1130
+ gapic_version: ::Google::Cloud::Video::LiveStream::V1::VERSION,
1131
+ transports_version_send: [:rest]
1132
+
1133
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1134
+ call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1135
+
1136
+ options.apply_defaults timeout: @config.rpcs.start_distribution.timeout,
1137
+ metadata: call_metadata,
1138
+ retry_policy: @config.rpcs.start_distribution.retry_policy
1139
+
1140
+ options.apply_defaults timeout: @config.timeout,
1141
+ metadata: @config.metadata,
1142
+ retry_policy: @config.retry_policy
1143
+
1144
+ @livestream_service_stub.start_distribution request, options do |result, operation|
1145
+ result = ::Gapic::Operation.new result, @operations_client, options: options
1146
+ yield result, operation if block_given?
1147
+ throw :response, result
1148
+ end
1149
+ rescue ::Gapic::Rest::Error => e
1150
+ raise ::Google::Cloud::Error.from_error(e)
1151
+ end
1152
+
1153
+ ##
1154
+ # Stops the specified distribution.
1155
+ #
1156
+ # @overload stop_distribution(request, options = nil)
1157
+ # Pass arguments to `stop_distribution` via a request object, either of type
1158
+ # {::Google::Cloud::Video::LiveStream::V1::StopDistributionRequest} or an equivalent Hash.
1159
+ #
1160
+ # @param request [::Google::Cloud::Video::LiveStream::V1::StopDistributionRequest, ::Hash]
1161
+ # A request object representing the call parameters. Required. To specify no
1162
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
1163
+ # @param options [::Gapic::CallOptions, ::Hash]
1164
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1165
+ #
1166
+ # @overload stop_distribution(name: nil, distribution_keys: nil, request_id: nil)
1167
+ # Pass arguments to `stop_distribution` via keyword arguments. Note that at
1168
+ # least one keyword argument is required. To specify no parameters, or to keep all
1169
+ # the default parameter values, pass an empty Hash as a request object (see above).
1170
+ #
1171
+ # @param name [::String]
1172
+ # Required. The name of the channel resource, in the form of:
1173
+ # `projects/{project}/locations/{location}/channels/{channelId}`.
1174
+ # @param distribution_keys [::Array<::String>]
1175
+ # Optional. A list of key to identify the distribution configuration in the
1176
+ # channel resource. If left empty, all the distributions in the channel
1177
+ # specification will be stopped.
1178
+ # @param request_id [::String]
1179
+ # Optional. A request ID to identify requests. Specify a unique request ID
1180
+ # so that if you must retry your request, the server will know to ignore
1181
+ # the request if it has already been completed. The server will guarantee
1182
+ # that for at least 60 minutes since the first request.
1183
+ #
1184
+ # For example, consider a situation where you make an initial request and the
1185
+ # request times out. If you make the request again with the same request ID,
1186
+ # the server can check if original operation with the same request ID was
1187
+ # received, and if so, will ignore the second request. This prevents clients
1188
+ # from accidentally creating duplicate commitments.
1189
+ #
1190
+ # The request ID must be a valid UUID with the exception that zero UUID is
1191
+ # not supported `(00000000-0000-0000-0000-000000000000)`.
1192
+ # @yield [result, operation] Access the result along with the TransportOperation object
1193
+ # @yieldparam result [::Gapic::Operation]
1194
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1195
+ #
1196
+ # @return [::Gapic::Operation]
1197
+ #
1198
+ # @raise [::Google::Cloud::Error] if the REST call is aborted.
1199
+ #
1200
+ # @example Basic example
1201
+ # require "google/cloud/video/live_stream/v1"
1202
+ #
1203
+ # # Create a client object. The client can be reused for multiple calls.
1204
+ # client = Google::Cloud::Video::LiveStream::V1::LivestreamService::Rest::Client.new
1205
+ #
1206
+ # # Create a request. To set request fields, pass in keyword arguments.
1207
+ # request = Google::Cloud::Video::LiveStream::V1::StopDistributionRequest.new
1208
+ #
1209
+ # # Call the stop_distribution method.
1210
+ # result = client.stop_distribution request
1211
+ #
1212
+ # # The returned object is of type Gapic::Operation. You can use it to
1213
+ # # check the status of an operation, cancel it, or wait for results.
1214
+ # # Here is how to wait for a response.
1215
+ # result.wait_until_done! timeout: 60
1216
+ # if result.response?
1217
+ # p result.response
1218
+ # else
1219
+ # puts "No response received."
1220
+ # end
1221
+ #
1222
+ def stop_distribution request, options = nil
1223
+ raise ::ArgumentError, "request must be provided" if request.nil?
1224
+
1225
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Video::LiveStream::V1::StopDistributionRequest
1226
+
1227
+ # Converts hash and nil to an options object
1228
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
1229
+
1230
+ # Customize the options with defaults
1231
+ call_metadata = @config.rpcs.stop_distribution.metadata.to_h
1232
+
1233
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1234
+ call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1235
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
1236
+ gapic_version: ::Google::Cloud::Video::LiveStream::V1::VERSION,
1237
+ transports_version_send: [:rest]
1238
+
1239
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1240
+ call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1241
+
1242
+ options.apply_defaults timeout: @config.rpcs.stop_distribution.timeout,
1243
+ metadata: call_metadata,
1244
+ retry_policy: @config.rpcs.stop_distribution.retry_policy
1245
+
1246
+ options.apply_defaults timeout: @config.timeout,
1247
+ metadata: @config.metadata,
1248
+ retry_policy: @config.retry_policy
1249
+
1250
+ @livestream_service_stub.stop_distribution request, options do |result, operation|
1251
+ result = ::Gapic::Operation.new result, @operations_client, options: options
1252
+ yield result, operation if block_given?
1253
+ throw :response, result
1254
+ end
1255
+ rescue ::Gapic::Rest::Error => e
1256
+ raise ::Google::Cloud::Error.from_error(e)
1257
+ end
1258
+
1011
1259
  ##
1012
1260
  # Creates an input with the provided unique ID in the specified region.
1013
1261
  #
@@ -1033,8 +1281,11 @@ module Google
1033
1281
  # Required. The input resource to be created.
1034
1282
  # @param input_id [::String]
1035
1283
  # Required. The ID of the input resource to be created.
1036
- # This value must be 1-63 characters, begin and end with `[a-z0-9]`,
1037
- # could contain dashes (-) in between.
1284
+ #
1285
+ # This value must be 1-63 characters, begin and end with a lower-case letter
1286
+ # or a number, and consist of only lower-case letters, numbers, and hyphens.
1287
+ # In other words, it must match the following regex:
1288
+ # `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`.
1038
1289
  # @param request_id [::String]
1039
1290
  # A request ID to identify requests. Specify a unique request ID
1040
1291
  # so that if you must retry your request, the server will know to ignore
@@ -1510,6 +1761,85 @@ module Google
1510
1761
  raise ::Google::Cloud::Error.from_error(e)
1511
1762
  end
1512
1763
 
1764
+ ##
1765
+ # Preview the streaming content of the specified input.
1766
+ #
1767
+ # @overload preview_input(request, options = nil)
1768
+ # Pass arguments to `preview_input` via a request object, either of type
1769
+ # {::Google::Cloud::Video::LiveStream::V1::PreviewInputRequest} or an equivalent Hash.
1770
+ #
1771
+ # @param request [::Google::Cloud::Video::LiveStream::V1::PreviewInputRequest, ::Hash]
1772
+ # A request object representing the call parameters. Required. To specify no
1773
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
1774
+ # @param options [::Gapic::CallOptions, ::Hash]
1775
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1776
+ #
1777
+ # @overload preview_input(name: nil)
1778
+ # Pass arguments to `preview_input` via keyword arguments. Note that at
1779
+ # least one keyword argument is required. To specify no parameters, or to keep all
1780
+ # the default parameter values, pass an empty Hash as a request object (see above).
1781
+ #
1782
+ # @param name [::String]
1783
+ # Required. The name of the input resource, in the form of:
1784
+ # `projects/{project}/locations/{location}/inputs/{inputId}`.
1785
+ # @yield [result, operation] Access the result along with the TransportOperation object
1786
+ # @yieldparam result [::Google::Cloud::Video::LiveStream::V1::PreviewInputResponse]
1787
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1788
+ #
1789
+ # @return [::Google::Cloud::Video::LiveStream::V1::PreviewInputResponse]
1790
+ #
1791
+ # @raise [::Google::Cloud::Error] if the REST call is aborted.
1792
+ #
1793
+ # @example Basic example
1794
+ # require "google/cloud/video/live_stream/v1"
1795
+ #
1796
+ # # Create a client object. The client can be reused for multiple calls.
1797
+ # client = Google::Cloud::Video::LiveStream::V1::LivestreamService::Rest::Client.new
1798
+ #
1799
+ # # Create a request. To set request fields, pass in keyword arguments.
1800
+ # request = Google::Cloud::Video::LiveStream::V1::PreviewInputRequest.new
1801
+ #
1802
+ # # Call the preview_input method.
1803
+ # result = client.preview_input request
1804
+ #
1805
+ # # The returned object is of type Google::Cloud::Video::LiveStream::V1::PreviewInputResponse.
1806
+ # p result
1807
+ #
1808
+ def preview_input request, options = nil
1809
+ raise ::ArgumentError, "request must be provided" if request.nil?
1810
+
1811
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Video::LiveStream::V1::PreviewInputRequest
1812
+
1813
+ # Converts hash and nil to an options object
1814
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
1815
+
1816
+ # Customize the options with defaults
1817
+ call_metadata = @config.rpcs.preview_input.metadata.to_h
1818
+
1819
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1820
+ call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1821
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
1822
+ gapic_version: ::Google::Cloud::Video::LiveStream::V1::VERSION,
1823
+ transports_version_send: [:rest]
1824
+
1825
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1826
+ call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1827
+
1828
+ options.apply_defaults timeout: @config.rpcs.preview_input.timeout,
1829
+ metadata: call_metadata,
1830
+ retry_policy: @config.rpcs.preview_input.retry_policy
1831
+
1832
+ options.apply_defaults timeout: @config.timeout,
1833
+ metadata: @config.metadata,
1834
+ retry_policy: @config.retry_policy
1835
+
1836
+ @livestream_service_stub.preview_input request, options do |result, operation|
1837
+ yield result, operation if block_given?
1838
+ end
1839
+ rescue ::Gapic::Rest::Error => e
1840
+ raise ::Google::Cloud::Error.from_error(e)
1841
+ end
1842
+
1513
1843
  ##
1514
1844
  # Creates an event with the provided unique ID in the specified channel.
1515
1845
  #
@@ -1535,8 +1865,11 @@ module Google
1535
1865
  # Required. The event resource to be created.
1536
1866
  # @param event_id [::String]
1537
1867
  # Required. The ID of the event resource to be created.
1538
- # This value must be 1-63 characters, begin and end with `[a-z0-9]`,
1539
- # could contain dashes (-) in between.
1868
+ #
1869
+ # This value must be 1-63 characters, begin and end with a lower-case letter
1870
+ # or a number, and consist of only lower-case letters, numbers, and hyphens.
1871
+ # In other words, it must match the following regex:
1872
+ # `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`.
1540
1873
  # @param request_id [::String]
1541
1874
  # A request ID to identify requests. Specify a unique request ID
1542
1875
  # so that if you must retry your request, the server will know to ignore
@@ -2073,10 +2406,12 @@ module Google
2073
2406
  # Required. The parent resource name, in the following form:
2074
2407
  # `projects/{project}/locations/{location}/channels/{channel}`.
2075
2408
  # @param clip_id [::String]
2076
- # Required. Id of the requesting object in the following form:
2409
+ # Required. The ID of the clip resource to be created.
2077
2410
  #
2078
- # 1. 1 character minimum, 63 characters maximum
2079
- # 2. Only contains letters, digits, underscores, and hyphens
2411
+ # This value must be 1-63 characters, begin and end with a lower-case letter
2412
+ # or a number, and consist of only lower-case letters, numbers, and hyphens.
2413
+ # In other words, it must match the following regex:
2414
+ # `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`.
2080
2415
  # @param clip [::Google::Cloud::Video::LiveStream::V1::Clip, ::Hash]
2081
2416
  # Required. The resource being created
2082
2417
  # @param request_id [::String]
@@ -2285,10 +2620,12 @@ module Google
2285
2620
  # Required. The parent resource name, in the following form:
2286
2621
  # `projects/{project}/locations/{location}/channels/{channelId}`.
2287
2622
  # @param dvr_session_id [::String]
2288
- # Required. Id of the requesting object in the following form:
2623
+ # Required. The ID of the DVR session resource to be created.
2289
2624
  #
2290
- # 1. 1 character minimum, 63 characters maximum
2291
- # 2. Only contains letters, digits, underscores, and hyphens
2625
+ # This value must be 1-63 characters, begin and end with a lower-case letter
2626
+ # or a number, and consist of only lower-case letters, numbers, and hyphens.
2627
+ # In other words, it must match the following regex:
2628
+ # `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`.
2292
2629
  # @param dvr_session [::Google::Cloud::Video::LiveStream::V1::DvrSession, ::Hash]
2293
2630
  # Required. The resource being created
2294
2631
  # @param request_id [::String]
@@ -2782,8 +3119,11 @@ module Google
2782
3119
  # Required. The asset resource to be created.
2783
3120
  # @param asset_id [::String]
2784
3121
  # Required. The ID of the asset resource to be created.
2785
- # This value must be 1-63 characters, begin and end with `[a-z0-9]`,
2786
- # could contain dashes (-) in between.
3122
+ #
3123
+ # This value must be 1-63 characters, begin and end with a lower-case letter
3124
+ # or a number, and consist of only lower-case letters, numbers, and hyphens.
3125
+ # In other words, it must match the following regex:
3126
+ # `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`.
2787
3127
  # @param request_id [::String]
2788
3128
  # A request ID to identify requests. Specify a unique request ID
2789
3129
  # so that if you must retry your request, the server will know to ignore
@@ -3517,6 +3857,16 @@ module Google
3517
3857
  #
3518
3858
  attr_reader :stop_channel
3519
3859
  ##
3860
+ # RPC-specific configuration for `start_distribution`
3861
+ # @return [::Gapic::Config::Method]
3862
+ #
3863
+ attr_reader :start_distribution
3864
+ ##
3865
+ # RPC-specific configuration for `stop_distribution`
3866
+ # @return [::Gapic::Config::Method]
3867
+ #
3868
+ attr_reader :stop_distribution
3869
+ ##
3520
3870
  # RPC-specific configuration for `create_input`
3521
3871
  # @return [::Gapic::Config::Method]
3522
3872
  #
@@ -3542,6 +3892,11 @@ module Google
3542
3892
  #
3543
3893
  attr_reader :update_input
3544
3894
  ##
3895
+ # RPC-specific configuration for `preview_input`
3896
+ # @return [::Gapic::Config::Method]
3897
+ #
3898
+ attr_reader :preview_input
3899
+ ##
3545
3900
  # RPC-specific configuration for `create_event`
3546
3901
  # @return [::Gapic::Config::Method]
3547
3902
  #
@@ -3653,6 +4008,10 @@ module Google
3653
4008
  @start_channel = ::Gapic::Config::Method.new start_channel_config
3654
4009
  stop_channel_config = parent_rpcs.stop_channel if parent_rpcs.respond_to? :stop_channel
3655
4010
  @stop_channel = ::Gapic::Config::Method.new stop_channel_config
4011
+ start_distribution_config = parent_rpcs.start_distribution if parent_rpcs.respond_to? :start_distribution
4012
+ @start_distribution = ::Gapic::Config::Method.new start_distribution_config
4013
+ stop_distribution_config = parent_rpcs.stop_distribution if parent_rpcs.respond_to? :stop_distribution
4014
+ @stop_distribution = ::Gapic::Config::Method.new stop_distribution_config
3656
4015
  create_input_config = parent_rpcs.create_input if parent_rpcs.respond_to? :create_input
3657
4016
  @create_input = ::Gapic::Config::Method.new create_input_config
3658
4017
  list_inputs_config = parent_rpcs.list_inputs if parent_rpcs.respond_to? :list_inputs
@@ -3663,6 +4022,8 @@ module Google
3663
4022
  @delete_input = ::Gapic::Config::Method.new delete_input_config
3664
4023
  update_input_config = parent_rpcs.update_input if parent_rpcs.respond_to? :update_input
3665
4024
  @update_input = ::Gapic::Config::Method.new update_input_config
4025
+ preview_input_config = parent_rpcs.preview_input if parent_rpcs.respond_to? :preview_input
4026
+ @preview_input = ::Gapic::Config::Method.new preview_input_config
3666
4027
  create_event_config = parent_rpcs.create_event if parent_rpcs.respond_to? :create_event
3667
4028
  @create_event = ::Gapic::Config::Method.new create_event_config
3668
4029
  list_events_config = parent_rpcs.list_events if parent_rpcs.respond_to? :list_events