Grafeas v1 API - Class CloudRepoSourceContext (3.6.0)

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.

Inheritance

object > CloudRepoSourceContext

Namespace

Grafeas.V1

Assembly

Grafeas.V1.dll

Constructors

CloudRepoSourceContext()

public CloudRepoSourceContext()

CloudRepoSourceContext(CloudRepoSourceContext)

public CloudRepoSourceContext(CloudRepoSourceContext other)
Parameter
NameDescription
otherCloudRepoSourceContext

Properties

AliasContext

public AliasContext AliasContext { get; set; }

An alias, which may be a branch or tag.

Property Value
TypeDescription
AliasContext

HasRevisionId

public bool HasRevisionId { get; }

Gets whether the "revision_id" field is set

Property Value
TypeDescription
bool

RepoId

public RepoId RepoId { get; set; }

The ID of the repo.

Property Value
TypeDescription
RepoId

RevisionCase

public CloudRepoSourceContext.RevisionOneofCase RevisionCase { get; }
Property Value
TypeDescription
CloudRepoSourceContextRevisionOneofCase

RevisionId

public string RevisionId { get; set; }

A revision ID.

Property Value
TypeDescription
string