Reference documentation and code samples for the Google Cloud Secure Source Manager V1 Client class Hook.
Metadata of a Secure Source Manager Hook.
Generated from protobuf message google.cloud.securesourcemanager.v1.Hook
Namespace
Google \ Cloud \ SecureSourceManager \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
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
string
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
array
Optional. The events that trigger hook on.
↳ create_time
↳ update_time
↳ uid
string
Output only. Unique identifier of the hook.
↳ push_option
↳ sensitive_query_string
string
Optional. The sensitive query string to be appended to the target URI.
getName
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}
string
setName
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}
var
string
$this
getTargetUri
Required. The target URI to which the payloads will be delivered.
string
setTargetUri
Required. The target URI to which the payloads will be delivered.
var
string
$this
getDisabled
Optional. Determines if the hook disabled or not.
Set to true to stop sending traffic.
bool
setDisabled
Optional. Determines if the hook disabled or not.
Set to true to stop sending traffic.
var
bool
$this
getEvents
Optional. The events that trigger hook on.
setEvents
Optional. The events that trigger hook on.
var
int[]
$this
getCreateTime
Output only. Create timestamp.
hasCreateTime
clearCreateTime
setCreateTime
Output only. Create timestamp.
$this
getUpdateTime
Output only. Update timestamp.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. Update timestamp.
$this
getUid
Output only. Unique identifier of the hook.
string
setUid
Output only. Unique identifier of the hook.
var
string
$this
getPushOption
Optional. The trigger option for push events.
hasPushOption
clearPushOption
setPushOption
Optional. The trigger option for push events.
$this
getSensitiveQueryString
Optional. The sensitive query string to be appended to the target URI.
string
setSensitiveQueryString
Optional. The sensitive query string to be appended to the target URI.
var
string
$this