Class SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.Builder (0.22.0)
Stay organized with collections
Save and categorize content based on your preferences.
publicstaticfinalclass SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.BuilderextendsGeneratedMessageV3.Builder<SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.Builder>implementsSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResourceOrBuilderManually constructed information about a resource.
Protobuf type
google.cloud.securitycentermanagement.v1.SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.BuilderInherited Members
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.Builder |
|
build()
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResourcebuild()| Returns | |
|---|---|
| Type | Description |
SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource |
|
buildPartial()
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResourcebuildPartial()| Returns | |
|---|---|
| Type | Description |
SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource |
|
clear()
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.Builderclear()| Returns | |
|---|---|
| Type | Description |
SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.Builder |
|
clearField(Descriptors.FieldDescriptor field)
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.BuilderclearField(Descriptors.FieldDescriptorfield)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.Builder |
|
clearIamPolicyData()
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.BuilderclearIamPolicyData()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 |
SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.BuilderclearOneof(Descriptors.OneofDescriptoroneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.Builder |
|
clearResourceData()
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.BuilderclearResourceData()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 |
SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.Builder |
This builder for chaining. |
clone()
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.Builderclone()| Returns | |
|---|---|
| Type | Description |
SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.Builder |
|
getDefaultInstanceForType()
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResourcegetDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource |
|
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getIamPolicyData()
publicPolicygetIamPolicyData()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. |
getIamPolicyDataBuilder()
publicPolicy.BuildergetIamPolicyDataBuilder()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.Builder |
|
getIamPolicyDataOrBuilder()
publicPolicyOrBuildergetIamPolicyDataOrBuilder()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()
publicStructgetResourceData()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. |
getResourceDataBuilder()
publicStruct.BuildergetResourceDataBuilder()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 |
Builder |
|
getResourceDataOrBuilder()
publicStructOrBuildergetResourceDataOrBuilder()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()
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 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()
publicbooleanhasResourceData()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. |
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
publicfinalbooleanisInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource other)
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.BuildermergeFrom(SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResourceother)| Parameter | |
|---|---|
| Name | Description |
other |
SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource |
| Returns | |
|---|---|
| Type | Description |
SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.BuildermergeFrom(Messageother)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.Builder |
|
mergeIamPolicyData(Policy value)
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.BuildermergeIamPolicyData(Policyvalue)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];
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.iam.v1.Policy |
| Returns | |
|---|---|
| Type | Description |
SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.Builder |
|
mergeResourceData(Struct value)
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.BuildermergeResourceData(Structvalue)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];
| Parameter | |
|---|---|
| Name | Description |
value |
Struct |
| Returns | |
|---|---|
| Type | Description |
SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.BuildermergeUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.Builder |
|
setIamPolicyData(Policy value)
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.BuildersetIamPolicyData(Policyvalue)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];
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.iam.v1.Policy |
| Returns | |
|---|---|
| Type | Description |
SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.Builder |
|
setIamPolicyData(Policy.Builder builderForValue)
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.BuildersetIamPolicyData(Policy.BuilderbuilderForValue)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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
com.google.iam.v1.Policy.Builder |
| Returns | |
|---|---|
| Type | Description |
SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.Builder |
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.Builder |
|
setResourceData(Struct value)
publicSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.BuildersetResourceData(Structvalue)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];
| Parameter | |
|---|---|
| Name | Description |
value |
Struct |
| Returns | |
|---|---|
| Type | Description |
SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.Builder |
|
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.
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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.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. |
| Returns | |
|---|---|
| Type | Description |
SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.Builder |
This builder for chaining. |
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. |
| Returns | |
|---|---|
| Type | Description |
SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalSimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.BuildersetUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource.Builder |
|