# Class UpdateHookRequest (0.6.0)

0.6.0 (latest) 0.5.0 0.4.0 0.3.0 0.2.0 0.1.17

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

UpdateHookRequest is the request to update a hook.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `update_mask` | `google.protobuf.field_mask_pb2.FieldMask` Optional. Field mask is used to specify the fields to be overwritten in the hook resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The special value "\\\*" means full replacement. |
| `hook` | `https://docs.cloud.google.com/python/docs/reference/securesourcemanager/latest/google.cloud.securesourcemanager_v1.types.Hook` Required. The hook being updated. |