Skip to content
Open
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-assuredworkloads</artifactId>
<version>v1-rev20260719-2.0.0</version>
<version>v1-rev20260810-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-assuredworkloads:v1-rev20260719-2.0.0'
implementation 'com.google.apis:google-api-services-assuredworkloads:v1-rev20260810-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5329,153 +5329,6 @@ public Acknowledge set(String parameterName, Object value) {
return (Acknowledge) super.set(parameterName, value);
}
}
/**
* Acknowledges multiple existing violations. By acknowledging violations, users acknowledge the
* existence of compliance violations in their workload and decide to ignore them due to a valid
* business justification. Acknowledgement is a permanent operation and it cannot be reverted. This
* is a batch version of AcknowledgeViolation.
*
* Create a request for the method "violations.batchAcknowledgeViolations".
*
* This request holds the parameters needed by the assuredworkloads server. After setting any
* optional parameters, call the {@link BatchAcknowledgeViolations#execute()} method to invoke the
* remote operation.
*
* @param parent Optional. The parent resource shared by all violations being acknowledged. Format:
* organizations/{organization}/locations/{location}/workloads/{workload}
* @param content the {@link com.google.api.services.assuredworkloads.v1.model.GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsRequest}
* @return the request
*/
public BatchAcknowledgeViolations batchAcknowledgeViolations(java.lang.String parent, com.google.api.services.assuredworkloads.v1.model.GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsRequest content) throws java.io.IOException {
BatchAcknowledgeViolations result = new BatchAcknowledgeViolations(parent, content);
initialize(result);
return result;
}

public class BatchAcknowledgeViolations extends AssuredworkloadsRequest<com.google.api.services.assuredworkloads.v1.model.GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsResponse> {

private static final String REST_PATH = "v1/{+parent}/violations:batchAcknowledgeViolations";

private final java.util.regex.Pattern PARENT_PATTERN =
java.util.regex.Pattern.compile("^organizations/[^/]+/locations/[^/]+/workloads/[^/]+$");

/**
* Acknowledges multiple existing violations. By acknowledging violations, users acknowledge the
* existence of compliance violations in their workload and decide to ignore them due to a valid
* business justification. Acknowledgement is a permanent operation and it cannot be reverted.
* This is a batch version of AcknowledgeViolation.
*
* Create a request for the method "violations.batchAcknowledgeViolations".
*
* This request holds the parameters needed by the the assuredworkloads server. After setting any
* optional parameters, call the {@link BatchAcknowledgeViolations#execute()} method to invoke the
* remote operation. <p> {@link BatchAcknowledgeViolations#initialize(com.google.api.client.google
* apis.services.AbstractGoogleClientRequest)} must be called to initialize this instance
* immediately after invoking the constructor. </p>
*
* @param parent Optional. The parent resource shared by all violations being acknowledged. Format:
* organizations/{organization}/locations/{location}/workloads/{workload}
* @param content the {@link com.google.api.services.assuredworkloads.v1.model.GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsRequest}
* @since 1.13
*/
protected BatchAcknowledgeViolations(java.lang.String parent, com.google.api.services.assuredworkloads.v1.model.GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsRequest content) {
super(Assuredworkloads.this, "POST", REST_PATH, content, com.google.api.services.assuredworkloads.v1.model.GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsResponse.class);
this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified.");
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
"Parameter parent must conform to the pattern " +
"^organizations/[^/]+/locations/[^/]+/workloads/[^/]+$");
}
}

@Override
public BatchAcknowledgeViolations set$Xgafv(java.lang.String $Xgafv) {
return (BatchAcknowledgeViolations) super.set$Xgafv($Xgafv);
}

@Override
public BatchAcknowledgeViolations setAccessToken(java.lang.String accessToken) {
return (BatchAcknowledgeViolations) super.setAccessToken(accessToken);
}

@Override
public BatchAcknowledgeViolations setAlt(java.lang.String alt) {
return (BatchAcknowledgeViolations) super.setAlt(alt);
}

@Override
public BatchAcknowledgeViolations setCallback(java.lang.String callback) {
return (BatchAcknowledgeViolations) super.setCallback(callback);
}

@Override
public BatchAcknowledgeViolations setFields(java.lang.String fields) {
return (BatchAcknowledgeViolations) super.setFields(fields);
}

@Override
public BatchAcknowledgeViolations setKey(java.lang.String key) {
return (BatchAcknowledgeViolations) super.setKey(key);
}

@Override
public BatchAcknowledgeViolations setOauthToken(java.lang.String oauthToken) {
return (BatchAcknowledgeViolations) super.setOauthToken(oauthToken);
}

@Override
public BatchAcknowledgeViolations setPrettyPrint(java.lang.Boolean prettyPrint) {
return (BatchAcknowledgeViolations) super.setPrettyPrint(prettyPrint);
}

@Override
public BatchAcknowledgeViolations setQuotaUser(java.lang.String quotaUser) {
return (BatchAcknowledgeViolations) super.setQuotaUser(quotaUser);
}

@Override
public BatchAcknowledgeViolations setUploadType(java.lang.String uploadType) {
return (BatchAcknowledgeViolations) super.setUploadType(uploadType);
}

@Override
public BatchAcknowledgeViolations setUploadProtocol(java.lang.String uploadProtocol) {
return (BatchAcknowledgeViolations) super.setUploadProtocol(uploadProtocol);
}

/**
* Optional. The parent resource shared by all violations being acknowledged. Format:
* organizations/{organization}/locations/{location}/workloads/{workload}
*/
@com.google.api.client.util.Key
private java.lang.String parent;

/** Optional. The parent resource shared by all violations being acknowledged. Format:
organizations/{organization}/locations/{location}/workloads/{workload}
*/
public java.lang.String getParent() {
return parent;
}

/**
* Optional. The parent resource shared by all violations being acknowledged. Format:
* organizations/{organization}/locations/{location}/workloads/{workload}
*/
public BatchAcknowledgeViolations setParent(java.lang.String parent) {
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
"Parameter parent must conform to the pattern " +
"^organizations/[^/]+/locations/[^/]+/workloads/[^/]+$");
}
this.parent = parent;
return this;
}

@Override
public BatchAcknowledgeViolations set(String parameterName, Object value) {
return (BatchAcknowledgeViolations) super.set(parameterName, value);
}
}
/**
* Retrieves Assured Workload Violation based on ID.
*
Expand Down

This file was deleted.

This file was deleted.

Loading
Loading