View Source GoogleApi.CloudFunctions.V2.Model.GenerateUploadUrlResponse (google_api_cloud_functions v0.37.0)

Response of GenerateSourceUploadUrl method.

Attributes

  • storageSource (type: GoogleApi.CloudFunctions.V2.Model.StorageSource.t, default: nil) - The location of the source code in the upload bucket. Once the archive is uploaded using the upload_url use this field to set the function.build_config.source.storage_source during CreateFunction and UpdateFunction. Generation defaults to 0, as Cloud Storage provides a new generation only upon uploading a new object or version of an object.
  • uploadUrl (type: String.t, default: nil) - The generated Google Cloud Storage signed URL that should be used for a function source code upload. The uploaded file should be a zip archive which contains a function.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CloudFunctions.V2.Model.GenerateUploadUrlResponse{
  storageSource: GoogleApi.CloudFunctions.V2.Model.StorageSource.t() | nil,
  uploadUrl: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.