---
title: "GET /v1/projects/{projectsId}/locations/{locationsId}/insightsConfigs/{insightsConfigsId}/deploymentEvents"
method: GET
path: "/v1/projects/{projectsId}/locations/{locationsId}/insightsConfigs/{insightsConfigsId}/deploymentEvents"
tags: ["projects"]
---

# GET /v1/projects/{projectsId}/locations/{locationsId}/insightsConfigs/{insightsConfigsId}/deploymentEvents

`GET /v1/projects/{projectsId}/locations/{locationsId}/insightsConfigs/{insightsConfigsId}/deploymentEvents`

## Request

- Base URL: `https://developerconnect.googleapis.com`
- URL: `https://developerconnect.googleapis.com/v1/projects/{projectsId}/locations/{locationsId}/insightsConfigs/{insightsConfigsId}/deploymentEvents`
- Auth: 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`

Lists Deployment Events in a given insights config.

## Path parameters

- `projectsId` string, required
- `locationsId` string, required
- `insightsConfigsId` string, required

## Query parameters

- `filter` string
- `orderBy` string
- `pageSize` integer
- `pageToken` string

## Response `200`

Successful response

- ListDeploymentEventsResponse: Response to listing DeploymentEvents.
  - `deploymentEvents` DeploymentEvent[]: The list of DeploymentEvents.
    - `artifactDeployments` ArtifactDeployment[]: Output only. The artifact deployments of the DeploymentEvent. Each artifact deployment contains the artifact uri and the runtime configuration uri. For GKE, this would be all the containers images that are deployed in the pod.
      - `artifactAlias` string: Output only. The artifact alias in the deployment spec, with Tag/SHA. e.g. us-docker.pkg.dev/my-project/my-repo/image:1.0.0
      - `artifactReference` string: Output only. The artifact that is deployed.
      - `containerStatusSummary` string: Output only. The summary of container status of the artifact deployment. Format as `ContainerStatusState-Reason : restartCount` e.g. "Waiting-ImagePullBackOff : 3"
      - `deployTime` string, google-datetime: Output only. The time at which the deployment was deployed.
      - `id` string: Output only. Unique identifier of `ArtifactDeployment`.
      - `sourceCodeUris` string[]: Output only. The URIs of the source code, if available. For Cloud Run source deploy for example: `gs://my-bucket/my-folder/1234567890.abcde-fdbe.zip#1234567890`
      - `sourceCommitUris` string[]: Output only. The source commits at which this artifact was built. Extracted from provenance.
      - `undeployTime` string, google-datetime: Output only. The time at which the deployment was undeployed, all artifacts are considered undeployed once this time is set.
    - `createTime` string, google-datetime: Output only. The create time of the DeploymentEvent.
    - `deployTime` string, google-datetime: Output only. The time at which the DeploymentEvent was deployed. This would be the min of all ArtifactDeployment deploy_times.
    - `name` string: Identifier. The name of the DeploymentEvent. This name is provided by Developer Connect insights. Format: projects/{project}/locations/{location}/insightsConfigs/{insights_config}/deploymentEvents/{uuid}
    - `runtimeConfig` RuntimeConfig: RuntimeConfig represents the runtimes where the application is deployed.
      - `appHubService` AppHubService: AppHubService represents the App Hub Service.
        - `apphubService` string: Required. Output only. Immutable. The name of the App Hub Service. Format: `projects/{project}/locations/{location}/applications/{application}/services/{service}`.
        - `criticality` string: Output only. The criticality of the App Hub Service.
        - `environment` string: Output only. The environment of the App Hub Service.
      - `appHubWorkload` AppHubWorkload: AppHubWorkload represents the App Hub Workload.
        - `criticality` string: Output only. The criticality of the App Hub Workload.
        - `environment` string: Output only. The environment of the App Hub Workload.
        - `workload` string: Required. Output only. Immutable. The name of the App Hub Workload. Format: `projects/{project}/locations/{location}/applications/{application}/workloads/{workload}`.
      - `gkeWorkload` GKEWorkload: GKEWorkload represents the Google Kubernetes Engine runtime.
        - `cluster` string: Required. Immutable. The name of the GKE cluster. Format: `projects/{project}/locations/{location}/clusters/{cluster}`.
        - `deployment` string: Output only. The name of the GKE deployment. Format: `projects/{project}/locations/{location}/clusters/{cluster}/namespaces/{namespace}/deployments/{deployment}`.
      - `googleCloudRun` GoogleCloudRun: GoogleCloudRun represents the Cloud Run runtime.
        - `serviceUri` string: Required. Immutable. The name of the Cloud Run service. Format: `projects/{project}/locations/{location}/services/{service}`.
      - `state` 'STATE_UNSPECIFIED' | 'LINKED' | 'UNLINKED': Output only. The state of the Runtime.
      - `uri` string: Required. Immutable. The URI of the runtime configuration. For GKE, this is the cluster name. For Cloud Run, this is the service name.
    - `runtimeDeploymentUri` string: Output only. The runtime assigned URI of the DeploymentEvent. For GKE, this is the fully qualified replica set uri. e.g. container.googleapis.com/projects/{project}/locations/{location}/clusters/{cluster}/k8s/namespaces/{namespace}/apps/replicasets/{replica-set-id} For Cloud Run, this is the revision name.
    - `state` 'STATE_UNSPECIFIED' | 'STATE_ACTIVE' | 'STATE_INACTIVE': Output only. The state of the DeploymentEvent.
    - `undeployTime` string, google-datetime: Output only. The time at which the DeploymentEvent was undeployed, all artifacts are considered undeployed once this time is set. This would be the max of all ArtifactDeployment undeploy_times. If any ArtifactDeployment is still active (i.e. does not have an undeploy_time), this field will be empty.
    - `updateTime` string, google-datetime: Output only. The update time of the DeploymentEvent.
  - `nextPageToken` string: A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.

---

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