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

Location of the source in an archive file in Cloud Storage.

Attributes

  • bucket (type: String.t, default: nil) - Cloud Storage bucket containing the source (see Bucket Name Requirements).
  • generation (type: String.t, default: nil) - Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.
  • object (type: String.t, default: nil) - Cloud Storage object containing the source. This object must be a zipped (.zip) or gzipped archive file (.tar.gz) containing source to build.
  • sourceFetcher (type: String.t, default: nil) - Optional. Option to specify the tool to fetch the source file for the build.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CloudBuild.V1.Model.StorageSource{
  bucket: String.t() | nil,
  generation: String.t() | nil,
  object: String.t() | nil,
  sourceFetcher: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.