# Security Command Center Management V1 API - Class Google::Cloud::SecurityCenterManagement::V1::SimulateSecurityHealthAnalyticsCustomModuleRequest::SimulatedResource (v1.8.0)

1.8.0 (latest) 1.7.1 1.6.0 1.5.1 1.4.0 1.3.1 1.2.0 1.1.0 1.0.1 0.4.0 0.3.0 0.2.1 0.1.0 Reference documentation and code samples for the Security Command Center Management V1 API class Google::Cloud::SecurityCenterManagement::V1::SimulateSecurityHealthAnalyticsCustomModuleRequest::SimulatedResource.

Manually constructed information about a resource.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #iam_policy_data

    def iam_policy_data() -> ::Google::Iam::V1::Policy

**Returns**

- ([::Google::Iam::V1::Policy](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security_center_management-v1/latest/Google-Iam-V1-Policy)) --- Optional. A representation of the IAM allow policy.


  If the custom module evaluates only the resource data, then you can omit
  this field.

### #iam_policy_data=

    def iam_policy_data=(value) -> ::Google::Iam::V1::Policy

**Parameter**

- **value** ([::Google::Iam::V1::Policy](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security_center_management-v1/latest/Google-Iam-V1-Policy)) --- Optional. A representation of the IAM allow policy.


  If the custom module evaluates only the resource data, then you can omit
  this field.
**Returns**

- ([::Google::Iam::V1::Policy](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security_center_management-v1/latest/Google-Iam-V1-Policy)) --- Optional. A representation of the IAM allow policy.


  If the custom module evaluates only the resource data, then you can omit
  this field.

### #resource_data

    def resource_data() -> ::Google::Protobuf::Struct

**Returns**

- ([::Google::Protobuf::Struct](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security_center_management-v1/latest/Google-Protobuf-Struct)) --- 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.

### #resource_data=

    def resource_data=(value) -> ::Google::Protobuf::Struct

**Parameter**

- **value** ([::Google::Protobuf::Struct](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security_center_management-v1/latest/Google-Protobuf-Struct)) --- 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.
**Returns**

- ([::Google::Protobuf::Struct](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security_center_management-v1/latest/Google-Protobuf-Struct)) --- 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.

### #resource_type

    def resource_type() -> ::String

**Returns**

- (::String) --- Required. The type of the resource. For example, `compute.googleapis.com/Disk`.

### #resource_type=

    def resource_type=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The type of the resource. For example, `compute.googleapis.com/Disk`.
**Returns**

- (::String) --- Required. The type of the resource. For example, `compute.googleapis.com/Disk`.