publicstaticfinalclass SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.BuilderextendsGeneratedMessageV3.Builder<SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.Builder>implementsSimulateSecurityHealthAnalyticsCustomModuleRequest.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.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Overrides
build()
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResourcebuild()
buildPartial()
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResourcebuildPartial()
clear()
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.Builderclear()
Overrides
clearField(Descriptors.FieldDescriptor field)
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.BuilderclearField(Descriptors.FieldDescriptorfield)
Overrides
clearIamPolicyData()
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.BuilderclearIamPolicyData()
Optional. A representation of the IAM policy.
.google.iam.v1.Policy iam_policy_data = 3 [(.google.api.field_behavior) = OPTIONAL];
clearOneof(Descriptors.OneofDescriptor oneof)
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Overrides
clearResourceData()
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.BuilderclearResourceData()
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];
clearResourceType()
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.BuilderclearResourceType()
Required. The type of the resource, for example,
compute.googleapis.com/Disk.
string resource_type = 1 [(.google.api.field_behavior) = REQUIRED];
clone()
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.Builderclone()
Overrides
getDefaultInstanceForType()
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResourcegetDefaultInstanceForType()
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()
Overrides
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.
|
getIamPolicyDataBuilder()
publicPolicy.BuildergetIamPolicyDataBuilder()
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.Builder |
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 |
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.
|
getResourceDataBuilder()
publicStruct.BuildergetResourceDataBuilder()
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];
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.
|
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.
|
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
mergeFrom(SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource other)
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.BuildermergeFrom(SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResourceother)
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Overrides
mergeFrom(Message other)
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.BuildermergeFrom(Messageother)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
mergeIamPolicyData(Policy value)
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.BuildermergeIamPolicyData(Policyvalue)
Optional. A representation of the IAM policy.
.google.iam.v1.Policy iam_policy_data = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
value |
com.google.iam.v1.Policy
|
mergeResourceData(Struct value)
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.BuildermergeResourceData(Structvalue)
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];
| Parameter |
| Name |
Description |
value |
Struct
|
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Overrides
setIamPolicyData(Policy value)
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.BuildersetIamPolicyData(Policyvalue)
Optional. A representation of the IAM policy.
.google.iam.v1.Policy iam_policy_data = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
value |
com.google.iam.v1.Policy
|
setIamPolicyData(Policy.Builder builderForValue)
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.BuildersetIamPolicyData(Policy.BuilderbuilderForValue)
Optional. A representation of the IAM policy.
.google.iam.v1.Policy iam_policy_data = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
builderForValue |
com.google.iam.v1.Policy.Builder
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Overrides
setResourceData(Struct value)
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.BuildersetResourceData(Structvalue)
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];
| Parameter |
| Name |
Description |
value |
Struct
|
setResourceData(Struct.Builder builderForValue)
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.BuildersetResourceData(Struct.BuilderbuilderForValue)
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];
| Parameter |
| Name |
Description |
builderForValue |
Builder
|
setResourceType(String value)
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.BuildersetResourceType(Stringvalue)
Required. The type of the resource, for example,
compute.googleapis.com/Disk.
string resource_type = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
value |
String
The resourceType to set.
|
setResourceTypeBytes(ByteString value)
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.BuildersetResourceTypeBytes(ByteStringvalue)
Required. The type of the resource, for example,
compute.googleapis.com/Disk.
string resource_type = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
value |
ByteString
The bytes for resourceType to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Overrides