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

Location of the source in a supported storage service.

Attributes

  • connectedRepository (type: GoogleApi.CloudBuild.V1.Model.ConnectedRepository.t, default: nil) - Optional. If provided, get the source from this 2nd-gen Google Cloud Build repository resource.
  • gitSource (type: GoogleApi.CloudBuild.V1.Model.GitSource.t, default: nil) - If provided, get the source from this Git repository.
  • repoSource (type: GoogleApi.CloudBuild.V1.Model.RepoSource.t, default: nil) - If provided, get the source from this location in a Cloud Source Repository.
  • storageSource (type: GoogleApi.CloudBuild.V1.Model.StorageSource.t, default: nil) - If provided, get the source from this location in Cloud Storage.
  • storageSourceManifest (type: GoogleApi.CloudBuild.V1.Model.StorageSourceManifest.t, default: nil) - If provided, get the source from this manifest in Cloud Storage. This feature is in Preview; see description here.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CloudBuild.V1.Model.Source{
  connectedRepository:
    GoogleApi.CloudBuild.V1.Model.ConnectedRepository.t() | nil,
  gitSource: GoogleApi.CloudBuild.V1.Model.GitSource.t() | nil,
  repoSource: GoogleApi.CloudBuild.V1.Model.RepoSource.t() | nil,
  storageSource: GoogleApi.CloudBuild.V1.Model.StorageSource.t() | nil,
  storageSourceManifest:
    GoogleApi.CloudBuild.V1.Model.StorageSourceManifest.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.