Interface SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResourceOrBuilder (0.31.0)

publicstaticinterface SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResourceOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

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.

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年11月19日 UTC.