# Security Command Center Management V1 API - Class Google::Cloud::SecurityCenterManagement::V1::UpdateSecurityHealthAnalyticsCustomModuleRequest (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::UpdateSecurityHealthAnalyticsCustomModuleRequest.

Request message for
[SecurityCenterManagement.UpdateSecurityHealthAnalyticsCustomModule](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security_center_management-v1/latest/Google-Cloud-SecurityCenterManagement-V1-SecurityCenterManagement-Client#Google__Cloud__SecurityCenterManagement__V1__SecurityCenterManagement__Client_update_security_health_analytics_custom_module_instance_ "Google::Cloud::SecurityCenterManagement::V1::SecurityCenterManagement::Client#update_security_health_analytics_custom_module (method)").

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #security_health_analytics_custom_module

    def security_health_analytics_custom_module() -> ::Google::Cloud::SecurityCenterManagement::V1::SecurityHealthAnalyticsCustomModule

**Returns**

- ([::Google::Cloud::SecurityCenterManagement::V1::SecurityHealthAnalyticsCustomModule](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security_center_management-v1/latest/Google-Cloud-SecurityCenterManagement-V1-SecurityHealthAnalyticsCustomModule)) --- Required. The resource being updated.

### #security_health_analytics_custom_module=

    def security_health_analytics_custom_module=(value) -> ::Google::Cloud::SecurityCenterManagement::V1::SecurityHealthAnalyticsCustomModule

**Parameter**

- **value** ([::Google::Cloud::SecurityCenterManagement::V1::SecurityHealthAnalyticsCustomModule](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security_center_management-v1/latest/Google-Cloud-SecurityCenterManagement-V1-SecurityHealthAnalyticsCustomModule)) --- Required. The resource being updated.
**Returns**

- ([::Google::Cloud::SecurityCenterManagement::V1::SecurityHealthAnalyticsCustomModule](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security_center_management-v1/latest/Google-Cloud-SecurityCenterManagement-V1-SecurityHealthAnalyticsCustomModule)) --- Required. The resource being updated.

### #update_mask

    def update_mask() -> ::Google::Protobuf::FieldMask

**Returns**

- ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security_center_management-v1/latest/Google-Protobuf-FieldMask)) --- Required. The fields to update. The following values are valid:


  - `custom_config`
  - `enablement_state`

  If you omit this field or set it to the wildcard value `*`, then all
  eligible fields are updated.

### #update_mask=

    def update_mask=(value) -> ::Google::Protobuf::FieldMask

**Parameter**

- **value** ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security_center_management-v1/latest/Google-Protobuf-FieldMask)) --- Required. The fields to update. The following values are valid:


  - `custom_config`
  - `enablement_state`

  If you omit this field or set it to the wildcard value `*`, then all
  eligible fields are updated.
**Returns**

- ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security_center_management-v1/latest/Google-Protobuf-FieldMask)) --- Required. The fields to update. The following values are valid:


  - `custom_config`
  - `enablement_state`

  If you omit this field or set it to the wildcard value `*`, then all
  eligible fields are updated.

### #validate_only

    def validate_only() -> ::Boolean

**Returns**

- (::Boolean) --- Optional. When set to `true`, the request will be validated (including IAM checks), but no module will be updated. An `OK` response indicates that the request is valid, while an error response indicates that the request is invalid.


  If the request is valid, a subsequent request to update the module could
  still fail for one of the following reasons:
  - The state of your cloud resources changed; for example, you lost a required IAM permission
  - An error occurred during creation of the module

  Defaults to `false`.

### #validate_only=

    def validate_only=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Optional. When set to `true`, the request will be validated (including IAM checks), but no module will be updated. An `OK` response indicates that the request is valid, while an error response indicates that the request is invalid.


  If the request is valid, a subsequent request to update the module could
  still fail for one of the following reasons:
  - The state of your cloud resources changed; for example, you lost a required IAM permission
  - An error occurred during creation of the module

  Defaults to `false`.
**Returns**

- (::Boolean) --- Optional. When set to `true`, the request will be validated (including IAM checks), but no module will be updated. An `OK` response indicates that the request is valid, while an error response indicates that the request is invalid.


  If the request is valid, a subsequent request to update the module could
  still fail for one of the following reasons:
  - The state of your cloud resources changed; for example, you lost a required IAM permission
  - An error occurred during creation of the module

  Defaults to `false`.