Class GenerateUploadUrlResponse
Response of GenerateSourceUploadUrl
method.
Implements
Inherited Members
Namespace: Google.Apis.CloudFunctions.v2beta.Data
Assembly: Google.Apis.CloudFunctions.v2beta.dll
Syntax
public class GenerateUploadUrlResponse : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
StorageSource
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.
Declaration
[JsonProperty("storageSource")]
public virtual StorageSource StorageSource { get; set; }
Property Value
Type | Description |
---|---|
StorageSource |
UploadUrl
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.
Declaration
[JsonProperty("uploadUrl")]
public virtual string UploadUrl { get; set; }
Property Value
Type | Description |
---|---|
string |