catalogs_default_branch
Creates, updates, deletes, gets or lists a catalogs_default_branch
resource.
Overview
Name | catalogs_default_branch |
Type | Resource |
Id | google.retail.catalogs_default_branch |
Fields
Name | Datatype | Description |
---|---|---|
branch | string | Full resource name of the branch id currently set as default branch. |
note | string | This corresponds to SetDefaultBranchRequest.note field, when this branch was set as default. |
setTime | string | The time when this branch is set to default. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
projects_locations_catalogs_get_default_branch | SELECT | catalogsId, locationsId, projectsId | Get which branch is currently default branch set by CatalogService.SetDefaultBranch method under a specified parent catalog. |
SELECT
examples
Get which branch is currently default branch set by CatalogService.SetDefaultBranch method under a specified parent catalog.
SELECT
branch,
note,
setTime
FROM google.retail.catalogs_default_branch
WHERE catalogsId = '{{ catalogsId }}'
AND locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';