Skip to content

/AWS1/CL_SAGGITLABINTGINPUT

The configuration for creating a GitLab integration.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_accesstoken TYPE /AWS1/SAGACCESSTOKEN /AWS1/SAGACCESSTOKEN

The GitLab access token used to authenticate. This can be a personal access token or a group access token.

iv_tokentype TYPE /AWS1/SAGGITLABTOKENTYPE /AWS1/SAGGITLABTOKENTYPE

The type of GitLab access token provided in accessToken.

Optional arguments:

iv_targeturl TYPE /AWS1/SAGTARGETURL /AWS1/SAGTARGETURL

The HTTPS URL of a self-managed GitLab instance. Omit this value for GitLab SaaS (gitlab.com).

iv_groupid TYPE /AWS1/SAGSTRING /AWS1/SAGSTRING

The identifier of the GitLab group. Required when tokenType is group and ignored for personal tokens.


Queryable Attributes

accessToken

The GitLab access token used to authenticate. This can be a personal access token or a group access token.

Accessible with the following methods

Method Description
GET_ACCESSTOKEN() Getter for ACCESSTOKEN, with configurable default
ASK_ACCESSTOKEN() Getter for ACCESSTOKEN w/ exceptions if field has no value
HAS_ACCESSTOKEN() Determine if ACCESSTOKEN has a value

targetUrl

The HTTPS URL of a self-managed GitLab instance. Omit this value for GitLab SaaS (gitlab.com).

Accessible with the following methods

Method Description
GET_TARGETURL() Getter for TARGETURL, with configurable default
ASK_TARGETURL() Getter for TARGETURL w/ exceptions if field has no value
HAS_TARGETURL() Determine if TARGETURL has a value

tokenType

The type of GitLab access token provided in accessToken.

Accessible with the following methods

Method Description
GET_TOKENTYPE() Getter for TOKENTYPE, with configurable default
ASK_TOKENTYPE() Getter for TOKENTYPE w/ exceptions if field has no value
HAS_TOKENTYPE() Determine if TOKENTYPE has a value

groupId

The identifier of the GitLab group. Required when tokenType is group and ignored for personal tokens.

Accessible with the following methods

Method Description
GET_GROUPID() Getter for GROUPID, with configurable default
ASK_GROUPID() Getter for GROUPID w/ exceptions if field has no value
HAS_GROUPID() Determine if GROUPID has a value