Class SimulatedResource
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.
Implements
Inherited Members
Namespace: Google.Apis.SecurityCommandCenter.v1.Data
Assembly: Google.Apis.SecurityCommandCenter.v1.dll
Syntax
public class SimulatedResource : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
IamPolicyData
Optional. A representation of the IAM policy.
Declaration
[JsonProperty("iamPolicyData")]
public virtual Policy IamPolicyData { get; set; }
Property Value
Type | Description |
---|---|
Policy |
ResourceData
Optional. A representation of the Google Cloud resource. Should match the Google Cloud resource JSON format.
Declaration
[JsonProperty("resourceData")]
public virtual IDictionary<string, object> ResourceData { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, object> |
ResourceType
Required. The type of the resource, for example, compute.googleapis.com/Disk
.
Declaration
[JsonProperty("resourceType")]
public virtual string ResourceType { get; set; }
Property Value
Type | Description |
---|---|
string |