Method: projects.getVirtualMachineThreatDetectionSettings

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, projects.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


The URLs use gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the VirtualMachineThreatDetectionSettings to retrieve.

Formats:

  • organizations/{organization}/virtualMachineThreatDetectionSettings
  • folders/{folder}/virtualMachineThreatDetectionSettings
  • projects/{project}/virtualMachineThreatDetectionSettings

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of VirtualMachineThreatDetectionSettings.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.