Interface SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResourceOrBuilder (0.31.0)
Stay organized with collections
Save and categorize content based on your preferences.
publicstaticinterface SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResourceOrBuilderextendsMessageOrBuilderImplements
MessageOrBuilderMethods
getIamPolicyData()
publicabstractPolicygetIamPolicyData()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()
publicabstractPolicyOrBuildergetIamPolicyDataOrBuilder()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()
publicabstractStructgetResourceData()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()
publicabstractStructOrBuildergetResourceDataOrBuilder()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()
publicabstractStringgetResourceType() 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()
publicabstractByteStringgetResourceTypeBytes() 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()
publicabstractbooleanhasIamPolicyData()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()
publicabstractbooleanhasResourceData()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. |