Skip to content

Commit f133331

Browse files
1 parent 963ef51 commit f133331

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

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -519,6 +519,13 @@ public final class GoogleMapsPlacesV1Place extends com.google.api.client.json.Ge
519519
@com.google.api.client.util.Key
520520
private java.lang.Boolean takeout;
521521

522+
/**
523+
* IANA Time Zone Database time zone. For example "America/New_York".
524+
* The value may be {@code null}.
525+
*/
526+
@com.google.api.client.util.Key
527+
private GoogleTypeTimeZone timeZone;
528+
522529
/**
523530
* A set of type tags for this result. For example, "political" and "locality". For the complete
524531
* list of possible values, see Table A and Table B at
@@ -1718,6 +1725,23 @@ public GoogleMapsPlacesV1Place setTakeout(java.lang.Boolean takeout) {
17181725
return this;
17191726
}
17201727

1728+
/**
1729+
* IANA Time Zone Database time zone. For example "America/New_York".
1730+
* @return value or {@code null} for none
1731+
*/
1732+
public GoogleTypeTimeZone getTimeZone() {
1733+
return timeZone;
1734+
}
1735+
1736+
/**
1737+
* IANA Time Zone Database time zone. For example "America/New_York".
1738+
* @param timeZone timeZone or {@code null} for none
1739+
*/
1740+
public GoogleMapsPlacesV1Place setTimeZone(GoogleTypeTimeZone timeZone) {
1741+
this.timeZone = timeZone;
1742+
return this;
1743+
}
1744+
17211745
/**
17221746
* A set of type tags for this result. For example, "political" and "locality". For the complete
17231747
* list of possible values, see Table A and Table B at
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+
* Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/time-zones).
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 GoogleTypeTimeZone extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* IANA Time Zone Database time zone. For example "America/New_York".
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String id;
38+
39+
/**
40+
* Optional. IANA Time Zone Database version number. For example "2019a".
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.lang.String version;
45+
46+
/**
47+
* IANA Time Zone Database time zone. For example "America/New_York".
48+
* @return value or {@code null} for none
49+
*/
50+
public java.lang.String getId() {
51+
return id;
52+
}
53+
54+
/**
55+
* IANA Time Zone Database time zone. For example "America/New_York".
56+
* @param id id or {@code null} for none
57+
*/
58+
public GoogleTypeTimeZone setId(java.lang.String id) {
59+
this.id = id;
60+
return this;
61+
}
62+
63+
/**
64+
* Optional. IANA Time Zone Database version number. For example "2019a".
65+
* @return value or {@code null} for none
66+
*/
67+
public java.lang.String getVersion() {
68+
return version;
69+
}
70+
71+
/**
72+
* Optional. IANA Time Zone Database version number. For example "2019a".
73+
* @param version version or {@code null} for none
74+
*/
75+
public GoogleTypeTimeZone setVersion(java.lang.String version) {
76+
this.version = version;
77+
return this;
78+
}
79+
80+
@Override
81+
public GoogleTypeTimeZone set(String fieldName, Object value) {
82+
return (GoogleTypeTimeZone) super.set(fieldName, value);
83+
}
84+
85+
@Override
86+
public GoogleTypeTimeZone clone() {
87+
return (GoogleTypeTimeZone) 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-rev20250223-2.0.0</version>
12-
<name>Places API (New) v1-rev20250223-2.0.0</name>
11+
<version>v1-rev20250302-2.0.0</version>
12+
<name>Places API (New) v1-rev20250302-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-rev20250223-2.0.0</version>
25+
<version>v1-rev20250302-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-rev20250223-2.0.0'
38+
implementation 'com.google.apis:google-api-services-places:v1-rev20250302-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)