Debian Codegraph @

docs/dyn/apigee_v1.organizations.appgroups.apps.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="apigee_v1.html">Apigee API</a> . <a href="apigee_v1.organizations.html">organizations</a> . <a href="apigee_v1.organizations.appgroups.html">appgroups</a> . <a href="apigee_v1.organizations.appgroups.apps.html">apps</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="apigee_v1.organizations.appgroups.apps.keys.html">keys()</a></code>
79 </p>
80 <p class="firstline">Returns the keys 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, x__xgafv=None)</a></code></p>
87 <p class="firstline">Creates an app and associates it with an AppGroup. This API associates the AppGroup app with the specified API product and auto-generates an API key for the app to use in calls to API proxies inside that API product. The `name` is the unique ID of the app that you can use in API calls.</p>
88 <p class="toc_element">
89 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
90 <p class="firstline">Deletes an AppGroup app. **Note**: The delete operation is asynchronous. The AppGroup app is deleted immediately, but its associated resources, such as app keys or access tokens, may take anywhere from a few seconds to a few minutes to be deleted.</p>
91 <p class="toc_element">
92 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
93 <p class="firstline">Returns the details for an AppGroup app.</p>
94 <p class="toc_element">
95 <code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
96 <p class="firstline">Lists all apps created by an AppGroup in an Apigee organization. Optionally, you can request an expanded view of the AppGroup apps. Lists all AppGroupApps in an AppGroup. A maximum of 1000 AppGroup apps are returned in the response if PageSize is not specified, or if the PageSize is greater than 1000.</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="#update">update(name, action=None, body=None, x__xgafv=None)</a></code></p>
102 <p class="firstline">Updates the details for an AppGroup app. In addition, you can add an API product to an AppGroup app and automatically generate an API key for the app to use when calling APIs in the API product. If you want to use an existing API key for the API product, add the API product to the API key using the UpdateAppGroupAppKey API. Using this API, you cannot update the app name, as it is the primary key used to identify the app and cannot be changed. This API replaces the existing attributes with those specified in the request. Include or exclude any existing attributes that you want to retain or delete, respectively. **Note:** We recommend that you avoid making concurrent update requests for the same resource. Near-simultaneous writes to the same entity can result in conflicts and unexpected behavior. Ensure operations are sequential when modifying a single resource.</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, x__xgafv=None)</code>
111 <pre>Creates an app and associates it with an AppGroup. This API associates the AppGroup app with the specified API product and auto-generates an API key for the app to use in calls to API proxies inside that API product. The `name` is the unique ID of the app that you can use in API calls.
112
113 Args:
114 parent: string, Required. Name of the AppGroup. Use the following structure in your request: `organizations/{org}/appgroups/{app_group_name}` (required)
115 body: object, The request body.
116 The object takes the form of:
117
118 { # Response for [GetAppGroupApp].[AppGroupApps.GetAppGroupApp], [CreateAppGroupAppRequest].[AppGroupApp.CreateAppGroupAppRequest] and [DeleteAppGroupApp].[AppGroupApp.DeleteAppGroupApp]
119 &quot;apiProducts&quot;: [ # List of API products associated with the AppGroup app.
120 &quot;A String&quot;,
121 ],
122 &quot;appGroup&quot;: &quot;A String&quot;, # Immutable. Name of the parent AppGroup whose resource name format is of syntax (organizations/*/appgroups/*).
123 &quot;appId&quot;: &quot;A String&quot;, # Immutable. ID of the AppGroup app.
124 &quot;attributes&quot;: [ # List of attributes for the AppGroup app.
125 { # Key-value pair to store extra metadata.
126 &quot;name&quot;: &quot;A String&quot;, # API key of the attribute.
127 &quot;value&quot;: &quot;A String&quot;, # Value of the attribute.
128 },
129 ],
130 &quot;callbackUrl&quot;: &quot;A String&quot;, # Callback URL used by OAuth 2.0 authorization servers to communicate authorization codes back to AppGroup apps.
131 &quot;createdAt&quot;: &quot;A String&quot;, # Output only. Time the AppGroup app was created in milliseconds since epoch.
132 &quot;credentials&quot;: [ # Output only. Set of credentials for the AppGroup app consisting of the consumer key/secret pairs associated with the API products.
133 {
134 &quot;apiProducts&quot;: [ # List of API products this credential can be used for.
135 {
136 &quot;apiproduct&quot;: &quot;A String&quot;, # Name of the API product.
137 &quot;status&quot;: &quot;A String&quot;, # Status of the API product. Valid values are `approved` or `revoked`.
138 },
139 ],
140 &quot;attributes&quot;: [ # List of attributes associated with this credential.
141 { # Key-value pair to store extra metadata.
142 &quot;name&quot;: &quot;A String&quot;, # API key of the attribute.
143 &quot;value&quot;: &quot;A String&quot;, # Value of the attribute.
144 },
145 ],
146 &quot;consumerKey&quot;: &quot;A String&quot;, # Consumer key.
147 &quot;consumerSecret&quot;: &quot;A String&quot;, # Secret key.
148 &quot;expiresAt&quot;: &quot;A String&quot;, # Time the credential will expire in milliseconds since epoch.
149 &quot;issuedAt&quot;: &quot;A String&quot;, # Time the credential was issued in milliseconds since epoch.
150 &quot;scopes&quot;: [ # List of scopes to apply to the app. Specified scopes must already exist on the API product that you associate with the app.
151 &quot;A String&quot;,
152 ],
153 &quot;status&quot;: &quot;A String&quot;, # Status of the credential. Valid values include `approved` or `revoked`.
154 },
155 ],
156 &quot;keyExpiresIn&quot;: &quot;A String&quot;, # Immutable. Expiration time, in seconds, for the consumer key that is generated for the AppGroup app. If not set or left to the default value of `-1`, the API key never expires. The expiration time can&#x27;t be updated after it is set.
157 &quot;lastModifiedAt&quot;: &quot;A String&quot;, # Output only. Time the AppGroup app was modified in milliseconds since epoch.
158 &quot;name&quot;: &quot;A String&quot;, # Immutable. Name of the AppGroup app whose resource name format is of syntax (organizations/*/appgroups/*/apps/*).
159 &quot;scopes&quot;: [ # Scopes to apply to the AppGroup app. The specified scopes must already exist for the API product that you associate with the AppGroup app.
160 &quot;A String&quot;,
161 ],
162 &quot;status&quot;: &quot;A String&quot;, # Status of the App. Valid values include `approved` or `revoked`.
163 }
164
165 x__xgafv: string, V1 error format.
166 Allowed values
167 1 - v1 error format
168 2 - v2 error format
169
170 Returns:
171 An object of the form:
172
173 { # Response for [GetAppGroupApp].[AppGroupApps.GetAppGroupApp], [CreateAppGroupAppRequest].[AppGroupApp.CreateAppGroupAppRequest] and [DeleteAppGroupApp].[AppGroupApp.DeleteAppGroupApp]
174 &quot;apiProducts&quot;: [ # List of API products associated with the AppGroup app.
175 &quot;A String&quot;,
176 ],
177 &quot;appGroup&quot;: &quot;A String&quot;, # Immutable. Name of the parent AppGroup whose resource name format is of syntax (organizations/*/appgroups/*).
178 &quot;appId&quot;: &quot;A String&quot;, # Immutable. ID of the AppGroup app.
179 &quot;attributes&quot;: [ # List of attributes for the AppGroup app.
180 { # Key-value pair to store extra metadata.
181 &quot;name&quot;: &quot;A String&quot;, # API key of the attribute.
182 &quot;value&quot;: &quot;A String&quot;, # Value of the attribute.
183 },
184 ],
185 &quot;callbackUrl&quot;: &quot;A String&quot;, # Callback URL used by OAuth 2.0 authorization servers to communicate authorization codes back to AppGroup apps.
186 &quot;createdAt&quot;: &quot;A String&quot;, # Output only. Time the AppGroup app was created in milliseconds since epoch.
187 &quot;credentials&quot;: [ # Output only. Set of credentials for the AppGroup app consisting of the consumer key/secret pairs associated with the API products.
188 {
189 &quot;apiProducts&quot;: [ # List of API products this credential can be used for.
190 {
191 &quot;apiproduct&quot;: &quot;A String&quot;, # Name of the API product.
192 &quot;status&quot;: &quot;A String&quot;, # Status of the API product. Valid values are `approved` or `revoked`.
193 },
194 ],
195 &quot;attributes&quot;: [ # List of attributes associated with this credential.
196 { # Key-value pair to store extra metadata.
197 &quot;name&quot;: &quot;A String&quot;, # API key of the attribute.
198 &quot;value&quot;: &quot;A String&quot;, # Value of the attribute.
199 },
200 ],
201 &quot;consumerKey&quot;: &quot;A String&quot;, # Consumer key.
202 &quot;consumerSecret&quot;: &quot;A String&quot;, # Secret key.
203 &quot;expiresAt&quot;: &quot;A String&quot;, # Time the credential will expire in milliseconds since epoch.
204 &quot;issuedAt&quot;: &quot;A String&quot;, # Time the credential was issued in milliseconds since epoch.
205 &quot;scopes&quot;: [ # List of scopes to apply to the app. Specified scopes must already exist on the API product that you associate with the app.
206 &quot;A String&quot;,
207 ],
208 &quot;status&quot;: &quot;A String&quot;, # Status of the credential. Valid values include `approved` or `revoked`.
209 },
210 ],
211 &quot;keyExpiresIn&quot;: &quot;A String&quot;, # Immutable. Expiration time, in seconds, for the consumer key that is generated for the AppGroup app. If not set or left to the default value of `-1`, the API key never expires. The expiration time can&#x27;t be updated after it is set.
212 &quot;lastModifiedAt&quot;: &quot;A String&quot;, # Output only. Time the AppGroup app was modified in milliseconds since epoch.
213 &quot;name&quot;: &quot;A String&quot;, # Immutable. Name of the AppGroup app whose resource name format is of syntax (organizations/*/appgroups/*/apps/*).
214 &quot;scopes&quot;: [ # Scopes to apply to the AppGroup app. The specified scopes must already exist for the API product that you associate with the AppGroup app.
215 &quot;A String&quot;,
216 ],
217 &quot;status&quot;: &quot;A String&quot;, # Status of the App. Valid values include `approved` or `revoked`.
218 }</pre>
219 </div>
220
221 <div class="method">
222 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
223 <pre>Deletes an AppGroup app. **Note**: The delete operation is asynchronous. The AppGroup app is deleted immediately, but its associated resources, such as app keys or access tokens, may take anywhere from a few seconds to a few minutes to be deleted.
224
225 Args:
226 name: string, Required. Name of the AppGroup app. Use the following structure in your request: `organizations/{org}/appgroups/{app_group_name}/apps/{app}` (required)
227 x__xgafv: string, V1 error format.
228 Allowed values
229 1 - v1 error format
230 2 - v2 error format
231
232 Returns:
233 An object of the form:
234
235 { # Response for [GetAppGroupApp].[AppGroupApps.GetAppGroupApp], [CreateAppGroupAppRequest].[AppGroupApp.CreateAppGroupAppRequest] and [DeleteAppGroupApp].[AppGroupApp.DeleteAppGroupApp]
236 &quot;apiProducts&quot;: [ # List of API products associated with the AppGroup app.
237 &quot;A String&quot;,
238 ],
239 &quot;appGroup&quot;: &quot;A String&quot;, # Immutable. Name of the parent AppGroup whose resource name format is of syntax (organizations/*/appgroups/*).
240 &quot;appId&quot;: &quot;A String&quot;, # Immutable. ID of the AppGroup app.
241 &quot;attributes&quot;: [ # List of attributes for the AppGroup app.
242 { # Key-value pair to store extra metadata.
243 &quot;name&quot;: &quot;A String&quot;, # API key of the attribute.
244 &quot;value&quot;: &quot;A String&quot;, # Value of the attribute.
245 },
246 ],
247 &quot;callbackUrl&quot;: &quot;A String&quot;, # Callback URL used by OAuth 2.0 authorization servers to communicate authorization codes back to AppGroup apps.
248 &quot;createdAt&quot;: &quot;A String&quot;, # Output only. Time the AppGroup app was created in milliseconds since epoch.
249 &quot;credentials&quot;: [ # Output only. Set of credentials for the AppGroup app consisting of the consumer key/secret pairs associated with the API products.
250 {
251 &quot;apiProducts&quot;: [ # List of API products this credential can be used for.
252 {
253 &quot;apiproduct&quot;: &quot;A String&quot;, # Name of the API product.
254 &quot;status&quot;: &quot;A String&quot;, # Status of the API product. Valid values are `approved` or `revoked`.
255 },
256 ],
257 &quot;attributes&quot;: [ # List of attributes associated with this credential.
258 { # Key-value pair to store extra metadata.
259 &quot;name&quot;: &quot;A String&quot;, # API key of the attribute.
260 &quot;value&quot;: &quot;A String&quot;, # Value of the attribute.
261 },
262 ],
263 &quot;consumerKey&quot;: &quot;A String&quot;, # Consumer key.
264 &quot;consumerSecret&quot;: &quot;A String&quot;, # Secret key.
265 &quot;expiresAt&quot;: &quot;A String&quot;, # Time the credential will expire in milliseconds since epoch.
266 &quot;issuedAt&quot;: &quot;A String&quot;, # Time the credential was issued in milliseconds since epoch.
267 &quot;scopes&quot;: [ # List of scopes to apply to the app. Specified scopes must already exist on the API product that you associate with the app.
268 &quot;A String&quot;,
269 ],
270 &quot;status&quot;: &quot;A String&quot;, # Status of the credential. Valid values include `approved` or `revoked`.
271 },
272 ],
273 &quot;keyExpiresIn&quot;: &quot;A String&quot;, # Immutable. Expiration time, in seconds, for the consumer key that is generated for the AppGroup app. If not set or left to the default value of `-1`, the API key never expires. The expiration time can&#x27;t be updated after it is set.
274 &quot;lastModifiedAt&quot;: &quot;A String&quot;, # Output only. Time the AppGroup app was modified in milliseconds since epoch.
275 &quot;name&quot;: &quot;A String&quot;, # Immutable. Name of the AppGroup app whose resource name format is of syntax (organizations/*/appgroups/*/apps/*).
276 &quot;scopes&quot;: [ # Scopes to apply to the AppGroup app. The specified scopes must already exist for the API product that you associate with the AppGroup app.
277 &quot;A String&quot;,
278 ],
279 &quot;status&quot;: &quot;A String&quot;, # Status of the App. Valid values include `approved` or `revoked`.
280 }</pre>
281 </div>
282
283 <div class="method">
284 <code class="details" id="get">get(name, x__xgafv=None)</code>
285 <pre>Returns the details for an AppGroup app.
286
287 Args:
288 name: string, Required. Name of the AppGroup app. Use the following structure in your request: `organizations/{org}/appgroups/{app_group_name}/apps/{app}` (required)
289 x__xgafv: string, V1 error format.
290 Allowed values
291 1 - v1 error format
292 2 - v2 error format
293
294 Returns:
295 An object of the form:
296
297 { # Response for [GetAppGroupApp].[AppGroupApps.GetAppGroupApp], [CreateAppGroupAppRequest].[AppGroupApp.CreateAppGroupAppRequest] and [DeleteAppGroupApp].[AppGroupApp.DeleteAppGroupApp]
298 &quot;apiProducts&quot;: [ # List of API products associated with the AppGroup app.
299 &quot;A String&quot;,
300 ],
301 &quot;appGroup&quot;: &quot;A String&quot;, # Immutable. Name of the parent AppGroup whose resource name format is of syntax (organizations/*/appgroups/*).
302 &quot;appId&quot;: &quot;A String&quot;, # Immutable. ID of the AppGroup app.
303 &quot;attributes&quot;: [ # List of attributes for the AppGroup app.
304 { # Key-value pair to store extra metadata.
305 &quot;name&quot;: &quot;A String&quot;, # API key of the attribute.
306 &quot;value&quot;: &quot;A String&quot;, # Value of the attribute.
307 },
308 ],
309 &quot;callbackUrl&quot;: &quot;A String&quot;, # Callback URL used by OAuth 2.0 authorization servers to communicate authorization codes back to AppGroup apps.
310 &quot;createdAt&quot;: &quot;A String&quot;, # Output only. Time the AppGroup app was created in milliseconds since epoch.
311 &quot;credentials&quot;: [ # Output only. Set of credentials for the AppGroup app consisting of the consumer key/secret pairs associated with the API products.
312 {
313 &quot;apiProducts&quot;: [ # List of API products this credential can be used for.
314 {
315 &quot;apiproduct&quot;: &quot;A String&quot;, # Name of the API product.
316 &quot;status&quot;: &quot;A String&quot;, # Status of the API product. Valid values are `approved` or `revoked`.
317 },
318 ],
319 &quot;attributes&quot;: [ # List of attributes associated with this credential.
320 { # Key-value pair to store extra metadata.
321 &quot;name&quot;: &quot;A String&quot;, # API key of the attribute.
322 &quot;value&quot;: &quot;A String&quot;, # Value of the attribute.
323 },
324 ],
325 &quot;consumerKey&quot;: &quot;A String&quot;, # Consumer key.
326 &quot;consumerSecret&quot;: &quot;A String&quot;, # Secret key.
327 &quot;expiresAt&quot;: &quot;A String&quot;, # Time the credential will expire in milliseconds since epoch.
328 &quot;issuedAt&quot;: &quot;A String&quot;, # Time the credential was issued in milliseconds since epoch.
329 &quot;scopes&quot;: [ # List of scopes to apply to the app. Specified scopes must already exist on the API product that you associate with the app.
330 &quot;A String&quot;,
331 ],
332 &quot;status&quot;: &quot;A String&quot;, # Status of the credential. Valid values include `approved` or `revoked`.
333 },
334 ],
335 &quot;keyExpiresIn&quot;: &quot;A String&quot;, # Immutable. Expiration time, in seconds, for the consumer key that is generated for the AppGroup app. If not set or left to the default value of `-1`, the API key never expires. The expiration time can&#x27;t be updated after it is set.
336 &quot;lastModifiedAt&quot;: &quot;A String&quot;, # Output only. Time the AppGroup app was modified in milliseconds since epoch.
337 &quot;name&quot;: &quot;A String&quot;, # Immutable. Name of the AppGroup app whose resource name format is of syntax (organizations/*/appgroups/*/apps/*).
338 &quot;scopes&quot;: [ # Scopes to apply to the AppGroup app. The specified scopes must already exist for the API product that you associate with the AppGroup app.
339 &quot;A String&quot;,
340 ],
341 &quot;status&quot;: &quot;A String&quot;, # Status of the App. Valid values include `approved` or `revoked`.
342 }</pre>
343 </div>
344
345 <div class="method">
346 <code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
347 <pre>Lists all apps created by an AppGroup in an Apigee organization. Optionally, you can request an expanded view of the AppGroup apps. Lists all AppGroupApps in an AppGroup. A maximum of 1000 AppGroup apps are returned in the response if PageSize is not specified, or if the PageSize is greater than 1000.
348
349 Args:
350 parent: string, Required. Name of the AppGroup. Use the following structure in your request: `organizations/{org}/appgroups/{app_group_name}` (required)
351 pageSize: integer, Optional. Maximum number entries to return. If unspecified, at most 1000 entries will be returned.
352 pageToken: string, Optional. Page token. If provides, must be a valid AppGroup app returned from a previous call that can be used to retrieve the next page.
353 x__xgafv: string, V1 error format.
354 Allowed values
355 1 - v1 error format
356 2 - v2 error format
357
358 Returns:
359 An object of the form:
360
361 { # Response for ListAppGroupApps
362 &quot;appGroupApps&quot;: [ # List of AppGroup apps and their credentials.
363 { # Response for [GetAppGroupApp].[AppGroupApps.GetAppGroupApp], [CreateAppGroupAppRequest].[AppGroupApp.CreateAppGroupAppRequest] and [DeleteAppGroupApp].[AppGroupApp.DeleteAppGroupApp]
364 &quot;apiProducts&quot;: [ # List of API products associated with the AppGroup app.
365 &quot;A String&quot;,
366 ],
367 &quot;appGroup&quot;: &quot;A String&quot;, # Immutable. Name of the parent AppGroup whose resource name format is of syntax (organizations/*/appgroups/*).
368 &quot;appId&quot;: &quot;A String&quot;, # Immutable. ID of the AppGroup app.
369 &quot;attributes&quot;: [ # List of attributes for the AppGroup app.
370 { # Key-value pair to store extra metadata.
371 &quot;name&quot;: &quot;A String&quot;, # API key of the attribute.
372 &quot;value&quot;: &quot;A String&quot;, # Value of the attribute.
373 },
374 ],
375 &quot;callbackUrl&quot;: &quot;A String&quot;, # Callback URL used by OAuth 2.0 authorization servers to communicate authorization codes back to AppGroup apps.
376 &quot;createdAt&quot;: &quot;A String&quot;, # Output only. Time the AppGroup app was created in milliseconds since epoch.
377 &quot;credentials&quot;: [ # Output only. Set of credentials for the AppGroup app consisting of the consumer key/secret pairs associated with the API products.
378 {
379 &quot;apiProducts&quot;: [ # List of API products this credential can be used for.
380 {
381 &quot;apiproduct&quot;: &quot;A String&quot;, # Name of the API product.
382 &quot;status&quot;: &quot;A String&quot;, # Status of the API product. Valid values are `approved` or `revoked`.
383 },
384 ],
385 &quot;attributes&quot;: [ # List of attributes associated with this credential.
386 { # Key-value pair to store extra metadata.
387 &quot;name&quot;: &quot;A String&quot;, # API key of the attribute.
388 &quot;value&quot;: &quot;A String&quot;, # Value of the attribute.
389 },
390 ],
391 &quot;consumerKey&quot;: &quot;A String&quot;, # Consumer key.
392 &quot;consumerSecret&quot;: &quot;A String&quot;, # Secret key.
393 &quot;expiresAt&quot;: &quot;A String&quot;, # Time the credential will expire in milliseconds since epoch.
394 &quot;issuedAt&quot;: &quot;A String&quot;, # Time the credential was issued in milliseconds since epoch.
395 &quot;scopes&quot;: [ # List of scopes to apply to the app. Specified scopes must already exist on the API product that you associate with the app.
396 &quot;A String&quot;,
397 ],
398 &quot;status&quot;: &quot;A String&quot;, # Status of the credential. Valid values include `approved` or `revoked`.
399 },
400 ],
401 &quot;keyExpiresIn&quot;: &quot;A String&quot;, # Immutable. Expiration time, in seconds, for the consumer key that is generated for the AppGroup app. If not set or left to the default value of `-1`, the API key never expires. The expiration time can&#x27;t be updated after it is set.
402 &quot;lastModifiedAt&quot;: &quot;A String&quot;, # Output only. Time the AppGroup app was modified in milliseconds since epoch.
403 &quot;name&quot;: &quot;A String&quot;, # Immutable. Name of the AppGroup app whose resource name format is of syntax (organizations/*/appgroups/*/apps/*).
404 &quot;scopes&quot;: [ # Scopes to apply to the AppGroup app. The specified scopes must already exist for the API product that you associate with the AppGroup app.
405 &quot;A String&quot;,
406 ],
407 &quot;status&quot;: &quot;A String&quot;, # Status of the App. Valid values include `approved` or `revoked`.
408 },
409 ],
410 &quot;nextPageToken&quot;: &quot;A String&quot;, # Token that can be sent as `next_page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
411 }</pre>
412 </div>
413
414 <div class="method">
415 <code class="details" id="list_next">list_next()</code>
416 <pre>Retrieves the next page of results.
417
418 Args:
419 previous_request: The request for the previous page. (required)
420 previous_response: The response from the request for the previous page. (required)
421
422 Returns:
423 A request object that you can call &#x27;execute()&#x27; on to request the next
424 page. Returns None if there are no more items in the collection.
425 </pre>
426 </div>
427
428 <div class="method">
429 <code class="details" id="update">update(name, action=None, body=None, x__xgafv=None)</code>
430 <pre>Updates the details for an AppGroup app. In addition, you can add an API product to an AppGroup app and automatically generate an API key for the app to use when calling APIs in the API product. If you want to use an existing API key for the API product, add the API product to the API key using the UpdateAppGroupAppKey API. Using this API, you cannot update the app name, as it is the primary key used to identify the app and cannot be changed. This API replaces the existing attributes with those specified in the request. Include or exclude any existing attributes that you want to retain or delete, respectively. **Note:** We recommend that you avoid making concurrent update requests for the same resource. Near-simultaneous writes to the same entity can result in conflicts and unexpected behavior. Ensure operations are sequential when modifying a single resource.
431
432 Args:
433 name: string, Required. Name of the AppGroup app. Use the following structure in your request: `organizations/{org}/appgroups/{app_group_name}/apps/{app}` (required)
434 body: object, The request body.
435 The object takes the form of:
436
437 { # Response for [GetAppGroupApp].[AppGroupApps.GetAppGroupApp], [CreateAppGroupAppRequest].[AppGroupApp.CreateAppGroupAppRequest] and [DeleteAppGroupApp].[AppGroupApp.DeleteAppGroupApp]
438 &quot;apiProducts&quot;: [ # List of API products associated with the AppGroup app.
439 &quot;A String&quot;,
440 ],
441 &quot;appGroup&quot;: &quot;A String&quot;, # Immutable. Name of the parent AppGroup whose resource name format is of syntax (organizations/*/appgroups/*).
442 &quot;appId&quot;: &quot;A String&quot;, # Immutable. ID of the AppGroup app.
443 &quot;attributes&quot;: [ # List of attributes for the AppGroup app.
444 { # Key-value pair to store extra metadata.
445 &quot;name&quot;: &quot;A String&quot;, # API key of the attribute.
446 &quot;value&quot;: &quot;A String&quot;, # Value of the attribute.
447 },
448 ],
449 &quot;callbackUrl&quot;: &quot;A String&quot;, # Callback URL used by OAuth 2.0 authorization servers to communicate authorization codes back to AppGroup apps.
450 &quot;createdAt&quot;: &quot;A String&quot;, # Output only. Time the AppGroup app was created in milliseconds since epoch.
451 &quot;credentials&quot;: [ # Output only. Set of credentials for the AppGroup app consisting of the consumer key/secret pairs associated with the API products.
452 {
453 &quot;apiProducts&quot;: [ # List of API products this credential can be used for.
454 {
455 &quot;apiproduct&quot;: &quot;A String&quot;, # Name of the API product.
456 &quot;status&quot;: &quot;A String&quot;, # Status of the API product. Valid values are `approved` or `revoked`.
457 },
458 ],
459 &quot;attributes&quot;: [ # List of attributes associated with this credential.
460 { # Key-value pair to store extra metadata.
461 &quot;name&quot;: &quot;A String&quot;, # API key of the attribute.
462 &quot;value&quot;: &quot;A String&quot;, # Value of the attribute.
463 },
464 ],
465 &quot;consumerKey&quot;: &quot;A String&quot;, # Consumer key.
466 &quot;consumerSecret&quot;: &quot;A String&quot;, # Secret key.
467 &quot;expiresAt&quot;: &quot;A String&quot;, # Time the credential will expire in milliseconds since epoch.
468 &quot;issuedAt&quot;: &quot;A String&quot;, # Time the credential was issued in milliseconds since epoch.
469 &quot;scopes&quot;: [ # List of scopes to apply to the app. Specified scopes must already exist on the API product that you associate with the app.
470 &quot;A String&quot;,
471 ],
472 &quot;status&quot;: &quot;A String&quot;, # Status of the credential. Valid values include `approved` or `revoked`.
473 },
474 ],
475 &quot;keyExpiresIn&quot;: &quot;A String&quot;, # Immutable. Expiration time, in seconds, for the consumer key that is generated for the AppGroup app. If not set or left to the default value of `-1`, the API key never expires. The expiration time can&#x27;t be updated after it is set.
476 &quot;lastModifiedAt&quot;: &quot;A String&quot;, # Output only. Time the AppGroup app was modified in milliseconds since epoch.
477 &quot;name&quot;: &quot;A String&quot;, # Immutable. Name of the AppGroup app whose resource name format is of syntax (organizations/*/appgroups/*/apps/*).
478 &quot;scopes&quot;: [ # Scopes to apply to the AppGroup app. The specified scopes must already exist for the API product that you associate with the AppGroup app.
479 &quot;A String&quot;,
480 ],
481 &quot;status&quot;: &quot;A String&quot;, # Status of the App. Valid values include `approved` or `revoked`.
482 }
483
484 action: string, Approve or revoke the consumer key by setting this value to `approve` or `revoke`. The `Content-Type` header must be set to `application/octet-stream`, with empty body.
485 x__xgafv: string, V1 error format.
486 Allowed values
487 1 - v1 error format
488 2 - v2 error format
489
490 Returns:
491 An object of the form:
492
493 { # Response for [GetAppGroupApp].[AppGroupApps.GetAppGroupApp], [CreateAppGroupAppRequest].[AppGroupApp.CreateAppGroupAppRequest] and [DeleteAppGroupApp].[AppGroupApp.DeleteAppGroupApp]
494 &quot;apiProducts&quot;: [ # List of API products associated with the AppGroup app.
495 &quot;A String&quot;,
496 ],
497 &quot;appGroup&quot;: &quot;A String&quot;, # Immutable. Name of the parent AppGroup whose resource name format is of syntax (organizations/*/appgroups/*).
498 &quot;appId&quot;: &quot;A String&quot;, # Immutable. ID of the AppGroup app.
499 &quot;attributes&quot;: [ # List of attributes for the AppGroup app.
500 { # Key-value pair to store extra metadata.
501 &quot;name&quot;: &quot;A String&quot;, # API key of the attribute.
502 &quot;value&quot;: &quot;A String&quot;, # Value of the attribute.
503 },
504 ],
505 &quot;callbackUrl&quot;: &quot;A String&quot;, # Callback URL used by OAuth 2.0 authorization servers to communicate authorization codes back to AppGroup apps.
506 &quot;createdAt&quot;: &quot;A String&quot;, # Output only. Time the AppGroup app was created in milliseconds since epoch.
507 &quot;credentials&quot;: [ # Output only. Set of credentials for the AppGroup app consisting of the consumer key/secret pairs associated with the API products.
508 {
509 &quot;apiProducts&quot;: [ # List of API products this credential can be used for.
510 {
511 &quot;apiproduct&quot;: &quot;A String&quot;, # Name of the API product.
512 &quot;status&quot;: &quot;A String&quot;, # Status of the API product. Valid values are `approved` or `revoked`.
513 },
514 ],
515 &quot;attributes&quot;: [ # List of attributes associated with this credential.
516 { # Key-value pair to store extra metadata.
517 &quot;name&quot;: &quot;A String&quot;, # API key of the attribute.
518 &quot;value&quot;: &quot;A String&quot;, # Value of the attribute.
519 },
520 ],
521 &quot;consumerKey&quot;: &quot;A String&quot;, # Consumer key.
522 &quot;consumerSecret&quot;: &quot;A String&quot;, # Secret key.
523 &quot;expiresAt&quot;: &quot;A String&quot;, # Time the credential will expire in milliseconds since epoch.
524 &quot;issuedAt&quot;: &quot;A String&quot;, # Time the credential was issued in milliseconds since epoch.
525 &quot;scopes&quot;: [ # List of scopes to apply to the app. Specified scopes must already exist on the API product that you associate with the app.
526 &quot;A String&quot;,
527 ],
528 &quot;status&quot;: &quot;A String&quot;, # Status of the credential. Valid values include `approved` or `revoked`.
529 },
530 ],
531 &quot;keyExpiresIn&quot;: &quot;A String&quot;, # Immutable. Expiration time, in seconds, for the consumer key that is generated for the AppGroup app. If not set or left to the default value of `-1`, the API key never expires. The expiration time can&#x27;t be updated after it is set.
532 &quot;lastModifiedAt&quot;: &quot;A String&quot;, # Output only. Time the AppGroup app was modified in milliseconds since epoch.
533 &quot;name&quot;: &quot;A String&quot;, # Immutable. Name of the AppGroup app whose resource name format is of syntax (organizations/*/appgroups/*/apps/*).
534 &quot;scopes&quot;: [ # Scopes to apply to the AppGroup app. The specified scopes must already exist for the API product that you associate with the AppGroup app.
535 &quot;A String&quot;,
536 ],
537 &quot;status&quot;: &quot;A String&quot;, # Status of the App. Valid values include `approved` or `revoked`.
538 }</pre>
539 </div>
540
541 </body></html>