Cloud Functions v2 API - Class Source (1.0.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
NameDescription
otherSource

Properties

RepoSource

public RepoSource RepoSource { get; set; }

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

Property Value
TypeDescription
RepoSource

SourceCase

public Source.SourceOneofCase SourceCase { get; }
Property Value
TypeDescription
Source.SourceOneofCase

StorageSource

public StorageSource StorageSource { get; set; }

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

Property Value
TypeDescription
StorageSource