Debian Codegraph @

docs/dyn/apihub_v1.projects.locations.deployments.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="apihub_v1.html">API hub API</a> . <a href="apihub_v1.projects.html">projects</a> . <a href="apihub_v1.projects.locations.html">locations</a> . <a href="apihub_v1.projects.locations.deployments.html">deployments</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#close">close()</a></code></p>
79 <p class="firstline">Close httplib2 connections.</p>
80 <p class="toc_element">
81 <code><a href="#create">create(parent, body=None, deploymentId=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Create a deployment resource in the API hub. Once a deployment resource is created, it can be associated with API versions.</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
85 <p class="firstline">Delete a deployment resource in the API hub.</p>
86 <p class="toc_element">
87 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
88 <p class="firstline">Get details about a deployment and the API versions linked to it.</p>
89 <p class="toc_element">
90 <code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">List deployment resources in the API hub.</p>
92 <p class="toc_element">
93 <code><a href="#list_next">list_next()</a></code></p>
94 <p class="firstline">Retrieves the next page of results.</p>
95 <p class="toc_element">
96 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
97 <p class="firstline">Update a deployment resource in the API hub. The following fields in the deployment resource can be updated: * display_name * description * documentation * deployment_type * resource_uri * endpoints * slo * environment * attributes * source_project * source_environment * management_url * source_uri The update_mask should be used to specify the fields being updated.</p>
98 <h3>Method Details</h3>
99 <div class="method">
100 <code class="details" id="close">close()</code>
101 <pre>Close httplib2 connections.</pre>
102 </div>
103
104 <div class="method">
105 <code class="details" id="create">create(parent, body=None, deploymentId=None, x__xgafv=None)</code>
106 <pre>Create a deployment resource in the API hub. Once a deployment resource is created, it can be associated with API versions.
107
108 Args:
109 parent: string, Required. The parent resource for the deployment resource. Format: `projects/{project}/locations/{location}` (required)
110 body: object, The request body.
111 The object takes the form of:
112
113 { # Details of the deployment where APIs are hosted. A deployment could represent an Apigee proxy, API gateway, other Google Cloud services or non-Google Cloud services as well. A deployment entity is a root level entity in the API hub and exists independent of any API.
114 &quot;apiVersions&quot;: [ # Output only. The API versions linked to this deployment. Note: A particular deployment could be linked to multiple different API versions (of same or different APIs).
115 &quot;A String&quot;,
116 ],
117 &quot;attributes&quot;: { # Optional. The list of user defined attributes associated with the deployment resource. The key is the attribute name. It will be of the format: `projects/{project}/locations/{location}/attributes/{attribute}`. The value is the attribute values associated with the resource.
118 &quot;a_key&quot;: { # The attribute values associated with resource.
119 &quot;attribute&quot;: &quot;A String&quot;, # Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
120 &quot;enumValues&quot;: { # The attribute values of data type enum. # The attribute values associated with a resource in case attribute data type is enum.
121 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is enum.
122 { # The value that can be assigned to the attribute when the data type is enum.
123 &quot;description&quot;: &quot;A String&quot;, # Optional. The detailed description of the allowed value.
124 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the allowed value.
125 &quot;id&quot;: &quot;A String&quot;, # Required. The ID of the allowed value. * If provided, the same will be used. The service will throw an error if the specified id is already used by another allowed value in the same attribute resource. * If not provided, a system generated id derived from the display name will be used. In this case, the service will handle conflict resolution by adding a system generated suffix in case of duplicates. This value should be 4-63 characters, and valid characters are /a-z-/.
126 &quot;immutable&quot;: True or False, # Optional. When set to true, the allowed value cannot be updated or deleted by the user. It can only be true for System defined attributes.
127 },
128 ],
129 },
130 &quot;jsonValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is JSON.
131 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
132 &quot;A String&quot;,
133 ],
134 },
135 &quot;stringValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is string.
136 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
137 &quot;A String&quot;,
138 ],
139 },
140 &quot;uriValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is URL, URI or IP, like gs://bucket-name/object-name.
141 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
142 &quot;A String&quot;,
143 ],
144 },
145 },
146 },
147 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the deployment was created.
148 &quot;deploymentType&quot;: { # The attribute values associated with resource. # Required. The type of deployment. This maps to the following system defined attribute: `projects/{project}/locations/{location}/attributes/system-deployment-type` attribute. The number of values for this attribute will be based on the cardinality of the attribute. The same can be retrieved via GetAttribute API. All values should be from the list of allowed values defined for the attribute.
149 &quot;attribute&quot;: &quot;A String&quot;, # Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
150 &quot;enumValues&quot;: { # The attribute values of data type enum. # The attribute values associated with a resource in case attribute data type is enum.
151 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is enum.
152 { # The value that can be assigned to the attribute when the data type is enum.
153 &quot;description&quot;: &quot;A String&quot;, # Optional. The detailed description of the allowed value.
154 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the allowed value.
155 &quot;id&quot;: &quot;A String&quot;, # Required. The ID of the allowed value. * If provided, the same will be used. The service will throw an error if the specified id is already used by another allowed value in the same attribute resource. * If not provided, a system generated id derived from the display name will be used. In this case, the service will handle conflict resolution by adding a system generated suffix in case of duplicates. This value should be 4-63 characters, and valid characters are /a-z-/.
156 &quot;immutable&quot;: True or False, # Optional. When set to true, the allowed value cannot be updated or deleted by the user. It can only be true for System defined attributes.
157 },
158 ],
159 },
160 &quot;jsonValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is JSON.
161 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
162 &quot;A String&quot;,
163 ],
164 },
165 &quot;stringValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is string.
166 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
167 &quot;A String&quot;,
168 ],
169 },
170 &quot;uriValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is URL, URI or IP, like gs://bucket-name/object-name.
171 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
172 &quot;A String&quot;,
173 ],
174 },
175 },
176 &quot;description&quot;: &quot;A String&quot;, # Optional. The description of the deployment.
177 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the deployment.
178 &quot;documentation&quot;: { # Documentation details. # Optional. The documentation of the deployment.
179 &quot;externalUri&quot;: &quot;A String&quot;, # Optional. The uri of the externally hosted documentation.
180 },
181 &quot;endpoints&quot;: [ # Required. The endpoints at which this deployment resource is listening for API requests. This could be a list of complete URIs, hostnames or an IP addresses.
182 &quot;A String&quot;,
183 ],
184 &quot;environment&quot;: { # The attribute values associated with resource. # Optional. The environment mapping to this deployment. This maps to the following system defined attribute: `projects/{project}/locations/{location}/attributes/system-environment` attribute. The number of values for this attribute will be based on the cardinality of the attribute. The same can be retrieved via GetAttribute API. All values should be from the list of allowed values defined for the attribute.
185 &quot;attribute&quot;: &quot;A String&quot;, # Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
186 &quot;enumValues&quot;: { # The attribute values of data type enum. # The attribute values associated with a resource in case attribute data type is enum.
187 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is enum.
188 { # The value that can be assigned to the attribute when the data type is enum.
189 &quot;description&quot;: &quot;A String&quot;, # Optional. The detailed description of the allowed value.
190 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the allowed value.
191 &quot;id&quot;: &quot;A String&quot;, # Required. The ID of the allowed value. * If provided, the same will be used. The service will throw an error if the specified id is already used by another allowed value in the same attribute resource. * If not provided, a system generated id derived from the display name will be used. In this case, the service will handle conflict resolution by adding a system generated suffix in case of duplicates. This value should be 4-63 characters, and valid characters are /a-z-/.
192 &quot;immutable&quot;: True or False, # Optional. When set to true, the allowed value cannot be updated or deleted by the user. It can only be true for System defined attributes.
193 },
194 ],
195 },
196 &quot;jsonValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is JSON.
197 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
198 &quot;A String&quot;,
199 ],
200 },
201 &quot;stringValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is string.
202 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
203 &quot;A String&quot;,
204 ],
205 },
206 &quot;uriValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is URL, URI or IP, like gs://bucket-name/object-name.
207 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
208 &quot;A String&quot;,
209 ],
210 },
211 },
212 &quot;managementUrl&quot;: { # The attribute values associated with resource. # Optional. The uri where users can navigate to for the management of the deployment. This maps to the following system defined attribute: `projects/{project}/locations/{location}/attributes/system-management-url` The number of values for this attribute will be based on the cardinality of the attribute. The same can be retrieved via GetAttribute API. The value of the attribute should be a valid URL.
213 &quot;attribute&quot;: &quot;A String&quot;, # Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
214 &quot;enumValues&quot;: { # The attribute values of data type enum. # The attribute values associated with a resource in case attribute data type is enum.
215 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is enum.
216 { # The value that can be assigned to the attribute when the data type is enum.
217 &quot;description&quot;: &quot;A String&quot;, # Optional. The detailed description of the allowed value.
218 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the allowed value.
219 &quot;id&quot;: &quot;A String&quot;, # Required. The ID of the allowed value. * If provided, the same will be used. The service will throw an error if the specified id is already used by another allowed value in the same attribute resource. * If not provided, a system generated id derived from the display name will be used. In this case, the service will handle conflict resolution by adding a system generated suffix in case of duplicates. This value should be 4-63 characters, and valid characters are /a-z-/.
220 &quot;immutable&quot;: True or False, # Optional. When set to true, the allowed value cannot be updated or deleted by the user. It can only be true for System defined attributes.
221 },
222 ],
223 },
224 &quot;jsonValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is JSON.
225 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
226 &quot;A String&quot;,
227 ],
228 },
229 &quot;stringValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is string.
230 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
231 &quot;A String&quot;,
232 ],
233 },
234 &quot;uriValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is URL, URI or IP, like gs://bucket-name/object-name.
235 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
236 &quot;A String&quot;,
237 ],
238 },
239 },
240 &quot;name&quot;: &quot;A String&quot;, # Identifier. The name of the deployment. Format: `projects/{project}/locations/{location}/deployments/{deployment}`
241 &quot;resourceUri&quot;: &quot;A String&quot;, # Required. The resource URI identifies the deployment within its gateway. For Apigee gateways, its recommended to use the format: organizations/{org}/environments/{env}/apis/{api}. For ex: if a proxy with name `orders` is deployed in `staging` environment of `cymbal` organization, the resource URI would be: `organizations/cymbal/environments/staging/apis/orders`.
242 &quot;slo&quot;: { # The attribute values associated with resource. # Optional. The SLO for this deployment. This maps to the following system defined attribute: `projects/{project}/locations/{location}/attributes/system-slo` attribute. The number of values for this attribute will be based on the cardinality of the attribute. The same can be retrieved via GetAttribute API. All values should be from the list of allowed values defined for the attribute.
243 &quot;attribute&quot;: &quot;A String&quot;, # Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
244 &quot;enumValues&quot;: { # The attribute values of data type enum. # The attribute values associated with a resource in case attribute data type is enum.
245 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is enum.
246 { # The value that can be assigned to the attribute when the data type is enum.
247 &quot;description&quot;: &quot;A String&quot;, # Optional. The detailed description of the allowed value.
248 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the allowed value.
249 &quot;id&quot;: &quot;A String&quot;, # Required. The ID of the allowed value. * If provided, the same will be used. The service will throw an error if the specified id is already used by another allowed value in the same attribute resource. * If not provided, a system generated id derived from the display name will be used. In this case, the service will handle conflict resolution by adding a system generated suffix in case of duplicates. This value should be 4-63 characters, and valid characters are /a-z-/.
250 &quot;immutable&quot;: True or False, # Optional. When set to true, the allowed value cannot be updated or deleted by the user. It can only be true for System defined attributes.
251 },
252 ],
253 },
254 &quot;jsonValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is JSON.
255 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
256 &quot;A String&quot;,
257 ],
258 },
259 &quot;stringValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is string.
260 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
261 &quot;A String&quot;,
262 ],
263 },
264 &quot;uriValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is URL, URI or IP, like gs://bucket-name/object-name.
265 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
266 &quot;A String&quot;,
267 ],
268 },
269 },
270 &quot;sourceEnvironment&quot;: &quot;A String&quot;, # Optional. The environment at source for the deployment. For example: prod, dev, staging, etc.
271 &quot;sourceMetadata&quot;: [ # Output only. The list of sources and metadata from the sources of the deployment.
272 { # SourceMetadata represents the metadata for a resource at the source.
273 &quot;originalResourceCreateTime&quot;: &quot;A String&quot;, # Output only. The time at which the resource was created at the source.
274 &quot;originalResourceId&quot;: &quot;A String&quot;, # Output only. The unique identifier of the resource at the source.
275 &quot;originalResourceUpdateTime&quot;: &quot;A String&quot;, # Output only. The time at which the resource was last updated at the source.
276 &quot;pluginInstanceActionSource&quot;: { # PluginInstanceActionSource represents the plugin instance action source. # Output only. The source of the resource is a plugin instance action.
277 &quot;actionId&quot;: &quot;A String&quot;, # Output only. The id of the plugin instance action.
278 &quot;pluginInstance&quot;: &quot;A String&quot;, # Output only. The resource name of the source plugin instance. Format is `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`
279 },
280 &quot;sourceType&quot;: &quot;A String&quot;, # Output only. The type of the source.
281 },
282 ],
283 &quot;sourceProject&quot;: &quot;A String&quot;, # Optional. The project to which the deployment belongs. For Google Cloud gateways, this will refer to the project identifier. For others like Edge/OPDK, this will refer to the org identifier.
284 &quot;sourceUri&quot;: { # The attribute values associated with resource. # Optional. The uri where additional source specific information for this deployment can be found. This maps to the following system defined attribute: `projects/{project}/locations/{location}/attributes/system-source-uri` The number of values for this attribute will be based on the cardinality of the attribute. The same can be retrieved via GetAttribute API. The value of the attribute should be a valid URI, and in case of Cloud Storage URI, it should point to a Cloud Storage object, not a directory.
285 &quot;attribute&quot;: &quot;A String&quot;, # Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
286 &quot;enumValues&quot;: { # The attribute values of data type enum. # The attribute values associated with a resource in case attribute data type is enum.
287 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is enum.
288 { # The value that can be assigned to the attribute when the data type is enum.
289 &quot;description&quot;: &quot;A String&quot;, # Optional. The detailed description of the allowed value.
290 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the allowed value.
291 &quot;id&quot;: &quot;A String&quot;, # Required. The ID of the allowed value. * If provided, the same will be used. The service will throw an error if the specified id is already used by another allowed value in the same attribute resource. * If not provided, a system generated id derived from the display name will be used. In this case, the service will handle conflict resolution by adding a system generated suffix in case of duplicates. This value should be 4-63 characters, and valid characters are /a-z-/.
292 &quot;immutable&quot;: True or False, # Optional. When set to true, the allowed value cannot be updated or deleted by the user. It can only be true for System defined attributes.
293 },
294 ],
295 },
296 &quot;jsonValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is JSON.
297 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
298 &quot;A String&quot;,
299 ],
300 },
301 &quot;stringValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is string.
302 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
303 &quot;A String&quot;,
304 ],
305 },
306 &quot;uriValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is URL, URI or IP, like gs://bucket-name/object-name.
307 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
308 &quot;A String&quot;,
309 ],
310 },
311 },
312 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time at which the deployment was last updated.
313 }
314
315 deploymentId: string, Optional. The ID to use for the deployment resource, which will become the final component of the deployment&#x27;s resource name. This field is optional. * If provided, the same will be used. The service will throw an error if the specified id is already used by another deployment resource in the API hub. * If not provided, a system generated id will be used. This value should be 4-500 characters, and valid characters are /a-z[0-9]-_/.
316 x__xgafv: string, V1 error format.
317 Allowed values
318 1 - v1 error format
319 2 - v2 error format
320
321 Returns:
322 An object of the form:
323
324 { # Details of the deployment where APIs are hosted. A deployment could represent an Apigee proxy, API gateway, other Google Cloud services or non-Google Cloud services as well. A deployment entity is a root level entity in the API hub and exists independent of any API.
325 &quot;apiVersions&quot;: [ # Output only. The API versions linked to this deployment. Note: A particular deployment could be linked to multiple different API versions (of same or different APIs).
326 &quot;A String&quot;,
327 ],
328 &quot;attributes&quot;: { # Optional. The list of user defined attributes associated with the deployment resource. The key is the attribute name. It will be of the format: `projects/{project}/locations/{location}/attributes/{attribute}`. The value is the attribute values associated with the resource.
329 &quot;a_key&quot;: { # The attribute values associated with resource.
330 &quot;attribute&quot;: &quot;A String&quot;, # Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
331 &quot;enumValues&quot;: { # The attribute values of data type enum. # The attribute values associated with a resource in case attribute data type is enum.
332 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is enum.
333 { # The value that can be assigned to the attribute when the data type is enum.
334 &quot;description&quot;: &quot;A String&quot;, # Optional. The detailed description of the allowed value.
335 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the allowed value.
336 &quot;id&quot;: &quot;A String&quot;, # Required. The ID of the allowed value. * If provided, the same will be used. The service will throw an error if the specified id is already used by another allowed value in the same attribute resource. * If not provided, a system generated id derived from the display name will be used. In this case, the service will handle conflict resolution by adding a system generated suffix in case of duplicates. This value should be 4-63 characters, and valid characters are /a-z-/.
337 &quot;immutable&quot;: True or False, # Optional. When set to true, the allowed value cannot be updated or deleted by the user. It can only be true for System defined attributes.
338 },
339 ],
340 },
341 &quot;jsonValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is JSON.
342 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
343 &quot;A String&quot;,
344 ],
345 },
346 &quot;stringValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is string.
347 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
348 &quot;A String&quot;,
349 ],
350 },
351 &quot;uriValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is URL, URI or IP, like gs://bucket-name/object-name.
352 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
353 &quot;A String&quot;,
354 ],
355 },
356 },
357 },
358 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the deployment was created.
359 &quot;deploymentType&quot;: { # The attribute values associated with resource. # Required. The type of deployment. This maps to the following system defined attribute: `projects/{project}/locations/{location}/attributes/system-deployment-type` attribute. The number of values for this attribute will be based on the cardinality of the attribute. The same can be retrieved via GetAttribute API. All values should be from the list of allowed values defined for the attribute.
360 &quot;attribute&quot;: &quot;A String&quot;, # Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
361 &quot;enumValues&quot;: { # The attribute values of data type enum. # The attribute values associated with a resource in case attribute data type is enum.
362 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is enum.
363 { # The value that can be assigned to the attribute when the data type is enum.
364 &quot;description&quot;: &quot;A String&quot;, # Optional. The detailed description of the allowed value.
365 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the allowed value.
366 &quot;id&quot;: &quot;A String&quot;, # Required. The ID of the allowed value. * If provided, the same will be used. The service will throw an error if the specified id is already used by another allowed value in the same attribute resource. * If not provided, a system generated id derived from the display name will be used. In this case, the service will handle conflict resolution by adding a system generated suffix in case of duplicates. This value should be 4-63 characters, and valid characters are /a-z-/.
367 &quot;immutable&quot;: True or False, # Optional. When set to true, the allowed value cannot be updated or deleted by the user. It can only be true for System defined attributes.
368 },
369 ],
370 },
371 &quot;jsonValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is JSON.
372 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
373 &quot;A String&quot;,
374 ],
375 },
376 &quot;stringValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is string.
377 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
378 &quot;A String&quot;,
379 ],
380 },
381 &quot;uriValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is URL, URI or IP, like gs://bucket-name/object-name.
382 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
383 &quot;A String&quot;,
384 ],
385 },
386 },
387 &quot;description&quot;: &quot;A String&quot;, # Optional. The description of the deployment.
388 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the deployment.
389 &quot;documentation&quot;: { # Documentation details. # Optional. The documentation of the deployment.
390 &quot;externalUri&quot;: &quot;A String&quot;, # Optional. The uri of the externally hosted documentation.
391 },
392 &quot;endpoints&quot;: [ # Required. The endpoints at which this deployment resource is listening for API requests. This could be a list of complete URIs, hostnames or an IP addresses.
393 &quot;A String&quot;,
394 ],
395 &quot;environment&quot;: { # The attribute values associated with resource. # Optional. The environment mapping to this deployment. This maps to the following system defined attribute: `projects/{project}/locations/{location}/attributes/system-environment` attribute. The number of values for this attribute will be based on the cardinality of the attribute. The same can be retrieved via GetAttribute API. All values should be from the list of allowed values defined for the attribute.
396 &quot;attribute&quot;: &quot;A String&quot;, # Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
397 &quot;enumValues&quot;: { # The attribute values of data type enum. # The attribute values associated with a resource in case attribute data type is enum.
398 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is enum.
399 { # The value that can be assigned to the attribute when the data type is enum.
400 &quot;description&quot;: &quot;A String&quot;, # Optional. The detailed description of the allowed value.
401 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the allowed value.
402 &quot;id&quot;: &quot;A String&quot;, # Required. The ID of the allowed value. * If provided, the same will be used. The service will throw an error if the specified id is already used by another allowed value in the same attribute resource. * If not provided, a system generated id derived from the display name will be used. In this case, the service will handle conflict resolution by adding a system generated suffix in case of duplicates. This value should be 4-63 characters, and valid characters are /a-z-/.
403 &quot;immutable&quot;: True or False, # Optional. When set to true, the allowed value cannot be updated or deleted by the user. It can only be true for System defined attributes.
404 },
405 ],
406 },
407 &quot;jsonValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is JSON.
408 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
409 &quot;A String&quot;,
410 ],
411 },
412 &quot;stringValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is string.
413 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
414 &quot;A String&quot;,
415 ],
416 },
417 &quot;uriValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is URL, URI or IP, like gs://bucket-name/object-name.
418 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
419 &quot;A String&quot;,
420 ],
421 },
422 },
423 &quot;managementUrl&quot;: { # The attribute values associated with resource. # Optional. The uri where users can navigate to for the management of the deployment. This maps to the following system defined attribute: `projects/{project}/locations/{location}/attributes/system-management-url` The number of values for this attribute will be based on the cardinality of the attribute. The same can be retrieved via GetAttribute API. The value of the attribute should be a valid URL.
424 &quot;attribute&quot;: &quot;A String&quot;, # Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
425 &quot;enumValues&quot;: { # The attribute values of data type enum. # The attribute values associated with a resource in case attribute data type is enum.
426 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is enum.
427 { # The value that can be assigned to the attribute when the data type is enum.
428 &quot;description&quot;: &quot;A String&quot;, # Optional. The detailed description of the allowed value.
429 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the allowed value.
430 &quot;id&quot;: &quot;A String&quot;, # Required. The ID of the allowed value. * If provided, the same will be used. The service will throw an error if the specified id is already used by another allowed value in the same attribute resource. * If not provided, a system generated id derived from the display name will be used. In this case, the service will handle conflict resolution by adding a system generated suffix in case of duplicates. This value should be 4-63 characters, and valid characters are /a-z-/.
431 &quot;immutable&quot;: True or False, # Optional. When set to true, the allowed value cannot be updated or deleted by the user. It can only be true for System defined attributes.
432 },
433 ],
434 },
435 &quot;jsonValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is JSON.
436 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
437 &quot;A String&quot;,
438 ],
439 },
440 &quot;stringValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is string.
441 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
442 &quot;A String&quot;,
443 ],
444 },
445 &quot;uriValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is URL, URI or IP, like gs://bucket-name/object-name.
446 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
447 &quot;A String&quot;,
448 ],
449 },
450 },
451 &quot;name&quot;: &quot;A String&quot;, # Identifier. The name of the deployment. Format: `projects/{project}/locations/{location}/deployments/{deployment}`
452 &quot;resourceUri&quot;: &quot;A String&quot;, # Required. The resource URI identifies the deployment within its gateway. For Apigee gateways, its recommended to use the format: organizations/{org}/environments/{env}/apis/{api}. For ex: if a proxy with name `orders` is deployed in `staging` environment of `cymbal` organization, the resource URI would be: `organizations/cymbal/environments/staging/apis/orders`.
453 &quot;slo&quot;: { # The attribute values associated with resource. # Optional. The SLO for this deployment. This maps to the following system defined attribute: `projects/{project}/locations/{location}/attributes/system-slo` attribute. The number of values for this attribute will be based on the cardinality of the attribute. The same can be retrieved via GetAttribute API. All values should be from the list of allowed values defined for the attribute.
454 &quot;attribute&quot;: &quot;A String&quot;, # Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
455 &quot;enumValues&quot;: { # The attribute values of data type enum. # The attribute values associated with a resource in case attribute data type is enum.
456 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is enum.
457 { # The value that can be assigned to the attribute when the data type is enum.
458 &quot;description&quot;: &quot;A String&quot;, # Optional. The detailed description of the allowed value.
459 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the allowed value.
460 &quot;id&quot;: &quot;A String&quot;, # Required. The ID of the allowed value. * If provided, the same will be used. The service will throw an error if the specified id is already used by another allowed value in the same attribute resource. * If not provided, a system generated id derived from the display name will be used. In this case, the service will handle conflict resolution by adding a system generated suffix in case of duplicates. This value should be 4-63 characters, and valid characters are /a-z-/.
461 &quot;immutable&quot;: True or False, # Optional. When set to true, the allowed value cannot be updated or deleted by the user. It can only be true for System defined attributes.
462 },
463 ],
464 },
465 &quot;jsonValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is JSON.
466 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
467 &quot;A String&quot;,
468 ],
469 },
470 &quot;stringValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is string.
471 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
472 &quot;A String&quot;,
473 ],
474 },
475 &quot;uriValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is URL, URI or IP, like gs://bucket-name/object-name.
476 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
477 &quot;A String&quot;,
478 ],
479 },
480 },
481 &quot;sourceEnvironment&quot;: &quot;A String&quot;, # Optional. The environment at source for the deployment. For example: prod, dev, staging, etc.
482 &quot;sourceMetadata&quot;: [ # Output only. The list of sources and metadata from the sources of the deployment.
483 { # SourceMetadata represents the metadata for a resource at the source.
484 &quot;originalResourceCreateTime&quot;: &quot;A String&quot;, # Output only. The time at which the resource was created at the source.
485 &quot;originalResourceId&quot;: &quot;A String&quot;, # Output only. The unique identifier of the resource at the source.
486 &quot;originalResourceUpdateTime&quot;: &quot;A String&quot;, # Output only. The time at which the resource was last updated at the source.
487 &quot;pluginInstanceActionSource&quot;: { # PluginInstanceActionSource represents the plugin instance action source. # Output only. The source of the resource is a plugin instance action.
488 &quot;actionId&quot;: &quot;A String&quot;, # Output only. The id of the plugin instance action.
489 &quot;pluginInstance&quot;: &quot;A String&quot;, # Output only. The resource name of the source plugin instance. Format is `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`
490 },
491 &quot;sourceType&quot;: &quot;A String&quot;, # Output only. The type of the source.
492 },
493 ],
494 &quot;sourceProject&quot;: &quot;A String&quot;, # Optional. The project to which the deployment belongs. For Google Cloud gateways, this will refer to the project identifier. For others like Edge/OPDK, this will refer to the org identifier.
495 &quot;sourceUri&quot;: { # The attribute values associated with resource. # Optional. The uri where additional source specific information for this deployment can be found. This maps to the following system defined attribute: `projects/{project}/locations/{location}/attributes/system-source-uri` The number of values for this attribute will be based on the cardinality of the attribute. The same can be retrieved via GetAttribute API. The value of the attribute should be a valid URI, and in case of Cloud Storage URI, it should point to a Cloud Storage object, not a directory.
496 &quot;attribute&quot;: &quot;A String&quot;, # Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
497 &quot;enumValues&quot;: { # The attribute values of data type enum. # The attribute values associated with a resource in case attribute data type is enum.
498 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is enum.
499 { # The value that can be assigned to the attribute when the data type is enum.
500 &quot;description&quot;: &quot;A String&quot;, # Optional. The detailed description of the allowed value.
501 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the allowed value.
502 &quot;id&quot;: &quot;A String&quot;, # Required. The ID of the allowed value. * If provided, the same will be used. The service will throw an error if the specified id is already used by another allowed value in the same attribute resource. * If not provided, a system generated id derived from the display name will be used. In this case, the service will handle conflict resolution by adding a system generated suffix in case of duplicates. This value should be 4-63 characters, and valid characters are /a-z-/.
503 &quot;immutable&quot;: True or False, # Optional. When set to true, the allowed value cannot be updated or deleted by the user. It can only be true for System defined attributes.
504 },
505 ],
506 },
507 &quot;jsonValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is JSON.
508 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
509 &quot;A String&quot;,
510 ],
511 },
512 &quot;stringValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is string.
513 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
514 &quot;A String&quot;,
515 ],
516 },
517 &quot;uriValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is URL, URI or IP, like gs://bucket-name/object-name.
518 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
519 &quot;A String&quot;,
520 ],
521 },
522 },
523 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time at which the deployment was last updated.
524 }</pre>
525 </div>
526
527 <div class="method">
528 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
529 <pre>Delete a deployment resource in the API hub.
530
531 Args:
532 name: string, Required. The name of the deployment resource to delete. Format: `projects/{project}/locations/{location}/deployments/{deployment}` (required)
533 x__xgafv: string, V1 error format.
534 Allowed values
535 1 - v1 error format
536 2 - v2 error format
537
538 Returns:
539 An object of the form:
540
541 { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
542 }</pre>
543 </div>
544
545 <div class="method">
546 <code class="details" id="get">get(name, x__xgafv=None)</code>
547 <pre>Get details about a deployment and the API versions linked to it.
548
549 Args:
550 name: string, Required. The name of the deployment resource to retrieve. Format: `projects/{project}/locations/{location}/deployments/{deployment}` (required)
551 x__xgafv: string, V1 error format.
552 Allowed values
553 1 - v1 error format
554 2 - v2 error format
555
556 Returns:
557 An object of the form:
558
559 { # Details of the deployment where APIs are hosted. A deployment could represent an Apigee proxy, API gateway, other Google Cloud services or non-Google Cloud services as well. A deployment entity is a root level entity in the API hub and exists independent of any API.
560 &quot;apiVersions&quot;: [ # Output only. The API versions linked to this deployment. Note: A particular deployment could be linked to multiple different API versions (of same or different APIs).
561 &quot;A String&quot;,
562 ],
563 &quot;attributes&quot;: { # Optional. The list of user defined attributes associated with the deployment resource. The key is the attribute name. It will be of the format: `projects/{project}/locations/{location}/attributes/{attribute}`. The value is the attribute values associated with the resource.
564 &quot;a_key&quot;: { # The attribute values associated with resource.
565 &quot;attribute&quot;: &quot;A String&quot;, # Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
566 &quot;enumValues&quot;: { # The attribute values of data type enum. # The attribute values associated with a resource in case attribute data type is enum.
567 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is enum.
568 { # The value that can be assigned to the attribute when the data type is enum.
569 &quot;description&quot;: &quot;A String&quot;, # Optional. The detailed description of the allowed value.
570 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the allowed value.
571 &quot;id&quot;: &quot;A String&quot;, # Required. The ID of the allowed value. * If provided, the same will be used. The service will throw an error if the specified id is already used by another allowed value in the same attribute resource. * If not provided, a system generated id derived from the display name will be used. In this case, the service will handle conflict resolution by adding a system generated suffix in case of duplicates. This value should be 4-63 characters, and valid characters are /a-z-/.
572 &quot;immutable&quot;: True or False, # Optional. When set to true, the allowed value cannot be updated or deleted by the user. It can only be true for System defined attributes.
573 },
574 ],
575 },
576 &quot;jsonValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is JSON.
577 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
578 &quot;A String&quot;,
579 ],
580 },
581 &quot;stringValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is string.
582 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
583 &quot;A String&quot;,
584 ],
585 },
586 &quot;uriValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is URL, URI or IP, like gs://bucket-name/object-name.
587 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
588 &quot;A String&quot;,
589 ],
590 },
591 },
592 },
593 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the deployment was created.
594 &quot;deploymentType&quot;: { # The attribute values associated with resource. # Required. The type of deployment. This maps to the following system defined attribute: `projects/{project}/locations/{location}/attributes/system-deployment-type` attribute. The number of values for this attribute will be based on the cardinality of the attribute. The same can be retrieved via GetAttribute API. All values should be from the list of allowed values defined for the attribute.
595 &quot;attribute&quot;: &quot;A String&quot;, # Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
596 &quot;enumValues&quot;: { # The attribute values of data type enum. # The attribute values associated with a resource in case attribute data type is enum.
597 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is enum.
598 { # The value that can be assigned to the attribute when the data type is enum.
599 &quot;description&quot;: &quot;A String&quot;, # Optional. The detailed description of the allowed value.
600 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the allowed value.
601 &quot;id&quot;: &quot;A String&quot;, # Required. The ID of the allowed value. * If provided, the same will be used. The service will throw an error if the specified id is already used by another allowed value in the same attribute resource. * If not provided, a system generated id derived from the display name will be used. In this case, the service will handle conflict resolution by adding a system generated suffix in case of duplicates. This value should be 4-63 characters, and valid characters are /a-z-/.
602 &quot;immutable&quot;: True or False, # Optional. When set to true, the allowed value cannot be updated or deleted by the user. It can only be true for System defined attributes.
603 },
604 ],
605 },
606 &quot;jsonValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is JSON.
607 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
608 &quot;A String&quot;,
609 ],
610 },
611 &quot;stringValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is string.
612 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
613 &quot;A String&quot;,
614 ],
615 },
616 &quot;uriValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is URL, URI or IP, like gs://bucket-name/object-name.
617 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
618 &quot;A String&quot;,
619 ],
620 },
621 },
622 &quot;description&quot;: &quot;A String&quot;, # Optional. The description of the deployment.
623 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the deployment.
624 &quot;documentation&quot;: { # Documentation details. # Optional. The documentation of the deployment.
625 &quot;externalUri&quot;: &quot;A String&quot;, # Optional. The uri of the externally hosted documentation.
626 },
627 &quot;endpoints&quot;: [ # Required. The endpoints at which this deployment resource is listening for API requests. This could be a list of complete URIs, hostnames or an IP addresses.
628 &quot;A String&quot;,
629 ],
630 &quot;environment&quot;: { # The attribute values associated with resource. # Optional. The environment mapping to this deployment. This maps to the following system defined attribute: `projects/{project}/locations/{location}/attributes/system-environment` attribute. The number of values for this attribute will be based on the cardinality of the attribute. The same can be retrieved via GetAttribute API. All values should be from the list of allowed values defined for the attribute.
631 &quot;attribute&quot;: &quot;A String&quot;, # Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
632 &quot;enumValues&quot;: { # The attribute values of data type enum. # The attribute values associated with a resource in case attribute data type is enum.
633 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is enum.
634 { # The value that can be assigned to the attribute when the data type is enum.
635 &quot;description&quot;: &quot;A String&quot;, # Optional. The detailed description of the allowed value.
636 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the allowed value.
637 &quot;id&quot;: &quot;A String&quot;, # Required. The ID of the allowed value. * If provided, the same will be used. The service will throw an error if the specified id is already used by another allowed value in the same attribute resource. * If not provided, a system generated id derived from the display name will be used. In this case, the service will handle conflict resolution by adding a system generated suffix in case of duplicates. This value should be 4-63 characters, and valid characters are /a-z-/.
638 &quot;immutable&quot;: True or False, # Optional. When set to true, the allowed value cannot be updated or deleted by the user. It can only be true for System defined attributes.
639 },
640 ],
641 },
642 &quot;jsonValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is JSON.
643 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
644 &quot;A String&quot;,
645 ],
646 },
647 &quot;stringValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is string.
648 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
649 &quot;A String&quot;,
650 ],
651 },
652 &quot;uriValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is URL, URI or IP, like gs://bucket-name/object-name.
653 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
654 &quot;A String&quot;,
655 ],
656 },
657 },
658 &quot;managementUrl&quot;: { # The attribute values associated with resource. # Optional. The uri where users can navigate to for the management of the deployment. This maps to the following system defined attribute: `projects/{project}/locations/{location}/attributes/system-management-url` The number of values for this attribute will be based on the cardinality of the attribute. The same can be retrieved via GetAttribute API. The value of the attribute should be a valid URL.
659 &quot;attribute&quot;: &quot;A String&quot;, # Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
660 &quot;enumValues&quot;: { # The attribute values of data type enum. # The attribute values associated with a resource in case attribute data type is enum.
661 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is enum.
662 { # The value that can be assigned to the attribute when the data type is enum.
663 &quot;description&quot;: &quot;A String&quot;, # Optional. The detailed description of the allowed value.
664 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the allowed value.
665 &quot;id&quot;: &quot;A String&quot;, # Required. The ID of the allowed value. * If provided, the same will be used. The service will throw an error if the specified id is already used by another allowed value in the same attribute resource. * If not provided, a system generated id derived from the display name will be used. In this case, the service will handle conflict resolution by adding a system generated suffix in case of duplicates. This value should be 4-63 characters, and valid characters are /a-z-/.
666 &quot;immutable&quot;: True or False, # Optional. When set to true, the allowed value cannot be updated or deleted by the user. It can only be true for System defined attributes.
667 },
668 ],
669 },
670 &quot;jsonValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is JSON.
671 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
672 &quot;A String&quot;,
673 ],
674 },
675 &quot;stringValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is string.
676 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
677 &quot;A String&quot;,
678 ],
679 },
680 &quot;uriValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is URL, URI or IP, like gs://bucket-name/object-name.
681 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
682 &quot;A String&quot;,
683 ],
684 },
685 },
686 &quot;name&quot;: &quot;A String&quot;, # Identifier. The name of the deployment. Format: `projects/{project}/locations/{location}/deployments/{deployment}`
687 &quot;resourceUri&quot;: &quot;A String&quot;, # Required. The resource URI identifies the deployment within its gateway. For Apigee gateways, its recommended to use the format: organizations/{org}/environments/{env}/apis/{api}. For ex: if a proxy with name `orders` is deployed in `staging` environment of `cymbal` organization, the resource URI would be: `organizations/cymbal/environments/staging/apis/orders`.
688 &quot;slo&quot;: { # The attribute values associated with resource. # Optional. The SLO for this deployment. This maps to the following system defined attribute: `projects/{project}/locations/{location}/attributes/system-slo` attribute. The number of values for this attribute will be based on the cardinality of the attribute. The same can be retrieved via GetAttribute API. All values should be from the list of allowed values defined for the attribute.
689 &quot;attribute&quot;: &quot;A String&quot;, # Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
690 &quot;enumValues&quot;: { # The attribute values of data type enum. # The attribute values associated with a resource in case attribute data type is enum.
691 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is enum.
692 { # The value that can be assigned to the attribute when the data type is enum.
693 &quot;description&quot;: &quot;A String&quot;, # Optional. The detailed description of the allowed value.
694 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the allowed value.
695 &quot;id&quot;: &quot;A String&quot;, # Required. The ID of the allowed value. * If provided, the same will be used. The service will throw an error if the specified id is already used by another allowed value in the same attribute resource. * If not provided, a system generated id derived from the display name will be used. In this case, the service will handle conflict resolution by adding a system generated suffix in case of duplicates. This value should be 4-63 characters, and valid characters are /a-z-/.
696 &quot;immutable&quot;: True or False, # Optional. When set to true, the allowed value cannot be updated or deleted by the user. It can only be true for System defined attributes.
697 },
698 ],
699 },
700 &quot;jsonValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is JSON.
701 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
702 &quot;A String&quot;,
703 ],
704 },
705 &quot;stringValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is string.
706 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
707 &quot;A String&quot;,
708 ],
709 },
710 &quot;uriValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is URL, URI or IP, like gs://bucket-name/object-name.
711 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
712 &quot;A String&quot;,
713 ],
714 },
715 },
716 &quot;sourceEnvironment&quot;: &quot;A String&quot;, # Optional. The environment at source for the deployment. For example: prod, dev, staging, etc.
717 &quot;sourceMetadata&quot;: [ # Output only. The list of sources and metadata from the sources of the deployment.
718 { # SourceMetadata represents the metadata for a resource at the source.
719 &quot;originalResourceCreateTime&quot;: &quot;A String&quot;, # Output only. The time at which the resource was created at the source.
720 &quot;originalResourceId&quot;: &quot;A String&quot;, # Output only. The unique identifier of the resource at the source.
721 &quot;originalResourceUpdateTime&quot;: &quot;A String&quot;, # Output only. The time at which the resource was last updated at the source.
722 &quot;pluginInstanceActionSource&quot;: { # PluginInstanceActionSource represents the plugin instance action source. # Output only. The source of the resource is a plugin instance action.
723 &quot;actionId&quot;: &quot;A String&quot;, # Output only. The id of the plugin instance action.
724 &quot;pluginInstance&quot;: &quot;A String&quot;, # Output only. The resource name of the source plugin instance. Format is `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`
725 },
726 &quot;sourceType&quot;: &quot;A String&quot;, # Output only. The type of the source.
727 },
728 ],
729 &quot;sourceProject&quot;: &quot;A String&quot;, # Optional. The project to which the deployment belongs. For Google Cloud gateways, this will refer to the project identifier. For others like Edge/OPDK, this will refer to the org identifier.
730 &quot;sourceUri&quot;: { # The attribute values associated with resource. # Optional. The uri where additional source specific information for this deployment can be found. This maps to the following system defined attribute: `projects/{project}/locations/{location}/attributes/system-source-uri` The number of values for this attribute will be based on the cardinality of the attribute. The same can be retrieved via GetAttribute API. The value of the attribute should be a valid URI, and in case of Cloud Storage URI, it should point to a Cloud Storage object, not a directory.
731 &quot;attribute&quot;: &quot;A String&quot;, # Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
732 &quot;enumValues&quot;: { # The attribute values of data type enum. # The attribute values associated with a resource in case attribute data type is enum.
733 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is enum.
734 { # The value that can be assigned to the attribute when the data type is enum.
735 &quot;description&quot;: &quot;A String&quot;, # Optional. The detailed description of the allowed value.
736 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the allowed value.
737 &quot;id&quot;: &quot;A String&quot;, # Required. The ID of the allowed value. * If provided, the same will be used. The service will throw an error if the specified id is already used by another allowed value in the same attribute resource. * If not provided, a system generated id derived from the display name will be used. In this case, the service will handle conflict resolution by adding a system generated suffix in case of duplicates. This value should be 4-63 characters, and valid characters are /a-z-/.
738 &quot;immutable&quot;: True or False, # Optional. When set to true, the allowed value cannot be updated or deleted by the user. It can only be true for System defined attributes.
739 },
740 ],
741 },
742 &quot;jsonValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is JSON.
743 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
744 &quot;A String&quot;,
745 ],
746 },
747 &quot;stringValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is string.
748 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
749 &quot;A String&quot;,
750 ],
751 },
752 &quot;uriValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is URL, URI or IP, like gs://bucket-name/object-name.
753 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
754 &quot;A String&quot;,
755 ],
756 },
757 },
758 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time at which the deployment was last updated.
759 }</pre>
760 </div>
761
762 <div class="method">
763 <code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
764 <pre>List deployment resources in the API hub.
765
766 Args:
767 parent: string, Required. The parent, which owns this collection of deployment resources. Format: `projects/{project}/locations/{location}` (required)
768 filter: string, Optional. An expression that filters the list of Deployments. A filter expression consists of a field name, a comparison operator, and a value for filtering. The value must be a string. The comparison operator must be one of: `&lt;`, `&gt;` or `=`. Filters are not case sensitive. The following fields in the `Deployments` are eligible for filtering: * `display_name` - The display name of the Deployment. Allowed comparison operators: `=`. * `create_time` - The time at which the Deployment was created. The value should be in the (RFC3339)[https://tools.ietf.org/html/rfc3339] format. Allowed comparison operators: `&gt;` and `&lt;`. * `resource_uri` - A URI to the deployment resource. Allowed comparison operators: `=`. * `api_versions` - The API versions linked to this deployment. Allowed comparison operators: `:`. * `source_project` - The project/organization at source for the deployment. Allowed comparison operators: `=`. * `source_environment` - The environment at source for the deployment. Allowed comparison operators: `=`. * `deployment_type.enum_values.values.id` - The allowed value id of the deployment_type attribute associated with the Deployment. Allowed comparison operators: `:`. * `deployment_type.enum_values.values.display_name` - The allowed value display name of the deployment_type attribute associated with the Deployment. Allowed comparison operators: `:`. * `slo.string_values.values` -The allowed string value of the slo attribute associated with the deployment. Allowed comparison operators: `:`. * `environment.enum_values.values.id` - The allowed value id of the environment attribute associated with the deployment. Allowed comparison operators: `:`. * `environment.enum_values.values.display_name` - The allowed value display name of the environment attribute associated with the deployment. Allowed comparison operators: `:`. * `attributes.projects/test-project-id/locations/test-location-id/ attributes/user-defined-attribute-id.enum_values.values.id` - The allowed value id of the user defined enum attribute associated with the Resource. Allowed comparison operator is `:`. Here user-defined-attribute-enum-id is a placeholder that can be replaced with any user defined enum attribute name. * `attributes.projects/test-project-id/locations/test-location-id/ attributes/user-defined-attribute-id.enum_values.values.display_name` - The allowed value display name of the user defined enum attribute associated with the Resource. Allowed comparison operator is `:`. Here user-defined-attribute-enum-display-name is a placeholder that can be replaced with any user defined enum attribute enum name. * `attributes.projects/test-project-id/locations/test-location-id/ attributes/user-defined-attribute-id.string_values.values` - The allowed value of the user defined string attribute associated with the Resource. Allowed comparison operator is `:`. Here user-defined-attribute-string is a placeholder that can be replaced with any user defined string attribute name. * `attributes.projects/test-project-id/locations/test-location-id/ attributes/user-defined-attribute-id.json_values.values` - The allowed value of the user defined JSON attribute associated with the Resource. Allowed comparison operator is `:`. Here user-defined-attribute-json is a placeholder that can be replaced with any user defined JSON attribute name. A filter function is also supported in the filter string. The filter function is `id(name)`. The `id(name)` function returns the id of the resource name. For example, `id(name) = \&quot;deployment-1\&quot;` is equivalent to `name = \&quot;projects/test-project-id/locations/test-location-id/deployments/deployment-1\&quot;` provided the parent is `projects/test-project-id/locations/test-location-id`. Expressions are combined with either `AND` logic operator or `OR` logical operator but not both of them together i.e. only one of the `AND` or `OR` operator can be used throughout the filter string and both the operators cannot be used together. No other logical operators are supported. At most three filter fields are allowed in the filter string and if provided more than that then `INVALID_ARGUMENT` error is returned by the API. Here are a few examples: * `environment.enum_values.values.id: staging-id` - The allowed value id of the environment attribute associated with the Deployment is _staging-id_. * `environment.enum_values.values.display_name: \&quot;Staging Deployment\&quot;` - The allowed value display name of the environment attribute associated with the Deployment is `Staging Deployment`. * `environment.enum_values.values.id: production-id AND create_time &lt; \&quot;2021-08-15T14:50:00Z\&quot; AND create_time &gt; \&quot;2021-08-10T12:00:00Z\&quot;` - The allowed value id of the environment attribute associated with the Deployment is _production-id_ and Deployment was created before _2021-08-15 14:50:00 UTC_ and after _2021-08-10 12:00:00 UTC_. * `environment.enum_values.values.id: production-id OR slo.string_values.values: \&quot;99.99%\&quot;` - The allowed value id of the environment attribute Deployment is _production-id_ or string value of the slo attribute is _99.99%_. * `environment.enum_values.values.id: staging-id AND attributes.projects/test-project-id/locations/test-location-id/ attributes/17650f90-4a29-4971-b3c0-d5532da3764b.string_values.values: test` - The filter string specifies that the allowed value id of the environment attribute associated with the Deployment is _staging-id_ and the value of the user defined attribute of type string is _test_.
769 pageSize: integer, Optional. The maximum number of deployment resources to return. The service may return fewer than this value. If unspecified, at most 50 deployments will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
770 pageToken: string, Optional. A page token, received from a previous `ListDeployments` call. Provide this to retrieve the subsequent page. When paginating, all other parameters (except page_size) provided to `ListDeployments` must match the call that provided the page token.
771 x__xgafv: string, V1 error format.
772 Allowed values
773 1 - v1 error format
774 2 - v2 error format
775
776 Returns:
777 An object of the form:
778
779 { # The ListDeployments method&#x27;s response.
780 &quot;deployments&quot;: [ # The deployment resources present in the API hub.
781 { # Details of the deployment where APIs are hosted. A deployment could represent an Apigee proxy, API gateway, other Google Cloud services or non-Google Cloud services as well. A deployment entity is a root level entity in the API hub and exists independent of any API.
782 &quot;apiVersions&quot;: [ # Output only. The API versions linked to this deployment. Note: A particular deployment could be linked to multiple different API versions (of same or different APIs).
783 &quot;A String&quot;,
784 ],
785 &quot;attributes&quot;: { # Optional. The list of user defined attributes associated with the deployment resource. The key is the attribute name. It will be of the format: `projects/{project}/locations/{location}/attributes/{attribute}`. The value is the attribute values associated with the resource.
786 &quot;a_key&quot;: { # The attribute values associated with resource.
787 &quot;attribute&quot;: &quot;A String&quot;, # Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
788 &quot;enumValues&quot;: { # The attribute values of data type enum. # The attribute values associated with a resource in case attribute data type is enum.
789 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is enum.
790 { # The value that can be assigned to the attribute when the data type is enum.
791 &quot;description&quot;: &quot;A String&quot;, # Optional. The detailed description of the allowed value.
792 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the allowed value.
793 &quot;id&quot;: &quot;A String&quot;, # Required. The ID of the allowed value. * If provided, the same will be used. The service will throw an error if the specified id is already used by another allowed value in the same attribute resource. * If not provided, a system generated id derived from the display name will be used. In this case, the service will handle conflict resolution by adding a system generated suffix in case of duplicates. This value should be 4-63 characters, and valid characters are /a-z-/.
794 &quot;immutable&quot;: True or False, # Optional. When set to true, the allowed value cannot be updated or deleted by the user. It can only be true for System defined attributes.
795 },
796 ],
797 },
798 &quot;jsonValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is JSON.
799 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
800 &quot;A String&quot;,
801 ],
802 },
803 &quot;stringValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is string.
804 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
805 &quot;A String&quot;,
806 ],
807 },
808 &quot;uriValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is URL, URI or IP, like gs://bucket-name/object-name.
809 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
810 &quot;A String&quot;,
811 ],
812 },
813 },
814 },
815 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the deployment was created.
816 &quot;deploymentType&quot;: { # The attribute values associated with resource. # Required. The type of deployment. This maps to the following system defined attribute: `projects/{project}/locations/{location}/attributes/system-deployment-type` attribute. The number of values for this attribute will be based on the cardinality of the attribute. The same can be retrieved via GetAttribute API. All values should be from the list of allowed values defined for the attribute.
817 &quot;attribute&quot;: &quot;A String&quot;, # Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
818 &quot;enumValues&quot;: { # The attribute values of data type enum. # The attribute values associated with a resource in case attribute data type is enum.
819 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is enum.
820 { # The value that can be assigned to the attribute when the data type is enum.
821 &quot;description&quot;: &quot;A String&quot;, # Optional. The detailed description of the allowed value.
822 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the allowed value.
823 &quot;id&quot;: &quot;A String&quot;, # Required. The ID of the allowed value. * If provided, the same will be used. The service will throw an error if the specified id is already used by another allowed value in the same attribute resource. * If not provided, a system generated id derived from the display name will be used. In this case, the service will handle conflict resolution by adding a system generated suffix in case of duplicates. This value should be 4-63 characters, and valid characters are /a-z-/.
824 &quot;immutable&quot;: True or False, # Optional. When set to true, the allowed value cannot be updated or deleted by the user. It can only be true for System defined attributes.
825 },
826 ],
827 },
828 &quot;jsonValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is JSON.
829 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
830 &quot;A String&quot;,
831 ],
832 },
833 &quot;stringValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is string.
834 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
835 &quot;A String&quot;,
836 ],
837 },
838 &quot;uriValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is URL, URI or IP, like gs://bucket-name/object-name.
839 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
840 &quot;A String&quot;,
841 ],
842 },
843 },
844 &quot;description&quot;: &quot;A String&quot;, # Optional. The description of the deployment.
845 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the deployment.
846 &quot;documentation&quot;: { # Documentation details. # Optional. The documentation of the deployment.
847 &quot;externalUri&quot;: &quot;A String&quot;, # Optional. The uri of the externally hosted documentation.
848 },
849 &quot;endpoints&quot;: [ # Required. The endpoints at which this deployment resource is listening for API requests. This could be a list of complete URIs, hostnames or an IP addresses.
850 &quot;A String&quot;,
851 ],
852 &quot;environment&quot;: { # The attribute values associated with resource. # Optional. The environment mapping to this deployment. This maps to the following system defined attribute: `projects/{project}/locations/{location}/attributes/system-environment` attribute. The number of values for this attribute will be based on the cardinality of the attribute. The same can be retrieved via GetAttribute API. All values should be from the list of allowed values defined for the attribute.
853 &quot;attribute&quot;: &quot;A String&quot;, # Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
854 &quot;enumValues&quot;: { # The attribute values of data type enum. # The attribute values associated with a resource in case attribute data type is enum.
855 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is enum.
856 { # The value that can be assigned to the attribute when the data type is enum.
857 &quot;description&quot;: &quot;A String&quot;, # Optional. The detailed description of the allowed value.
858 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the allowed value.
859 &quot;id&quot;: &quot;A String&quot;, # Required. The ID of the allowed value. * If provided, the same will be used. The service will throw an error if the specified id is already used by another allowed value in the same attribute resource. * If not provided, a system generated id derived from the display name will be used. In this case, the service will handle conflict resolution by adding a system generated suffix in case of duplicates. This value should be 4-63 characters, and valid characters are /a-z-/.
860 &quot;immutable&quot;: True or False, # Optional. When set to true, the allowed value cannot be updated or deleted by the user. It can only be true for System defined attributes.
861 },
862 ],
863 },
864 &quot;jsonValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is JSON.
865 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
866 &quot;A String&quot;,
867 ],
868 },
869 &quot;stringValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is string.
870 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
871 &quot;A String&quot;,
872 ],
873 },
874 &quot;uriValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is URL, URI or IP, like gs://bucket-name/object-name.
875 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
876 &quot;A String&quot;,
877 ],
878 },
879 },
880 &quot;managementUrl&quot;: { # The attribute values associated with resource. # Optional. The uri where users can navigate to for the management of the deployment. This maps to the following system defined attribute: `projects/{project}/locations/{location}/attributes/system-management-url` The number of values for this attribute will be based on the cardinality of the attribute. The same can be retrieved via GetAttribute API. The value of the attribute should be a valid URL.
881 &quot;attribute&quot;: &quot;A String&quot;, # Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
882 &quot;enumValues&quot;: { # The attribute values of data type enum. # The attribute values associated with a resource in case attribute data type is enum.
883 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is enum.
884 { # The value that can be assigned to the attribute when the data type is enum.
885 &quot;description&quot;: &quot;A String&quot;, # Optional. The detailed description of the allowed value.
886 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the allowed value.
887 &quot;id&quot;: &quot;A String&quot;, # Required. The ID of the allowed value. * If provided, the same will be used. The service will throw an error if the specified id is already used by another allowed value in the same attribute resource. * If not provided, a system generated id derived from the display name will be used. In this case, the service will handle conflict resolution by adding a system generated suffix in case of duplicates. This value should be 4-63 characters, and valid characters are /a-z-/.
888 &quot;immutable&quot;: True or False, # Optional. When set to true, the allowed value cannot be updated or deleted by the user. It can only be true for System defined attributes.
889 },
890 ],
891 },
892 &quot;jsonValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is JSON.
893 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
894 &quot;A String&quot;,
895 ],
896 },
897 &quot;stringValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is string.
898 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
899 &quot;A String&quot;,
900 ],
901 },
902 &quot;uriValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is URL, URI or IP, like gs://bucket-name/object-name.
903 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
904 &quot;A String&quot;,
905 ],
906 },
907 },
908 &quot;name&quot;: &quot;A String&quot;, # Identifier. The name of the deployment. Format: `projects/{project}/locations/{location}/deployments/{deployment}`
909 &quot;resourceUri&quot;: &quot;A String&quot;, # Required. The resource URI identifies the deployment within its gateway. For Apigee gateways, its recommended to use the format: organizations/{org}/environments/{env}/apis/{api}. For ex: if a proxy with name `orders` is deployed in `staging` environment of `cymbal` organization, the resource URI would be: `organizations/cymbal/environments/staging/apis/orders`.
910 &quot;slo&quot;: { # The attribute values associated with resource. # Optional. The SLO for this deployment. This maps to the following system defined attribute: `projects/{project}/locations/{location}/attributes/system-slo` attribute. The number of values for this attribute will be based on the cardinality of the attribute. The same can be retrieved via GetAttribute API. All values should be from the list of allowed values defined for the attribute.
911 &quot;attribute&quot;: &quot;A String&quot;, # Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
912 &quot;enumValues&quot;: { # The attribute values of data type enum. # The attribute values associated with a resource in case attribute data type is enum.
913 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is enum.
914 { # The value that can be assigned to the attribute when the data type is enum.
915 &quot;description&quot;: &quot;A String&quot;, # Optional. The detailed description of the allowed value.
916 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the allowed value.
917 &quot;id&quot;: &quot;A String&quot;, # Required. The ID of the allowed value. * If provided, the same will be used. The service will throw an error if the specified id is already used by another allowed value in the same attribute resource. * If not provided, a system generated id derived from the display name will be used. In this case, the service will handle conflict resolution by adding a system generated suffix in case of duplicates. This value should be 4-63 characters, and valid characters are /a-z-/.
918 &quot;immutable&quot;: True or False, # Optional. When set to true, the allowed value cannot be updated or deleted by the user. It can only be true for System defined attributes.
919 },
920 ],
921 },
922 &quot;jsonValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is JSON.
923 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
924 &quot;A String&quot;,
925 ],
926 },
927 &quot;stringValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is string.
928 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
929 &quot;A String&quot;,
930 ],
931 },
932 &quot;uriValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is URL, URI or IP, like gs://bucket-name/object-name.
933 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
934 &quot;A String&quot;,
935 ],
936 },
937 },
938 &quot;sourceEnvironment&quot;: &quot;A String&quot;, # Optional. The environment at source for the deployment. For example: prod, dev, staging, etc.
939 &quot;sourceMetadata&quot;: [ # Output only. The list of sources and metadata from the sources of the deployment.
940 { # SourceMetadata represents the metadata for a resource at the source.
941 &quot;originalResourceCreateTime&quot;: &quot;A String&quot;, # Output only. The time at which the resource was created at the source.
942 &quot;originalResourceId&quot;: &quot;A String&quot;, # Output only. The unique identifier of the resource at the source.
943 &quot;originalResourceUpdateTime&quot;: &quot;A String&quot;, # Output only. The time at which the resource was last updated at the source.
944 &quot;pluginInstanceActionSource&quot;: { # PluginInstanceActionSource represents the plugin instance action source. # Output only. The source of the resource is a plugin instance action.
945 &quot;actionId&quot;: &quot;A String&quot;, # Output only. The id of the plugin instance action.
946 &quot;pluginInstance&quot;: &quot;A String&quot;, # Output only. The resource name of the source plugin instance. Format is `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`
947 },
948 &quot;sourceType&quot;: &quot;A String&quot;, # Output only. The type of the source.
949 },
950 ],
951 &quot;sourceProject&quot;: &quot;A String&quot;, # Optional. The project to which the deployment belongs. For Google Cloud gateways, this will refer to the project identifier. For others like Edge/OPDK, this will refer to the org identifier.
952 &quot;sourceUri&quot;: { # The attribute values associated with resource. # Optional. The uri where additional source specific information for this deployment can be found. This maps to the following system defined attribute: `projects/{project}/locations/{location}/attributes/system-source-uri` The number of values for this attribute will be based on the cardinality of the attribute. The same can be retrieved via GetAttribute API. The value of the attribute should be a valid URI, and in case of Cloud Storage URI, it should point to a Cloud Storage object, not a directory.
953 &quot;attribute&quot;: &quot;A String&quot;, # Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
954 &quot;enumValues&quot;: { # The attribute values of data type enum. # The attribute values associated with a resource in case attribute data type is enum.
955 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is enum.
956 { # The value that can be assigned to the attribute when the data type is enum.
957 &quot;description&quot;: &quot;A String&quot;, # Optional. The detailed description of the allowed value.
958 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the allowed value.
959 &quot;id&quot;: &quot;A String&quot;, # Required. The ID of the allowed value. * If provided, the same will be used. The service will throw an error if the specified id is already used by another allowed value in the same attribute resource. * If not provided, a system generated id derived from the display name will be used. In this case, the service will handle conflict resolution by adding a system generated suffix in case of duplicates. This value should be 4-63 characters, and valid characters are /a-z-/.
960 &quot;immutable&quot;: True or False, # Optional. When set to true, the allowed value cannot be updated or deleted by the user. It can only be true for System defined attributes.
961 },
962 ],
963 },
964 &quot;jsonValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is JSON.
965 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
966 &quot;A String&quot;,
967 ],
968 },
969 &quot;stringValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is string.
970 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
971 &quot;A String&quot;,
972 ],
973 },
974 &quot;uriValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is URL, URI or IP, like gs://bucket-name/object-name.
975 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
976 &quot;A String&quot;,
977 ],
978 },
979 },
980 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time at which the deployment was last updated.
981 },
982 ],
983 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
984 }</pre>
985 </div>
986
987 <div class="method">
988 <code class="details" id="list_next">list_next()</code>
989 <pre>Retrieves the next page of results.
990
991 Args:
992 previous_request: The request for the previous page. (required)
993 previous_response: The response from the request for the previous page. (required)
994
995 Returns:
996 A request object that you can call &#x27;execute()&#x27; on to request the next
997 page. Returns None if there are no more items in the collection.
998 </pre>
999 </div>
1000
1001 <div class="method">
1002 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
1003 <pre>Update a deployment resource in the API hub. The following fields in the deployment resource can be updated: * display_name * description * documentation * deployment_type * resource_uri * endpoints * slo * environment * attributes * source_project * source_environment * management_url * source_uri The update_mask should be used to specify the fields being updated.
1004
1005 Args:
1006 name: string, Identifier. The name of the deployment. Format: `projects/{project}/locations/{location}/deployments/{deployment}` (required)
1007 body: object, The request body.
1008 The object takes the form of:
1009
1010 { # Details of the deployment where APIs are hosted. A deployment could represent an Apigee proxy, API gateway, other Google Cloud services or non-Google Cloud services as well. A deployment entity is a root level entity in the API hub and exists independent of any API.
1011 &quot;apiVersions&quot;: [ # Output only. The API versions linked to this deployment. Note: A particular deployment could be linked to multiple different API versions (of same or different APIs).
1012 &quot;A String&quot;,
1013 ],
1014 &quot;attributes&quot;: { # Optional. The list of user defined attributes associated with the deployment resource. The key is the attribute name. It will be of the format: `projects/{project}/locations/{location}/attributes/{attribute}`. The value is the attribute values associated with the resource.
1015 &quot;a_key&quot;: { # The attribute values associated with resource.
1016 &quot;attribute&quot;: &quot;A String&quot;, # Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
1017 &quot;enumValues&quot;: { # The attribute values of data type enum. # The attribute values associated with a resource in case attribute data type is enum.
1018 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is enum.
1019 { # The value that can be assigned to the attribute when the data type is enum.
1020 &quot;description&quot;: &quot;A String&quot;, # Optional. The detailed description of the allowed value.
1021 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the allowed value.
1022 &quot;id&quot;: &quot;A String&quot;, # Required. The ID of the allowed value. * If provided, the same will be used. The service will throw an error if the specified id is already used by another allowed value in the same attribute resource. * If not provided, a system generated id derived from the display name will be used. In this case, the service will handle conflict resolution by adding a system generated suffix in case of duplicates. This value should be 4-63 characters, and valid characters are /a-z-/.
1023 &quot;immutable&quot;: True or False, # Optional. When set to true, the allowed value cannot be updated or deleted by the user. It can only be true for System defined attributes.
1024 },
1025 ],
1026 },
1027 &quot;jsonValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is JSON.
1028 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
1029 &quot;A String&quot;,
1030 ],
1031 },
1032 &quot;stringValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is string.
1033 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
1034 &quot;A String&quot;,
1035 ],
1036 },
1037 &quot;uriValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is URL, URI or IP, like gs://bucket-name/object-name.
1038 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
1039 &quot;A String&quot;,
1040 ],
1041 },
1042 },
1043 },
1044 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the deployment was created.
1045 &quot;deploymentType&quot;: { # The attribute values associated with resource. # Required. The type of deployment. This maps to the following system defined attribute: `projects/{project}/locations/{location}/attributes/system-deployment-type` attribute. The number of values for this attribute will be based on the cardinality of the attribute. The same can be retrieved via GetAttribute API. All values should be from the list of allowed values defined for the attribute.
1046 &quot;attribute&quot;: &quot;A String&quot;, # Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
1047 &quot;enumValues&quot;: { # The attribute values of data type enum. # The attribute values associated with a resource in case attribute data type is enum.
1048 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is enum.
1049 { # The value that can be assigned to the attribute when the data type is enum.
1050 &quot;description&quot;: &quot;A String&quot;, # Optional. The detailed description of the allowed value.
1051 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the allowed value.
1052 &quot;id&quot;: &quot;A String&quot;, # Required. The ID of the allowed value. * If provided, the same will be used. The service will throw an error if the specified id is already used by another allowed value in the same attribute resource. * If not provided, a system generated id derived from the display name will be used. In this case, the service will handle conflict resolution by adding a system generated suffix in case of duplicates. This value should be 4-63 characters, and valid characters are /a-z-/.
1053 &quot;immutable&quot;: True or False, # Optional. When set to true, the allowed value cannot be updated or deleted by the user. It can only be true for System defined attributes.
1054 },
1055 ],
1056 },
1057 &quot;jsonValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is JSON.
1058 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
1059 &quot;A String&quot;,
1060 ],
1061 },
1062 &quot;stringValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is string.
1063 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
1064 &quot;A String&quot;,
1065 ],
1066 },
1067 &quot;uriValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is URL, URI or IP, like gs://bucket-name/object-name.
1068 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
1069 &quot;A String&quot;,
1070 ],
1071 },
1072 },
1073 &quot;description&quot;: &quot;A String&quot;, # Optional. The description of the deployment.
1074 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the deployment.
1075 &quot;documentation&quot;: { # Documentation details. # Optional. The documentation of the deployment.
1076 &quot;externalUri&quot;: &quot;A String&quot;, # Optional. The uri of the externally hosted documentation.
1077 },
1078 &quot;endpoints&quot;: [ # Required. The endpoints at which this deployment resource is listening for API requests. This could be a list of complete URIs, hostnames or an IP addresses.
1079 &quot;A String&quot;,
1080 ],
1081 &quot;environment&quot;: { # The attribute values associated with resource. # Optional. The environment mapping to this deployment. This maps to the following system defined attribute: `projects/{project}/locations/{location}/attributes/system-environment` attribute. The number of values for this attribute will be based on the cardinality of the attribute. The same can be retrieved via GetAttribute API. All values should be from the list of allowed values defined for the attribute.
1082 &quot;attribute&quot;: &quot;A String&quot;, # Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
1083 &quot;enumValues&quot;: { # The attribute values of data type enum. # The attribute values associated with a resource in case attribute data type is enum.
1084 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is enum.
1085 { # The value that can be assigned to the attribute when the data type is enum.
1086 &quot;description&quot;: &quot;A String&quot;, # Optional. The detailed description of the allowed value.
1087 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the allowed value.
1088 &quot;id&quot;: &quot;A String&quot;, # Required. The ID of the allowed value. * If provided, the same will be used. The service will throw an error if the specified id is already used by another allowed value in the same attribute resource. * If not provided, a system generated id derived from the display name will be used. In this case, the service will handle conflict resolution by adding a system generated suffix in case of duplicates. This value should be 4-63 characters, and valid characters are /a-z-/.
1089 &quot;immutable&quot;: True or False, # Optional. When set to true, the allowed value cannot be updated or deleted by the user. It can only be true for System defined attributes.
1090 },
1091 ],
1092 },
1093 &quot;jsonValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is JSON.
1094 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
1095 &quot;A String&quot;,
1096 ],
1097 },
1098 &quot;stringValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is string.
1099 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
1100 &quot;A String&quot;,
1101 ],
1102 },
1103 &quot;uriValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is URL, URI or IP, like gs://bucket-name/object-name.
1104 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
1105 &quot;A String&quot;,
1106 ],
1107 },
1108 },
1109 &quot;managementUrl&quot;: { # The attribute values associated with resource. # Optional. The uri where users can navigate to for the management of the deployment. This maps to the following system defined attribute: `projects/{project}/locations/{location}/attributes/system-management-url` The number of values for this attribute will be based on the cardinality of the attribute. The same can be retrieved via GetAttribute API. The value of the attribute should be a valid URL.
1110 &quot;attribute&quot;: &quot;A String&quot;, # Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
1111 &quot;enumValues&quot;: { # The attribute values of data type enum. # The attribute values associated with a resource in case attribute data type is enum.
1112 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is enum.
1113 { # The value that can be assigned to the attribute when the data type is enum.
1114 &quot;description&quot;: &quot;A String&quot;, # Optional. The detailed description of the allowed value.
1115 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the allowed value.
1116 &quot;id&quot;: &quot;A String&quot;, # Required. The ID of the allowed value. * If provided, the same will be used. The service will throw an error if the specified id is already used by another allowed value in the same attribute resource. * If not provided, a system generated id derived from the display name will be used. In this case, the service will handle conflict resolution by adding a system generated suffix in case of duplicates. This value should be 4-63 characters, and valid characters are /a-z-/.
1117 &quot;immutable&quot;: True or False, # Optional. When set to true, the allowed value cannot be updated or deleted by the user. It can only be true for System defined attributes.
1118 },
1119 ],
1120 },
1121 &quot;jsonValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is JSON.
1122 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
1123 &quot;A String&quot;,
1124 ],
1125 },
1126 &quot;stringValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is string.
1127 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
1128 &quot;A String&quot;,
1129 ],
1130 },
1131 &quot;uriValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is URL, URI or IP, like gs://bucket-name/object-name.
1132 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
1133 &quot;A String&quot;,
1134 ],
1135 },
1136 },
1137 &quot;name&quot;: &quot;A String&quot;, # Identifier. The name of the deployment. Format: `projects/{project}/locations/{location}/deployments/{deployment}`
1138 &quot;resourceUri&quot;: &quot;A String&quot;, # Required. The resource URI identifies the deployment within its gateway. For Apigee gateways, its recommended to use the format: organizations/{org}/environments/{env}/apis/{api}. For ex: if a proxy with name `orders` is deployed in `staging` environment of `cymbal` organization, the resource URI would be: `organizations/cymbal/environments/staging/apis/orders`.
1139 &quot;slo&quot;: { # The attribute values associated with resource. # Optional. The SLO for this deployment. This maps to the following system defined attribute: `projects/{project}/locations/{location}/attributes/system-slo` attribute. The number of values for this attribute will be based on the cardinality of the attribute. The same can be retrieved via GetAttribute API. All values should be from the list of allowed values defined for the attribute.
1140 &quot;attribute&quot;: &quot;A String&quot;, # Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
1141 &quot;enumValues&quot;: { # The attribute values of data type enum. # The attribute values associated with a resource in case attribute data type is enum.
1142 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is enum.
1143 { # The value that can be assigned to the attribute when the data type is enum.
1144 &quot;description&quot;: &quot;A String&quot;, # Optional. The detailed description of the allowed value.
1145 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the allowed value.
1146 &quot;id&quot;: &quot;A String&quot;, # Required. The ID of the allowed value. * If provided, the same will be used. The service will throw an error if the specified id is already used by another allowed value in the same attribute resource. * If not provided, a system generated id derived from the display name will be used. In this case, the service will handle conflict resolution by adding a system generated suffix in case of duplicates. This value should be 4-63 characters, and valid characters are /a-z-/.
1147 &quot;immutable&quot;: True or False, # Optional. When set to true, the allowed value cannot be updated or deleted by the user. It can only be true for System defined attributes.
1148 },
1149 ],
1150 },
1151 &quot;jsonValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is JSON.
1152 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
1153 &quot;A String&quot;,
1154 ],
1155 },
1156 &quot;stringValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is string.
1157 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
1158 &quot;A String&quot;,
1159 ],
1160 },
1161 &quot;uriValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is URL, URI or IP, like gs://bucket-name/object-name.
1162 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
1163 &quot;A String&quot;,
1164 ],
1165 },
1166 },
1167 &quot;sourceEnvironment&quot;: &quot;A String&quot;, # Optional. The environment at source for the deployment. For example: prod, dev, staging, etc.
1168 &quot;sourceMetadata&quot;: [ # Output only. The list of sources and metadata from the sources of the deployment.
1169 { # SourceMetadata represents the metadata for a resource at the source.
1170 &quot;originalResourceCreateTime&quot;: &quot;A String&quot;, # Output only. The time at which the resource was created at the source.
1171 &quot;originalResourceId&quot;: &quot;A String&quot;, # Output only. The unique identifier of the resource at the source.
1172 &quot;originalResourceUpdateTime&quot;: &quot;A String&quot;, # Output only. The time at which the resource was last updated at the source.
1173 &quot;pluginInstanceActionSource&quot;: { # PluginInstanceActionSource represents the plugin instance action source. # Output only. The source of the resource is a plugin instance action.
1174 &quot;actionId&quot;: &quot;A String&quot;, # Output only. The id of the plugin instance action.
1175 &quot;pluginInstance&quot;: &quot;A String&quot;, # Output only. The resource name of the source plugin instance. Format is `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`
1176 },
1177 &quot;sourceType&quot;: &quot;A String&quot;, # Output only. The type of the source.
1178 },
1179 ],
1180 &quot;sourceProject&quot;: &quot;A String&quot;, # Optional. The project to which the deployment belongs. For Google Cloud gateways, this will refer to the project identifier. For others like Edge/OPDK, this will refer to the org identifier.
1181 &quot;sourceUri&quot;: { # The attribute values associated with resource. # Optional. The uri where additional source specific information for this deployment can be found. This maps to the following system defined attribute: `projects/{project}/locations/{location}/attributes/system-source-uri` The number of values for this attribute will be based on the cardinality of the attribute. The same can be retrieved via GetAttribute API. The value of the attribute should be a valid URI, and in case of Cloud Storage URI, it should point to a Cloud Storage object, not a directory.
1182 &quot;attribute&quot;: &quot;A String&quot;, # Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
1183 &quot;enumValues&quot;: { # The attribute values of data type enum. # The attribute values associated with a resource in case attribute data type is enum.
1184 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is enum.
1185 { # The value that can be assigned to the attribute when the data type is enum.
1186 &quot;description&quot;: &quot;A String&quot;, # Optional. The detailed description of the allowed value.
1187 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the allowed value.
1188 &quot;id&quot;: &quot;A String&quot;, # Required. The ID of the allowed value. * If provided, the same will be used. The service will throw an error if the specified id is already used by another allowed value in the same attribute resource. * If not provided, a system generated id derived from the display name will be used. In this case, the service will handle conflict resolution by adding a system generated suffix in case of duplicates. This value should be 4-63 characters, and valid characters are /a-z-/.
1189 &quot;immutable&quot;: True or False, # Optional. When set to true, the allowed value cannot be updated or deleted by the user. It can only be true for System defined attributes.
1190 },
1191 ],
1192 },
1193 &quot;jsonValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is JSON.
1194 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
1195 &quot;A String&quot;,
1196 ],
1197 },
1198 &quot;stringValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is string.
1199 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
1200 &quot;A String&quot;,
1201 ],
1202 },
1203 &quot;uriValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is URL, URI or IP, like gs://bucket-name/object-name.
1204 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
1205 &quot;A String&quot;,
1206 ],
1207 },
1208 },
1209 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time at which the deployment was last updated.
1210 }
1211
1212 updateMask: string, Required. The list of fields to update.
1213 x__xgafv: string, V1 error format.
1214 Allowed values
1215 1 - v1 error format
1216 2 - v2 error format
1217
1218 Returns:
1219 An object of the form:
1220
1221 { # Details of the deployment where APIs are hosted. A deployment could represent an Apigee proxy, API gateway, other Google Cloud services or non-Google Cloud services as well. A deployment entity is a root level entity in the API hub and exists independent of any API.
1222 &quot;apiVersions&quot;: [ # Output only. The API versions linked to this deployment. Note: A particular deployment could be linked to multiple different API versions (of same or different APIs).
1223 &quot;A String&quot;,
1224 ],
1225 &quot;attributes&quot;: { # Optional. The list of user defined attributes associated with the deployment resource. The key is the attribute name. It will be of the format: `projects/{project}/locations/{location}/attributes/{attribute}`. The value is the attribute values associated with the resource.
1226 &quot;a_key&quot;: { # The attribute values associated with resource.
1227 &quot;attribute&quot;: &quot;A String&quot;, # Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
1228 &quot;enumValues&quot;: { # The attribute values of data type enum. # The attribute values associated with a resource in case attribute data type is enum.
1229 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is enum.
1230 { # The value that can be assigned to the attribute when the data type is enum.
1231 &quot;description&quot;: &quot;A String&quot;, # Optional. The detailed description of the allowed value.
1232 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the allowed value.
1233 &quot;id&quot;: &quot;A String&quot;, # Required. The ID of the allowed value. * If provided, the same will be used. The service will throw an error if the specified id is already used by another allowed value in the same attribute resource. * If not provided, a system generated id derived from the display name will be used. In this case, the service will handle conflict resolution by adding a system generated suffix in case of duplicates. This value should be 4-63 characters, and valid characters are /a-z-/.
1234 &quot;immutable&quot;: True or False, # Optional. When set to true, the allowed value cannot be updated or deleted by the user. It can only be true for System defined attributes.
1235 },
1236 ],
1237 },
1238 &quot;jsonValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is JSON.
1239 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
1240 &quot;A String&quot;,
1241 ],
1242 },
1243 &quot;stringValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is string.
1244 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
1245 &quot;A String&quot;,
1246 ],
1247 },
1248 &quot;uriValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is URL, URI or IP, like gs://bucket-name/object-name.
1249 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
1250 &quot;A String&quot;,
1251 ],
1252 },
1253 },
1254 },
1255 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the deployment was created.
1256 &quot;deploymentType&quot;: { # The attribute values associated with resource. # Required. The type of deployment. This maps to the following system defined attribute: `projects/{project}/locations/{location}/attributes/system-deployment-type` attribute. The number of values for this attribute will be based on the cardinality of the attribute. The same can be retrieved via GetAttribute API. All values should be from the list of allowed values defined for the attribute.
1257 &quot;attribute&quot;: &quot;A String&quot;, # Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
1258 &quot;enumValues&quot;: { # The attribute values of data type enum. # The attribute values associated with a resource in case attribute data type is enum.
1259 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is enum.
1260 { # The value that can be assigned to the attribute when the data type is enum.
1261 &quot;description&quot;: &quot;A String&quot;, # Optional. The detailed description of the allowed value.
1262 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the allowed value.
1263 &quot;id&quot;: &quot;A String&quot;, # Required. The ID of the allowed value. * If provided, the same will be used. The service will throw an error if the specified id is already used by another allowed value in the same attribute resource. * If not provided, a system generated id derived from the display name will be used. In this case, the service will handle conflict resolution by adding a system generated suffix in case of duplicates. This value should be 4-63 characters, and valid characters are /a-z-/.
1264 &quot;immutable&quot;: True or False, # Optional. When set to true, the allowed value cannot be updated or deleted by the user. It can only be true for System defined attributes.
1265 },
1266 ],
1267 },
1268 &quot;jsonValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is JSON.
1269 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
1270 &quot;A String&quot;,
1271 ],
1272 },
1273 &quot;stringValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is string.
1274 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
1275 &quot;A String&quot;,
1276 ],
1277 },
1278 &quot;uriValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is URL, URI or IP, like gs://bucket-name/object-name.
1279 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
1280 &quot;A String&quot;,
1281 ],
1282 },
1283 },
1284 &quot;description&quot;: &quot;A String&quot;, # Optional. The description of the deployment.
1285 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the deployment.
1286 &quot;documentation&quot;: { # Documentation details. # Optional. The documentation of the deployment.
1287 &quot;externalUri&quot;: &quot;A String&quot;, # Optional. The uri of the externally hosted documentation.
1288 },
1289 &quot;endpoints&quot;: [ # Required. The endpoints at which this deployment resource is listening for API requests. This could be a list of complete URIs, hostnames or an IP addresses.
1290 &quot;A String&quot;,
1291 ],
1292 &quot;environment&quot;: { # The attribute values associated with resource. # Optional. The environment mapping to this deployment. This maps to the following system defined attribute: `projects/{project}/locations/{location}/attributes/system-environment` attribute. The number of values for this attribute will be based on the cardinality of the attribute. The same can be retrieved via GetAttribute API. All values should be from the list of allowed values defined for the attribute.
1293 &quot;attribute&quot;: &quot;A String&quot;, # Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
1294 &quot;enumValues&quot;: { # The attribute values of data type enum. # The attribute values associated with a resource in case attribute data type is enum.
1295 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is enum.
1296 { # The value that can be assigned to the attribute when the data type is enum.
1297 &quot;description&quot;: &quot;A String&quot;, # Optional. The detailed description of the allowed value.
1298 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the allowed value.
1299 &quot;id&quot;: &quot;A String&quot;, # Required. The ID of the allowed value. * If provided, the same will be used. The service will throw an error if the specified id is already used by another allowed value in the same attribute resource. * If not provided, a system generated id derived from the display name will be used. In this case, the service will handle conflict resolution by adding a system generated suffix in case of duplicates. This value should be 4-63 characters, and valid characters are /a-z-/.
1300 &quot;immutable&quot;: True or False, # Optional. When set to true, the allowed value cannot be updated or deleted by the user. It can only be true for System defined attributes.
1301 },
1302 ],
1303 },
1304 &quot;jsonValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is JSON.
1305 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
1306 &quot;A String&quot;,
1307 ],
1308 },
1309 &quot;stringValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is string.
1310 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
1311 &quot;A String&quot;,
1312 ],
1313 },
1314 &quot;uriValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is URL, URI or IP, like gs://bucket-name/object-name.
1315 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
1316 &quot;A String&quot;,
1317 ],
1318 },
1319 },
1320 &quot;managementUrl&quot;: { # The attribute values associated with resource. # Optional. The uri where users can navigate to for the management of the deployment. This maps to the following system defined attribute: `projects/{project}/locations/{location}/attributes/system-management-url` The number of values for this attribute will be based on the cardinality of the attribute. The same can be retrieved via GetAttribute API. The value of the attribute should be a valid URL.
1321 &quot;attribute&quot;: &quot;A String&quot;, # Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
1322 &quot;enumValues&quot;: { # The attribute values of data type enum. # The attribute values associated with a resource in case attribute data type is enum.
1323 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is enum.
1324 { # The value that can be assigned to the attribute when the data type is enum.
1325 &quot;description&quot;: &quot;A String&quot;, # Optional. The detailed description of the allowed value.
1326 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the allowed value.
1327 &quot;id&quot;: &quot;A String&quot;, # Required. The ID of the allowed value. * If provided, the same will be used. The service will throw an error if the specified id is already used by another allowed value in the same attribute resource. * If not provided, a system generated id derived from the display name will be used. In this case, the service will handle conflict resolution by adding a system generated suffix in case of duplicates. This value should be 4-63 characters, and valid characters are /a-z-/.
1328 &quot;immutable&quot;: True or False, # Optional. When set to true, the allowed value cannot be updated or deleted by the user. It can only be true for System defined attributes.
1329 },
1330 ],
1331 },
1332 &quot;jsonValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is JSON.
1333 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
1334 &quot;A String&quot;,
1335 ],
1336 },
1337 &quot;stringValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is string.
1338 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
1339 &quot;A String&quot;,
1340 ],
1341 },
1342 &quot;uriValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is URL, URI or IP, like gs://bucket-name/object-name.
1343 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
1344 &quot;A String&quot;,
1345 ],
1346 },
1347 },
1348 &quot;name&quot;: &quot;A String&quot;, # Identifier. The name of the deployment. Format: `projects/{project}/locations/{location}/deployments/{deployment}`
1349 &quot;resourceUri&quot;: &quot;A String&quot;, # Required. The resource URI identifies the deployment within its gateway. For Apigee gateways, its recommended to use the format: organizations/{org}/environments/{env}/apis/{api}. For ex: if a proxy with name `orders` is deployed in `staging` environment of `cymbal` organization, the resource URI would be: `organizations/cymbal/environments/staging/apis/orders`.
1350 &quot;slo&quot;: { # The attribute values associated with resource. # Optional. The SLO for this deployment. This maps to the following system defined attribute: `projects/{project}/locations/{location}/attributes/system-slo` attribute. The number of values for this attribute will be based on the cardinality of the attribute. The same can be retrieved via GetAttribute API. All values should be from the list of allowed values defined for the attribute.
1351 &quot;attribute&quot;: &quot;A String&quot;, # Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
1352 &quot;enumValues&quot;: { # The attribute values of data type enum. # The attribute values associated with a resource in case attribute data type is enum.
1353 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is enum.
1354 { # The value that can be assigned to the attribute when the data type is enum.
1355 &quot;description&quot;: &quot;A String&quot;, # Optional. The detailed description of the allowed value.
1356 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the allowed value.
1357 &quot;id&quot;: &quot;A String&quot;, # Required. The ID of the allowed value. * If provided, the same will be used. The service will throw an error if the specified id is already used by another allowed value in the same attribute resource. * If not provided, a system generated id derived from the display name will be used. In this case, the service will handle conflict resolution by adding a system generated suffix in case of duplicates. This value should be 4-63 characters, and valid characters are /a-z-/.
1358 &quot;immutable&quot;: True or False, # Optional. When set to true, the allowed value cannot be updated or deleted by the user. It can only be true for System defined attributes.
1359 },
1360 ],
1361 },
1362 &quot;jsonValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is JSON.
1363 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
1364 &quot;A String&quot;,
1365 ],
1366 },
1367 &quot;stringValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is string.
1368 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
1369 &quot;A String&quot;,
1370 ],
1371 },
1372 &quot;uriValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is URL, URI or IP, like gs://bucket-name/object-name.
1373 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
1374 &quot;A String&quot;,
1375 ],
1376 },
1377 },
1378 &quot;sourceEnvironment&quot;: &quot;A String&quot;, # Optional. The environment at source for the deployment. For example: prod, dev, staging, etc.
1379 &quot;sourceMetadata&quot;: [ # Output only. The list of sources and metadata from the sources of the deployment.
1380 { # SourceMetadata represents the metadata for a resource at the source.
1381 &quot;originalResourceCreateTime&quot;: &quot;A String&quot;, # Output only. The time at which the resource was created at the source.
1382 &quot;originalResourceId&quot;: &quot;A String&quot;, # Output only. The unique identifier of the resource at the source.
1383 &quot;originalResourceUpdateTime&quot;: &quot;A String&quot;, # Output only. The time at which the resource was last updated at the source.
1384 &quot;pluginInstanceActionSource&quot;: { # PluginInstanceActionSource represents the plugin instance action source. # Output only. The source of the resource is a plugin instance action.
1385 &quot;actionId&quot;: &quot;A String&quot;, # Output only. The id of the plugin instance action.
1386 &quot;pluginInstance&quot;: &quot;A String&quot;, # Output only. The resource name of the source plugin instance. Format is `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`
1387 },
1388 &quot;sourceType&quot;: &quot;A String&quot;, # Output only. The type of the source.
1389 },
1390 ],
1391 &quot;sourceProject&quot;: &quot;A String&quot;, # Optional. The project to which the deployment belongs. For Google Cloud gateways, this will refer to the project identifier. For others like Edge/OPDK, this will refer to the org identifier.
1392 &quot;sourceUri&quot;: { # The attribute values associated with resource. # Optional. The uri where additional source specific information for this deployment can be found. This maps to the following system defined attribute: `projects/{project}/locations/{location}/attributes/system-source-uri` The number of values for this attribute will be based on the cardinality of the attribute. The same can be retrieved via GetAttribute API. The value of the attribute should be a valid URI, and in case of Cloud Storage URI, it should point to a Cloud Storage object, not a directory.
1393 &quot;attribute&quot;: &quot;A String&quot;, # Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
1394 &quot;enumValues&quot;: { # The attribute values of data type enum. # The attribute values associated with a resource in case attribute data type is enum.
1395 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is enum.
1396 { # The value that can be assigned to the attribute when the data type is enum.
1397 &quot;description&quot;: &quot;A String&quot;, # Optional. The detailed description of the allowed value.
1398 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the allowed value.
1399 &quot;id&quot;: &quot;A String&quot;, # Required. The ID of the allowed value. * If provided, the same will be used. The service will throw an error if the specified id is already used by another allowed value in the same attribute resource. * If not provided, a system generated id derived from the display name will be used. In this case, the service will handle conflict resolution by adding a system generated suffix in case of duplicates. This value should be 4-63 characters, and valid characters are /a-z-/.
1400 &quot;immutable&quot;: True or False, # Optional. When set to true, the allowed value cannot be updated or deleted by the user. It can only be true for System defined attributes.
1401 },
1402 ],
1403 },
1404 &quot;jsonValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is JSON.
1405 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
1406 &quot;A String&quot;,
1407 ],
1408 },
1409 &quot;stringValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is string.
1410 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
1411 &quot;A String&quot;,
1412 ],
1413 },
1414 &quot;uriValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is URL, URI or IP, like gs://bucket-name/object-name.
1415 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
1416 &quot;A String&quot;,
1417 ],
1418 },
1419 },
1420 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time at which the deployment was last updated.
1421 }</pre>
1422 </div>
1423
1424 </body></html>