@@ -229,18 +229,19 @@ type Label struct {
229
229
230
230
// LaunchSpecification defines launch attributes for the Group. LaunchSpecification is an element of Compute.
231
231
type LaunchSpecification struct {
232
- BackendServiceConfig * BackendServiceConfig `json:"backendServiceConfig,omitempty"`
233
- Disks []* Disk `json:"disks,omitempty"`
234
- Labels []* Label `json:"labels,omitempty"`
235
- IPForwarding * bool `json:"ipForwarding,omitempty"`
236
- NetworkInterfaces []* NetworkInterface `json:"networkInterfaces,omitempty"`
237
- Metadata []* Metadata `json:"metadata,omitempty"`
238
- ServiceAccount * string `json:"serviceAccount,omitempty"`
239
- StartupScript * string `json:"startupScript,omitempty"`
240
- ShutdownScript * string `json:"shutdownScript,omitempty"`
241
- Tags []string `json:"tags,omitempty"`
242
- InstanceNamePrefix * string `json:"instanceNamePrefix,omitempty"`
243
- MinCpuPlatform * string `json:"minCpuPlatform,omitempty"`
232
+ BackendServiceConfig * BackendServiceConfig `json:"backendServiceConfig,omitempty"`
233
+ Disks []* Disk `json:"disks,omitempty"`
234
+ Labels []* Label `json:"labels,omitempty"`
235
+ IPForwarding * bool `json:"ipForwarding,omitempty"`
236
+ NetworkInterfaces []* NetworkInterface `json:"networkInterfaces,omitempty"`
237
+ Metadata []* Metadata `json:"metadata,omitempty"`
238
+ ServiceAccount * string `json:"serviceAccount,omitempty"`
239
+ StartupScript * string `json:"startupScript,omitempty"`
240
+ ShutdownScript * string `json:"shutdownScript,omitempty"`
241
+ Tags []string `json:"tags,omitempty"`
242
+ InstanceNamePrefix * string `json:"instanceNamePrefix,omitempty"`
243
+ MinCpuPlatform * string `json:"minCpuPlatform,omitempty"`
244
+ ShieldedInstanceConfig * ShieldedInstanceConfig `json:"shieldedInstanceConfig,omitempty"`
244
245
245
246
forceSendFields []string
246
247
nullFields []string
@@ -284,6 +285,14 @@ type Subnet struct {
284
285
nullFields []string
285
286
}
286
287
288
+ type ShieldedInstanceConfig struct {
289
+ EnableSecureBoot * bool `json:"enableSecureBoot,omitempty"`
290
+ EnableIntegrityMonitoring * bool `json:"enableIntegrityMonitoring,omitempty"`
291
+
292
+ forceSendFields []string
293
+ nullFields []string
294
+ }
295
+
287
296
// endregion
288
297
289
298
// region GKE structs
@@ -1337,6 +1346,13 @@ func (o *LaunchSpecification) SetMinCpuPlatform(v *string) *LaunchSpecification
1337
1346
return o
1338
1347
}
1339
1348
1349
+ func (o * LaunchSpecification ) SetShieldedInstanceConfig (v * ShieldedInstanceConfig ) * LaunchSpecification {
1350
+ if o .ShieldedInstanceConfig = v ; o .ShieldedInstanceConfig == nil {
1351
+ o .nullFields = append (o .nullFields , "ShieldedInstanceConfig" )
1352
+ }
1353
+ return o
1354
+ }
1355
+
1340
1356
// region BackendServiceConfig setters
1341
1357
1342
1358
func (o BackendServiceConfig ) MarshalJSON () ([]byte , error ) {
@@ -2242,3 +2258,23 @@ func (o *Strategy) SetShouldUtilizeCommitments(v *bool) *Strategy {
2242
2258
}
2243
2259
2244
2260
// endregion
2261
+
2262
+ func (o ShieldedInstanceConfig ) MarshalJSON () ([]byte , error ) {
2263
+ type noMethod ShieldedInstanceConfig
2264
+ raw := noMethod (o )
2265
+ return jsonutil .MarshalJSON (raw , o .forceSendFields , o .nullFields )
2266
+ }
2267
+
2268
+ func (o * ShieldedInstanceConfig ) SetEnableSecureBoot (v * bool ) * ShieldedInstanceConfig {
2269
+ if o .EnableSecureBoot = v ; o .EnableSecureBoot == nil {
2270
+ o .nullFields = append (o .nullFields , "EnableSecureBoot" )
2271
+ }
2272
+ return o
2273
+ }
2274
+
2275
+ func (o * ShieldedInstanceConfig ) SetEnableIntegrityMonitoring (v * bool ) * ShieldedInstanceConfig {
2276
+ if o .EnableIntegrityMonitoring = v ; o .EnableIntegrityMonitoring == nil {
2277
+ o .nullFields = append (o .nullFields , "EnableIntegrityMonitoring" )
2278
+ }
2279
+ return o
2280
+ }
0 commit comments