Class: Google::Apis::SecuritycenterV1beta2::SecurityCommandCenterService
- Inherits:
-
Core::BaseService
- Object
- Core::BaseService
- Google::Apis::SecuritycenterV1beta2::SecurityCommandCenterService
- Defined in:
- lib/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.
Constant Summary collapse
- DEFAULT_ENDPOINT_TEMPLATE =
"https://securitycenter.$UNIVERSE_DOMAIN$/"
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, show_eligible_modules_only: nil, 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, show_eligible_modules_only: nil, 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_rapid_vulnerability_detection_setting(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings
Calculates the effective RapidVulnerabilityDetectionSettings based on its level in the resource hierarchy and its settings.
-
#calculate_folder_security_health_analytics_setting(name, show_eligible_modules_only: nil, 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_virtual_machine_threat_detection_setting(name, show_eligible_modules_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::VirtualMachineThreatDetectionSettings
Calculates the effective VirtualMachineThreatDetectionSettings based on its level in the resource hierarchy and its settings.
-
#calculate_folder_web_security_scanner_setting(name, show_eligible_modules_only: nil, 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, show_eligible_modules_only: nil, 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, show_eligible_modules_only: nil, 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_rapid_vulnerability_detection_setting(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings
Calculates the effective RapidVulnerabilityDetectionSettings based on its level in the resource hierarchy and its settings.
-
#calculate_organization_security_health_analytics_setting(name, show_eligible_modules_only: nil, 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_virtual_machine_threat_detection_setting(name, show_eligible_modules_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::VirtualMachineThreatDetectionSettings
Calculates the effective VirtualMachineThreatDetectionSettings based on its level in the resource hierarchy and its settings.
-
#calculate_organization_web_security_scanner_setting(name, show_eligible_modules_only: nil, 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, show_eligible_modules_only: nil, 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, show_eligible_modules_only: nil, 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, show_eligible_modules_only: nil, 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_rapid_vulnerability_detection_setting(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings
Calculates the effective RapidVulnerabilityDetectionSettings based on its level in the resource hierarchy and its settings.
-
#calculate_project_security_health_analytics_setting(name, show_eligible_modules_only: nil, 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_virtual_machine_threat_detection_setting(name, show_eligible_modules_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::VirtualMachineThreatDetectionSettings
Calculates the effective VirtualMachineThreatDetectionSettings based on its level in the resource hierarchy and its settings.
-
#calculate_project_web_security_scanner_setting(name, show_eligible_modules_only: nil, 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_rapid_vulnerability_detection_settings(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings
Get the RapidVulnerabilityDetectionSettings resource.
-
#get_folder_security_center_settings(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::SecurityCenterSettings
Get the SecurityCenterSettings 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_virtual_machine_threat_detection_settings(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::VirtualMachineThreatDetectionSettings
Get the VirtualMachineThreatDetectionSettings 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_rapid_vulnerability_detection_settings(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings
Get the RapidVulnerabilityDetectionSettings 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_virtual_machine_threat_detection_settings(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::VirtualMachineThreatDetectionSettings
Get the VirtualMachineThreatDetectionSettings 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_rapid_vulnerability_detection_settings(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings
Get the RapidVulnerabilityDetectionSettings resource.
-
#get_project_security_center_settings(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::SecurityCenterSettings
Get the SecurityCenterSettings 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_virtual_machine_threat_detection_settings(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::VirtualMachineThreatDetectionSettings
Get the VirtualMachineThreatDetectionSettings 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_rapid_vulnerability_detection_settings(name, rapid_vulnerability_detection_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings
Update the RapidVulnerabilityDetectionSettings 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_virtual_machine_threat_detection_settings(name, virtual_machine_threat_detection_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::VirtualMachineThreatDetectionSettings
Update the VirtualMachineThreatDetectionSettings 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_rapid_vulnerability_detection_settings(name, rapid_vulnerability_detection_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings
Update the RapidVulnerabilityDetectionSettings 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_virtual_machine_threat_detection_settings(name, virtual_machine_threat_detection_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::VirtualMachineThreatDetectionSettings
Update the VirtualMachineThreatDetectionSettings 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_rapid_vulnerability_detection_settings(name, rapid_vulnerability_detection_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings
Update the RapidVulnerabilityDetectionSettings 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_virtual_machine_threat_detection_settings(name, virtual_machine_threat_detection_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::VirtualMachineThreatDetectionSettings
Update the VirtualMachineThreatDetectionSettings 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.
48 49 50 51 52 53 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 48 def initialize super(DEFAULT_ENDPOINT_TEMPLATE, '', client_name: 'google-apis-securitycenter_v1beta2', client_version: Google::Apis::SecuritycenterV1beta2::GEM_VERSION) @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.
41 42 43 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 41 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.
46 47 48 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 46 def quota_user @quota_user end |
Instance Method Details
#calculate_folder_container_threat_detection_setting(name, show_eligible_modules_only: nil, 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. Settings provided closer to the target resource take precedence over those further away (e.g. folder will override organization level settings). The default SCC setting for the detector service defaults can be overridden at organization, folder and project levels. No assumptions should be made about the SCC defaults as it is considered an internal implementation detail.
582 583 584 585 586 587 588 589 590 591 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 582 def calculate_folder_container_threat_detection_setting(name, show_eligible_modules_only: nil, 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['showEligibleModulesOnly'] = show_eligible_modules_only unless show_eligible_modules_only.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, show_eligible_modules_only: nil, 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. Settings provided closer to the target resource take precedence over those further away (e.g. folder will override organization level settings). The default SCC setting for the detector service defaults can be overridden at organization, folder and project levels. No assumptions should be made about the SCC defaults as it is considered an internal implementation detail.
624 625 626 627 628 629 630 631 632 633 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 624 def calculate_folder_event_threat_detection_setting(name, show_eligible_modules_only: nil, 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['showEligibleModulesOnly'] = show_eligible_modules_only unless show_eligible_modules_only.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_rapid_vulnerability_detection_setting(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings
Calculates the effective RapidVulnerabilityDetectionSettings based on its level in the resource hierarchy and its settings. Settings provided closer to the target resource take precedence over those further away (e.g. folder will override organization level settings). The default SCC setting for the detector service defaults can be overridden at organization, folder and project levels. No assumptions should be made about the SCC defaults as it is considered an internal implementation detail.
664 665 666 667 668 669 670 671 672 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 664 def calculate_folder_rapid_vulnerability_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::RapidVulnerabilityDetectionSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings 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, show_eligible_modules_only: nil, 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. Settings provided closer to the target resource take precedence over those further away (e.g. folder will override organization level settings). The default SCC setting for the detector service defaults can be overridden at organization, folder and project levels. No assumptions should be made about the SCC defaults as it is considered an internal implementation detail.
706 707 708 709 710 711 712 713 714 715 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 706 def calculate_folder_security_health_analytics_setting(name, show_eligible_modules_only: nil, 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['showEligibleModulesOnly'] = show_eligible_modules_only unless show_eligible_modules_only.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_virtual_machine_threat_detection_setting(name, show_eligible_modules_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::VirtualMachineThreatDetectionSettings
Calculates the effective VirtualMachineThreatDetectionSettings based on its level in the resource hierarchy and its settings. Settings provided closer to the target resource take precedence over those further away (e.g. folder will override organization level settings). The default SCC setting for the detector service defaults can be overridden at organization, folder and project levels. No assumptions should be made about the SCC defaults as it is considered an internal implementation detail.
749 750 751 752 753 754 755 756 757 758 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 749 def calculate_folder_virtual_machine_threat_detection_setting(name, show_eligible_modules_only: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta2/{+name}:calculate', ) command.response_representation = Google::Apis::SecuritycenterV1beta2::VirtualMachineThreatDetectionSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::VirtualMachineThreatDetectionSettings command.params['name'] = name unless name.nil? command.query['showEligibleModulesOnly'] = show_eligible_modules_only unless show_eligible_modules_only.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, show_eligible_modules_only: nil, 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. Settings provided closer to the target resource take precedence over those further away (e.g. folder will override organization level settings). The default SCC setting for the detector service defaults can be overridden at organization, folder and project levels. No assumptions should be made about the SCC defaults as it is considered an internal implementation detail.
791 792 793 794 795 796 797 798 799 800 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 791 def calculate_folder_web_security_scanner_setting(name, show_eligible_modules_only: nil, 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['showEligibleModulesOnly'] = show_eligible_modules_only unless show_eligible_modules_only.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, show_eligible_modules_only: nil, 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. Settings provided closer to the target resource take precedence over those further away (e.g. folder will override organization level settings). The default SCC setting for the detector service defaults can be overridden at organization, folder and project levels. No assumptions should be made about the SCC defaults as it is considered an internal implementation detail.
1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 1360 def calculate_organization_container_threat_detection_setting(name, show_eligible_modules_only: nil, 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['showEligibleModulesOnly'] = show_eligible_modules_only unless show_eligible_modules_only.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, show_eligible_modules_only: nil, 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. Settings provided closer to the target resource take precedence over those further away (e.g. folder will override organization level settings). The default SCC setting for the detector service defaults can be overridden at organization, folder and project levels. No assumptions should be made about the SCC defaults as it is considered an internal implementation detail.
1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 1402 def calculate_organization_event_threat_detection_setting(name, show_eligible_modules_only: nil, 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['showEligibleModulesOnly'] = show_eligible_modules_only unless show_eligible_modules_only.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_rapid_vulnerability_detection_setting(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings
Calculates the effective RapidVulnerabilityDetectionSettings based on its level in the resource hierarchy and its settings. Settings provided closer to the target resource take precedence over those further away (e.g. folder will override organization level settings). The default SCC setting for the detector service defaults can be overridden at organization, folder and project levels. No assumptions should be made about the SCC defaults as it is considered an internal implementation detail.
1442 1443 1444 1445 1446 1447 1448 1449 1450 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 1442 def calculate_organization_rapid_vulnerability_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::RapidVulnerabilityDetectionSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings 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, show_eligible_modules_only: nil, 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. Settings provided closer to the target resource take precedence over those further away (e.g. folder will override organization level settings). The default SCC setting for the detector service defaults can be overridden at organization, folder and project levels. No assumptions should be made about the SCC defaults as it is considered an internal implementation detail.
1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 1484 def calculate_organization_security_health_analytics_setting(name, show_eligible_modules_only: nil, 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['showEligibleModulesOnly'] = show_eligible_modules_only unless show_eligible_modules_only.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_virtual_machine_threat_detection_setting(name, show_eligible_modules_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::VirtualMachineThreatDetectionSettings
Calculates the effective VirtualMachineThreatDetectionSettings based on its level in the resource hierarchy and its settings. Settings provided closer to the target resource take precedence over those further away (e.g. folder will override organization level settings). The default SCC setting for the detector service defaults can be overridden at organization, folder and project levels. No assumptions should be made about the SCC defaults as it is considered an internal implementation detail.
1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 1527 def calculate_organization_virtual_machine_threat_detection_setting(name, show_eligible_modules_only: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta2/{+name}:calculate', ) command.response_representation = Google::Apis::SecuritycenterV1beta2::VirtualMachineThreatDetectionSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::VirtualMachineThreatDetectionSettings command.params['name'] = name unless name.nil? command.query['showEligibleModulesOnly'] = show_eligible_modules_only unless show_eligible_modules_only.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, show_eligible_modules_only: nil, 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. Settings provided closer to the target resource take precedence over those further away (e.g. folder will override organization level settings). The default SCC setting for the detector service defaults can be overridden at organization, folder and project levels. No assumptions should be made about the SCC defaults as it is considered an internal implementation detail.
1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 1569 def calculate_organization_web_security_scanner_setting(name, show_eligible_modules_only: nil, 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['showEligibleModulesOnly'] = show_eligible_modules_only unless show_eligible_modules_only.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, show_eligible_modules_only: nil, 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. Settings provided closer to the target resource take precedence over those further away (e.g. folder will override organization level settings). The default SCC setting for the detector service defaults can be overridden at organization, folder and project levels. No assumptions should be made about the SCC defaults as it is considered an internal implementation detail.
2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 2107 def calculate_project_container_threat_detection_setting(name, show_eligible_modules_only: nil, 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['showEligibleModulesOnly'] = show_eligible_modules_only unless show_eligible_modules_only.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, show_eligible_modules_only: nil, 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. Settings provided closer to the target resource take precedence over those further away (e.g. folder will override organization level settings). The default SCC setting for the detector service defaults can be overridden at organization, folder and project levels. No assumptions should be made about the SCC defaults as it is considered an internal implementation detail.
2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 2149 def calculate_project_event_threat_detection_setting(name, show_eligible_modules_only: nil, 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['showEligibleModulesOnly'] = show_eligible_modules_only unless show_eligible_modules_only.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, show_eligible_modules_only: nil, 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. Settings provided closer to the target resource take precedence over those further away (e.g. folder will override organization level settings). The default SCC setting for the detector service defaults can be overridden at organization, folder and project levels. No assumptions should be made about the SCC defaults as it is considered an internal implementation detail.
2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 2272 def calculate_project_location_cluster_container_threat_detection_setting(name, show_eligible_modules_only: nil, 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['showEligibleModulesOnly'] = show_eligible_modules_only unless show_eligible_modules_only.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_rapid_vulnerability_detection_setting(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings
Calculates the effective RapidVulnerabilityDetectionSettings based on its level in the resource hierarchy and its settings. Settings provided closer to the target resource take precedence over those further away (e.g. folder will override organization level settings). The default SCC setting for the detector service defaults can be overridden at organization, folder and project levels. No assumptions should be made about the SCC defaults as it is considered an internal implementation detail.
2312 2313 2314 2315 2316 2317 2318 2319 2320 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 2312 def calculate_project_rapid_vulnerability_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::RapidVulnerabilityDetectionSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings 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, show_eligible_modules_only: nil, 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. Settings provided closer to the target resource take precedence over those further away (e.g. folder will override organization level settings). The default SCC setting for the detector service defaults can be overridden at organization, folder and project levels. No assumptions should be made about the SCC defaults as it is considered an internal implementation detail.
2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 2354 def calculate_project_security_health_analytics_setting(name, show_eligible_modules_only: nil, 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['showEligibleModulesOnly'] = show_eligible_modules_only unless show_eligible_modules_only.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_virtual_machine_threat_detection_setting(name, show_eligible_modules_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::VirtualMachineThreatDetectionSettings
Calculates the effective VirtualMachineThreatDetectionSettings based on its level in the resource hierarchy and its settings. Settings provided closer to the target resource take precedence over those further away (e.g. folder will override organization level settings). The default SCC setting for the detector service defaults can be overridden at organization, folder and project levels. No assumptions should be made about the SCC defaults as it is considered an internal implementation detail.
2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 2397 def calculate_project_virtual_machine_threat_detection_setting(name, show_eligible_modules_only: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta2/{+name}:calculate', ) command.response_representation = Google::Apis::SecuritycenterV1beta2::VirtualMachineThreatDetectionSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::VirtualMachineThreatDetectionSettings command.params['name'] = name unless name.nil? command.query['showEligibleModulesOnly'] = show_eligible_modules_only unless show_eligible_modules_only.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, show_eligible_modules_only: nil, 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. Settings provided closer to the target resource take precedence over those further away (e.g. folder will override organization level settings). The default SCC setting for the detector service defaults can be overridden at organization, folder and project levels. No assumptions should be made about the SCC defaults as it is considered an internal implementation detail.
2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 2439 def calculate_project_web_security_scanner_setting(name, show_eligible_modules_only: nil, 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['showEligibleModulesOnly'] = show_eligible_modules_only unless show_eligible_modules_only.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. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetContainerThreatDetectionSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateContainerThreatDetectionSettings for this purpose.
84 85 86 87 88 89 90 91 92 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 84 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. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetEventThreatDetectionSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateEventThreatDetectionSettings for this purpose.
121 122 123 124 125 126 127 128 129 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 121 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_rapid_vulnerability_detection_settings(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings
Get the RapidVulnerabilityDetectionSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetRapidVulnerabilityDetectionSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateRapidVulnerabilityDetectionSettings for this purpose.
160 161 162 163 164 165 166 167 168 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 160 def get_folder_rapid_vulnerability_detection_settings(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta2/{+name}', ) command.response_representation = Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings 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_center_settings(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::SecurityCenterSettings
Get the SecurityCenterSettings resource.
192 193 194 195 196 197 198 199 200 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 192 def get_folder_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_folder_security_health_analytics_settings(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings
Get the SecurityHealthAnalyticsSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetSecurityHealthAnalyticsSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateSecurityHealthAnalyticsSettings for this purpose.
230 231 232 233 234 235 236 237 238 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 230 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_virtual_machine_threat_detection_settings(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::VirtualMachineThreatDetectionSettings
Get the VirtualMachineThreatDetectionSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetVirtualMachineThreatDetectionSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateVirtualMachineThreatDetectionSettings for this purpose.
269 270 271 272 273 274 275 276 277 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 269 def get_folder_virtual_machine_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::VirtualMachineThreatDetectionSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::VirtualMachineThreatDetectionSettings 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. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetWebSecurityScannerSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateWebSecurityScannerSettings for this purpose.
306 307 308 309 310 311 312 313 314 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 306 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. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetContainerThreatDetectionSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateContainerThreatDetectionSettings for this purpose.
831 832 833 834 835 836 837 838 839 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 831 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. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetEventThreatDetectionSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateEventThreatDetectionSettings for this purpose.
868 869 870 871 872 873 874 875 876 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 868 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_rapid_vulnerability_detection_settings(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings
Get the RapidVulnerabilityDetectionSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetRapidVulnerabilityDetectionSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateRapidVulnerabilityDetectionSettings for this purpose.
907 908 909 910 911 912 913 914 915 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 907 def get_organization_rapid_vulnerability_detection_settings(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta2/{+name}', ) command.response_representation = Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings 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.
939 940 941 942 943 944 945 946 947 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 939 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. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetSecurityHealthAnalyticsSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateSecurityHealthAnalyticsSettings for this purpose.
977 978 979 980 981 982 983 984 985 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 977 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.
1008 1009 1010 1011 1012 1013 1014 1015 1016 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 1008 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_virtual_machine_threat_detection_settings(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::VirtualMachineThreatDetectionSettings
Get the VirtualMachineThreatDetectionSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetVirtualMachineThreatDetectionSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateVirtualMachineThreatDetectionSettings for this purpose.
1047 1048 1049 1050 1051 1052 1053 1054 1055 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 1047 def get_organization_virtual_machine_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::VirtualMachineThreatDetectionSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::VirtualMachineThreatDetectionSettings 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. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetWebSecurityScannerSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateWebSecurityScannerSettings for this purpose.
1084 1085 1086 1087 1088 1089 1090 1091 1092 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 1084 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. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetContainerThreatDetectionSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateContainerThreatDetectionSettings for this purpose.
1609 1610 1611 1612 1613 1614 1615 1616 1617 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 1609 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. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetEventThreatDetectionSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateEventThreatDetectionSettings for this purpose.
1646 1647 1648 1649 1650 1651 1652 1653 1654 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 1646 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. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetContainerThreatDetectionSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateContainerThreatDetectionSettings for this purpose.
2189 2190 2191 2192 2193 2194 2195 2196 2197 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 2189 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_rapid_vulnerability_detection_settings(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings
Get the RapidVulnerabilityDetectionSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetRapidVulnerabilityDetectionSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateRapidVulnerabilityDetectionSettings for this purpose.
1685 1686 1687 1688 1689 1690 1691 1692 1693 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 1685 def get_project_rapid_vulnerability_detection_settings(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta2/{+name}', ) command.response_representation = Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings 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_center_settings(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::SecurityCenterSettings
Get the SecurityCenterSettings resource.
1717 1718 1719 1720 1721 1722 1723 1724 1725 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 1717 def get_project_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_project_security_health_analytics_settings(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings
Get the SecurityHealthAnalyticsSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetSecurityHealthAnalyticsSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateSecurityHealthAnalyticsSettings for this purpose.
1755 1756 1757 1758 1759 1760 1761 1762 1763 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 1755 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_virtual_machine_threat_detection_settings(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::VirtualMachineThreatDetectionSettings
Get the VirtualMachineThreatDetectionSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetVirtualMachineThreatDetectionSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateVirtualMachineThreatDetectionSettings for this purpose.
1794 1795 1796 1797 1798 1799 1800 1801 1802 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 1794 def get_project_virtual_machine_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::VirtualMachineThreatDetectionSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::VirtualMachineThreatDetectionSettings 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. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetWebSecurityScannerSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateWebSecurityScannerSettings for this purpose.
1831 1832 1833 1834 1835 1836 1837 1838 1839 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 1831 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.
343 344 345 346 347 348 349 350 351 352 353 354 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 343 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.
381 382 383 384 385 386 387 388 389 390 391 392 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 381 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_rapid_vulnerability_detection_settings(name, rapid_vulnerability_detection_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings
Update the RapidVulnerabilityDetectionSettings resource.
420 421 422 423 424 425 426 427 428 429 430 431 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 420 def update_folder_rapid_vulnerability_detection_settings(name, rapid_vulnerability_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::RapidVulnerabilityDetectionSettings::Representation command.request_object = rapid_vulnerability_detection_settings_object command.response_representation = Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings 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.
459 460 461 462 463 464 465 466 467 468 469 470 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 459 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_virtual_machine_threat_detection_settings(name, virtual_machine_threat_detection_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::VirtualMachineThreatDetectionSettings
Update the VirtualMachineThreatDetectionSettings resource.
498 499 500 501 502 503 504 505 506 507 508 509 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 498 def update_folder_virtual_machine_threat_detection_settings(name, virtual_machine_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::VirtualMachineThreatDetectionSettings::Representation command.request_object = virtual_machine_threat_detection_settings_object command.response_representation = Google::Apis::SecuritycenterV1beta2::VirtualMachineThreatDetectionSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::VirtualMachineThreatDetectionSettings 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.
536 537 538 539 540 541 542 543 544 545 546 547 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 536 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.
1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 1121 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.
1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 1159 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_rapid_vulnerability_detection_settings(name, rapid_vulnerability_detection_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings
Update the RapidVulnerabilityDetectionSettings resource.
1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 1198 def update_organization_rapid_vulnerability_detection_settings(name, rapid_vulnerability_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::RapidVulnerabilityDetectionSettings::Representation command.request_object = rapid_vulnerability_detection_settings_object command.response_representation = Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings 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.
1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 1237 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_virtual_machine_threat_detection_settings(name, virtual_machine_threat_detection_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::VirtualMachineThreatDetectionSettings
Update the VirtualMachineThreatDetectionSettings resource.
1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 1276 def update_organization_virtual_machine_threat_detection_settings(name, virtual_machine_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::VirtualMachineThreatDetectionSettings::Representation command.request_object = virtual_machine_threat_detection_settings_object command.response_representation = Google::Apis::SecuritycenterV1beta2::VirtualMachineThreatDetectionSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::VirtualMachineThreatDetectionSettings 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.
1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 1314 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.
1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 1868 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.
1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 1906 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.
2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 2226 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_rapid_vulnerability_detection_settings(name, rapid_vulnerability_detection_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings
Update the RapidVulnerabilityDetectionSettings resource.
1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 1945 def update_project_rapid_vulnerability_detection_settings(name, rapid_vulnerability_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::RapidVulnerabilityDetectionSettings::Representation command.request_object = rapid_vulnerability_detection_settings_object command.response_representation = Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::RapidVulnerabilityDetectionSettings 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.
1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 1984 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_virtual_machine_threat_detection_settings(name, virtual_machine_threat_detection_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::VirtualMachineThreatDetectionSettings
Update the VirtualMachineThreatDetectionSettings resource.
2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 2023 def update_project_virtual_machine_threat_detection_settings(name, virtual_machine_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::VirtualMachineThreatDetectionSettings::Representation command.request_object = virtual_machine_threat_detection_settings_object command.response_representation = Google::Apis::SecuritycenterV1beta2::VirtualMachineThreatDetectionSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::VirtualMachineThreatDetectionSettings 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.
2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 2061 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 |