Class GoogleDevtoolsCloudbuildV2GitLabConfig
Configuration for connections to gitlab.com or an instance of GitLab Enterprise.
Implements
Inherited Members
Namespace: Google.Apis.CloudBuild.v2.Data
Assembly: Google.Apis.CloudBuild.v2.dll
Syntax
public class GoogleDevtoolsCloudbuildV2GitLabConfig : IDirectResponseSchema
Properties
AuthorizerCredential
Required. A GitLab personal access token with the api
scope access.
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
Optional. The URI of the GitLab Enterprise host this connection is for. If not specified, the default value is https://gitlab.com.
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.
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 server. 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 GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig ServiceDirectoryConfig { get; set; }
Property Value
Type | Description |
---|---|
GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig |
SslCa
Optional. SSL certificate to use for requests to GitLab Enterprise.
Declaration
[JsonProperty("sslCa")]
public virtual string SslCa { get; set; }
Property Value
Type | Description |
---|---|
string |
WebhookSecretSecretVersion
Required. Immutable. SecretManager resource containing the webhook secret of a GitLab Enterprise project,
formatted as projects/*/secrets/*/versions/*
.
Declaration
[JsonProperty("webhookSecretSecretVersion")]
public virtual string WebhookSecretSecretVersion { get; set; }
Property Value
Type | Description |
---|---|
string |