Cloud Build v1 API - Class GitHubEnterpriseConfig (2.11.0)

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

Inheritance

object > GitHubEnterpriseConfig

Namespace

Google.Cloud.CloudBuild.V1

Assembly

Google.Cloud.CloudBuild.V1.dll

Constructors

GitHubEnterpriseConfig()

public GitHubEnterpriseConfig()

GitHubEnterpriseConfig(GitHubEnterpriseConfig)

public GitHubEnterpriseConfig(GitHubEnterpriseConfig other)
Parameter
Name Description
other GitHubEnterpriseConfig

Properties

AppId

public long AppId { get; set; }

Required. The GitHub app id of the Cloud Build app on the GitHub Enterprise server.

Property Value
Type Description
long

CreateTime

public Timestamp CreateTime { get; set; }

Output only. Time when the installation was associated with the project.

Property Value
Type Description
Timestamp

DisplayName

public string DisplayName { get; set; }

Name to display for this config.

Property Value
Type Description
string

GithubEnterpriseConfigName

public GithubEnterpriseConfigName GithubEnterpriseConfigName { get; set; }

GithubEnterpriseConfigName-typed view over the Name resource name property.

Property Value
Type Description
GithubEnterpriseConfigName

HostUrl

public string HostUrl { get; set; }

The URL of the github enterprise host the configuration is for.

Property Value
Type Description
string

Name

public string Name { get; set; }

Optional. The full resource name for the GitHubEnterpriseConfig For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}"

Property Value
Type Description
string

PeeredNetwork

public string PeeredNetwork { get; set; }

Optional. The network to be used when reaching out to the GitHub Enterprise server. The VPC network must be enabled for private service connection. This should be set if the GitHub Enterprise server is hosted on-premises and not reachable by public internet. If this field is left empty, no network peering will occur and calls to the GitHub Enterprise server will be made over the public internet. Must be in the format projects/{project}/global/networks/{network}, where {project} is a project number or id and {network} is the name of a VPC network in the project.

Property Value
Type Description
string

PeeredNetworkAsNetworkName

public NetworkName PeeredNetworkAsNetworkName { get; set; }

NetworkName-typed view over the PeeredNetwork resource name property.

Property Value
Type Description
NetworkName

Secrets

public GitHubEnterpriseSecrets Secrets { get; set; }

Names of secrets in Secret Manager.

Property Value
Type Description
GitHubEnterpriseSecrets

SslCa

public string SslCa { get; set; }

Optional. SSL certificate to use for requests to GitHub Enterprise.

Property Value
Type Description
string

WebhookKey

public string WebhookKey { get; set; }

The key that should be attached to webhook calls to the ReceiveWebhook endpoint.

Property Value
Type Description
string