CreateHookRequest is the request for creating a hook.
Attributes
Name
Description
parent
str
Required. The repository in which to create the hook. Values
are of the form
projects/{project_number}/locations/{location_id}/repositories/{repository_id}
str
Required. The ID to use for the hook, which
will become the final component of the hook's
resource name. This value restricts to
lower-case letters, numbers, and hyphen, with
the first character a letter, the last a letter
or a number, and a 63 character maximum.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Class CreateHookRequest (0.1.17)\n\nVersion latestkeyboard_arrow_down\n\n- [0.1.17 (latest)](/python/docs/reference/securesourcemanager/latest/google.cloud.securesourcemanager_v1.types.CreateHookRequest)\n- [0.1.16](/python/docs/reference/securesourcemanager/0.1.16/google.cloud.securesourcemanager_v1.types.CreateHookRequest) \n\n CreateHookRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nCreateHookRequest is the request for creating a hook."]]