# Class UpdateSecurityCenterServiceRequest (0.5.0)

0.5.0 (latest) 0.4.0 0.3.0 0.2.0 0.1.22

    UpdateSecurityCenterServiceRequest(
        mapping=None, *, ignore_unknown_fields=False, **kwargs
    )

Request message for
SecurityCenterManagement.UpdateSecurityCenterService.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `security_center_service` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-securitycentermanagement/latest/google.cloud.securitycentermanagement_v1.types.SecurityCenterService` Required. The updated service. |
| `update_mask` | `google.protobuf.field_mask_pb2.FieldMask` Required. The fields to update. Accepts the following values: - `intended_enablement_state` - `modules` If omitted, then all eligible fields are updated. |
| `validate_only` | `bool` Optional. When set to `true`, the request will be validated (including IAM checks), but no service 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 service 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 update of the service Defaults to `false`. |