Debian Codegraph @

docs/dyn/connectors_v2.projects.locations.connections.entityTypes.entities.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="connectors_v2.html">Connectors API</a> . <a href="connectors_v2.projects.html">projects</a> . <a href="connectors_v2.projects.locations.html">locations</a> . <a href="connectors_v2.projects.locations.connections.html">connections</a> . <a href="connectors_v2.projects.locations.connections.entityTypes.html">entityTypes</a> . <a href="connectors_v2.projects.locations.connections.entityTypes.entities.html">entities</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, executionConfig_headers=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Creates a new entity row of the specified entity type in the external system. The field values for creating the row are contained in the body of the request. The response message contains a `Entity` message object returned as a response by the external system.</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(name, executionConfig_headers=None, x__xgafv=None)</a></code></p>
85 <p class="firstline">Deletes an existing entity row matching the entity type and entity id specified in the request.</p>
86 <p class="toc_element">
87 <code><a href="#deleteEntitiesWithConditions">deleteEntitiesWithConditions(entityType, conditions=None, executionConfig_headers=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">Deletes entities based on conditions specified in the request and not on entity id.</p>
89 <p class="toc_element">
90 <code><a href="#get">get(name, executionConfig_headers=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Gets a single entity row matching the entity type and entity id specified in the request.</p>
92 <p class="toc_element">
93 <code><a href="#list">list(parent, conditions=None, executionConfig_headers=None, pageSize=None, pageToken=None, sortBy=None, sortOrder=None, x__xgafv=None)</a></code></p>
94 <p class="firstline">Lists entity rows of a particular entity type contained in the request. Note: 1. Currently, only max of one 'sort_by' column is supported. 2. If no 'sort_by' column is provided, the primary key of the table is used. If zero or more than one primary key is available, we default to the unpaginated list entities logic which only returns the first page. 3. The values of the 'sort_by' columns must uniquely identify an entity row, otherwise undefined behaviors may be observed during pagination. 4. Since transactions are not supported, any updates, inserts or deletes during pagination can lead to stale data being returned or other unexpected behaviors.</p>
95 <p class="toc_element">
96 <code><a href="#list_next">list_next()</a></code></p>
97 <p class="firstline">Retrieves the next page of results.</p>
98 <p class="toc_element">
99 <code><a href="#patch">patch(name, body=None, executionConfig_headers=None, x__xgafv=None)</a></code></p>
100 <p class="firstline">Updates an existing entity row matching the entity type and entity id specified in the request. The fields in the entity row that need to be modified are contained in the body of the request. All unspecified fields are left unchanged. The response message contains a `Entity` message object returned as a response by the external system.</p>
101 <p class="toc_element">
102 <code><a href="#updateEntitiesWithConditions">updateEntitiesWithConditions(entityType, body=None, conditions=None, executionConfig_headers=None, x__xgafv=None)</a></code></p>
103 <p class="firstline">Updates entities based on conditions specified in the request and not on entity id.</p>
104 <h3>Method Details</h3>
105 <div class="method">
106 <code class="details" id="close">close()</code>
107 <pre>Close httplib2 connections.</pre>
108 </div>
109
110 <div class="method">
111 <code class="details" id="create">create(parent, body=None, executionConfig_headers=None, x__xgafv=None)</code>
112 <pre>Creates a new entity row of the specified entity type in the external system. The field values for creating the row are contained in the body of the request. The response message contains a `Entity` message object returned as a response by the external system.
113
114 Args:
115 parent: string, Required. Resource name of the Entity Type. Format: projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type} (required)
116 body: object, The request body.
117 The object takes the form of:
118
119 { # &#x27;Entity row&#x27;/ &#x27;Entity&#x27; refers to a single row of an entity type.
120 &quot;fields&quot;: { # Fields of the entity. The key is name of the field and the value contains the applicable `google.protobuf.Value` entry for this field.
121 &quot;a_key&quot;: &quot;&quot;,
122 },
123 &quot;metadata&quot;: { # Metadata like service latency, etc.
124 &quot;a_key&quot;: {
125 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
126 },
127 },
128 &quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of the Entity. Format: projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type}/entities/{id}
129 }
130
131 executionConfig_headers: string, headers to be used for the request. For example: headers:&#x27;{&quot;x-integration-connectors-managed-connection-id&quot;:&quot;conn-id&quot;,&quot;x-integration-connectors-runtime-config&quot;:&quot;runtime-cfg&quot;}&#x27;
132 x__xgafv: string, V1 error format.
133 Allowed values
134 1 - v1 error format
135 2 - v2 error format
136
137 Returns:
138 An object of the form:
139
140 { # &#x27;Entity row&#x27;/ &#x27;Entity&#x27; refers to a single row of an entity type.
141 &quot;fields&quot;: { # Fields of the entity. The key is name of the field and the value contains the applicable `google.protobuf.Value` entry for this field.
142 &quot;a_key&quot;: &quot;&quot;,
143 },
144 &quot;metadata&quot;: { # Metadata like service latency, etc.
145 &quot;a_key&quot;: {
146 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
147 },
148 },
149 &quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of the Entity. Format: projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type}/entities/{id}
150 }</pre>
151 </div>
152
153 <div class="method">
154 <code class="details" id="delete">delete(name, executionConfig_headers=None, x__xgafv=None)</code>
155 <pre>Deletes an existing entity row matching the entity type and entity id specified in the request.
156
157 Args:
158 name: string, Required. Resource name of the Entity Type. Format: projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type}/entities/{id} (required)
159 executionConfig_headers: string, headers to be used for the request. For example: headers:&#x27;{&quot;x-integration-connectors-managed-connection-id&quot;:&quot;conn-id&quot;,&quot;x-integration-connectors-runtime-config&quot;:&quot;runtime-cfg&quot;}&#x27;
160 x__xgafv: string, V1 error format.
161 Allowed values
162 1 - v1 error format
163 2 - v2 error format
164
165 Returns:
166 An object of the form:
167
168 { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
169 }</pre>
170 </div>
171
172 <div class="method">
173 <code class="details" id="deleteEntitiesWithConditions">deleteEntitiesWithConditions(entityType, conditions=None, executionConfig_headers=None, x__xgafv=None)</code>
174 <pre>Deletes entities based on conditions specified in the request and not on entity id.
175
176 Args:
177 entityType: string, Required. Resource name of the Entity Type. Format: projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type} (required)
178 conditions: string, Required. Conditions to be used when deleting entities. From a proto standpoint, There are no restrictions on what can be passed using this field. The connector documentation should have information about what format of filters/conditions are supported. Note: If this conditions field is left empty, an exception is thrown. We don&#x27;t want to consider &#x27;empty conditions&#x27; to be a match-all case. Connector developers can determine and document what a match-all case constraint would be.
179 executionConfig_headers: string, headers to be used for the request. For example: headers:&#x27;{&quot;x-integration-connectors-managed-connection-id&quot;:&quot;conn-id&quot;,&quot;x-integration-connectors-runtime-config&quot;:&quot;runtime-cfg&quot;}&#x27;
180 x__xgafv: string, V1 error format.
181 Allowed values
182 1 - v1 error format
183 2 - v2 error format
184
185 Returns:
186 An object of the form:
187
188 { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
189 }</pre>
190 </div>
191
192 <div class="method">
193 <code class="details" id="get">get(name, executionConfig_headers=None, x__xgafv=None)</code>
194 <pre>Gets a single entity row matching the entity type and entity id specified in the request.
195
196 Args:
197 name: string, Required. Resource name of the Entity Type. Format: projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type}/entities/{id} (required)
198 executionConfig_headers: string, headers to be used for the request. For example: headers:&#x27;{&quot;x-integration-connectors-managed-connection-id&quot;:&quot;conn-id&quot;,&quot;x-integration-connectors-runtime-config&quot;:&quot;runtime-cfg&quot;}&#x27;
199 x__xgafv: string, V1 error format.
200 Allowed values
201 1 - v1 error format
202 2 - v2 error format
203
204 Returns:
205 An object of the form:
206
207 { # &#x27;Entity row&#x27;/ &#x27;Entity&#x27; refers to a single row of an entity type.
208 &quot;fields&quot;: { # Fields of the entity. The key is name of the field and the value contains the applicable `google.protobuf.Value` entry for this field.
209 &quot;a_key&quot;: &quot;&quot;,
210 },
211 &quot;metadata&quot;: { # Metadata like service latency, etc.
212 &quot;a_key&quot;: {
213 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
214 },
215 },
216 &quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of the Entity. Format: projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type}/entities/{id}
217 }</pre>
218 </div>
219
220 <div class="method">
221 <code class="details" id="list">list(parent, conditions=None, executionConfig_headers=None, pageSize=None, pageToken=None, sortBy=None, sortOrder=None, x__xgafv=None)</code>
222 <pre>Lists entity rows of a particular entity type contained in the request. Note: 1. Currently, only max of one &#x27;sort_by&#x27; column is supported. 2. If no &#x27;sort_by&#x27; column is provided, the primary key of the table is used. If zero or more than one primary key is available, we default to the unpaginated list entities logic which only returns the first page. 3. The values of the &#x27;sort_by&#x27; columns must uniquely identify an entity row, otherwise undefined behaviors may be observed during pagination. 4. Since transactions are not supported, any updates, inserts or deletes during pagination can lead to stale data being returned or other unexpected behaviors.
223
224 Args:
225 parent: string, Required. Resource name of the Entity Type. Format: projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type} (required)
226 conditions: string, Conditions to be used when listing entities. From a proto standpoint, There are no restrictions on what can be passed using this field. The connector documentation should have information about what format of filters/conditions are supported.
227 executionConfig_headers: string, headers to be used for the request. For example: headers:&#x27;{&quot;x-integration-connectors-managed-connection-id&quot;:&quot;conn-id&quot;,&quot;x-integration-connectors-runtime-config&quot;:&quot;runtime-cfg&quot;}&#x27;
228 pageSize: integer, Number of entity rows to return. Defaults page size = 25. Max page size = 200.
229 pageToken: string, Page token value if available from a previous request.
230 sortBy: string, List of &#x27;sort_by&#x27; columns to use when returning the results. (repeated)
231 sortOrder: string, List of &#x27;sort_order&#x27; columns to use when returning the results. (repeated)
232 x__xgafv: string, V1 error format.
233 Allowed values
234 1 - v1 error format
235 2 - v2 error format
236
237 Returns:
238 An object of the form:
239
240 { # Response message for EntityService.ListEntities
241 &quot;entities&quot;: [ # List containing entity rows.
242 { # &#x27;Entity row&#x27;/ &#x27;Entity&#x27; refers to a single row of an entity type.
243 &quot;fields&quot;: { # Fields of the entity. The key is name of the field and the value contains the applicable `google.protobuf.Value` entry for this field.
244 &quot;a_key&quot;: &quot;&quot;,
245 },
246 &quot;metadata&quot;: { # Metadata like service latency, etc.
247 &quot;a_key&quot;: {
248 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
249 },
250 },
251 &quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of the Entity. Format: projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type}/entities/{id}
252 },
253 ],
254 &quot;metadata&quot;: { # Metadata like service latency, etc.
255 &quot;a_key&quot;: {
256 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
257 },
258 },
259 &quot;nextPageToken&quot;: &quot;A String&quot;, # Next page token if more records are available.
260 }</pre>
261 </div>
262
263 <div class="method">
264 <code class="details" id="list_next">list_next()</code>
265 <pre>Retrieves the next page of results.
266
267 Args:
268 previous_request: The request for the previous page. (required)
269 previous_response: The response from the request for the previous page. (required)
270
271 Returns:
272 A request object that you can call &#x27;execute()&#x27; on to request the next
273 page. Returns None if there are no more items in the collection.
274 </pre>
275 </div>
276
277 <div class="method">
278 <code class="details" id="patch">patch(name, body=None, executionConfig_headers=None, x__xgafv=None)</code>
279 <pre>Updates an existing entity row matching the entity type and entity id specified in the request. The fields in the entity row that need to be modified are contained in the body of the request. All unspecified fields are left unchanged. The response message contains a `Entity` message object returned as a response by the external system.
280
281 Args:
282 name: string, Output only. Resource name of the Entity. Format: projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type}/entities/{id} (required)
283 body: object, The request body.
284 The object takes the form of:
285
286 { # &#x27;Entity row&#x27;/ &#x27;Entity&#x27; refers to a single row of an entity type.
287 &quot;fields&quot;: { # Fields of the entity. The key is name of the field and the value contains the applicable `google.protobuf.Value` entry for this field.
288 &quot;a_key&quot;: &quot;&quot;,
289 },
290 &quot;metadata&quot;: { # Metadata like service latency, etc.
291 &quot;a_key&quot;: {
292 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
293 },
294 },
295 &quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of the Entity. Format: projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type}/entities/{id}
296 }
297
298 executionConfig_headers: string, headers to be used for the request. For example: headers:&#x27;{&quot;x-integration-connectors-managed-connection-id&quot;:&quot;conn-id&quot;,&quot;x-integration-connectors-runtime-config&quot;:&quot;runtime-cfg&quot;}&#x27;
299 x__xgafv: string, V1 error format.
300 Allowed values
301 1 - v1 error format
302 2 - v2 error format
303
304 Returns:
305 An object of the form:
306
307 { # &#x27;Entity row&#x27;/ &#x27;Entity&#x27; refers to a single row of an entity type.
308 &quot;fields&quot;: { # Fields of the entity. The key is name of the field and the value contains the applicable `google.protobuf.Value` entry for this field.
309 &quot;a_key&quot;: &quot;&quot;,
310 },
311 &quot;metadata&quot;: { # Metadata like service latency, etc.
312 &quot;a_key&quot;: {
313 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
314 },
315 },
316 &quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of the Entity. Format: projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type}/entities/{id}
317 }</pre>
318 </div>
319
320 <div class="method">
321 <code class="details" id="updateEntitiesWithConditions">updateEntitiesWithConditions(entityType, body=None, conditions=None, executionConfig_headers=None, x__xgafv=None)</code>
322 <pre>Updates entities based on conditions specified in the request and not on entity id.
323
324 Args:
325 entityType: string, Required. Resource name of the Entity Type. Format: projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type} (required)
326 body: object, The request body.
327 The object takes the form of:
328
329 { # &#x27;Entity row&#x27;/ &#x27;Entity&#x27; refers to a single row of an entity type.
330 &quot;fields&quot;: { # Fields of the entity. The key is name of the field and the value contains the applicable `google.protobuf.Value` entry for this field.
331 &quot;a_key&quot;: &quot;&quot;,
332 },
333 &quot;metadata&quot;: { # Metadata like service latency, etc.
334 &quot;a_key&quot;: {
335 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
336 },
337 },
338 &quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of the Entity. Format: projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type}/entities/{id}
339 }
340
341 conditions: string, Required. Conditions to be used when updating entities. From a proto standpoint, There are no restrictions on what can be passed using this field. The connector documentation should have information about what format of filters/conditions are supported. Note: If this conditions field is left empty, an exception is thrown. We don&#x27;t want to consider &#x27;empty conditions&#x27; to be a match-all case. Connector developers can determine and document what a match-all case constraint would be.
342 executionConfig_headers: string, headers to be used for the request. For example: headers:&#x27;{&quot;x-integration-connectors-managed-connection-id&quot;:&quot;conn-id&quot;,&quot;x-integration-connectors-runtime-config&quot;:&quot;runtime-cfg&quot;}&#x27;
343 x__xgafv: string, V1 error format.
344 Allowed values
345 1 - v1 error format
346 2 - v2 error format
347
348 Returns:
349 An object of the form:
350
351 { # Response message for EntityService.UpdateEntitiesWithConditions
352 &quot;metadata&quot;: { # Metadata like service latency, etc.
353 &quot;a_key&quot;: {
354 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
355 },
356 },
357 &quot;response&quot;: { # Response returned by the external system.
358 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
359 },
360 }</pre>
361 </div>
362
363 </body></html>