@@ -36,13 +36,39 @@ public final class BootDiskConfig extends com.google.api.client.json.GenericJson
36
36
@ com .google .api .client .util .Key
37
37
private CustomerEncryptionKey customerEncryptionKey ;
38
38
39
+ /**
40
+ * Optional. Size of the boot disk in GB. It must be larger than or equal to the size of the
41
+ * image.
42
+ * The value may be {@code null}.
43
+ */
44
+ @ com .google .api .client .util .Key @ com .google .api .client .json .JsonString
45
+ private java .lang .Long diskSizeGb ;
46
+
39
47
/**
40
48
* Optional. Whether the boot disk will be created with confidential compute mode.
41
49
* The value may be {@code null}.
42
50
*/
43
51
@ com .google .api .client .util .Key
44
52
private java .lang .Boolean enableConfidentialCompute ;
45
53
54
+ /**
55
+ * Optional. Indicates how many IOPS to provision for the disk. This sets the number of I/O
56
+ * operations per second that the disk can handle. To learn more about IOPS, see [Provisioning
57
+ * persistent disk
58
+ * performance](https://cloud.google.com/compute/docs/disks/performance#provisioned-iops).
59
+ * The value may be {@code null}.
60
+ */
61
+ @ com .google .api .client .util .Key @ com .google .api .client .json .JsonString
62
+ private java .lang .Long provisionedIops ;
63
+
64
+ /**
65
+ * Optional. Indicates how much throughput to provision for the disk. This sets the number of
66
+ * throughput MB per second that the disk can handle.
67
+ * The value may be {@code null}.
68
+ */
69
+ @ com .google .api .client .util .Key @ com .google .api .client .json .JsonString
70
+ private java .lang .Long provisionedThroughput ;
71
+
46
72
/**
47
73
* Optional. Image from which boot disk is to be created. If not specified, the default image for
48
74
* the runtime version will be used. Example: `projects/$PROJECT_ID/global/images/$IMAGE_NAME`.
@@ -68,6 +94,25 @@ public BootDiskConfig setCustomerEncryptionKey(CustomerEncryptionKey customerEnc
68
94
return this ;
69
95
}
70
96
97
+ /**
98
+ * Optional. Size of the boot disk in GB. It must be larger than or equal to the size of the
99
+ * image.
100
+ * @return value or {@code null} for none
101
+ */
102
+ public java .lang .Long getDiskSizeGb () {
103
+ return diskSizeGb ;
104
+ }
105
+
106
+ /**
107
+ * Optional. Size of the boot disk in GB. It must be larger than or equal to the size of the
108
+ * image.
109
+ * @param diskSizeGb diskSizeGb or {@code null} for none
110
+ */
111
+ public BootDiskConfig setDiskSizeGb (java .lang .Long diskSizeGb ) {
112
+ this .diskSizeGb = diskSizeGb ;
113
+ return this ;
114
+ }
115
+
71
116
/**
72
117
* Optional. Whether the boot disk will be created with confidential compute mode.
73
118
* @return value or {@code null} for none
@@ -85,6 +130,48 @@ public BootDiskConfig setEnableConfidentialCompute(java.lang.Boolean enableConfi
85
130
return this ;
86
131
}
87
132
133
+ /**
134
+ * Optional. Indicates how many IOPS to provision for the disk. This sets the number of I/O
135
+ * operations per second that the disk can handle. To learn more about IOPS, see [Provisioning
136
+ * persistent disk
137
+ * performance](https://cloud.google.com/compute/docs/disks/performance#provisioned-iops).
138
+ * @return value or {@code null} for none
139
+ */
140
+ public java .lang .Long getProvisionedIops () {
141
+ return provisionedIops ;
142
+ }
143
+
144
+ /**
145
+ * Optional. Indicates how many IOPS to provision for the disk. This sets the number of I/O
146
+ * operations per second that the disk can handle. To learn more about IOPS, see [Provisioning
147
+ * persistent disk
148
+ * performance](https://cloud.google.com/compute/docs/disks/performance#provisioned-iops).
149
+ * @param provisionedIops provisionedIops or {@code null} for none
150
+ */
151
+ public BootDiskConfig setProvisionedIops (java .lang .Long provisionedIops ) {
152
+ this .provisionedIops = provisionedIops ;
153
+ return this ;
154
+ }
155
+
156
+ /**
157
+ * Optional. Indicates how much throughput to provision for the disk. This sets the number of
158
+ * throughput MB per second that the disk can handle.
159
+ * @return value or {@code null} for none
160
+ */
161
+ public java .lang .Long getProvisionedThroughput () {
162
+ return provisionedThroughput ;
163
+ }
164
+
165
+ /**
166
+ * Optional. Indicates how much throughput to provision for the disk. This sets the number of
167
+ * throughput MB per second that the disk can handle.
168
+ * @param provisionedThroughput provisionedThroughput or {@code null} for none
169
+ */
170
+ public BootDiskConfig setProvisionedThroughput (java .lang .Long provisionedThroughput ) {
171
+ this .provisionedThroughput = provisionedThroughput ;
172
+ return this ;
173
+ }
174
+
88
175
/**
89
176
* Optional. Image from which boot disk is to be created. If not specified, the default image for
90
177
* the runtime version will be used. Example: `projects/$PROJECT_ID/global/images/$IMAGE_NAME`.
0 commit comments