Class GitLabEnterpriseConfig
Configuration for connections to an instance of GitLab Enterprise.
Implements
Inherited Members
Namespace: Google.Apis.DeveloperConnect.v1.Data
Assembly: Google.Apis.DeveloperConnect.v1.dll
Syntax
public class GitLabEnterpriseConfig : IDirectResponseSchema
Properties
AuthorizerCredential
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.
Declaration
[JsonProperty("authorizerCredential")]
public virtual UserCredential AuthorizerCredential { get; set; }
Property Value
Type | Description |
---|---|
UserCredential |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
HostUri
Required. The URI of the GitLab Enterprise host this connection is for.
Declaration
[JsonProperty("hostUri")]
public virtual string HostUri { get; set; }
Property Value
Type | Description |
---|---|
string |
ReadAuthorizerCredential
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.
Declaration
[JsonProperty("readAuthorizerCredential")]
public virtual UserCredential ReadAuthorizerCredential { get; set; }
Property Value
Type | Description |
---|---|
UserCredential |
ServerVersion
Output only. Version of the GitLab Enterprise server running on the host_uri
.
Declaration
[JsonProperty("serverVersion")]
public virtual string ServerVersion { get; set; }
Property Value
Type | Description |
---|---|
string |
ServiceDirectoryConfig
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.
Declaration
[JsonProperty("serviceDirectoryConfig")]
public virtual ServiceDirectoryConfig ServiceDirectoryConfig { get; set; }
Property Value
Type | Description |
---|---|
ServiceDirectoryConfig |
SslCaCertificate
Optional. SSL Certificate Authority certificate to use for requests to GitLab Enterprise instance.
Declaration
[JsonProperty("sslCaCertificate")]
public virtual string SslCaCertificate { get; set; }
Property Value
Type | Description |
---|---|
string |
WebhookSecretSecretVersion
Required. Immutable. SecretManager resource containing the webhook secret of a GitLab project, formatted as
projects/*/secrets/*/versions/*
. This is used to validate webhooks.
Declaration
[JsonProperty("webhookSecretSecretVersion")]
public virtual string WebhookSecretSecretVersion { get; set; }
Property Value
Type | Description |
---|---|
string |