google-apis-dataflow_v1b3 0.81.0 → 0.83.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.
|
@@ -51,6 +51,338 @@ module Google
|
|
|
51
51
|
@batch_path = 'batch'
|
|
52
52
|
end
|
|
53
53
|
|
|
54
|
+
# Creates a new ConfigStoreSetting.
|
|
55
|
+
# @param [String] parent
|
|
56
|
+
# Required. The parent resource where this setting will be created.
|
|
57
|
+
# @param [Google::Apis::DataflowV1b3::ConfigStoreSetting] config_store_setting_object
|
|
58
|
+
# @param [String] config_store_setting_id
|
|
59
|
+
# Required. The ID to use for the setting.
|
|
60
|
+
# @param [String] fields
|
|
61
|
+
# Selector specifying which fields to include in a partial response.
|
|
62
|
+
# @param [String] quota_user
|
|
63
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
64
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
65
|
+
# @param [Google::Apis::RequestOptions] options
|
|
66
|
+
# Request-specific options
|
|
67
|
+
#
|
|
68
|
+
# @yield [result, err] Result & error if block supplied
|
|
69
|
+
# @yieldparam result [Google::Apis::DataflowV1b3::ConfigStoreSetting] parsed result object
|
|
70
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
71
|
+
#
|
|
72
|
+
# @return [Google::Apis::DataflowV1b3::ConfigStoreSetting]
|
|
73
|
+
#
|
|
74
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
75
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
76
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
77
|
+
def create_folder_location_config_store_setting(parent, config_store_setting_object = nil, config_store_setting_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
78
|
+
command = make_simple_command(:post, 'v1b3/{+parent}/configStoreSettings', options)
|
|
79
|
+
command.request_representation = Google::Apis::DataflowV1b3::ConfigStoreSetting::Representation
|
|
80
|
+
command.request_object = config_store_setting_object
|
|
81
|
+
command.response_representation = Google::Apis::DataflowV1b3::ConfigStoreSetting::Representation
|
|
82
|
+
command.response_class = Google::Apis::DataflowV1b3::ConfigStoreSetting
|
|
83
|
+
command.params['parent'] = parent unless parent.nil?
|
|
84
|
+
command.query['configStoreSettingId'] = config_store_setting_id unless config_store_setting_id.nil?
|
|
85
|
+
command.query['fields'] = fields unless fields.nil?
|
|
86
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
87
|
+
execute_or_queue_command(command, &block)
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
# Deletes an existing ConfigStoreSetting.
|
|
91
|
+
# @param [String] name
|
|
92
|
+
# Required. The name of the ConfigStoreSetting to delete.
|
|
93
|
+
# @param [String] fields
|
|
94
|
+
# Selector specifying which fields to include in a partial response.
|
|
95
|
+
# @param [String] quota_user
|
|
96
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
97
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
98
|
+
# @param [Google::Apis::RequestOptions] options
|
|
99
|
+
# Request-specific options
|
|
100
|
+
#
|
|
101
|
+
# @yield [result, err] Result & error if block supplied
|
|
102
|
+
# @yieldparam result [Google::Apis::DataflowV1b3::Empty] parsed result object
|
|
103
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
104
|
+
#
|
|
105
|
+
# @return [Google::Apis::DataflowV1b3::Empty]
|
|
106
|
+
#
|
|
107
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
108
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
109
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
110
|
+
def delete_folder_location_config_store_setting(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
111
|
+
command = make_simple_command(:delete, 'v1b3/{+name}', options)
|
|
112
|
+
command.response_representation = Google::Apis::DataflowV1b3::Empty::Representation
|
|
113
|
+
command.response_class = Google::Apis::DataflowV1b3::Empty
|
|
114
|
+
command.params['name'] = name unless name.nil?
|
|
115
|
+
command.query['fields'] = fields unless fields.nil?
|
|
116
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
117
|
+
execute_or_queue_command(command, &block)
|
|
118
|
+
end
|
|
119
|
+
|
|
120
|
+
# Gets a ConfigStoreSetting.
|
|
121
|
+
# @param [String] name
|
|
122
|
+
# Required. The name of the ConfigStoreSetting to retrieve.
|
|
123
|
+
# @param [String] fields
|
|
124
|
+
# Selector specifying which fields to include in a partial response.
|
|
125
|
+
# @param [String] quota_user
|
|
126
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
127
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
128
|
+
# @param [Google::Apis::RequestOptions] options
|
|
129
|
+
# Request-specific options
|
|
130
|
+
#
|
|
131
|
+
# @yield [result, err] Result & error if block supplied
|
|
132
|
+
# @yieldparam result [Google::Apis::DataflowV1b3::ConfigStoreSetting] parsed result object
|
|
133
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
134
|
+
#
|
|
135
|
+
# @return [Google::Apis::DataflowV1b3::ConfigStoreSetting]
|
|
136
|
+
#
|
|
137
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
138
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
139
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
140
|
+
def get_folder_location_config_store_setting(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
141
|
+
command = make_simple_command(:get, 'v1b3/{+name}', options)
|
|
142
|
+
command.response_representation = Google::Apis::DataflowV1b3::ConfigStoreSetting::Representation
|
|
143
|
+
command.response_class = Google::Apis::DataflowV1b3::ConfigStoreSetting
|
|
144
|
+
command.params['name'] = name unless name.nil?
|
|
145
|
+
command.query['fields'] = fields unless fields.nil?
|
|
146
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
147
|
+
execute_or_queue_command(command, &block)
|
|
148
|
+
end
|
|
149
|
+
|
|
150
|
+
# Lists ConfigStoreSettings.
|
|
151
|
+
# @param [String] parent
|
|
152
|
+
# Required. The parent resource whose settings are being listed.
|
|
153
|
+
# @param [Fixnum] page_size
|
|
154
|
+
# Optional. The maximum number of settings to return.
|
|
155
|
+
# @param [String] page_token
|
|
156
|
+
# Optional. A page token, received from a previous `ListConfigStoreSettings`
|
|
157
|
+
# call.
|
|
158
|
+
# @param [String] fields
|
|
159
|
+
# Selector specifying which fields to include in a partial response.
|
|
160
|
+
# @param [String] quota_user
|
|
161
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
162
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
163
|
+
# @param [Google::Apis::RequestOptions] options
|
|
164
|
+
# Request-specific options
|
|
165
|
+
#
|
|
166
|
+
# @yield [result, err] Result & error if block supplied
|
|
167
|
+
# @yieldparam result [Google::Apis::DataflowV1b3::ListConfigStoreSettingsResponse] parsed result object
|
|
168
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
169
|
+
#
|
|
170
|
+
# @return [Google::Apis::DataflowV1b3::ListConfigStoreSettingsResponse]
|
|
171
|
+
#
|
|
172
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
173
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
174
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
175
|
+
def list_folder_location_config_store_settings(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
176
|
+
command = make_simple_command(:get, 'v1b3/{+parent}/configStoreSettings', options)
|
|
177
|
+
command.response_representation = Google::Apis::DataflowV1b3::ListConfigStoreSettingsResponse::Representation
|
|
178
|
+
command.response_class = Google::Apis::DataflowV1b3::ListConfigStoreSettingsResponse
|
|
179
|
+
command.params['parent'] = parent unless parent.nil?
|
|
180
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
181
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
182
|
+
command.query['fields'] = fields unless fields.nil?
|
|
183
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
184
|
+
execute_or_queue_command(command, &block)
|
|
185
|
+
end
|
|
186
|
+
|
|
187
|
+
# Resolves effective value of a ConfigStoreSetting.
|
|
188
|
+
# @param [String] name
|
|
189
|
+
# Required. The name of the setting to resolve.
|
|
190
|
+
# @param [Google::Apis::DataflowV1b3::ResolveConfigStoreSettingRequest] resolve_config_store_setting_request_object
|
|
191
|
+
# @param [String] fields
|
|
192
|
+
# Selector specifying which fields to include in a partial response.
|
|
193
|
+
# @param [String] quota_user
|
|
194
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
195
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
196
|
+
# @param [Google::Apis::RequestOptions] options
|
|
197
|
+
# Request-specific options
|
|
198
|
+
#
|
|
199
|
+
# @yield [result, err] Result & error if block supplied
|
|
200
|
+
# @yieldparam result [Google::Apis::DataflowV1b3::ResolveConfigStoreSettingResponse] parsed result object
|
|
201
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
202
|
+
#
|
|
203
|
+
# @return [Google::Apis::DataflowV1b3::ResolveConfigStoreSettingResponse]
|
|
204
|
+
#
|
|
205
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
206
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
207
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
208
|
+
def resolve_folder_location_config_store_setting(name, resolve_config_store_setting_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
209
|
+
command = make_simple_command(:post, 'v1b3/{+name}:resolve', options)
|
|
210
|
+
command.request_representation = Google::Apis::DataflowV1b3::ResolveConfigStoreSettingRequest::Representation
|
|
211
|
+
command.request_object = resolve_config_store_setting_request_object
|
|
212
|
+
command.response_representation = Google::Apis::DataflowV1b3::ResolveConfigStoreSettingResponse::Representation
|
|
213
|
+
command.response_class = Google::Apis::DataflowV1b3::ResolveConfigStoreSettingResponse
|
|
214
|
+
command.params['name'] = name unless name.nil?
|
|
215
|
+
command.query['fields'] = fields unless fields.nil?
|
|
216
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
217
|
+
execute_or_queue_command(command, &block)
|
|
218
|
+
end
|
|
219
|
+
|
|
220
|
+
# Creates a new ConfigStoreSetting.
|
|
221
|
+
# @param [String] parent
|
|
222
|
+
# Required. The parent resource where this setting will be created.
|
|
223
|
+
# @param [Google::Apis::DataflowV1b3::ConfigStoreSetting] config_store_setting_object
|
|
224
|
+
# @param [String] config_store_setting_id
|
|
225
|
+
# Required. The ID to use for the setting.
|
|
226
|
+
# @param [String] fields
|
|
227
|
+
# Selector specifying which fields to include in a partial response.
|
|
228
|
+
# @param [String] quota_user
|
|
229
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
230
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
231
|
+
# @param [Google::Apis::RequestOptions] options
|
|
232
|
+
# Request-specific options
|
|
233
|
+
#
|
|
234
|
+
# @yield [result, err] Result & error if block supplied
|
|
235
|
+
# @yieldparam result [Google::Apis::DataflowV1b3::ConfigStoreSetting] parsed result object
|
|
236
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
237
|
+
#
|
|
238
|
+
# @return [Google::Apis::DataflowV1b3::ConfigStoreSetting]
|
|
239
|
+
#
|
|
240
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
241
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
242
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
243
|
+
def create_organization_location_config_store_setting(parent, config_store_setting_object = nil, config_store_setting_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
244
|
+
command = make_simple_command(:post, 'v1b3/{+parent}/configStoreSettings', options)
|
|
245
|
+
command.request_representation = Google::Apis::DataflowV1b3::ConfigStoreSetting::Representation
|
|
246
|
+
command.request_object = config_store_setting_object
|
|
247
|
+
command.response_representation = Google::Apis::DataflowV1b3::ConfigStoreSetting::Representation
|
|
248
|
+
command.response_class = Google::Apis::DataflowV1b3::ConfigStoreSetting
|
|
249
|
+
command.params['parent'] = parent unless parent.nil?
|
|
250
|
+
command.query['configStoreSettingId'] = config_store_setting_id unless config_store_setting_id.nil?
|
|
251
|
+
command.query['fields'] = fields unless fields.nil?
|
|
252
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
253
|
+
execute_or_queue_command(command, &block)
|
|
254
|
+
end
|
|
255
|
+
|
|
256
|
+
# Deletes an existing ConfigStoreSetting.
|
|
257
|
+
# @param [String] name
|
|
258
|
+
# Required. The name of the ConfigStoreSetting to delete.
|
|
259
|
+
# @param [String] fields
|
|
260
|
+
# Selector specifying which fields to include in a partial response.
|
|
261
|
+
# @param [String] quota_user
|
|
262
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
263
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
264
|
+
# @param [Google::Apis::RequestOptions] options
|
|
265
|
+
# Request-specific options
|
|
266
|
+
#
|
|
267
|
+
# @yield [result, err] Result & error if block supplied
|
|
268
|
+
# @yieldparam result [Google::Apis::DataflowV1b3::Empty] parsed result object
|
|
269
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
270
|
+
#
|
|
271
|
+
# @return [Google::Apis::DataflowV1b3::Empty]
|
|
272
|
+
#
|
|
273
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
274
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
275
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
276
|
+
def delete_organization_location_config_store_setting(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
277
|
+
command = make_simple_command(:delete, 'v1b3/{+name}', options)
|
|
278
|
+
command.response_representation = Google::Apis::DataflowV1b3::Empty::Representation
|
|
279
|
+
command.response_class = Google::Apis::DataflowV1b3::Empty
|
|
280
|
+
command.params['name'] = name unless name.nil?
|
|
281
|
+
command.query['fields'] = fields unless fields.nil?
|
|
282
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
283
|
+
execute_or_queue_command(command, &block)
|
|
284
|
+
end
|
|
285
|
+
|
|
286
|
+
# Gets a ConfigStoreSetting.
|
|
287
|
+
# @param [String] name
|
|
288
|
+
# Required. The name of the ConfigStoreSetting to retrieve.
|
|
289
|
+
# @param [String] fields
|
|
290
|
+
# Selector specifying which fields to include in a partial response.
|
|
291
|
+
# @param [String] quota_user
|
|
292
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
293
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
294
|
+
# @param [Google::Apis::RequestOptions] options
|
|
295
|
+
# Request-specific options
|
|
296
|
+
#
|
|
297
|
+
# @yield [result, err] Result & error if block supplied
|
|
298
|
+
# @yieldparam result [Google::Apis::DataflowV1b3::ConfigStoreSetting] parsed result object
|
|
299
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
300
|
+
#
|
|
301
|
+
# @return [Google::Apis::DataflowV1b3::ConfigStoreSetting]
|
|
302
|
+
#
|
|
303
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
304
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
305
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
306
|
+
def get_organization_location_config_store_setting(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
307
|
+
command = make_simple_command(:get, 'v1b3/{+name}', options)
|
|
308
|
+
command.response_representation = Google::Apis::DataflowV1b3::ConfigStoreSetting::Representation
|
|
309
|
+
command.response_class = Google::Apis::DataflowV1b3::ConfigStoreSetting
|
|
310
|
+
command.params['name'] = name unless name.nil?
|
|
311
|
+
command.query['fields'] = fields unless fields.nil?
|
|
312
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
313
|
+
execute_or_queue_command(command, &block)
|
|
314
|
+
end
|
|
315
|
+
|
|
316
|
+
# Lists ConfigStoreSettings.
|
|
317
|
+
# @param [String] parent
|
|
318
|
+
# Required. The parent resource whose settings are being listed.
|
|
319
|
+
# @param [Fixnum] page_size
|
|
320
|
+
# Optional. The maximum number of settings to return.
|
|
321
|
+
# @param [String] page_token
|
|
322
|
+
# Optional. A page token, received from a previous `ListConfigStoreSettings`
|
|
323
|
+
# call.
|
|
324
|
+
# @param [String] fields
|
|
325
|
+
# Selector specifying which fields to include in a partial response.
|
|
326
|
+
# @param [String] quota_user
|
|
327
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
328
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
329
|
+
# @param [Google::Apis::RequestOptions] options
|
|
330
|
+
# Request-specific options
|
|
331
|
+
#
|
|
332
|
+
# @yield [result, err] Result & error if block supplied
|
|
333
|
+
# @yieldparam result [Google::Apis::DataflowV1b3::ListConfigStoreSettingsResponse] parsed result object
|
|
334
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
335
|
+
#
|
|
336
|
+
# @return [Google::Apis::DataflowV1b3::ListConfigStoreSettingsResponse]
|
|
337
|
+
#
|
|
338
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
339
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
340
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
341
|
+
def list_organization_location_config_store_settings(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
342
|
+
command = make_simple_command(:get, 'v1b3/{+parent}/configStoreSettings', options)
|
|
343
|
+
command.response_representation = Google::Apis::DataflowV1b3::ListConfigStoreSettingsResponse::Representation
|
|
344
|
+
command.response_class = Google::Apis::DataflowV1b3::ListConfigStoreSettingsResponse
|
|
345
|
+
command.params['parent'] = parent unless parent.nil?
|
|
346
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
347
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
348
|
+
command.query['fields'] = fields unless fields.nil?
|
|
349
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
350
|
+
execute_or_queue_command(command, &block)
|
|
351
|
+
end
|
|
352
|
+
|
|
353
|
+
# Resolves effective value of a ConfigStoreSetting.
|
|
354
|
+
# @param [String] name
|
|
355
|
+
# Required. The name of the setting to resolve.
|
|
356
|
+
# @param [Google::Apis::DataflowV1b3::ResolveConfigStoreSettingRequest] resolve_config_store_setting_request_object
|
|
357
|
+
# @param [String] fields
|
|
358
|
+
# Selector specifying which fields to include in a partial response.
|
|
359
|
+
# @param [String] quota_user
|
|
360
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
361
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
362
|
+
# @param [Google::Apis::RequestOptions] options
|
|
363
|
+
# Request-specific options
|
|
364
|
+
#
|
|
365
|
+
# @yield [result, err] Result & error if block supplied
|
|
366
|
+
# @yieldparam result [Google::Apis::DataflowV1b3::ResolveConfigStoreSettingResponse] parsed result object
|
|
367
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
368
|
+
#
|
|
369
|
+
# @return [Google::Apis::DataflowV1b3::ResolveConfigStoreSettingResponse]
|
|
370
|
+
#
|
|
371
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
372
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
373
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
374
|
+
def resolve_organization_location_config_store_setting(name, resolve_config_store_setting_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
375
|
+
command = make_simple_command(:post, 'v1b3/{+name}:resolve', options)
|
|
376
|
+
command.request_representation = Google::Apis::DataflowV1b3::ResolveConfigStoreSettingRequest::Representation
|
|
377
|
+
command.request_object = resolve_config_store_setting_request_object
|
|
378
|
+
command.response_representation = Google::Apis::DataflowV1b3::ResolveConfigStoreSettingResponse::Representation
|
|
379
|
+
command.response_class = Google::Apis::DataflowV1b3::ResolveConfigStoreSettingResponse
|
|
380
|
+
command.params['name'] = name unless name.nil?
|
|
381
|
+
command.query['fields'] = fields unless fields.nil?
|
|
382
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
383
|
+
execute_or_queue_command(command, &block)
|
|
384
|
+
end
|
|
385
|
+
|
|
54
386
|
# Deletes a snapshot.
|
|
55
387
|
# @param [String] project_id
|
|
56
388
|
# The ID of the Cloud Platform project that the snapshot belongs to.
|
|
@@ -121,7 +453,8 @@ module Google
|
|
|
121
453
|
end
|
|
122
454
|
|
|
123
455
|
# List the jobs of a project across all regions. **Note:** This method doesn't
|
|
124
|
-
# support filtering the list of jobs by name.
|
|
456
|
+
# support filtering the list of jobs by name. # IAM Permissions Requires the `
|
|
457
|
+
# dataflow.jobs.list` permission on the project.
|
|
125
458
|
# @param [String] project_id
|
|
126
459
|
# The project which owns the jobs.
|
|
127
460
|
# @param [String] filter
|
|
@@ -138,6 +471,8 @@ module Google
|
|
|
138
471
|
# @param [String] page_token
|
|
139
472
|
# Set this to the 'next_page_token' field of a previous response to request
|
|
140
473
|
# additional results in a long list.
|
|
474
|
+
# @param [Boolean] regional_fanout_requested
|
|
475
|
+
# Optional.
|
|
141
476
|
# @param [String] view
|
|
142
477
|
# Deprecated. ListJobs always returns summaries now. Use GetJob for other
|
|
143
478
|
# JobViews.
|
|
@@ -158,7 +493,7 @@ module Google
|
|
|
158
493
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
159
494
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
160
495
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
161
|
-
def aggregated_project_job(project_id, filter: nil, location: nil, name: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
496
|
+
def aggregated_project_job(project_id, filter: nil, location: nil, name: nil, page_size: nil, page_token: nil, regional_fanout_requested: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
162
497
|
command = make_simple_command(:get, 'v1b3/projects/{projectId}/jobs:aggregated', options)
|
|
163
498
|
command.response_representation = Google::Apis::DataflowV1b3::ListJobsResponse::Representation
|
|
164
499
|
command.response_class = Google::Apis::DataflowV1b3::ListJobsResponse
|
|
@@ -168,6 +503,7 @@ module Google
|
|
|
168
503
|
command.query['name'] = name unless name.nil?
|
|
169
504
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
170
505
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
506
|
+
command.query['regionalFanoutRequested'] = regional_fanout_requested unless regional_fanout_requested.nil?
|
|
171
507
|
command.query['view'] = view unless view.nil?
|
|
172
508
|
command.query['fields'] = fields unless fields.nil?
|
|
173
509
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
@@ -178,7 +514,10 @@ module Google
|
|
|
178
514
|
# locations.jobs.create` with a [regional endpoint] (https://cloud.google.com/
|
|
179
515
|
# dataflow/docs/concepts/regional-endpoints). Using `projects.jobs.create` is
|
|
180
516
|
# not recommended, as your job will always start in `us-central1`. Do not enter
|
|
181
|
-
# confidential information when you supply string values using the API.
|
|
517
|
+
# confidential information when you supply string values using the API. # IAM
|
|
518
|
+
# Permissions 1. Requires the `dataflow.jobs.create` permission on the project.
|
|
519
|
+
# 2. `resourcemanager.projects.get` (Specifically required for regional
|
|
520
|
+
# endpoints to resolve regional resource metadata)
|
|
182
521
|
# @param [String] project_id
|
|
183
522
|
# The ID of the Cloud Platform project that the job belongs to.
|
|
184
523
|
# @param [Google::Apis::DataflowV1b3::Job] job_object
|
|
@@ -225,7 +564,8 @@ module Google
|
|
|
225
564
|
# we recommend using `projects.locations.jobs.get` with a [regional endpoint] (
|
|
226
565
|
# https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `
|
|
227
566
|
# projects.jobs.get` is not recommended, as you can only get the state of jobs
|
|
228
|
-
# that are running in `us-central1`.
|
|
567
|
+
# that are running in `us-central1`. # IAM Permissions Requires the `dataflow.
|
|
568
|
+
# jobs.get` permission on the job.
|
|
229
569
|
# @param [String] project_id
|
|
230
570
|
# The ID of the Cloud Platform project that the job belongs to.
|
|
231
571
|
# @param [String] job_id
|
|
@@ -269,7 +609,8 @@ module Google
|
|
|
269
609
|
# projects.locations.jobs.getMetrics` with a [regional endpoint] (https://cloud.
|
|
270
610
|
# google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.jobs.
|
|
271
611
|
# getMetrics` is not recommended, as you can only request the status of jobs
|
|
272
|
-
# that are running in `us-central1`.
|
|
612
|
+
# that are running in `us-central1`. # IAM Permissions Requires the `dataflow.
|
|
613
|
+
# metrics.get` permission on the job.
|
|
273
614
|
# @param [String] project_id
|
|
274
615
|
# A project id.
|
|
275
616
|
# @param [String] job_id
|
|
@@ -317,7 +658,8 @@ module Google
|
|
|
317
658
|
# projects.jobs.list` is not recommended, because you can only get the list of
|
|
318
659
|
# jobs that are running in `us-central1`. `projects.locations.jobs.list` and `
|
|
319
660
|
# projects.jobs.list` support filtering the list of jobs by name. Filtering by
|
|
320
|
-
# name isn't supported by `projects.jobs.aggregated`.
|
|
661
|
+
# name isn't supported by `projects.jobs.aggregated`. # IAM Permissions Requires
|
|
662
|
+
# the `dataflow.jobs.list` permission on the project.
|
|
321
663
|
# @param [String] project_id
|
|
322
664
|
# The project which owns the jobs.
|
|
323
665
|
# @param [String] filter
|
|
@@ -334,6 +676,8 @@ module Google
|
|
|
334
676
|
# @param [String] page_token
|
|
335
677
|
# Set this to the 'next_page_token' field of a previous response to request
|
|
336
678
|
# additional results in a long list.
|
|
679
|
+
# @param [Boolean] regional_fanout_requested
|
|
680
|
+
# Optional.
|
|
337
681
|
# @param [String] view
|
|
338
682
|
# Deprecated. ListJobs always returns summaries now. Use GetJob for other
|
|
339
683
|
# JobViews.
|
|
@@ -354,7 +698,7 @@ module Google
|
|
|
354
698
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
355
699
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
356
700
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
357
|
-
def list_project_jobs(project_id, filter: nil, location: nil, name: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
701
|
+
def list_project_jobs(project_id, filter: nil, location: nil, name: nil, page_size: nil, page_token: nil, regional_fanout_requested: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
358
702
|
command = make_simple_command(:get, 'v1b3/projects/{projectId}/jobs', options)
|
|
359
703
|
command.response_representation = Google::Apis::DataflowV1b3::ListJobsResponse::Representation
|
|
360
704
|
command.response_class = Google::Apis::DataflowV1b3::ListJobsResponse
|
|
@@ -364,13 +708,15 @@ module Google
|
|
|
364
708
|
command.query['name'] = name unless name.nil?
|
|
365
709
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
366
710
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
711
|
+
command.query['regionalFanoutRequested'] = regional_fanout_requested unless regional_fanout_requested.nil?
|
|
367
712
|
command.query['view'] = view unless view.nil?
|
|
368
713
|
command.query['fields'] = fields unless fields.nil?
|
|
369
714
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
370
715
|
execute_or_queue_command(command, &block)
|
|
371
716
|
end
|
|
372
717
|
|
|
373
|
-
# Snapshot the state of a streaming job.
|
|
718
|
+
# Snapshot the state of a streaming job. # IAM Permissions Requires the `
|
|
719
|
+
# dataflow.jobs.snapshot` permission on the job.
|
|
374
720
|
# @param [String] project_id
|
|
375
721
|
# The project which owns the job to be snapshotted.
|
|
376
722
|
# @param [String] job_id
|
|
@@ -410,7 +756,9 @@ module Google
|
|
|
410
756
|
# existing job, we recommend using `projects.locations.jobs.update` with a [
|
|
411
757
|
# regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-
|
|
412
758
|
# endpoints). Using `projects.jobs.update` is not recommended, as you can only
|
|
413
|
-
# update the state of jobs that are running in `us-central1`.
|
|
759
|
+
# update the state of jobs that are running in `us-central1`. # IAM Permissions
|
|
760
|
+
# 1. Requires the `dataflow.jobs.cancel` permission to cancel a job. 2. Requires
|
|
761
|
+
# the `dataflow.jobs.updateContents` permission to update runtime parameters.
|
|
414
762
|
# @param [String] project_id
|
|
415
763
|
# The ID of the Cloud Platform project that the job belongs to.
|
|
416
764
|
# @param [String] job_id
|
|
@@ -534,7 +882,8 @@ module Google
|
|
|
534
882
|
# projects.locations.jobs.messages.list` with a [regional endpoint] (https://
|
|
535
883
|
# cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.
|
|
536
884
|
# jobs.messages.list` is not recommended, as you can only request the status of
|
|
537
|
-
# jobs that are running in `us-central1`.
|
|
885
|
+
# jobs that are running in `us-central1`. # IAM Permissions Requires the `
|
|
886
|
+
# dataflow.messages.list` permission on the job.
|
|
538
887
|
# @param [String] project_id
|
|
539
888
|
# A project id.
|
|
540
889
|
# @param [String] job_id
|
|
@@ -700,7 +1049,176 @@ module Google
|
|
|
700
1049
|
execute_or_queue_command(command, &block)
|
|
701
1050
|
end
|
|
702
1051
|
|
|
703
|
-
#
|
|
1052
|
+
# Creates a new ConfigStoreSetting.
|
|
1053
|
+
# @param [String] parent
|
|
1054
|
+
# Required. The parent resource where this setting will be created.
|
|
1055
|
+
# @param [Google::Apis::DataflowV1b3::ConfigStoreSetting] config_store_setting_object
|
|
1056
|
+
# @param [String] config_store_setting_id
|
|
1057
|
+
# Required. The ID to use for the setting.
|
|
1058
|
+
# @param [String] fields
|
|
1059
|
+
# Selector specifying which fields to include in a partial response.
|
|
1060
|
+
# @param [String] quota_user
|
|
1061
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1062
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1063
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1064
|
+
# Request-specific options
|
|
1065
|
+
#
|
|
1066
|
+
# @yield [result, err] Result & error if block supplied
|
|
1067
|
+
# @yieldparam result [Google::Apis::DataflowV1b3::ConfigStoreSetting] parsed result object
|
|
1068
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1069
|
+
#
|
|
1070
|
+
# @return [Google::Apis::DataflowV1b3::ConfigStoreSetting]
|
|
1071
|
+
#
|
|
1072
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1073
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1074
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1075
|
+
def create_project_location_config_store_setting(parent, config_store_setting_object = nil, config_store_setting_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1076
|
+
command = make_simple_command(:post, 'v1b3/{+parent}/configStoreSettings', options)
|
|
1077
|
+
command.request_representation = Google::Apis::DataflowV1b3::ConfigStoreSetting::Representation
|
|
1078
|
+
command.request_object = config_store_setting_object
|
|
1079
|
+
command.response_representation = Google::Apis::DataflowV1b3::ConfigStoreSetting::Representation
|
|
1080
|
+
command.response_class = Google::Apis::DataflowV1b3::ConfigStoreSetting
|
|
1081
|
+
command.params['parent'] = parent unless parent.nil?
|
|
1082
|
+
command.query['configStoreSettingId'] = config_store_setting_id unless config_store_setting_id.nil?
|
|
1083
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1084
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1085
|
+
execute_or_queue_command(command, &block)
|
|
1086
|
+
end
|
|
1087
|
+
|
|
1088
|
+
# Deletes an existing ConfigStoreSetting.
|
|
1089
|
+
# @param [String] name
|
|
1090
|
+
# Required. The name of the ConfigStoreSetting to delete.
|
|
1091
|
+
# @param [String] fields
|
|
1092
|
+
# Selector specifying which fields to include in a partial response.
|
|
1093
|
+
# @param [String] quota_user
|
|
1094
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1095
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1096
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1097
|
+
# Request-specific options
|
|
1098
|
+
#
|
|
1099
|
+
# @yield [result, err] Result & error if block supplied
|
|
1100
|
+
# @yieldparam result [Google::Apis::DataflowV1b3::Empty] parsed result object
|
|
1101
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1102
|
+
#
|
|
1103
|
+
# @return [Google::Apis::DataflowV1b3::Empty]
|
|
1104
|
+
#
|
|
1105
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1106
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1107
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1108
|
+
def delete_project_location_config_store_setting(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
1109
|
+
command = make_simple_command(:delete, 'v1b3/{+name}', options)
|
|
1110
|
+
command.response_representation = Google::Apis::DataflowV1b3::Empty::Representation
|
|
1111
|
+
command.response_class = Google::Apis::DataflowV1b3::Empty
|
|
1112
|
+
command.params['name'] = name unless name.nil?
|
|
1113
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1114
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1115
|
+
execute_or_queue_command(command, &block)
|
|
1116
|
+
end
|
|
1117
|
+
|
|
1118
|
+
# Gets a ConfigStoreSetting.
|
|
1119
|
+
# @param [String] name
|
|
1120
|
+
# Required. The name of the ConfigStoreSetting to retrieve.
|
|
1121
|
+
# @param [String] fields
|
|
1122
|
+
# Selector specifying which fields to include in a partial response.
|
|
1123
|
+
# @param [String] quota_user
|
|
1124
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1125
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1126
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1127
|
+
# Request-specific options
|
|
1128
|
+
#
|
|
1129
|
+
# @yield [result, err] Result & error if block supplied
|
|
1130
|
+
# @yieldparam result [Google::Apis::DataflowV1b3::ConfigStoreSetting] parsed result object
|
|
1131
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1132
|
+
#
|
|
1133
|
+
# @return [Google::Apis::DataflowV1b3::ConfigStoreSetting]
|
|
1134
|
+
#
|
|
1135
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1136
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1137
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1138
|
+
def get_project_location_config_store_setting(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
1139
|
+
command = make_simple_command(:get, 'v1b3/{+name}', options)
|
|
1140
|
+
command.response_representation = Google::Apis::DataflowV1b3::ConfigStoreSetting::Representation
|
|
1141
|
+
command.response_class = Google::Apis::DataflowV1b3::ConfigStoreSetting
|
|
1142
|
+
command.params['name'] = name unless name.nil?
|
|
1143
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1144
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1145
|
+
execute_or_queue_command(command, &block)
|
|
1146
|
+
end
|
|
1147
|
+
|
|
1148
|
+
# Lists ConfigStoreSettings.
|
|
1149
|
+
# @param [String] parent
|
|
1150
|
+
# Required. The parent resource whose settings are being listed.
|
|
1151
|
+
# @param [Fixnum] page_size
|
|
1152
|
+
# Optional. The maximum number of settings to return.
|
|
1153
|
+
# @param [String] page_token
|
|
1154
|
+
# Optional. A page token, received from a previous `ListConfigStoreSettings`
|
|
1155
|
+
# call.
|
|
1156
|
+
# @param [String] fields
|
|
1157
|
+
# Selector specifying which fields to include in a partial response.
|
|
1158
|
+
# @param [String] quota_user
|
|
1159
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1160
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1161
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1162
|
+
# Request-specific options
|
|
1163
|
+
#
|
|
1164
|
+
# @yield [result, err] Result & error if block supplied
|
|
1165
|
+
# @yieldparam result [Google::Apis::DataflowV1b3::ListConfigStoreSettingsResponse] parsed result object
|
|
1166
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1167
|
+
#
|
|
1168
|
+
# @return [Google::Apis::DataflowV1b3::ListConfigStoreSettingsResponse]
|
|
1169
|
+
#
|
|
1170
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1171
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1172
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1173
|
+
def list_project_location_config_store_settings(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1174
|
+
command = make_simple_command(:get, 'v1b3/{+parent}/configStoreSettings', options)
|
|
1175
|
+
command.response_representation = Google::Apis::DataflowV1b3::ListConfigStoreSettingsResponse::Representation
|
|
1176
|
+
command.response_class = Google::Apis::DataflowV1b3::ListConfigStoreSettingsResponse
|
|
1177
|
+
command.params['parent'] = parent unless parent.nil?
|
|
1178
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
1179
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
1180
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1181
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1182
|
+
execute_or_queue_command(command, &block)
|
|
1183
|
+
end
|
|
1184
|
+
|
|
1185
|
+
# Resolves effective value of a ConfigStoreSetting.
|
|
1186
|
+
# @param [String] name
|
|
1187
|
+
# Required. The name of the setting to resolve.
|
|
1188
|
+
# @param [Google::Apis::DataflowV1b3::ResolveConfigStoreSettingRequest] resolve_config_store_setting_request_object
|
|
1189
|
+
# @param [String] fields
|
|
1190
|
+
# Selector specifying which fields to include in a partial response.
|
|
1191
|
+
# @param [String] quota_user
|
|
1192
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1193
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1194
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1195
|
+
# Request-specific options
|
|
1196
|
+
#
|
|
1197
|
+
# @yield [result, err] Result & error if block supplied
|
|
1198
|
+
# @yieldparam result [Google::Apis::DataflowV1b3::ResolveConfigStoreSettingResponse] parsed result object
|
|
1199
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1200
|
+
#
|
|
1201
|
+
# @return [Google::Apis::DataflowV1b3::ResolveConfigStoreSettingResponse]
|
|
1202
|
+
#
|
|
1203
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1204
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1205
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1206
|
+
def resolve_project_location_config_store_setting(name, resolve_config_store_setting_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1207
|
+
command = make_simple_command(:post, 'v1b3/{+name}:resolve', options)
|
|
1208
|
+
command.request_representation = Google::Apis::DataflowV1b3::ResolveConfigStoreSettingRequest::Representation
|
|
1209
|
+
command.request_object = resolve_config_store_setting_request_object
|
|
1210
|
+
command.response_representation = Google::Apis::DataflowV1b3::ResolveConfigStoreSettingResponse::Representation
|
|
1211
|
+
command.response_class = Google::Apis::DataflowV1b3::ResolveConfigStoreSettingResponse
|
|
1212
|
+
command.params['name'] = name unless name.nil?
|
|
1213
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1214
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1215
|
+
execute_or_queue_command(command, &block)
|
|
1216
|
+
end
|
|
1217
|
+
|
|
1218
|
+
# Launch a job with a FlexTemplate. # IAM Permissions Requires the following IAM
|
|
1219
|
+
# permission(s) on the resource: - `dataflow.jobs.create` - `resourcemanager.
|
|
1220
|
+
# projects.get` - `iam.serviceAccounts.actAs` - `storage.buckets.get` - `storage.
|
|
1221
|
+
# buckets.create` (Required if the default staging bucket must be created)
|
|
704
1222
|
# @param [String] project_id
|
|
705
1223
|
# Required. The ID of the Cloud Platform project that the job belongs to.
|
|
706
1224
|
# @param [String] location
|
|
@@ -742,7 +1260,10 @@ module Google
|
|
|
742
1260
|
# locations.jobs.create` with a [regional endpoint] (https://cloud.google.com/
|
|
743
1261
|
# dataflow/docs/concepts/regional-endpoints). Using `projects.jobs.create` is
|
|
744
1262
|
# not recommended, as your job will always start in `us-central1`. Do not enter
|
|
745
|
-
# confidential information when you supply string values using the API.
|
|
1263
|
+
# confidential information when you supply string values using the API. # IAM
|
|
1264
|
+
# Permissions 1. Requires the `dataflow.jobs.create` permission on the project.
|
|
1265
|
+
# 2. `resourcemanager.projects.get` (Specifically required for regional
|
|
1266
|
+
# endpoints to resolve regional resource metadata)
|
|
746
1267
|
# @param [String] project_id
|
|
747
1268
|
# The ID of the Cloud Platform project that the job belongs to.
|
|
748
1269
|
# @param [String] location
|
|
@@ -789,7 +1310,8 @@ module Google
|
|
|
789
1310
|
# we recommend using `projects.locations.jobs.get` with a [regional endpoint] (
|
|
790
1311
|
# https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `
|
|
791
1312
|
# projects.jobs.get` is not recommended, as you can only get the state of jobs
|
|
792
|
-
# that are running in `us-central1`.
|
|
1313
|
+
# that are running in `us-central1`. # IAM Permissions Requires the `dataflow.
|
|
1314
|
+
# jobs.get` permission on the job.
|
|
793
1315
|
# @param [String] project_id
|
|
794
1316
|
# The ID of the Cloud Platform project that the job belongs to.
|
|
795
1317
|
# @param [String] location
|
|
@@ -830,7 +1352,8 @@ module Google
|
|
|
830
1352
|
end
|
|
831
1353
|
|
|
832
1354
|
# Request detailed information about the execution status of the job.
|
|
833
|
-
# EXPERIMENTAL. This API is subject to change or removal without notice.
|
|
1355
|
+
# EXPERIMENTAL. This API is subject to change or removal without notice. # IAM
|
|
1356
|
+
# Permissions Requires the `dataflow.metrics.get` permission on the job.
|
|
834
1357
|
# @param [String] project_id
|
|
835
1358
|
# A project id.
|
|
836
1359
|
# @param [String] location
|
|
@@ -880,7 +1403,8 @@ module Google
|
|
|
880
1403
|
# projects.locations.jobs.getMetrics` with a [regional endpoint] (https://cloud.
|
|
881
1404
|
# google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.jobs.
|
|
882
1405
|
# getMetrics` is not recommended, as you can only request the status of jobs
|
|
883
|
-
# that are running in `us-central1`.
|
|
1406
|
+
# that are running in `us-central1`. # IAM Permissions Requires the `dataflow.
|
|
1407
|
+
# metrics.get` permission on the job.
|
|
884
1408
|
# @param [String] project_id
|
|
885
1409
|
# A project id.
|
|
886
1410
|
# @param [String] location
|
|
@@ -928,7 +1452,8 @@ module Google
|
|
|
928
1452
|
# projects.jobs.list` is not recommended, because you can only get the list of
|
|
929
1453
|
# jobs that are running in `us-central1`. `projects.locations.jobs.list` and `
|
|
930
1454
|
# projects.jobs.list` support filtering the list of jobs by name. Filtering by
|
|
931
|
-
# name isn't supported by `projects.jobs.aggregated`.
|
|
1455
|
+
# name isn't supported by `projects.jobs.aggregated`. # IAM Permissions Requires
|
|
1456
|
+
# the `dataflow.jobs.list` permission on the project.
|
|
932
1457
|
# @param [String] project_id
|
|
933
1458
|
# The project which owns the jobs.
|
|
934
1459
|
# @param [String] location
|
|
@@ -945,6 +1470,8 @@ module Google
|
|
|
945
1470
|
# @param [String] page_token
|
|
946
1471
|
# Set this to the 'next_page_token' field of a previous response to request
|
|
947
1472
|
# additional results in a long list.
|
|
1473
|
+
# @param [Boolean] regional_fanout_requested
|
|
1474
|
+
# Optional.
|
|
948
1475
|
# @param [String] view
|
|
949
1476
|
# Deprecated. ListJobs always returns summaries now. Use GetJob for other
|
|
950
1477
|
# JobViews.
|
|
@@ -965,7 +1492,7 @@ module Google
|
|
|
965
1492
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
966
1493
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
967
1494
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
968
|
-
def list_project_location_jobs(project_id, location, filter: nil, name: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1495
|
+
def list_project_location_jobs(project_id, location, filter: nil, name: nil, page_size: nil, page_token: nil, regional_fanout_requested: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
969
1496
|
command = make_simple_command(:get, 'v1b3/projects/{projectId}/locations/{location}/jobs', options)
|
|
970
1497
|
command.response_representation = Google::Apis::DataflowV1b3::ListJobsResponse::Representation
|
|
971
1498
|
command.response_class = Google::Apis::DataflowV1b3::ListJobsResponse
|
|
@@ -975,13 +1502,15 @@ module Google
|
|
|
975
1502
|
command.query['name'] = name unless name.nil?
|
|
976
1503
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
977
1504
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
1505
|
+
command.query['regionalFanoutRequested'] = regional_fanout_requested unless regional_fanout_requested.nil?
|
|
978
1506
|
command.query['view'] = view unless view.nil?
|
|
979
1507
|
command.query['fields'] = fields unless fields.nil?
|
|
980
1508
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
981
1509
|
execute_or_queue_command(command, &block)
|
|
982
1510
|
end
|
|
983
1511
|
|
|
984
|
-
# Snapshot the state of a streaming job.
|
|
1512
|
+
# Snapshot the state of a streaming job. # IAM Permissions Requires the `
|
|
1513
|
+
# dataflow.jobs.snapshot` permission on the job.
|
|
985
1514
|
# @param [String] project_id
|
|
986
1515
|
# The project which owns the job to be snapshotted.
|
|
987
1516
|
# @param [String] location
|
|
@@ -1024,7 +1553,9 @@ module Google
|
|
|
1024
1553
|
# existing job, we recommend using `projects.locations.jobs.update` with a [
|
|
1025
1554
|
# regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-
|
|
1026
1555
|
# endpoints). Using `projects.jobs.update` is not recommended, as you can only
|
|
1027
|
-
# update the state of jobs that are running in `us-central1`.
|
|
1556
|
+
# update the state of jobs that are running in `us-central1`. # IAM Permissions
|
|
1557
|
+
# 1. Requires the `dataflow.jobs.cancel` permission to cancel a job. 2. Requires
|
|
1558
|
+
# the `dataflow.jobs.updateContents` permission to update runtime parameters.
|
|
1028
1559
|
# @param [String] project_id
|
|
1029
1560
|
# The ID of the Cloud Platform project that the job belongs to.
|
|
1030
1561
|
# @param [String] location
|
|
@@ -1196,7 +1727,8 @@ module Google
|
|
|
1196
1727
|
# projects.locations.jobs.messages.list` with a [regional endpoint] (https://
|
|
1197
1728
|
# cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.
|
|
1198
1729
|
# jobs.messages.list` is not recommended, as you can only request the status of
|
|
1199
|
-
# jobs that are running in `us-central1`.
|
|
1730
|
+
# jobs that are running in `us-central1`. # IAM Permissions Requires the `
|
|
1731
|
+
# dataflow.messages.list` permission on the job.
|
|
1200
1732
|
# @param [String] project_id
|
|
1201
1733
|
# A project id.
|
|
1202
1734
|
# @param [String] location
|
|
@@ -1290,7 +1822,8 @@ module Google
|
|
|
1290
1822
|
end
|
|
1291
1823
|
|
|
1292
1824
|
# Request detailed information about the execution status of a stage of the job.
|
|
1293
|
-
# EXPERIMENTAL. This API is subject to change or removal without notice.
|
|
1825
|
+
# EXPERIMENTAL. This API is subject to change or removal without notice. # IAM
|
|
1826
|
+
# Permissions Requires the `dataflow.metrics.get` permission on the job.
|
|
1294
1827
|
# @param [String] project_id
|
|
1295
1828
|
# A project id.
|
|
1296
1829
|
# @param [String] location
|
|
@@ -1538,7 +2071,9 @@ module Google
|
|
|
1538
2071
|
# recommend using `projects.locations.templates.create` with a [regional
|
|
1539
2072
|
# endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints).
|
|
1540
2073
|
# Using `projects.templates.create` is not recommended, because your job will
|
|
1541
|
-
# always start in `us-central1`.
|
|
2074
|
+
# always start in `us-central1`. # IAM Permissions Requires the following IAM
|
|
2075
|
+
# permission(s) on the project: - `dataflow.jobs.create` - `resourcemanager.
|
|
2076
|
+
# projects.get`
|
|
1542
2077
|
# @param [String] project_id
|
|
1543
2078
|
# Required. The ID of the Cloud Platform project that the job belongs to.
|
|
1544
2079
|
# @param [String] location
|
|
@@ -1579,7 +2114,8 @@ module Google
|
|
|
1579
2114
|
# using `projects.locations.templates.get` with a [regional endpoint] (https://
|
|
1580
2115
|
# cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.
|
|
1581
2116
|
# templates.get` is not recommended, because only templates that are running in `
|
|
1582
|
-
# us-central1` are retrieved.
|
|
2117
|
+
# us-central1` are retrieved. # IAM Permissions Requires the `resourcemanager.
|
|
2118
|
+
# projects.get` permission on the project.
|
|
1583
2119
|
# @param [String] project_id
|
|
1584
2120
|
# Required. The ID of the Cloud Platform project that the job belongs to.
|
|
1585
2121
|
# @param [String] location
|
|
@@ -1624,7 +2160,9 @@ module Google
|
|
|
1624
2160
|
# locations.templates.launch` with a [regional endpoint] (https://cloud.google.
|
|
1625
2161
|
# com/dataflow/docs/concepts/regional-endpoints). Using `projects.templates.
|
|
1626
2162
|
# launch` is not recommended, because jobs launched from the template will
|
|
1627
|
-
# always start in `us-central1`.
|
|
2163
|
+
# always start in `us-central1`. # IAM Permissions Requires the following IAM
|
|
2164
|
+
# permission(s) on the project: - `dataflow.jobs.create` - `resourcemanager.
|
|
2165
|
+
# projects.get`
|
|
1628
2166
|
# @param [String] project_id
|
|
1629
2167
|
# Required. The ID of the Cloud Platform project that the job belongs to.
|
|
1630
2168
|
# @param [String] location
|
|
@@ -1753,7 +2291,9 @@ module Google
|
|
|
1753
2291
|
# recommend using `projects.locations.templates.create` with a [regional
|
|
1754
2292
|
# endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints).
|
|
1755
2293
|
# Using `projects.templates.create` is not recommended, because your job will
|
|
1756
|
-
# always start in `us-central1`.
|
|
2294
|
+
# always start in `us-central1`. # IAM Permissions Requires the following IAM
|
|
2295
|
+
# permission(s) on the project: - `dataflow.jobs.create` - `resourcemanager.
|
|
2296
|
+
# projects.get`
|
|
1757
2297
|
# @param [String] project_id
|
|
1758
2298
|
# Required. The ID of the Cloud Platform project that the job belongs to.
|
|
1759
2299
|
# @param [Google::Apis::DataflowV1b3::CreateJobFromTemplateRequest] create_job_from_template_request_object
|
|
@@ -1790,7 +2330,8 @@ module Google
|
|
|
1790
2330
|
# using `projects.locations.templates.get` with a [regional endpoint] (https://
|
|
1791
2331
|
# cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.
|
|
1792
2332
|
# templates.get` is not recommended, because only templates that are running in `
|
|
1793
|
-
# us-central1` are retrieved.
|
|
2333
|
+
# us-central1` are retrieved. # IAM Permissions Requires the `resourcemanager.
|
|
2334
|
+
# projects.get` permission on the project.
|
|
1794
2335
|
# @param [String] project_id
|
|
1795
2336
|
# Required. The ID of the Cloud Platform project that the job belongs to.
|
|
1796
2337
|
# @param [String] gcs_path
|
|
@@ -1835,7 +2376,9 @@ module Google
|
|
|
1835
2376
|
# locations.templates.launch` with a [regional endpoint] (https://cloud.google.
|
|
1836
2377
|
# com/dataflow/docs/concepts/regional-endpoints). Using `projects.templates.
|
|
1837
2378
|
# launch` is not recommended, because jobs launched from the template will
|
|
1838
|
-
# always start in `us-central1`.
|
|
2379
|
+
# always start in `us-central1`. # IAM Permissions Requires the following IAM
|
|
2380
|
+
# permission(s) on the project: - `dataflow.jobs.create` - `resourcemanager.
|
|
2381
|
+
# projects.get`
|
|
1839
2382
|
# @param [String] project_id
|
|
1840
2383
|
# Required. The ID of the Cloud Platform project that the job belongs to.
|
|
1841
2384
|
# @param [Google::Apis::DataflowV1b3::LaunchTemplateParameters] launch_template_parameters_object
|