blob: f13fee07e5f1c604cf14727507d084931e5b43f2 [file] [log] [blame]
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001<html><body>
2<style>
3
4body, 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
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, 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="accesscontextmanager_v1beta.html">Access Context Manager API</a> . <a href="accesscontextmanager_v1beta.accessPolicies.html">accessPolicies</a> . <a href="accesscontextmanager_v1beta.accessPolicies.servicePerimeters.html">servicePerimeters</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070078 <code><a href="#create">create(parent, body=None, x__xgafv=None)</a></code></p>
79<p class="firstline">Create a Service Perimeter. The</p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070080<p class="toc_element">
81 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
Dan O'Mearadd494642020-05-01 07:42:23 -070082<p class="firstline">Delete a Service Perimeter by resource</p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070083<p class="toc_element">
84 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
Dan O'Mearadd494642020-05-01 07:42:23 -070085<p class="firstline">Get a Service Perimeter by resource</p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070086<p class="toc_element">
Bu Sun Kim65020912020-05-20 12:08:20 -070087 <code><a href="#list">list(parent, pageToken=None, pageSize=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070088<p class="firstline">List all Service Perimeters for an</p>
89<p class="toc_element">
90 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
91<p class="firstline">Retrieves the next page of results.</p>
92<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070093 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
94<p class="firstline">Update a Service Perimeter. The</p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070095<h3>Method Details</h3>
96<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -070097 <code class="details" id="create">create(parent, body=None, x__xgafv=None)</code>
98 <pre>Create a Service Perimeter. The
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070099longrunning operation from this RPC will have a successful status once the
100Service Perimeter has
101propagated to long-lasting storage. Service Perimeters containing
102errors will result in an error response for the first error encountered.
103
104Args:
105 parent: string, Required. Resource name for the access policy which owns this Service
106Perimeter.
107
108Format: `accessPolicies/{policy_id}` (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700109 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700110 The object takes the form of:
111
Dan O'Mearadd494642020-05-01 07:42:23 -0700112{ # `ServicePerimeter` describes a set of Google Cloud resources which can freely
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700113 # import and export data amongst themselves, but not export outside of the
114 # `ServicePerimeter`. If a request with a source within this `ServicePerimeter`
115 # has a target outside of the `ServicePerimeter`, the request will be blocked.
116 # Otherwise the request is allowed. There are two types of Service Perimeter -
117 # Regular and Bridge. Regular Service Perimeters cannot overlap, a single
118 # Google Cloud project can only belong to a single regular Service Perimeter.
119 # Service Perimeter Bridges can contain only Google Cloud projects as members,
120 # a single Google Cloud project may belong to multiple Service Perimeter
121 # Bridges.
122 &quot;perimeterType&quot;: &quot;A String&quot;, # Perimeter type indicator. A single project is
123 # allowed to be a member of single regular perimeter, but multiple service
124 # perimeter bridges. A project cannot be a included in a perimeter bridge
125 # without being included in regular perimeter. For perimeter bridges,
126 # restricted/unrestricted service lists as well as access lists must be
127 # empty.
128 &quot;title&quot;: &quot;A String&quot;, # Human readable title. Must be unique within the Policy.
129 &quot;status&quot;: { # `ServicePerimeterConfig` specifies a set of Google Cloud resources that # Current ServicePerimeter configuration. Specifies sets of resources,
130 # restricted/unrestricted services and access levels that determine perimeter
131 # content and boundaries.
132 # describe specific Service Perimeter configuration.
133 &quot;accessLevels&quot;: [ # A list of `AccessLevel` resource names that allow resources within the
134 # `ServicePerimeter` to be accessed from the internet. `AccessLevels` listed
135 # must be in the same policy as this `ServicePerimeter`. Referencing a
136 # nonexistent `AccessLevel` is a syntax error. If no `AccessLevel` names are
137 # listed, resources within the perimeter can only be accessed via Google
138 # Cloud calls with request origins within the perimeter. Example:
139 # `&quot;accessPolicies/MY_POLICY/accessLevels/MY_LEVEL&quot;`.
140 # For Service Perimeter Bridge, must be empty.
Bu Sun Kim65020912020-05-20 12:08:20 -0700141 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700142 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700143 &quot;restrictedServices&quot;: [ # Google Cloud services that are subject to the Service Perimeter
144 # restrictions. Must contain a list of services. For example, if
145 # `storage.googleapis.com` is specified, access to the storage buckets
146 # inside the perimeter must meet the perimeter&#x27;s access restrictions.
147 &quot;A String&quot;,
148 ],
149 &quot;vpcAccessibleServices&quot;: { # Specifies how APIs are allowed to communicate within the Service # Beta. Configuration for APIs allowed within Perimeter.
150 # Perimeter.
151 &quot;enableRestriction&quot;: True or False, # Whether to restrict API calls within the Service Perimeter to the list of
152 # APIs specified in &#x27;allowed_services&#x27;.
153 &quot;allowedServices&quot;: [ # The list of APIs usable within the Service Perimeter. Must be empty
154 # unless &#x27;enable_restriction&#x27; is True.
155 &quot;A String&quot;,
156 ],
157 },
158 &quot;resources&quot;: [ # A list of Google Cloud resources that are inside of the service perimeter.
159 # Currently only projects are allowed. Format: `projects/{project_number}`
160 &quot;A String&quot;,
161 ],
162 &quot;unrestrictedServices&quot;: [ # Google Cloud services that are not subject to the Service Perimeter
163 # restrictions. Deprecated. Must be set to a single wildcard &quot;*&quot;.
164 #
165 # The wildcard means that unless explicitly specified by
166 # &quot;restricted_services&quot; list, any service is treated as unrestricted.
167 &quot;A String&quot;,
168 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700169 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700170 &quot;name&quot;: &quot;A String&quot;, # Required. Resource name for the ServicePerimeter. The `short_name`
171 # component must begin with a letter and only include alphanumeric and &#x27;_&#x27;.
172 # Format: `accessPolicies/{policy_id}/servicePerimeters/{short_name}`
173 &quot;description&quot;: &quot;A String&quot;, # Description of the `ServicePerimeter` and its use. Does not affect
174 # behavior.
175 }
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700176
177 x__xgafv: string, V1 error format.
178 Allowed values
179 1 - v1 error format
180 2 - v2 error format
181
182Returns:
183 An object of the form:
184
185 { # This resource represents a long-running operation that is the result of a
186 # network API call.
Bu Sun Kim65020912020-05-20 12:08:20 -0700187 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that
Dan O'Mearadd494642020-05-01 07:42:23 -0700188 # originally returns it. If you use the default HTTP mapping, the
189 # `name` should be a resource name ending with `operations/{unique_id}`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700190 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for # The error result of the operation in case of failure or cancellation.
191 # different programming environments, including REST APIs and RPC APIs. It is
192 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
193 # three pieces of data: error code, error message, and error details.
194 #
195 # You can find out more about this error model and how to work with it in the
196 # [API Design Guide](https://cloud.google.com/apis/design/errors).
197 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
198 # message types for APIs to use.
199 {
200 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
201 },
202 ],
203 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
204 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
205 # user-facing error message should be localized and sent in the
206 # google.rpc.Status.details field, or localized by the client.
207 },
208 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically
209 # contains progress information and common metadata such as create time.
210 # Some services might not provide such metadata. Any method that returns a
211 # long-running operation should document the metadata type, if any.
212 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
213 },
214 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress.
215 # If `true`, the operation is completed, and either `error` or `response` is
216 # available.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700217 &quot;response&quot;: { # The normal response of the operation in case of success. If the original
218 # method returns no data on success, such as `Delete`, the response is
219 # `google.protobuf.Empty`. If the original method is standard
220 # `Get`/`Create`/`Update`, the response should be the resource. For other
221 # methods, the response should have the type `XxxResponse`, where `Xxx`
222 # is the original method name. For example, if the original method name
223 # is `TakeSnapshot()`, the inferred response type is
224 # `TakeSnapshotResponse`.
225 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
226 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700227 }</pre>
228</div>
229
230<div class="method">
231 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
Dan O'Mearadd494642020-05-01 07:42:23 -0700232 <pre>Delete a Service Perimeter by resource
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700233name. The longrunning operation from this RPC will have a successful status
234once the Service Perimeter has been
235removed from long-lasting storage.
236
237Args:
238 name: string, Required. Resource name for the Service Perimeter.
239
240Format:
241`accessPolicies/{policy_id}/servicePerimeters/{service_perimeter_id}` (required)
242 x__xgafv: string, V1 error format.
243 Allowed values
244 1 - v1 error format
245 2 - v2 error format
246
247Returns:
248 An object of the form:
249
250 { # This resource represents a long-running operation that is the result of a
251 # network API call.
Bu Sun Kim65020912020-05-20 12:08:20 -0700252 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that
Dan O'Mearadd494642020-05-01 07:42:23 -0700253 # originally returns it. If you use the default HTTP mapping, the
254 # `name` should be a resource name ending with `operations/{unique_id}`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700255 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for # The error result of the operation in case of failure or cancellation.
256 # different programming environments, including REST APIs and RPC APIs. It is
257 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
258 # three pieces of data: error code, error message, and error details.
259 #
260 # You can find out more about this error model and how to work with it in the
261 # [API Design Guide](https://cloud.google.com/apis/design/errors).
262 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
263 # message types for APIs to use.
264 {
265 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
266 },
267 ],
268 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
269 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
270 # user-facing error message should be localized and sent in the
271 # google.rpc.Status.details field, or localized by the client.
272 },
273 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically
274 # contains progress information and common metadata such as create time.
275 # Some services might not provide such metadata. Any method that returns a
276 # long-running operation should document the metadata type, if any.
277 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
278 },
279 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress.
280 # If `true`, the operation is completed, and either `error` or `response` is
281 # available.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700282 &quot;response&quot;: { # The normal response of the operation in case of success. If the original
283 # method returns no data on success, such as `Delete`, the response is
284 # `google.protobuf.Empty`. If the original method is standard
285 # `Get`/`Create`/`Update`, the response should be the resource. For other
286 # methods, the response should have the type `XxxResponse`, where `Xxx`
287 # is the original method name. For example, if the original method name
288 # is `TakeSnapshot()`, the inferred response type is
289 # `TakeSnapshotResponse`.
290 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
291 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700292 }</pre>
293</div>
294
295<div class="method">
296 <code class="details" id="get">get(name, x__xgafv=None)</code>
Dan O'Mearadd494642020-05-01 07:42:23 -0700297 <pre>Get a Service Perimeter by resource
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700298name.
299
300Args:
301 name: string, Required. Resource name for the Service Perimeter.
302
303Format:
304`accessPolicies/{policy_id}/servicePerimeters/{service_perimeters_id}` (required)
305 x__xgafv: string, V1 error format.
306 Allowed values
307 1 - v1 error format
308 2 - v2 error format
309
310Returns:
311 An object of the form:
312
Dan O'Mearadd494642020-05-01 07:42:23 -0700313 { # `ServicePerimeter` describes a set of Google Cloud resources which can freely
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700314 # import and export data amongst themselves, but not export outside of the
315 # `ServicePerimeter`. If a request with a source within this `ServicePerimeter`
316 # has a target outside of the `ServicePerimeter`, the request will be blocked.
317 # Otherwise the request is allowed. There are two types of Service Perimeter -
318 # Regular and Bridge. Regular Service Perimeters cannot overlap, a single
319 # Google Cloud project can only belong to a single regular Service Perimeter.
320 # Service Perimeter Bridges can contain only Google Cloud projects as members,
321 # a single Google Cloud project may belong to multiple Service Perimeter
322 # Bridges.
323 &quot;perimeterType&quot;: &quot;A String&quot;, # Perimeter type indicator. A single project is
324 # allowed to be a member of single regular perimeter, but multiple service
325 # perimeter bridges. A project cannot be a included in a perimeter bridge
326 # without being included in regular perimeter. For perimeter bridges,
327 # restricted/unrestricted service lists as well as access lists must be
328 # empty.
329 &quot;title&quot;: &quot;A String&quot;, # Human readable title. Must be unique within the Policy.
330 &quot;status&quot;: { # `ServicePerimeterConfig` specifies a set of Google Cloud resources that # Current ServicePerimeter configuration. Specifies sets of resources,
331 # restricted/unrestricted services and access levels that determine perimeter
332 # content and boundaries.
333 # describe specific Service Perimeter configuration.
334 &quot;accessLevels&quot;: [ # A list of `AccessLevel` resource names that allow resources within the
335 # `ServicePerimeter` to be accessed from the internet. `AccessLevels` listed
336 # must be in the same policy as this `ServicePerimeter`. Referencing a
337 # nonexistent `AccessLevel` is a syntax error. If no `AccessLevel` names are
338 # listed, resources within the perimeter can only be accessed via Google
339 # Cloud calls with request origins within the perimeter. Example:
340 # `&quot;accessPolicies/MY_POLICY/accessLevels/MY_LEVEL&quot;`.
341 # For Service Perimeter Bridge, must be empty.
Bu Sun Kim65020912020-05-20 12:08:20 -0700342 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700343 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700344 &quot;restrictedServices&quot;: [ # Google Cloud services that are subject to the Service Perimeter
345 # restrictions. Must contain a list of services. For example, if
346 # `storage.googleapis.com` is specified, access to the storage buckets
347 # inside the perimeter must meet the perimeter&#x27;s access restrictions.
348 &quot;A String&quot;,
349 ],
350 &quot;vpcAccessibleServices&quot;: { # Specifies how APIs are allowed to communicate within the Service # Beta. Configuration for APIs allowed within Perimeter.
351 # Perimeter.
352 &quot;enableRestriction&quot;: True or False, # Whether to restrict API calls within the Service Perimeter to the list of
353 # APIs specified in &#x27;allowed_services&#x27;.
354 &quot;allowedServices&quot;: [ # The list of APIs usable within the Service Perimeter. Must be empty
355 # unless &#x27;enable_restriction&#x27; is True.
356 &quot;A String&quot;,
357 ],
358 },
359 &quot;resources&quot;: [ # A list of Google Cloud resources that are inside of the service perimeter.
360 # Currently only projects are allowed. Format: `projects/{project_number}`
361 &quot;A String&quot;,
362 ],
363 &quot;unrestrictedServices&quot;: [ # Google Cloud services that are not subject to the Service Perimeter
364 # restrictions. Deprecated. Must be set to a single wildcard &quot;*&quot;.
365 #
366 # The wildcard means that unless explicitly specified by
367 # &quot;restricted_services&quot; list, any service is treated as unrestricted.
368 &quot;A String&quot;,
369 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700370 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700371 &quot;name&quot;: &quot;A String&quot;, # Required. Resource name for the ServicePerimeter. The `short_name`
372 # component must begin with a letter and only include alphanumeric and &#x27;_&#x27;.
373 # Format: `accessPolicies/{policy_id}/servicePerimeters/{short_name}`
374 &quot;description&quot;: &quot;A String&quot;, # Description of the `ServicePerimeter` and its use. Does not affect
375 # behavior.
376 }</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700377</div>
378
379<div class="method">
Bu Sun Kim65020912020-05-20 12:08:20 -0700380 <code class="details" id="list">list(parent, pageToken=None, pageSize=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700381 <pre>List all Service Perimeters for an
382access policy.
383
384Args:
385 parent: string, Required. Resource name for the access policy to list Service Perimeters from.
386
387Format:
388`accessPolicies/{policy_id}` (required)
389 pageToken: string, Next page token for the next batch of Service Perimeter instances.
390Defaults to the first page of results.
Bu Sun Kim65020912020-05-20 12:08:20 -0700391 pageSize: integer, Number of Service Perimeters to include
392in the list. Default 100.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700393 x__xgafv: string, V1 error format.
394 Allowed values
395 1 - v1 error format
396 2 - v2 error format
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700397
398Returns:
399 An object of the form:
400
401 { # A response to `ListServicePerimetersRequest`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700402 &quot;servicePerimeters&quot;: [ # List of the Service Perimeter instances.
Dan O'Mearadd494642020-05-01 07:42:23 -0700403 { # `ServicePerimeter` describes a set of Google Cloud resources which can freely
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700404 # import and export data amongst themselves, but not export outside of the
405 # `ServicePerimeter`. If a request with a source within this `ServicePerimeter`
406 # has a target outside of the `ServicePerimeter`, the request will be blocked.
407 # Otherwise the request is allowed. There are two types of Service Perimeter -
408 # Regular and Bridge. Regular Service Perimeters cannot overlap, a single
409 # Google Cloud project can only belong to a single regular Service Perimeter.
410 # Service Perimeter Bridges can contain only Google Cloud projects as members,
411 # a single Google Cloud project may belong to multiple Service Perimeter
412 # Bridges.
413 &quot;perimeterType&quot;: &quot;A String&quot;, # Perimeter type indicator. A single project is
414 # allowed to be a member of single regular perimeter, but multiple service
415 # perimeter bridges. A project cannot be a included in a perimeter bridge
416 # without being included in regular perimeter. For perimeter bridges,
417 # restricted/unrestricted service lists as well as access lists must be
418 # empty.
419 &quot;title&quot;: &quot;A String&quot;, # Human readable title. Must be unique within the Policy.
420 &quot;status&quot;: { # `ServicePerimeterConfig` specifies a set of Google Cloud resources that # Current ServicePerimeter configuration. Specifies sets of resources,
421 # restricted/unrestricted services and access levels that determine perimeter
422 # content and boundaries.
423 # describe specific Service Perimeter configuration.
424 &quot;accessLevels&quot;: [ # A list of `AccessLevel` resource names that allow resources within the
425 # `ServicePerimeter` to be accessed from the internet. `AccessLevels` listed
426 # must be in the same policy as this `ServicePerimeter`. Referencing a
427 # nonexistent `AccessLevel` is a syntax error. If no `AccessLevel` names are
428 # listed, resources within the perimeter can only be accessed via Google
429 # Cloud calls with request origins within the perimeter. Example:
430 # `&quot;accessPolicies/MY_POLICY/accessLevels/MY_LEVEL&quot;`.
431 # For Service Perimeter Bridge, must be empty.
Bu Sun Kim65020912020-05-20 12:08:20 -0700432 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700433 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700434 &quot;restrictedServices&quot;: [ # Google Cloud services that are subject to the Service Perimeter
435 # restrictions. Must contain a list of services. For example, if
436 # `storage.googleapis.com` is specified, access to the storage buckets
437 # inside the perimeter must meet the perimeter&#x27;s access restrictions.
438 &quot;A String&quot;,
439 ],
440 &quot;vpcAccessibleServices&quot;: { # Specifies how APIs are allowed to communicate within the Service # Beta. Configuration for APIs allowed within Perimeter.
441 # Perimeter.
442 &quot;enableRestriction&quot;: True or False, # Whether to restrict API calls within the Service Perimeter to the list of
443 # APIs specified in &#x27;allowed_services&#x27;.
444 &quot;allowedServices&quot;: [ # The list of APIs usable within the Service Perimeter. Must be empty
445 # unless &#x27;enable_restriction&#x27; is True.
446 &quot;A String&quot;,
447 ],
448 },
449 &quot;resources&quot;: [ # A list of Google Cloud resources that are inside of the service perimeter.
450 # Currently only projects are allowed. Format: `projects/{project_number}`
451 &quot;A String&quot;,
452 ],
453 &quot;unrestrictedServices&quot;: [ # Google Cloud services that are not subject to the Service Perimeter
454 # restrictions. Deprecated. Must be set to a single wildcard &quot;*&quot;.
455 #
456 # The wildcard means that unless explicitly specified by
457 # &quot;restricted_services&quot; list, any service is treated as unrestricted.
458 &quot;A String&quot;,
459 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700460 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700461 &quot;name&quot;: &quot;A String&quot;, # Required. Resource name for the ServicePerimeter. The `short_name`
462 # component must begin with a letter and only include alphanumeric and &#x27;_&#x27;.
463 # Format: `accessPolicies/{policy_id}/servicePerimeters/{short_name}`
464 &quot;description&quot;: &quot;A String&quot;, # Description of the `ServicePerimeter` and its use. Does not affect
465 # behavior.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700466 },
467 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700468 &quot;nextPageToken&quot;: &quot;A String&quot;, # The pagination token to retrieve the next page of results. If the value is
469 # empty, no further results remain.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700470 }</pre>
471</div>
472
473<div class="method">
474 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
475 <pre>Retrieves the next page of results.
476
477Args:
478 previous_request: The request for the previous page. (required)
479 previous_response: The response from the request for the previous page. (required)
480
481Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700482 A request object that you can call &#x27;execute()&#x27; on to request the next
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700483 page. Returns None if there are no more items in the collection.
484 </pre>
485</div>
486
487<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700488 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
489 <pre>Update a Service Perimeter. The
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700490longrunning operation from this RPC will have a successful status once the
491changes to the Service Perimeter have
492propagated to long-lasting storage. Service Perimeter containing
493errors will result in an error response for the first error encountered.
494
495Args:
496 name: string, Required. Resource name for the ServicePerimeter. The `short_name`
Bu Sun Kim65020912020-05-20 12:08:20 -0700497component must begin with a letter and only include alphanumeric and &#x27;_&#x27;.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700498Format: `accessPolicies/{policy_id}/servicePerimeters/{short_name}` (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700499 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700500 The object takes the form of:
501
Dan O'Mearadd494642020-05-01 07:42:23 -0700502{ # `ServicePerimeter` describes a set of Google Cloud resources which can freely
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700503 # import and export data amongst themselves, but not export outside of the
504 # `ServicePerimeter`. If a request with a source within this `ServicePerimeter`
505 # has a target outside of the `ServicePerimeter`, the request will be blocked.
506 # Otherwise the request is allowed. There are two types of Service Perimeter -
507 # Regular and Bridge. Regular Service Perimeters cannot overlap, a single
508 # Google Cloud project can only belong to a single regular Service Perimeter.
509 # Service Perimeter Bridges can contain only Google Cloud projects as members,
510 # a single Google Cloud project may belong to multiple Service Perimeter
511 # Bridges.
512 &quot;perimeterType&quot;: &quot;A String&quot;, # Perimeter type indicator. A single project is
513 # allowed to be a member of single regular perimeter, but multiple service
514 # perimeter bridges. A project cannot be a included in a perimeter bridge
515 # without being included in regular perimeter. For perimeter bridges,
516 # restricted/unrestricted service lists as well as access lists must be
517 # empty.
518 &quot;title&quot;: &quot;A String&quot;, # Human readable title. Must be unique within the Policy.
519 &quot;status&quot;: { # `ServicePerimeterConfig` specifies a set of Google Cloud resources that # Current ServicePerimeter configuration. Specifies sets of resources,
520 # restricted/unrestricted services and access levels that determine perimeter
521 # content and boundaries.
522 # describe specific Service Perimeter configuration.
523 &quot;accessLevels&quot;: [ # A list of `AccessLevel` resource names that allow resources within the
524 # `ServicePerimeter` to be accessed from the internet. `AccessLevels` listed
525 # must be in the same policy as this `ServicePerimeter`. Referencing a
526 # nonexistent `AccessLevel` is a syntax error. If no `AccessLevel` names are
527 # listed, resources within the perimeter can only be accessed via Google
528 # Cloud calls with request origins within the perimeter. Example:
529 # `&quot;accessPolicies/MY_POLICY/accessLevels/MY_LEVEL&quot;`.
530 # For Service Perimeter Bridge, must be empty.
Bu Sun Kim65020912020-05-20 12:08:20 -0700531 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700532 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700533 &quot;restrictedServices&quot;: [ # Google Cloud services that are subject to the Service Perimeter
534 # restrictions. Must contain a list of services. For example, if
535 # `storage.googleapis.com` is specified, access to the storage buckets
536 # inside the perimeter must meet the perimeter&#x27;s access restrictions.
537 &quot;A String&quot;,
538 ],
539 &quot;vpcAccessibleServices&quot;: { # Specifies how APIs are allowed to communicate within the Service # Beta. Configuration for APIs allowed within Perimeter.
540 # Perimeter.
541 &quot;enableRestriction&quot;: True or False, # Whether to restrict API calls within the Service Perimeter to the list of
542 # APIs specified in &#x27;allowed_services&#x27;.
543 &quot;allowedServices&quot;: [ # The list of APIs usable within the Service Perimeter. Must be empty
544 # unless &#x27;enable_restriction&#x27; is True.
545 &quot;A String&quot;,
546 ],
547 },
548 &quot;resources&quot;: [ # A list of Google Cloud resources that are inside of the service perimeter.
549 # Currently only projects are allowed. Format: `projects/{project_number}`
550 &quot;A String&quot;,
551 ],
552 &quot;unrestrictedServices&quot;: [ # Google Cloud services that are not subject to the Service Perimeter
553 # restrictions. Deprecated. Must be set to a single wildcard &quot;*&quot;.
554 #
555 # The wildcard means that unless explicitly specified by
556 # &quot;restricted_services&quot; list, any service is treated as unrestricted.
557 &quot;A String&quot;,
558 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700559 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700560 &quot;name&quot;: &quot;A String&quot;, # Required. Resource name for the ServicePerimeter. The `short_name`
561 # component must begin with a letter and only include alphanumeric and &#x27;_&#x27;.
562 # Format: `accessPolicies/{policy_id}/servicePerimeters/{short_name}`
563 &quot;description&quot;: &quot;A String&quot;, # Description of the `ServicePerimeter` and its use. Does not affect
564 # behavior.
565 }
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700566
567 updateMask: string, Required. Mask to control which fields get updated. Must be non-empty.
568 x__xgafv: string, V1 error format.
569 Allowed values
570 1 - v1 error format
571 2 - v2 error format
572
573Returns:
574 An object of the form:
575
576 { # This resource represents a long-running operation that is the result of a
577 # network API call.
Bu Sun Kim65020912020-05-20 12:08:20 -0700578 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that
Dan O'Mearadd494642020-05-01 07:42:23 -0700579 # originally returns it. If you use the default HTTP mapping, the
580 # `name` should be a resource name ending with `operations/{unique_id}`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700581 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for # The error result of the operation in case of failure or cancellation.
582 # different programming environments, including REST APIs and RPC APIs. It is
583 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
584 # three pieces of data: error code, error message, and error details.
585 #
586 # You can find out more about this error model and how to work with it in the
587 # [API Design Guide](https://cloud.google.com/apis/design/errors).
588 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
589 # message types for APIs to use.
590 {
591 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
592 },
593 ],
594 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
595 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
596 # user-facing error message should be localized and sent in the
597 # google.rpc.Status.details field, or localized by the client.
598 },
599 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically
600 # contains progress information and common metadata such as create time.
601 # Some services might not provide such metadata. Any method that returns a
602 # long-running operation should document the metadata type, if any.
603 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
604 },
605 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress.
606 # If `true`, the operation is completed, and either `error` or `response` is
607 # available.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700608 &quot;response&quot;: { # The normal response of the operation in case of success. If the original
609 # method returns no data on success, such as `Delete`, the response is
610 # `google.protobuf.Empty`. If the original method is standard
611 # `Get`/`Create`/`Update`, the response should be the resource. For other
612 # methods, the response should have the type `XxxResponse`, where `Xxx`
613 # is the original method name. For example, if the original method name
614 # is `TakeSnapshot()`, the inferred response type is
615 # `TakeSnapshotResponse`.
616 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
617 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700618 }</pre>
619</div>
620
621</body></html>