Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions clients/google-api-services-places/v1/2.0.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-places</artifactId>
<version>v1-rev20260601-2.0.0</version>
<version>v1-rev20260729-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -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'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<GoogleMapsPlacesV1PlaceEntrance> entrances;

/**
* The summary of amenities near the EV charging station.
* The value may be {@code null}.
Expand Down Expand Up @@ -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<GoogleMapsPlacesV1PlaceNavigationPoint> navigationPoints;

/**
* A summary of points of interest near the place.
* The value may be {@code null}.
Expand Down Expand Up @@ -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<GoogleMapsPlacesV1PlaceEntrance> getEntrances() {
return entrances;
}

/**
* Entrances for this destination.
* @param entrances entrances or {@code null} for none
*/
public GoogleMapsPlacesV1Place setEntrances(java.util.List<GoogleMapsPlacesV1PlaceEntrance> entrances) {
this.entrances = entrances;
return this;
}

/**
* The summary of amenities near the EV charging station.
* @return value or {@code null} for none
Expand Down Expand Up @@ -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<GoogleMapsPlacesV1PlaceNavigationPoint> getNavigationPoints() {
return navigationPoints;
}

/**
* Navigation points for this destination.
* @param navigationPoints navigationPoints or {@code null} for none
*/
public GoogleMapsPlacesV1Place setNavigationPoints(java.util.List<GoogleMapsPlacesV1PlaceNavigationPoint> navigationPoints) {
this.navigationPoints = navigationPoints;
return this;
}

/**
* A summary of points of interest near the place.
* @return value or {@code null} for none
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
*
* <p> 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:
* <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>
* </p>
*
* @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<java.lang.String> 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<java.lang.String> 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<java.lang.String> 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();
}

}
Original file line number Diff line number Diff line change
@@ -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.
*
* <p> 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:
* <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>
* </p>
*
* @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<java.lang.String> 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<java.lang.String> 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<java.lang.String> 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<java.lang.String> 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<java.lang.String> 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<java.lang.String> 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();
}

}
4 changes: 2 additions & 2 deletions clients/google-api-services-places/v1/2.0.0/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

<groupId>com.google.apis</groupId>
<artifactId>google-api-services-places</artifactId>
<version>v1-rev20260601-2.0.0</version>
<name>Places API (New) v1-rev20260601-2.0.0</name>
<version>v1-rev20260729-2.0.0</version>
<name>Places API (New) v1-rev20260729-2.0.0</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-places/v1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-places</artifactId>
<version>v1-rev20260601-2.0.0</version>
<version>v1-rev20260729-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -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'
}
```

Expand Down
Loading