Skip to content

Commit 6c7bacf

Browse files
1 parent c47be34 commit 6c7bacf

File tree

5 files changed

+120
-6
lines changed

5 files changed

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

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,13 @@ public final class GoogleMapsPlacesV1Review extends com.google.api.client.json.G
9494
@com.google.api.client.util.Key
9595
private GoogleTypeLocalizedText text;
9696

97+
/**
98+
* The date when the author visited the place. This is trucated to month.
99+
* The value may be {@code null}.
100+
*/
101+
@com.google.api.client.util.Key
102+
private GoogleMapsPlacesV1ReviewVisitDate visitDate;
103+
97104
/**
98105
* This review's author.
99106
* @return value or {@code null} for none
@@ -251,6 +258,23 @@ public GoogleMapsPlacesV1Review setText(GoogleTypeLocalizedText text) {
251258
return this;
252259
}
253260

261+
/**
262+
* The date when the author visited the place. This is trucated to month.
263+
* @return value or {@code null} for none
264+
*/
265+
public GoogleMapsPlacesV1ReviewVisitDate getVisitDate() {
266+
return visitDate;
267+
}
268+
269+
/**
270+
* The date when the author visited the place. This is trucated to month.
271+
* @param visitDate visitDate or {@code null} for none
272+
*/
273+
public GoogleMapsPlacesV1Review setVisitDate(GoogleMapsPlacesV1ReviewVisitDate visitDate) {
274+
this.visitDate = visitDate;
275+
return this;
276+
}
277+
254278
@Override
255279
public GoogleMapsPlacesV1Review set(String fieldName, Object value) {
256280
return (GoogleMapsPlacesV1Review) super.set(fieldName, value);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
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+
* The date when the author visited the place. This is trucated to month.
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 GoogleMapsPlacesV1ReviewVisitDate extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* The month the author visited the place, e.g. 4. The value is between 1 and 12.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.Integer month;
38+
39+
/**
40+
* The year the author visited the place, e.g. 2025.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.lang.Integer year;
45+
46+
/**
47+
* The month the author visited the place, e.g. 4. The value is between 1 and 12.
48+
* @return value or {@code null} for none
49+
*/
50+
public java.lang.Integer getMonth() {
51+
return month;
52+
}
53+
54+
/**
55+
* The month the author visited the place, e.g. 4. The value is between 1 and 12.
56+
* @param month month or {@code null} for none
57+
*/
58+
public GoogleMapsPlacesV1ReviewVisitDate setMonth(java.lang.Integer month) {
59+
this.month = month;
60+
return this;
61+
}
62+
63+
/**
64+
* The year the author visited the place, e.g. 2025.
65+
* @return value or {@code null} for none
66+
*/
67+
public java.lang.Integer getYear() {
68+
return year;
69+
}
70+
71+
/**
72+
* The year the author visited the place, e.g. 2025.
73+
* @param year year or {@code null} for none
74+
*/
75+
public GoogleMapsPlacesV1ReviewVisitDate setYear(java.lang.Integer year) {
76+
this.year = year;
77+
return this;
78+
}
79+
80+
@Override
81+
public GoogleMapsPlacesV1ReviewVisitDate set(String fieldName, Object value) {
82+
return (GoogleMapsPlacesV1ReviewVisitDate) super.set(fieldName, value);
83+
}
84+
85+
@Override
86+
public GoogleMapsPlacesV1ReviewVisitDate clone() {
87+
return (GoogleMapsPlacesV1ReviewVisitDate) super.clone();
88+
}
89+
90+
}

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-rev20250414-2.0.0</version>
12-
<name>Places API (New) v1-rev20250414-2.0.0</name>
11+
<version>v1-rev20250429-2.0.0</version>
12+
<name>Places API (New) v1-rev20250429-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-rev20250414-2.0.0</version>
25+
<version>v1-rev20250429-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-rev20250414-2.0.0'
38+
implementation 'com.google.apis:google-api-services-places:v1-rev20250429-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)