- Resource: InsightsConfig
- RuntimeConfig
- GKEWorkload
- GoogleCloudRun
- AppHubWorkload
- AppHubService
- State
- 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} |
RuntimeConfig
RuntimeConfig represents the runtimes where the application is deployed.
JSON representation |
---|
{ "uri": string, "state": enum ( |
Fields | |
---|---|
uri |
Required. Immutable. The URI of the runtime configuration. For GKE, this is the cluster name. For Cloud Run, this is the service name. |
state |
Output only. The state of the Runtime. |
Union field runtime . The type of the runtime. runtime can be only one of the following: |
|
gkeWorkload |
Output only. Google Kubernetes Engine runtime. |
googleCloudRun |
Output only. Cloud Run runtime. |
Union field derived_from . Where the runtime is derived from. derived_from can be only one of the following: |
|
appHubWorkload |
Output only. App Hub Workload. |
appHubService |
Output only. App Hub Service. |
GKEWorkload
GKEWorkload represents the Google Kubernetes Engine runtime.
JSON representation |
---|
{ "cluster": string, "deployment": string } |
Fields | |
---|---|
cluster |
Required. Immutable. The name of the GKE cluster. Format: |
deployment |
Output only. The name of the GKE deployment. Format: |
GoogleCloudRun
GoogleCloudRun represents the Cloud Run runtime.
JSON representation |
---|
{ "serviceUri": string } |
Fields | |
---|---|
serviceUri |
Required. Immutable. The name of the Cloud Run service. Format: |
AppHubWorkload
AppHubWorkload represents the App Hub Workload.
JSON representation |
---|
{ "workload": string, "criticality": string, "environment": string } |
Fields | |
---|---|
workload |
Required. Output only. Immutable. The name of the App Hub Workload. Format: |
criticality |
Output only. The criticality of the App Hub Workload. |
environment |
Output only. The environment of the App Hub Workload. |
AppHubService
AppHubService represents the App Hub Service.
JSON representation |
---|
{ "apphubService": string, "criticality": string, "environment": string } |
Fields | |
---|---|
apphubService |
Required. Output only. Immutable. The name of the App Hub Service. Format: |
criticality |
Output only. The criticality of the App Hub Service. |
environment |
Output only. The environment of the App Hub Service. |
State
The state of the runtime in the InsightsConfig. Whether the runtime is linked to the InsightsConfig.
Enums | |
---|---|
STATE_UNSPECIFIED |
No state specified. |
LINKED |
The runtime configuration has been linked to the InsightsConfig. |
UNLINKED |
The runtime configuration has been unlinked to the InsightsConfig. |
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. |