google-apis-securitycenter_v1 0.21.0 → 0.22.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 74e5eb1c047c50fe7fb9a7523b337079f9ad81a2884c3547e256083913a3af8b
4
- data.tar.gz: 30e638ed6cc5c62936ac03173e23a0f2f9e031e91838e2784a4b57ed94f01b6f
3
+ metadata.gz: 891373c59d920bf88c197786c10f059522f8c5be20287c9d4e14ecec4decc733
4
+ data.tar.gz: d3457bafcf76204e74f050997675b42bdc5eabe49c8c5a6b1a3a07375df87d68
5
5
  SHA512:
6
- metadata.gz: 2749cdc51c8a321e65b9e8f6dee3584e70a2cc8fb129d98a1e0a6e57d869c873a36117f02b203ade501864739e1d1d8bb42d86ad21cad8bc60e86e1429a5845c
7
- data.tar.gz: 69952bf3dd5838e3ce8eecd5427d7eeb1cb07e575574d3465c50958e476e0ba9d001e7796f08f1b5dbe6305d4d76939ace02aa1d7a70a5fd74bf3f6e2a92c7a7
6
+ metadata.gz: 2fe99239b9525920e4c7e4e0e3f2761c8b981565e78123a912578c2da2d28c78068717400e67a4c0df6f7e303f4089ec8d028ce589680c1fd7fb8f4fd5c987cf
7
+ data.tar.gz: b82dd304599cacde570a8cd2349e9f2697dd6e9b4d91e77fea6012204074ab2498715933cd1dfc293d95e9db5f452f251895e4b6bb57eb1f10be09c229c9a5a5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-securitycenter_v1
2
2
 
3
+ ### v0.22.0 (2022-02-23)
4
+
5
+ * Regenerated from discovery document revision 20220219
6
+
3
7
  ### v0.21.0 (2022-02-15)
4
8
 
5
9
  * Regenerated from discovery document revision 20220210
@@ -821,6 +821,93 @@ module Google
821
821
  end
822
822
  end
823
823
 
824
+ # Configures how to deliver Findings to BigQuery Instance.
825
+ class GoogleCloudSecuritycenterV1BigQueryExport
826
+ include Google::Apis::Core::Hashable
827
+
828
+ # Output only. The time at which the big query export was created. This field is
829
+ # set by the server and will be ignored if provided on export on creation.
830
+ # Corresponds to the JSON property `createTime`
831
+ # @return [String]
832
+ attr_accessor :create_time
833
+
834
+ # The dataset to write findings' updates to. Its format is "projects/[project_id]
835
+ # /datasets/[bigquery_dataset_id]". BigQuery Dataset unique ID must contain only
836
+ # letters (a-z, A-Z), numbers (0-9), or underscores (_).
837
+ # Corresponds to the JSON property `dataset`
838
+ # @return [String]
839
+ attr_accessor :dataset
840
+
841
+ # The description of the export (max of 1024 characters).
842
+ # Corresponds to the JSON property `description`
843
+ # @return [String]
844
+ attr_accessor :description
845
+
846
+ # Expression that defines the filter to apply across create/update events of
847
+ # findings. The expression is a list of zero or more restrictions combined via
848
+ # logical operators `AND` and `OR`. Parentheses are supported, and `OR` has
849
+ # higher precedence than `AND`. Restrictions have the form ` ` and may have a `-`
850
+ # character in front of them to indicate negation. The fields map to those
851
+ # defined in the corresponding resource. The supported operators are: * `=` for
852
+ # all value types. * `>`, `<`, `>=`, `<=` for integer values. * `:`, meaning
853
+ # substring matching, for strings. The supported value types are: * string
854
+ # literals in quotes. * integer literals without quotes. * boolean literals `
855
+ # true` and `false` without quotes. Please see the proto documentation in the
856
+ # finding (https://source.corp.google.com/piper///depot/google3/google/cloud/
857
+ # securitycenter/v1/finding.proto) and in the ListFindingsRequest for valid
858
+ # filter syntax. (https://source.corp.google.com/piper///depot/google3/google/
859
+ # cloud/securitycenter/v1/securitycenter_service.proto).
860
+ # Corresponds to the JSON property `filter`
861
+ # @return [String]
862
+ attr_accessor :filter
863
+
864
+ # Output only. Email address of the user who last edited the big query export.
865
+ # This field is set by the server and will be ignored if provided on export
866
+ # creation or update.
867
+ # Corresponds to the JSON property `mostRecentEditor`
868
+ # @return [String]
869
+ attr_accessor :most_recent_editor
870
+
871
+ # The relative resource name of this export. See: https://cloud.google.com/apis/
872
+ # design/resource_names#relative_resource_name. Example format: "organizations/`
873
+ # organization_id`/bigQueryExports/`export_id`" Example format: "folders/`
874
+ # folder_id`/bigQueryExports/`export_id`" Example format: "projects/`project_id`/
875
+ # bigQueryExports/`export_id`" This field is provided in responses, and is
876
+ # ignored when provided in create requests.
877
+ # Corresponds to the JSON property `name`
878
+ # @return [String]
879
+ attr_accessor :name
880
+
881
+ # Output only. The service account that needs permission to create table, upload
882
+ # data to the big query dataset.
883
+ # Corresponds to the JSON property `principal`
884
+ # @return [String]
885
+ attr_accessor :principal
886
+
887
+ # Output only. The most recent time at which the big export was updated. This
888
+ # field is set by the server and will be ignored if provided on export creation
889
+ # or update.
890
+ # Corresponds to the JSON property `updateTime`
891
+ # @return [String]
892
+ attr_accessor :update_time
893
+
894
+ def initialize(**args)
895
+ update!(**args)
896
+ end
897
+
898
+ # Update properties of this object
899
+ def update!(**args)
900
+ @create_time = args[:create_time] if args.key?(:create_time)
901
+ @dataset = args[:dataset] if args.key?(:dataset)
902
+ @description = args[:description] if args.key?(:description)
903
+ @filter = args[:filter] if args.key?(:filter)
904
+ @most_recent_editor = args[:most_recent_editor] if args.key?(:most_recent_editor)
905
+ @name = args[:name] if args.key?(:name)
906
+ @principal = args[:principal] if args.key?(:principal)
907
+ @update_time = args[:update_time] if args.key?(:update_time)
908
+ end
909
+ end
910
+
824
911
  # The response to a BulkMute request. Contains the LRO information.
825
912
  class GoogleCloudSecuritycenterV1BulkMuteFindingsResponse
826
913
  include Google::Apis::Core::Hashable
@@ -1026,7 +1113,7 @@ module Google
1026
1113
  # @return [String]
1027
1114
  attr_accessor :project
1028
1115
 
1029
- # The human readable name of project that the resource belongs to.
1116
+ # The project id that the resource belongs to.
1030
1117
  # Corresponds to the JSON property `projectDisplayName`
1031
1118
  # @return [String]
1032
1119
  attr_accessor :project_display_name
@@ -1311,7 +1398,7 @@ module Google
1311
1398
  # @return [String]
1312
1399
  attr_accessor :project
1313
1400
 
1314
- # The human readable name of project that the resource belongs to.
1401
+ # The project id that the resource belongs to.
1315
1402
  # Corresponds to the JSON property `projectDisplayName`
1316
1403
  # @return [String]
1317
1404
  attr_accessor :project_display_name
@@ -1837,6 +1924,32 @@ module Google
1837
1924
  end
1838
1925
  end
1839
1926
 
1927
+ # Response message for listing BigQuery exports.
1928
+ class ListBigQueryExportsResponse
1929
+ include Google::Apis::Core::Hashable
1930
+
1931
+ # The BigQuery exports from the specified parent.
1932
+ # Corresponds to the JSON property `bigQueryExports`
1933
+ # @return [Array<Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1BigQueryExport>]
1934
+ attr_accessor :big_query_exports
1935
+
1936
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
1937
+ # field is omitted, there are no subsequent pages.
1938
+ # Corresponds to the JSON property `nextPageToken`
1939
+ # @return [String]
1940
+ attr_accessor :next_page_token
1941
+
1942
+ def initialize(**args)
1943
+ update!(**args)
1944
+ end
1945
+
1946
+ # Update properties of this object
1947
+ def update!(**args)
1948
+ @big_query_exports = args[:big_query_exports] if args.key?(:big_query_exports)
1949
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1950
+ end
1951
+ end
1952
+
1840
1953
  # Response message for listing findings.
1841
1954
  class ListFindingsResponse
1842
1955
  include Google::Apis::Core::Hashable
@@ -2367,7 +2480,7 @@ module Google
2367
2480
  # @return [String]
2368
2481
  attr_accessor :parent_name
2369
2482
 
2370
- # The human readable name of project that the resource belongs to.
2483
+ # The project id that the resource belongs to.
2371
2484
  # Corresponds to the JSON property `projectDisplayName`
2372
2485
  # @return [String]
2373
2486
  attr_accessor :project_display_name
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module SecuritycenterV1
18
18
  # Version of the google-apis-securitycenter_v1 gem
19
- GEM_VERSION = "0.21.0"
19
+ GEM_VERSION = "0.22.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220210"
25
+ REVISION = "20220219"
26
26
  end
27
27
  end
28
28
  end
@@ -118,6 +118,12 @@ module Google
118
118
  include Google::Apis::Core::JsonObjectSupport
119
119
  end
120
120
 
121
+ class GoogleCloudSecuritycenterV1BigQueryExport
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
121
127
  class GoogleCloudSecuritycenterV1BulkMuteFindingsResponse
122
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
129
 
@@ -250,6 +256,12 @@ module Google
250
256
  include Google::Apis::Core::JsonObjectSupport
251
257
  end
252
258
 
259
+ class ListBigQueryExportsResponse
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
253
265
  class ListFindingsResponse
254
266
  class Representation < Google::Apis::Core::JsonRepresentation; end
255
267
 
@@ -580,6 +592,20 @@ module Google
580
592
  end
581
593
  end
582
594
 
595
+ class GoogleCloudSecuritycenterV1BigQueryExport
596
+ # @private
597
+ class Representation < Google::Apis::Core::JsonRepresentation
598
+ property :create_time, as: 'createTime'
599
+ property :dataset, as: 'dataset'
600
+ property :description, as: 'description'
601
+ property :filter, as: 'filter'
602
+ property :most_recent_editor, as: 'mostRecentEditor'
603
+ property :name, as: 'name'
604
+ property :principal, as: 'principal'
605
+ property :update_time, as: 'updateTime'
606
+ end
607
+ end
608
+
583
609
  class GoogleCloudSecuritycenterV1BulkMuteFindingsResponse
584
610
  # @private
585
611
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -809,6 +835,15 @@ module Google
809
835
  end
810
836
  end
811
837
 
838
+ class ListBigQueryExportsResponse
839
+ # @private
840
+ class Representation < Google::Apis::Core::JsonRepresentation
841
+ collection :big_query_exports, as: 'bigQueryExports', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1BigQueryExport, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1BigQueryExport::Representation
842
+
843
+ property :next_page_token, as: 'nextPageToken'
844
+ end
845
+ end
846
+
812
847
  class ListFindingsResponse
813
848
  # @private
814
849
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -248,6 +248,198 @@ module Google
248
248
  execute_or_queue_command(command, &block)
249
249
  end
250
250
 
251
+ # Creates a big query export.
252
+ # @param [String] parent
253
+ # Required. Resource name of the new big query export's parent. Its format is "
254
+ # organizations/[organization_id]", "folders/[folder_id]", or "projects/[
255
+ # project_id]".
256
+ # @param [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1BigQueryExport] google_cloud_securitycenter_v1_big_query_export_object
257
+ # @param [String] big_query_export_id
258
+ # Required. Unique identifier provided by the client within the parent scope. It
259
+ # must consist of lower case letters, numbers, and hyphen, with the first
260
+ # character a letter, the last a letter or a number, and a 63 character maximum.
261
+ # @param [String] fields
262
+ # Selector specifying which fields to include in a partial response.
263
+ # @param [String] quota_user
264
+ # Available to use for quota purposes for server-side applications. Can be any
265
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
266
+ # @param [Google::Apis::RequestOptions] options
267
+ # Request-specific options
268
+ #
269
+ # @yield [result, err] Result & error if block supplied
270
+ # @yieldparam result [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1BigQueryExport] parsed result object
271
+ # @yieldparam err [StandardError] error object if request failed
272
+ #
273
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1BigQueryExport]
274
+ #
275
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
276
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
277
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
278
+ def create_folder_big_query_export(parent, google_cloud_securitycenter_v1_big_query_export_object = nil, big_query_export_id: nil, fields: nil, quota_user: nil, options: nil, &block)
279
+ command = make_simple_command(:post, 'v1/{+parent}/bigQueryExports', options)
280
+ command.request_representation = Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1BigQueryExport::Representation
281
+ command.request_object = google_cloud_securitycenter_v1_big_query_export_object
282
+ command.response_representation = Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1BigQueryExport::Representation
283
+ command.response_class = Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1BigQueryExport
284
+ command.params['parent'] = parent unless parent.nil?
285
+ command.query['bigQueryExportId'] = big_query_export_id unless big_query_export_id.nil?
286
+ command.query['fields'] = fields unless fields.nil?
287
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
288
+ execute_or_queue_command(command, &block)
289
+ end
290
+
291
+ # Deletes an existing big query export.
292
+ # @param [String] name
293
+ # Required. Name of the big query export to delete. Its format is organizations/`
294
+ # organization`/bigQueryExports/`export_id`, folders/`folder`/bigQueryExports/`
295
+ # export_id`, or projects/`project`/bigQueryExports/`export_id`
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::SecuritycenterV1::Empty] parsed result object
306
+ # @yieldparam err [StandardError] error object if request failed
307
+ #
308
+ # @return [Google::Apis::SecuritycenterV1::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_folder_big_query_export(name, fields: nil, quota_user: nil, options: nil, &block)
314
+ command = make_simple_command(:delete, 'v1/{+name}', options)
315
+ command.response_representation = Google::Apis::SecuritycenterV1::Empty::Representation
316
+ command.response_class = Google::Apis::SecuritycenterV1::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
+ # Gets a big query export.
324
+ # @param [String] name
325
+ # Required. Name of the big query export to retrieve. Its format is
326
+ # organizations/`organization`/bigQueryExports/`export_id`, folders/`folder`/
327
+ # bigQueryExports/`export_id`, or projects/`project`/bigQueryExports/`export_id`
328
+ # @param [String] fields
329
+ # Selector specifying which fields to include in a partial response.
330
+ # @param [String] quota_user
331
+ # Available to use for quota purposes for server-side applications. Can be any
332
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
333
+ # @param [Google::Apis::RequestOptions] options
334
+ # Request-specific options
335
+ #
336
+ # @yield [result, err] Result & error if block supplied
337
+ # @yieldparam result [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1BigQueryExport] parsed result object
338
+ # @yieldparam err [StandardError] error object if request failed
339
+ #
340
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1BigQueryExport]
341
+ #
342
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
343
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
344
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
345
+ def get_folder_big_query_export(name, fields: nil, quota_user: nil, options: nil, &block)
346
+ command = make_simple_command(:get, 'v1/{+name}', options)
347
+ command.response_representation = Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1BigQueryExport::Representation
348
+ command.response_class = Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1BigQueryExport
349
+ command.params['name'] = name unless name.nil?
350
+ command.query['fields'] = fields unless fields.nil?
351
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
352
+ execute_or_queue_command(command, &block)
353
+ end
354
+
355
+ # Lists BigQuery exports. Note that when requesting BigQuery exports at a given
356
+ # level all exports under that level are also returned e.g. if requesting
357
+ # BigQuery exports under a folder, then all BigQuery exports immediately under
358
+ # the folder plus the ones created under the projects within the folder are
359
+ # returned.
360
+ # @param [String] parent
361
+ # Required. The parent, which owns the collection of BigQuery exports. Its
362
+ # format is "organizations/[organization_id]", "folders/[folder_id]", "projects/[
363
+ # project_id]".
364
+ # @param [Fixnum] page_size
365
+ # The maximum number of configs to return. The service may return fewer than
366
+ # this value. If unspecified, at most 10 configs will be returned. The maximum
367
+ # value is 1000; values above 1000 will be coerced to 1000.
368
+ # @param [String] page_token
369
+ # A page token, received from a previous `ListBigQueryExports` call. Provide
370
+ # this to retrieve the subsequent page. When paginating, all other parameters
371
+ # provided to `ListBigQueryExports` must match the call that provided the page
372
+ # token.
373
+ # @param [String] fields
374
+ # Selector specifying which fields to include in a partial response.
375
+ # @param [String] quota_user
376
+ # Available to use for quota purposes for server-side applications. Can be any
377
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
378
+ # @param [Google::Apis::RequestOptions] options
379
+ # Request-specific options
380
+ #
381
+ # @yield [result, err] Result & error if block supplied
382
+ # @yieldparam result [Google::Apis::SecuritycenterV1::ListBigQueryExportsResponse] parsed result object
383
+ # @yieldparam err [StandardError] error object if request failed
384
+ #
385
+ # @return [Google::Apis::SecuritycenterV1::ListBigQueryExportsResponse]
386
+ #
387
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
388
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
389
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
390
+ def list_folder_big_query_exports(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
391
+ command = make_simple_command(:get, 'v1/{+parent}/bigQueryExports', options)
392
+ command.response_representation = Google::Apis::SecuritycenterV1::ListBigQueryExportsResponse::Representation
393
+ command.response_class = Google::Apis::SecuritycenterV1::ListBigQueryExportsResponse
394
+ command.params['parent'] = parent unless parent.nil?
395
+ command.query['pageSize'] = page_size unless page_size.nil?
396
+ command.query['pageToken'] = page_token unless page_token.nil?
397
+ command.query['fields'] = fields unless fields.nil?
398
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
399
+ execute_or_queue_command(command, &block)
400
+ end
401
+
402
+ # Updates a BigQuery export.
403
+ # @param [String] name
404
+ # The relative resource name of this export. See: https://cloud.google.com/apis/
405
+ # design/resource_names#relative_resource_name. Example format: "organizations/`
406
+ # organization_id`/bigQueryExports/`export_id`" Example format: "folders/`
407
+ # folder_id`/bigQueryExports/`export_id`" Example format: "projects/`project_id`/
408
+ # bigQueryExports/`export_id`" This field is provided in responses, and is
409
+ # ignored when provided in create requests.
410
+ # @param [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1BigQueryExport] google_cloud_securitycenter_v1_big_query_export_object
411
+ # @param [String] update_mask
412
+ # The list of fields to be updated. If empty all mutable fields will be updated.
413
+ # @param [String] fields
414
+ # Selector specifying which fields to include in a partial response.
415
+ # @param [String] quota_user
416
+ # Available to use for quota purposes for server-side applications. Can be any
417
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
418
+ # @param [Google::Apis::RequestOptions] options
419
+ # Request-specific options
420
+ #
421
+ # @yield [result, err] Result & error if block supplied
422
+ # @yieldparam result [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1BigQueryExport] parsed result object
423
+ # @yieldparam err [StandardError] error object if request failed
424
+ #
425
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1BigQueryExport]
426
+ #
427
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
428
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
429
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
430
+ def patch_folder_big_query_export(name, google_cloud_securitycenter_v1_big_query_export_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
431
+ command = make_simple_command(:patch, 'v1/{+name}', options)
432
+ command.request_representation = Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1BigQueryExport::Representation
433
+ command.request_object = google_cloud_securitycenter_v1_big_query_export_object
434
+ command.response_representation = Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1BigQueryExport::Representation
435
+ command.response_class = Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1BigQueryExport
436
+ command.params['name'] = name unless name.nil?
437
+ command.query['updateMask'] = update_mask unless update_mask.nil?
438
+ command.query['fields'] = fields unless fields.nil?
439
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
440
+ execute_or_queue_command(command, &block)
441
+ end
442
+
251
443
  # Kicks off an LRO to bulk mute findings for a parent based on a filter. The
252
444
  # parent can be either an organization, folder or project. The findings matched
253
445
  # by the filter will be muted after the LRO is done.
@@ -1171,6 +1363,198 @@ module Google
1171
1363
  execute_or_queue_command(command, &block)
1172
1364
  end
1173
1365
 
1366
+ # Creates a big query export.
1367
+ # @param [String] parent
1368
+ # Required. Resource name of the new big query export's parent. Its format is "
1369
+ # organizations/[organization_id]", "folders/[folder_id]", or "projects/[
1370
+ # project_id]".
1371
+ # @param [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1BigQueryExport] google_cloud_securitycenter_v1_big_query_export_object
1372
+ # @param [String] big_query_export_id
1373
+ # Required. Unique identifier provided by the client within the parent scope. It
1374
+ # must consist of lower case letters, numbers, and hyphen, with the first
1375
+ # character a letter, the last a letter or a number, and a 63 character maximum.
1376
+ # @param [String] fields
1377
+ # Selector specifying which fields to include in a partial response.
1378
+ # @param [String] quota_user
1379
+ # Available to use for quota purposes for server-side applications. Can be any
1380
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1381
+ # @param [Google::Apis::RequestOptions] options
1382
+ # Request-specific options
1383
+ #
1384
+ # @yield [result, err] Result & error if block supplied
1385
+ # @yieldparam result [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1BigQueryExport] parsed result object
1386
+ # @yieldparam err [StandardError] error object if request failed
1387
+ #
1388
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1BigQueryExport]
1389
+ #
1390
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1391
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1392
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1393
+ def create_organization_big_query_export(parent, google_cloud_securitycenter_v1_big_query_export_object = nil, big_query_export_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1394
+ command = make_simple_command(:post, 'v1/{+parent}/bigQueryExports', options)
1395
+ command.request_representation = Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1BigQueryExport::Representation
1396
+ command.request_object = google_cloud_securitycenter_v1_big_query_export_object
1397
+ command.response_representation = Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1BigQueryExport::Representation
1398
+ command.response_class = Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1BigQueryExport
1399
+ command.params['parent'] = parent unless parent.nil?
1400
+ command.query['bigQueryExportId'] = big_query_export_id unless big_query_export_id.nil?
1401
+ command.query['fields'] = fields unless fields.nil?
1402
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1403
+ execute_or_queue_command(command, &block)
1404
+ end
1405
+
1406
+ # Deletes an existing big query export.
1407
+ # @param [String] name
1408
+ # Required. Name of the big query export to delete. Its format is organizations/`
1409
+ # organization`/bigQueryExports/`export_id`, folders/`folder`/bigQueryExports/`
1410
+ # export_id`, or projects/`project`/bigQueryExports/`export_id`
1411
+ # @param [String] fields
1412
+ # Selector specifying which fields to include in a partial response.
1413
+ # @param [String] quota_user
1414
+ # Available to use for quota purposes for server-side applications. Can be any
1415
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1416
+ # @param [Google::Apis::RequestOptions] options
1417
+ # Request-specific options
1418
+ #
1419
+ # @yield [result, err] Result & error if block supplied
1420
+ # @yieldparam result [Google::Apis::SecuritycenterV1::Empty] parsed result object
1421
+ # @yieldparam err [StandardError] error object if request failed
1422
+ #
1423
+ # @return [Google::Apis::SecuritycenterV1::Empty]
1424
+ #
1425
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1426
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1427
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1428
+ def delete_organization_big_query_export(name, fields: nil, quota_user: nil, options: nil, &block)
1429
+ command = make_simple_command(:delete, 'v1/{+name}', options)
1430
+ command.response_representation = Google::Apis::SecuritycenterV1::Empty::Representation
1431
+ command.response_class = Google::Apis::SecuritycenterV1::Empty
1432
+ command.params['name'] = name unless name.nil?
1433
+ command.query['fields'] = fields unless fields.nil?
1434
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1435
+ execute_or_queue_command(command, &block)
1436
+ end
1437
+
1438
+ # Gets a big query export.
1439
+ # @param [String] name
1440
+ # Required. Name of the big query export to retrieve. Its format is
1441
+ # organizations/`organization`/bigQueryExports/`export_id`, folders/`folder`/
1442
+ # bigQueryExports/`export_id`, or projects/`project`/bigQueryExports/`export_id`
1443
+ # @param [String] fields
1444
+ # Selector specifying which fields to include in a partial response.
1445
+ # @param [String] quota_user
1446
+ # Available to use for quota purposes for server-side applications. Can be any
1447
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1448
+ # @param [Google::Apis::RequestOptions] options
1449
+ # Request-specific options
1450
+ #
1451
+ # @yield [result, err] Result & error if block supplied
1452
+ # @yieldparam result [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1BigQueryExport] parsed result object
1453
+ # @yieldparam err [StandardError] error object if request failed
1454
+ #
1455
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1BigQueryExport]
1456
+ #
1457
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1458
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1459
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1460
+ def get_organization_big_query_export(name, fields: nil, quota_user: nil, options: nil, &block)
1461
+ command = make_simple_command(:get, 'v1/{+name}', options)
1462
+ command.response_representation = Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1BigQueryExport::Representation
1463
+ command.response_class = Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1BigQueryExport
1464
+ command.params['name'] = name unless name.nil?
1465
+ command.query['fields'] = fields unless fields.nil?
1466
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1467
+ execute_or_queue_command(command, &block)
1468
+ end
1469
+
1470
+ # Lists BigQuery exports. Note that when requesting BigQuery exports at a given
1471
+ # level all exports under that level are also returned e.g. if requesting
1472
+ # BigQuery exports under a folder, then all BigQuery exports immediately under
1473
+ # the folder plus the ones created under the projects within the folder are
1474
+ # returned.
1475
+ # @param [String] parent
1476
+ # Required. The parent, which owns the collection of BigQuery exports. Its
1477
+ # format is "organizations/[organization_id]", "folders/[folder_id]", "projects/[
1478
+ # project_id]".
1479
+ # @param [Fixnum] page_size
1480
+ # The maximum number of configs to return. The service may return fewer than
1481
+ # this value. If unspecified, at most 10 configs will be returned. The maximum
1482
+ # value is 1000; values above 1000 will be coerced to 1000.
1483
+ # @param [String] page_token
1484
+ # A page token, received from a previous `ListBigQueryExports` call. Provide
1485
+ # this to retrieve the subsequent page. When paginating, all other parameters
1486
+ # provided to `ListBigQueryExports` must match the call that provided the page
1487
+ # token.
1488
+ # @param [String] fields
1489
+ # Selector specifying which fields to include in a partial response.
1490
+ # @param [String] quota_user
1491
+ # Available to use for quota purposes for server-side applications. Can be any
1492
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1493
+ # @param [Google::Apis::RequestOptions] options
1494
+ # Request-specific options
1495
+ #
1496
+ # @yield [result, err] Result & error if block supplied
1497
+ # @yieldparam result [Google::Apis::SecuritycenterV1::ListBigQueryExportsResponse] parsed result object
1498
+ # @yieldparam err [StandardError] error object if request failed
1499
+ #
1500
+ # @return [Google::Apis::SecuritycenterV1::ListBigQueryExportsResponse]
1501
+ #
1502
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1503
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1504
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1505
+ def list_organization_big_query_exports(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1506
+ command = make_simple_command(:get, 'v1/{+parent}/bigQueryExports', options)
1507
+ command.response_representation = Google::Apis::SecuritycenterV1::ListBigQueryExportsResponse::Representation
1508
+ command.response_class = Google::Apis::SecuritycenterV1::ListBigQueryExportsResponse
1509
+ command.params['parent'] = parent unless parent.nil?
1510
+ command.query['pageSize'] = page_size unless page_size.nil?
1511
+ command.query['pageToken'] = page_token unless page_token.nil?
1512
+ command.query['fields'] = fields unless fields.nil?
1513
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1514
+ execute_or_queue_command(command, &block)
1515
+ end
1516
+
1517
+ # Updates a BigQuery export.
1518
+ # @param [String] name
1519
+ # The relative resource name of this export. See: https://cloud.google.com/apis/
1520
+ # design/resource_names#relative_resource_name. Example format: "organizations/`
1521
+ # organization_id`/bigQueryExports/`export_id`" Example format: "folders/`
1522
+ # folder_id`/bigQueryExports/`export_id`" Example format: "projects/`project_id`/
1523
+ # bigQueryExports/`export_id`" This field is provided in responses, and is
1524
+ # ignored when provided in create requests.
1525
+ # @param [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1BigQueryExport] google_cloud_securitycenter_v1_big_query_export_object
1526
+ # @param [String] update_mask
1527
+ # The list of fields to be updated. If empty all mutable fields will be updated.
1528
+ # @param [String] fields
1529
+ # Selector specifying which fields to include in a partial response.
1530
+ # @param [String] quota_user
1531
+ # Available to use for quota purposes for server-side applications. Can be any
1532
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1533
+ # @param [Google::Apis::RequestOptions] options
1534
+ # Request-specific options
1535
+ #
1536
+ # @yield [result, err] Result & error if block supplied
1537
+ # @yieldparam result [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1BigQueryExport] parsed result object
1538
+ # @yieldparam err [StandardError] error object if request failed
1539
+ #
1540
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1BigQueryExport]
1541
+ #
1542
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1543
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1544
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1545
+ def patch_organization_big_query_export(name, google_cloud_securitycenter_v1_big_query_export_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1546
+ command = make_simple_command(:patch, 'v1/{+name}', options)
1547
+ command.request_representation = Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1BigQueryExport::Representation
1548
+ command.request_object = google_cloud_securitycenter_v1_big_query_export_object
1549
+ command.response_representation = Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1BigQueryExport::Representation
1550
+ command.response_class = Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1BigQueryExport
1551
+ command.params['name'] = name unless name.nil?
1552
+ command.query['updateMask'] = update_mask unless update_mask.nil?
1553
+ command.query['fields'] = fields unless fields.nil?
1554
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1555
+ execute_or_queue_command(command, &block)
1556
+ end
1557
+
1174
1558
  # Kicks off an LRO to bulk mute findings for a parent based on a filter. The
1175
1559
  # parent can be either an organization, folder or project. The findings matched
1176
1560
  # by the filter will be muted after the LRO is done.
@@ -2562,6 +2946,198 @@ module Google
2562
2946
  execute_or_queue_command(command, &block)
2563
2947
  end
2564
2948
 
2949
+ # Creates a big query export.
2950
+ # @param [String] parent
2951
+ # Required. Resource name of the new big query export's parent. Its format is "
2952
+ # organizations/[organization_id]", "folders/[folder_id]", or "projects/[
2953
+ # project_id]".
2954
+ # @param [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1BigQueryExport] google_cloud_securitycenter_v1_big_query_export_object
2955
+ # @param [String] big_query_export_id
2956
+ # Required. Unique identifier provided by the client within the parent scope. It
2957
+ # must consist of lower case letters, numbers, and hyphen, with the first
2958
+ # character a letter, the last a letter or a number, and a 63 character maximum.
2959
+ # @param [String] fields
2960
+ # Selector specifying which fields to include in a partial response.
2961
+ # @param [String] quota_user
2962
+ # Available to use for quota purposes for server-side applications. Can be any
2963
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2964
+ # @param [Google::Apis::RequestOptions] options
2965
+ # Request-specific options
2966
+ #
2967
+ # @yield [result, err] Result & error if block supplied
2968
+ # @yieldparam result [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1BigQueryExport] parsed result object
2969
+ # @yieldparam err [StandardError] error object if request failed
2970
+ #
2971
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1BigQueryExport]
2972
+ #
2973
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2974
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2975
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2976
+ def create_project_big_query_export(parent, google_cloud_securitycenter_v1_big_query_export_object = nil, big_query_export_id: nil, fields: nil, quota_user: nil, options: nil, &block)
2977
+ command = make_simple_command(:post, 'v1/{+parent}/bigQueryExports', options)
2978
+ command.request_representation = Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1BigQueryExport::Representation
2979
+ command.request_object = google_cloud_securitycenter_v1_big_query_export_object
2980
+ command.response_representation = Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1BigQueryExport::Representation
2981
+ command.response_class = Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1BigQueryExport
2982
+ command.params['parent'] = parent unless parent.nil?
2983
+ command.query['bigQueryExportId'] = big_query_export_id unless big_query_export_id.nil?
2984
+ command.query['fields'] = fields unless fields.nil?
2985
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2986
+ execute_or_queue_command(command, &block)
2987
+ end
2988
+
2989
+ # Deletes an existing big query export.
2990
+ # @param [String] name
2991
+ # Required. Name of the big query export to delete. Its format is organizations/`
2992
+ # organization`/bigQueryExports/`export_id`, folders/`folder`/bigQueryExports/`
2993
+ # export_id`, or projects/`project`/bigQueryExports/`export_id`
2994
+ # @param [String] fields
2995
+ # Selector specifying which fields to include in a partial response.
2996
+ # @param [String] quota_user
2997
+ # Available to use for quota purposes for server-side applications. Can be any
2998
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2999
+ # @param [Google::Apis::RequestOptions] options
3000
+ # Request-specific options
3001
+ #
3002
+ # @yield [result, err] Result & error if block supplied
3003
+ # @yieldparam result [Google::Apis::SecuritycenterV1::Empty] parsed result object
3004
+ # @yieldparam err [StandardError] error object if request failed
3005
+ #
3006
+ # @return [Google::Apis::SecuritycenterV1::Empty]
3007
+ #
3008
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3009
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3010
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3011
+ def delete_project_big_query_export(name, fields: nil, quota_user: nil, options: nil, &block)
3012
+ command = make_simple_command(:delete, 'v1/{+name}', options)
3013
+ command.response_representation = Google::Apis::SecuritycenterV1::Empty::Representation
3014
+ command.response_class = Google::Apis::SecuritycenterV1::Empty
3015
+ command.params['name'] = name unless name.nil?
3016
+ command.query['fields'] = fields unless fields.nil?
3017
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3018
+ execute_or_queue_command(command, &block)
3019
+ end
3020
+
3021
+ # Gets a big query export.
3022
+ # @param [String] name
3023
+ # Required. Name of the big query export to retrieve. Its format is
3024
+ # organizations/`organization`/bigQueryExports/`export_id`, folders/`folder`/
3025
+ # bigQueryExports/`export_id`, or projects/`project`/bigQueryExports/`export_id`
3026
+ # @param [String] fields
3027
+ # Selector specifying which fields to include in a partial response.
3028
+ # @param [String] quota_user
3029
+ # Available to use for quota purposes for server-side applications. Can be any
3030
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3031
+ # @param [Google::Apis::RequestOptions] options
3032
+ # Request-specific options
3033
+ #
3034
+ # @yield [result, err] Result & error if block supplied
3035
+ # @yieldparam result [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1BigQueryExport] parsed result object
3036
+ # @yieldparam err [StandardError] error object if request failed
3037
+ #
3038
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1BigQueryExport]
3039
+ #
3040
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3041
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3042
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3043
+ def get_project_big_query_export(name, fields: nil, quota_user: nil, options: nil, &block)
3044
+ command = make_simple_command(:get, 'v1/{+name}', options)
3045
+ command.response_representation = Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1BigQueryExport::Representation
3046
+ command.response_class = Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1BigQueryExport
3047
+ command.params['name'] = name unless name.nil?
3048
+ command.query['fields'] = fields unless fields.nil?
3049
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3050
+ execute_or_queue_command(command, &block)
3051
+ end
3052
+
3053
+ # Lists BigQuery exports. Note that when requesting BigQuery exports at a given
3054
+ # level all exports under that level are also returned e.g. if requesting
3055
+ # BigQuery exports under a folder, then all BigQuery exports immediately under
3056
+ # the folder plus the ones created under the projects within the folder are
3057
+ # returned.
3058
+ # @param [String] parent
3059
+ # Required. The parent, which owns the collection of BigQuery exports. Its
3060
+ # format is "organizations/[organization_id]", "folders/[folder_id]", "projects/[
3061
+ # project_id]".
3062
+ # @param [Fixnum] page_size
3063
+ # The maximum number of configs to return. The service may return fewer than
3064
+ # this value. If unspecified, at most 10 configs will be returned. The maximum
3065
+ # value is 1000; values above 1000 will be coerced to 1000.
3066
+ # @param [String] page_token
3067
+ # A page token, received from a previous `ListBigQueryExports` call. Provide
3068
+ # this to retrieve the subsequent page. When paginating, all other parameters
3069
+ # provided to `ListBigQueryExports` must match the call that provided the page
3070
+ # token.
3071
+ # @param [String] fields
3072
+ # Selector specifying which fields to include in a partial response.
3073
+ # @param [String] quota_user
3074
+ # Available to use for quota purposes for server-side applications. Can be any
3075
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3076
+ # @param [Google::Apis::RequestOptions] options
3077
+ # Request-specific options
3078
+ #
3079
+ # @yield [result, err] Result & error if block supplied
3080
+ # @yieldparam result [Google::Apis::SecuritycenterV1::ListBigQueryExportsResponse] parsed result object
3081
+ # @yieldparam err [StandardError] error object if request failed
3082
+ #
3083
+ # @return [Google::Apis::SecuritycenterV1::ListBigQueryExportsResponse]
3084
+ #
3085
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3086
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3087
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3088
+ def list_project_big_query_exports(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3089
+ command = make_simple_command(:get, 'v1/{+parent}/bigQueryExports', options)
3090
+ command.response_representation = Google::Apis::SecuritycenterV1::ListBigQueryExportsResponse::Representation
3091
+ command.response_class = Google::Apis::SecuritycenterV1::ListBigQueryExportsResponse
3092
+ command.params['parent'] = parent unless parent.nil?
3093
+ command.query['pageSize'] = page_size unless page_size.nil?
3094
+ command.query['pageToken'] = page_token unless page_token.nil?
3095
+ command.query['fields'] = fields unless fields.nil?
3096
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3097
+ execute_or_queue_command(command, &block)
3098
+ end
3099
+
3100
+ # Updates a BigQuery export.
3101
+ # @param [String] name
3102
+ # The relative resource name of this export. See: https://cloud.google.com/apis/
3103
+ # design/resource_names#relative_resource_name. Example format: "organizations/`
3104
+ # organization_id`/bigQueryExports/`export_id`" Example format: "folders/`
3105
+ # folder_id`/bigQueryExports/`export_id`" Example format: "projects/`project_id`/
3106
+ # bigQueryExports/`export_id`" This field is provided in responses, and is
3107
+ # ignored when provided in create requests.
3108
+ # @param [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1BigQueryExport] google_cloud_securitycenter_v1_big_query_export_object
3109
+ # @param [String] update_mask
3110
+ # The list of fields to be updated. If empty all mutable fields will be updated.
3111
+ # @param [String] fields
3112
+ # Selector specifying which fields to include in a partial response.
3113
+ # @param [String] quota_user
3114
+ # Available to use for quota purposes for server-side applications. Can be any
3115
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3116
+ # @param [Google::Apis::RequestOptions] options
3117
+ # Request-specific options
3118
+ #
3119
+ # @yield [result, err] Result & error if block supplied
3120
+ # @yieldparam result [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1BigQueryExport] parsed result object
3121
+ # @yieldparam err [StandardError] error object if request failed
3122
+ #
3123
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1BigQueryExport]
3124
+ #
3125
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3126
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3127
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3128
+ def patch_project_big_query_export(name, google_cloud_securitycenter_v1_big_query_export_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
3129
+ command = make_simple_command(:patch, 'v1/{+name}', options)
3130
+ command.request_representation = Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1BigQueryExport::Representation
3131
+ command.request_object = google_cloud_securitycenter_v1_big_query_export_object
3132
+ command.response_representation = Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1BigQueryExport::Representation
3133
+ command.response_class = Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1BigQueryExport
3134
+ command.params['name'] = name unless name.nil?
3135
+ command.query['updateMask'] = update_mask unless update_mask.nil?
3136
+ command.query['fields'] = fields unless fields.nil?
3137
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3138
+ execute_or_queue_command(command, &block)
3139
+ end
3140
+
2565
3141
  # Kicks off an LRO to bulk mute findings for a parent based on a filter. The
2566
3142
  # parent can be either an organization, folder or project. The findings matched
2567
3143
  # by the filter will be muted after the LRO is done.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-securitycenter_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.21.0
4
+ version: 0.22.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-21 00:00:00.000000000 Z
11
+ date: 2022-02-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1/v0.21.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1/v0.22.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1
63
63
  post_install_message:
64
64
  rdoc_options: []