Cloud Build v2 API - Class GitHubEnterpriseConfig (1.3.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
Name Description
other GitHubEnterpriseConfig

Properties

ApiKey

public string ApiKey { get; set; }

Required. API Key used for authentication of webhook events.

Property Value
Type Description
string

AppId

public long AppId { get; set; }

Id of the GitHub App created from the manifest.

Property Value
Type Description
long

AppInstallationId

public long AppInstallationId { get; set; }

ID of the installation of the GitHub App.

Property Value
Type Description
long

AppSlug

public string AppSlug { get; set; }

The URL-friendly name of the GitHub App.

Property Value
Type Description
string

HostUri

public string HostUri { get; set; }

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

Property Value
Type Description
string

PrivateKeySecretVersion

public string PrivateKeySecretVersion { get; set; }

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

Property Value
Type Description
string

PrivateKeySecretVersionAsSecretVersionName

public SecretVersionName PrivateKeySecretVersionAsSecretVersionName { get; set; }

SecretVersionName-typed view over the PrivateKeySecretVersion resource name property.

Property Value
Type Description
SecretVersionName

ServerVersion

public string ServerVersion { get; set; }

Output only. GitHub Enterprise version installed at the host_uri.

Property Value
Type Description
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
Type Description
ServiceDirectoryConfig

SslCa

public string SslCa { get; set; }

SSL certificate to use for requests to GitHub Enterprise.

Property Value
Type Description
string

WebhookSecretSecretVersion

public string WebhookSecretSecretVersion { get; set; }

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

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