View Source GoogleApi.Run.V2.Model.GoogleCloudRunV2SubmitBuildRequest (google_api_run v0.35.0)

Request message for submitting a Build.

Attributes

  • buildpackBuild (type: GoogleApi.Run.V2.Model.GoogleCloudRunV2BuildpacksBuild.t, default: nil) - Build the source using Buildpacks.
  • dockerBuild (type: GoogleApi.Run.V2.Model.GoogleCloudRunV2DockerBuild.t, default: nil) - Build the source using Docker. This means the source has a Dockerfile.
  • imageUri (type: String.t, default: nil) - Required. Artifact Registry URI to store the built image.
  • serviceAccount (type: String.t, default: nil) - Optional. The service account to use for the build. If not set, the default Cloud Build service account for the project will be used.
  • storageSource (type: GoogleApi.Run.V2.Model.GoogleCloudRunV2StorageSource.t, default: nil) - Required. Source for the build.
  • tags (type: list(String.t), default: nil) - Optional. Additional tags to annotate the build.
  • workerPool (type: String.t, default: nil) - Optional. Name of the Cloud Build Custom Worker Pool that should be used to build the function. The format of this field is projects/{project}/locations/{region}/workerPools/{workerPool} where {project} and {region} are the project id and region respectively where the worker pool is defined and {workerPool} is the short name of the worker pool.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Run.V2.Model.GoogleCloudRunV2SubmitBuildRequest{
  buildpackBuild:
    GoogleApi.Run.V2.Model.GoogleCloudRunV2BuildpacksBuild.t() | nil,
  dockerBuild: GoogleApi.Run.V2.Model.GoogleCloudRunV2DockerBuild.t() | nil,
  imageUri: String.t() | nil,
  serviceAccount: String.t() | nil,
  storageSource: GoogleApi.Run.V2.Model.GoogleCloudRunV2StorageSource.t() | nil,
  tags: [String.t()] | nil,
  workerPool: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.