| 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: 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}/revisions/{revision}'. (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 |
"alternativeIds": [ # Output only. The alternative IDs of the deployment group revision. |
| 111 |
"A String", |
| 112 |
], |
| 113 |
"createTime": "A String", # Output only. Time when the deployment group revision was created. |
| 114 |
"name": "A String", # Identifier. The name of the deployment group revision. Format: 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}/revisions/{revision}'. |
| 115 |
"snapshot": { # 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 |
"annotations": { # 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 |
"a_key": "A String", |
| 118 |
}, |
| 119 |
"createTime": "A String", # Output only. Time when the deployment group was created. |
| 120 |
"deploymentUnits": [ # 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 |
"dependencies": [ # Required. The IDs of the deployment units within the deployment group that this unit depends on. |
| 123 |
"A String", |
| 124 |
], |
| 125 |
"deployment": "A String", # Optional. The name of the deployment to be provisioned. Format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'. |
| 126 |
"id": "A String", # The id of the deployment unit. Must be unique within the deployment group. |
| 127 |
}, |
| 128 |
], |
| 129 |
"labels": { # Optional. User-defined metadata for the deployment group. |
| 130 |
"a_key": "A String", |
| 131 |
}, |
| 132 |
"name": "A String", # Identifier. The name of the deployment group. Format: 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'. |
| 133 |
"provisioningError": { # 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 |
"code": 42, # The status code, which should be an enum value of google.rpc.Code. |
| 135 |
"details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use. |
| 136 |
{ |
| 137 |
"a_key": "", # Properties of the object. Contains field @type with type URL. |
| 138 |
}, |
| 139 |
], |
| 140 |
"message": "A String", # 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 |
"provisioningState": "A String", # Output only. The provisioning state of the deployment group. |
| 143 |
"provisioningStateDescription": "A String", # Output only. Additional information regarding the current provisioning state. |
| 144 |
"state": "A String", # Output only. Current state of the deployment group. |
| 145 |
"stateDescription": "A String", # Output only. Additional information regarding the current state. |
| 146 |
"updateTime": "A String", # 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: 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'. (required) |
| 157 |
pageSize: integer, Optional. When requesting a page of resources, 'page_size' 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 'ListDeploymentGroupRevisions' 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 |
"deploymentGroupRevisions": [ # 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 |
"alternativeIds": [ # Output only. The alternative IDs of the deployment group revision. |
| 171 |
"A String", |
| 172 |
], |
| 173 |
"createTime": "A String", # Output only. Time when the deployment group revision was created. |
| 174 |
"name": "A String", # Identifier. The name of the deployment group revision. Format: 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}/revisions/{revision}'. |
| 175 |
"snapshot": { # 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 |
"annotations": { # 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 |
"a_key": "A String", |
| 178 |
}, |
| 179 |
"createTime": "A String", # Output only. Time when the deployment group was created. |
| 180 |
"deploymentUnits": [ # 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 |
"dependencies": [ # Required. The IDs of the deployment units within the deployment group that this unit depends on. |
| 183 |
"A String", |
| 184 |
], |
| 185 |
"deployment": "A String", # Optional. The name of the deployment to be provisioned. Format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'. |
| 186 |
"id": "A String", # The id of the deployment unit. Must be unique within the deployment group. |
| 187 |
}, |
| 188 |
], |
| 189 |
"labels": { # Optional. User-defined metadata for the deployment group. |
| 190 |
"a_key": "A String", |
| 191 |
}, |
| 192 |
"name": "A String", # Identifier. The name of the deployment group. Format: 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'. |
| 193 |
"provisioningError": { # 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 |
"code": 42, # The status code, which should be an enum value of google.rpc.Code. |
| 195 |
"details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use. |
| 196 |
{ |
| 197 |
"a_key": "", # Properties of the object. Contains field @type with type URL. |
| 198 |
}, |
| 199 |
], |
| 200 |
"message": "A String", # 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 |
"provisioningState": "A String", # Output only. The provisioning state of the deployment group. |
| 203 |
"provisioningStateDescription": "A String", # Output only. Additional information regarding the current provisioning state. |
| 204 |
"state": "A String", # Output only. Current state of the deployment group. |
| 205 |
"stateDescription": "A String", # Output only. Additional information regarding the current state. |
| 206 |
"updateTime": "A String", # Output only. Time when the deployment group was last updated. |
| 207 |
}, |
| 208 |
}, |
| 209 |
], |
| 210 |
"nextPageToken": "A String", # Token to be supplied to the next ListDeploymentGroupRevisions request via `page_token` to obtain the next set of results. |
| 211 |
"unreachable": [ # Unordered list. Locations that could not be reached. |
| 212 |
"A String", |
| 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 'execute()' 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> |