Skip to content

Commit

Permalink
feat(apigee): update the api
Browse files Browse the repository at this point in the history
#### 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)
  • Loading branch information
yoshi-automation committed Dec 7, 2023
1 parent 36cc2c9 commit f157365
Show file tree
Hide file tree
Showing 4 changed files with 264 additions and 20 deletions.
114 changes: 114 additions & 0 deletions docs/dyn/apigee_v1.organizations.environments.securityIncidents.html
Expand Up @@ -74,6 +74,9 @@

<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>
<h2>Instance Methods</h2>
<p class="toc_element">
<code><a href="#batchUpdate">batchUpdate(parent, body=None, x__xgafv=None)</a></code></p>
<p class="firstline">BatchUpdateSecurityIncident updates multiple existing security incidents.</p>
<p class="toc_element">
<code><a href="#close">close()</a></code></p>
<p class="firstline">Close httplib2 connections.</p>
Expand All @@ -86,7 +89,67 @@ <h2>Instance Methods</h2>
<p class="toc_element">
<code><a href="#list_next">list_next()</a></code></p>
<p class="firstline">Retrieves the next page of results.</p>
<p class="toc_element">
<code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
<p class="firstline">UpdateSecurityIncidents updates an existing security incident.</p>
<h3>Method Details</h3>
<div class="method">
<code class="details" id="batchUpdate">batchUpdate(parent, body=None, x__xgafv=None)</code>
<pre>BatchUpdateSecurityIncident updates multiple existing security incidents.

Args:
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)
body: object, The request body.
The object takes the form of:

{ # Request for BatchUpdateSecurityIncident.
&quot;requests&quot;: [ # Optional. Required. The request message specifying the resources to update. A maximum of 1000 can be modified in a batch.
{ # Request for UpdateSecurityIncident.
&quot;securityIncident&quot;: { # Represents an SecurityIncident resource. # Required. The security incident to update. Must contain all existing populated fields of the current incident.
&quot;detectionTypes&quot;: [ # Output only. Detection types which are part of the incident. Examples: Flooder, OAuth Abuser, Static Content Scraper, Anomaly Detection.
&quot;A String&quot;,
],
&quot;displayName&quot;: &quot;A String&quot;, # Optional. Display name of the security incident.
&quot;firstDetectedTime&quot;: &quot;A String&quot;, # Output only. The time when events associated with the incident were first detected.
&quot;lastDetectedTime&quot;: &quot;A String&quot;, # Output only. The time when events associated with the incident were last detected.
&quot;lastObservabilityChangeTime&quot;: &quot;A String&quot;, # Output only. The time when the incident observability was last changed.
&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
&quot;observability&quot;: &quot;A String&quot;, # Optional. Indicates if the user archived this incident.
&quot;riskLevel&quot;: &quot;A String&quot;, # Output only. Risk level of the incident.
&quot;trafficCount&quot;: &quot;A String&quot;, # Total traffic detected as part of the incident.
},
&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()
},
],
}

x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format

Returns:
An object of the form:

{ # Response for BatchUpdateSecurityIncident.
&quot;securityIncidents&quot;: [ # Output only. Updated security incidents
{ # Represents an SecurityIncident resource.
&quot;detectionTypes&quot;: [ # Output only. Detection types which are part of the incident. Examples: Flooder, OAuth Abuser, Static Content Scraper, Anomaly Detection.
&quot;A String&quot;,
],
&quot;displayName&quot;: &quot;A String&quot;, # Optional. Display name of the security incident.
&quot;firstDetectedTime&quot;: &quot;A String&quot;, # Output only. The time when events associated with the incident were first detected.
&quot;lastDetectedTime&quot;: &quot;A String&quot;, # Output only. The time when events associated with the incident were last detected.
&quot;lastObservabilityChangeTime&quot;: &quot;A String&quot;, # Output only. The time when the incident observability was last changed.
&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
&quot;observability&quot;: &quot;A String&quot;, # Optional. Indicates if the user archived this incident.
&quot;riskLevel&quot;: &quot;A String&quot;, # Output only. Risk level of the incident.
&quot;trafficCount&quot;: &quot;A String&quot;, # Total traffic detected as part of the incident.
},
],
}</pre>
</div>

<div class="method">
<code class="details" id="close">close()</code>
<pre>Close httplib2 connections.</pre>
Expand All @@ -113,7 +176,9 @@ <h3>Method Details</h3>
&quot;displayName&quot;: &quot;A String&quot;, # Optional. Display name of the security incident.
&quot;firstDetectedTime&quot;: &quot;A String&quot;, # Output only. The time when events associated with the incident were first detected.
&quot;lastDetectedTime&quot;: &quot;A String&quot;, # Output only. The time when events associated with the incident were last detected.
&quot;lastObservabilityChangeTime&quot;: &quot;A String&quot;, # Output only. The time when the incident observability was last changed.
&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
&quot;observability&quot;: &quot;A String&quot;, # Optional. Indicates if the user archived this incident.
&quot;riskLevel&quot;: &quot;A String&quot;, # Output only. Risk level of the incident.
&quot;trafficCount&quot;: &quot;A String&quot;, # Total traffic detected as part of the incident.
}</pre>
Expand Down Expand Up @@ -146,7 +211,9 @@ <h3>Method Details</h3>
&quot;displayName&quot;: &quot;A String&quot;, # Optional. Display name of the security incident.
&quot;firstDetectedTime&quot;: &quot;A String&quot;, # Output only. The time when events associated with the incident were first detected.
&quot;lastDetectedTime&quot;: &quot;A String&quot;, # Output only. The time when events associated with the incident were last detected.
&quot;lastObservabilityChangeTime&quot;: &quot;A String&quot;, # Output only. The time when the incident observability was last changed.
&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
&quot;observability&quot;: &quot;A String&quot;, # Optional. Indicates if the user archived this incident.
&quot;riskLevel&quot;: &quot;A String&quot;, # Output only. Risk level of the incident.
&quot;trafficCount&quot;: &quot;A String&quot;, # Total traffic detected as part of the incident.
},
Expand All @@ -168,4 +235,51 @@ <h3>Method Details</h3>
</pre>
</div>

<div class="method">
<code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
<pre>UpdateSecurityIncidents updates an existing security incident.

Args:
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)
body: object, The request body.
The object takes the form of:

{ # Represents an SecurityIncident resource.
&quot;detectionTypes&quot;: [ # Output only. Detection types which are part of the incident. Examples: Flooder, OAuth Abuser, Static Content Scraper, Anomaly Detection.
&quot;A String&quot;,
],
&quot;displayName&quot;: &quot;A String&quot;, # Optional. Display name of the security incident.
&quot;firstDetectedTime&quot;: &quot;A String&quot;, # Output only. The time when events associated with the incident were first detected.
&quot;lastDetectedTime&quot;: &quot;A String&quot;, # Output only. The time when events associated with the incident were last detected.
&quot;lastObservabilityChangeTime&quot;: &quot;A String&quot;, # Output only. The time when the incident observability was last changed.
&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
&quot;observability&quot;: &quot;A String&quot;, # Optional. Indicates if the user archived this incident.
&quot;riskLevel&quot;: &quot;A String&quot;, # Output only. Risk level of the incident.
&quot;trafficCount&quot;: &quot;A String&quot;, # Total traffic detected as part of the incident.
}

updateMask: string, Required. The list of fields to update. Allowed fields are: LINT.IfChange(allowed_update_fields_comment) - observability LINT.ThenChange()
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format

Returns:
An object of the form:

{ # Represents an SecurityIncident resource.
&quot;detectionTypes&quot;: [ # Output only. Detection types which are part of the incident. Examples: Flooder, OAuth Abuser, Static Content Scraper, Anomaly Detection.
&quot;A String&quot;,
],
&quot;displayName&quot;: &quot;A String&quot;, # Optional. Display name of the security incident.
&quot;firstDetectedTime&quot;: &quot;A String&quot;, # Output only. The time when events associated with the incident were first detected.
&quot;lastDetectedTime&quot;: &quot;A String&quot;, # Output only. The time when events associated with the incident were last detected.
&quot;lastObservabilityChangeTime&quot;: &quot;A String&quot;, # Output only. The time when the incident observability was last changed.
&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
&quot;observability&quot;: &quot;A String&quot;, # Optional. Indicates if the user archived this incident.
&quot;riskLevel&quot;: &quot;A String&quot;, # Output only. Risk level of the incident.
&quot;trafficCount&quot;: &quot;A String&quot;, # Total traffic detected as part of the incident.
}</pre>
</div>

</body></html>
Expand Up @@ -215,7 +215,7 @@ <h3>Method Details</h3>
{ # Represents a SecurityProfileEnvironmentAssociation resource.
&quot;attachTime&quot;: &quot;A String&quot;, # Output only. The time when environment was attached to the security profile.
&quot;name&quot;: &quot;A String&quot;, # Immutable. Name of the environment that the profile is attached to.
&quot;securityProfileRevisionId&quot;: &quot;A String&quot;, # Revision ID of the security profile.
&quot;securityProfileRevisionId&quot;: &quot;A String&quot;, # DEPRECATED: DO NOT USE Revision ID of the security profile.
}

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

Expand Down

0 comments on commit f157365

Please sign in to comment.