google-apis-dataform_v1beta1 0.53.0 → 0.54.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.
|
@@ -159,6 +159,60 @@ module Google
|
|
|
159
159
|
execute_or_queue_command(command, &block)
|
|
160
160
|
end
|
|
161
161
|
|
|
162
|
+
# Returns the contents of a caller's root folder in a given location. The root
|
|
163
|
+
# folder contains all resources that are created by the user and not contained
|
|
164
|
+
# in any other folder.
|
|
165
|
+
# @param [String] location
|
|
166
|
+
# Required. Location of the user root folder whose contents to list. Format:
|
|
167
|
+
# projects/*/locations/*
|
|
168
|
+
# @param [String] filter
|
|
169
|
+
# Optional. Optional filtering for the returned list. Filtering is currently
|
|
170
|
+
# only supported on the `display_name` field. Example: - `filter="display_name="
|
|
171
|
+
# MyFolder""`
|
|
172
|
+
# @param [String] order_by
|
|
173
|
+
# Optional. Field to additionally sort results by. Will order Folders before
|
|
174
|
+
# Repositories, and then by `order_by` in ascending order. Supported keywords:
|
|
175
|
+
# display_name (default), created_at, last_modified_at. Examples: - `orderBy="
|
|
176
|
+
# display_name"` - `orderBy="display_name desc"`
|
|
177
|
+
# @param [Fixnum] page_size
|
|
178
|
+
# Optional. Maximum number of paths to return. The server may return fewer items
|
|
179
|
+
# than requested. If unspecified, the server will pick an appropriate default.
|
|
180
|
+
# @param [String] page_token
|
|
181
|
+
# Optional. Page token received from a previous `QueryUserRootContents` call.
|
|
182
|
+
# Provide this to retrieve the subsequent page. When paginating, all other
|
|
183
|
+
# parameters provided to `QueryUserRootFolderContents`, with the exception of `
|
|
184
|
+
# page_size`, must match the call that provided the page token.
|
|
185
|
+
# @param [String] fields
|
|
186
|
+
# Selector specifying which fields to include in a partial response.
|
|
187
|
+
# @param [String] quota_user
|
|
188
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
189
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
190
|
+
# @param [Google::Apis::RequestOptions] options
|
|
191
|
+
# Request-specific options
|
|
192
|
+
#
|
|
193
|
+
# @yield [result, err] Result & error if block supplied
|
|
194
|
+
# @yieldparam result [Google::Apis::DataformV1beta1::QueryUserRootContentsResponse] parsed result object
|
|
195
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
196
|
+
#
|
|
197
|
+
# @return [Google::Apis::DataformV1beta1::QueryUserRootContentsResponse]
|
|
198
|
+
#
|
|
199
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
200
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
201
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
202
|
+
def query_project_location_user_root_contents(location, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
203
|
+
command = make_simple_command(:get, 'v1beta1/{+location}:queryUserRootContents', options)
|
|
204
|
+
command.response_representation = Google::Apis::DataformV1beta1::QueryUserRootContentsResponse::Representation
|
|
205
|
+
command.response_class = Google::Apis::DataformV1beta1::QueryUserRootContentsResponse
|
|
206
|
+
command.params['location'] = location unless location.nil?
|
|
207
|
+
command.query['filter'] = filter unless filter.nil?
|
|
208
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
209
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
210
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
211
|
+
command.query['fields'] = fields unless fields.nil?
|
|
212
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
213
|
+
execute_or_queue_command(command, &block)
|
|
214
|
+
end
|
|
215
|
+
|
|
162
216
|
# Update default config for a given project and location. **Note:** *This method
|
|
163
217
|
# does not fully implement [AIP/134](https://google.aip.dev/134). The wildcard
|
|
164
218
|
# entry (\*) is treated as a bad request, and when the `field_mask` is omitted,
|
|
@@ -198,6 +252,104 @@ module Google
|
|
|
198
252
|
execute_or_queue_command(command, &block)
|
|
199
253
|
end
|
|
200
254
|
|
|
255
|
+
# Creates a new Folder in a given project and location.
|
|
256
|
+
# @param [String] parent
|
|
257
|
+
# Required. The location in which to create the Folder. Must be in the format `
|
|
258
|
+
# projects/*/locations/*`.
|
|
259
|
+
# @param [Google::Apis::DataformV1beta1::Folder] folder_object
|
|
260
|
+
# @param [String] folder_id
|
|
261
|
+
# The ID to use for the Folder, which will become the final component of the
|
|
262
|
+
# Folder's resource name.
|
|
263
|
+
# @param [String] fields
|
|
264
|
+
# Selector specifying which fields to include in a partial response.
|
|
265
|
+
# @param [String] quota_user
|
|
266
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
267
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
268
|
+
# @param [Google::Apis::RequestOptions] options
|
|
269
|
+
# Request-specific options
|
|
270
|
+
#
|
|
271
|
+
# @yield [result, err] Result & error if block supplied
|
|
272
|
+
# @yieldparam result [Google::Apis::DataformV1beta1::Folder] parsed result object
|
|
273
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
274
|
+
#
|
|
275
|
+
# @return [Google::Apis::DataformV1beta1::Folder]
|
|
276
|
+
#
|
|
277
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
278
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
279
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
280
|
+
def create_project_location_folder(parent, folder_object = nil, folder_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
281
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/folders', options)
|
|
282
|
+
command.request_representation = Google::Apis::DataformV1beta1::Folder::Representation
|
|
283
|
+
command.request_object = folder_object
|
|
284
|
+
command.response_representation = Google::Apis::DataformV1beta1::Folder::Representation
|
|
285
|
+
command.response_class = Google::Apis::DataformV1beta1::Folder
|
|
286
|
+
command.params['parent'] = parent unless parent.nil?
|
|
287
|
+
command.query['folderId'] = folder_id unless folder_id.nil?
|
|
288
|
+
command.query['fields'] = fields unless fields.nil?
|
|
289
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
290
|
+
execute_or_queue_command(command, &block)
|
|
291
|
+
end
|
|
292
|
+
|
|
293
|
+
# Deletes a single Folder.
|
|
294
|
+
# @param [String] name
|
|
295
|
+
# Required. The Folder's name.
|
|
296
|
+
# @param [String] fields
|
|
297
|
+
# Selector specifying which fields to include in a partial response.
|
|
298
|
+
# @param [String] quota_user
|
|
299
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
300
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
301
|
+
# @param [Google::Apis::RequestOptions] options
|
|
302
|
+
# Request-specific options
|
|
303
|
+
#
|
|
304
|
+
# @yield [result, err] Result & error if block supplied
|
|
305
|
+
# @yieldparam result [Google::Apis::DataformV1beta1::Empty] parsed result object
|
|
306
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
307
|
+
#
|
|
308
|
+
# @return [Google::Apis::DataformV1beta1::Empty]
|
|
309
|
+
#
|
|
310
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
311
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
312
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
313
|
+
def delete_project_location_folder(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
314
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
|
315
|
+
command.response_representation = Google::Apis::DataformV1beta1::Empty::Representation
|
|
316
|
+
command.response_class = Google::Apis::DataformV1beta1::Empty
|
|
317
|
+
command.params['name'] = name unless name.nil?
|
|
318
|
+
command.query['fields'] = fields unless fields.nil?
|
|
319
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
320
|
+
execute_or_queue_command(command, &block)
|
|
321
|
+
end
|
|
322
|
+
|
|
323
|
+
# Fetches a single Folder.
|
|
324
|
+
# @param [String] name
|
|
325
|
+
# Required. The Folder's name.
|
|
326
|
+
# @param [String] fields
|
|
327
|
+
# Selector specifying which fields to include in a partial response.
|
|
328
|
+
# @param [String] quota_user
|
|
329
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
330
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
331
|
+
# @param [Google::Apis::RequestOptions] options
|
|
332
|
+
# Request-specific options
|
|
333
|
+
#
|
|
334
|
+
# @yield [result, err] Result & error if block supplied
|
|
335
|
+
# @yieldparam result [Google::Apis::DataformV1beta1::Folder] parsed result object
|
|
336
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
337
|
+
#
|
|
338
|
+
# @return [Google::Apis::DataformV1beta1::Folder]
|
|
339
|
+
#
|
|
340
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
341
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
342
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
343
|
+
def get_project_location_folder(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
344
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
|
345
|
+
command.response_representation = Google::Apis::DataformV1beta1::Folder::Representation
|
|
346
|
+
command.response_class = Google::Apis::DataformV1beta1::Folder
|
|
347
|
+
command.params['name'] = name unless name.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
|
+
|
|
201
353
|
# Gets the access control policy for a resource. Returns an empty policy if the
|
|
202
354
|
# resource exists and does not have a policy set.
|
|
203
355
|
# @param [String] resource
|
|
@@ -243,6 +395,130 @@ module Google
|
|
|
243
395
|
execute_or_queue_command(command, &block)
|
|
244
396
|
end
|
|
245
397
|
|
|
398
|
+
# Moves a Folder to a new Folder, TeamFolder, or the root location.
|
|
399
|
+
# @param [String] name
|
|
400
|
+
# Required. The full resource name of the Folder to move.
|
|
401
|
+
# @param [Google::Apis::DataformV1beta1::MoveFolderRequest] move_folder_request_object
|
|
402
|
+
# @param [String] fields
|
|
403
|
+
# Selector specifying which fields to include in a partial response.
|
|
404
|
+
# @param [String] quota_user
|
|
405
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
406
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
407
|
+
# @param [Google::Apis::RequestOptions] options
|
|
408
|
+
# Request-specific options
|
|
409
|
+
#
|
|
410
|
+
# @yield [result, err] Result & error if block supplied
|
|
411
|
+
# @yieldparam result [Google::Apis::DataformV1beta1::Operation] parsed result object
|
|
412
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
413
|
+
#
|
|
414
|
+
# @return [Google::Apis::DataformV1beta1::Operation]
|
|
415
|
+
#
|
|
416
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
417
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
418
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
419
|
+
def move_folder(name, move_folder_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
420
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:move', options)
|
|
421
|
+
command.request_representation = Google::Apis::DataformV1beta1::MoveFolderRequest::Representation
|
|
422
|
+
command.request_object = move_folder_request_object
|
|
423
|
+
command.response_representation = Google::Apis::DataformV1beta1::Operation::Representation
|
|
424
|
+
command.response_class = Google::Apis::DataformV1beta1::Operation
|
|
425
|
+
command.params['name'] = name unless name.nil?
|
|
426
|
+
command.query['fields'] = fields unless fields.nil?
|
|
427
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
428
|
+
execute_or_queue_command(command, &block)
|
|
429
|
+
end
|
|
430
|
+
|
|
431
|
+
# Updates a single Folder.
|
|
432
|
+
# @param [String] name
|
|
433
|
+
# Identifier. The Folder's name.
|
|
434
|
+
# @param [Google::Apis::DataformV1beta1::Folder] folder_object
|
|
435
|
+
# @param [String] update_mask
|
|
436
|
+
# Optional. Specifies the fields to be updated in the Folder. If left unset, all
|
|
437
|
+
# fields that can be updated, will be updated. A few fields cannot be updated
|
|
438
|
+
# and will be ignored if specified in the update_mask (e.g. parent_name,
|
|
439
|
+
# team_folder_name).
|
|
440
|
+
# @param [String] fields
|
|
441
|
+
# Selector specifying which fields to include in a partial response.
|
|
442
|
+
# @param [String] quota_user
|
|
443
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
444
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
445
|
+
# @param [Google::Apis::RequestOptions] options
|
|
446
|
+
# Request-specific options
|
|
447
|
+
#
|
|
448
|
+
# @yield [result, err] Result & error if block supplied
|
|
449
|
+
# @yieldparam result [Google::Apis::DataformV1beta1::Folder] parsed result object
|
|
450
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
451
|
+
#
|
|
452
|
+
# @return [Google::Apis::DataformV1beta1::Folder]
|
|
453
|
+
#
|
|
454
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
455
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
456
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
457
|
+
def patch_project_location_folder(name, folder_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
458
|
+
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
|
459
|
+
command.request_representation = Google::Apis::DataformV1beta1::Folder::Representation
|
|
460
|
+
command.request_object = folder_object
|
|
461
|
+
command.response_representation = Google::Apis::DataformV1beta1::Folder::Representation
|
|
462
|
+
command.response_class = Google::Apis::DataformV1beta1::Folder
|
|
463
|
+
command.params['name'] = name unless name.nil?
|
|
464
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
465
|
+
command.query['fields'] = fields unless fields.nil?
|
|
466
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
467
|
+
execute_or_queue_command(command, &block)
|
|
468
|
+
end
|
|
469
|
+
|
|
470
|
+
# Returns the contents of a given Folder.
|
|
471
|
+
# @param [String] folder
|
|
472
|
+
# Required. Name of the folder whose contents to list. Format: projects/*/
|
|
473
|
+
# locations/*/folders/*
|
|
474
|
+
# @param [String] filter
|
|
475
|
+
# Optional. Optional filtering for the returned list. Filtering is currently
|
|
476
|
+
# only supported on the `display_name` field. Example: - `filter="display_name="
|
|
477
|
+
# MyFolder""`
|
|
478
|
+
# @param [String] order_by
|
|
479
|
+
# Optional. Field to additionally sort results by. Will order Folders before
|
|
480
|
+
# Repositories, and then by `order_by` in ascending order. Supported keywords:
|
|
481
|
+
# display_name (default), create_time, last_modified_time. Examples: - `orderBy="
|
|
482
|
+
# display_name"` - `orderBy="display_name desc"`
|
|
483
|
+
# @param [Fixnum] page_size
|
|
484
|
+
# Optional. Maximum number of paths to return. The server may return fewer items
|
|
485
|
+
# than requested. If unspecified, the server will pick an appropriate default.
|
|
486
|
+
# @param [String] page_token
|
|
487
|
+
# Optional. Page token received from a previous `QueryFolderContents` call.
|
|
488
|
+
# Provide this to retrieve the subsequent page. When paginating, all other
|
|
489
|
+
# parameters provided to `QueryFolderContents`, with the exception of `page_size`
|
|
490
|
+
# , must match the call that provided the page token.
|
|
491
|
+
# @param [String] fields
|
|
492
|
+
# Selector specifying which fields to include in a partial response.
|
|
493
|
+
# @param [String] quota_user
|
|
494
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
495
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
496
|
+
# @param [Google::Apis::RequestOptions] options
|
|
497
|
+
# Request-specific options
|
|
498
|
+
#
|
|
499
|
+
# @yield [result, err] Result & error if block supplied
|
|
500
|
+
# @yieldparam result [Google::Apis::DataformV1beta1::QueryFolderContentsResponse] parsed result object
|
|
501
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
502
|
+
#
|
|
503
|
+
# @return [Google::Apis::DataformV1beta1::QueryFolderContentsResponse]
|
|
504
|
+
#
|
|
505
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
506
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
507
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
508
|
+
def query_project_location_folder_folder_contents(folder, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
509
|
+
command = make_simple_command(:get, 'v1beta1/{+folder}:queryFolderContents', options)
|
|
510
|
+
command.response_representation = Google::Apis::DataformV1beta1::QueryFolderContentsResponse::Representation
|
|
511
|
+
command.response_class = Google::Apis::DataformV1beta1::QueryFolderContentsResponse
|
|
512
|
+
command.params['folder'] = folder unless folder.nil?
|
|
513
|
+
command.query['filter'] = filter unless filter.nil?
|
|
514
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
515
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
516
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
517
|
+
command.query['fields'] = fields unless fields.nil?
|
|
518
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
519
|
+
execute_or_queue_command(command, &block)
|
|
520
|
+
end
|
|
521
|
+
|
|
246
522
|
# Sets the access control policy on the specified resource. Replaces any
|
|
247
523
|
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
|
248
524
|
# PERMISSION_DENIED` errors.
|
|
@@ -811,6 +1087,39 @@ module Google
|
|
|
811
1087
|
execute_or_queue_command(command, &block)
|
|
812
1088
|
end
|
|
813
1089
|
|
|
1090
|
+
# Moves a Repository to a new location.
|
|
1091
|
+
# @param [String] name
|
|
1092
|
+
# Required. The full resource name of the repository to move.
|
|
1093
|
+
# @param [Google::Apis::DataformV1beta1::MoveRepositoryRequest] move_repository_request_object
|
|
1094
|
+
# @param [String] fields
|
|
1095
|
+
# Selector specifying which fields to include in a partial response.
|
|
1096
|
+
# @param [String] quota_user
|
|
1097
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1098
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1099
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1100
|
+
# Request-specific options
|
|
1101
|
+
#
|
|
1102
|
+
# @yield [result, err] Result & error if block supplied
|
|
1103
|
+
# @yieldparam result [Google::Apis::DataformV1beta1::Operation] parsed result object
|
|
1104
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1105
|
+
#
|
|
1106
|
+
# @return [Google::Apis::DataformV1beta1::Operation]
|
|
1107
|
+
#
|
|
1108
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1109
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1110
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1111
|
+
def move_repository(name, move_repository_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1112
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:move', options)
|
|
1113
|
+
command.request_representation = Google::Apis::DataformV1beta1::MoveRepositoryRequest::Representation
|
|
1114
|
+
command.request_object = move_repository_request_object
|
|
1115
|
+
command.response_representation = Google::Apis::DataformV1beta1::Operation::Representation
|
|
1116
|
+
command.response_class = Google::Apis::DataformV1beta1::Operation
|
|
1117
|
+
command.params['name'] = name unless name.nil?
|
|
1118
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1119
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1120
|
+
execute_or_queue_command(command, &block)
|
|
1121
|
+
end
|
|
1122
|
+
|
|
814
1123
|
# Updates a single Repository. **Note:** *This method does not fully implement [
|
|
815
1124
|
# AIP/134](https://google.aip.dev/134). The wildcard entry (\*) is treated as a
|
|
816
1125
|
# bad request, and when the `field_mask` is omitted, the request is treated as a
|
|
@@ -2612,6 +2921,104 @@ module Google
|
|
|
2612
2921
|
execute_or_queue_command(command, &block)
|
|
2613
2922
|
end
|
|
2614
2923
|
|
|
2924
|
+
# Creates a new TeamFolder in a given project and location.
|
|
2925
|
+
# @param [String] parent
|
|
2926
|
+
# Required. The location in which to create the TeamFolder. Must be in the
|
|
2927
|
+
# format `projects/*/locations/*`.
|
|
2928
|
+
# @param [Google::Apis::DataformV1beta1::TeamFolder] team_folder_object
|
|
2929
|
+
# @param [String] team_folder_id
|
|
2930
|
+
# The ID to use for the TeamFolder, which will become the final component of the
|
|
2931
|
+
# TeamFolder's resource name.
|
|
2932
|
+
# @param [String] fields
|
|
2933
|
+
# Selector specifying which fields to include in a partial response.
|
|
2934
|
+
# @param [String] quota_user
|
|
2935
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2936
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2937
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2938
|
+
# Request-specific options
|
|
2939
|
+
#
|
|
2940
|
+
# @yield [result, err] Result & error if block supplied
|
|
2941
|
+
# @yieldparam result [Google::Apis::DataformV1beta1::TeamFolder] parsed result object
|
|
2942
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2943
|
+
#
|
|
2944
|
+
# @return [Google::Apis::DataformV1beta1::TeamFolder]
|
|
2945
|
+
#
|
|
2946
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2947
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2948
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2949
|
+
def create_project_location_team_folder(parent, team_folder_object = nil, team_folder_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2950
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/teamFolders', options)
|
|
2951
|
+
command.request_representation = Google::Apis::DataformV1beta1::TeamFolder::Representation
|
|
2952
|
+
command.request_object = team_folder_object
|
|
2953
|
+
command.response_representation = Google::Apis::DataformV1beta1::TeamFolder::Representation
|
|
2954
|
+
command.response_class = Google::Apis::DataformV1beta1::TeamFolder
|
|
2955
|
+
command.params['parent'] = parent unless parent.nil?
|
|
2956
|
+
command.query['teamFolderId'] = team_folder_id unless team_folder_id.nil?
|
|
2957
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2958
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2959
|
+
execute_or_queue_command(command, &block)
|
|
2960
|
+
end
|
|
2961
|
+
|
|
2962
|
+
# Deletes a single TeamFolder.
|
|
2963
|
+
# @param [String] name
|
|
2964
|
+
# Required. The TeamFolder's name.
|
|
2965
|
+
# @param [String] fields
|
|
2966
|
+
# Selector specifying which fields to include in a partial response.
|
|
2967
|
+
# @param [String] quota_user
|
|
2968
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2969
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2970
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2971
|
+
# Request-specific options
|
|
2972
|
+
#
|
|
2973
|
+
# @yield [result, err] Result & error if block supplied
|
|
2974
|
+
# @yieldparam result [Google::Apis::DataformV1beta1::Empty] parsed result object
|
|
2975
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2976
|
+
#
|
|
2977
|
+
# @return [Google::Apis::DataformV1beta1::Empty]
|
|
2978
|
+
#
|
|
2979
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2980
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2981
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2982
|
+
def delete_project_location_team_folder(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
2983
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
|
2984
|
+
command.response_representation = Google::Apis::DataformV1beta1::Empty::Representation
|
|
2985
|
+
command.response_class = Google::Apis::DataformV1beta1::Empty
|
|
2986
|
+
command.params['name'] = name unless name.nil?
|
|
2987
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2988
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2989
|
+
execute_or_queue_command(command, &block)
|
|
2990
|
+
end
|
|
2991
|
+
|
|
2992
|
+
# Fetches a single TeamFolder.
|
|
2993
|
+
# @param [String] name
|
|
2994
|
+
# Required. The TeamFolder's name.
|
|
2995
|
+
# @param [String] fields
|
|
2996
|
+
# Selector specifying which fields to include in a partial response.
|
|
2997
|
+
# @param [String] quota_user
|
|
2998
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2999
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3000
|
+
# @param [Google::Apis::RequestOptions] options
|
|
3001
|
+
# Request-specific options
|
|
3002
|
+
#
|
|
3003
|
+
# @yield [result, err] Result & error if block supplied
|
|
3004
|
+
# @yieldparam result [Google::Apis::DataformV1beta1::TeamFolder] parsed result object
|
|
3005
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
3006
|
+
#
|
|
3007
|
+
# @return [Google::Apis::DataformV1beta1::TeamFolder]
|
|
3008
|
+
#
|
|
3009
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3010
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3011
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3012
|
+
def get_project_location_team_folder(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
3013
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
|
3014
|
+
command.response_representation = Google::Apis::DataformV1beta1::TeamFolder::Representation
|
|
3015
|
+
command.response_class = Google::Apis::DataformV1beta1::TeamFolder
|
|
3016
|
+
command.params['name'] = name unless name.nil?
|
|
3017
|
+
command.query['fields'] = fields unless fields.nil?
|
|
3018
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3019
|
+
execute_or_queue_command(command, &block)
|
|
3020
|
+
end
|
|
3021
|
+
|
|
2615
3022
|
# Gets the access control policy for a resource. Returns an empty policy if the
|
|
2616
3023
|
# resource exists and does not have a policy set.
|
|
2617
3024
|
# @param [String] resource
|
|
@@ -2657,6 +3064,148 @@ module Google
|
|
|
2657
3064
|
execute_or_queue_command(command, &block)
|
|
2658
3065
|
end
|
|
2659
3066
|
|
|
3067
|
+
# Updates a single TeamFolder.
|
|
3068
|
+
# @param [String] name
|
|
3069
|
+
# Identifier. The TeamFolder's name.
|
|
3070
|
+
# @param [Google::Apis::DataformV1beta1::TeamFolder] team_folder_object
|
|
3071
|
+
# @param [String] update_mask
|
|
3072
|
+
# Optional. Specifies the fields to be updated in the Folder. If left unset, all
|
|
3073
|
+
# fields will be updated.
|
|
3074
|
+
# @param [String] fields
|
|
3075
|
+
# Selector specifying which fields to include in a partial response.
|
|
3076
|
+
# @param [String] quota_user
|
|
3077
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
3078
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3079
|
+
# @param [Google::Apis::RequestOptions] options
|
|
3080
|
+
# Request-specific options
|
|
3081
|
+
#
|
|
3082
|
+
# @yield [result, err] Result & error if block supplied
|
|
3083
|
+
# @yieldparam result [Google::Apis::DataformV1beta1::TeamFolder] parsed result object
|
|
3084
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
3085
|
+
#
|
|
3086
|
+
# @return [Google::Apis::DataformV1beta1::TeamFolder]
|
|
3087
|
+
#
|
|
3088
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3089
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3090
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3091
|
+
def patch_project_location_team_folder(name, team_folder_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3092
|
+
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
|
3093
|
+
command.request_representation = Google::Apis::DataformV1beta1::TeamFolder::Representation
|
|
3094
|
+
command.request_object = team_folder_object
|
|
3095
|
+
command.response_representation = Google::Apis::DataformV1beta1::TeamFolder::Representation
|
|
3096
|
+
command.response_class = Google::Apis::DataformV1beta1::TeamFolder
|
|
3097
|
+
command.params['name'] = name unless name.nil?
|
|
3098
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
3099
|
+
command.query['fields'] = fields unless fields.nil?
|
|
3100
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3101
|
+
execute_or_queue_command(command, &block)
|
|
3102
|
+
end
|
|
3103
|
+
|
|
3104
|
+
# Returns the contents of a given TeamFolder.
|
|
3105
|
+
# @param [String] team_folder
|
|
3106
|
+
# Required. Name of the team_folder whose contents to list. Format: `projects/*/
|
|
3107
|
+
# locations/*/teamFolders/*`.
|
|
3108
|
+
# @param [String] filter
|
|
3109
|
+
# Optional. Optional filtering for the returned list. Filtering is currently
|
|
3110
|
+
# only supported on the `display_name` field. Example: - `filter="display_name="
|
|
3111
|
+
# MyFolder""`
|
|
3112
|
+
# @param [String] order_by
|
|
3113
|
+
# Optional. Field to additionally sort results by. Will order Folders before
|
|
3114
|
+
# Repositories, and then by `order_by` in ascending order. Supported keywords: `
|
|
3115
|
+
# display_name` (default), `create_time`, last_modified_time. Examples: - `
|
|
3116
|
+
# orderBy="display_name"` - `orderBy="display_name desc"`
|
|
3117
|
+
# @param [Fixnum] page_size
|
|
3118
|
+
# Optional. Maximum number of paths to return. The server may return fewer items
|
|
3119
|
+
# than requested. If unspecified, the server will pick an appropriate default.
|
|
3120
|
+
# @param [String] page_token
|
|
3121
|
+
# Optional. Page token received from a previous `QueryTeamFolderContents` call.
|
|
3122
|
+
# Provide this to retrieve the subsequent page. When paginating, all other
|
|
3123
|
+
# parameters provided to `QueryTeamFolderContents`, with the exception of `
|
|
3124
|
+
# page_size`, must match the call that provided the page token.
|
|
3125
|
+
# @param [String] fields
|
|
3126
|
+
# Selector specifying which fields to include in a partial response.
|
|
3127
|
+
# @param [String] quota_user
|
|
3128
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
3129
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3130
|
+
# @param [Google::Apis::RequestOptions] options
|
|
3131
|
+
# Request-specific options
|
|
3132
|
+
#
|
|
3133
|
+
# @yield [result, err] Result & error if block supplied
|
|
3134
|
+
# @yieldparam result [Google::Apis::DataformV1beta1::QueryTeamFolderContentsResponse] parsed result object
|
|
3135
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
3136
|
+
#
|
|
3137
|
+
# @return [Google::Apis::DataformV1beta1::QueryTeamFolderContentsResponse]
|
|
3138
|
+
#
|
|
3139
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3140
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3141
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3142
|
+
def query_project_location_team_folder_contents(team_folder, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3143
|
+
command = make_simple_command(:get, 'v1beta1/{+teamFolder}:queryContents', options)
|
|
3144
|
+
command.response_representation = Google::Apis::DataformV1beta1::QueryTeamFolderContentsResponse::Representation
|
|
3145
|
+
command.response_class = Google::Apis::DataformV1beta1::QueryTeamFolderContentsResponse
|
|
3146
|
+
command.params['teamFolder'] = team_folder unless team_folder.nil?
|
|
3147
|
+
command.query['filter'] = filter unless filter.nil?
|
|
3148
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
3149
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
3150
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
3151
|
+
command.query['fields'] = fields unless fields.nil?
|
|
3152
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3153
|
+
execute_or_queue_command(command, &block)
|
|
3154
|
+
end
|
|
3155
|
+
|
|
3156
|
+
# Returns all TeamFolders in a given location that the caller has access to and
|
|
3157
|
+
# match the provided filter.
|
|
3158
|
+
# @param [String] location
|
|
3159
|
+
# Required. Location in which to query TeamFolders. Format: `projects/*/
|
|
3160
|
+
# locations/*`.
|
|
3161
|
+
# @param [String] filter
|
|
3162
|
+
# Optional. Optional filtering for the returned list. Filtering is currently
|
|
3163
|
+
# only supported on the `display_name` field. Example: - `filter="display_name="
|
|
3164
|
+
# MyFolder""`
|
|
3165
|
+
# @param [String] order_by
|
|
3166
|
+
# Optional. Field to additionally sort results by. Supported keywords: `
|
|
3167
|
+
# display_name` (default), `create_time`, `last_modified_time`. Examples: - `
|
|
3168
|
+
# orderBy="display_name"` - `orderBy="display_name desc"`
|
|
3169
|
+
# @param [Fixnum] page_size
|
|
3170
|
+
# Optional. Maximum number of TeamFolders to return. The server may return fewer
|
|
3171
|
+
# items than requested. If unspecified, the server will pick an appropriate
|
|
3172
|
+
# default.
|
|
3173
|
+
# @param [String] page_token
|
|
3174
|
+
# Optional. Page token received from a previous `SearchTeamFolders` call.
|
|
3175
|
+
# Provide this to retrieve the subsequent page. When paginating, all other
|
|
3176
|
+
# parameters provided to `SearchTeamFolders`, with the exception of `page_size`,
|
|
3177
|
+
# must match the call that provided the page token.
|
|
3178
|
+
# @param [String] fields
|
|
3179
|
+
# Selector specifying which fields to include in a partial response.
|
|
3180
|
+
# @param [String] quota_user
|
|
3181
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
3182
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3183
|
+
# @param [Google::Apis::RequestOptions] options
|
|
3184
|
+
# Request-specific options
|
|
3185
|
+
#
|
|
3186
|
+
# @yield [result, err] Result & error if block supplied
|
|
3187
|
+
# @yieldparam result [Google::Apis::DataformV1beta1::SearchTeamFoldersResponse] parsed result object
|
|
3188
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
3189
|
+
#
|
|
3190
|
+
# @return [Google::Apis::DataformV1beta1::SearchTeamFoldersResponse]
|
|
3191
|
+
#
|
|
3192
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3193
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3194
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3195
|
+
def search_project_location_team_folders(location, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3196
|
+
command = make_simple_command(:get, 'v1beta1/{+location}/teamFolders:search', options)
|
|
3197
|
+
command.response_representation = Google::Apis::DataformV1beta1::SearchTeamFoldersResponse::Representation
|
|
3198
|
+
command.response_class = Google::Apis::DataformV1beta1::SearchTeamFoldersResponse
|
|
3199
|
+
command.params['location'] = location unless location.nil?
|
|
3200
|
+
command.query['filter'] = filter unless filter.nil?
|
|
3201
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
3202
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
3203
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
3204
|
+
command.query['fields'] = fields unless fields.nil?
|
|
3205
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3206
|
+
execute_or_queue_command(command, &block)
|
|
3207
|
+
end
|
|
3208
|
+
|
|
2660
3209
|
# Sets the access control policy on the specified resource. Replaces any
|
|
2661
3210
|
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
|
2662
3211
|
# PERMISSION_DENIED` errors.
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-dataform_v1beta1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.54.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dataform_v1beta1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dataform_v1beta1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dataform_v1beta1/v0.54.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dataform_v1beta1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|