Debian Codegraph @

docs/dyn/developerconnect_v1.projects.locations.insightsConfigs.html

raw
1 <html><body>
2 <style>
3
4 body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13 }
14
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51 }
52
53 .toc_element {
54 margin-top: 0.5em;
55 }
56
57 .firstline {
58 margin-left: 2 em;
59 }
60
61 .method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66 }
67
68 .details {
69 font-weight: bold;
70 font-size: 14px;
71 }
72
73 </style>
74
75 <h1><a href="developerconnect_v1.html">Developer Connect API</a> . <a href="developerconnect_v1.projects.html">projects</a> . <a href="developerconnect_v1.projects.locations.html">locations</a> . <a href="developerconnect_v1.projects.locations.insightsConfigs.html">insightsConfigs</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="developerconnect_v1.projects.locations.insightsConfigs.deploymentEvents.html">deploymentEvents()</a></code>
79 </p>
80 <p class="firstline">Returns the deploymentEvents Resource.</p>
81
82 <p class="toc_element">
83 <code><a href="#close">close()</a></code></p>
84 <p class="firstline">Close httplib2 connections.</p>
85 <p class="toc_element">
86 <code><a href="#create">create(parent, body=None, insightsConfigId=None, validateOnly=None, x__xgafv=None)</a></code></p>
87 <p class="firstline">Creates a new InsightsConfig in a given project and location.</p>
88 <p class="toc_element">
89 <code><a href="#delete">delete(name, etag=None, requestId=None, validateOnly=None, x__xgafv=None)</a></code></p>
90 <p class="firstline">Deletes a single Insight.</p>
91 <p class="toc_element">
92 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
93 <p class="firstline">Gets details of a single Insight.</p>
94 <p class="toc_element">
95 <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
96 <p class="firstline">Lists InsightsConfigs in a given project and location.</p>
97 <p class="toc_element">
98 <code><a href="#list_next">list_next()</a></code></p>
99 <p class="firstline">Retrieves the next page of results.</p>
100 <p class="toc_element">
101 <code><a href="#patch">patch(name, allowMissing=None, body=None, requestId=None, validateOnly=None, x__xgafv=None)</a></code></p>
102 <p class="firstline">Updates the parameters of a single InsightsConfig.</p>
103 <h3>Method Details</h3>
104 <div class="method">
105 <code class="details" id="close">close()</code>
106 <pre>Close httplib2 connections.</pre>
107 </div>
108
109 <div class="method">
110 <code class="details" id="create">create(parent, body=None, insightsConfigId=None, validateOnly=None, x__xgafv=None)</code>
111 <pre>Creates a new InsightsConfig in a given project and location.
112
113 Args:
114 parent: string, Required. Value for parent. (required)
115 body: object, The request body.
116 The object takes the form of:
117
118 { # 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.
119 &quot;annotations&quot;: { # Optional. User specified annotations. See https://google.aip.dev/148#annotations for more details such as format and size limitations.
120 &quot;a_key&quot;: &quot;A String&quot;,
121 },
122 &quot;appHubApplication&quot;: &quot;A String&quot;, # Optional. The name of the App Hub Application. Format: projects/{project}/locations/{location}/applications/{application}
123 &quot;artifactConfigs&quot;: [ # Optional. The artifact configurations of the artifacts that are deployed.
124 { # The artifact config of the artifact that is deployed.
125 &quot;googleArtifactAnalysis&quot;: { # Google Artifact Analysis configurations. # Optional. Set if the artifact metadata is stored in Artifact analysis.
126 &quot;projectId&quot;: &quot;A String&quot;, # Required. The project id of the project where the provenance is stored.
127 },
128 &quot;googleArtifactRegistry&quot;: { # Google Artifact Registry configurations. # Optional. Set if the artifact is stored in Artifact registry.
129 &quot;artifactRegistryPackage&quot;: &quot;A String&quot;, # Required. Immutable. The name of the artifact registry package.
130 &quot;projectId&quot;: &quot;A String&quot;, # Required. The host project of Artifact Registry.
131 },
132 &quot;uri&quot;: &quot;A String&quot;, # Required. Immutable. The URI of the artifact that is deployed. e.g. `us-docker.pkg.dev/my-project/my-repo/image`. The URI does not include the tag / digest because it captures a lineage of artifacts.
133 },
134 ],
135 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Create timestamp.
136 &quot;errors&quot;: [ # Output only. Any errors that occurred while setting up the InsightsConfig. Each error will be in the format: `field_name: error_message`, e.g. GetAppHubApplication: Permission denied while getting App Hub application. Please grant permissions to the P4SA.
137 { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).
138 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
139 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
140 {
141 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
142 },
143 ],
144 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
145 },
146 ],
147 &quot;labels&quot;: { # Optional. Set of labels associated with an InsightsConfig.
148 &quot;a_key&quot;: &quot;A String&quot;,
149 },
150 &quot;name&quot;: &quot;A String&quot;, # Identifier. The name of the InsightsConfig. Format: projects/{project}/locations/{location}/insightsConfigs/{insightsConfig}
151 &quot;projects&quot;: { # Projects represents the projects to track with the InsightsConfig. # Optional. The projects to track with the InsightsConfig.
152 &quot;projectIds&quot;: [ # Optional. The project IDs. Format: {project}
153 &quot;A String&quot;,
154 ],
155 },
156 &quot;reconciling&quot;: True or False, # Output only. Reconciling (https://google.aip.dev/128#reconciliation). Set to true if the current state of InsightsConfig does not match the user&#x27;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.
157 &quot;runtimeConfigs&quot;: [ # Output only. The runtime configurations where the application is deployed.
158 { # RuntimeConfig represents the runtimes where the application is deployed.
159 &quot;appHubService&quot;: { # AppHubService represents the App Hub Service. # Output only. App Hub Service.
160 &quot;apphubService&quot;: &quot;A String&quot;, # Required. Output only. Immutable. The name of the App Hub Service. Format: `projects/{project}/locations/{location}/applications/{application}/services/{service}`.
161 &quot;criticality&quot;: &quot;A String&quot;, # Output only. The criticality of the App Hub Service.
162 &quot;environment&quot;: &quot;A String&quot;, # Output only. The environment of the App Hub Service.
163 },
164 &quot;appHubWorkload&quot;: { # AppHubWorkload represents the App Hub Workload. # Output only. App Hub Workload.
165 &quot;criticality&quot;: &quot;A String&quot;, # Output only. The criticality of the App Hub Workload.
166 &quot;environment&quot;: &quot;A String&quot;, # Output only. The environment of the App Hub Workload.
167 &quot;workload&quot;: &quot;A String&quot;, # Required. Output only. Immutable. The name of the App Hub Workload. Format: `projects/{project}/locations/{location}/applications/{application}/workloads/{workload}`.
168 },
169 &quot;gkeWorkload&quot;: { # GKEWorkload represents the Google Kubernetes Engine runtime. # Output only. Google Kubernetes Engine runtime.
170 &quot;cluster&quot;: &quot;A String&quot;, # Required. Immutable. The name of the GKE cluster. Format: `projects/{project}/locations/{location}/clusters/{cluster}`.
171 &quot;deployment&quot;: &quot;A String&quot;, # Output only. The name of the GKE deployment. Format: `projects/{project}/locations/{location}/clusters/{cluster}/namespaces/{namespace}/deployments/{deployment}`.
172 },
173 &quot;googleCloudRun&quot;: { # GoogleCloudRun represents the Cloud Run runtime. # Output only. Cloud Run runtime.
174 &quot;serviceUri&quot;: &quot;A String&quot;, # Required. Immutable. The name of the Cloud Run service. Format: `projects/{project}/locations/{location}/services/{service}`.
175 },
176 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the Runtime.
177 &quot;uri&quot;: &quot;A String&quot;, # Required. Immutable. The URI of the runtime configuration. For GKE, this is the cluster name. For Cloud Run, this is the service name.
178 },
179 ],
180 &quot;state&quot;: &quot;A String&quot;, # Optional. Output only. The state of the InsightsConfig.
181 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update timestamp.
182 }
183
184 insightsConfigId: string, Required. ID of the requesting InsightsConfig.
185 validateOnly: boolean, Optional. If set, validate the request, but do not actually post it.
186 x__xgafv: string, V1 error format.
187 Allowed values
188 1 - v1 error format
189 2 - v2 error format
190
191 Returns:
192 An object of the form:
193
194 { # This resource represents a long-running operation that is the result of a network API call.
195 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
196 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
197 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
198 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
199 {
200 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
201 },
202 ],
203 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
204 },
205 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
206 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
207 },
208 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
209 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
210 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
211 },
212 }</pre>
213 </div>
214
215 <div class="method">
216 <code class="details" id="delete">delete(name, etag=None, requestId=None, validateOnly=None, x__xgafv=None)</code>
217 <pre>Deletes a single Insight.
218
219 Args:
220 name: string, Required. Value for parent. (required)
221 etag: string, Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
222 requestId: string, Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
223 validateOnly: boolean, Optional. If set, validate the request, but do not actually post it.
224 x__xgafv: string, V1 error format.
225 Allowed values
226 1 - v1 error format
227 2 - v2 error format
228
229 Returns:
230 An object of the form:
231
232 { # This resource represents a long-running operation that is the result of a network API call.
233 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
234 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
235 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
236 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
237 {
238 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
239 },
240 ],
241 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
242 },
243 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
244 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
245 },
246 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
247 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
248 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
249 },
250 }</pre>
251 </div>
252
253 <div class="method">
254 <code class="details" id="get">get(name, x__xgafv=None)</code>
255 <pre>Gets details of a single Insight.
256
257 Args:
258 name: string, Required. Name of the resource. (required)
259 x__xgafv: string, V1 error format.
260 Allowed values
261 1 - v1 error format
262 2 - v2 error format
263
264 Returns:
265 An object of the form:
266
267 { # 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.
268 &quot;annotations&quot;: { # Optional. User specified annotations. See https://google.aip.dev/148#annotations for more details such as format and size limitations.
269 &quot;a_key&quot;: &quot;A String&quot;,
270 },
271 &quot;appHubApplication&quot;: &quot;A String&quot;, # Optional. The name of the App Hub Application. Format: projects/{project}/locations/{location}/applications/{application}
272 &quot;artifactConfigs&quot;: [ # Optional. The artifact configurations of the artifacts that are deployed.
273 { # The artifact config of the artifact that is deployed.
274 &quot;googleArtifactAnalysis&quot;: { # Google Artifact Analysis configurations. # Optional. Set if the artifact metadata is stored in Artifact analysis.
275 &quot;projectId&quot;: &quot;A String&quot;, # Required. The project id of the project where the provenance is stored.
276 },
277 &quot;googleArtifactRegistry&quot;: { # Google Artifact Registry configurations. # Optional. Set if the artifact is stored in Artifact registry.
278 &quot;artifactRegistryPackage&quot;: &quot;A String&quot;, # Required. Immutable. The name of the artifact registry package.
279 &quot;projectId&quot;: &quot;A String&quot;, # Required. The host project of Artifact Registry.
280 },
281 &quot;uri&quot;: &quot;A String&quot;, # Required. Immutable. The URI of the artifact that is deployed. e.g. `us-docker.pkg.dev/my-project/my-repo/image`. The URI does not include the tag / digest because it captures a lineage of artifacts.
282 },
283 ],
284 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Create timestamp.
285 &quot;errors&quot;: [ # Output only. Any errors that occurred while setting up the InsightsConfig. Each error will be in the format: `field_name: error_message`, e.g. GetAppHubApplication: Permission denied while getting App Hub application. Please grant permissions to the P4SA.
286 { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).
287 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
288 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
289 {
290 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
291 },
292 ],
293 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
294 },
295 ],
296 &quot;labels&quot;: { # Optional. Set of labels associated with an InsightsConfig.
297 &quot;a_key&quot;: &quot;A String&quot;,
298 },
299 &quot;name&quot;: &quot;A String&quot;, # Identifier. The name of the InsightsConfig. Format: projects/{project}/locations/{location}/insightsConfigs/{insightsConfig}
300 &quot;projects&quot;: { # Projects represents the projects to track with the InsightsConfig. # Optional. The projects to track with the InsightsConfig.
301 &quot;projectIds&quot;: [ # Optional. The project IDs. Format: {project}
302 &quot;A String&quot;,
303 ],
304 },
305 &quot;reconciling&quot;: True or False, # Output only. Reconciling (https://google.aip.dev/128#reconciliation). Set to true if the current state of InsightsConfig does not match the user&#x27;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.
306 &quot;runtimeConfigs&quot;: [ # Output only. The runtime configurations where the application is deployed.
307 { # RuntimeConfig represents the runtimes where the application is deployed.
308 &quot;appHubService&quot;: { # AppHubService represents the App Hub Service. # Output only. App Hub Service.
309 &quot;apphubService&quot;: &quot;A String&quot;, # Required. Output only. Immutable. The name of the App Hub Service. Format: `projects/{project}/locations/{location}/applications/{application}/services/{service}`.
310 &quot;criticality&quot;: &quot;A String&quot;, # Output only. The criticality of the App Hub Service.
311 &quot;environment&quot;: &quot;A String&quot;, # Output only. The environment of the App Hub Service.
312 },
313 &quot;appHubWorkload&quot;: { # AppHubWorkload represents the App Hub Workload. # Output only. App Hub Workload.
314 &quot;criticality&quot;: &quot;A String&quot;, # Output only. The criticality of the App Hub Workload.
315 &quot;environment&quot;: &quot;A String&quot;, # Output only. The environment of the App Hub Workload.
316 &quot;workload&quot;: &quot;A String&quot;, # Required. Output only. Immutable. The name of the App Hub Workload. Format: `projects/{project}/locations/{location}/applications/{application}/workloads/{workload}`.
317 },
318 &quot;gkeWorkload&quot;: { # GKEWorkload represents the Google Kubernetes Engine runtime. # Output only. Google Kubernetes Engine runtime.
319 &quot;cluster&quot;: &quot;A String&quot;, # Required. Immutable. The name of the GKE cluster. Format: `projects/{project}/locations/{location}/clusters/{cluster}`.
320 &quot;deployment&quot;: &quot;A String&quot;, # Output only. The name of the GKE deployment. Format: `projects/{project}/locations/{location}/clusters/{cluster}/namespaces/{namespace}/deployments/{deployment}`.
321 },
322 &quot;googleCloudRun&quot;: { # GoogleCloudRun represents the Cloud Run runtime. # Output only. Cloud Run runtime.
323 &quot;serviceUri&quot;: &quot;A String&quot;, # Required. Immutable. The name of the Cloud Run service. Format: `projects/{project}/locations/{location}/services/{service}`.
324 },
325 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the Runtime.
326 &quot;uri&quot;: &quot;A String&quot;, # Required. Immutable. The URI of the runtime configuration. For GKE, this is the cluster name. For Cloud Run, this is the service name.
327 },
328 ],
329 &quot;state&quot;: &quot;A String&quot;, # Optional. Output only. The state of the InsightsConfig.
330 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update timestamp.
331 }</pre>
332 </div>
333
334 <div class="method">
335 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
336 <pre>Lists InsightsConfigs in a given project and location.
337
338 Args:
339 parent: string, Required. Parent value for ListInsightsConfigsRequest. (required)
340 filter: string, Optional. Filtering results. See https://google.aip.dev/160 for more details. Filter string, adhering to the rules in https://google.aip.dev/160. List only InsightsConfigs matching the filter. If filter is empty, all InsightsConfigs are listed.
341 orderBy: string, Optional. Hint for how to order the results.
342 pageSize: integer, Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
343 pageToken: string, Optional. A token identifying a page of results the server should return.
344 x__xgafv: string, V1 error format.
345 Allowed values
346 1 - v1 error format
347 2 - v2 error format
348
349 Returns:
350 An object of the form:
351
352 { # Request for response to listing InsightsConfigs.
353 &quot;insightsConfigs&quot;: [ # The list of InsightsConfigs.
354 { # 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.
355 &quot;annotations&quot;: { # Optional. User specified annotations. See https://google.aip.dev/148#annotations for more details such as format and size limitations.
356 &quot;a_key&quot;: &quot;A String&quot;,
357 },
358 &quot;appHubApplication&quot;: &quot;A String&quot;, # Optional. The name of the App Hub Application. Format: projects/{project}/locations/{location}/applications/{application}
359 &quot;artifactConfigs&quot;: [ # Optional. The artifact configurations of the artifacts that are deployed.
360 { # The artifact config of the artifact that is deployed.
361 &quot;googleArtifactAnalysis&quot;: { # Google Artifact Analysis configurations. # Optional. Set if the artifact metadata is stored in Artifact analysis.
362 &quot;projectId&quot;: &quot;A String&quot;, # Required. The project id of the project where the provenance is stored.
363 },
364 &quot;googleArtifactRegistry&quot;: { # Google Artifact Registry configurations. # Optional. Set if the artifact is stored in Artifact registry.
365 &quot;artifactRegistryPackage&quot;: &quot;A String&quot;, # Required. Immutable. The name of the artifact registry package.
366 &quot;projectId&quot;: &quot;A String&quot;, # Required. The host project of Artifact Registry.
367 },
368 &quot;uri&quot;: &quot;A String&quot;, # Required. Immutable. The URI of the artifact that is deployed. e.g. `us-docker.pkg.dev/my-project/my-repo/image`. The URI does not include the tag / digest because it captures a lineage of artifacts.
369 },
370 ],
371 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Create timestamp.
372 &quot;errors&quot;: [ # Output only. Any errors that occurred while setting up the InsightsConfig. Each error will be in the format: `field_name: error_message`, e.g. GetAppHubApplication: Permission denied while getting App Hub application. Please grant permissions to the P4SA.
373 { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).
374 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
375 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
376 {
377 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
378 },
379 ],
380 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
381 },
382 ],
383 &quot;labels&quot;: { # Optional. Set of labels associated with an InsightsConfig.
384 &quot;a_key&quot;: &quot;A String&quot;,
385 },
386 &quot;name&quot;: &quot;A String&quot;, # Identifier. The name of the InsightsConfig. Format: projects/{project}/locations/{location}/insightsConfigs/{insightsConfig}
387 &quot;projects&quot;: { # Projects represents the projects to track with the InsightsConfig. # Optional. The projects to track with the InsightsConfig.
388 &quot;projectIds&quot;: [ # Optional. The project IDs. Format: {project}
389 &quot;A String&quot;,
390 ],
391 },
392 &quot;reconciling&quot;: True or False, # Output only. Reconciling (https://google.aip.dev/128#reconciliation). Set to true if the current state of InsightsConfig does not match the user&#x27;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.
393 &quot;runtimeConfigs&quot;: [ # Output only. The runtime configurations where the application is deployed.
394 { # RuntimeConfig represents the runtimes where the application is deployed.
395 &quot;appHubService&quot;: { # AppHubService represents the App Hub Service. # Output only. App Hub Service.
396 &quot;apphubService&quot;: &quot;A String&quot;, # Required. Output only. Immutable. The name of the App Hub Service. Format: `projects/{project}/locations/{location}/applications/{application}/services/{service}`.
397 &quot;criticality&quot;: &quot;A String&quot;, # Output only. The criticality of the App Hub Service.
398 &quot;environment&quot;: &quot;A String&quot;, # Output only. The environment of the App Hub Service.
399 },
400 &quot;appHubWorkload&quot;: { # AppHubWorkload represents the App Hub Workload. # Output only. App Hub Workload.
401 &quot;criticality&quot;: &quot;A String&quot;, # Output only. The criticality of the App Hub Workload.
402 &quot;environment&quot;: &quot;A String&quot;, # Output only. The environment of the App Hub Workload.
403 &quot;workload&quot;: &quot;A String&quot;, # Required. Output only. Immutable. The name of the App Hub Workload. Format: `projects/{project}/locations/{location}/applications/{application}/workloads/{workload}`.
404 },
405 &quot;gkeWorkload&quot;: { # GKEWorkload represents the Google Kubernetes Engine runtime. # Output only. Google Kubernetes Engine runtime.
406 &quot;cluster&quot;: &quot;A String&quot;, # Required. Immutable. The name of the GKE cluster. Format: `projects/{project}/locations/{location}/clusters/{cluster}`.
407 &quot;deployment&quot;: &quot;A String&quot;, # Output only. The name of the GKE deployment. Format: `projects/{project}/locations/{location}/clusters/{cluster}/namespaces/{namespace}/deployments/{deployment}`.
408 },
409 &quot;googleCloudRun&quot;: { # GoogleCloudRun represents the Cloud Run runtime. # Output only. Cloud Run runtime.
410 &quot;serviceUri&quot;: &quot;A String&quot;, # Required. Immutable. The name of the Cloud Run service. Format: `projects/{project}/locations/{location}/services/{service}`.
411 },
412 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the Runtime.
413 &quot;uri&quot;: &quot;A String&quot;, # Required. Immutable. The URI of the runtime configuration. For GKE, this is the cluster name. For Cloud Run, this is the service name.
414 },
415 ],
416 &quot;state&quot;: &quot;A String&quot;, # Optional. Output only. The state of the InsightsConfig.
417 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update timestamp.
418 },
419 ],
420 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token identifying a page of results the server should return.
421 &quot;unreachable&quot;: [ # Locations that could not be reached.
422 &quot;A String&quot;,
423 ],
424 }</pre>
425 </div>
426
427 <div class="method">
428 <code class="details" id="list_next">list_next()</code>
429 <pre>Retrieves the next page of results.
430
431 Args:
432 previous_request: The request for the previous page. (required)
433 previous_response: The response from the request for the previous page. (required)
434
435 Returns:
436 A request object that you can call &#x27;execute()&#x27; on to request the next
437 page. Returns None if there are no more items in the collection.
438 </pre>
439 </div>
440
441 <div class="method">
442 <code class="details" id="patch">patch(name, allowMissing=None, body=None, requestId=None, validateOnly=None, x__xgafv=None)</code>
443 <pre>Updates the parameters of a single InsightsConfig.
444
445 Args:
446 name: string, Identifier. The name of the InsightsConfig. Format: projects/{project}/locations/{location}/insightsConfigs/{insightsConfig} (required)
447 body: object, The request body.
448 The object takes the form of:
449
450 { # 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.
451 &quot;annotations&quot;: { # Optional. User specified annotations. See https://google.aip.dev/148#annotations for more details such as format and size limitations.
452 &quot;a_key&quot;: &quot;A String&quot;,
453 },
454 &quot;appHubApplication&quot;: &quot;A String&quot;, # Optional. The name of the App Hub Application. Format: projects/{project}/locations/{location}/applications/{application}
455 &quot;artifactConfigs&quot;: [ # Optional. The artifact configurations of the artifacts that are deployed.
456 { # The artifact config of the artifact that is deployed.
457 &quot;googleArtifactAnalysis&quot;: { # Google Artifact Analysis configurations. # Optional. Set if the artifact metadata is stored in Artifact analysis.
458 &quot;projectId&quot;: &quot;A String&quot;, # Required. The project id of the project where the provenance is stored.
459 },
460 &quot;googleArtifactRegistry&quot;: { # Google Artifact Registry configurations. # Optional. Set if the artifact is stored in Artifact registry.
461 &quot;artifactRegistryPackage&quot;: &quot;A String&quot;, # Required. Immutable. The name of the artifact registry package.
462 &quot;projectId&quot;: &quot;A String&quot;, # Required. The host project of Artifact Registry.
463 },
464 &quot;uri&quot;: &quot;A String&quot;, # Required. Immutable. The URI of the artifact that is deployed. e.g. `us-docker.pkg.dev/my-project/my-repo/image`. The URI does not include the tag / digest because it captures a lineage of artifacts.
465 },
466 ],
467 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Create timestamp.
468 &quot;errors&quot;: [ # Output only. Any errors that occurred while setting up the InsightsConfig. Each error will be in the format: `field_name: error_message`, e.g. GetAppHubApplication: Permission denied while getting App Hub application. Please grant permissions to the P4SA.
469 { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).
470 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
471 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
472 {
473 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
474 },
475 ],
476 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
477 },
478 ],
479 &quot;labels&quot;: { # Optional. Set of labels associated with an InsightsConfig.
480 &quot;a_key&quot;: &quot;A String&quot;,
481 },
482 &quot;name&quot;: &quot;A String&quot;, # Identifier. The name of the InsightsConfig. Format: projects/{project}/locations/{location}/insightsConfigs/{insightsConfig}
483 &quot;projects&quot;: { # Projects represents the projects to track with the InsightsConfig. # Optional. The projects to track with the InsightsConfig.
484 &quot;projectIds&quot;: [ # Optional. The project IDs. Format: {project}
485 &quot;A String&quot;,
486 ],
487 },
488 &quot;reconciling&quot;: True or False, # Output only. Reconciling (https://google.aip.dev/128#reconciliation). Set to true if the current state of InsightsConfig does not match the user&#x27;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.
489 &quot;runtimeConfigs&quot;: [ # Output only. The runtime configurations where the application is deployed.
490 { # RuntimeConfig represents the runtimes where the application is deployed.
491 &quot;appHubService&quot;: { # AppHubService represents the App Hub Service. # Output only. App Hub Service.
492 &quot;apphubService&quot;: &quot;A String&quot;, # Required. Output only. Immutable. The name of the App Hub Service. Format: `projects/{project}/locations/{location}/applications/{application}/services/{service}`.
493 &quot;criticality&quot;: &quot;A String&quot;, # Output only. The criticality of the App Hub Service.
494 &quot;environment&quot;: &quot;A String&quot;, # Output only. The environment of the App Hub Service.
495 },
496 &quot;appHubWorkload&quot;: { # AppHubWorkload represents the App Hub Workload. # Output only. App Hub Workload.
497 &quot;criticality&quot;: &quot;A String&quot;, # Output only. The criticality of the App Hub Workload.
498 &quot;environment&quot;: &quot;A String&quot;, # Output only. The environment of the App Hub Workload.
499 &quot;workload&quot;: &quot;A String&quot;, # Required. Output only. Immutable. The name of the App Hub Workload. Format: `projects/{project}/locations/{location}/applications/{application}/workloads/{workload}`.
500 },
501 &quot;gkeWorkload&quot;: { # GKEWorkload represents the Google Kubernetes Engine runtime. # Output only. Google Kubernetes Engine runtime.
502 &quot;cluster&quot;: &quot;A String&quot;, # Required. Immutable. The name of the GKE cluster. Format: `projects/{project}/locations/{location}/clusters/{cluster}`.
503 &quot;deployment&quot;: &quot;A String&quot;, # Output only. The name of the GKE deployment. Format: `projects/{project}/locations/{location}/clusters/{cluster}/namespaces/{namespace}/deployments/{deployment}`.
504 },
505 &quot;googleCloudRun&quot;: { # GoogleCloudRun represents the Cloud Run runtime. # Output only. Cloud Run runtime.
506 &quot;serviceUri&quot;: &quot;A String&quot;, # Required. Immutable. The name of the Cloud Run service. Format: `projects/{project}/locations/{location}/services/{service}`.
507 },
508 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the Runtime.
509 &quot;uri&quot;: &quot;A String&quot;, # Required. Immutable. The URI of the runtime configuration. For GKE, this is the cluster name. For Cloud Run, this is the service name.
510 },
511 ],
512 &quot;state&quot;: &quot;A String&quot;, # Optional. Output only. The state of the InsightsConfig.
513 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update timestamp.
514 }
515
516 allowMissing: boolean, Optional. If set to true, and the insightsConfig is not found a new insightsConfig will be created. In this situation `update_mask` is ignored. The creation will succeed only if the input insightsConfig has all the necessary information (e.g a github_config with both user_oauth_token and installation_id properties).
517 requestId: string, Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
518 validateOnly: boolean, Optional. If set, validate the request, but do not actually post it.
519 x__xgafv: string, V1 error format.
520 Allowed values
521 1 - v1 error format
522 2 - v2 error format
523
524 Returns:
525 An object of the form:
526
527 { # This resource represents a long-running operation that is the result of a network API call.
528 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
529 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
530 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
531 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
532 {
533 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
534 },
535 ],
536 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
537 },
538 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
539 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
540 },
541 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
542 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
543 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
544 },
545 }</pre>
546 </div>
547
548 </body></html>