Google.Cloud.DevTools.Common - Class CloudRepoSourceContext (3.1.1)

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).

Inheritance

object > CloudRepoSourceContext

Namespace

Google.Cloud.DevTools.Source.V1

Assembly

Google.Cloud.DevTools.Common.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

AliasName

public string AliasName { get; set; }

The name of an alias (branch, tag, etc.).

Property Value
TypeDescription
string

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