|
546 | 546 | } |
547 | 547 | } |
548 | 548 | }, |
549 | | - "revision": "20230330", |
| 549 | + "revision": "20230406", |
550 | 550 | "rootUrl": "https://cloudfunctions.googleapis.com/", |
551 | 551 | "schemas": { |
552 | 552 | "AuditConfig": { |
|
1111 | 1111 | }, |
1112 | 1112 | "type": "object" |
1113 | 1113 | }, |
| 1114 | + "GoogleCloudFunctionsV2alphaLocationMetadata": { |
| 1115 | + "description": "Extra GCF specific location information.", |
| 1116 | + "id": "GoogleCloudFunctionsV2alphaLocationMetadata", |
| 1117 | + "properties": { |
| 1118 | + "environments": { |
| 1119 | + "description": "The Cloud Function environments this location supports.", |
| 1120 | + "items": { |
| 1121 | + "enum": [ |
| 1122 | + "ENVIRONMENT_UNSPECIFIED", |
| 1123 | + "GEN_1", |
| 1124 | + "GEN_2" |
| 1125 | + ], |
| 1126 | + "enumDescriptions": [ |
| 1127 | + "Unspecified", |
| 1128 | + "Gen 1", |
| 1129 | + "Gen 2" |
| 1130 | + ], |
| 1131 | + "type": "string" |
| 1132 | + }, |
| 1133 | + "type": "array" |
| 1134 | + } |
| 1135 | + }, |
| 1136 | + "type": "object" |
| 1137 | + }, |
1114 | 1138 | "GoogleCloudFunctionsV2alphaOperationMetadata": { |
1115 | 1139 | "description": "Represents the metadata of the long-running operation.", |
1116 | 1140 | "id": "GoogleCloudFunctionsV2alphaOperationMetadata", |
|
1144 | 1168 | "stages": { |
1145 | 1169 | "description": "Mechanism for reporting in-progress stages", |
1146 | 1170 | "items": { |
1147 | | - "$ref": "GoogleCloudFunctionsV2alphaStage" |
| 1171 | + "$ref": "Stage" |
1148 | 1172 | }, |
1149 | 1173 | "type": "array" |
1150 | 1174 | }, |
|
1163 | 1187 | }, |
1164 | 1188 | "type": "object" |
1165 | 1189 | }, |
1166 | | - "GoogleCloudFunctionsV2alphaStage": { |
1167 | | - "description": "Each Stage of the deployment process", |
1168 | | - "id": "GoogleCloudFunctionsV2alphaStage", |
1169 | | - "properties": { |
1170 | | - "message": { |
1171 | | - "description": "Message describing the Stage", |
1172 | | - "type": "string" |
1173 | | - }, |
1174 | | - "name": { |
1175 | | - "description": "Name of the Stage. This will be unique for each Stage.", |
1176 | | - "enum": [ |
1177 | | - "NAME_UNSPECIFIED", |
1178 | | - "ARTIFACT_REGISTRY", |
1179 | | - "BUILD", |
1180 | | - "SERVICE", |
1181 | | - "TRIGGER", |
1182 | | - "SERVICE_ROLLBACK", |
1183 | | - "TRIGGER_ROLLBACK" |
1184 | | - ], |
1185 | | - "enumDescriptions": [ |
1186 | | - "Not specified. Invalid name.", |
1187 | | - "Artifact Regsitry Stage", |
1188 | | - "Build Stage", |
1189 | | - "Service Stage", |
1190 | | - "Trigger Stage", |
1191 | | - "Service Rollback Stage", |
1192 | | - "Trigger Rollback Stage" |
1193 | | - ], |
1194 | | - "type": "string" |
1195 | | - }, |
1196 | | - "resource": { |
1197 | | - "description": "Resource of the Stage", |
1198 | | - "type": "string" |
1199 | | - }, |
1200 | | - "resourceUri": { |
1201 | | - "description": "Link to the current Stage resource", |
1202 | | - "type": "string" |
1203 | | - }, |
1204 | | - "state": { |
1205 | | - "description": "Current state of the Stage", |
1206 | | - "enum": [ |
1207 | | - "STATE_UNSPECIFIED", |
1208 | | - "NOT_STARTED", |
1209 | | - "IN_PROGRESS", |
1210 | | - "COMPLETE" |
1211 | | - ], |
1212 | | - "enumDescriptions": [ |
1213 | | - "Not specified. Invalid state.", |
1214 | | - "Stage has not started.", |
1215 | | - "Stage is in progress.", |
1216 | | - "Stage has completed." |
1217 | | - ], |
1218 | | - "type": "string" |
1219 | | - }, |
1220 | | - "stateMessages": { |
1221 | | - "description": "State messages from the current Stage.", |
1222 | | - "items": { |
1223 | | - "$ref": "GoogleCloudFunctionsV2alphaStateMessage" |
1224 | | - }, |
1225 | | - "type": "array" |
1226 | | - } |
1227 | | - }, |
1228 | | - "type": "object" |
1229 | | - }, |
1230 | 1190 | "GoogleCloudFunctionsV2alphaStateMessage": { |
1231 | 1191 | "description": "Informational messages about the state of the Cloud Function or Operation.", |
1232 | 1192 | "id": "GoogleCloudFunctionsV2alphaStateMessage", |
|
1258 | 1218 | }, |
1259 | 1219 | "type": "object" |
1260 | 1220 | }, |
| 1221 | + "GoogleCloudFunctionsV2betaLocationMetadata": { |
| 1222 | + "description": "Extra GCF specific location information.", |
| 1223 | + "id": "GoogleCloudFunctionsV2betaLocationMetadata", |
| 1224 | + "properties": { |
| 1225 | + "environments": { |
| 1226 | + "description": "The Cloud Function environments this location supports.", |
| 1227 | + "items": { |
| 1228 | + "enum": [ |
| 1229 | + "ENVIRONMENT_UNSPECIFIED", |
| 1230 | + "GEN_1", |
| 1231 | + "GEN_2" |
| 1232 | + ], |
| 1233 | + "enumDescriptions": [ |
| 1234 | + "Unspecified", |
| 1235 | + "Gen 1", |
| 1236 | + "Gen 2" |
| 1237 | + ], |
| 1238 | + "type": "string" |
| 1239 | + }, |
| 1240 | + "type": "array" |
| 1241 | + } |
| 1242 | + }, |
| 1243 | + "type": "object" |
| 1244 | + }, |
1261 | 1245 | "GoogleCloudFunctionsV2betaOperationMetadata": { |
1262 | 1246 | "description": "Represents the metadata of the long-running operation.", |
1263 | 1247 | "id": "GoogleCloudFunctionsV2betaOperationMetadata", |
|
1526 | 1510 | }, |
1527 | 1511 | "type": "object" |
1528 | 1512 | }, |
| 1513 | + "LocationMetadata": { |
| 1514 | + "description": "Extra GCF specific location information.", |
| 1515 | + "id": "LocationMetadata", |
| 1516 | + "properties": { |
| 1517 | + "environments": { |
| 1518 | + "description": "The Cloud Function environments this location supports.", |
| 1519 | + "items": { |
| 1520 | + "enum": [ |
| 1521 | + "ENVIRONMENT_UNSPECIFIED", |
| 1522 | + "GEN_1", |
| 1523 | + "GEN_2" |
| 1524 | + ], |
| 1525 | + "enumDescriptions": [ |
| 1526 | + "Unspecified", |
| 1527 | + "Gen 1", |
| 1528 | + "Gen 2" |
| 1529 | + ], |
| 1530 | + "type": "string" |
| 1531 | + }, |
| 1532 | + "type": "array" |
| 1533 | + } |
| 1534 | + }, |
| 1535 | + "type": "object" |
| 1536 | + }, |
1529 | 1537 | "Operation": { |
1530 | 1538 | "description": "This resource represents a long-running operation that is the result of a network API call.", |
1531 | 1539 | "id": "Operation", |
|
1751 | 1759 | }, |
1752 | 1760 | "type": "object" |
1753 | 1761 | }, |
| 1762 | + "Stage": { |
| 1763 | + "description": "Each Stage of the deployment process", |
| 1764 | + "id": "Stage", |
| 1765 | + "properties": { |
| 1766 | + "message": { |
| 1767 | + "description": "Message describing the Stage", |
| 1768 | + "type": "string" |
| 1769 | + }, |
| 1770 | + "name": { |
| 1771 | + "description": "Name of the Stage. This will be unique for each Stage.", |
| 1772 | + "enum": [ |
| 1773 | + "NAME_UNSPECIFIED", |
| 1774 | + "ARTIFACT_REGISTRY", |
| 1775 | + "BUILD", |
| 1776 | + "SERVICE", |
| 1777 | + "TRIGGER", |
| 1778 | + "SERVICE_ROLLBACK", |
| 1779 | + "TRIGGER_ROLLBACK" |
| 1780 | + ], |
| 1781 | + "enumDescriptions": [ |
| 1782 | + "Not specified. Invalid name.", |
| 1783 | + "Artifact Regsitry Stage", |
| 1784 | + "Build Stage", |
| 1785 | + "Service Stage", |
| 1786 | + "Trigger Stage", |
| 1787 | + "Service Rollback Stage", |
| 1788 | + "Trigger Rollback Stage" |
| 1789 | + ], |
| 1790 | + "type": "string" |
| 1791 | + }, |
| 1792 | + "resource": { |
| 1793 | + "description": "Resource of the Stage", |
| 1794 | + "type": "string" |
| 1795 | + }, |
| 1796 | + "resourceUri": { |
| 1797 | + "description": "Link to the current Stage resource", |
| 1798 | + "type": "string" |
| 1799 | + }, |
| 1800 | + "state": { |
| 1801 | + "description": "Current state of the Stage", |
| 1802 | + "enum": [ |
| 1803 | + "STATE_UNSPECIFIED", |
| 1804 | + "NOT_STARTED", |
| 1805 | + "IN_PROGRESS", |
| 1806 | + "COMPLETE" |
| 1807 | + ], |
| 1808 | + "enumDescriptions": [ |
| 1809 | + "Not specified. Invalid state.", |
| 1810 | + "Stage has not started.", |
| 1811 | + "Stage is in progress.", |
| 1812 | + "Stage has completed." |
| 1813 | + ], |
| 1814 | + "type": "string" |
| 1815 | + }, |
| 1816 | + "stateMessages": { |
| 1817 | + "description": "State messages from the current Stage.", |
| 1818 | + "items": { |
| 1819 | + "$ref": "GoogleCloudFunctionsV2alphaStateMessage" |
| 1820 | + }, |
| 1821 | + "type": "array" |
| 1822 | + } |
| 1823 | + }, |
| 1824 | + "type": "object" |
| 1825 | + }, |
1754 | 1826 | "Status": { |
1755 | 1827 | "description": "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).", |
1756 | 1828 | "id": "Status", |
|
0 commit comments