ProjectsTriggersResource class

Constructors

ProjectsTriggersResource(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(BuildTrigger request, String projectId, {String? parent, String? $fields}) Future<BuildTrigger>
Creates a new BuildTrigger.
delete(String projectId, String triggerId, {String? name, String? $fields}) Future<Empty>
Deletes a BuildTrigger by its project ID and trigger ID.
get(String projectId, String triggerId, {String? name, String? $fields}) Future<BuildTrigger>
Returns information about a BuildTrigger.
list(String projectId, {int? pageSize, String? pageToken, String? parent, String? $fields}) Future<ListBuildTriggersResponse>
Lists existing BuildTriggers.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch(BuildTrigger request, String projectId, String triggerId, {String? updateMask, String? $fields}) Future<BuildTrigger>
Updates a BuildTrigger by its project ID and trigger ID.
run(RepoSource request, String projectId, String triggerId, {String? name, String? $fields}) Future<Operation>
Runs a BuildTrigger at a particular source revision.
toString() String
A string representation of this object.
inherited
webhook(HttpBody request, String projectId, String trigger, {String? name, String? secret, String? $fields}) Future<ReceiveTriggerWebhookResponse>
ReceiveTriggerWebhook [Experimental] is called when the API receives a webhook request targeted at a specific trigger.

Operators

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