SourceTriggerDescriptor Class
The source trigger that caused a run.
Constructor
SourceTriggerDescriptor(*, id: str | None = None, event_type: str | None = None, commit_id: str | None = None, pull_request_id: str | None = None, repository_url: str | None = None, branch_name: str | None = None, provider_type: str | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
id
|
The unique ID of the trigger. Default value: None
|
event_type
|
The event type of the trigger. Default value: None
|
commit_id
|
The unique ID that identifies a commit. Default value: None
|
pull_request_id
|
The unique ID that identifies pull request. Default value: None
|
repository_url
|
The repository URL. Default value: None
|
branch_name
|
The branch name in the repository. Default value: None
|
provider_type
|
The source control provider type. Default value: None
|
Variables
Name | Description |
---|---|
id
|
The unique ID of the trigger. |
event_type
|
The event type of the trigger. |
commit_id
|
The unique ID that identifies a commit. |
pull_request_id
|
The unique ID that identifies pull request. |
repository_url
|
The repository URL. |
branch_name
|
The branch name in the repository. |
provider_type
|
The source control provider type. |