Skip to content

GitLabDetails

Source code in docs_src/capo_continuum/types/git_lab_details.py
class GitLabDetails(TypedDict, closed=True):
    instance_url: "capo_continuum.types.git_lab_instance_url.GitLabInstanceUrl"
    """The HTTPS base URL of the GitLab instance."""
    target_type: "capo_continuum.types.git_lab_target_type.GitLabTargetType"
    """Whether the integration targets a group or a single project."""
    target_path: "capo_continuum.types.git_lab_target_path.GitLabTargetPath"
    """The group or project path the integration targets."""
    token_rotation: "capo_continuum.types.git_lab_token_rotation.GitLabTokenRotation"
    """How the integration's access token is rotated. AUTOMATIC only when the pasted token had the self-rotate scope and rotation was opted in at installation time."""
    expires_at: NotRequired["datetime.datetime"]
    """The expiry of the stored access token, for non-rotating tokens only. A rotated token's original expiry is stale, so this is omitted when tokenRotation is AUTOMATIC."""

expires_at instance-attribute

expires_at: NotRequired[datetime]

The expiry of the stored access token, for non-rotating tokens only. A rotated token's original expiry is stale, so this is omitted when tokenRotation is AUTOMATIC.

instance_url instance-attribute

instance_url: GitLabInstanceUrl

The HTTPS base URL of the GitLab instance.

target_path instance-attribute

target_path: GitLabTargetPath

The group or project path the integration targets.

target_type instance-attribute

target_type: GitLabTargetType

Whether the integration targets a group or a single project.

token_rotation instance-attribute

token_rotation: GitLabTokenRotation

How the integration's access token is rotated. AUTOMATIC only when the pasted token had the self-rotate scope and rotation was opted in at installation time.