Skip to content

Commit 58a60a9

Browse files
1 parent 9040561 commit 58a60a9

File tree

20 files changed

+2932
-38
lines changed

20 files changed

+2932
-38
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-rev20251109-2.0.0</version>
25+
<version>v1-rev20251116-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-rev20251109-2.0.0'
38+
implementation 'com.google.apis:google-api-services-netapp:v1-rev20251116-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: 839 additions & 10 deletions
Large diffs are not rendered by default.
Lines changed: 192 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,192 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.netapp.v1.model;
18+
19+
/**
20+
* Block device represents the device(s) which are stored in the block volume.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the NetApp API. For a detailed explanation see:
24+
* <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>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class BlockDevice extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Optional. A list of host groups that identify hosts that can mount the block volume. Format:
34+
* `projects/{project_id}/locations/{location}/hostGroups/{host_group_id}` This field can be
35+
* updated after the block device is created.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.util.List<java.lang.String> hostGroups;
40+
41+
/**
42+
* Output only. Device identifier of the Block volume. This represents lun_serial_number for iSCSI
43+
* volumes
44+
* The value may be {@code null}.
45+
*/
46+
@com.google.api.client.util.Key
47+
private java.lang.String identifier;
48+
49+
/**
50+
* 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
52+
* requirements: * Be between 1 and 255 characters long. * Contain only uppercase or lowercase
53+
* letters (A-Z, a-z), numbers (0-9), and the following special characters: "-", "_", "}", "{",
54+
* ".". * Spaces are not allowed.
55+
* The value may be {@code null}.
56+
*/
57+
@com.google.api.client.util.Key
58+
private java.lang.String name;
59+
60+
/**
61+
* Required. Immutable. The OS type of the volume. This field can't be changed after the block
62+
* device is created.
63+
* The value may be {@code null}.
64+
*/
65+
@com.google.api.client.util.Key
66+
private java.lang.String osType;
67+
68+
/**
69+
* Optional. The size of the block device in GiB. Any value provided in this field during Volume
70+
* creation is IGNORED. The block device's size is system-managed and will be set to match the
71+
* parent Volume's `capacity_gib`.
72+
* The value may be {@code null}.
73+
*/
74+
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
75+
private java.lang.Long sizeGib;
76+
77+
/**
78+
* Optional. A list of host groups that identify hosts that can mount the block volume. Format:
79+
* `projects/{project_id}/locations/{location}/hostGroups/{host_group_id}` This field can be
80+
* updated after the block device is created.
81+
* @return value or {@code null} for none
82+
*/
83+
public java.util.List<java.lang.String> getHostGroups() {
84+
return hostGroups;
85+
}
86+
87+
/**
88+
* Optional. A list of host groups that identify hosts that can mount the block volume. Format:
89+
* `projects/{project_id}/locations/{location}/hostGroups/{host_group_id}` This field can be
90+
* updated after the block device is created.
91+
* @param hostGroups hostGroups or {@code null} for none
92+
*/
93+
public BlockDevice setHostGroups(java.util.List<java.lang.String> hostGroups) {
94+
this.hostGroups = hostGroups;
95+
return this;
96+
}
97+
98+
/**
99+
* Output only. Device identifier of the Block volume. This represents lun_serial_number for iSCSI
100+
* volumes
101+
* @return value or {@code null} for none
102+
*/
103+
public java.lang.String getIdentifier() {
104+
return identifier;
105+
}
106+
107+
/**
108+
* Output only. Device identifier of the Block volume. This represents lun_serial_number for iSCSI
109+
* volumes
110+
* @param identifier identifier or {@code null} for none
111+
*/
112+
public BlockDevice setIdentifier(java.lang.String identifier) {
113+
this.identifier = identifier;
114+
return this;
115+
}
116+
117+
/**
118+
* 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
120+
* requirements: * Be between 1 and 255 characters long. * Contain only uppercase or lowercase
121+
* letters (A-Z, a-z), numbers (0-9), and the following special characters: "-", "_", "}", "{",
122+
* ".". * Spaces are not allowed.
123+
* @return value or {@code null} for none
124+
*/
125+
public java.lang.String getName() {
126+
return name;
127+
}
128+
129+
/**
130+
* 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
132+
* requirements: * Be between 1 and 255 characters long. * Contain only uppercase or lowercase
133+
* letters (A-Z, a-z), numbers (0-9), and the following special characters: "-", "_", "}", "{",
134+
* ".". * Spaces are not allowed.
135+
* @param name name or {@code null} for none
136+
*/
137+
public BlockDevice setName(java.lang.String name) {
138+
this.name = name;
139+
return this;
140+
}
141+
142+
/**
143+
* Required. Immutable. The OS type of the volume. This field can't be changed after the block
144+
* device is created.
145+
* @return value or {@code null} for none
146+
*/
147+
public java.lang.String getOsType() {
148+
return osType;
149+
}
150+
151+
/**
152+
* Required. Immutable. The OS type of the volume. This field can't be changed after the block
153+
* device is created.
154+
* @param osType osType or {@code null} for none
155+
*/
156+
public BlockDevice setOsType(java.lang.String osType) {
157+
this.osType = osType;
158+
return this;
159+
}
160+
161+
/**
162+
* Optional. The size of the block device in GiB. Any value provided in this field during Volume
163+
* creation is IGNORED. The block device's size is system-managed and will be set to match the
164+
* parent Volume's `capacity_gib`.
165+
* @return value or {@code null} for none
166+
*/
167+
public java.lang.Long getSizeGib() {
168+
return sizeGib;
169+
}
170+
171+
/**
172+
* Optional. The size of the block device in GiB. Any value provided in this field during Volume
173+
* creation is IGNORED. The block device's size is system-managed and will be set to match the
174+
* parent Volume's `capacity_gib`.
175+
* @param sizeGib sizeGib or {@code null} for none
176+
*/
177+
public BlockDevice setSizeGib(java.lang.Long sizeGib) {
178+
this.sizeGib = sizeGib;
179+
return this;
180+
}
181+
182+
@Override
183+
public BlockDevice set(String fieldName, Object value) {
184+
return (BlockDevice) super.set(fieldName, value);
185+
}
186+
187+
@Override
188+
public BlockDevice clone() {
189+
return (BlockDevice) super.clone();
190+
}
191+
192+
}

0 commit comments

Comments
 (0)