Send feedback
Class SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource (0.25.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latest keyboard_arrow_down
public static final class SimulateSecurityHealthAnalyticsCustomModuleRequest . SimulatedResource extends GeneratedMessageV3 implements SimulateSecurityHealthAnalyticsCustomModuleRequest . SimulatedResourceOrBuilder
Manually constructed information about a resource.
Protobuf type
google.cloud.securitycentermanagement.v1.SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
IAM_POLICY_DATA_FIELD_NUMBER
public static final int IAM_POLICY_DATA_FIELD_NUMBER
Field Value
Type
Description
int
RESOURCE_DATA_FIELD_NUMBER
public static final int RESOURCE_DATA_FIELD_NUMBER
Field Value
Type
Description
int
RESOURCE_TYPE_FIELD_NUMBER
public static final int RESOURCE_TYPE_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static SimulateSecurityHealthAnalyticsCustomModuleRequest . SimulatedResource getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static SimulateSecurityHealthAnalyticsCustomModuleRequest . SimulatedResource . Builder newBuilder ()
newBuilder(SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource prototype)
public static SimulateSecurityHealthAnalyticsCustomModuleRequest . SimulatedResource . Builder newBuilder ( SimulateSecurityHealthAnalyticsCustomModuleRequest . SimulatedResource prototype )
public static SimulateSecurityHealthAnalyticsCustomModuleRequest . SimulatedResource parseDelimitedFrom ( InputStream input )
public static SimulateSecurityHealthAnalyticsCustomModuleRequest . SimulatedResource parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static SimulateSecurityHealthAnalyticsCustomModuleRequest . SimulatedResource parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SimulateSecurityHealthAnalyticsCustomModuleRequest . SimulatedResource parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static SimulateSecurityHealthAnalyticsCustomModuleRequest . SimulatedResource parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SimulateSecurityHealthAnalyticsCustomModuleRequest . SimulatedResource parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static SimulateSecurityHealthAnalyticsCustomModuleRequest . SimulatedResource parseFrom ( CodedInputStream input )
public static SimulateSecurityHealthAnalyticsCustomModuleRequest . SimulatedResource parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static SimulateSecurityHealthAnalyticsCustomModuleRequest . SimulatedResource parseFrom ( InputStream input )
public static SimulateSecurityHealthAnalyticsCustomModuleRequest . SimulatedResource parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static SimulateSecurityHealthAnalyticsCustomModuleRequest . SimulatedResource parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SimulateSecurityHealthAnalyticsCustomModuleRequest . SimulatedResource parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<SimulateSecurityHealthAnalyticsCustomModuleRequest . SimulatedResource > parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getDefaultInstanceForType()
public SimulateSecurityHealthAnalyticsCustomModuleRequest . SimulatedResource getDefaultInstanceForType ()
getIamPolicyData()
public 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 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
getParserForType()
public Parser<SimulateSecurityHealthAnalyticsCustomModuleRequest . SimulatedResource > getParserForType ()
Overrides
getResourceData()
public 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 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];
getResourceType()
public 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 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.
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
hasIamPolicyData()
public 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 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.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public SimulateSecurityHealthAnalyticsCustomModuleRequest . SimulatedResource . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SimulateSecurityHealthAnalyticsCustomModuleRequest . SimulatedResource . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public SimulateSecurityHealthAnalyticsCustomModuleRequest . SimulatedResource . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
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-02-04 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-04 UTC."],[],[]]