Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: regenerate checks client #23925

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions clients/google-api-services-checks/v1alpha/2.0.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-checks</artifactId>
<version>v1alpha-rev20241114-2.0.0</version>
<version>v1alpha-rev20241119-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-checks:v1alpha-rev20241114-2.0.0'
implementation 'com.google.apis:google-api-services-checks:v1alpha-rev20241119-2.0.0'
}
```

Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
* Modify at your own risk.
*/

package com.google.api.services.checks.v1alpha.model;

/**
* The results of a Code Compliance CLI analysis.
*
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Checks API. For a detailed explanation see:
* <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>
* </p>
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class GoogleChecksRepoScanV1alphaCliAnalysis extends com.google.api.client.json.GenericJson {

/**
* Optional. Requested code scans resulting from preliminary CLI analysis.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List<GoogleChecksRepoScanV1alphaCodeScan> codeScans;

/**
* Optional. Data sources detected in the scan.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List<GoogleChecksRepoScanV1alphaSource> sources;

/**
* Optional. Requested code scans resulting from preliminary CLI analysis.
* @return value or {@code null} for none
*/
public java.util.List<GoogleChecksRepoScanV1alphaCodeScan> getCodeScans() {
return codeScans;
}

/**
* Optional. Requested code scans resulting from preliminary CLI analysis.
* @param codeScans codeScans or {@code null} for none
*/
public GoogleChecksRepoScanV1alphaCliAnalysis setCodeScans(java.util.List<GoogleChecksRepoScanV1alphaCodeScan> codeScans) {
this.codeScans = codeScans;
return this;
}

/**
* Optional. Data sources detected in the scan.
* @return value or {@code null} for none
*/
public java.util.List<GoogleChecksRepoScanV1alphaSource> getSources() {
return sources;
}

/**
* Optional. Data sources detected in the scan.
* @param sources sources or {@code null} for none
*/
public GoogleChecksRepoScanV1alphaCliAnalysis setSources(java.util.List<GoogleChecksRepoScanV1alphaSource> sources) {
this.sources = sources;
return this;
}

@Override
public GoogleChecksRepoScanV1alphaCliAnalysis set(String fieldName, Object value) {
return (GoogleChecksRepoScanV1alphaCliAnalysis) super.set(fieldName, value);
}

@Override
public GoogleChecksRepoScanV1alphaCliAnalysis clone() {
return (GoogleChecksRepoScanV1alphaCliAnalysis) super.clone();
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
* Modify at your own risk.
*/

package com.google.api.services.checks.v1alpha.model;

/**
* Source code attribution.
*
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Checks API. For a detailed explanation see:
* <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>
* </p>
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class GoogleChecksRepoScanV1alphaCodeAttribution extends com.google.api.client.json.GenericJson {

/**
* Optional. Code excerpt where the source was detected along with surrounding code.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String codeExcerpt;

/**
* Required. Line number (1-based).
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Integer lineNumber;

/**
* Required. Path of the file.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String path;

/**
* Optional. Start line number of the code excerpt (1-based).
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Integer startLineNumber;

/**
* Optional. Code excerpt where the source was detected along with surrounding code.
* @return value or {@code null} for none
*/
public java.lang.String getCodeExcerpt() {
return codeExcerpt;
}

/**
* Optional. Code excerpt where the source was detected along with surrounding code.
* @param codeExcerpt codeExcerpt or {@code null} for none
*/
public GoogleChecksRepoScanV1alphaCodeAttribution setCodeExcerpt(java.lang.String codeExcerpt) {
this.codeExcerpt = codeExcerpt;
return this;
}

/**
* Required. Line number (1-based).
* @return value or {@code null} for none
*/
public java.lang.Integer getLineNumber() {
return lineNumber;
}

/**
* Required. Line number (1-based).
* @param lineNumber lineNumber or {@code null} for none
*/
public GoogleChecksRepoScanV1alphaCodeAttribution setLineNumber(java.lang.Integer lineNumber) {
this.lineNumber = lineNumber;
return this;
}

/**
* Required. Path of the file.
* @return value or {@code null} for none
*/
public java.lang.String getPath() {
return path;
}

/**
* Required. Path of the file.
* @param path path or {@code null} for none
*/
public GoogleChecksRepoScanV1alphaCodeAttribution setPath(java.lang.String path) {
this.path = path;
return this;
}

/**
* Optional. Start line number of the code excerpt (1-based).
* @return value or {@code null} for none
*/
public java.lang.Integer getStartLineNumber() {
return startLineNumber;
}

/**
* Optional. Start line number of the code excerpt (1-based).
* @param startLineNumber startLineNumber or {@code null} for none
*/
public GoogleChecksRepoScanV1alphaCodeAttribution setStartLineNumber(java.lang.Integer startLineNumber) {
this.startLineNumber = startLineNumber;
return this;
}

@Override
public GoogleChecksRepoScanV1alphaCodeAttribution set(String fieldName, Object value) {
return (GoogleChecksRepoScanV1alphaCodeAttribution) super.set(fieldName, value);
}

@Override
public GoogleChecksRepoScanV1alphaCodeAttribution clone() {
return (GoogleChecksRepoScanV1alphaCodeAttribution) super.clone();
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
* Modify at your own risk.
*/

package com.google.api.services.checks.v1alpha.model;

/**
* A requested analysis of source code. Contains the source code and processing state.
*
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Checks API. For a detailed explanation see:
* <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>
* </p>
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class GoogleChecksRepoScanV1alphaCodeScan extends com.google.api.client.json.GenericJson {

/**
* Optional. Data type classification requests.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List<GoogleChecksRepoScanV1alphaCodeScanDataTypeClassification> dataTypeClassifications;

/**
* Required. Source code to analyze.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private GoogleChecksRepoScanV1alphaSourceCode sourceCode;

/**
* Optional. Data type classification requests.
* @return value or {@code null} for none
*/
public java.util.List<GoogleChecksRepoScanV1alphaCodeScanDataTypeClassification> getDataTypeClassifications() {
return dataTypeClassifications;
}

/**
* Optional. Data type classification requests.
* @param dataTypeClassifications dataTypeClassifications or {@code null} for none
*/
public GoogleChecksRepoScanV1alphaCodeScan setDataTypeClassifications(java.util.List<GoogleChecksRepoScanV1alphaCodeScanDataTypeClassification> dataTypeClassifications) {
this.dataTypeClassifications = dataTypeClassifications;
return this;
}

/**
* Required. Source code to analyze.
* @return value or {@code null} for none
*/
public GoogleChecksRepoScanV1alphaSourceCode getSourceCode() {
return sourceCode;
}

/**
* Required. Source code to analyze.
* @param sourceCode sourceCode or {@code null} for none
*/
public GoogleChecksRepoScanV1alphaCodeScan setSourceCode(GoogleChecksRepoScanV1alphaSourceCode sourceCode) {
this.sourceCode = sourceCode;
return this;
}

@Override
public GoogleChecksRepoScanV1alphaCodeScan set(String fieldName, Object value) {
return (GoogleChecksRepoScanV1alphaCodeScan) super.set(fieldName, value);
}

@Override
public GoogleChecksRepoScanV1alphaCodeScan clone() {
return (GoogleChecksRepoScanV1alphaCodeScan) super.clone();
}

}
Loading