- Resource: InsightsConfig
- Projects
- ArtifactConfig
- GoogleArtifactRegistry
- GoogleArtifactAnalysis
- State
- Methods
Resource: InsightsConfig
The InsightsConfig resource is the core configuration object to capture events from your Software Development Lifecycle. It acts as the central hub for managing how Developer Connect understands your application, its runtime environments, and the artifacts deployed within them.
| JSON representation |
|---|
{ "name": string, "createTime": string, "updateTime": string, "runtimeConfigs": [ { object ( |
| Fields | |
|---|---|
name |
Identifier. The name of the InsightsConfig. Format: projects/{project}/locations/{location}/insightsConfigs/{insightsConfig} |
createTime |
Output only. Create timestamp. 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: |
updateTime |
Output only. Update timestamp. 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: |
runtimeConfigs[] |
Output only. The runtime configurations where the application is deployed. |
artifactConfigs[] |
Optional. The artifact configurations of the artifacts that are deployed. |
state |
Optional. Output only. The state of the InsightsConfig. |
annotations |
Optional. User specified annotations. See https://google.aip.dev/148#annotations for more details such as format and size limitations. An object containing a list of |
labels |
Optional. Set of labels associated with an InsightsConfig. An object containing a list of |
reconciling |
Output only. Reconciling (https://google.aip.dev/128#reconciliation). Set to true if the current state of InsightsConfig does not match the user's intended state, and the service is actively updating the resource to reconcile them. This can happen due to user-triggered updates or system actions like failover or maintenance. |
errors[] |
Output only. Any errors that occurred while setting up the InsightsConfig. Each error will be in the format: |
Union field insights_config_context. The context of the InsightsConfig. insights_config_context can be only one of the following: |
|
appHubApplication |
Optional. The name of the App Hub Application. Format: projects/{project}/locations/{location}/applications/{application} |
projects |
Optional. The projects to track with the InsightsConfig. |
Projects
Projects represents the projects to track with the InsightsConfig.
| JSON representation |
|---|
{ "projectIds": [ string ] } |
| Fields | |
|---|---|
projectIds[] |
Optional. The project IDs. Format: {project} |
ArtifactConfig
The artifact config of the artifact that is deployed.
| JSON representation |
|---|
{ "uri": string, // Union field |
| Fields | |
|---|---|
uri |
Required. Immutable. The URI of the artifact that is deployed. e.g. |
Union field artifact_storage. The storage location of the artifact. artifact_storage can be only one of the following: |
|
googleArtifactRegistry |
Optional. Set if the artifact is stored in Artifact registry. |
Union field artifact_metadata_storage. The storage location of the artifact metadata. artifact_metadata_storage can be only one of the following: |
|
googleArtifactAnalysis |
Optional. Set if the artifact metadata is stored in Artifact analysis. |
GoogleArtifactRegistry
Google Artifact Registry configurations.
| JSON representation |
|---|
{ "projectId": string, "artifactRegistryPackage": string } |
| Fields | |
|---|---|
projectId |
Required. The host project of Artifact Registry. |
artifactRegistryPackage |
Required. Immutable. The name of the artifact registry package. |
GoogleArtifactAnalysis
Google Artifact Analysis configurations.
| JSON representation |
|---|
{ "projectId": string } |
| Fields | |
|---|---|
projectId |
Required. The project id of the project where the provenance is stored. |
State
The state of the InsightsConfig.
| Enums | |
|---|---|
STATE_UNSPECIFIED |
No state specified. |
PENDING |
The InsightsConfig is pending application discovery/runtime discovery. |
COMPLETE |
The initial discovery process is complete. |
ERROR |
The InsightsConfig is in an error state. |
Methods |
|
|---|---|
|
Creates a new InsightsConfig in a given project and location. |
|
Deletes a single Insight. |
|
Gets details of a single Insight. |
|
Lists InsightsConfigs in a given project and location. |
|
Updates the parameters of a single InsightsConfig. |