@googlemaps/places 2.2.0 → 2.3.0

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.
@@ -1,4 +1,4 @@
1
- // Copyright 2025 Google LLC
1
+ // Copyright 2026 Google LLC
2
2
  //
3
3
  // Licensed under the Apache License, Version 2.0 (the "License");
4
4
  // you may not use this file except in compliance with the License.
@@ -1464,14 +1464,11 @@ export namespace google {
1464
1464
  /** Properties of a ContentBlock. */
1465
1465
  interface IContentBlock {
1466
1466
 
1467
- /** ContentBlock topic */
1468
- topic?: (string|null);
1469
-
1470
1467
  /** ContentBlock content */
1471
1468
  content?: (google.type.ILocalizedText|null);
1472
1469
 
1473
- /** ContentBlock references */
1474
- references?: (google.maps.places.v1.IReferences|null);
1470
+ /** ContentBlock referencedPlaces */
1471
+ referencedPlaces?: (string[]|null);
1475
1472
  }
1476
1473
 
1477
1474
  /** Represents a ContentBlock. */
@@ -1483,14 +1480,11 @@ export namespace google {
1483
1480
  */
1484
1481
  constructor(properties?: google.maps.places.v1.IContentBlock);
1485
1482
 
1486
- /** ContentBlock topic. */
1487
- public topic: string;
1488
-
1489
1483
  /** ContentBlock content. */
1490
1484
  public content?: (google.type.ILocalizedText|null);
1491
1485
 
1492
- /** ContentBlock references. */
1493
- public references?: (google.maps.places.v1.IReferences|null);
1486
+ /** ContentBlock referencedPlaces. */
1487
+ public referencedPlaces: string[];
1494
1488
 
1495
1489
  /**
1496
1490
  * Creates a new ContentBlock instance using the specified properties.
@@ -1570,260 +1564,6 @@ export namespace google {
1570
1564
  public static getTypeUrl(typeUrlPrefix?: string): string;
1571
1565
  }
1572
1566
 
1573
- /** Properties of a References. */
1574
- interface IReferences {
1575
-
1576
- /** References reviews */
1577
- reviews?: (google.maps.places.v1.IReview[]|null);
1578
-
1579
- /** References places */
1580
- places?: (string[]|null);
1581
- }
1582
-
1583
- /** Represents a References. */
1584
- class References implements IReferences {
1585
-
1586
- /**
1587
- * Constructs a new References.
1588
- * @param [properties] Properties to set
1589
- */
1590
- constructor(properties?: google.maps.places.v1.IReferences);
1591
-
1592
- /** References reviews. */
1593
- public reviews: google.maps.places.v1.IReview[];
1594
-
1595
- /** References places. */
1596
- public places: string[];
1597
-
1598
- /**
1599
- * Creates a new References instance using the specified properties.
1600
- * @param [properties] Properties to set
1601
- * @returns References instance
1602
- */
1603
- public static create(properties?: google.maps.places.v1.IReferences): google.maps.places.v1.References;
1604
-
1605
- /**
1606
- * Encodes the specified References message. Does not implicitly {@link google.maps.places.v1.References.verify|verify} messages.
1607
- * @param message References message or plain object to encode
1608
- * @param [writer] Writer to encode to
1609
- * @returns Writer
1610
- */
1611
- public static encode(message: google.maps.places.v1.IReferences, writer?: $protobuf.Writer): $protobuf.Writer;
1612
-
1613
- /**
1614
- * Encodes the specified References message, length delimited. Does not implicitly {@link google.maps.places.v1.References.verify|verify} messages.
1615
- * @param message References message or plain object to encode
1616
- * @param [writer] Writer to encode to
1617
- * @returns Writer
1618
- */
1619
- public static encodeDelimited(message: google.maps.places.v1.IReferences, writer?: $protobuf.Writer): $protobuf.Writer;
1620
-
1621
- /**
1622
- * Decodes a References message from the specified reader or buffer.
1623
- * @param reader Reader or buffer to decode from
1624
- * @param [length] Message length if known beforehand
1625
- * @returns References
1626
- * @throws {Error} If the payload is not a reader or valid buffer
1627
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1628
- */
1629
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.maps.places.v1.References;
1630
-
1631
- /**
1632
- * Decodes a References message from the specified reader or buffer, length delimited.
1633
- * @param reader Reader or buffer to decode from
1634
- * @returns References
1635
- * @throws {Error} If the payload is not a reader or valid buffer
1636
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1637
- */
1638
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.maps.places.v1.References;
1639
-
1640
- /**
1641
- * Verifies a References message.
1642
- * @param message Plain object to verify
1643
- * @returns `null` if valid, otherwise the reason why it is not
1644
- */
1645
- public static verify(message: { [k: string]: any }): (string|null);
1646
-
1647
- /**
1648
- * Creates a References message from a plain object. Also converts values to their respective internal types.
1649
- * @param object Plain object
1650
- * @returns References
1651
- */
1652
- public static fromObject(object: { [k: string]: any }): google.maps.places.v1.References;
1653
-
1654
- /**
1655
- * Creates a plain object from a References message. Also converts values to other types if specified.
1656
- * @param message References
1657
- * @param [options] Conversion options
1658
- * @returns Plain object
1659
- */
1660
- public static toObject(message: google.maps.places.v1.References, options?: $protobuf.IConversionOptions): { [k: string]: any };
1661
-
1662
- /**
1663
- * Converts this References to JSON.
1664
- * @returns JSON object
1665
- */
1666
- public toJSON(): { [k: string]: any };
1667
-
1668
- /**
1669
- * Gets the default type url for References
1670
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1671
- * @returns The default type url
1672
- */
1673
- public static getTypeUrl(typeUrlPrefix?: string): string;
1674
- }
1675
-
1676
- /** Properties of a Review. */
1677
- interface IReview {
1678
-
1679
- /** Review name */
1680
- name?: (string|null);
1681
-
1682
- /** Review relativePublishTimeDescription */
1683
- relativePublishTimeDescription?: (string|null);
1684
-
1685
- /** Review text */
1686
- text?: (google.type.ILocalizedText|null);
1687
-
1688
- /** Review originalText */
1689
- originalText?: (google.type.ILocalizedText|null);
1690
-
1691
- /** Review rating */
1692
- rating?: (number|null);
1693
-
1694
- /** Review authorAttribution */
1695
- authorAttribution?: (google.maps.places.v1.IAuthorAttribution|null);
1696
-
1697
- /** Review publishTime */
1698
- publishTime?: (google.protobuf.ITimestamp|null);
1699
-
1700
- /** Review flagContentUri */
1701
- flagContentUri?: (string|null);
1702
-
1703
- /** Review googleMapsUri */
1704
- googleMapsUri?: (string|null);
1705
-
1706
- /** Review visitDate */
1707
- visitDate?: (google.type.IDate|null);
1708
- }
1709
-
1710
- /** Represents a Review. */
1711
- class Review implements IReview {
1712
-
1713
- /**
1714
- * Constructs a new Review.
1715
- * @param [properties] Properties to set
1716
- */
1717
- constructor(properties?: google.maps.places.v1.IReview);
1718
-
1719
- /** Review name. */
1720
- public name: string;
1721
-
1722
- /** Review relativePublishTimeDescription. */
1723
- public relativePublishTimeDescription: string;
1724
-
1725
- /** Review text. */
1726
- public text?: (google.type.ILocalizedText|null);
1727
-
1728
- /** Review originalText. */
1729
- public originalText?: (google.type.ILocalizedText|null);
1730
-
1731
- /** Review rating. */
1732
- public rating: number;
1733
-
1734
- /** Review authorAttribution. */
1735
- public authorAttribution?: (google.maps.places.v1.IAuthorAttribution|null);
1736
-
1737
- /** Review publishTime. */
1738
- public publishTime?: (google.protobuf.ITimestamp|null);
1739
-
1740
- /** Review flagContentUri. */
1741
- public flagContentUri: string;
1742
-
1743
- /** Review googleMapsUri. */
1744
- public googleMapsUri: string;
1745
-
1746
- /** Review visitDate. */
1747
- public visitDate?: (google.type.IDate|null);
1748
-
1749
- /**
1750
- * Creates a new Review instance using the specified properties.
1751
- * @param [properties] Properties to set
1752
- * @returns Review instance
1753
- */
1754
- public static create(properties?: google.maps.places.v1.IReview): google.maps.places.v1.Review;
1755
-
1756
- /**
1757
- * Encodes the specified Review message. Does not implicitly {@link google.maps.places.v1.Review.verify|verify} messages.
1758
- * @param message Review message or plain object to encode
1759
- * @param [writer] Writer to encode to
1760
- * @returns Writer
1761
- */
1762
- public static encode(message: google.maps.places.v1.IReview, writer?: $protobuf.Writer): $protobuf.Writer;
1763
-
1764
- /**
1765
- * Encodes the specified Review message, length delimited. Does not implicitly {@link google.maps.places.v1.Review.verify|verify} messages.
1766
- * @param message Review message or plain object to encode
1767
- * @param [writer] Writer to encode to
1768
- * @returns Writer
1769
- */
1770
- public static encodeDelimited(message: google.maps.places.v1.IReview, writer?: $protobuf.Writer): $protobuf.Writer;
1771
-
1772
- /**
1773
- * Decodes a Review message from the specified reader or buffer.
1774
- * @param reader Reader or buffer to decode from
1775
- * @param [length] Message length if known beforehand
1776
- * @returns Review
1777
- * @throws {Error} If the payload is not a reader or valid buffer
1778
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1779
- */
1780
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.maps.places.v1.Review;
1781
-
1782
- /**
1783
- * Decodes a Review message from the specified reader or buffer, length delimited.
1784
- * @param reader Reader or buffer to decode from
1785
- * @returns Review
1786
- * @throws {Error} If the payload is not a reader or valid buffer
1787
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1788
- */
1789
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.maps.places.v1.Review;
1790
-
1791
- /**
1792
- * Verifies a Review message.
1793
- * @param message Plain object to verify
1794
- * @returns `null` if valid, otherwise the reason why it is not
1795
- */
1796
- public static verify(message: { [k: string]: any }): (string|null);
1797
-
1798
- /**
1799
- * Creates a Review message from a plain object. Also converts values to their respective internal types.
1800
- * @param object Plain object
1801
- * @returns Review
1802
- */
1803
- public static fromObject(object: { [k: string]: any }): google.maps.places.v1.Review;
1804
-
1805
- /**
1806
- * Creates a plain object from a Review message. Also converts values to other types if specified.
1807
- * @param message Review
1808
- * @param [options] Conversion options
1809
- * @returns Plain object
1810
- */
1811
- public static toObject(message: google.maps.places.v1.Review, options?: $protobuf.IConversionOptions): { [k: string]: any };
1812
-
1813
- /**
1814
- * Converts this Review to JSON.
1815
- * @returns JSON object
1816
- */
1817
- public toJSON(): { [k: string]: any };
1818
-
1819
- /**
1820
- * Gets the default type url for Review
1821
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1822
- * @returns The default type url
1823
- */
1824
- public static getTypeUrl(typeUrlPrefix?: string): string;
1825
- }
1826
-
1827
1567
  /** Properties of a ContextualContent. */
1828
1568
  interface IContextualContent {
1829
1569
 
@@ -2503,93 +2243,244 @@ export namespace google {
2503
2243
  /** Photo name. */
2504
2244
  public name: string;
2505
2245
 
2506
- /** Photo widthPx. */
2507
- public widthPx: number;
2246
+ /** Photo widthPx. */
2247
+ public widthPx: number;
2248
+
2249
+ /** Photo heightPx. */
2250
+ public heightPx: number;
2251
+
2252
+ /** Photo authorAttributions. */
2253
+ public authorAttributions: google.maps.places.v1.IAuthorAttribution[];
2254
+
2255
+ /** Photo flagContentUri. */
2256
+ public flagContentUri: string;
2257
+
2258
+ /** Photo googleMapsUri. */
2259
+ public googleMapsUri: string;
2260
+
2261
+ /**
2262
+ * Creates a new Photo instance using the specified properties.
2263
+ * @param [properties] Properties to set
2264
+ * @returns Photo instance
2265
+ */
2266
+ public static create(properties?: google.maps.places.v1.IPhoto): google.maps.places.v1.Photo;
2267
+
2268
+ /**
2269
+ * Encodes the specified Photo message. Does not implicitly {@link google.maps.places.v1.Photo.verify|verify} messages.
2270
+ * @param message Photo message or plain object to encode
2271
+ * @param [writer] Writer to encode to
2272
+ * @returns Writer
2273
+ */
2274
+ public static encode(message: google.maps.places.v1.IPhoto, writer?: $protobuf.Writer): $protobuf.Writer;
2275
+
2276
+ /**
2277
+ * Encodes the specified Photo message, length delimited. Does not implicitly {@link google.maps.places.v1.Photo.verify|verify} messages.
2278
+ * @param message Photo message or plain object to encode
2279
+ * @param [writer] Writer to encode to
2280
+ * @returns Writer
2281
+ */
2282
+ public static encodeDelimited(message: google.maps.places.v1.IPhoto, writer?: $protobuf.Writer): $protobuf.Writer;
2283
+
2284
+ /**
2285
+ * Decodes a Photo message from the specified reader or buffer.
2286
+ * @param reader Reader or buffer to decode from
2287
+ * @param [length] Message length if known beforehand
2288
+ * @returns Photo
2289
+ * @throws {Error} If the payload is not a reader or valid buffer
2290
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2291
+ */
2292
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.maps.places.v1.Photo;
2293
+
2294
+ /**
2295
+ * Decodes a Photo message from the specified reader or buffer, length delimited.
2296
+ * @param reader Reader or buffer to decode from
2297
+ * @returns Photo
2298
+ * @throws {Error} If the payload is not a reader or valid buffer
2299
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2300
+ */
2301
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.maps.places.v1.Photo;
2302
+
2303
+ /**
2304
+ * Verifies a Photo message.
2305
+ * @param message Plain object to verify
2306
+ * @returns `null` if valid, otherwise the reason why it is not
2307
+ */
2308
+ public static verify(message: { [k: string]: any }): (string|null);
2309
+
2310
+ /**
2311
+ * Creates a Photo message from a plain object. Also converts values to their respective internal types.
2312
+ * @param object Plain object
2313
+ * @returns Photo
2314
+ */
2315
+ public static fromObject(object: { [k: string]: any }): google.maps.places.v1.Photo;
2316
+
2317
+ /**
2318
+ * Creates a plain object from a Photo message. Also converts values to other types if specified.
2319
+ * @param message Photo
2320
+ * @param [options] Conversion options
2321
+ * @returns Plain object
2322
+ */
2323
+ public static toObject(message: google.maps.places.v1.Photo, options?: $protobuf.IConversionOptions): { [k: string]: any };
2324
+
2325
+ /**
2326
+ * Converts this Photo to JSON.
2327
+ * @returns JSON object
2328
+ */
2329
+ public toJSON(): { [k: string]: any };
2330
+
2331
+ /**
2332
+ * Gets the default type url for Photo
2333
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
2334
+ * @returns The default type url
2335
+ */
2336
+ public static getTypeUrl(typeUrlPrefix?: string): string;
2337
+ }
2338
+
2339
+ /** Properties of a Review. */
2340
+ interface IReview {
2341
+
2342
+ /** Review name */
2343
+ name?: (string|null);
2344
+
2345
+ /** Review relativePublishTimeDescription */
2346
+ relativePublishTimeDescription?: (string|null);
2347
+
2348
+ /** Review text */
2349
+ text?: (google.type.ILocalizedText|null);
2350
+
2351
+ /** Review originalText */
2352
+ originalText?: (google.type.ILocalizedText|null);
2353
+
2354
+ /** Review rating */
2355
+ rating?: (number|null);
2356
+
2357
+ /** Review authorAttribution */
2358
+ authorAttribution?: (google.maps.places.v1.IAuthorAttribution|null);
2359
+
2360
+ /** Review publishTime */
2361
+ publishTime?: (google.protobuf.ITimestamp|null);
2362
+
2363
+ /** Review flagContentUri */
2364
+ flagContentUri?: (string|null);
2365
+
2366
+ /** Review googleMapsUri */
2367
+ googleMapsUri?: (string|null);
2368
+
2369
+ /** Review visitDate */
2370
+ visitDate?: (google.type.IDate|null);
2371
+ }
2372
+
2373
+ /** Represents a Review. */
2374
+ class Review implements IReview {
2375
+
2376
+ /**
2377
+ * Constructs a new Review.
2378
+ * @param [properties] Properties to set
2379
+ */
2380
+ constructor(properties?: google.maps.places.v1.IReview);
2381
+
2382
+ /** Review name. */
2383
+ public name: string;
2384
+
2385
+ /** Review relativePublishTimeDescription. */
2386
+ public relativePublishTimeDescription: string;
2508
2387
 
2509
- /** Photo heightPx. */
2510
- public heightPx: number;
2388
+ /** Review text. */
2389
+ public text?: (google.type.ILocalizedText|null);
2511
2390
 
2512
- /** Photo authorAttributions. */
2513
- public authorAttributions: google.maps.places.v1.IAuthorAttribution[];
2391
+ /** Review originalText. */
2392
+ public originalText?: (google.type.ILocalizedText|null);
2514
2393
 
2515
- /** Photo flagContentUri. */
2394
+ /** Review rating. */
2395
+ public rating: number;
2396
+
2397
+ /** Review authorAttribution. */
2398
+ public authorAttribution?: (google.maps.places.v1.IAuthorAttribution|null);
2399
+
2400
+ /** Review publishTime. */
2401
+ public publishTime?: (google.protobuf.ITimestamp|null);
2402
+
2403
+ /** Review flagContentUri. */
2516
2404
  public flagContentUri: string;
2517
2405
 
2518
- /** Photo googleMapsUri. */
2406
+ /** Review googleMapsUri. */
2519
2407
  public googleMapsUri: string;
2520
2408
 
2409
+ /** Review visitDate. */
2410
+ public visitDate?: (google.type.IDate|null);
2411
+
2521
2412
  /**
2522
- * Creates a new Photo instance using the specified properties.
2413
+ * Creates a new Review instance using the specified properties.
2523
2414
  * @param [properties] Properties to set
2524
- * @returns Photo instance
2415
+ * @returns Review instance
2525
2416
  */
2526
- public static create(properties?: google.maps.places.v1.IPhoto): google.maps.places.v1.Photo;
2417
+ public static create(properties?: google.maps.places.v1.IReview): google.maps.places.v1.Review;
2527
2418
 
2528
2419
  /**
2529
- * Encodes the specified Photo message. Does not implicitly {@link google.maps.places.v1.Photo.verify|verify} messages.
2530
- * @param message Photo message or plain object to encode
2420
+ * Encodes the specified Review message. Does not implicitly {@link google.maps.places.v1.Review.verify|verify} messages.
2421
+ * @param message Review message or plain object to encode
2531
2422
  * @param [writer] Writer to encode to
2532
2423
  * @returns Writer
2533
2424
  */
2534
- public static encode(message: google.maps.places.v1.IPhoto, writer?: $protobuf.Writer): $protobuf.Writer;
2425
+ public static encode(message: google.maps.places.v1.IReview, writer?: $protobuf.Writer): $protobuf.Writer;
2535
2426
 
2536
2427
  /**
2537
- * Encodes the specified Photo message, length delimited. Does not implicitly {@link google.maps.places.v1.Photo.verify|verify} messages.
2538
- * @param message Photo message or plain object to encode
2428
+ * Encodes the specified Review message, length delimited. Does not implicitly {@link google.maps.places.v1.Review.verify|verify} messages.
2429
+ * @param message Review message or plain object to encode
2539
2430
  * @param [writer] Writer to encode to
2540
2431
  * @returns Writer
2541
2432
  */
2542
- public static encodeDelimited(message: google.maps.places.v1.IPhoto, writer?: $protobuf.Writer): $protobuf.Writer;
2433
+ public static encodeDelimited(message: google.maps.places.v1.IReview, writer?: $protobuf.Writer): $protobuf.Writer;
2543
2434
 
2544
2435
  /**
2545
- * Decodes a Photo message from the specified reader or buffer.
2436
+ * Decodes a Review message from the specified reader or buffer.
2546
2437
  * @param reader Reader or buffer to decode from
2547
2438
  * @param [length] Message length if known beforehand
2548
- * @returns Photo
2439
+ * @returns Review
2549
2440
  * @throws {Error} If the payload is not a reader or valid buffer
2550
2441
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
2551
2442
  */
2552
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.maps.places.v1.Photo;
2443
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.maps.places.v1.Review;
2553
2444
 
2554
2445
  /**
2555
- * Decodes a Photo message from the specified reader or buffer, length delimited.
2446
+ * Decodes a Review message from the specified reader or buffer, length delimited.
2556
2447
  * @param reader Reader or buffer to decode from
2557
- * @returns Photo
2448
+ * @returns Review
2558
2449
  * @throws {Error} If the payload is not a reader or valid buffer
2559
2450
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
2560
2451
  */
2561
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.maps.places.v1.Photo;
2452
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.maps.places.v1.Review;
2562
2453
 
2563
2454
  /**
2564
- * Verifies a Photo message.
2455
+ * Verifies a Review message.
2565
2456
  * @param message Plain object to verify
2566
2457
  * @returns `null` if valid, otherwise the reason why it is not
2567
2458
  */
2568
2459
  public static verify(message: { [k: string]: any }): (string|null);
2569
2460
 
2570
2461
  /**
2571
- * Creates a Photo message from a plain object. Also converts values to their respective internal types.
2462
+ * Creates a Review message from a plain object. Also converts values to their respective internal types.
2572
2463
  * @param object Plain object
2573
- * @returns Photo
2464
+ * @returns Review
2574
2465
  */
2575
- public static fromObject(object: { [k: string]: any }): google.maps.places.v1.Photo;
2466
+ public static fromObject(object: { [k: string]: any }): google.maps.places.v1.Review;
2576
2467
 
2577
2468
  /**
2578
- * Creates a plain object from a Photo message. Also converts values to other types if specified.
2579
- * @param message Photo
2469
+ * Creates a plain object from a Review message. Also converts values to other types if specified.
2470
+ * @param message Review
2580
2471
  * @param [options] Conversion options
2581
2472
  * @returns Plain object
2582
2473
  */
2583
- public static toObject(message: google.maps.places.v1.Photo, options?: $protobuf.IConversionOptions): { [k: string]: any };
2474
+ public static toObject(message: google.maps.places.v1.Review, options?: $protobuf.IConversionOptions): { [k: string]: any };
2584
2475
 
2585
2476
  /**
2586
- * Converts this Photo to JSON.
2477
+ * Converts this Review to JSON.
2587
2478
  * @returns JSON object
2588
2479
  */
2589
2480
  public toJSON(): { [k: string]: any };
2590
2481
 
2591
2482
  /**
2592
- * Gets the default type url for Photo
2483
+ * Gets the default type url for Review
2593
2484
  * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
2594
2485
  * @returns The default type url
2595
2486
  */
@@ -3205,6 +3096,9 @@ export namespace google {
3205
3096
  /** Place primaryTypeDisplayName */
3206
3097
  primaryTypeDisplayName?: (google.type.ILocalizedText|null);
3207
3098
 
3099
+ /** Place googleMapsTypeLabel */
3100
+ googleMapsTypeLabel?: (google.type.ILocalizedText|null);
3101
+
3208
3102
  /** Place nationalPhoneNumber */
3209
3103
  nationalPhoneNumber?: (string|null);
3210
3104
 
@@ -3388,6 +3282,9 @@ export namespace google {
3388
3282
  /** Place addressDescriptor */
3389
3283
  addressDescriptor?: (google.maps.places.v1.IAddressDescriptor|null);
3390
3284
 
3285
+ /** Place googleMapsLinks */
3286
+ googleMapsLinks?: (google.maps.places.v1.Place.IGoogleMapsLinks|null);
3287
+
3391
3288
  /** Place priceRange */
3392
3289
  priceRange?: (google.maps.places.v1.IPriceRange|null);
3393
3290
 
@@ -3437,6 +3334,9 @@ export namespace google {
3437
3334
  /** Place primaryTypeDisplayName. */
3438
3335
  public primaryTypeDisplayName?: (google.type.ILocalizedText|null);
3439
3336
 
3337
+ /** Place googleMapsTypeLabel. */
3338
+ public googleMapsTypeLabel?: (google.type.ILocalizedText|null);
3339
+
3440
3340
  /** Place nationalPhoneNumber. */
3441
3341
  public nationalPhoneNumber: string;
3442
3342
 
@@ -3620,6 +3520,9 @@ export namespace google {
3620
3520
  /** Place addressDescriptor. */
3621
3521
  public addressDescriptor?: (google.maps.places.v1.IAddressDescriptor|null);
3622
3522
 
3523
+ /** Place googleMapsLinks. */
3524
+ public googleMapsLinks?: (google.maps.places.v1.Place.IGoogleMapsLinks|null);
3525
+
3623
3526
  /** Place priceRange. */
3624
3527
  public priceRange?: (google.maps.places.v1.IPriceRange|null);
3625
3528
 
@@ -5206,6 +5109,127 @@ export namespace google {
5206
5109
  public static getTypeUrl(typeUrlPrefix?: string): string;
5207
5110
  }
5208
5111
 
5112
+ /** Properties of a GoogleMapsLinks. */
5113
+ interface IGoogleMapsLinks {
5114
+
5115
+ /** GoogleMapsLinks directionsUri */
5116
+ directionsUri?: (string|null);
5117
+
5118
+ /** GoogleMapsLinks placeUri */
5119
+ placeUri?: (string|null);
5120
+
5121
+ /** GoogleMapsLinks writeAReviewUri */
5122
+ writeAReviewUri?: (string|null);
5123
+
5124
+ /** GoogleMapsLinks reviewsUri */
5125
+ reviewsUri?: (string|null);
5126
+
5127
+ /** GoogleMapsLinks photosUri */
5128
+ photosUri?: (string|null);
5129
+ }
5130
+
5131
+ /** Represents a GoogleMapsLinks. */
5132
+ class GoogleMapsLinks implements IGoogleMapsLinks {
5133
+
5134
+ /**
5135
+ * Constructs a new GoogleMapsLinks.
5136
+ * @param [properties] Properties to set
5137
+ */
5138
+ constructor(properties?: google.maps.places.v1.Place.IGoogleMapsLinks);
5139
+
5140
+ /** GoogleMapsLinks directionsUri. */
5141
+ public directionsUri: string;
5142
+
5143
+ /** GoogleMapsLinks placeUri. */
5144
+ public placeUri: string;
5145
+
5146
+ /** GoogleMapsLinks writeAReviewUri. */
5147
+ public writeAReviewUri: string;
5148
+
5149
+ /** GoogleMapsLinks reviewsUri. */
5150
+ public reviewsUri: string;
5151
+
5152
+ /** GoogleMapsLinks photosUri. */
5153
+ public photosUri: string;
5154
+
5155
+ /**
5156
+ * Creates a new GoogleMapsLinks instance using the specified properties.
5157
+ * @param [properties] Properties to set
5158
+ * @returns GoogleMapsLinks instance
5159
+ */
5160
+ public static create(properties?: google.maps.places.v1.Place.IGoogleMapsLinks): google.maps.places.v1.Place.GoogleMapsLinks;
5161
+
5162
+ /**
5163
+ * Encodes the specified GoogleMapsLinks message. Does not implicitly {@link google.maps.places.v1.Place.GoogleMapsLinks.verify|verify} messages.
5164
+ * @param message GoogleMapsLinks message or plain object to encode
5165
+ * @param [writer] Writer to encode to
5166
+ * @returns Writer
5167
+ */
5168
+ public static encode(message: google.maps.places.v1.Place.IGoogleMapsLinks, writer?: $protobuf.Writer): $protobuf.Writer;
5169
+
5170
+ /**
5171
+ * Encodes the specified GoogleMapsLinks message, length delimited. Does not implicitly {@link google.maps.places.v1.Place.GoogleMapsLinks.verify|verify} messages.
5172
+ * @param message GoogleMapsLinks message or plain object to encode
5173
+ * @param [writer] Writer to encode to
5174
+ * @returns Writer
5175
+ */
5176
+ public static encodeDelimited(message: google.maps.places.v1.Place.IGoogleMapsLinks, writer?: $protobuf.Writer): $protobuf.Writer;
5177
+
5178
+ /**
5179
+ * Decodes a GoogleMapsLinks message from the specified reader or buffer.
5180
+ * @param reader Reader or buffer to decode from
5181
+ * @param [length] Message length if known beforehand
5182
+ * @returns GoogleMapsLinks
5183
+ * @throws {Error} If the payload is not a reader or valid buffer
5184
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5185
+ */
5186
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.maps.places.v1.Place.GoogleMapsLinks;
5187
+
5188
+ /**
5189
+ * Decodes a GoogleMapsLinks message from the specified reader or buffer, length delimited.
5190
+ * @param reader Reader or buffer to decode from
5191
+ * @returns GoogleMapsLinks
5192
+ * @throws {Error} If the payload is not a reader or valid buffer
5193
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5194
+ */
5195
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.maps.places.v1.Place.GoogleMapsLinks;
5196
+
5197
+ /**
5198
+ * Verifies a GoogleMapsLinks message.
5199
+ * @param message Plain object to verify
5200
+ * @returns `null` if valid, otherwise the reason why it is not
5201
+ */
5202
+ public static verify(message: { [k: string]: any }): (string|null);
5203
+
5204
+ /**
5205
+ * Creates a GoogleMapsLinks message from a plain object. Also converts values to their respective internal types.
5206
+ * @param object Plain object
5207
+ * @returns GoogleMapsLinks
5208
+ */
5209
+ public static fromObject(object: { [k: string]: any }): google.maps.places.v1.Place.GoogleMapsLinks;
5210
+
5211
+ /**
5212
+ * Creates a plain object from a GoogleMapsLinks message. Also converts values to other types if specified.
5213
+ * @param message GoogleMapsLinks
5214
+ * @param [options] Conversion options
5215
+ * @returns Plain object
5216
+ */
5217
+ public static toObject(message: google.maps.places.v1.Place.GoogleMapsLinks, options?: $protobuf.IConversionOptions): { [k: string]: any };
5218
+
5219
+ /**
5220
+ * Converts this GoogleMapsLinks to JSON.
5221
+ * @returns JSON object
5222
+ */
5223
+ public toJSON(): { [k: string]: any };
5224
+
5225
+ /**
5226
+ * Gets the default type url for GoogleMapsLinks
5227
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
5228
+ * @returns The default type url
5229
+ */
5230
+ public static getTypeUrl(typeUrlPrefix?: string): string;
5231
+ }
5232
+
5209
5233
  /** Properties of a ReviewSummary. */
5210
5234
  interface IReviewSummary {
5211
5235
 
@@ -9223,6 +9247,109 @@ export namespace google {
9223
9247
  WALK = 3,
9224
9248
  TWO_WHEELER = 4
9225
9249
  }
9250
+
9251
+ /** Properties of a References. */
9252
+ interface IReferences {
9253
+
9254
+ /** References reviews */
9255
+ reviews?: (google.maps.places.v1.IReview[]|null);
9256
+
9257
+ /** References places */
9258
+ places?: (string[]|null);
9259
+ }
9260
+
9261
+ /** Represents a References. */
9262
+ class References implements IReferences {
9263
+
9264
+ /**
9265
+ * Constructs a new References.
9266
+ * @param [properties] Properties to set
9267
+ */
9268
+ constructor(properties?: google.maps.places.v1.IReferences);
9269
+
9270
+ /** References reviews. */
9271
+ public reviews: google.maps.places.v1.IReview[];
9272
+
9273
+ /** References places. */
9274
+ public places: string[];
9275
+
9276
+ /**
9277
+ * Creates a new References instance using the specified properties.
9278
+ * @param [properties] Properties to set
9279
+ * @returns References instance
9280
+ */
9281
+ public static create(properties?: google.maps.places.v1.IReferences): google.maps.places.v1.References;
9282
+
9283
+ /**
9284
+ * Encodes the specified References message. Does not implicitly {@link google.maps.places.v1.References.verify|verify} messages.
9285
+ * @param message References message or plain object to encode
9286
+ * @param [writer] Writer to encode to
9287
+ * @returns Writer
9288
+ */
9289
+ public static encode(message: google.maps.places.v1.IReferences, writer?: $protobuf.Writer): $protobuf.Writer;
9290
+
9291
+ /**
9292
+ * Encodes the specified References message, length delimited. Does not implicitly {@link google.maps.places.v1.References.verify|verify} messages.
9293
+ * @param message References message or plain object to encode
9294
+ * @param [writer] Writer to encode to
9295
+ * @returns Writer
9296
+ */
9297
+ public static encodeDelimited(message: google.maps.places.v1.IReferences, writer?: $protobuf.Writer): $protobuf.Writer;
9298
+
9299
+ /**
9300
+ * Decodes a References message from the specified reader or buffer.
9301
+ * @param reader Reader or buffer to decode from
9302
+ * @param [length] Message length if known beforehand
9303
+ * @returns References
9304
+ * @throws {Error} If the payload is not a reader or valid buffer
9305
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
9306
+ */
9307
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.maps.places.v1.References;
9308
+
9309
+ /**
9310
+ * Decodes a References message from the specified reader or buffer, length delimited.
9311
+ * @param reader Reader or buffer to decode from
9312
+ * @returns References
9313
+ * @throws {Error} If the payload is not a reader or valid buffer
9314
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
9315
+ */
9316
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.maps.places.v1.References;
9317
+
9318
+ /**
9319
+ * Verifies a References message.
9320
+ * @param message Plain object to verify
9321
+ * @returns `null` if valid, otherwise the reason why it is not
9322
+ */
9323
+ public static verify(message: { [k: string]: any }): (string|null);
9324
+
9325
+ /**
9326
+ * Creates a References message from a plain object. Also converts values to their respective internal types.
9327
+ * @param object Plain object
9328
+ * @returns References
9329
+ */
9330
+ public static fromObject(object: { [k: string]: any }): google.maps.places.v1.References;
9331
+
9332
+ /**
9333
+ * Creates a plain object from a References message. Also converts values to other types if specified.
9334
+ * @param message References
9335
+ * @param [options] Conversion options
9336
+ * @returns Plain object
9337
+ */
9338
+ public static toObject(message: google.maps.places.v1.References, options?: $protobuf.IConversionOptions): { [k: string]: any };
9339
+
9340
+ /**
9341
+ * Converts this References to JSON.
9342
+ * @returns JSON object
9343
+ */
9344
+ public toJSON(): { [k: string]: any };
9345
+
9346
+ /**
9347
+ * Gets the default type url for References
9348
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
9349
+ * @returns The default type url
9350
+ */
9351
+ public static getTypeUrl(typeUrlPrefix?: string): string;
9352
+ }
9226
9353
  }
9227
9354
  }
9228
9355
  }