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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Secure Source Manager V1 Client - Class PushOption (1.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.5.0 (latest)](/php/docs/reference/cloud-securesourcemanager/latest/V1.Hook.PushOption)\n- [1.4.1](/php/docs/reference/cloud-securesourcemanager/1.4.1/V1.Hook.PushOption)\n- [1.3.3](/php/docs/reference/cloud-securesourcemanager/1.3.3/V1.Hook.PushOption)\n- [1.2.0](/php/docs/reference/cloud-securesourcemanager/1.2.0/V1.Hook.PushOption)\n- [1.1.0](/php/docs/reference/cloud-securesourcemanager/1.1.0/V1.Hook.PushOption)\n- [1.0.0](/php/docs/reference/cloud-securesourcemanager/1.0.0/V1.Hook.PushOption)\n- [0.2.5](/php/docs/reference/cloud-securesourcemanager/0.2.5/V1.Hook.PushOption)\n- [0.1.0](/php/docs/reference/cloud-securesourcemanager/0.1.0/V1.Hook.PushOption) \nReference documentation and code samples for the Google Cloud Secure Source Manager V1 Client class PushOption.\n\nGenerated from protobuf message `google.cloud.securesourcemanager.v1.Hook.PushOption`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ SecureSourceManager \\\\ V1 \\\\ Hook\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getBranchFilter\n\nOptional. Trigger hook for matching branches only.\n\nSpecified as glob pattern. If empty or *, events for all branches are\nreported. Examples: main, {main,release* }.\nSee \u003chttps://pkg.go.dev/github.com/gobwas/glob\u003e documentation.\n\n### setBranchFilter\n\nOptional. Trigger hook for matching branches only.\n\nSpecified as glob pattern. If empty or *, events for all branches are\nreported. Examples: main, {main,release* }.\nSee \u003chttps://pkg.go.dev/github.com/gobwas/glob\u003e documentation."]]