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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 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/*`."]]],[]]