Class CreateHookRequest (0.1.17)

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

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}
hook google.cloud.securesourcemanager_v1.types.Hook
Required. The resource being created.
hook_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.