Debian Codegraph @

docs/dyn/discoveryengine_v1alpha.projects.locations.collections.dataConnector.connectorRuns.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="discoveryengine_v1alpha.html">Discovery Engine API</a> . <a href="discoveryengine_v1alpha.projects.html">projects</a> . <a href="discoveryengine_v1alpha.projects.locations.html">locations</a> . <a href="discoveryengine_v1alpha.projects.locations.collections.html">collections</a> . <a href="discoveryengine_v1alpha.projects.locations.collections.dataConnector.html">dataConnector</a> . <a href="discoveryengine_v1alpha.projects.locations.collections.dataConnector.connectorRuns.html">connectorRuns</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="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Lists the ConnectorRuns of a DataConnector.</p>
83 <p class="toc_element">
84 <code><a href="#list_next">list_next()</a></code></p>
85 <p class="firstline">Retrieves the next page of results.</p>
86 <h3>Method Details</h3>
87 <div class="method">
88 <code class="details" id="close">close()</code>
89 <pre>Close httplib2 connections.</pre>
90 </div>
91
92 <div class="method">
93 <code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
94 <pre>Lists the ConnectorRuns of a DataConnector.
95
96 Args:
97 parent: string, Required. The parent DataConnector resource name, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataConnector`. If the caller does not have permission to list ConnectorRuns under this DataConnector, regardless of whether or not this DataConnector exists, a `PERMISSION_DENIED` error is returned. (required)
98 pageSize: integer, Requested page size. Server may return fewer items than requested. If unspecified, defaults to 10. The maximum value is 50; values above 50 will be coerced to 50. If this field is negative, an `INVALID_ARGUMENT` error is returned.
99 pageToken: string, A page token, received from a previous `ListConnectorRuns` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListConnectorRuns` must match the call that provided the page token.
100 x__xgafv: string, V1 error format.
101 Allowed values
102 1 - v1 error format
103 2 - v2 error format
104
105 Returns:
106 An object of the form:
107
108 { # Response for DataConnectorService.ListConnectorRuns method.
109 &quot;connectorRuns&quot;: [ # List of ConnectorRuns.
110 { # A data sync run of DataConnector. After DataConnector is successfully initialized, data syncs are scheduled at DataConnector.refresh_interval. A ConnectorRun represents a data sync either in the past or onging that the moment. //
111 &quot;endTime&quot;: &quot;A String&quot;, # Output only. The time when the connector run ended.
112 &quot;entityRuns&quot;: [ # Output only. The details of the entities synced at the ConnectorRun. Each ConnectorRun consists of syncing one or more entities.
113 { # Represents an entity that was synced in this ConnectorRun.
114 &quot;deletedRecordCount&quot;: &quot;A String&quot;, # Optional. The number of documents deleted.
115 &quot;entityName&quot;: &quot;A String&quot;, # The name of the source entity.
116 &quot;errorRecordCount&quot;: &quot;A String&quot;, # Optional. The total number of documents failed at sync at indexing stage.
117 &quot;errors&quot;: [ # The errors from the entity&#x27;s sync run. Only exist if running into an error state. Contains error code and error message.
118 { # 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).
119 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
120 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
121 {
122 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
123 },
124 ],
125 &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.
126 },
127 ],
128 &quot;extractedRecordCount&quot;: &quot;A String&quot;, # Optional. The number of documents extracted from connector source, ready to be ingested to VAIS.
129 &quot;indexedRecordCount&quot;: &quot;A String&quot;, # Optional. The number of documents indexed.
130 &quot;progress&quot;: { # Represents the progress of a sync run. # Metadata to generate the progress bar.
131 &quot;currentCount&quot;: &quot;A String&quot;, # The current progress.
132 &quot;percentile&quot;: 3.14, # Derived. The percentile of the progress.current_count / total_count. The value is between [0, 1.0] inclusive.
133 &quot;totalCount&quot;: &quot;A String&quot;, # The total.
134 },
135 &quot;scheduledRecordCount&quot;: &quot;A String&quot;, # Optional. The number of documents scheduled to be crawled/extracted from connector source. This only applies to third party connectors.
136 &quot;sourceApiRequestCount&quot;: &quot;A String&quot;, # Optional. The number of requests sent to 3p API.
137 &quot;state&quot;: &quot;A String&quot;, # The state of the entity&#x27;s sync run.
138 &quot;stateUpdateTime&quot;: &quot;A String&quot;, # Timestamp at which the entity sync state was last updated.
139 &quot;statsUpdateTime&quot;: &quot;A String&quot;, # The timestamp for either extracted_documents_count, indexed_documents_count and error_documents_count was last updated.
140 &quot;syncType&quot;: &quot;A String&quot;, # Sync type of this run.
141 },
142 ],
143 &quot;errors&quot;: [ # Contains info about errors incurred during the sync. Only exist if running into an error state. Contains error code and error message. Use with the `state` field.
144 { # 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).
145 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
146 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
147 {
148 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
149 },
150 ],
151 &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.
152 },
153 ],
154 &quot;latestPauseTime&quot;: &quot;A String&quot;, # Output only. The time when the connector run was most recently paused.
155 &quot;name&quot;: &quot;A String&quot;, # Output only. The full resource name of the Connector Run. Format: `projects/*/locations/*/collections/*/dataConnector/connectorRuns/*`. The `connector_run_id` is system-generated.
156 &quot;startTime&quot;: &quot;A String&quot;, # Output only. The time when the connector run started.
157 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the sync run.
158 &quot;stateUpdateTime&quot;: &quot;A String&quot;, # Timestamp at which the connector run sync state was last updated.
159 &quot;trigger&quot;: &quot;A String&quot;, # Output only. The trigger for this ConnectorRun.
160 },
161 ],
162 &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.
163 }</pre>
164 </div>
165
166 <div class="method">
167 <code class="details" id="list_next">list_next()</code>
168 <pre>Retrieves the next page of results.
169
170 Args:
171 previous_request: The request for the previous page. (required)
172 previous_response: The response from the request for the previous page. (required)
173
174 Returns:
175 A request object that you can call &#x27;execute()&#x27; on to request the next
176 page. Returns None if there are no more items in the collection.
177 </pre>
178 </div>
179
180 </body></html>