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 \ HookMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description | 
| data | arrayOptional. Data for populating the Message object. | 
| ↳ branch_filter | stringOptional. 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 | |