Skip to content

Commit ed51406

Browse files
feat(cloudfunctions): update the api
#### cloudfunctions:v1 The following keys were deleted: - schemas.GoogleCloudFunctionsV2alphaStage (Total Keys: 9) The following keys were added: - schemas.GoogleCloudFunctionsV2alphaLocationMetadata (Total Keys: 4) - schemas.GoogleCloudFunctionsV2betaLocationMetadata (Total Keys: 4) - schemas.LocationMetadata (Total Keys: 4) - schemas.Stage (Total Keys: 9) The following keys were changed: - schemas.GoogleCloudFunctionsV2alphaOperationMetadata.properties.stages.items.$ref (Total Keys: 1) #### cloudfunctions:v2 The following keys were deleted: - schemas.BuildConfig.properties.buildpackStack.type (Total Keys: 1) - schemas.GoogleCloudFunctionsV2alphaStage (Total Keys: 9) The following keys were added: - schemas.GoogleCloudFunctionsV2alphaLocationMetadata (Total Keys: 4) - schemas.GoogleCloudFunctionsV2betaLocationMetadata (Total Keys: 4) - schemas.LocationMetadata (Total Keys: 4) - schemas.Stage (Total Keys: 9) The following keys were changed: - schemas.GoogleCloudFunctionsV2alphaOperationMetadata.properties.stages.items.$ref (Total Keys: 1) #### cloudfunctions:v2alpha The following keys were deleted: - schemas.BuildConfig.properties.buildpackStack.type (Total Keys: 1) - schemas.GoogleCloudFunctionsV2alphaStage (Total Keys: 9) The following keys were added: - schemas.GoogleCloudFunctionsV2alphaLocationMetadata (Total Keys: 4) - schemas.GoogleCloudFunctionsV2betaLocationMetadata (Total Keys: 4) - schemas.LocationMetadata (Total Keys: 4) - schemas.Stage (Total Keys: 9) The following keys were changed: - schemas.GoogleCloudFunctionsV2alphaOperationMetadata.properties.stages.items.$ref (Total Keys: 1) #### cloudfunctions:v2beta The following keys were deleted: - schemas.BuildConfig.properties.buildpackStack.type (Total Keys: 1) - schemas.GoogleCloudFunctionsV2alphaStage (Total Keys: 9) The following keys were added: - schemas.GoogleCloudFunctionsV2alphaLocationMetadata (Total Keys: 4) - schemas.GoogleCloudFunctionsV2betaLocationMetadata (Total Keys: 4) - schemas.LocationMetadata (Total Keys: 4) - schemas.Stage (Total Keys: 9) The following keys were changed: - schemas.GoogleCloudFunctionsV2alphaOperationMetadata.properties.stages.items.$ref (Total Keys: 1)
1 parent 08b5972 commit ed51406

7 files changed

+612
-348
lines changed

docs/dyn/cloudfunctions_v2.projects.locations.functions.html

Lines changed: 16 additions & 20 deletions
Large diffs are not rendered by default.

docs/dyn/cloudfunctions_v2alpha.projects.locations.functions.html

Lines changed: 16 additions & 20 deletions
Large diffs are not rendered by default.

docs/dyn/cloudfunctions_v2beta.projects.locations.functions.html

Lines changed: 16 additions & 20 deletions
Large diffs are not rendered by default.

googleapiclient/discovery_cache/documents/cloudfunctions.v1.json

Lines changed: 138 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@
546546
}
547547
}
548548
},
549-
"revision": "20230330",
549+
"revision": "20230406",
550550
"rootUrl": "https://cloudfunctions.googleapis.com/",
551551
"schemas": {
552552
"AuditConfig": {
@@ -1111,6 +1111,30 @@
11111111
},
11121112
"type": "object"
11131113
},
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+
},
11141138
"GoogleCloudFunctionsV2alphaOperationMetadata": {
11151139
"description": "Represents the metadata of the long-running operation.",
11161140
"id": "GoogleCloudFunctionsV2alphaOperationMetadata",
@@ -1144,7 +1168,7 @@
11441168
"stages": {
11451169
"description": "Mechanism for reporting in-progress stages",
11461170
"items": {
1147-
"$ref": "GoogleCloudFunctionsV2alphaStage"
1171+
"$ref": "Stage"
11481172
},
11491173
"type": "array"
11501174
},
@@ -1163,70 +1187,6 @@
11631187
},
11641188
"type": "object"
11651189
},
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-
},
12301190
"GoogleCloudFunctionsV2alphaStateMessage": {
12311191
"description": "Informational messages about the state of the Cloud Function or Operation.",
12321192
"id": "GoogleCloudFunctionsV2alphaStateMessage",
@@ -1258,6 +1218,30 @@
12581218
},
12591219
"type": "object"
12601220
},
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+
},
12611245
"GoogleCloudFunctionsV2betaOperationMetadata": {
12621246
"description": "Represents the metadata of the long-running operation.",
12631247
"id": "GoogleCloudFunctionsV2betaOperationMetadata",
@@ -1526,6 +1510,30 @@
15261510
},
15271511
"type": "object"
15281512
},
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+
},
15291537
"Operation": {
15301538
"description": "This resource represents a long-running operation that is the result of a network API call.",
15311539
"id": "Operation",
@@ -1751,6 +1759,70 @@
17511759
},
17521760
"type": "object"
17531761
},
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+
},
17541826
"Status": {
17551827
"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).",
17561828
"id": "Status",

0 commit comments

Comments
 (0)