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, while the current page's documentation pertains to version 2.11.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGetDefaultBranchResponse\u003c/code\u003e is a class used to get the response message from the \u003ccode\u003eCatalogService.GetDefaultBranch\u003c/code\u003e method in the Retail v2 API, which also implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eGetDefaultBranchResponse\u003c/code\u003e contains properties like \u003ccode\u003eBranch\u003c/code\u003e (full resource name of the default branch), \u003ccode\u003eBranchAsBranchName\u003c/code\u003e (a \u003ccode\u003eBranchName\u003c/code\u003e-typed view over the Branch property), \u003ccode\u003eNote\u003c/code\u003e (related to \u003ccode\u003eSetDefaultBranchRequest.note\u003c/code\u003e), and \u003ccode\u003eSetTime\u003c/code\u003e (when the branch was set as default).\u003c/p\u003e\n"],["\u003cp\u003eThe webpage documents versions ranging from 1.0.0 all the way up to the latest version of 2.12.0.\u003c/p\u003e\n"]]],[],null,[]]