Skip to content

Commit dfacfad

Browse files
1 parent bc3581c commit dfacfad

10 files changed

+481
-259
lines changed

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-rev20250318-2.0.0</version>
25+
<version>v1-rev20250414-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-rev20250318-2.0.0'
38+
implementation 'com.google.apis:google-api-services-places:v1-rev20250414-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 12 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -37,20 +37,12 @@ public final class GoogleMapsPlacesV1ContentBlock extends com.google.api.client.
3737
private GoogleTypeLocalizedText content;
3838

3939
/**
40-
* Experimental: See https://developers.google.com/maps/documentation/places/web-
41-
* service/experimental/places-generative for more details. References that are related to this
42-
* block of content.
40+
* The list of resource names of the referenced places. This name can be used in other APIs that
41+
* accept Place resource names.
4342
* The value may be {@code null}.
4443
*/
4544
@com.google.api.client.util.Key
46-
private GoogleMapsPlacesV1References references;
47-
48-
/**
49-
* The topic of the content, for example "overview" or "restaurant".
50-
* The value may be {@code null}.
51-
*/
52-
@com.google.api.client.util.Key
53-
private java.lang.String topic;
45+
private java.util.List<java.lang.String> referencedPlaces;
5446

5547
/**
5648
* Content related to the topic.
@@ -70,40 +62,21 @@ public GoogleMapsPlacesV1ContentBlock setContent(GoogleTypeLocalizedText content
7062
}
7163

7264
/**
73-
* Experimental: See https://developers.google.com/maps/documentation/places/web-
74-
* service/experimental/places-generative for more details. References that are related to this
75-
* block of content.
76-
* @return value or {@code null} for none
77-
*/
78-
public GoogleMapsPlacesV1References getReferences() {
79-
return references;
80-
}
81-
82-
/**
83-
* Experimental: See https://developers.google.com/maps/documentation/places/web-
84-
* service/experimental/places-generative for more details. References that are related to this
85-
* block of content.
86-
* @param references references or {@code null} for none
87-
*/
88-
public GoogleMapsPlacesV1ContentBlock setReferences(GoogleMapsPlacesV1References references) {
89-
this.references = references;
90-
return this;
91-
}
92-
93-
/**
94-
* The topic of the content, for example "overview" or "restaurant".
65+
* The list of resource names of the referenced places. This name can be used in other APIs that
66+
* accept Place resource names.
9567
* @return value or {@code null} for none
9668
*/
97-
public java.lang.String getTopic() {
98-
return topic;
69+
public java.util.List<java.lang.String> getReferencedPlaces() {
70+
return referencedPlaces;
9971
}
10072

10173
/**
102-
* The topic of the content, for example "overview" or "restaurant".
103-
* @param topic topic or {@code null} for none
74+
* The list of resource names of the referenced places. This name can be used in other APIs that
75+
* accept Place resource names.
76+
* @param referencedPlaces referencedPlaces or {@code null} for none
10477
*/
105-
public GoogleMapsPlacesV1ContentBlock setTopic(java.lang.String topic) {
106-
this.topic = topic;
78+
public GoogleMapsPlacesV1ContentBlock setReferencedPlaces(java.util.List<java.lang.String> referencedPlaces) {
79+
this.referencedPlaces = referencedPlaces;
10780
return this;
10881
}
10982

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

Lines changed: 75 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -75,15 +75,6 @@ public final class GoogleMapsPlacesV1Place extends com.google.api.client.json.Ge
7575
@com.google.api.client.util.Key
7676
private java.lang.Boolean allowsDogs;
7777

78-
/**
79-
* Experimental: See https://developers.google.com/maps/documentation/places/web-
80-
* service/experimental/places-generative for more details. AI-generated summary of the area that
81-
* the place is in.
82-
* The value may be {@code null}.
83-
*/
84-
@com.google.api.client.util.Key
85-
private GoogleMapsPlacesV1PlaceAreaSummary areaSummary;
86-
8778
/**
8879
* A set of data provider that must be shown with this result.
8980
* The value may be {@code null}.
@@ -164,6 +155,13 @@ public final class GoogleMapsPlacesV1Place extends com.google.api.client.json.Ge
164155
@com.google.api.client.util.Key
165156
private GoogleTypeLocalizedText editorialSummary;
166157

158+
/**
159+
* The summary of amenities near the EV charging station.
160+
* The value may be {@code null}.
161+
*/
162+
@com.google.api.client.util.Key
163+
private GoogleMapsPlacesV1PlaceEvChargeAmenitySummary evChargeAmenitySummary;
164+
167165
/**
168166
* Information of ev charging options.
169167
* The value may be {@code null}.
@@ -187,8 +185,7 @@ public final class GoogleMapsPlacesV1Place extends com.google.api.client.json.Ge
187185
private GoogleMapsPlacesV1FuelOptions fuelOptions;
188186

189187
/**
190-
* Experimental: See https://developers.google.com/maps/documentation/places/web-
191-
* service/experimental/places-generative for more details. AI-generated summary of the place.
188+
* AI-generated summary of the place.
192189
* The value may be {@code null}.
193190
*/
194191
@com.google.api.client.util.Key
@@ -293,6 +290,13 @@ public final class GoogleMapsPlacesV1Place extends com.google.api.client.json.Ge
293290
@com.google.api.client.util.Key
294291
private java.lang.String nationalPhoneNumber;
295292

293+
/**
294+
* A summary of points of interest near the place.
295+
* The value may be {@code null}.
296+
*/
297+
@com.google.api.client.util.Key
298+
private GoogleMapsPlacesV1PlaceNeighborhoodSummary neighborhoodSummary;
299+
296300
/**
297301
* Place provides outdoor seating.
298302
* The value may be {@code null}.
@@ -434,6 +438,13 @@ public final class GoogleMapsPlacesV1Place extends com.google.api.client.json.Ge
434438
@com.google.api.client.util.Key
435439
private java.lang.Boolean restroom;
436440

441+
/**
442+
* AI-generated summary of the place using user reviews.
443+
* The value may be {@code null}.
444+
*/
445+
@com.google.api.client.util.Key
446+
private GoogleMapsPlacesV1PlaceReviewSummary reviewSummary;
447+
437448
/**
438449
* List of reviews about this place, sorted by relevance. A maximum of 5 reviews can be returned.
439450
* The value may be {@code null}.
@@ -688,27 +699,6 @@ public GoogleMapsPlacesV1Place setAllowsDogs(java.lang.Boolean allowsDogs) {
688699
return this;
689700
}
690701

691-
/**
692-
* Experimental: See https://developers.google.com/maps/documentation/places/web-
693-
* service/experimental/places-generative for more details. AI-generated summary of the area that
694-
* the place is in.
695-
* @return value or {@code null} for none
696-
*/
697-
public GoogleMapsPlacesV1PlaceAreaSummary getAreaSummary() {
698-
return areaSummary;
699-
}
700-
701-
/**
702-
* Experimental: See https://developers.google.com/maps/documentation/places/web-
703-
* service/experimental/places-generative for more details. AI-generated summary of the area that
704-
* the place is in.
705-
* @param areaSummary areaSummary or {@code null} for none
706-
*/
707-
public GoogleMapsPlacesV1Place setAreaSummary(GoogleMapsPlacesV1PlaceAreaSummary areaSummary) {
708-
this.areaSummary = areaSummary;
709-
return this;
710-
}
711-
712702
/**
713703
* A set of data provider that must be shown with this result.
714704
* @return value or {@code null} for none
@@ -899,6 +889,23 @@ public GoogleMapsPlacesV1Place setEditorialSummary(GoogleTypeLocalizedText edito
899889
return this;
900890
}
901891

892+
/**
893+
* The summary of amenities near the EV charging station.
894+
* @return value or {@code null} for none
895+
*/
896+
public GoogleMapsPlacesV1PlaceEvChargeAmenitySummary getEvChargeAmenitySummary() {
897+
return evChargeAmenitySummary;
898+
}
899+
900+
/**
901+
* The summary of amenities near the EV charging station.
902+
* @param evChargeAmenitySummary evChargeAmenitySummary or {@code null} for none
903+
*/
904+
public GoogleMapsPlacesV1Place setEvChargeAmenitySummary(GoogleMapsPlacesV1PlaceEvChargeAmenitySummary evChargeAmenitySummary) {
905+
this.evChargeAmenitySummary = evChargeAmenitySummary;
906+
return this;
907+
}
908+
902909
/**
903910
* Information of ev charging options.
904911
* @return value or {@code null} for none
@@ -953,17 +960,15 @@ public GoogleMapsPlacesV1Place setFuelOptions(GoogleMapsPlacesV1FuelOptions fuel
953960
}
954961

955962
/**
956-
* Experimental: See https://developers.google.com/maps/documentation/places/web-
957-
* service/experimental/places-generative for more details. AI-generated summary of the place.
963+
* AI-generated summary of the place.
958964
* @return value or {@code null} for none
959965
*/
960966
public GoogleMapsPlacesV1PlaceGenerativeSummary getGenerativeSummary() {
961967
return generativeSummary;
962968
}
963969

964970
/**
965-
* Experimental: See https://developers.google.com/maps/documentation/places/web-
966-
* service/experimental/places-generative for more details. AI-generated summary of the place.
971+
* AI-generated summary of the place.
967972
* @param generativeSummary generativeSummary or {@code null} for none
968973
*/
969974
public GoogleMapsPlacesV1Place setGenerativeSummary(GoogleMapsPlacesV1PlaceGenerativeSummary generativeSummary) {
@@ -1211,6 +1216,23 @@ public GoogleMapsPlacesV1Place setNationalPhoneNumber(java.lang.String nationalP
12111216
return this;
12121217
}
12131218

1219+
/**
1220+
* A summary of points of interest near the place.
1221+
* @return value or {@code null} for none
1222+
*/
1223+
public GoogleMapsPlacesV1PlaceNeighborhoodSummary getNeighborhoodSummary() {
1224+
return neighborhoodSummary;
1225+
}
1226+
1227+
/**
1228+
* A summary of points of interest near the place.
1229+
* @param neighborhoodSummary neighborhoodSummary or {@code null} for none
1230+
*/
1231+
public GoogleMapsPlacesV1Place setNeighborhoodSummary(GoogleMapsPlacesV1PlaceNeighborhoodSummary neighborhoodSummary) {
1232+
this.neighborhoodSummary = neighborhoodSummary;
1233+
return this;
1234+
}
1235+
12141236
/**
12151237
* Place provides outdoor seating.
12161238
* @return value or {@code null} for none
@@ -1529,6 +1551,23 @@ public GoogleMapsPlacesV1Place setRestroom(java.lang.Boolean restroom) {
15291551
return this;
15301552
}
15311553

1554+
/**
1555+
* AI-generated summary of the place using user reviews.
1556+
* @return value or {@code null} for none
1557+
*/
1558+
public GoogleMapsPlacesV1PlaceReviewSummary getReviewSummary() {
1559+
return reviewSummary;
1560+
}
1561+
1562+
/**
1563+
* AI-generated summary of the place using user reviews.
1564+
* @param reviewSummary reviewSummary or {@code null} for none
1565+
*/
1566+
public GoogleMapsPlacesV1Place setReviewSummary(GoogleMapsPlacesV1PlaceReviewSummary reviewSummary) {
1567+
this.reviewSummary = reviewSummary;
1568+
return this;
1569+
}
1570+
15321571
/**
15331572
* List of reviews about this place, sorted by relevance. A maximum of 5 reviews can be returned.
15341573
* @return value or {@code null} for none

0 commit comments

Comments
 (0)