Debian Codegraph @

docs/dyn/apigee_v1.organizations.securityProfiles.html

raw
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="apigee_v1.html">Apigee API</a> . <a href="apigee_v1.organizations.html">organizations</a> . <a href="apigee_v1.organizations.securityProfiles.html">securityProfiles</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="apigee_v1.organizations.securityProfiles.environments.html">environments()</a></code>
79 </p>
80 <p class="firstline">Returns the environments Resource.</p>
81
82 <p class="toc_element">
83 <code><a href="#close">close()</a></code></p>
84 <p class="firstline">Close httplib2 connections.</p>
85 <p class="toc_element">
86 <code><a href="#create">create(parent, body=None, securityProfileId=None, x__xgafv=None)</a></code></p>
87 <p class="firstline">CreateSecurityProfile create a new custom security profile.</p>
88 <p class="toc_element">
89 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
90 <p class="firstline">DeleteSecurityProfile delete a profile with all its revisions.</p>
91 <p class="toc_element">
92 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
93 <p class="firstline">GetSecurityProfile gets the specified security profile. Returns NOT_FOUND if security profile is not present for the specified organization.</p>
94 <p class="toc_element">
95 <code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
96 <p class="firstline">ListSecurityProfiles lists all the security profiles associated with the org including attached and unattached profiles.</p>
97 <p class="toc_element">
98 <code><a href="#listRevisions">listRevisions(name, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
99 <p class="firstline">ListSecurityProfileRevisions lists all the revisions of the security profile.</p>
100 <p class="toc_element">
101 <code><a href="#listRevisions_next">listRevisions_next()</a></code></p>
102 <p class="firstline">Retrieves the next page of results.</p>
103 <p class="toc_element">
104 <code><a href="#list_next">list_next()</a></code></p>
105 <p class="firstline">Retrieves the next page of results.</p>
106 <p class="toc_element">
107 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
108 <p class="firstline">UpdateSecurityProfile update the metadata of security profile.</p>
109 <h3>Method Details</h3>
110 <div class="method">
111 <code class="details" id="close">close()</code>
112 <pre>Close httplib2 connections.</pre>
113 </div>
114
115 <div class="method">
116 <code class="details" id="create">create(parent, body=None, securityProfileId=None, x__xgafv=None)</code>
117 <pre>CreateSecurityProfile create a new custom security profile.
118
119 Args:
120 parent: string, Required. Name of organization. Format: organizations/{org} (required)
121 body: object, The request body.
122 The object takes the form of:
123
124 { # Represents a SecurityProfile resource.
125 &quot;description&quot;: &quot;A String&quot;, # Description of the security profile.
126 &quot;displayName&quot;: &quot;A String&quot;, # DEPRECATED: DO NOT USE Display name of the security profile.
127 &quot;environments&quot;: [ # List of environments attached to security profile.
128 { # Environment information of attached environments. Scoring an environment is enabled only if it is attached to a security profile.
129 &quot;attachTime&quot;: &quot;A String&quot;, # Output only. Time at which environment was attached to the security profile.
130 &quot;environment&quot;: &quot;A String&quot;, # Output only. Name of the environment.
131 },
132 ],
133 &quot;maxScore&quot;: 42, # Output only. Maximum security score that can be generated by this profile.
134 &quot;minScore&quot;: 42, # Output only. Minimum security score that can be generated by this profile.
135 &quot;name&quot;: &quot;A String&quot;, # Immutable. Name of the security profile resource. Format: organizations/{org}/securityProfiles/{profile}
136 &quot;profileConfig&quot;: { # ProfileConfig defines a set of categories and policies which will be used to compute security score. # Required. Customized profile configuration that computes the security score.
137 &quot;categories&quot;: [ # List of categories of profile config.
138 { # Advanced API Security provides security profile that scores the following categories.
139 &quot;abuse&quot;: { # Checks for abuse, which includes any requests sent to the API for purposes other than what it is intended for, such as high volumes of requests, data scraping, and abuse related to authorization. # Checks for abuse, which includes any requests sent to the API for purposes other than what it is intended for, such as high volumes of requests, data scraping, and abuse related to authorization.
140 },
141 &quot;authorization&quot;: { # By default, following policies will be included: - JWS - JWT - OAuth - BasicAuth - APIKey # Checks to see if you have an authorization policy in place.
142 },
143 &quot;cors&quot;: { # Checks to see if you have CORS policy in place. # Checks to see if you have CORS policy in place.
144 },
145 &quot;mediation&quot;: { # By default, following policies will be included: - OASValidation - SOAPMessageValidation # Checks to see if you have a mediation policy in place.
146 },
147 &quot;mtls&quot;: { # Checks to see if you have configured mTLS for the target server. # Checks to see if you have configured mTLS for the target server.
148 },
149 &quot;threat&quot;: { # By default, following policies will be included: - XMLThreatProtection - JSONThreatProtection # Checks to see if you have a threat protection policy in place.
150 },
151 },
152 ],
153 },
154 &quot;revisionCreateTime&quot;: &quot;A String&quot;, # Output only. The time when revision was created.
155 &quot;revisionId&quot;: &quot;A String&quot;, # Output only. Revision ID of the security profile.
156 &quot;revisionPublishTime&quot;: &quot;A String&quot;, # Output only. DEPRECATED: DO NOT USE The time when revision was published. Once published, the security profile revision cannot be updated further and can be attached to environments.
157 &quot;revisionUpdateTime&quot;: &quot;A String&quot;, # Output only. The time when revision was updated.
158 &quot;scoringConfigs&quot;: [ # List of profile scoring configs in this revision.
159 { # Security configurations to manage scoring.
160 &quot;description&quot;: &quot;A String&quot;, # Description of the config.
161 &quot;scorePath&quot;: &quot;A String&quot;, # Path of the component config used for scoring.
162 &quot;title&quot;: &quot;A String&quot;, # Title of the config.
163 },
164 ],
165 }
166
167 securityProfileId: string, Required. The ID to use for the SecurityProfile, which will become the final component of the action&#x27;s resource name. This value should be 1-63 characters and validated by &quot;(^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$)&quot;.
168 x__xgafv: string, V1 error format.
169 Allowed values
170 1 - v1 error format
171 2 - v2 error format
172
173 Returns:
174 An object of the form:
175
176 { # Represents a SecurityProfile resource.
177 &quot;description&quot;: &quot;A String&quot;, # Description of the security profile.
178 &quot;displayName&quot;: &quot;A String&quot;, # DEPRECATED: DO NOT USE Display name of the security profile.
179 &quot;environments&quot;: [ # List of environments attached to security profile.
180 { # Environment information of attached environments. Scoring an environment is enabled only if it is attached to a security profile.
181 &quot;attachTime&quot;: &quot;A String&quot;, # Output only. Time at which environment was attached to the security profile.
182 &quot;environment&quot;: &quot;A String&quot;, # Output only. Name of the environment.
183 },
184 ],
185 &quot;maxScore&quot;: 42, # Output only. Maximum security score that can be generated by this profile.
186 &quot;minScore&quot;: 42, # Output only. Minimum security score that can be generated by this profile.
187 &quot;name&quot;: &quot;A String&quot;, # Immutable. Name of the security profile resource. Format: organizations/{org}/securityProfiles/{profile}
188 &quot;profileConfig&quot;: { # ProfileConfig defines a set of categories and policies which will be used to compute security score. # Required. Customized profile configuration that computes the security score.
189 &quot;categories&quot;: [ # List of categories of profile config.
190 { # Advanced API Security provides security profile that scores the following categories.
191 &quot;abuse&quot;: { # Checks for abuse, which includes any requests sent to the API for purposes other than what it is intended for, such as high volumes of requests, data scraping, and abuse related to authorization. # Checks for abuse, which includes any requests sent to the API for purposes other than what it is intended for, such as high volumes of requests, data scraping, and abuse related to authorization.
192 },
193 &quot;authorization&quot;: { # By default, following policies will be included: - JWS - JWT - OAuth - BasicAuth - APIKey # Checks to see if you have an authorization policy in place.
194 },
195 &quot;cors&quot;: { # Checks to see if you have CORS policy in place. # Checks to see if you have CORS policy in place.
196 },
197 &quot;mediation&quot;: { # By default, following policies will be included: - OASValidation - SOAPMessageValidation # Checks to see if you have a mediation policy in place.
198 },
199 &quot;mtls&quot;: { # Checks to see if you have configured mTLS for the target server. # Checks to see if you have configured mTLS for the target server.
200 },
201 &quot;threat&quot;: { # By default, following policies will be included: - XMLThreatProtection - JSONThreatProtection # Checks to see if you have a threat protection policy in place.
202 },
203 },
204 ],
205 },
206 &quot;revisionCreateTime&quot;: &quot;A String&quot;, # Output only. The time when revision was created.
207 &quot;revisionId&quot;: &quot;A String&quot;, # Output only. Revision ID of the security profile.
208 &quot;revisionPublishTime&quot;: &quot;A String&quot;, # Output only. DEPRECATED: DO NOT USE The time when revision was published. Once published, the security profile revision cannot be updated further and can be attached to environments.
209 &quot;revisionUpdateTime&quot;: &quot;A String&quot;, # Output only. The time when revision was updated.
210 &quot;scoringConfigs&quot;: [ # List of profile scoring configs in this revision.
211 { # Security configurations to manage scoring.
212 &quot;description&quot;: &quot;A String&quot;, # Description of the config.
213 &quot;scorePath&quot;: &quot;A String&quot;, # Path of the component config used for scoring.
214 &quot;title&quot;: &quot;A String&quot;, # Title of the config.
215 },
216 ],
217 }</pre>
218 </div>
219
220 <div class="method">
221 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
222 <pre>DeleteSecurityProfile delete a profile with all its revisions.
223
224 Args:
225 name: string, Required. Name of profile. Format: organizations/{org}/securityProfiles/{profile} (required)
226 x__xgafv: string, V1 error format.
227 Allowed values
228 1 - v1 error format
229 2 - v2 error format
230
231 Returns:
232 An object of the form:
233
234 { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
235 }</pre>
236 </div>
237
238 <div class="method">
239 <code class="details" id="get">get(name, x__xgafv=None)</code>
240 <pre>GetSecurityProfile gets the specified security profile. Returns NOT_FOUND if security profile is not present for the specified organization.
241
242 Args:
243 name: string, Required. Security profile in the following format: `organizations/{org}/securityProfiles/{profile}&#x27;. Profile may optionally contain revision ID. If revision ID is not provided, the response will contain latest revision by default. Example: organizations/testOrg/securityProfiles/testProfile@5 (required)
244 x__xgafv: string, V1 error format.
245 Allowed values
246 1 - v1 error format
247 2 - v2 error format
248
249 Returns:
250 An object of the form:
251
252 { # Represents a SecurityProfile resource.
253 &quot;description&quot;: &quot;A String&quot;, # Description of the security profile.
254 &quot;displayName&quot;: &quot;A String&quot;, # DEPRECATED: DO NOT USE Display name of the security profile.
255 &quot;environments&quot;: [ # List of environments attached to security profile.
256 { # Environment information of attached environments. Scoring an environment is enabled only if it is attached to a security profile.
257 &quot;attachTime&quot;: &quot;A String&quot;, # Output only. Time at which environment was attached to the security profile.
258 &quot;environment&quot;: &quot;A String&quot;, # Output only. Name of the environment.
259 },
260 ],
261 &quot;maxScore&quot;: 42, # Output only. Maximum security score that can be generated by this profile.
262 &quot;minScore&quot;: 42, # Output only. Minimum security score that can be generated by this profile.
263 &quot;name&quot;: &quot;A String&quot;, # Immutable. Name of the security profile resource. Format: organizations/{org}/securityProfiles/{profile}
264 &quot;profileConfig&quot;: { # ProfileConfig defines a set of categories and policies which will be used to compute security score. # Required. Customized profile configuration that computes the security score.
265 &quot;categories&quot;: [ # List of categories of profile config.
266 { # Advanced API Security provides security profile that scores the following categories.
267 &quot;abuse&quot;: { # Checks for abuse, which includes any requests sent to the API for purposes other than what it is intended for, such as high volumes of requests, data scraping, and abuse related to authorization. # Checks for abuse, which includes any requests sent to the API for purposes other than what it is intended for, such as high volumes of requests, data scraping, and abuse related to authorization.
268 },
269 &quot;authorization&quot;: { # By default, following policies will be included: - JWS - JWT - OAuth - BasicAuth - APIKey # Checks to see if you have an authorization policy in place.
270 },
271 &quot;cors&quot;: { # Checks to see if you have CORS policy in place. # Checks to see if you have CORS policy in place.
272 },
273 &quot;mediation&quot;: { # By default, following policies will be included: - OASValidation - SOAPMessageValidation # Checks to see if you have a mediation policy in place.
274 },
275 &quot;mtls&quot;: { # Checks to see if you have configured mTLS for the target server. # Checks to see if you have configured mTLS for the target server.
276 },
277 &quot;threat&quot;: { # By default, following policies will be included: - XMLThreatProtection - JSONThreatProtection # Checks to see if you have a threat protection policy in place.
278 },
279 },
280 ],
281 },
282 &quot;revisionCreateTime&quot;: &quot;A String&quot;, # Output only. The time when revision was created.
283 &quot;revisionId&quot;: &quot;A String&quot;, # Output only. Revision ID of the security profile.
284 &quot;revisionPublishTime&quot;: &quot;A String&quot;, # Output only. DEPRECATED: DO NOT USE The time when revision was published. Once published, the security profile revision cannot be updated further and can be attached to environments.
285 &quot;revisionUpdateTime&quot;: &quot;A String&quot;, # Output only. The time when revision was updated.
286 &quot;scoringConfigs&quot;: [ # List of profile scoring configs in this revision.
287 { # Security configurations to manage scoring.
288 &quot;description&quot;: &quot;A String&quot;, # Description of the config.
289 &quot;scorePath&quot;: &quot;A String&quot;, # Path of the component config used for scoring.
290 &quot;title&quot;: &quot;A String&quot;, # Title of the config.
291 },
292 ],
293 }</pre>
294 </div>
295
296 <div class="method">
297 <code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
298 <pre>ListSecurityProfiles lists all the security profiles associated with the org including attached and unattached profiles.
299
300 Args:
301 parent: string, Required. For a specific organization, list of all the security profiles. Format: `organizations/{org}` (required)
302 pageSize: integer, The maximum number of profiles to return. The service may return fewer than this value. If unspecified, at most 50 profiles will be returned.
303 pageToken: string, A page token, received from a previous `ListSecurityProfiles` call. Provide this to retrieve the subsequent page.
304 x__xgafv: string, V1 error format.
305 Allowed values
306 1 - v1 error format
307 2 - v2 error format
308
309 Returns:
310 An object of the form:
311
312 { # Response for ListSecurityProfiles.
313 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
314 &quot;securityProfiles&quot;: [ # List of security profiles in the organization. The profiles may be attached or unattached to any environment. This will return latest revision of each profile.
315 { # Represents a SecurityProfile resource.
316 &quot;description&quot;: &quot;A String&quot;, # Description of the security profile.
317 &quot;displayName&quot;: &quot;A String&quot;, # DEPRECATED: DO NOT USE Display name of the security profile.
318 &quot;environments&quot;: [ # List of environments attached to security profile.
319 { # Environment information of attached environments. Scoring an environment is enabled only if it is attached to a security profile.
320 &quot;attachTime&quot;: &quot;A String&quot;, # Output only. Time at which environment was attached to the security profile.
321 &quot;environment&quot;: &quot;A String&quot;, # Output only. Name of the environment.
322 },
323 ],
324 &quot;maxScore&quot;: 42, # Output only. Maximum security score that can be generated by this profile.
325 &quot;minScore&quot;: 42, # Output only. Minimum security score that can be generated by this profile.
326 &quot;name&quot;: &quot;A String&quot;, # Immutable. Name of the security profile resource. Format: organizations/{org}/securityProfiles/{profile}
327 &quot;profileConfig&quot;: { # ProfileConfig defines a set of categories and policies which will be used to compute security score. # Required. Customized profile configuration that computes the security score.
328 &quot;categories&quot;: [ # List of categories of profile config.
329 { # Advanced API Security provides security profile that scores the following categories.
330 &quot;abuse&quot;: { # Checks for abuse, which includes any requests sent to the API for purposes other than what it is intended for, such as high volumes of requests, data scraping, and abuse related to authorization. # Checks for abuse, which includes any requests sent to the API for purposes other than what it is intended for, such as high volumes of requests, data scraping, and abuse related to authorization.
331 },
332 &quot;authorization&quot;: { # By default, following policies will be included: - JWS - JWT - OAuth - BasicAuth - APIKey # Checks to see if you have an authorization policy in place.
333 },
334 &quot;cors&quot;: { # Checks to see if you have CORS policy in place. # Checks to see if you have CORS policy in place.
335 },
336 &quot;mediation&quot;: { # By default, following policies will be included: - OASValidation - SOAPMessageValidation # Checks to see if you have a mediation policy in place.
337 },
338 &quot;mtls&quot;: { # Checks to see if you have configured mTLS for the target server. # Checks to see if you have configured mTLS for the target server.
339 },
340 &quot;threat&quot;: { # By default, following policies will be included: - XMLThreatProtection - JSONThreatProtection # Checks to see if you have a threat protection policy in place.
341 },
342 },
343 ],
344 },
345 &quot;revisionCreateTime&quot;: &quot;A String&quot;, # Output only. The time when revision was created.
346 &quot;revisionId&quot;: &quot;A String&quot;, # Output only. Revision ID of the security profile.
347 &quot;revisionPublishTime&quot;: &quot;A String&quot;, # Output only. DEPRECATED: DO NOT USE The time when revision was published. Once published, the security profile revision cannot be updated further and can be attached to environments.
348 &quot;revisionUpdateTime&quot;: &quot;A String&quot;, # Output only. The time when revision was updated.
349 &quot;scoringConfigs&quot;: [ # List of profile scoring configs in this revision.
350 { # Security configurations to manage scoring.
351 &quot;description&quot;: &quot;A String&quot;, # Description of the config.
352 &quot;scorePath&quot;: &quot;A String&quot;, # Path of the component config used for scoring.
353 &quot;title&quot;: &quot;A String&quot;, # Title of the config.
354 },
355 ],
356 },
357 ],
358 }</pre>
359 </div>
360
361 <div class="method">
362 <code class="details" id="listRevisions">listRevisions(name, pageSize=None, pageToken=None, x__xgafv=None)</code>
363 <pre>ListSecurityProfileRevisions lists all the revisions of the security profile.
364
365 Args:
366 name: string, Required. For a specific profile, list all the revisions. Format: `organizations/{org}/securityProfiles/{profile}` (required)
367 pageSize: integer, The maximum number of profile revisions to return. The service may return fewer than this value. If unspecified, at most 50 revisions will be returned.
368 pageToken: string, A page token, received from a previous `ListSecurityProfileRevisions` call. Provide this to retrieve the subsequent page.
369 x__xgafv: string, V1 error format.
370 Allowed values
371 1 - v1 error format
372 2 - v2 error format
373
374 Returns:
375 An object of the form:
376
377 { # Response for ListSecurityProfileRevisions.
378 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
379 &quot;securityProfiles&quot;: [ # List of security profile revisions. The revisions may be attached or unattached to any environment.
380 { # Represents a SecurityProfile resource.
381 &quot;description&quot;: &quot;A String&quot;, # Description of the security profile.
382 &quot;displayName&quot;: &quot;A String&quot;, # DEPRECATED: DO NOT USE Display name of the security profile.
383 &quot;environments&quot;: [ # List of environments attached to security profile.
384 { # Environment information of attached environments. Scoring an environment is enabled only if it is attached to a security profile.
385 &quot;attachTime&quot;: &quot;A String&quot;, # Output only. Time at which environment was attached to the security profile.
386 &quot;environment&quot;: &quot;A String&quot;, # Output only. Name of the environment.
387 },
388 ],
389 &quot;maxScore&quot;: 42, # Output only. Maximum security score that can be generated by this profile.
390 &quot;minScore&quot;: 42, # Output only. Minimum security score that can be generated by this profile.
391 &quot;name&quot;: &quot;A String&quot;, # Immutable. Name of the security profile resource. Format: organizations/{org}/securityProfiles/{profile}
392 &quot;profileConfig&quot;: { # ProfileConfig defines a set of categories and policies which will be used to compute security score. # Required. Customized profile configuration that computes the security score.
393 &quot;categories&quot;: [ # List of categories of profile config.
394 { # Advanced API Security provides security profile that scores the following categories.
395 &quot;abuse&quot;: { # Checks for abuse, which includes any requests sent to the API for purposes other than what it is intended for, such as high volumes of requests, data scraping, and abuse related to authorization. # Checks for abuse, which includes any requests sent to the API for purposes other than what it is intended for, such as high volumes of requests, data scraping, and abuse related to authorization.
396 },
397 &quot;authorization&quot;: { # By default, following policies will be included: - JWS - JWT - OAuth - BasicAuth - APIKey # Checks to see if you have an authorization policy in place.
398 },
399 &quot;cors&quot;: { # Checks to see if you have CORS policy in place. # Checks to see if you have CORS policy in place.
400 },
401 &quot;mediation&quot;: { # By default, following policies will be included: - OASValidation - SOAPMessageValidation # Checks to see if you have a mediation policy in place.
402 },
403 &quot;mtls&quot;: { # Checks to see if you have configured mTLS for the target server. # Checks to see if you have configured mTLS for the target server.
404 },
405 &quot;threat&quot;: { # By default, following policies will be included: - XMLThreatProtection - JSONThreatProtection # Checks to see if you have a threat protection policy in place.
406 },
407 },
408 ],
409 },
410 &quot;revisionCreateTime&quot;: &quot;A String&quot;, # Output only. The time when revision was created.
411 &quot;revisionId&quot;: &quot;A String&quot;, # Output only. Revision ID of the security profile.
412 &quot;revisionPublishTime&quot;: &quot;A String&quot;, # Output only. DEPRECATED: DO NOT USE The time when revision was published. Once published, the security profile revision cannot be updated further and can be attached to environments.
413 &quot;revisionUpdateTime&quot;: &quot;A String&quot;, # Output only. The time when revision was updated.
414 &quot;scoringConfigs&quot;: [ # List of profile scoring configs in this revision.
415 { # Security configurations to manage scoring.
416 &quot;description&quot;: &quot;A String&quot;, # Description of the config.
417 &quot;scorePath&quot;: &quot;A String&quot;, # Path of the component config used for scoring.
418 &quot;title&quot;: &quot;A String&quot;, # Title of the config.
419 },
420 ],
421 },
422 ],
423 }</pre>
424 </div>
425
426 <div class="method">
427 <code class="details" id="listRevisions_next">listRevisions_next()</code>
428 <pre>Retrieves the next page of results.
429
430 Args:
431 previous_request: The request for the previous page. (required)
432 previous_response: The response from the request for the previous page. (required)
433
434 Returns:
435 A request object that you can call &#x27;execute()&#x27; on to request the next
436 page. Returns None if there are no more items in the collection.
437 </pre>
438 </div>
439
440 <div class="method">
441 <code class="details" id="list_next">list_next()</code>
442 <pre>Retrieves the next page of results.
443
444 Args:
445 previous_request: The request for the previous page. (required)
446 previous_response: The response from the request for the previous page. (required)
447
448 Returns:
449 A request object that you can call &#x27;execute()&#x27; on to request the next
450 page. Returns None if there are no more items in the collection.
451 </pre>
452 </div>
453
454 <div class="method">
455 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
456 <pre>UpdateSecurityProfile update the metadata of security profile.
457
458 Args:
459 name: string, Immutable. Name of the security profile resource. Format: organizations/{org}/securityProfiles/{profile} (required)
460 body: object, The request body.
461 The object takes the form of:
462
463 { # Represents a SecurityProfile resource.
464 &quot;description&quot;: &quot;A String&quot;, # Description of the security profile.
465 &quot;displayName&quot;: &quot;A String&quot;, # DEPRECATED: DO NOT USE Display name of the security profile.
466 &quot;environments&quot;: [ # List of environments attached to security profile.
467 { # Environment information of attached environments. Scoring an environment is enabled only if it is attached to a security profile.
468 &quot;attachTime&quot;: &quot;A String&quot;, # Output only. Time at which environment was attached to the security profile.
469 &quot;environment&quot;: &quot;A String&quot;, # Output only. Name of the environment.
470 },
471 ],
472 &quot;maxScore&quot;: 42, # Output only. Maximum security score that can be generated by this profile.
473 &quot;minScore&quot;: 42, # Output only. Minimum security score that can be generated by this profile.
474 &quot;name&quot;: &quot;A String&quot;, # Immutable. Name of the security profile resource. Format: organizations/{org}/securityProfiles/{profile}
475 &quot;profileConfig&quot;: { # ProfileConfig defines a set of categories and policies which will be used to compute security score. # Required. Customized profile configuration that computes the security score.
476 &quot;categories&quot;: [ # List of categories of profile config.
477 { # Advanced API Security provides security profile that scores the following categories.
478 &quot;abuse&quot;: { # Checks for abuse, which includes any requests sent to the API for purposes other than what it is intended for, such as high volumes of requests, data scraping, and abuse related to authorization. # Checks for abuse, which includes any requests sent to the API for purposes other than what it is intended for, such as high volumes of requests, data scraping, and abuse related to authorization.
479 },
480 &quot;authorization&quot;: { # By default, following policies will be included: - JWS - JWT - OAuth - BasicAuth - APIKey # Checks to see if you have an authorization policy in place.
481 },
482 &quot;cors&quot;: { # Checks to see if you have CORS policy in place. # Checks to see if you have CORS policy in place.
483 },
484 &quot;mediation&quot;: { # By default, following policies will be included: - OASValidation - SOAPMessageValidation # Checks to see if you have a mediation policy in place.
485 },
486 &quot;mtls&quot;: { # Checks to see if you have configured mTLS for the target server. # Checks to see if you have configured mTLS for the target server.
487 },
488 &quot;threat&quot;: { # By default, following policies will be included: - XMLThreatProtection - JSONThreatProtection # Checks to see if you have a threat protection policy in place.
489 },
490 },
491 ],
492 },
493 &quot;revisionCreateTime&quot;: &quot;A String&quot;, # Output only. The time when revision was created.
494 &quot;revisionId&quot;: &quot;A String&quot;, # Output only. Revision ID of the security profile.
495 &quot;revisionPublishTime&quot;: &quot;A String&quot;, # Output only. DEPRECATED: DO NOT USE The time when revision was published. Once published, the security profile revision cannot be updated further and can be attached to environments.
496 &quot;revisionUpdateTime&quot;: &quot;A String&quot;, # Output only. The time when revision was updated.
497 &quot;scoringConfigs&quot;: [ # List of profile scoring configs in this revision.
498 { # Security configurations to manage scoring.
499 &quot;description&quot;: &quot;A String&quot;, # Description of the config.
500 &quot;scorePath&quot;: &quot;A String&quot;, # Path of the component config used for scoring.
501 &quot;title&quot;: &quot;A String&quot;, # Title of the config.
502 },
503 ],
504 }
505
506 updateMask: string, Required. The list of fields to update.
507 x__xgafv: string, V1 error format.
508 Allowed values
509 1 - v1 error format
510 2 - v2 error format
511
512 Returns:
513 An object of the form:
514
515 { # Represents a SecurityProfile resource.
516 &quot;description&quot;: &quot;A String&quot;, # Description of the security profile.
517 &quot;displayName&quot;: &quot;A String&quot;, # DEPRECATED: DO NOT USE Display name of the security profile.
518 &quot;environments&quot;: [ # List of environments attached to security profile.
519 { # Environment information of attached environments. Scoring an environment is enabled only if it is attached to a security profile.
520 &quot;attachTime&quot;: &quot;A String&quot;, # Output only. Time at which environment was attached to the security profile.
521 &quot;environment&quot;: &quot;A String&quot;, # Output only. Name of the environment.
522 },
523 ],
524 &quot;maxScore&quot;: 42, # Output only. Maximum security score that can be generated by this profile.
525 &quot;minScore&quot;: 42, # Output only. Minimum security score that can be generated by this profile.
526 &quot;name&quot;: &quot;A String&quot;, # Immutable. Name of the security profile resource. Format: organizations/{org}/securityProfiles/{profile}
527 &quot;profileConfig&quot;: { # ProfileConfig defines a set of categories and policies which will be used to compute security score. # Required. Customized profile configuration that computes the security score.
528 &quot;categories&quot;: [ # List of categories of profile config.
529 { # Advanced API Security provides security profile that scores the following categories.
530 &quot;abuse&quot;: { # Checks for abuse, which includes any requests sent to the API for purposes other than what it is intended for, such as high volumes of requests, data scraping, and abuse related to authorization. # Checks for abuse, which includes any requests sent to the API for purposes other than what it is intended for, such as high volumes of requests, data scraping, and abuse related to authorization.
531 },
532 &quot;authorization&quot;: { # By default, following policies will be included: - JWS - JWT - OAuth - BasicAuth - APIKey # Checks to see if you have an authorization policy in place.
533 },
534 &quot;cors&quot;: { # Checks to see if you have CORS policy in place. # Checks to see if you have CORS policy in place.
535 },
536 &quot;mediation&quot;: { # By default, following policies will be included: - OASValidation - SOAPMessageValidation # Checks to see if you have a mediation policy in place.
537 },
538 &quot;mtls&quot;: { # Checks to see if you have configured mTLS for the target server. # Checks to see if you have configured mTLS for the target server.
539 },
540 &quot;threat&quot;: { # By default, following policies will be included: - XMLThreatProtection - JSONThreatProtection # Checks to see if you have a threat protection policy in place.
541 },
542 },
543 ],
544 },
545 &quot;revisionCreateTime&quot;: &quot;A String&quot;, # Output only. The time when revision was created.
546 &quot;revisionId&quot;: &quot;A String&quot;, # Output only. Revision ID of the security profile.
547 &quot;revisionPublishTime&quot;: &quot;A String&quot;, # Output only. DEPRECATED: DO NOT USE The time when revision was published. Once published, the security profile revision cannot be updated further and can be attached to environments.
548 &quot;revisionUpdateTime&quot;: &quot;A String&quot;, # Output only. The time when revision was updated.
549 &quot;scoringConfigs&quot;: [ # List of profile scoring configs in this revision.
550 { # Security configurations to manage scoring.
551 &quot;description&quot;: &quot;A String&quot;, # Description of the config.
552 &quot;scorePath&quot;: &quot;A String&quot;, # Path of the component config used for scoring.
553 &quot;title&quot;: &quot;A String&quot;, # Title of the config.
554 },
555 ],
556 }</pre>
557 </div>
558
559 </body></html>