2022-07-23
▼ ▲ drivelabels.labels.list
Flat Path: v2/labels
Parameters:
pageToken
Location: query
Type: string
Description: The token of the page to return.
languageCode
Type: string
Location: query
Description: The BCP-47 language code to use for evaluating localized field labels. When not specified, values in the default configured language will be used.
pageSize
Format: int32
Type: integer
Location: query
Description: Maximum number of Labels to return per page. Default: 50. Max: 200.
publishedOnly
Type: boolean
Description: Whether to include only published labels in the results. * When `true`, only the current published label revisions will be returned. Disabled labels will be included. Returned Label resource names will reference the published revision (`labels/{id}/{revision_id}`). * When `false`, the current label revisions will be returned, which may not by published. Returned Label resource names will not reference a specific revision (`labels/{id}`).
Location: query
view
Location: query
Enum:
Type: string
Description: When specified, only certain fields belonging to the indicated view will be returned.
Enum Descriptions:
minimumRole
Type: string
Location: query
Enum:
Enum Descriptions:
Description: Specifies the level of access the user must have on the returned Labels. The minimum role a user must have on a label. Defaults to `READER`.
useAdminAccess
Location: query
Type: boolean
Description: Set to `true` in order to use the user's admin credentials. This will return all Labels within the customer.
Description: ## Label APIs --------------------------------------------------------------- List Labels.
HTTP Method: GET
Path: v2/labels
▼ ▲ drivelabels.labels.get
Path: v2/{+name}
HTTP Method: GET
Parameter Order: name
Description: Get a Label by its resource name. Resource name may be any of: * `labels/{id}` - See to `labels/{id}@latest` * `labels/{id}@latest` - Gets the latest revision of the Label. * `labels/{id}@published` - Gets the current published revision of the Label. * `labels/{id}@{revision_id}` - Gets the Label at the specified revision ID.
Parameters:
name
Required: Yes
Description: Required. Label resource name. May be any of: * `labels/{id}` (equivalent to labels/{id}@latest) * `labels/{id}@latest` * `labels/{id}@published` * `labels/{id}@{revision_id}`
Location: path
Type: string
Pattern: ^labels/[^/]+$
languageCode
Location: query
Description: The BCP-47 language code to use for evaluating localized Field labels. When not specified, values in the default configured language will be used.
Type: string
view
Enum:
Description: When specified, only certain Fields belonging to the indicated view will be returned.
Type: string
Enum Descriptions:
Location: query
useAdminAccess
Type: boolean
Description: Set to `true` in order to use the user's admin credentials. The server will verify the user is an admin for the Label before allowing access.
Location: query
Flat Path: v2/labels/{labelsId}