public sealed class GitSourceContext : IMessage<GitSourceContext>, IEquatable<GitSourceContext>, IDeepCloneable<GitSourceContext>, IBufferMessage, IMessage
Reference documentation and code samples for the Grafeas v1 API class GitSourceContext.
A GitSourceContext denotes a particular revision in a third party Git
repository (e.g., GitHub).
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis page provides documentation for the \u003ccode\u003eGitSourceContext\u003c/code\u003e class within the Grafeas V1 API, version 3.6.0, offering reference materials and code samples.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGitSourceContext\u003c/code\u003e is used to represent a specific revision within a third-party Git repository and has methods that can be used to utilize the data within.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGitSourceContext\u003c/code\u003e class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, enabling functionality such as cloning, equality comparisons and usage within the API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGitSourceContext\u003c/code\u003e class has two constructors and two properties, \u003ccode\u003eRevisionId\u003c/code\u003e which holds a git commit hash and \u003ccode\u003eUrl\u003c/code\u003e which holds a git repository URL, both as strings.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions of the \u003ccode\u003eGitSourceContext\u003c/code\u003e API available, ranging from version 2.2.0 up to the latest version 3.7.0.\u003c/p\u003e\n"]]],[],null,[]]