public sealed class CloudRepoSourceContext : IMessage<CloudRepoSourceContext>, IEquatable<CloudRepoSourceContext>, IDeepCloneable<CloudRepoSourceContext>, IBufferMessage, IMessage
Reference documentation and code samples for the Grafeas v1 API class CloudRepoSourceContext.
A CloudRepoSourceContext denotes a particular revision in a Google Cloud Source Repo.
Implements
IMessageCloudRepoSourceContext, IEquatableCloudRepoSourceContext, IDeepCloneableCloudRepoSourceContext, IBufferMessage, IMessageNamespace
Grafeas.V1Assembly
Grafeas.V1.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 |
HasRevisionId
public bool HasRevisionId { get; }
Gets whether the "revision_id" field is set
Property Value | |
---|---|
Type | Description |
bool |
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 |