Skip to content

Commit 50834e0

Browse files
Regenerate ondemandscanning client (googleapis#7725)
This PR was generated using Autosynth. 🌈 <details><summary>Log from Synthtool</summary> ``` 2021-04-08 03:54:36,963 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-java-client-services/synth.py. On branch autosynth-ondemandscanning nothing to commit, working tree clean 2021-04-08 03:54:37,407 synthtool [DEBUG] > Cloning https://github.com/googleapis/discovery-artifact-manager.git. DEBUG:synthtool:Cloning https://github.com/googleapis/discovery-artifact-manager.git. 2021-04-08 03:54:37,826 synthtool [DEBUG] > Cleaning output directory. DEBUG:synthtool:Cleaning output directory. 2021-04-08 03:54:37,829 synthtool [DEBUG] > Installing dependencies. DEBUG:synthtool:Installing dependencies. 2021-04-08 03:54:39,571 synthtool [INFO] > Generating ondemandscanning v1. INFO:synthtool:Generating ondemandscanning v1. 2021-04-08 03:54:39,571 synthtool [INFO] > 1.31.0 INFO:synthtool: 1.31.0 WARNING:root:object without properties Empty: OrderedDict([(u'id', u'Empty'), (u'properties', 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'type', u'object')]) Writing json metadata to clients/google-api-services-ondemandscanning/v1.metadata.json 2021-04-08 03:54:40,485 synthtool [INFO] > Generating ondemandscanning v1beta1. INFO:synthtool:Generating ondemandscanning v1beta1. 2021-04-08 03:54:40,486 synthtool [INFO] > 1.31.0 INFO:synthtool: 1.31.0 WARNING:root:object without properties Empty: OrderedDict([(u'properties', OrderedDict()), (u'id', u'Empty'), (u'type', u'object'), (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 `{}`.')]) Writing json metadata to clients/google-api-services-ondemandscanning/v1beta1.metadata.json 2021-04-08 03:54:41,399 synthtool [DEBUG] > Wrote metadata to clients/google-api-services-ondemandscanning/synth.metadata. DEBUG:synthtool:Wrote metadata to clients/google-api-services-ondemandscanning/synth.metadata. ``` </details> Full log will be available here: https://source.cloud.google.com/results/invocations/39180f8b-fa3f-46df-80b2-3c951da31206/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.)
1 parent 6d87127 commit 50834e0

File tree

12 files changed

+84
-16
lines changed

12 files changed

+84
-16
lines changed

clients/google-api-services-ondemandscanning/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-ondemandscanning",
5-
"version": "v1-rev20210329-1.31.0"
5+
"version": "v1-rev20210403-1.31.0"
66
}
77
}

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

clients/google-api-services-ondemandscanning/v1/1.31.0/com/google/api/services/ondemandscanning/v1/model/PackageData.java

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,15 @@ public final class PackageData extends com.google.api.client.json.GenericJson {
5959
@com.google.api.client.util.Key("package")
6060
private java.lang.String package__;
6161

62+
/**
63+
* The projectId of the package to which this data belongs. Most of Drydock's code does not set or
64+
* use this field. This is added specifically so we can group packages by projects and decide
65+
* whether or not to apply NVD data to the packages belonging to a specific project.
66+
* The value may be {@code null}.
67+
*/
68+
@com.google.api.client.util.Key
69+
private java.lang.String projectId;
70+
6271
/**
6372
* The version of the package being analysed
6473
* The value may be {@code null}.
@@ -136,6 +145,27 @@ public PackageData setPackage(java.lang.String package__) {
136145
return this;
137146
}
138147

148+
/**
149+
* The projectId of the package to which this data belongs. Most of Drydock's code does not set or
150+
* use this field. This is added specifically so we can group packages by projects and decide
151+
* whether or not to apply NVD data to the packages belonging to a specific project.
152+
* @return value or {@code null} for none
153+
*/
154+
public java.lang.String getProjectId() {
155+
return projectId;
156+
}
157+
158+
/**
159+
* The projectId of the package to which this data belongs. Most of Drydock's code does not set or
160+
* use this field. This is added specifically so we can group packages by projects and decide
161+
* whether or not to apply NVD data to the packages belonging to a specific project.
162+
* @param projectId projectId or {@code null} for none
163+
*/
164+
public PackageData setProjectId(java.lang.String projectId) {
165+
this.projectId = projectId;
166+
return this;
167+
}
168+
139169
/**
140170
* The version of the package being analysed
141171
* @return value or {@code null} for none

clients/google-api-services-ondemandscanning/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-ondemandscanning</artifactId>
11-
<version>v1-rev20210329-1.31.0</version>
12-
<name>On-Demand Scanning API v1-rev20210329-1.31.0</name>
11+
<version>v1-rev20210403-1.31.0</version>
12+
<name>On-Demand Scanning API v1-rev20210403-1.31.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-ondemandscanning/v1/1.31.0/resources/ondemandscanning.v1.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@
339339
}
340340
}
341341
},
342-
"revision": "20210329",
342+
"revision": "20210403",
343343
"rootUrl": "https://ondemandscanning.googleapis.com/",
344344
"schemas": {
345345
"AliasContext": {
@@ -1119,6 +1119,10 @@
11191119
"description": "The package being analysed for vulnerabilities",
11201120
"type": "string"
11211121
},
1122+
"projectId": {
1123+
"description": "The projectId of the package to which this data belongs. Most of Drydock's code does not set or use this field. This is added specifically so we can group packages by projects and decide whether or not to apply NVD data to the packages belonging to a specific project.",
1124+
"type": "string"
1125+
},
11221126
"version": {
11231127
"description": "The version of the package being analysed",
11241128
"type": "string"

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

clients/google-api-services-ondemandscanning/v1beta1.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-ondemandscanning",
5-
"version": "v1beta1-rev20210329-1.31.0"
5+
"version": "v1beta1-rev20210403-1.31.0"
66
}
77
}

clients/google-api-services-ondemandscanning/v1beta1/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-ondemandscanning</artifactId>
25-
<version>v1beta1-rev20210329-1.31.0</version>
25+
<version>v1beta1-rev20210403-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-ondemandscanning:v1beta1-rev20210329-1.31.0'
38+
compile 'com.google.apis:google-api-services-ondemandscanning:v1beta1-rev20210403-1.31.0'
3939
}
4040
```
4141

clients/google-api-services-ondemandscanning/v1beta1/1.31.0/com/google/api/services/ondemandscanning/v1beta1/model/PackageData.java

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,15 @@ public final class PackageData extends com.google.api.client.json.GenericJson {
5959
@com.google.api.client.util.Key("package")
6060
private java.lang.String package__;
6161

62+
/**
63+
* The projectId of the package to which this data belongs. Most of Drydock's code does not set or
64+
* use this field. This is added specifically so we can group packages by projects and decide
65+
* whether or not to apply NVD data to the packages belonging to a specific project.
66+
* The value may be {@code null}.
67+
*/
68+
@com.google.api.client.util.Key
69+
private java.lang.String projectId;
70+
6271
/**
6372
* The version of the package being analysed
6473
* The value may be {@code null}.
@@ -136,6 +145,27 @@ public PackageData setPackage(java.lang.String package__) {
136145
return this;
137146
}
138147

148+
/**
149+
* The projectId of the package to which this data belongs. Most of Drydock's code does not set or
150+
* use this field. This is added specifically so we can group packages by projects and decide
151+
* whether or not to apply NVD data to the packages belonging to a specific project.
152+
* @return value or {@code null} for none
153+
*/
154+
public java.lang.String getProjectId() {
155+
return projectId;
156+
}
157+
158+
/**
159+
* The projectId of the package to which this data belongs. Most of Drydock's code does not set or
160+
* use this field. This is added specifically so we can group packages by projects and decide
161+
* whether or not to apply NVD data to the packages belonging to a specific project.
162+
* @param projectId projectId or {@code null} for none
163+
*/
164+
public PackageData setProjectId(java.lang.String projectId) {
165+
this.projectId = projectId;
166+
return this;
167+
}
168+
139169
/**
140170
* The version of the package being analysed
141171
* @return value or {@code null} for none

clients/google-api-services-ondemandscanning/v1beta1/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-ondemandscanning</artifactId>
11-
<version>v1beta1-rev20210329-1.31.0</version>
12-
<name>On-Demand Scanning API v1beta1-rev20210329-1.31.0</name>
11+
<version>v1beta1-rev20210403-1.31.0</version>
12+
<name>On-Demand Scanning API v1beta1-rev20210403-1.31.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-ondemandscanning/v1beta1/1.31.0/resources/ondemandscanning.v1beta1.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@
339339
}
340340
}
341341
},
342-
"revision": "20210329",
342+
"revision": "20210403",
343343
"rootUrl": "https://ondemandscanning.googleapis.com/",
344344
"schemas": {
345345
"AliasContext": {
@@ -1119,6 +1119,10 @@
11191119
"description": "The package being analysed for vulnerabilities",
11201120
"type": "string"
11211121
},
1122+
"projectId": {
1123+
"description": "The projectId of the package to which this data belongs. Most of Drydock's code does not set or use this field. This is added specifically so we can group packages by projects and decide whether or not to apply NVD data to the packages belonging to a specific project.",
1124+
"type": "string"
1125+
},
11221126
"version": {
11231127
"description": "The version of the package being analysed",
11241128
"type": "string"

clients/google-api-services-ondemandscanning/v1beta1/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-ondemandscanning</artifactId>
25-
<version>v1beta1-rev20210329-1.31.0</version>
25+
<version>v1beta1-rev20210403-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-ondemandscanning:v1beta1-rev20210329-1.31.0'
38+
compile 'com.google.apis:google-api-services-ondemandscanning:v1beta1-rev20210403-1.31.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)