Debian Codegraph @

docs/dyn/apigee_v1.organizations.envgroups.html

raw
1 <html><body>
2 <style>
3
4 body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13 }
14
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51 }
52
53 .toc_element {
54 margin-top: 0.5em;
55 }
56
57 .firstline {
58 margin-left: 2 em;
59 }
60
61 .method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66 }
67
68 .details {
69 font-weight: bold;
70 font-size: 14px;
71 }
72
73 </style>
74
75 <h1><a href="apigee_v1.html">Apigee API</a> . <a href="apigee_v1.organizations.html">organizations</a> . <a href="apigee_v1.organizations.envgroups.html">envgroups</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="apigee_v1.organizations.envgroups.attachments.html">attachments()</a></code>
79 </p>
80 <p class="firstline">Returns the attachments Resource.</p>
81
82 <p class="toc_element">
83 <code><a href="#close">close()</a></code></p>
84 <p class="firstline">Close httplib2 connections.</p>
85 <p class="toc_element">
86 <code><a href="#create">create(parent, body=None, name=None, x__xgafv=None)</a></code></p>
87 <p class="firstline">Creates a new environment group.</p>
88 <p class="toc_element">
89 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
90 <p class="firstline">Deletes an environment group.</p>
91 <p class="toc_element">
92 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
93 <p class="firstline">Gets an environment group.</p>
94 <p class="toc_element">
95 <code><a href="#getDeployedIngressConfig">getDeployedIngressConfig(name, view=None, x__xgafv=None)</a></code></p>
96 <p class="firstline">Gets the deployed ingress configuration for an environment group.</p>
97 <p class="toc_element">
98 <code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
99 <p class="firstline">Lists all environment groups.</p>
100 <p class="toc_element">
101 <code><a href="#list_next">list_next()</a></code></p>
102 <p class="firstline">Retrieves the next page of results.</p>
103 <p class="toc_element">
104 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
105 <p class="firstline">Updates an environment group.</p>
106 <h3>Method Details</h3>
107 <div class="method">
108 <code class="details" id="close">close()</code>
109 <pre>Close httplib2 connections.</pre>
110 </div>
111
112 <div class="method">
113 <code class="details" id="create">create(parent, body=None, name=None, x__xgafv=None)</code>
114 <pre>Creates a new environment group.
115
116 Args:
117 parent: string, Required. Name of the organization in which to create the environment group in the following format: `organizations/{org}`. (required)
118 body: object, The request body.
119 The object takes the form of:
120
121 { # EnvironmentGroup configuration. An environment group is used to group one or more Apigee environments under a single host name.
122 &quot;createdAt&quot;: &quot;A String&quot;, # Output only. The time at which the environment group was created as milliseconds since epoch.
123 &quot;hostnames&quot;: [ # Required. Host names for this environment group.
124 &quot;A String&quot;,
125 ],
126 &quot;lastModifiedAt&quot;: &quot;A String&quot;, # Output only. The time at which the environment group was last updated as milliseconds since epoch.
127 &quot;name&quot;: &quot;A String&quot;, # ID of the environment group.
128 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the environment group. Values other than ACTIVE means the resource is not ready to use.
129 }
130
131 name: string, Optional. ID of the environment group. Overrides any ID in the environment_group resource.
132 x__xgafv: string, V1 error format.
133 Allowed values
134 1 - v1 error format
135 2 - v2 error format
136
137 Returns:
138 An object of the form:
139
140 { # This resource represents a long-running operation that is the result of a network API call.
141 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
142 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
143 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
144 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
145 {
146 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
147 },
148 ],
149 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
150 },
151 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
152 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
153 },
154 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
155 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
156 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
157 },
158 }</pre>
159 </div>
160
161 <div class="method">
162 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
163 <pre>Deletes an environment group.
164
165 Args:
166 name: string, Required. Name of the environment group in the following format: `organizations/{org}/envgroups/{envgroup}`. (required)
167 x__xgafv: string, V1 error format.
168 Allowed values
169 1 - v1 error format
170 2 - v2 error format
171
172 Returns:
173 An object of the form:
174
175 { # This resource represents a long-running operation that is the result of a network API call.
176 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
177 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
178 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
179 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
180 {
181 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
182 },
183 ],
184 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
185 },
186 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
187 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
188 },
189 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
190 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
191 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
192 },
193 }</pre>
194 </div>
195
196 <div class="method">
197 <code class="details" id="get">get(name, x__xgafv=None)</code>
198 <pre>Gets an environment group.
199
200 Args:
201 name: string, Required. Name of the environment group in the following format: `organizations/{org}/envgroups/{envgroup}`. (required)
202 x__xgafv: string, V1 error format.
203 Allowed values
204 1 - v1 error format
205 2 - v2 error format
206
207 Returns:
208 An object of the form:
209
210 { # EnvironmentGroup configuration. An environment group is used to group one or more Apigee environments under a single host name.
211 &quot;createdAt&quot;: &quot;A String&quot;, # Output only. The time at which the environment group was created as milliseconds since epoch.
212 &quot;hostnames&quot;: [ # Required. Host names for this environment group.
213 &quot;A String&quot;,
214 ],
215 &quot;lastModifiedAt&quot;: &quot;A String&quot;, # Output only. The time at which the environment group was last updated as milliseconds since epoch.
216 &quot;name&quot;: &quot;A String&quot;, # ID of the environment group.
217 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the environment group. Values other than ACTIVE means the resource is not ready to use.
218 }</pre>
219 </div>
220
221 <div class="method">
222 <code class="details" id="getDeployedIngressConfig">getDeployedIngressConfig(name, view=None, x__xgafv=None)</code>
223 <pre>Gets the deployed ingress configuration for an environment group.
224
225 Args:
226 name: string, Required. Name of the deployed configuration for the environment group in the following format: &#x27;organizations/{org}/envgroups/{envgroup}/deployedIngressConfig&#x27;. (required)
227 view: string, When set to FULL, additional details about the specific deployments receiving traffic will be included in the IngressConfig response&#x27;s RoutingRules.
228 Allowed values
229 INGRESS_CONFIG_VIEW_UNSPECIFIED - The default/unset value. The API will default to the BASIC view.
230 BASIC - Include all ingress config data necessary for the runtime to configure ingress, but no more. Routing rules will include only basepath and destination environment. This the default value.
231 FULL - Include all ingress config data, including internal debug info for each routing rule such as the proxy claiming a particular basepath and when the routing rule first appeared in the env group.
232 x__xgafv: string, V1 error format.
233 Allowed values
234 1 - v1 error format
235 2 - v2 error format
236
237 Returns:
238 An object of the form:
239
240 { # EnvironmentGroupConfig is a revisioned snapshot of an EnvironmentGroup and its associated routing rules.
241 &quot;endpointChainingRules&quot;: [ # A list of proxies in each deployment group for proxy chaining calls.
242 { # EndpointChainingRule specifies the proxies contained in a particular deployment group, so that other deployment groups can find them in chaining calls.
243 &quot;deploymentGroup&quot;: &quot;A String&quot;, # The deployment group to target for cross-shard chaining calls to these proxies.
244 &quot;proxyIds&quot;: [ # List of proxy ids which may be found in the given deployment group.
245 &quot;A String&quot;,
246 ],
247 },
248 ],
249 &quot;hostnames&quot;: [ # Host names for the environment group.
250 &quot;A String&quot;,
251 ],
252 &quot;location&quot;: &quot;A String&quot;, # When this message appears in the top-level IngressConfig, this field will be populated in lieu of the inlined routing_rules and hostnames fields. Some URL for downloading the full EnvironmentGroupConfig for this group.
253 &quot;name&quot;: &quot;A String&quot;, # Name of the environment group in the following format: `organizations/{org}/envgroups/{envgroup}`.
254 &quot;revisionId&quot;: &quot;A String&quot;, # Revision id that defines the ordering of the EnvironmentGroupConfig resource. The higher the revision, the more recently the configuration was deployed.
255 &quot;routingRules&quot;: [ # Ordered list of routing rules defining how traffic to this environment group&#x27;s hostnames should be routed to different environments.
256 {
257 &quot;basepath&quot;: &quot;A String&quot;, # URI path prefix used to route to the specified environment. May contain one or more wildcards. For example, path segments consisting of a single `*` character will match any string.
258 &quot;deploymentGroup&quot;: &quot;A String&quot;, # Name of a deployment group in an environment bound to the environment group in the following format: `organizations/{org}/environment/{env}/deploymentGroups/{group}` Only one of environment or deployment_group will be set.
259 &quot;envGroupRevision&quot;: &quot;A String&quot;, # The env group config revision_id when this rule was added or last updated. This value is set when the rule is created and will only update if the the environment_id changes. It is used to determine if the runtime is up to date with respect to this rule. This field is omitted from the IngressConfig unless the GetDeployedIngressConfig API is called with view=FULL.
260 &quot;environment&quot;: &quot;A String&quot;, # Name of an environment bound to the environment group in the following format: `organizations/{org}/environments/{env}`. Only one of environment or deployment_group will be set.
261 &quot;otherTargets&quot;: [ # Conflicting targets, which will be resource names specifying either deployment groups or environments.
262 &quot;A String&quot;,
263 ],
264 &quot;receiver&quot;: &quot;A String&quot;, # The resource name of the proxy revision that is receiving this basepath in the following format: `organizations/{org}/apis/{api}/revisions/{rev}`. This field is omitted from the IngressConfig unless the GetDeployedIngressConfig API is called with view=FULL.
265 &quot;updateTime&quot;: &quot;A String&quot;, # The unix timestamp when this rule was updated. This is updated whenever env_group_revision is updated. This field is omitted from the IngressConfig unless the GetDeployedIngressConfig API is called with view=FULL.
266 },
267 ],
268 &quot;uid&quot;: &quot;A String&quot;, # A unique id for the environment group config that will only change if the environment group is deleted and recreated.
269 }</pre>
270 </div>
271
272 <div class="method">
273 <code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
274 <pre>Lists all environment groups.
275
276 Args:
277 parent: string, Required. Name of the organization for which to list environment groups in the following format: `organizations/{org}`. (required)
278 pageSize: integer, Maximum number of environment groups to return. The page size defaults to 25.
279 pageToken: string, Page token, returned from a previous ListEnvironmentGroups call, that you can use to retrieve the next page.
280 x__xgafv: string, V1 error format.
281 Allowed values
282 1 - v1 error format
283 2 - v2 error format
284
285 Returns:
286 An object of the form:
287
288 { # Response for ListEnvironmentGroups.
289 &quot;environmentGroups&quot;: [ # EnvironmentGroups in the specified organization.
290 { # EnvironmentGroup configuration. An environment group is used to group one or more Apigee environments under a single host name.
291 &quot;createdAt&quot;: &quot;A String&quot;, # Output only. The time at which the environment group was created as milliseconds since epoch.
292 &quot;hostnames&quot;: [ # Required. Host names for this environment group.
293 &quot;A String&quot;,
294 ],
295 &quot;lastModifiedAt&quot;: &quot;A String&quot;, # Output only. The time at which the environment group was last updated as milliseconds since epoch.
296 &quot;name&quot;: &quot;A String&quot;, # ID of the environment group.
297 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the environment group. Values other than ACTIVE means the resource is not ready to use.
298 },
299 ],
300 &quot;nextPageToken&quot;: &quot;A String&quot;, # Page token that you can include in a ListEnvironmentGroups request to retrieve the next page. If omitted, no subsequent pages exist.
301 }</pre>
302 </div>
303
304 <div class="method">
305 <code class="details" id="list_next">list_next()</code>
306 <pre>Retrieves the next page of results.
307
308 Args:
309 previous_request: The request for the previous page. (required)
310 previous_response: The response from the request for the previous page. (required)
311
312 Returns:
313 A request object that you can call &#x27;execute()&#x27; on to request the next
314 page. Returns None if there are no more items in the collection.
315 </pre>
316 </div>
317
318 <div class="method">
319 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
320 <pre>Updates an environment group.
321
322 Args:
323 name: string, Required. Name of the environment group to update in the format: `organizations/{org}/envgroups/{envgroup}. (required)
324 body: object, The request body.
325 The object takes the form of:
326
327 { # EnvironmentGroup configuration. An environment group is used to group one or more Apigee environments under a single host name.
328 &quot;createdAt&quot;: &quot;A String&quot;, # Output only. The time at which the environment group was created as milliseconds since epoch.
329 &quot;hostnames&quot;: [ # Required. Host names for this environment group.
330 &quot;A String&quot;,
331 ],
332 &quot;lastModifiedAt&quot;: &quot;A String&quot;, # Output only. The time at which the environment group was last updated as milliseconds since epoch.
333 &quot;name&quot;: &quot;A String&quot;, # ID of the environment group.
334 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the environment group. Values other than ACTIVE means the resource is not ready to use.
335 }
336
337 updateMask: string, Optional. List of fields to be updated.
338 x__xgafv: string, V1 error format.
339 Allowed values
340 1 - v1 error format
341 2 - v2 error format
342
343 Returns:
344 An object of the form:
345
346 { # This resource represents a long-running operation that is the result of a network API call.
347 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
348 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
349 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
350 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
351 {
352 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
353 },
354 ],
355 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
356 },
357 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
358 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
359 },
360 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
361 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
362 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
363 },
364 }</pre>
365 </div>
366
367 </body></html>