View Source GoogleApi.CloudBuild.V2.Model.GoogleDevtoolsCloudbuildV2GitHubEnterpriseConfig (google_api_cloud_build v0.50.1)

Configuration for connections to an instance of GitHub Enterprise.

Attributes

  • apiKey (type: String.t, default: nil) - Required. API Key used for authentication of webhook events.
  • appId (type: String.t, default: nil) - Id of the GitHub App created from the manifest.
  • appInstallationId (type: String.t, default: nil) - ID of the installation of the GitHub App.
  • appSlug (type: String.t, default: nil) - The URL-friendly name of the GitHub App.
  • hostUri (type: String.t, default: nil) - Required. The URI of the GitHub Enterprise host this connection is for.
  • privateKeySecretVersion (type: String.t, default: nil) - SecretManager resource containing the private key of the GitHub App, formatted as projects/*/secrets/*/versions/*.
  • serverVersion (type: String.t, default: nil) - Output only. GitHub Enterprise version installed at the host_uri.
  • serviceDirectoryConfig (type: GoogleApi.CloudBuild.V2.Model.GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig.t, default: nil) - 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.
  • sslCa (type: String.t, default: nil) - SSL certificate to use for requests to GitHub Enterprise.
  • webhookSecretSecretVersion (type: String.t, default: nil) - SecretManager resource containing the webhook secret of the GitHub App, formatted as projects/*/secrets/*/versions/*.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.CloudBuild.V2.Model.GoogleDevtoolsCloudbuildV2GitHubEnterpriseConfig{
    apiKey: String.t() | nil,
    appId: String.t() | nil,
    appInstallationId: String.t() | nil,
    appSlug: String.t() | nil,
    hostUri: String.t() | nil,
    privateKeySecretVersion: String.t() | nil,
    serverVersion: String.t() | nil,
    serviceDirectoryConfig:
      GoogleApi.CloudBuild.V2.Model.GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig.t()
      | nil,
    sslCa: String.t() | nil,
    webhookSecretSecretVersion: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.