public static interface SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResourceOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getIamPolicyData()
public abstract Policy getIamPolicyData()
Optional. A representation of the IAM allow policy.
If the custom module evaluates only the resource data, then you can omit this field.
.google.iam.v1.Policy iam_policy_data = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
com.google.iam.v1.Policy |
The iamPolicyData. |
getIamPolicyDataOrBuilder()
public abstract PolicyOrBuilder getIamPolicyDataOrBuilder()
Optional. A representation of the IAM allow policy.
If the custom module evaluates only the resource data, then you can omit this field.
.google.iam.v1.Policy iam_policy_data = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
com.google.iam.v1.PolicyOrBuilder |
getResourceData()
public abstract Struct getResourceData()
Optional. A representation of the Google Cloud resource. Should match the Google Cloud resource JSON format.
If the custom module evaluates only the IAM allow policy, then you can omit this field.
.google.protobuf.Struct resource_data = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Struct |
The resourceData. |
getResourceDataOrBuilder()
public abstract StructOrBuilder getResourceDataOrBuilder()
Optional. A representation of the Google Cloud resource. Should match the Google Cloud resource JSON format.
If the custom module evaluates only the IAM allow policy, then you can omit this field.
.google.protobuf.Struct resource_data = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
StructOrBuilder |
getResourceType()
public abstract String getResourceType()
Required. The type of the resource. For example,
compute.googleapis.com/Disk
.
string resource_type = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The resourceType. |
getResourceTypeBytes()
public abstract ByteString getResourceTypeBytes()
Required. The type of the resource. For example,
compute.googleapis.com/Disk
.
string resource_type = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for resourceType. |
hasIamPolicyData()
public abstract boolean hasIamPolicyData()
Optional. A representation of the IAM allow policy.
If the custom module evaluates only the resource data, then you can omit this field.
.google.iam.v1.Policy iam_policy_data = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the iamPolicyData field is set. |
hasResourceData()
public abstract boolean hasResourceData()
Optional. A representation of the Google Cloud resource. Should match the Google Cloud resource JSON format.
If the custom module evaluates only the IAM allow policy, then you can omit this field.
.google.protobuf.Struct resource_data = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the resourceData field is set. |