Google Cloud Developer Connect V1 Client - Class GitLabEnterpriseConfig (0.6.1)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Developer Connect V1 Client class GitLabEnterpriseConfig.
Configuration for connections to an instance of GitLab Enterprise.
Generated from protobuf message google.cloud.developerconnect.v1.GitLabEnterpriseConfig
Namespace
Google \ Cloud \ DeveloperConnect \ V1
Methods
__construct
Constructor.
Parameter
Name
Description
data
mixed
getHostUri
Required. The URI of the GitLab Enterprise host this connection is for.
Returns
Type
Description
string
setHostUri
Required. The URI of the GitLab Enterprise host this connection is for.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getWebhookSecretSecretVersion
Required. Immutable. SecretManager resource containing the webhook secret
of a GitLab project, formatted as projects/*/secrets/*/versions/* or
projects/*/locations/*/secrets/*/versions/* (if regional secrets are
supported in that location). This is used to validate webhooks.
Returns
Type
Description
string
setWebhookSecretSecretVersion
Required. Immutable. SecretManager resource containing the webhook secret
of a GitLab project, formatted as projects/*/secrets/*/versions/* or
projects/*/locations/*/secrets/*/versions/* (if regional secrets are
supported in that location). This is used to validate webhooks.
Parameter
Name
Description
var
string
Returns
Type
Description
$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.
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.
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.
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.
Optional. Configuration for using Service Directory to privately connect to
a GitLab Enterprise instance. This should only be set if the GitLab
Enterprise server is hosted on-premises and not reachable by public
internet. If this field is left empty, calls to the GitLab Enterprise
server will be made over the public internet.
Optional. Configuration for using Service Directory to privately connect to
a GitLab Enterprise instance. This should only be set if the GitLab
Enterprise server is hosted on-premises and not reachable by public
internet. If this field is left empty, calls to the GitLab Enterprise
server will be made over the public internet.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-03-18 UTC."],[],[]]