1{
2 "auth": {
3 "oauth2": {
4 "scopes": {
5 "https://www.googleapis.com/auth/cloud-platform": {
6 "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account."
7 }
8 }
9 }
10 },
11 "basePath": "",
12 "baseUrl": "https://connectors.googleapis.com/",
13 "batchPath": "batch",
14 "canonicalName": "Connectors",
15 "description": "Enables users to create and manage connections to Google Cloud services and third-party business applications using the Connectors interface.",
16 "discoveryVersion": "v1",
17 "documentationLink": "https://cloud.google.com/apigee/docs/api-platform/connectors/about-connectors",
18 "fullyEncodeReservedExpansion": true,
19 "icons": {
20 "x16": "http://www.google.com/images/icons/product/search-16.gif",
21 "x32": "http://www.google.com/images/icons/product/search-32.gif"
22 },
23 "id": "connectors:v2",
24 "kind": "discovery#restDescription",
25 "mtlsRootUrl": "https://connectors.mtls.googleapis.com/",
26 "name": "connectors",
27 "ownerDomain": "google.com",
28 "ownerName": "Google",
29 "parameters": {
30 "$.xgafv": {
31 "description": "V1 error format.",
32 "enum": [
33 "1",
34 "2"
35 ],
36 "enumDescriptions": [
37 "v1 error format",
38 "v2 error format"
39 ],
40 "location": "query",
41 "type": "string"
42 },
43 "access_token": {
44 "description": "OAuth access token.",
45 "location": "query",
46 "type": "string"
47 },
48 "alt": {
49 "default": "json",
50 "description": "Data format for response.",
51 "enum": [
52 "json",
53 "media",
54 "proto"
55 ],
56 "enumDescriptions": [
57 "Responses with Content-Type of application/json",
58 "Media download with context-dependent Content-Type",
59 "Responses with Content-Type of application/x-protobuf"
60 ],
61 "location": "query",
62 "type": "string"
63 },
64 "callback": {
65 "description": "JSONP",
66 "location": "query",
67 "type": "string"
68 },
69 "fields": {
70 "description": "Selector specifying which fields to include in a partial response.",
71 "location": "query",
72 "type": "string"
73 },
74 "key": {
75 "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
76 "location": "query",
77 "type": "string"
78 },
79 "oauth_token": {
80 "description": "OAuth 2.0 token for the current user.",
81 "location": "query",
82 "type": "string"
83 },
84 "prettyPrint": {
85 "default": "true",
86 "description": "Returns response with indentations and line breaks.",
87 "location": "query",
88 "type": "boolean"
89 },
90 "quotaUser": {
91 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
92 "location": "query",
93 "type": "string"
94 },
95 "uploadType": {
96 "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
97 "location": "query",
98 "type": "string"
99 },
100 "upload_protocol": {
101 "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
102 "location": "query",
103 "type": "string"
104 }
105 },
106 "protocol": "rest",
107 "resources": {
108 "projects": {
109 "resources": {
110 "locations": {
111 "resources": {
112 "connections": {
113 "methods": {
114 "checkReadiness": {
115 "description": "Reports readiness status of the connector. Similar logic to GetStatus but modified for kubernetes health check to understand.",
116 "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}:checkReadiness",
117 "httpMethod": "GET",
118 "id": "connectors.projects.locations.connections.checkReadiness",
119 "parameterOrder": [
120 "name"
121 ],
122 "parameters": {
123 "name": {
124 "location": "path",
125 "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$",
126 "required": true,
127 "type": "string"
128 }
129 },
130 "path": "v2/{+name}:checkReadiness",
131 "response": {
132 "$ref": "CheckReadinessResponse"
133 },
134 "scopes": [
135 "https://www.googleapis.com/auth/cloud-platform"
136 ]
137 },
138 "checkStatus": {
139 "description": "Reports the status of the connection. Note that when the connection is in a state that is not ACTIVE, the implementation of this RPC method must return a Status with the corresponding State instead of returning a gRPC status code that is not \"OK\", which indicates that ConnectionStatus itself, not the connection, failed.",
140 "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}:checkStatus",
141 "httpMethod": "GET",
142 "id": "connectors.projects.locations.connections.checkStatus",
143 "parameterOrder": [
144 "name"
145 ],
146 "parameters": {
147 "name": {
148 "location": "path",
149 "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$",
150 "required": true,
151 "type": "string"
152 }
153 },
154 "path": "v2/{+name}:checkStatus",
155 "response": {
156 "$ref": "CheckStatusResponse"
157 },
158 "scopes": [
159 "https://www.googleapis.com/auth/cloud-platform"
160 ]
161 },
162 "exchangeAuthCode": {
163 "description": "ExchangeAuthCode exchanges the OAuth authorization code (and other necessary data) for an access token (and associated credentials).",
164 "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}:exchangeAuthCode",
165 "httpMethod": "POST",
166 "id": "connectors.projects.locations.connections.exchangeAuthCode",
167 "parameterOrder": [
168 "name"
169 ],
170 "parameters": {
171 "name": {
172 "location": "path",
173 "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$",
174 "required": true,
175 "type": "string"
176 }
177 },
178 "path": "v2/{+name}:exchangeAuthCode",
179 "request": {
180 "$ref": "ExchangeAuthCodeRequest"
181 },
182 "response": {
183 "$ref": "ExchangeAuthCodeResponse"
184 },
185 "scopes": [
186 "https://www.googleapis.com/auth/cloud-platform"
187 ]
188 },
189 "executeSqlQuery": {
190 "description": "Executes a SQL statement specified in the body of the request. An example of this SQL statement in the case of Salesforce connector would be 'select * from Account a, Order o where a.Id = o.AccountId'.",
191 "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}:executeSqlQuery",
192 "httpMethod": "POST",
193 "id": "connectors.projects.locations.connections.executeSqlQuery",
194 "parameterOrder": [
195 "connection"
196 ],
197 "parameters": {
198 "connection": {
199 "description": "Required. Resource name of the Connection. Format: projects/{project}/locations/{location}/connections/{connection}",
200 "location": "path",
201 "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$",
202 "required": true,
203 "type": "string"
204 }
205 },
206 "path": "v2/{+connection}:executeSqlQuery",
207 "request": {
208 "$ref": "ExecuteSqlQueryRequest"
209 },
210 "response": {
211 "$ref": "ExecuteSqlQueryResponse"
212 },
213 "scopes": [
214 "https://www.googleapis.com/auth/cloud-platform"
215 ]
216 },
217 "refreshAccessToken": {
218 "description": "RefreshAccessToken exchanges the OAuth refresh token (and other necessary data) for a new access token (and new associated credentials).",
219 "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}:refreshAccessToken",
220 "httpMethod": "POST",
221 "id": "connectors.projects.locations.connections.refreshAccessToken",
222 "parameterOrder": [
223 "name"
224 ],
225 "parameters": {
226 "name": {
227 "location": "path",
228 "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$",
229 "required": true,
230 "type": "string"
231 }
232 },
233 "path": "v2/{+name}:refreshAccessToken",
234 "request": {
235 "$ref": "RefreshAccessTokenRequest"
236 },
237 "response": {
238 "$ref": "RefreshAccessTokenResponse"
239 },
240 "scopes": [
241 "https://www.googleapis.com/auth/cloud-platform"
242 ]
243 }
244 },
245 "resources": {
246 "actions": {
247 "methods": {
248 "execute": {
249 "description": "Executes an action with the name specified in the request. The input parameters for executing the action are passed through the body of the ExecuteAction request.",
250 "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/actions/{actionsId}:execute",
251 "httpMethod": "POST",
252 "id": "connectors.projects.locations.connections.actions.execute",
253 "parameterOrder": [
254 "name"
255 ],
256 "parameters": {
257 "name": {
258 "description": "Required. Resource name of the Action. Format: projects/{project}/locations/{location}/connections/{connection}/actions/{action}",
259 "location": "path",
260 "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/actions/[^/]+$",
261 "required": true,
262 "type": "string"
263 }
264 },
265 "path": "v2/{+name}:execute",
266 "request": {
267 "$ref": "ExecuteActionRequest"
268 },
269 "response": {
270 "$ref": "ExecuteActionResponse"
271 },
272 "scopes": [
273 "https://www.googleapis.com/auth/cloud-platform"
274 ]
275 },
276 "get": {
277 "description": "Gets the schema of the given action.",
278 "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/actions/{actionsId}",
279 "httpMethod": "GET",
280 "id": "connectors.projects.locations.connections.actions.get",
281 "parameterOrder": [
282 "name"
283 ],
284 "parameters": {
285 "name": {
286 "description": "Required. Resource name of the Action. Format: projects/{project}/locations/{location}/connections/{connection}/actions/{action}",
287 "location": "path",
288 "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/actions/[^/]+$",
289 "required": true,
290 "type": "string"
291 }
292 },
293 "path": "v2/{+name}",
294 "response": {
295 "$ref": "Action"
296 },
297 "scopes": [
298 "https://www.googleapis.com/auth/cloud-platform"
299 ]
300 },
301 "list": {
302 "description": "Gets the schema of all the actions supported by the connector.",
303 "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/actions",
304 "httpMethod": "GET",
305 "id": "connectors.projects.locations.connections.actions.list",
306 "parameterOrder": [
307 "parent"
308 ],
309 "parameters": {
310 "pageSize": {
311 "description": "Number of Actions to return. Defaults to 25.",
312 "format": "int32",
313 "location": "query",
314 "type": "integer"
315 },
316 "pageToken": {
317 "description": "Page token, return from a previous ListActions call, that can be used retrieve the next page of content. If unspecified, the request returns the first page of actions.",
318 "location": "query",
319 "type": "string"
320 },
321 "parent": {
322 "description": "Required. Parent resource name of the Action. Format: projects/{project}/locations/{location}/connections/{connection}",
323 "location": "path",
324 "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$",
325 "required": true,
326 "type": "string"
327 },
328 "view": {
329 "description": "Specifies which fields of the Action are returned in the response.",
330 "enum": [
331 "ACTION_VIEW_UNSPECIFIED",
332 "ACTION_VIEW_BASIC",
333 "ACTION_VIEW_FULL"
334 ],
335 "enumDescriptions": [
336 "VIEW_UNSPECIFIED. The unset value Defaults to FULL View.",
337 "Return only action names.",
338 "Return actions with schema."
339 ],
340 "location": "query",
341 "type": "string"
342 }
343 },
344 "path": "v2/{+parent}/actions",
345 "response": {
346 "$ref": "ListActionsResponse"
347 },
348 "scopes": [
349 "https://www.googleapis.com/auth/cloud-platform"
350 ]
351 }
352 }
353 },
354 "entityTypes": {
355 "methods": {
356 "get": {
357 "description": "Gets metadata of given entity type",
358 "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/entityTypes/{entityTypesId}",
359 "httpMethod": "GET",
360 "id": "connectors.projects.locations.connections.entityTypes.get",
361 "parameterOrder": [
362 "name"
363 ],
364 "parameters": {
365 "name": {
366 "description": "Required. Resource name of the Entity Type. Format: projects/{project}/locations/{location}/connections/{connection}/entityTypes/{entityType}",
367 "location": "path",
368 "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/entityTypes/[^/]+$",
369 "required": true,
370 "type": "string"
371 }
372 },
373 "path": "v2/{+name}",
374 "response": {
375 "$ref": "EntityType"
376 },
377 "scopes": [
378 "https://www.googleapis.com/auth/cloud-platform"
379 ]
380 },
381 "list": {
382 "description": "Lists metadata related to all entity types present in the external system.",
383 "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/entityTypes",
384 "httpMethod": "GET",
385 "id": "connectors.projects.locations.connections.entityTypes.list",
386 "parameterOrder": [
387 "parent"
388 ],
389 "parameters": {
390 "pageSize": {
391 "description": "Number of entity types to return. Defaults to 25.",
392 "format": "int32",
393 "location": "query",
394 "type": "integer"
395 },
396 "pageToken": {
397 "description": "Page token, return from a previous ListEntityTypes call, that can be used retrieve the next page of content. If unspecified, the request returns the first page of entity types.",
398 "location": "query",
399 "type": "string"
400 },
401 "parent": {
402 "description": "Required. Resource name of the Entity Type. Format: projects/{project}/locations/{location}/connections/{connection}",
403 "location": "path",
404 "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$",
405 "required": true,
406 "type": "string"
407 },
408 "view": {
409 "description": "Specifies which fields of the Entity Type are returned in the response.",
410 "enum": [
411 "ENTITY_TYPE_VIEW_UNSPECIFIED",
412 "ENTITY_TYPE_VIEW_BASIC",
413 "ENTITY_TYPE_VIEW_FULL"
414 ],
415 "enumDescriptions": [
416 "VIEW_UNSPECIFIED. The unset value. Defaults to FULL View.",
417 "Return only entity type names.",
418 "Return entity types with schema"
419 ],
420 "location": "query",
421 "type": "string"
422 }
423 },
424 "path": "v2/{+parent}/entityTypes",
425 "response": {
426 "$ref": "ListEntityTypesResponse"
427 },
428 "scopes": [
429 "https://www.googleapis.com/auth/cloud-platform"
430 ]
431 }
432 },
433 "resources": {
434 "entities": {
435 "methods": {
436 "create": {
437 "description": "Creates a new entity row of the specified entity type in the external system. The field values for creating the row are contained in the body of the request. The response message contains a `Entity` message object returned as a response by the external system.",
438 "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/entityTypes/{entityTypesId}/entities",
439 "httpMethod": "POST",
440 "id": "connectors.projects.locations.connections.entityTypes.entities.create",
441 "parameterOrder": [
442 "parent"
443 ],
444 "parameters": {
445 "parent": {
446 "description": "Required. Resource name of the Entity Type. Format: projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type}",
447 "location": "path",
448 "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/entityTypes/[^/]+$",
449 "required": true,
450 "type": "string"
451 }
452 },
453 "path": "v2/{+parent}/entities",
454 "request": {
455 "$ref": "Entity"
456 },
457 "response": {
458 "$ref": "Entity"
459 },
460 "scopes": [
461 "https://www.googleapis.com/auth/cloud-platform"
462 ]
463 },
464 "delete": {
465 "description": "Deletes an existing entity row matching the entity type and entity id specified in the request.",
466 "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/entityTypes/{entityTypesId}/entities/{entitiesId}",
467 "httpMethod": "DELETE",
468 "id": "connectors.projects.locations.connections.entityTypes.entities.delete",
469 "parameterOrder": [
470 "name"
471 ],
472 "parameters": {
473 "name": {
474 "description": "Required. Resource name of the Entity Type. Format: projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type}/entities/{id}",
475 "location": "path",
476 "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/entityTypes/[^/]+/entities/[^/]+$",
477 "required": true,
478 "type": "string"
479 }
480 },
481 "path": "v2/{+name}",
482 "response": {
483 "$ref": "Empty"
484 },
485 "scopes": [
486 "https://www.googleapis.com/auth/cloud-platform"
487 ]
488 },
489 "deleteEntitiesWithConditions": {
490 "description": "Deletes entities based on conditions specified in the request and not on entity id.",
491 "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/entityTypes/{entityTypesId}/entities:deleteEntitiesWithConditions",
492 "httpMethod": "POST",
493 "id": "connectors.projects.locations.connections.entityTypes.entities.deleteEntitiesWithConditions",
494 "parameterOrder": [
495 "entityType"
496 ],
497 "parameters": {
498 "conditions": {
499 "description": "Required. Conditions to be used when deleting entities. From a proto standpoint, There are no restrictions on what can be passed using this field. The connector documentation should have information about what format of filters/conditions are supported. Note: If this conditions field is left empty, an exception is thrown. We don't want to consider 'empty conditions' to be a match-all case. Connector developers can determine and document what a match-all case constraint would be.",
500 "location": "query",
501 "type": "string"
502 },
503 "entityType": {
504 "description": "Required. Resource name of the Entity Type. Format: projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type}",
505 "location": "path",
506 "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/entityTypes/[^/]+$",
507 "required": true,
508 "type": "string"
509 }
510 },
511 "path": "v2/{+entityType}/entities:deleteEntitiesWithConditions",
512 "response": {
513 "$ref": "Empty"
514 },
515 "scopes": [
516 "https://www.googleapis.com/auth/cloud-platform"
517 ]
518 },
519 "get": {
520 "description": "Gets a single entity row matching the entity type and entity id specified in the request.",
521 "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/entityTypes/{entityTypesId}/entities/{entitiesId}",
522 "httpMethod": "GET",
523 "id": "connectors.projects.locations.connections.entityTypes.entities.get",
524 "parameterOrder": [
525 "name"
526 ],
527 "parameters": {
528 "name": {
529 "description": "Required. Resource name of the Entity Type. Format: projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type}/entities/{id}",
530 "location": "path",
531 "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/entityTypes/[^/]+/entities/[^/]+$",
532 "required": true,
533 "type": "string"
534 }
535 },
536 "path": "v2/{+name}",
537 "response": {
538 "$ref": "Entity"
539 },
540 "scopes": [
541 "https://www.googleapis.com/auth/cloud-platform"
542 ]
543 },
544 "list": {
545 "description": "Lists entity rows of a particular entity type contained in the request. Note: 1. Currently, only max of one 'sort_by' column is supported. 2. If no 'sort_by' column is provided, the primary key of the table is used. If zero or more than one primary key is available, we default to the unpaginated list entities logic which only returns the first page. 3. The values of the 'sort_by' columns must uniquely identify an entity row, otherwise undefined behaviors may be observed during pagination. 4. Since transactions are not supported, any updates, inserts or deletes during pagination can lead to stale data being returned or other unexpected behaviors.",
546 "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/entityTypes/{entityTypesId}/entities",
547 "httpMethod": "GET",
548 "id": "connectors.projects.locations.connections.entityTypes.entities.list",
549 "parameterOrder": [
550 "parent"
551 ],
552 "parameters": {
553 "conditions": {
554 "description": "Conditions to be used when listing entities. From a proto standpoint, There are no restrictions on what can be passed using this field. The connector documentation should have information about what format of filters/conditions are supported.",
555 "location": "query",
556 "type": "string"
557 },
558 "pageSize": {
559 "description": "Number of entity rows to return. Defaults page size = 25. Max page size = 200.",
560 "format": "int32",
561 "location": "query",
562 "type": "integer"
563 },
564 "pageToken": {
565 "description": "Page token value if available from a previous request.",
566 "location": "query",
567 "type": "string"
568 },
569 "parent": {
570 "description": "Required. Resource name of the Entity Type. Format: projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type}",
571 "location": "path",
572 "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/entityTypes/[^/]+$",
573 "required": true,
574 "type": "string"
575 },
576 "sortBy": {
577 "description": "List of 'sort_by' columns to use when returning the results.",
578 "location": "query",
579 "repeated": true,
580 "type": "string"
581 }
582 },
583 "path": "v2/{+parent}/entities",
584 "response": {
585 "$ref": "ListEntitiesResponse"
586 },
587 "scopes": [
588 "https://www.googleapis.com/auth/cloud-platform"
589 ]
590 },
591 "patch": {
592 "description": "Updates an existing entity row matching the entity type and entity id specified in the request. The fields in the entity row that need to be modified are contained in the body of the request. All unspecified fields are left unchanged. The response message contains a `Entity` message object returned as a response by the external system.",
593 "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/entityTypes/{entityTypesId}/entities/{entitiesId}",
594 "httpMethod": "PATCH",
595 "id": "connectors.projects.locations.connections.entityTypes.entities.patch",
596 "parameterOrder": [
597 "name"
598 ],
599 "parameters": {
600 "name": {
601 "description": "Output only. Resource name of the Entity. Format: projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type}/entities/{id}",
602 "location": "path",
603 "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/entityTypes/[^/]+/entities/[^/]+$",
604 "required": true,
605 "type": "string"
606 }
607 },
608 "path": "v2/{+name}",
609 "request": {
610 "$ref": "Entity"
611 },
612 "response": {
613 "$ref": "Entity"
614 },
615 "scopes": [
616 "https://www.googleapis.com/auth/cloud-platform"
617 ]
618 },
619 "updateEntitiesWithConditions": {
620 "description": "Updates entities based on conditions specified in the request and not on entity id.",
621 "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/entityTypes/{entityTypesId}/entities:updateEntitiesWithConditions",
622 "httpMethod": "POST",
623 "id": "connectors.projects.locations.connections.entityTypes.entities.updateEntitiesWithConditions",
624 "parameterOrder": [
625 "entityType"
626 ],
627 "parameters": {
628 "conditions": {
629 "description": "Required. Conditions to be used when updating entities. From a proto standpoint, There are no restrictions on what can be passed using this field. The connector documentation should have information about what format of filters/conditions are supported. Note: If this conditions field is left empty, an exception is thrown. We don't want to consider 'empty conditions' to be a match-all case. Connector developers can determine and document what a match-all case constraint would be.",
630 "location": "query",
631 "type": "string"
632 },
633 "entityType": {
634 "description": "Required. Resource name of the Entity Type. Format: projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type}",
635 "location": "path",
636 "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/entityTypes/[^/]+$",
637 "required": true,
638 "type": "string"
639 }
640 },
641 "path": "v2/{+entityType}/entities:updateEntitiesWithConditions",
642 "request": {
643 "$ref": "Entity"
644 },
645 "response": {
646 "$ref": "UpdateEntitiesWithConditionsResponse"
647 },
648 "scopes": [
649 "https://www.googleapis.com/auth/cloud-platform"
650 ]
651 }
652 }
653 }
654 }
655 }
656 }
657 }
658 }
659 }
660 }
661 }
662 },
663 "revision": "20240415",
664 "rootUrl": "https://connectors.googleapis.com/",
665 "schemas": {
666 "AccessCredentials": {
667 "description": "AccessCredentials includes the OAuth access token, and the other fields returned along with it.",
668 "id": "AccessCredentials",
669 "properties": {
670 "accessToken": {
671 "description": "OAuth access token.",
672 "type": "string"
673 },
674 "expiresIn": {
675 "description": "Duration till the access token expires.",
676 "format": "google-duration",
677 "type": "string"
678 },
679 "refreshToken": {
680 "description": "OAuth refresh token.",
681 "type": "string"
682 }
683 },
684 "type": "object"
685 },
686 "Action": {
687 "description": "Action message contains metadata information about a single action present in the external system.",
688 "id": "Action",
689 "properties": {
690 "description": {
691 "description": "Brief Description of action",
692 "type": "string"
693 },
694 "displayName": {
695 "description": "Display Name of action to be shown on client side",
696 "type": "string"
697 },
698 "inputJsonSchema": {
699 "$ref": "JsonSchema",
700 "description": "JsonSchema representation of this actions's input schema"
701 },
702 "inputParameters": {
703 "description": "List containing input parameter metadata.",
704 "items": {
705 "$ref": "InputParameter"
706 },
707 "type": "array"
708 },
709 "name": {
710 "description": "Name of the action.",
711 "type": "string"
712 },
713 "resultJsonSchema": {
714 "$ref": "JsonSchema",
715 "description": "JsonSchema representation of this actions's result schema"
716 },
717 "resultMetadata": {
718 "description": "List containing the metadata of result fields.",
719 "items": {
720 "$ref": "ResultMetadata"
721 },
722 "type": "array"
723 }
724 },
725 "type": "object"
726 },
727 "CheckReadinessResponse": {
728 "description": "Response containing status of the connector for readiness prober.",
729 "id": "CheckReadinessResponse",
730 "properties": {
731 "status": {
732 "type": "string"
733 }
734 },
735 "type": "object"
736 },
737 "CheckStatusResponse": {
738 "description": "The status of the connector.",
739 "id": "CheckStatusResponse",
740 "properties": {
741 "description": {
742 "description": "When the connector is not in ACTIVE state, the description must be populated to specify the reason why it's not in ACTIVE state.",
743 "type": "string"
744 },
745 "state": {
746 "description": "State of the connector.",
747 "enum": [
748 "STATE_UNSPECIFIED",
749 "ACTIVE",
750 "ERROR",
751 "AUTH_ERROR"
752 ],
753 "enumDescriptions": [
754 "State unspecified.",
755 "The connector is active and ready to process runtime requests. This can also mean that from the connector's perspective, the connector is not in an error state and should be able to process runtime requests successfully.",
756 "The connector is in an error state and cannot process runtime requests. An example reason would be that the connection container has some network issues that prevent outbound requests from being sent.",
757 "This is a more specific error state that the developers can opt to use when the connector is facing auth-related errors caused by auth configuration not present, invalid auth credentials, etc."
758 ],
759 "type": "string"
760 }
761 },
762 "type": "object"
763 },
764 "DailyCycle": {
765 "description": "Time window specified for daily operations.",
766 "id": "DailyCycle",
767 "properties": {
768 "duration": {
769 "description": "Output only. Duration of the time window, set by service producer.",
770 "format": "google-duration",
771 "type": "string"
772 },
773 "startTime": {
774 "$ref": "TimeOfDay",
775 "description": "Time within the day to start the operations."
776 }
777 },
778 "type": "object"
779 },
780 "Date": {
781 "description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp",
782 "id": "Date",
783 "properties": {
784 "day": {
785 "description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.",
786 "format": "int32",
787 "type": "integer"
788 },
789 "month": {
790 "description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.",
791 "format": "int32",
792 "type": "integer"
793 },
794 "year": {
795 "description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.",
796 "format": "int32",
797 "type": "integer"
798 }
799 },
800 "type": "object"
801 },
802 "DenyMaintenancePeriod": {
803 "description": "DenyMaintenancePeriod definition. Maintenance is forbidden within the deny period. The start_date must be less than the end_date.",
804 "id": "DenyMaintenancePeriod",
805 "properties": {
806 "endDate": {
807 "$ref": "Date",
808 "description": "Deny period end date. This can be: * A full date, with non-zero year, month and day values. * A month and day value, with a zero year. Allows recurring deny periods each year. Date matching this period will have to be before the end."
809 },
810 "startDate": {
811 "$ref": "Date",
812 "description": "Deny period start date. This can be: * A full date, with non-zero year, month and day values. * A month and day value, with a zero year. Allows recurring deny periods each year. Date matching this period will have to be the same or after the start."
813 },
814 "time": {
815 "$ref": "TimeOfDay",
816 "description": "Time in UTC when the Blackout period starts on start_date and ends on end_date. This can be: * Full time. * All zeros for 00:00:00 UTC"
817 }
818 },
819 "type": "object"
820 },
821 "Empty": {
822 "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }",
823 "id": "Empty",
824 "properties": {},
825 "type": "object"
826 },
827 "Entity": {
828 "description": "'Entity row'/ 'Entity' refers to a single row of an entity type.",
829 "id": "Entity",
830 "properties": {
831 "fields": {
832 "additionalProperties": {
833 "type": "any"
834 },
835 "description": "Fields of the entity. The key is name of the field and the value contains the applicable `google.protobuf.Value` entry for this field.",
836 "type": "object"
837 },
838 "name": {
839 "description": "Output only. Resource name of the Entity. Format: projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type}/entities/{id}",
840 "readOnly": true,
841 "type": "string"
842 }
843 },
844 "type": "object"
845 },
846 "EntityType": {
847 "description": "EntityType message contains metadata information about a single entity type present in the external system.",
848 "id": "EntityType",
849 "properties": {
850 "fields": {
851 "description": "List containing metadata information about each field of the entity type.",
852 "items": {
853 "$ref": "Field"
854 },
855 "type": "array"
856 },
857 "jsonSchema": {
858 "$ref": "JsonSchema",
859 "description": "JsonSchema representation of this entity's schema"
860 },
861 "name": {
862 "description": "The name of the entity type.",
863 "type": "string"
864 },
865 "operations": {
866 "items": {
867 "enum": [
868 "OPERATION_UNSPECIFIED",
869 "LIST",
870 "GET",
871 "CREATE",
872 "UPDATE",
873 "DELETE"
874 ],
875 "enumDescriptions": [
876 "Operation unspecified.",
877 "This operation means entity type supports LIST method.",
878 "This operation means entity type supports GET method.",
879 "This operation means entity type supports CREATE method.",
880 "This operation means entity type supports UPDATE method.",
881 "This operation means entity type supports DELETE method."
882 ],
883 "type": "string"
884 },
885 "type": "array"
886 }
887 },
888 "type": "object"
889 },
890 "ExchangeAuthCodeRequest": {
891 "description": "ExchangeAuthCodeRequest currently includes no fields.",
892 "id": "ExchangeAuthCodeRequest",
893 "properties": {},
894 "type": "object"
895 },
896 "ExchangeAuthCodeResponse": {
897 "description": "ExchangeAuthCodeResponse includes the returned access token and its associated credentials.",
898 "id": "ExchangeAuthCodeResponse",
899 "properties": {
900 "accessCredentials": {
901 "$ref": "AccessCredentials"
902 }
903 },
904 "type": "object"
905 },
906 "ExecuteActionRequest": {
907 "description": "Request message for ActionService.ExecuteAction",
908 "id": "ExecuteActionRequest",
909 "properties": {
910 "parameters": {
911 "additionalProperties": {
912 "description": "Properties of the object.",
913 "type": "any"
914 },
915 "description": "Parameters for executing the action. The parameters can be key/value pairs or nested structs.",
916 "type": "object"
917 }
918 },
919 "type": "object"
920 },
921 "ExecuteActionResponse": {
922 "description": "Response message for ActionService.ExecuteAction",
923 "id": "ExecuteActionResponse",
924 "properties": {
925 "results": {
926 "description": "In the case of successful invocation of the specified action, the results Struct contains values based on the response of the action invoked. 1. If the action execution produces any entities as a result, they are returned as an array of Structs with the 'key' being the field name and the 'value' being the value of that field in each result row. { 'results': [{'key': 'value'}, ...] }",
927 "items": {
928 "additionalProperties": {
929 "description": "Properties of the object.",
930 "type": "any"
931 },
932 "type": "object"
933 },
934 "type": "array"
935 }
936 },
937 "type": "object"
938 },
939 "ExecuteSqlQueryRequest": {
940 "description": "An execute sql query request containing the query and the connection to execute it on.",
941 "id": "ExecuteSqlQueryRequest",
942 "properties": {
943 "query": {
944 "$ref": "Query",
945 "description": "Required. SQL statement passed by clients like Integration Platform, the query is passed as-is to the driver used for interfacing with external systems."
946 }
947 },
948 "type": "object"
949 },
950 "ExecuteSqlQueryResponse": {
951 "description": "A response returned by the connection after executing the sql query.",
952 "id": "ExecuteSqlQueryResponse",
953 "properties": {
954 "results": {
955 "description": "In the case of successful execution of the query the response contains results returned by the external system. For example, the result rows of the query are contained in the 'results' Struct list - \"results\": [ { \"field1\": \"val1\", \"field2\": \"val2\",.. },.. ] Each Struct row can contain fields any type of like nested Structs or lists.",
956 "items": {
957 "additionalProperties": {
958 "description": "Properties of the object.",
959 "type": "any"
960 },
961 "type": "object"
962 },
963 "type": "array"
964 }
965 },
966 "type": "object"
967 },
968 "Field": {
969 "description": "Message contains EntityType's Field metadata.",
970 "id": "Field",
971 "properties": {
972 "additionalDetails": {
973 "additionalProperties": {
974 "description": "Properties of the object.",
975 "type": "any"
976 },
977 "description": "The following map contains fields that are not explicitly mentioned above,this give connectors the flexibility to add new metadata fields.",
978 "type": "object"
979 },
980 "dataType": {
981 "description": "The data type of the Field.",
982 "enum": [
983 "DATA_TYPE_UNSPECIFIED",
984 "INT",
985 "SMALLINT",
986 "DOUBLE",
987 "DATE",
988 "DATETIME",
989 "TIME",
990 "STRING",
991 "LONG",
992 "BOOLEAN",
993 "DECIMAL",
994 "UUID",
995 "BLOB",
996 "BIT",
997 "TINYINT",
998 "INTEGER",
999 "BIGINT",
1000 "FLOAT",
1001 "REAL",
1002 "NUMERIC",
1003 "CHAR",
1004 "VARCHAR",
1005 "LONGVARCHAR",
1006 "TIMESTAMP",
1007 "NCHAR",
1008 "NVARCHAR",
1009 "LONGNVARCHAR",
1010 "NULL",
1011 "OTHER",
1012 "JAVA_OBJECT",
1013 "DISTINCT",
1014 "STRUCT",
1015 "ARRAY",
1016 "CLOB",
1017 "REF",
1018 "DATALINK",
1019 "ROWID",
1020 "BINARY",
1021 "VARBINARY",
1022 "LONGVARBINARY",
1023 "NCLOB",
1024 "SQLXML",
1025 "REF_CURSOR",
1026 "TIME_WITH_TIMEZONE",
1027 "TIMESTAMP_WITH_TIMEZONE"
1028 ],
1029 "enumDeprecated": [
1030 false,
1031 true,
1032 false,
1033 false,
1034 false,
1035 true,
1036 false,
1037 true,
1038 true,
1039 false,
1040 false,
1041 true,
1042 false,
1043 false,
1044 false,
1045 false,
1046 false,
1047 false,
1048 false,
1049 false,
1050 false,
1051 false,
1052 false,
1053 false,
1054 false,
1055 false,
1056 false,
1057 false,
1058 false,
1059 false,
1060 false,
1061 false,
1062 false,
1063 false,
1064 false,
1065 false,
1066 false,
1067 false,
1068 false,
1069 false,
1070 false,
1071 false,
1072 false,
1073 false,
1074 false
1075 ],
1076 "enumDescriptions": [
1077 "Datatype unspecified.",
1078 "Deprecated Int type, use INTEGER type instead.",
1079 "Small int type.",
1080 "Double type.",
1081 "Date type.",
1082 "Deprecated Datetime type.",
1083 "Time type.",
1084 "Deprecated string type, use VARCHAR type instead.",
1085 "Deprecated Long type, use BIGINT type instead.",
1086 "Boolean type.",
1087 "Decimal type.",
1088 "Deprecated UUID type, use VARCHAR instead.",
1089 "Blob type.",
1090 "Bit type.",
1091 "Tiny int type.",
1092 "Integer type.",
1093 "Big int type.",
1094 "Float type.",
1095 "Real type.",
1096 "Numeric type.",
1097 "Char type.",
1098 "Varchar type.",
1099 "Long varchar type.",
1100 "Timestamp type.",
1101 "Nchar type.",
1102 "Nvarchar type.",
1103 "Long Nvarchar type.",
1104 "Null type.",
1105 "Other type.",
1106 "Java object type.",
1107 "Distinct type keyword.",
1108 "Struct type.",
1109 "Array type.",
1110 "Clob type.",
1111 "Ref type.",
1112 "Datalink type.",
1113 "Row ID type.",
1114 "Binary type.",
1115 "Varbinary type.",
1116 "Long Varbinary type.",
1117 "Nclob type.",
1118 "SQLXML type.",
1119 "Ref_cursor type.",
1120 "Time with timezone type.",
1121 "Timestamp with timezone type."
1122 ],
1123 "type": "string"
1124 },
1125 "defaultValue": {
1126 "description": "The following field specifies the default value of the Field provided by the external system if a value is not provided.",
1127 "type": "any"
1128 },
1129 "description": {
1130 "description": "A brief description of the Field.",
1131 "type": "string"
1132 },
1133 "jsonSchema": {
1134 "$ref": "JsonSchema",
1135 "description": "JsonSchema of the field, applicable only if field is of type `STRUCT`"
1136 },
1137 "key": {
1138 "description": "The following boolean field specifies if the current Field acts as a primary key or id if the parent is of type entity.",
1139 "type": "boolean"
1140 },
1141 "name": {
1142 "description": "Name of the Field.",
1143 "type": "string"
1144 },
1145 "nullable": {
1146 "description": "Specifies whether a null value is allowed.",
1147 "type": "boolean"
1148 },
1149 "reference": {
1150 "$ref": "Reference",
1151 "description": "Reference captures the association between two different entity types. Value links to the reference of another entity type."
1152 }
1153 },
1154 "type": "object"
1155 },
1156 "InputParameter": {
1157 "description": "Input Parameter message contains metadata about the parameters required for executing an Action.",
1158 "id": "InputParameter",
1159 "properties": {
1160 "additionalDetails": {
1161 "additionalProperties": {
1162 "description": "Properties of the object.",
1163 "type": "any"
1164 },
1165 "description": "The following map contains fields that are not explicitly mentioned above,this give connectors the flexibility to add new metadata fields.",
1166 "type": "object"
1167 },
1168 "dataType": {
1169 "description": "The data type of the Parameter",
1170 "enum": [
1171 "DATA_TYPE_UNSPECIFIED",
1172 "INT",
1173 "SMALLINT",
1174 "DOUBLE",
1175 "DATE",
1176 "DATETIME",
1177 "TIME",
1178 "STRING",
1179 "LONG",
1180 "BOOLEAN",
1181 "DECIMAL",
1182 "UUID",
1183 "BLOB",
1184 "BIT",
1185 "TINYINT",
1186 "INTEGER",
1187 "BIGINT",
1188 "FLOAT",
1189 "REAL",
1190 "NUMERIC",
1191 "CHAR",
1192 "VARCHAR",
1193 "LONGVARCHAR",
1194 "TIMESTAMP",
1195 "NCHAR",
1196 "NVARCHAR",
1197 "LONGNVARCHAR",
1198 "NULL",
1199 "OTHER",
1200 "JAVA_OBJECT",
1201 "DISTINCT",
1202 "STRUCT",
1203 "ARRAY",
1204 "CLOB",
1205 "REF",
1206 "DATALINK",
1207 "ROWID",
1208 "BINARY",
1209 "VARBINARY",
1210 "LONGVARBINARY",
1211 "NCLOB",
1212 "SQLXML",
1213 "REF_CURSOR",
1214 "TIME_WITH_TIMEZONE",
1215 "TIMESTAMP_WITH_TIMEZONE"
1216 ],
1217 "enumDeprecated": [
1218 false,
1219 true,
1220 false,
1221 false,
1222 false,
1223 true,
1224 false,
1225 true,
1226 true,
1227 false,
1228 false,
1229 true,
1230 false,
1231 false,
1232 false,
1233 false,
1234 false,
1235 false,
1236 false,
1237 false,
1238 false,
1239 false,
1240 false,
1241 false,
1242 false,
1243 false,
1244 false,
1245 false,
1246 false,
1247 false,
1248 false,
1249 false,
1250 false,
1251 false,
1252 false,
1253 false,
1254 false,
1255 false,
1256 false,
1257 false,
1258 false,
1259 false,
1260 false,
1261 false,
1262 false
1263 ],
1264 "enumDescriptions": [
1265 "Datatype unspecified.",
1266 "Deprecated Int type, use INTEGER type instead.",
1267 "Small int type.",
1268 "Double type.",
1269 "Date type.",
1270 "Deprecated Datetime type.",
1271 "Time type.",
1272 "Deprecated string type, use VARCHAR type instead.",
1273 "Deprecated Long type, use BIGINT type instead.",
1274 "Boolean type.",
1275 "Decimal type.",
1276 "Deprecated UUID type, use VARCHAR instead.",
1277 "Blob type.",
1278 "Bit type.",
1279 "Tiny int type.",
1280 "Integer type.",
1281 "Big int type.",
1282 "Float type.",
1283 "Real type.",
1284 "Numeric type.",
1285 "Char type.",
1286 "Varchar type.",
1287 "Long varchar type.",
1288 "Timestamp type.",
1289 "Nchar type.",
1290 "Nvarchar type.",
1291 "Long Nvarchar type.",
1292 "Null type.",
1293 "Other type.",
1294 "Java object type.",
1295 "Distinct type keyword.",
1296 "Struct type.",
1297 "Array type.",
1298 "Clob type.",
1299 "Ref type.",
1300 "Datalink type.",
1301 "Row ID type.",
1302 "Binary type.",
1303 "Varbinary type.",
1304 "Long Varbinary type.",
1305 "Nclob type.",
1306 "SQLXML type.",
1307 "Ref_cursor type.",
1308 "Time with timezone type.",
1309 "Timestamp with timezone type."
1310 ],
1311 "type": "string"
1312 },
1313 "defaultValue": {
1314 "description": "The following field specifies the default value of the Parameter provided by the external system if a value is not provided.",
1315 "type": "any"
1316 },
1317 "description": {
1318 "description": "A brief description of the Parameter.",
1319 "type": "string"
1320 },
1321 "jsonSchema": {
1322 "$ref": "JsonSchema",
1323 "description": "JsonSchema of the parameter, applicable only if parameter is of type `STRUCT`"
1324 },
1325 "name": {
1326 "description": "Name of the Parameter.",
1327 "type": "string"
1328 },
1329 "nullable": {
1330 "description": "Specifies whether a null value is allowed.",
1331 "type": "boolean"
1332 }
1333 },
1334 "type": "object"
1335 },
1336 "Instance": {
1337 "description": "Instance represents the interface for SLM services to actuate the state of control plane resources. Example Instance in JSON, where consumer-project-number=123456, producer-project-id=cloud-sql: ```json Instance: { \"name\": \"projects/123456/locations/us-east1/instances/prod-instance\", \"create_time\": { \"seconds\": 1526406431, }, \"labels\": { \"env\": \"prod\", \"foo\": \"bar\" }, \"state\": READY, \"software_versions\": { \"software_update\": \"cloud-sql-09-28-2018\", }, \"maintenance_policy_names\": { \"UpdatePolicy\": \"projects/123456/locations/us-east1/maintenancePolicies/prod-update-policy\", } \"tenant_project_id\": \"cloud-sql-test-tenant\", \"producer_metadata\": { \"cloud-sql-tier\": \"basic\", \"cloud-sql-instance-size\": \"1G\", }, \"provisioned_resources\": [ { \"resource-type\": \"compute-instance\", \"resource-url\": \"https://www.googleapis.com/compute/v1/projects/cloud-sql/zones/us-east1-b/instances/vm-1\", } ], \"maintenance_schedules\": { \"csa_rollout\": { \"start_time\": { \"seconds\": 1526406431, }, \"end_time\": { \"seconds\": 1535406431, }, }, \"ncsa_rollout\": { \"start_time\": { \"seconds\": 1526406431, }, \"end_time\": { \"seconds\": 1535406431, }, } }, \"consumer_defined_name\": \"my-sql-instance1\", } ``` LINT.IfChange",
1338 "id": "Instance",
1339 "properties": {
1340 "consumerDefinedName": {
1341 "description": "consumer_defined_name is the name of the instance set by the service consumers. Generally this is different from the `name` field which reperesents the system-assigned id of the instance which the service consumers do not recognize. This is a required field for tenants onboarding to Maintenance Window notifications (go/slm-rollout-maintenance-policies#prerequisites).",
1342 "type": "string"
1343 },
1344 "createTime": {
1345 "description": "Output only. Timestamp when the resource was created.",
1346 "format": "google-datetime",
1347 "readOnly": true,
1348 "type": "string"
1349 },
1350 "instanceType": {
1351 "description": "Optional. The instance_type of this instance of format: projects/{project_number}/locations/{location_id}/instanceTypes/{instance_type_id}. Instance Type represents a high-level tier or SKU of the service that this instance belong to. When enabled(eg: Maintenance Rollout), Rollout uses 'instance_type' along with 'software_versions' to determine whether instance needs an update or not.",
1352 "type": "string"
1353 },
1354 "labels": {
1355 "additionalProperties": {
1356 "type": "string"
1357 },
1358 "description": "Optional. Resource labels to represent user provided metadata. Each label is a key-value pair, where both the key and the value are arbitrary strings provided by the user.",
1359 "type": "object"
1360 },
1361 "maintenancePolicyNames": {
1362 "additionalProperties": {
1363 "type": "string"
1364 },
1365 "description": "Optional. The MaintenancePolicies that have been attached to the instance. The key must be of the type name of the oneof policy name defined in MaintenancePolicy, and the referenced policy must define the same policy type. For details, please refer to go/mr-user-guide. Should not be set if maintenance_settings.maintenance_policies is set.",
1366 "type": "object"
1367 },
1368 "maintenanceSchedules": {
1369 "additionalProperties": {
1370 "$ref": "MaintenanceSchedule"
1371 },
1372 "description": "The MaintenanceSchedule contains the scheduling information of published maintenance schedule with same key as software_versions.",
1373 "type": "object"
1374 },
1375 "maintenanceSettings": {
1376 "$ref": "MaintenanceSettings",
1377 "description": "Optional. The MaintenanceSettings associated with instance."
1378 },
1379 "name": {
1380 "description": "Unique name of the resource. It uses the form: `projects/{project_number}/locations/{location_id}/instances/{instance_id}` Note: This name is passed, stored and logged across the rollout system. So use of consumer project_id or any other consumer PII in the name is strongly discouraged for wipeout (go/wipeout) compliance. See go/elysium/project_ids#storage-guidance for more details.",
1381 "type": "string"
1382 },
1383 "notificationParameters": {
1384 "additionalProperties": {
1385 "$ref": "NotificationParameter"
1386 },
1387 "description": "Optional. notification_parameter are information that service producers may like to include that is not relevant to Rollout. This parameter will only be passed to Gamma and Cloud Logging for notification/logging purpose.",
1388 "type": "object"
1389 },
1390 "producerMetadata": {
1391 "additionalProperties": {
1392 "type": "string"
1393 },
1394 "description": "Output only. Custom string attributes used primarily to expose producer-specific information in monitoring dashboards. See go/get-instance-metadata.",
1395 "readOnly": true,
1396 "type": "object"
1397 },
1398 "provisionedResources": {
1399 "description": "Output only. The list of data plane resources provisioned for this instance, e.g. compute VMs. See go/get-instance-metadata.",
1400 "items": {
1401 "$ref": "ProvisionedResource"
1402 },
1403 "readOnly": true,
1404 "type": "array"
1405 },
1406 "slmInstanceTemplate": {
1407 "description": "Link to the SLM instance template. Only populated when updating SLM instances via SSA's Actuation service adaptor. Service producers with custom control plane (e.g. Cloud SQL) doesn't need to populate this field. Instead they should use software_versions.",
1408 "type": "string"
1409 },
1410 "sloMetadata": {
1411 "$ref": "SloMetadata",
1412 "description": "Output only. SLO metadata for instance classification in the Standardized dataplane SLO platform. See go/cloud-ssa-standard-slo for feature description.",
1413 "readOnly": true
1414 },
1415 "softwareVersions": {
1416 "additionalProperties": {
1417 "type": "string"
1418 },
1419 "description": "Software versions that are used to deploy this instance. This can be mutated by rollout services.",
1420 "type": "object"
1421 },
1422 "state": {
1423 "description": "Output only. Current lifecycle state of the resource (e.g. if it's being created or ready to use).",
1424 "enum": [
1425 "STATE_UNSPECIFIED",
1426 "CREATING",
1427 "READY",
1428 "UPDATING",
1429 "REPAIRING",
1430 "DELETING",
1431 "ERROR"
1432 ],
1433 "enumDescriptions": [
1434 "Unspecified state.",
1435 "Instance is being created.",
1436 "Instance has been created and is ready to use.",
1437 "Instance is being updated.",
1438 "Instance is unheathy and under repair.",
1439 "Instance is being deleted.",
1440 "Instance encountered an error and is in indeterministic state."
1441 ],
1442 "readOnly": true,
1443 "type": "string"
1444 },
1445 "tenantProjectId": {
1446 "description": "Output only. ID of the associated GCP tenant project. See go/get-instance-metadata.",
1447 "readOnly": true,
1448 "type": "string"
1449 },
1450 "updateTime": {
1451 "description": "Output only. Timestamp when the resource was last modified.",
1452 "format": "google-datetime",
1453 "readOnly": true,
1454 "type": "string"
1455 }
1456 },
1457 "type": "object"
1458 },
1459 "JsonSchema": {
1460 "description": "JsonSchema representation of schema metadata",
1461 "id": "JsonSchema",
1462 "properties": {
1463 "additionalDetails": {
1464 "additionalProperties": {
1465 "description": "Properties of the object.",
1466 "type": "any"
1467 },
1468 "description": "Additional details apart from standard json schema fields, this gives flexibility to store metadata about the schema",
1469 "type": "object"
1470 },
1471 "default": {
1472 "description": "The default value of the field or object described by this schema.",
1473 "type": "any"
1474 },
1475 "description": {
1476 "description": "A description of this schema.",
1477 "type": "string"
1478 },
1479 "enum": {
1480 "description": "Possible values for an enumeration. This works in conjunction with `type` to represent types with a fixed set of legal values",
1481 "items": {
1482 "type": "any"
1483 },
1484 "type": "array"
1485 },
1486 "format": {
1487 "description": "Format of the value as per https://json-schema.org/understanding-json-schema/reference/string.html#format",
1488 "type": "string"
1489 },
1490 "items": {
1491 "$ref": "JsonSchema",
1492 "description": "Schema that applies to array values, applicable only if this is of type `array`."
1493 },
1494 "jdbcType": {
1495 "description": "JDBC datatype of the field.",
1496 "enum": [
1497 "DATA_TYPE_UNSPECIFIED",
1498 "INT",
1499 "SMALLINT",
1500 "DOUBLE",
1501 "DATE",
1502 "DATETIME",
1503 "TIME",
1504 "STRING",
1505 "LONG",
1506 "BOOLEAN",
1507 "DECIMAL",
1508 "UUID",
1509 "BLOB",
1510 "BIT",
1511 "TINYINT",
1512 "INTEGER",
1513 "BIGINT",
1514 "FLOAT",
1515 "REAL",
1516 "NUMERIC",
1517 "CHAR",
1518 "VARCHAR",
1519 "LONGVARCHAR",
1520 "TIMESTAMP",
1521 "NCHAR",
1522 "NVARCHAR",
1523 "LONGNVARCHAR",
1524 "NULL",
1525 "OTHER",
1526 "JAVA_OBJECT",
1527 "DISTINCT",
1528 "STRUCT",
1529 "ARRAY",
1530 "CLOB",
1531 "REF",
1532 "DATALINK",
1533 "ROWID",
1534 "BINARY",
1535 "VARBINARY",
1536 "LONGVARBINARY",
1537 "NCLOB",
1538 "SQLXML",
1539 "REF_CURSOR",
1540 "TIME_WITH_TIMEZONE",
1541 "TIMESTAMP_WITH_TIMEZONE"
1542 ],
1543 "enumDeprecated": [
1544 false,
1545 true,
1546 false,
1547 false,
1548 false,
1549 true,
1550 false,
1551 true,
1552 true,
1553 false,
1554 false,
1555 true,
1556 false,
1557 false,
1558 false,
1559 false,
1560 false,
1561 false,
1562 false,
1563 false,
1564 false,
1565 false,
1566 false,
1567 false,
1568 false,
1569 false,
1570 false,
1571 false,
1572 false,
1573 false,
1574 false,
1575 false,
1576 false,
1577 false,
1578 false,
1579 false,
1580 false,
1581 false,
1582 false,
1583 false,
1584 false,
1585 false,
1586 false,
1587 false,
1588 false
1589 ],
1590 "enumDescriptions": [
1591 "Datatype unspecified.",
1592 "Deprecated Int type, use INTEGER type instead.",
1593 "Small int type.",
1594 "Double type.",
1595 "Date type.",
1596 "Deprecated Datetime type.",
1597 "Time type.",
1598 "Deprecated string type, use VARCHAR type instead.",
1599 "Deprecated Long type, use BIGINT type instead.",
1600 "Boolean type.",
1601 "Decimal type.",
1602 "Deprecated UUID type, use VARCHAR instead.",
1603 "Blob type.",
1604 "Bit type.",
1605 "Tiny int type.",
1606 "Integer type.",
1607 "Big int type.",
1608 "Float type.",
1609 "Real type.",
1610 "Numeric type.",
1611 "Char type.",
1612 "Varchar type.",
1613 "Long varchar type.",
1614 "Timestamp type.",
1615 "Nchar type.",
1616 "Nvarchar type.",
1617 "Long Nvarchar type.",
1618 "Null type.",
1619 "Other type.",
1620 "Java object type.",
1621 "Distinct type keyword.",
1622 "Struct type.",
1623 "Array type.",
1624 "Clob type.",
1625 "Ref type.",
1626 "Datalink type.",
1627 "Row ID type.",
1628 "Binary type.",
1629 "Varbinary type.",
1630 "Long Varbinary type.",
1631 "Nclob type.",
1632 "SQLXML type.",
1633 "Ref_cursor type.",
1634 "Time with timezone type.",
1635 "Timestamp with timezone type."
1636 ],
1637 "type": "string"
1638 },
1639 "properties": {
1640 "additionalProperties": {
1641 "$ref": "JsonSchema"
1642 },
1643 "description": "The child schemas, applicable only if this is of type `object`. The key is the name of the property and the value is the json schema that describes that property",
1644 "type": "object"
1645 },
1646 "required": {
1647 "description": "Whether this property is required.",
1648 "items": {
1649 "type": "string"
1650 },
1651 "type": "array"
1652 },
1653 "type": {
1654 "description": "JSON Schema Validation: A Vocabulary for Structural Validation of JSON",
1655 "items": {
1656 "type": "string"
1657 },
1658 "type": "array"
1659 }
1660 },
1661 "type": "object"
1662 },
1663 "ListActionsResponse": {
1664 "description": "Response message for ActionService.ListActions",
1665 "id": "ListActionsResponse",
1666 "properties": {
1667 "actions": {
1668 "description": "List of action metadata.",
1669 "items": {
1670 "$ref": "Action"
1671 },
1672 "type": "array"
1673 },
1674 "nextPageToken": {
1675 "description": "Next page token if more actions available.",
1676 "type": "string"
1677 },
1678 "unsupportedActionNames": {
1679 "description": "List of actions which contain unsupported Datatypes. Check datatype.proto for more information.",
1680 "items": {
1681 "type": "string"
1682 },
1683 "type": "array"
1684 }
1685 },
1686 "type": "object"
1687 },
1688 "ListEntitiesResponse": {
1689 "description": "Response message for EntityService.ListEntities",
1690 "id": "ListEntitiesResponse",
1691 "properties": {
1692 "entities": {
1693 "description": "List containing entity rows.",
1694 "items": {
1695 "$ref": "Entity"
1696 },
1697 "type": "array"
1698 },
1699 "nextPageToken": {
1700 "description": "Next page token if more records are available.",
1701 "type": "string"
1702 }
1703 },
1704 "type": "object"
1705 },
1706 "ListEntityTypesResponse": {
1707 "description": "Response message for EntityService.ListEntityTypes",
1708 "id": "ListEntityTypesResponse",
1709 "properties": {
1710 "nextPageToken": {
1711 "description": "Next page token if more entity types available.",
1712 "type": "string"
1713 },
1714 "types": {
1715 "description": "List of metadata related to all entity types.",
1716 "items": {
1717 "$ref": "EntityType"
1718 },
1719 "type": "array"
1720 },
1721 "unsupportedTypeNames": {
1722 "description": "List of entity type names which contain unsupported Datatypes. Check datatype.proto for more information.",
1723 "items": {
1724 "type": "string"
1725 },
1726 "type": "array"
1727 }
1728 },
1729 "type": "object"
1730 },
1731 "MaintenancePolicy": {
1732 "description": "Defines policies to service maintenance events.",
1733 "id": "MaintenancePolicy",
1734 "properties": {
1735 "createTime": {
1736 "description": "Output only. The time when the resource was created.",
1737 "format": "google-datetime",
1738 "type": "string"
1739 },
1740 "description": {
1741 "description": "Optional. Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512.",
1742 "type": "string"
1743 },
1744 "labels": {
1745 "additionalProperties": {
1746 "type": "string"
1747 },
1748 "description": "Optional. Resource labels to represent user provided metadata. Each label is a key-value pair, where both the key and the value are arbitrary strings provided by the user.",
1749 "type": "object"
1750 },
1751 "name": {
1752 "description": "Required. MaintenancePolicy name using the form: `projects/{project_id}/locations/{location_id}/maintenancePolicies/{maintenance_policy_id}` where {project_id} refers to a GCP consumer project ID, {location_id} refers to a GCP region/zone, {maintenance_policy_id} must be 1-63 characters long and match the regular expression `[a-z0-9]([-a-z0-9]*[a-z0-9])?`.",
1753 "type": "string"
1754 },
1755 "state": {
1756 "description": "Optional. The state of the policy.",
1757 "enum": [
1758 "STATE_UNSPECIFIED",
1759 "READY",
1760 "DELETING"
1761 ],
1762 "enumDescriptions": [
1763 "Unspecified state.",
1764 "Resource is ready to be used.",
1765 "Resource is being deleted. It can no longer be attached to instances."
1766 ],
1767 "type": "string"
1768 },
1769 "updatePolicy": {
1770 "$ref": "UpdatePolicy",
1771 "description": "Maintenance policy applicable to instance update."
1772 },
1773 "updateTime": {
1774 "description": "Output only. The time when the resource was updated.",
1775 "format": "google-datetime",
1776 "type": "string"
1777 }
1778 },
1779 "type": "object"
1780 },
1781 "MaintenanceSchedule": {
1782 "description": "Maintenance schedule which is exposed to customer and potentially end user, indicating published upcoming future maintenance schedule",
1783 "id": "MaintenanceSchedule",
1784 "properties": {
1785 "canReschedule": {
1786 "deprecated": true,
1787 "description": "This field is deprecated, and will be always set to true since reschedule can happen multiple times now. This field should not be removed until all service producers remove this for their customers.",
1788 "type": "boolean"
1789 },
1790 "endTime": {
1791 "description": "The scheduled end time for the maintenance.",
1792 "format": "google-datetime",
1793 "type": "string"
1794 },
1795 "rolloutManagementPolicy": {
1796 "description": "The rollout management policy this maintenance schedule is associated with. When doing reschedule update request, the reschedule should be against this given policy.",
1797 "type": "string"
1798 },
1799 "scheduleDeadlineTime": {
1800 "description": "schedule_deadline_time is the time deadline any schedule start time cannot go beyond, including reschedule. It's normally the initial schedule start time plus maintenance window length (1 day or 1 week). Maintenance cannot be scheduled to start beyond this deadline.",
1801 "format": "google-datetime",
1802 "type": "string"
1803 },
1804 "startTime": {
1805 "description": "The scheduled start time for the maintenance.",
1806 "format": "google-datetime",
1807 "type": "string"
1808 }
1809 },
1810 "type": "object"
1811 },
1812 "MaintenanceSettings": {
1813 "description": "Maintenance settings associated with instance. Allows service producers and end users to assign settings that controls maintenance on this instance.",
1814 "id": "MaintenanceSettings",
1815 "properties": {
1816 "exclude": {
1817 "description": "Optional. Exclude instance from maintenance. When true, rollout service will not attempt maintenance on the instance. Rollout service will include the instance in reported rollout progress as not attempted.",
1818 "type": "boolean"
1819 },
1820 "isRollback": {
1821 "description": "Optional. If the update call is triggered from rollback, set the value as true.",
1822 "type": "boolean"
1823 },
1824 "maintenancePolicies": {
1825 "additionalProperties": {
1826 "$ref": "MaintenancePolicy"
1827 },
1828 "description": "Optional. The MaintenancePolicies that have been attached to the instance. The key must be of the type name of the oneof policy name defined in MaintenancePolicy, and the embedded policy must define the same policy type. For details, please refer to go/mr-user-guide. Should not be set if maintenance_policy_names is set. If only the name is needed, then only populate MaintenancePolicy.name.",
1829 "type": "object"
1830 }
1831 },
1832 "type": "object"
1833 },
1834 "MaintenanceWindow": {
1835 "description": "MaintenanceWindow definition.",
1836 "id": "MaintenanceWindow",
1837 "properties": {
1838 "dailyCycle": {
1839 "$ref": "DailyCycle",
1840 "description": "Daily cycle."
1841 },
1842 "weeklyCycle": {
1843 "$ref": "WeeklyCycle",
1844 "description": "Weekly cycle."
1845 }
1846 },
1847 "type": "object"
1848 },
1849 "NodeSloMetadata": {
1850 "description": "Node information for custom per-node SLO implementations. SSA does not support per-node SLO, but producers can populate per-node information in SloMetadata for custom precomputations. SSA Eligibility Exporter will emit per-node metric based on this information.",
1851 "id": "NodeSloMetadata",
1852 "properties": {
1853 "location": {
1854 "description": "The location of the node, if different from instance location.",
1855 "type": "string"
1856 },
1857 "nodeId": {
1858 "description": "The id of the node. This should be equal to SaasInstanceNode.node_id.",
1859 "type": "string"
1860 },
1861 "perSliEligibility": {
1862 "$ref": "PerSliSloEligibility",
1863 "description": "If present, this will override eligibility for the node coming from instance or exclusions for specified SLIs."
1864 }
1865 },
1866 "type": "object"
1867 },
1868 "NotificationParameter": {
1869 "description": "Contains notification related data.",
1870 "id": "NotificationParameter",
1871 "properties": {
1872 "values": {
1873 "description": "Optional. Array of string values. e.g. instance's replica information.",
1874 "items": {
1875 "type": "string"
1876 },
1877 "type": "array"
1878 }
1879 },
1880 "type": "object"
1881 },
1882 "PerSliSloEligibility": {
1883 "description": "PerSliSloEligibility is a mapping from an SLI name to eligibility.",
1884 "id": "PerSliSloEligibility",
1885 "properties": {
1886 "eligibilities": {
1887 "additionalProperties": {
1888 "$ref": "SloEligibility"
1889 },
1890 "description": "An entry in the eligibilities map specifies an eligibility for a particular SLI for the given instance. The SLI key in the name must be a valid SLI name specified in the Eligibility Exporter binary flags otherwise an error will be emitted by Eligibility Exporter and the oncaller will be alerted. If an SLI has been defined in the binary flags but the eligibilities map does not contain it, the corresponding SLI time series will not be emitted by the Eligibility Exporter. This ensures a smooth rollout and compatibility between the data produced by different versions of the Eligibility Exporters. If eligibilities map contains a key for an SLI which has not been declared in the binary flags, there will be an error message emitted in the Eligibility Exporter log and the metric for the SLI in question will not be emitted.",
1891 "type": "object"
1892 }
1893 },
1894 "type": "object"
1895 },
1896 "ProvisionedResource": {
1897 "description": "Describes provisioned dataplane resources.",
1898 "id": "ProvisionedResource",
1899 "properties": {
1900 "resourceType": {
1901 "description": "Type of the resource. This can be either a GCP resource or a custom one (e.g. another cloud provider's VM). For GCP compute resources use singular form of the names listed in GCP compute API documentation (https://cloud.google.com/compute/docs/reference/rest/v1/), prefixed with 'compute-', for example: 'compute-instance', 'compute-disk', 'compute-autoscaler'.",
1902 "type": "string"
1903 },
1904 "resourceUrl": {
1905 "description": "URL identifying the resource, e.g. \"https://www.googleapis.com/compute/v1/projects/...)\".",
1906 "type": "string"
1907 }
1908 },
1909 "type": "object"
1910 },
1911 "Query": {
1912 "description": "A wrapper around the SQL query statement. This is needed so that the JSON representation of ExecuteSqlQueryRequest has the following format: `{\"query\":\"select *\"}`.",
1913 "id": "Query",
1914 "properties": {
1915 "maxRows": {
1916 "description": "Sets the limit for the maximum number of rows returned after the query execution.",
1917 "format": "int64",
1918 "type": "string"
1919 },
1920 "query": {
1921 "description": "Required. Sql query to execute.",
1922 "type": "string"
1923 },
1924 "queryParameters": {
1925 "description": "In the struct, the value corresponds to the value of query parameter and date type corresponds to the date type of the query parameter.",
1926 "items": {
1927 "$ref": "QueryParameter"
1928 },
1929 "type": "array"
1930 },
1931 "timeout": {
1932 "description": "Sets the number of seconds the driver will wait for a query to execute.",
1933 "format": "int64",
1934 "type": "string"
1935 }
1936 },
1937 "type": "object"
1938 },
1939 "QueryParameter": {
1940 "description": "Query parameter definition",
1941 "id": "QueryParameter",
1942 "properties": {
1943 "dataType": {
1944 "enum": [
1945 "DATA_TYPE_UNSPECIFIED",
1946 "INT",
1947 "SMALLINT",
1948 "DOUBLE",
1949 "DATE",
1950 "DATETIME",
1951 "TIME",
1952 "STRING",
1953 "LONG",
1954 "BOOLEAN",
1955 "DECIMAL",
1956 "UUID",
1957 "BLOB",
1958 "BIT",
1959 "TINYINT",
1960 "INTEGER",
1961 "BIGINT",
1962 "FLOAT",
1963 "REAL",
1964 "NUMERIC",
1965 "CHAR",
1966 "VARCHAR",
1967 "LONGVARCHAR",
1968 "TIMESTAMP",
1969 "NCHAR",
1970 "NVARCHAR",
1971 "LONGNVARCHAR",
1972 "NULL",
1973 "OTHER",
1974 "JAVA_OBJECT",
1975 "DISTINCT",
1976 "STRUCT",
1977 "ARRAY",
1978 "CLOB",
1979 "REF",
1980 "DATALINK",
1981 "ROWID",
1982 "BINARY",
1983 "VARBINARY",
1984 "LONGVARBINARY",
1985 "NCLOB",
1986 "SQLXML",
1987 "REF_CURSOR",
1988 "TIME_WITH_TIMEZONE",
1989 "TIMESTAMP_WITH_TIMEZONE"
1990 ],
1991 "enumDeprecated": [
1992 false,
1993 true,
1994 false,
1995 false,
1996 false,
1997 true,
1998 false,
1999 true,
2000 true,
2001 false,
2002 false,
2003 true,
2004 false,
2005 false,
2006 false,
2007 false,
2008 false,
2009 false,
2010 false,
2011 false,
2012 false,
2013 false,
2014 false,
2015 false,
2016 false,
2017 false,
2018 false,
2019 false,
2020 false,
2021 false,
2022 false,
2023 false,
2024 false,
2025 false,
2026 false,
2027 false,
2028 false,
2029 false,
2030 false,
2031 false,
2032 false,
2033 false,
2034 false,
2035 false,
2036 false
2037 ],
2038 "enumDescriptions": [
2039 "Datatype unspecified.",
2040 "Deprecated Int type, use INTEGER type instead.",
2041 "Small int type.",
2042 "Double type.",
2043 "Date type.",
2044 "Deprecated Datetime type.",
2045 "Time type.",
2046 "Deprecated string type, use VARCHAR type instead.",
2047 "Deprecated Long type, use BIGINT type instead.",
2048 "Boolean type.",
2049 "Decimal type.",
2050 "Deprecated UUID type, use VARCHAR instead.",
2051 "Blob type.",
2052 "Bit type.",
2053 "Tiny int type.",
2054 "Integer type.",
2055 "Big int type.",
2056 "Float type.",
2057 "Real type.",
2058 "Numeric type.",
2059 "Char type.",
2060 "Varchar type.",
2061 "Long varchar type.",
2062 "Timestamp type.",
2063 "Nchar type.",
2064 "Nvarchar type.",
2065 "Long Nvarchar type.",
2066 "Null type.",
2067 "Other type.",
2068 "Java object type.",
2069 "Distinct type keyword.",
2070 "Struct type.",
2071 "Array type.",
2072 "Clob type.",
2073 "Ref type.",
2074 "Datalink type.",
2075 "Row ID type.",
2076 "Binary type.",
2077 "Varbinary type.",
2078 "Long Varbinary type.",
2079 "Nclob type.",
2080 "SQLXML type.",
2081 "Ref_cursor type.",
2082 "Time with timezone type.",
2083 "Timestamp with timezone type."
2084 ],
2085 "type": "string"
2086 },
2087 "value": {
2088 "type": "any"
2089 }
2090 },
2091 "type": "object"
2092 },
2093 "Reference": {
2094 "id": "Reference",
2095 "properties": {
2096 "name": {
2097 "description": "Name of the reference field.",
2098 "type": "string"
2099 },
2100 "type": {
2101 "description": "Name of reference entity type.",
2102 "type": "string"
2103 }
2104 },
2105 "type": "object"
2106 },
2107 "RefreshAccessTokenRequest": {
2108 "description": "RefreshAccessTokenRequest currently includes no fields.",
2109 "id": "RefreshAccessTokenRequest",
2110 "properties": {},
2111 "type": "object"
2112 },
2113 "RefreshAccessTokenResponse": {
2114 "description": "RefreshAccessTokenResponse includes the returned access token and its associated credentials.",
2115 "id": "RefreshAccessTokenResponse",
2116 "properties": {
2117 "accessCredentials": {
2118 "$ref": "AccessCredentials"
2119 }
2120 },
2121 "type": "object"
2122 },
2123 "ResultMetadata": {
2124 "description": "Result Metadata message contains metadata about the result returned after executing an Action.",
2125 "id": "ResultMetadata",
2126 "properties": {
2127 "dataType": {
2128 "description": "The data type of the metadata field",
2129 "enum": [
2130 "DATA_TYPE_UNSPECIFIED",
2131 "INT",
2132 "SMALLINT",
2133 "DOUBLE",
2134 "DATE",
2135 "DATETIME",
2136 "TIME",
2137 "STRING",
2138 "LONG",
2139 "BOOLEAN",
2140 "DECIMAL",
2141 "UUID",
2142 "BLOB",
2143 "BIT",
2144 "TINYINT",
2145 "INTEGER",
2146 "BIGINT",
2147 "FLOAT",
2148 "REAL",
2149 "NUMERIC",
2150 "CHAR",
2151 "VARCHAR",
2152 "LONGVARCHAR",
2153 "TIMESTAMP",
2154 "NCHAR",
2155 "NVARCHAR",
2156 "LONGNVARCHAR",
2157 "NULL",
2158 "OTHER",
2159 "JAVA_OBJECT",
2160 "DISTINCT",
2161 "STRUCT",
2162 "ARRAY",
2163 "CLOB",
2164 "REF",
2165 "DATALINK",
2166 "ROWID",
2167 "BINARY",
2168 "VARBINARY",
2169 "LONGVARBINARY",
2170 "NCLOB",
2171 "SQLXML",
2172 "REF_CURSOR",
2173 "TIME_WITH_TIMEZONE",
2174 "TIMESTAMP_WITH_TIMEZONE"
2175 ],
2176 "enumDeprecated": [
2177 false,
2178 true,
2179 false,
2180 false,
2181 false,
2182 true,
2183 false,
2184 true,
2185 true,
2186 false,
2187 false,
2188 true,
2189 false,
2190 false,
2191 false,
2192 false,
2193 false,
2194 false,
2195 false,
2196 false,
2197 false,
2198 false,
2199 false,
2200 false,
2201 false,
2202 false,
2203 false,
2204 false,
2205 false,
2206 false,
2207 false,
2208 false,
2209 false,
2210 false,
2211 false,
2212 false,
2213 false,
2214 false,
2215 false,
2216 false,
2217 false,
2218 false,
2219 false,
2220 false,
2221 false
2222 ],
2223 "enumDescriptions": [
2224 "Datatype unspecified.",
2225 "Deprecated Int type, use INTEGER type instead.",
2226 "Small int type.",
2227 "Double type.",
2228 "Date type.",
2229 "Deprecated Datetime type.",
2230 "Time type.",
2231 "Deprecated string type, use VARCHAR type instead.",
2232 "Deprecated Long type, use BIGINT type instead.",
2233 "Boolean type.",
2234 "Decimal type.",
2235 "Deprecated UUID type, use VARCHAR instead.",
2236 "Blob type.",
2237 "Bit type.",
2238 "Tiny int type.",
2239 "Integer type.",
2240 "Big int type.",
2241 "Float type.",
2242 "Real type.",
2243 "Numeric type.",
2244 "Char type.",
2245 "Varchar type.",
2246 "Long varchar type.",
2247 "Timestamp type.",
2248 "Nchar type.",
2249 "Nvarchar type.",
2250 "Long Nvarchar type.",
2251 "Null type.",
2252 "Other type.",
2253 "Java object type.",
2254 "Distinct type keyword.",
2255 "Struct type.",
2256 "Array type.",
2257 "Clob type.",
2258 "Ref type.",
2259 "Datalink type.",
2260 "Row ID type.",
2261 "Binary type.",
2262 "Varbinary type.",
2263 "Long Varbinary type.",
2264 "Nclob type.",
2265 "SQLXML type.",
2266 "Ref_cursor type.",
2267 "Time with timezone type.",
2268 "Timestamp with timezone type."
2269 ],
2270 "type": "string"
2271 },
2272 "description": {
2273 "description": "A brief description of the metadata field.",
2274 "type": "string"
2275 },
2276 "jsonSchema": {
2277 "$ref": "JsonSchema",
2278 "description": "JsonSchema of the result, applicable only if parameter is of type `STRUCT`"
2279 },
2280 "name": {
2281 "description": "Name of the metadata field.",
2282 "type": "string"
2283 }
2284 },
2285 "type": "object"
2286 },
2287 "Schedule": {
2288 "description": "Configure the schedule.",
2289 "id": "Schedule",
2290 "properties": {
2291 "day": {
2292 "description": "Allows to define schedule that runs specified day of the week.",
2293 "enum": [
2294 "DAY_OF_WEEK_UNSPECIFIED",
2295 "MONDAY",
2296 "TUESDAY",
2297 "WEDNESDAY",
2298 "THURSDAY",
2299 "FRIDAY",
2300 "SATURDAY",
2301 "SUNDAY"
2302 ],
2303 "enumDescriptions": [
2304 "The day of the week is unspecified.",
2305 "Monday",
2306 "Tuesday",
2307 "Wednesday",
2308 "Thursday",
2309 "Friday",
2310 "Saturday",
2311 "Sunday"
2312 ],
2313 "type": "string"
2314 },
2315 "duration": {
2316 "description": "Output only. Duration of the time window, set by service producer.",
2317 "format": "google-duration",
2318 "type": "string"
2319 },
2320 "startTime": {
2321 "$ref": "TimeOfDay",
2322 "description": "Time within the window to start the operations."
2323 }
2324 },
2325 "type": "object"
2326 },
2327 "SloEligibility": {
2328 "description": "SloEligibility is a tuple containing eligibility value: true if an instance is eligible for SLO calculation or false if it should be excluded from all SLO-related calculations along with a user-defined reason.",
2329 "id": "SloEligibility",
2330 "properties": {
2331 "eligible": {
2332 "description": "Whether an instance is eligible or ineligible.",
2333 "type": "boolean"
2334 },
2335 "reason": {
2336 "description": "User-defined reason for the current value of instance eligibility. Usually, this can be directly mapped to the internal state. An empty reason is allowed.",
2337 "type": "string"
2338 }
2339 },
2340 "type": "object"
2341 },
2342 "SloMetadata": {
2343 "description": "SloMetadata contains resources required for proper SLO classification of the instance.",
2344 "id": "SloMetadata",
2345 "properties": {
2346 "nodes": {
2347 "description": "Optional. List of nodes. Some producers need to use per-node metadata to calculate SLO. This field allows such producers to publish per-node SLO meta data, which will be consumed by SSA Eligibility Exporter and published in the form of per node metric to Monarch.",
2348 "items": {
2349 "$ref": "NodeSloMetadata"
2350 },
2351 "type": "array"
2352 },
2353 "perSliEligibility": {
2354 "$ref": "PerSliSloEligibility",
2355 "description": "Optional. Multiple per-instance SLI eligibilities which apply for individual SLIs."
2356 },
2357 "tier": {
2358 "description": "Name of the SLO tier the Instance belongs to. This name will be expected to match the tiers specified in the service SLO configuration. Field is mandatory and must not be empty.",
2359 "type": "string"
2360 }
2361 },
2362 "type": "object"
2363 },
2364 "TimeOfDay": {
2365 "description": "Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`.",
2366 "id": "TimeOfDay",
2367 "properties": {
2368 "hours": {
2369 "description": "Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time.",
2370 "format": "int32",
2371 "type": "integer"
2372 },
2373 "minutes": {
2374 "description": "Minutes of hour of day. Must be from 0 to 59.",
2375 "format": "int32",
2376 "type": "integer"
2377 },
2378 "nanos": {
2379 "description": "Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.",
2380 "format": "int32",
2381 "type": "integer"
2382 },
2383 "seconds": {
2384 "description": "Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.",
2385 "format": "int32",
2386 "type": "integer"
2387 }
2388 },
2389 "type": "object"
2390 },
2391 "UpdateEntitiesWithConditionsResponse": {
2392 "description": "Response message for EntityService.UpdateEntitiesWithConditions",
2393 "id": "UpdateEntitiesWithConditionsResponse",
2394 "properties": {
2395 "response": {
2396 "additionalProperties": {
2397 "description": "Properties of the object.",
2398 "type": "any"
2399 },
2400 "description": "Response returned by the external system.",
2401 "type": "object"
2402 }
2403 },
2404 "type": "object"
2405 },
2406 "UpdatePolicy": {
2407 "description": "Maintenance policy applicable to instance updates.",
2408 "id": "UpdatePolicy",
2409 "properties": {
2410 "channel": {
2411 "description": "Optional. Relative scheduling channel applied to resource.",
2412 "enum": [
2413 "UPDATE_CHANNEL_UNSPECIFIED",
2414 "EARLIER",
2415 "LATER",
2416 "WEEK1",
2417 "WEEK2",
2418 "WEEK5"
2419 ],
2420 "enumDescriptions": [
2421 "Unspecified channel.",
2422 "Early channel within a customer project.",
2423 "Later channel within a customer project.",
2424 "! ! The follow channels can ONLY be used if you adopt the new MW system! ! ! NOTE: all WEEK channels are assumed to be under a weekly window. ! There is currently no dedicated channel definitions for Daily windows. ! If you use Daily window, the system will assume a 1d (24Hours) advanced ! notification period b/w EARLY and LATER. ! We may consider support more flexible daily channel specifications in ! the future. WEEK1 == EARLIER with minimum 7d advanced notification. {7d, 14d} The system will treat them equally and will use WEEK1 whenever it can. New customers are encouraged to use this channel annotation.",
2425 "WEEK2 == LATER with minimum 14d advanced notification {14d, 21d}.",
2426 "WEEK5 == 40d support. minimum 35d advanced notification {35d, 42d}."
2427 ],
2428 "type": "string"
2429 },
2430 "denyMaintenancePeriods": {
2431 "description": "Deny Maintenance Period that is applied to resource to indicate when maintenance is forbidden. The protocol supports zero-to-many such periods, but the current SLM Rollout implementation only supports zero-to-one.",
2432 "items": {
2433 "$ref": "DenyMaintenancePeriod"
2434 },
2435 "type": "array"
2436 },
2437 "window": {
2438 "$ref": "MaintenanceWindow",
2439 "description": "Optional. Maintenance window that is applied to resources covered by this policy."
2440 }
2441 },
2442 "type": "object"
2443 },
2444 "WeeklyCycle": {
2445 "description": "Time window specified for weekly operations.",
2446 "id": "WeeklyCycle",
2447 "properties": {
2448 "schedule": {
2449 "description": "User can specify multiple windows in a week. Minimum of 1 window.",
2450 "items": {
2451 "$ref": "Schedule"
2452 },
2453 "type": "array"
2454 }
2455 },
2456 "type": "object"
2457 }
2458 },
2459 "servicePath": "",
2460 "title": "Connectors API",
2461 "version": "v2",
2462 "version_module": true
2463}
View as plain text