publicstaticfinalclass SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResourceextendsGeneratedMessageV3implementsSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResourceOrBuilder
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.
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
publicstaticfinalintIAM_POLICY_DATA_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
RESOURCE_DATA_FIELD_NUMBER
publicstaticfinalintRESOURCE_DATA_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
RESOURCE_TYPE_FIELD_NUMBER
publicstaticfinalintRESOURCE_TYPE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
Static Methods
getDefaultInstance()
publicstaticSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResourcegetDefaultInstance()
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
newBuilder()
publicstaticSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.BuildernewBuilder()
newBuilder(SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource prototype)
publicstaticSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.BuildernewBuilder(SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResourceprototype)
publicstaticSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResourceparseDelimitedFrom(InputStreaminput)
publicstaticSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResourceparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(byte[] data)
publicstaticSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResourceparseFrom(byte[]data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResourceparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteString data)
publicstaticSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResourceparseFrom(ByteStringdata)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResourceparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
publicstaticSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResourceparseFrom(CodedInputStreaminput)
publicstaticSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResourceparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
publicstaticSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResourceparseFrom(InputStreaminput)
publicstaticSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResourceparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteBuffer data)
publicstaticSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResourceparseFrom(ByteBufferdata)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResourceparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
parser()
publicstaticParser<SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource>parser()
Methods
equals(Object obj)
publicbooleanequals(Objectobj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResourcegetDefaultInstanceForType()
getIamPolicyData()
publicPolicygetIamPolicyData()
Optional. A representation of the IAM policy.
.google.iam.v1.Policy iam_policy_data = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
com.google.iam.v1.Policy |
The iamPolicyData.
|
getIamPolicyDataOrBuilder()
publicPolicyOrBuildergetIamPolicyDataOrBuilder()
Optional. A representation of the IAM policy.
.google.iam.v1.Policy iam_policy_data = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
com.google.iam.v1.PolicyOrBuilder |
getParserForType()
publicParser<SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource>getParserForType()
Overrides
getResourceData()
publicStructgetResourceData()
Optional. A representation of the Google Cloud resource. Should match the
Google Cloud resource JSON format.
.google.protobuf.Struct resource_data = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
Struct |
The resourceData.
|
getResourceDataOrBuilder()
publicStructOrBuildergetResourceDataOrBuilder()
Optional. A representation of the Google Cloud resource. Should match the
Google Cloud resource JSON format.
.google.protobuf.Struct resource_data = 2 [(.google.api.field_behavior) = OPTIONAL];
getResourceType()
publicStringgetResourceType()
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()
publicByteStringgetResourceTypeBytes()
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()
publicintgetSerializedSize()
| Returns |
| Type |
Description |
int |
Overrides
hasIamPolicyData()
publicbooleanhasIamPolicyData()
Optional. A representation of the IAM policy.
.google.iam.v1.Policy iam_policy_data = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the iamPolicyData field is set.
|
hasResourceData()
publicbooleanhasResourceData()
Optional. A representation of the Google Cloud resource. Should match the
Google Cloud resource JSON format.
.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()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
newBuilderForType()
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.BuildernewBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
| Returns |
| Type |
Description |
Object |
Overrides
toBuilder()
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.BuildertoBuilder()
writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)
Overrides