Skip to content

Commit f157365

Browse files
feat(apigee): update the api
#### apigee:v1 The following keys were added: - resources.organizations.resources.environments.resources.securityIncidents.methods.batchUpdate (Total Keys: 12) - resources.organizations.resources.environments.resources.securityIncidents.methods.patch (Total Keys: 15) - schemas.GoogleCloudApigeeV1BatchUpdateSecurityIncidentsRequest (Total Keys: 4) - schemas.GoogleCloudApigeeV1BatchUpdateSecurityIncidentsResponse (Total Keys: 5) - schemas.GoogleCloudApigeeV1SecurityIncident.properties.lastObservabilityChangeTime (Total Keys: 3) - schemas.GoogleCloudApigeeV1SecurityIncident.properties.observability.type (Total Keys: 1) - schemas.GoogleCloudApigeeV1SecurityProfile.properties.displayName.deprecated (Total Keys: 1) - schemas.GoogleCloudApigeeV1UpdateSecurityIncidentRequest (Total Keys: 5)
1 parent 36cc2c9 commit f157365

File tree

4 files changed

+264
-20
lines changed

4 files changed

+264
-20
lines changed

docs/dyn/apigee_v1.organizations.environments.securityIncidents.html

Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@
7474

7575
<h1><a href="apigee_v1.html">Apigee API</a> . <a href="apigee_v1.organizations.html">organizations</a> . <a href="apigee_v1.organizations.environments.html">environments</a> . <a href="apigee_v1.organizations.environments.securityIncidents.html">securityIncidents</a></h1>
7676
<h2>Instance Methods</h2>
77+
<p class="toc_element">
78+
<code><a href="#batchUpdate">batchUpdate(parent, body=None, x__xgafv=None)</a></code></p>
79+
<p class="firstline">BatchUpdateSecurityIncident updates multiple existing security incidents.</p>
7780
<p class="toc_element">
7881
<code><a href="#close">close()</a></code></p>
7982
<p class="firstline">Close httplib2 connections.</p>
@@ -86,7 +89,67 @@ <h2>Instance Methods</h2>
8689
<p class="toc_element">
8790
<code><a href="#list_next">list_next()</a></code></p>
8891
<p class="firstline">Retrieves the next page of results.</p>
92+
<p class="toc_element">
93+
<code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
94+
<p class="firstline">UpdateSecurityIncidents updates an existing security incident.</p>
8995
<h3>Method Details</h3>
96+
<div class="method">
97+
<code class="details" id="batchUpdate">batchUpdate(parent, body=None, x__xgafv=None)</code>
98+
<pre>BatchUpdateSecurityIncident updates multiple existing security incidents.
99+
100+
Args:
101+
parent: string, Optional. The parent resource shared by all security incidents being updated. If this is set, the parent field in the UpdateSecurityIncidentRequest messages must either be empty or match this field. (required)
102+
body: object, The request body.
103+
The object takes the form of:
104+
105+
{ # Request for BatchUpdateSecurityIncident.
106+
&quot;requests&quot;: [ # Optional. Required. The request message specifying the resources to update. A maximum of 1000 can be modified in a batch.
107+
{ # Request for UpdateSecurityIncident.
108+
&quot;securityIncident&quot;: { # Represents an SecurityIncident resource. # Required. The security incident to update. Must contain all existing populated fields of the current incident.
109+
&quot;detectionTypes&quot;: [ # Output only. Detection types which are part of the incident. Examples: Flooder, OAuth Abuser, Static Content Scraper, Anomaly Detection.
110+
&quot;A String&quot;,
111+
],
112+
&quot;displayName&quot;: &quot;A String&quot;, # Optional. Display name of the security incident.
113+
&quot;firstDetectedTime&quot;: &quot;A String&quot;, # Output only. The time when events associated with the incident were first detected.
114+
&quot;lastDetectedTime&quot;: &quot;A String&quot;, # Output only. The time when events associated with the incident were last detected.
115+
&quot;lastObservabilityChangeTime&quot;: &quot;A String&quot;, # Output only. The time when the incident observability was last changed.
116+
&quot;name&quot;: &quot;A String&quot;, # Immutable. Name of the security incident resource. Format: organizations/{org}/environments/{environment}/securityIncidents/{incident} Example: organizations/apigee-org/environments/dev/securityIncidents/1234-5678-9101-1111
117+
&quot;observability&quot;: &quot;A String&quot;, # Optional. Indicates if the user archived this incident.
118+
&quot;riskLevel&quot;: &quot;A String&quot;, # Output only. Risk level of the incident.
119+
&quot;trafficCount&quot;: &quot;A String&quot;, # Total traffic detected as part of the incident.
120+
},
121+
&quot;updateMask&quot;: &quot;A String&quot;, # Required. The list of fields to update. Allowed fields are: LINT.IfChange(allowed_update_fields_comment) - observability LINT.ThenChange()
122+
},
123+
],
124+
}
125+
126+
x__xgafv: string, V1 error format.
127+
Allowed values
128+
1 - v1 error format
129+
2 - v2 error format
130+
131+
Returns:
132+
An object of the form:
133+
134+
{ # Response for BatchUpdateSecurityIncident.
135+
&quot;securityIncidents&quot;: [ # Output only. Updated security incidents
136+
{ # Represents an SecurityIncident resource.
137+
&quot;detectionTypes&quot;: [ # Output only. Detection types which are part of the incident. Examples: Flooder, OAuth Abuser, Static Content Scraper, Anomaly Detection.
138+
&quot;A String&quot;,
139+
],
140+
&quot;displayName&quot;: &quot;A String&quot;, # Optional. Display name of the security incident.
141+
&quot;firstDetectedTime&quot;: &quot;A String&quot;, # Output only. The time when events associated with the incident were first detected.
142+
&quot;lastDetectedTime&quot;: &quot;A String&quot;, # Output only. The time when events associated with the incident were last detected.
143+
&quot;lastObservabilityChangeTime&quot;: &quot;A String&quot;, # Output only. The time when the incident observability was last changed.
144+
&quot;name&quot;: &quot;A String&quot;, # Immutable. Name of the security incident resource. Format: organizations/{org}/environments/{environment}/securityIncidents/{incident} Example: organizations/apigee-org/environments/dev/securityIncidents/1234-5678-9101-1111
145+
&quot;observability&quot;: &quot;A String&quot;, # Optional. Indicates if the user archived this incident.
146+
&quot;riskLevel&quot;: &quot;A String&quot;, # Output only. Risk level of the incident.
147+
&quot;trafficCount&quot;: &quot;A String&quot;, # Total traffic detected as part of the incident.
148+
},
149+
],
150+
}</pre>
151+
</div>
152+
90153
<div class="method">
91154
<code class="details" id="close">close()</code>
92155
<pre>Close httplib2 connections.</pre>
@@ -113,7 +176,9 @@ <h3>Method Details</h3>
113176
&quot;displayName&quot;: &quot;A String&quot;, # Optional. Display name of the security incident.
114177
&quot;firstDetectedTime&quot;: &quot;A String&quot;, # Output only. The time when events associated with the incident were first detected.
115178
&quot;lastDetectedTime&quot;: &quot;A String&quot;, # Output only. The time when events associated with the incident were last detected.
179+
&quot;lastObservabilityChangeTime&quot;: &quot;A String&quot;, # Output only. The time when the incident observability was last changed.
116180
&quot;name&quot;: &quot;A String&quot;, # Immutable. Name of the security incident resource. Format: organizations/{org}/environments/{environment}/securityIncidents/{incident} Example: organizations/apigee-org/environments/dev/securityIncidents/1234-5678-9101-1111
181+
&quot;observability&quot;: &quot;A String&quot;, # Optional. Indicates if the user archived this incident.
117182
&quot;riskLevel&quot;: &quot;A String&quot;, # Output only. Risk level of the incident.
118183
&quot;trafficCount&quot;: &quot;A String&quot;, # Total traffic detected as part of the incident.
119184
}</pre>
@@ -146,7 +211,9 @@ <h3>Method Details</h3>
146211
&quot;displayName&quot;: &quot;A String&quot;, # Optional. Display name of the security incident.
147212
&quot;firstDetectedTime&quot;: &quot;A String&quot;, # Output only. The time when events associated with the incident were first detected.
148213
&quot;lastDetectedTime&quot;: &quot;A String&quot;, # Output only. The time when events associated with the incident were last detected.
214+
&quot;lastObservabilityChangeTime&quot;: &quot;A String&quot;, # Output only. The time when the incident observability was last changed.
149215
&quot;name&quot;: &quot;A String&quot;, # Immutable. Name of the security incident resource. Format: organizations/{org}/environments/{environment}/securityIncidents/{incident} Example: organizations/apigee-org/environments/dev/securityIncidents/1234-5678-9101-1111
216+
&quot;observability&quot;: &quot;A String&quot;, # Optional. Indicates if the user archived this incident.
150217
&quot;riskLevel&quot;: &quot;A String&quot;, # Output only. Risk level of the incident.
151218
&quot;trafficCount&quot;: &quot;A String&quot;, # Total traffic detected as part of the incident.
152219
},
@@ -168,4 +235,51 @@ <h3>Method Details</h3>
168235
</pre>
169236
</div>
170237

238+
<div class="method">
239+
<code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
240+
<pre>UpdateSecurityIncidents updates an existing security incident.
241+
242+
Args:
243+
name: string, Immutable. Name of the security incident resource. Format: organizations/{org}/environments/{environment}/securityIncidents/{incident} Example: organizations/apigee-org/environments/dev/securityIncidents/1234-5678-9101-1111 (required)
244+
body: object, The request body.
245+
The object takes the form of:
246+
247+
{ # Represents an SecurityIncident resource.
248+
&quot;detectionTypes&quot;: [ # Output only. Detection types which are part of the incident. Examples: Flooder, OAuth Abuser, Static Content Scraper, Anomaly Detection.
249+
&quot;A String&quot;,
250+
],
251+
&quot;displayName&quot;: &quot;A String&quot;, # Optional. Display name of the security incident.
252+
&quot;firstDetectedTime&quot;: &quot;A String&quot;, # Output only. The time when events associated with the incident were first detected.
253+
&quot;lastDetectedTime&quot;: &quot;A String&quot;, # Output only. The time when events associated with the incident were last detected.
254+
&quot;lastObservabilityChangeTime&quot;: &quot;A String&quot;, # Output only. The time when the incident observability was last changed.
255+
&quot;name&quot;: &quot;A String&quot;, # Immutable. Name of the security incident resource. Format: organizations/{org}/environments/{environment}/securityIncidents/{incident} Example: organizations/apigee-org/environments/dev/securityIncidents/1234-5678-9101-1111
256+
&quot;observability&quot;: &quot;A String&quot;, # Optional. Indicates if the user archived this incident.
257+
&quot;riskLevel&quot;: &quot;A String&quot;, # Output only. Risk level of the incident.
258+
&quot;trafficCount&quot;: &quot;A String&quot;, # Total traffic detected as part of the incident.
259+
}
260+
261+
updateMask: string, Required. The list of fields to update. Allowed fields are: LINT.IfChange(allowed_update_fields_comment) - observability LINT.ThenChange()
262+
x__xgafv: string, V1 error format.
263+
Allowed values
264+
1 - v1 error format
265+
2 - v2 error format
266+
267+
Returns:
268+
An object of the form:
269+
270+
{ # Represents an SecurityIncident resource.
271+
&quot;detectionTypes&quot;: [ # Output only. Detection types which are part of the incident. Examples: Flooder, OAuth Abuser, Static Content Scraper, Anomaly Detection.
272+
&quot;A String&quot;,
273+
],
274+
&quot;displayName&quot;: &quot;A String&quot;, # Optional. Display name of the security incident.
275+
&quot;firstDetectedTime&quot;: &quot;A String&quot;, # Output only. The time when events associated with the incident were first detected.
276+
&quot;lastDetectedTime&quot;: &quot;A String&quot;, # Output only. The time when events associated with the incident were last detected.
277+
&quot;lastObservabilityChangeTime&quot;: &quot;A String&quot;, # Output only. The time when the incident observability was last changed.
278+
&quot;name&quot;: &quot;A String&quot;, # Immutable. Name of the security incident resource. Format: organizations/{org}/environments/{environment}/securityIncidents/{incident} Example: organizations/apigee-org/environments/dev/securityIncidents/1234-5678-9101-1111
279+
&quot;observability&quot;: &quot;A String&quot;, # Optional. Indicates if the user archived this incident.
280+
&quot;riskLevel&quot;: &quot;A String&quot;, # Output only. Risk level of the incident.
281+
&quot;trafficCount&quot;: &quot;A String&quot;, # Total traffic detected as part of the incident.
282+
}</pre>
283+
</div>
284+
171285
</body></html>

docs/dyn/apigee_v1.organizations.securityProfiles.environments.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ <h3>Method Details</h3>
215215
{ # Represents a SecurityProfileEnvironmentAssociation resource.
216216
&quot;attachTime&quot;: &quot;A String&quot;, # Output only. The time when environment was attached to the security profile.
217217
&quot;name&quot;: &quot;A String&quot;, # Immutable. Name of the environment that the profile is attached to.
218-
&quot;securityProfileRevisionId&quot;: &quot;A String&quot;, # Revision ID of the security profile.
218+
&quot;securityProfileRevisionId&quot;: &quot;A String&quot;, # DEPRECATED: DO NOT USE Revision ID of the security profile.
219219
}
220220

221221
x__xgafv: string, V1 error format.
@@ -229,7 +229,7 @@ <h3>Method Details</h3>
229229
{ # Represents a SecurityProfileEnvironmentAssociation resource.
230230
&quot;attachTime&quot;: &quot;A String&quot;, # Output only. The time when environment was attached to the security profile.
231231
&quot;name&quot;: &quot;A String&quot;, # Immutable. Name of the environment that the profile is attached to.
232-
&quot;securityProfileRevisionId&quot;: &quot;A String&quot;, # Revision ID of the security profile.
232+
&quot;securityProfileRevisionId&quot;: &quot;A String&quot;, # DEPRECATED: DO NOT USE Revision ID of the security profile.
233233
}</pre>
234234
</div>
235235

0 commit comments

Comments
 (0)