Skip to content

Commit 62bf347

Browse files
1 parent 3c66fad commit 62bf347

File tree

8 files changed

+379
-6
lines changed

8 files changed

+379
-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-rev20250810-2.0.0</version>
25+
<version>v1-rev20250921-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-rev20250810-2.0.0'
38+
implementation 'com.google.apis:google-api-services-places:v1-rev20250921-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: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,14 @@ public final class GoogleMapsPlacesV1Place extends com.google.api.client.json.Ge
8989
@com.google.api.client.util.Key
9090
private java.lang.String businessStatus;
9191

92+
/**
93+
* The consumer alert message for the place when we detect suspicious review activity on a
94+
* business or a business violates our policies.
95+
* The value may be {@code null}.
96+
*/
97+
@com.google.api.client.util.Key
98+
private GoogleMapsPlacesV1PlaceConsumerAlert consumerAlert;
99+
92100
/**
93101
* List of places in which the current place is located.
94102
* The value may be {@code null}.
@@ -736,6 +744,25 @@ public GoogleMapsPlacesV1Place setBusinessStatus(java.lang.String businessStatus
736744
return this;
737745
}
738746

747+
/**
748+
* The consumer alert message for the place when we detect suspicious review activity on a
749+
* business or a business violates our policies.
750+
* @return value or {@code null} for none
751+
*/
752+
public GoogleMapsPlacesV1PlaceConsumerAlert getConsumerAlert() {
753+
return consumerAlert;
754+
}
755+
756+
/**
757+
* The consumer alert message for the place when we detect suspicious review activity on a
758+
* business or a business violates our policies.
759+
* @param consumerAlert consumerAlert or {@code null} for none
760+
*/
761+
public GoogleMapsPlacesV1Place setConsumerAlert(GoogleMapsPlacesV1PlaceConsumerAlert consumerAlert) {
762+
this.consumerAlert = consumerAlert;
763+
return this;
764+
}
765+
739766
/**
740767
* List of places in which the current place is located.
741768
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
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+
* The consumer alert message for the place when we detect suspicious review activity on a business
21+
* or a business violates our policies.
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 GoogleMapsPlacesV1PlaceConsumerAlert extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* The details of the consumer alert message.ƒ
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private GoogleMapsPlacesV1PlaceConsumerAlertDetails details;
39+
40+
/**
41+
* The language code of the consumer alert message. This is a BCP 47 language code.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.String languageCode;
46+
47+
/**
48+
* The overview of the consumer alert message.
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private java.lang.String overview;
53+
54+
/**
55+
* The details of the consumer alert message.ƒ
56+
* @return value or {@code null} for none
57+
*/
58+
public GoogleMapsPlacesV1PlaceConsumerAlertDetails getDetails() {
59+
return details;
60+
}
61+
62+
/**
63+
* The details of the consumer alert message.ƒ
64+
* @param details details or {@code null} for none
65+
*/
66+
public GoogleMapsPlacesV1PlaceConsumerAlert setDetails(GoogleMapsPlacesV1PlaceConsumerAlertDetails details) {
67+
this.details = details;
68+
return this;
69+
}
70+
71+
/**
72+
* The language code of the consumer alert message. This is a BCP 47 language code.
73+
* @return value or {@code null} for none
74+
*/
75+
public java.lang.String getLanguageCode() {
76+
return languageCode;
77+
}
78+
79+
/**
80+
* The language code of the consumer alert message. This is a BCP 47 language code.
81+
* @param languageCode languageCode or {@code null} for none
82+
*/
83+
public GoogleMapsPlacesV1PlaceConsumerAlert setLanguageCode(java.lang.String languageCode) {
84+
this.languageCode = languageCode;
85+
return this;
86+
}
87+
88+
/**
89+
* The overview of the consumer alert message.
90+
* @return value or {@code null} for none
91+
*/
92+
public java.lang.String getOverview() {
93+
return overview;
94+
}
95+
96+
/**
97+
* The overview of the consumer alert message.
98+
* @param overview overview or {@code null} for none
99+
*/
100+
public GoogleMapsPlacesV1PlaceConsumerAlert setOverview(java.lang.String overview) {
101+
this.overview = overview;
102+
return this;
103+
}
104+
105+
@Override
106+
public GoogleMapsPlacesV1PlaceConsumerAlert set(String fieldName, Object value) {
107+
return (GoogleMapsPlacesV1PlaceConsumerAlert) super.set(fieldName, value);
108+
}
109+
110+
@Override
111+
public GoogleMapsPlacesV1PlaceConsumerAlert clone() {
112+
return (GoogleMapsPlacesV1PlaceConsumerAlert) super.clone();
113+
}
114+
115+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
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+
* The details of the consumer alert message.
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 GoogleMapsPlacesV1PlaceConsumerAlertDetails extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* The link to show together with the description to provide more information.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private GoogleMapsPlacesV1PlaceConsumerAlertDetailsLink aboutLink;
38+
39+
/**
40+
* The description of the consumer alert message.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.lang.String description;
45+
46+
/**
47+
* The title to show together with the description.
48+
* The value may be {@code null}.
49+
*/
50+
@com.google.api.client.util.Key
51+
private java.lang.String title;
52+
53+
/**
54+
* The link to show together with the description to provide more information.
55+
* @return value or {@code null} for none
56+
*/
57+
public GoogleMapsPlacesV1PlaceConsumerAlertDetailsLink getAboutLink() {
58+
return aboutLink;
59+
}
60+
61+
/**
62+
* The link to show together with the description to provide more information.
63+
* @param aboutLink aboutLink or {@code null} for none
64+
*/
65+
public GoogleMapsPlacesV1PlaceConsumerAlertDetails setAboutLink(GoogleMapsPlacesV1PlaceConsumerAlertDetailsLink aboutLink) {
66+
this.aboutLink = aboutLink;
67+
return this;
68+
}
69+
70+
/**
71+
* The description of the consumer alert message.
72+
* @return value or {@code null} for none
73+
*/
74+
public java.lang.String getDescription() {
75+
return description;
76+
}
77+
78+
/**
79+
* The description of the consumer alert message.
80+
* @param description description or {@code null} for none
81+
*/
82+
public GoogleMapsPlacesV1PlaceConsumerAlertDetails setDescription(java.lang.String description) {
83+
this.description = description;
84+
return this;
85+
}
86+
87+
/**
88+
* The title to show together with the description.
89+
* @return value or {@code null} for none
90+
*/
91+
public java.lang.String getTitle() {
92+
return title;
93+
}
94+
95+
/**
96+
* The title to show together with the description.
97+
* @param title title or {@code null} for none
98+
*/
99+
public GoogleMapsPlacesV1PlaceConsumerAlertDetails setTitle(java.lang.String title) {
100+
this.title = title;
101+
return this;
102+
}
103+
104+
@Override
105+
public GoogleMapsPlacesV1PlaceConsumerAlertDetails set(String fieldName, Object value) {
106+
return (GoogleMapsPlacesV1PlaceConsumerAlertDetails) super.set(fieldName, value);
107+
}
108+
109+
@Override
110+
public GoogleMapsPlacesV1PlaceConsumerAlertDetails clone() {
111+
return (GoogleMapsPlacesV1PlaceConsumerAlertDetails) super.clone();
112+
}
113+
114+
}
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+
* The link to show together with the description to provide more information.
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 GoogleMapsPlacesV1PlaceConsumerAlertDetailsLink extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* The title to show for the link.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String title;
38+
39+
/**
40+
* The uri of the link.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.lang.String uri;
45+
46+
/**
47+
* The title to show for the link.
48+
* @return value or {@code null} for none
49+
*/
50+
public java.lang.String getTitle() {
51+
return title;
52+
}
53+
54+
/**
55+
* The title to show for the link.
56+
* @param title title or {@code null} for none
57+
*/
58+
public GoogleMapsPlacesV1PlaceConsumerAlertDetailsLink setTitle(java.lang.String title) {
59+
this.title = title;
60+
return this;
61+
}
62+
63+
/**
64+
* The uri of the link.
65+
* @return value or {@code null} for none
66+
*/
67+
public java.lang.String getUri() {
68+
return uri;
69+
}
70+
71+
/**
72+
* The uri of the link.
73+
* @param uri uri or {@code null} for none
74+
*/
75+
public GoogleMapsPlacesV1PlaceConsumerAlertDetailsLink setUri(java.lang.String uri) {
76+
this.uri = uri;
77+
return this;
78+
}
79+
80+
@Override
81+
public GoogleMapsPlacesV1PlaceConsumerAlertDetailsLink set(String fieldName, Object value) {
82+
return (GoogleMapsPlacesV1PlaceConsumerAlertDetailsLink) super.set(fieldName, value);
83+
}
84+
85+
@Override
86+
public GoogleMapsPlacesV1PlaceConsumerAlertDetailsLink clone() {
87+
return (GoogleMapsPlacesV1PlaceConsumerAlertDetailsLink) super.clone();
88+
}
89+
90+
}

0 commit comments

Comments
 (0)