View Source GoogleApi.SecurityCenter.V1.Model.SimulatedResource (google_api_security_center v0.29.0)

Manually constructed resource name. If the custom module evaluates against only the resource data, you can omit the iam_policy_data field. If it evaluates only the iam_policy_data field, you can omit the resource data.

Attributes

  • iamPolicyData (type: GoogleApi.SecurityCenter.V1.Model.Policy.t, default: nil) - Optional. A representation of the IAM policy.
  • resourceData (type: map(), default: nil) - Optional. A representation of the Google Cloud resource. Should match the Google Cloud resource JSON format.
  • resourceType (type: String.t, default: nil) - Required. The type of the resource, for example, compute.googleapis.com/Disk.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.SecurityCenter.V1.Model.SimulatedResource{
  iamPolicyData: GoogleApi.SecurityCenter.V1.Model.Policy.t() | nil,
  resourceData: map() | nil,
  resourceType: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.