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, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings
Calculates the effective ContainerThreatDetectionSettings based on its level in the resource hierarchy and its settings.
-
#calculate_folder_event_threat_detection_setting(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings
Calculates the effective EventThreatDetectionSettings based on its level in the resource hierarchy and its settings.
-
#calculate_folder_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, 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, 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, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings
Calculates the effective WebSecurityScannerSettings based on its level in the resource hierarchy and its settings.
-
#calculate_organization_container_threat_detection_setting(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings
Calculates the effective ContainerThreatDetectionSettings based on its level in the resource hierarchy and its settings.
-
#calculate_organization_event_threat_detection_setting(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings
Calculates the effective EventThreatDetectionSettings based on its level in the resource hierarchy and its settings.
-
#calculate_organization_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, 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, 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, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings
Calculates the effective WebSecurityScannerSettings based on its level in the resource hierarchy and its settings.
-
#calculate_project_container_threat_detection_setting(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings
Calculates the effective ContainerThreatDetectionSettings based on its level in the resource hierarchy and its settings.
-
#calculate_project_event_threat_detection_setting(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings
Calculates the effective EventThreatDetectionSettings based on its level in the resource hierarchy and its settings.
-
#calculate_project_location_cluster_container_threat_detection_setting(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings
Calculates the effective ContainerThreatDetectionSettings based on its level in the resource hierarchy and its settings.
-
#calculate_project_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, 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, 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, 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, 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.
579 580 581 582 583 584 585 586 587 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 579 def calculate_folder_container_threat_detection_setting(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta2/{+name}:calculate', ) command.response_representation = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#calculate_folder_event_threat_detection_setting(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings
Calculates the effective EventThreatDetectionSettings based on its level in the resource hierarchy and its settings. 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.
617 618 619 620 621 622 623 624 625 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 617 def calculate_folder_event_threat_detection_setting(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta2/{+name}:calculate', ) command.response_representation = Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#calculate_folder_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.
656 657 658 659 660 661 662 663 664 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 656 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, 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.
695 696 697 698 699 700 701 702 703 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 695 def calculate_folder_security_health_analytics_setting(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta2/{+name}:calculate', ) command.response_representation = Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#calculate_folder_virtual_machine_threat_detection_setting(name, 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.
734 735 736 737 738 739 740 741 742 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 734 def calculate_folder_virtual_machine_threat_detection_setting(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta2/{+name}:calculate', ) command.response_representation = Google::Apis::SecuritycenterV1beta2::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 |
#calculate_folder_web_security_scanner_setting(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings
Calculates the effective WebSecurityScannerSettings based on its level in the resource hierarchy and its settings. 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.
772 773 774 775 776 777 778 779 780 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 772 def calculate_folder_web_security_scanner_setting(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta2/{+name}:calculate', ) command.response_representation = Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#calculate_organization_container_threat_detection_setting(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings
Calculates the effective ContainerThreatDetectionSettings based on its level in the resource hierarchy and its settings. 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.
1337 1338 1339 1340 1341 1342 1343 1344 1345 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 1337 def calculate_organization_container_threat_detection_setting(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta2/{+name}:calculate', ) command.response_representation = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#calculate_organization_event_threat_detection_setting(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings
Calculates the effective EventThreatDetectionSettings based on its level in the resource hierarchy and its settings. 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.
1375 1376 1377 1378 1379 1380 1381 1382 1383 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 1375 def calculate_organization_event_threat_detection_setting(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta2/{+name}:calculate', ) command.response_representation = Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#calculate_organization_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.
1414 1415 1416 1417 1418 1419 1420 1421 1422 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 1414 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, 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.
1453 1454 1455 1456 1457 1458 1459 1460 1461 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 1453 def calculate_organization_security_health_analytics_setting(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta2/{+name}:calculate', ) command.response_representation = Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#calculate_organization_virtual_machine_threat_detection_setting(name, 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.
1492 1493 1494 1495 1496 1497 1498 1499 1500 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 1492 def calculate_organization_virtual_machine_threat_detection_setting(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta2/{+name}:calculate', ) command.response_representation = Google::Apis::SecuritycenterV1beta2::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 |
#calculate_organization_web_security_scanner_setting(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings
Calculates the effective WebSecurityScannerSettings based on its level in the resource hierarchy and its settings. 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.
1530 1531 1532 1533 1534 1535 1536 1537 1538 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 1530 def calculate_organization_web_security_scanner_setting(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta2/{+name}:calculate', ) command.response_representation = Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#calculate_project_container_threat_detection_setting(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings
Calculates the effective ContainerThreatDetectionSettings based on its level in the resource hierarchy and its settings. 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.
2064 2065 2066 2067 2068 2069 2070 2071 2072 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 2064 def calculate_project_container_threat_detection_setting(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta2/{+name}:calculate', ) command.response_representation = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#calculate_project_event_threat_detection_setting(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings
Calculates the effective EventThreatDetectionSettings based on its level in the resource hierarchy and its settings. 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.
2102 2103 2104 2105 2106 2107 2108 2109 2110 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 2102 def calculate_project_event_threat_detection_setting(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta2/{+name}:calculate', ) command.response_representation = Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::EventThreatDetectionSettings command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#calculate_project_location_cluster_container_threat_detection_setting(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings
Calculates the effective ContainerThreatDetectionSettings based on its level in the resource hierarchy and its settings. 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.
2221 2222 2223 2224 2225 2226 2227 2228 2229 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 2221 def calculate_project_location_cluster_container_threat_detection_setting(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta2/{+name}:calculate', ) command.response_representation = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#calculate_project_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.
2260 2261 2262 2263 2264 2265 2266 2267 2268 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 2260 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, 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.
2299 2300 2301 2302 2303 2304 2305 2306 2307 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 2299 def calculate_project_security_health_analytics_setting(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta2/{+name}:calculate', ) command.response_representation = Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::SecurityHealthAnalyticsSettings command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#calculate_project_virtual_machine_threat_detection_setting(name, 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.
2338 2339 2340 2341 2342 2343 2344 2345 2346 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 2338 def calculate_project_virtual_machine_threat_detection_setting(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta2/{+name}:calculate', ) command.response_representation = Google::Apis::SecuritycenterV1beta2::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 |
#calculate_project_web_security_scanner_setting(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings
Calculates the effective WebSecurityScannerSettings based on its level in the resource hierarchy and its settings. 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.
2376 2377 2378 2379 2380 2381 2382 2383 2384 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 2376 def calculate_project_web_security_scanner_setting(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta2/{+name}:calculate', ) command.response_representation = Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings::Representation command.response_class = Google::Apis::SecuritycenterV1beta2::WebSecurityScannerSettings command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_folder_container_threat_detection_settings(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::SecuritycenterV1beta2::ContainerThreatDetectionSettings
Get the ContainerThreatDetectionSettings resource. 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.
811 812 813 814 815 816 817 818 819 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 811 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.
848 849 850 851 852 853 854 855 856 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 848 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.
887 888 889 890 891 892 893 894 895 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 887 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.
919 920 921 922 923 924 925 926 927 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 919 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.
957 958 959 960 961 962 963 964 965 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 957 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.
988 989 990 991 992 993 994 995 996 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 988 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.
1027 1028 1029 1030 1031 1032 1033 1034 1035 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 1027 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.
1064 1065 1066 1067 1068 1069 1070 1071 1072 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 1064 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.
1569 1570 1571 1572 1573 1574 1575 1576 1577 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 1569 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.
1606 1607 1608 1609 1610 1611 1612 1613 1614 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 1606 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.
2141 2142 2143 2144 2145 2146 2147 2148 2149 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 2141 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.
1645 1646 1647 1648 1649 1650 1651 1652 1653 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 1645 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.
1677 1678 1679 1680 1681 1682 1683 1684 1685 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 1677 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.
1715 1716 1717 1718 1719 1720 1721 1722 1723 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 1715 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.
1754 1755 1756 1757 1758 1759 1760 1761 1762 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 1754 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.
1791 1792 1793 1794 1795 1796 1797 1798 1799 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 1791 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.
1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 1101 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.
1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 1139 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.
1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 1178 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.
1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 1217 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.
1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 1256 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.
1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 1294 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.
1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 1828 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.
1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 1866 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.
2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 2178 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.
1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 1905 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.
1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 1944 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.
1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 1983 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.
2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 |
# File 'lib/google/apis/securitycenter_v1beta2/service.rb', line 2021 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 |