Debian Codegraph @

docs/dyn/firebasedataconnect_v1.projects.locations.services.connectors.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="firebasedataconnect_v1.html">Firebase SQL Connect API</a> . <a href="firebasedataconnect_v1.projects.html">projects</a> . <a href="firebasedataconnect_v1.projects.locations.html">locations</a> . <a href="firebasedataconnect_v1.projects.locations.services.html">services</a> . <a href="firebasedataconnect_v1.projects.locations.services.connectors.html">connectors</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, connectorId=None, requestId=None, validateOnly=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Creates a new Connector in a given project and location. The operations are validated against and must be compatible with the active schema. If the operations and schema are not compatible or if the schema is not present, this will result in an error.</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(name, allowMissing=None, etag=None, force=None, requestId=None, validateOnly=None, x__xgafv=None)</a></code></p>
85 <p class="firstline">Deletes a single Connector.</p>
86 <p class="toc_element">
87 <code><a href="#executeMutation">executeMutation(name, body=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">Execute a predefined mutation in a Connector.</p>
89 <p class="toc_element">
90 <code><a href="#executeQuery">executeQuery(name, body=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Execute a predefined query in a Connector.</p>
92 <p class="toc_element">
93 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
94 <p class="firstline">Gets details of a single Connector.</p>
95 <p class="toc_element">
96 <code><a href="#impersonateMutation">impersonateMutation(name, body=None, x__xgafv=None)</a></code></p>
97 <p class="firstline">Impersonate a mutation defined on a Firebase SQL Connect connector. It grants the admin SDK access to mutations defined in the given connector. The caller can choose to impersonate a particular Firebase Auth user, or skip @auth completely.</p>
98 <p class="toc_element">
99 <code><a href="#impersonateQuery">impersonateQuery(name, body=None, x__xgafv=None)</a></code></p>
100 <p class="firstline">Impersonate a query defined on a Firebase SQL Connect connector. It grants the admin SDK access to queries defined in the given connector. The caller can choose to impersonate a particular Firebase Auth user, or skip @auth completely.</p>
101 <p class="toc_element">
102 <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
103 <p class="firstline">Lists Connectors in a given project and location.</p>
104 <p class="toc_element">
105 <code><a href="#list_next">list_next()</a></code></p>
106 <p class="firstline">Retrieves the next page of results.</p>
107 <p class="toc_element">
108 <code><a href="#patch">patch(name, allowMissing=None, body=None, requestId=None, updateMask=None, validateOnly=None, x__xgafv=None)</a></code></p>
109 <p class="firstline">Updates the parameters of a single Connector, and creates a new ConnectorRevision with the updated Connector. The operations are validated against and must be compatible with the live schema. If the operations and schema are not compatible or if the schema is not present, this will result in an error.</p>
110 <h3>Method Details</h3>
111 <div class="method">
112 <code class="details" id="close">close()</code>
113 <pre>Close httplib2 connections.</pre>
114 </div>
115
116 <div class="method">
117 <code class="details" id="create">create(parent, body=None, connectorId=None, requestId=None, validateOnly=None, x__xgafv=None)</code>
118 <pre>Creates a new Connector in a given project and location. The operations are validated against and must be compatible with the active schema. If the operations and schema are not compatible or if the schema is not present, this will result in an error.
119
120 Args:
121 parent: string, Required. Value for parent. (required)
122 body: object, The request body.
123 The object takes the form of:
124
125 { # Connector consists of a set of operations, i.e. queries and mutations.
126 &quot;annotations&quot;: { # Optional. Stores small amounts of arbitrary data.
127 &quot;a_key&quot;: &quot;A String&quot;,
128 },
129 &quot;clientCache&quot;: { # Client caching settings of a connector. # Optional. The client cache settings of the connector.
130 &quot;entityIdIncluded&quot;: True or False, # Optional. A field that, if true, means that responses served by this connector will include entityIds in GraphQL response extensions. This helps the client SDK cache responses in an improved way, known as &quot;normalized caching&quot;, if caching is enabled on the client. Each entityId is a stable key based on primary key values. Therefore, this field should only be set to true if the primary keys of accessed tables do not contain sensitive information.
131 &quot;strictValidationEnabled&quot;: True or False, # Optional. A field that, if true, enables stricter validation on the connector source code to make sure the operation response shapes are suitable for client-side caching. This can include additional errors and warnings. For example, using the same alias for different fields is disallowed, as it may cause conflicts or confusion with normalized caching. (This field is off by default for compatibility, but enabling it is highly recommended to catch common caching pitfalls.)
132 },
133 &quot;createTime&quot;: &quot;A String&quot;, # Output only. [Output only] Create time stamp.
134 &quot;displayName&quot;: &quot;A String&quot;, # Optional. Mutable human-readable name. 63 character limit.
135 &quot;etag&quot;: &quot;A String&quot;, # Output only. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. [AIP-154](https://google.aip.dev/154)
136 &quot;labels&quot;: { # Optional. Labels as key value pairs.
137 &quot;a_key&quot;: &quot;A String&quot;,
138 },
139 &quot;name&quot;: &quot;A String&quot;, # Identifier. The relative resource name of the connector, in the format: ``` projects/{project}/locations/{location}/services/{service}/connectors/{connector} ```
140 &quot;reconciling&quot;: True or False, # Output only. A field that if true, indicates that the system is working to compile and deploy the connector.
141 &quot;source&quot;: { # Used to represent a set of source files. # Required. The source files that comprise the connector.
142 &quot;files&quot;: [ # Required. The files that comprise the source set.
143 { # Individual files.
144 &quot;content&quot;: &quot;A String&quot;, # Required. The file&#x27;s textual content.
145 &quot;path&quot;: &quot;A String&quot;, # Required. The file name including folder path, if applicable. The path should be relative to a local workspace (e.g. dataconnect/(schema|connector)/*.gql) and not an absolute path (e.g. /absolute/path/(schema|connector)/*.gql).
146 },
147 ],
148 },
149 &quot;uid&quot;: &quot;A String&quot;, # Output only. System-assigned, unique identifier.
150 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. [Output only] Update time stamp.
151 }
152
153 connectorId: string, Required. The ID to use for the connector, which will become the final component of the connector&#x27;s resource name.
154 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).
155 validateOnly: boolean, Optional. If set, validate the request and preview the Connector, but do not actually create it.
156 x__xgafv: string, V1 error format.
157 Allowed values
158 1 - v1 error format
159 2 - v2 error format
160
161 Returns:
162 An object of the form:
163
164 { # This resource represents a long-running operation that is the result of a network API call.
165 &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.
166 &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.
167 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
168 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
169 {
170 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
171 },
172 ],
173 &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.
174 },
175 &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.
176 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
177 },
178 &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}`.
179 &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`.
180 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
181 },
182 }</pre>
183 </div>
184
185 <div class="method">
186 <code class="details" id="delete">delete(name, allowMissing=None, etag=None, force=None, requestId=None, validateOnly=None, x__xgafv=None)</code>
187 <pre>Deletes a single Connector.
188
189 Args:
190 name: string, Required. The name of the connector to delete, in the format: ``` projects/{project}/locations/{location}/services/{service}/connectors/{connector} ``` (required)
191 allowMissing: boolean, Optional. If true and the Connector is not found, the request will succeed but no action will be taken on the server.
192 etag: string, Optional. The etag of the Connector. If this is provided, it must match the server&#x27;s etag.
193 force: boolean, Optional. If set to true, any child resources (i.e. ConnectorRevisions) will also be deleted. Otherwise, the request will only work if the Connector has no child resources.
194 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).
195 validateOnly: boolean, Optional. If set, validate the request and preview the Connector, but do not actually delete it.
196 x__xgafv: string, V1 error format.
197 Allowed values
198 1 - v1 error format
199 2 - v2 error format
200
201 Returns:
202 An object of the form:
203
204 { # This resource represents a long-running operation that is the result of a network API call.
205 &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.
206 &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.
207 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
208 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
209 {
210 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
211 },
212 ],
213 &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.
214 },
215 &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.
216 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
217 },
218 &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}`.
219 &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`.
220 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
221 },
222 }</pre>
223 </div>
224
225 <div class="method">
226 <code class="details" id="executeMutation">executeMutation(name, body=None, x__xgafv=None)</code>
227 <pre>Execute a predefined mutation in a Connector.
228
229 Args:
230 name: string, Required. The resource name of the connector to find the predefined mutation, in the format: ``` projects/{project}/locations/{location}/services/{service}/connectors/{connector} ``` (required)
231 body: object, The request body.
232 The object takes the form of:
233
234 { # The ExecuteMutation request to Firebase SQL Connect.
235 &quot;operationName&quot;: &quot;A String&quot;, # Required. The name of the GraphQL operation name. Required because all Connector operations must be named. See https://graphql.org/learn/queries/#operation-name.
236 &quot;variables&quot;: { # Optional. Values for GraphQL variables provided in this request.
237 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
238 },
239 }
240
241 x__xgafv: string, V1 error format.
242 Allowed values
243 1 - v1 error format
244 2 - v2 error format
245
246 Returns:
247 An object of the form:
248
249 { # The ExecuteMutation response from Firebase SQL Connect.
250 &quot;data&quot;: { # The result of executing the requested operation.
251 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
252 },
253 &quot;errors&quot;: [ # Errors of this response.
254 { # GraphqlError conforms to the GraphQL error spec. https://spec.graphql.org/draft/#sec-Errors Firebase SQL Connect API surfaces `GraphqlError` in various APIs: - Upon compile error, `UpdateSchema` and `UpdateConnector` return Code.Invalid_Argument with a list of `GraphqlError` in error details. - Upon query compile error, `ExecuteGraphql`, `ExecuteGraphqlRead` and `IntrospectGraphql` return Code.OK with a list of `GraphqlError` in response body. - Upon query execution error, `ExecuteGraphql`, `ExecuteGraphqlRead`, `ExecuteMutation`, `ExecuteQuery`, `IntrospectGraphql`, `ImpersonateQuery` and `ImpersonateMutation` all return Code.OK with a list of `GraphqlError` in response body.
255 &quot;extensions&quot;: { # GraphqlErrorExtensions contains additional information of `GraphqlError`. # Additional error information.
256 &quot;code&quot;: &quot;A String&quot;, # Maps to canonical gRPC codes. If not specified, it represents `Code.INTERNAL`.
257 &quot;debugDetails&quot;: &quot;A String&quot;, # More detailed error message to assist debugging. It contains application business logic that are inappropriate to leak publicly. In the emulator, SQL Connect API always includes it to assist local development and debugging. In the backend, ConnectorService always hides it. GraphqlService without impersonation always include it. GraphqlService with impersonation includes it only if explicitly opted-in with `include_debug_details` in `GraphqlRequestExtensions`.
258 &quot;file&quot;: &quot;A String&quot;, # The source file name where the error occurred. Included only for `UpdateSchema` and `UpdateConnector`, it corresponds to `File.path` of the provided `Source`.
259 &quot;warningLevel&quot;: &quot;A String&quot;, # Warning level describes the severity and required action to suppress this warning when Firebase CLI run into it.
260 &quot;workarounds&quot;: [ # Workarounds provide suggestions to address the compile errors or warnings.
261 { # Workaround provides suggestions to address errors and warnings.
262 &quot;description&quot;: &quot;A String&quot;, # Description of this workaround.
263 &quot;reason&quot;: &quot;A String&quot;, # Why would this workaround address the error and warning.
264 &quot;replace&quot;: &quot;A String&quot;, # A suggested code snippet to fix the error and warning.
265 },
266 ],
267 },
268 &quot;locations&quot;: [ # The source locations where the error occurred. Locations should help developers and toolings identify the source of error quickly. Included in admin endpoints (`ExecuteGraphql`, `ExecuteGraphqlRead`, `IntrospectGraphql`, `ImpersonateQuery`, `ImpersonateMutation`, `UpdateSchema` and `UpdateConnector`) to reference the provided GraphQL GQL document. Omitted in `ExecuteMutation` and `ExecuteQuery` since the caller shouldn&#x27;t have access access the underlying GQL source.
269 { # SourceLocation references a location in a GraphQL source.
270 &quot;column&quot;: 42, # Column number starting at 1.
271 &quot;line&quot;: 42, # Line number starting at 1.
272 },
273 ],
274 &quot;message&quot;: &quot;A String&quot;, # The detailed error message. The message should help developer understand the underlying problem without leaking internal data.
275 &quot;path&quot;: [ # The result field which could not be populated due to error. Clients can use path to identify whether a null result is intentional or caused by a runtime error. It should be a list of string or index from the root of GraphQL query document.
276 &quot;&quot;,
277 ],
278 },
279 ],
280 &quot;extensions&quot;: { # GraphqlResponseExtensions contains additional information of `GraphqlResponse` or `ExecuteQueryResponse`. # Additional response information.
281 &quot;dataConnect&quot;: [ # SQL Connect specific GraphQL extension, a list of paths and properties.
282 { # SQL Connect specific properties for a path under response.data.
283 &quot;entityId&quot;: &quot;A String&quot;, # A single Entity ID. Set if the path points to a single entity.
284 &quot;entityIds&quot;: [ # A list of Entity IDs. Set if the path points to an array of entities. An ID is present for each element of the array at the corresponding index.
285 &quot;A String&quot;,
286 ],
287 &quot;maxAge&quot;: &quot;A String&quot;, # The server-suggested duration before data under path is considered stale.
288 &quot;path&quot;: [ # The path under response.data where the rest of the fields apply. Each element may be a string (field name) or number (array index). The root of response.data is denoted by the empty list `[]`.
289 &quot;&quot;,
290 ],
291 },
292 ],
293 },
294 }</pre>
295 </div>
296
297 <div class="method">
298 <code class="details" id="executeQuery">executeQuery(name, body=None, x__xgafv=None)</code>
299 <pre>Execute a predefined query in a Connector.
300
301 Args:
302 name: string, Required. The resource name of the connector to find the predefined query, in the format: ``` projects/{project}/locations/{location}/services/{service}/connectors/{connector} ``` (required)
303 body: object, The request body.
304 The object takes the form of:
305
306 { # The ExecuteQuery request to Firebase SQL Connect.
307 &quot;operationName&quot;: &quot;A String&quot;, # Required. The name of the GraphQL operation name. Required because all Connector operations must be named. See https://graphql.org/learn/queries/#operation-name.
308 &quot;variables&quot;: { # Optional. Values for GraphQL variables provided in this request.
309 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
310 },
311 }
312
313 x__xgafv: string, V1 error format.
314 Allowed values
315 1 - v1 error format
316 2 - v2 error format
317
318 Returns:
319 An object of the form:
320
321 { # The ExecuteQuery response from Firebase SQL Connect.
322 &quot;data&quot;: { # The result of executing the requested operation.
323 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
324 },
325 &quot;errors&quot;: [ # Errors of this response.
326 { # GraphqlError conforms to the GraphQL error spec. https://spec.graphql.org/draft/#sec-Errors Firebase SQL Connect API surfaces `GraphqlError` in various APIs: - Upon compile error, `UpdateSchema` and `UpdateConnector` return Code.Invalid_Argument with a list of `GraphqlError` in error details. - Upon query compile error, `ExecuteGraphql`, `ExecuteGraphqlRead` and `IntrospectGraphql` return Code.OK with a list of `GraphqlError` in response body. - Upon query execution error, `ExecuteGraphql`, `ExecuteGraphqlRead`, `ExecuteMutation`, `ExecuteQuery`, `IntrospectGraphql`, `ImpersonateQuery` and `ImpersonateMutation` all return Code.OK with a list of `GraphqlError` in response body.
327 &quot;extensions&quot;: { # GraphqlErrorExtensions contains additional information of `GraphqlError`. # Additional error information.
328 &quot;code&quot;: &quot;A String&quot;, # Maps to canonical gRPC codes. If not specified, it represents `Code.INTERNAL`.
329 &quot;debugDetails&quot;: &quot;A String&quot;, # More detailed error message to assist debugging. It contains application business logic that are inappropriate to leak publicly. In the emulator, SQL Connect API always includes it to assist local development and debugging. In the backend, ConnectorService always hides it. GraphqlService without impersonation always include it. GraphqlService with impersonation includes it only if explicitly opted-in with `include_debug_details` in `GraphqlRequestExtensions`.
330 &quot;file&quot;: &quot;A String&quot;, # The source file name where the error occurred. Included only for `UpdateSchema` and `UpdateConnector`, it corresponds to `File.path` of the provided `Source`.
331 &quot;warningLevel&quot;: &quot;A String&quot;, # Warning level describes the severity and required action to suppress this warning when Firebase CLI run into it.
332 &quot;workarounds&quot;: [ # Workarounds provide suggestions to address the compile errors or warnings.
333 { # Workaround provides suggestions to address errors and warnings.
334 &quot;description&quot;: &quot;A String&quot;, # Description of this workaround.
335 &quot;reason&quot;: &quot;A String&quot;, # Why would this workaround address the error and warning.
336 &quot;replace&quot;: &quot;A String&quot;, # A suggested code snippet to fix the error and warning.
337 },
338 ],
339 },
340 &quot;locations&quot;: [ # The source locations where the error occurred. Locations should help developers and toolings identify the source of error quickly. Included in admin endpoints (`ExecuteGraphql`, `ExecuteGraphqlRead`, `IntrospectGraphql`, `ImpersonateQuery`, `ImpersonateMutation`, `UpdateSchema` and `UpdateConnector`) to reference the provided GraphQL GQL document. Omitted in `ExecuteMutation` and `ExecuteQuery` since the caller shouldn&#x27;t have access access the underlying GQL source.
341 { # SourceLocation references a location in a GraphQL source.
342 &quot;column&quot;: 42, # Column number starting at 1.
343 &quot;line&quot;: 42, # Line number starting at 1.
344 },
345 ],
346 &quot;message&quot;: &quot;A String&quot;, # The detailed error message. The message should help developer understand the underlying problem without leaking internal data.
347 &quot;path&quot;: [ # The result field which could not be populated due to error. Clients can use path to identify whether a null result is intentional or caused by a runtime error. It should be a list of string or index from the root of GraphQL query document.
348 &quot;&quot;,
349 ],
350 },
351 ],
352 &quot;extensions&quot;: { # GraphqlResponseExtensions contains additional information of `GraphqlResponse` or `ExecuteQueryResponse`. # Additional response information.
353 &quot;dataConnect&quot;: [ # SQL Connect specific GraphQL extension, a list of paths and properties.
354 { # SQL Connect specific properties for a path under response.data.
355 &quot;entityId&quot;: &quot;A String&quot;, # A single Entity ID. Set if the path points to a single entity.
356 &quot;entityIds&quot;: [ # A list of Entity IDs. Set if the path points to an array of entities. An ID is present for each element of the array at the corresponding index.
357 &quot;A String&quot;,
358 ],
359 &quot;maxAge&quot;: &quot;A String&quot;, # The server-suggested duration before data under path is considered stale.
360 &quot;path&quot;: [ # The path under response.data where the rest of the fields apply. Each element may be a string (field name) or number (array index). The root of response.data is denoted by the empty list `[]`.
361 &quot;&quot;,
362 ],
363 },
364 ],
365 },
366 }</pre>
367 </div>
368
369 <div class="method">
370 <code class="details" id="get">get(name, x__xgafv=None)</code>
371 <pre>Gets details of a single Connector.
372
373 Args:
374 name: string, Required. The name of the connector to retrieve, in the format: ``` projects/{project}/locations/{location}/services/{service}/connectors/{connector} ``` (required)
375 x__xgafv: string, V1 error format.
376 Allowed values
377 1 - v1 error format
378 2 - v2 error format
379
380 Returns:
381 An object of the form:
382
383 { # Connector consists of a set of operations, i.e. queries and mutations.
384 &quot;annotations&quot;: { # Optional. Stores small amounts of arbitrary data.
385 &quot;a_key&quot;: &quot;A String&quot;,
386 },
387 &quot;clientCache&quot;: { # Client caching settings of a connector. # Optional. The client cache settings of the connector.
388 &quot;entityIdIncluded&quot;: True or False, # Optional. A field that, if true, means that responses served by this connector will include entityIds in GraphQL response extensions. This helps the client SDK cache responses in an improved way, known as &quot;normalized caching&quot;, if caching is enabled on the client. Each entityId is a stable key based on primary key values. Therefore, this field should only be set to true if the primary keys of accessed tables do not contain sensitive information.
389 &quot;strictValidationEnabled&quot;: True or False, # Optional. A field that, if true, enables stricter validation on the connector source code to make sure the operation response shapes are suitable for client-side caching. This can include additional errors and warnings. For example, using the same alias for different fields is disallowed, as it may cause conflicts or confusion with normalized caching. (This field is off by default for compatibility, but enabling it is highly recommended to catch common caching pitfalls.)
390 },
391 &quot;createTime&quot;: &quot;A String&quot;, # Output only. [Output only] Create time stamp.
392 &quot;displayName&quot;: &quot;A String&quot;, # Optional. Mutable human-readable name. 63 character limit.
393 &quot;etag&quot;: &quot;A String&quot;, # Output only. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. [AIP-154](https://google.aip.dev/154)
394 &quot;labels&quot;: { # Optional. Labels as key value pairs.
395 &quot;a_key&quot;: &quot;A String&quot;,
396 },
397 &quot;name&quot;: &quot;A String&quot;, # Identifier. The relative resource name of the connector, in the format: ``` projects/{project}/locations/{location}/services/{service}/connectors/{connector} ```
398 &quot;reconciling&quot;: True or False, # Output only. A field that if true, indicates that the system is working to compile and deploy the connector.
399 &quot;source&quot;: { # Used to represent a set of source files. # Required. The source files that comprise the connector.
400 &quot;files&quot;: [ # Required. The files that comprise the source set.
401 { # Individual files.
402 &quot;content&quot;: &quot;A String&quot;, # Required. The file&#x27;s textual content.
403 &quot;path&quot;: &quot;A String&quot;, # Required. The file name including folder path, if applicable. The path should be relative to a local workspace (e.g. dataconnect/(schema|connector)/*.gql) and not an absolute path (e.g. /absolute/path/(schema|connector)/*.gql).
404 },
405 ],
406 },
407 &quot;uid&quot;: &quot;A String&quot;, # Output only. System-assigned, unique identifier.
408 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. [Output only] Update time stamp.
409 }</pre>
410 </div>
411
412 <div class="method">
413 <code class="details" id="impersonateMutation">impersonateMutation(name, body=None, x__xgafv=None)</code>
414 <pre>Impersonate a mutation defined on a Firebase SQL Connect connector. It grants the admin SDK access to mutations defined in the given connector. The caller can choose to impersonate a particular Firebase Auth user, or skip @auth completely.
415
416 Args:
417 name: string, Required. The resource name of the connector to find the predefined query/mutation, in the format: ``` projects/{project}/locations/{location}/services/{service}/connectors/{connector} ``` (required)
418 body: object, The request body.
419 The object takes the form of:
420
421 { # The Impersonate request to Firebase SQL Connect.
422 &quot;extensions&quot;: { # GraphqlRequestExtensions contains additional information of `GraphqlRequest`. # Optional. Additional GraphQL request information.
423 &quot;impersonate&quot;: { # Impersonation configures the Firebase Auth context to impersonate. # Optional. If set, impersonate a request with given Firebase Auth context and evaluate the auth policies on the operation. If omitted, bypass any defined auth policies.
424 &quot;authClaims&quot;: { # Evaluate the auth policy with a customized JWT auth token. Should follow the Firebase Auth token format. https://firebase.google.com/docs/rules/rules-and-auth For example: a verified user may have auth_claims of {&quot;sub&quot;: , &quot;email_verified&quot;: true}
425 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
426 },
427 &quot;includeDebugDetails&quot;: True or False, # Optional. If set, include debug details in GraphQL error extensions.
428 &quot;unauthenticated&quot;: True or False, # Evaluate the auth policy as an unauthenticated request. Can only be set to true.
429 },
430 },
431 &quot;operationName&quot;: &quot;A String&quot;, # Required. The name of the GraphQL operation name. Required because all Connector operations must be named. See https://graphql.org/learn/queries/#operation-name.
432 &quot;variables&quot;: { # Optional. Values for GraphQL variables provided in this request.
433 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
434 },
435 }
436
437 x__xgafv: string, V1 error format.
438 Allowed values
439 1 - v1 error format
440 2 - v2 error format
441
442 Returns:
443 An object of the form:
444
445 { # The GraphQL response from Firebase SQL Connect. It strives to match the GraphQL over HTTP spec. Note: Firebase SQL Connect always responds with `Content-Type: application/json`. https://github.com/graphql/graphql-over-http/blob/main/spec/GraphQLOverHTTP.md#body
446 &quot;data&quot;: { # The result of the execution of the requested operation. If an error was raised before execution begins, the data entry should not be present in the result. (a request error: https://spec.graphql.org/draft/#sec-Errors.Request-Errors) If an error was raised during the execution that prevented a valid response, the data entry in the response should be null. (a field error: https://spec.graphql.org/draft/#sec-Errors.Error-Result-Format)
447 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
448 },
449 &quot;errors&quot;: [ # Errors of this response. If the data entry in the response is not present, the errors entry must be present. It conforms to https://spec.graphql.org/draft/#sec-Errors .
450 { # GraphqlError conforms to the GraphQL error spec. https://spec.graphql.org/draft/#sec-Errors Firebase SQL Connect API surfaces `GraphqlError` in various APIs: - Upon compile error, `UpdateSchema` and `UpdateConnector` return Code.Invalid_Argument with a list of `GraphqlError` in error details. - Upon query compile error, `ExecuteGraphql`, `ExecuteGraphqlRead` and `IntrospectGraphql` return Code.OK with a list of `GraphqlError` in response body. - Upon query execution error, `ExecuteGraphql`, `ExecuteGraphqlRead`, `ExecuteMutation`, `ExecuteQuery`, `IntrospectGraphql`, `ImpersonateQuery` and `ImpersonateMutation` all return Code.OK with a list of `GraphqlError` in response body.
451 &quot;extensions&quot;: { # GraphqlErrorExtensions contains additional information of `GraphqlError`. # Additional error information.
452 &quot;code&quot;: &quot;A String&quot;, # Maps to canonical gRPC codes. If not specified, it represents `Code.INTERNAL`.
453 &quot;debugDetails&quot;: &quot;A String&quot;, # More detailed error message to assist debugging. It contains application business logic that are inappropriate to leak publicly. In the emulator, SQL Connect API always includes it to assist local development and debugging. In the backend, ConnectorService always hides it. GraphqlService without impersonation always include it. GraphqlService with impersonation includes it only if explicitly opted-in with `include_debug_details` in `GraphqlRequestExtensions`.
454 &quot;file&quot;: &quot;A String&quot;, # The source file name where the error occurred. Included only for `UpdateSchema` and `UpdateConnector`, it corresponds to `File.path` of the provided `Source`.
455 &quot;warningLevel&quot;: &quot;A String&quot;, # Warning level describes the severity and required action to suppress this warning when Firebase CLI run into it.
456 &quot;workarounds&quot;: [ # Workarounds provide suggestions to address the compile errors or warnings.
457 { # Workaround provides suggestions to address errors and warnings.
458 &quot;description&quot;: &quot;A String&quot;, # Description of this workaround.
459 &quot;reason&quot;: &quot;A String&quot;, # Why would this workaround address the error and warning.
460 &quot;replace&quot;: &quot;A String&quot;, # A suggested code snippet to fix the error and warning.
461 },
462 ],
463 },
464 &quot;locations&quot;: [ # The source locations where the error occurred. Locations should help developers and toolings identify the source of error quickly. Included in admin endpoints (`ExecuteGraphql`, `ExecuteGraphqlRead`, `IntrospectGraphql`, `ImpersonateQuery`, `ImpersonateMutation`, `UpdateSchema` and `UpdateConnector`) to reference the provided GraphQL GQL document. Omitted in `ExecuteMutation` and `ExecuteQuery` since the caller shouldn&#x27;t have access access the underlying GQL source.
465 { # SourceLocation references a location in a GraphQL source.
466 &quot;column&quot;: 42, # Column number starting at 1.
467 &quot;line&quot;: 42, # Line number starting at 1.
468 },
469 ],
470 &quot;message&quot;: &quot;A String&quot;, # The detailed error message. The message should help developer understand the underlying problem without leaking internal data.
471 &quot;path&quot;: [ # The result field which could not be populated due to error. Clients can use path to identify whether a null result is intentional or caused by a runtime error. It should be a list of string or index from the root of GraphQL query document.
472 &quot;&quot;,
473 ],
474 },
475 ],
476 &quot;extensions&quot;: { # GraphqlResponseExtensions contains additional information of `GraphqlResponse` or `ExecuteQueryResponse`. # Additional response information. It conforms to https://spec.graphql.org/draft/#sec-Extensions .
477 &quot;dataConnect&quot;: [ # SQL Connect specific GraphQL extension, a list of paths and properties.
478 { # SQL Connect specific properties for a path under response.data.
479 &quot;entityId&quot;: &quot;A String&quot;, # A single Entity ID. Set if the path points to a single entity.
480 &quot;entityIds&quot;: [ # A list of Entity IDs. Set if the path points to an array of entities. An ID is present for each element of the array at the corresponding index.
481 &quot;A String&quot;,
482 ],
483 &quot;maxAge&quot;: &quot;A String&quot;, # The server-suggested duration before data under path is considered stale.
484 &quot;path&quot;: [ # The path under response.data where the rest of the fields apply. Each element may be a string (field name) or number (array index). The root of response.data is denoted by the empty list `[]`.
485 &quot;&quot;,
486 ],
487 },
488 ],
489 },
490 }</pre>
491 </div>
492
493 <div class="method">
494 <code class="details" id="impersonateQuery">impersonateQuery(name, body=None, x__xgafv=None)</code>
495 <pre>Impersonate a query defined on a Firebase SQL Connect connector. It grants the admin SDK access to queries defined in the given connector. The caller can choose to impersonate a particular Firebase Auth user, or skip @auth completely.
496
497 Args:
498 name: string, Required. The resource name of the connector to find the predefined query/mutation, in the format: ``` projects/{project}/locations/{location}/services/{service}/connectors/{connector} ``` (required)
499 body: object, The request body.
500 The object takes the form of:
501
502 { # The Impersonate request to Firebase SQL Connect.
503 &quot;extensions&quot;: { # GraphqlRequestExtensions contains additional information of `GraphqlRequest`. # Optional. Additional GraphQL request information.
504 &quot;impersonate&quot;: { # Impersonation configures the Firebase Auth context to impersonate. # Optional. If set, impersonate a request with given Firebase Auth context and evaluate the auth policies on the operation. If omitted, bypass any defined auth policies.
505 &quot;authClaims&quot;: { # Evaluate the auth policy with a customized JWT auth token. Should follow the Firebase Auth token format. https://firebase.google.com/docs/rules/rules-and-auth For example: a verified user may have auth_claims of {&quot;sub&quot;: , &quot;email_verified&quot;: true}
506 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
507 },
508 &quot;includeDebugDetails&quot;: True or False, # Optional. If set, include debug details in GraphQL error extensions.
509 &quot;unauthenticated&quot;: True or False, # Evaluate the auth policy as an unauthenticated request. Can only be set to true.
510 },
511 },
512 &quot;operationName&quot;: &quot;A String&quot;, # Required. The name of the GraphQL operation name. Required because all Connector operations must be named. See https://graphql.org/learn/queries/#operation-name.
513 &quot;variables&quot;: { # Optional. Values for GraphQL variables provided in this request.
514 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
515 },
516 }
517
518 x__xgafv: string, V1 error format.
519 Allowed values
520 1 - v1 error format
521 2 - v2 error format
522
523 Returns:
524 An object of the form:
525
526 { # The GraphQL response from Firebase SQL Connect. It strives to match the GraphQL over HTTP spec. Note: Firebase SQL Connect always responds with `Content-Type: application/json`. https://github.com/graphql/graphql-over-http/blob/main/spec/GraphQLOverHTTP.md#body
527 &quot;data&quot;: { # The result of the execution of the requested operation. If an error was raised before execution begins, the data entry should not be present in the result. (a request error: https://spec.graphql.org/draft/#sec-Errors.Request-Errors) If an error was raised during the execution that prevented a valid response, the data entry in the response should be null. (a field error: https://spec.graphql.org/draft/#sec-Errors.Error-Result-Format)
528 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
529 },
530 &quot;errors&quot;: [ # Errors of this response. If the data entry in the response is not present, the errors entry must be present. It conforms to https://spec.graphql.org/draft/#sec-Errors .
531 { # GraphqlError conforms to the GraphQL error spec. https://spec.graphql.org/draft/#sec-Errors Firebase SQL Connect API surfaces `GraphqlError` in various APIs: - Upon compile error, `UpdateSchema` and `UpdateConnector` return Code.Invalid_Argument with a list of `GraphqlError` in error details. - Upon query compile error, `ExecuteGraphql`, `ExecuteGraphqlRead` and `IntrospectGraphql` return Code.OK with a list of `GraphqlError` in response body. - Upon query execution error, `ExecuteGraphql`, `ExecuteGraphqlRead`, `ExecuteMutation`, `ExecuteQuery`, `IntrospectGraphql`, `ImpersonateQuery` and `ImpersonateMutation` all return Code.OK with a list of `GraphqlError` in response body.
532 &quot;extensions&quot;: { # GraphqlErrorExtensions contains additional information of `GraphqlError`. # Additional error information.
533 &quot;code&quot;: &quot;A String&quot;, # Maps to canonical gRPC codes. If not specified, it represents `Code.INTERNAL`.
534 &quot;debugDetails&quot;: &quot;A String&quot;, # More detailed error message to assist debugging. It contains application business logic that are inappropriate to leak publicly. In the emulator, SQL Connect API always includes it to assist local development and debugging. In the backend, ConnectorService always hides it. GraphqlService without impersonation always include it. GraphqlService with impersonation includes it only if explicitly opted-in with `include_debug_details` in `GraphqlRequestExtensions`.
535 &quot;file&quot;: &quot;A String&quot;, # The source file name where the error occurred. Included only for `UpdateSchema` and `UpdateConnector`, it corresponds to `File.path` of the provided `Source`.
536 &quot;warningLevel&quot;: &quot;A String&quot;, # Warning level describes the severity and required action to suppress this warning when Firebase CLI run into it.
537 &quot;workarounds&quot;: [ # Workarounds provide suggestions to address the compile errors or warnings.
538 { # Workaround provides suggestions to address errors and warnings.
539 &quot;description&quot;: &quot;A String&quot;, # Description of this workaround.
540 &quot;reason&quot;: &quot;A String&quot;, # Why would this workaround address the error and warning.
541 &quot;replace&quot;: &quot;A String&quot;, # A suggested code snippet to fix the error and warning.
542 },
543 ],
544 },
545 &quot;locations&quot;: [ # The source locations where the error occurred. Locations should help developers and toolings identify the source of error quickly. Included in admin endpoints (`ExecuteGraphql`, `ExecuteGraphqlRead`, `IntrospectGraphql`, `ImpersonateQuery`, `ImpersonateMutation`, `UpdateSchema` and `UpdateConnector`) to reference the provided GraphQL GQL document. Omitted in `ExecuteMutation` and `ExecuteQuery` since the caller shouldn&#x27;t have access access the underlying GQL source.
546 { # SourceLocation references a location in a GraphQL source.
547 &quot;column&quot;: 42, # Column number starting at 1.
548 &quot;line&quot;: 42, # Line number starting at 1.
549 },
550 ],
551 &quot;message&quot;: &quot;A String&quot;, # The detailed error message. The message should help developer understand the underlying problem without leaking internal data.
552 &quot;path&quot;: [ # The result field which could not be populated due to error. Clients can use path to identify whether a null result is intentional or caused by a runtime error. It should be a list of string or index from the root of GraphQL query document.
553 &quot;&quot;,
554 ],
555 },
556 ],
557 &quot;extensions&quot;: { # GraphqlResponseExtensions contains additional information of `GraphqlResponse` or `ExecuteQueryResponse`. # Additional response information. It conforms to https://spec.graphql.org/draft/#sec-Extensions .
558 &quot;dataConnect&quot;: [ # SQL Connect specific GraphQL extension, a list of paths and properties.
559 { # SQL Connect specific properties for a path under response.data.
560 &quot;entityId&quot;: &quot;A String&quot;, # A single Entity ID. Set if the path points to a single entity.
561 &quot;entityIds&quot;: [ # A list of Entity IDs. Set if the path points to an array of entities. An ID is present for each element of the array at the corresponding index.
562 &quot;A String&quot;,
563 ],
564 &quot;maxAge&quot;: &quot;A String&quot;, # The server-suggested duration before data under path is considered stale.
565 &quot;path&quot;: [ # The path under response.data where the rest of the fields apply. Each element may be a string (field name) or number (array index). The root of response.data is denoted by the empty list `[]`.
566 &quot;&quot;,
567 ],
568 },
569 ],
570 },
571 }</pre>
572 </div>
573
574 <div class="method">
575 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
576 <pre>Lists Connectors in a given project and location.
577
578 Args:
579 parent: string, Required. Value of parent. (required)
580 filter: string, Optional. Filtering results.
581 orderBy: string, Optional. Hint for how to order the results.
582 pageSize: integer, Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
583 pageToken: string, Optional. A page token, received from a previous `ListConnectors` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListConnectors` must match the call that provided the page token.
584 x__xgafv: string, V1 error format.
585 Allowed values
586 1 - v1 error format
587 2 - v2 error format
588
589 Returns:
590 An object of the form:
591
592 { # Message for response to listing Connectors. By default, `connectors.source` will not be included in the response. To specify the fields included in the response, the response field mask can be provided by using the query parameter `$fields` or the header `X-Goog-FieldMask`.
593 &quot;connectors&quot;: [ # The list of Connectors.
594 { # Connector consists of a set of operations, i.e. queries and mutations.
595 &quot;annotations&quot;: { # Optional. Stores small amounts of arbitrary data.
596 &quot;a_key&quot;: &quot;A String&quot;,
597 },
598 &quot;clientCache&quot;: { # Client caching settings of a connector. # Optional. The client cache settings of the connector.
599 &quot;entityIdIncluded&quot;: True or False, # Optional. A field that, if true, means that responses served by this connector will include entityIds in GraphQL response extensions. This helps the client SDK cache responses in an improved way, known as &quot;normalized caching&quot;, if caching is enabled on the client. Each entityId is a stable key based on primary key values. Therefore, this field should only be set to true if the primary keys of accessed tables do not contain sensitive information.
600 &quot;strictValidationEnabled&quot;: True or False, # Optional. A field that, if true, enables stricter validation on the connector source code to make sure the operation response shapes are suitable for client-side caching. This can include additional errors and warnings. For example, using the same alias for different fields is disallowed, as it may cause conflicts or confusion with normalized caching. (This field is off by default for compatibility, but enabling it is highly recommended to catch common caching pitfalls.)
601 },
602 &quot;createTime&quot;: &quot;A String&quot;, # Output only. [Output only] Create time stamp.
603 &quot;displayName&quot;: &quot;A String&quot;, # Optional. Mutable human-readable name. 63 character limit.
604 &quot;etag&quot;: &quot;A String&quot;, # Output only. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. [AIP-154](https://google.aip.dev/154)
605 &quot;labels&quot;: { # Optional. Labels as key value pairs.
606 &quot;a_key&quot;: &quot;A String&quot;,
607 },
608 &quot;name&quot;: &quot;A String&quot;, # Identifier. The relative resource name of the connector, in the format: ``` projects/{project}/locations/{location}/services/{service}/connectors/{connector} ```
609 &quot;reconciling&quot;: True or False, # Output only. A field that if true, indicates that the system is working to compile and deploy the connector.
610 &quot;source&quot;: { # Used to represent a set of source files. # Required. The source files that comprise the connector.
611 &quot;files&quot;: [ # Required. The files that comprise the source set.
612 { # Individual files.
613 &quot;content&quot;: &quot;A String&quot;, # Required. The file&#x27;s textual content.
614 &quot;path&quot;: &quot;A String&quot;, # Required. The file name including folder path, if applicable. The path should be relative to a local workspace (e.g. dataconnect/(schema|connector)/*.gql) and not an absolute path (e.g. /absolute/path/(schema|connector)/*.gql).
615 },
616 ],
617 },
618 &quot;uid&quot;: &quot;A String&quot;, # Output only. System-assigned, unique identifier.
619 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. [Output only] Update time stamp.
620 },
621 ],
622 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
623 &quot;unreachable&quot;: [ # Locations that could not be reached.
624 &quot;A String&quot;,
625 ],
626 }</pre>
627 </div>
628
629 <div class="method">
630 <code class="details" id="list_next">list_next()</code>
631 <pre>Retrieves the next page of results.
632
633 Args:
634 previous_request: The request for the previous page. (required)
635 previous_response: The response from the request for the previous page. (required)
636
637 Returns:
638 A request object that you can call &#x27;execute()&#x27; on to request the next
639 page. Returns None if there are no more items in the collection.
640 </pre>
641 </div>
642
643 <div class="method">
644 <code class="details" id="patch">patch(name, allowMissing=None, body=None, requestId=None, updateMask=None, validateOnly=None, x__xgafv=None)</code>
645 <pre>Updates the parameters of a single Connector, and creates a new ConnectorRevision with the updated Connector. The operations are validated against and must be compatible with the live schema. If the operations and schema are not compatible or if the schema is not present, this will result in an error.
646
647 Args:
648 name: string, Identifier. The relative resource name of the connector, in the format: ``` projects/{project}/locations/{location}/services/{service}/connectors/{connector} ``` (required)
649 body: object, The request body.
650 The object takes the form of:
651
652 { # Connector consists of a set of operations, i.e. queries and mutations.
653 &quot;annotations&quot;: { # Optional. Stores small amounts of arbitrary data.
654 &quot;a_key&quot;: &quot;A String&quot;,
655 },
656 &quot;clientCache&quot;: { # Client caching settings of a connector. # Optional. The client cache settings of the connector.
657 &quot;entityIdIncluded&quot;: True or False, # Optional. A field that, if true, means that responses served by this connector will include entityIds in GraphQL response extensions. This helps the client SDK cache responses in an improved way, known as &quot;normalized caching&quot;, if caching is enabled on the client. Each entityId is a stable key based on primary key values. Therefore, this field should only be set to true if the primary keys of accessed tables do not contain sensitive information.
658 &quot;strictValidationEnabled&quot;: True or False, # Optional. A field that, if true, enables stricter validation on the connector source code to make sure the operation response shapes are suitable for client-side caching. This can include additional errors and warnings. For example, using the same alias for different fields is disallowed, as it may cause conflicts or confusion with normalized caching. (This field is off by default for compatibility, but enabling it is highly recommended to catch common caching pitfalls.)
659 },
660 &quot;createTime&quot;: &quot;A String&quot;, # Output only. [Output only] Create time stamp.
661 &quot;displayName&quot;: &quot;A String&quot;, # Optional. Mutable human-readable name. 63 character limit.
662 &quot;etag&quot;: &quot;A String&quot;, # Output only. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. [AIP-154](https://google.aip.dev/154)
663 &quot;labels&quot;: { # Optional. Labels as key value pairs.
664 &quot;a_key&quot;: &quot;A String&quot;,
665 },
666 &quot;name&quot;: &quot;A String&quot;, # Identifier. The relative resource name of the connector, in the format: ``` projects/{project}/locations/{location}/services/{service}/connectors/{connector} ```
667 &quot;reconciling&quot;: True or False, # Output only. A field that if true, indicates that the system is working to compile and deploy the connector.
668 &quot;source&quot;: { # Used to represent a set of source files. # Required. The source files that comprise the connector.
669 &quot;files&quot;: [ # Required. The files that comprise the source set.
670 { # Individual files.
671 &quot;content&quot;: &quot;A String&quot;, # Required. The file&#x27;s textual content.
672 &quot;path&quot;: &quot;A String&quot;, # Required. The file name including folder path, if applicable. The path should be relative to a local workspace (e.g. dataconnect/(schema|connector)/*.gql) and not an absolute path (e.g. /absolute/path/(schema|connector)/*.gql).
673 },
674 ],
675 },
676 &quot;uid&quot;: &quot;A String&quot;, # Output only. System-assigned, unique identifier.
677 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. [Output only] Update time stamp.
678 }
679
680 allowMissing: boolean, Optional. If true and the Connector is not found, a new Connector will be created. In this case, `update_mask` is ignored.
681 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).
682 updateMask: string, Optional. Field mask is used to specify the fields to be overwritten in the Connector resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
683 validateOnly: boolean, Optional. If set, validate the request and preview the Connector, but do not actually update it.
684 x__xgafv: string, V1 error format.
685 Allowed values
686 1 - v1 error format
687 2 - v2 error format
688
689 Returns:
690 An object of the form:
691
692 { # This resource represents a long-running operation that is the result of a network API call.
693 &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.
694 &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.
695 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
696 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
697 {
698 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
699 },
700 ],
701 &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.
702 },
703 &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.
704 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
705 },
706 &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}`.
707 &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`.
708 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
709 },
710 }</pre>
711 </div>
712
713 </body></html>