Debian Codegraph @

docs/dyn/migrationcenter_v1.projects.locations.discoveryClients.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="migrationcenter_v1.html">Migration Center API</a> . <a href="migrationcenter_v1.projects.html">projects</a> . <a href="migrationcenter_v1.projects.locations.html">locations</a> . <a href="migrationcenter_v1.projects.locations.discoveryClients.html">discoveryClients</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, discoveryClientId=None, requestId=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Creates a new discovery client.</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 discovery client.</p>
86 <p class="toc_element">
87 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
88 <p class="firstline">Gets the details of a discovery client.</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 all the discovery clients in a given project and location.</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, requestId=None, updateMask=None, x__xgafv=None)</a></code></p>
97 <p class="firstline">Updates a discovery client.</p>
98 <p class="toc_element">
99 <code><a href="#sendHeartbeat">sendHeartbeat(name, body=None, x__xgafv=None)</a></code></p>
100 <p class="firstline">Sends a discovery client heartbeat. Healthy clients are expected to send heartbeats regularly (normally every few minutes).</p>
101 <h3>Method Details</h3>
102 <div class="method">
103 <code class="details" id="close">close()</code>
104 <pre>Close httplib2 connections.</pre>
105 </div>
106
107 <div class="method">
108 <code class="details" id="create">create(parent, body=None, discoveryClientId=None, requestId=None, x__xgafv=None)</code>
109 <pre>Creates a new discovery client.
110
111 Args:
112 parent: string, Required. Parent resource. (required)
113 body: object, The request body.
114 The object takes the form of:
115
116 { # Represents an installed Migration Center Discovery Client instance.
117 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when the discovery client was first created.
118 &quot;description&quot;: &quot;A String&quot;, # Optional. Free text description. Maximum length is 1000 characters.
119 &quot;displayName&quot;: &quot;A String&quot;, # Optional. Free text display name. Maximum length is 63 characters.
120 &quot;errors&quot;: [ # Output only. Errors affecting client functionality.
121 { # 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).
122 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
123 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
124 {
125 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
126 },
127 ],
128 &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.
129 },
130 ],
131 &quot;expireTime&quot;: &quot;A String&quot;, # Optional. Client expiration time in UTC. If specified, the backend will not accept new frames after this time.
132 &quot;heartbeatTime&quot;: &quot;A String&quot;, # Output only. Last heartbeat time. Healthy clients are expected to send heartbeats regularly (normally every few minutes).
133 &quot;labels&quot;: { # Optional. Labels as key value pairs.
134 &quot;a_key&quot;: &quot;A String&quot;,
135 },
136 &quot;name&quot;: &quot;A String&quot;, # Output only. Identifier. Full name of this discovery client.
137 &quot;serviceAccount&quot;: &quot;A String&quot;, # Required. Service account used by the discovery client for various operation.
138 &quot;signalsEndpoint&quot;: &quot;A String&quot;, # Output only. This field is intended for internal use.
139 &quot;source&quot;: &quot;A String&quot;, # Required. Immutable. Full name of the source object associated with this discovery client.
140 &quot;state&quot;: &quot;A String&quot;, # Output only. Current state of the discovery client.
141 &quot;ttl&quot;: &quot;A String&quot;, # Optional. Input only. Client time-to-live. If specified, the backend will not accept new frames after this time. This field is input only. The derived expiration time is provided as output through the `expire_time` field.
142 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Time when the discovery client was last updated. This value is not updated by heartbeats, to view the last heartbeat time please refer to the `heartbeat_time` field.
143 &quot;version&quot;: &quot;A String&quot;, # Output only. Client version, as reported in recent heartbeat.
144 }
145
146 discoveryClientId: string, Required. User specified ID for the discovery client. It will become the last component of the discovery client name. The ID must be unique within the project, is restricted to lower-cased letters and has a maximum length of 63 characters. The ID must match the regular expression: `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`.
147 requestId: string, Optional. An optional 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).
148 x__xgafv: string, V1 error format.
149 Allowed values
150 1 - v1 error format
151 2 - v2 error format
152
153 Returns:
154 An object of the form:
155
156 { # This resource represents a long-running operation that is the result of a network API call.
157 &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.
158 &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.
159 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
160 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
161 {
162 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
163 },
164 ],
165 &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.
166 },
167 &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.
168 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
169 },
170 &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}`.
171 &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`.
172 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
173 },
174 }</pre>
175 </div>
176
177 <div class="method">
178 <code class="details" id="delete">delete(name, requestId=None, x__xgafv=None)</code>
179 <pre>Deletes a discovery client.
180
181 Args:
182 name: string, Required. The discovery client name. (required)
183 requestId: string, Optional. An optional 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).
184 x__xgafv: string, V1 error format.
185 Allowed values
186 1 - v1 error format
187 2 - v2 error format
188
189 Returns:
190 An object of the form:
191
192 { # This resource represents a long-running operation that is the result of a network API call.
193 &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.
194 &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.
195 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
196 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
197 {
198 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
199 },
200 ],
201 &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.
202 },
203 &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.
204 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
205 },
206 &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}`.
207 &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`.
208 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
209 },
210 }</pre>
211 </div>
212
213 <div class="method">
214 <code class="details" id="get">get(name, x__xgafv=None)</code>
215 <pre>Gets the details of a discovery client.
216
217 Args:
218 name: string, Required. The discovery client name. (required)
219 x__xgafv: string, V1 error format.
220 Allowed values
221 1 - v1 error format
222 2 - v2 error format
223
224 Returns:
225 An object of the form:
226
227 { # Represents an installed Migration Center Discovery Client instance.
228 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when the discovery client was first created.
229 &quot;description&quot;: &quot;A String&quot;, # Optional. Free text description. Maximum length is 1000 characters.
230 &quot;displayName&quot;: &quot;A String&quot;, # Optional. Free text display name. Maximum length is 63 characters.
231 &quot;errors&quot;: [ # Output only. Errors affecting client functionality.
232 { # 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).
233 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
234 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
235 {
236 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
237 },
238 ],
239 &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.
240 },
241 ],
242 &quot;expireTime&quot;: &quot;A String&quot;, # Optional. Client expiration time in UTC. If specified, the backend will not accept new frames after this time.
243 &quot;heartbeatTime&quot;: &quot;A String&quot;, # Output only. Last heartbeat time. Healthy clients are expected to send heartbeats regularly (normally every few minutes).
244 &quot;labels&quot;: { # Optional. Labels as key value pairs.
245 &quot;a_key&quot;: &quot;A String&quot;,
246 },
247 &quot;name&quot;: &quot;A String&quot;, # Output only. Identifier. Full name of this discovery client.
248 &quot;serviceAccount&quot;: &quot;A String&quot;, # Required. Service account used by the discovery client for various operation.
249 &quot;signalsEndpoint&quot;: &quot;A String&quot;, # Output only. This field is intended for internal use.
250 &quot;source&quot;: &quot;A String&quot;, # Required. Immutable. Full name of the source object associated with this discovery client.
251 &quot;state&quot;: &quot;A String&quot;, # Output only. Current state of the discovery client.
252 &quot;ttl&quot;: &quot;A String&quot;, # Optional. Input only. Client time-to-live. If specified, the backend will not accept new frames after this time. This field is input only. The derived expiration time is provided as output through the `expire_time` field.
253 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Time when the discovery client was last updated. This value is not updated by heartbeats, to view the last heartbeat time please refer to the `heartbeat_time` field.
254 &quot;version&quot;: &quot;A String&quot;, # Output only. Client version, as reported in recent heartbeat.
255 }</pre>
256 </div>
257
258 <div class="method">
259 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
260 <pre>Lists all the discovery clients in a given project and location.
261
262 Args:
263 parent: string, Required. Parent resource. (required)
264 filter: string, Optional. Filter expression to filter results by.
265 orderBy: string, Optional. Field to sort by.
266 pageSize: integer, Optional. The maximum number of items to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default value.
267 pageToken: string, Optional. A page token, received from a previous `ListDiscoveryClients` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListDiscoveryClients` must match the call that provided the page token.
268 x__xgafv: string, V1 error format.
269 Allowed values
270 1 - v1 error format
271 2 - v2 error format
272
273 Returns:
274 An object of the form:
275
276 { # Response message for listing discovery clients.
277 &quot;discoveryClients&quot;: [ # List of discovery clients.
278 { # Represents an installed Migration Center Discovery Client instance.
279 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when the discovery client was first created.
280 &quot;description&quot;: &quot;A String&quot;, # Optional. Free text description. Maximum length is 1000 characters.
281 &quot;displayName&quot;: &quot;A String&quot;, # Optional. Free text display name. Maximum length is 63 characters.
282 &quot;errors&quot;: [ # Output only. Errors affecting client functionality.
283 { # 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).
284 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
285 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
286 {
287 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
288 },
289 ],
290 &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.
291 },
292 ],
293 &quot;expireTime&quot;: &quot;A String&quot;, # Optional. Client expiration time in UTC. If specified, the backend will not accept new frames after this time.
294 &quot;heartbeatTime&quot;: &quot;A String&quot;, # Output only. Last heartbeat time. Healthy clients are expected to send heartbeats regularly (normally every few minutes).
295 &quot;labels&quot;: { # Optional. Labels as key value pairs.
296 &quot;a_key&quot;: &quot;A String&quot;,
297 },
298 &quot;name&quot;: &quot;A String&quot;, # Output only. Identifier. Full name of this discovery client.
299 &quot;serviceAccount&quot;: &quot;A String&quot;, # Required. Service account used by the discovery client for various operation.
300 &quot;signalsEndpoint&quot;: &quot;A String&quot;, # Output only. This field is intended for internal use.
301 &quot;source&quot;: &quot;A String&quot;, # Required. Immutable. Full name of the source object associated with this discovery client.
302 &quot;state&quot;: &quot;A String&quot;, # Output only. Current state of the discovery client.
303 &quot;ttl&quot;: &quot;A String&quot;, # Optional. Input only. Client time-to-live. If specified, the backend will not accept new frames after this time. This field is input only. The derived expiration time is provided as output through the `expire_time` field.
304 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Time when the discovery client was last updated. This value is not updated by heartbeats, to view the last heartbeat time please refer to the `heartbeat_time` field.
305 &quot;version&quot;: &quot;A String&quot;, # Output only. Client version, as reported in recent heartbeat.
306 },
307 ],
308 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
309 &quot;unreachable&quot;: [ # Locations that could not be reached.
310 &quot;A String&quot;,
311 ],
312 }</pre>
313 </div>
314
315 <div class="method">
316 <code class="details" id="list_next">list_next()</code>
317 <pre>Retrieves the next page of results.
318
319 Args:
320 previous_request: The request for the previous page. (required)
321 previous_response: The response from the request for the previous page. (required)
322
323 Returns:
324 A request object that you can call &#x27;execute()&#x27; on to request the next
325 page. Returns None if there are no more items in the collection.
326 </pre>
327 </div>
328
329 <div class="method">
330 <code class="details" id="patch">patch(name, body=None, requestId=None, updateMask=None, x__xgafv=None)</code>
331 <pre>Updates a discovery client.
332
333 Args:
334 name: string, Output only. Identifier. Full name of this discovery client. (required)
335 body: object, The request body.
336 The object takes the form of:
337
338 { # Represents an installed Migration Center Discovery Client instance.
339 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when the discovery client was first created.
340 &quot;description&quot;: &quot;A String&quot;, # Optional. Free text description. Maximum length is 1000 characters.
341 &quot;displayName&quot;: &quot;A String&quot;, # Optional. Free text display name. Maximum length is 63 characters.
342 &quot;errors&quot;: [ # Output only. Errors affecting client functionality.
343 { # 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).
344 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
345 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
346 {
347 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
348 },
349 ],
350 &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.
351 },
352 ],
353 &quot;expireTime&quot;: &quot;A String&quot;, # Optional. Client expiration time in UTC. If specified, the backend will not accept new frames after this time.
354 &quot;heartbeatTime&quot;: &quot;A String&quot;, # Output only. Last heartbeat time. Healthy clients are expected to send heartbeats regularly (normally every few minutes).
355 &quot;labels&quot;: { # Optional. Labels as key value pairs.
356 &quot;a_key&quot;: &quot;A String&quot;,
357 },
358 &quot;name&quot;: &quot;A String&quot;, # Output only. Identifier. Full name of this discovery client.
359 &quot;serviceAccount&quot;: &quot;A String&quot;, # Required. Service account used by the discovery client for various operation.
360 &quot;signalsEndpoint&quot;: &quot;A String&quot;, # Output only. This field is intended for internal use.
361 &quot;source&quot;: &quot;A String&quot;, # Required. Immutable. Full name of the source object associated with this discovery client.
362 &quot;state&quot;: &quot;A String&quot;, # Output only. Current state of the discovery client.
363 &quot;ttl&quot;: &quot;A String&quot;, # Optional. Input only. Client time-to-live. If specified, the backend will not accept new frames after this time. This field is input only. The derived expiration time is provided as output through the `expire_time` field.
364 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Time when the discovery client was last updated. This value is not updated by heartbeats, to view the last heartbeat time please refer to the `heartbeat_time` field.
365 &quot;version&quot;: &quot;A String&quot;, # Output only. Client version, as reported in recent heartbeat.
366 }
367
368 requestId: string, Optional. An optional 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).
369 updateMask: string, Required. Update mask is used to specify the fields to be overwritten in the `DiscoveryClient` resource by the update. The values specified in the `update_mask` field are relative to the resource, not the full request. A field will be overwritten if it is in the mask. A single * value in the mask lets you to overwrite all fields.
370 x__xgafv: string, V1 error format.
371 Allowed values
372 1 - v1 error format
373 2 - v2 error format
374
375 Returns:
376 An object of the form:
377
378 { # This resource represents a long-running operation that is the result of a network API call.
379 &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.
380 &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.
381 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
382 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
383 {
384 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
385 },
386 ],
387 &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.
388 },
389 &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.
390 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
391 },
392 &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}`.
393 &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`.
394 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
395 },
396 }</pre>
397 </div>
398
399 <div class="method">
400 <code class="details" id="sendHeartbeat">sendHeartbeat(name, body=None, x__xgafv=None)</code>
401 <pre>Sends a discovery client heartbeat. Healthy clients are expected to send heartbeats regularly (normally every few minutes).
402
403 Args:
404 name: string, Required. The discovery client name. (required)
405 body: object, The request body.
406 The object takes the form of:
407
408 { # A request to send a discovery client heartbeat.
409 &quot;errors&quot;: [ # Optional. Errors affecting client functionality.
410 { # 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).
411 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
412 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
413 {
414 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
415 },
416 ],
417 &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.
418 },
419 ],
420 &quot;version&quot;: &quot;A String&quot;, # Optional. Client application version.
421 }
422
423 x__xgafv: string, V1 error format.
424 Allowed values
425 1 - v1 error format
426 2 - v2 error format
427
428 Returns:
429 An object of the form:
430
431 { # This resource represents a long-running operation that is the result of a network API call.
432 &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.
433 &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.
434 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
435 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
436 {
437 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
438 },
439 ],
440 &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.
441 },
442 &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.
443 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
444 },
445 &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}`.
446 &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`.
447 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
448 },
449 }</pre>
450 </div>
451
452 </body></html>