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

Location of the source in a 2nd-gen Google Cloud Build repository resource.

Attributes

  • dir (type: String.t, default: nil) - Directory, relative to the source root, in which to run the build.
  • repository (type: String.t, default: nil) - Required. Name of the Google Cloud Build repository, formatted as projects/*/locations/*/connections/*/repositories/*.
  • revision (type: String.t, default: nil) - The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CloudBuild.V1.Model.ConnectedRepository{
  dir: String.t() | nil,
  repository: String.t() | nil,
  revision: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.