Class GoogleDevtoolsCloudbuildV2GitHubEnterpriseConfig
Configuration for connections to an instance of GitHub Enterprise.
Implements
Inherited Members
Namespace: Google.Apis.CloudBuild.v2.Data
Assembly: Google.Apis.CloudBuild.v2.dll
Syntax
public class GoogleDevtoolsCloudbuildV2GitHubEnterpriseConfig : IDirectResponseSchema
Properties
ApiKey
Required. API Key used for authentication of webhook events.
Declaration
[JsonProperty("apiKey")]
public virtual string ApiKey { get; set; }
Property Value
Type | Description |
---|---|
string |
AppId
Optional. Id of the GitHub App created from the manifest.
Declaration
[JsonProperty("appId")]
public virtual long? AppId { get; set; }
Property Value
Type | Description |
---|---|
long? |
AppInstallationId
Optional. ID of the installation of the GitHub App.
Declaration
[JsonProperty("appInstallationId")]
public virtual long? AppInstallationId { get; set; }
Property Value
Type | Description |
---|---|
long? |
AppSlug
Optional. The URL-friendly name of the GitHub App.
Declaration
[JsonProperty("appSlug")]
public virtual string AppSlug { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
HostUri
Required. The URI of the GitHub Enterprise host this connection is for.
Declaration
[JsonProperty("hostUri")]
public virtual string HostUri { get; set; }
Property Value
Type | Description |
---|---|
string |
PrivateKeySecretVersion
Optional. SecretManager resource containing the private key of the GitHub App, formatted as
projects/*/secrets/*/versions/*
.
Declaration
[JsonProperty("privateKeySecretVersion")]
public virtual string PrivateKeySecretVersion { get; set; }
Property Value
Type | Description |
---|---|
string |
ServerVersion
Output only. GitHub Enterprise version installed at 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 GitHub Enterprise server. This should only be set if the GitHub Enterprise server is hosted on-premises and not reachable by public internet. If this field is left empty, calls to the GitHub 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 GitHub Enterprise.
Declaration
[JsonProperty("sslCa")]
public virtual string SslCa { get; set; }
Property Value
Type | Description |
---|---|
string |
WebhookSecretSecretVersion
Optional. SecretManager resource containing the webhook secret of the GitHub App, formatted as
projects/*/secrets/*/versions/*
.
Declaration
[JsonProperty("webhookSecretSecretVersion")]
public virtual string WebhookSecretSecretVersion { get; set; }
Property Value
Type | Description |
---|---|
string |