Class: Google::Apis::SecuresourcemanagerV1::PushOption
- Inherits:
-
Object
- Object
- Google::Apis::SecuresourcemanagerV1::PushOption
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securesourcemanager_v1/classes.rb,
lib/google/apis/securesourcemanager_v1/representations.rb,
lib/google/apis/securesourcemanager_v1/representations.rb
Instance Attribute Summary collapse
-
#branch_filter ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PushOption
constructor
A new instance of PushOption.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PushOption
Returns a new instance of PushOption.
1928 1929 1930 |
# File 'lib/google/apis/securesourcemanager_v1/classes.rb', line 1928 def initialize(**args) update!(**args) end |
Instance Attribute Details
#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.
Corresponds to the JSON propertybranchFilter`
1926 1927 1928 |
# File 'lib/google/apis/securesourcemanager_v1/classes.rb', line 1926 def branch_filter @branch_filter end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1933 1934 1935 |
# File 'lib/google/apis/securesourcemanager_v1/classes.rb', line 1933 def update!(**args) @branch_filter = args[:branch_filter] if args.key?(:branch_filter) end |