Skip to content

Commit 14c19e0

Browse files
1 parent fa5e64b commit 14c19e0

15 files changed

+1807
-6
lines changed

clients/google-api-services-checks/v1alpha/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-checks</artifactId>
25-
<version>v1alpha-rev20241114-2.0.0</version>
25+
<version>v1alpha-rev20241119-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-checks:v1alpha-rev20241114-2.0.0'
38+
implementation 'com.google.apis:google-api-services-checks:v1alpha-rev20241119-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-checks/v1alpha/2.0.0/com/google/api/services/checks/v1alpha/ChecksService.java

Lines changed: 511 additions & 0 deletions
Large diffs are not rendered by default.
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.checks.v1alpha.model;
18+
19+
/**
20+
* The results of a Code Compliance CLI analysis.
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 Checks 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 GoogleChecksRepoScanV1alphaCliAnalysis extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Optional. Requested code scans resulting from preliminary CLI analysis.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.util.List<GoogleChecksRepoScanV1alphaCodeScan> codeScans;
38+
39+
/**
40+
* Optional. Data sources detected in the scan.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.util.List<GoogleChecksRepoScanV1alphaSource> sources;
45+
46+
/**
47+
* Optional. Requested code scans resulting from preliminary CLI analysis.
48+
* @return value or {@code null} for none
49+
*/
50+
public java.util.List<GoogleChecksRepoScanV1alphaCodeScan> getCodeScans() {
51+
return codeScans;
52+
}
53+
54+
/**
55+
* Optional. Requested code scans resulting from preliminary CLI analysis.
56+
* @param codeScans codeScans or {@code null} for none
57+
*/
58+
public GoogleChecksRepoScanV1alphaCliAnalysis setCodeScans(java.util.List<GoogleChecksRepoScanV1alphaCodeScan> codeScans) {
59+
this.codeScans = codeScans;
60+
return this;
61+
}
62+
63+
/**
64+
* Optional. Data sources detected in the scan.
65+
* @return value or {@code null} for none
66+
*/
67+
public java.util.List<GoogleChecksRepoScanV1alphaSource> getSources() {
68+
return sources;
69+
}
70+
71+
/**
72+
* Optional. Data sources detected in the scan.
73+
* @param sources sources or {@code null} for none
74+
*/
75+
public GoogleChecksRepoScanV1alphaCliAnalysis setSources(java.util.List<GoogleChecksRepoScanV1alphaSource> sources) {
76+
this.sources = sources;
77+
return this;
78+
}
79+
80+
@Override
81+
public GoogleChecksRepoScanV1alphaCliAnalysis set(String fieldName, Object value) {
82+
return (GoogleChecksRepoScanV1alphaCliAnalysis) super.set(fieldName, value);
83+
}
84+
85+
@Override
86+
public GoogleChecksRepoScanV1alphaCliAnalysis clone() {
87+
return (GoogleChecksRepoScanV1alphaCliAnalysis) super.clone();
88+
}
89+
90+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,138 @@
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.checks.v1alpha.model;
18+
19+
/**
20+
* Source code attribution.
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 Checks 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 GoogleChecksRepoScanV1alphaCodeAttribution extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Optional. Code excerpt where the source was detected along with surrounding code.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String codeExcerpt;
38+
39+
/**
40+
* Required. Line number (1-based).
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.lang.Integer lineNumber;
45+
46+
/**
47+
* Required. Path of the file.
48+
* The value may be {@code null}.
49+
*/
50+
@com.google.api.client.util.Key
51+
private java.lang.String path;
52+
53+
/**
54+
* Optional. Start line number of the code excerpt (1-based).
55+
* The value may be {@code null}.
56+
*/
57+
@com.google.api.client.util.Key
58+
private java.lang.Integer startLineNumber;
59+
60+
/**
61+
* Optional. Code excerpt where the source was detected along with surrounding code.
62+
* @return value or {@code null} for none
63+
*/
64+
public java.lang.String getCodeExcerpt() {
65+
return codeExcerpt;
66+
}
67+
68+
/**
69+
* Optional. Code excerpt where the source was detected along with surrounding code.
70+
* @param codeExcerpt codeExcerpt or {@code null} for none
71+
*/
72+
public GoogleChecksRepoScanV1alphaCodeAttribution setCodeExcerpt(java.lang.String codeExcerpt) {
73+
this.codeExcerpt = codeExcerpt;
74+
return this;
75+
}
76+
77+
/**
78+
* Required. Line number (1-based).
79+
* @return value or {@code null} for none
80+
*/
81+
public java.lang.Integer getLineNumber() {
82+
return lineNumber;
83+
}
84+
85+
/**
86+
* Required. Line number (1-based).
87+
* @param lineNumber lineNumber or {@code null} for none
88+
*/
89+
public GoogleChecksRepoScanV1alphaCodeAttribution setLineNumber(java.lang.Integer lineNumber) {
90+
this.lineNumber = lineNumber;
91+
return this;
92+
}
93+
94+
/**
95+
* Required. Path of the file.
96+
* @return value or {@code null} for none
97+
*/
98+
public java.lang.String getPath() {
99+
return path;
100+
}
101+
102+
/**
103+
* Required. Path of the file.
104+
* @param path path or {@code null} for none
105+
*/
106+
public GoogleChecksRepoScanV1alphaCodeAttribution setPath(java.lang.String path) {
107+
this.path = path;
108+
return this;
109+
}
110+
111+
/**
112+
* Optional. Start line number of the code excerpt (1-based).
113+
* @return value or {@code null} for none
114+
*/
115+
public java.lang.Integer getStartLineNumber() {
116+
return startLineNumber;
117+
}
118+
119+
/**
120+
* Optional. Start line number of the code excerpt (1-based).
121+
* @param startLineNumber startLineNumber or {@code null} for none
122+
*/
123+
public GoogleChecksRepoScanV1alphaCodeAttribution setStartLineNumber(java.lang.Integer startLineNumber) {
124+
this.startLineNumber = startLineNumber;
125+
return this;
126+
}
127+
128+
@Override
129+
public GoogleChecksRepoScanV1alphaCodeAttribution set(String fieldName, Object value) {
130+
return (GoogleChecksRepoScanV1alphaCodeAttribution) super.set(fieldName, value);
131+
}
132+
133+
@Override
134+
public GoogleChecksRepoScanV1alphaCodeAttribution clone() {
135+
return (GoogleChecksRepoScanV1alphaCodeAttribution) super.clone();
136+
}
137+
138+
}
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.checks.v1alpha.model;
18+
19+
/**
20+
* A requested analysis of source code. Contains the source code and processing state.
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 Checks 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 GoogleChecksRepoScanV1alphaCodeScan extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Optional. Data type classification requests.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.util.List<GoogleChecksRepoScanV1alphaCodeScanDataTypeClassification> dataTypeClassifications;
38+
39+
/**
40+
* Required. Source code to analyze.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private GoogleChecksRepoScanV1alphaSourceCode sourceCode;
45+
46+
/**
47+
* Optional. Data type classification requests.
48+
* @return value or {@code null} for none
49+
*/
50+
public java.util.List<GoogleChecksRepoScanV1alphaCodeScanDataTypeClassification> getDataTypeClassifications() {
51+
return dataTypeClassifications;
52+
}
53+
54+
/**
55+
* Optional. Data type classification requests.
56+
* @param dataTypeClassifications dataTypeClassifications or {@code null} for none
57+
*/
58+
public GoogleChecksRepoScanV1alphaCodeScan setDataTypeClassifications(java.util.List<GoogleChecksRepoScanV1alphaCodeScanDataTypeClassification> dataTypeClassifications) {
59+
this.dataTypeClassifications = dataTypeClassifications;
60+
return this;
61+
}
62+
63+
/**
64+
* Required. Source code to analyze.
65+
* @return value or {@code null} for none
66+
*/
67+
public GoogleChecksRepoScanV1alphaSourceCode getSourceCode() {
68+
return sourceCode;
69+
}
70+
71+
/**
72+
* Required. Source code to analyze.
73+
* @param sourceCode sourceCode or {@code null} for none
74+
*/
75+
public GoogleChecksRepoScanV1alphaCodeScan setSourceCode(GoogleChecksRepoScanV1alphaSourceCode sourceCode) {
76+
this.sourceCode = sourceCode;
77+
return this;
78+
}
79+
80+
@Override
81+
public GoogleChecksRepoScanV1alphaCodeScan set(String fieldName, Object value) {
82+
return (GoogleChecksRepoScanV1alphaCodeScan) super.set(fieldName, value);
83+
}
84+
85+
@Override
86+
public GoogleChecksRepoScanV1alphaCodeScan clone() {
87+
return (GoogleChecksRepoScanV1alphaCodeScan) super.clone();
88+
}
89+
90+
}

0 commit comments

Comments
 (0)