Skip to content

Commit e06a2c4

Browse files
OAS Update
1 parent c5b5b1d commit e06a2c4

File tree

1 file changed

+183
-0
lines changed

1 file changed

+183
-0
lines changed

services/load-balancer/v1/load-balancer.json

Lines changed: 183 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,17 @@
224224
},
225225
"type": "object"
226226
},
227+
"GoogleProtobufAny": {
228+
"additionalProperties": true,
229+
"description": "Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.",
230+
"properties": {
231+
"@type": {
232+
"description": "The type of the serialized message.",
233+
"type": "string"
234+
}
235+
},
236+
"type": "object"
237+
},
227238
"ListCredentialsResponse": {
228239
"properties": {
229240
"credentials": {
@@ -538,6 +549,28 @@
538549
},
539550
"type": "object"
540551
},
552+
"Status": {
553+
"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).",
554+
"properties": {
555+
"code": {
556+
"description": "The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].",
557+
"format": "int32",
558+
"type": "integer"
559+
},
560+
"details": {
561+
"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.",
562+
"items": {
563+
"$ref": "#/components/schemas/GoogleProtobufAny"
564+
},
565+
"type": "array"
566+
},
567+
"message": {
568+
"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.",
569+
"type": "string"
570+
}
571+
},
572+
"type": "object"
573+
},
541574
"Target": {
542575
"properties": {
543576
"displayName": {
@@ -766,6 +799,16 @@
766799
},
767800
"500": {
768801
"description": "internal error - please retry again later or contact support if the issue persists"
802+
},
803+
"default": {
804+
"content": {
805+
"application/json": {
806+
"schema": {
807+
"$ref": "#/components/schemas/Status"
808+
}
809+
}
810+
},
811+
"description": "Default error response"
769812
}
770813
},
771814
"summary": "Disables the functionality of load balancers for the project specified."
@@ -806,6 +849,16 @@
806849
},
807850
"500": {
808851
"description": "internal error - please retry again later or contact support if the issue persists"
852+
},
853+
"default": {
854+
"content": {
855+
"application/json": {
856+
"schema": {
857+
"$ref": "#/components/schemas/Status"
858+
}
859+
}
860+
},
861+
"description": "Default error response"
809862
}
810863
},
811864
"summary": "Return the status of load balancer functionality for the project specified."
@@ -856,6 +909,16 @@
856909
},
857910
"500": {
858911
"description": "internal error - please retry again later or contact support if the issue persists"
912+
},
913+
"default": {
914+
"content": {
915+
"application/json": {
916+
"schema": {
917+
"$ref": "#/components/schemas/Status"
918+
}
919+
}
920+
},
921+
"description": "Default error response"
859922
}
860923
},
861924
"summary": "Enables the functionality of load balancers for the project specified."
@@ -894,6 +957,16 @@
894957
},
895958
"500": {
896959
"description": "internal error - please retry again later or contact support if the issue persists"
960+
},
961+
"default": {
962+
"content": {
963+
"application/json": {
964+
"schema": {
965+
"$ref": "#/components/schemas/Status"
966+
}
967+
}
968+
},
969+
"description": "Default error response"
897970
}
898971
},
899972
"summary": "List all credentials in a project."
@@ -953,6 +1026,16 @@
9531026
},
9541027
"500": {
9551028
"description": "internal error - please retry again later or contact support if the issue persists"
1029+
},
1030+
"default": {
1031+
"content": {
1032+
"application/json": {
1033+
"schema": {
1034+
"$ref": "#/components/schemas/Status"
1035+
}
1036+
}
1037+
},
1038+
"description": "Default error response"
9561039
}
9571040
},
9581041
"summary": "Create credentials for observability of the Load Balancer"
@@ -1002,6 +1085,16 @@
10021085
},
10031086
"500": {
10041087
"description": "internal error - please retry again later or contact support if the issue persists"
1088+
},
1089+
"default": {
1090+
"content": {
1091+
"application/json": {
1092+
"schema": {
1093+
"$ref": "#/components/schemas/Status"
1094+
}
1095+
}
1096+
},
1097+
"description": "Default error response"
10051098
}
10061099
},
10071100
"summary": "Delete a single credential in a project."
@@ -1052,6 +1145,16 @@
10521145
},
10531146
"500": {
10541147
"description": "internal error - please retry again later or contact support if the issue persists"
1148+
},
1149+
"default": {
1150+
"content": {
1151+
"application/json": {
1152+
"schema": {
1153+
"$ref": "#/components/schemas/Status"
1154+
}
1155+
}
1156+
},
1157+
"description": "Default error response"
10551158
}
10561159
},
10571160
"summary": "Get a single credential reference in a project."
@@ -1112,6 +1215,16 @@
11121215
},
11131216
"500": {
11141217
"description": "internal error - please retry again later or contact support if the issue persists"
1218+
},
1219+
"default": {
1220+
"content": {
1221+
"application/json": {
1222+
"schema": {
1223+
"$ref": "#/components/schemas/Status"
1224+
}
1225+
}
1226+
},
1227+
"description": "Default error response"
11151228
}
11161229
},
11171230
"summary": "Update credentials for observability in a project."
@@ -1153,6 +1266,16 @@
11531266
},
11541267
"500": {
11551268
"description": "internal error - please retry again later or contact support if the issue persists"
1269+
},
1270+
"default": {
1271+
"content": {
1272+
"application/json": {
1273+
"schema": {
1274+
"$ref": "#/components/schemas/Status"
1275+
}
1276+
}
1277+
},
1278+
"description": "Default error response"
11561279
}
11571280
},
11581281
"summary": "List load balancers in a project."
@@ -1215,6 +1338,16 @@
12151338
},
12161339
"500": {
12171340
"description": "internal error - please retry again later or contact support if the issue persists"
1341+
},
1342+
"default": {
1343+
"content": {
1344+
"application/json": {
1345+
"schema": {
1346+
"$ref": "#/components/schemas/Status"
1347+
}
1348+
}
1349+
},
1350+
"description": "Default error response"
12181351
}
12191352
},
12201353
"summary": "Create a load balancer in a project"
@@ -1264,6 +1397,16 @@
12641397
},
12651398
"500": {
12661399
"description": "internal error - please retry again later or contact support if the issue persists"
1400+
},
1401+
"default": {
1402+
"content": {
1403+
"application/json": {
1404+
"schema": {
1405+
"$ref": "#/components/schemas/Status"
1406+
}
1407+
}
1408+
},
1409+
"description": "Default error response"
12671410
}
12681411
},
12691412
"summary": "Delete a given load balancer in a project."
@@ -1314,6 +1457,16 @@
13141457
},
13151458
"500": {
13161459
"description": "internal error - please retry again later or contact support if the issue persists"
1460+
},
1461+
"default": {
1462+
"content": {
1463+
"application/json": {
1464+
"schema": {
1465+
"$ref": "#/components/schemas/Status"
1466+
}
1467+
}
1468+
},
1469+
"description": "Default error response"
13171470
}
13181471
},
13191472
"summary": "Get a single load balancer in a project."
@@ -1374,6 +1527,16 @@
13741527
},
13751528
"500": {
13761529
"description": "internal error - please retry again later or contact support if the issue persists"
1530+
},
1531+
"default": {
1532+
"content": {
1533+
"application/json": {
1534+
"schema": {
1535+
"$ref": "#/components/schemas/Status"
1536+
}
1537+
}
1538+
},
1539+
"description": "Default error response"
13771540
}
13781541
},
13791542
"summary": "Update a load balancer in a project."
@@ -1441,6 +1604,16 @@
14411604
},
14421605
"500": {
14431606
"description": "internal error - please retry again later or contact support if the issue persists"
1607+
},
1608+
"default": {
1609+
"content": {
1610+
"application/json": {
1611+
"schema": {
1612+
"$ref": "#/components/schemas/Status"
1613+
}
1614+
}
1615+
},
1616+
"description": "Default error response"
14441617
}
14451618
},
14461619
"summary": "Update a single target pool of a load balancer in a project."
@@ -1482,6 +1655,16 @@
14821655
},
14831656
"500": {
14841657
"description": "internal error - please retry again later or contact support if the issue persists"
1658+
},
1659+
"default": {
1660+
"content": {
1661+
"application/json": {
1662+
"schema": {
1663+
"$ref": "#/components/schemas/Status"
1664+
}
1665+
}
1666+
},
1667+
"description": "Default error response"
14851668
}
14861669
},
14871670
"summary": "Get the quota of Load Balancers and Target Pools in a project."

0 commit comments

Comments
 (0)