Skip to content

Commit 47b6490

Browse files
Regenerate webrisk client (googleapis#7282)
This PR was generated using Autosynth. 🌈 <details><summary>Log from Synthtool</summary> ``` 2021-03-16 04:05:47,917 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-java-client-services/synth.py. On branch autosynth-webrisk nothing to commit, working tree clean 2021-03-16 04:05:48,396 synthtool [DEBUG] > Cloning https://github.com/googleapis/discovery-artifact-manager.git. DEBUG:synthtool:Cloning https://github.com/googleapis/discovery-artifact-manager.git. 2021-03-16 04:05:48,823 synthtool [DEBUG] > Cleaning output directory. DEBUG:synthtool:Cleaning output directory. 2021-03-16 04:05:48,826 synthtool [DEBUG] > Installing dependencies. DEBUG:synthtool:Installing dependencies. 2021-03-16 04:05:50,641 synthtool [INFO] > Generating webrisk v1. INFO:synthtool:Generating webrisk v1. 2021-03-16 04:05:50,642 synthtool [INFO] > 1.31.0 INFO:synthtool: 1.31.0 WARNING:root:object without properties GoogleLongrunningCancelOperationRequest: OrderedDict([(u'id', u'GoogleLongrunningCancelOperationRequest'), (u'properties', OrderedDict()), (u'type', u'object'), (u'description', u'The request message for Operations.CancelOperation.')]) WARNING:root:object without properties GoogleProtobufEmpty: OrderedDict([(u'id', u'GoogleProtobufEmpty'), (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'properties', OrderedDict()), (u'type', u'object')]) Writing json metadata to clients/google-api-services-webrisk/v1.metadata.json 2021-03-16 04:05:51,455 synthtool [DEBUG] > Wrote metadata to clients/google-api-services-webrisk/synth.metadata. DEBUG:synthtool:Wrote metadata to clients/google-api-services-webrisk/synth.metadata. ``` </details> Full log will be available here: https://source.cloud.google.com/results/invocations/9889e448-469a-4f87-b218-ab2c23c55bfe/targets - [ ] To automatically regenerate this PR, check this box.
1 parent c6d7c9e commit 47b6490

File tree

7 files changed

+1206
-1058
lines changed

7 files changed

+1206
-1058
lines changed

clients/google-api-services-webrisk/v1.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-webrisk",
5-
"version": "v1-rev20210220-1.31.0"
5+
"version": "v1-rev20210314-1.31.0"
66
}
77
}

clients/google-api-services-webrisk/v1/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-webrisk</artifactId>
25-
<version>v1-rev20210220-1.31.0</version>
25+
<version>v1-rev20210314-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-webrisk:v1-rev20210220-1.31.0'
38+
compile 'com.google.apis:google-api-services-webrisk:v1-rev20210314-1.31.0'
3939
}
4040
```
4141

clients/google-api-services-webrisk/v1/1.31.0/com/google/api/services/webrisk/v1/WebRisk.java

Lines changed: 494 additions & 495 deletions
Large diffs are not rendered by default.
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.webrisk.v1.model;
18+
19+
/**
20+
* Metadata for the Submit URI long-running operation.
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 Web Risk API. 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 GoogleCloudWebriskV1SubmitUriMetadata extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Creation time of the operation.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private String createTime;
38+
39+
/**
40+
* The state of the operation.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.lang.String state;
45+
46+
/**
47+
* Latest update time of the operation.
48+
* The value may be {@code null}.
49+
*/
50+
@com.google.api.client.util.Key
51+
private String updateTime;
52+
53+
/**
54+
* Creation time of the operation.
55+
* @return value or {@code null} for none
56+
*/
57+
public String getCreateTime() {
58+
return createTime;
59+
}
60+
61+
/**
62+
* Creation time of the operation.
63+
* @param createTime createTime or {@code null} for none
64+
*/
65+
public GoogleCloudWebriskV1SubmitUriMetadata setCreateTime(String createTime) {
66+
this.createTime = createTime;
67+
return this;
68+
}
69+
70+
/**
71+
* The state of the operation.
72+
* @return value or {@code null} for none
73+
*/
74+
public java.lang.String getState() {
75+
return state;
76+
}
77+
78+
/**
79+
* The state of the operation.
80+
* @param state state or {@code null} for none
81+
*/
82+
public GoogleCloudWebriskV1SubmitUriMetadata setState(java.lang.String state) {
83+
this.state = state;
84+
return this;
85+
}
86+
87+
/**
88+
* Latest update time of the operation.
89+
* @return value or {@code null} for none
90+
*/
91+
public String getUpdateTime() {
92+
return updateTime;
93+
}
94+
95+
/**
96+
* Latest update time of the operation.
97+
* @param updateTime updateTime or {@code null} for none
98+
*/
99+
public GoogleCloudWebriskV1SubmitUriMetadata setUpdateTime(String updateTime) {
100+
this.updateTime = updateTime;
101+
return this;
102+
}
103+
104+
@Override
105+
public GoogleCloudWebriskV1SubmitUriMetadata set(String fieldName, Object value) {
106+
return (GoogleCloudWebriskV1SubmitUriMetadata) super.set(fieldName, value);
107+
}
108+
109+
@Override
110+
public GoogleCloudWebriskV1SubmitUriMetadata clone() {
111+
return (GoogleCloudWebriskV1SubmitUriMetadata) super.clone();
112+
}
113+
114+
}

clients/google-api-services-webrisk/v1/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-webrisk</artifactId>
11-
<version>v1-rev20210220-1.31.0</version>
12-
<name>Web Risk API v1-rev20210220-1.31.0</name>
11+
<version>v1-rev20210314-1.31.0</version>
12+
<name>Web Risk API v1-rev20210314-1.31.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

0 commit comments

Comments
 (0)