[[["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-09-04 UTC."],[],[],null,["# Google Cloud Retail V2 Client - Class GetDefaultBranchResponse (2.3.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.3.1 (latest)](/php/docs/reference/cloud-retail/latest/V2.GetDefaultBranchResponse)\n- [2.3.0](/php/docs/reference/cloud-retail/2.3.0/V2.GetDefaultBranchResponse)\n- [2.2.1](/php/docs/reference/cloud-retail/2.2.1/V2.GetDefaultBranchResponse)\n- [2.1.3](/php/docs/reference/cloud-retail/2.1.3/V2.GetDefaultBranchResponse)\n- [2.0.0](/php/docs/reference/cloud-retail/2.0.0/V2.GetDefaultBranchResponse)\n- [1.7.0](/php/docs/reference/cloud-retail/1.7.0/V2.GetDefaultBranchResponse)\n- [1.6.4](/php/docs/reference/cloud-retail/1.6.4/V2.GetDefaultBranchResponse)\n- [1.5.0](/php/docs/reference/cloud-retail/1.5.0/V2.GetDefaultBranchResponse)\n- [1.4.2](/php/docs/reference/cloud-retail/1.4.2/V2.GetDefaultBranchResponse)\n- [1.3.1](/php/docs/reference/cloud-retail/1.3.1/V2.GetDefaultBranchResponse)\n- [1.2.1](/php/docs/reference/cloud-retail/1.2.1/V2.GetDefaultBranchResponse)\n- [1.1.1](/php/docs/reference/cloud-retail/1.1.1/V2.GetDefaultBranchResponse)\n- [1.0.1](/php/docs/reference/cloud-retail/1.0.1/V2.GetDefaultBranchResponse) \nReference documentation and code samples for the Google Cloud Retail V2 Client class GetDefaultBranchResponse.\n\nResponse message of\n[CatalogService.GetDefaultBranch](/php/docs/reference/cloud-retail/latest/V2.Client.CatalogServiceClient#_Google_Cloud_Retail_V2_Client_CatalogServiceClient__getDefaultBranch__).\n\nGenerated from protobuf message `google.cloud.retail.v2.GetDefaultBranchResponse`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Retail \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getBranch\n\nFull resource name of the branch id currently set as default branch.\n\n### setBranch\n\nFull resource name of the branch id currently set as default branch.\n\n### getSetTime\n\nThe time when this branch is set to default.\n\n### hasSetTime\n\n### clearSetTime\n\n### setSetTime\n\nThe time when this branch is set to default.\n\n### getNote\n\nThis corresponds to\n[SetDefaultBranchRequest.note](/php/docs/reference/cloud-retail/latest/V2.SetDefaultBranchRequest#_Google_Cloud_Retail_V2_SetDefaultBranchRequest__getNote__)\nfield, when this branch was set as default.\n\n### setNote\n\nThis corresponds to\n[SetDefaultBranchRequest.note](/php/docs/reference/cloud-retail/latest/V2.SetDefaultBranchRequest#_Google_Cloud_Retail_V2_SetDefaultBranchRequest__getNote__)\nfield, when this branch was set as default."]]