public sealed class GitLabEnterpriseConfig : IMessage<GitLabEnterpriseConfig>, IEquatable<GitLabEnterpriseConfig>, IDeepCloneable<GitLabEnterpriseConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Developer Connect v1 API class GitLabEnterpriseConfig.
Configuration for connections to an instance of GitLab Enterprise.
Implements
IMessageGitLabEnterpriseConfig, IEquatableGitLabEnterpriseConfig, IDeepCloneableGitLabEnterpriseConfig, IBufferMessage, IMessageNamespace
Google.Cloud.DeveloperConnect.V1Assembly
Google.Cloud.DeveloperConnect.V1.dll
Constructors
GitLabEnterpriseConfig()
public GitLabEnterpriseConfig()
GitLabEnterpriseConfig(GitLabEnterpriseConfig)
public GitLabEnterpriseConfig(GitLabEnterpriseConfig other)
Parameter | |
---|---|
Name | Description |
other |
GitLabEnterpriseConfig |
Properties
AuthorizerCredential
public UserCredential AuthorizerCredential { get; set; }
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.
Property Value | |
---|---|
Type | Description |
UserCredential |
HostUri
public string HostUri { get; set; }
Required. The URI of the GitLab Enterprise host this connection is for.
Property Value | |
---|---|
Type | Description |
string |
ReadAuthorizerCredential
public UserCredential ReadAuthorizerCredential { get; set; }
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.
Property Value | |
---|---|
Type | Description |
UserCredential |
ServerVersion
public string ServerVersion { get; set; }
Output only. Version of the GitLab Enterprise server running on the
host_uri
.
Property Value | |
---|---|
Type | Description |
string |
ServiceDirectoryConfig
public ServiceDirectoryConfig ServiceDirectoryConfig { get; set; }
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.
Property Value | |
---|---|
Type | Description |
ServiceDirectoryConfig |
SslCaCertificate
public string SslCaCertificate { get; set; }
Optional. SSL Certificate Authority certificate to use for requests to GitLab Enterprise instance.
Property Value | |
---|---|
Type | Description |
string |
WebhookSecretSecretVersion
public string WebhookSecretSecretVersion { get; set; }
Required. Immutable. SecretManager resource containing the webhook secret
of a GitLab project, formatted as projects/*/secrets/*/versions/*
. This
is used to validate webhooks.
Property Value | |
---|---|
Type | Description |
string |
WebhookSecretSecretVersionAsSecretVersionName
public SecretVersionName WebhookSecretSecretVersionAsSecretVersionName { get; set; }
SecretVersionName-typed view over the WebhookSecretSecretVersion resource name property.
Property Value | |
---|---|
Type | Description |
SecretVersionName |