@furo/open-models 1.15.2 → 1.15.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +500 -500
- package/dist/decorators/ModelDecorators.d.ts +2 -0
- package/dist/decorators/ModelDecorators.js.map +1 -1
- package/package.json +1 -1
- /package/dist/decorators/{defaultServiceEventHandlers.d.ts → DefaultServiceEventHandlers.d.ts} +0 -0
- /package/dist/decorators/{defaultServiceEventHandlers.js → DefaultServiceEventHandlers.js} +0 -0
- /package/dist/decorators/{defaultServiceEventHandlers.js.map → DefaultServiceEventHandlers.js.map} +0 -0
package/custom-elements.json
CHANGED
|
@@ -1209,6 +1209,73 @@
|
|
|
1209
1209
|
"declarations": [],
|
|
1210
1210
|
"exports": []
|
|
1211
1211
|
},
|
|
1212
|
+
{
|
|
1213
|
+
"kind": "javascript-module",
|
|
1214
|
+
"path": "dist/decorators/DefaultServiceEventHandlers.js",
|
|
1215
|
+
"declarations": [
|
|
1216
|
+
{
|
|
1217
|
+
"kind": "function",
|
|
1218
|
+
"name": "DefaultServiceEventHandlers",
|
|
1219
|
+
"parameters": [
|
|
1220
|
+
{
|
|
1221
|
+
"name": "dispatch",
|
|
1222
|
+
"description": "Function to dispatch events (typically bound to the service's dispatchEvent)"
|
|
1223
|
+
},
|
|
1224
|
+
{
|
|
1225
|
+
"name": "options",
|
|
1226
|
+
"default": "{}",
|
|
1227
|
+
"description": "Optional configuration"
|
|
1228
|
+
}
|
|
1229
|
+
],
|
|
1230
|
+
"description": "### DefaultServiceEventHandlers\n\nCreates default service handlers that dispatch standard events.\nUse this to reduce boilerplate when setting up service handlers.\n\nThe `onResponse` handler is intentionally NOT included - you must provide your own\nimplementation since response handling is typically service-specific.\n\nUsage:\n```typescript\nclass MyEntityService extends EventTarget {\n private dispatch = createDispatch(this);\n\n setupHandlers() {\n this.service.Get.setHandlers({\n ...DefaultServiceEventHandlers(this.dispatch),\n onResponse: (response, serverResponse) => {\n // Your custom response handling\n this.entity.fromLiteral(response.entity);\n this.dispatch(\"response-received\", { response, serverResponse });\n },\n });\n }\n}\n```\n\nWith loading check:\n```typescript\nthis.service.Get.setHandlers({\n ...DefaultServiceEventHandlers(this.dispatch, {\n isLoading: () => this.service.Get.isLoading || this.service.Update.isLoading,\n }),\n onResponse: (response, serverResponse) => { ... },\n});\n```",
|
|
1231
|
+
"return": {
|
|
1232
|
+
"type": {
|
|
1233
|
+
"text": ""
|
|
1234
|
+
}
|
|
1235
|
+
}
|
|
1236
|
+
},
|
|
1237
|
+
{
|
|
1238
|
+
"kind": "function",
|
|
1239
|
+
"name": "CreateDispatch",
|
|
1240
|
+
"parameters": [
|
|
1241
|
+
{
|
|
1242
|
+
"name": "target",
|
|
1243
|
+
"description": "The EventTarget to dispatch events on"
|
|
1244
|
+
}
|
|
1245
|
+
],
|
|
1246
|
+
"description": "### createDispatch\n\nHelper to create a typed dispatch function for an EventTarget.\n\nUsage:\n```typescript\nclass MyService extends EventTarget {\n private dispatch = createDispatch(this);\n\n doSomething() {\n this.dispatch(\"busy-changed\", { busy: true });\n }\n}\n```",
|
|
1247
|
+
"return": {
|
|
1248
|
+
"type": {
|
|
1249
|
+
"text": ""
|
|
1250
|
+
}
|
|
1251
|
+
}
|
|
1252
|
+
}
|
|
1253
|
+
],
|
|
1254
|
+
"exports": [
|
|
1255
|
+
{
|
|
1256
|
+
"kind": "js",
|
|
1257
|
+
"name": "DefaultServiceEventHandlers",
|
|
1258
|
+
"declaration": {
|
|
1259
|
+
"name": "DefaultServiceEventHandlers",
|
|
1260
|
+
"module": "dist/decorators/DefaultServiceEventHandlers.js"
|
|
1261
|
+
}
|
|
1262
|
+
},
|
|
1263
|
+
{
|
|
1264
|
+
"kind": "js",
|
|
1265
|
+
"name": "CreateDispatch",
|
|
1266
|
+
"declaration": {
|
|
1267
|
+
"name": "CreateDispatch",
|
|
1268
|
+
"module": "dist/decorators/DefaultServiceEventHandlers.js"
|
|
1269
|
+
}
|
|
1270
|
+
}
|
|
1271
|
+
]
|
|
1272
|
+
},
|
|
1273
|
+
{
|
|
1274
|
+
"kind": "javascript-module",
|
|
1275
|
+
"path": "dist/decorators/DefaultServiceEventHandlers.js.map",
|
|
1276
|
+
"declarations": [],
|
|
1277
|
+
"exports": []
|
|
1278
|
+
},
|
|
1212
1279
|
{
|
|
1213
1280
|
"kind": "javascript-module",
|
|
1214
1281
|
"path": "dist/decorators/EntityServiceTypes.js",
|
|
@@ -1407,73 +1474,6 @@
|
|
|
1407
1474
|
"declarations": [],
|
|
1408
1475
|
"exports": []
|
|
1409
1476
|
},
|
|
1410
|
-
{
|
|
1411
|
-
"kind": "javascript-module",
|
|
1412
|
-
"path": "dist/decorators/defaultServiceEventHandlers.js",
|
|
1413
|
-
"declarations": [
|
|
1414
|
-
{
|
|
1415
|
-
"kind": "function",
|
|
1416
|
-
"name": "DefaultServiceEventHandlers",
|
|
1417
|
-
"parameters": [
|
|
1418
|
-
{
|
|
1419
|
-
"name": "dispatch",
|
|
1420
|
-
"description": "Function to dispatch events (typically bound to the service's dispatchEvent)"
|
|
1421
|
-
},
|
|
1422
|
-
{
|
|
1423
|
-
"name": "options",
|
|
1424
|
-
"default": "{}",
|
|
1425
|
-
"description": "Optional configuration"
|
|
1426
|
-
}
|
|
1427
|
-
],
|
|
1428
|
-
"description": "### DefaultServiceEventHandlers\n\nCreates default service handlers that dispatch standard events.\nUse this to reduce boilerplate when setting up service handlers.\n\nThe `onResponse` handler is intentionally NOT included - you must provide your own\nimplementation since response handling is typically service-specific.\n\nUsage:\n```typescript\nclass MyEntityService extends EventTarget {\n private dispatch = createDispatch(this);\n\n setupHandlers() {\n this.service.Get.setHandlers({\n ...DefaultServiceEventHandlers(this.dispatch),\n onResponse: (response, serverResponse) => {\n // Your custom response handling\n this.entity.fromLiteral(response.entity);\n this.dispatch(\"response-received\", { response, serverResponse });\n },\n });\n }\n}\n```\n\nWith loading check:\n```typescript\nthis.service.Get.setHandlers({\n ...DefaultServiceEventHandlers(this.dispatch, {\n isLoading: () => this.service.Get.isLoading || this.service.Update.isLoading,\n }),\n onResponse: (response, serverResponse) => { ... },\n});\n```",
|
|
1429
|
-
"return": {
|
|
1430
|
-
"type": {
|
|
1431
|
-
"text": ""
|
|
1432
|
-
}
|
|
1433
|
-
}
|
|
1434
|
-
},
|
|
1435
|
-
{
|
|
1436
|
-
"kind": "function",
|
|
1437
|
-
"name": "CreateDispatch",
|
|
1438
|
-
"parameters": [
|
|
1439
|
-
{
|
|
1440
|
-
"name": "target",
|
|
1441
|
-
"description": "The EventTarget to dispatch events on"
|
|
1442
|
-
}
|
|
1443
|
-
],
|
|
1444
|
-
"description": "### createDispatch\n\nHelper to create a typed dispatch function for an EventTarget.\n\nUsage:\n```typescript\nclass MyService extends EventTarget {\n private dispatch = createDispatch(this);\n\n doSomething() {\n this.dispatch(\"busy-changed\", { busy: true });\n }\n}\n```",
|
|
1445
|
-
"return": {
|
|
1446
|
-
"type": {
|
|
1447
|
-
"text": ""
|
|
1448
|
-
}
|
|
1449
|
-
}
|
|
1450
|
-
}
|
|
1451
|
-
],
|
|
1452
|
-
"exports": [
|
|
1453
|
-
{
|
|
1454
|
-
"kind": "js",
|
|
1455
|
-
"name": "DefaultServiceEventHandlers",
|
|
1456
|
-
"declaration": {
|
|
1457
|
-
"name": "DefaultServiceEventHandlers",
|
|
1458
|
-
"module": "dist/decorators/defaultServiceEventHandlers.js"
|
|
1459
|
-
}
|
|
1460
|
-
},
|
|
1461
|
-
{
|
|
1462
|
-
"kind": "js",
|
|
1463
|
-
"name": "CreateDispatch",
|
|
1464
|
-
"declaration": {
|
|
1465
|
-
"name": "CreateDispatch",
|
|
1466
|
-
"module": "dist/decorators/defaultServiceEventHandlers.js"
|
|
1467
|
-
}
|
|
1468
|
-
}
|
|
1469
|
-
]
|
|
1470
|
-
},
|
|
1471
|
-
{
|
|
1472
|
-
"kind": "javascript-module",
|
|
1473
|
-
"path": "dist/decorators/defaultServiceEventHandlers.js.map",
|
|
1474
|
-
"declarations": [],
|
|
1475
|
-
"exports": []
|
|
1476
|
-
},
|
|
1477
1477
|
{
|
|
1478
1478
|
"kind": "javascript-module",
|
|
1479
1479
|
"path": "dist/index.js",
|
|
@@ -85347,28 +85347,20 @@
|
|
|
85347
85347
|
},
|
|
85348
85348
|
{
|
|
85349
85349
|
"kind": "javascript-module",
|
|
85350
|
-
"path": "dist/protoc-gen-open-models/
|
|
85350
|
+
"path": "dist/protoc-gen-open-models/google/api/CustomHttpPattern.js",
|
|
85351
85351
|
"declarations": [
|
|
85352
85352
|
{
|
|
85353
85353
|
"kind": "class",
|
|
85354
|
-
"description": "
|
|
85355
|
-
"name": "
|
|
85354
|
+
"description": "CustomHttpPattern\n A custom pattern is used for defining custom HTTP verb.",
|
|
85355
|
+
"name": "CustomHttpPattern",
|
|
85356
85356
|
"members": [
|
|
85357
85357
|
{
|
|
85358
85358
|
"kind": "field",
|
|
85359
|
-
"name": "
|
|
85360
|
-
},
|
|
85361
|
-
{
|
|
85362
|
-
"kind": "field",
|
|
85363
|
-
"name": "green"
|
|
85364
|
-
},
|
|
85365
|
-
{
|
|
85366
|
-
"kind": "field",
|
|
85367
|
-
"name": "blue"
|
|
85359
|
+
"name": "kind"
|
|
85368
85360
|
},
|
|
85369
85361
|
{
|
|
85370
85362
|
"kind": "field",
|
|
85371
|
-
"name": "
|
|
85363
|
+
"name": "path"
|
|
85372
85364
|
},
|
|
85373
85365
|
{
|
|
85374
85366
|
"kind": "method",
|
|
@@ -85389,7 +85381,7 @@
|
|
|
85389
85381
|
"type": {
|
|
85390
85382
|
"text": "string"
|
|
85391
85383
|
},
|
|
85392
|
-
"default": "'
|
|
85384
|
+
"default": "'google.api.CustomHttpPattern'"
|
|
85393
85385
|
},
|
|
85394
85386
|
{
|
|
85395
85387
|
"kind": "field",
|
|
@@ -85397,7 +85389,7 @@
|
|
|
85397
85389
|
"type": {
|
|
85398
85390
|
"text": "string"
|
|
85399
85391
|
},
|
|
85400
|
-
"default": "'
|
|
85392
|
+
"default": "'CustomHttpPattern A custom pattern is used for defining custom HTTP verb.'"
|
|
85401
85393
|
},
|
|
85402
85394
|
{
|
|
85403
85395
|
"kind": "field",
|
|
@@ -85405,27 +85397,17 @@
|
|
|
85405
85397
|
"type": {
|
|
85406
85398
|
"text": "array"
|
|
85407
85399
|
},
|
|
85408
|
-
"default": "[ { fieldName: '
|
|
85409
|
-
},
|
|
85410
|
-
{
|
|
85411
|
-
"kind": "field",
|
|
85412
|
-
"name": "_red",
|
|
85413
|
-
"default": "new INT32(undefined, this, 'red')"
|
|
85414
|
-
},
|
|
85415
|
-
{
|
|
85416
|
-
"kind": "field",
|
|
85417
|
-
"name": "_green",
|
|
85418
|
-
"default": "new INT32(undefined, this, 'green')"
|
|
85400
|
+
"default": "[ { fieldName: 'kind', protoName: 'kind', FieldConstructor: STRING, constraints: {}, description: 'The name of this custom HTTP verb.', }, { fieldName: 'path', protoName: 'path', FieldConstructor: STRING, constraints: {}, description: 'The path matched by this custom verb.', }, ]"
|
|
85419
85401
|
},
|
|
85420
85402
|
{
|
|
85421
85403
|
"kind": "field",
|
|
85422
|
-
"name": "
|
|
85423
|
-
"default": "new
|
|
85404
|
+
"name": "_kind",
|
|
85405
|
+
"default": "new STRING(undefined, this, 'kind')"
|
|
85424
85406
|
},
|
|
85425
85407
|
{
|
|
85426
85408
|
"kind": "field",
|
|
85427
|
-
"name": "
|
|
85428
|
-
"default": "new
|
|
85409
|
+
"name": "_path",
|
|
85410
|
+
"default": "new STRING(undefined, this, 'path')"
|
|
85429
85411
|
},
|
|
85430
85412
|
{
|
|
85431
85413
|
"kind": "field",
|
|
@@ -85433,7 +85415,7 @@
|
|
|
85433
85415
|
"type": {
|
|
85434
85416
|
"text": "object"
|
|
85435
85417
|
},
|
|
85436
|
-
"default": "{
|
|
85418
|
+
"default": "{}"
|
|
85437
85419
|
},
|
|
85438
85420
|
{
|
|
85439
85421
|
"kind": "field",
|
|
@@ -86271,48 +86253,36 @@
|
|
|
86271
86253
|
"exports": [
|
|
86272
86254
|
{
|
|
86273
86255
|
"kind": "js",
|
|
86274
|
-
"name": "
|
|
86256
|
+
"name": "CustomHttpPattern",
|
|
86275
86257
|
"declaration": {
|
|
86276
|
-
"name": "
|
|
86277
|
-
"module": "dist/protoc-gen-open-models/
|
|
86258
|
+
"name": "CustomHttpPattern",
|
|
86259
|
+
"module": "dist/protoc-gen-open-models/google/api/CustomHttpPattern.js"
|
|
86278
86260
|
}
|
|
86279
86261
|
}
|
|
86280
86262
|
]
|
|
86281
86263
|
},
|
|
86282
86264
|
{
|
|
86283
86265
|
"kind": "javascript-module",
|
|
86284
|
-
"path": "dist/protoc-gen-open-models/
|
|
86266
|
+
"path": "dist/protoc-gen-open-models/google/api/CustomHttpPattern.js.map",
|
|
86285
86267
|
"declarations": [],
|
|
86286
86268
|
"exports": []
|
|
86287
86269
|
},
|
|
86288
86270
|
{
|
|
86289
86271
|
"kind": "javascript-module",
|
|
86290
|
-
"path": "dist/protoc-gen-open-models/
|
|
86272
|
+
"path": "dist/protoc-gen-open-models/google/api/Http.js",
|
|
86291
86273
|
"declarations": [
|
|
86292
86274
|
{
|
|
86293
86275
|
"kind": "class",
|
|
86294
|
-
"description": "
|
|
86295
|
-
"name": "
|
|
86276
|
+
"description": "Http\n Defines the HTTP configuration for an API service. It contains a list of\n [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method\n to one or more HTTP REST API methods.",
|
|
86277
|
+
"name": "Http",
|
|
86296
86278
|
"members": [
|
|
86297
86279
|
{
|
|
86298
86280
|
"kind": "field",
|
|
86299
|
-
"name": "
|
|
86300
|
-
},
|
|
86301
|
-
{
|
|
86302
|
-
"kind": "field",
|
|
86303
|
-
"name": "breadth"
|
|
86304
|
-
},
|
|
86305
|
-
{
|
|
86306
|
-
"kind": "field",
|
|
86307
|
-
"name": "height"
|
|
86308
|
-
},
|
|
86309
|
-
{
|
|
86310
|
-
"kind": "field",
|
|
86311
|
-
"name": "colour"
|
|
86281
|
+
"name": "rules"
|
|
86312
86282
|
},
|
|
86313
86283
|
{
|
|
86314
86284
|
"kind": "field",
|
|
86315
|
-
"name": "
|
|
86285
|
+
"name": "fullyDecodeReservedExpansion"
|
|
86316
86286
|
},
|
|
86317
86287
|
{
|
|
86318
86288
|
"kind": "method",
|
|
@@ -86333,7 +86303,7 @@
|
|
|
86333
86303
|
"type": {
|
|
86334
86304
|
"text": "string"
|
|
86335
86305
|
},
|
|
86336
|
-
"default": "'
|
|
86306
|
+
"default": "'google.api.Http'"
|
|
86337
86307
|
},
|
|
86338
86308
|
{
|
|
86339
86309
|
"kind": "field",
|
|
@@ -86341,7 +86311,7 @@
|
|
|
86341
86311
|
"type": {
|
|
86342
86312
|
"text": "string"
|
|
86343
86313
|
},
|
|
86344
|
-
"default": "'
|
|
86314
|
+
"default": "'Http Defines the HTTP configuration for an API service. It contains a list of\\n [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method\\n to one or more HTTP REST API methods.'"
|
|
86345
86315
|
},
|
|
86346
86316
|
{
|
|
86347
86317
|
"kind": "field",
|
|
@@ -86349,32 +86319,17 @@
|
|
|
86349
86319
|
"type": {
|
|
86350
86320
|
"text": "array"
|
|
86351
86321
|
},
|
|
86352
|
-
"default": "[ { fieldName: '
|
|
86353
|
-
},
|
|
86354
|
-
{
|
|
86355
|
-
"kind": "field",
|
|
86356
|
-
"name": "_length",
|
|
86357
|
-
"default": "new DOUBLE(undefined, this, 'length')"
|
|
86358
|
-
},
|
|
86359
|
-
{
|
|
86360
|
-
"kind": "field",
|
|
86361
|
-
"name": "_breadth",
|
|
86362
|
-
"default": "new DOUBLE(undefined, this, 'breadth')"
|
|
86363
|
-
},
|
|
86364
|
-
{
|
|
86365
|
-
"kind": "field",
|
|
86366
|
-
"name": "_height",
|
|
86367
|
-
"default": "new DOUBLE(undefined, this, 'height')"
|
|
86322
|
+
"default": "[ { fieldName: 'rules', protoName: 'rules', FieldConstructor: GoogleApiHttpRule, constraints: {}, description: 'A list of HTTP configuration rules that apply to individual API methods.\\n\\n **NOTE:** All service configuration rules follow \"last one wins\" order.', }, { fieldName: 'fullyDecodeReservedExpansion', protoName: 'fully_decode_reserved_expansion', FieldConstructor: BOOLEAN, constraints: {}, description: 'When set to true, URL path parameters will be fully URI-decoded except in\\n cases of single segment matches in reserved expansion, where \"%2F\" will be\\n left encoded.\\n\\n The default behavior is to not decode RFC 6570 reserved characters in multi\\n segment matches.', }, ]"
|
|
86368
86323
|
},
|
|
86369
86324
|
{
|
|
86370
86325
|
"kind": "field",
|
|
86371
|
-
"name": "
|
|
86372
|
-
"default": "new
|
|
86326
|
+
"name": "_rules",
|
|
86327
|
+
"default": "new ARRAY(undefined, this, 'rules')"
|
|
86373
86328
|
},
|
|
86374
86329
|
{
|
|
86375
86330
|
"kind": "field",
|
|
86376
|
-
"name": "
|
|
86377
|
-
"default": "new
|
|
86331
|
+
"name": "_fullyDecodeReservedExpansion",
|
|
86332
|
+
"default": "new BOOLEAN(undefined, this, 'fullyDecodeReservedExpansion')"
|
|
86378
86333
|
},
|
|
86379
86334
|
{
|
|
86380
86335
|
"kind": "field",
|
|
@@ -86382,7 +86337,7 @@
|
|
|
86382
86337
|
"type": {
|
|
86383
86338
|
"text": "object"
|
|
86384
86339
|
},
|
|
86385
|
-
"default": "{
|
|
86340
|
+
"default": "{}"
|
|
86386
86341
|
},
|
|
86387
86342
|
{
|
|
86388
86343
|
"kind": "field",
|
|
@@ -87220,44 +87175,68 @@
|
|
|
87220
87175
|
"exports": [
|
|
87221
87176
|
{
|
|
87222
87177
|
"kind": "js",
|
|
87223
|
-
"name": "
|
|
87178
|
+
"name": "Http",
|
|
87224
87179
|
"declaration": {
|
|
87225
|
-
"name": "
|
|
87226
|
-
"module": "dist/protoc-gen-open-models/
|
|
87180
|
+
"name": "Http",
|
|
87181
|
+
"module": "dist/protoc-gen-open-models/google/api/Http.js"
|
|
87227
87182
|
}
|
|
87228
87183
|
}
|
|
87229
87184
|
]
|
|
87230
87185
|
},
|
|
87231
87186
|
{
|
|
87232
87187
|
"kind": "javascript-module",
|
|
87233
|
-
"path": "dist/protoc-gen-open-models/
|
|
87188
|
+
"path": "dist/protoc-gen-open-models/google/api/Http.js.map",
|
|
87234
87189
|
"declarations": [],
|
|
87235
87190
|
"exports": []
|
|
87236
87191
|
},
|
|
87237
87192
|
{
|
|
87238
87193
|
"kind": "javascript-module",
|
|
87239
|
-
"path": "dist/protoc-gen-open-models/
|
|
87194
|
+
"path": "dist/protoc-gen-open-models/google/api/HttpRule.js",
|
|
87240
87195
|
"declarations": [
|
|
87241
87196
|
{
|
|
87242
87197
|
"kind": "class",
|
|
87243
|
-
"description": "CubeEntity\n CubeEntity",
|
|
87244
|
-
"name": "
|
|
87198
|
+
"description": "HttpRule\n # gRPC Transcoding\n\n gRPC Transcoding is a feature for mapping between a gRPC method and one or\n more HTTP REST endpoints. It allows developers to build a single API service\n that supports both gRPC APIs and REST APIs. Many systems, including [Google\n APIs](https://github.com/googleapis/googleapis),\n [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC\n Gateway](https://github.com/grpc-ecosystem/grpc-gateway),\n and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature\n and use it for large scale production services.\n\n `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies\n how different portions of the gRPC request message are mapped to the URL\n path, URL query parameters, and HTTP request body. It also controls how the\n gRPC response message is mapped to the HTTP response body. `HttpRule` is\n typically specified as an `google.api.http` annotation on the gRPC method.\n\n Each mapping specifies a URL path template and an HTTP method. The path\n template may refer to one or more fields in the gRPC request message, as long\n as each field is a non-repeated field with a primitive (non-message) type.\n The path template controls how fields of the request message are mapped to\n the URL path.\n\n Example:\n\n service Messaging {\n rpc GetMessage(GetMessageRequest) returns (Message) {\n option (google.api.http) = {\n get: \"/v1/{name=messages/*}\"\n };\n }\n }\n message GetMessageRequest {\n string name = 1; // Mapped to URL path.\n }\n message Message {\n string text = 1; // The resource content.\n }\n\n This enables an HTTP REST to gRPC mapping as below:\n\n HTTP | gRPC\n -----|-----\n `GET /v1/messages/123456` | `GetMessage(name: \"messages/123456\")`\n\n Any fields in the request message which are not bound by the path template\n automatically become HTTP query parameters if there is no HTTP request body.\n For example:\n\n service Messaging {\n rpc GetMessage(GetMessageRequest) returns (Message) {\n option (google.api.http) = {\n get:\"/v1/messages/{message_id}\"\n };\n }\n }\n message GetMessageRequest {\n message SubMessage {\n string subfield = 1;\n }\n string message_id = 1; // Mapped to URL path.\n int64 revision = 2; // Mapped to URL query parameter `revision`.\n SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`.\n }\n\n This enables a HTTP JSON to RPC mapping as below:\n\n HTTP | gRPC\n -----|-----\n `GET /v1/messages/123456?revision=2&sub.subfield=foo` |\n `GetMessage(message_id: \"123456\" revision: 2 sub: SubMessage(subfield:\n \"foo\"))`\n\n Note that fields which are mapped to URL query parameters must have a\n primitive type or a repeated primitive type or a non-repeated message type.\n In the case of a repeated type, the parameter can be repeated in the URL\n as `...?param=A¶m=B`. In the case of a message type, each field of the\n message is mapped to a separate parameter, such as\n `...?foo.a=A&foo.b=B&foo.c=C`.\n\n For HTTP methods that allow a request body, the `body` field\n specifies the mapping. Consider a REST update method on the\n message resource collection:\n\n service Messaging {\n rpc UpdateMessage(UpdateMessageRequest) returns (Message) {\n option (google.api.http) = {\n patch: \"/v1/messages/{message_id}\"\n body: \"message\"\n };\n }\n }\n message UpdateMessageRequest {\n string message_id = 1; // mapped to the URL\n Message message = 2; // mapped to the body\n }\n\n The following HTTP JSON to RPC mapping is enabled, where the\n representation of the JSON in the request body is determined by\n protos JSON encoding:\n\n HTTP | gRPC\n -----|-----\n `PATCH /v1/messages/123456 { \"text\": \"Hi!\" }` | `UpdateMessage(message_id:\n \"123456\" message { text: \"Hi!\" })`\n\n The special name `*` can be used in the body mapping to define that\n every field not bound by the path template should be mapped to the\n request body. This enables the following alternative definition of\n the update method:\n\n service Messaging {\n rpc UpdateMessage(Message) returns (Message) {\n option (google.api.http) = {\n patch: \"/v1/messages/{message_id}\"\n body: \"*\"\n };\n }\n }\n message Message {\n string message_id = 1;\n string text = 2;\n }\n\n\n The following HTTP JSON to RPC mapping is enabled:\n\n HTTP | gRPC\n -----|-----\n `PATCH /v1/messages/123456 { \"text\": \"Hi!\" }` | `UpdateMessage(message_id:\n \"123456\" text: \"Hi!\")`\n\n Note that when using `*` in the body mapping, it is not possible to\n have HTTP parameters, as all fields not bound by the path end in\n the body. This makes this option more rarely used in practice when\n defining REST APIs. The common usage of `*` is in custom methods\n which don't use the URL at all for transferring data.\n\n It is possible to define multiple HTTP methods for one RPC by using\n the `additional_bindings` option. Example:\n\n service Messaging {\n rpc GetMessage(GetMessageRequest) returns (Message) {\n option (google.api.http) = {\n get: \"/v1/messages/{message_id}\"\n additional_bindings {\n get: \"/v1/users/{user_id}/messages/{message_id}\"\n }\n };\n }\n }\n message GetMessageRequest {\n string message_id = 1;\n string user_id = 2;\n }\n\n This enables the following two alternative HTTP JSON to RPC mappings:\n\n HTTP | gRPC\n -----|-----\n `GET /v1/messages/123456` | `GetMessage(message_id: \"123456\")`\n `GET /v1/users/me/messages/123456` | `GetMessage(user_id: \"me\" message_id:\n \"123456\")`\n\n ## Rules for HTTP mapping\n\n 1. Leaf request fields (recursive expansion nested messages in the request\n message) are classified into three categories:\n - Fields referred by the path template. They are passed via the URL path.\n - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They\n are passed via the HTTP\n request body.\n - All other fields are passed via the URL query parameters, and the\n parameter name is the field path in the request message. A repeated\n field can be represented as multiple query parameters under the same\n name.\n 2. If [HttpRule.body][google.api.HttpRule.body] is \"*\", there is no URL\n query parameter, all fields\n are passed via URL path and HTTP request body.\n 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP\n request body, all\n fields are passed via URL path and URL query parameters.\n\n ### Path template syntax\n\n Template = \"/\" Segments [ Verb ] ;\n Segments = Segment { \"/\" Segment } ;\n Segment = \"*\" | \"**\" | LITERAL | Variable ;\n Variable = \"{\" FieldPath [ \"=\" Segments ] \"}\" ;\n FieldPath = IDENT { \".\" IDENT } ;\n Verb = \":\" LITERAL ;\n\n The syntax `*` matches a single URL path segment. The syntax `**` matches\n zero or more URL path segments, which must be the last part of the URL path\n except the `Verb`.\n\n The syntax `Variable` matches part of the URL path as specified by its\n template. A variable template must not contain other variables. If a variable\n matches a single path segment, its template may be omitted, e.g. `{var}`\n is equivalent to `{var=*}`.\n\n The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL`\n contains any reserved character, such characters should be percent-encoded\n before the matching.\n\n If a variable contains exactly one path segment, such as `\"{var}\"` or\n `\"{var=*}\"`, when such a variable is expanded into a URL path on the client\n side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The\n server side does the reverse decoding. Such variables show up in the\n [Discovery\n Document](https://developers.google.com/discovery/v1/reference/apis) as\n `{var}`.\n\n If a variable contains multiple path segments, such as `\"{var=foo/*}\"`\n or `\"{var=**}\"`, when such a variable is expanded into a URL path on the\n client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded.\n The server side does the reverse decoding, except \"%2F\" and \"%2f\" are left\n unchanged. Such variables show up in the\n [Discovery\n Document](https://developers.google.com/discovery/v1/reference/apis) as\n `{+var}`.\n\n ## Using gRPC API Service Configuration\n\n gRPC API Service Configuration (service config) is a configuration language\n for configuring a gRPC service to become a user-facing product. The\n service config is simply the YAML representation of the `google.api.Service`\n proto message.\n\n As an alternative to annotating your proto file, you can configure gRPC\n transcoding in your service config YAML files. You do this by specifying a\n `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same\n effect as the proto annotation. This can be particularly useful if you\n have a proto that is reused in multiple services. Note that any transcoding\n specified in the service config will override any matching transcoding\n configuration in the proto.\n\n Example:\n\n http:\n rules:\n # Selects a gRPC method and applies HttpRule to it.\n - selector: example.v1.Messaging.GetMessage\n get: /v1/messages/{message_id}/{sub.subfield}\n\n ## Special notes\n\n When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the\n proto to JSON conversion must follow the [proto3\n specification](https://developers.google.com/protocol-buffers/docs/proto3#json).\n\n While the single segment variable follows the semantics of\n [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String\n Expansion, the multi segment variable **does not** follow RFC 6570 Section\n 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion\n does not expand special characters like `?` and `#`, which would lead\n to invalid URLs. As the result, gRPC Transcoding uses a custom encoding\n for multi segment variables.\n\n The path variables **must not** refer to any repeated or mapped field,\n because client libraries are not capable of handling such variable expansion.\n\n The path variables **must not** capture the leading \"/\" character. The reason\n is that the most common use case \"{var}\" does not capture the leading \"/\"\n character. For consistency, all path variables must share the same behavior.\n\n Repeated message fields must not be mapped to URL query parameters, because\n no client library can support such complicated mapping.\n\n If an API needs to use a JSON array for request or response body, it can map\n the request or response body to a repeated field. However, some gRPC\n Transcoding implementations may not support this feature.",
|
|
87199
|
+
"name": "HttpRule",
|
|
87245
87200
|
"members": [
|
|
87246
87201
|
{
|
|
87247
87202
|
"kind": "field",
|
|
87248
|
-
"name": "
|
|
87203
|
+
"name": "selector"
|
|
87249
87204
|
},
|
|
87250
87205
|
{
|
|
87251
87206
|
"kind": "field",
|
|
87252
|
-
"name": "
|
|
87253
|
-
"type": {
|
|
87254
|
-
"text": "string"
|
|
87255
|
-
},
|
|
87256
|
-
"default": "'CubeEntity CubeEntity'"
|
|
87207
|
+
"name": "get"
|
|
87257
87208
|
},
|
|
87258
87209
|
{
|
|
87259
87210
|
"kind": "field",
|
|
87260
|
-
"name": "
|
|
87211
|
+
"name": "put"
|
|
87212
|
+
},
|
|
87213
|
+
{
|
|
87214
|
+
"kind": "field",
|
|
87215
|
+
"name": "post"
|
|
87216
|
+
},
|
|
87217
|
+
{
|
|
87218
|
+
"kind": "field",
|
|
87219
|
+
"name": "delete"
|
|
87220
|
+
},
|
|
87221
|
+
{
|
|
87222
|
+
"kind": "field",
|
|
87223
|
+
"name": "patch"
|
|
87224
|
+
},
|
|
87225
|
+
{
|
|
87226
|
+
"kind": "field",
|
|
87227
|
+
"name": "custom"
|
|
87228
|
+
},
|
|
87229
|
+
{
|
|
87230
|
+
"kind": "field",
|
|
87231
|
+
"name": "body"
|
|
87232
|
+
},
|
|
87233
|
+
{
|
|
87234
|
+
"kind": "field",
|
|
87235
|
+
"name": "responseBody"
|
|
87236
|
+
},
|
|
87237
|
+
{
|
|
87238
|
+
"kind": "field",
|
|
87239
|
+
"name": "additionalBindings"
|
|
87261
87240
|
},
|
|
87262
87241
|
{
|
|
87263
87242
|
"kind": "method",
|
|
@@ -87278,7 +87257,15 @@
|
|
|
87278
87257
|
"type": {
|
|
87279
87258
|
"text": "string"
|
|
87280
87259
|
},
|
|
87281
|
-
"default": "'
|
|
87260
|
+
"default": "'google.api.HttpRule'"
|
|
87261
|
+
},
|
|
87262
|
+
{
|
|
87263
|
+
"kind": "field",
|
|
87264
|
+
"name": "description",
|
|
87265
|
+
"type": {
|
|
87266
|
+
"text": "string"
|
|
87267
|
+
},
|
|
87268
|
+
"default": "'HttpRule # gRPC Transcoding\\n\\n gRPC Transcoding is a feature for mapping between a gRPC method and one or\\n more HTTP REST endpoints. It allows developers to build a single API service\\n that supports both gRPC APIs and REST APIs. Many systems, including [Google\\n APIs](https://github.com/googleapis/googleapis),\\n [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC\\n Gateway](https://github.com/grpc-ecosystem/grpc-gateway),\\n and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature\\n and use it for large scale production services.\\n\\n `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies\\n how different portions of the gRPC request message are mapped to the URL\\n path, URL query parameters, and HTTP request body. It also controls how the\\n gRPC response message is mapped to the HTTP response body. `HttpRule` is\\n typically specified as an `google.api.http` annotation on the gRPC method.\\n\\n Each mapping specifies a URL path template and an HTTP method. The path\\n template may refer to one or more fields in the gRPC request message, as long\\n as each field is a non-repeated field with a primitive (non-message) type.\\n The path template controls how fields of the request message are mapped to\\n the URL path.\\n\\n Example:\\n\\n service Messaging {\\n rpc GetMessage(GetMessageRequest) returns (Message) {\\n option (google.api.http) = {\\n get: \"/v1/{name=messages/*}\"\\n };\\n }\\n }\\n message GetMessageRequest {\\n string name = 1; // Mapped to URL path.\\n }\\n message Message {\\n string text = 1; // The resource content.\\n }\\n\\n This enables an HTTP REST to gRPC mapping as below:\\n\\n HTTP | gRPC\\n -----|-----\\n `GET /v1/messages/123456` | `GetMessage(name: \"messages/123456\")`\\n\\n Any fields in the request message which are not bound by the path template\\n automatically become HTTP query parameters if there is no HTTP request body.\\n For example:\\n\\n service Messaging {\\n rpc GetMessage(GetMessageRequest) returns (Message) {\\n option (google.api.http) = {\\n get:\"/v1/messages/{message_id}\"\\n };\\n }\\n }\\n message GetMessageRequest {\\n message SubMessage {\\n string subfield = 1;\\n }\\n string message_id = 1; // Mapped to URL path.\\n int64 revision = 2; // Mapped to URL query parameter `revision`.\\n SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`.\\n }\\n\\n This enables a HTTP JSON to RPC mapping as below:\\n\\n HTTP | gRPC\\n -----|-----\\n `GET /v1/messages/123456?revision=2&sub.subfield=foo` |\\n `GetMessage(message_id: \"123456\" revision: 2 sub: SubMessage(subfield:\\n \"foo\"))`\\n\\n Note that fields which are mapped to URL query parameters must have a\\n primitive type or a repeated primitive type or a non-repeated message type.\\n In the case of a repeated type, the parameter can be repeated in the URL\\n as `...?param=A¶m=B`. In the case of a message type, each field of the\\n message is mapped to a separate parameter, such as\\n `...?foo.a=A&foo.b=B&foo.c=C`.\\n\\n For HTTP methods that allow a request body, the `body` field\\n specifies the mapping. Consider a REST update method on the\\n message resource collection:\\n\\n service Messaging {\\n rpc UpdateMessage(UpdateMessageRequest) returns (Message) {\\n option (google.api.http) = {\\n patch: \"/v1/messages/{message_id}\"\\n body: \"message\"\\n };\\n }\\n }\\n message UpdateMessageRequest {\\n string message_id = 1; // mapped to the URL\\n Message message = 2; // mapped to the body\\n }\\n\\n The following HTTP JSON to RPC mapping is enabled, where the\\n representation of the JSON in the request body is determined by\\n protos JSON encoding:\\n\\n HTTP | gRPC\\n -----|-----\\n `PATCH /v1/messages/123456 { \"text\": \"Hi!\" }` | `UpdateMessage(message_id:\\n \"123456\" message { text: \"Hi!\" })`\\n\\n The special name `*` can be used in the body mapping to define that\\n every field not bound by the path template should be mapped to the\\n request body. This enables the following alternative definition of\\n the update method:\\n\\n service Messaging {\\n rpc UpdateMessage(Message) returns (Message) {\\n option (google.api.http) = {\\n patch: \"/v1/messages/{message_id}\"\\n body: \"*\"\\n };\\n }\\n }\\n message Message {\\n string message_id = 1;\\n string text = 2;\\n }\\n\\n\\n The following HTTP JSON to RPC mapping is enabled:\\n\\n HTTP | gRPC\\n -----|-----\\n `PATCH /v1/messages/123456 { \"text\": \"Hi!\" }` | `UpdateMessage(message_id:\\n \"123456\" text: \"Hi!\")`\\n\\n Note that when using `*` in the body mapping, it is not possible to\\n have HTTP parameters, as all fields not bound by the path end in\\n the body. This makes this option more rarely used in practice when\\n defining REST APIs. The common usage of `*` is in custom methods\\n which don\\'t use the URL at all for transferring data.\\n\\n It is possible to define multiple HTTP methods for one RPC by using\\n the `additional_bindings` option. Example:\\n\\n service Messaging {\\n rpc GetMessage(GetMessageRequest) returns (Message) {\\n option (google.api.http) = {\\n get: \"/v1/messages/{message_id}\"\\n additional_bindings {\\n get: \"/v1/users/{user_id}/messages/{message_id}\"\\n }\\n };\\n }\\n }\\n message GetMessageRequest {\\n string message_id = 1;\\n string user_id = 2;\\n }\\n\\n This enables the following two alternative HTTP JSON to RPC mappings:\\n\\n HTTP | gRPC\\n -----|-----\\n `GET /v1/messages/123456` | `GetMessage(message_id: \"123456\")`\\n `GET /v1/users/me/messages/123456` | `GetMessage(user_id: \"me\" message_id:\\n \"123456\")`\\n\\n ## Rules for HTTP mapping\\n\\n 1. Leaf request fields (recursive expansion nested messages in the request\\n message) are classified into three categories:\\n - Fields referred by the path template. They are passed via the URL path.\\n - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They\\n are passed via the HTTP\\n request body.\\n - All other fields are passed via the URL query parameters, and the\\n parameter name is the field path in the request message. A repeated\\n field can be represented as multiple query parameters under the same\\n name.\\n 2. If [HttpRule.body][google.api.HttpRule.body] is \"*\", there is no URL\\n query parameter, all fields\\n are passed via URL path and HTTP request body.\\n 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP\\n request body, all\\n fields are passed via URL path and URL query parameters.\\n\\n ### Path template syntax\\n\\n Template = \"/\" Segments [ Verb ] ;\\n Segments = Segment { \"/\" Segment } ;\\n Segment = \"*\" | \"**\" | LITERAL | Variable ;\\n Variable = \"{\" FieldPath [ \"=\" Segments ] \"}\" ;\\n FieldPath = IDENT { \".\" IDENT } ;\\n Verb = \":\" LITERAL ;\\n\\n The syntax `*` matches a single URL path segment. The syntax `**` matches\\n zero or more URL path segments, which must be the last part of the URL path\\n except the `Verb`.\\n\\n The syntax `Variable` matches part of the URL path as specified by its\\n template. A variable template must not contain other variables. If a variable\\n matches a single path segment, its template may be omitted, e.g. `{var}`\\n is equivalent to `{var=*}`.\\n\\n The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL`\\n contains any reserved character, such characters should be percent-encoded\\n before the matching.\\n\\n If a variable contains exactly one path segment, such as `\"{var}\"` or\\n `\"{var=*}\"`, when such a variable is expanded into a URL path on the client\\n side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The\\n server side does the reverse decoding. Such variables show up in the\\n [Discovery\\n Document](https://developers.google.com/discovery/v1/reference/apis) as\\n `{var}`.\\n\\n If a variable contains multiple path segments, such as `\"{var=foo/*}\"`\\n or `\"{var=**}\"`, when such a variable is expanded into a URL path on the\\n client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded.\\n The server side does the reverse decoding, except \"%2F\" and \"%2f\" are left\\n unchanged. Such variables show up in the\\n [Discovery\\n Document](https://developers.google.com/discovery/v1/reference/apis) as\\n `{+var}`.\\n\\n ## Using gRPC API Service Configuration\\n\\n gRPC API Service Configuration (service config) is a configuration language\\n for configuring a gRPC service to become a user-facing product. The\\n service config is simply the YAML representation of the `google.api.Service`\\n proto message.\\n\\n As an alternative to annotating your proto file, you can configure gRPC\\n transcoding in your service config YAML files. You do this by specifying a\\n `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same\\n effect as the proto annotation. This can be particularly useful if you\\n have a proto that is reused in multiple services. Note that any transcoding\\n specified in the service config will override any matching transcoding\\n configuration in the proto.\\n\\n Example:\\n\\n http:\\n rules:\\n # Selects a gRPC method and applies HttpRule to it.\\n - selector: example.v1.Messaging.GetMessage\\n get: /v1/messages/{message_id}/{sub.subfield}\\n\\n ## Special notes\\n\\n When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the\\n proto to JSON conversion must follow the [proto3\\n specification](https://developers.google.com/protocol-buffers/docs/proto3#json).\\n\\n While the single segment variable follows the semantics of\\n [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String\\n Expansion, the multi segment variable **does not** follow RFC 6570 Section\\n 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion\\n does not expand special characters like `?` and `#`, which would lead\\n to invalid URLs. As the result, gRPC Transcoding uses a custom encoding\\n for multi segment variables.\\n\\n The path variables **must not** refer to any repeated or mapped field,\\n because client libraries are not capable of handling such variable expansion.\\n\\n The path variables **must not** capture the leading \"/\" character. The reason\\n is that the most common use case \"{var}\" does not capture the leading \"/\"\\n character. For consistency, all path variables must share the same behavior.\\n\\n Repeated message fields must not be mapped to URL query parameters, because\\n no client library can support such complicated mapping.\\n\\n If an API needs to use a JSON array for request or response body, it can map\\n the request or response body to a repeated field. However, some gRPC\\n Transcoding implementations may not support this feature.'"
|
|
87282
87269
|
},
|
|
87283
87270
|
{
|
|
87284
87271
|
"kind": "field",
|
|
@@ -87286,22 +87273,57 @@
|
|
|
87286
87273
|
"type": {
|
|
87287
87274
|
"text": "array"
|
|
87288
87275
|
},
|
|
87289
|
-
"default": "[ { fieldName: '
|
|
87276
|
+
"default": "[ { fieldName: 'selector', protoName: 'selector', FieldConstructor: STRING, constraints: {}, description: 'Selects a method to which this rule applies.\\n\\n Refer to [selector][google.api.DocumentationRule.selector] for syntax\\n details.', }, { fieldName: 'get', protoName: 'get', FieldConstructor: STRING, constraints: {}, description: 'Maps to HTTP GET. Used for listing and getting information about\\n resources.', }, { fieldName: 'put', protoName: 'put', FieldConstructor: STRING, constraints: {}, description: 'Maps to HTTP PUT. Used for replacing a resource.', }, { fieldName: 'post', protoName: 'post', FieldConstructor: STRING, constraints: {}, description: 'Maps to HTTP POST. Used for creating a resource or performing an action.', }, { fieldName: 'delete', protoName: 'delete', FieldConstructor: STRING, constraints: {}, description: 'Maps to HTTP DELETE. Used for deleting a resource.', }, { fieldName: 'patch', protoName: 'patch', FieldConstructor: STRING, constraints: {}, description: 'Maps to HTTP PATCH. Used for updating a resource.', }, { fieldName: 'custom', protoName: 'custom', FieldConstructor: GoogleApiCustomHttpPattern, constraints: {}, description: 'The custom pattern is used for specifying an HTTP method that is not\\n included in the `pattern` field, such as HEAD, or \"*\" to leave the\\n HTTP method unspecified for this rule. The wild-card rule is useful\\n for services that provide content to Web (HTML) clients.', }, { fieldName: 'body', protoName: 'body', FieldConstructor: STRING, constraints: {}, description: 'The name of the request field whose value is mapped to the HTTP request\\n body, or `*` for mapping all request fields not captured by the path\\n pattern to the HTTP body, or omitted for not having any HTTP request body.\\n\\n NOTE: the referred field must be present at the top-level of the request\\n message type.', }, { fieldName: 'responseBody', protoName: 'response_body', FieldConstructor: STRING, constraints: {}, description: 'Optional. The name of the response field whose value is mapped to the HTTP\\n response body. When omitted, the entire response message will be used\\n as the HTTP response body.\\n\\n NOTE: The referred field must be present at the top-level of the response\\n message type.', }, { fieldName: 'additionalBindings', protoName: 'additional_bindings', FieldConstructor: HttpRule, constraints: {}, description: 'Additional HTTP bindings for the selector. Nested bindings must\\n not contain an `additional_bindings` field themselves (that is,\\n the nesting may only be one level deep).', }, ]"
|
|
87290
87277
|
},
|
|
87291
87278
|
{
|
|
87292
87279
|
"kind": "field",
|
|
87293
|
-
"name": "
|
|
87294
|
-
"default": "new STRING(undefined, this, '
|
|
87280
|
+
"name": "_selector",
|
|
87281
|
+
"default": "new STRING(undefined, this, 'selector')"
|
|
87295
87282
|
},
|
|
87296
87283
|
{
|
|
87297
87284
|
"kind": "field",
|
|
87298
|
-
"name": "
|
|
87299
|
-
"default": "new STRING(undefined, this, '
|
|
87285
|
+
"name": "_get",
|
|
87286
|
+
"default": "new STRING(undefined, this, 'get')"
|
|
87300
87287
|
},
|
|
87301
87288
|
{
|
|
87302
87289
|
"kind": "field",
|
|
87303
|
-
"name": "
|
|
87304
|
-
"default": "new
|
|
87290
|
+
"name": "_put",
|
|
87291
|
+
"default": "new STRING(undefined, this, 'put')"
|
|
87292
|
+
},
|
|
87293
|
+
{
|
|
87294
|
+
"kind": "field",
|
|
87295
|
+
"name": "_post",
|
|
87296
|
+
"default": "new STRING(undefined, this, 'post')"
|
|
87297
|
+
},
|
|
87298
|
+
{
|
|
87299
|
+
"kind": "field",
|
|
87300
|
+
"name": "_delete",
|
|
87301
|
+
"default": "new STRING(undefined, this, 'delete')"
|
|
87302
|
+
},
|
|
87303
|
+
{
|
|
87304
|
+
"kind": "field",
|
|
87305
|
+
"name": "_patch",
|
|
87306
|
+
"default": "new STRING(undefined, this, 'patch')"
|
|
87307
|
+
},
|
|
87308
|
+
{
|
|
87309
|
+
"kind": "field",
|
|
87310
|
+
"name": "_custom",
|
|
87311
|
+
"default": "new GoogleApiCustomHttpPattern(undefined, this, 'custom')"
|
|
87312
|
+
},
|
|
87313
|
+
{
|
|
87314
|
+
"kind": "field",
|
|
87315
|
+
"name": "_body",
|
|
87316
|
+
"default": "new STRING(undefined, this, 'body')"
|
|
87317
|
+
},
|
|
87318
|
+
{
|
|
87319
|
+
"kind": "field",
|
|
87320
|
+
"name": "_responseBody",
|
|
87321
|
+
"default": "new STRING(undefined, this, 'responseBody')"
|
|
87322
|
+
},
|
|
87323
|
+
{
|
|
87324
|
+
"kind": "field",
|
|
87325
|
+
"name": "_additionalBindings",
|
|
87326
|
+
"default": "new ARRAY(undefined, this, 'additionalBindings')"
|
|
87305
87327
|
},
|
|
87306
87328
|
{
|
|
87307
87329
|
"kind": "field",
|
|
@@ -87309,7 +87331,7 @@
|
|
|
87309
87331
|
"type": {
|
|
87310
87332
|
"text": "object"
|
|
87311
87333
|
},
|
|
87312
|
-
"default": "{
|
|
87334
|
+
"default": "{}"
|
|
87313
87335
|
},
|
|
87314
87336
|
{
|
|
87315
87337
|
"kind": "field",
|
|
@@ -88147,76 +88169,44 @@
|
|
|
88147
88169
|
"exports": [
|
|
88148
88170
|
{
|
|
88149
88171
|
"kind": "js",
|
|
88150
|
-
"name": "
|
|
88172
|
+
"name": "HttpRule",
|
|
88151
88173
|
"declaration": {
|
|
88152
|
-
"name": "
|
|
88153
|
-
"module": "dist/protoc-gen-open-models/
|
|
88174
|
+
"name": "HttpRule",
|
|
88175
|
+
"module": "dist/protoc-gen-open-models/google/api/HttpRule.js"
|
|
88154
88176
|
}
|
|
88155
88177
|
}
|
|
88156
88178
|
]
|
|
88157
88179
|
},
|
|
88158
88180
|
{
|
|
88159
88181
|
"kind": "javascript-module",
|
|
88160
|
-
"path": "dist/protoc-gen-open-models/
|
|
88182
|
+
"path": "dist/protoc-gen-open-models/google/api/HttpRule.js.map",
|
|
88161
88183
|
"declarations": [],
|
|
88162
88184
|
"exports": []
|
|
88163
88185
|
},
|
|
88164
88186
|
{
|
|
88165
88187
|
"kind": "javascript-module",
|
|
88166
|
-
"path": "dist/protoc-gen-open-models/furo/cube/
|
|
88188
|
+
"path": "dist/protoc-gen-open-models/furo/cube/Colour.js",
|
|
88167
88189
|
"declarations": [
|
|
88168
88190
|
{
|
|
88169
88191
|
"kind": "class",
|
|
88170
|
-
"description": "",
|
|
88171
|
-
"name": "
|
|
88192
|
+
"description": "Colour\n Colour is a rgba color",
|
|
88193
|
+
"name": "Colour",
|
|
88172
88194
|
"members": [
|
|
88173
88195
|
{
|
|
88174
88196
|
"kind": "field",
|
|
88175
|
-
"name": "
|
|
88176
|
-
"default": "new Fetcher(API_OPTIONS, 'GET', '/v1/cubes')"
|
|
88197
|
+
"name": "red"
|
|
88177
88198
|
},
|
|
88178
88199
|
{
|
|
88179
88200
|
"kind": "field",
|
|
88180
|
-
"name": "
|
|
88181
|
-
"default": "new Fetcher(API_OPTIONS, 'GET', '/v1/cubes/{cube_id}')"
|
|
88201
|
+
"name": "green"
|
|
88182
88202
|
},
|
|
88183
88203
|
{
|
|
88184
88204
|
"kind": "field",
|
|
88185
|
-
"name": "
|
|
88186
|
-
|
|
88187
|
-
}
|
|
88188
|
-
]
|
|
88189
|
-
}
|
|
88190
|
-
],
|
|
88191
|
-
"exports": [
|
|
88192
|
-
{
|
|
88193
|
-
"kind": "js",
|
|
88194
|
-
"name": "CubeService",
|
|
88195
|
-
"declaration": {
|
|
88196
|
-
"name": "CubeService",
|
|
88197
|
-
"module": "dist/protoc-gen-open-models/furo/cube/CubeService.js"
|
|
88198
|
-
}
|
|
88199
|
-
}
|
|
88200
|
-
]
|
|
88201
|
-
},
|
|
88202
|
-
{
|
|
88203
|
-
"kind": "javascript-module",
|
|
88204
|
-
"path": "dist/protoc-gen-open-models/furo/cube/CubeService.js.map",
|
|
88205
|
-
"declarations": [],
|
|
88206
|
-
"exports": []
|
|
88207
|
-
},
|
|
88208
|
-
{
|
|
88209
|
-
"kind": "javascript-module",
|
|
88210
|
-
"path": "dist/protoc-gen-open-models/furo/cube/CubeServiceGetListRequest.js",
|
|
88211
|
-
"declarations": [
|
|
88212
|
-
{
|
|
88213
|
-
"kind": "class",
|
|
88214
|
-
"description": "CubeServiceGetListRequest",
|
|
88215
|
-
"name": "CubeServiceGetListRequest",
|
|
88216
|
-
"members": [
|
|
88205
|
+
"name": "blue"
|
|
88206
|
+
},
|
|
88217
88207
|
{
|
|
88218
88208
|
"kind": "field",
|
|
88219
|
-
"name": "
|
|
88209
|
+
"name": "alpha"
|
|
88220
88210
|
},
|
|
88221
88211
|
{
|
|
88222
88212
|
"kind": "method",
|
|
@@ -88237,7 +88227,7 @@
|
|
|
88237
88227
|
"type": {
|
|
88238
88228
|
"text": "string"
|
|
88239
88229
|
},
|
|
88240
|
-
"default": "'furo.cube.
|
|
88230
|
+
"default": "'furo.cube.Colour'"
|
|
88241
88231
|
},
|
|
88242
88232
|
{
|
|
88243
88233
|
"kind": "field",
|
|
@@ -88245,7 +88235,7 @@
|
|
|
88245
88235
|
"type": {
|
|
88246
88236
|
"text": "string"
|
|
88247
88237
|
},
|
|
88248
|
-
"default": "'
|
|
88238
|
+
"default": "'Colour Colour is a rgba color'"
|
|
88249
88239
|
},
|
|
88250
88240
|
{
|
|
88251
88241
|
"kind": "field",
|
|
@@ -88253,12 +88243,27 @@
|
|
|
88253
88243
|
"type": {
|
|
88254
88244
|
"text": "array"
|
|
88255
88245
|
},
|
|
88256
|
-
"default": "[ { fieldName: '
|
|
88246
|
+
"default": "[ { fieldName: 'red', protoName: 'red', FieldConstructor: INT32, constraints: { maximum: 255 }, description: 'the red part of the color', }, { fieldName: 'green', protoName: 'green', FieldConstructor: INT32, constraints: { maximum: 255 }, description: 'the green part of the color', }, { fieldName: 'blue', protoName: 'blue', FieldConstructor: INT32, constraints: { maximum: 255 }, description: 'the blue part of the color', }, { fieldName: 'alpha', protoName: 'alpha', FieldConstructor: FLOAT, constraints: { maximum: 1 }, description: '', }, ]"
|
|
88257
88247
|
},
|
|
88258
88248
|
{
|
|
88259
88249
|
"kind": "field",
|
|
88260
|
-
"name": "
|
|
88261
|
-
"default": "new
|
|
88250
|
+
"name": "_red",
|
|
88251
|
+
"default": "new INT32(undefined, this, 'red')"
|
|
88252
|
+
},
|
|
88253
|
+
{
|
|
88254
|
+
"kind": "field",
|
|
88255
|
+
"name": "_green",
|
|
88256
|
+
"default": "new INT32(undefined, this, 'green')"
|
|
88257
|
+
},
|
|
88258
|
+
{
|
|
88259
|
+
"kind": "field",
|
|
88260
|
+
"name": "_blue",
|
|
88261
|
+
"default": "new INT32(undefined, this, 'blue')"
|
|
88262
|
+
},
|
|
88263
|
+
{
|
|
88264
|
+
"kind": "field",
|
|
88265
|
+
"name": "_alpha",
|
|
88266
|
+
"default": "new FLOAT(undefined, this, 'alpha')"
|
|
88262
88267
|
},
|
|
88263
88268
|
{
|
|
88264
88269
|
"kind": "field",
|
|
@@ -88266,7 +88271,7 @@
|
|
|
88266
88271
|
"type": {
|
|
88267
88272
|
"text": "object"
|
|
88268
88273
|
},
|
|
88269
|
-
"default": "{}"
|
|
88274
|
+
"default": "{ alpha: 1.0, blue: 88.0, green: 34.0, red: 22.0, }"
|
|
88270
88275
|
},
|
|
88271
88276
|
{
|
|
88272
88277
|
"kind": "field",
|
|
@@ -89104,32 +89109,48 @@
|
|
|
89104
89109
|
"exports": [
|
|
89105
89110
|
{
|
|
89106
89111
|
"kind": "js",
|
|
89107
|
-
"name": "
|
|
89112
|
+
"name": "Colour",
|
|
89108
89113
|
"declaration": {
|
|
89109
|
-
"name": "
|
|
89110
|
-
"module": "dist/protoc-gen-open-models/furo/cube/
|
|
89114
|
+
"name": "Colour",
|
|
89115
|
+
"module": "dist/protoc-gen-open-models/furo/cube/Colour.js"
|
|
89111
89116
|
}
|
|
89112
89117
|
}
|
|
89113
89118
|
]
|
|
89114
89119
|
},
|
|
89115
89120
|
{
|
|
89116
89121
|
"kind": "javascript-module",
|
|
89117
|
-
"path": "dist/protoc-gen-open-models/furo/cube/
|
|
89122
|
+
"path": "dist/protoc-gen-open-models/furo/cube/Colour.js.map",
|
|
89118
89123
|
"declarations": [],
|
|
89119
89124
|
"exports": []
|
|
89120
89125
|
},
|
|
89121
89126
|
{
|
|
89122
89127
|
"kind": "javascript-module",
|
|
89123
|
-
"path": "dist/protoc-gen-open-models/furo/cube/
|
|
89128
|
+
"path": "dist/protoc-gen-open-models/furo/cube/CubeDefinition.js",
|
|
89124
89129
|
"declarations": [
|
|
89125
89130
|
{
|
|
89126
89131
|
"kind": "class",
|
|
89127
|
-
"description": "
|
|
89128
|
-
"name": "
|
|
89132
|
+
"description": "CubeDefinition\n CubeDefinition is a definition of a cube.",
|
|
89133
|
+
"name": "CubeDefinition",
|
|
89129
89134
|
"members": [
|
|
89130
89135
|
{
|
|
89131
89136
|
"kind": "field",
|
|
89132
|
-
"name": "
|
|
89137
|
+
"name": "length"
|
|
89138
|
+
},
|
|
89139
|
+
{
|
|
89140
|
+
"kind": "field",
|
|
89141
|
+
"name": "breadth"
|
|
89142
|
+
},
|
|
89143
|
+
{
|
|
89144
|
+
"kind": "field",
|
|
89145
|
+
"name": "height"
|
|
89146
|
+
},
|
|
89147
|
+
{
|
|
89148
|
+
"kind": "field",
|
|
89149
|
+
"name": "colour"
|
|
89150
|
+
},
|
|
89151
|
+
{
|
|
89152
|
+
"kind": "field",
|
|
89153
|
+
"name": "material"
|
|
89133
89154
|
},
|
|
89134
89155
|
{
|
|
89135
89156
|
"kind": "method",
|
|
@@ -89150,7 +89171,7 @@
|
|
|
89150
89171
|
"type": {
|
|
89151
89172
|
"text": "string"
|
|
89152
89173
|
},
|
|
89153
|
-
"default": "'furo.cube.
|
|
89174
|
+
"default": "'furo.cube.CubeDefinition'"
|
|
89154
89175
|
},
|
|
89155
89176
|
{
|
|
89156
89177
|
"kind": "field",
|
|
@@ -89158,7 +89179,7 @@
|
|
|
89158
89179
|
"type": {
|
|
89159
89180
|
"text": "string"
|
|
89160
89181
|
},
|
|
89161
|
-
"default": "'
|
|
89182
|
+
"default": "'CubeDefinition CubeDefinition is a definition of a cube.'"
|
|
89162
89183
|
},
|
|
89163
89184
|
{
|
|
89164
89185
|
"kind": "field",
|
|
@@ -89166,12 +89187,32 @@
|
|
|
89166
89187
|
"type": {
|
|
89167
89188
|
"text": "array"
|
|
89168
89189
|
},
|
|
89169
|
-
"default": "[ { fieldName: '
|
|
89190
|
+
"default": "[ { fieldName: 'length', protoName: 'length', FieldConstructor: DOUBLE, constraints: { maximum: 1000, minimum: 100, required: true }, description: 'the length of the cube in cm', }, { fieldName: 'breadth', protoName: 'breadth', FieldConstructor: DOUBLE, constraints: { maximum: 1000, minimum: 100, required: true }, description: 'the breadth / width of the cube in cm', }, { fieldName: 'height', protoName: 'height', FieldConstructor: DOUBLE, constraints: { maximum: 1000, minimum: 100, required: true }, description: 'the height of the cube in cm', }, { fieldName: 'colour', protoName: 'colour', FieldConstructor: FuroCubeColour, constraints: {}, description: 'the color of the cube', }, { fieldName: 'material', protoName: 'material', FieldConstructor: (ENUM), constraints: {}, description: 'The material the cube is made of', }, ]"
|
|
89170
89191
|
},
|
|
89171
89192
|
{
|
|
89172
89193
|
"kind": "field",
|
|
89173
|
-
"name": "
|
|
89174
|
-
"default": "new
|
|
89194
|
+
"name": "_length",
|
|
89195
|
+
"default": "new DOUBLE(undefined, this, 'length')"
|
|
89196
|
+
},
|
|
89197
|
+
{
|
|
89198
|
+
"kind": "field",
|
|
89199
|
+
"name": "_breadth",
|
|
89200
|
+
"default": "new DOUBLE(undefined, this, 'breadth')"
|
|
89201
|
+
},
|
|
89202
|
+
{
|
|
89203
|
+
"kind": "field",
|
|
89204
|
+
"name": "_height",
|
|
89205
|
+
"default": "new DOUBLE(undefined, this, 'height')"
|
|
89206
|
+
},
|
|
89207
|
+
{
|
|
89208
|
+
"kind": "field",
|
|
89209
|
+
"name": "_colour",
|
|
89210
|
+
"default": "new FuroCubeColour(undefined, this, 'colour')"
|
|
89211
|
+
},
|
|
89212
|
+
{
|
|
89213
|
+
"kind": "field",
|
|
89214
|
+
"name": "_material",
|
|
89215
|
+
"default": "new ENUM(undefined, FuroCubeMaterials, FuroCubeMaterials.MATERIALS_UNSPECIFIED, this, 'material')"
|
|
89175
89216
|
},
|
|
89176
89217
|
{
|
|
89177
89218
|
"kind": "field",
|
|
@@ -89179,7 +89220,7 @@
|
|
|
89179
89220
|
"type": {
|
|
89180
89221
|
"text": "object"
|
|
89181
89222
|
},
|
|
89182
|
-
"default": "{}"
|
|
89223
|
+
"default": "{ breadth: 100.0, height: 100.0, length: 100.0, }"
|
|
89183
89224
|
},
|
|
89184
89225
|
{
|
|
89185
89226
|
"kind": "field",
|
|
@@ -90017,36 +90058,44 @@
|
|
|
90017
90058
|
"exports": [
|
|
90018
90059
|
{
|
|
90019
90060
|
"kind": "js",
|
|
90020
|
-
"name": "
|
|
90061
|
+
"name": "CubeDefinition",
|
|
90021
90062
|
"declaration": {
|
|
90022
|
-
"name": "
|
|
90023
|
-
"module": "dist/protoc-gen-open-models/furo/cube/
|
|
90063
|
+
"name": "CubeDefinition",
|
|
90064
|
+
"module": "dist/protoc-gen-open-models/furo/cube/CubeDefinition.js"
|
|
90024
90065
|
}
|
|
90025
90066
|
}
|
|
90026
90067
|
]
|
|
90027
90068
|
},
|
|
90028
90069
|
{
|
|
90029
90070
|
"kind": "javascript-module",
|
|
90030
|
-
"path": "dist/protoc-gen-open-models/furo/cube/
|
|
90071
|
+
"path": "dist/protoc-gen-open-models/furo/cube/CubeDefinition.js.map",
|
|
90031
90072
|
"declarations": [],
|
|
90032
90073
|
"exports": []
|
|
90033
90074
|
},
|
|
90034
90075
|
{
|
|
90035
90076
|
"kind": "javascript-module",
|
|
90036
|
-
"path": "dist/protoc-gen-open-models/furo/cube/
|
|
90077
|
+
"path": "dist/protoc-gen-open-models/furo/cube/CubeEntity.js",
|
|
90037
90078
|
"declarations": [
|
|
90038
90079
|
{
|
|
90039
90080
|
"kind": "class",
|
|
90040
|
-
"description": "
|
|
90041
|
-
"name": "
|
|
90081
|
+
"description": "CubeEntity\n CubeEntity",
|
|
90082
|
+
"name": "CubeEntity",
|
|
90042
90083
|
"members": [
|
|
90043
90084
|
{
|
|
90044
90085
|
"kind": "field",
|
|
90045
|
-
"name": "
|
|
90086
|
+
"name": "displayName"
|
|
90046
90087
|
},
|
|
90047
90088
|
{
|
|
90048
90089
|
"kind": "field",
|
|
90049
|
-
"name": "
|
|
90090
|
+
"name": "description",
|
|
90091
|
+
"type": {
|
|
90092
|
+
"text": "string"
|
|
90093
|
+
},
|
|
90094
|
+
"default": "'CubeEntity CubeEntity'"
|
|
90095
|
+
},
|
|
90096
|
+
{
|
|
90097
|
+
"kind": "field",
|
|
90098
|
+
"name": "cube"
|
|
90050
90099
|
},
|
|
90051
90100
|
{
|
|
90052
90101
|
"kind": "method",
|
|
@@ -90067,33 +90116,30 @@
|
|
|
90067
90116
|
"type": {
|
|
90068
90117
|
"text": "string"
|
|
90069
90118
|
},
|
|
90070
|
-
"default": "'furo.cube.
|
|
90119
|
+
"default": "'furo.cube.CubeEntity'"
|
|
90071
90120
|
},
|
|
90072
90121
|
{
|
|
90073
90122
|
"kind": "field",
|
|
90074
|
-
"name": "
|
|
90123
|
+
"name": "nodeFields",
|
|
90075
90124
|
"type": {
|
|
90076
|
-
"text": "
|
|
90125
|
+
"text": "array"
|
|
90077
90126
|
},
|
|
90078
|
-
"default": "'
|
|
90127
|
+
"default": "[ { fieldName: 'displayName', protoName: 'display_name', FieldConstructor: STRING, constraints: { read_only: true }, description: 'human-readable name for the cube entity', }, { fieldName: 'description', protoName: 'description', FieldConstructor: STRING, constraints: {}, description: 'short and nice description of the cube', }, { fieldName: 'cube', protoName: 'cube', FieldConstructor: FuroCubeCubeDefinition, constraints: {}, description: 'Definition of the cube', }, ]"
|
|
90079
90128
|
},
|
|
90080
90129
|
{
|
|
90081
90130
|
"kind": "field",
|
|
90082
|
-
"name": "
|
|
90083
|
-
"
|
|
90084
|
-
"text": "array"
|
|
90085
|
-
},
|
|
90086
|
-
"default": "[ { fieldName: 'cubeId', protoName: 'cube_id', FieldConstructor: STRING, constraints: {}, description: 'ID of the cube', }, { fieldName: 'fields', protoName: 'fields', FieldConstructor: STRING, constraints: {}, description: 'Partial Response, https://cloud.google.com/apis/design/design_patterns#partial_response\\n use wildcard * to get all fields', }, ]"
|
|
90131
|
+
"name": "_displayName",
|
|
90132
|
+
"default": "new STRING(undefined, this, 'displayName')"
|
|
90087
90133
|
},
|
|
90088
90134
|
{
|
|
90089
90135
|
"kind": "field",
|
|
90090
|
-
"name": "
|
|
90091
|
-
"default": "new STRING(undefined, this, '
|
|
90136
|
+
"name": "_description",
|
|
90137
|
+
"default": "new STRING(undefined, this, 'description')"
|
|
90092
90138
|
},
|
|
90093
90139
|
{
|
|
90094
90140
|
"kind": "field",
|
|
90095
|
-
"name": "
|
|
90096
|
-
"default": "new
|
|
90141
|
+
"name": "_cube",
|
|
90142
|
+
"default": "new FuroCubeCubeDefinition(undefined, this, 'cube')"
|
|
90097
90143
|
},
|
|
90098
90144
|
{
|
|
90099
90145
|
"kind": "field",
|
|
@@ -90101,7 +90147,7 @@
|
|
|
90101
90147
|
"type": {
|
|
90102
90148
|
"text": "object"
|
|
90103
90149
|
},
|
|
90104
|
-
"default": "{
|
|
90150
|
+
"default": "{ cube: { length: 222 }, }"
|
|
90105
90151
|
},
|
|
90106
90152
|
{
|
|
90107
90153
|
"kind": "field",
|
|
@@ -90939,32 +90985,76 @@
|
|
|
90939
90985
|
"exports": [
|
|
90940
90986
|
{
|
|
90941
90987
|
"kind": "js",
|
|
90942
|
-
"name": "
|
|
90988
|
+
"name": "CubeEntity",
|
|
90943
90989
|
"declaration": {
|
|
90944
|
-
"name": "
|
|
90945
|
-
"module": "dist/protoc-gen-open-models/furo/cube/
|
|
90990
|
+
"name": "CubeEntity",
|
|
90991
|
+
"module": "dist/protoc-gen-open-models/furo/cube/CubeEntity.js"
|
|
90946
90992
|
}
|
|
90947
90993
|
}
|
|
90948
90994
|
]
|
|
90949
90995
|
},
|
|
90950
90996
|
{
|
|
90951
90997
|
"kind": "javascript-module",
|
|
90952
|
-
"path": "dist/protoc-gen-open-models/furo/cube/
|
|
90998
|
+
"path": "dist/protoc-gen-open-models/furo/cube/CubeEntity.js.map",
|
|
90953
90999
|
"declarations": [],
|
|
90954
91000
|
"exports": []
|
|
90955
91001
|
},
|
|
90956
91002
|
{
|
|
90957
91003
|
"kind": "javascript-module",
|
|
90958
|
-
"path": "dist/protoc-gen-open-models/furo/cube/
|
|
91004
|
+
"path": "dist/protoc-gen-open-models/furo/cube/CubeService.js",
|
|
90959
91005
|
"declarations": [
|
|
90960
91006
|
{
|
|
90961
91007
|
"kind": "class",
|
|
90962
|
-
"description": "
|
|
90963
|
-
"name": "
|
|
91008
|
+
"description": "",
|
|
91009
|
+
"name": "CubeService",
|
|
90964
91010
|
"members": [
|
|
90965
91011
|
{
|
|
90966
91012
|
"kind": "field",
|
|
90967
|
-
"name": "
|
|
91013
|
+
"name": "GetList",
|
|
91014
|
+
"default": "new Fetcher(API_OPTIONS, 'GET', '/v1/cubes')"
|
|
91015
|
+
},
|
|
91016
|
+
{
|
|
91017
|
+
"kind": "field",
|
|
91018
|
+
"name": "Get",
|
|
91019
|
+
"default": "new Fetcher(API_OPTIONS, 'GET', '/v1/cubes/{cube_id}')"
|
|
91020
|
+
},
|
|
91021
|
+
{
|
|
91022
|
+
"kind": "field",
|
|
91023
|
+
"name": "Update",
|
|
91024
|
+
"default": "new Fetcher(API_OPTIONS, 'PUT', '/v1/cubes/{cube_id}', 'entity')"
|
|
91025
|
+
}
|
|
91026
|
+
]
|
|
91027
|
+
}
|
|
91028
|
+
],
|
|
91029
|
+
"exports": [
|
|
91030
|
+
{
|
|
91031
|
+
"kind": "js",
|
|
91032
|
+
"name": "CubeService",
|
|
91033
|
+
"declaration": {
|
|
91034
|
+
"name": "CubeService",
|
|
91035
|
+
"module": "dist/protoc-gen-open-models/furo/cube/CubeService.js"
|
|
91036
|
+
}
|
|
91037
|
+
}
|
|
91038
|
+
]
|
|
91039
|
+
},
|
|
91040
|
+
{
|
|
91041
|
+
"kind": "javascript-module",
|
|
91042
|
+
"path": "dist/protoc-gen-open-models/furo/cube/CubeService.js.map",
|
|
91043
|
+
"declarations": [],
|
|
91044
|
+
"exports": []
|
|
91045
|
+
},
|
|
91046
|
+
{
|
|
91047
|
+
"kind": "javascript-module",
|
|
91048
|
+
"path": "dist/protoc-gen-open-models/furo/cube/CubeServiceGetListRequest.js",
|
|
91049
|
+
"declarations": [
|
|
91050
|
+
{
|
|
91051
|
+
"kind": "class",
|
|
91052
|
+
"description": "CubeServiceGetListRequest",
|
|
91053
|
+
"name": "CubeServiceGetListRequest",
|
|
91054
|
+
"members": [
|
|
91055
|
+
{
|
|
91056
|
+
"kind": "field",
|
|
91057
|
+
"name": "query"
|
|
90968
91058
|
},
|
|
90969
91059
|
{
|
|
90970
91060
|
"kind": "method",
|
|
@@ -90985,7 +91075,7 @@
|
|
|
90985
91075
|
"type": {
|
|
90986
91076
|
"text": "string"
|
|
90987
91077
|
},
|
|
90988
|
-
"default": "'furo.cube.
|
|
91078
|
+
"default": "'furo.cube.CubeServiceGetListRequest'"
|
|
90989
91079
|
},
|
|
90990
91080
|
{
|
|
90991
91081
|
"kind": "field",
|
|
@@ -90993,7 +91083,7 @@
|
|
|
90993
91083
|
"type": {
|
|
90994
91084
|
"text": "string"
|
|
90995
91085
|
},
|
|
90996
|
-
"default": "'
|
|
91086
|
+
"default": "'CubeServiceGetListRequest'"
|
|
90997
91087
|
},
|
|
90998
91088
|
{
|
|
90999
91089
|
"kind": "field",
|
|
@@ -91001,12 +91091,12 @@
|
|
|
91001
91091
|
"type": {
|
|
91002
91092
|
"text": "array"
|
|
91003
91093
|
},
|
|
91004
|
-
"default": "[ { fieldName: '
|
|
91094
|
+
"default": "[ { fieldName: 'query', protoName: 'query', FieldConstructor: STRING, constraints: {}, description: 'searches for display_name or client_number', }, ]"
|
|
91005
91095
|
},
|
|
91006
91096
|
{
|
|
91007
91097
|
"kind": "field",
|
|
91008
|
-
"name": "
|
|
91009
|
-
"default": "new
|
|
91098
|
+
"name": "_query",
|
|
91099
|
+
"default": "new STRING(undefined, this, 'query')"
|
|
91010
91100
|
},
|
|
91011
91101
|
{
|
|
91012
91102
|
"kind": "field",
|
|
@@ -91852,36 +91942,32 @@
|
|
|
91852
91942
|
"exports": [
|
|
91853
91943
|
{
|
|
91854
91944
|
"kind": "js",
|
|
91855
|
-
"name": "
|
|
91945
|
+
"name": "CubeServiceGetListRequest",
|
|
91856
91946
|
"declaration": {
|
|
91857
|
-
"name": "
|
|
91858
|
-
"module": "dist/protoc-gen-open-models/furo/cube/
|
|
91947
|
+
"name": "CubeServiceGetListRequest",
|
|
91948
|
+
"module": "dist/protoc-gen-open-models/furo/cube/CubeServiceGetListRequest.js"
|
|
91859
91949
|
}
|
|
91860
91950
|
}
|
|
91861
91951
|
]
|
|
91862
91952
|
},
|
|
91863
91953
|
{
|
|
91864
91954
|
"kind": "javascript-module",
|
|
91865
|
-
"path": "dist/protoc-gen-open-models/furo/cube/
|
|
91955
|
+
"path": "dist/protoc-gen-open-models/furo/cube/CubeServiceGetListRequest.js.map",
|
|
91866
91956
|
"declarations": [],
|
|
91867
91957
|
"exports": []
|
|
91868
91958
|
},
|
|
91869
91959
|
{
|
|
91870
91960
|
"kind": "javascript-module",
|
|
91871
|
-
"path": "dist/protoc-gen-open-models/furo/cube/
|
|
91961
|
+
"path": "dist/protoc-gen-open-models/furo/cube/CubeServiceGetListResponse.js",
|
|
91872
91962
|
"declarations": [
|
|
91873
91963
|
{
|
|
91874
91964
|
"kind": "class",
|
|
91875
|
-
"description": "
|
|
91876
|
-
"name": "
|
|
91965
|
+
"description": "CubeServiceGetListResponse",
|
|
91966
|
+
"name": "CubeServiceGetListResponse",
|
|
91877
91967
|
"members": [
|
|
91878
91968
|
{
|
|
91879
91969
|
"kind": "field",
|
|
91880
|
-
"name": "
|
|
91881
|
-
},
|
|
91882
|
-
{
|
|
91883
|
-
"kind": "field",
|
|
91884
|
-
"name": "entity"
|
|
91970
|
+
"name": "entities"
|
|
91885
91971
|
},
|
|
91886
91972
|
{
|
|
91887
91973
|
"kind": "method",
|
|
@@ -91902,7 +91988,7 @@
|
|
|
91902
91988
|
"type": {
|
|
91903
91989
|
"text": "string"
|
|
91904
91990
|
},
|
|
91905
|
-
"default": "'furo.cube.
|
|
91991
|
+
"default": "'furo.cube.CubeServiceGetListResponse'"
|
|
91906
91992
|
},
|
|
91907
91993
|
{
|
|
91908
91994
|
"kind": "field",
|
|
@@ -91910,7 +91996,7 @@
|
|
|
91910
91996
|
"type": {
|
|
91911
91997
|
"text": "string"
|
|
91912
91998
|
},
|
|
91913
|
-
"default": "'
|
|
91999
|
+
"default": "'CubeServiceGetListResponse'"
|
|
91914
92000
|
},
|
|
91915
92001
|
{
|
|
91916
92002
|
"kind": "field",
|
|
@@ -91918,17 +92004,12 @@
|
|
|
91918
92004
|
"type": {
|
|
91919
92005
|
"text": "array"
|
|
91920
92006
|
},
|
|
91921
|
-
"default": "[ { fieldName: '
|
|
91922
|
-
},
|
|
91923
|
-
{
|
|
91924
|
-
"kind": "field",
|
|
91925
|
-
"name": "_cubeId",
|
|
91926
|
-
"default": "new STRING(undefined, this, 'cubeId')"
|
|
92007
|
+
"default": "[ { fieldName: 'entities', protoName: 'entities', FieldConstructor: FuroCubeCubeEntity, constraints: {}, description: '', }, ]"
|
|
91927
92008
|
},
|
|
91928
92009
|
{
|
|
91929
92010
|
"kind": "field",
|
|
91930
|
-
"name": "
|
|
91931
|
-
"default": "new
|
|
92011
|
+
"name": "_entities",
|
|
92012
|
+
"default": "new ARRAY(undefined, this, 'entities')"
|
|
91932
92013
|
},
|
|
91933
92014
|
{
|
|
91934
92015
|
"kind": "field",
|
|
@@ -92774,32 +92855,36 @@
|
|
|
92774
92855
|
"exports": [
|
|
92775
92856
|
{
|
|
92776
92857
|
"kind": "js",
|
|
92777
|
-
"name": "
|
|
92858
|
+
"name": "CubeServiceGetListResponse",
|
|
92778
92859
|
"declaration": {
|
|
92779
|
-
"name": "
|
|
92780
|
-
"module": "dist/protoc-gen-open-models/furo/cube/
|
|
92860
|
+
"name": "CubeServiceGetListResponse",
|
|
92861
|
+
"module": "dist/protoc-gen-open-models/furo/cube/CubeServiceGetListResponse.js"
|
|
92781
92862
|
}
|
|
92782
92863
|
}
|
|
92783
92864
|
]
|
|
92784
92865
|
},
|
|
92785
92866
|
{
|
|
92786
92867
|
"kind": "javascript-module",
|
|
92787
|
-
"path": "dist/protoc-gen-open-models/furo/cube/
|
|
92868
|
+
"path": "dist/protoc-gen-open-models/furo/cube/CubeServiceGetListResponse.js.map",
|
|
92788
92869
|
"declarations": [],
|
|
92789
92870
|
"exports": []
|
|
92790
92871
|
},
|
|
92791
92872
|
{
|
|
92792
92873
|
"kind": "javascript-module",
|
|
92793
|
-
"path": "dist/protoc-gen-open-models/furo/cube/
|
|
92874
|
+
"path": "dist/protoc-gen-open-models/furo/cube/CubeServiceGetRequest.js",
|
|
92794
92875
|
"declarations": [
|
|
92795
92876
|
{
|
|
92796
92877
|
"kind": "class",
|
|
92797
|
-
"description": "
|
|
92798
|
-
"name": "
|
|
92878
|
+
"description": "CubeServiceGetRequest",
|
|
92879
|
+
"name": "CubeServiceGetRequest",
|
|
92799
92880
|
"members": [
|
|
92800
92881
|
{
|
|
92801
92882
|
"kind": "field",
|
|
92802
|
-
"name": "
|
|
92883
|
+
"name": "cubeId"
|
|
92884
|
+
},
|
|
92885
|
+
{
|
|
92886
|
+
"kind": "field",
|
|
92887
|
+
"name": "fields"
|
|
92803
92888
|
},
|
|
92804
92889
|
{
|
|
92805
92890
|
"kind": "method",
|
|
@@ -92820,7 +92905,7 @@
|
|
|
92820
92905
|
"type": {
|
|
92821
92906
|
"text": "string"
|
|
92822
92907
|
},
|
|
92823
|
-
"default": "'furo.cube.
|
|
92908
|
+
"default": "'furo.cube.CubeServiceGetRequest'"
|
|
92824
92909
|
},
|
|
92825
92910
|
{
|
|
92826
92911
|
"kind": "field",
|
|
@@ -92828,7 +92913,7 @@
|
|
|
92828
92913
|
"type": {
|
|
92829
92914
|
"text": "string"
|
|
92830
92915
|
},
|
|
92831
|
-
"default": "'
|
|
92916
|
+
"default": "'CubeServiceGetRequest'"
|
|
92832
92917
|
},
|
|
92833
92918
|
{
|
|
92834
92919
|
"kind": "field",
|
|
@@ -92836,12 +92921,17 @@
|
|
|
92836
92921
|
"type": {
|
|
92837
92922
|
"text": "array"
|
|
92838
92923
|
},
|
|
92839
|
-
"default": "[ { fieldName: '
|
|
92924
|
+
"default": "[ { fieldName: 'cubeId', protoName: 'cube_id', FieldConstructor: STRING, constraints: {}, description: 'ID of the cube', }, { fieldName: 'fields', protoName: 'fields', FieldConstructor: STRING, constraints: {}, description: 'Partial Response, https://cloud.google.com/apis/design/design_patterns#partial_response\\n use wildcard * to get all fields', }, ]"
|
|
92840
92925
|
},
|
|
92841
92926
|
{
|
|
92842
92927
|
"kind": "field",
|
|
92843
|
-
"name": "
|
|
92844
|
-
"default": "new
|
|
92928
|
+
"name": "_cubeId",
|
|
92929
|
+
"default": "new STRING(undefined, this, 'cubeId')"
|
|
92930
|
+
},
|
|
92931
|
+
{
|
|
92932
|
+
"kind": "field",
|
|
92933
|
+
"name": "_fields",
|
|
92934
|
+
"default": "new STRING(undefined, this, 'fields')"
|
|
92845
92935
|
},
|
|
92846
92936
|
{
|
|
92847
92937
|
"kind": "field",
|
|
@@ -92849,7 +92939,7 @@
|
|
|
92849
92939
|
"type": {
|
|
92850
92940
|
"text": "object"
|
|
92851
92941
|
},
|
|
92852
|
-
"default": "{}"
|
|
92942
|
+
"default": "{ fields: '*', }"
|
|
92853
92943
|
},
|
|
92854
92944
|
{
|
|
92855
92945
|
"kind": "field",
|
|
@@ -93687,90 +93777,32 @@
|
|
|
93687
93777
|
"exports": [
|
|
93688
93778
|
{
|
|
93689
93779
|
"kind": "js",
|
|
93690
|
-
"name": "
|
|
93691
|
-
"declaration": {
|
|
93692
|
-
"name": "CubeServiceUpdateResponse",
|
|
93693
|
-
"module": "dist/protoc-gen-open-models/furo/cube/CubeServiceUpdateResponse.js"
|
|
93694
|
-
}
|
|
93695
|
-
}
|
|
93696
|
-
]
|
|
93697
|
-
},
|
|
93698
|
-
{
|
|
93699
|
-
"kind": "javascript-module",
|
|
93700
|
-
"path": "dist/protoc-gen-open-models/furo/cube/CubeServiceUpdateResponse.js.map",
|
|
93701
|
-
"declarations": [],
|
|
93702
|
-
"exports": []
|
|
93703
|
-
},
|
|
93704
|
-
{
|
|
93705
|
-
"kind": "javascript-module",
|
|
93706
|
-
"path": "dist/protoc-gen-open-models/furo/cube/Materials.js",
|
|
93707
|
-
"declarations": [
|
|
93708
|
-
{
|
|
93709
|
-
"kind": "variable",
|
|
93710
|
-
"name": "Materials"
|
|
93711
|
-
}
|
|
93712
|
-
],
|
|
93713
|
-
"exports": [
|
|
93714
|
-
{
|
|
93715
|
-
"kind": "js",
|
|
93716
|
-
"name": "Materials",
|
|
93780
|
+
"name": "CubeServiceGetRequest",
|
|
93717
93781
|
"declaration": {
|
|
93718
|
-
"name": "
|
|
93719
|
-
"module": "dist/protoc-gen-open-models/furo/cube/
|
|
93782
|
+
"name": "CubeServiceGetRequest",
|
|
93783
|
+
"module": "dist/protoc-gen-open-models/furo/cube/CubeServiceGetRequest.js"
|
|
93720
93784
|
}
|
|
93721
93785
|
}
|
|
93722
93786
|
]
|
|
93723
93787
|
},
|
|
93724
93788
|
{
|
|
93725
93789
|
"kind": "javascript-module",
|
|
93726
|
-
"path": "dist/protoc-gen-open-models/furo/cube/
|
|
93790
|
+
"path": "dist/protoc-gen-open-models/furo/cube/CubeServiceGetRequest.js.map",
|
|
93727
93791
|
"declarations": [],
|
|
93728
93792
|
"exports": []
|
|
93729
93793
|
},
|
|
93730
93794
|
{
|
|
93731
93795
|
"kind": "javascript-module",
|
|
93732
|
-
"path": "dist/protoc-gen-open-models/furo/cube/
|
|
93796
|
+
"path": "dist/protoc-gen-open-models/furo/cube/CubeServiceGetResponse.js",
|
|
93733
93797
|
"declarations": [
|
|
93734
93798
|
{
|
|
93735
93799
|
"kind": "class",
|
|
93736
|
-
"description": "
|
|
93737
|
-
"name": "
|
|
93800
|
+
"description": "CubeServiceGetResponse",
|
|
93801
|
+
"name": "CubeServiceGetResponse",
|
|
93738
93802
|
"members": [
|
|
93739
93803
|
{
|
|
93740
93804
|
"kind": "field",
|
|
93741
|
-
"name": "
|
|
93742
|
-
},
|
|
93743
|
-
{
|
|
93744
|
-
"kind": "field",
|
|
93745
|
-
"name": "int32Value"
|
|
93746
|
-
},
|
|
93747
|
-
{
|
|
93748
|
-
"kind": "field",
|
|
93749
|
-
"name": "int64Value"
|
|
93750
|
-
},
|
|
93751
|
-
{
|
|
93752
|
-
"kind": "field",
|
|
93753
|
-
"name": "floatValue"
|
|
93754
|
-
},
|
|
93755
|
-
{
|
|
93756
|
-
"kind": "field",
|
|
93757
|
-
"name": "doubleValue"
|
|
93758
|
-
},
|
|
93759
|
-
{
|
|
93760
|
-
"kind": "field",
|
|
93761
|
-
"name": "boolValue"
|
|
93762
|
-
},
|
|
93763
|
-
{
|
|
93764
|
-
"kind": "field",
|
|
93765
|
-
"name": "uint32Value"
|
|
93766
|
-
},
|
|
93767
|
-
{
|
|
93768
|
-
"kind": "field",
|
|
93769
|
-
"name": "uint64Value"
|
|
93770
|
-
},
|
|
93771
|
-
{
|
|
93772
|
-
"kind": "field",
|
|
93773
|
-
"name": "bytesValue"
|
|
93805
|
+
"name": "entity"
|
|
93774
93806
|
},
|
|
93775
93807
|
{
|
|
93776
93808
|
"kind": "method",
|
|
@@ -93791,7 +93823,7 @@
|
|
|
93791
93823
|
"type": {
|
|
93792
93824
|
"text": "string"
|
|
93793
93825
|
},
|
|
93794
|
-
"default": "'furo.cube.
|
|
93826
|
+
"default": "'furo.cube.CubeServiceGetResponse'"
|
|
93795
93827
|
},
|
|
93796
93828
|
{
|
|
93797
93829
|
"kind": "field",
|
|
@@ -93799,7 +93831,7 @@
|
|
|
93799
93831
|
"type": {
|
|
93800
93832
|
"text": "string"
|
|
93801
93833
|
},
|
|
93802
|
-
"default": "'
|
|
93834
|
+
"default": "'CubeServiceGetResponse'"
|
|
93803
93835
|
},
|
|
93804
93836
|
{
|
|
93805
93837
|
"kind": "field",
|
|
@@ -93807,52 +93839,12 @@
|
|
|
93807
93839
|
"type": {
|
|
93808
93840
|
"text": "array"
|
|
93809
93841
|
},
|
|
93810
|
-
"default": "[ { fieldName: '
|
|
93811
|
-
},
|
|
93812
|
-
{
|
|
93813
|
-
"kind": "field",
|
|
93814
|
-
"name": "_stringValue",
|
|
93815
|
-
"default": "new StringValue(undefined, this, 'stringValue')"
|
|
93816
|
-
},
|
|
93817
|
-
{
|
|
93818
|
-
"kind": "field",
|
|
93819
|
-
"name": "_int32Value",
|
|
93820
|
-
"default": "new Int32Value(undefined, this, 'int32Value')"
|
|
93821
|
-
},
|
|
93822
|
-
{
|
|
93823
|
-
"kind": "field",
|
|
93824
|
-
"name": "_int64Value",
|
|
93825
|
-
"default": "new Int64Value(undefined, this, 'int64Value')"
|
|
93826
|
-
},
|
|
93827
|
-
{
|
|
93828
|
-
"kind": "field",
|
|
93829
|
-
"name": "_floatValue",
|
|
93830
|
-
"default": "new FloatValue(undefined, this, 'floatValue')"
|
|
93831
|
-
},
|
|
93832
|
-
{
|
|
93833
|
-
"kind": "field",
|
|
93834
|
-
"name": "_doubleValue",
|
|
93835
|
-
"default": "new DoubleValue(undefined, this, 'doubleValue')"
|
|
93836
|
-
},
|
|
93837
|
-
{
|
|
93838
|
-
"kind": "field",
|
|
93839
|
-
"name": "_boolValue",
|
|
93840
|
-
"default": "new BoolValue(undefined, this, 'boolValue')"
|
|
93841
|
-
},
|
|
93842
|
-
{
|
|
93843
|
-
"kind": "field",
|
|
93844
|
-
"name": "_uint32Value",
|
|
93845
|
-
"default": "new UInt32Value(undefined, this, 'uint32Value')"
|
|
93846
|
-
},
|
|
93847
|
-
{
|
|
93848
|
-
"kind": "field",
|
|
93849
|
-
"name": "_uint64Value",
|
|
93850
|
-
"default": "new UInt64Value(undefined, this, 'uint64Value')"
|
|
93842
|
+
"default": "[ { fieldName: 'entity', protoName: 'entity', FieldConstructor: FuroCubeCubeEntity, constraints: {}, description: '', }, ]"
|
|
93851
93843
|
},
|
|
93852
93844
|
{
|
|
93853
93845
|
"kind": "field",
|
|
93854
|
-
"name": "
|
|
93855
|
-
"default": "new
|
|
93846
|
+
"name": "_entity",
|
|
93847
|
+
"default": "new FuroCubeCubeEntity(undefined, this, 'entity')"
|
|
93856
93848
|
},
|
|
93857
93849
|
{
|
|
93858
93850
|
"kind": "field",
|
|
@@ -94698,36 +94690,36 @@
|
|
|
94698
94690
|
"exports": [
|
|
94699
94691
|
{
|
|
94700
94692
|
"kind": "js",
|
|
94701
|
-
"name": "
|
|
94693
|
+
"name": "CubeServiceGetResponse",
|
|
94702
94694
|
"declaration": {
|
|
94703
|
-
"name": "
|
|
94704
|
-
"module": "dist/protoc-gen-open-models/furo/cube/
|
|
94695
|
+
"name": "CubeServiceGetResponse",
|
|
94696
|
+
"module": "dist/protoc-gen-open-models/furo/cube/CubeServiceGetResponse.js"
|
|
94705
94697
|
}
|
|
94706
94698
|
}
|
|
94707
94699
|
]
|
|
94708
94700
|
},
|
|
94709
94701
|
{
|
|
94710
94702
|
"kind": "javascript-module",
|
|
94711
|
-
"path": "dist/protoc-gen-open-models/furo/cube/
|
|
94703
|
+
"path": "dist/protoc-gen-open-models/furo/cube/CubeServiceGetResponse.js.map",
|
|
94712
94704
|
"declarations": [],
|
|
94713
94705
|
"exports": []
|
|
94714
94706
|
},
|
|
94715
94707
|
{
|
|
94716
94708
|
"kind": "javascript-module",
|
|
94717
|
-
"path": "dist/protoc-gen-open-models/
|
|
94709
|
+
"path": "dist/protoc-gen-open-models/furo/cube/CubeServiceUpdateRequest.js",
|
|
94718
94710
|
"declarations": [
|
|
94719
94711
|
{
|
|
94720
94712
|
"kind": "class",
|
|
94721
|
-
"description": "
|
|
94722
|
-
"name": "
|
|
94713
|
+
"description": "CubeServiceUpdateRequest",
|
|
94714
|
+
"name": "CubeServiceUpdateRequest",
|
|
94723
94715
|
"members": [
|
|
94724
94716
|
{
|
|
94725
94717
|
"kind": "field",
|
|
94726
|
-
"name": "
|
|
94718
|
+
"name": "cubeId"
|
|
94727
94719
|
},
|
|
94728
94720
|
{
|
|
94729
94721
|
"kind": "field",
|
|
94730
|
-
"name": "
|
|
94722
|
+
"name": "entity"
|
|
94731
94723
|
},
|
|
94732
94724
|
{
|
|
94733
94725
|
"kind": "method",
|
|
@@ -94748,7 +94740,7 @@
|
|
|
94748
94740
|
"type": {
|
|
94749
94741
|
"text": "string"
|
|
94750
94742
|
},
|
|
94751
|
-
"default": "'
|
|
94743
|
+
"default": "'furo.cube.CubeServiceUpdateRequest'"
|
|
94752
94744
|
},
|
|
94753
94745
|
{
|
|
94754
94746
|
"kind": "field",
|
|
@@ -94756,7 +94748,7 @@
|
|
|
94756
94748
|
"type": {
|
|
94757
94749
|
"text": "string"
|
|
94758
94750
|
},
|
|
94759
|
-
"default": "'
|
|
94751
|
+
"default": "'CubeServiceUpdateRequest'"
|
|
94760
94752
|
},
|
|
94761
94753
|
{
|
|
94762
94754
|
"kind": "field",
|
|
@@ -94764,17 +94756,17 @@
|
|
|
94764
94756
|
"type": {
|
|
94765
94757
|
"text": "array"
|
|
94766
94758
|
},
|
|
94767
|
-
"default": "[ { fieldName: '
|
|
94759
|
+
"default": "[ { fieldName: 'cubeId', protoName: 'cube_id', FieldConstructor: STRING, constraints: {}, description: 'ID of the cube', }, { fieldName: 'entity', protoName: 'entity', FieldConstructor: FuroCubeCubeEntity, constraints: {}, description: '', }, ]"
|
|
94768
94760
|
},
|
|
94769
94761
|
{
|
|
94770
94762
|
"kind": "field",
|
|
94771
|
-
"name": "
|
|
94772
|
-
"default": "new STRING(undefined, this, '
|
|
94763
|
+
"name": "_cubeId",
|
|
94764
|
+
"default": "new STRING(undefined, this, 'cubeId')"
|
|
94773
94765
|
},
|
|
94774
94766
|
{
|
|
94775
94767
|
"kind": "field",
|
|
94776
|
-
"name": "
|
|
94777
|
-
"default": "new
|
|
94768
|
+
"name": "_entity",
|
|
94769
|
+
"default": "new FuroCubeCubeEntity(undefined, this, 'entity')"
|
|
94778
94770
|
},
|
|
94779
94771
|
{
|
|
94780
94772
|
"kind": "field",
|
|
@@ -95620,36 +95612,32 @@
|
|
|
95620
95612
|
"exports": [
|
|
95621
95613
|
{
|
|
95622
95614
|
"kind": "js",
|
|
95623
|
-
"name": "
|
|
95615
|
+
"name": "CubeServiceUpdateRequest",
|
|
95624
95616
|
"declaration": {
|
|
95625
|
-
"name": "
|
|
95626
|
-
"module": "dist/protoc-gen-open-models/
|
|
95617
|
+
"name": "CubeServiceUpdateRequest",
|
|
95618
|
+
"module": "dist/protoc-gen-open-models/furo/cube/CubeServiceUpdateRequest.js"
|
|
95627
95619
|
}
|
|
95628
95620
|
}
|
|
95629
95621
|
]
|
|
95630
95622
|
},
|
|
95631
95623
|
{
|
|
95632
95624
|
"kind": "javascript-module",
|
|
95633
|
-
"path": "dist/protoc-gen-open-models/
|
|
95625
|
+
"path": "dist/protoc-gen-open-models/furo/cube/CubeServiceUpdateRequest.js.map",
|
|
95634
95626
|
"declarations": [],
|
|
95635
95627
|
"exports": []
|
|
95636
95628
|
},
|
|
95637
95629
|
{
|
|
95638
95630
|
"kind": "javascript-module",
|
|
95639
|
-
"path": "dist/protoc-gen-open-models/
|
|
95631
|
+
"path": "dist/protoc-gen-open-models/furo/cube/CubeServiceUpdateResponse.js",
|
|
95640
95632
|
"declarations": [
|
|
95641
95633
|
{
|
|
95642
95634
|
"kind": "class",
|
|
95643
|
-
"description": "
|
|
95644
|
-
"name": "
|
|
95635
|
+
"description": "CubeServiceUpdateResponse",
|
|
95636
|
+
"name": "CubeServiceUpdateResponse",
|
|
95645
95637
|
"members": [
|
|
95646
95638
|
{
|
|
95647
95639
|
"kind": "field",
|
|
95648
|
-
"name": "
|
|
95649
|
-
},
|
|
95650
|
-
{
|
|
95651
|
-
"kind": "field",
|
|
95652
|
-
"name": "fullyDecodeReservedExpansion"
|
|
95640
|
+
"name": "entity"
|
|
95653
95641
|
},
|
|
95654
95642
|
{
|
|
95655
95643
|
"kind": "method",
|
|
@@ -95670,7 +95658,7 @@
|
|
|
95670
95658
|
"type": {
|
|
95671
95659
|
"text": "string"
|
|
95672
95660
|
},
|
|
95673
|
-
"default": "'
|
|
95661
|
+
"default": "'furo.cube.CubeServiceUpdateResponse'"
|
|
95674
95662
|
},
|
|
95675
95663
|
{
|
|
95676
95664
|
"kind": "field",
|
|
@@ -95678,7 +95666,7 @@
|
|
|
95678
95666
|
"type": {
|
|
95679
95667
|
"text": "string"
|
|
95680
95668
|
},
|
|
95681
|
-
"default": "'
|
|
95669
|
+
"default": "'CubeServiceUpdateResponse'"
|
|
95682
95670
|
},
|
|
95683
95671
|
{
|
|
95684
95672
|
"kind": "field",
|
|
@@ -95686,17 +95674,12 @@
|
|
|
95686
95674
|
"type": {
|
|
95687
95675
|
"text": "array"
|
|
95688
95676
|
},
|
|
95689
|
-
"default": "[ { fieldName: '
|
|
95690
|
-
},
|
|
95691
|
-
{
|
|
95692
|
-
"kind": "field",
|
|
95693
|
-
"name": "_rules",
|
|
95694
|
-
"default": "new ARRAY(undefined, this, 'rules')"
|
|
95677
|
+
"default": "[ { fieldName: 'entity', protoName: 'entity', FieldConstructor: FuroCubeCubeEntity, constraints: {}, description: '', }, ]"
|
|
95695
95678
|
},
|
|
95696
95679
|
{
|
|
95697
95680
|
"kind": "field",
|
|
95698
|
-
"name": "
|
|
95699
|
-
"default": "new
|
|
95681
|
+
"name": "_entity",
|
|
95682
|
+
"default": "new FuroCubeCubeEntity(undefined, this, 'entity')"
|
|
95700
95683
|
},
|
|
95701
95684
|
{
|
|
95702
95685
|
"kind": "field",
|
|
@@ -96542,68 +96525,90 @@
|
|
|
96542
96525
|
"exports": [
|
|
96543
96526
|
{
|
|
96544
96527
|
"kind": "js",
|
|
96545
|
-
"name": "
|
|
96528
|
+
"name": "CubeServiceUpdateResponse",
|
|
96546
96529
|
"declaration": {
|
|
96547
|
-
"name": "
|
|
96548
|
-
"module": "dist/protoc-gen-open-models/
|
|
96530
|
+
"name": "CubeServiceUpdateResponse",
|
|
96531
|
+
"module": "dist/protoc-gen-open-models/furo/cube/CubeServiceUpdateResponse.js"
|
|
96549
96532
|
}
|
|
96550
96533
|
}
|
|
96551
96534
|
]
|
|
96552
96535
|
},
|
|
96553
96536
|
{
|
|
96554
96537
|
"kind": "javascript-module",
|
|
96555
|
-
"path": "dist/protoc-gen-open-models/
|
|
96538
|
+
"path": "dist/protoc-gen-open-models/furo/cube/CubeServiceUpdateResponse.js.map",
|
|
96556
96539
|
"declarations": [],
|
|
96557
96540
|
"exports": []
|
|
96558
96541
|
},
|
|
96559
96542
|
{
|
|
96560
96543
|
"kind": "javascript-module",
|
|
96561
|
-
"path": "dist/protoc-gen-open-models/
|
|
96544
|
+
"path": "dist/protoc-gen-open-models/furo/cube/Materials.js",
|
|
96545
|
+
"declarations": [
|
|
96546
|
+
{
|
|
96547
|
+
"kind": "variable",
|
|
96548
|
+
"name": "Materials"
|
|
96549
|
+
}
|
|
96550
|
+
],
|
|
96551
|
+
"exports": [
|
|
96552
|
+
{
|
|
96553
|
+
"kind": "js",
|
|
96554
|
+
"name": "Materials",
|
|
96555
|
+
"declaration": {
|
|
96556
|
+
"name": "Materials",
|
|
96557
|
+
"module": "dist/protoc-gen-open-models/furo/cube/Materials.js"
|
|
96558
|
+
}
|
|
96559
|
+
}
|
|
96560
|
+
]
|
|
96561
|
+
},
|
|
96562
|
+
{
|
|
96563
|
+
"kind": "javascript-module",
|
|
96564
|
+
"path": "dist/protoc-gen-open-models/furo/cube/Materials.js.map",
|
|
96565
|
+
"declarations": [],
|
|
96566
|
+
"exports": []
|
|
96567
|
+
},
|
|
96568
|
+
{
|
|
96569
|
+
"kind": "javascript-module",
|
|
96570
|
+
"path": "dist/protoc-gen-open-models/furo/cube/Wrappers.js",
|
|
96562
96571
|
"declarations": [
|
|
96563
96572
|
{
|
|
96564
96573
|
"kind": "class",
|
|
96565
|
-
"description": "HttpRule\n # gRPC Transcoding\n\n gRPC Transcoding is a feature for mapping between a gRPC method and one or\n more HTTP REST endpoints. It allows developers to build a single API service\n that supports both gRPC APIs and REST APIs. Many systems, including [Google\n APIs](https://github.com/googleapis/googleapis),\n [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC\n Gateway](https://github.com/grpc-ecosystem/grpc-gateway),\n and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature\n and use it for large scale production services.\n\n `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies\n how different portions of the gRPC request message are mapped to the URL\n path, URL query parameters, and HTTP request body. It also controls how the\n gRPC response message is mapped to the HTTP response body. `HttpRule` is\n typically specified as an `google.api.http` annotation on the gRPC method.\n\n Each mapping specifies a URL path template and an HTTP method. The path\n template may refer to one or more fields in the gRPC request message, as long\n as each field is a non-repeated field with a primitive (non-message) type.\n The path template controls how fields of the request message are mapped to\n the URL path.\n\n Example:\n\n service Messaging {\n rpc GetMessage(GetMessageRequest) returns (Message) {\n option (google.api.http) = {\n get: \"/v1/{name=messages/*}\"\n };\n }\n }\n message GetMessageRequest {\n string name = 1; // Mapped to URL path.\n }\n message Message {\n string text = 1; // The resource content.\n }\n\n This enables an HTTP REST to gRPC mapping as below:\n\n HTTP | gRPC\n -----|-----\n `GET /v1/messages/123456` | `GetMessage(name: \"messages/123456\")`\n\n Any fields in the request message which are not bound by the path template\n automatically become HTTP query parameters if there is no HTTP request body.\n For example:\n\n service Messaging {\n rpc GetMessage(GetMessageRequest) returns (Message) {\n option (google.api.http) = {\n get:\"/v1/messages/{message_id}\"\n };\n }\n }\n message GetMessageRequest {\n message SubMessage {\n string subfield = 1;\n }\n string message_id = 1; // Mapped to URL path.\n int64 revision = 2; // Mapped to URL query parameter `revision`.\n SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`.\n }\n\n This enables a HTTP JSON to RPC mapping as below:\n\n HTTP | gRPC\n -----|-----\n `GET /v1/messages/123456?revision=2&sub.subfield=foo` |\n `GetMessage(message_id: \"123456\" revision: 2 sub: SubMessage(subfield:\n \"foo\"))`\n\n Note that fields which are mapped to URL query parameters must have a\n primitive type or a repeated primitive type or a non-repeated message type.\n In the case of a repeated type, the parameter can be repeated in the URL\n as `...?param=A¶m=B`. In the case of a message type, each field of the\n message is mapped to a separate parameter, such as\n `...?foo.a=A&foo.b=B&foo.c=C`.\n\n For HTTP methods that allow a request body, the `body` field\n specifies the mapping. Consider a REST update method on the\n message resource collection:\n\n service Messaging {\n rpc UpdateMessage(UpdateMessageRequest) returns (Message) {\n option (google.api.http) = {\n patch: \"/v1/messages/{message_id}\"\n body: \"message\"\n };\n }\n }\n message UpdateMessageRequest {\n string message_id = 1; // mapped to the URL\n Message message = 2; // mapped to the body\n }\n\n The following HTTP JSON to RPC mapping is enabled, where the\n representation of the JSON in the request body is determined by\n protos JSON encoding:\n\n HTTP | gRPC\n -----|-----\n `PATCH /v1/messages/123456 { \"text\": \"Hi!\" }` | `UpdateMessage(message_id:\n \"123456\" message { text: \"Hi!\" })`\n\n The special name `*` can be used in the body mapping to define that\n every field not bound by the path template should be mapped to the\n request body. This enables the following alternative definition of\n the update method:\n\n service Messaging {\n rpc UpdateMessage(Message) returns (Message) {\n option (google.api.http) = {\n patch: \"/v1/messages/{message_id}\"\n body: \"*\"\n };\n }\n }\n message Message {\n string message_id = 1;\n string text = 2;\n }\n\n\n The following HTTP JSON to RPC mapping is enabled:\n\n HTTP | gRPC\n -----|-----\n `PATCH /v1/messages/123456 { \"text\": \"Hi!\" }` | `UpdateMessage(message_id:\n \"123456\" text: \"Hi!\")`\n\n Note that when using `*` in the body mapping, it is not possible to\n have HTTP parameters, as all fields not bound by the path end in\n the body. This makes this option more rarely used in practice when\n defining REST APIs. The common usage of `*` is in custom methods\n which don't use the URL at all for transferring data.\n\n It is possible to define multiple HTTP methods for one RPC by using\n the `additional_bindings` option. Example:\n\n service Messaging {\n rpc GetMessage(GetMessageRequest) returns (Message) {\n option (google.api.http) = {\n get: \"/v1/messages/{message_id}\"\n additional_bindings {\n get: \"/v1/users/{user_id}/messages/{message_id}\"\n }\n };\n }\n }\n message GetMessageRequest {\n string message_id = 1;\n string user_id = 2;\n }\n\n This enables the following two alternative HTTP JSON to RPC mappings:\n\n HTTP | gRPC\n -----|-----\n `GET /v1/messages/123456` | `GetMessage(message_id: \"123456\")`\n `GET /v1/users/me/messages/123456` | `GetMessage(user_id: \"me\" message_id:\n \"123456\")`\n\n ## Rules for HTTP mapping\n\n 1. Leaf request fields (recursive expansion nested messages in the request\n message) are classified into three categories:\n - Fields referred by the path template. They are passed via the URL path.\n - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They\n are passed via the HTTP\n request body.\n - All other fields are passed via the URL query parameters, and the\n parameter name is the field path in the request message. A repeated\n field can be represented as multiple query parameters under the same\n name.\n 2. If [HttpRule.body][google.api.HttpRule.body] is \"*\", there is no URL\n query parameter, all fields\n are passed via URL path and HTTP request body.\n 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP\n request body, all\n fields are passed via URL path and URL query parameters.\n\n ### Path template syntax\n\n Template = \"/\" Segments [ Verb ] ;\n Segments = Segment { \"/\" Segment } ;\n Segment = \"*\" | \"**\" | LITERAL | Variable ;\n Variable = \"{\" FieldPath [ \"=\" Segments ] \"}\" ;\n FieldPath = IDENT { \".\" IDENT } ;\n Verb = \":\" LITERAL ;\n\n The syntax `*` matches a single URL path segment. The syntax `**` matches\n zero or more URL path segments, which must be the last part of the URL path\n except the `Verb`.\n\n The syntax `Variable` matches part of the URL path as specified by its\n template. A variable template must not contain other variables. If a variable\n matches a single path segment, its template may be omitted, e.g. `{var}`\n is equivalent to `{var=*}`.\n\n The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL`\n contains any reserved character, such characters should be percent-encoded\n before the matching.\n\n If a variable contains exactly one path segment, such as `\"{var}\"` or\n `\"{var=*}\"`, when such a variable is expanded into a URL path on the client\n side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The\n server side does the reverse decoding. Such variables show up in the\n [Discovery\n Document](https://developers.google.com/discovery/v1/reference/apis) as\n `{var}`.\n\n If a variable contains multiple path segments, such as `\"{var=foo/*}\"`\n or `\"{var=**}\"`, when such a variable is expanded into a URL path on the\n client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded.\n The server side does the reverse decoding, except \"%2F\" and \"%2f\" are left\n unchanged. Such variables show up in the\n [Discovery\n Document](https://developers.google.com/discovery/v1/reference/apis) as\n `{+var}`.\n\n ## Using gRPC API Service Configuration\n\n gRPC API Service Configuration (service config) is a configuration language\n for configuring a gRPC service to become a user-facing product. The\n service config is simply the YAML representation of the `google.api.Service`\n proto message.\n\n As an alternative to annotating your proto file, you can configure gRPC\n transcoding in your service config YAML files. You do this by specifying a\n `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same\n effect as the proto annotation. This can be particularly useful if you\n have a proto that is reused in multiple services. Note that any transcoding\n specified in the service config will override any matching transcoding\n configuration in the proto.\n\n Example:\n\n http:\n rules:\n # Selects a gRPC method and applies HttpRule to it.\n - selector: example.v1.Messaging.GetMessage\n get: /v1/messages/{message_id}/{sub.subfield}\n\n ## Special notes\n\n When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the\n proto to JSON conversion must follow the [proto3\n specification](https://developers.google.com/protocol-buffers/docs/proto3#json).\n\n While the single segment variable follows the semantics of\n [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String\n Expansion, the multi segment variable **does not** follow RFC 6570 Section\n 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion\n does not expand special characters like `?` and `#`, which would lead\n to invalid URLs. As the result, gRPC Transcoding uses a custom encoding\n for multi segment variables.\n\n The path variables **must not** refer to any repeated or mapped field,\n because client libraries are not capable of handling such variable expansion.\n\n The path variables **must not** capture the leading \"/\" character. The reason\n is that the most common use case \"{var}\" does not capture the leading \"/\"\n character. For consistency, all path variables must share the same behavior.\n\n Repeated message fields must not be mapped to URL query parameters, because\n no client library can support such complicated mapping.\n\n If an API needs to use a JSON array for request or response body, it can map\n the request or response body to a repeated field. However, some gRPC\n Transcoding implementations may not support this feature.",
|
|
96566
|
-
"name": "
|
|
96574
|
+
"description": "Wrappers",
|
|
96575
|
+
"name": "Wrappers",
|
|
96567
96576
|
"members": [
|
|
96568
96577
|
{
|
|
96569
96578
|
"kind": "field",
|
|
96570
|
-
"name": "
|
|
96571
|
-
},
|
|
96572
|
-
{
|
|
96573
|
-
"kind": "field",
|
|
96574
|
-
"name": "get"
|
|
96579
|
+
"name": "stringValue"
|
|
96575
96580
|
},
|
|
96576
96581
|
{
|
|
96577
96582
|
"kind": "field",
|
|
96578
|
-
"name": "
|
|
96583
|
+
"name": "int32Value"
|
|
96579
96584
|
},
|
|
96580
96585
|
{
|
|
96581
96586
|
"kind": "field",
|
|
96582
|
-
"name": "
|
|
96587
|
+
"name": "int64Value"
|
|
96583
96588
|
},
|
|
96584
96589
|
{
|
|
96585
96590
|
"kind": "field",
|
|
96586
|
-
"name": "
|
|
96591
|
+
"name": "floatValue"
|
|
96587
96592
|
},
|
|
96588
96593
|
{
|
|
96589
96594
|
"kind": "field",
|
|
96590
|
-
"name": "
|
|
96595
|
+
"name": "doubleValue"
|
|
96591
96596
|
},
|
|
96592
96597
|
{
|
|
96593
96598
|
"kind": "field",
|
|
96594
|
-
"name": "
|
|
96599
|
+
"name": "boolValue"
|
|
96595
96600
|
},
|
|
96596
96601
|
{
|
|
96597
96602
|
"kind": "field",
|
|
96598
|
-
"name": "
|
|
96603
|
+
"name": "uint32Value"
|
|
96599
96604
|
},
|
|
96600
96605
|
{
|
|
96601
96606
|
"kind": "field",
|
|
96602
|
-
"name": "
|
|
96607
|
+
"name": "uint64Value"
|
|
96603
96608
|
},
|
|
96604
96609
|
{
|
|
96605
96610
|
"kind": "field",
|
|
96606
|
-
"name": "
|
|
96611
|
+
"name": "bytesValue"
|
|
96607
96612
|
},
|
|
96608
96613
|
{
|
|
96609
96614
|
"kind": "method",
|
|
@@ -96624,7 +96629,7 @@
|
|
|
96624
96629
|
"type": {
|
|
96625
96630
|
"text": "string"
|
|
96626
96631
|
},
|
|
96627
|
-
"default": "'
|
|
96632
|
+
"default": "'furo.cube.Wrappers'"
|
|
96628
96633
|
},
|
|
96629
96634
|
{
|
|
96630
96635
|
"kind": "field",
|
|
@@ -96632,7 +96637,7 @@
|
|
|
96632
96637
|
"type": {
|
|
96633
96638
|
"text": "string"
|
|
96634
96639
|
},
|
|
96635
|
-
"default": "'HttpRule # gRPC Transcoding\\n\\n gRPC Transcoding is a feature for mapping between a gRPC method and one or\\n more HTTP REST endpoints. It allows developers to build a single API service\\n that supports both gRPC APIs and REST APIs. Many systems, including [Google\\n APIs](https://github.com/googleapis/googleapis),\\n [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC\\n Gateway](https://github.com/grpc-ecosystem/grpc-gateway),\\n and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature\\n and use it for large scale production services.\\n\\n `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies\\n how different portions of the gRPC request message are mapped to the URL\\n path, URL query parameters, and HTTP request body. It also controls how the\\n gRPC response message is mapped to the HTTP response body. `HttpRule` is\\n typically specified as an `google.api.http` annotation on the gRPC method.\\n\\n Each mapping specifies a URL path template and an HTTP method. The path\\n template may refer to one or more fields in the gRPC request message, as long\\n as each field is a non-repeated field with a primitive (non-message) type.\\n The path template controls how fields of the request message are mapped to\\n the URL path.\\n\\n Example:\\n\\n service Messaging {\\n rpc GetMessage(GetMessageRequest) returns (Message) {\\n option (google.api.http) = {\\n get: \"/v1/{name=messages/*}\"\\n };\\n }\\n }\\n message GetMessageRequest {\\n string name = 1; // Mapped to URL path.\\n }\\n message Message {\\n string text = 1; // The resource content.\\n }\\n\\n This enables an HTTP REST to gRPC mapping as below:\\n\\n HTTP | gRPC\\n -----|-----\\n `GET /v1/messages/123456` | `GetMessage(name: \"messages/123456\")`\\n\\n Any fields in the request message which are not bound by the path template\\n automatically become HTTP query parameters if there is no HTTP request body.\\n For example:\\n\\n service Messaging {\\n rpc GetMessage(GetMessageRequest) returns (Message) {\\n option (google.api.http) = {\\n get:\"/v1/messages/{message_id}\"\\n };\\n }\\n }\\n message GetMessageRequest {\\n message SubMessage {\\n string subfield = 1;\\n }\\n string message_id = 1; // Mapped to URL path.\\n int64 revision = 2; // Mapped to URL query parameter `revision`.\\n SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`.\\n }\\n\\n This enables a HTTP JSON to RPC mapping as below:\\n\\n HTTP | gRPC\\n -----|-----\\n `GET /v1/messages/123456?revision=2&sub.subfield=foo` |\\n `GetMessage(message_id: \"123456\" revision: 2 sub: SubMessage(subfield:\\n \"foo\"))`\\n\\n Note that fields which are mapped to URL query parameters must have a\\n primitive type or a repeated primitive type or a non-repeated message type.\\n In the case of a repeated type, the parameter can be repeated in the URL\\n as `...?param=A¶m=B`. In the case of a message type, each field of the\\n message is mapped to a separate parameter, such as\\n `...?foo.a=A&foo.b=B&foo.c=C`.\\n\\n For HTTP methods that allow a request body, the `body` field\\n specifies the mapping. Consider a REST update method on the\\n message resource collection:\\n\\n service Messaging {\\n rpc UpdateMessage(UpdateMessageRequest) returns (Message) {\\n option (google.api.http) = {\\n patch: \"/v1/messages/{message_id}\"\\n body: \"message\"\\n };\\n }\\n }\\n message UpdateMessageRequest {\\n string message_id = 1; // mapped to the URL\\n Message message = 2; // mapped to the body\\n }\\n\\n The following HTTP JSON to RPC mapping is enabled, where the\\n representation of the JSON in the request body is determined by\\n protos JSON encoding:\\n\\n HTTP | gRPC\\n -----|-----\\n `PATCH /v1/messages/123456 { \"text\": \"Hi!\" }` | `UpdateMessage(message_id:\\n \"123456\" message { text: \"Hi!\" })`\\n\\n The special name `*` can be used in the body mapping to define that\\n every field not bound by the path template should be mapped to the\\n request body. This enables the following alternative definition of\\n the update method:\\n\\n service Messaging {\\n rpc UpdateMessage(Message) returns (Message) {\\n option (google.api.http) = {\\n patch: \"/v1/messages/{message_id}\"\\n body: \"*\"\\n };\\n }\\n }\\n message Message {\\n string message_id = 1;\\n string text = 2;\\n }\\n\\n\\n The following HTTP JSON to RPC mapping is enabled:\\n\\n HTTP | gRPC\\n -----|-----\\n `PATCH /v1/messages/123456 { \"text\": \"Hi!\" }` | `UpdateMessage(message_id:\\n \"123456\" text: \"Hi!\")`\\n\\n Note that when using `*` in the body mapping, it is not possible to\\n have HTTP parameters, as all fields not bound by the path end in\\n the body. This makes this option more rarely used in practice when\\n defining REST APIs. The common usage of `*` is in custom methods\\n which don\\'t use the URL at all for transferring data.\\n\\n It is possible to define multiple HTTP methods for one RPC by using\\n the `additional_bindings` option. Example:\\n\\n service Messaging {\\n rpc GetMessage(GetMessageRequest) returns (Message) {\\n option (google.api.http) = {\\n get: \"/v1/messages/{message_id}\"\\n additional_bindings {\\n get: \"/v1/users/{user_id}/messages/{message_id}\"\\n }\\n };\\n }\\n }\\n message GetMessageRequest {\\n string message_id = 1;\\n string user_id = 2;\\n }\\n\\n This enables the following two alternative HTTP JSON to RPC mappings:\\n\\n HTTP | gRPC\\n -----|-----\\n `GET /v1/messages/123456` | `GetMessage(message_id: \"123456\")`\\n `GET /v1/users/me/messages/123456` | `GetMessage(user_id: \"me\" message_id:\\n \"123456\")`\\n\\n ## Rules for HTTP mapping\\n\\n 1. Leaf request fields (recursive expansion nested messages in the request\\n message) are classified into three categories:\\n - Fields referred by the path template. They are passed via the URL path.\\n - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They\\n are passed via the HTTP\\n request body.\\n - All other fields are passed via the URL query parameters, and the\\n parameter name is the field path in the request message. A repeated\\n field can be represented as multiple query parameters under the same\\n name.\\n 2. If [HttpRule.body][google.api.HttpRule.body] is \"*\", there is no URL\\n query parameter, all fields\\n are passed via URL path and HTTP request body.\\n 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP\\n request body, all\\n fields are passed via URL path and URL query parameters.\\n\\n ### Path template syntax\\n\\n Template = \"/\" Segments [ Verb ] ;\\n Segments = Segment { \"/\" Segment } ;\\n Segment = \"*\" | \"**\" | LITERAL | Variable ;\\n Variable = \"{\" FieldPath [ \"=\" Segments ] \"}\" ;\\n FieldPath = IDENT { \".\" IDENT } ;\\n Verb = \":\" LITERAL ;\\n\\n The syntax `*` matches a single URL path segment. The syntax `**` matches\\n zero or more URL path segments, which must be the last part of the URL path\\n except the `Verb`.\\n\\n The syntax `Variable` matches part of the URL path as specified by its\\n template. A variable template must not contain other variables. If a variable\\n matches a single path segment, its template may be omitted, e.g. `{var}`\\n is equivalent to `{var=*}`.\\n\\n The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL`\\n contains any reserved character, such characters should be percent-encoded\\n before the matching.\\n\\n If a variable contains exactly one path segment, such as `\"{var}\"` or\\n `\"{var=*}\"`, when such a variable is expanded into a URL path on the client\\n side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The\\n server side does the reverse decoding. Such variables show up in the\\n [Discovery\\n Document](https://developers.google.com/discovery/v1/reference/apis) as\\n `{var}`.\\n\\n If a variable contains multiple path segments, such as `\"{var=foo/*}\"`\\n or `\"{var=**}\"`, when such a variable is expanded into a URL path on the\\n client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded.\\n The server side does the reverse decoding, except \"%2F\" and \"%2f\" are left\\n unchanged. Such variables show up in the\\n [Discovery\\n Document](https://developers.google.com/discovery/v1/reference/apis) as\\n `{+var}`.\\n\\n ## Using gRPC API Service Configuration\\n\\n gRPC API Service Configuration (service config) is a configuration language\\n for configuring a gRPC service to become a user-facing product. The\\n service config is simply the YAML representation of the `google.api.Service`\\n proto message.\\n\\n As an alternative to annotating your proto file, you can configure gRPC\\n transcoding in your service config YAML files. You do this by specifying a\\n `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same\\n effect as the proto annotation. This can be particularly useful if you\\n have a proto that is reused in multiple services. Note that any transcoding\\n specified in the service config will override any matching transcoding\\n configuration in the proto.\\n\\n Example:\\n\\n http:\\n rules:\\n # Selects a gRPC method and applies HttpRule to it.\\n - selector: example.v1.Messaging.GetMessage\\n get: /v1/messages/{message_id}/{sub.subfield}\\n\\n ## Special notes\\n\\n When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the\\n proto to JSON conversion must follow the [proto3\\n specification](https://developers.google.com/protocol-buffers/docs/proto3#json).\\n\\n While the single segment variable follows the semantics of\\n [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String\\n Expansion, the multi segment variable **does not** follow RFC 6570 Section\\n 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion\\n does not expand special characters like `?` and `#`, which would lead\\n to invalid URLs. As the result, gRPC Transcoding uses a custom encoding\\n for multi segment variables.\\n\\n The path variables **must not** refer to any repeated or mapped field,\\n because client libraries are not capable of handling such variable expansion.\\n\\n The path variables **must not** capture the leading \"/\" character. The reason\\n is that the most common use case \"{var}\" does not capture the leading \"/\"\\n character. For consistency, all path variables must share the same behavior.\\n\\n Repeated message fields must not be mapped to URL query parameters, because\\n no client library can support such complicated mapping.\\n\\n If an API needs to use a JSON array for request or response body, it can map\\n the request or response body to a repeated field. However, some gRPC\\n Transcoding implementations may not support this feature.'"
|
|
96640
|
+
"default": "'Wrappers'"
|
|
96636
96641
|
},
|
|
96637
96642
|
{
|
|
96638
96643
|
"kind": "field",
|
|
@@ -96640,57 +96645,52 @@
|
|
|
96640
96645
|
"type": {
|
|
96641
96646
|
"text": "array"
|
|
96642
96647
|
},
|
|
96643
|
-
"default": "[ { fieldName: '
|
|
96644
|
-
},
|
|
96645
|
-
{
|
|
96646
|
-
"kind": "field",
|
|
96647
|
-
"name": "_selector",
|
|
96648
|
-
"default": "new STRING(undefined, this, 'selector')"
|
|
96648
|
+
"default": "[ { fieldName: 'stringValue', protoName: 'string_value', FieldConstructor: StringValue, constraints: {}, description: '', }, { fieldName: 'int32Value', protoName: 'int32_value', FieldConstructor: Int32Value, constraints: {}, description: '', }, { fieldName: 'int64Value', protoName: 'int64_value', FieldConstructor: Int64Value, constraints: {}, description: '', }, { fieldName: 'floatValue', protoName: 'float_value', FieldConstructor: FloatValue, constraints: {}, description: '', }, { fieldName: 'doubleValue', protoName: 'double_value', FieldConstructor: DoubleValue, constraints: {}, description: '', }, { fieldName: 'boolValue', protoName: 'bool_value', FieldConstructor: BoolValue, constraints: {}, description: '', }, { fieldName: 'uint32Value', protoName: 'uint32_value', FieldConstructor: UInt32Value, constraints: {}, description: '', }, { fieldName: 'uint64Value', protoName: 'uint64_value', FieldConstructor: UInt64Value, constraints: {}, description: '', }, { fieldName: 'bytesValue', protoName: 'bytes_value', FieldConstructor: BytesValue, constraints: {}, description: '', }, ]"
|
|
96649
96649
|
},
|
|
96650
96650
|
{
|
|
96651
96651
|
"kind": "field",
|
|
96652
|
-
"name": "
|
|
96653
|
-
"default": "new
|
|
96652
|
+
"name": "_stringValue",
|
|
96653
|
+
"default": "new StringValue(undefined, this, 'stringValue')"
|
|
96654
96654
|
},
|
|
96655
96655
|
{
|
|
96656
96656
|
"kind": "field",
|
|
96657
|
-
"name": "
|
|
96658
|
-
"default": "new
|
|
96657
|
+
"name": "_int32Value",
|
|
96658
|
+
"default": "new Int32Value(undefined, this, 'int32Value')"
|
|
96659
96659
|
},
|
|
96660
96660
|
{
|
|
96661
96661
|
"kind": "field",
|
|
96662
|
-
"name": "
|
|
96663
|
-
"default": "new
|
|
96662
|
+
"name": "_int64Value",
|
|
96663
|
+
"default": "new Int64Value(undefined, this, 'int64Value')"
|
|
96664
96664
|
},
|
|
96665
96665
|
{
|
|
96666
96666
|
"kind": "field",
|
|
96667
|
-
"name": "
|
|
96668
|
-
"default": "new
|
|
96667
|
+
"name": "_floatValue",
|
|
96668
|
+
"default": "new FloatValue(undefined, this, 'floatValue')"
|
|
96669
96669
|
},
|
|
96670
96670
|
{
|
|
96671
96671
|
"kind": "field",
|
|
96672
|
-
"name": "
|
|
96673
|
-
"default": "new
|
|
96672
|
+
"name": "_doubleValue",
|
|
96673
|
+
"default": "new DoubleValue(undefined, this, 'doubleValue')"
|
|
96674
96674
|
},
|
|
96675
96675
|
{
|
|
96676
96676
|
"kind": "field",
|
|
96677
|
-
"name": "
|
|
96678
|
-
"default": "new
|
|
96677
|
+
"name": "_boolValue",
|
|
96678
|
+
"default": "new BoolValue(undefined, this, 'boolValue')"
|
|
96679
96679
|
},
|
|
96680
96680
|
{
|
|
96681
96681
|
"kind": "field",
|
|
96682
|
-
"name": "
|
|
96683
|
-
"default": "new
|
|
96682
|
+
"name": "_uint32Value",
|
|
96683
|
+
"default": "new UInt32Value(undefined, this, 'uint32Value')"
|
|
96684
96684
|
},
|
|
96685
96685
|
{
|
|
96686
96686
|
"kind": "field",
|
|
96687
|
-
"name": "
|
|
96688
|
-
"default": "new
|
|
96687
|
+
"name": "_uint64Value",
|
|
96688
|
+
"default": "new UInt64Value(undefined, this, 'uint64Value')"
|
|
96689
96689
|
},
|
|
96690
96690
|
{
|
|
96691
96691
|
"kind": "field",
|
|
96692
|
-
"name": "
|
|
96693
|
-
"default": "new
|
|
96692
|
+
"name": "_bytesValue",
|
|
96693
|
+
"default": "new BytesValue(undefined, this, 'bytesValue')"
|
|
96694
96694
|
},
|
|
96695
96695
|
{
|
|
96696
96696
|
"kind": "field",
|
|
@@ -97536,17 +97536,17 @@
|
|
|
97536
97536
|
"exports": [
|
|
97537
97537
|
{
|
|
97538
97538
|
"kind": "js",
|
|
97539
|
-
"name": "
|
|
97539
|
+
"name": "Wrappers",
|
|
97540
97540
|
"declaration": {
|
|
97541
|
-
"name": "
|
|
97542
|
-
"module": "dist/protoc-gen-open-models/
|
|
97541
|
+
"name": "Wrappers",
|
|
97542
|
+
"module": "dist/protoc-gen-open-models/furo/cube/Wrappers.js"
|
|
97543
97543
|
}
|
|
97544
97544
|
}
|
|
97545
97545
|
]
|
|
97546
97546
|
},
|
|
97547
97547
|
{
|
|
97548
97548
|
"kind": "javascript-module",
|
|
97549
|
-
"path": "dist/protoc-gen-open-models/
|
|
97549
|
+
"path": "dist/protoc-gen-open-models/furo/cube/Wrappers.js.map",
|
|
97550
97550
|
"declarations": [],
|
|
97551
97551
|
"exports": []
|
|
97552
97552
|
},
|