@googlemaps/places 1.1.0 → 1.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.3.0](https://github.com/googleapis/google-cloud-node/compare/places-v1.2.0...places-v1.3.0) (2024-02-22)
4
+
5
+
6
+ ### Features
7
+
8
+ * [places] add AutoComplete API ([#5056](https://github.com/googleapis/google-cloud-node/issues/5056)) ([c53c6ea](https://github.com/googleapis/google-cloud-node/commit/c53c6ea8311a921b16a4e3b3c4d3d941afd82245))
9
+
10
+ ## [1.2.0](https://github.com/googleapis/google-cloud-node/compare/places-v1.1.0...places-v1.2.0) (2024-02-09)
11
+
12
+
13
+ ### Features
14
+
15
+ * Trusted Private Cloud support, use the universeDomain parameter ([#5029](https://github.com/googleapis/google-cloud-node/issues/5029)) ([09e59ad](https://github.com/googleapis/google-cloud-node/commit/09e59ad6e34001a33d01894ccd5a0643f1a84883))
16
+
3
17
  ## [1.1.0](https://github.com/googleapis/google-cloud-node/compare/places-v1.0.1...places-v1.1.0) (2023-10-24)
4
18
 
5
19
 
package/README.md CHANGED
@@ -93,6 +93,7 @@ Samples are in the [`samples/`](https://github.com/googleapis/google-cloud-node/
93
93
 
94
94
  | Sample | Source Code | Try it |
95
95
  | --------------------------- | --------------------------------- | ------ |
96
+ | Places.autocomplete_places | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-maps-places/samples/generated/v1/places.autocomplete_places.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-maps-places/samples/generated/v1/places.autocomplete_places.js,packages/google-maps-places/samples/README.md) |
96
97
  | Places.get_photo_media | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-maps-places/samples/generated/v1/places.get_photo_media.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-maps-places/samples/generated/v1/places.get_photo_media.js,packages/google-maps-places/samples/README.md) |
97
98
  | Places.get_place | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-maps-places/samples/generated/v1/places.get_place.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-maps-places/samples/generated/v1/places.get_place.js,packages/google-maps-places/samples/README.md) |
98
99
  | Places.search_nearby | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-maps-places/samples/generated/v1/places.search_nearby.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-maps-places/samples/generated/v1/places.search_nearby.js,packages/google-maps-places/samples/README.md) |
@@ -16,8 +16,6 @@ syntax = "proto3";
16
16
 
17
17
  package google.maps.places.v1;
18
18
 
19
- import "google/api/field_behavior.proto";
20
-
21
19
  option cc_enable_arenas = true;
22
20
  option csharp_namespace = "Google.Maps.Places.V1";
23
21
  option go_package = "cloud.google.com/go/maps/places/apiv1/placespb;placespb";
@@ -31,16 +29,16 @@ option php_namespace = "Google\\Maps\\Places\\V1";
31
29
  // [Photo][google.maps.places.v1.Photo], and
32
30
  // [Review][google.maps.places.v1.Review].
33
31
  message AuthorAttribution {
34
- // Output only. Name of the author of the [Photo][google.maps.places.v1.Photo]
35
- // or [Review][google.maps.places.v1.Review].
36
- string display_name = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
32
+ // Name of the author of the [Photo][google.maps.places.v1.Photo] or
33
+ // [Review][google.maps.places.v1.Review].
34
+ string display_name = 1;
37
35
 
38
- // Output only. URI of the author of the [Photo][google.maps.places.v1.Photo]
39
- // or [Review][google.maps.places.v1.Review].
40
- string uri = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
36
+ // URI of the author of the [Photo][google.maps.places.v1.Photo] or
37
+ // [Review][google.maps.places.v1.Review].
38
+ string uri = 2;
41
39
 
42
- // Output only. Profile photo URI of the author of the
40
+ // Profile photo URI of the author of the
43
41
  // [Photo][google.maps.places.v1.Photo] or
44
42
  // [Review][google.maps.places.v1.Review].
45
- string photo_uri = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
43
+ string photo_uri = 3;
46
44
  }
@@ -38,18 +38,17 @@ message Photo {
38
38
  singular: "photo"
39
39
  };
40
40
 
41
- // Output only. A reference representing this place photo which may be used to
42
- // look up this place photo again (a.k.a. the API "resource" name:
43
- // places/{place_id}/photos/{photo}).
44
- string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
41
+ // Identifier. A reference representing this place photo which may be used to
42
+ // look up this place photo again (also called the API "resource" name:
43
+ // `places/{place_id}/photos/{photo}`).
44
+ string name = 1 [(google.api.field_behavior) = IDENTIFIER];
45
45
 
46
- // Output only. The maximum available width, in pixels.
47
- int32 width_px = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
46
+ // The maximum available width, in pixels.
47
+ int32 width_px = 2;
48
48
 
49
- // Output only. The maximum available height, in pixels.
50
- int32 height_px = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
49
+ // The maximum available height, in pixels.
50
+ int32 height_px = 3;
51
51
 
52
- // Output only. This photo's authors.
53
- repeated AuthorAttribution author_attributions = 4
54
- [(google.api.field_behavior) = OUTPUT_ONLY];
52
+ // This photo's authors.
53
+ repeated AuthorAttribution author_attributions = 4;
55
54
  }