From d3a8c406f7532b0cc9d7578cf85a5aabaf118486 Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Sat, 1 Aug 2026 18:05:02 -0700 Subject: [PATCH] chore: regenerate places client --- .../v1/2.0.0/README.md | 4 +- .../v1/model/GoogleMapsPlacesV1Place.java | 48 +++++ .../GoogleMapsPlacesV1PlaceEntrance.java | 91 ++++++++++ ...oogleMapsPlacesV1PlaceNavigationPoint.java | 171 ++++++++++++++++++ .../v1/2.0.0/pom.xml | 4 +- .../google-api-services-places/v1/README.md | 4 +- 6 files changed, 316 insertions(+), 6 deletions(-) create mode 100644 clients/google-api-services-places/v1/2.0.0/com/google/api/services/places/v1/model/GoogleMapsPlacesV1PlaceEntrance.java create mode 100644 clients/google-api-services-places/v1/2.0.0/com/google/api/services/places/v1/model/GoogleMapsPlacesV1PlaceNavigationPoint.java diff --git a/clients/google-api-services-places/v1/2.0.0/README.md b/clients/google-api-services-places/v1/2.0.0/README.md index c63b68fbae0..c75d232efe6 100644 --- a/clients/google-api-services-places/v1/2.0.0/README.md +++ b/clients/google-api-services-places/v1/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-places - v1-rev20260601-2.0.0 + v1-rev20260729-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-places:v1-rev20260601-2.0.0' + implementation 'com.google.apis:google-api-services-places:v1-rev20260729-2.0.0' } ``` diff --git a/clients/google-api-services-places/v1/2.0.0/com/google/api/services/places/v1/model/GoogleMapsPlacesV1Place.java b/clients/google-api-services-places/v1/2.0.0/com/google/api/services/places/v1/model/GoogleMapsPlacesV1Place.java index 8f61c008d5b..49ce6c137cb 100644 --- a/clients/google-api-services-places/v1/2.0.0/com/google/api/services/places/v1/model/GoogleMapsPlacesV1Place.java +++ b/clients/google-api-services-places/v1/2.0.0/com/google/api/services/places/v1/model/GoogleMapsPlacesV1Place.java @@ -166,6 +166,13 @@ public final class GoogleMapsPlacesV1Place extends com.google.api.client.json.Ge @com.google.api.client.util.Key private GoogleTypeLocalizedText editorialSummary; + /** + * Entrances for this destination. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List entrances; + /** * The summary of amenities near the EV charging station. * The value may be {@code null}. @@ -330,6 +337,13 @@ public final class GoogleMapsPlacesV1Place extends com.google.api.client.json.Ge @com.google.api.client.util.Key private java.lang.String nationalPhoneNumber; + /** + * Navigation points for this destination. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List navigationPoints; + /** * A summary of points of interest near the place. * The value may be {@code null}. @@ -973,6 +987,23 @@ public GoogleMapsPlacesV1Place setEditorialSummary(GoogleTypeLocalizedText edito return this; } + /** + * Entrances for this destination. + * @return value or {@code null} for none + */ + public java.util.List getEntrances() { + return entrances; + } + + /** + * Entrances for this destination. + * @param entrances entrances or {@code null} for none + */ + public GoogleMapsPlacesV1Place setEntrances(java.util.List entrances) { + this.entrances = entrances; + return this; + } + /** * The summary of amenities near the EV charging station. * @return value or {@code null} for none @@ -1367,6 +1398,23 @@ public GoogleMapsPlacesV1Place setNationalPhoneNumber(java.lang.String nationalP return this; } + /** + * Navigation points for this destination. + * @return value or {@code null} for none + */ + public java.util.List getNavigationPoints() { + return navigationPoints; + } + + /** + * Navigation points for this destination. + * @param navigationPoints navigationPoints or {@code null} for none + */ + public GoogleMapsPlacesV1Place setNavigationPoints(java.util.List navigationPoints) { + this.navigationPoints = navigationPoints; + return this; + } + /** * A summary of points of interest near the place. * @return value or {@code null} for none diff --git a/clients/google-api-services-places/v1/2.0.0/com/google/api/services/places/v1/model/GoogleMapsPlacesV1PlaceEntrance.java b/clients/google-api-services-places/v1/2.0.0/com/google/api/services/places/v1/model/GoogleMapsPlacesV1PlaceEntrance.java new file mode 100644 index 00000000000..f5fa7e80ecb --- /dev/null +++ b/clients/google-api-services-places/v1/2.0.0/com/google/api/services/places/v1/model/GoogleMapsPlacesV1PlaceEntrance.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.places.v1.model; + +/** + * An entrance is a single latitude/longitude coordinate pair that defines the location of an entry + * and exit point for a place. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Places API (New). For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleMapsPlacesV1PlaceEntrance extends com.google.api.client.json.GenericJson { + + /** + * The location of the entrance. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleTypeLatLng location; + + /** + * A list of tags that describe the entrance. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List tags; + + /** + * The location of the entrance. + * @return value or {@code null} for none + */ + public GoogleTypeLatLng getLocation() { + return location; + } + + /** + * The location of the entrance. + * @param location location or {@code null} for none + */ + public GoogleMapsPlacesV1PlaceEntrance setLocation(GoogleTypeLatLng location) { + this.location = location; + return this; + } + + /** + * A list of tags that describe the entrance. + * @return value or {@code null} for none + */ + public java.util.List getTags() { + return tags; + } + + /** + * A list of tags that describe the entrance. + * @param tags tags or {@code null} for none + */ + public GoogleMapsPlacesV1PlaceEntrance setTags(java.util.List tags) { + this.tags = tags; + return this; + } + + @Override + public GoogleMapsPlacesV1PlaceEntrance set(String fieldName, Object value) { + return (GoogleMapsPlacesV1PlaceEntrance) super.set(fieldName, value); + } + + @Override + public GoogleMapsPlacesV1PlaceEntrance clone() { + return (GoogleMapsPlacesV1PlaceEntrance) super.clone(); + } + +} diff --git a/clients/google-api-services-places/v1/2.0.0/com/google/api/services/places/v1/model/GoogleMapsPlacesV1PlaceNavigationPoint.java b/clients/google-api-services-places/v1/2.0.0/com/google/api/services/places/v1/model/GoogleMapsPlacesV1PlaceNavigationPoint.java new file mode 100644 index 00000000000..29ca7393342 --- /dev/null +++ b/clients/google-api-services-places/v1/2.0.0/com/google/api/services/places/v1/model/GoogleMapsPlacesV1PlaceNavigationPoint.java @@ -0,0 +1,171 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.places.v1.model; + +/** + * A navigation point is a location next to a road where navigation can end. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Places API (New). For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleMapsPlacesV1PlaceNavigationPoint extends com.google.api.client.json.GenericJson { + + /** + * The display name of this navigation point. For example, "5th Ave" or "Gate B". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleTypeLocalizedText displayName; + + /** + * A point next to the road segment where navigation should end. The point is intentionally + * slightly offset from the road's centerline to clearly mark the side of the road where the place + * is located. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleTypeLatLng location; + + /** + * A token that can be used to identify this navigation point. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String navigationPointToken; + + /** + * Travel modes that are appropriate for this navigation point. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List travelModes; + + /** + * Lists `usages` supported by this navigation point. If empty, it does not necessarily mean its + * usage is restricted in any way. All navigation points can be used for general navigation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List usages; + + /** + * The display name of this navigation point. For example, "5th Ave" or "Gate B". + * @return value or {@code null} for none + */ + public GoogleTypeLocalizedText getDisplayName() { + return displayName; + } + + /** + * The display name of this navigation point. For example, "5th Ave" or "Gate B". + * @param displayName displayName or {@code null} for none + */ + public GoogleMapsPlacesV1PlaceNavigationPoint setDisplayName(GoogleTypeLocalizedText displayName) { + this.displayName = displayName; + return this; + } + + /** + * A point next to the road segment where navigation should end. The point is intentionally + * slightly offset from the road's centerline to clearly mark the side of the road where the place + * is located. + * @return value or {@code null} for none + */ + public GoogleTypeLatLng getLocation() { + return location; + } + + /** + * A point next to the road segment where navigation should end. The point is intentionally + * slightly offset from the road's centerline to clearly mark the side of the road where the place + * is located. + * @param location location or {@code null} for none + */ + public GoogleMapsPlacesV1PlaceNavigationPoint setLocation(GoogleTypeLatLng location) { + this.location = location; + return this; + } + + /** + * A token that can be used to identify this navigation point. + * @return value or {@code null} for none + */ + public java.lang.String getNavigationPointToken() { + return navigationPointToken; + } + + /** + * A token that can be used to identify this navigation point. + * @param navigationPointToken navigationPointToken or {@code null} for none + */ + public GoogleMapsPlacesV1PlaceNavigationPoint setNavigationPointToken(java.lang.String navigationPointToken) { + this.navigationPointToken = navigationPointToken; + return this; + } + + /** + * Travel modes that are appropriate for this navigation point. + * @return value or {@code null} for none + */ + public java.util.List getTravelModes() { + return travelModes; + } + + /** + * Travel modes that are appropriate for this navigation point. + * @param travelModes travelModes or {@code null} for none + */ + public GoogleMapsPlacesV1PlaceNavigationPoint setTravelModes(java.util.List travelModes) { + this.travelModes = travelModes; + return this; + } + + /** + * Lists `usages` supported by this navigation point. If empty, it does not necessarily mean its + * usage is restricted in any way. All navigation points can be used for general navigation. + * @return value or {@code null} for none + */ + public java.util.List getUsages() { + return usages; + } + + /** + * Lists `usages` supported by this navigation point. If empty, it does not necessarily mean its + * usage is restricted in any way. All navigation points can be used for general navigation. + * @param usages usages or {@code null} for none + */ + public GoogleMapsPlacesV1PlaceNavigationPoint setUsages(java.util.List usages) { + this.usages = usages; + return this; + } + + @Override + public GoogleMapsPlacesV1PlaceNavigationPoint set(String fieldName, Object value) { + return (GoogleMapsPlacesV1PlaceNavigationPoint) super.set(fieldName, value); + } + + @Override + public GoogleMapsPlacesV1PlaceNavigationPoint clone() { + return (GoogleMapsPlacesV1PlaceNavigationPoint) super.clone(); + } + +} diff --git a/clients/google-api-services-places/v1/2.0.0/pom.xml b/clients/google-api-services-places/v1/2.0.0/pom.xml index 1f0ba866053..649face7178 100644 --- a/clients/google-api-services-places/v1/2.0.0/pom.xml +++ b/clients/google-api-services-places/v1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-places - v1-rev20260601-2.0.0 - Places API (New) v1-rev20260601-2.0.0 + v1-rev20260729-2.0.0 + Places API (New) v1-rev20260729-2.0.0 jar 2011 diff --git a/clients/google-api-services-places/v1/README.md b/clients/google-api-services-places/v1/README.md index c63b68fbae0..c75d232efe6 100644 --- a/clients/google-api-services-places/v1/README.md +++ b/clients/google-api-services-places/v1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-places - v1-rev20260601-2.0.0 + v1-rev20260729-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-places:v1-rev20260601-2.0.0' + implementation 'com.google.apis:google-api-services-places:v1-rev20260729-2.0.0' } ```