Skip to content
Closed
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-rev20251021-2.0.0</version>
<version>v1-rev20260208-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-rev20251021-2.0.0'
implementation 'com.google.apis:google-api-services-places:v1-rev20260208-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public class MapsPlaces extends com.google.api.client.googleapis.services.json.A
* {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}</li>
* <li>Android: {@code newCompatibleTransport} from
* {@code com.google.api.client.extensions.android.http.AndroidHttp}</li>
* <li>Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
* <li>Java: {@code com.google.api.client.http.javanet.NetHttpTransport}</li>
* </li>
* </ul>
* @param jsonFactory JSON factory, which may be:
Expand Down Expand Up @@ -1037,8 +1037,7 @@ private static String chooseEndpoint(com.google.api.client.http.HttpTransport tr
* {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}</li>
* <li>Android: {@code newCompatibleTransport} from
* {@code com.google.api.client.extensions.android.http.AndroidHttp}</li>
* <li>Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
* </li>
* <li>Java: {@code com.google.api.client.http.javanet.NetHttpTransport}</li>
* </ul>
* @param jsonFactory JSON factory, which may be:
* <ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@ public final class GoogleMapsPlacesV1ContextualContent extends com.google.api.cl
private java.util.List<GoogleMapsPlacesV1ContextualContentJustification> justifications;

/**
* Information (including references) about photos of this place, contexual to the place query.
* Information (including references) about photos of this place, contextual to the place query.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List<GoogleMapsPlacesV1Photo> photos;

/**
* List of reviews about this place, contexual to the place query.
* List of reviews about this place, contextual to the place query.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
Expand All @@ -73,15 +73,15 @@ public GoogleMapsPlacesV1ContextualContent setJustifications(java.util.List<Goog
}

/**
* Information (including references) about photos of this place, contexual to the place query.
* Information (including references) about photos of this place, contextual to the place query.
* @return value or {@code null} for none
*/
public java.util.List<GoogleMapsPlacesV1Photo> getPhotos() {
return photos;
}

/**
* Information (including references) about photos of this place, contexual to the place query.
* Information (including references) about photos of this place, contextual to the place query.
* @param photos photos or {@code null} for none
*/
public GoogleMapsPlacesV1ContextualContent setPhotos(java.util.List<GoogleMapsPlacesV1Photo> photos) {
Expand All @@ -90,15 +90,15 @@ public GoogleMapsPlacesV1ContextualContent setPhotos(java.util.List<GoogleMapsPl
}

/**
* List of reviews about this place, contexual to the place query.
* List of reviews about this place, contextual to the place query.
* @return value or {@code null} for none
*/
public java.util.List<GoogleMapsPlacesV1Review> getReviews() {
return reviews;
}

/**
* List of reviews about this place, contexual to the place query.
* List of reviews about this place, contextual to the place query.
* @param reviews reviews or {@code null} for none
*/
public GoogleMapsPlacesV1ContextualContent setReviews(java.util.List<GoogleMapsPlacesV1Review> reviews) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,16 @@ public final class GoogleMapsPlacesV1Place extends com.google.api.client.json.Ge
@com.google.api.client.util.Key
private GoogleMapsPlacesV1PlaceGoogleMapsLinks googleMapsLinks;

/**
* The type label of the place on Google Maps, localized to the request language if applicable,
* for example, "Restaurant", "Cafe", "Airport", etc. The type label may be different from the
* primary type display name and may not be a supported type in [Places API Place Types
* table](https://developers.google.com/maps/documentation/places/web-service/place-types).
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private GoogleTypeLocalizedText googleMapsTypeLabel;

/**
* A URL providing more information about this place.
* The value may be {@code null}.
Expand Down Expand Up @@ -1093,6 +1103,29 @@ public GoogleMapsPlacesV1Place setGoogleMapsLinks(GoogleMapsPlacesV1PlaceGoogleM
return this;
}

/**
* The type label of the place on Google Maps, localized to the request language if applicable,
* for example, "Restaurant", "Cafe", "Airport", etc. The type label may be different from the
* primary type display name and may not be a supported type in [Places API Place Types
* table](https://developers.google.com/maps/documentation/places/web-service/place-types).
* @return value or {@code null} for none
*/
public GoogleTypeLocalizedText getGoogleMapsTypeLabel() {
return googleMapsTypeLabel;
}

/**
* The type label of the place on Google Maps, localized to the request language if applicable,
* for example, "Restaurant", "Cafe", "Airport", etc. The type label may be different from the
* primary type display name and may not be a supported type in [Places API Place Types
* table](https://developers.google.com/maps/documentation/places/web-service/place-types).
* @param googleMapsTypeLabel googleMapsTypeLabel or {@code null} for none
*/
public GoogleMapsPlacesV1Place setGoogleMapsTypeLabel(GoogleTypeLocalizedText googleMapsTypeLabel) {
this.googleMapsTypeLabel = googleMapsTypeLabel;
return this;
}

/**
* A URL providing more information about this place.
* @return value or {@code null} for none
Expand Down
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-rev20251021-2.0.0</version>
<name>Places API (New) v1-rev20251021-2.0.0</name>
<version>v1-rev20260208-2.0.0</version>
<name>Places API (New) v1-rev20260208-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-rev20251021-2.0.0</version>
<version>v1-rev20260208-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-rev20251021-2.0.0'
implementation 'com.google.apis:google-api-services-places:v1-rev20260208-2.0.0'
}
```

Expand Down
Loading