Design Center v1 API - Class GitSource (1.0.0-beta01)

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

Reference documentation and code samples for the Design Center v1 API class GitSource.

Defines how to access a Git source.

Inheritance

object > GitSource

Namespace

Google.Cloud.DesignCenter.V1

Assembly

Google.Cloud.DesignCenter.V1.dll

Constructors

GitSource()

public GitSource()

GitSource(GitSource)

public GitSource(GitSource other)
Parameter
Name Description
other GitSource

Properties

CommitSha

public string CommitSha { get; set; }

Output only. The commit SHA of the git repo deduced from given ref_tag.

Property Value
Type Description
string

DeveloperConnectConfig

[Obsolete]
public DeveloperConnectConfig DeveloperConnectConfig { get; set; }

Optional. This config defines the location of a source through Developer Connect. Used to access private git repos.

Property Value
Type Description
DeveloperConnectConfig

Dir

public string Dir { get; set; }

Optional. Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's dir is specified and is an absolute path, this value is ignored for that step's execution.

Property Value
Type Description
string

RefTag

public string RefTag { get; set; }

Required. The reference tag of the git repo.

Property Value
Type Description
string

Repo

public string Repo { get; set; }

Required. Location of the git repo to build.

Property Value
Type Description
string