You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<pre>Get the VirtualMachineThreatDetectionSettings resource.
233
+
234
+
Args:
235
+
name: string, Required. The name of the VirtualMachineThreatDetectionSettings to retrieve. Formats: * organizations/{organization}/virtualMachineThreatDetectionSettings * folders/{folder}/virtualMachineThreatDetectionSettings * projects/{project}/virtualMachineThreatDetectionSettings (required)
236
+
x__xgafv: string, V1 error format.
237
+
Allowed values
238
+
1 - v1 error format
239
+
2 - v2 error format
240
+
241
+
Returns:
242
+
An object of the form:
243
+
244
+
{ # Resource capturing the settings for the Virtual Machine Threat Detection service.
245
+
"modules": { # The configurations including the state of enablement for the service's different modules. The absence of a module in the map implies its configuration is inherited from its parent's.
246
+
"a_key": { # Configuration of a module.
247
+
"moduleEnablementState": "A String", # The state of enablement for the module at its level of the resource hierarchy.
248
+
"value": { # The configuration value for the module. The absence of this field implies its inheritance from the parent.
249
+
"a_key": "", # Properties of the object.
250
+
},
251
+
},
252
+
},
253
+
"name": "A String", # The resource name of the VirtualMachineThreatDetectionSettings. Formats: * organizations/{organization}/virtualMachineThreatDetectionSettings * folders/{folder}/virtualMachineThreatDetectionSettings * projects/{project}/virtualMachineThreatDetectionSettings
254
+
"serviceAccount": "A String", # Output only. The service account used by Virtual Machine Threat Detection detectors.
255
+
"serviceEnablementState": "A String", # The state of enablement for the service at its level of the resource hierarchy. A DISABLED state will override all module enablement_states to DISABLED.
256
+
"updateTime": "A String", # Output only. The time the settings were last updated.
<pre>Update the VirtualMachineThreatDetectionSettings resource.
437
+
438
+
Args:
439
+
name: string, The resource name of the VirtualMachineThreatDetectionSettings. Formats: * organizations/{organization}/virtualMachineThreatDetectionSettings * folders/{folder}/virtualMachineThreatDetectionSettings * projects/{project}/virtualMachineThreatDetectionSettings (required)
440
+
body: object, The request body.
441
+
The object takes the form of:
442
+
443
+
{ # Resource capturing the settings for the Virtual Machine Threat Detection service.
444
+
"modules": { # The configurations including the state of enablement for the service's different modules. The absence of a module in the map implies its configuration is inherited from its parent's.
445
+
"a_key": { # Configuration of a module.
446
+
"moduleEnablementState": "A String", # The state of enablement for the module at its level of the resource hierarchy.
447
+
"value": { # The configuration value for the module. The absence of this field implies its inheritance from the parent.
448
+
"a_key": "", # Properties of the object.
449
+
},
450
+
},
451
+
},
452
+
"name": "A String", # The resource name of the VirtualMachineThreatDetectionSettings. Formats: * organizations/{organization}/virtualMachineThreatDetectionSettings * folders/{folder}/virtualMachineThreatDetectionSettings * projects/{project}/virtualMachineThreatDetectionSettings
453
+
"serviceAccount": "A String", # Output only. The service account used by Virtual Machine Threat Detection detectors.
454
+
"serviceEnablementState": "A String", # The state of enablement for the service at its level of the resource hierarchy. A DISABLED state will override all module enablement_states to DISABLED.
455
+
"updateTime": "A String", # Output only. The time the settings were last updated.
456
+
}
457
+
458
+
updateMask: string, The list of fields to be updated.
459
+
x__xgafv: string, V1 error format.
460
+
Allowed values
461
+
1 - v1 error format
462
+
2 - v2 error format
463
+
464
+
Returns:
465
+
An object of the form:
466
+
467
+
{ # Resource capturing the settings for the Virtual Machine Threat Detection service.
468
+
"modules": { # The configurations including the state of enablement for the service's different modules. The absence of a module in the map implies its configuration is inherited from its parent's.
469
+
"a_key": { # Configuration of a module.
470
+
"moduleEnablementState": "A String", # The state of enablement for the module at its level of the resource hierarchy.
471
+
"value": { # The configuration value for the module. The absence of this field implies its inheritance from the parent.
472
+
"a_key": "", # Properties of the object.
473
+
},
474
+
},
475
+
},
476
+
"name": "A String", # The resource name of the VirtualMachineThreatDetectionSettings. Formats: * organizations/{organization}/virtualMachineThreatDetectionSettings * folders/{folder}/virtualMachineThreatDetectionSettings * projects/{project}/virtualMachineThreatDetectionSettings
477
+
"serviceAccount": "A String", # Output only. The service account used by Virtual Machine Threat Detection detectors.
478
+
"serviceEnablementState": "A String", # The state of enablement for the service at its level of the resource hierarchy. A DISABLED state will override all module enablement_states to DISABLED.
479
+
"updateTime": "A String", # Output only. The time the settings were last updated.
<pre>Calculates the effective VirtualMachineThreatDetectionSettings based on its level in the resource hierarchy and its settings.
87
+
88
+
Args:
89
+
name: string, Required. The name of the VirtualMachineThreatDetectionSettings to calculate. Formats: * organizations/{organization}/virtualMachineThreatDetectionSettings * folders/{folder}/virtualMachineThreatDetectionSettings * projects/{project}/virtualMachineThreatDetectionSettings (required)
90
+
x__xgafv: string, V1 error format.
91
+
Allowed values
92
+
1 - v1 error format
93
+
2 - v2 error format
94
+
95
+
Returns:
96
+
An object of the form:
97
+
98
+
{ # Resource capturing the settings for the Virtual Machine Threat Detection service.
99
+
"modules": { # The configurations including the state of enablement for the service's different modules. The absence of a module in the map implies its configuration is inherited from its parent's.
100
+
"a_key": { # Configuration of a module.
101
+
"moduleEnablementState": "A String", # The state of enablement for the module at its level of the resource hierarchy.
102
+
"value": { # The configuration value for the module. The absence of this field implies its inheritance from the parent.
103
+
"a_key": "", # Properties of the object.
104
+
},
105
+
},
106
+
},
107
+
"name": "A String", # The resource name of the VirtualMachineThreatDetectionSettings. Formats: * organizations/{organization}/virtualMachineThreatDetectionSettings * folders/{folder}/virtualMachineThreatDetectionSettings * projects/{project}/virtualMachineThreatDetectionSettings
108
+
"serviceAccount": "A String", # Output only. The service account used by Virtual Machine Threat Detection detectors.
109
+
"serviceEnablementState": "A String", # The state of enablement for the service at its level of the resource hierarchy. A DISABLED state will override all module enablement_states to DISABLED.
110
+
"updateTime": "A String", # Output only. The time the settings were last updated.
0 commit comments