public sealed class CloudRepoSourceContext : IMessage<CloudRepoSourceContext>, IMessage, IEquatable<CloudRepoSourceContext>, IDeepCloneable<CloudRepoSourceContext>
Reference documentation and code samples for the Google.Cloud.DevTools.Common class CloudRepoSourceContext.
A CloudRepoSourceContext denotes a particular revision in a cloud repo (a repo hosted by the Google Cloud Platform).
Implements
IMessageCloudRepoSourceContext, IMessage, IEquatableCloudRepoSourceContext, IDeepCloneableCloudRepoSourceContextNamespace
Google.Cloud.DevTools.Source.V1Assembly
Google.Cloud.DevTools.Common.dll
Constructors
CloudRepoSourceContext()
public CloudRepoSourceContext()
CloudRepoSourceContext(CloudRepoSourceContext)
public CloudRepoSourceContext(CloudRepoSourceContext other)
Parameter | |
---|---|
Name | Description |
other | CloudRepoSourceContext |
Properties
AliasContext
public AliasContext AliasContext { get; set; }
An alias, which may be a branch or tag.
Property Value | |
---|---|
Type | Description |
AliasContext |
AliasName
public string AliasName { get; set; }
The name of an alias (branch, tag, etc.).
Property Value | |
---|---|
Type | Description |
string |
RepoId
public RepoId RepoId { get; set; }
The ID of the repo.
Property Value | |
---|---|
Type | Description |
RepoId |
RevisionCase
public CloudRepoSourceContext.RevisionOneofCase RevisionCase { get; }
Property Value | |
---|---|
Type | Description |
CloudRepoSourceContextRevisionOneofCase |
RevisionId
public string RevisionId { get; set; }
A revision ID.
Property Value | |
---|---|
Type | Description |
string |