Hook(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Metadata of a Secure Source Manager Hook.
Attributes |
|
---|---|
Name | Description |
name |
str
Identifier. A unique identifier for a Hook. The name should be of the format: projects/{project}/locations/{location_id}/repositories/{repository_id}/hooks/{hook_id}
|
target_uri |
str
Required. The target URI to which the payloads will be delivered. |
disabled |
bool
Optional. Determines if the hook disabled or not. Set to true to stop sending traffic. |
events |
MutableSequence[google.cloud.securesourcemanager_v1.types.Hook.HookEventType]
Optional. The events that trigger hook on. |
create_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. Create timestamp. |
update_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. Update timestamp. |
uid |
str
Output only. Unique identifier of the hook. |
push_option |
google.cloud.securesourcemanager_v1.types.Hook.PushOption
Optional. The trigger option for push events. |
sensitive_query_string |
str
Optional. The sensitive query string to be appended to the target URI. |
Classes
HookEventType
HookEventType(value)
PushOption
PushOption(mapping=None, *, ignore_unknown_fields=False, **kwargs)