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

GitRepoSource describes a repo and ref of a code repository.

Attributes

  • bitbucketServerConfig (type: String.t, default: nil) - The full resource name of the bitbucket server config. Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.
  • githubEnterpriseConfig (type: String.t, default: nil) - The full resource name of the github enterprise config. Format: projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}. projects/{project}/githubEnterpriseConfigs/{id}.
  • ref (type: String.t, default: nil) - The branch or tag to use. Must start with "refs/" (required).
  • repoType (type: String.t, default: nil) - See RepoType below.
  • repository (type: String.t, default: nil) - The connected repository resource name, in the format projects/*/locations/*/connections/*/repositories/*. Either uri or repository can be specified and is required.
  • uri (type: String.t, default: nil) - The URI of the repo (e.g. https://github.com/user/repo.git). Either uri or repository can be specified and is required.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CloudBuild.V1.Model.GitRepoSource{
  bitbucketServerConfig: String.t() | nil,
  githubEnterpriseConfig: String.t() | nil,
  ref: String.t() | nil,
  repoType: String.t() | nil,
  repository: String.t() | nil,
  uri: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.