Debian Codegraph @

docs/dyn/firebasedataconnect_v1beta.projects.locations.services.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_v1beta.html">Firebase SQL Connect API</a> . <a href="firebasedataconnect_v1beta.projects.html">projects</a> . <a href="firebasedataconnect_v1beta.projects.locations.html">locations</a> . <a href="firebasedataconnect_v1beta.projects.locations.services.html">services</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="firebasedataconnect_v1beta.projects.locations.services.connectors.html">connectors()</a></code>
79 </p>
80 <p class="firstline">Returns the connectors Resource.</p>
81
82 <p class="toc_element">
83 <code><a href="firebasedataconnect_v1beta.projects.locations.services.schemas.html">schemas()</a></code>
84 </p>
85 <p class="firstline">Returns the schemas Resource.</p>
86
87 <p class="toc_element">
88 <code><a href="#close">close()</a></code></p>
89 <p class="firstline">Close httplib2 connections.</p>
90 <p class="toc_element">
91 <code><a href="#create">create(parent, body=None, requestId=None, serviceId=None, validateOnly=None, x__xgafv=None)</a></code></p>
92 <p class="firstline">Creates a new Service in a given project and location.</p>
93 <p class="toc_element">
94 <code><a href="#delete">delete(name, allowMissing=None, etag=None, force=None, requestId=None, validateOnly=None, x__xgafv=None)</a></code></p>
95 <p class="firstline">Deletes a single Service.</p>
96 <p class="toc_element">
97 <code><a href="#executeGraphql">executeGraphql(name, body=None, x__xgafv=None)</a></code></p>
98 <p class="firstline">Execute any GraphQL query or mutation against the Firebase SQL Connect's generated GraphQL schema. Grants full read and write access to the connected data sources. Note: Use introspection query to explore the generated GraphQL schema.</p>
99 <p class="toc_element">
100 <code><a href="#executeGraphqlRead">executeGraphqlRead(name, body=None, x__xgafv=None)</a></code></p>
101 <p class="firstline">Execute any GraphQL query against the Firebase SQL Connect's generated GraphQL schema. Grants full read to the connected data sources. `ExecuteGraphqlRead` is identical to `ExecuteGraphql` except it only accepts read-only query.</p>
102 <p class="toc_element">
103 <code><a href="#generateQuery">generateQuery(name, body=None, x__xgafv=None)</a></code></p>
104 <p class="firstline">Generates a GraphQL query based on a natural language prompt and the provided schema context. This is a stateless method; the schema is provided per request to support local development states. Streams results with real-time status and output chunks.</p>
105 <p class="toc_element">
106 <code><a href="#generateSchema">generateSchema(name, body=None, x__xgafv=None)</a></code></p>
107 <p class="firstline">Generates GraphQL schema based on a natural language prompt or data description. This allows users to scaffold new types and tables quickly. Streams results with real-time status and output chunks.</p>
108 <p class="toc_element">
109 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
110 <p class="firstline">Gets details of a single Service.</p>
111 <p class="toc_element">
112 <code><a href="#introspectGraphql">introspectGraphql(name, body=None, x__xgafv=None)</a></code></p>
113 <p class="firstline">Execute introspection query against the Firebase SQL Connect's generated GraphQL schema. GraphQL introspection query provides metadata such as what tables the schema have, what queries and mutations can be performed on the schema, and so on. Read more at https://graphql.org/learn/introspection. IntrospectGraphql can read schema metadata but cannot read rows from Cloud SQL instance, which can be done via ExecuteGraphqlRead.</p>
114 <p class="toc_element">
115 <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
116 <p class="firstline">Lists Services in a given project and location.</p>
117 <p class="toc_element">
118 <code><a href="#list_next">list_next()</a></code></p>
119 <p class="firstline">Retrieves the next page of results.</p>
120 <p class="toc_element">
121 <code><a href="#patch">patch(name, allowMissing=None, body=None, requestId=None, updateMask=None, validateOnly=None, x__xgafv=None)</a></code></p>
122 <p class="firstline">Updates the parameters of a single Service.</p>
123 <h3>Method Details</h3>
124 <div class="method">
125 <code class="details" id="close">close()</code>
126 <pre>Close httplib2 connections.</pre>
127 </div>
128
129 <div class="method">
130 <code class="details" id="create">create(parent, body=None, requestId=None, serviceId=None, validateOnly=None, x__xgafv=None)</code>
131 <pre>Creates a new Service in a given project and location.
132
133 Args:
134 parent: string, Required. Value of parent. (required)
135 body: object, The request body.
136 The object takes the form of:
137
138 { # A Firebase SQL Connect service.
139 &quot;annotations&quot;: { # Optional. Stores small amounts of arbitrary data.
140 &quot;a_key&quot;: &quot;A String&quot;,
141 },
142 &quot;createTime&quot;: &quot;A String&quot;, # Output only. [Output only] Create time stamp.
143 &quot;displayName&quot;: &quot;A String&quot;, # Optional. Mutable human-readable name. 63 character limit.
144 &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)
145 &quot;labels&quot;: { # Optional. Labels as key value pairs.
146 &quot;a_key&quot;: &quot;A String&quot;,
147 },
148 &quot;name&quot;: &quot;A String&quot;, # Identifier. The relative resource name of the Firebase SQL Connect service, in the format: ``` projects/{project}/locations/{location}/services/{service} ``` Note that the service ID is specific to Firebase SQL Connect and does not correspond to any of the instance IDs of the underlying data source connections.
149 &quot;reconciling&quot;: True or False, # Output only. A field that if true, indicates that the system is working update the service.
150 &quot;uid&quot;: &quot;A String&quot;, # Output only. System-assigned, unique identifier.
151 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. [Output only] Update time stamp.
152 }
153
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 serviceId: string, Required. The ID to use for the service, which will become the final component of the service&#x27;s resource name.
156 validateOnly: boolean, Optional. If set, validate the request and preview the Service, but do not actually create it.
157 x__xgafv: string, V1 error format.
158 Allowed values
159 1 - v1 error format
160 2 - v2 error format
161
162 Returns:
163 An object of the form:
164
165 { # This resource represents a long-running operation that is the result of a network API call.
166 &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.
167 &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.
168 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
169 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
170 {
171 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
172 },
173 ],
174 &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.
175 },
176 &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.
177 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
178 },
179 &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}`.
180 &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`.
181 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
182 },
183 }</pre>
184 </div>
185
186 <div class="method">
187 <code class="details" id="delete">delete(name, allowMissing=None, etag=None, force=None, requestId=None, validateOnly=None, x__xgafv=None)</code>
188 <pre>Deletes a single Service.
189
190 Args:
191 name: string, Required. The name of the service to delete, in the format: ``` projects/{project}/locations/{location}/services/{service} ``` (required)
192 allowMissing: boolean, Optional. If true and the Service is not found, the request will succeed but no action will be taken on the server.
193 etag: string, Optional. The etag of the Service. If this is provided, it must match the server&#x27;s etag.
194 force: boolean, Optional. If set to true, any child resources (i.e. Schema, SchemaRevisions, Connectors, and ConnectorRevisions) will also be deleted. Otherwise, the request will only work if the Service has no child resources.
195 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).
196 validateOnly: boolean, Optional. If set, validate the request and preview the Service, but do not actually delete it.
197 x__xgafv: string, V1 error format.
198 Allowed values
199 1 - v1 error format
200 2 - v2 error format
201
202 Returns:
203 An object of the form:
204
205 { # This resource represents a long-running operation that is the result of a network API call.
206 &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.
207 &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.
208 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
209 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
210 {
211 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
212 },
213 ],
214 &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.
215 },
216 &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.
217 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
218 },
219 &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}`.
220 &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`.
221 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
222 },
223 }</pre>
224 </div>
225
226 <div class="method">
227 <code class="details" id="executeGraphql">executeGraphql(name, body=None, x__xgafv=None)</code>
228 <pre>Execute any GraphQL query or mutation against the Firebase SQL Connect&#x27;s generated GraphQL schema. Grants full read and write access to the connected data sources. Note: Use introspection query to explore the generated GraphQL schema.
229
230 Args:
231 name: string, Required. The relative resource name of Firebase SQL Connect service, in the format: ``` projects/{project}/locations/{location}/services/{service} ``` (required)
232 body: object, The request body.
233 The object takes the form of:
234
235 { # The GraphQL request to Firebase SQL Connect. It strives to match the GraphQL over HTTP spec. https://github.com/graphql/graphql-over-http/blob/main/spec/GraphQLOverHTTP.md#post
236 &quot;extensions&quot;: { # GraphqlRequestExtensions contains additional information of `GraphqlRequest`. # Optional. Additional GraphQL request information.
237 &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.
238 &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}
239 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
240 },
241 &quot;includeDebugDetails&quot;: True or False, # Optional. If set, include debug details in GraphQL error extensions.
242 &quot;unauthenticated&quot;: True or False, # Evaluate the auth policy as an unauthenticated request. Can only be set to true.
243 },
244 },
245 &quot;operationName&quot;: &quot;A String&quot;, # Optional. The name of the GraphQL operation name. Required only if `query` contains multiple operations. See https://graphql.org/learn/queries/#operation-name.
246 &quot;query&quot;: &quot;A String&quot;, # Required. The GraphQL query document source.
247 &quot;variables&quot;: { # Optional. Values for GraphQL variables provided in this request.
248 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
249 },
250 }
251
252 x__xgafv: string, V1 error format.
253 Allowed values
254 1 - v1 error format
255 2 - v2 error format
256
257 Returns:
258 An object of the form:
259
260 { # 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
261 &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)
262 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
263 },
264 &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 .
265 { # 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.
266 &quot;extensions&quot;: { # GraphqlErrorExtensions contains additional information of `GraphqlError`. # Additional error information.
267 &quot;code&quot;: &quot;A String&quot;, # Maps to canonical gRPC codes. If not specified, it represents `Code.INTERNAL`.
268 &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`.
269 &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`.
270 &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.
271 &quot;workarounds&quot;: [ # Workarounds provide suggestions to address the compile errors or warnings.
272 { # Workaround provides suggestions to address errors and warnings.
273 &quot;description&quot;: &quot;A String&quot;, # Description of this workaround.
274 &quot;reason&quot;: &quot;A String&quot;, # Why would this workaround address the error and warning.
275 &quot;replace&quot;: &quot;A String&quot;, # A suggested code snippet to fix the error and warning.
276 },
277 ],
278 },
279 &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.
280 { # SourceLocation references a location in a GraphQL source.
281 &quot;column&quot;: 42, # Column number starting at 1.
282 &quot;line&quot;: 42, # Line number starting at 1.
283 },
284 ],
285 &quot;message&quot;: &quot;A String&quot;, # The detailed error message. The message should help developer understand the underlying problem without leaking internal data.
286 &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.
287 &quot;&quot;,
288 ],
289 },
290 ],
291 &quot;extensions&quot;: { # GraphqlResponseExtensions contains additional information of `GraphqlResponse` or `ExecuteQueryResponse`. # Additional response information. It conforms to https://spec.graphql.org/draft/#sec-Extensions .
292 &quot;dataConnect&quot;: [ # SQL Connect specific GraphQL extension, a list of paths and properties.
293 { # SQL Connect specific properties for a path under response.data.
294 &quot;entityId&quot;: &quot;A String&quot;, # A single Entity ID. Set if the path points to a single entity.
295 &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.
296 &quot;A String&quot;,
297 ],
298 &quot;maxAge&quot;: &quot;A String&quot;, # The server-suggested duration before data under path is considered stale.
299 &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 `[]`.
300 &quot;&quot;,
301 ],
302 },
303 ],
304 },
305 }</pre>
306 </div>
307
308 <div class="method">
309 <code class="details" id="executeGraphqlRead">executeGraphqlRead(name, body=None, x__xgafv=None)</code>
310 <pre>Execute any GraphQL query against the Firebase SQL Connect&#x27;s generated GraphQL schema. Grants full read to the connected data sources. `ExecuteGraphqlRead` is identical to `ExecuteGraphql` except it only accepts read-only query.
311
312 Args:
313 name: string, Required. The relative resource name of Firebase SQL Connect service, in the format: ``` projects/{project}/locations/{location}/services/{service} ``` (required)
314 body: object, The request body.
315 The object takes the form of:
316
317 { # The GraphQL request to Firebase SQL Connect. It strives to match the GraphQL over HTTP spec. https://github.com/graphql/graphql-over-http/blob/main/spec/GraphQLOverHTTP.md#post
318 &quot;extensions&quot;: { # GraphqlRequestExtensions contains additional information of `GraphqlRequest`. # Optional. Additional GraphQL request information.
319 &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.
320 &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}
321 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
322 },
323 &quot;includeDebugDetails&quot;: True or False, # Optional. If set, include debug details in GraphQL error extensions.
324 &quot;unauthenticated&quot;: True or False, # Evaluate the auth policy as an unauthenticated request. Can only be set to true.
325 },
326 },
327 &quot;operationName&quot;: &quot;A String&quot;, # Optional. The name of the GraphQL operation name. Required only if `query` contains multiple operations. See https://graphql.org/learn/queries/#operation-name.
328 &quot;query&quot;: &quot;A String&quot;, # Required. The GraphQL query document source.
329 &quot;variables&quot;: { # Optional. Values for GraphQL variables provided in this request.
330 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
331 },
332 }
333
334 x__xgafv: string, V1 error format.
335 Allowed values
336 1 - v1 error format
337 2 - v2 error format
338
339 Returns:
340 An object of the form:
341
342 { # 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
343 &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)
344 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
345 },
346 &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 .
347 { # 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.
348 &quot;extensions&quot;: { # GraphqlErrorExtensions contains additional information of `GraphqlError`. # Additional error information.
349 &quot;code&quot;: &quot;A String&quot;, # Maps to canonical gRPC codes. If not specified, it represents `Code.INTERNAL`.
350 &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`.
351 &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`.
352 &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.
353 &quot;workarounds&quot;: [ # Workarounds provide suggestions to address the compile errors or warnings.
354 { # Workaround provides suggestions to address errors and warnings.
355 &quot;description&quot;: &quot;A String&quot;, # Description of this workaround.
356 &quot;reason&quot;: &quot;A String&quot;, # Why would this workaround address the error and warning.
357 &quot;replace&quot;: &quot;A String&quot;, # A suggested code snippet to fix the error and warning.
358 },
359 ],
360 },
361 &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.
362 { # SourceLocation references a location in a GraphQL source.
363 &quot;column&quot;: 42, # Column number starting at 1.
364 &quot;line&quot;: 42, # Line number starting at 1.
365 },
366 ],
367 &quot;message&quot;: &quot;A String&quot;, # The detailed error message. The message should help developer understand the underlying problem without leaking internal data.
368 &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.
369 &quot;&quot;,
370 ],
371 },
372 ],
373 &quot;extensions&quot;: { # GraphqlResponseExtensions contains additional information of `GraphqlResponse` or `ExecuteQueryResponse`. # Additional response information. It conforms to https://spec.graphql.org/draft/#sec-Extensions .
374 &quot;dataConnect&quot;: [ # SQL Connect specific GraphQL extension, a list of paths and properties.
375 { # SQL Connect specific properties for a path under response.data.
376 &quot;entityId&quot;: &quot;A String&quot;, # A single Entity ID. Set if the path points to a single entity.
377 &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.
378 &quot;A String&quot;,
379 ],
380 &quot;maxAge&quot;: &quot;A String&quot;, # The server-suggested duration before data under path is considered stale.
381 &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 `[]`.
382 &quot;&quot;,
383 ],
384 },
385 ],
386 },
387 }</pre>
388 </div>
389
390 <div class="method">
391 <code class="details" id="generateQuery">generateQuery(name, body=None, x__xgafv=None)</code>
392 <pre>Generates a GraphQL query based on a natural language prompt and the provided schema context. This is a stateless method; the schema is provided per request to support local development states. Streams results with real-time status and output chunks.
393
394 Args:
395 name: string, Required. The resource name of the service in which to generate the query. Format: projects/{project}/locations/{location}/services/{service} (required)
396 body: object, The request body.
397 The object takes the form of:
398
399 { # Request message for GenerateQuery.
400 &quot;prompt&quot;: &quot;A String&quot;, # Required. The natural language description of the desired query. Example: &quot;Find all users who signed up in the last 7 days.&quot;
401 &quot;schemas&quot;: [ # Optional. The user&#x27;s locally defined FDC Schema(s). If not defined, the backend will fetch the user&#x27;s deployed schema.
402 { # The application schema of a Firebase SQL Connect service.
403 &quot;annotations&quot;: { # Optional. Stores small amounts of arbitrary data.
404 &quot;a_key&quot;: &quot;A String&quot;,
405 },
406 &quot;createTime&quot;: &quot;A String&quot;, # Output only. [Output only] Create time stamp.
407 &quot;datasources&quot;: [ # Required. The data sources linked in the schema.
408 { # A data source that backs Firebase SQL Connect services.
409 &quot;httpGraphql&quot;: { # Settings for HTTP GraphQL server webhook. # HTTP GraphQL server webhook configurations.
410 &quot;timeout&quot;: &quot;A String&quot;, # Optional. Timeout duration for the HTTP request.
411 &quot;uri&quot;: &quot;A String&quot;, # Required. The endpoint of the HTTP GraphQL server.
412 },
413 &quot;postgresql&quot;: { # Settings for PostgreSQL data source. # PostgreSQL configurations.
414 &quot;cloudSql&quot;: { # Settings for CloudSQL instance configuration. # Cloud SQL configurations.
415 &quot;instance&quot;: &quot;A String&quot;, # Required. Name of the CloudSQL instance, in the format: ``` projects/{project}/locations/{location}/instances/{instance} ```
416 },
417 &quot;database&quot;: &quot;A String&quot;, # Required. Name of the PostgreSQL database.
418 &quot;ephemeral&quot;: True or False, # Output only. Ephemeral is true if this SQL Connect service is served from temporary in-memory emulation of Postgres. While Cloud SQL is being provisioned, the SQL Connect service provides the ephemeral service to help developers get started. Once the Cloud SQL is provisioned, SQL Connect service will transfer its data on a best-effort basis to the Cloud SQL instance. WARNING: Ephemeral data sources will expire after 24 hour. The data will be lost if they aren&#x27;t transferred to the Cloud SQL instance. WARNING: When `ephemeral=true`, mutations to the database are not guaranteed to be durably persisted, even if an OK status code is returned. All or parts of the data may be lost or reverted to earlier versions.
419 &quot;schema&quot;: &quot;A String&quot;, # Optional. User-configured PostgreSQL schema. Defaults to &quot;public&quot; if not specified.
420 &quot;schemaMigration&quot;: &quot;A String&quot;, # Optional. Configure how to perform automatic PostgreSQL schema migration before deploying the FDC schema. This is an additive-only operation.
421 &quot;schemaValidation&quot;: &quot;A String&quot;, # Optional. Configure how much PostgreSQL schema validation to perform against the live database before deploying the FDC schema.
422 &quot;unlinked&quot;: True or False, # No Postgres data source is linked. If set, don&#x27;t allow `database` and `schema_validation` to be configured.
423 },
424 },
425 ],
426 &quot;displayName&quot;: &quot;A String&quot;, # Optional. Mutable human-readable name. 63 character limit.
427 &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)
428 &quot;labels&quot;: { # Optional. Labels as key value pairs.
429 &quot;a_key&quot;: &quot;A String&quot;,
430 },
431 &quot;name&quot;: &quot;A String&quot;, # Identifier. The relative resource name of the schema, in the format: ``` projects/{project}/locations/{location}/services/{service}/schemas/{schema} ``` Right now, the only supported schema is &quot;main&quot;.
432 &quot;reconciling&quot;: True or False, # Output only. A field that if true, indicates that the system is working to compile and deploy the schema.
433 &quot;source&quot;: { # Used to represent a set of source files. # Required. The source files that comprise the application schema.
434 &quot;files&quot;: [ # Required. The files that comprise the source set.
435 { # Individual files.
436 &quot;content&quot;: &quot;A String&quot;, # Required. The file&#x27;s textual content.
437 &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).
438 },
439 ],
440 },
441 &quot;uid&quot;: &quot;A String&quot;, # Output only. System-assigned, unique identifier.
442 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. [Output only] Update time stamp.
443 },
444 ],
445 }
446
447 x__xgafv: string, V1 error format.
448 Allowed values
449 1 - v1 error format
450 2 - v2 error format
451
452 Returns:
453 An object of the form:
454
455 { # Output for streaming generate query requests
456 &quot;part&quot;: { # Represents a chunk of content. # Required. The content from the current conversational turn.
457 &quot;codeChunk&quot;: { # A chunk of code. # Optional. A chunk of code.
458 &quot;code&quot;: &quot;A String&quot;, # Required. The code content string.
459 &quot;languageCode&quot;: &quot;A String&quot;, # Optional. Specifies the language if we expand support beyond GraphQL (e.g., SQL or JSON) The standard is BCP-47 language code.
460 },
461 &quot;textChunk&quot;: { # A chunk of conversational text. # Optional. A chunk of text.
462 &quot;text&quot;: &quot;A String&quot;, # Required. The text content string.
463 },
464 },
465 &quot;status&quot;: { # Represents the progress of the server side generation request. # Essential for providing responsive UI feedback (e.g., a spinner or &quot;Analyzing schema...&quot; step).
466 &quot;message&quot;: &quot;A String&quot;, # Output only. A message providing more details about the state.
467 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of generation.
468 },
469 }</pre>
470 </div>
471
472 <div class="method">
473 <code class="details" id="generateSchema">generateSchema(name, body=None, x__xgafv=None)</code>
474 <pre>Generates GraphQL schema based on a natural language prompt or data description. This allows users to scaffold new types and tables quickly. Streams results with real-time status and output chunks.
475
476 Args:
477 name: string, Required. The resource name of the service in which to generate the schema. Format: projects/{project}/locations/{location}/services/{service} (required)
478 body: object, The request body.
479 The object takes the form of:
480
481 { # Request message for GenerateSchema.
482 &quot;prompt&quot;: &quot;A String&quot;, # Required. The natural language description of the data model to generate. Example: &quot;A blog system with Users, Posts, and Comments. Users can have multiple posts.&quot;
483 }
484
485 x__xgafv: string, V1 error format.
486 Allowed values
487 1 - v1 error format
488 2 - v2 error format
489
490 Returns:
491 An object of the form:
492
493 { # Output for streaming generate schema requests
494 &quot;part&quot;: { # Represents a chunk of content. # The content from the current conversational turn.
495 &quot;codeChunk&quot;: { # A chunk of code. # Optional. A chunk of code.
496 &quot;code&quot;: &quot;A String&quot;, # Required. The code content string.
497 &quot;languageCode&quot;: &quot;A String&quot;, # Optional. Specifies the language if we expand support beyond GraphQL (e.g., SQL or JSON) The standard is BCP-47 language code.
498 },
499 &quot;textChunk&quot;: { # A chunk of conversational text. # Optional. A chunk of text.
500 &quot;text&quot;: &quot;A String&quot;, # Required. The text content string.
501 },
502 },
503 &quot;status&quot;: { # Represents the progress of the server side generation request. # Essential for providing responsive UI feedback (e.g., a spinner or &quot;Analyzing schema...&quot; step).
504 &quot;message&quot;: &quot;A String&quot;, # Output only. A message providing more details about the state.
505 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of generation.
506 },
507 }</pre>
508 </div>
509
510 <div class="method">
511 <code class="details" id="get">get(name, x__xgafv=None)</code>
512 <pre>Gets details of a single Service.
513
514 Args:
515 name: string, Required. The name of the service to retrieve, in the format: ``` projects/{project}/locations/{location}/services/{service} ``` (required)
516 x__xgafv: string, V1 error format.
517 Allowed values
518 1 - v1 error format
519 2 - v2 error format
520
521 Returns:
522 An object of the form:
523
524 { # A Firebase SQL Connect service.
525 &quot;annotations&quot;: { # Optional. Stores small amounts of arbitrary data.
526 &quot;a_key&quot;: &quot;A String&quot;,
527 },
528 &quot;createTime&quot;: &quot;A String&quot;, # Output only. [Output only] Create time stamp.
529 &quot;displayName&quot;: &quot;A String&quot;, # Optional. Mutable human-readable name. 63 character limit.
530 &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)
531 &quot;labels&quot;: { # Optional. Labels as key value pairs.
532 &quot;a_key&quot;: &quot;A String&quot;,
533 },
534 &quot;name&quot;: &quot;A String&quot;, # Identifier. The relative resource name of the Firebase SQL Connect service, in the format: ``` projects/{project}/locations/{location}/services/{service} ``` Note that the service ID is specific to Firebase SQL Connect and does not correspond to any of the instance IDs of the underlying data source connections.
535 &quot;reconciling&quot;: True or False, # Output only. A field that if true, indicates that the system is working update the service.
536 &quot;uid&quot;: &quot;A String&quot;, # Output only. System-assigned, unique identifier.
537 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. [Output only] Update time stamp.
538 }</pre>
539 </div>
540
541 <div class="method">
542 <code class="details" id="introspectGraphql">introspectGraphql(name, body=None, x__xgafv=None)</code>
543 <pre>Execute introspection query against the Firebase SQL Connect&#x27;s generated GraphQL schema. GraphQL introspection query provides metadata such as what tables the schema have, what queries and mutations can be performed on the schema, and so on. Read more at https://graphql.org/learn/introspection. IntrospectGraphql can read schema metadata but cannot read rows from Cloud SQL instance, which can be done via ExecuteGraphqlRead.
544
545 Args:
546 name: string, Required. The relative resource name of Firebase SQL Connect service, in the format: ``` projects/{project}/locations/{location}/services/{service} ``` (required)
547 body: object, The request body.
548 The object takes the form of:
549
550 { # The GraphQL request to Firebase SQL Connect. It strives to match the GraphQL over HTTP spec. https://github.com/graphql/graphql-over-http/blob/main/spec/GraphQLOverHTTP.md#post
551 &quot;extensions&quot;: { # GraphqlRequestExtensions contains additional information of `GraphqlRequest`. # Optional. Additional GraphQL request information.
552 &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.
553 &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}
554 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
555 },
556 &quot;includeDebugDetails&quot;: True or False, # Optional. If set, include debug details in GraphQL error extensions.
557 &quot;unauthenticated&quot;: True or False, # Evaluate the auth policy as an unauthenticated request. Can only be set to true.
558 },
559 },
560 &quot;operationName&quot;: &quot;A String&quot;, # Optional. The name of the GraphQL operation name. Required only if `query` contains multiple operations. See https://graphql.org/learn/queries/#operation-name.
561 &quot;query&quot;: &quot;A String&quot;, # Required. The GraphQL query document source.
562 &quot;variables&quot;: { # Optional. Values for GraphQL variables provided in this request.
563 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
564 },
565 }
566
567 x__xgafv: string, V1 error format.
568 Allowed values
569 1 - v1 error format
570 2 - v2 error format
571
572 Returns:
573 An object of the form:
574
575 { # 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
576 &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)
577 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
578 },
579 &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 .
580 { # 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.
581 &quot;extensions&quot;: { # GraphqlErrorExtensions contains additional information of `GraphqlError`. # Additional error information.
582 &quot;code&quot;: &quot;A String&quot;, # Maps to canonical gRPC codes. If not specified, it represents `Code.INTERNAL`.
583 &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`.
584 &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`.
585 &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.
586 &quot;workarounds&quot;: [ # Workarounds provide suggestions to address the compile errors or warnings.
587 { # Workaround provides suggestions to address errors and warnings.
588 &quot;description&quot;: &quot;A String&quot;, # Description of this workaround.
589 &quot;reason&quot;: &quot;A String&quot;, # Why would this workaround address the error and warning.
590 &quot;replace&quot;: &quot;A String&quot;, # A suggested code snippet to fix the error and warning.
591 },
592 ],
593 },
594 &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.
595 { # SourceLocation references a location in a GraphQL source.
596 &quot;column&quot;: 42, # Column number starting at 1.
597 &quot;line&quot;: 42, # Line number starting at 1.
598 },
599 ],
600 &quot;message&quot;: &quot;A String&quot;, # The detailed error message. The message should help developer understand the underlying problem without leaking internal data.
601 &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.
602 &quot;&quot;,
603 ],
604 },
605 ],
606 &quot;extensions&quot;: { # GraphqlResponseExtensions contains additional information of `GraphqlResponse` or `ExecuteQueryResponse`. # Additional response information. It conforms to https://spec.graphql.org/draft/#sec-Extensions .
607 &quot;dataConnect&quot;: [ # SQL Connect specific GraphQL extension, a list of paths and properties.
608 { # SQL Connect specific properties for a path under response.data.
609 &quot;entityId&quot;: &quot;A String&quot;, # A single Entity ID. Set if the path points to a single entity.
610 &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.
611 &quot;A String&quot;,
612 ],
613 &quot;maxAge&quot;: &quot;A String&quot;, # The server-suggested duration before data under path is considered stale.
614 &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 `[]`.
615 &quot;&quot;,
616 ],
617 },
618 ],
619 },
620 }</pre>
621 </div>
622
623 <div class="method">
624 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
625 <pre>Lists Services in a given project and location.
626
627 Args:
628 parent: string, Required. Value of parent. (required)
629 filter: string, Optional. Filtering results.
630 orderBy: string, Optional. Hint for how to order the results.
631 pageSize: integer, Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
632 pageToken: string, Optional. A page token, received from a previous `ListServices` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListServices` must match the call that provided the page token.
633 x__xgafv: string, V1 error format.
634 Allowed values
635 1 - v1 error format
636 2 - v2 error format
637
638 Returns:
639 An object of the form:
640
641 { # Message for response to listing Services.
642 &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.
643 &quot;services&quot;: [ # The list of Services.
644 { # A Firebase SQL Connect service.
645 &quot;annotations&quot;: { # Optional. Stores small amounts of arbitrary data.
646 &quot;a_key&quot;: &quot;A String&quot;,
647 },
648 &quot;createTime&quot;: &quot;A String&quot;, # Output only. [Output only] Create time stamp.
649 &quot;displayName&quot;: &quot;A String&quot;, # Optional. Mutable human-readable name. 63 character limit.
650 &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)
651 &quot;labels&quot;: { # Optional. Labels as key value pairs.
652 &quot;a_key&quot;: &quot;A String&quot;,
653 },
654 &quot;name&quot;: &quot;A String&quot;, # Identifier. The relative resource name of the Firebase SQL Connect service, in the format: ``` projects/{project}/locations/{location}/services/{service} ``` Note that the service ID is specific to Firebase SQL Connect and does not correspond to any of the instance IDs of the underlying data source connections.
655 &quot;reconciling&quot;: True or False, # Output only. A field that if true, indicates that the system is working update the service.
656 &quot;uid&quot;: &quot;A String&quot;, # Output only. System-assigned, unique identifier.
657 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. [Output only] Update time stamp.
658 },
659 ],
660 &quot;unreachable&quot;: [ # Locations that could not be reached.
661 &quot;A String&quot;,
662 ],
663 }</pre>
664 </div>
665
666 <div class="method">
667 <code class="details" id="list_next">list_next()</code>
668 <pre>Retrieves the next page of results.
669
670 Args:
671 previous_request: The request for the previous page. (required)
672 previous_response: The response from the request for the previous page. (required)
673
674 Returns:
675 A request object that you can call &#x27;execute()&#x27; on to request the next
676 page. Returns None if there are no more items in the collection.
677 </pre>
678 </div>
679
680 <div class="method">
681 <code class="details" id="patch">patch(name, allowMissing=None, body=None, requestId=None, updateMask=None, validateOnly=None, x__xgafv=None)</code>
682 <pre>Updates the parameters of a single Service.
683
684 Args:
685 name: string, Identifier. The relative resource name of the Firebase SQL Connect service, in the format: ``` projects/{project}/locations/{location}/services/{service} ``` Note that the service ID is specific to Firebase SQL Connect and does not correspond to any of the instance IDs of the underlying data source connections. (required)
686 body: object, The request body.
687 The object takes the form of:
688
689 { # A Firebase SQL Connect service.
690 &quot;annotations&quot;: { # Optional. Stores small amounts of arbitrary data.
691 &quot;a_key&quot;: &quot;A String&quot;,
692 },
693 &quot;createTime&quot;: &quot;A String&quot;, # Output only. [Output only] Create time stamp.
694 &quot;displayName&quot;: &quot;A String&quot;, # Optional. Mutable human-readable name. 63 character limit.
695 &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)
696 &quot;labels&quot;: { # Optional. Labels as key value pairs.
697 &quot;a_key&quot;: &quot;A String&quot;,
698 },
699 &quot;name&quot;: &quot;A String&quot;, # Identifier. The relative resource name of the Firebase SQL Connect service, in the format: ``` projects/{project}/locations/{location}/services/{service} ``` Note that the service ID is specific to Firebase SQL Connect and does not correspond to any of the instance IDs of the underlying data source connections.
700 &quot;reconciling&quot;: True or False, # Output only. A field that if true, indicates that the system is working update the service.
701 &quot;uid&quot;: &quot;A String&quot;, # Output only. System-assigned, unique identifier.
702 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. [Output only] Update time stamp.
703 }
704
705 allowMissing: boolean, Optional. If true and the Service is not found, a new Service will be created. In this case, `update_mask` is ignored.
706 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).
707 updateMask: string, Optional. Field mask is used to specify the fields to be overwritten in the Service 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.
708 validateOnly: boolean, Optional. If set, validate the request and preview the Service, but do not actually update it.
709 x__xgafv: string, V1 error format.
710 Allowed values
711 1 - v1 error format
712 2 - v2 error format
713
714 Returns:
715 An object of the form:
716
717 { # This resource represents a long-running operation that is the result of a network API call.
718 &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.
719 &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.
720 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
721 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
722 {
723 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
724 },
725 ],
726 &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.
727 },
728 &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.
729 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
730 },
731 &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}`.
732 &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`.
733 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
734 },
735 }</pre>
736 </div>
737
738 </body></html>