@googlemaps/routing 0.3.0 → 0.3.1

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.
@@ -701,6 +701,13 @@
701
701
  "type": "bool",
702
702
  "id": 7
703
703
  },
704
+ "deprecatedLegacyJsonFieldConflicts": {
705
+ "type": "bool",
706
+ "id": 11,
707
+ "options": {
708
+ "deprecated": true
709
+ }
710
+ },
704
711
  "uninterpretedOption": {
705
712
  "rule": "repeated",
706
713
  "type": "UninterpretedOption",
@@ -784,6 +791,21 @@
784
791
  "default": false
785
792
  }
786
793
  },
794
+ "debugRedact": {
795
+ "type": "bool",
796
+ "id": 16,
797
+ "options": {
798
+ "default": false
799
+ }
800
+ },
801
+ "retention": {
802
+ "type": "OptionRetention",
803
+ "id": 17
804
+ },
805
+ "target": {
806
+ "type": "OptionTargetType",
807
+ "id": 18
808
+ },
787
809
  "uninterpretedOption": {
788
810
  "rule": "repeated",
789
811
  "type": "UninterpretedOption",
@@ -816,6 +838,27 @@
816
838
  "JS_STRING": 1,
817
839
  "JS_NUMBER": 2
818
840
  }
841
+ },
842
+ "OptionRetention": {
843
+ "values": {
844
+ "RETENTION_UNKNOWN": 0,
845
+ "RETENTION_RUNTIME": 1,
846
+ "RETENTION_SOURCE": 2
847
+ }
848
+ },
849
+ "OptionTargetType": {
850
+ "values": {
851
+ "TARGET_TYPE_UNKNOWN": 0,
852
+ "TARGET_TYPE_FILE": 1,
853
+ "TARGET_TYPE_EXTENSION_RANGE": 2,
854
+ "TARGET_TYPE_MESSAGE": 3,
855
+ "TARGET_TYPE_FIELD": 4,
856
+ "TARGET_TYPE_ONEOF": 5,
857
+ "TARGET_TYPE_ENUM": 6,
858
+ "TARGET_TYPE_ENUM_ENTRY": 7,
859
+ "TARGET_TYPE_SERVICE": 8,
860
+ "TARGET_TYPE_METHOD": 9
861
+ }
819
862
  }
820
863
  }
821
864
  },
@@ -847,6 +890,13 @@
847
890
  "default": false
848
891
  }
849
892
  },
893
+ "deprecatedLegacyJsonFieldConflicts": {
894
+ "type": "bool",
895
+ "id": 6,
896
+ "options": {
897
+ "deprecated": true
898
+ }
899
+ },
850
900
  "uninterpretedOption": {
851
901
  "rule": "repeated",
852
902
  "type": "UninterpretedOption",
@@ -2159,6 +2209,248 @@
2159
2209
  "id": 1050,
2160
2210
  "extend": "google.protobuf.ServiceOptions"
2161
2211
  },
2212
+ "CommonLanguageSettings": {
2213
+ "fields": {
2214
+ "referenceDocsUri": {
2215
+ "type": "string",
2216
+ "id": 1,
2217
+ "options": {
2218
+ "deprecated": true
2219
+ }
2220
+ },
2221
+ "destinations": {
2222
+ "rule": "repeated",
2223
+ "type": "ClientLibraryDestination",
2224
+ "id": 2
2225
+ }
2226
+ }
2227
+ },
2228
+ "ClientLibrarySettings": {
2229
+ "fields": {
2230
+ "version": {
2231
+ "type": "string",
2232
+ "id": 1
2233
+ },
2234
+ "launchStage": {
2235
+ "type": "LaunchStage",
2236
+ "id": 2
2237
+ },
2238
+ "restNumericEnums": {
2239
+ "type": "bool",
2240
+ "id": 3
2241
+ },
2242
+ "javaSettings": {
2243
+ "type": "JavaSettings",
2244
+ "id": 21
2245
+ },
2246
+ "cppSettings": {
2247
+ "type": "CppSettings",
2248
+ "id": 22
2249
+ },
2250
+ "phpSettings": {
2251
+ "type": "PhpSettings",
2252
+ "id": 23
2253
+ },
2254
+ "pythonSettings": {
2255
+ "type": "PythonSettings",
2256
+ "id": 24
2257
+ },
2258
+ "nodeSettings": {
2259
+ "type": "NodeSettings",
2260
+ "id": 25
2261
+ },
2262
+ "dotnetSettings": {
2263
+ "type": "DotnetSettings",
2264
+ "id": 26
2265
+ },
2266
+ "rubySettings": {
2267
+ "type": "RubySettings",
2268
+ "id": 27
2269
+ },
2270
+ "goSettings": {
2271
+ "type": "GoSettings",
2272
+ "id": 28
2273
+ }
2274
+ }
2275
+ },
2276
+ "Publishing": {
2277
+ "fields": {
2278
+ "methodSettings": {
2279
+ "rule": "repeated",
2280
+ "type": "MethodSettings",
2281
+ "id": 2
2282
+ },
2283
+ "newIssueUri": {
2284
+ "type": "string",
2285
+ "id": 101
2286
+ },
2287
+ "documentationUri": {
2288
+ "type": "string",
2289
+ "id": 102
2290
+ },
2291
+ "apiShortName": {
2292
+ "type": "string",
2293
+ "id": 103
2294
+ },
2295
+ "githubLabel": {
2296
+ "type": "string",
2297
+ "id": 104
2298
+ },
2299
+ "codeownerGithubTeams": {
2300
+ "rule": "repeated",
2301
+ "type": "string",
2302
+ "id": 105
2303
+ },
2304
+ "docTagPrefix": {
2305
+ "type": "string",
2306
+ "id": 106
2307
+ },
2308
+ "organization": {
2309
+ "type": "ClientLibraryOrganization",
2310
+ "id": 107
2311
+ },
2312
+ "librarySettings": {
2313
+ "rule": "repeated",
2314
+ "type": "ClientLibrarySettings",
2315
+ "id": 109
2316
+ }
2317
+ }
2318
+ },
2319
+ "JavaSettings": {
2320
+ "fields": {
2321
+ "libraryPackage": {
2322
+ "type": "string",
2323
+ "id": 1
2324
+ },
2325
+ "serviceClassNames": {
2326
+ "keyType": "string",
2327
+ "type": "string",
2328
+ "id": 2
2329
+ },
2330
+ "common": {
2331
+ "type": "CommonLanguageSettings",
2332
+ "id": 3
2333
+ }
2334
+ }
2335
+ },
2336
+ "CppSettings": {
2337
+ "fields": {
2338
+ "common": {
2339
+ "type": "CommonLanguageSettings",
2340
+ "id": 1
2341
+ }
2342
+ }
2343
+ },
2344
+ "PhpSettings": {
2345
+ "fields": {
2346
+ "common": {
2347
+ "type": "CommonLanguageSettings",
2348
+ "id": 1
2349
+ }
2350
+ }
2351
+ },
2352
+ "PythonSettings": {
2353
+ "fields": {
2354
+ "common": {
2355
+ "type": "CommonLanguageSettings",
2356
+ "id": 1
2357
+ }
2358
+ }
2359
+ },
2360
+ "NodeSettings": {
2361
+ "fields": {
2362
+ "common": {
2363
+ "type": "CommonLanguageSettings",
2364
+ "id": 1
2365
+ }
2366
+ }
2367
+ },
2368
+ "DotnetSettings": {
2369
+ "fields": {
2370
+ "common": {
2371
+ "type": "CommonLanguageSettings",
2372
+ "id": 1
2373
+ }
2374
+ }
2375
+ },
2376
+ "RubySettings": {
2377
+ "fields": {
2378
+ "common": {
2379
+ "type": "CommonLanguageSettings",
2380
+ "id": 1
2381
+ }
2382
+ }
2383
+ },
2384
+ "GoSettings": {
2385
+ "fields": {
2386
+ "common": {
2387
+ "type": "CommonLanguageSettings",
2388
+ "id": 1
2389
+ }
2390
+ }
2391
+ },
2392
+ "MethodSettings": {
2393
+ "fields": {
2394
+ "selector": {
2395
+ "type": "string",
2396
+ "id": 1
2397
+ },
2398
+ "longRunning": {
2399
+ "type": "LongRunning",
2400
+ "id": 2
2401
+ }
2402
+ },
2403
+ "nested": {
2404
+ "LongRunning": {
2405
+ "fields": {
2406
+ "initialPollDelay": {
2407
+ "type": "google.protobuf.Duration",
2408
+ "id": 1
2409
+ },
2410
+ "pollDelayMultiplier": {
2411
+ "type": "float",
2412
+ "id": 2
2413
+ },
2414
+ "maxPollDelay": {
2415
+ "type": "google.protobuf.Duration",
2416
+ "id": 3
2417
+ },
2418
+ "totalPollTimeout": {
2419
+ "type": "google.protobuf.Duration",
2420
+ "id": 4
2421
+ }
2422
+ }
2423
+ }
2424
+ }
2425
+ },
2426
+ "ClientLibraryOrganization": {
2427
+ "values": {
2428
+ "CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED": 0,
2429
+ "CLOUD": 1,
2430
+ "ADS": 2,
2431
+ "PHOTOS": 3,
2432
+ "STREET_VIEW": 4
2433
+ }
2434
+ },
2435
+ "ClientLibraryDestination": {
2436
+ "values": {
2437
+ "CLIENT_LIBRARY_DESTINATION_UNSPECIFIED": 0,
2438
+ "GITHUB": 10,
2439
+ "PACKAGE_MANAGER": 20
2440
+ }
2441
+ },
2442
+ "LaunchStage": {
2443
+ "values": {
2444
+ "LAUNCH_STAGE_UNSPECIFIED": 0,
2445
+ "UNIMPLEMENTED": 6,
2446
+ "PRELAUNCH": 7,
2447
+ "EARLY_ACCESS": 1,
2448
+ "ALPHA": 2,
2449
+ "BETA": 3,
2450
+ "GA": 4,
2451
+ "DEPRECATED": 5
2452
+ }
2453
+ },
2162
2454
  "fieldBehavior": {
2163
2455
  "rule": "repeated",
2164
2456
  "type": "google.api.FieldBehavior",
@@ -198,7 +198,7 @@ export declare class RoutesClient {
198
198
  * @param {object} [options]
199
199
  * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
200
200
  * @returns {Promise} - The promise which resolves to an array.
201
- * The first element of the array is an object representing [ComputeRoutesResponse]{@link google.maps.routing.v2.ComputeRoutesResponse}.
201
+ * The first element of the array is an object representing {@link google.maps.routing.v2.ComputeRoutesResponse | ComputeRoutesResponse}.
202
202
  * Please see the
203
203
  * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
204
204
  * for more details and examples.
@@ -285,7 +285,7 @@ export declare class RoutesClient {
285
285
  * @param {object} [options]
286
286
  * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
287
287
  * @returns {Stream}
288
- * An object stream which emits [RouteMatrixElement]{@link google.maps.routing.v2.RouteMatrixElement} on 'data' event.
288
+ * An object stream which emits {@link google.maps.routing.v2.RouteMatrixElement | RouteMatrixElement} on 'data' event.
289
289
  * Please see the
290
290
  * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#server-streaming)
291
291
  * for more details and examples.
@@ -327,7 +327,7 @@ class RoutesClient {
327
327
  * @param {object} [options]
328
328
  * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
329
329
  * @returns {Stream}
330
- * An object stream which emits [RouteMatrixElement]{@link google.maps.routing.v2.RouteMatrixElement} on 'data' event.
330
+ * An object stream which emits {@link google.maps.routing.v2.RouteMatrixElement | RouteMatrixElement} on 'data' event.
331
331
  * Please see the
332
332
  * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#server-streaming)
333
333
  * for more details and examples.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@googlemaps/routing",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": " client for Node.js",
5
5
  "repository": {
6
6
  "type": "git",