Skip to content

chore: regenerate contentwarehouse client #19592

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

Closed
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
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-contentwarehouse</artifactId>
<version>v1-rev20231106-2.0.0</version>
<version>v1-rev20240412-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-contentwarehouse:v1-rev20231106-2.0.0'
implementation 'com.google.apis:google-api-services-contentwarehouse:v1-rev20240412-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5727,5 +5727,10 @@ public Builder setGoogleClientRequestInitializer(
com.google.api.client.googleapis.services.GoogleClientRequestInitializer googleClientRequestInitializer) {
return (Builder) super.setGoogleClientRequestInitializer(googleClientRequestInitializer);
}

@Override
public Builder setUniverseDomain(String universeDomain) {
return (Builder) super.setUniverseDomain(universeDomain);
}
}
}

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -44,37 +44,13 @@ public final class AbuseiamEvaluation extends com.google.api.client.json.Generic
@com.google.api.client.util.Key
private java.lang.String backend;

/**
* Extra information regarding the cluster review context where the case received the evaluation.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private AbuseiamClusterEvaluationContext clusterEvaluationContext;

/**
* Backends can choose to put some debug info in addition to abuse_type, score, and status.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String comment;

/**
* A set of repeated features to allow adapters to return semi structured data. Please, prefer
* using feature instead of the old misc_data field since it supports richer and more structured
* data to be passed back.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List<AbuseiamFeature> feature;

/**
* Information about the manual review, for manual review evaluations. Do NOT expect this field to
* be set if `backend != MANUAL_REVIEW`.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private AbuseiamManualReviewEvaluationInfo manualReviewInfo;

/**
* This field is used to store miscellaneous information that Backend might provide. If you find
* youself here considering to use this field, please prefer using the repeated feature field
Expand All @@ -84,13 +60,6 @@ public final class AbuseiamEvaluation extends com.google.api.client.json.Generic
@com.google.api.client.util.Key
private java.util.List<AbuseiamNameValuePair> miscData;

/**
* Time in milliseconds when the Backend processed this Evaluation.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
private java.lang.Long processTimeMillisecs;

/**
* When the evaluation was processed by the decision script.
* The value may be {@code null}.
Expand Down Expand Up @@ -145,14 +114,6 @@ public final class AbuseiamEvaluation extends com.google.api.client.json.Generic
@com.google.api.client.util.Key
private java.lang.String version;

/**
* Information about the video review, for video review evaluations. Do NOT expect this field to
* be set if `backend != VIDEO_REVIEW`.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private AbuseiamVideoReviewData videoReviewData;

/**
* @return value or {@code null} for none
*/
Expand Down Expand Up @@ -185,23 +146,6 @@ public AbuseiamEvaluation setBackend(java.lang.String backend) {
return this;
}

/**
* Extra information regarding the cluster review context where the case received the evaluation.
* @return value or {@code null} for none
*/
public AbuseiamClusterEvaluationContext getClusterEvaluationContext() {
return clusterEvaluationContext;
}

/**
* Extra information regarding the cluster review context where the case received the evaluation.
* @param clusterEvaluationContext clusterEvaluationContext or {@code null} for none
*/
public AbuseiamEvaluation setClusterEvaluationContext(AbuseiamClusterEvaluationContext clusterEvaluationContext) {
this.clusterEvaluationContext = clusterEvaluationContext;
return this;
}

/**
* Backends can choose to put some debug info in addition to abuse_type, score, and status.
* @return value or {@code null} for none
Expand All @@ -219,46 +163,6 @@ public AbuseiamEvaluation setComment(java.lang.String comment) {
return this;
}

/**
* A set of repeated features to allow adapters to return semi structured data. Please, prefer
* using feature instead of the old misc_data field since it supports richer and more structured
* data to be passed back.
* @return value or {@code null} for none
*/
public java.util.List<AbuseiamFeature> getFeature() {
return feature;
}

/**
* A set of repeated features to allow adapters to return semi structured data. Please, prefer
* using feature instead of the old misc_data field since it supports richer and more structured
* data to be passed back.
* @param feature feature or {@code null} for none
*/
public AbuseiamEvaluation setFeature(java.util.List<AbuseiamFeature> feature) {
this.feature = feature;
return this;
}

/**
* Information about the manual review, for manual review evaluations. Do NOT expect this field to
* be set if `backend != MANUAL_REVIEW`.
* @return value or {@code null} for none
*/
public AbuseiamManualReviewEvaluationInfo getManualReviewInfo() {
return manualReviewInfo;
}

/**
* Information about the manual review, for manual review evaluations. Do NOT expect this field to
* be set if `backend != MANUAL_REVIEW`.
* @param manualReviewInfo manualReviewInfo or {@code null} for none
*/
public AbuseiamEvaluation setManualReviewInfo(AbuseiamManualReviewEvaluationInfo manualReviewInfo) {
this.manualReviewInfo = manualReviewInfo;
return this;
}

/**
* This field is used to store miscellaneous information that Backend might provide. If you find
* youself here considering to use this field, please prefer using the repeated feature field
Expand All @@ -280,23 +184,6 @@ public AbuseiamEvaluation setMiscData(java.util.List<AbuseiamNameValuePair> misc
return this;
}

/**
* Time in milliseconds when the Backend processed this Evaluation.
* @return value or {@code null} for none
*/
public java.lang.Long getProcessTimeMillisecs() {
return processTimeMillisecs;
}

/**
* Time in milliseconds when the Backend processed this Evaluation.
* @param processTimeMillisecs processTimeMillisecs or {@code null} for none
*/
public AbuseiamEvaluation setProcessTimeMillisecs(java.lang.Long processTimeMillisecs) {
this.processTimeMillisecs = processTimeMillisecs;
return this;
}

/**
* When the evaluation was processed by the decision script.
* @return value or {@code null} for none
Expand Down Expand Up @@ -429,25 +316,6 @@ public AbuseiamEvaluation setVersion(java.lang.String version) {
return this;
}

/**
* Information about the video review, for video review evaluations. Do NOT expect this field to
* be set if `backend != VIDEO_REVIEW`.
* @return value or {@code null} for none
*/
public AbuseiamVideoReviewData getVideoReviewData() {
return videoReviewData;
}

/**
* Information about the video review, for video review evaluations. Do NOT expect this field to
* be set if `backend != VIDEO_REVIEW`.
* @param videoReviewData videoReviewData or {@code null} for none
*/
public AbuseiamEvaluation setVideoReviewData(AbuseiamVideoReviewData videoReviewData) {
this.videoReviewData = videoReviewData;
return this;
}

@Override
public AbuseiamEvaluation set(String fieldName, Object value) {
return (AbuseiamEvaluation) super.set(fieldName, value);
Expand Down
Loading