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

Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,13 @@ public final class Backup extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private String updateTime;

/**
* Output only. The restore verification status of the backup.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private VerificationSummary verificationSummary;

/**
* Output only. AlloyDB specific backup properties.
* @return value or {@code null} for none
Expand Down Expand Up @@ -693,6 +700,23 @@ public Backup setUpdateTime(String updateTime) {
return this;
}

/**
* Output only. The restore verification status of the backup.
* @return value or {@code null} for none
*/
public VerificationSummary getVerificationSummary() {
return verificationSummary;
}

/**
* Output only. The restore verification status of the backup.
* @param verificationSummary verificationSummary or {@code null} for none
*/
public Backup setVerificationSummary(VerificationSummary verificationSummary) {
this.verificationSummary = verificationSummary;
return this;
}

@Override
public Backup set(String fieldName, Object value) {
return (Backup) super.set(fieldName, value);
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
/*
* 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.backupdr.v1.model;

/**
* Configuration for selecting a backup.
*
* <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 Backup and DR Service 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 BackupSelectionConfig extends com.google.api.client.json.GenericJson {

/**
* Required. Immutable. The fully qualified URI of the backupdr data source.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String dataSource;

/**
* Required. Immutable. The fully qualified URI of the backupdr data source.
* @return value or {@code null} for none
*/
public java.lang.String getDataSource() {
return dataSource;
}

/**
* Required. Immutable. The fully qualified URI of the backupdr data source.
* @param dataSource dataSource or {@code null} for none
*/
public BackupSelectionConfig setDataSource(java.lang.String dataSource) {
this.dataSource = dataSource;
return this;
}

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

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

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,235 @@
/*
* 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.backupdr.v1.model;

/**
* Info for Cleanup phase execution.
*
* <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 Backup and DR Service 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 CleanupPhaseInfo extends com.google.api.client.json.GenericJson {

/**
* Output only. Time taken to perform the cleanup of restored resource.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String cleanupDuration;

/**
* Output only. The time when the resources will be cleaned up.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String cleanupTime;

/**
* Output only. End time of the phase.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String endTime;

/**
* Output only. Error details if the phase failed.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private Status error;

/**
* Output only. Snapshot of cleanup rule provided for this execution when execution is failed.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private RestoreVerificationCleanupRule failureCleanupRule;

/**
* Output only. The state of this phase.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String phaseState;

/**
* Output only. Start time of the phase.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String startTime;

/**
* Output only. Snapshot of cleanup rule provided for this execution when execution is successful.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private RestoreVerificationCleanupRule successCleanupRule;

/**
* Output only. Time taken to perform the cleanup of restored resource.
* @return value or {@code null} for none
*/
public String getCleanupDuration() {
return cleanupDuration;
}

/**
* Output only. Time taken to perform the cleanup of restored resource.
* @param cleanupDuration cleanupDuration or {@code null} for none
*/
public CleanupPhaseInfo setCleanupDuration(String cleanupDuration) {
this.cleanupDuration = cleanupDuration;
return this;
}

/**
* Output only. The time when the resources will be cleaned up.
* @return value or {@code null} for none
*/
public String getCleanupTime() {
return cleanupTime;
}

/**
* Output only. The time when the resources will be cleaned up.
* @param cleanupTime cleanupTime or {@code null} for none
*/
public CleanupPhaseInfo setCleanupTime(String cleanupTime) {
this.cleanupTime = cleanupTime;
return this;
}

/**
* Output only. End time of the phase.
* @return value or {@code null} for none
*/
public String getEndTime() {
return endTime;
}

/**
* Output only. End time of the phase.
* @param endTime endTime or {@code null} for none
*/
public CleanupPhaseInfo setEndTime(String endTime) {
this.endTime = endTime;
return this;
}

/**
* Output only. Error details if the phase failed.
* @return value or {@code null} for none
*/
public Status getError() {
return error;
}

/**
* Output only. Error details if the phase failed.
* @param error error or {@code null} for none
*/
public CleanupPhaseInfo setError(Status error) {
this.error = error;
return this;
}

/**
* Output only. Snapshot of cleanup rule provided for this execution when execution is failed.
* @return value or {@code null} for none
*/
public RestoreVerificationCleanupRule getFailureCleanupRule() {
return failureCleanupRule;
}

/**
* Output only. Snapshot of cleanup rule provided for this execution when execution is failed.
* @param failureCleanupRule failureCleanupRule or {@code null} for none
*/
public CleanupPhaseInfo setFailureCleanupRule(RestoreVerificationCleanupRule failureCleanupRule) {
this.failureCleanupRule = failureCleanupRule;
return this;
}

/**
* Output only. The state of this phase.
* @return value or {@code null} for none
*/
public java.lang.String getPhaseState() {
return phaseState;
}

/**
* Output only. The state of this phase.
* @param phaseState phaseState or {@code null} for none
*/
public CleanupPhaseInfo setPhaseState(java.lang.String phaseState) {
this.phaseState = phaseState;
return this;
}

/**
* Output only. Start time of the phase.
* @return value or {@code null} for none
*/
public String getStartTime() {
return startTime;
}

/**
* Output only. Start time of the phase.
* @param startTime startTime or {@code null} for none
*/
public CleanupPhaseInfo setStartTime(String startTime) {
this.startTime = startTime;
return this;
}

/**
* Output only. Snapshot of cleanup rule provided for this execution when execution is successful.
* @return value or {@code null} for none
*/
public RestoreVerificationCleanupRule getSuccessCleanupRule() {
return successCleanupRule;
}

/**
* Output only. Snapshot of cleanup rule provided for this execution when execution is successful.
* @param successCleanupRule successCleanupRule or {@code null} for none
*/
public CleanupPhaseInfo setSuccessCleanupRule(RestoreVerificationCleanupRule successCleanupRule) {
this.successCleanupRule = successCleanupRule;
return this;
}

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

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

}
Loading
Loading