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

Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,14 @@ public final class Backup extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private java.lang.String name;

/**
* Optional. Represents source details for ONTAP backups. Either source_volume or ontap_source
* should be provided.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private OntapSource ontapSource;

/**
* Output only. Reserved for future use
* The value may be {@code null}.
Expand Down Expand Up @@ -288,6 +296,25 @@ public Backup setName(java.lang.String name) {
return this;
}

/**
* Optional. Represents source details for ONTAP backups. Either source_volume or ontap_source
* should be provided.
* @return value or {@code null} for none
*/
public OntapSource getOntapSource() {
return ontapSource;
}

/**
* Optional. Represents source details for ONTAP backups. Either source_volume or ontap_source
* should be provided.
* @param ontapSource ontapSource or {@code null} for none
*/
public Backup setOntapSource(OntapSource ontapSource) {
this.ontapSource = ontapSource;
return this;
}

/**
* Output only. Reserved for future use
* @return value or {@code null} for none
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
/*
* 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.netapp.v1.model;

/**
* Represents the backup source of the restore operation.
*
* <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 NetApp 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 BackupSource extends com.google.api.client.json.GenericJson {

/**
* Required. The backup resource name.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String backup;

/**
* Optional. List of files to be restored in the form of their absolute path as in source volume.
* If provided, only these files will be restored. If not provided, the entire backup will be
* restored (Full Backup Restore)
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List<java.lang.String> fileList;

/**
* Required. The backup resource name.
* @return value or {@code null} for none
*/
public java.lang.String getBackup() {
return backup;
}

/**
* Required. The backup resource name.
* @param backup backup or {@code null} for none
*/
public BackupSource setBackup(java.lang.String backup) {
this.backup = backup;
return this;
}

/**
* Optional. List of files to be restored in the form of their absolute path as in source volume.
* If provided, only these files will be restored. If not provided, the entire backup will be
* restored (Full Backup Restore)
* @return value or {@code null} for none
*/
public java.util.List<java.lang.String> getFileList() {
return fileList;
}

/**
* Optional. List of files to be restored in the form of their absolute path as in source volume.
* If provided, only these files will be restored. If not provided, the entire backup will be
* restored (Full Backup Restore)
* @param fileList fileList or {@code null} for none
*/
public BackupSource setFileList(java.util.List<java.lang.String> fileList) {
this.fileList = fileList;
return this;
}

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

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

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

/**
* Message for response to listing BackupConfigs in an ONTAP StoragePool.
*
* <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 NetApp 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 ListBackupConfigsResponse extends com.google.api.client.json.GenericJson {

/**
* The token you can use to retrieve the next page of results. Not returned if there are no more
* results in the list.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String nextPageToken;

/**
* Unordered list. Locations that could not be reached.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List<java.lang.String> unreachable;

/**
* A list of backup configurations for volumes in the pool.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List<VolumeBackupConfig> volumeBackupConfigs;

/**
* The token you can use to retrieve the next page of results. Not returned if there are no more
* results in the list.
* @return value or {@code null} for none
*/
public java.lang.String getNextPageToken() {
return nextPageToken;
}

/**
* The token you can use to retrieve the next page of results. Not returned if there are no more
* results in the list.
* @param nextPageToken nextPageToken or {@code null} for none
*/
public ListBackupConfigsResponse setNextPageToken(java.lang.String nextPageToken) {
this.nextPageToken = nextPageToken;
return this;
}

/**
* Unordered list. Locations that could not be reached.
* @return value or {@code null} for none
*/
public java.util.List<java.lang.String> getUnreachable() {
return unreachable;
}

/**
* Unordered list. Locations that could not be reached.
* @param unreachable unreachable or {@code null} for none
*/
public ListBackupConfigsResponse setUnreachable(java.util.List<java.lang.String> unreachable) {
this.unreachable = unreachable;
return this;
}

/**
* A list of backup configurations for volumes in the pool.
* @return value or {@code null} for none
*/
public java.util.List<VolumeBackupConfig> getVolumeBackupConfigs() {
return volumeBackupConfigs;
}

/**
* A list of backup configurations for volumes in the pool.
* @param volumeBackupConfigs volumeBackupConfigs or {@code null} for none
*/
public ListBackupConfigsResponse setVolumeBackupConfigs(java.util.List<VolumeBackupConfig> volumeBackupConfigs) {
this.volumeBackupConfigs = volumeBackupConfigs;
return this;
}

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

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

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

/**
* Represents ONTAP source details.
*
* <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 NetApp 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 OntapSource extends com.google.api.client.json.GenericJson {

/**
* Optional. The UUID of the ONTAP source snapshot.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String snapshotUuid;

/**
* Required. Name of the storage pool. This must be specified for creating backups for ONTAP mode
* volumes. Format: `projects/{projects_id}/locations/{location}/storagePools/{storage_pool_id}`
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String storagePool;

/**
* Required. The UUID of the ONTAP source volume.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String volumeUuid;

/**
* Optional. The UUID of the ONTAP source snapshot.
* @return value or {@code null} for none
*/
public java.lang.String getSnapshotUuid() {
return snapshotUuid;
}

/**
* Optional. The UUID of the ONTAP source snapshot.
* @param snapshotUuid snapshotUuid or {@code null} for none
*/
public OntapSource setSnapshotUuid(java.lang.String snapshotUuid) {
this.snapshotUuid = snapshotUuid;
return this;
}

/**
* Required. Name of the storage pool. This must be specified for creating backups for ONTAP mode
* volumes. Format: `projects/{projects_id}/locations/{location}/storagePools/{storage_pool_id}`
* @return value or {@code null} for none
*/
public java.lang.String getStoragePool() {
return storagePool;
}

/**
* Required. Name of the storage pool. This must be specified for creating backups for ONTAP mode
* volumes. Format: `projects/{projects_id}/locations/{location}/storagePools/{storage_pool_id}`
* @param storagePool storagePool or {@code null} for none
*/
public OntapSource setStoragePool(java.lang.String storagePool) {
this.storagePool = storagePool;
return this;
}

/**
* Required. The UUID of the ONTAP source volume.
* @return value or {@code null} for none
*/
public java.lang.String getVolumeUuid() {
return volumeUuid;
}

/**
* Required. The UUID of the ONTAP source volume.
* @param volumeUuid volumeUuid or {@code null} for none
*/
public OntapSource setVolumeUuid(java.lang.String volumeUuid) {
this.volumeUuid = volumeUuid;
return this;
}

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

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

}
Loading