Skip to content
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
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-rev20260125-2.0.0</version>
<version>v1-rev20260218-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-rev20260125-2.0.0'
implementation 'com.google.apis:google-api-services-netapp:v1-rev20260218-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public class NetAppFiles extends com.google.api.client.googleapis.services.json.
* {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}</li>
* <li>Android: {@code newCompatibleTransport} from
* {@code com.google.api.client.extensions.android.http.AndroidHttp}</li>
* <li>Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
* <li>Java: {@code com.google.api.client.http.javanet.NetHttpTransport}</li>
* </li>
* </ul>
* @param jsonFactory JSON factory, which may be:
Expand Down Expand Up @@ -12143,8 +12143,7 @@ private static String chooseEndpoint(com.google.api.client.http.HttpTransport tr
* {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}</li>
* <li>Android: {@code newCompatibleTransport} from
* {@code com.google.api.client.extensions.android.http.AndroidHttp}</li>
* <li>Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
* </li>
* <li>Java: {@code com.google.api.client.http.javanet.NetHttpTransport}</li>
* </ul>
* @param jsonFactory JSON factory, which may be:
* <ul>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
/*
* 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;

/**
* Details about a clone volume.
*
* <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 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();
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -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}.
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-netapp/v1/2.0.0/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

<groupId>com.google.apis</groupId>
<artifactId>google-api-services-netapp</artifactId>
<version>v1-rev20260125-2.0.0</version>
<name>NetApp API v1-rev20260125-2.0.0</name>
<version>v1-rev20260218-2.0.0</version>
<name>NetApp API v1-rev20260218-2.0.0</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-netapp/v1/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-rev20260125-2.0.0</version>
<version>v1-rev20260218-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-rev20260125-2.0.0'
implementation 'com.google.apis:google-api-services-netapp:v1-rev20260218-2.0.0'
}
```

Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-netapp/v1beta1/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>v1beta1-rev20260125-2.0.0</version>
<version>v1beta1-rev20260218-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-netapp:v1beta1-rev20260125-2.0.0'
implementation 'com.google.apis:google-api-services-netapp:v1beta1-rev20260218-2.0.0'
}
```

Expand Down
Loading
Loading