# Class PatchRuleSecurityPolicyRequest (0.12.0)

0.12.0 (latest) 0.11.0 0.4.0 0.3.0 0.2.0 0.1.8

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

A request message for SecurityPolicies.PatchRule. See the
method description for details.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `priority` | `int` The priority of the rule to patch. This field is a member of `oneof`_ `_priority`. |
| `project` | `str` Project ID for this request. |
| `security_policy` | `str` Name of the security policy to update. |
| `security_policy_rule_resource` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-compute-v1beta/latest/google.cloud.compute_v1beta.types.SecurityPolicyRule` The body resource for this request |
| `update_mask` | `str` Indicates fields to be cleared as part of this request. This field is a member of `oneof`_ `_update_mask`. |
| `validate_only` | `bool` If true, the request will not be committed. This field is a member of `oneof`_ `_validate_only`. |