Debian Codegraph @

docs/dyn/config_v1.projects.locations.deploymentGroups.revisions.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="config_v1.html">Infrastructure Manager API</a> . <a href="config_v1.projects.html">projects</a> . <a href="config_v1.projects.locations.html">locations</a> . <a href="config_v1.projects.locations.deploymentGroups.html">deploymentGroups</a> . <a href="config_v1.projects.locations.deploymentGroups.revisions.html">revisions</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="#get">get(name, x__xgafv=None)</a></code></p>
82 <p class="firstline">Gets details about a DeploymentGroupRevision.</p>
83 <p class="toc_element">
84 <code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
85 <p class="firstline">Lists DeploymentGroupRevisions in a given DeploymentGroup.</p>
86 <p class="toc_element">
87 <code><a href="#list_next">list_next()</a></code></p>
88 <p class="firstline">Retrieves the next page of results.</p>
89 <h3>Method Details</h3>
90 <div class="method">
91 <code class="details" id="close">close()</code>
92 <pre>Close httplib2 connections.</pre>
93 </div>
94
95 <div class="method">
96 <code class="details" id="get">get(name, x__xgafv=None)</code>
97 <pre>Gets details about a DeploymentGroupRevision.
98
99 Args:
100 name: string, Required. The name of the deployment group revision to retrieve. Format: &#x27;projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}/revisions/{revision}&#x27;. (required)
101 x__xgafv: string, V1 error format.
102 Allowed values
103 1 - v1 error format
104 2 - v2 error format
105
106 Returns:
107 An object of the form:
108
109 { # A DeploymentGroupRevision represents a snapshot of a DeploymentGroup at a given point in time, created when a DeploymentGroup is provisioned or deprovisioned.
110 &quot;alternativeIds&quot;: [ # Output only. The alternative IDs of the deployment group revision.
111 &quot;A String&quot;,
112 ],
113 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when the deployment group revision was created.
114 &quot;name&quot;: &quot;A String&quot;, # Identifier. The name of the deployment group revision. Format: &#x27;projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}/revisions/{revision}&#x27;.
115 &quot;snapshot&quot;: { # A DeploymentGroup is a collection of DeploymentUnits that in a DAG-like structure. # Output only. The snapshot of the deployment group at this revision.
116 &quot;annotations&quot;: { # Optional. Arbitrary key-value metadata storage e.g. to help client tools identify deployment group during automation. See https://google.aip.dev/148#annotations for details on format and size limitations.
117 &quot;a_key&quot;: &quot;A String&quot;,
118 },
119 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when the deployment group was created.
120 &quot;deploymentUnits&quot;: [ # The deployment units of the deployment group in a DAG like structure. When a deployment group is being provisioned, the deployment units are deployed in a DAG order. The provided units must be in a DAG order, otherwise an error will be returned.
121 { # A DeploymentUnit is a container for a deployment and its dependencies. An existing deployment can be provided directly in the unit, or the unit can act as a placeholder to define the DAG, with the deployment specs supplied in a `provisionDeploymentRequest`.
122 &quot;dependencies&quot;: [ # Required. The IDs of the deployment units within the deployment group that this unit depends on.
123 &quot;A String&quot;,
124 ],
125 &quot;deployment&quot;: &quot;A String&quot;, # Optional. The name of the deployment to be provisioned. Format: &#x27;projects/{project_id}/locations/{location}/deployments/{deployment}&#x27;.
126 &quot;id&quot;: &quot;A String&quot;, # The id of the deployment unit. Must be unique within the deployment group.
127 },
128 ],
129 &quot;labels&quot;: { # Optional. User-defined metadata for the deployment group.
130 &quot;a_key&quot;: &quot;A String&quot;,
131 },
132 &quot;name&quot;: &quot;A String&quot;, # Identifier. The name of the deployment group. Format: &#x27;projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}&#x27;.
133 &quot;provisioningError&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). # Output only. The error status of the deployment group provisioning or deprovisioning.
134 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
135 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
136 {
137 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
138 },
139 ],
140 &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.
141 },
142 &quot;provisioningState&quot;: &quot;A String&quot;, # Output only. The provisioning state of the deployment group.
143 &quot;provisioningStateDescription&quot;: &quot;A String&quot;, # Output only. Additional information regarding the current provisioning state.
144 &quot;state&quot;: &quot;A String&quot;, # Output only. Current state of the deployment group.
145 &quot;stateDescription&quot;: &quot;A String&quot;, # Output only. Additional information regarding the current state.
146 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Time when the deployment group was last updated.
147 },
148 }</pre>
149 </div>
150
151 <div class="method">
152 <code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
153 <pre>Lists DeploymentGroupRevisions in a given DeploymentGroup.
154
155 Args:
156 parent: string, Required. The parent, which owns this collection of deployment group revisions. Format: &#x27;projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}&#x27;. (required)
157 pageSize: integer, Optional. When requesting a page of resources, &#x27;page_size&#x27; specifies number of resources to return. If unspecified, a sensible default will be used by the server. The maximum value is 1000; values above 1000 will be coerced to 1000.
158 pageToken: string, Optional. Token returned by previous call to &#x27;ListDeploymentGroupRevisions&#x27; which specifies the position in the list from where to continue listing the deployment group revisions. All other parameters provided to `ListDeploymentGroupRevisions` must match the call that provided the page token.
159 x__xgafv: string, V1 error format.
160 Allowed values
161 1 - v1 error format
162 2 - v2 error format
163
164 Returns:
165 An object of the form:
166
167 { # The response message for the ListDeploymentGroupRevisions method.
168 &quot;deploymentGroupRevisions&quot;: [ # The deployment group revisions from the specified collection.
169 { # A DeploymentGroupRevision represents a snapshot of a DeploymentGroup at a given point in time, created when a DeploymentGroup is provisioned or deprovisioned.
170 &quot;alternativeIds&quot;: [ # Output only. The alternative IDs of the deployment group revision.
171 &quot;A String&quot;,
172 ],
173 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when the deployment group revision was created.
174 &quot;name&quot;: &quot;A String&quot;, # Identifier. The name of the deployment group revision. Format: &#x27;projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}/revisions/{revision}&#x27;.
175 &quot;snapshot&quot;: { # A DeploymentGroup is a collection of DeploymentUnits that in a DAG-like structure. # Output only. The snapshot of the deployment group at this revision.
176 &quot;annotations&quot;: { # Optional. Arbitrary key-value metadata storage e.g. to help client tools identify deployment group during automation. See https://google.aip.dev/148#annotations for details on format and size limitations.
177 &quot;a_key&quot;: &quot;A String&quot;,
178 },
179 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when the deployment group was created.
180 &quot;deploymentUnits&quot;: [ # The deployment units of the deployment group in a DAG like structure. When a deployment group is being provisioned, the deployment units are deployed in a DAG order. The provided units must be in a DAG order, otherwise an error will be returned.
181 { # A DeploymentUnit is a container for a deployment and its dependencies. An existing deployment can be provided directly in the unit, or the unit can act as a placeholder to define the DAG, with the deployment specs supplied in a `provisionDeploymentRequest`.
182 &quot;dependencies&quot;: [ # Required. The IDs of the deployment units within the deployment group that this unit depends on.
183 &quot;A String&quot;,
184 ],
185 &quot;deployment&quot;: &quot;A String&quot;, # Optional. The name of the deployment to be provisioned. Format: &#x27;projects/{project_id}/locations/{location}/deployments/{deployment}&#x27;.
186 &quot;id&quot;: &quot;A String&quot;, # The id of the deployment unit. Must be unique within the deployment group.
187 },
188 ],
189 &quot;labels&quot;: { # Optional. User-defined metadata for the deployment group.
190 &quot;a_key&quot;: &quot;A String&quot;,
191 },
192 &quot;name&quot;: &quot;A String&quot;, # Identifier. The name of the deployment group. Format: &#x27;projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}&#x27;.
193 &quot;provisioningError&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). # Output only. The error status of the deployment group provisioning or deprovisioning.
194 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
195 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
196 {
197 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
198 },
199 ],
200 &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.
201 },
202 &quot;provisioningState&quot;: &quot;A String&quot;, # Output only. The provisioning state of the deployment group.
203 &quot;provisioningStateDescription&quot;: &quot;A String&quot;, # Output only. Additional information regarding the current provisioning state.
204 &quot;state&quot;: &quot;A String&quot;, # Output only. Current state of the deployment group.
205 &quot;stateDescription&quot;: &quot;A String&quot;, # Output only. Additional information regarding the current state.
206 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Time when the deployment group was last updated.
207 },
208 },
209 ],
210 &quot;nextPageToken&quot;: &quot;A String&quot;, # Token to be supplied to the next ListDeploymentGroupRevisions request via `page_token` to obtain the next set of results.
211 &quot;unreachable&quot;: [ # Unordered list. Locations that could not be reached.
212 &quot;A String&quot;,
213 ],
214 }</pre>
215 </div>
216
217 <div class="method">
218 <code class="details" id="list_next">list_next()</code>
219 <pre>Retrieves the next page of results.
220
221 Args:
222 previous_request: The request for the previous page. (required)
223 previous_response: The response from the request for the previous page. (required)
224
225 Returns:
226 A request object that you can call &#x27;execute()&#x27; on to request the next
227 page. Returns None if there are no more items in the collection.
228 </pre>
229 </div>
230
231 </body></html>