SourceTriggerDescriptor Class

The source trigger that caused a run.

Inheritance
SourceTriggerDescriptor

Constructor

SourceTriggerDescriptor(*, id: Optional[str] = None, event_type: Optional[str] = None, commit_id: Optional[str] = None, pull_request_id: Optional[str] = None, repository_url: Optional[str] = None, branch_name: Optional[str] = None, provider_type: Optional[str] = None, **kwargs)

Variables

id
str

The unique ID of the trigger.

event_type
str

The event type of the trigger.

commit_id
str

The unique ID that identifies a commit.

pull_request_id
str

The unique ID that identifies pull request.

repository_url
str

The repository URL.

branch_name
str

The branch name in the repository.

provider_type
str

The source control provider type.