Skip to content

Commit db02cdb

Browse files
feat(securitycenter): update the api
#### securitycenter:v1beta2 The following keys were added: - resources.folders.methods.getVirtualMachineThreatDetectionSettings (Total Keys: 11) - resources.folders.methods.updateVirtualMachineThreatDetectionSettings (Total Keys: 15) - resources.folders.resources.virtualMachineThreatDetectionSettings.methods.calculate (Total Keys: 11) - resources.organizations.methods.getVirtualMachineThreatDetectionSettings (Total Keys: 11) - resources.organizations.methods.updateVirtualMachineThreatDetectionSettings (Total Keys: 15) - resources.organizations.resources.virtualMachineThreatDetectionSettings.methods.calculate (Total Keys: 11) - resources.projects.methods.getVirtualMachineThreatDetectionSettings (Total Keys: 11) - resources.projects.methods.updateVirtualMachineThreatDetectionSettings (Total Keys: 15) - resources.projects.resources.virtualMachineThreatDetectionSettings.methods.calculate (Total Keys: 11) - schemas.VirtualMachineThreatDetectionSettings (Total Keys: 11)
1 parent a37697d commit db02cdb

9 files changed

+939
-3
lines changed

docs/dyn/securitycenter_v1beta2.folders.html

+90
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,11 @@ <h2>Instance Methods</h2>
8989
</p>
9090
<p class="firstline">Returns the securityHealthAnalyticsSettings Resource.</p>
9191

92+
<p class="toc_element">
93+
<code><a href="securitycenter_v1beta2.folders.virtualMachineThreatDetectionSettings.html">virtualMachineThreatDetectionSettings()</a></code>
94+
</p>
95+
<p class="firstline">Returns the virtualMachineThreatDetectionSettings Resource.</p>
96+
9297
<p class="toc_element">
9398
<code><a href="securitycenter_v1beta2.folders.webSecurityScannerSettings.html">webSecurityScannerSettings()</a></code>
9499
</p>
@@ -106,6 +111,9 @@ <h2>Instance Methods</h2>
106111
<p class="toc_element">
107112
<code><a href="#getSecurityHealthAnalyticsSettings">getSecurityHealthAnalyticsSettings(name, x__xgafv=None)</a></code></p>
108113
<p class="firstline">Get the SecurityHealthAnalyticsSettings resource.</p>
114+
<p class="toc_element">
115+
<code><a href="#getVirtualMachineThreatDetectionSettings">getVirtualMachineThreatDetectionSettings(name, x__xgafv=None)</a></code></p>
116+
<p class="firstline">Get the VirtualMachineThreatDetectionSettings resource.</p>
109117
<p class="toc_element">
110118
<code><a href="#getWebSecurityScannerSettings">getWebSecurityScannerSettings(name, x__xgafv=None)</a></code></p>
111119
<p class="firstline">Get the WebSecurityScannerSettings resource.</p>
@@ -118,6 +126,9 @@ <h2>Instance Methods</h2>
118126
<p class="toc_element">
119127
<code><a href="#updateSecurityHealthAnalyticsSettings">updateSecurityHealthAnalyticsSettings(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
120128
<p class="firstline">Update the SecurityHealthAnalyticsSettings resource.</p>
129+
<p class="toc_element">
130+
<code><a href="#updateVirtualMachineThreatDetectionSettings">updateVirtualMachineThreatDetectionSettings(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
131+
<p class="firstline">Update the VirtualMachineThreatDetectionSettings resource.</p>
121132
<p class="toc_element">
122133
<code><a href="#updateWebSecurityScannerSettings">updateWebSecurityScannerSettings(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
123134
<p class="firstline">Update the WebSecurityScannerSettings resource.</p>
@@ -216,6 +227,36 @@ <h3>Method Details</h3>
216227
}</pre>
217228
</div>
218229

230+
<div class="method">
231+
<code class="details" id="getVirtualMachineThreatDetectionSettings">getVirtualMachineThreatDetectionSettings(name, x__xgafv=None)</code>
232+
<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+
&quot;modules&quot;: { # The configurations including the state of enablement for the service&#x27;s different modules. The absence of a module in the map implies its configuration is inherited from its parent&#x27;s.
246+
&quot;a_key&quot;: { # Configuration of a module.
247+
&quot;moduleEnablementState&quot;: &quot;A String&quot;, # The state of enablement for the module at its level of the resource hierarchy.
248+
&quot;value&quot;: { # The configuration value for the module. The absence of this field implies its inheritance from the parent.
249+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object.
250+
},
251+
},
252+
},
253+
&quot;name&quot;: &quot;A String&quot;, # The resource name of the VirtualMachineThreatDetectionSettings. Formats: * organizations/{organization}/virtualMachineThreatDetectionSettings * folders/{folder}/virtualMachineThreatDetectionSettings * projects/{project}/virtualMachineThreatDetectionSettings
254+
&quot;serviceAccount&quot;: &quot;A String&quot;, # Output only. The service account used by Virtual Machine Threat Detection detectors.
255+
&quot;serviceEnablementState&quot;: &quot;A String&quot;, # 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+
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time the settings were last updated.
257+
}</pre>
258+
</div>
259+
219260
<div class="method">
220261
<code class="details" id="getWebSecurityScannerSettings">getWebSecurityScannerSettings(name, x__xgafv=None)</code>
221262
<pre>Get the WebSecurityScannerSettings resource.
@@ -390,6 +431,55 @@ <h3>Method Details</h3>
390431
}</pre>
391432
</div>
392433

434+
<div class="method">
435+
<code class="details" id="updateVirtualMachineThreatDetectionSettings">updateVirtualMachineThreatDetectionSettings(name, body=None, updateMask=None, x__xgafv=None)</code>
436+
<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+
&quot;modules&quot;: { # The configurations including the state of enablement for the service&#x27;s different modules. The absence of a module in the map implies its configuration is inherited from its parent&#x27;s.
445+
&quot;a_key&quot;: { # Configuration of a module.
446+
&quot;moduleEnablementState&quot;: &quot;A String&quot;, # The state of enablement for the module at its level of the resource hierarchy.
447+
&quot;value&quot;: { # The configuration value for the module. The absence of this field implies its inheritance from the parent.
448+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object.
449+
},
450+
},
451+
},
452+
&quot;name&quot;: &quot;A String&quot;, # The resource name of the VirtualMachineThreatDetectionSettings. Formats: * organizations/{organization}/virtualMachineThreatDetectionSettings * folders/{folder}/virtualMachineThreatDetectionSettings * projects/{project}/virtualMachineThreatDetectionSettings
453+
&quot;serviceAccount&quot;: &quot;A String&quot;, # Output only. The service account used by Virtual Machine Threat Detection detectors.
454+
&quot;serviceEnablementState&quot;: &quot;A String&quot;, # 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+
&quot;updateTime&quot;: &quot;A String&quot;, # 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+
&quot;modules&quot;: { # The configurations including the state of enablement for the service&#x27;s different modules. The absence of a module in the map implies its configuration is inherited from its parent&#x27;s.
469+
&quot;a_key&quot;: { # Configuration of a module.
470+
&quot;moduleEnablementState&quot;: &quot;A String&quot;, # The state of enablement for the module at its level of the resource hierarchy.
471+
&quot;value&quot;: { # The configuration value for the module. The absence of this field implies its inheritance from the parent.
472+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object.
473+
},
474+
},
475+
},
476+
&quot;name&quot;: &quot;A String&quot;, # The resource name of the VirtualMachineThreatDetectionSettings. Formats: * organizations/{organization}/virtualMachineThreatDetectionSettings * folders/{folder}/virtualMachineThreatDetectionSettings * projects/{project}/virtualMachineThreatDetectionSettings
477+
&quot;serviceAccount&quot;: &quot;A String&quot;, # Output only. The service account used by Virtual Machine Threat Detection detectors.
478+
&quot;serviceEnablementState&quot;: &quot;A String&quot;, # 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+
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time the settings were last updated.
480+
}</pre>
481+
</div>
482+
393483
<div class="method">
394484
<code class="details" id="updateWebSecurityScannerSettings">updateWebSecurityScannerSettings(name, body=None, updateMask=None, x__xgafv=None)</code>
395485
<pre>Update the WebSecurityScannerSettings resource.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
<html><body>
2+
<style>
3+
4+
body, h1, h2, h3, div, span, p, pre, a {
5+
margin: 0;
6+
padding: 0;
7+
border: 0;
8+
font-weight: inherit;
9+
font-style: inherit;
10+
font-size: 100%;
11+
font-family: inherit;
12+
vertical-align: baseline;
13+
}
14+
15+
body {
16+
font-size: 13px;
17+
padding: 1em;
18+
}
19+
20+
h1 {
21+
font-size: 26px;
22+
margin-bottom: 1em;
23+
}
24+
25+
h2 {
26+
font-size: 24px;
27+
margin-bottom: 1em;
28+
}
29+
30+
h3 {
31+
font-size: 20px;
32+
margin-bottom: 1em;
33+
margin-top: 1em;
34+
}
35+
36+
pre, code {
37+
line-height: 1.5;
38+
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39+
}
40+
41+
pre {
42+
margin-top: 0.5em;
43+
}
44+
45+
h1, h2, h3, p {
46+
font-family: Arial, sans serif;
47+
}
48+
49+
h1, h2, h3 {
50+
border-bottom: solid #CCC 1px;
51+
}
52+
53+
.toc_element {
54+
margin-top: 0.5em;
55+
}
56+
57+
.firstline {
58+
margin-left: 2 em;
59+
}
60+
61+
.method {
62+
margin-top: 1em;
63+
border: solid 1px #CCC;
64+
padding: 1em;
65+
background: #EEE;
66+
}
67+
68+
.details {
69+
font-weight: bold;
70+
font-size: 14px;
71+
}
72+
73+
</style>
74+
75+
<h1><a href="securitycenter_v1beta2.html">Security Command Center API</a> . <a href="securitycenter_v1beta2.folders.html">folders</a> . <a href="securitycenter_v1beta2.folders.virtualMachineThreatDetectionSettings.html">virtualMachineThreatDetectionSettings</a></h1>
76+
<h2>Instance Methods</h2>
77+
<p class="toc_element">
78+
<code><a href="#calculate">calculate(name, x__xgafv=None)</a></code></p>
79+
<p class="firstline">Calculates the effective VirtualMachineThreatDetectionSettings based on its level in the resource hierarchy and its settings.</p>
80+
<p class="toc_element">
81+
<code><a href="#close">close()</a></code></p>
82+
<p class="firstline">Close httplib2 connections.</p>
83+
<h3>Method Details</h3>
84+
<div class="method">
85+
<code class="details" id="calculate">calculate(name, x__xgafv=None)</code>
86+
<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+
&quot;modules&quot;: { # The configurations including the state of enablement for the service&#x27;s different modules. The absence of a module in the map implies its configuration is inherited from its parent&#x27;s.
100+
&quot;a_key&quot;: { # Configuration of a module.
101+
&quot;moduleEnablementState&quot;: &quot;A String&quot;, # The state of enablement for the module at its level of the resource hierarchy.
102+
&quot;value&quot;: { # The configuration value for the module. The absence of this field implies its inheritance from the parent.
103+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object.
104+
},
105+
},
106+
},
107+
&quot;name&quot;: &quot;A String&quot;, # The resource name of the VirtualMachineThreatDetectionSettings. Formats: * organizations/{organization}/virtualMachineThreatDetectionSettings * folders/{folder}/virtualMachineThreatDetectionSettings * projects/{project}/virtualMachineThreatDetectionSettings
108+
&quot;serviceAccount&quot;: &quot;A String&quot;, # Output only. The service account used by Virtual Machine Threat Detection detectors.
109+
&quot;serviceEnablementState&quot;: &quot;A String&quot;, # 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+
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time the settings were last updated.
111+
}</pre>
112+
</div>
113+
114+
<div class="method">
115+
<code class="details" id="close">close()</code>
116+
<pre>Close httplib2 connections.</pre>
117+
</div>
118+
119+
</body></html>

0 commit comments

Comments
 (0)