SimulatedResource

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

JSON representation
{
 "resourceType": string,
 "resourceData": {
 object
 },
 "iamPolicyData": {
 object (Policy )
 }
}
Fields
resourceType

string

Required. The type of the resource, for example, compute.googleapis.com/Disk.

resourceData

object (Struct format)

Optional. A representation of the Google Cloud resource. Should match the Google Cloud resource JSON format.

iamPolicyData

object (Policy )

Optional. A representation of the IAM policy.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年05月14日 UTC.