Debian Codegraph @

docs/dyn/apigee_v1.organizations.securityProfilesV2.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.securityProfilesV2.html">securityProfilesV2</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#close">close()</a></code></p>
79 <p class="firstline">Close httplib2 connections.</p>
80 <p class="toc_element">
81 <code><a href="#create">create(parent, body=None, securityProfileV2Id=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Create a security profile v2.</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(name, riskAssessmentType=None, x__xgafv=None)</a></code></p>
85 <p class="firstline">Delete a security profile v2.</p>
86 <p class="toc_element">
87 <code><a href="#get">get(name, riskAssessmentType=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">Get a security profile v2.</p>
89 <p class="toc_element">
90 <code><a href="#list">list(parent, pageSize=None, pageToken=None, riskAssessmentType=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">List security profiles v2.</p>
92 <p class="toc_element">
93 <code><a href="#list_next">list_next()</a></code></p>
94 <p class="firstline">Retrieves the next page of results.</p>
95 <p class="toc_element">
96 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
97 <p class="firstline">Update a security profile V2.</p>
98 <h3>Method Details</h3>
99 <div class="method">
100 <code class="details" id="close">close()</code>
101 <pre>Close httplib2 connections.</pre>
102 </div>
103
104 <div class="method">
105 <code class="details" id="create">create(parent, body=None, securityProfileV2Id=None, x__xgafv=None)</code>
106 <pre>Create a security profile v2.
107
108 Args:
109 parent: string, Required. The parent resource name. Format: `organizations/{org}` (required)
110 body: object, The request body.
111 The object takes the form of:
112
113 { # Security profile for risk assessment version 2.
114 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time of the security profile creation.
115 &quot;description&quot;: &quot;A String&quot;, # Optional. The description of the security profile.
116 &quot;googleDefined&quot;: True or False, # Output only. Whether the security profile is google defined.
117 &quot;name&quot;: &quot;A String&quot;, # Identifier. Name of the security profile v2 resource. Format: organizations/{org}/securityProfilesV2/{profile}
118 &quot;profileAssessmentConfigs&quot;: { # Required. The configuration for each assessment in this profile. Key is the name/id of the assessment.
119 &quot;a_key&quot;: { # The configuration definition for a specific assessment.
120 &quot;include&quot;: { # Message for the array of API Hub Gateway Types. # Include only these Gateway Types.
121 &quot;gatewayTypes&quot;: [ # Required. The array of API Hub Gateway Types.
122 &quot;A String&quot;,
123 ],
124 },
125 &quot;weight&quot;: &quot;A String&quot;, # The weight of the assessment.
126 },
127 },
128 &quot;riskAssessmentType&quot;: &quot;A String&quot;, # Optional. The risk assessment type of the security profile. Defaults to ADVANCED_API_SECURITY.
129 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time of the security profile update.
130 }
131
132 securityProfileV2Id: string, Required. The security profile id.
133 x__xgafv: string, V1 error format.
134 Allowed values
135 1 - v1 error format
136 2 - v2 error format
137
138 Returns:
139 An object of the form:
140
141 { # Security profile for risk assessment version 2.
142 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time of the security profile creation.
143 &quot;description&quot;: &quot;A String&quot;, # Optional. The description of the security profile.
144 &quot;googleDefined&quot;: True or False, # Output only. Whether the security profile is google defined.
145 &quot;name&quot;: &quot;A String&quot;, # Identifier. Name of the security profile v2 resource. Format: organizations/{org}/securityProfilesV2/{profile}
146 &quot;profileAssessmentConfigs&quot;: { # Required. The configuration for each assessment in this profile. Key is the name/id of the assessment.
147 &quot;a_key&quot;: { # The configuration definition for a specific assessment.
148 &quot;include&quot;: { # Message for the array of API Hub Gateway Types. # Include only these Gateway Types.
149 &quot;gatewayTypes&quot;: [ # Required. The array of API Hub Gateway Types.
150 &quot;A String&quot;,
151 ],
152 },
153 &quot;weight&quot;: &quot;A String&quot;, # The weight of the assessment.
154 },
155 },
156 &quot;riskAssessmentType&quot;: &quot;A String&quot;, # Optional. The risk assessment type of the security profile. Defaults to ADVANCED_API_SECURITY.
157 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time of the security profile update.
158 }</pre>
159 </div>
160
161 <div class="method">
162 <code class="details" id="delete">delete(name, riskAssessmentType=None, x__xgafv=None)</code>
163 <pre>Delete a security profile v2.
164
165 Args:
166 name: string, Required. The name of the security profile v2 to delete. Format: `organizations/{org}/securityProfilesV2/{profile}` (required)
167 riskAssessmentType: string, Optional. The risk assessment type of the security profile. Defaults to ADVANCED_API_SECURITY.
168 Allowed values
169 RISK_ASSESSMENT_TYPE_UNSPECIFIED - Risk assessment type is not specified.
170 APIGEE - Risk assessment type is Apigee.
171 API_HUB - Risk assessment type is API Hub.
172 x__xgafv: string, V1 error format.
173 Allowed values
174 1 - v1 error format
175 2 - v2 error format
176
177 Returns:
178 An object of the form:
179
180 { # 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); }
181 }</pre>
182 </div>
183
184 <div class="method">
185 <code class="details" id="get">get(name, riskAssessmentType=None, x__xgafv=None)</code>
186 <pre>Get a security profile v2.
187
188 Args:
189 name: string, Required. The name of the security profile v2 to get. Format: `organizations/{org}/securityProfilesV2/{profile}` (required)
190 riskAssessmentType: string, Optional. The risk assessment type of the security profile. Defaults to ADVANCED_API_SECURITY.
191 Allowed values
192 RISK_ASSESSMENT_TYPE_UNSPECIFIED - Risk assessment type is not specified.
193 APIGEE - Risk assessment type is Apigee.
194 API_HUB - Risk assessment type is API Hub.
195 x__xgafv: string, V1 error format.
196 Allowed values
197 1 - v1 error format
198 2 - v2 error format
199
200 Returns:
201 An object of the form:
202
203 { # Security profile for risk assessment version 2.
204 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time of the security profile creation.
205 &quot;description&quot;: &quot;A String&quot;, # Optional. The description of the security profile.
206 &quot;googleDefined&quot;: True or False, # Output only. Whether the security profile is google defined.
207 &quot;name&quot;: &quot;A String&quot;, # Identifier. Name of the security profile v2 resource. Format: organizations/{org}/securityProfilesV2/{profile}
208 &quot;profileAssessmentConfigs&quot;: { # Required. The configuration for each assessment in this profile. Key is the name/id of the assessment.
209 &quot;a_key&quot;: { # The configuration definition for a specific assessment.
210 &quot;include&quot;: { # Message for the array of API Hub Gateway Types. # Include only these Gateway Types.
211 &quot;gatewayTypes&quot;: [ # Required. The array of API Hub Gateway Types.
212 &quot;A String&quot;,
213 ],
214 },
215 &quot;weight&quot;: &quot;A String&quot;, # The weight of the assessment.
216 },
217 },
218 &quot;riskAssessmentType&quot;: &quot;A String&quot;, # Optional. The risk assessment type of the security profile. Defaults to ADVANCED_API_SECURITY.
219 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time of the security profile update.
220 }</pre>
221 </div>
222
223 <div class="method">
224 <code class="details" id="list">list(parent, pageSize=None, pageToken=None, riskAssessmentType=None, x__xgafv=None)</code>
225 <pre>List security profiles v2.
226
227 Args:
228 parent: string, Required. For a specific organization, list of all the security profiles. Format: `organizations/{org}` (required)
229 pageSize: integer, Optional. The maximum number of profiles to return
230 pageToken: string, Optional. A page token, received from a previous `ListSecurityProfilesV2` call. Provide this to retrieve the subsequent page.
231 riskAssessmentType: string, Optional. The risk assessment type of the security profiles. Defaults to ADVANCED_API_SECURITY.
232 Allowed values
233 RISK_ASSESSMENT_TYPE_UNSPECIFIED - Risk assessment type is not specified.
234 APIGEE - Risk assessment type is Apigee.
235 API_HUB - Risk assessment type is API Hub.
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 { # Response for ListSecurityProfilesV2.
245 &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.
246 &quot;securityProfilesV2&quot;: [ # List of security profiles in the organization.
247 { # Security profile for risk assessment version 2.
248 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time of the security profile creation.
249 &quot;description&quot;: &quot;A String&quot;, # Optional. The description of the security profile.
250 &quot;googleDefined&quot;: True or False, # Output only. Whether the security profile is google defined.
251 &quot;name&quot;: &quot;A String&quot;, # Identifier. Name of the security profile v2 resource. Format: organizations/{org}/securityProfilesV2/{profile}
252 &quot;profileAssessmentConfigs&quot;: { # Required. The configuration for each assessment in this profile. Key is the name/id of the assessment.
253 &quot;a_key&quot;: { # The configuration definition for a specific assessment.
254 &quot;include&quot;: { # Message for the array of API Hub Gateway Types. # Include only these Gateway Types.
255 &quot;gatewayTypes&quot;: [ # Required. The array of API Hub Gateway Types.
256 &quot;A String&quot;,
257 ],
258 },
259 &quot;weight&quot;: &quot;A String&quot;, # The weight of the assessment.
260 },
261 },
262 &quot;riskAssessmentType&quot;: &quot;A String&quot;, # Optional. The risk assessment type of the security profile. Defaults to ADVANCED_API_SECURITY.
263 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time of the security profile update.
264 },
265 ],
266 }</pre>
267 </div>
268
269 <div class="method">
270 <code class="details" id="list_next">list_next()</code>
271 <pre>Retrieves the next page of results.
272
273 Args:
274 previous_request: The request for the previous page. (required)
275 previous_response: The response from the request for the previous page. (required)
276
277 Returns:
278 A request object that you can call &#x27;execute()&#x27; on to request the next
279 page. Returns None if there are no more items in the collection.
280 </pre>
281 </div>
282
283 <div class="method">
284 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
285 <pre>Update a security profile V2.
286
287 Args:
288 name: string, Identifier. Name of the security profile v2 resource. Format: organizations/{org}/securityProfilesV2/{profile} (required)
289 body: object, The request body.
290 The object takes the form of:
291
292 { # Security profile for risk assessment version 2.
293 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time of the security profile creation.
294 &quot;description&quot;: &quot;A String&quot;, # Optional. The description of the security profile.
295 &quot;googleDefined&quot;: True or False, # Output only. Whether the security profile is google defined.
296 &quot;name&quot;: &quot;A String&quot;, # Identifier. Name of the security profile v2 resource. Format: organizations/{org}/securityProfilesV2/{profile}
297 &quot;profileAssessmentConfigs&quot;: { # Required. The configuration for each assessment in this profile. Key is the name/id of the assessment.
298 &quot;a_key&quot;: { # The configuration definition for a specific assessment.
299 &quot;include&quot;: { # Message for the array of API Hub Gateway Types. # Include only these Gateway Types.
300 &quot;gatewayTypes&quot;: [ # Required. The array of API Hub Gateway Types.
301 &quot;A String&quot;,
302 ],
303 },
304 &quot;weight&quot;: &quot;A String&quot;, # The weight of the assessment.
305 },
306 },
307 &quot;riskAssessmentType&quot;: &quot;A String&quot;, # Optional. The risk assessment type of the security profile. Defaults to ADVANCED_API_SECURITY.
308 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time of the security profile update.
309 }
310
311 updateMask: string, Optional. The list of fields to update. Valid fields to update are `description` and `profileAssessmentConfigs`.
312 x__xgafv: string, V1 error format.
313 Allowed values
314 1 - v1 error format
315 2 - v2 error format
316
317 Returns:
318 An object of the form:
319
320 { # Security profile for risk assessment version 2.
321 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time of the security profile creation.
322 &quot;description&quot;: &quot;A String&quot;, # Optional. The description of the security profile.
323 &quot;googleDefined&quot;: True or False, # Output only. Whether the security profile is google defined.
324 &quot;name&quot;: &quot;A String&quot;, # Identifier. Name of the security profile v2 resource. Format: organizations/{org}/securityProfilesV2/{profile}
325 &quot;profileAssessmentConfigs&quot;: { # Required. The configuration for each assessment in this profile. Key is the name/id of the assessment.
326 &quot;a_key&quot;: { # The configuration definition for a specific assessment.
327 &quot;include&quot;: { # Message for the array of API Hub Gateway Types. # Include only these Gateway Types.
328 &quot;gatewayTypes&quot;: [ # Required. The array of API Hub Gateway Types.
329 &quot;A String&quot;,
330 ],
331 },
332 &quot;weight&quot;: &quot;A String&quot;, # The weight of the assessment.
333 },
334 },
335 &quot;riskAssessmentType&quot;: &quot;A String&quot;, # Optional. The risk assessment type of the security profile. Defaults to ADVANCED_API_SECURITY.
336 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time of the security profile update.
337 }</pre>
338 </div>
339
340 </body></html>