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, organizations.getVirtualMachineThreatDetectionSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use virtualMachineThreatDetectionSettings.calculate for this purpose.
HTTP request
GET https://securitycenter.googleapis.com/v1beta2/{name=organizations/*/virtualMachineThreatDetectionSettings}