google-apis-securitycenter_v1beta2 0.71.0 → 0.72.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -559,6 +559,9 @@ module Google
559
559
  # folders/`folder`/containerThreatDetectionSettings * projects/`project`/
560
560
  # containerThreatDetectionSettings * projects/`project`/locations/`location`/
561
561
  # clusters/`cluster`/containerThreatDetectionSettings
562
+ # @param [Boolean] show_eligible_modules_only
563
+ # Optional. When set, will only retrieve the modules that are in scope. By
564
+ # default, all modules will be shown.
562
565
  # @param [String] fields
563
566
  # Selector specifying which fields to include in a partial response.
564
567
  # @param [String] quota_user
@@ -576,11 +579,12 @@ module Google
576
579
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
577
580
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
578
581
  # @raise [Google::Apis::AuthorizationError] Authorization is required
579
- def calculate_folder_container_threat_detection_setting(name, fields: nil, quota_user: nil, options: nil, &block)
582
+ def calculate_folder_container_threat_detection_setting(name, show_eligible_modules_only: nil, fields: nil, quota_user: nil, options: nil, &block)
580
583
  command = make_simple_command(:get, 'v1beta2/{+name}:calculate', options)
581
584
  command.response_representation = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings::Representation
582
585
  command.response_class = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings
583
586
  command.params['name'] = name unless name.nil?
587
+ command.query['showEligibleModulesOnly'] = show_eligible_modules_only unless show_eligible_modules_only.nil?
584
588
  command.query['fields'] = fields unless fields.nil?
585
589
  command.query['quotaUser'] = quota_user unless quota_user.nil?
586
590
  execute_or_queue_command(command, &block)
@@ -597,6 +601,9 @@ module Google
597
601
  # Required. The name of the EventThreatDetectionSettings to calculate. Formats: *
598
602
  # organizations/`organization`/eventThreatDetectionSettings * folders/`folder`/
599
603
  # eventThreatDetectionSettings * projects/`project`/eventThreatDetectionSettings
604
+ # @param [Boolean] show_eligible_modules_only
605
+ # Optional. When set, will only retrieve the modules that are in scope. By
606
+ # default, all modules will be shown.
600
607
  # @param [String] fields
601
608
  # Selector specifying which fields to include in a partial response.
602
609
  # @param [String] quota_user
@@ -614,11 +621,12 @@ module Google
614
621
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
615
622
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
616
623
  # @raise [Google::Apis::AuthorizationError] Authorization is required
617
- def calculate_folder_event_threat_detection_setting(name, fields: nil, quota_user: nil, options: nil, &block)
624
+ def calculate_folder_event_threat_detection_setting(name, show_eligible_modules_only: nil, fields: nil, quota_user: nil, options: nil, &block)
618
625
  command = make_simple_command(:get, 'v1beta2/{+name}:calculate', options)
619
626
  command.response_representation = Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings::Representation
620
627
  command.response_class = Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings
621
628
  command.params['name'] = name unless name.nil?
629
+ command.query['showEligibleModulesOnly'] = show_eligible_modules_only unless show_eligible_modules_only.nil?
622
630
  command.query['fields'] = fields unless fields.nil?
623
631
  command.query['quotaUser'] = quota_user unless quota_user.nil?
624
632
  execute_or_queue_command(command, &block)
@@ -675,6 +683,9 @@ module Google
675
683
  # Formats: * organizations/`organization`/securityHealthAnalyticsSettings *
676
684
  # folders/`folder`/securityHealthAnalyticsSettings * projects/`project`/
677
685
  # securityHealthAnalyticsSettings
686
+ # @param [Boolean] show_eligible_modules_only
687
+ # Optional. When set, will only retrieve the modules that are in scope. By
688
+ # default, all modules will be shown.
678
689
  # @param [String] fields
679
690
  # Selector specifying which fields to include in a partial response.
680
691
  # @param [String] quota_user
@@ -692,11 +703,12 @@ module Google
692
703
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
693
704
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
694
705
  # @raise [Google::Apis::AuthorizationError] Authorization is required
695
- def calculate_folder_security_health_analytics_setting(name, fields: nil, quota_user: nil, options: nil, &block)
706
+ def calculate_folder_security_health_analytics_setting(name, show_eligible_modules_only: nil, fields: nil, quota_user: nil, options: nil, &block)
696
707
  command = make_simple_command(:get, 'v1beta2/{+name}:calculate', options)
697
708
  command.response_representation = Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings::Representation
698
709
  command.response_class = Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings
699
710
  command.params['name'] = name unless name.nil?
711
+ command.query['showEligibleModulesOnly'] = show_eligible_modules_only unless show_eligible_modules_only.nil?
700
712
  command.query['fields'] = fields unless fields.nil?
701
713
  command.query['quotaUser'] = quota_user unless quota_user.nil?
702
714
  execute_or_queue_command(command, &block)
@@ -714,6 +726,9 @@ module Google
714
726
  # Formats: * organizations/`organization`/virtualMachineThreatDetectionSettings *
715
727
  # folders/`folder`/virtualMachineThreatDetectionSettings * projects/`project`/
716
728
  # virtualMachineThreatDetectionSettings
729
+ # @param [Boolean] show_eligible_modules_only
730
+ # Optional. When set, will only retrieve the modules that are in scope. By
731
+ # default, all modules will be shown.
717
732
  # @param [String] fields
718
733
  # Selector specifying which fields to include in a partial response.
719
734
  # @param [String] quota_user
@@ -731,11 +746,12 @@ module Google
731
746
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
732
747
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
733
748
  # @raise [Google::Apis::AuthorizationError] Authorization is required
734
- def calculate_folder_virtual_machine_threat_detection_setting(name, fields: nil, quota_user: nil, options: nil, &block)
749
+ def calculate_folder_virtual_machine_threat_detection_setting(name, show_eligible_modules_only: nil, fields: nil, quota_user: nil, options: nil, &block)
735
750
  command = make_simple_command(:get, 'v1beta2/{+name}:calculate', options)
736
751
  command.response_representation = Google::Apis::SecuritycenterV1beta2::VirtualMachineThreatDetectionSettings::Representation
737
752
  command.response_class = Google::Apis::SecuritycenterV1beta2::VirtualMachineThreatDetectionSettings
738
753
  command.params['name'] = name unless name.nil?
754
+ command.query['showEligibleModulesOnly'] = show_eligible_modules_only unless show_eligible_modules_only.nil?
739
755
  command.query['fields'] = fields unless fields.nil?
740
756
  command.query['quotaUser'] = quota_user unless quota_user.nil?
741
757
  execute_or_queue_command(command, &block)
@@ -752,6 +768,9 @@ module Google
752
768
  # Required. The name of the WebSecurityScannerSettings to calculate. Formats: *
753
769
  # organizations/`organization`/webSecurityScannerSettings * folders/`folder`/
754
770
  # webSecurityScannerSettings * projects/`project`/webSecurityScannerSettings
771
+ # @param [Boolean] show_eligible_modules_only
772
+ # Optional. When set, will only retrieve the modules that are in scope. By
773
+ # default, all modules will be shown.
755
774
  # @param [String] fields
756
775
  # Selector specifying which fields to include in a partial response.
757
776
  # @param [String] quota_user
@@ -769,11 +788,12 @@ module Google
769
788
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
770
789
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
771
790
  # @raise [Google::Apis::AuthorizationError] Authorization is required
772
- def calculate_folder_web_security_scanner_setting(name, fields: nil, quota_user: nil, options: nil, &block)
791
+ def calculate_folder_web_security_scanner_setting(name, show_eligible_modules_only: nil, fields: nil, quota_user: nil, options: nil, &block)
773
792
  command = make_simple_command(:get, 'v1beta2/{+name}:calculate', options)
774
793
  command.response_representation = Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings::Representation
775
794
  command.response_class = Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings
776
795
  command.params['name'] = name unless name.nil?
796
+ command.query['showEligibleModulesOnly'] = show_eligible_modules_only unless show_eligible_modules_only.nil?
777
797
  command.query['fields'] = fields unless fields.nil?
778
798
  command.query['quotaUser'] = quota_user unless quota_user.nil?
779
799
  execute_or_queue_command(command, &block)
@@ -1317,6 +1337,9 @@ module Google
1317
1337
  # folders/`folder`/containerThreatDetectionSettings * projects/`project`/
1318
1338
  # containerThreatDetectionSettings * projects/`project`/locations/`location`/
1319
1339
  # clusters/`cluster`/containerThreatDetectionSettings
1340
+ # @param [Boolean] show_eligible_modules_only
1341
+ # Optional. When set, will only retrieve the modules that are in scope. By
1342
+ # default, all modules will be shown.
1320
1343
  # @param [String] fields
1321
1344
  # Selector specifying which fields to include in a partial response.
1322
1345
  # @param [String] quota_user
@@ -1334,11 +1357,12 @@ module Google
1334
1357
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1335
1358
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1336
1359
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1337
- def calculate_organization_container_threat_detection_setting(name, fields: nil, quota_user: nil, options: nil, &block)
1360
+ def calculate_organization_container_threat_detection_setting(name, show_eligible_modules_only: nil, fields: nil, quota_user: nil, options: nil, &block)
1338
1361
  command = make_simple_command(:get, 'v1beta2/{+name}:calculate', options)
1339
1362
  command.response_representation = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings::Representation
1340
1363
  command.response_class = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings
1341
1364
  command.params['name'] = name unless name.nil?
1365
+ command.query['showEligibleModulesOnly'] = show_eligible_modules_only unless show_eligible_modules_only.nil?
1342
1366
  command.query['fields'] = fields unless fields.nil?
1343
1367
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1344
1368
  execute_or_queue_command(command, &block)
@@ -1355,6 +1379,9 @@ module Google
1355
1379
  # Required. The name of the EventThreatDetectionSettings to calculate. Formats: *
1356
1380
  # organizations/`organization`/eventThreatDetectionSettings * folders/`folder`/
1357
1381
  # eventThreatDetectionSettings * projects/`project`/eventThreatDetectionSettings
1382
+ # @param [Boolean] show_eligible_modules_only
1383
+ # Optional. When set, will only retrieve the modules that are in scope. By
1384
+ # default, all modules will be shown.
1358
1385
  # @param [String] fields
1359
1386
  # Selector specifying which fields to include in a partial response.
1360
1387
  # @param [String] quota_user
@@ -1372,11 +1399,12 @@ module Google
1372
1399
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1373
1400
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1374
1401
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1375
- def calculate_organization_event_threat_detection_setting(name, fields: nil, quota_user: nil, options: nil, &block)
1402
+ def calculate_organization_event_threat_detection_setting(name, show_eligible_modules_only: nil, fields: nil, quota_user: nil, options: nil, &block)
1376
1403
  command = make_simple_command(:get, 'v1beta2/{+name}:calculate', options)
1377
1404
  command.response_representation = Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings::Representation
1378
1405
  command.response_class = Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings
1379
1406
  command.params['name'] = name unless name.nil?
1407
+ command.query['showEligibleModulesOnly'] = show_eligible_modules_only unless show_eligible_modules_only.nil?
1380
1408
  command.query['fields'] = fields unless fields.nil?
1381
1409
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1382
1410
  execute_or_queue_command(command, &block)
@@ -1433,6 +1461,9 @@ module Google
1433
1461
  # Formats: * organizations/`organization`/securityHealthAnalyticsSettings *
1434
1462
  # folders/`folder`/securityHealthAnalyticsSettings * projects/`project`/
1435
1463
  # securityHealthAnalyticsSettings
1464
+ # @param [Boolean] show_eligible_modules_only
1465
+ # Optional. When set, will only retrieve the modules that are in scope. By
1466
+ # default, all modules will be shown.
1436
1467
  # @param [String] fields
1437
1468
  # Selector specifying which fields to include in a partial response.
1438
1469
  # @param [String] quota_user
@@ -1450,11 +1481,12 @@ module Google
1450
1481
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1451
1482
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1452
1483
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1453
- def calculate_organization_security_health_analytics_setting(name, fields: nil, quota_user: nil, options: nil, &block)
1484
+ def calculate_organization_security_health_analytics_setting(name, show_eligible_modules_only: nil, fields: nil, quota_user: nil, options: nil, &block)
1454
1485
  command = make_simple_command(:get, 'v1beta2/{+name}:calculate', options)
1455
1486
  command.response_representation = Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings::Representation
1456
1487
  command.response_class = Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings
1457
1488
  command.params['name'] = name unless name.nil?
1489
+ command.query['showEligibleModulesOnly'] = show_eligible_modules_only unless show_eligible_modules_only.nil?
1458
1490
  command.query['fields'] = fields unless fields.nil?
1459
1491
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1460
1492
  execute_or_queue_command(command, &block)
@@ -1472,6 +1504,9 @@ module Google
1472
1504
  # Formats: * organizations/`organization`/virtualMachineThreatDetectionSettings *
1473
1505
  # folders/`folder`/virtualMachineThreatDetectionSettings * projects/`project`/
1474
1506
  # virtualMachineThreatDetectionSettings
1507
+ # @param [Boolean] show_eligible_modules_only
1508
+ # Optional. When set, will only retrieve the modules that are in scope. By
1509
+ # default, all modules will be shown.
1475
1510
  # @param [String] fields
1476
1511
  # Selector specifying which fields to include in a partial response.
1477
1512
  # @param [String] quota_user
@@ -1489,11 +1524,12 @@ module Google
1489
1524
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1490
1525
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1491
1526
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1492
- def calculate_organization_virtual_machine_threat_detection_setting(name, fields: nil, quota_user: nil, options: nil, &block)
1527
+ def calculate_organization_virtual_machine_threat_detection_setting(name, show_eligible_modules_only: nil, fields: nil, quota_user: nil, options: nil, &block)
1493
1528
  command = make_simple_command(:get, 'v1beta2/{+name}:calculate', options)
1494
1529
  command.response_representation = Google::Apis::SecuritycenterV1beta2::VirtualMachineThreatDetectionSettings::Representation
1495
1530
  command.response_class = Google::Apis::SecuritycenterV1beta2::VirtualMachineThreatDetectionSettings
1496
1531
  command.params['name'] = name unless name.nil?
1532
+ command.query['showEligibleModulesOnly'] = show_eligible_modules_only unless show_eligible_modules_only.nil?
1497
1533
  command.query['fields'] = fields unless fields.nil?
1498
1534
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1499
1535
  execute_or_queue_command(command, &block)
@@ -1510,6 +1546,9 @@ module Google
1510
1546
  # Required. The name of the WebSecurityScannerSettings to calculate. Formats: *
1511
1547
  # organizations/`organization`/webSecurityScannerSettings * folders/`folder`/
1512
1548
  # webSecurityScannerSettings * projects/`project`/webSecurityScannerSettings
1549
+ # @param [Boolean] show_eligible_modules_only
1550
+ # Optional. When set, will only retrieve the modules that are in scope. By
1551
+ # default, all modules will be shown.
1513
1552
  # @param [String] fields
1514
1553
  # Selector specifying which fields to include in a partial response.
1515
1554
  # @param [String] quota_user
@@ -1527,11 +1566,12 @@ module Google
1527
1566
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1528
1567
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1529
1568
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1530
- def calculate_organization_web_security_scanner_setting(name, fields: nil, quota_user: nil, options: nil, &block)
1569
+ def calculate_organization_web_security_scanner_setting(name, show_eligible_modules_only: nil, fields: nil, quota_user: nil, options: nil, &block)
1531
1570
  command = make_simple_command(:get, 'v1beta2/{+name}:calculate', options)
1532
1571
  command.response_representation = Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings::Representation
1533
1572
  command.response_class = Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings
1534
1573
  command.params['name'] = name unless name.nil?
1574
+ command.query['showEligibleModulesOnly'] = show_eligible_modules_only unless show_eligible_modules_only.nil?
1535
1575
  command.query['fields'] = fields unless fields.nil?
1536
1576
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1537
1577
  execute_or_queue_command(command, &block)
@@ -2044,6 +2084,9 @@ module Google
2044
2084
  # folders/`folder`/containerThreatDetectionSettings * projects/`project`/
2045
2085
  # containerThreatDetectionSettings * projects/`project`/locations/`location`/
2046
2086
  # clusters/`cluster`/containerThreatDetectionSettings
2087
+ # @param [Boolean] show_eligible_modules_only
2088
+ # Optional. When set, will only retrieve the modules that are in scope. By
2089
+ # default, all modules will be shown.
2047
2090
  # @param [String] fields
2048
2091
  # Selector specifying which fields to include in a partial response.
2049
2092
  # @param [String] quota_user
@@ -2061,11 +2104,12 @@ module Google
2061
2104
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2062
2105
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2063
2106
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2064
- def calculate_project_container_threat_detection_setting(name, fields: nil, quota_user: nil, options: nil, &block)
2107
+ def calculate_project_container_threat_detection_setting(name, show_eligible_modules_only: nil, fields: nil, quota_user: nil, options: nil, &block)
2065
2108
  command = make_simple_command(:get, 'v1beta2/{+name}:calculate', options)
2066
2109
  command.response_representation = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings::Representation
2067
2110
  command.response_class = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings
2068
2111
  command.params['name'] = name unless name.nil?
2112
+ command.query['showEligibleModulesOnly'] = show_eligible_modules_only unless show_eligible_modules_only.nil?
2069
2113
  command.query['fields'] = fields unless fields.nil?
2070
2114
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2071
2115
  execute_or_queue_command(command, &block)
@@ -2082,6 +2126,9 @@ module Google
2082
2126
  # Required. The name of the EventThreatDetectionSettings to calculate. Formats: *
2083
2127
  # organizations/`organization`/eventThreatDetectionSettings * folders/`folder`/
2084
2128
  # eventThreatDetectionSettings * projects/`project`/eventThreatDetectionSettings
2129
+ # @param [Boolean] show_eligible_modules_only
2130
+ # Optional. When set, will only retrieve the modules that are in scope. By
2131
+ # default, all modules will be shown.
2085
2132
  # @param [String] fields
2086
2133
  # Selector specifying which fields to include in a partial response.
2087
2134
  # @param [String] quota_user
@@ -2099,11 +2146,12 @@ module Google
2099
2146
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2100
2147
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2101
2148
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2102
- def calculate_project_event_threat_detection_setting(name, fields: nil, quota_user: nil, options: nil, &block)
2149
+ def calculate_project_event_threat_detection_setting(name, show_eligible_modules_only: nil, fields: nil, quota_user: nil, options: nil, &block)
2103
2150
  command = make_simple_command(:get, 'v1beta2/{+name}:calculate', options)
2104
2151
  command.response_representation = Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings::Representation
2105
2152
  command.response_class = Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings
2106
2153
  command.params['name'] = name unless name.nil?
2154
+ command.query['showEligibleModulesOnly'] = show_eligible_modules_only unless show_eligible_modules_only.nil?
2107
2155
  command.query['fields'] = fields unless fields.nil?
2108
2156
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2109
2157
  execute_or_queue_command(command, &block)
@@ -2201,6 +2249,9 @@ module Google
2201
2249
  # folders/`folder`/containerThreatDetectionSettings * projects/`project`/
2202
2250
  # containerThreatDetectionSettings * projects/`project`/locations/`location`/
2203
2251
  # clusters/`cluster`/containerThreatDetectionSettings
2252
+ # @param [Boolean] show_eligible_modules_only
2253
+ # Optional. When set, will only retrieve the modules that are in scope. By
2254
+ # default, all modules will be shown.
2204
2255
  # @param [String] fields
2205
2256
  # Selector specifying which fields to include in a partial response.
2206
2257
  # @param [String] quota_user
@@ -2218,11 +2269,12 @@ module Google
2218
2269
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2219
2270
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2220
2271
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2221
- def calculate_project_location_cluster_container_threat_detection_setting(name, fields: nil, quota_user: nil, options: nil, &block)
2272
+ def calculate_project_location_cluster_container_threat_detection_setting(name, show_eligible_modules_only: nil, fields: nil, quota_user: nil, options: nil, &block)
2222
2273
  command = make_simple_command(:get, 'v1beta2/{+name}:calculate', options)
2223
2274
  command.response_representation = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings::Representation
2224
2275
  command.response_class = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings
2225
2276
  command.params['name'] = name unless name.nil?
2277
+ command.query['showEligibleModulesOnly'] = show_eligible_modules_only unless show_eligible_modules_only.nil?
2226
2278
  command.query['fields'] = fields unless fields.nil?
2227
2279
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2228
2280
  execute_or_queue_command(command, &block)
@@ -2279,6 +2331,9 @@ module Google
2279
2331
  # Formats: * organizations/`organization`/securityHealthAnalyticsSettings *
2280
2332
  # folders/`folder`/securityHealthAnalyticsSettings * projects/`project`/
2281
2333
  # securityHealthAnalyticsSettings
2334
+ # @param [Boolean] show_eligible_modules_only
2335
+ # Optional. When set, will only retrieve the modules that are in scope. By
2336
+ # default, all modules will be shown.
2282
2337
  # @param [String] fields
2283
2338
  # Selector specifying which fields to include in a partial response.
2284
2339
  # @param [String] quota_user
@@ -2296,11 +2351,12 @@ module Google
2296
2351
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2297
2352
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2298
2353
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2299
- def calculate_project_security_health_analytics_setting(name, fields: nil, quota_user: nil, options: nil, &block)
2354
+ def calculate_project_security_health_analytics_setting(name, show_eligible_modules_only: nil, fields: nil, quota_user: nil, options: nil, &block)
2300
2355
  command = make_simple_command(:get, 'v1beta2/{+name}:calculate', options)
2301
2356
  command.response_representation = Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings::Representation
2302
2357
  command.response_class = Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings
2303
2358
  command.params['name'] = name unless name.nil?
2359
+ command.query['showEligibleModulesOnly'] = show_eligible_modules_only unless show_eligible_modules_only.nil?
2304
2360
  command.query['fields'] = fields unless fields.nil?
2305
2361
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2306
2362
  execute_or_queue_command(command, &block)
@@ -2318,6 +2374,9 @@ module Google
2318
2374
  # Formats: * organizations/`organization`/virtualMachineThreatDetectionSettings *
2319
2375
  # folders/`folder`/virtualMachineThreatDetectionSettings * projects/`project`/
2320
2376
  # virtualMachineThreatDetectionSettings
2377
+ # @param [Boolean] show_eligible_modules_only
2378
+ # Optional. When set, will only retrieve the modules that are in scope. By
2379
+ # default, all modules will be shown.
2321
2380
  # @param [String] fields
2322
2381
  # Selector specifying which fields to include in a partial response.
2323
2382
  # @param [String] quota_user
@@ -2335,11 +2394,12 @@ module Google
2335
2394
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2336
2395
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2337
2396
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2338
- def calculate_project_virtual_machine_threat_detection_setting(name, fields: nil, quota_user: nil, options: nil, &block)
2397
+ def calculate_project_virtual_machine_threat_detection_setting(name, show_eligible_modules_only: nil, fields: nil, quota_user: nil, options: nil, &block)
2339
2398
  command = make_simple_command(:get, 'v1beta2/{+name}:calculate', options)
2340
2399
  command.response_representation = Google::Apis::SecuritycenterV1beta2::VirtualMachineThreatDetectionSettings::Representation
2341
2400
  command.response_class = Google::Apis::SecuritycenterV1beta2::VirtualMachineThreatDetectionSettings
2342
2401
  command.params['name'] = name unless name.nil?
2402
+ command.query['showEligibleModulesOnly'] = show_eligible_modules_only unless show_eligible_modules_only.nil?
2343
2403
  command.query['fields'] = fields unless fields.nil?
2344
2404
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2345
2405
  execute_or_queue_command(command, &block)
@@ -2356,6 +2416,9 @@ module Google
2356
2416
  # Required. The name of the WebSecurityScannerSettings to calculate. Formats: *
2357
2417
  # organizations/`organization`/webSecurityScannerSettings * folders/`folder`/
2358
2418
  # webSecurityScannerSettings * projects/`project`/webSecurityScannerSettings
2419
+ # @param [Boolean] show_eligible_modules_only
2420
+ # Optional. When set, will only retrieve the modules that are in scope. By
2421
+ # default, all modules will be shown.
2359
2422
  # @param [String] fields
2360
2423
  # Selector specifying which fields to include in a partial response.
2361
2424
  # @param [String] quota_user
@@ -2373,11 +2436,12 @@ module Google
2373
2436
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2374
2437
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2375
2438
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2376
- def calculate_project_web_security_scanner_setting(name, fields: nil, quota_user: nil, options: nil, &block)
2439
+ def calculate_project_web_security_scanner_setting(name, show_eligible_modules_only: nil, fields: nil, quota_user: nil, options: nil, &block)
2377
2440
  command = make_simple_command(:get, 'v1beta2/{+name}:calculate', options)
2378
2441
  command.response_representation = Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings::Representation
2379
2442
  command.response_class = Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings
2380
2443
  command.params['name'] = name unless name.nil?
2444
+ command.query['showEligibleModulesOnly'] = show_eligible_modules_only unless show_eligible_modules_only.nil?
2381
2445
  command.query['fields'] = fields unless fields.nil?
2382
2446
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2383
2447
  execute_or_queue_command(command, &block)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-securitycenter_v1beta2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.71.0
4
+ version: 0.72.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: 2024-07-25 00:00:00.000000000 Z
11
+ date: 2024-12-04 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_v1beta2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta2/v0.71.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta2/v0.72.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1beta2
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.6
78
+ rubygems_version: 3.5.22
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Security Command Center API V1beta2