Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples:"2014-10-02T15:01:23Z","2014-10-02T15:01:23.045123456Z"or"2014-10-02T15:01:23+05:30".
[[["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,["# Method: projects.locations.catalogs.getDefaultBranch\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.GetDefaultBranchResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [IAM Permissions](#body.aspect_1)\n- [Try it!](#try-it)\n\nGet which branch is currently default branch set by [CatalogService.SetDefaultBranch](/retail/docs/reference/rest/v2/projects.locations.catalogs/setDefaultBranch#google.cloud.retail.v2.CatalogService.SetDefaultBranch) method under a specified parent catalog.\n\n### HTTP request\n\n`GET https://retail.googleapis.com/v2/{catalog=projects/*/locations/*/catalogs/*}:getDefaultBranch`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nResponse message of [CatalogService.GetDefaultBranch](/retail/docs/reference/rest/v2/projects.locations.catalogs/getDefaultBranch#google.cloud.retail.v2.CatalogService.GetDefaultBranch).\n\nIf successful, the response body contains data with the following structure:\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp).\n\n### IAM Permissions\n\nRequires the following [IAM](https://cloud.google.com/iam/docs) permission on the `catalog` resource:\n\n- `retail.catalogs.get`\n\nFor more information, see the [IAM documentation](https://cloud.google.com/iam/docs)."]]