public sealed class FetchGitRefsRequest : IMessage<FetchGitRefsRequest>, IEquatable<FetchGitRefsRequest>, IDeepCloneable<FetchGitRefsRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Build v2 API class FetchGitRefsRequest.
[[["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\u003eThe \u003ccode\u003eFetchGitRefsRequest\u003c/code\u003e class is used to request fetching Git references from a repository within the Cloud Build v2 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class is part of the \u003ccode\u003eGoogle.Cloud.CloudBuild.V2\u003c/code\u003e namespace and is available in the \u003ccode\u003eGoogle.Cloud.CloudBuild.V2.dll\u003c/code\u003e assembly, and is at version 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFetchGitRefsRequest\u003c/code\u003e class implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFetchGitRefsRequest\u003c/code\u003e object can be constructed with a parameterless constructor or by providing another \u003ccode\u003eFetchGitRefsRequest\u003c/code\u003e object as a template, allowing for customization through properties like \u003ccode\u003eRefType\u003c/code\u003e and \u003ccode\u003eRepository\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class contains the \u003ccode\u003eRepository\u003c/code\u003e property, which is a string in the format \u003ccode\u003eprojects/*/locations/*/connections/*/repositories/*\u003c/code\u003e, that can be viewed as a \u003ccode\u003eRepositoryName\u003c/code\u003e object via the property \u003ccode\u003eRepositoryAsRepositoryName\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]