Cloud Build v2 API - Class GitHubEnterpriseConfig (1.1.0)

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

Reference documentation and code samples for the Cloud Build v2 API class GitHubEnterpriseConfig.

Configuration for connections to an instance of GitHub Enterprise.

Inheritance

object > GitHubEnterpriseConfig

Namespace

Google.Cloud.CloudBuild.V2

Assembly

Google.Cloud.CloudBuild.V2.dll

Constructors

GitHubEnterpriseConfig()

public GitHubEnterpriseConfig()

GitHubEnterpriseConfig(GitHubEnterpriseConfig)

public GitHubEnterpriseConfig(GitHubEnterpriseConfig other)
Parameter
NameDescription
otherGitHubEnterpriseConfig

Properties

ApiKey

public string ApiKey { get; set; }

Required. API Key used for authentication of webhook events.

Property Value
TypeDescription
string

AppId

public long AppId { get; set; }

Id of the GitHub App created from the manifest.

Property Value
TypeDescription
long

AppInstallationId

public long AppInstallationId { get; set; }

ID of the installation of the GitHub App.

Property Value
TypeDescription
long

AppSlug

public string AppSlug { get; set; }

The URL-friendly name of the GitHub App.

Property Value
TypeDescription
string

HostUri

public string HostUri { get; set; }

Required. The URI of the GitHub Enterprise host this connection is for.

Property Value
TypeDescription
string

PrivateKeySecretVersion

public string PrivateKeySecretVersion { get; set; }

SecretManager resource containing the private key of the GitHub App, formatted as projects/*/secrets/*/versions/*.

Property Value
TypeDescription
string

PrivateKeySecretVersionAsSecretVersionName

public SecretVersionName PrivateKeySecretVersionAsSecretVersionName { get; set; }

SecretVersionName-typed view over the PrivateKeySecretVersion resource name property.

Property Value
TypeDescription
SecretVersionName

ServerVersion

public string ServerVersion { get; set; }

Output only. GitHub Enterprise version installed at the host_uri.

Property Value
TypeDescription
string

ServiceDirectoryConfig

public ServiceDirectoryConfig ServiceDirectoryConfig { get; set; }

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.

Property Value
TypeDescription
ServiceDirectoryConfig

SslCa

public string SslCa { get; set; }

SSL certificate to use for requests to GitHub Enterprise.

Property Value
TypeDescription
string

WebhookSecretSecretVersion

public string WebhookSecretSecretVersion { get; set; }

SecretManager resource containing the webhook secret of the GitHub App, formatted as projects/*/secrets/*/versions/*.

Property Value
TypeDescription
string

WebhookSecretSecretVersionAsSecretVersionName

public SecretVersionName WebhookSecretSecretVersionAsSecretVersionName { get; set; }

SecretVersionName-typed view over the WebhookSecretSecretVersion resource name property.

Property Value
TypeDescription
SecretVersionName