Google Cloud Secure Source Manager V1 Client - Class PushOption (1.5.0)

Reference documentation and code samples for the Google Cloud Secure Source Manager V1 Client class PushOption.

Generated from protobuf message google.cloud.securesourcemanager.v1.Hook.PushOption

Namespace

Google \ Cloud \ SecureSourceManager \ V1 \ Hook

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ branch_filter string

Optional. Trigger hook for matching branches only. Specified as glob pattern. If empty or , events for all branches are reported. Examples: main, {main,release}. See https://pkg.go.dev/github.com/gobwas/glob documentation.

getBranchFilter

Optional. Trigger hook for matching branches only.

Specified as glob pattern. If empty or , events for all branches are reported. Examples: main, {main,release}. See https://pkg.go.dev/github.com/gobwas/glob documentation.

Returns
Type Description
string

setBranchFilter

Optional. Trigger hook for matching branches only.

Specified as glob pattern. If empty or , events for all branches are reported. Examples: main, {main,release}. See https://pkg.go.dev/github.com/gobwas/glob documentation.

Parameter
Name Description
var string
Returns
Type Description
$this