Cloud Functions v2beta API - Class GenerateUploadUrlResponse (1.0.0-beta07)

public sealed class GenerateUploadUrlResponse : IMessage<GenerateUploadUrlResponse>, IEquatable<GenerateUploadUrlResponse>, IDeepCloneable<GenerateUploadUrlResponse>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Functions v2beta API class GenerateUploadUrlResponse.

Response of GenerateSourceUploadUrl method.

Inheritance

object > GenerateUploadUrlResponse

Namespace

Google.Cloud.Functions.V2Beta

Assembly

Google.Cloud.Functions.V2Beta.dll

Constructors

GenerateUploadUrlResponse()

public GenerateUploadUrlResponse()

GenerateUploadUrlResponse(GenerateUploadUrlResponse)

public GenerateUploadUrlResponse(GenerateUploadUrlResponse other)
Parameter
Name Description
other GenerateUploadUrlResponse

Properties

StorageSource

public StorageSource StorageSource { get; set; }

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.

Property Value
Type Description
StorageSource

UploadUrl

public string UploadUrl { get; set; }

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.

Property Value
Type Description
string