Skip to content

Commit e1d62a6

Browse files
1 parent 4d49884 commit e1d62a6

File tree

21 files changed

+452
-96
lines changed

21 files changed

+452
-96
lines changed

clients/google-api-services-netapp/v1/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-netapp</artifactId>
25-
<version>v1-rev20251209-2.0.0</version>
25+
<version>v1-rev20260111-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-netapp:v1-rev20251209-2.0.0'
38+
implementation 'com.google.apis:google-api-services-netapp:v1-rev20260111-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-netapp/v1/2.0.0/com/google/api/services/netapp/v1/NetAppFiles.java

Lines changed: 156 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5585,7 +5585,8 @@ public List set(String parameterName, Object value) {
55855585
* This request holds the parameters needed by the netapp server. After setting any optional
55865586
* parameters, call the {@link Patch#execute()} method to invoke the remote operation.
55875587
*
5588-
* @param name Identifier. Name of the KmsConfig.
5588+
* @param name Identifier. Name of the KmsConfig. Format:
5589+
* `projects/{project}/locations/{location}/kmsConfigs/{kms_config}`
55895590
* @param content the {@link com.google.api.services.netapp.v1.model.KmsConfig}
55905591
* @return the request
55915592
*/
@@ -5612,7 +5613,8 @@ public class Patch extends NetAppFilesRequest<com.google.api.services.netapp.v1.
56125613
* Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
56135614
* be called to initialize this instance immediately after invoking the constructor. </p>
56145615
*
5615-
* @param name Identifier. Name of the KmsConfig.
5616+
* @param name Identifier. Name of the KmsConfig. Format:
5617+
* `projects/{project}/locations/{location}/kmsConfigs/{kms_config}`
56165618
* @param content the {@link com.google.api.services.netapp.v1.model.KmsConfig}
56175619
* @since 1.13
56185620
*/
@@ -5681,17 +5683,24 @@ public Patch setUploadProtocol(java.lang.String uploadProtocol) {
56815683
return (Patch) super.setUploadProtocol(uploadProtocol);
56825684
}
56835685

5684-
/** Identifier. Name of the KmsConfig. */
5686+
/**
5687+
* Identifier. Name of the KmsConfig. Format:
5688+
* `projects/{project}/locations/{location}/kmsConfigs/{kms_config}`
5689+
*/
56855690
@com.google.api.client.util.Key
56865691
private java.lang.String name;
56875692

5688-
/** Identifier. Name of the KmsConfig.
5693+
/** Identifier. Name of the KmsConfig. Format:
5694+
`projects/{project}/locations/{location}/kmsConfigs/{kms_config}`
56895695
*/
56905696
public java.lang.String getName() {
56915697
return name;
56925698
}
56935699

5694-
/** Identifier. Name of the KmsConfig. */
5700+
/**
5701+
* Identifier. Name of the KmsConfig. Format:
5702+
* `projects/{project}/locations/{location}/kmsConfigs/{kms_config}`
5703+
*/
56955704
public Patch setName(java.lang.String name) {
56965705
if (!getSuppressPatternChecks()) {
56975706
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
@@ -7933,6 +7942,148 @@ public Delete set(String parameterName, Object value) {
79337942
return (Delete) super.set(parameterName, value);
79347943
}
79357944
}
7945+
/**
7946+
* Establish volume peering. This is used to establish cluster and svm peerings between the GCNV and
7947+
* OnPrem clusters.
7948+
*
7949+
* Create a request for the method "volumes.establishPeering".
7950+
*
7951+
* This request holds the parameters needed by the netapp server. After setting any optional
7952+
* parameters, call the {@link EstablishPeering#execute()} method to invoke the remote operation.
7953+
*
7954+
* @param name Required. The volume resource name, in the format
7955+
* `projects/{project_id}/locations/{location}/volumes/{volume_id}`
7956+
* @param content the {@link com.google.api.services.netapp.v1.model.EstablishVolumePeeringRequest}
7957+
* @return the request
7958+
*/
7959+
public EstablishPeering establishPeering(java.lang.String name, com.google.api.services.netapp.v1.model.EstablishVolumePeeringRequest content) throws java.io.IOException {
7960+
EstablishPeering result = new EstablishPeering(name, content);
7961+
initialize(result);
7962+
return result;
7963+
}
7964+
7965+
public class EstablishPeering extends NetAppFilesRequest<com.google.api.services.netapp.v1.model.Operation> {
7966+
7967+
private static final String REST_PATH = "v1/{+name}:establishPeering";
7968+
7969+
private final java.util.regex.Pattern NAME_PATTERN =
7970+
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/volumes/[^/]+$");
7971+
7972+
/**
7973+
* Establish volume peering. This is used to establish cluster and svm peerings between the GCNV
7974+
* and OnPrem clusters.
7975+
*
7976+
* Create a request for the method "volumes.establishPeering".
7977+
*
7978+
* This request holds the parameters needed by the the netapp server. After setting any optional
7979+
* parameters, call the {@link EstablishPeering#execute()} method to invoke the remote operation.
7980+
* <p> {@link EstablishPeering#initialize(com.google.api.client.googleapis.services.AbstractGoogle
7981+
* ClientRequest)} must be called to initialize this instance immediately after invoking the
7982+
* constructor. </p>
7983+
*
7984+
* @param name Required. The volume resource name, in the format
7985+
* `projects/{project_id}/locations/{location}/volumes/{volume_id}`
7986+
* @param content the {@link com.google.api.services.netapp.v1.model.EstablishVolumePeeringRequest}
7987+
* @since 1.13
7988+
*/
7989+
protected EstablishPeering(java.lang.String name, com.google.api.services.netapp.v1.model.EstablishVolumePeeringRequest content) {
7990+
super(NetAppFiles.this, "POST", REST_PATH, content, com.google.api.services.netapp.v1.model.Operation.class);
7991+
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
7992+
if (!getSuppressPatternChecks()) {
7993+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
7994+
"Parameter name must conform to the pattern " +
7995+
"^projects/[^/]+/locations/[^/]+/volumes/[^/]+$");
7996+
}
7997+
}
7998+
7999+
@Override
8000+
public EstablishPeering set$Xgafv(java.lang.String $Xgafv) {
8001+
return (EstablishPeering) super.set$Xgafv($Xgafv);
8002+
}
8003+
8004+
@Override
8005+
public EstablishPeering setAccessToken(java.lang.String accessToken) {
8006+
return (EstablishPeering) super.setAccessToken(accessToken);
8007+
}
8008+
8009+
@Override
8010+
public EstablishPeering setAlt(java.lang.String alt) {
8011+
return (EstablishPeering) super.setAlt(alt);
8012+
}
8013+
8014+
@Override
8015+
public EstablishPeering setCallback(java.lang.String callback) {
8016+
return (EstablishPeering) super.setCallback(callback);
8017+
}
8018+
8019+
@Override
8020+
public EstablishPeering setFields(java.lang.String fields) {
8021+
return (EstablishPeering) super.setFields(fields);
8022+
}
8023+
8024+
@Override
8025+
public EstablishPeering setKey(java.lang.String key) {
8026+
return (EstablishPeering) super.setKey(key);
8027+
}
8028+
8029+
@Override
8030+
public EstablishPeering setOauthToken(java.lang.String oauthToken) {
8031+
return (EstablishPeering) super.setOauthToken(oauthToken);
8032+
}
8033+
8034+
@Override
8035+
public EstablishPeering setPrettyPrint(java.lang.Boolean prettyPrint) {
8036+
return (EstablishPeering) super.setPrettyPrint(prettyPrint);
8037+
}
8038+
8039+
@Override
8040+
public EstablishPeering setQuotaUser(java.lang.String quotaUser) {
8041+
return (EstablishPeering) super.setQuotaUser(quotaUser);
8042+
}
8043+
8044+
@Override
8045+
public EstablishPeering setUploadType(java.lang.String uploadType) {
8046+
return (EstablishPeering) super.setUploadType(uploadType);
8047+
}
8048+
8049+
@Override
8050+
public EstablishPeering setUploadProtocol(java.lang.String uploadProtocol) {
8051+
return (EstablishPeering) super.setUploadProtocol(uploadProtocol);
8052+
}
8053+
8054+
/**
8055+
* Required. The volume resource name, in the format
8056+
* `projects/{project_id}/locations/{location}/volumes/{volume_id}`
8057+
*/
8058+
@com.google.api.client.util.Key
8059+
private java.lang.String name;
8060+
8061+
/** Required. The volume resource name, in the format
8062+
`projects/{project_id}/locations/{location}/volumes/{volume_id}`
8063+
*/
8064+
public java.lang.String getName() {
8065+
return name;
8066+
}
8067+
8068+
/**
8069+
* Required. The volume resource name, in the format
8070+
* `projects/{project_id}/locations/{location}/volumes/{volume_id}`
8071+
*/
8072+
public EstablishPeering setName(java.lang.String name) {
8073+
if (!getSuppressPatternChecks()) {
8074+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
8075+
"Parameter name must conform to the pattern " +
8076+
"^projects/[^/]+/locations/[^/]+/volumes/[^/]+$");
8077+
}
8078+
this.name = name;
8079+
return this;
8080+
}
8081+
8082+
@Override
8083+
public EstablishPeering set(String parameterName, Object value) {
8084+
return (EstablishPeering) super.set(parameterName, value);
8085+
}
8086+
}
79368087
/**
79378088
* Gets details of a single Volume.
79388089
*

clients/google-api-services-netapp/v1/2.0.0/com/google/api/services/netapp/v1/model/BackupVault.java

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public final class BackupVault extends com.google.api.client.json.GenericJson {
3838
private java.lang.String backupRegion;
3939

4040
/**
41-
* Optional. Backup retention policy defining the retenton of backups.
41+
* Optional. Backup retention policy defining the retention of backups.
4242
* The value may be {@code null}.
4343
*/
4444
@com.google.api.client.util.Key
@@ -52,9 +52,9 @@ public final class BackupVault extends com.google.api.client.json.GenericJson {
5252
private java.lang.String backupVaultType;
5353

5454
/**
55-
* Output only. The crypto key version used to encrypt the backup vault. Format: projects/{project
56-
* }/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_ke
57-
* y_version}
55+
* Output only. The crypto key version used to encrypt the backup vault. Format: `projects/{projec
56+
* t}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_k
57+
* ey_version}`
5858
* The value may be {@code null}.
5959
*/
6060
@com.google.api.client.util.Key
@@ -90,8 +90,8 @@ public final class BackupVault extends com.google.api.client.json.GenericJson {
9090
private java.lang.String encryptionState;
9191

9292
/**
93-
* Optional. Specifies the KMS config to be used for backup encryption. Format:
94-
* projects/{project}/locations/{location}/kmsConfigs/{kms_config}
93+
* Optional. Specifies the Key Management System (KMS) configuration to be used for backup
94+
* encryption. Format: `projects/{project}/locations/{location}/kmsConfigs/{kms_config}`
9595
* The value may be {@code null}.
9696
*/
9797
@com.google.api.client.util.Key
@@ -155,15 +155,15 @@ public BackupVault setBackupRegion(java.lang.String backupRegion) {
155155
}
156156

157157
/**
158-
* Optional. Backup retention policy defining the retenton of backups.
158+
* Optional. Backup retention policy defining the retention of backups.
159159
* @return value or {@code null} for none
160160
*/
161161
public BackupRetentionPolicy getBackupRetentionPolicy() {
162162
return backupRetentionPolicy;
163163
}
164164

165165
/**
166-
* Optional. Backup retention policy defining the retenton of backups.
166+
* Optional. Backup retention policy defining the retention of backups.
167167
* @param backupRetentionPolicy backupRetentionPolicy or {@code null} for none
168168
*/
169169
public BackupVault setBackupRetentionPolicy(BackupRetentionPolicy backupRetentionPolicy) {
@@ -189,19 +189,19 @@ public BackupVault setBackupVaultType(java.lang.String backupVaultType) {
189189
}
190190

191191
/**
192-
* Output only. The crypto key version used to encrypt the backup vault. Format: projects/{project
193-
* }/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_ke
194-
* y_version}
192+
* Output only. The crypto key version used to encrypt the backup vault. Format: `projects/{projec
193+
* t}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_k
194+
* ey_version}`
195195
* @return value or {@code null} for none
196196
*/
197197
public java.lang.String getBackupsCryptoKeyVersion() {
198198
return backupsCryptoKeyVersion;
199199
}
200200

201201
/**
202-
* Output only. The crypto key version used to encrypt the backup vault. Format: projects/{project
203-
* }/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_ke
204-
* y_version}
202+
* Output only. The crypto key version used to encrypt the backup vault. Format: `projects/{projec
203+
* t}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_k
204+
* ey_version}`
205205
* @param backupsCryptoKeyVersion backupsCryptoKeyVersion or {@code null} for none
206206
*/
207207
public BackupVault setBackupsCryptoKeyVersion(java.lang.String backupsCryptoKeyVersion) {
@@ -280,17 +280,17 @@ public BackupVault setEncryptionState(java.lang.String encryptionState) {
280280
}
281281

282282
/**
283-
* Optional. Specifies the KMS config to be used for backup encryption. Format:
284-
* projects/{project}/locations/{location}/kmsConfigs/{kms_config}
283+
* Optional. Specifies the Key Management System (KMS) configuration to be used for backup
284+
* encryption. Format: `projects/{project}/locations/{location}/kmsConfigs/{kms_config}`
285285
* @return value or {@code null} for none
286286
*/
287287
public java.lang.String getKmsConfig() {
288288
return kmsConfig;
289289
}
290290

291291
/**
292-
* Optional. Specifies the KMS config to be used for backup encryption. Format:
293-
* projects/{project}/locations/{location}/kmsConfigs/{kms_config}
292+
* Optional. Specifies the Key Management System (KMS) configuration to be used for backup
293+
* encryption. Format: `projects/{project}/locations/{location}/kmsConfigs/{kms_config}`
294294
* @param kmsConfig kmsConfig or {@code null} for none
295295
*/
296296
public BackupVault setKmsConfig(java.lang.String kmsConfig) {

clients/google-api-services-netapp/v1/2.0.0/com/google/api/services/netapp/v1/model/BlockDevice.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public final class BlockDevice extends com.google.api.client.json.GenericJson {
4848

4949
/**
5050
* Optional. User-defined name for the block device, unique within the volume. In case no user
51-
* input is provided, name will be autogenerated in the backend. The name must meet the following
51+
* input is provided, name will be auto-generated in the backend. The name must meet the following
5252
* requirements: * Be between 1 and 255 characters long. * Contain only uppercase or lowercase
5353
* letters (A-Z, a-z), numbers (0-9), and the following special characters: "-", "_", "}", "{",
5454
* ".". * Spaces are not allowed.
@@ -116,7 +116,7 @@ public BlockDevice setIdentifier(java.lang.String identifier) {
116116

117117
/**
118118
* Optional. User-defined name for the block device, unique within the volume. In case no user
119-
* input is provided, name will be autogenerated in the backend. The name must meet the following
119+
* input is provided, name will be auto-generated in the backend. The name must meet the following
120120
* requirements: * Be between 1 and 255 characters long. * Contain only uppercase or lowercase
121121
* letters (A-Z, a-z), numbers (0-9), and the following special characters: "-", "_", "}", "{",
122122
* ".". * Spaces are not allowed.
@@ -128,7 +128,7 @@ public java.lang.String getName() {
128128

129129
/**
130130
* Optional. User-defined name for the block device, unique within the volume. In case no user
131-
* input is provided, name will be autogenerated in the backend. The name must meet the following
131+
* input is provided, name will be auto-generated in the backend. The name must meet the following
132132
* requirements: * Be between 1 and 255 characters long. * Contain only uppercase or lowercase
133133
* letters (A-Z, a-z), numbers (0-9), and the following special characters: "-", "_", "}", "{",
134134
* ".". * Spaces are not allowed.

clients/google-api-services-netapp/v1/2.0.0/com/google/api/services/netapp/v1/model/CachePrePopulate.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public final class CachePrePopulate extends com.google.api.client.json.GenericJs
4444
private java.util.List<java.lang.String> pathList;
4545

4646
/**
47-
* Optional. Flag indicating whether the directories listed with the pathList need to be
47+
* Optional. Flag indicating whether the directories listed with the `path_list` need to be
4848
* recursively pre-populated.
4949
* The value may be {@code null}.
5050
*/
@@ -86,7 +86,7 @@ public CachePrePopulate setPathList(java.util.List<java.lang.String> pathList) {
8686
}
8787

8888
/**
89-
* Optional. Flag indicating whether the directories listed with the pathList need to be
89+
* Optional. Flag indicating whether the directories listed with the `path_list` need to be
9090
* recursively pre-populated.
9191
* @return value or {@code null} for none
9292
*/
@@ -95,7 +95,7 @@ public java.lang.Boolean getRecursion() {
9595
}
9696

9797
/**
98-
* Optional. Flag indicating whether the directories listed with the pathList need to be
98+
* Optional. Flag indicating whether the directories listed with the `path_list` need to be
9999
* recursively pre-populated.
100100
* @param recursion recursion or {@code null} for none
101101
*/

0 commit comments

Comments
 (0)