Skip to content

Commit 2a78d4e

Browse files
1 parent 433dda6 commit 2a78d4e

File tree

7 files changed

+486
-6
lines changed

7 files changed

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

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
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 relational description of a location. Includes a ranked set of nearby landmarks and precise
21+
* containing areas and their relationship to the target location.
22+
*
23+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
24+
* transmitted over HTTP when working with the Places API (New). For a detailed explanation see:
25+
* <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>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class GoogleMapsPlacesV1AddressDescriptor extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* A ranked list of containing or adjacent areas. The most recognizable and precise areas are
35+
* ranked first.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.util.List<GoogleMapsPlacesV1AddressDescriptorArea> areas;
40+
41+
/**
42+
* A ranked list of nearby landmarks. The most recognizable and nearby landmarks are ranked first.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.util.List<GoogleMapsPlacesV1AddressDescriptorLandmark> landmarks;
47+
48+
/**
49+
* A ranked list of containing or adjacent areas. The most recognizable and precise areas are
50+
* ranked first.
51+
* @return value or {@code null} for none
52+
*/
53+
public java.util.List<GoogleMapsPlacesV1AddressDescriptorArea> getAreas() {
54+
return areas;
55+
}
56+
57+
/**
58+
* A ranked list of containing or adjacent areas. The most recognizable and precise areas are
59+
* ranked first.
60+
* @param areas areas or {@code null} for none
61+
*/
62+
public GoogleMapsPlacesV1AddressDescriptor setAreas(java.util.List<GoogleMapsPlacesV1AddressDescriptorArea> areas) {
63+
this.areas = areas;
64+
return this;
65+
}
66+
67+
/**
68+
* A ranked list of nearby landmarks. The most recognizable and nearby landmarks are ranked first.
69+
* @return value or {@code null} for none
70+
*/
71+
public java.util.List<GoogleMapsPlacesV1AddressDescriptorLandmark> getLandmarks() {
72+
return landmarks;
73+
}
74+
75+
/**
76+
* A ranked list of nearby landmarks. The most recognizable and nearby landmarks are ranked first.
77+
* @param landmarks landmarks or {@code null} for none
78+
*/
79+
public GoogleMapsPlacesV1AddressDescriptor setLandmarks(java.util.List<GoogleMapsPlacesV1AddressDescriptorLandmark> landmarks) {
80+
this.landmarks = landmarks;
81+
return this;
82+
}
83+
84+
@Override
85+
public GoogleMapsPlacesV1AddressDescriptor set(String fieldName, Object value) {
86+
return (GoogleMapsPlacesV1AddressDescriptor) super.set(fieldName, value);
87+
}
88+
89+
@Override
90+
public GoogleMapsPlacesV1AddressDescriptor clone() {
91+
return (GoogleMapsPlacesV1AddressDescriptor) super.clone();
92+
}
93+
94+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
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+
* Area information and the area's relationship with the target location. Areas includes precise
21+
* sublocality, neighborhoods, and large compounds that are useful for describing a location.
22+
*
23+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
24+
* transmitted over HTTP when working with the Places API (New). For a detailed explanation see:
25+
* <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>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class GoogleMapsPlacesV1AddressDescriptorArea extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Defines the spatial relationship between the target location and the area.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String containment;
39+
40+
/**
41+
* The area's display name.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private GoogleTypeLocalizedText displayName;
46+
47+
/**
48+
* The area's resource name.
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private java.lang.String name;
53+
54+
/**
55+
* The area's place id.
56+
* The value may be {@code null}.
57+
*/
58+
@com.google.api.client.util.Key
59+
private java.lang.String placeId;
60+
61+
/**
62+
* Defines the spatial relationship between the target location and the area.
63+
* @return value or {@code null} for none
64+
*/
65+
public java.lang.String getContainment() {
66+
return containment;
67+
}
68+
69+
/**
70+
* Defines the spatial relationship between the target location and the area.
71+
* @param containment containment or {@code null} for none
72+
*/
73+
public GoogleMapsPlacesV1AddressDescriptorArea setContainment(java.lang.String containment) {
74+
this.containment = containment;
75+
return this;
76+
}
77+
78+
/**
79+
* The area's display name.
80+
* @return value or {@code null} for none
81+
*/
82+
public GoogleTypeLocalizedText getDisplayName() {
83+
return displayName;
84+
}
85+
86+
/**
87+
* The area's display name.
88+
* @param displayName displayName or {@code null} for none
89+
*/
90+
public GoogleMapsPlacesV1AddressDescriptorArea setDisplayName(GoogleTypeLocalizedText displayName) {
91+
this.displayName = displayName;
92+
return this;
93+
}
94+
95+
/**
96+
* The area's resource name.
97+
* @return value or {@code null} for none
98+
*/
99+
public java.lang.String getName() {
100+
return name;
101+
}
102+
103+
/**
104+
* The area's resource name.
105+
* @param name name or {@code null} for none
106+
*/
107+
public GoogleMapsPlacesV1AddressDescriptorArea setName(java.lang.String name) {
108+
this.name = name;
109+
return this;
110+
}
111+
112+
/**
113+
* The area's place id.
114+
* @return value or {@code null} for none
115+
*/
116+
public java.lang.String getPlaceId() {
117+
return placeId;
118+
}
119+
120+
/**
121+
* The area's place id.
122+
* @param placeId placeId or {@code null} for none
123+
*/
124+
public GoogleMapsPlacesV1AddressDescriptorArea setPlaceId(java.lang.String placeId) {
125+
this.placeId = placeId;
126+
return this;
127+
}
128+
129+
@Override
130+
public GoogleMapsPlacesV1AddressDescriptorArea set(String fieldName, Object value) {
131+
return (GoogleMapsPlacesV1AddressDescriptorArea) super.set(fieldName, value);
132+
}
133+
134+
@Override
135+
public GoogleMapsPlacesV1AddressDescriptorArea clone() {
136+
return (GoogleMapsPlacesV1AddressDescriptorArea) super.clone();
137+
}
138+
139+
}

0 commit comments

Comments
 (0)