Skip to content

Commit 83d26ff

Browse files
1 parent 571453f commit 83d26ff

File tree

9 files changed

+403
-6
lines changed

9 files changed

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

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

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,18 @@
2929
@SuppressWarnings("javadoc")
3030
public final class GoogleMapsPlacesV1AutocompletePlacesRequest extends com.google.api.client.json.GenericJson {
3131

32+
/**
33+
* Optional. Include pure service area businesses if the field is set to true. Pure service area
34+
* business is a business that visits or delivers to customers directly but does not serve
35+
* customers at their business address. For example, businesses like cleaning services or
36+
* plumbers. Those businesses do not have a physical address or location on Google Maps. Places
37+
* will not return fields including `location`, `plus_code`, and other location related fields for
38+
* these businesses.
39+
* The value may be {@code null}.
40+
*/
41+
@com.google.api.client.util.Key
42+
private java.lang.Boolean includePureServiceAreaBusinesses;
43+
3244
/**
3345
* Optional. If true, the response will include both Place and query predictions. Otherwise the
3446
* response will only return Place predictions.
@@ -143,6 +155,33 @@ public final class GoogleMapsPlacesV1AutocompletePlacesRequest extends com.googl
143155
@com.google.api.client.util.Key
144156
private java.lang.String sessionToken;
145157

158+
/**
159+
* Optional. Include pure service area businesses if the field is set to true. Pure service area
160+
* business is a business that visits or delivers to customers directly but does not serve
161+
* customers at their business address. For example, businesses like cleaning services or
162+
* plumbers. Those businesses do not have a physical address or location on Google Maps. Places
163+
* will not return fields including `location`, `plus_code`, and other location related fields for
164+
* these businesses.
165+
* @return value or {@code null} for none
166+
*/
167+
public java.lang.Boolean getIncludePureServiceAreaBusinesses() {
168+
return includePureServiceAreaBusinesses;
169+
}
170+
171+
/**
172+
* Optional. Include pure service area businesses if the field is set to true. Pure service area
173+
* business is a business that visits or delivers to customers directly but does not serve
174+
* customers at their business address. For example, businesses like cleaning services or
175+
* plumbers. Those businesses do not have a physical address or location on Google Maps. Places
176+
* will not return fields including `location`, `plus_code`, and other location related fields for
177+
* these businesses.
178+
* @param includePureServiceAreaBusinesses includePureServiceAreaBusinesses or {@code null} for none
179+
*/
180+
public GoogleMapsPlacesV1AutocompletePlacesRequest setIncludePureServiceAreaBusinesses(java.lang.Boolean includePureServiceAreaBusinesses) {
181+
this.includePureServiceAreaBusinesses = includePureServiceAreaBusinesses;
182+
return this;
183+
}
184+
146185
/**
147186
* Optional. If true, the response will include both Place and query predictions. Otherwise the
148187
* response will only return Place predictions.

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

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,19 @@ public final class GoogleMapsPlacesV1Place extends com.google.api.client.json.Ge
9292
private java.util.List<GoogleMapsPlacesV1PlaceAttribution> attributions;
9393

9494
/**
95+
* The business status for the place.
9596
* The value may be {@code null}.
9697
*/
9798
@com.google.api.client.util.Key
9899
private java.lang.String businessStatus;
99100

101+
/**
102+
* List of places in which the current place is located.
103+
* The value may be {@code null}.
104+
*/
105+
@com.google.api.client.util.Key
106+
private java.util.List<GoogleMapsPlacesV1PlaceContainingPlace> containingPlaces;
107+
100108
/**
101109
* Specifies if the business supports curbside pickup.
102110
* The value may be {@code null}.
@@ -335,6 +343,13 @@ public final class GoogleMapsPlacesV1Place extends com.google.api.client.json.Ge
335343
@com.google.api.client.util.Key
336344
private java.lang.String priceLevel;
337345

346+
/**
347+
* The price range associated with a Place.
348+
* The value may be {@code null}.
349+
*/
350+
@com.google.api.client.util.Key
351+
private GoogleMapsPlacesV1PriceRange priceRange;
352+
338353
/**
339354
* The primary type of the given result. This type must one of the Places API supported types. For
340355
* example, "restaurant", "cafe", "airport", etc. A place can only have a single primary type. For
@@ -354,6 +369,16 @@ public final class GoogleMapsPlacesV1Place extends com.google.api.client.json.Ge
354369
@com.google.api.client.util.Key
355370
private GoogleTypeLocalizedText primaryTypeDisplayName;
356371

372+
/**
373+
* Indicates whether the place is a pure service area business. Pure service area business is a
374+
* business that visits or delivers to customers directly but does not serve customers at their
375+
* business address. For example, businesses like cleaning services or plumbers. Those businesses
376+
* may not have a physical address or location on Google Maps.
377+
* The value may be {@code null}.
378+
*/
379+
@com.google.api.client.util.Key
380+
private java.lang.Boolean pureServiceAreaBusiness;
381+
357382
/**
358383
* A rating between 1.0 and 5.0, based on user reviews of this place.
359384
* The value may be {@code null}.
@@ -679,20 +704,39 @@ public GoogleMapsPlacesV1Place setAttributions(java.util.List<GoogleMapsPlacesV1
679704
}
680705

681706
/**
707+
* The business status for the place.
682708
* @return value or {@code null} for none
683709
*/
684710
public java.lang.String getBusinessStatus() {
685711
return businessStatus;
686712
}
687713

688714
/**
715+
* The business status for the place.
689716
* @param businessStatus businessStatus or {@code null} for none
690717
*/
691718
public GoogleMapsPlacesV1Place setBusinessStatus(java.lang.String businessStatus) {
692719
this.businessStatus = businessStatus;
693720
return this;
694721
}
695722

723+
/**
724+
* List of places in which the current place is located.
725+
* @return value or {@code null} for none
726+
*/
727+
public java.util.List<GoogleMapsPlacesV1PlaceContainingPlace> getContainingPlaces() {
728+
return containingPlaces;
729+
}
730+
731+
/**
732+
* List of places in which the current place is located.
733+
* @param containingPlaces containingPlaces or {@code null} for none
734+
*/
735+
public GoogleMapsPlacesV1Place setContainingPlaces(java.util.List<GoogleMapsPlacesV1PlaceContainingPlace> containingPlaces) {
736+
this.containingPlaces = containingPlaces;
737+
return this;
738+
}
739+
696740
/**
697741
* Specifies if the business supports curbside pickup.
698742
* @return value or {@code null} for none
@@ -1250,6 +1294,23 @@ public GoogleMapsPlacesV1Place setPriceLevel(java.lang.String priceLevel) {
12501294
return this;
12511295
}
12521296

1297+
/**
1298+
* The price range associated with a Place.
1299+
* @return value or {@code null} for none
1300+
*/
1301+
public GoogleMapsPlacesV1PriceRange getPriceRange() {
1302+
return priceRange;
1303+
}
1304+
1305+
/**
1306+
* The price range associated with a Place.
1307+
* @param priceRange priceRange or {@code null} for none
1308+
*/
1309+
public GoogleMapsPlacesV1Place setPriceRange(GoogleMapsPlacesV1PriceRange priceRange) {
1310+
this.priceRange = priceRange;
1311+
return this;
1312+
}
1313+
12531314
/**
12541315
* The primary type of the given result. This type must one of the Places API supported types. For
12551316
* example, "restaurant", "cafe", "airport", etc. A place can only have a single primary type. For
@@ -1294,6 +1355,29 @@ public GoogleMapsPlacesV1Place setPrimaryTypeDisplayName(GoogleTypeLocalizedText
12941355
return this;
12951356
}
12961357

1358+
/**
1359+
* Indicates whether the place is a pure service area business. Pure service area business is a
1360+
* business that visits or delivers to customers directly but does not serve customers at their
1361+
* business address. For example, businesses like cleaning services or plumbers. Those businesses
1362+
* may not have a physical address or location on Google Maps.
1363+
* @return value or {@code null} for none
1364+
*/
1365+
public java.lang.Boolean getPureServiceAreaBusiness() {
1366+
return pureServiceAreaBusiness;
1367+
}
1368+
1369+
/**
1370+
* Indicates whether the place is a pure service area business. Pure service area business is a
1371+
* business that visits or delivers to customers directly but does not serve customers at their
1372+
* business address. For example, businesses like cleaning services or plumbers. Those businesses
1373+
* may not have a physical address or location on Google Maps.
1374+
* @param pureServiceAreaBusiness pureServiceAreaBusiness or {@code null} for none
1375+
*/
1376+
public GoogleMapsPlacesV1Place setPureServiceAreaBusiness(java.lang.Boolean pureServiceAreaBusiness) {
1377+
this.pureServiceAreaBusiness = pureServiceAreaBusiness;
1378+
return this;
1379+
}
1380+
12971381
/**
12981382
* A rating between 1.0 and 5.0, based on user reviews of this place.
12991383
* @return value or {@code null} for none
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+
* Info about the place in which this place is located.
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 GoogleMapsPlacesV1PlaceContainingPlace extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* The place id of the place in which this place is located.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String id;
38+
39+
/**
40+
* The resource name of the place in which this place is located.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.lang.String name;
45+
46+
/**
47+
* The place id of the place in which this place is located.
48+
* @return value or {@code null} for none
49+
*/
50+
public java.lang.String getId() {
51+
return id;
52+
}
53+
54+
/**
55+
* The place id of the place in which this place is located.
56+
* @param id id or {@code null} for none
57+
*/
58+
public GoogleMapsPlacesV1PlaceContainingPlace setId(java.lang.String id) {
59+
this.id = id;
60+
return this;
61+
}
62+
63+
/**
64+
* The resource name of the place in which this place is located.
65+
* @return value or {@code null} for none
66+
*/
67+
public java.lang.String getName() {
68+
return name;
69+
}
70+
71+
/**
72+
* The resource name of the place in which this place is located.
73+
* @param name name or {@code null} for none
74+
*/
75+
public GoogleMapsPlacesV1PlaceContainingPlace setName(java.lang.String name) {
76+
this.name = name;
77+
return this;
78+
}
79+
80+
@Override
81+
public GoogleMapsPlacesV1PlaceContainingPlace set(String fieldName, Object value) {
82+
return (GoogleMapsPlacesV1PlaceContainingPlace) super.set(fieldName, value);
83+
}
84+
85+
@Override
86+
public GoogleMapsPlacesV1PlaceContainingPlace clone() {
87+
return (GoogleMapsPlacesV1PlaceContainingPlace) super.clone();
88+
}
89+
90+
}

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

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,22 @@
2929
@SuppressWarnings("javadoc")
3030
public final class GoogleMapsPlacesV1PlaceOpeningHours extends com.google.api.client.json.GenericJson {
3131

32+
/**
33+
* The next time the current opening hours period ends up to 7 days in the future. This field is
34+
* only populated if the opening hours period is active at the time of serving the request.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private String nextCloseTime;
39+
40+
/**
41+
* The next time the current opening hours period starts up to 7 days in the future. This field is
42+
* only populated if the opening hours period is not active at the time of serving the request.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private String nextOpenTime;
47+
3248
/**
3349
* Whether the opening hours period is currently active. For regular opening hours and current
3450
* opening hours, this field means whether the place is open. For secondary opening hours and
@@ -74,6 +90,44 @@ public final class GoogleMapsPlacesV1PlaceOpeningHours extends com.google.api.cl
7490
@com.google.api.client.util.Key
7591
private java.util.List<java.lang.String> weekdayDescriptions;
7692

93+
/**
94+
* The next time the current opening hours period ends up to 7 days in the future. This field is
95+
* only populated if the opening hours period is active at the time of serving the request.
96+
* @return value or {@code null} for none
97+
*/
98+
public String getNextCloseTime() {
99+
return nextCloseTime;
100+
}
101+
102+
/**
103+
* The next time the current opening hours period ends up to 7 days in the future. This field is
104+
* only populated if the opening hours period is active at the time of serving the request.
105+
* @param nextCloseTime nextCloseTime or {@code null} for none
106+
*/
107+
public GoogleMapsPlacesV1PlaceOpeningHours setNextCloseTime(String nextCloseTime) {
108+
this.nextCloseTime = nextCloseTime;
109+
return this;
110+
}
111+
112+
/**
113+
* The next time the current opening hours period starts up to 7 days in the future. This field is
114+
* only populated if the opening hours period is not active at the time of serving the request.
115+
* @return value or {@code null} for none
116+
*/
117+
public String getNextOpenTime() {
118+
return nextOpenTime;
119+
}
120+
121+
/**
122+
* The next time the current opening hours period starts up to 7 days in the future. This field is
123+
* only populated if the opening hours period is not active at the time of serving the request.
124+
* @param nextOpenTime nextOpenTime or {@code null} for none
125+
*/
126+
public GoogleMapsPlacesV1PlaceOpeningHours setNextOpenTime(String nextOpenTime) {
127+
this.nextOpenTime = nextOpenTime;
128+
return this;
129+
}
130+
77131
/**
78132
* Whether the opening hours period is currently active. For regular opening hours and current
79133
* opening hours, this field means whether the place is open. For secondary opening hours and

0 commit comments

Comments
 (0)