public sealed class GetDefaultBranchResponse : IMessage<GetDefaultBranchResponse>, IEquatable<GetDefaultBranchResponse>, IDeepCloneable<GetDefaultBranchResponse>, IBufferMessage, IMessage
Reference documentation and code samples for the Retail v2 API class GetDefaultBranchResponse.
Response message of
[CatalogService.GetDefaultBranch][google.cloud.retail.v2.CatalogService.GetDefaultBranch].
[[["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 latest version available for the Retail v2 API's \u003ccode\u003eGetDefaultBranchResponse\u003c/code\u003e is 2.12.0, and a range of previous versions are documented, including version 2.7.0 which the current page specifically focuses on.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetDefaultBranchResponse\u003c/code\u003e class is part of the Google.Cloud.Retail.V2 namespace within the Google.Cloud.Retail.V2.dll assembly and provides a response message for the CatalogService.GetDefaultBranch method.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, indicating its role in handling API responses.\u003c/p\u003e\n"],["\u003cp\u003eThe key properties of \u003ccode\u003eGetDefaultBranchResponse\u003c/code\u003e include \u003ccode\u003eBranch\u003c/code\u003e, \u003ccode\u003eBranchAsBranchName\u003c/code\u003e, \u003ccode\u003eNote\u003c/code\u003e, and \u003ccode\u003eSetTime\u003c/code\u003e, which contain information about the default branch, its name representation, a relevant note, and the time it was set.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides the constructors \u003ccode\u003eGetDefaultBranchResponse()\u003c/code\u003e and \u003ccode\u003eGetDefaultBranchResponse(GetDefaultBranchResponse)\u003c/code\u003e to allow for a default empty object, or a copy of another object.\u003c/p\u003e\n"]]],[],null,[]]