Skip to content

Commit c762eb4

Browse files
1 parent 7e4856d commit c762eb4

File tree

16 files changed

+672
-50
lines changed

16 files changed

+672
-50
lines changed

clients/google-api-services-ondemandscanning/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-ondemandscanning</artifactId>
25-
<version>v1-rev20250210-2.0.0</version>
25+
<version>v1-rev20250217-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-ondemandscanning:v1-rev20250210-2.0.0'
38+
implementation 'com.google.apis:google-api-services-ondemandscanning:v1-rev20250217-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/BaseImage.java

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -31,18 +31,18 @@
3131
public final class BaseImage extends com.google.api.client.json.GenericJson {
3232

3333
/**
34-
* The name of the base image.
34+
* The number of layers that the base image is composed of.
3535
* The value may be {@code null}.
3636
*/
3737
@com.google.api.client.util.Key
38-
private java.lang.String name;
38+
private java.lang.Integer layerCount;
3939

4040
/**
41-
* The number of layers that the base image is composed of.
41+
* The name of the base image.
4242
* The value may be {@code null}.
4343
*/
4444
@com.google.api.client.util.Key
45-
private java.lang.String numLayers;
45+
private java.lang.String name;
4646

4747
/**
4848
* The repository name in which the base image is from.
@@ -52,36 +52,36 @@ public final class BaseImage extends com.google.api.client.json.GenericJson {
5252
private java.lang.String repository;
5353

5454
/**
55-
* The name of the base image.
55+
* The number of layers that the base image is composed of.
5656
* @return value or {@code null} for none
5757
*/
58-
public java.lang.String getName() {
59-
return name;
58+
public java.lang.Integer getLayerCount() {
59+
return layerCount;
6060
}
6161

6262
/**
63-
* The name of the base image.
64-
* @param name name or {@code null} for none
63+
* The number of layers that the base image is composed of.
64+
* @param layerCount layerCount or {@code null} for none
6565
*/
66-
public BaseImage setName(java.lang.String name) {
67-
this.name = name;
66+
public BaseImage setLayerCount(java.lang.Integer layerCount) {
67+
this.layerCount = layerCount;
6868
return this;
6969
}
7070

7171
/**
72-
* The number of layers that the base image is composed of.
72+
* The name of the base image.
7373
* @return value or {@code null} for none
7474
*/
75-
public java.lang.String getNumLayers() {
76-
return numLayers;
75+
public java.lang.String getName() {
76+
return name;
7777
}
7878

7979
/**
80-
* The number of layers that the base image is composed of.
81-
* @param numLayers numLayers or {@code null} for none
80+
* The name of the base image.
81+
* @param name name or {@code null} for none
8282
*/
83-
public BaseImage setNumLayers(java.lang.String numLayers) {
84-
this.numLayers = numLayers;
83+
public BaseImage setName(java.lang.String name) {
84+
this.name = name;
8585
return this;
8686
}
8787

clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/FileLocation.java

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,12 @@ public final class FileLocation extends com.google.api.client.json.GenericJson {
3838
@com.google.api.client.util.Key
3939
private java.lang.String filePath;
4040

41+
/**
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private LayerDetails layerDetails;
46+
4147
/**
4248
* For jars that are contained inside .war files, this filepath can indicate the path to war file
4349
* combined with the path to jar file.
@@ -57,6 +63,21 @@ public FileLocation setFilePath(java.lang.String filePath) {
5763
return this;
5864
}
5965

66+
/**
67+
* @return value or {@code null} for none
68+
*/
69+
public LayerDetails getLayerDetails() {
70+
return layerDetails;
71+
}
72+
73+
/**
74+
* @param layerDetails layerDetails or {@code null} for none
75+
*/
76+
public FileLocation setLayerDetails(LayerDetails layerDetails) {
77+
this.layerDetails = layerDetails;
78+
return this;
79+
}
80+
6081
@Override
6182
public FileLocation set(String fieldName, Object value) {
6283
return (FileLocation) super.set(fieldName, value);
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.ondemandscanning.v1.model;
18+
19+
/**
20+
* BaseImage describes a base image of a container image.
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 On-Demand Scanning API. For a detailed explanation
24+
* 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 GrafeasV1BaseImage extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* The number of layers that the base image is composed of.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.Integer layerCount;
39+
40+
/**
41+
* The name of the base image.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.String name;
46+
47+
/**
48+
* The repository name in which the base image is from.
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private java.lang.String repository;
53+
54+
/**
55+
* The number of layers that the base image is composed of.
56+
* @return value or {@code null} for none
57+
*/
58+
public java.lang.Integer getLayerCount() {
59+
return layerCount;
60+
}
61+
62+
/**
63+
* The number of layers that the base image is composed of.
64+
* @param layerCount layerCount or {@code null} for none
65+
*/
66+
public GrafeasV1BaseImage setLayerCount(java.lang.Integer layerCount) {
67+
this.layerCount = layerCount;
68+
return this;
69+
}
70+
71+
/**
72+
* The name of the base image.
73+
* @return value or {@code null} for none
74+
*/
75+
public java.lang.String getName() {
76+
return name;
77+
}
78+
79+
/**
80+
* The name of the base image.
81+
* @param name name or {@code null} for none
82+
*/
83+
public GrafeasV1BaseImage setName(java.lang.String name) {
84+
this.name = name;
85+
return this;
86+
}
87+
88+
/**
89+
* The repository name in which the base image is from.
90+
* @return value or {@code null} for none
91+
*/
92+
public java.lang.String getRepository() {
93+
return repository;
94+
}
95+
96+
/**
97+
* The repository name in which the base image is from.
98+
* @param repository repository or {@code null} for none
99+
*/
100+
public GrafeasV1BaseImage setRepository(java.lang.String repository) {
101+
this.repository = repository;
102+
return this;
103+
}
104+
105+
@Override
106+
public GrafeasV1BaseImage set(String fieldName, Object value) {
107+
return (GrafeasV1BaseImage) super.set(fieldName, value);
108+
}
109+
110+
@Override
111+
public GrafeasV1BaseImage clone() {
112+
return (GrafeasV1BaseImage) super.clone();
113+
}
114+
115+
}

clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/GrafeasV1FileLocation.java

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,14 @@ public final class GrafeasV1FileLocation extends com.google.api.client.json.Gene
3838
@com.google.api.client.util.Key
3939
private java.lang.String filePath;
4040

41+
/**
42+
* Each package found in a file should have its own layer metadata (that is, information from the
43+
* origin layer of the package).
44+
* The value may be {@code null}.
45+
*/
46+
@com.google.api.client.util.Key
47+
private GrafeasV1LayerDetails layerDetails;
48+
4149
/**
4250
* For jars that are contained inside .war files, this filepath can indicate the path to war file
4351
* combined with the path to jar file.
@@ -57,6 +65,25 @@ public GrafeasV1FileLocation setFilePath(java.lang.String filePath) {
5765
return this;
5866
}
5967

68+
/**
69+
* Each package found in a file should have its own layer metadata (that is, information from the
70+
* origin layer of the package).
71+
* @return value or {@code null} for none
72+
*/
73+
public GrafeasV1LayerDetails getLayerDetails() {
74+
return layerDetails;
75+
}
76+
77+
/**
78+
* Each package found in a file should have its own layer metadata (that is, information from the
79+
* origin layer of the package).
80+
* @param layerDetails layerDetails or {@code null} for none
81+
*/
82+
public GrafeasV1FileLocation setLayerDetails(GrafeasV1LayerDetails layerDetails) {
83+
this.layerDetails = layerDetails;
84+
return this;
85+
}
86+
6087
@Override
6188
public GrafeasV1FileLocation set(String fieldName, Object value) {
6289
return (GrafeasV1FileLocation) super.set(fieldName, value);

0 commit comments

Comments
 (0)