Class: Google::Cloud::SecurityCenter::V1::SimulateSecurityHealthAnalyticsCustomModuleRequest
- Inherits:
-
Object
- Object
- Google::Cloud::SecurityCenter::V1::SimulateSecurityHealthAnalyticsCustomModuleRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/securitycenter/v1/securitycenter_service.rb
Overview
Request message to simulate a CustomConfig against a given test resource. Maximum size of the request is 4 MB by default.
Defined Under Namespace
Classes: SimulatedResource
Instance Attribute Summary collapse
-
#custom_config ⇒ ::Google::Cloud::SecurityCenter::V1::CustomConfig
Required.
-
#parent ⇒ ::String
Required.
-
#resource ⇒ ::Google::Cloud::SecurityCenter::V1::SimulateSecurityHealthAnalyticsCustomModuleRequest::SimulatedResource
Required.
Instance Attribute Details
#custom_config ⇒ ::Google::Cloud::SecurityCenter::V1::CustomConfig
Returns Required. The custom configuration that you need to test.
1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 |
# File 'proto_docs/google/cloud/securitycenter/v1/securitycenter_service.rb', line 1337 class SimulateSecurityHealthAnalyticsCustomModuleRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # 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. # @!attribute [rw] resource_type # @return [::String] # Required. The type of the resource, for example, # `compute.googleapis.com/Disk`. # @!attribute [rw] resource_data # @return [::Google::Protobuf::Struct] # Optional. A representation of the Google Cloud resource. Should match the # Google Cloud resource JSON format. # @!attribute [rw] iam_policy_data # @return [::Google::Iam::V1::Policy] # Optional. A representation of the IAM policy. class SimulatedResource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#parent ⇒ ::String
Returns Required. The relative resource name of the organization, project, or
folder. For more information about relative resource names, see Relative
Resource
Name
Example: organizations/{organization_id}
.
1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 |
# File 'proto_docs/google/cloud/securitycenter/v1/securitycenter_service.rb', line 1337 class SimulateSecurityHealthAnalyticsCustomModuleRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # 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. # @!attribute [rw] resource_type # @return [::String] # Required. The type of the resource, for example, # `compute.googleapis.com/Disk`. # @!attribute [rw] resource_data # @return [::Google::Protobuf::Struct] # Optional. A representation of the Google Cloud resource. Should match the # Google Cloud resource JSON format. # @!attribute [rw] iam_policy_data # @return [::Google::Iam::V1::Policy] # Optional. A representation of the IAM policy. class SimulatedResource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#resource ⇒ ::Google::Cloud::SecurityCenter::V1::SimulateSecurityHealthAnalyticsCustomModuleRequest::SimulatedResource
Returns Required. Resource data to simulate custom module against.
1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 |
# File 'proto_docs/google/cloud/securitycenter/v1/securitycenter_service.rb', line 1337 class SimulateSecurityHealthAnalyticsCustomModuleRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # 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. # @!attribute [rw] resource_type # @return [::String] # Required. The type of the resource, for example, # `compute.googleapis.com/Disk`. # @!attribute [rw] resource_data # @return [::Google::Protobuf::Struct] # Optional. A representation of the Google Cloud resource. Should match the # Google Cloud resource JSON format. # @!attribute [rw] iam_policy_data # @return [::Google::Iam::V1::Policy] # Optional. A representation of the IAM policy. class SimulatedResource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |