ProjectsLocationsRepositoriesBranchRulesResource class

Constructors

ProjectsLocationsRepositoriesBranchRulesResource.new(ApiRequester client)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

create(BranchRule request, String parent, {String? branchRuleId, String? $fields}) Future<Operation>
CreateBranchRule creates a branch rule in a given repository.
delete(String name, {bool? allowMissing, String? $fields}) Future<Operation>
DeleteBranchRule deletes a branch rule.
get(String name, {String? $fields}) Future<BranchRule>
GetBranchRule gets a branch rule.
list(String parent, {int? pageSize, String? pageToken, String? $fields}) Future<ListBranchRulesResponse>
ListBranchRules lists branch rules in a given repository.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch(BranchRule request, String name, {String? updateMask, bool? validateOnly, String? $fields}) Future<Operation>
UpdateBranchRule updates a branch rule.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited