Skip to content

Commit 4f140a5

Browse files
1 parent 9ab6874 commit 4f140a5

6 files changed

Lines changed: 316 additions & 6 deletions

File tree

clients/google-api-services-places/v1/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-places</artifactId>
25-
<version>v1-rev20260601-2.0.0</version>
25+
<version>v1-rev20260729-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-places:v1-rev20260601-2.0.0'
38+
implementation 'com.google.apis:google-api-services-places:v1-rev20260729-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-places/v1/2.0.0/com/google/api/services/places/v1/model/GoogleMapsPlacesV1Place.java

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,13 @@ public final class GoogleMapsPlacesV1Place extends com.google.api.client.json.Ge
166166
@com.google.api.client.util.Key
167167
private GoogleTypeLocalizedText editorialSummary;
168168

169+
/**
170+
* Entrances for this destination.
171+
* The value may be {@code null}.
172+
*/
173+
@com.google.api.client.util.Key
174+
private java.util.List<GoogleMapsPlacesV1PlaceEntrance> entrances;
175+
169176
/**
170177
* The summary of amenities near the EV charging station.
171178
* The value may be {@code null}.
@@ -330,6 +337,13 @@ public final class GoogleMapsPlacesV1Place extends com.google.api.client.json.Ge
330337
@com.google.api.client.util.Key
331338
private java.lang.String nationalPhoneNumber;
332339

340+
/**
341+
* Navigation points for this destination.
342+
* The value may be {@code null}.
343+
*/
344+
@com.google.api.client.util.Key
345+
private java.util.List<GoogleMapsPlacesV1PlaceNavigationPoint> navigationPoints;
346+
333347
/**
334348
* A summary of points of interest near the place.
335349
* The value may be {@code null}.
@@ -973,6 +987,23 @@ public GoogleMapsPlacesV1Place setEditorialSummary(GoogleTypeLocalizedText edito
973987
return this;
974988
}
975989

990+
/**
991+
* Entrances for this destination.
992+
* @return value or {@code null} for none
993+
*/
994+
public java.util.List<GoogleMapsPlacesV1PlaceEntrance> getEntrances() {
995+
return entrances;
996+
}
997+
998+
/**
999+
* Entrances for this destination.
1000+
* @param entrances entrances or {@code null} for none
1001+
*/
1002+
public GoogleMapsPlacesV1Place setEntrances(java.util.List<GoogleMapsPlacesV1PlaceEntrance> entrances) {
1003+
this.entrances = entrances;
1004+
return this;
1005+
}
1006+
9761007
/**
9771008
* The summary of amenities near the EV charging station.
9781009
* @return value or {@code null} for none
@@ -1367,6 +1398,23 @@ public GoogleMapsPlacesV1Place setNationalPhoneNumber(java.lang.String nationalP
13671398
return this;
13681399
}
13691400

1401+
/**
1402+
* Navigation points for this destination.
1403+
* @return value or {@code null} for none
1404+
*/
1405+
public java.util.List<GoogleMapsPlacesV1PlaceNavigationPoint> getNavigationPoints() {
1406+
return navigationPoints;
1407+
}
1408+
1409+
/**
1410+
* Navigation points for this destination.
1411+
* @param navigationPoints navigationPoints or {@code null} for none
1412+
*/
1413+
public GoogleMapsPlacesV1Place setNavigationPoints(java.util.List<GoogleMapsPlacesV1PlaceNavigationPoint> navigationPoints) {
1414+
this.navigationPoints = navigationPoints;
1415+
return this;
1416+
}
1417+
13701418
/**
13711419
* A summary of points of interest near the place.
13721420
* @return value or {@code null} for none
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.places.v1.model;
18+
19+
/**
20+
* An entrance is a single latitude/longitude coordinate pair that defines the location of an entry
21+
* and exit point for a place.
22+
*
23+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
24+
* transmitted over HTTP when working with the Places API (New). For a detailed explanation see:
25+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class GoogleMapsPlacesV1PlaceEntrance extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* The location of the entrance.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private GoogleTypeLatLng location;
39+
40+
/**
41+
* A list of tags that describe the entrance.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.util.List<java.lang.String> tags;
46+
47+
/**
48+
* The location of the entrance.
49+
* @return value or {@code null} for none
50+
*/
51+
public GoogleTypeLatLng getLocation() {
52+
return location;
53+
}
54+
55+
/**
56+
* The location of the entrance.
57+
* @param location location or {@code null} for none
58+
*/
59+
public GoogleMapsPlacesV1PlaceEntrance setLocation(GoogleTypeLatLng location) {
60+
this.location = location;
61+
return this;
62+
}
63+
64+
/**
65+
* A list of tags that describe the entrance.
66+
* @return value or {@code null} for none
67+
*/
68+
public java.util.List<java.lang.String> getTags() {
69+
return tags;
70+
}
71+
72+
/**
73+
* A list of tags that describe the entrance.
74+
* @param tags tags or {@code null} for none
75+
*/
76+
public GoogleMapsPlacesV1PlaceEntrance setTags(java.util.List<java.lang.String> tags) {
77+
this.tags = tags;
78+
return this;
79+
}
80+
81+
@Override
82+
public GoogleMapsPlacesV1PlaceEntrance set(String fieldName, Object value) {
83+
return (GoogleMapsPlacesV1PlaceEntrance) super.set(fieldName, value);
84+
}
85+
86+
@Override
87+
public GoogleMapsPlacesV1PlaceEntrance clone() {
88+
return (GoogleMapsPlacesV1PlaceEntrance) super.clone();
89+
}
90+
91+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,171 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.places.v1.model;
18+
19+
/**
20+
* A navigation point is a location next to a road where navigation can end.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Places API (New). For a detailed explanation see:
24+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class GoogleMapsPlacesV1PlaceNavigationPoint extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* The display name of this navigation point. For example, "5th Ave" or "Gate B".
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private GoogleTypeLocalizedText displayName;
38+
39+
/**
40+
* A point next to the road segment where navigation should end. The point is intentionally
41+
* slightly offset from the road's centerline to clearly mark the side of the road where the place
42+
* is located.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private GoogleTypeLatLng location;
47+
48+
/**
49+
* A token that can be used to identify this navigation point.
50+
* The value may be {@code null}.
51+
*/
52+
@com.google.api.client.util.Key
53+
private java.lang.String navigationPointToken;
54+
55+
/**
56+
* Travel modes that are appropriate for this navigation point.
57+
* The value may be {@code null}.
58+
*/
59+
@com.google.api.client.util.Key
60+
private java.util.List<java.lang.String> travelModes;
61+
62+
/**
63+
* Lists `usages` supported by this navigation point. If empty, it does not necessarily mean its
64+
* usage is restricted in any way. All navigation points can be used for general navigation.
65+
* The value may be {@code null}.
66+
*/
67+
@com.google.api.client.util.Key
68+
private java.util.List<java.lang.String> usages;
69+
70+
/**
71+
* The display name of this navigation point. For example, "5th Ave" or "Gate B".
72+
* @return value or {@code null} for none
73+
*/
74+
public GoogleTypeLocalizedText getDisplayName() {
75+
return displayName;
76+
}
77+
78+
/**
79+
* The display name of this navigation point. For example, "5th Ave" or "Gate B".
80+
* @param displayName displayName or {@code null} for none
81+
*/
82+
public GoogleMapsPlacesV1PlaceNavigationPoint setDisplayName(GoogleTypeLocalizedText displayName) {
83+
this.displayName = displayName;
84+
return this;
85+
}
86+
87+
/**
88+
* A point next to the road segment where navigation should end. The point is intentionally
89+
* slightly offset from the road's centerline to clearly mark the side of the road where the place
90+
* is located.
91+
* @return value or {@code null} for none
92+
*/
93+
public GoogleTypeLatLng getLocation() {
94+
return location;
95+
}
96+
97+
/**
98+
* A point next to the road segment where navigation should end. The point is intentionally
99+
* slightly offset from the road's centerline to clearly mark the side of the road where the place
100+
* is located.
101+
* @param location location or {@code null} for none
102+
*/
103+
public GoogleMapsPlacesV1PlaceNavigationPoint setLocation(GoogleTypeLatLng location) {
104+
this.location = location;
105+
return this;
106+
}
107+
108+
/**
109+
* A token that can be used to identify this navigation point.
110+
* @return value or {@code null} for none
111+
*/
112+
public java.lang.String getNavigationPointToken() {
113+
return navigationPointToken;
114+
}
115+
116+
/**
117+
* A token that can be used to identify this navigation point.
118+
* @param navigationPointToken navigationPointToken or {@code null} for none
119+
*/
120+
public GoogleMapsPlacesV1PlaceNavigationPoint setNavigationPointToken(java.lang.String navigationPointToken) {
121+
this.navigationPointToken = navigationPointToken;
122+
return this;
123+
}
124+
125+
/**
126+
* Travel modes that are appropriate for this navigation point.
127+
* @return value or {@code null} for none
128+
*/
129+
public java.util.List<java.lang.String> getTravelModes() {
130+
return travelModes;
131+
}
132+
133+
/**
134+
* Travel modes that are appropriate for this navigation point.
135+
* @param travelModes travelModes or {@code null} for none
136+
*/
137+
public GoogleMapsPlacesV1PlaceNavigationPoint setTravelModes(java.util.List<java.lang.String> travelModes) {
138+
this.travelModes = travelModes;
139+
return this;
140+
}
141+
142+
/**
143+
* Lists `usages` supported by this navigation point. If empty, it does not necessarily mean its
144+
* usage is restricted in any way. All navigation points can be used for general navigation.
145+
* @return value or {@code null} for none
146+
*/
147+
public java.util.List<java.lang.String> getUsages() {
148+
return usages;
149+
}
150+
151+
/**
152+
* Lists `usages` supported by this navigation point. If empty, it does not necessarily mean its
153+
* usage is restricted in any way. All navigation points can be used for general navigation.
154+
* @param usages usages or {@code null} for none
155+
*/
156+
public GoogleMapsPlacesV1PlaceNavigationPoint setUsages(java.util.List<java.lang.String> usages) {
157+
this.usages = usages;
158+
return this;
159+
}
160+
161+
@Override
162+
public GoogleMapsPlacesV1PlaceNavigationPoint set(String fieldName, Object value) {
163+
return (GoogleMapsPlacesV1PlaceNavigationPoint) super.set(fieldName, value);
164+
}
165+
166+
@Override
167+
public GoogleMapsPlacesV1PlaceNavigationPoint clone() {
168+
return (GoogleMapsPlacesV1PlaceNavigationPoint) super.clone();
169+
}
170+
171+
}

clients/google-api-services-places/v1/2.0.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-places</artifactId>
11-
<version>v1-rev20260601-2.0.0</version>
12-
<name>Places API (New) v1-rev20260601-2.0.0</name>
11+
<version>v1-rev20260729-2.0.0</version>
12+
<name>Places API (New) v1-rev20260729-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-places/v1/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-places</artifactId>
25-
<version>v1-rev20260601-2.0.0</version>
25+
<version>v1-rev20260729-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-places:v1-rev20260601-2.0.0'
38+
implementation 'com.google.apis:google-api-services-places:v1-rev20260729-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)