Cloud Functions v2beta API - Class StorageSource (1.0.0-beta08)
Stay organized with collections
Save and categorize content based on your preferences.
public sealed class StorageSource : IMessage<StorageSource>, IEquatable<StorageSource>, IDeepCloneable<StorageSource>, IBufferMessage, IMessageReference documentation and code samples for the Cloud Functions v2beta API class StorageSource.
Location of the source in an archive file in Google Cloud Storage.
Implements
IMessage StorageSource, IEquatable StorageSource, IDeepCloneable StorageSource, IBufferMessage, IMessageNamespace
Google.Cloud.Functions.V2BetaAssembly
Google.Cloud.Functions.V2Beta.dll
Constructors
StorageSource()
public StorageSource()StorageSource(StorageSource)
public StorageSource(StorageSource other)| Parameter | |
|---|---|
| Name | Description |
other |
StorageSource |
Properties
Bucket
public string Bucket { get; set; }Google Cloud Storage bucket containing the source (see Bucket Name Requirements).
| Property Value | |
|---|---|
| Type | Description |
string |
|
Generation
public long Generation { get; set; }Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.
| Property Value | |
|---|---|
| Type | Description |
long |
|
Object
public string Object { get; set; }Google Cloud Storage object containing the source.
This object must be a gzipped archive file (.tar.gz) containing source to
build.
| Property Value | |
|---|---|
| Type | Description |
string |
|
SourceUploadUrl
publicstringSourceUploadUrl{get;set;}When the specified storage bucket is a 1st gen function uploard url bucket, this field should be set as the generated upload url for 1st gen deployment.
| Property Value | |
|---|---|
| Type | Description |
string |
|