---
title: "GET /v1/projects/{projectsId}/locations/{locationsId}/unitKinds/{unitKindsId}"
method: GET
path: "/v1/projects/{projectsId}/locations/{locationsId}/unitKinds/{unitKindsId}"
tags: ["projects"]
---

# GET /v1/projects/{projectsId}/locations/{locationsId}/unitKinds/{unitKindsId}

`GET /v1/projects/{projectsId}/locations/{locationsId}/unitKinds/{unitKindsId}`

## Request

- Base URL: `https://saasservicemgmt.googleapis.com`
- URL: `https://saasservicemgmt.googleapis.com/v1/projects/{projectsId}/locations/{locationsId}/unitKinds/{unitKindsId}`
- Auth: one of:
  - OAuth 2 and OAuth 2
    - Implicit: `https://accounts.google.com/o/oauth2/auth`
    - Scopes: `https://www.googleapis.com/auth/cloud-platform`
    - Authorization code: `https://accounts.google.com/o/oauth2/auth`
    - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/cloud-platform`
  - OAuth 2 and OAuth 2
    - Implicit: `https://accounts.google.com/o/oauth2/auth`
    - Scopes: `https://www.googleapis.com/auth/saasservicemgmt.read-write`
    - Authorization code: `https://accounts.google.com/o/oauth2/auth`
    - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/saasservicemgmt.read-write`
  - OAuth 2 and OAuth 2
    - Implicit: `https://accounts.google.com/o/oauth2/auth`
    - Scopes: `https://www.googleapis.com/auth/saasservicemgmt.readonly`
    - Authorization code: `https://accounts.google.com/o/oauth2/auth`
    - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/saasservicemgmt.readonly`

Retrieve a single unit kind.

## Path parameters

- `projectsId` string, required
- `locationsId` string, required
- `unitKindsId` string, required

## Query parameters

- `$.xgafv` '1' | '2'
- `access_token` string
- `alt` 'json' | 'media' | 'proto'
- `callback` string
- `fields` string
- `key` string
- `oauth_token` string
- `prettyPrint` boolean
- `quotaUser` string
- `uploadType` string
- `upload_protocol` string

## Response `200`

Successful response

- UnitKind: Definition of a Unit. Units belonging to the same UnitKind are managed together; for example they follow the same release model (blueprints, versions etc.) and are typically rolled out together.
  - `annotations` object: Optional. Annotations is an unstructured key-value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/user-guide/annotations
  - `appParams` AppParams: AppParams contains the parameters for creating an AppHub Application.
    - `group` string: Optional. Grouping used to construct the name of the AppHub Application. Multiple UnitKinds can specify the same group to use the same Application across their respective units. Corresponds to the app_boundary_id in the ADC composite ApplicationTemplate. Defaults to UnitKind.name
    - `scope` Scope: Scope of an application.
      - `type` 'TYPE_UNSPECIFIED' | 'TYPE_REGIONAL' | 'TYPE_GLOBAL': Required. Scope Type.
  - `applicationTemplateComponent` ComponentRef: ComponentRef represents a reference to a component resource.
    - `component` string: Optional. Name of the component in composite.Components
    - `compositeRef` CompositeRef: CompositeRef represents a reference to a composite resource.
      - `applicationTemplate` string: Required. Reference to the ApplicationTemplate resource.
      - `revision` string: Optional. Revision of the ApplicationTemplate to use. Changes to revision will trigger manual resynchronization. If empty, ApplicationTemplate will be ignored.
      - `syncOperation` string: Output only. Reference to on-going AppTemplate import and replication operation (i.e. the operation_id for the long-running operation). This field is opaque for external usage.
    - `revision` string: Optional. Revision of the component. If the component does not have a revision, this field will be explicitly set to the revision of the composite ApplicationTemplate.
  - `boundaryType` 'BOUNDARY_TYPE_UNSPECIFIED' | 'BOUNDARY_TYPE_TENANT_PROJECT' | 'BOUNDARY_TYPE_MANAGED_PROJECT': Optional. Output only. BoundaryType describes the type of boundary the Unit Kind represents.
  - `createTime` string, google-datetime: Output only. The timestamp when the resource was created.
  - `defaultRelease` string: Optional. A reference to the Release object to use as default for creating new units of this UnitKind (optional). If not specified, a new unit must explicitly reference which release to use for its creation.
  - `deleteTime` string, google-datetime: Output only. The timestamp when the resource was marked for deletion (deletion is an asynchronous operation).
  - `dependencies` Dependency[]: Optional. Immutable. List of other unit kinds that this release will depend on. Dependencies will be automatically provisioned if not found. Maximum 10.
    - `alias` string: Required. An alias for the dependency. Used for input variable mapping.
    - `unitKind` string: Required. Immutable. The unit kind of the dependency.
  - `durationLimits` DurationLimits: DurationLimits defines the time-related constraints for a UnitOperation's execution. This allows users to control how long an operation can run before being cancelled by the system.
    - `unitOperationTimeout` string, google-duration: Optional. The maximum duration a UnitOperation is allowed to execute in the RUNNING state. - Minimum value: 60 seconds (1 minute) - Maximum value: 604800 seconds (7 days) If this field is not set, or if the provided value falls outside the allowed range, the system will use a default timeout of 10800 seconds (3 hours). Upon exceeding this time limit, the UnitOperation will be best-effort cancelled, and its state will be set to FAILED.
  - `etag` string: Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written.
  - `inputVariableMappings` VariableMapping[]: Optional. List of inputVariables for this release that will either be retrieved from a dependency's outputVariables, or will be passed on to a dependency's inputVariables. Maximum 100.
    - `from` FromMapping: Output variables whose values will be passed on to dependencies
      - `dependency` string: Required. Alias of the dependency that the outputVariable will pass its value to
      - `outputVariable` string: Required. Name of the outputVariable on the dependency
    - `to` ToMapping: Input variables whose values will be passed on to dependencies
      - `dependency` string: Required. Alias of the dependency that the inputVariable will pass its value to
      - `ignoreForLookup` boolean: Optional. Tells App Lifecycle Manager if this mapping should be used during lookup or not
      - `inputVariable` string: Required. Name of the inputVariable on the dependency
    - `variable` string: Required. name of the variable
  - `labels` object: Optional. The labels on the resource, which can be used for categorization. similar to Kubernetes resource labels.
  - `name` string: Identifier. The resource name (full URI of the resource) following the standard naming scheme: "projects/{project}/locations/{location}/unitKinds/{unitKind}"
  - `outputVariableMappings` VariableMapping[]: Optional. List of outputVariables for this unit kind will be passed to this unit's outputVariables. Maximum 100.
    - `from` FromMapping: Output variables whose values will be passed on to dependencies
      - `dependency` string: Required. Alias of the dependency that the outputVariable will pass its value to
      - `outputVariable` string: Required. Name of the outputVariable on the dependency
    - `to` ToMapping: Input variables whose values will be passed on to dependencies
      - `dependency` string: Required. Alias of the dependency that the inputVariable will pass its value to
      - `ignoreForLookup` boolean: Optional. Tells App Lifecycle Manager if this mapping should be used during lookup or not
      - `inputVariable` string: Required. Name of the inputVariable on the dependency
    - `variable` string: Required. name of the variable
  - `saas` string: Required. Immutable. A reference to the Saas that defines the product (managed service) that the producer wants to manage with App Lifecycle Manager. Part of the App Lifecycle Manager common data model. Immutable once set.
  - `uid` string: Output only. The unique identifier of the resource. UID is unique in the time and space for this resource within the scope of the service. It is typically generated by the server on successful creation of a resource and must not be changed. UID is used to uniquely identify resources with resource name reuses. This should be a UUID4.
  - `updateTime` string, google-datetime: Output only. The timestamp when the resource was last updated. Any change to the resource made by users must refresh this value. Changes to a resource made by the service should refresh this value.

## Changes

- **2026-11-19** `213a46d28139`: 4 info
  - the security scope `https://www.googleapis.com/auth/cloud-platform` was added to the endpoint's security scheme `Oauth2`
  - the security scope `https://www.googleapis.com/auth/cloud-platform` was added to the endpoint's security scheme `Oauth2c`
  - the security scope `https://www.googleapis.com/auth/saasservicemgmt.readonly` was removed from the endpoint's security scheme `Oauth2`
  - the security scope `https://www.googleapis.com/auth/saasservicemgmt.readonly` was removed from the endpoint's security scheme `Oauth2c`

[Operation history](https://skmtc.dev/google/apis/saasservicemgmt/changes/v1/projects/:projectsId/locations/:locationsId/unitKinds/:unitKindsId/get.md)

---

[API](https://skmtc.dev/google/apis/saasservicemgmt.md) - [All operations](https://skmtc.dev/google/apis/saasservicemgmt/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/saasservicemgmt/revisions/213a46d28139?raw)
