Reference documentation and code samples for the Google Cloud Developer Connect V1 Client class GitLabConfig.
Configuration for connections to gitlab.com.
Generated from protobuf message google.cloud.developerconnect.v1.GitLabConfig
Namespace
Google \ Cloud \ DeveloperConnect \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ webhook_secret_secret_version
string
Required. Immutable. SecretManager resource containing the webhook secret of a GitLab project, formatted as projects/*/secrets/*/versions/*
. This is used to validate webhooks.
↳ read_authorizer_credential
UserCredential
Required. A GitLab personal access token with the minimum read_api
scope access and a minimum role of reporter
. The GitLab Projects visible to this Personal Access Token will control which Projects Developer Connect has access to.
↳ authorizer_credential
UserCredential
Required. A GitLab personal access token with the minimum api
scope access and a minimum role of maintainer
. The GitLab Projects visible to this Personal Access Token will control which Projects Developer Connect has access to.
getWebhookSecretSecretVersion
Required. Immutable. SecretManager resource containing the webhook secret
of a GitLab project, formatted as projects/*/secrets/*/versions/*
. This
is used to validate webhooks.
string
setWebhookSecretSecretVersion
Required. Immutable. SecretManager resource containing the webhook secret
of a GitLab project, formatted as projects/*/secrets/*/versions/*
. This
is used to validate webhooks.
var
string
$this
getReadAuthorizerCredential
Required. A GitLab personal access token with the minimum read_api
scope
access and a minimum role of reporter
. The GitLab Projects visible to
this Personal Access Token will control which Projects Developer Connect
has access to.
hasReadAuthorizerCredential
clearReadAuthorizerCredential
setReadAuthorizerCredential
Required. A GitLab personal access token with the minimum read_api
scope
access and a minimum role of reporter
. The GitLab Projects visible to
this Personal Access Token will control which Projects Developer Connect
has access to.
$this
getAuthorizerCredential
Required. A GitLab personal access token with the minimum api
scope
access and a minimum role of maintainer
. The GitLab Projects visible to
this Personal Access Token will control which Projects Developer Connect
has access to.
hasAuthorizerCredential
clearAuthorizerCredential
setAuthorizerCredential
Required. A GitLab personal access token with the minimum api
scope
access and a minimum role of maintainer
. The GitLab Projects visible to
this Personal Access Token will control which Projects Developer Connect
has access to.
$this