Cloud Functions v2 API - Class Source (1.5.0)

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

Reference documentation and code samples for the Cloud Functions v2 API class Source.

The location of the function source code.

Inheritance

object > Source

Namespace

Google.Cloud.Functions.V2

Assembly

Google.Cloud.Functions.V2.dll

Constructors

Source()

public Source()

Source(Source)

public Source(Source other)
Parameter
Name Description
other Source

Properties

RepoSource

public RepoSource RepoSource { get; set; }

If provided, get the source from this location in a Cloud Source Repository.

Property Value
Type Description
RepoSource

SourceCase

public Source.SourceOneofCase SourceCase { get; }
Property Value
Type Description
SourceSourceOneofCase

StorageSource

public StorageSource StorageSource { get; set; }

If provided, get the source from this location in Google Cloud Storage.

Property Value
Type Description
StorageSource