View Source GoogleApi.CloudBuild.V1.Model.GitHubEnterpriseConfig (google_api_cloud_build v0.50.1)

GitHubEnterpriseConfig represents a configuration for a GitHub Enterprise server.

Attributes

  • appId (type: String.t, default: nil) - Required. The GitHub app id of the Cloud Build app on the GitHub Enterprise server.
  • createTime (type: DateTime.t, default: nil) - Output only. Time when the installation was associated with the project.
  • displayName (type: String.t, default: nil) - Name to display for this config.
  • hostUrl (type: String.t, default: nil) - The URL of the github enterprise host the configuration is for.
  • name (type: String.t, default: nil) - Optional. The full resource name for the GitHubEnterpriseConfig For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}"
  • peeredNetwork (type: String.t, default: nil) - 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.
  • secrets (type: GoogleApi.CloudBuild.V1.Model.GitHubEnterpriseSecrets.t, default: nil) - Names of secrets in Secret Manager.
  • sslCa (type: String.t, default: nil) - Optional. SSL certificate to use for requests to GitHub Enterprise.
  • webhookKey (type: String.t, default: nil) - The key that should be attached to webhook calls to the ReceiveWebhook endpoint.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CloudBuild.V1.Model.GitHubEnterpriseConfig{
  appId: String.t() | nil,
  createTime: DateTime.t() | nil,
  displayName: String.t() | nil,
  hostUrl: String.t() | nil,
  name: String.t() | nil,
  peeredNetwork: String.t() | nil,
  secrets: GoogleApi.CloudBuild.V1.Model.GitHubEnterpriseSecrets.t() | nil,
  sslCa: String.t() | nil,
  webhookKey: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.