Skip to content

Commit 996c4bb

Browse files
1 parent 66d3e3b commit 996c4bb

9 files changed

Lines changed: 908 additions & 6 deletions

File tree

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-rev20260323-2.0.0</version>
25+
<version>v1-rev20260517-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-rev20260323-2.0.0'
38+
implementation 'com.google.apis:google-api-services-places:v1-rev20260517-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
@@ -598,6 +598,13 @@ public final class GoogleMapsPlacesV1Place extends com.google.api.client.json.Ge
598598
@com.google.api.client.util.Key
599599
private GoogleTypeTimeZone timeZone;
600600

601+
/**
602+
* The transit station information for the place.
603+
* The value may be {@code null}.
604+
*/
605+
@com.google.api.client.util.Key
606+
private GoogleMapsPlacesV1TransitStation transitStation;
607+
601608
/**
602609
* A set of type tags for this result. For example, "political" and "locality". For the complete
603610
* list of possible values, see Table A and Table B at
@@ -1982,6 +1989,23 @@ public GoogleMapsPlacesV1Place setTimeZone(GoogleTypeTimeZone timeZone) {
19821989
return this;
19831990
}
19841991

1992+
/**
1993+
* The transit station information for the place.
1994+
* @return value or {@code null} for none
1995+
*/
1996+
public GoogleMapsPlacesV1TransitStation getTransitStation() {
1997+
return transitStation;
1998+
}
1999+
2000+
/**
2001+
* The transit station information for the place.
2002+
* @param transitStation transitStation or {@code null} for none
2003+
*/
2004+
public GoogleMapsPlacesV1Place setTransitStation(GoogleMapsPlacesV1TransitStation transitStation) {
2005+
this.transitStation = transitStation;
2006+
return this;
2007+
}
2008+
19852009
/**
19862010
* A set of type tags for this result. For example, "political" and "locality". For the complete
19872011
* list of possible values, see Table A and Table B at
Lines changed: 165 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,165 @@
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 transit agency.
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 GoogleMapsPlacesV1TransitAgency extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Agency name (e.g. "VTA") in the requested language.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private GoogleTypeLocalizedText displayName;
38+
39+
/**
40+
* The URL of the agency's fare details page.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.lang.String fareUrl;
45+
46+
/**
47+
* Icon identifier for localized branded icon of a transit system (e.g. London Underground) which
48+
* should be used instead of TransitLine.vehicle_icon in the UI.
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private GoogleMapsPlacesV1TransitIcon icon;
53+
54+
/**
55+
* The transit lines that are served by this agency.
56+
* The value may be {@code null}.
57+
*/
58+
@com.google.api.client.util.Key
59+
private java.util.List<GoogleMapsPlacesV1TransitLine> lines;
60+
61+
/**
62+
* The URL of the agency's homepage.
63+
* The value may be {@code null}.
64+
*/
65+
@com.google.api.client.util.Key
66+
private java.lang.String url;
67+
68+
/**
69+
* Agency name (e.g. "VTA") in the requested language.
70+
* @return value or {@code null} for none
71+
*/
72+
public GoogleTypeLocalizedText getDisplayName() {
73+
return displayName;
74+
}
75+
76+
/**
77+
* Agency name (e.g. "VTA") in the requested language.
78+
* @param displayName displayName or {@code null} for none
79+
*/
80+
public GoogleMapsPlacesV1TransitAgency setDisplayName(GoogleTypeLocalizedText displayName) {
81+
this.displayName = displayName;
82+
return this;
83+
}
84+
85+
/**
86+
* The URL of the agency's fare details page.
87+
* @return value or {@code null} for none
88+
*/
89+
public java.lang.String getFareUrl() {
90+
return fareUrl;
91+
}
92+
93+
/**
94+
* The URL of the agency's fare details page.
95+
* @param fareUrl fareUrl or {@code null} for none
96+
*/
97+
public GoogleMapsPlacesV1TransitAgency setFareUrl(java.lang.String fareUrl) {
98+
this.fareUrl = fareUrl;
99+
return this;
100+
}
101+
102+
/**
103+
* Icon identifier for localized branded icon of a transit system (e.g. London Underground) which
104+
* should be used instead of TransitLine.vehicle_icon in the UI.
105+
* @return value or {@code null} for none
106+
*/
107+
public GoogleMapsPlacesV1TransitIcon getIcon() {
108+
return icon;
109+
}
110+
111+
/**
112+
* Icon identifier for localized branded icon of a transit system (e.g. London Underground) which
113+
* should be used instead of TransitLine.vehicle_icon in the UI.
114+
* @param icon icon or {@code null} for none
115+
*/
116+
public GoogleMapsPlacesV1TransitAgency setIcon(GoogleMapsPlacesV1TransitIcon icon) {
117+
this.icon = icon;
118+
return this;
119+
}
120+
121+
/**
122+
* The transit lines that are served by this agency.
123+
* @return value or {@code null} for none
124+
*/
125+
public java.util.List<GoogleMapsPlacesV1TransitLine> getLines() {
126+
return lines;
127+
}
128+
129+
/**
130+
* The transit lines that are served by this agency.
131+
* @param lines lines or {@code null} for none
132+
*/
133+
public GoogleMapsPlacesV1TransitAgency setLines(java.util.List<GoogleMapsPlacesV1TransitLine> lines) {
134+
this.lines = lines;
135+
return this;
136+
}
137+
138+
/**
139+
* The URL of the agency's homepage.
140+
* @return value or {@code null} for none
141+
*/
142+
public java.lang.String getUrl() {
143+
return url;
144+
}
145+
146+
/**
147+
* The URL of the agency's homepage.
148+
* @param url url or {@code null} for none
149+
*/
150+
public GoogleMapsPlacesV1TransitAgency setUrl(java.lang.String url) {
151+
this.url = url;
152+
return this;
153+
}
154+
155+
@Override
156+
public GoogleMapsPlacesV1TransitAgency set(String fieldName, Object value) {
157+
return (GoogleMapsPlacesV1TransitAgency) super.set(fieldName, value);
158+
}
159+
160+
@Override
161+
public GoogleMapsPlacesV1TransitAgency clone() {
162+
return (GoogleMapsPlacesV1TransitAgency) super.clone();
163+
}
164+
165+
}
Lines changed: 90 additions & 0 deletions
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+
* Icon for a transit line, vehicle, or agency.
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 GoogleMapsPlacesV1TransitIcon extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Whether the name is contained in the icon and there is no need to display it next to the icon.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.Boolean nameIncluded;
38+
39+
/**
40+
* The URL of the icon.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.lang.String url;
45+
46+
/**
47+
* Whether the name is contained in the icon and there is no need to display it next to the icon.
48+
* @return value or {@code null} for none
49+
*/
50+
public java.lang.Boolean getNameIncluded() {
51+
return nameIncluded;
52+
}
53+
54+
/**
55+
* Whether the name is contained in the icon and there is no need to display it next to the icon.
56+
* @param nameIncluded nameIncluded or {@code null} for none
57+
*/
58+
public GoogleMapsPlacesV1TransitIcon setNameIncluded(java.lang.Boolean nameIncluded) {
59+
this.nameIncluded = nameIncluded;
60+
return this;
61+
}
62+
63+
/**
64+
* The URL of the icon.
65+
* @return value or {@code null} for none
66+
*/
67+
public java.lang.String getUrl() {
68+
return url;
69+
}
70+
71+
/**
72+
* The URL of the icon.
73+
* @param url url or {@code null} for none
74+
*/
75+
public GoogleMapsPlacesV1TransitIcon setUrl(java.lang.String url) {
76+
this.url = url;
77+
return this;
78+
}
79+
80+
@Override
81+
public GoogleMapsPlacesV1TransitIcon set(String fieldName, Object value) {
82+
return (GoogleMapsPlacesV1TransitIcon) super.set(fieldName, value);
83+
}
84+
85+
@Override
86+
public GoogleMapsPlacesV1TransitIcon clone() {
87+
return (GoogleMapsPlacesV1TransitIcon) super.clone();
88+
}
89+
90+
}

0 commit comments

Comments
 (0)