Skip to content

Commit e97ee11

Browse files
1 parent f2f3c6c commit e97ee11

13 files changed

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

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
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+
* A route polyline. Only supports an [encoded
21+
* polyline](https://developers.google.com/maps/documentation/utilities/polylinealgorithm), which
22+
* can be passed as a string and includes compression with minimal lossiness. This is the Routes API
23+
* default output.
24+
*
25+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
26+
* transmitted over HTTP when working with the Places API (New). For a detailed explanation see:
27+
* <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>
28+
* </p>
29+
*
30+
* @author Google, Inc.
31+
*/
32+
@SuppressWarnings("javadoc")
33+
public final class GoogleMapsPlacesV1Polyline extends com.google.api.client.json.GenericJson {
34+
35+
/**
36+
* An [encoded
37+
* polyline](https://developers.google.com/maps/documentation/utilities/polylinealgorithm), as
38+
* returned by the [Routes API by default](https://developers.google.com/maps/documentation/routes
39+
* /reference/rest/v2/TopLevel/computeRoutes#polylineencoding). See the
40+
* [encoder](https://developers.google.com/maps/documentation/utilities/polylineutility) and
41+
* [decoder](https://developers.google.com/maps/documentation/routes/polylinedecoder) tools.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.String encodedPolyline;
46+
47+
/**
48+
* An [encoded
49+
* polyline](https://developers.google.com/maps/documentation/utilities/polylinealgorithm), as
50+
* returned by the [Routes API by default](https://developers.google.com/maps/documentation/routes
51+
* /reference/rest/v2/TopLevel/computeRoutes#polylineencoding). See the
52+
* [encoder](https://developers.google.com/maps/documentation/utilities/polylineutility) and
53+
* [decoder](https://developers.google.com/maps/documentation/routes/polylinedecoder) tools.
54+
* @return value or {@code null} for none
55+
*/
56+
public java.lang.String getEncodedPolyline() {
57+
return encodedPolyline;
58+
}
59+
60+
/**
61+
* An [encoded
62+
* polyline](https://developers.google.com/maps/documentation/utilities/polylinealgorithm), as
63+
* returned by the [Routes API by default](https://developers.google.com/maps/documentation/routes
64+
* /reference/rest/v2/TopLevel/computeRoutes#polylineencoding). See the
65+
* [encoder](https://developers.google.com/maps/documentation/utilities/polylineutility) and
66+
* [decoder](https://developers.google.com/maps/documentation/routes/polylinedecoder) tools.
67+
* @param encodedPolyline encodedPolyline or {@code null} for none
68+
*/
69+
public GoogleMapsPlacesV1Polyline setEncodedPolyline(java.lang.String encodedPolyline) {
70+
this.encodedPolyline = encodedPolyline;
71+
return this;
72+
}
73+
74+
@Override
75+
public GoogleMapsPlacesV1Polyline set(String fieldName, Object value) {
76+
return (GoogleMapsPlacesV1Polyline) super.set(fieldName, value);
77+
}
78+
79+
@Override
80+
public GoogleMapsPlacesV1Polyline clone() {
81+
return (GoogleMapsPlacesV1Polyline) super.clone();
82+
}
83+
84+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,150 @@
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+
* Encapsulates a set of optional conditions to satisfy when calculating the routes.
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 GoogleMapsPlacesV1RouteModifiers extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Optional. When set to true, avoids ferries where reasonable, giving preference to routes not
34+
* containing ferries. Applies only to the `DRIVE` and `TWO_WHEELER` `TravelMode`.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.Boolean avoidFerries;
39+
40+
/**
41+
* Optional. When set to true, avoids highways where reasonable, giving preference to routes not
42+
* containing highways. Applies only to the `DRIVE` and `TWO_WHEELER` `TravelMode`.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.lang.Boolean avoidHighways;
47+
48+
/**
49+
* Optional. When set to true, avoids navigating indoors where reasonable, giving preference to
50+
* routes not containing indoor navigation. Applies only to the `WALK` `TravelMode`.
51+
* The value may be {@code null}.
52+
*/
53+
@com.google.api.client.util.Key
54+
private java.lang.Boolean avoidIndoor;
55+
56+
/**
57+
* Optional. When set to true, avoids toll roads where reasonable, giving preference to routes not
58+
* containing toll roads. Applies only to the `DRIVE` and `TWO_WHEELER` `TravelMode`.
59+
* The value may be {@code null}.
60+
*/
61+
@com.google.api.client.util.Key
62+
private java.lang.Boolean avoidTolls;
63+
64+
/**
65+
* Optional. When set to true, avoids ferries where reasonable, giving preference to routes not
66+
* containing ferries. Applies only to the `DRIVE` and `TWO_WHEELER` `TravelMode`.
67+
* @return value or {@code null} for none
68+
*/
69+
public java.lang.Boolean getAvoidFerries() {
70+
return avoidFerries;
71+
}
72+
73+
/**
74+
* Optional. When set to true, avoids ferries where reasonable, giving preference to routes not
75+
* containing ferries. Applies only to the `DRIVE` and `TWO_WHEELER` `TravelMode`.
76+
* @param avoidFerries avoidFerries or {@code null} for none
77+
*/
78+
public GoogleMapsPlacesV1RouteModifiers setAvoidFerries(java.lang.Boolean avoidFerries) {
79+
this.avoidFerries = avoidFerries;
80+
return this;
81+
}
82+
83+
/**
84+
* Optional. When set to true, avoids highways where reasonable, giving preference to routes not
85+
* containing highways. Applies only to the `DRIVE` and `TWO_WHEELER` `TravelMode`.
86+
* @return value or {@code null} for none
87+
*/
88+
public java.lang.Boolean getAvoidHighways() {
89+
return avoidHighways;
90+
}
91+
92+
/**
93+
* Optional. When set to true, avoids highways where reasonable, giving preference to routes not
94+
* containing highways. Applies only to the `DRIVE` and `TWO_WHEELER` `TravelMode`.
95+
* @param avoidHighways avoidHighways or {@code null} for none
96+
*/
97+
public GoogleMapsPlacesV1RouteModifiers setAvoidHighways(java.lang.Boolean avoidHighways) {
98+
this.avoidHighways = avoidHighways;
99+
return this;
100+
}
101+
102+
/**
103+
* Optional. When set to true, avoids navigating indoors where reasonable, giving preference to
104+
* routes not containing indoor navigation. Applies only to the `WALK` `TravelMode`.
105+
* @return value or {@code null} for none
106+
*/
107+
public java.lang.Boolean getAvoidIndoor() {
108+
return avoidIndoor;
109+
}
110+
111+
/**
112+
* Optional. When set to true, avoids navigating indoors where reasonable, giving preference to
113+
* routes not containing indoor navigation. Applies only to the `WALK` `TravelMode`.
114+
* @param avoidIndoor avoidIndoor or {@code null} for none
115+
*/
116+
public GoogleMapsPlacesV1RouteModifiers setAvoidIndoor(java.lang.Boolean avoidIndoor) {
117+
this.avoidIndoor = avoidIndoor;
118+
return this;
119+
}
120+
121+
/**
122+
* Optional. When set to true, avoids toll roads where reasonable, giving preference to routes not
123+
* containing toll roads. Applies only to the `DRIVE` and `TWO_WHEELER` `TravelMode`.
124+
* @return value or {@code null} for none
125+
*/
126+
public java.lang.Boolean getAvoidTolls() {
127+
return avoidTolls;
128+
}
129+
130+
/**
131+
* Optional. When set to true, avoids toll roads where reasonable, giving preference to routes not
132+
* containing toll roads. Applies only to the `DRIVE` and `TWO_WHEELER` `TravelMode`.
133+
* @param avoidTolls avoidTolls or {@code null} for none
134+
*/
135+
public GoogleMapsPlacesV1RouteModifiers setAvoidTolls(java.lang.Boolean avoidTolls) {
136+
this.avoidTolls = avoidTolls;
137+
return this;
138+
}
139+
140+
@Override
141+
public GoogleMapsPlacesV1RouteModifiers set(String fieldName, Object value) {
142+
return (GoogleMapsPlacesV1RouteModifiers) super.set(fieldName, value);
143+
}
144+
145+
@Override
146+
public GoogleMapsPlacesV1RouteModifiers clone() {
147+
return (GoogleMapsPlacesV1RouteModifiers) super.clone();
148+
}
149+
150+
}

0 commit comments

Comments
 (0)