Debian Codegraph @

docs/dyn/vmmigration_v1.projects.locations.sources.datacenterConnectors.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="vmmigration_v1.html">VM Migration API</a> . <a href="vmmigration_v1.projects.html">projects</a> . <a href="vmmigration_v1.projects.locations.html">locations</a> . <a href="vmmigration_v1.projects.locations.sources.html">sources</a> . <a href="vmmigration_v1.projects.locations.sources.datacenterConnectors.html">datacenterConnectors</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, datacenterConnectorId=None, requestId=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Creates a new DatacenterConnector in a given Source.</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(name, requestId=None, x__xgafv=None)</a></code></p>
85 <p class="firstline">Deletes a single DatacenterConnector.</p>
86 <p class="toc_element">
87 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
88 <p class="firstline">Gets details of a single DatacenterConnector.</p>
89 <p class="toc_element">
90 <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Lists DatacenterConnectors in a given Source.</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="#upgradeAppliance">upgradeAppliance(datacenterConnector, body=None, x__xgafv=None)</a></code></p>
97 <p class="firstline">Upgrades the appliance relate to this DatacenterConnector to the in-place updateable version.</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, datacenterConnectorId=None, requestId=None, x__xgafv=None)</code>
106 <pre>Creates a new DatacenterConnector in a given Source.
107
108 Args:
109 parent: string, Required. The DatacenterConnector&#x27;s parent. Required. The Source in where the new DatacenterConnector will be created. For example: `projects/my-project/locations/us-central1/sources/my-source` (required)
110 body: object, The request body.
111 The object takes the form of:
112
113 { # DatacenterConnector message describes a connector between the Source and Google Cloud, which is installed on a vmware datacenter (an OVA vm installed by the user) to connect the Datacenter to Google Cloud and support vm migration data transfer.
114 &quot;applianceInfrastructureVersion&quot;: &quot;A String&quot;, # Output only. Appliance OVA version. This is the OVA which is manually installed by the user and contains the infrastructure for the automatically updatable components on the appliance.
115 &quot;applianceSoftwareVersion&quot;: &quot;A String&quot;, # Output only. Appliance last installed update bundle version. This is the version of the automatically updatable components on the appliance.
116 &quot;availableVersions&quot;: { # Holds information about the available versions for upgrade. # Output only. The available versions for updating this appliance.
117 &quot;inPlaceUpdate&quot;: { # Describes an appliance version. # The latest version for in place update. The current appliance can be updated to this version using the API or m4c CLI.
118 &quot;critical&quot;: True or False, # Determine whether it&#x27;s critical to upgrade the appliance to this version.
119 &quot;releaseNotesUri&quot;: &quot;A String&quot;, # Link to a page that contains the version release notes.
120 &quot;uri&quot;: &quot;A String&quot;, # A link for downloading the version.
121 &quot;version&quot;: &quot;A String&quot;, # The appliance version.
122 },
123 &quot;newDeployableAppliance&quot;: { # Describes an appliance version. # The newest deployable version of the appliance. The current appliance can&#x27;t be updated into this version, and the owner must manually deploy this OVA to a new appliance.
124 &quot;critical&quot;: True or False, # Determine whether it&#x27;s critical to upgrade the appliance to this version.
125 &quot;releaseNotesUri&quot;: &quot;A String&quot;, # Link to a page that contains the version release notes.
126 &quot;uri&quot;: &quot;A String&quot;, # A link for downloading the version.
127 &quot;version&quot;: &quot;A String&quot;, # The appliance version.
128 },
129 },
130 &quot;bucket&quot;: &quot;A String&quot;, # Output only. The communication channel between the datacenter connector and Google Cloud.
131 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time the connector was created (as an API call, not when it was actually installed).
132 &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). # Output only. Provides details on the state of the Datacenter Connector in case of an error.
133 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
134 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
135 {
136 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
137 },
138 ],
139 &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.
140 },
141 &quot;name&quot;: &quot;A String&quot;, # Output only. The connector&#x27;s name.
142 &quot;registrationId&quot;: &quot;A String&quot;, # Immutable. A unique key for this connector. This key is internal to the OVA connector and is supplied with its creation during the registration process and can not be modified.
143 &quot;serviceAccount&quot;: &quot;A String&quot;, # The service account to use in the connector when communicating with the cloud.
144 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the DatacenterConnector, as determined by the health checks.
145 &quot;stateTime&quot;: &quot;A String&quot;, # Output only. The time the state was last set.
146 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last time the connector was updated with an API call.
147 &quot;upgradeStatus&quot;: { # UpgradeStatus contains information about upgradeAppliance operation. # Output only. The status of the current / last upgradeAppliance operation.
148 &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). # Output only. Provides details on the state of the upgrade operation in case of an error.
149 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
150 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
151 {
152 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
153 },
154 ],
155 &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.
156 },
157 &quot;previousVersion&quot;: &quot;A String&quot;, # The version from which we upgraded.
158 &quot;startTime&quot;: &quot;A String&quot;, # The time the operation was started.
159 &quot;state&quot;: &quot;A String&quot;, # The state of the upgradeAppliance operation.
160 &quot;version&quot;: &quot;A String&quot;, # The version to upgrade to.
161 },
162 &quot;version&quot;: &quot;A String&quot;, # The version running in the DatacenterConnector. This is supplied by the OVA connector during the registration process and can not be modified.
163 }
164
165 datacenterConnectorId: string, Required. The datacenterConnector identifier.
166 requestId: string, A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
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="delete">delete(name, requestId=None, x__xgafv=None)</code>
198 <pre>Deletes a single DatacenterConnector.
199
200 Args:
201 name: string, Required. The DatacenterConnector name. (required)
202 requestId: string, A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
203 x__xgafv: string, V1 error format.
204 Allowed values
205 1 - v1 error format
206 2 - v2 error format
207
208 Returns:
209 An object of the form:
210
211 { # This resource represents a long-running operation that is the result of a network API call.
212 &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.
213 &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.
214 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
215 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
216 {
217 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
218 },
219 ],
220 &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.
221 },
222 &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.
223 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
224 },
225 &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}`.
226 &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`.
227 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
228 },
229 }</pre>
230 </div>
231
232 <div class="method">
233 <code class="details" id="get">get(name, x__xgafv=None)</code>
234 <pre>Gets details of a single DatacenterConnector.
235
236 Args:
237 name: string, Required. The name of the DatacenterConnector. (required)
238 x__xgafv: string, V1 error format.
239 Allowed values
240 1 - v1 error format
241 2 - v2 error format
242
243 Returns:
244 An object of the form:
245
246 { # DatacenterConnector message describes a connector between the Source and Google Cloud, which is installed on a vmware datacenter (an OVA vm installed by the user) to connect the Datacenter to Google Cloud and support vm migration data transfer.
247 &quot;applianceInfrastructureVersion&quot;: &quot;A String&quot;, # Output only. Appliance OVA version. This is the OVA which is manually installed by the user and contains the infrastructure for the automatically updatable components on the appliance.
248 &quot;applianceSoftwareVersion&quot;: &quot;A String&quot;, # Output only. Appliance last installed update bundle version. This is the version of the automatically updatable components on the appliance.
249 &quot;availableVersions&quot;: { # Holds information about the available versions for upgrade. # Output only. The available versions for updating this appliance.
250 &quot;inPlaceUpdate&quot;: { # Describes an appliance version. # The latest version for in place update. The current appliance can be updated to this version using the API or m4c CLI.
251 &quot;critical&quot;: True or False, # Determine whether it&#x27;s critical to upgrade the appliance to this version.
252 &quot;releaseNotesUri&quot;: &quot;A String&quot;, # Link to a page that contains the version release notes.
253 &quot;uri&quot;: &quot;A String&quot;, # A link for downloading the version.
254 &quot;version&quot;: &quot;A String&quot;, # The appliance version.
255 },
256 &quot;newDeployableAppliance&quot;: { # Describes an appliance version. # The newest deployable version of the appliance. The current appliance can&#x27;t be updated into this version, and the owner must manually deploy this OVA to a new appliance.
257 &quot;critical&quot;: True or False, # Determine whether it&#x27;s critical to upgrade the appliance to this version.
258 &quot;releaseNotesUri&quot;: &quot;A String&quot;, # Link to a page that contains the version release notes.
259 &quot;uri&quot;: &quot;A String&quot;, # A link for downloading the version.
260 &quot;version&quot;: &quot;A String&quot;, # The appliance version.
261 },
262 },
263 &quot;bucket&quot;: &quot;A String&quot;, # Output only. The communication channel between the datacenter connector and Google Cloud.
264 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time the connector was created (as an API call, not when it was actually installed).
265 &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). # Output only. Provides details on the state of the Datacenter Connector in case of an error.
266 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
267 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
268 {
269 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
270 },
271 ],
272 &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.
273 },
274 &quot;name&quot;: &quot;A String&quot;, # Output only. The connector&#x27;s name.
275 &quot;registrationId&quot;: &quot;A String&quot;, # Immutable. A unique key for this connector. This key is internal to the OVA connector and is supplied with its creation during the registration process and can not be modified.
276 &quot;serviceAccount&quot;: &quot;A String&quot;, # The service account to use in the connector when communicating with the cloud.
277 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the DatacenterConnector, as determined by the health checks.
278 &quot;stateTime&quot;: &quot;A String&quot;, # Output only. The time the state was last set.
279 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last time the connector was updated with an API call.
280 &quot;upgradeStatus&quot;: { # UpgradeStatus contains information about upgradeAppliance operation. # Output only. The status of the current / last upgradeAppliance operation.
281 &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). # Output only. Provides details on the state of the upgrade operation in case of an error.
282 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
283 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
284 {
285 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
286 },
287 ],
288 &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.
289 },
290 &quot;previousVersion&quot;: &quot;A String&quot;, # The version from which we upgraded.
291 &quot;startTime&quot;: &quot;A String&quot;, # The time the operation was started.
292 &quot;state&quot;: &quot;A String&quot;, # The state of the upgradeAppliance operation.
293 &quot;version&quot;: &quot;A String&quot;, # The version to upgrade to.
294 },
295 &quot;version&quot;: &quot;A String&quot;, # The version running in the DatacenterConnector. This is supplied by the OVA connector during the registration process and can not be modified.
296 }</pre>
297 </div>
298
299 <div class="method">
300 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
301 <pre>Lists DatacenterConnectors in a given Source.
302
303 Args:
304 parent: string, Required. The parent, which owns this collection of connectors. (required)
305 filter: string, Optional. The filter request.
306 orderBy: string, Optional. the order by fields for the result.
307 pageSize: integer, Optional. The maximum number of connectors to return. The service may return fewer than this value. If unspecified, at most 500 sources will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
308 pageToken: string, Required. A page token, received from a previous `ListDatacenterConnectors` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListDatacenterConnectors` must match the call that provided the page token.
309 x__xgafv: string, V1 error format.
310 Allowed values
311 1 - v1 error format
312 2 - v2 error format
313
314 Returns:
315 An object of the form:
316
317 { # Response message for &#x27;ListDatacenterConnectors&#x27; request.
318 &quot;datacenterConnectors&quot;: [ # Output only. The list of sources response.
319 { # DatacenterConnector message describes a connector between the Source and Google Cloud, which is installed on a vmware datacenter (an OVA vm installed by the user) to connect the Datacenter to Google Cloud and support vm migration data transfer.
320 &quot;applianceInfrastructureVersion&quot;: &quot;A String&quot;, # Output only. Appliance OVA version. This is the OVA which is manually installed by the user and contains the infrastructure for the automatically updatable components on the appliance.
321 &quot;applianceSoftwareVersion&quot;: &quot;A String&quot;, # Output only. Appliance last installed update bundle version. This is the version of the automatically updatable components on the appliance.
322 &quot;availableVersions&quot;: { # Holds information about the available versions for upgrade. # Output only. The available versions for updating this appliance.
323 &quot;inPlaceUpdate&quot;: { # Describes an appliance version. # The latest version for in place update. The current appliance can be updated to this version using the API or m4c CLI.
324 &quot;critical&quot;: True or False, # Determine whether it&#x27;s critical to upgrade the appliance to this version.
325 &quot;releaseNotesUri&quot;: &quot;A String&quot;, # Link to a page that contains the version release notes.
326 &quot;uri&quot;: &quot;A String&quot;, # A link for downloading the version.
327 &quot;version&quot;: &quot;A String&quot;, # The appliance version.
328 },
329 &quot;newDeployableAppliance&quot;: { # Describes an appliance version. # The newest deployable version of the appliance. The current appliance can&#x27;t be updated into this version, and the owner must manually deploy this OVA to a new appliance.
330 &quot;critical&quot;: True or False, # Determine whether it&#x27;s critical to upgrade the appliance to this version.
331 &quot;releaseNotesUri&quot;: &quot;A String&quot;, # Link to a page that contains the version release notes.
332 &quot;uri&quot;: &quot;A String&quot;, # A link for downloading the version.
333 &quot;version&quot;: &quot;A String&quot;, # The appliance version.
334 },
335 },
336 &quot;bucket&quot;: &quot;A String&quot;, # Output only. The communication channel between the datacenter connector and Google Cloud.
337 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time the connector was created (as an API call, not when it was actually installed).
338 &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). # Output only. Provides details on the state of the Datacenter Connector in case of an error.
339 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
340 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
341 {
342 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
343 },
344 ],
345 &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.
346 },
347 &quot;name&quot;: &quot;A String&quot;, # Output only. The connector&#x27;s name.
348 &quot;registrationId&quot;: &quot;A String&quot;, # Immutable. A unique key for this connector. This key is internal to the OVA connector and is supplied with its creation during the registration process and can not be modified.
349 &quot;serviceAccount&quot;: &quot;A String&quot;, # The service account to use in the connector when communicating with the cloud.
350 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the DatacenterConnector, as determined by the health checks.
351 &quot;stateTime&quot;: &quot;A String&quot;, # Output only. The time the state was last set.
352 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last time the connector was updated with an API call.
353 &quot;upgradeStatus&quot;: { # UpgradeStatus contains information about upgradeAppliance operation. # Output only. The status of the current / last upgradeAppliance operation.
354 &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). # Output only. Provides details on the state of the upgrade operation in case of an error.
355 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
356 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
357 {
358 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
359 },
360 ],
361 &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.
362 },
363 &quot;previousVersion&quot;: &quot;A String&quot;, # The version from which we upgraded.
364 &quot;startTime&quot;: &quot;A String&quot;, # The time the operation was started.
365 &quot;state&quot;: &quot;A String&quot;, # The state of the upgradeAppliance operation.
366 &quot;version&quot;: &quot;A String&quot;, # The version to upgrade to.
367 },
368 &quot;version&quot;: &quot;A String&quot;, # The version running in the DatacenterConnector. This is supplied by the OVA connector during the registration process and can not be modified.
369 },
370 ],
371 &quot;nextPageToken&quot;: &quot;A String&quot;, # Output only. A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
372 &quot;unreachable&quot;: [ # Output only. Locations that could not be reached.
373 &quot;A String&quot;,
374 ],
375 }</pre>
376 </div>
377
378 <div class="method">
379 <code class="details" id="list_next">list_next()</code>
380 <pre>Retrieves the next page of results.
381
382 Args:
383 previous_request: The request for the previous page. (required)
384 previous_response: The response from the request for the previous page. (required)
385
386 Returns:
387 A request object that you can call &#x27;execute()&#x27; on to request the next
388 page. Returns None if there are no more items in the collection.
389 </pre>
390 </div>
391
392 <div class="method">
393 <code class="details" id="upgradeAppliance">upgradeAppliance(datacenterConnector, body=None, x__xgafv=None)</code>
394 <pre>Upgrades the appliance relate to this DatacenterConnector to the in-place updateable version.
395
396 Args:
397 datacenterConnector: string, Required. The DatacenterConnector name. (required)
398 body: object, The request body.
399 The object takes the form of:
400
401 { # Request message for &#x27;UpgradeAppliance&#x27; request.
402 &quot;requestId&quot;: &quot;A String&quot;, # A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
403 }
404
405 x__xgafv: string, V1 error format.
406 Allowed values
407 1 - v1 error format
408 2 - v2 error format
409
410 Returns:
411 An object of the form:
412
413 { # This resource represents a long-running operation that is the result of a network API call.
414 &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.
415 &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.
416 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
417 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
418 {
419 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
420 },
421 ],
422 &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.
423 },
424 &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.
425 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
426 },
427 &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}`.
428 &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`.
429 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
430 },
431 }</pre>
432 </div>
433
434 </body></html>