Class: Google::Apis::SecuritycenterV1beta2::SecurityCommandCenterService
- Inherits:
-
Core::BaseService
- Object
- Core::BaseService
- Google::Apis::SecuritycenterV1beta2::SecurityCommandCenterService
- Defined in:
- generated/google/apis/securitycenter_v1beta2/service.rb
Overview
Security Command Center API
Security Command Center API provides access to temporal views of assets and findings within an organization.
Instance Attribute Summary collapse
-
#key ⇒ String
API key.
-
#quota_user ⇒ String
Available to use for quota purposes for server-side applications.
Instance Method Summary collapse
-
#calculate_folder_container_threat_detection_setting(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings
Calculates the effective ContainerThreatDetectionSettings based on its level in the resource hierarchy and its settings.
-
#calculate_folder_event_threat_detection_setting(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings
Calculates the effective EventThreatDetectionSettings based on its level in the resource hierarchy and its settings.
-
#calculate_folder_security_health_analytics_setting(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings
Calculates the effective SecurityHealthAnalyticsSettings based on its level in the resource hierarchy and its settings.
-
#calculate_folder_web_security_scanner_setting(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings
Calculates the effective WebSecurityScannerSettings based on its level in the resource hierarchy and its settings.
-
#calculate_organization_container_threat_detection_setting(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings
Calculates the effective ContainerThreatDetectionSettings based on its level in the resource hierarchy and its settings.
-
#calculate_organization_event_threat_detection_setting(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings
Calculates the effective EventThreatDetectionSettings based on its level in the resource hierarchy and its settings.
-
#calculate_organization_security_health_analytics_setting(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings
Calculates the effective SecurityHealthAnalyticsSettings based on its level in the resource hierarchy and its settings.
-
#calculate_organization_web_security_scanner_setting(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings
Calculates the effective WebSecurityScannerSettings based on its level in the resource hierarchy and its settings.
-
#calculate_project_container_threat_detection_setting(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings
Calculates the effective ContainerThreatDetectionSettings based on its level in the resource hierarchy and its settings.
-
#calculate_project_event_threat_detection_setting(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings
Calculates the effective EventThreatDetectionSettings based on its level in the resource hierarchy and its settings.
-
#calculate_project_location_cluster_container_threat_detection_setting(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings
Calculates the effective ContainerThreatDetectionSettings based on its level in the resource hierarchy and its settings.
-
#calculate_project_security_health_analytics_setting(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings
Calculates the effective SecurityHealthAnalyticsSettings based on its level in the resource hierarchy and its settings.
-
#calculate_project_web_security_scanner_setting(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings
Calculates the effective WebSecurityScannerSettings based on its level in the resource hierarchy and its settings.
-
#get_folder_container_threat_detection_settings(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings
Get the ContainerThreatDetectionSettings resource.
-
#get_folder_event_threat_detection_settings(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings
Get the EventThreatDetectionSettings resource.
-
#get_folder_security_health_analytics_settings(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings
Get the SecurityHealthAnalyticsSettings resource.
-
#get_folder_web_security_scanner_settings(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings
Get the WebSecurityScannerSettings resource.
-
#get_organization_container_threat_detection_settings(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings
Get the ContainerThreatDetectionSettings resource.
-
#get_organization_event_threat_detection_settings(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings
Get the EventThreatDetectionSettings resource.
-
#get_organization_security_center_settings(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::SecurityCenterSettings
Get the SecurityCenterSettings resource.
-
#get_organization_security_health_analytics_settings(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings
Get the SecurityHealthAnalyticsSettings resource.
-
#get_organization_subscription(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::Subscription
Get the Subscription resource.
-
#get_organization_web_security_scanner_settings(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings
Get the WebSecurityScannerSettings resource.
-
#get_project_container_threat_detection_settings(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings
Get the ContainerThreatDetectionSettings resource.
-
#get_project_event_threat_detection_settings(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings
Get the EventThreatDetectionSettings resource.
-
#get_project_location_cluster_container_threat_detection_settings(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings
Get the ContainerThreatDetectionSettings resource.
-
#get_project_security_health_analytics_settings(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings
Get the SecurityHealthAnalyticsSettings resource.
-
#get_project_web_security_scanner_settings(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings
Get the WebSecurityScannerSettings resource.
-
#initialize ⇒ SecurityCommandCenterService
constructor
A new instance of SecurityCommandCenterService.
-
#update_folder_container_threat_detection_settings(name, container_threat_detection_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings
Update the ContainerThreatDetectionSettings resource.
-
#update_folder_event_threat_detection_settings(name, event_threat_detection_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings
Update the EventThreatDetectionSettings resource.
-
#update_folder_security_health_analytics_settings(name, security_health_analytics_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings
Update the SecurityHealthAnalyticsSettings resource.
-
#update_folder_web_security_scanner_settings(name, web_security_scanner_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings
Update the WebSecurityScannerSettings resource.
-
#update_organization_container_threat_detection_settings(name, container_threat_detection_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings
Update the ContainerThreatDetectionSettings resource.
-
#update_organization_event_threat_detection_settings(name, event_threat_detection_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings
Update the EventThreatDetectionSettings resource.
-
#update_organization_security_health_analytics_settings(name, security_health_analytics_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings
Update the SecurityHealthAnalyticsSettings resource.
-
#update_organization_web_security_scanner_settings(name, web_security_scanner_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings
Update the WebSecurityScannerSettings resource.
-
#update_project_container_threat_detection_settings(name, container_threat_detection_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings
Update the ContainerThreatDetectionSettings resource.
-
#update_project_event_threat_detection_settings(name, event_threat_detection_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings
Update the EventThreatDetectionSettings resource.
-
#update_project_location_cluster_container_threat_detection_settings(name, container_threat_detection_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings
Update the ContainerThreatDetectionSettings resource.
-
#update_project_security_health_analytics_settings(name, security_health_analytics_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings
Update the SecurityHealthAnalyticsSettings resource.
-
#update_project_web_security_scanner_settings(name, web_security_scanner_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings
Update the WebSecurityScannerSettings resource.
Constructor Details
#initialize ⇒ SecurityCommandCenterService
Returns a new instance of SecurityCommandCenterService.
46 47 48 49 |
# File 'generated/google/apis/securitycenter_v1beta2/service.rb', line 46 def initialize super('https://securitycenter.googleapis.com/', '') @batch_path = 'batch' end |
Instance Attribute Details
#key ⇒ String
Returns API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
39 40 41 |
# File 'generated/google/apis/securitycenter_v1beta2/service.rb', line 39 def key @key end |
#quota_user ⇒ String
Returns Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
44 45 46 |
# File 'generated/google/apis/securitycenter_v1beta2/service.rb', line 44 def quota_user @quota_user end |
Instance Method Details
#calculate_folder_container_threat_detection_setting(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings
Calculates the effective ContainerThreatDetectionSettings based on its level in the resource hierarchy and its settings.
362 363 364 365 366 367 368 369 370 |
# File 'generated/google/apis/securitycenter_v1beta2/service.rb', line 362 def calculate_folder_container_threat_detection_setting(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta2/{+name}:calculate', ) command.response_representation = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#calculate_folder_event_threat_detection_setting(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings
Calculates the effective EventThreatDetectionSettings based on its level in the resource hierarchy and its settings.
395 396 397 398 399 400 401 402 403 |
# File 'generated/google/apis/securitycenter_v1beta2/service.rb', line 395 def calculate_folder_event_threat_detection_setting(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta2/{+name}:calculate', ) command.response_representation = Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#calculate_folder_security_health_analytics_setting(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings
Calculates the effective SecurityHealthAnalyticsSettings based on its level in the resource hierarchy and its settings.
429 430 431 432 433 434 435 436 437 |
# File 'generated/google/apis/securitycenter_v1beta2/service.rb', line 429 def calculate_folder_security_health_analytics_setting(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta2/{+name}:calculate', ) command.response_representation = Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#calculate_folder_web_security_scanner_setting(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings
Calculates the effective WebSecurityScannerSettings based on its level in the resource hierarchy and its settings.
462 463 464 465 466 467 468 469 470 |
# File 'generated/google/apis/securitycenter_v1beta2/service.rb', line 462 def calculate_folder_web_security_scanner_setting(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta2/{+name}:calculate', ) command.response_representation = Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#calculate_organization_container_threat_detection_setting(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings
Calculates the effective ContainerThreatDetectionSettings based on its level in the resource hierarchy and its settings.
845 846 847 848 849 850 851 852 853 |
# File 'generated/google/apis/securitycenter_v1beta2/service.rb', line 845 def calculate_organization_container_threat_detection_setting(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta2/{+name}:calculate', ) command.response_representation = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#calculate_organization_event_threat_detection_setting(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings
Calculates the effective EventThreatDetectionSettings based on its level in the resource hierarchy and its settings.
878 879 880 881 882 883 884 885 886 |
# File 'generated/google/apis/securitycenter_v1beta2/service.rb', line 878 def calculate_organization_event_threat_detection_setting(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta2/{+name}:calculate', ) command.response_representation = Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#calculate_organization_security_health_analytics_setting(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings
Calculates the effective SecurityHealthAnalyticsSettings based on its level in the resource hierarchy and its settings.
912 913 914 915 916 917 918 919 920 |
# File 'generated/google/apis/securitycenter_v1beta2/service.rb', line 912 def calculate_organization_security_health_analytics_setting(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta2/{+name}:calculate', ) command.response_representation = Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#calculate_organization_web_security_scanner_setting(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings
Calculates the effective WebSecurityScannerSettings based on its level in the resource hierarchy and its settings.
945 946 947 948 949 950 951 952 953 |
# File 'generated/google/apis/securitycenter_v1beta2/service.rb', line 945 def calculate_organization_web_security_scanner_setting(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta2/{+name}:calculate', ) command.response_representation = Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#calculate_project_container_threat_detection_setting(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings
Calculates the effective ContainerThreatDetectionSettings based on its level in the resource hierarchy and its settings.
1266 1267 1268 1269 1270 1271 1272 1273 1274 |
# File 'generated/google/apis/securitycenter_v1beta2/service.rb', line 1266 def calculate_project_container_threat_detection_setting(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta2/{+name}:calculate', ) command.response_representation = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#calculate_project_event_threat_detection_setting(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings
Calculates the effective EventThreatDetectionSettings based on its level in the resource hierarchy and its settings.
1299 1300 1301 1302 1303 1304 1305 1306 1307 |
# File 'generated/google/apis/securitycenter_v1beta2/service.rb', line 1299 def calculate_project_event_threat_detection_setting(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta2/{+name}:calculate', ) command.response_representation = Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#calculate_project_location_cluster_container_threat_detection_setting(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings
Calculates the effective ContainerThreatDetectionSettings based on its level in the resource hierarchy and its settings.
1408 1409 1410 1411 1412 1413 1414 1415 1416 |
# File 'generated/google/apis/securitycenter_v1beta2/service.rb', line 1408 def calculate_project_location_cluster_container_threat_detection_setting(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta2/{+name}:calculate', ) command.response_representation = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#calculate_project_security_health_analytics_setting(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings
Calculates the effective SecurityHealthAnalyticsSettings based on its level in the resource hierarchy and its settings.
1442 1443 1444 1445 1446 1447 1448 1449 1450 |
# File 'generated/google/apis/securitycenter_v1beta2/service.rb', line 1442 def calculate_project_security_health_analytics_setting(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta2/{+name}:calculate', ) command.response_representation = Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#calculate_project_web_security_scanner_setting(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings
Calculates the effective WebSecurityScannerSettings based on its level in the resource hierarchy and its settings.
1475 1476 1477 1478 1479 1480 1481 1482 1483 |
# File 'generated/google/apis/securitycenter_v1beta2/service.rb', line 1475 def calculate_project_web_security_scanner_setting(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta2/{+name}:calculate', ) command.response_representation = Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_folder_container_threat_detection_settings(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings
Get the ContainerThreatDetectionSettings resource.
75 76 77 78 79 80 81 82 83 |
# File 'generated/google/apis/securitycenter_v1beta2/service.rb', line 75 def get_folder_container_threat_detection_settings(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta2/{+name}', ) command.response_representation = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_folder_event_threat_detection_settings(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings
Get the EventThreatDetectionSettings resource.
107 108 109 110 111 112 113 114 115 |
# File 'generated/google/apis/securitycenter_v1beta2/service.rb', line 107 def get_folder_event_threat_detection_settings(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta2/{+name}', ) command.response_representation = Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_folder_security_health_analytics_settings(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings
Get the SecurityHealthAnalyticsSettings resource.
140 141 142 143 144 145 146 147 148 |
# File 'generated/google/apis/securitycenter_v1beta2/service.rb', line 140 def get_folder_security_health_analytics_settings(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta2/{+name}', ) command.response_representation = Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_folder_web_security_scanner_settings(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings
Get the WebSecurityScannerSettings resource.
172 173 174 175 176 177 178 179 180 |
# File 'generated/google/apis/securitycenter_v1beta2/service.rb', line 172 def get_folder_web_security_scanner_settings(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta2/{+name}', ) command.response_representation = Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_organization_container_threat_detection_settings(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings
Get the ContainerThreatDetectionSettings resource.
496 497 498 499 500 501 502 503 504 |
# File 'generated/google/apis/securitycenter_v1beta2/service.rb', line 496 def get_organization_container_threat_detection_settings(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta2/{+name}', ) command.response_representation = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_organization_event_threat_detection_settings(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings
Get the EventThreatDetectionSettings resource.
528 529 530 531 532 533 534 535 536 |
# File 'generated/google/apis/securitycenter_v1beta2/service.rb', line 528 def get_organization_event_threat_detection_settings(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta2/{+name}', ) command.response_representation = Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_organization_security_center_settings(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::SecurityCenterSettings
Get the SecurityCenterSettings resource.
559 560 561 562 563 564 565 566 567 |
# File 'generated/google/apis/securitycenter_v1beta2/service.rb', line 559 def get_organization_security_center_settings(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta2/{+name}', ) command.response_representation = Google::Apis::SecuritycenterV1beta2::SecurityCenterSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::SecurityCenterSettings command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_organization_security_health_analytics_settings(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings
Get the SecurityHealthAnalyticsSettings resource.
592 593 594 595 596 597 598 599 600 |
# File 'generated/google/apis/securitycenter_v1beta2/service.rb', line 592 def get_organization_security_health_analytics_settings(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta2/{+name}', ) command.response_representation = Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_organization_subscription(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::Subscription
Get the Subscription resource.
623 624 625 626 627 628 629 630 631 |
# File 'generated/google/apis/securitycenter_v1beta2/service.rb', line 623 def get_organization_subscription(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta2/{+name}', ) command.response_representation = Google::Apis::SecuritycenterV1beta2::Subscription::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::Subscription command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_organization_web_security_scanner_settings(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings
Get the WebSecurityScannerSettings resource.
655 656 657 658 659 660 661 662 663 |
# File 'generated/google/apis/securitycenter_v1beta2/service.rb', line 655 def get_organization_web_security_scanner_settings(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta2/{+name}', ) command.response_representation = Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_container_threat_detection_settings(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings
Get the ContainerThreatDetectionSettings resource.
979 980 981 982 983 984 985 986 987 |
# File 'generated/google/apis/securitycenter_v1beta2/service.rb', line 979 def get_project_container_threat_detection_settings(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta2/{+name}', ) command.response_representation = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_event_threat_detection_settings(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings
Get the EventThreatDetectionSettings resource.
1011 1012 1013 1014 1015 1016 1017 1018 1019 |
# File 'generated/google/apis/securitycenter_v1beta2/service.rb', line 1011 def get_project_event_threat_detection_settings(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta2/{+name}', ) command.response_representation = Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_cluster_container_threat_detection_settings(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings
Get the ContainerThreatDetectionSettings resource.
1333 1334 1335 1336 1337 1338 1339 1340 1341 |
# File 'generated/google/apis/securitycenter_v1beta2/service.rb', line 1333 def get_project_location_cluster_container_threat_detection_settings(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta2/{+name}', ) command.response_representation = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_security_health_analytics_settings(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings
Get the SecurityHealthAnalyticsSettings resource.
1044 1045 1046 1047 1048 1049 1050 1051 1052 |
# File 'generated/google/apis/securitycenter_v1beta2/service.rb', line 1044 def get_project_security_health_analytics_settings(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta2/{+name}', ) command.response_representation = Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_web_security_scanner_settings(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings
Get the WebSecurityScannerSettings resource.
1076 1077 1078 1079 1080 1081 1082 1083 1084 |
# File 'generated/google/apis/securitycenter_v1beta2/service.rb', line 1076 def get_project_web_security_scanner_settings(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta2/{+name}', ) command.response_representation = Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#update_folder_container_threat_detection_settings(name, container_threat_detection_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings
Update the ContainerThreatDetectionSettings resource.
209 210 211 212 213 214 215 216 217 218 219 220 |
# File 'generated/google/apis/securitycenter_v1beta2/service.rb', line 209 def update_folder_container_threat_detection_settings(name, container_threat_detection_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1beta2/{+name}', ) command.request_representation = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings::Representation command.request_object = container_threat_detection_settings_object command.response_representation = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#update_folder_event_threat_detection_settings(name, event_threat_detection_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings
Update the EventThreatDetectionSettings resource.
247 248 249 250 251 252 253 254 255 256 257 258 |
# File 'generated/google/apis/securitycenter_v1beta2/service.rb', line 247 def update_folder_event_threat_detection_settings(name, event_threat_detection_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1beta2/{+name}', ) command.request_representation = Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings::Representation command.request_object = event_threat_detection_settings_object command.response_representation = Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#update_folder_security_health_analytics_settings(name, security_health_analytics_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings
Update the SecurityHealthAnalyticsSettings resource.
286 287 288 289 290 291 292 293 294 295 296 297 |
# File 'generated/google/apis/securitycenter_v1beta2/service.rb', line 286 def update_folder_security_health_analytics_settings(name, security_health_analytics_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1beta2/{+name}', ) command.request_representation = Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings::Representation command.request_object = security_health_analytics_settings_object command.response_representation = Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#update_folder_web_security_scanner_settings(name, web_security_scanner_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings
Update the WebSecurityScannerSettings resource.
324 325 326 327 328 329 330 331 332 333 334 335 |
# File 'generated/google/apis/securitycenter_v1beta2/service.rb', line 324 def update_folder_web_security_scanner_settings(name, web_security_scanner_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1beta2/{+name}', ) command.request_representation = Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings::Representation command.request_object = web_security_scanner_settings_object command.response_representation = Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#update_organization_container_threat_detection_settings(name, container_threat_detection_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings
Update the ContainerThreatDetectionSettings resource.
692 693 694 695 696 697 698 699 700 701 702 703 |
# File 'generated/google/apis/securitycenter_v1beta2/service.rb', line 692 def update_organization_container_threat_detection_settings(name, container_threat_detection_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1beta2/{+name}', ) command.request_representation = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings::Representation command.request_object = container_threat_detection_settings_object command.response_representation = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#update_organization_event_threat_detection_settings(name, event_threat_detection_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings
Update the EventThreatDetectionSettings resource.
730 731 732 733 734 735 736 737 738 739 740 741 |
# File 'generated/google/apis/securitycenter_v1beta2/service.rb', line 730 def update_organization_event_threat_detection_settings(name, event_threat_detection_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1beta2/{+name}', ) command.request_representation = Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings::Representation command.request_object = event_threat_detection_settings_object command.response_representation = Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#update_organization_security_health_analytics_settings(name, security_health_analytics_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings
Update the SecurityHealthAnalyticsSettings resource.
769 770 771 772 773 774 775 776 777 778 779 780 |
# File 'generated/google/apis/securitycenter_v1beta2/service.rb', line 769 def update_organization_security_health_analytics_settings(name, security_health_analytics_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1beta2/{+name}', ) command.request_representation = Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings::Representation command.request_object = security_health_analytics_settings_object command.response_representation = Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#update_organization_web_security_scanner_settings(name, web_security_scanner_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings
Update the WebSecurityScannerSettings resource.
807 808 809 810 811 812 813 814 815 816 817 818 |
# File 'generated/google/apis/securitycenter_v1beta2/service.rb', line 807 def update_organization_web_security_scanner_settings(name, web_security_scanner_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1beta2/{+name}', ) command.request_representation = Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings::Representation command.request_object = web_security_scanner_settings_object command.response_representation = Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#update_project_container_threat_detection_settings(name, container_threat_detection_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings
Update the ContainerThreatDetectionSettings resource.
1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 |
# File 'generated/google/apis/securitycenter_v1beta2/service.rb', line 1113 def update_project_container_threat_detection_settings(name, container_threat_detection_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1beta2/{+name}', ) command.request_representation = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings::Representation command.request_object = container_threat_detection_settings_object command.response_representation = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#update_project_event_threat_detection_settings(name, event_threat_detection_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings
Update the EventThreatDetectionSettings resource.
1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 |
# File 'generated/google/apis/securitycenter_v1beta2/service.rb', line 1151 def update_project_event_threat_detection_settings(name, event_threat_detection_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1beta2/{+name}', ) command.request_representation = Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings::Representation command.request_object = event_threat_detection_settings_object command.response_representation = Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#update_project_location_cluster_container_threat_detection_settings(name, container_threat_detection_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings
Update the ContainerThreatDetectionSettings resource.
1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 |
# File 'generated/google/apis/securitycenter_v1beta2/service.rb', line 1370 def update_project_location_cluster_container_threat_detection_settings(name, container_threat_detection_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1beta2/{+name}', ) command.request_representation = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings::Representation command.request_object = container_threat_detection_settings_object command.response_representation = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#update_project_security_health_analytics_settings(name, security_health_analytics_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings
Update the SecurityHealthAnalyticsSettings resource.
1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 |
# File 'generated/google/apis/securitycenter_v1beta2/service.rb', line 1190 def update_project_security_health_analytics_settings(name, security_health_analytics_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1beta2/{+name}', ) command.request_representation = Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings::Representation command.request_object = security_health_analytics_settings_object command.response_representation = Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#update_project_web_security_scanner_settings(name, web_security_scanner_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings
Update the WebSecurityScannerSettings resource.
1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 |
# File 'generated/google/apis/securitycenter_v1beta2/service.rb', line 1228 def update_project_web_security_scanner_settings(name, web_security_scanner_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1beta2/{+name}', ) command.request_representation = Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings::Representation command.request_object = web_security_scanner_settings_object command.response_representation = Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |