Cloud Run Admin v2 API - Class SourceCode (2.21.0)

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

Reference documentation and code samples for the Cloud Run Admin v2 API class SourceCode.

Source type for the container.

Inheritance

object > SourceCode

Namespace

Google.Cloud.Run.V2

Assembly

Google.Cloud.Run.V2.dll

Constructors

SourceCode()

public SourceCode()

SourceCode(SourceCode)

public SourceCode(SourceCode other)
Parameter
Name Description
other SourceCode

Properties

CloudStorageSource

public SourceCode.Types.CloudStorageSource CloudStorageSource { get; set; }

The source is a Cloud Storage bucket.

Property Value
Type Description
SourceCodeTypesCloudStorageSource

InlinedSource

public SourceCode.Types.InlinedSource InlinedSource { get; set; }

Optional. Input only. Source code inlined in the request. Cloud Run will store the inlined_source to Cloud Storage and replace the field with cloud_storage_source. This field is only supported in Cloud Run Service.

Property Value
Type Description
SourceCodeTypesInlinedSource

SourceTypeCase

public SourceCode.SourceTypeOneofCase SourceTypeCase { get; }
Property Value
Type Description
SourceCodeSourceTypeOneofCase