From 90a47b71c24a7437eda1d6c65102562fb657530d Mon Sep 17 00:00:00 2001
From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com>
Date: Thu, 19 Feb 2026 18:29:38 -0800
Subject: [PATCH] chore: regenerate netapp client
---
.../v1/2.0.0/README.md | 4 +-
.../api/services/netapp/v1/NetAppFiles.java | 5 +-
.../netapp/v1/model/CloneDetails.java | 123 ++++
.../api/services/netapp/v1/model/Volume.java | 24 +
.../v1/2.0.0/pom.xml | 4 +-
.../google-api-services-netapp/v1/README.md | 4 +-
.../v1beta1/2.0.0/README.md | 4 +-
.../services/netapp/v1beta1/NetAppFiles.java | 629 +++++++++++++++++-
.../netapp/v1beta1/model/CloneDetails.java | 123 ++++
.../model/ExecuteOntapDeleteResponse.java | 66 ++
.../model/ExecuteOntapGetResponse.java | 66 ++
.../model/ExecuteOntapPatchRequest.java | 69 ++
.../model/ExecuteOntapPatchResponse.java | 66 ++
.../model/ExecuteOntapPostRequest.java | 69 ++
.../model/ExecuteOntapPostResponse.java | 66 ++
.../v1beta1/model/LargeCapacityConfig.java | 71 ++
.../netapp/v1beta1/model/StoragePool.java | 57 ++
.../services/netapp/v1beta1/model/Volume.java | 48 ++
.../v1beta1/2.0.0/pom.xml | 4 +-
.../v1beta1/README.md | 4 +-
20 files changed, 1488 insertions(+), 18 deletions(-)
create mode 100644 clients/google-api-services-netapp/v1/2.0.0/com/google/api/services/netapp/v1/model/CloneDetails.java
create mode 100644 clients/google-api-services-netapp/v1beta1/2.0.0/com/google/api/services/netapp/v1beta1/model/CloneDetails.java
create mode 100644 clients/google-api-services-netapp/v1beta1/2.0.0/com/google/api/services/netapp/v1beta1/model/ExecuteOntapDeleteResponse.java
create mode 100644 clients/google-api-services-netapp/v1beta1/2.0.0/com/google/api/services/netapp/v1beta1/model/ExecuteOntapGetResponse.java
create mode 100644 clients/google-api-services-netapp/v1beta1/2.0.0/com/google/api/services/netapp/v1beta1/model/ExecuteOntapPatchRequest.java
create mode 100644 clients/google-api-services-netapp/v1beta1/2.0.0/com/google/api/services/netapp/v1beta1/model/ExecuteOntapPatchResponse.java
create mode 100644 clients/google-api-services-netapp/v1beta1/2.0.0/com/google/api/services/netapp/v1beta1/model/ExecuteOntapPostRequest.java
create mode 100644 clients/google-api-services-netapp/v1beta1/2.0.0/com/google/api/services/netapp/v1beta1/model/ExecuteOntapPostResponse.java
create mode 100644 clients/google-api-services-netapp/v1beta1/2.0.0/com/google/api/services/netapp/v1beta1/model/LargeCapacityConfig.java
diff --git a/clients/google-api-services-netapp/v1/2.0.0/README.md b/clients/google-api-services-netapp/v1/2.0.0/README.md
index d4c72b88e51..2b33996587d 100644
--- a/clients/google-api-services-netapp/v1/2.0.0/README.md
+++ b/clients/google-api-services-netapp/v1/2.0.0/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
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: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class CloneDetails extends com.google.api.client.json.GenericJson { + + /** + * Output only. Shared space in GiB. Determined at volume creation time based on size of source + * snapshot. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long sharedSpaceGib; + + /** + * Output only. Specifies the full resource name of the source snapshot from which this volume was + * cloned. Format: projects/{project}/locations/{location}/volumes/{volume}/snapshots/{snapshot} + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String sourceSnapshot; + + /** + * Output only. Full name of the source volume resource. Format: + * projects/{project}/locations/{location}/volumes/{volume} + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String sourceVolume; + + /** + * Output only. Shared space in GiB. Determined at volume creation time based on size of source + * snapshot. + * @return value or {@code null} for none + */ + public java.lang.Long getSharedSpaceGib() { + return sharedSpaceGib; + } + + /** + * Output only. Shared space in GiB. Determined at volume creation time based on size of source + * snapshot. + * @param sharedSpaceGib sharedSpaceGib or {@code null} for none + */ + public CloneDetails setSharedSpaceGib(java.lang.Long sharedSpaceGib) { + this.sharedSpaceGib = sharedSpaceGib; + return this; + } + + /** + * Output only. Specifies the full resource name of the source snapshot from which this volume was + * cloned. Format: projects/{project}/locations/{location}/volumes/{volume}/snapshots/{snapshot} + * @return value or {@code null} for none + */ + public java.lang.String getSourceSnapshot() { + return sourceSnapshot; + } + + /** + * Output only. Specifies the full resource name of the source snapshot from which this volume was + * cloned. Format: projects/{project}/locations/{location}/volumes/{volume}/snapshots/{snapshot} + * @param sourceSnapshot sourceSnapshot or {@code null} for none + */ + public CloneDetails setSourceSnapshot(java.lang.String sourceSnapshot) { + this.sourceSnapshot = sourceSnapshot; + return this; + } + + /** + * Output only. Full name of the source volume resource. Format: + * projects/{project}/locations/{location}/volumes/{volume} + * @return value or {@code null} for none + */ + public java.lang.String getSourceVolume() { + return sourceVolume; + } + + /** + * Output only. Full name of the source volume resource. Format: + * projects/{project}/locations/{location}/volumes/{volume} + * @param sourceVolume sourceVolume or {@code null} for none + */ + public CloneDetails setSourceVolume(java.lang.String sourceVolume) { + this.sourceVolume = sourceVolume; + return this; + } + + @Override + public CloneDetails set(String fieldName, Object value) { + return (CloneDetails) super.set(fieldName, value); + } + + @Override + public CloneDetails clone() { + return (CloneDetails) super.clone(); + } + +} diff --git a/clients/google-api-services-netapp/v1/2.0.0/com/google/api/services/netapp/v1/model/Volume.java b/clients/google-api-services-netapp/v1/2.0.0/com/google/api/services/netapp/v1/model/Volume.java index 3041e7ff519..d87428b6a70 100644 --- a/clients/google-api-services-netapp/v1/2.0.0/com/google/api/services/netapp/v1/model/Volume.java +++ b/clients/google-api-services-netapp/v1/2.0.0/com/google/api/services/netapp/v1/model/Volume.java @@ -71,6 +71,13 @@ public final class Volume extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key @com.google.api.client.json.JsonString private java.lang.Long capacityGib; + /** + * Output only. If this volume is a clone, this field contains details about the clone. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private CloneDetails cloneDetails; + /** * Output only. Size of the volume cold tier data rounded down to the nearest GiB. * The value may be {@code null}. @@ -431,6 +438,23 @@ public Volume setCapacityGib(java.lang.Long capacityGib) { return this; } + /** + * Output only. If this volume is a clone, this field contains details about the clone. + * @return value or {@code null} for none + */ + public CloneDetails getCloneDetails() { + return cloneDetails; + } + + /** + * Output only. If this volume is a clone, this field contains details about the clone. + * @param cloneDetails cloneDetails or {@code null} for none + */ + public Volume setCloneDetails(CloneDetails cloneDetails) { + this.cloneDetails = cloneDetails; + return this; + } + /** * Output only. Size of the volume cold tier data rounded down to the nearest GiB. * @return value or {@code null} for none diff --git a/clients/google-api-services-netapp/v1/2.0.0/pom.xml b/clients/google-api-services-netapp/v1/2.0.0/pom.xml index 54e26d81858..3150f8bab4b 100644 --- a/clients/google-api-services-netapp/v1/2.0.0/pom.xml +++ b/clients/google-api-services-netapp/v1/2.0.0/pom.xml @@ -8,8 +8,8 @@The typical use is:
+ *
+ * {@code NetAppFiles netapp = new NetAppFiles(...);}
+ * {@code NetAppFiles.Ontap.List request = netapp.ontap().list(parameters ...)}
+ *
+ *
+ * @return the resource collection
+ */
+ public Ontap ontap() {
+ return new Ontap();
+ }
+
+ /**
+ * The "ontap" collection of methods.
+ */
+ public class Ontap {
+
+ /**
+ * `ExecuteOntapDelete` dispatches the ONTAP `DELETE` request to the `StoragePool` cluster.
+ *
+ * Create a request for the method "ontap.executeOntapDelete".
+ *
+ * This request holds the parameters needed by the netapp server. After setting any optional
+ * parameters, call the {@link ExecuteOntapDelete#execute()} method to invoke the remote operation.
+ *
+ * @param ontapPath Required. The resource path of the ONTAP resource. Format: `projects/{project_number}/locations/{loc
+ * ation_id}/storagePools/{storage_pool_id}/ontap/{ontap_resource_path}`. For example:
+ * `projects/123456789/locations/us-central1/storagePools/my-storage-
+ * pool/ontap/api/storage/volumes`.
+ * @return the request
+ */
+ public ExecuteOntapDelete executeOntapDelete(java.lang.String ontapPath) throws java.io.IOException {
+ ExecuteOntapDelete result = new ExecuteOntapDelete(ontapPath);
+ initialize(result);
+ return result;
+ }
+
+ public class ExecuteOntapDelete extends NetAppFilesRequest{@link ExecuteOntapDelete#initialize(com.google.api.client.googleapis.services.A + * bstractGoogleClientRequest)} must be called to initialize this instance immediately after + * invoking the constructor.
+ * + * @param ontapPath Required. The resource path of the ONTAP resource. Format: `projects/{project_number}/locations/{loc + * ation_id}/storagePools/{storage_pool_id}/ontap/{ontap_resource_path}`. For example: + * `projects/123456789/locations/us-central1/storagePools/my-storage- + * pool/ontap/api/storage/volumes`. + * @since 1.13 + */ + protected ExecuteOntapDelete(java.lang.String ontapPath) { + super(NetAppFiles.this, "DELETE", REST_PATH, null, com.google.api.services.netapp.v1beta1.model.ExecuteOntapDeleteResponse.class); + this.ontapPath = com.google.api.client.util.Preconditions.checkNotNull(ontapPath, "Required parameter ontapPath must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(ONTAP_PATH_PATTERN.matcher(ontapPath).matches(), + "Parameter ontapPath must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/storagePools/[^/]+/ontap/.*$"); + } + } + + @Override + public ExecuteOntapDelete set$Xgafv(java.lang.String $Xgafv) { + return (ExecuteOntapDelete) super.set$Xgafv($Xgafv); + } + + @Override + public ExecuteOntapDelete setAccessToken(java.lang.String accessToken) { + return (ExecuteOntapDelete) super.setAccessToken(accessToken); + } + + @Override + public ExecuteOntapDelete setAlt(java.lang.String alt) { + return (ExecuteOntapDelete) super.setAlt(alt); + } + + @Override + public ExecuteOntapDelete setCallback(java.lang.String callback) { + return (ExecuteOntapDelete) super.setCallback(callback); + } + + @Override + public ExecuteOntapDelete setFields(java.lang.String fields) { + return (ExecuteOntapDelete) super.setFields(fields); + } + + @Override + public ExecuteOntapDelete setKey(java.lang.String key) { + return (ExecuteOntapDelete) super.setKey(key); + } + + @Override + public ExecuteOntapDelete setOauthToken(java.lang.String oauthToken) { + return (ExecuteOntapDelete) super.setOauthToken(oauthToken); + } + + @Override + public ExecuteOntapDelete setPrettyPrint(java.lang.Boolean prettyPrint) { + return (ExecuteOntapDelete) super.setPrettyPrint(prettyPrint); + } + + @Override + public ExecuteOntapDelete setQuotaUser(java.lang.String quotaUser) { + return (ExecuteOntapDelete) super.setQuotaUser(quotaUser); + } + + @Override + public ExecuteOntapDelete setUploadType(java.lang.String uploadType) { + return (ExecuteOntapDelete) super.setUploadType(uploadType); + } + + @Override + public ExecuteOntapDelete setUploadProtocol(java.lang.String uploadProtocol) { + return (ExecuteOntapDelete) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. The resource path of the ONTAP resource. Format: `projects/{project_number} + * /locations/{location_id}/storagePools/{storage_pool_id}/ontap/{ontap_resource_path}`. + * For example: `projects/123456789/locations/us-central1/storagePools/my-storage- + * pool/ontap/api/storage/volumes`. + */ + @com.google.api.client.util.Key + private java.lang.String ontapPath; + + /** Required. The resource path of the ONTAP resource. Format: `projects/{project_number}/locations/{lo + cation_id}/storagePools/{storage_pool_id}/ontap/{ontap_resource_path}`. For example: + `projects/123456789/locations/us-central1/storagePools/my-storage-pool/ontap/api/storage/volumes`. + */ + public java.lang.String getOntapPath() { + return ontapPath; + } + + /** + * Required. The resource path of the ONTAP resource. Format: `projects/{project_number} + * /locations/{location_id}/storagePools/{storage_pool_id}/ontap/{ontap_resource_path}`. + * For example: `projects/123456789/locations/us-central1/storagePools/my-storage- + * pool/ontap/api/storage/volumes`. + */ + public ExecuteOntapDelete setOntapPath(java.lang.String ontapPath) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(ONTAP_PATH_PATTERN.matcher(ontapPath).matches(), + "Parameter ontapPath must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/storagePools/[^/]+/ontap/.*$"); + } + this.ontapPath = ontapPath; + return this; + } + + @Override + public ExecuteOntapDelete set(String parameterName, Object value) { + return (ExecuteOntapDelete) super.set(parameterName, value); + } + } + /** + * `ExecuteOntapGet` dispatches the ONTAP `GET` request to the `StoragePool` cluster. + * + * Create a request for the method "ontap.executeOntapGet". + * + * This request holds the parameters needed by the netapp server. After setting any optional + * parameters, call the {@link ExecuteOntapGet#execute()} method to invoke the remote operation. + * + * @param ontapPath Required. The resource path of the ONTAP resource. Format: `projects/{project_number}/locations/{loc + * ation_id}/storagePools/{storage_pool_id}/ontap/{ontap_resource_path}`. For example: + * `projects/123456789/locations/us-central1/storagePools/my-storage- + * pool/ontap/api/storage/volumes`. + * @return the request + */ + public ExecuteOntapGet executeOntapGet(java.lang.String ontapPath) throws java.io.IOException { + ExecuteOntapGet result = new ExecuteOntapGet(ontapPath); + initialize(result); + return result; + } + + public class ExecuteOntapGet extends NetAppFilesRequest{@link ExecuteOntapGet#initialize(com.google.api.client.googleapis.services.AbstractGoogleC + * lientRequest)} must be called to initialize this instance immediately after invoking the + * constructor.
+ * + * @param ontapPath Required. The resource path of the ONTAP resource. Format: `projects/{project_number}/locations/{loc + * ation_id}/storagePools/{storage_pool_id}/ontap/{ontap_resource_path}`. For example: + * `projects/123456789/locations/us-central1/storagePools/my-storage- + * pool/ontap/api/storage/volumes`. + * @since 1.13 + */ + protected ExecuteOntapGet(java.lang.String ontapPath) { + super(NetAppFiles.this, "GET", REST_PATH, null, com.google.api.services.netapp.v1beta1.model.ExecuteOntapGetResponse.class); + this.ontapPath = com.google.api.client.util.Preconditions.checkNotNull(ontapPath, "Required parameter ontapPath must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(ONTAP_PATH_PATTERN.matcher(ontapPath).matches(), + "Parameter ontapPath must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/storagePools/[^/]+/ontap/.*$"); + } + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public ExecuteOntapGet set$Xgafv(java.lang.String $Xgafv) { + return (ExecuteOntapGet) super.set$Xgafv($Xgafv); + } + + @Override + public ExecuteOntapGet setAccessToken(java.lang.String accessToken) { + return (ExecuteOntapGet) super.setAccessToken(accessToken); + } + + @Override + public ExecuteOntapGet setAlt(java.lang.String alt) { + return (ExecuteOntapGet) super.setAlt(alt); + } + + @Override + public ExecuteOntapGet setCallback(java.lang.String callback) { + return (ExecuteOntapGet) super.setCallback(callback); + } + + @Override + public ExecuteOntapGet setFields(java.lang.String fields) { + return (ExecuteOntapGet) super.setFields(fields); + } + + @Override + public ExecuteOntapGet setKey(java.lang.String key) { + return (ExecuteOntapGet) super.setKey(key); + } + + @Override + public ExecuteOntapGet setOauthToken(java.lang.String oauthToken) { + return (ExecuteOntapGet) super.setOauthToken(oauthToken); + } + + @Override + public ExecuteOntapGet setPrettyPrint(java.lang.Boolean prettyPrint) { + return (ExecuteOntapGet) super.setPrettyPrint(prettyPrint); + } + + @Override + public ExecuteOntapGet setQuotaUser(java.lang.String quotaUser) { + return (ExecuteOntapGet) super.setQuotaUser(quotaUser); + } + + @Override + public ExecuteOntapGet setUploadType(java.lang.String uploadType) { + return (ExecuteOntapGet) super.setUploadType(uploadType); + } + + @Override + public ExecuteOntapGet setUploadProtocol(java.lang.String uploadProtocol) { + return (ExecuteOntapGet) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. The resource path of the ONTAP resource. Format: `projects/{project_number} + * /locations/{location_id}/storagePools/{storage_pool_id}/ontap/{ontap_resource_path}`. + * For example: `projects/123456789/locations/us-central1/storagePools/my-storage- + * pool/ontap/api/storage/volumes`. + */ + @com.google.api.client.util.Key + private java.lang.String ontapPath; + + /** Required. The resource path of the ONTAP resource. Format: `projects/{project_number}/locations/{lo + cation_id}/storagePools/{storage_pool_id}/ontap/{ontap_resource_path}`. For example: + `projects/123456789/locations/us-central1/storagePools/my-storage-pool/ontap/api/storage/volumes`. + */ + public java.lang.String getOntapPath() { + return ontapPath; + } + + /** + * Required. The resource path of the ONTAP resource. Format: `projects/{project_number} + * /locations/{location_id}/storagePools/{storage_pool_id}/ontap/{ontap_resource_path}`. + * For example: `projects/123456789/locations/us-central1/storagePools/my-storage- + * pool/ontap/api/storage/volumes`. + */ + public ExecuteOntapGet setOntapPath(java.lang.String ontapPath) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(ONTAP_PATH_PATTERN.matcher(ontapPath).matches(), + "Parameter ontapPath must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/storagePools/[^/]+/ontap/.*$"); + } + this.ontapPath = ontapPath; + return this; + } + + @Override + public ExecuteOntapGet set(String parameterName, Object value) { + return (ExecuteOntapGet) super.set(parameterName, value); + } + } + /** + * `ExecuteOntapPatch` dispatches the ONTAP `PATCH` request to the `StoragePool` cluster. + * + * Create a request for the method "ontap.executeOntapPatch". + * + * This request holds the parameters needed by the netapp server. After setting any optional + * parameters, call the {@link ExecuteOntapPatch#execute()} method to invoke the remote operation. + * + * @param ontapPath Required. The resource path of the ONTAP resource. Format: `projects/{project_number}/locations/{loc + * ation_id}/storagePools/{storage_pool_id}/ontap/{ontap_resource_path}`. For example: + * `projects/123456789/locations/us-central1/storagePools/my-storage- + * pool/ontap/api/storage/volumes`. + * @param content the {@link com.google.api.services.netapp.v1beta1.model.ExecuteOntapPatchRequest} + * @return the request + */ + public ExecuteOntapPatch executeOntapPatch(java.lang.String ontapPath, com.google.api.services.netapp.v1beta1.model.ExecuteOntapPatchRequest content) throws java.io.IOException { + ExecuteOntapPatch result = new ExecuteOntapPatch(ontapPath, content); + initialize(result); + return result; + } + + public class ExecuteOntapPatch extends NetAppFilesRequest{@link ExecuteOntapPatch#initialize(com.google.api.client.googleapis.services.AbstractGoogl + * eClientRequest)} must be called to initialize this instance immediately after invoking the + * constructor.
+ * + * @param ontapPath Required. The resource path of the ONTAP resource. Format: `projects/{project_number}/locations/{loc + * ation_id}/storagePools/{storage_pool_id}/ontap/{ontap_resource_path}`. For example: + * `projects/123456789/locations/us-central1/storagePools/my-storage- + * pool/ontap/api/storage/volumes`. + * @param content the {@link com.google.api.services.netapp.v1beta1.model.ExecuteOntapPatchRequest} + * @since 1.13 + */ + protected ExecuteOntapPatch(java.lang.String ontapPath, com.google.api.services.netapp.v1beta1.model.ExecuteOntapPatchRequest content) { + super(NetAppFiles.this, "PATCH", REST_PATH, content, com.google.api.services.netapp.v1beta1.model.ExecuteOntapPatchResponse.class); + this.ontapPath = com.google.api.client.util.Preconditions.checkNotNull(ontapPath, "Required parameter ontapPath must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(ONTAP_PATH_PATTERN.matcher(ontapPath).matches(), + "Parameter ontapPath must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/storagePools/[^/]+/ontap/.*$"); + } + } + + @Override + public ExecuteOntapPatch set$Xgafv(java.lang.String $Xgafv) { + return (ExecuteOntapPatch) super.set$Xgafv($Xgafv); + } + + @Override + public ExecuteOntapPatch setAccessToken(java.lang.String accessToken) { + return (ExecuteOntapPatch) super.setAccessToken(accessToken); + } + + @Override + public ExecuteOntapPatch setAlt(java.lang.String alt) { + return (ExecuteOntapPatch) super.setAlt(alt); + } + + @Override + public ExecuteOntapPatch setCallback(java.lang.String callback) { + return (ExecuteOntapPatch) super.setCallback(callback); + } + + @Override + public ExecuteOntapPatch setFields(java.lang.String fields) { + return (ExecuteOntapPatch) super.setFields(fields); + } + + @Override + public ExecuteOntapPatch setKey(java.lang.String key) { + return (ExecuteOntapPatch) super.setKey(key); + } + + @Override + public ExecuteOntapPatch setOauthToken(java.lang.String oauthToken) { + return (ExecuteOntapPatch) super.setOauthToken(oauthToken); + } + + @Override + public ExecuteOntapPatch setPrettyPrint(java.lang.Boolean prettyPrint) { + return (ExecuteOntapPatch) super.setPrettyPrint(prettyPrint); + } + + @Override + public ExecuteOntapPatch setQuotaUser(java.lang.String quotaUser) { + return (ExecuteOntapPatch) super.setQuotaUser(quotaUser); + } + + @Override + public ExecuteOntapPatch setUploadType(java.lang.String uploadType) { + return (ExecuteOntapPatch) super.setUploadType(uploadType); + } + + @Override + public ExecuteOntapPatch setUploadProtocol(java.lang.String uploadProtocol) { + return (ExecuteOntapPatch) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. The resource path of the ONTAP resource. Format: `projects/{project_number} + * /locations/{location_id}/storagePools/{storage_pool_id}/ontap/{ontap_resource_path}`. + * For example: `projects/123456789/locations/us-central1/storagePools/my-storage- + * pool/ontap/api/storage/volumes`. + */ + @com.google.api.client.util.Key + private java.lang.String ontapPath; + + /** Required. The resource path of the ONTAP resource. Format: `projects/{project_number}/locations/{lo + cation_id}/storagePools/{storage_pool_id}/ontap/{ontap_resource_path}`. For example: + `projects/123456789/locations/us-central1/storagePools/my-storage-pool/ontap/api/storage/volumes`. + */ + public java.lang.String getOntapPath() { + return ontapPath; + } + + /** + * Required. The resource path of the ONTAP resource. Format: `projects/{project_number} + * /locations/{location_id}/storagePools/{storage_pool_id}/ontap/{ontap_resource_path}`. + * For example: `projects/123456789/locations/us-central1/storagePools/my-storage- + * pool/ontap/api/storage/volumes`. + */ + public ExecuteOntapPatch setOntapPath(java.lang.String ontapPath) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(ONTAP_PATH_PATTERN.matcher(ontapPath).matches(), + "Parameter ontapPath must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/storagePools/[^/]+/ontap/.*$"); + } + this.ontapPath = ontapPath; + return this; + } + + @Override + public ExecuteOntapPatch set(String parameterName, Object value) { + return (ExecuteOntapPatch) super.set(parameterName, value); + } + } + /** + * `ExecuteOntapPost` dispatches the ONTAP `POST` request to the `StoragePool` cluster. + * + * Create a request for the method "ontap.executeOntapPost". + * + * This request holds the parameters needed by the netapp server. After setting any optional + * parameters, call the {@link ExecuteOntapPost#execute()} method to invoke the remote operation. + * + * @param ontapPath Required. The resource path of the ONTAP resource. Format: `projects/{project_number}/locations/{loc + * ation_id}/storagePools/{storage_pool_id}/ontap/{ontap_resource_path}`. For example: + * `projects/123456789/locations/us-central1/storagePools/my-storage- + * pool/ontap/api/storage/volumes`. + * @param content the {@link com.google.api.services.netapp.v1beta1.model.ExecuteOntapPostRequest} + * @return the request + */ + public ExecuteOntapPost executeOntapPost(java.lang.String ontapPath, com.google.api.services.netapp.v1beta1.model.ExecuteOntapPostRequest content) throws java.io.IOException { + ExecuteOntapPost result = new ExecuteOntapPost(ontapPath, content); + initialize(result); + return result; + } + + public class ExecuteOntapPost extends NetAppFilesRequest{@link ExecuteOntapPost#initialize(com.google.api.client.googleapis.services.AbstractGoogle + * ClientRequest)} must be called to initialize this instance immediately after invoking the + * constructor.
+ * + * @param ontapPath Required. The resource path of the ONTAP resource. Format: `projects/{project_number}/locations/{loc + * ation_id}/storagePools/{storage_pool_id}/ontap/{ontap_resource_path}`. For example: + * `projects/123456789/locations/us-central1/storagePools/my-storage- + * pool/ontap/api/storage/volumes`. + * @param content the {@link com.google.api.services.netapp.v1beta1.model.ExecuteOntapPostRequest} + * @since 1.13 + */ + protected ExecuteOntapPost(java.lang.String ontapPath, com.google.api.services.netapp.v1beta1.model.ExecuteOntapPostRequest content) { + super(NetAppFiles.this, "POST", REST_PATH, content, com.google.api.services.netapp.v1beta1.model.ExecuteOntapPostResponse.class); + this.ontapPath = com.google.api.client.util.Preconditions.checkNotNull(ontapPath, "Required parameter ontapPath must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(ONTAP_PATH_PATTERN.matcher(ontapPath).matches(), + "Parameter ontapPath must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/storagePools/[^/]+/ontap/.*$"); + } + } + + @Override + public ExecuteOntapPost set$Xgafv(java.lang.String $Xgafv) { + return (ExecuteOntapPost) super.set$Xgafv($Xgafv); + } + + @Override + public ExecuteOntapPost setAccessToken(java.lang.String accessToken) { + return (ExecuteOntapPost) super.setAccessToken(accessToken); + } + + @Override + public ExecuteOntapPost setAlt(java.lang.String alt) { + return (ExecuteOntapPost) super.setAlt(alt); + } + + @Override + public ExecuteOntapPost setCallback(java.lang.String callback) { + return (ExecuteOntapPost) super.setCallback(callback); + } + + @Override + public ExecuteOntapPost setFields(java.lang.String fields) { + return (ExecuteOntapPost) super.setFields(fields); + } + + @Override + public ExecuteOntapPost setKey(java.lang.String key) { + return (ExecuteOntapPost) super.setKey(key); + } + + @Override + public ExecuteOntapPost setOauthToken(java.lang.String oauthToken) { + return (ExecuteOntapPost) super.setOauthToken(oauthToken); + } + + @Override + public ExecuteOntapPost setPrettyPrint(java.lang.Boolean prettyPrint) { + return (ExecuteOntapPost) super.setPrettyPrint(prettyPrint); + } + + @Override + public ExecuteOntapPost setQuotaUser(java.lang.String quotaUser) { + return (ExecuteOntapPost) super.setQuotaUser(quotaUser); + } + + @Override + public ExecuteOntapPost setUploadType(java.lang.String uploadType) { + return (ExecuteOntapPost) super.setUploadType(uploadType); + } + + @Override + public ExecuteOntapPost setUploadProtocol(java.lang.String uploadProtocol) { + return (ExecuteOntapPost) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. The resource path of the ONTAP resource. Format: `projects/{project_number} + * /locations/{location_id}/storagePools/{storage_pool_id}/ontap/{ontap_resource_path}`. + * For example: `projects/123456789/locations/us-central1/storagePools/my-storage- + * pool/ontap/api/storage/volumes`. + */ + @com.google.api.client.util.Key + private java.lang.String ontapPath; + + /** Required. The resource path of the ONTAP resource. Format: `projects/{project_number}/locations/{lo + cation_id}/storagePools/{storage_pool_id}/ontap/{ontap_resource_path}`. For example: + `projects/123456789/locations/us-central1/storagePools/my-storage-pool/ontap/api/storage/volumes`. + */ + public java.lang.String getOntapPath() { + return ontapPath; + } + + /** + * Required. The resource path of the ONTAP resource. Format: `projects/{project_number} + * /locations/{location_id}/storagePools/{storage_pool_id}/ontap/{ontap_resource_path}`. + * For example: `projects/123456789/locations/us-central1/storagePools/my-storage- + * pool/ontap/api/storage/volumes`. + */ + public ExecuteOntapPost setOntapPath(java.lang.String ontapPath) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(ONTAP_PATH_PATTERN.matcher(ontapPath).matches(), + "Parameter ontapPath must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/storagePools/[^/]+/ontap/.*$"); + } + this.ontapPath = ontapPath; + return this; + } + + @Override + public ExecuteOntapPost set(String parameterName, Object value) { + return (ExecuteOntapPost) super.set(parameterName, value); + } + } + + } } /** * An accessor for creating requests from the Volumes collection. @@ -12143,8 +12767,7 @@ private static String chooseEndpoint(com.google.api.client.http.HttpTransport tr * {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport} *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: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class CloneDetails extends com.google.api.client.json.GenericJson { + + /** + * Output only. Shared space in GiB. Determined at volume creation time based on size of source + * snapshot. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long sharedSpaceGib; + + /** + * Output only. Specifies the full resource name of the source snapshot from which this volume was + * cloned. Format: projects/{project}/locations/{location}/volumes/{volume}/snapshots/{snapshot} + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String sourceSnapshot; + + /** + * Output only. Full name of the source volume resource. Format: + * projects/{project}/locations/{location}/volumes/{volume} + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String sourceVolume; + + /** + * Output only. Shared space in GiB. Determined at volume creation time based on size of source + * snapshot. + * @return value or {@code null} for none + */ + public java.lang.Long getSharedSpaceGib() { + return sharedSpaceGib; + } + + /** + * Output only. Shared space in GiB. Determined at volume creation time based on size of source + * snapshot. + * @param sharedSpaceGib sharedSpaceGib or {@code null} for none + */ + public CloneDetails setSharedSpaceGib(java.lang.Long sharedSpaceGib) { + this.sharedSpaceGib = sharedSpaceGib; + return this; + } + + /** + * Output only. Specifies the full resource name of the source snapshot from which this volume was + * cloned. Format: projects/{project}/locations/{location}/volumes/{volume}/snapshots/{snapshot} + * @return value or {@code null} for none + */ + public java.lang.String getSourceSnapshot() { + return sourceSnapshot; + } + + /** + * Output only. Specifies the full resource name of the source snapshot from which this volume was + * cloned. Format: projects/{project}/locations/{location}/volumes/{volume}/snapshots/{snapshot} + * @param sourceSnapshot sourceSnapshot or {@code null} for none + */ + public CloneDetails setSourceSnapshot(java.lang.String sourceSnapshot) { + this.sourceSnapshot = sourceSnapshot; + return this; + } + + /** + * Output only. Full name of the source volume resource. Format: + * projects/{project}/locations/{location}/volumes/{volume} + * @return value or {@code null} for none + */ + public java.lang.String getSourceVolume() { + return sourceVolume; + } + + /** + * Output only. Full name of the source volume resource. Format: + * projects/{project}/locations/{location}/volumes/{volume} + * @param sourceVolume sourceVolume or {@code null} for none + */ + public CloneDetails setSourceVolume(java.lang.String sourceVolume) { + this.sourceVolume = sourceVolume; + return this; + } + + @Override + public CloneDetails set(String fieldName, Object value) { + return (CloneDetails) super.set(fieldName, value); + } + + @Override + public CloneDetails clone() { + return (CloneDetails) super.clone(); + } + +} diff --git a/clients/google-api-services-netapp/v1beta1/2.0.0/com/google/api/services/netapp/v1beta1/model/ExecuteOntapDeleteResponse.java b/clients/google-api-services-netapp/v1beta1/2.0.0/com/google/api/services/netapp/v1beta1/model/ExecuteOntapDeleteResponse.java new file mode 100644 index 00000000000..b4168854dd3 --- /dev/null +++ b/clients/google-api-services-netapp/v1beta1/2.0.0/com/google/api/services/netapp/v1beta1/model/ExecuteOntapDeleteResponse.java @@ -0,0 +1,66 @@ +/* + * 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.v1beta1.model; + +/** + * Response message for `ExecuteOntapDelete` API. + * + *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: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class ExecuteOntapDeleteResponse extends com.google.api.client.json.GenericJson { + + /** + * The raw `JSON` body of the response. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.MapThis 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: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class ExecuteOntapGetResponse extends com.google.api.client.json.GenericJson { + + /** + * The raw `JSON` body of the response. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.MapThis 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: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class ExecuteOntapPatchRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The raw `JSON` body of the request. The body should be in the format of the ONTAP + * resource. For example: ``` { "body": { "field1": "value1", "field2": "value2", } } ``` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.MapThis 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: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class ExecuteOntapPatchResponse extends com.google.api.client.json.GenericJson { + + /** + * The raw `JSON` body of the response. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.MapThis 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: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class ExecuteOntapPostRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The raw `JSON` body of the request. The body should be in the format of the ONTAP + * resource. For example: ``` { "body": { "field1": "value1", "field2": "value2", } } ``` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.MapThis 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: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class ExecuteOntapPostResponse extends com.google.api.client.json.GenericJson { + + /** + * The raw `JSON` body of the response. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.MapThis 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: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class LargeCapacityConfig extends com.google.api.client.json.GenericJson { + + /** + * Optional. The number of internal constituents (e.g., FlexVols) for this large volume. The + * minimum number of constituents is 2. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer constituentCount; + + /** + * Optional. The number of internal constituents (e.g., FlexVols) for this large volume. The + * minimum number of constituents is 2. + * @return value or {@code null} for none + */ + public java.lang.Integer getConstituentCount() { + return constituentCount; + } + + /** + * Optional. The number of internal constituents (e.g., FlexVols) for this large volume. The + * minimum number of constituents is 2. + * @param constituentCount constituentCount or {@code null} for none + */ + public LargeCapacityConfig setConstituentCount(java.lang.Integer constituentCount) { + this.constituentCount = constituentCount; + return this; + } + + @Override + public LargeCapacityConfig set(String fieldName, Object value) { + return (LargeCapacityConfig) super.set(fieldName, value); + } + + @Override + public LargeCapacityConfig clone() { + return (LargeCapacityConfig) super.clone(); + } + +} diff --git a/clients/google-api-services-netapp/v1beta1/2.0.0/com/google/api/services/netapp/v1beta1/model/StoragePool.java b/clients/google-api-services-netapp/v1beta1/2.0.0/com/google/api/services/netapp/v1beta1/model/StoragePool.java index 2c9d4b8ce14..024ca1dfaa5 100644 --- a/clients/google-api-services-netapp/v1beta1/2.0.0/com/google/api/services/netapp/v1beta1/model/StoragePool.java +++ b/clients/google-api-services-netapp/v1beta1/2.0.0/com/google/api/services/netapp/v1beta1/model/StoragePool.java @@ -148,6 +148,15 @@ public final class StoragePool extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private java.lang.Boolean ldapEnabled; + /** + * Optional. Mode of the storage pool. This field is used to control whether the user can perform + * the ONTAP operations on the storage pool using the GCNV ONTAP Mode APIs. If not specified + * during creation, it defaults to `DEFAULT`. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String mode; + /** * Identifier. Name of the storage pool * The value may be {@code null}. @@ -197,6 +206,14 @@ public final class StoragePool extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private java.lang.Boolean satisfiesPzs; + /** + * Optional. The effective scale tier of the storage pool. If `scale_tier` is not specified during + * creation, this defaults to `SCALE_TIER_STANDARD`. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String scaleTier; + /** * Required. Service level of the storage pool * The value may be {@code null}. @@ -548,6 +565,27 @@ public StoragePool setLdapEnabled(java.lang.Boolean ldapEnabled) { return this; } + /** + * Optional. Mode of the storage pool. This field is used to control whether the user can perform + * the ONTAP operations on the storage pool using the GCNV ONTAP Mode APIs. If not specified + * during creation, it defaults to `DEFAULT`. + * @return value or {@code null} for none + */ + public java.lang.String getMode() { + return mode; + } + + /** + * Optional. Mode of the storage pool. This field is used to control whether the user can perform + * the ONTAP operations on the storage pool using the GCNV ONTAP Mode APIs. If not specified + * during creation, it defaults to `DEFAULT`. + * @param mode mode or {@code null} for none + */ + public StoragePool setMode(java.lang.String mode) { + this.mode = mode; + return this; + } + /** * Identifier. Name of the storage pool * @return value or {@code null} for none @@ -667,6 +705,25 @@ public StoragePool setSatisfiesPzs(java.lang.Boolean satisfiesPzs) { return this; } + /** + * Optional. The effective scale tier of the storage pool. If `scale_tier` is not specified during + * creation, this defaults to `SCALE_TIER_STANDARD`. + * @return value or {@code null} for none + */ + public java.lang.String getScaleTier() { + return scaleTier; + } + + /** + * Optional. The effective scale tier of the storage pool. If `scale_tier` is not specified during + * creation, this defaults to `SCALE_TIER_STANDARD`. + * @param scaleTier scaleTier or {@code null} for none + */ + public StoragePool setScaleTier(java.lang.String scaleTier) { + this.scaleTier = scaleTier; + return this; + } + /** * Required. Service level of the storage pool * @return value or {@code null} for none diff --git a/clients/google-api-services-netapp/v1beta1/2.0.0/com/google/api/services/netapp/v1beta1/model/Volume.java b/clients/google-api-services-netapp/v1beta1/2.0.0/com/google/api/services/netapp/v1beta1/model/Volume.java index daa95aeeb0d..2ed0c606168 100644 --- a/clients/google-api-services-netapp/v1beta1/2.0.0/com/google/api/services/netapp/v1beta1/model/Volume.java +++ b/clients/google-api-services-netapp/v1beta1/2.0.0/com/google/api/services/netapp/v1beta1/model/Volume.java @@ -71,6 +71,13 @@ public final class Volume extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key @com.google.api.client.json.JsonString private java.lang.Long capacityGib; + /** + * Output only. If this volume is a clone, this field contains details about the clone. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private CloneDetails cloneDetails; + /** * Output only. Size of the volume cold tier data rounded down to the nearest GiB. * The value may be {@code null}. @@ -157,6 +164,13 @@ public final class Volume extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private java.lang.Boolean largeCapacity; + /** + * Optional. Large capacity config for the volume. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private LargeCapacityConfig largeCapacityConfig; + /** * Output only. Flag indicating if the volume is NFS LDAP enabled or not. * The value may be {@code null}. @@ -431,6 +445,23 @@ public Volume setCapacityGib(java.lang.Long capacityGib) { return this; } + /** + * Output only. If this volume is a clone, this field contains details about the clone. + * @return value or {@code null} for none + */ + public CloneDetails getCloneDetails() { + return cloneDetails; + } + + /** + * Output only. If this volume is a clone, this field contains details about the clone. + * @param cloneDetails cloneDetails or {@code null} for none + */ + public Volume setCloneDetails(CloneDetails cloneDetails) { + this.cloneDetails = cloneDetails; + return this; + } + /** * Output only. Size of the volume cold tier data rounded down to the nearest GiB. * @return value or {@code null} for none @@ -639,6 +670,23 @@ public Volume setLargeCapacity(java.lang.Boolean largeCapacity) { return this; } + /** + * Optional. Large capacity config for the volume. + * @return value or {@code null} for none + */ + public LargeCapacityConfig getLargeCapacityConfig() { + return largeCapacityConfig; + } + + /** + * Optional. Large capacity config for the volume. + * @param largeCapacityConfig largeCapacityConfig or {@code null} for none + */ + public Volume setLargeCapacityConfig(LargeCapacityConfig largeCapacityConfig) { + this.largeCapacityConfig = largeCapacityConfig; + return this; + } + /** * Output only. Flag indicating if the volume is NFS LDAP enabled or not. * @return value or {@code null} for none diff --git a/clients/google-api-services-netapp/v1beta1/2.0.0/pom.xml b/clients/google-api-services-netapp/v1beta1/2.0.0/pom.xml index 37168ccc2df..e1fa1638cf2 100644 --- a/clients/google-api-services-netapp/v1beta1/2.0.0/pom.xml +++ b/clients/google-api-services-netapp/v1beta1/2.0.0/pom.xml @@ -8,8 +8,8 @@