Developer Connect v1 API - Class GitLabConfig (1.0.0-beta01)

public sealed class GitLabConfig : IMessage<GitLabConfig>, IEquatable<GitLabConfig>, IDeepCloneable<GitLabConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Developer Connect v1 API class GitLabConfig.

Configuration for connections to gitlab.com.

Inheritance

object > GitLabConfig

Namespace

Google.Cloud.DeveloperConnect.V1

Assembly

Google.Cloud.DeveloperConnect.V1.dll

Constructors

GitLabConfig()

public GitLabConfig()

GitLabConfig(GitLabConfig)

public GitLabConfig(GitLabConfig other)
Parameter
Name Description
other GitLabConfig

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

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

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