blob: e0e6b3a466baae485c2a91bff1e0cc49fbb51e23 [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="accessapproval_v1beta1.html">Access Approval API</a> . <a href="accessapproval_v1beta1.projects.html">projects</a> . <a href="accessapproval_v1beta1.projects.approvalRequests.html">approvalRequests</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070078 <code><a href="#approve">approve(name, body=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070079<p class="firstline">Approves a request and returns the updated ApprovalRequest.</p>
80<p class="toc_element">
81 <code><a href="#dismiss">dismiss(name, body=None, x__xgafv=None)</a></code></p>
82<p class="firstline">Dismisses a request. Returns the updated ApprovalRequest.</p>
83<p class="toc_element">
84 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
85<p class="firstline">Gets an approval request. Returns NOT_FOUND if the request does not exist.</p>
86<p class="toc_element">
Bu Sun Kim65020912020-05-20 12:08:20 -070087 <code><a href="#list">list(parent, pageToken=None, pageSize=None, filter=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070088<p class="firstline">Lists approval requests associated with a project, folder, or organization.</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<h3>Method Details</h3>
93<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -070094 <code class="details" id="approve">approve(name, body=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070095 <pre>Approves a request and returns the updated ApprovalRequest.
96
97Returns NOT_FOUND if the request does not exist. Returns
98FAILED_PRECONDITION if the request exists but is not in a pending state.
99
100Args:
101 name: string, Name of the approval request to approve. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700102 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700103 The object takes the form of:
104
105{ # Request to approve an ApprovalRequest.
Bu Sun Kim65020912020-05-20 12:08:20 -0700106 &quot;expireTime&quot;: &quot;A String&quot;, # The expiration time of this approval.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700107 }
108
109 x__xgafv: string, V1 error format.
110 Allowed values
111 1 - v1 error format
112 2 - v2 error format
113
114Returns:
115 An object of the form:
116
117 { # A request for the customer to approve access to a resource.
Bu Sun Kim65020912020-05-20 12:08:20 -0700118 &quot;requestedLocations&quot;: { # Home office and physical location of the principal. # The locations for which approval is being requested.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700119 &quot;principalOfficeCountry&quot;: &quot;A String&quot;, # The &quot;home office&quot; location of the principal. A two-letter country code
120 # (ISO 3166-1 alpha-2), such as &quot;US&quot;, &quot;DE&quot; or &quot;GB&quot; or a region code. In some
121 # limited situations Google systems may refer refer to a region code instead
122 # of a country code.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700123 # Possible Region Codes:
Dan O'Mearadd494642020-05-01 07:42:23 -0700124 # &lt;ol&gt;
125 # &lt;li&gt;ASI: Asia&lt;/li&gt;
126 # &lt;li&gt;EUR: Europe&lt;/li&gt;
127 # &lt;li&gt;OCE: Oceania&lt;/li&gt;
128 # &lt;li&gt;AFR: Africa&lt;/li&gt;
129 # &lt;li&gt;NAM: North America&lt;/li&gt;
130 # &lt;li&gt;SAM: South America&lt;/li&gt;
131 # &lt;li&gt;ANT: Antarctica&lt;/li&gt;
132 # &lt;li&gt;ANY: Any location&lt;/li&gt;
133 # &lt;/ol&gt;
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700134 &quot;principalPhysicalLocationCountry&quot;: &quot;A String&quot;, # Physical location of the principal at the time of the access. A
135 # two-letter country code (ISO 3166-1 alpha-2), such as &quot;US&quot;, &quot;DE&quot; or &quot;GB&quot; or
136 # a region code. In some limited situations Google systems may refer refer to
137 # a region code instead of a country code.
Dan O'Mearadd494642020-05-01 07:42:23 -0700138 # Possible Region Codes:
139 # &lt;ol&gt;
140 # &lt;li&gt;ASI: Asia&lt;/li&gt;
141 # &lt;li&gt;EUR: Europe&lt;/li&gt;
142 # &lt;li&gt;OCE: Oceania&lt;/li&gt;
143 # &lt;li&gt;AFR: Africa&lt;/li&gt;
144 # &lt;li&gt;NAM: North America&lt;/li&gt;
145 # &lt;li&gt;SAM: South America&lt;/li&gt;
146 # &lt;li&gt;ANT: Antarctica&lt;/li&gt;
147 # &lt;li&gt;ANY: Any location&lt;/li&gt;
148 # &lt;/ol&gt;
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700149 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700150 &quot;dismiss&quot;: { # A decision that has been made to dismiss an approval request. # The request was dismissed.
151 &quot;dismissTime&quot;: &quot;A String&quot;, # The time at which the approval request was dismissed.
152 },
153 &quot;name&quot;: &quot;A String&quot;, # The resource name of the request. Format is
154 # &quot;{projects|folders|organizations}/{id}/approvalRequests/{approval_request_id}&quot;.
155 &quot;requestedResourceName&quot;: &quot;A String&quot;, # The resource for which approval is being requested. The format of the
156 # resource name is defined at
157 # https://cloud.google.com/apis/design/resource_names. The resource name here
158 # may either be a &quot;full&quot; resource name (e.g.
159 # &quot;//library.googleapis.com/shelves/shelf1/books/book2&quot;) or a &quot;relative&quot;
160 # resource name (e.g. &quot;shelves/shelf1/books/book2&quot;) as described in the
161 # resource name specification.
162 &quot;requestedExpiration&quot;: &quot;A String&quot;, # The requested expiration for the approval. If the request is approved,
163 # access will be granted from the time of approval until the expiration time.
164 &quot;approve&quot;: { # A decision that has been made to approve access to a resource. # Access was approved.
165 &quot;expireTime&quot;: &quot;A String&quot;, # The time at which the approval expires.
166 &quot;approveTime&quot;: &quot;A String&quot;, # The time at which approval was granted.
167 },
168 &quot;requestedResourceProperties&quot;: { # The properties associated with the resource of the request. # Properties related to the resource represented by requested_resource_name.
169 &quot;excludesDescendants&quot;: True or False, # Whether an approval will exclude the descendants of the resource being
170 # requested.
171 },
172 &quot;requestedReason&quot;: { # The justification for which approval is being requested.
173 &quot;type&quot;: &quot;A String&quot;, # Type of access justification.
174 &quot;detail&quot;: &quot;A String&quot;, # More detail about certain reason types. See comments for each type above.
175 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700176 &quot;requestTime&quot;: &quot;A String&quot;, # The time at which approval was requested.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700177 }</pre>
178</div>
179
180<div class="method">
181 <code class="details" id="dismiss">dismiss(name, body=None, x__xgafv=None)</code>
182 <pre>Dismisses a request. Returns the updated ApprovalRequest.
183
184NOTE: This does not deny access to the resource if another request has been
185made and approved. It is equivalent in effect to ignoring the request
186altogether.
187
188Returns NOT_FOUND if the request does not exist.
189
190Returns FAILED_PRECONDITION if the request exists but is not in a pending
191state.
192
193Args:
194 name: string, Name of the ApprovalRequest to dismiss. (required)
195 body: object, The request body.
196 The object takes the form of:
197
198{ # Request to dismiss an approval request.
199 }
200
201 x__xgafv: string, V1 error format.
202 Allowed values
203 1 - v1 error format
204 2 - v2 error format
205
206Returns:
207 An object of the form:
208
209 { # A request for the customer to approve access to a resource.
Bu Sun Kim65020912020-05-20 12:08:20 -0700210 &quot;requestedLocations&quot;: { # Home office and physical location of the principal. # The locations for which approval is being requested.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700211 &quot;principalOfficeCountry&quot;: &quot;A String&quot;, # The &quot;home office&quot; location of the principal. A two-letter country code
212 # (ISO 3166-1 alpha-2), such as &quot;US&quot;, &quot;DE&quot; or &quot;GB&quot; or a region code. In some
213 # limited situations Google systems may refer refer to a region code instead
214 # of a country code.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700215 # Possible Region Codes:
Dan O'Mearadd494642020-05-01 07:42:23 -0700216 # &lt;ol&gt;
217 # &lt;li&gt;ASI: Asia&lt;/li&gt;
218 # &lt;li&gt;EUR: Europe&lt;/li&gt;
219 # &lt;li&gt;OCE: Oceania&lt;/li&gt;
220 # &lt;li&gt;AFR: Africa&lt;/li&gt;
221 # &lt;li&gt;NAM: North America&lt;/li&gt;
222 # &lt;li&gt;SAM: South America&lt;/li&gt;
223 # &lt;li&gt;ANT: Antarctica&lt;/li&gt;
224 # &lt;li&gt;ANY: Any location&lt;/li&gt;
225 # &lt;/ol&gt;
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700226 &quot;principalPhysicalLocationCountry&quot;: &quot;A String&quot;, # Physical location of the principal at the time of the access. A
227 # two-letter country code (ISO 3166-1 alpha-2), such as &quot;US&quot;, &quot;DE&quot; or &quot;GB&quot; or
228 # a region code. In some limited situations Google systems may refer refer to
229 # a region code instead of a country code.
Dan O'Mearadd494642020-05-01 07:42:23 -0700230 # Possible Region Codes:
231 # &lt;ol&gt;
232 # &lt;li&gt;ASI: Asia&lt;/li&gt;
233 # &lt;li&gt;EUR: Europe&lt;/li&gt;
234 # &lt;li&gt;OCE: Oceania&lt;/li&gt;
235 # &lt;li&gt;AFR: Africa&lt;/li&gt;
236 # &lt;li&gt;NAM: North America&lt;/li&gt;
237 # &lt;li&gt;SAM: South America&lt;/li&gt;
238 # &lt;li&gt;ANT: Antarctica&lt;/li&gt;
239 # &lt;li&gt;ANY: Any location&lt;/li&gt;
240 # &lt;/ol&gt;
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700241 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700242 &quot;dismiss&quot;: { # A decision that has been made to dismiss an approval request. # The request was dismissed.
243 &quot;dismissTime&quot;: &quot;A String&quot;, # The time at which the approval request was dismissed.
244 },
245 &quot;name&quot;: &quot;A String&quot;, # The resource name of the request. Format is
246 # &quot;{projects|folders|organizations}/{id}/approvalRequests/{approval_request_id}&quot;.
247 &quot;requestedResourceName&quot;: &quot;A String&quot;, # The resource for which approval is being requested. The format of the
248 # resource name is defined at
249 # https://cloud.google.com/apis/design/resource_names. The resource name here
250 # may either be a &quot;full&quot; resource name (e.g.
251 # &quot;//library.googleapis.com/shelves/shelf1/books/book2&quot;) or a &quot;relative&quot;
252 # resource name (e.g. &quot;shelves/shelf1/books/book2&quot;) as described in the
253 # resource name specification.
254 &quot;requestedExpiration&quot;: &quot;A String&quot;, # The requested expiration for the approval. If the request is approved,
255 # access will be granted from the time of approval until the expiration time.
256 &quot;approve&quot;: { # A decision that has been made to approve access to a resource. # Access was approved.
257 &quot;expireTime&quot;: &quot;A String&quot;, # The time at which the approval expires.
258 &quot;approveTime&quot;: &quot;A String&quot;, # The time at which approval was granted.
259 },
260 &quot;requestedResourceProperties&quot;: { # The properties associated with the resource of the request. # Properties related to the resource represented by requested_resource_name.
261 &quot;excludesDescendants&quot;: True or False, # Whether an approval will exclude the descendants of the resource being
262 # requested.
263 },
264 &quot;requestedReason&quot;: { # The justification for which approval is being requested.
265 &quot;type&quot;: &quot;A String&quot;, # Type of access justification.
266 &quot;detail&quot;: &quot;A String&quot;, # More detail about certain reason types. See comments for each type above.
267 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700268 &quot;requestTime&quot;: &quot;A String&quot;, # The time at which approval was requested.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700269 }</pre>
270</div>
271
272<div class="method">
273 <code class="details" id="get">get(name, x__xgafv=None)</code>
274 <pre>Gets an approval request. Returns NOT_FOUND if the request does not exist.
275
276Args:
277 name: string, Name of the approval request to retrieve. (required)
278 x__xgafv: string, V1 error format.
279 Allowed values
280 1 - v1 error format
281 2 - v2 error format
282
283Returns:
284 An object of the form:
285
286 { # A request for the customer to approve access to a resource.
Bu Sun Kim65020912020-05-20 12:08:20 -0700287 &quot;requestedLocations&quot;: { # Home office and physical location of the principal. # The locations for which approval is being requested.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700288 &quot;principalOfficeCountry&quot;: &quot;A String&quot;, # The &quot;home office&quot; location of the principal. A two-letter country code
289 # (ISO 3166-1 alpha-2), such as &quot;US&quot;, &quot;DE&quot; or &quot;GB&quot; or a region code. In some
290 # limited situations Google systems may refer refer to a region code instead
291 # of a country code.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700292 # Possible Region Codes:
Dan O'Mearadd494642020-05-01 07:42:23 -0700293 # &lt;ol&gt;
294 # &lt;li&gt;ASI: Asia&lt;/li&gt;
295 # &lt;li&gt;EUR: Europe&lt;/li&gt;
296 # &lt;li&gt;OCE: Oceania&lt;/li&gt;
297 # &lt;li&gt;AFR: Africa&lt;/li&gt;
298 # &lt;li&gt;NAM: North America&lt;/li&gt;
299 # &lt;li&gt;SAM: South America&lt;/li&gt;
300 # &lt;li&gt;ANT: Antarctica&lt;/li&gt;
301 # &lt;li&gt;ANY: Any location&lt;/li&gt;
302 # &lt;/ol&gt;
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700303 &quot;principalPhysicalLocationCountry&quot;: &quot;A String&quot;, # Physical location of the principal at the time of the access. A
304 # two-letter country code (ISO 3166-1 alpha-2), such as &quot;US&quot;, &quot;DE&quot; or &quot;GB&quot; or
305 # a region code. In some limited situations Google systems may refer refer to
306 # a region code instead of a country code.
Dan O'Mearadd494642020-05-01 07:42:23 -0700307 # Possible Region Codes:
308 # &lt;ol&gt;
309 # &lt;li&gt;ASI: Asia&lt;/li&gt;
310 # &lt;li&gt;EUR: Europe&lt;/li&gt;
311 # &lt;li&gt;OCE: Oceania&lt;/li&gt;
312 # &lt;li&gt;AFR: Africa&lt;/li&gt;
313 # &lt;li&gt;NAM: North America&lt;/li&gt;
314 # &lt;li&gt;SAM: South America&lt;/li&gt;
315 # &lt;li&gt;ANT: Antarctica&lt;/li&gt;
316 # &lt;li&gt;ANY: Any location&lt;/li&gt;
317 # &lt;/ol&gt;
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700318 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700319 &quot;dismiss&quot;: { # A decision that has been made to dismiss an approval request. # The request was dismissed.
320 &quot;dismissTime&quot;: &quot;A String&quot;, # The time at which the approval request was dismissed.
321 },
322 &quot;name&quot;: &quot;A String&quot;, # The resource name of the request. Format is
323 # &quot;{projects|folders|organizations}/{id}/approvalRequests/{approval_request_id}&quot;.
324 &quot;requestedResourceName&quot;: &quot;A String&quot;, # The resource for which approval is being requested. The format of the
325 # resource name is defined at
326 # https://cloud.google.com/apis/design/resource_names. The resource name here
327 # may either be a &quot;full&quot; resource name (e.g.
328 # &quot;//library.googleapis.com/shelves/shelf1/books/book2&quot;) or a &quot;relative&quot;
329 # resource name (e.g. &quot;shelves/shelf1/books/book2&quot;) as described in the
330 # resource name specification.
331 &quot;requestedExpiration&quot;: &quot;A String&quot;, # The requested expiration for the approval. If the request is approved,
332 # access will be granted from the time of approval until the expiration time.
333 &quot;approve&quot;: { # A decision that has been made to approve access to a resource. # Access was approved.
334 &quot;expireTime&quot;: &quot;A String&quot;, # The time at which the approval expires.
335 &quot;approveTime&quot;: &quot;A String&quot;, # The time at which approval was granted.
336 },
337 &quot;requestedResourceProperties&quot;: { # The properties associated with the resource of the request. # Properties related to the resource represented by requested_resource_name.
338 &quot;excludesDescendants&quot;: True or False, # Whether an approval will exclude the descendants of the resource being
339 # requested.
340 },
341 &quot;requestedReason&quot;: { # The justification for which approval is being requested.
342 &quot;type&quot;: &quot;A String&quot;, # Type of access justification.
343 &quot;detail&quot;: &quot;A String&quot;, # More detail about certain reason types. See comments for each type above.
344 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700345 &quot;requestTime&quot;: &quot;A String&quot;, # The time at which approval was requested.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700346 }</pre>
347</div>
348
349<div class="method">
Bu Sun Kim65020912020-05-20 12:08:20 -0700350 <code class="details" id="list">list(parent, pageToken=None, pageSize=None, filter=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700351 <pre>Lists approval requests associated with a project, folder, or organization.
352Approval requests can be filtered by state (pending, active, dismissed).
353The order is reverse chronological.
354
355Args:
Bu Sun Kim65020912020-05-20 12:08:20 -0700356 parent: string, The parent resource. This may be &quot;projects/{project_id}&quot;,
357&quot;folders/{folder_id}&quot;, or &quot;organizations/{organization_id}&quot;. (required)
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700358 pageToken: string, A token identifying the page of results to return.
Dan O'Mearadd494642020-05-01 07:42:23 -0700359 pageSize: integer, Requested page size.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700360 filter: string, A filter on the type of approval requests to retrieve. Must be one of the
361following values:
Dan O'Mearadd494642020-05-01 07:42:23 -0700362&lt;ol&gt;
363 &lt;li&gt;[not set]: Requests that are pending or have active approvals.&lt;/li&gt;
364 &lt;li&gt;ALL: All requests.&lt;/li&gt;
365 &lt;li&gt;PENDING: Only pending requests.&lt;/li&gt;
366 &lt;li&gt;ACTIVE: Only active (i.e. currently approved) requests.&lt;/li&gt;
367 &lt;li&gt;DISMISSED: Only dismissed (including expired) requests.&lt;/li&gt;
368&lt;/ol&gt;
Bu Sun Kim65020912020-05-20 12:08:20 -0700369 x__xgafv: string, V1 error format.
370 Allowed values
371 1 - v1 error format
372 2 - v2 error format
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700373
374Returns:
375 An object of the form:
376
377 { # Response to listing of ApprovalRequest objects.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700378 &quot;nextPageToken&quot;: &quot;A String&quot;, # Token to retrieve the next page of results, or empty if there are no more.
Bu Sun Kim65020912020-05-20 12:08:20 -0700379 &quot;approvalRequests&quot;: [ # Approval request details.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700380 { # A request for the customer to approve access to a resource.
Bu Sun Kim65020912020-05-20 12:08:20 -0700381 &quot;requestedLocations&quot;: { # Home office and physical location of the principal. # The locations for which approval is being requested.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700382 &quot;principalOfficeCountry&quot;: &quot;A String&quot;, # The &quot;home office&quot; location of the principal. A two-letter country code
383 # (ISO 3166-1 alpha-2), such as &quot;US&quot;, &quot;DE&quot; or &quot;GB&quot; or a region code. In some
384 # limited situations Google systems may refer refer to a region code instead
385 # of a country code.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700386 # Possible Region Codes:
Dan O'Mearadd494642020-05-01 07:42:23 -0700387 # &lt;ol&gt;
388 # &lt;li&gt;ASI: Asia&lt;/li&gt;
389 # &lt;li&gt;EUR: Europe&lt;/li&gt;
390 # &lt;li&gt;OCE: Oceania&lt;/li&gt;
391 # &lt;li&gt;AFR: Africa&lt;/li&gt;
392 # &lt;li&gt;NAM: North America&lt;/li&gt;
393 # &lt;li&gt;SAM: South America&lt;/li&gt;
394 # &lt;li&gt;ANT: Antarctica&lt;/li&gt;
395 # &lt;li&gt;ANY: Any location&lt;/li&gt;
396 # &lt;/ol&gt;
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700397 &quot;principalPhysicalLocationCountry&quot;: &quot;A String&quot;, # Physical location of the principal at the time of the access. A
398 # two-letter country code (ISO 3166-1 alpha-2), such as &quot;US&quot;, &quot;DE&quot; or &quot;GB&quot; or
399 # a region code. In some limited situations Google systems may refer refer to
400 # a region code instead of a country code.
Dan O'Mearadd494642020-05-01 07:42:23 -0700401 # Possible Region Codes:
402 # &lt;ol&gt;
403 # &lt;li&gt;ASI: Asia&lt;/li&gt;
404 # &lt;li&gt;EUR: Europe&lt;/li&gt;
405 # &lt;li&gt;OCE: Oceania&lt;/li&gt;
406 # &lt;li&gt;AFR: Africa&lt;/li&gt;
407 # &lt;li&gt;NAM: North America&lt;/li&gt;
408 # &lt;li&gt;SAM: South America&lt;/li&gt;
409 # &lt;li&gt;ANT: Antarctica&lt;/li&gt;
410 # &lt;li&gt;ANY: Any location&lt;/li&gt;
411 # &lt;/ol&gt;
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700412 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700413 &quot;dismiss&quot;: { # A decision that has been made to dismiss an approval request. # The request was dismissed.
414 &quot;dismissTime&quot;: &quot;A String&quot;, # The time at which the approval request was dismissed.
415 },
416 &quot;name&quot;: &quot;A String&quot;, # The resource name of the request. Format is
417 # &quot;{projects|folders|organizations}/{id}/approvalRequests/{approval_request_id}&quot;.
418 &quot;requestedResourceName&quot;: &quot;A String&quot;, # The resource for which approval is being requested. The format of the
419 # resource name is defined at
420 # https://cloud.google.com/apis/design/resource_names. The resource name here
421 # may either be a &quot;full&quot; resource name (e.g.
422 # &quot;//library.googleapis.com/shelves/shelf1/books/book2&quot;) or a &quot;relative&quot;
423 # resource name (e.g. &quot;shelves/shelf1/books/book2&quot;) as described in the
424 # resource name specification.
425 &quot;requestedExpiration&quot;: &quot;A String&quot;, # The requested expiration for the approval. If the request is approved,
426 # access will be granted from the time of approval until the expiration time.
427 &quot;approve&quot;: { # A decision that has been made to approve access to a resource. # Access was approved.
428 &quot;expireTime&quot;: &quot;A String&quot;, # The time at which the approval expires.
429 &quot;approveTime&quot;: &quot;A String&quot;, # The time at which approval was granted.
430 },
431 &quot;requestedResourceProperties&quot;: { # The properties associated with the resource of the request. # Properties related to the resource represented by requested_resource_name.
432 &quot;excludesDescendants&quot;: True or False, # Whether an approval will exclude the descendants of the resource being
433 # requested.
434 },
435 &quot;requestedReason&quot;: { # The justification for which approval is being requested.
436 &quot;type&quot;: &quot;A String&quot;, # Type of access justification.
437 &quot;detail&quot;: &quot;A String&quot;, # More detail about certain reason types. See comments for each type above.
438 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700439 &quot;requestTime&quot;: &quot;A String&quot;, # The time at which approval was requested.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700440 },
441 ],
442 }</pre>
443</div>
444
445<div class="method">
446 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
447 <pre>Retrieves the next page of results.
448
449Args:
450 previous_request: The request for the previous page. (required)
451 previous_response: The response from the request for the previous page. (required)
452
453Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700454 A request object that you can call &#x27;execute()&#x27; on to request the next
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700455 page. Returns None if there are no more items in the collection.
456 </pre>
457</div>
458
459</body></html>