Class GitHubEnterpriseConfig
GitHubEnterpriseConfig represents a configuration for a GitHub Enterprise server.
Implements
Inherited Members
Namespace: Google.Apis.CloudBuild.v1.Data
Assembly: Google.Apis.CloudBuild.v1.dll
Syntax
public class GitHubEnterpriseConfig : IDirectResponseSchema
Properties
AppId
Required. The GitHub app id of the Cloud Build app on the GitHub Enterprise server.
Declaration
[JsonProperty("appId")]
public virtual long? AppId { get; set; }
Property Value
Type | Description |
---|---|
long? |
CreateTime
object representation of CreateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
CreateTimeDateTimeOffset
DateTimeOffset representation of CreateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
CreateTimeRaw
Output only. Time when the installation was associated with the project.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
DisplayName
Optional. Name to display for this config.
Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { 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 |
HostUrl
The URL of the github enterprise host the configuration is for.
Declaration
[JsonProperty("hostUrl")]
public virtual string HostUrl { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
The full resource name for the GitHubEnterpriseConfig For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}"
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
PeeredNetwork
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.
Declaration
[JsonProperty("peeredNetwork")]
public virtual string PeeredNetwork { get; set; }
Property Value
Type | Description |
---|---|
string |
Secrets
Optional. Names of secrets in Secret Manager.
Declaration
[JsonProperty("secrets")]
public virtual GitHubEnterpriseSecrets Secrets { get; set; }
Property Value
Type | Description |
---|---|
GitHubEnterpriseSecrets |
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 |
WebhookKey
The key that should be attached to webhook calls to the ReceiveWebhook endpoint.
Declaration
[JsonProperty("webhookKey")]
public virtual string WebhookKey { get; set; }
Property Value
Type | Description |
---|---|
string |