Skip to content

Commit 93b9a28

Browse files
Regenerate safebrowsing client (googleapis#6767)
This PR was generated using Autosynth. 🌈 <details><summary>Log from Synthtool</summary> ``` 2020-12-17 03:55:52,798 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-java-client-services/synth.py. On branch autosynth-safebrowsing nothing to commit, working tree clean 2020-12-17 03:55:53,216 synthtool [DEBUG] > Cloning https://github.com/googleapis/discovery-artifact-manager.git. DEBUG:synthtool:Cloning https://github.com/googleapis/discovery-artifact-manager.git. 2020-12-17 03:55:53,601 synthtool [DEBUG] > Cleaning output directory. DEBUG:synthtool:Cleaning output directory. 2020-12-17 03:55:53,603 synthtool [DEBUG] > Installing dependencies. DEBUG:synthtool:Installing dependencies. 2020-12-17 03:55:55,282 synthtool [INFO] > Generating safebrowsing v4. INFO:synthtool:Generating safebrowsing v4. 2020-12-17 03:55:55,282 synthtool [INFO] > 1.31.0 INFO:synthtool: 1.31.0 WARNING:root:object without properties Empty: OrderedDict([(u'description', u'A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.'), (u'id', u'Empty'), (u'properties', OrderedDict()), (u'type', u'object')]) Writing json metadata to clients/google-api-services-safebrowsing/v4.metadata.json 2020-12-17 03:55:55,996 synthtool [DEBUG] > Wrote metadata to clients/google-api-services-safebrowsing/synth.metadata. DEBUG:synthtool:Wrote metadata to clients/google-api-services-safebrowsing/synth.metadata. ``` </details> Full log will be available here: https://source.cloud.google.com/results/invocations/9fd6d601-ddf7-483e-bf4a-512ae7cb3913/targets - [ ] To automatically regenerate this PR, check this box.
1 parent a2c583a commit 93b9a28

File tree

6 files changed

+905
-906
lines changed

6 files changed

+905
-906
lines changed

clients/google-api-services-safebrowsing/v4.metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"maven": {
33
"groupId": "com.google.apis",
44
"artifactId": "google-api-services-safebrowsing",
5-
"version": "v4-rev20201210-1.31.0"
5+
"version": "v4-rev20201213-1.31.0"
66
}
77
}

clients/google-api-services-safebrowsing/v4/1.31.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-safebrowsing</artifactId>
25-
<version>v4-rev20201210-1.31.0</version>
25+
<version>v4-rev20201213-1.31.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
compile 'com.google.apis:google-api-services-safebrowsing:v4-rev20201210-1.31.0'
38+
compile 'com.google.apis:google-api-services-safebrowsing:v4-rev20201213-1.31.0'
3939
}
4040
```
4141

clients/google-api-services-safebrowsing/v4/1.31.0/com/google/api/services/safebrowsing/v4/Safebrowsing.java

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ public Get get(java.lang.String encodedRequest) throws java.io.IOException {
167167
return result;
168168
}
169169

170-
public class Get extends SafebrowsingRequest<com.google.api.services.safebrowsing.v4.model.GoogleSecuritySafebrowsingV4FindFullHashesResponse> {
170+
public class Get extends SafebrowsingRequest<com.google.api.services.safebrowsing.v4.model.FindFullHashesResponse> {
171171

172172
private static final String REST_PATH = "v4/encodedFullHashes/{encodedRequest}";
173173

@@ -183,7 +183,7 @@ public class Get extends SafebrowsingRequest<com.google.api.services.safebrowsin
183183
* @since 1.13
184184
*/
185185
protected Get(java.lang.String encodedRequest) {
186-
super(Safebrowsing.this, "GET", REST_PATH, null, com.google.api.services.safebrowsing.v4.model.GoogleSecuritySafebrowsingV4FindFullHashesResponse.class);
186+
super(Safebrowsing.this, "GET", REST_PATH, null, com.google.api.services.safebrowsing.v4.model.FindFullHashesResponse.class);
187187
this.encodedRequest = com.google.api.client.util.Preconditions.checkNotNull(encodedRequest, "Required parameter encodedRequest must be specified.");
188188
}
189189

@@ -350,7 +350,7 @@ public Get get(java.lang.String encodedRequest) throws java.io.IOException {
350350
return result;
351351
}
352352

353-
public class Get extends SafebrowsingRequest<com.google.api.services.safebrowsing.v4.model.GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponse> {
353+
public class Get extends SafebrowsingRequest<com.google.api.services.safebrowsing.v4.model.FetchThreatListUpdatesResponse> {
354354

355355
private static final String REST_PATH = "v4/encodedUpdates/{encodedRequest}";
356356

@@ -366,7 +366,7 @@ public class Get extends SafebrowsingRequest<com.google.api.services.safebrowsin
366366
* @since 1.13
367367
*/
368368
protected Get(java.lang.String encodedRequest) {
369-
super(Safebrowsing.this, "GET", REST_PATH, null, com.google.api.services.safebrowsing.v4.model.GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponse.class);
369+
super(Safebrowsing.this, "GET", REST_PATH, null, com.google.api.services.safebrowsing.v4.model.FetchThreatListUpdatesResponse.class);
370370
this.encodedRequest = com.google.api.client.util.Preconditions.checkNotNull(encodedRequest, "Required parameter encodedRequest must be specified.");
371371
}
372372

@@ -523,16 +523,16 @@ public class FullHashes {
523523
* This request holds the parameters needed by the safebrowsing server. After setting any optional
524524
* parameters, call the {@link Find#execute()} method to invoke the remote operation.
525525
*
526-
* @param content the {@link com.google.api.services.safebrowsing.v4.model.GoogleSecuritySafebrowsingV4FindFullHashesRequest}
526+
* @param content the {@link com.google.api.services.safebrowsing.v4.model.FindFullHashesRequest}
527527
* @return the request
528528
*/
529-
public Find find(com.google.api.services.safebrowsing.v4.model.GoogleSecuritySafebrowsingV4FindFullHashesRequest content) throws java.io.IOException {
529+
public Find find(com.google.api.services.safebrowsing.v4.model.FindFullHashesRequest content) throws java.io.IOException {
530530
Find result = new Find(content);
531531
initialize(result);
532532
return result;
533533
}
534534

535-
public class Find extends SafebrowsingRequest<com.google.api.services.safebrowsing.v4.model.GoogleSecuritySafebrowsingV4FindFullHashesResponse> {
535+
public class Find extends SafebrowsingRequest<com.google.api.services.safebrowsing.v4.model.FindFullHashesResponse> {
536536

537537
private static final String REST_PATH = "v4/fullHashes:find";
538538

@@ -546,11 +546,11 @@ public class Find extends SafebrowsingRequest<com.google.api.services.safebrowsi
546546
* {@link Find#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
547547
* must be called to initialize this instance immediately after invoking the constructor. </p>
548548
*
549-
* @param content the {@link com.google.api.services.safebrowsing.v4.model.GoogleSecuritySafebrowsingV4FindFullHashesRequest}
549+
* @param content the {@link com.google.api.services.safebrowsing.v4.model.FindFullHashesRequest}
550550
* @since 1.13
551551
*/
552-
protected Find(com.google.api.services.safebrowsing.v4.model.GoogleSecuritySafebrowsingV4FindFullHashesRequest content) {
553-
super(Safebrowsing.this, "POST", REST_PATH, content, com.google.api.services.safebrowsing.v4.model.GoogleSecuritySafebrowsingV4FindFullHashesResponse.class);
552+
protected Find(com.google.api.services.safebrowsing.v4.model.FindFullHashesRequest content) {
553+
super(Safebrowsing.this, "POST", REST_PATH, content, com.google.api.services.safebrowsing.v4.model.FindFullHashesResponse.class);
554554
}
555555

556556
@Override
@@ -645,16 +645,16 @@ public class ThreatHits {
645645
* This request holds the parameters needed by the safebrowsing server. After setting any optional
646646
* parameters, call the {@link Create#execute()} method to invoke the remote operation.
647647
*
648-
* @param content the {@link com.google.api.services.safebrowsing.v4.model.GoogleSecuritySafebrowsingV4ThreatHit}
648+
* @param content the {@link com.google.api.services.safebrowsing.v4.model.ThreatHit}
649649
* @return the request
650650
*/
651-
public Create create(com.google.api.services.safebrowsing.v4.model.GoogleSecuritySafebrowsingV4ThreatHit content) throws java.io.IOException {
651+
public Create create(com.google.api.services.safebrowsing.v4.model.ThreatHit content) throws java.io.IOException {
652652
Create result = new Create(content);
653653
initialize(result);
654654
return result;
655655
}
656656

657-
public class Create extends SafebrowsingRequest<com.google.api.services.safebrowsing.v4.model.GoogleProtobufEmpty> {
657+
public class Create extends SafebrowsingRequest<com.google.api.services.safebrowsing.v4.model.Empty> {
658658

659659
private static final String REST_PATH = "v4/threatHits";
660660

@@ -670,11 +670,11 @@ public class Create extends SafebrowsingRequest<com.google.api.services.safebrow
670670
* Create#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
671671
* be called to initialize this instance immediately after invoking the constructor. </p>
672672
*
673-
* @param content the {@link com.google.api.services.safebrowsing.v4.model.GoogleSecuritySafebrowsingV4ThreatHit}
673+
* @param content the {@link com.google.api.services.safebrowsing.v4.model.ThreatHit}
674674
* @since 1.13
675675
*/
676-
protected Create(com.google.api.services.safebrowsing.v4.model.GoogleSecuritySafebrowsingV4ThreatHit content) {
677-
super(Safebrowsing.this, "POST", REST_PATH, content, com.google.api.services.safebrowsing.v4.model.GoogleProtobufEmpty.class);
676+
protected Create(com.google.api.services.safebrowsing.v4.model.ThreatHit content) {
677+
super(Safebrowsing.this, "POST", REST_PATH, content, com.google.api.services.safebrowsing.v4.model.Empty.class);
678678
}
679679

680680
@Override
@@ -769,16 +769,16 @@ public class ThreatListUpdates {
769769
* This request holds the parameters needed by the safebrowsing server. After setting any optional
770770
* parameters, call the {@link Fetch#execute()} method to invoke the remote operation.
771771
*
772-
* @param content the {@link com.google.api.services.safebrowsing.v4.model.GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequest}
772+
* @param content the {@link com.google.api.services.safebrowsing.v4.model.FetchThreatListUpdatesRequest}
773773
* @return the request
774774
*/
775-
public Fetch fetch(com.google.api.services.safebrowsing.v4.model.GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequest content) throws java.io.IOException {
775+
public Fetch fetch(com.google.api.services.safebrowsing.v4.model.FetchThreatListUpdatesRequest content) throws java.io.IOException {
776776
Fetch result = new Fetch(content);
777777
initialize(result);
778778
return result;
779779
}
780780

781-
public class Fetch extends SafebrowsingRequest<com.google.api.services.safebrowsing.v4.model.GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponse> {
781+
public class Fetch extends SafebrowsingRequest<com.google.api.services.safebrowsing.v4.model.FetchThreatListUpdatesResponse> {
782782

783783
private static final String REST_PATH = "v4/threatListUpdates:fetch";
784784

@@ -794,11 +794,11 @@ public class Fetch extends SafebrowsingRequest<com.google.api.services.safebrows
794794
* Fetch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
795795
* be called to initialize this instance immediately after invoking the constructor. </p>
796796
*
797-
* @param content the {@link com.google.api.services.safebrowsing.v4.model.GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequest}
797+
* @param content the {@link com.google.api.services.safebrowsing.v4.model.FetchThreatListUpdatesRequest}
798798
* @since 1.13
799799
*/
800-
protected Fetch(com.google.api.services.safebrowsing.v4.model.GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequest content) {
801-
super(Safebrowsing.this, "POST", REST_PATH, content, com.google.api.services.safebrowsing.v4.model.GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponse.class);
800+
protected Fetch(com.google.api.services.safebrowsing.v4.model.FetchThreatListUpdatesRequest content) {
801+
super(Safebrowsing.this, "POST", REST_PATH, content, com.google.api.services.safebrowsing.v4.model.FetchThreatListUpdatesResponse.class);
802802
}
803803

804804
@Override
@@ -900,7 +900,7 @@ public List list() throws java.io.IOException {
900900
return result;
901901
}
902902

903-
public class List extends SafebrowsingRequest<com.google.api.services.safebrowsing.v4.model.GoogleSecuritySafebrowsingV4ListThreatListsResponse> {
903+
public class List extends SafebrowsingRequest<com.google.api.services.safebrowsing.v4.model.ListThreatListsResponse> {
904904

905905
private static final String REST_PATH = "v4/threatLists";
906906

@@ -917,7 +917,7 @@ public class List extends SafebrowsingRequest<com.google.api.services.safebrowsi
917917
* @since 1.13
918918
*/
919919
protected List() {
920-
super(Safebrowsing.this, "GET", REST_PATH, null, com.google.api.services.safebrowsing.v4.model.GoogleSecuritySafebrowsingV4ListThreatListsResponse.class);
920+
super(Safebrowsing.this, "GET", REST_PATH, null, com.google.api.services.safebrowsing.v4.model.ListThreatListsResponse.class);
921921
}
922922

923923
@Override
@@ -1021,16 +1021,16 @@ public class ThreatMatches {
10211021
* This request holds the parameters needed by the safebrowsing server. After setting any optional
10221022
* parameters, call the {@link Find#execute()} method to invoke the remote operation.
10231023
*
1024-
* @param content the {@link com.google.api.services.safebrowsing.v4.model.GoogleSecuritySafebrowsingV4FindThreatMatchesRequest}
1024+
* @param content the {@link com.google.api.services.safebrowsing.v4.model.FindThreatMatchesRequest}
10251025
* @return the request
10261026
*/
1027-
public Find find(com.google.api.services.safebrowsing.v4.model.GoogleSecuritySafebrowsingV4FindThreatMatchesRequest content) throws java.io.IOException {
1027+
public Find find(com.google.api.services.safebrowsing.v4.model.FindThreatMatchesRequest content) throws java.io.IOException {
10281028
Find result = new Find(content);
10291029
initialize(result);
10301030
return result;
10311031
}
10321032

1033-
public class Find extends SafebrowsingRequest<com.google.api.services.safebrowsing.v4.model.GoogleSecuritySafebrowsingV4FindThreatMatchesResponse> {
1033+
public class Find extends SafebrowsingRequest<com.google.api.services.safebrowsing.v4.model.FindThreatMatchesResponse> {
10341034

10351035
private static final String REST_PATH = "v4/threatMatches:find";
10361036

@@ -1044,11 +1044,11 @@ public class Find extends SafebrowsingRequest<com.google.api.services.safebrowsi
10441044
* {@link Find#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
10451045
* must be called to initialize this instance immediately after invoking the constructor. </p>
10461046
*
1047-
* @param content the {@link com.google.api.services.safebrowsing.v4.model.GoogleSecuritySafebrowsingV4FindThreatMatchesRequest}
1047+
* @param content the {@link com.google.api.services.safebrowsing.v4.model.FindThreatMatchesRequest}
10481048
* @since 1.13
10491049
*/
1050-
protected Find(com.google.api.services.safebrowsing.v4.model.GoogleSecuritySafebrowsingV4FindThreatMatchesRequest content) {
1051-
super(Safebrowsing.this, "POST", REST_PATH, content, com.google.api.services.safebrowsing.v4.model.GoogleSecuritySafebrowsingV4FindThreatMatchesResponse.class);
1050+
protected Find(com.google.api.services.safebrowsing.v4.model.FindThreatMatchesRequest content) {
1051+
super(Safebrowsing.this, "POST", REST_PATH, content, com.google.api.services.safebrowsing.v4.model.FindThreatMatchesResponse.class);
10521052
}
10531053

10541054
@Override

clients/google-api-services-safebrowsing/v4/1.31.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-safebrowsing</artifactId>
11-
<version>v4-rev20201210-1.31.0</version>
12-
<name>Safe Browsing API v4-rev20201210-1.31.0</name>
11+
<version>v4-rev20201213-1.31.0</version>
12+
<name>Safe Browsing API v4-rev20201213-1.31.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

0 commit comments

Comments
 (0)