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."],[[["The `FetchGitRefsRequest` class is part of the Cloud Build v2 API, designed for fetching git references."],["It implements several interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, providing functionalities for message handling, equality comparison, deep cloning, and buffer message management."],["The class has two constructors, a default constructor and one that creates a copy from another `FetchGitRefsRequest` instance, allowing for easy duplication."],["It has properties such as `RefType`, `Repository`, and `RepositoryAsRepositoryName`, enabling specification of the type of refs to fetch and the target repository."],["The `Repository` property in the class specifies the target repository using a required resource name in the format: `projects/*/locations/*/connections/*/repositories/*`."]]],[]]