Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions clients/google-api-services-places/v1/2.0.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-places</artifactId>
<version>v1-rev20260323-2.0.0</version>
<version>v1-rev20260517-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-places:v1-rev20260323-2.0.0'
implementation 'com.google.apis:google-api-services-places:v1-rev20260517-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -598,6 +598,13 @@ public final class GoogleMapsPlacesV1Place extends com.google.api.client.json.Ge
@com.google.api.client.util.Key
private GoogleTypeTimeZone timeZone;

/**
* The transit station information for the place.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private GoogleMapsPlacesV1TransitStation transitStation;

/**
* A set of type tags for this result. For example, "political" and "locality". For the complete
* list of possible values, see Table A and Table B at
Expand Down Expand Up @@ -1982,6 +1989,23 @@ public GoogleMapsPlacesV1Place setTimeZone(GoogleTypeTimeZone timeZone) {
return this;
}

/**
* The transit station information for the place.
* @return value or {@code null} for none
*/
public GoogleMapsPlacesV1TransitStation getTransitStation() {
return transitStation;
}

/**
* The transit station information for the place.
* @param transitStation transitStation or {@code null} for none
*/
public GoogleMapsPlacesV1Place setTransitStation(GoogleMapsPlacesV1TransitStation transitStation) {
this.transitStation = transitStation;
return this;
}

/**
* A set of type tags for this result. For example, "political" and "locality". For the complete
* list of possible values, see Table A and Table B at
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,165 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
* Modify at your own risk.
*/

package com.google.api.services.places.v1.model;

/**
* Represents a transit agency.
*
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Places API (New). For a detailed explanation see:
* <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>
* </p>
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class GoogleMapsPlacesV1TransitAgency extends com.google.api.client.json.GenericJson {

/**
* Agency name (e.g. "VTA") in the requested language.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private GoogleTypeLocalizedText displayName;

/**
* The URL of the agency's fare details page.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String fareUrl;

/**
* Icon identifier for localized branded icon of a transit system (e.g. London Underground) which
* should be used instead of TransitLine.vehicle_icon in the UI.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private GoogleMapsPlacesV1TransitIcon icon;

/**
* The transit lines that are served by this agency.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List<GoogleMapsPlacesV1TransitLine> lines;

/**
* The URL of the agency's homepage.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String url;

/**
* Agency name (e.g. "VTA") in the requested language.
* @return value or {@code null} for none
*/
public GoogleTypeLocalizedText getDisplayName() {
return displayName;
}

/**
* Agency name (e.g. "VTA") in the requested language.
* @param displayName displayName or {@code null} for none
*/
public GoogleMapsPlacesV1TransitAgency setDisplayName(GoogleTypeLocalizedText displayName) {
this.displayName = displayName;
return this;
}

/**
* The URL of the agency's fare details page.
* @return value or {@code null} for none
*/
public java.lang.String getFareUrl() {
return fareUrl;
}

/**
* The URL of the agency's fare details page.
* @param fareUrl fareUrl or {@code null} for none
*/
public GoogleMapsPlacesV1TransitAgency setFareUrl(java.lang.String fareUrl) {
this.fareUrl = fareUrl;
return this;
}

/**
* Icon identifier for localized branded icon of a transit system (e.g. London Underground) which
* should be used instead of TransitLine.vehicle_icon in the UI.
* @return value or {@code null} for none
*/
public GoogleMapsPlacesV1TransitIcon getIcon() {
return icon;
}

/**
* Icon identifier for localized branded icon of a transit system (e.g. London Underground) which
* should be used instead of TransitLine.vehicle_icon in the UI.
* @param icon icon or {@code null} for none
*/
public GoogleMapsPlacesV1TransitAgency setIcon(GoogleMapsPlacesV1TransitIcon icon) {
this.icon = icon;
return this;
}

/**
* The transit lines that are served by this agency.
* @return value or {@code null} for none
*/
public java.util.List<GoogleMapsPlacesV1TransitLine> getLines() {
return lines;
}

/**
* The transit lines that are served by this agency.
* @param lines lines or {@code null} for none
*/
public GoogleMapsPlacesV1TransitAgency setLines(java.util.List<GoogleMapsPlacesV1TransitLine> lines) {
this.lines = lines;
return this;
}

/**
* The URL of the agency's homepage.
* @return value or {@code null} for none
*/
public java.lang.String getUrl() {
return url;
}

/**
* The URL of the agency's homepage.
* @param url url or {@code null} for none
*/
public GoogleMapsPlacesV1TransitAgency setUrl(java.lang.String url) {
this.url = url;
return this;
}

@Override
public GoogleMapsPlacesV1TransitAgency set(String fieldName, Object value) {
return (GoogleMapsPlacesV1TransitAgency) super.set(fieldName, value);
}

@Override
public GoogleMapsPlacesV1TransitAgency clone() {
return (GoogleMapsPlacesV1TransitAgency) super.clone();
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
* Modify at your own risk.
*/

package com.google.api.services.places.v1.model;

/**
* Icon for a transit line, vehicle, or agency.
*
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Places API (New). For a detailed explanation see:
* <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>
* </p>
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class GoogleMapsPlacesV1TransitIcon extends com.google.api.client.json.GenericJson {

/**
* Whether the name is contained in the icon and there is no need to display it next to the icon.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Boolean nameIncluded;

/**
* The URL of the icon.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String url;

/**
* Whether the name is contained in the icon and there is no need to display it next to the icon.
* @return value or {@code null} for none
*/
public java.lang.Boolean getNameIncluded() {
return nameIncluded;
}

/**
* Whether the name is contained in the icon and there is no need to display it next to the icon.
* @param nameIncluded nameIncluded or {@code null} for none
*/
public GoogleMapsPlacesV1TransitIcon setNameIncluded(java.lang.Boolean nameIncluded) {
this.nameIncluded = nameIncluded;
return this;
}

/**
* The URL of the icon.
* @return value or {@code null} for none
*/
public java.lang.String getUrl() {
return url;
}

/**
* The URL of the icon.
* @param url url or {@code null} for none
*/
public GoogleMapsPlacesV1TransitIcon setUrl(java.lang.String url) {
this.url = url;
return this;
}

@Override
public GoogleMapsPlacesV1TransitIcon set(String fieldName, Object value) {
return (GoogleMapsPlacesV1TransitIcon) super.set(fieldName, value);
}

@Override
public GoogleMapsPlacesV1TransitIcon clone() {
return (GoogleMapsPlacesV1TransitIcon) super.clone();
}

}
Loading