public sealed class GitSourceContext : IMessage<GitSourceContext>, IMessage, IEquatable<GitSourceContext>, IDeepCloneable<GitSourceContext>
Reference documentation and code samples for the Google.Cloud.DevTools.Common class GitSourceContext.
A GitSourceContext denotes a particular revision in a third party Git repository (e.g. GitHub).
Implements
IMessageGitSourceContext, IMessage, IEquatableGitSourceContext, IDeepCloneableGitSourceContextNamespace
Google.Cloud.DevTools.Source.V1Assembly
Google.Cloud.DevTools.Common.dll
Constructors
GitSourceContext()
public GitSourceContext()
GitSourceContext(GitSourceContext)
public GitSourceContext(GitSourceContext other)
Parameter | |
---|---|
Name | Description |
other | GitSourceContext |
Properties
RevisionId
public string RevisionId { get; set; }
Git commit hash. required.
Property Value | |
---|---|
Type | Description |
string |
Url
public string Url { get; set; }
Git repository URL.
Property Value | |
---|---|
Type | Description |
string |