blob: 575983e46b9f50161cb0a9831a5fbabcc1597968 [file] [log] [blame]
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001<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
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070075<h1><a href="cloudresourcemanager_v1.html">Cloud Resource Manager API</a> . <a href="cloudresourcemanager_v1.liens.html">liens</a></h1>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -040076<h2>Instance Methods</h2>
77<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070078 <code><a href="#create">create(body=None, x__xgafv=None)</a></code></p>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -040079<p class="firstline">Create a Lien which applies to the resource denoted by the `parent` field.</p>
80<p class="toc_element">
81 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
82<p class="firstline">Delete a Lien by `name`.</p>
83<p class="toc_element">
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070084 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
85<p class="firstline">Retrieve a Lien by `name`.</p>
86<p class="toc_element">
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -070087 <code><a href="#list">list(parent=None, pageToken=None, pageSize=None, x__xgafv=None)</a></code></p>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -040088<p class="firstline">List all Liens applied to the `parent` resource.</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="create">create(body=None, x__xgafv=None)</code>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -040095 <pre>Create a Lien which applies to the resource denoted by the `parent` field.
96
97Callers of this method will require permission on the `parent` resource.
98For example, applying to `projects/1234` requires permission
99`resourcemanager.projects.updateLiens`.
100
101NOTE: Some resources may limit the number of Liens which may be applied.
102
103Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700104 body: object, The request body.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400105 The object takes the form of:
106
107{ # A Lien represents an encumbrance on the actions that can be performed on a
Bu Sun Kim65020912020-05-20 12:08:20 -0700108 # resource.
109 &quot;parent&quot;: &quot;A String&quot;, # A reference to the resource this Lien is attached to. The server will
110 # validate the parent against those for which Liens are supported.
111 #
112 # Example: `projects/1234`
113 &quot;createTime&quot;: &quot;A String&quot;, # The creation time of this Lien.
114 &quot;name&quot;: &quot;A String&quot;, # A system-generated unique identifier for this Lien.
115 #
116 # Example: `liens/1234abcd`
117 &quot;reason&quot;: &quot;A String&quot;, # Concise user-visible strings indicating why an action cannot be performed
118 # on a resource. Maximum length of 200 characters.
119 #
120 # Example: &#x27;Holds production API key&#x27;
121 &quot;origin&quot;: &quot;A String&quot;, # A stable, user-visible/meaningful string identifying the origin of the
122 # Lien, intended to be inspected programmatically. Maximum length of 200
123 # characters.
124 #
125 # Example: &#x27;compute.googleapis.com&#x27;
126 &quot;restrictions&quot;: [ # The types of operations which should be blocked as a result of this Lien.
127 # Each value should correspond to an IAM permission. The server will
128 # validate the permissions against those for which Liens are supported.
129 #
130 # An empty list is meaningless and will be rejected.
131 #
132 # Example: [&#x27;resourcemanager.projects.delete&#x27;]
133 &quot;A String&quot;,
134 ],
135}
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400136
137 x__xgafv: string, V1 error format.
138 Allowed values
139 1 - v1 error format
140 2 - v2 error format
141
142Returns:
143 An object of the form:
144
145 { # A Lien represents an encumbrance on the actions that can be performed on a
Bu Sun Kim65020912020-05-20 12:08:20 -0700146 # resource.
147 &quot;parent&quot;: &quot;A String&quot;, # A reference to the resource this Lien is attached to. The server will
148 # validate the parent against those for which Liens are supported.
149 #
150 # Example: `projects/1234`
151 &quot;createTime&quot;: &quot;A String&quot;, # The creation time of this Lien.
152 &quot;name&quot;: &quot;A String&quot;, # A system-generated unique identifier for this Lien.
153 #
154 # Example: `liens/1234abcd`
155 &quot;reason&quot;: &quot;A String&quot;, # Concise user-visible strings indicating why an action cannot be performed
156 # on a resource. Maximum length of 200 characters.
157 #
158 # Example: &#x27;Holds production API key&#x27;
159 &quot;origin&quot;: &quot;A String&quot;, # A stable, user-visible/meaningful string identifying the origin of the
160 # Lien, intended to be inspected programmatically. Maximum length of 200
161 # characters.
162 #
163 # Example: &#x27;compute.googleapis.com&#x27;
164 &quot;restrictions&quot;: [ # The types of operations which should be blocked as a result of this Lien.
165 # Each value should correspond to an IAM permission. The server will
166 # validate the permissions against those for which Liens are supported.
167 #
168 # An empty list is meaningless and will be rejected.
169 #
170 # Example: [&#x27;resourcemanager.projects.delete&#x27;]
171 &quot;A String&quot;,
172 ],
173 }</pre>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400174</div>
175
176<div class="method">
177 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
178 <pre>Delete a Lien by `name`.
179
180Callers of this method will require permission on the `parent` resource.
181For example, a Lien with a `parent` of `projects/1234` requires permission
182`resourcemanager.projects.updateLiens`.
183
184Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700185 name: string, Required. The name/identifier of the Lien to delete. (required)
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400186 x__xgafv: string, V1 error format.
187 Allowed values
188 1 - v1 error format
189 2 - v2 error format
190
191Returns:
192 An object of the form:
193
194 { # A generic empty message that you can re-use to avoid defining duplicated
195 # empty messages in your APIs. A typical example is to use it as the request
196 # or the response type of an API method. For instance:
197 #
198 # service Foo {
199 # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
200 # }
201 #
202 # The JSON representation for `Empty` is empty JSON object `{}`.
203 }</pre>
204</div>
205
206<div class="method">
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700207 <code class="details" id="get">get(name, x__xgafv=None)</code>
208 <pre>Retrieve a Lien by `name`.
209
210Callers of this method will require permission on the `parent` resource.
211For example, a Lien with a `parent` of `projects/1234` requires permission
212requires permission `resourcemanager.projects.get` or
213`resourcemanager.projects.updateLiens`.
214
215Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700216 name: string, Required. The name/identifier of the Lien. (required)
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700217 x__xgafv: string, V1 error format.
218 Allowed values
219 1 - v1 error format
220 2 - v2 error format
221
222Returns:
223 An object of the form:
224
225 { # A Lien represents an encumbrance on the actions that can be performed on a
Bu Sun Kim65020912020-05-20 12:08:20 -0700226 # resource.
227 &quot;parent&quot;: &quot;A String&quot;, # A reference to the resource this Lien is attached to. The server will
228 # validate the parent against those for which Liens are supported.
229 #
230 # Example: `projects/1234`
231 &quot;createTime&quot;: &quot;A String&quot;, # The creation time of this Lien.
232 &quot;name&quot;: &quot;A String&quot;, # A system-generated unique identifier for this Lien.
233 #
234 # Example: `liens/1234abcd`
235 &quot;reason&quot;: &quot;A String&quot;, # Concise user-visible strings indicating why an action cannot be performed
236 # on a resource. Maximum length of 200 characters.
237 #
238 # Example: &#x27;Holds production API key&#x27;
239 &quot;origin&quot;: &quot;A String&quot;, # A stable, user-visible/meaningful string identifying the origin of the
240 # Lien, intended to be inspected programmatically. Maximum length of 200
241 # characters.
242 #
243 # Example: &#x27;compute.googleapis.com&#x27;
244 &quot;restrictions&quot;: [ # The types of operations which should be blocked as a result of this Lien.
245 # Each value should correspond to an IAM permission. The server will
246 # validate the permissions against those for which Liens are supported.
247 #
248 # An empty list is meaningless and will be rejected.
249 #
250 # Example: [&#x27;resourcemanager.projects.delete&#x27;]
251 &quot;A String&quot;,
252 ],
253 }</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700254</div>
255
256<div class="method">
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700257 <code class="details" id="list">list(parent=None, pageToken=None, pageSize=None, x__xgafv=None)</code>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400258 <pre>List all Liens applied to the `parent` resource.
259
260Callers of this method will require permission on the `parent` resource.
261For example, a Lien with a `parent` of `projects/1234` requires permission
262`resourcemanager.projects.get`.
263
264Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700265 parent: string, Required. The name of the resource to list all attached Liens.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400266For example, `projects/1234`.
Dan O'Mearadd494642020-05-01 07:42:23 -0700267
268(google.api.field_policy).resource_type annotation is not set since the
269parent depends on the meta api implementation. This field could be a
270project or other sub project resources.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700271 pageToken: string, The `next_page_token` value returned from a previous List request, if any.
272 pageSize: integer, The maximum number of items to return. This is a suggestion for the server.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400273 x__xgafv: string, V1 error format.
274 Allowed values
275 1 - v1 error format
276 2 - v2 error format
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400277
278Returns:
279 An object of the form:
280
281 { # The response message for Liens.ListLiens.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700282 &quot;nextPageToken&quot;: &quot;A String&quot;, # Token to retrieve the next page of results, or empty if there are no more
283 # results in the list.
Bu Sun Kim65020912020-05-20 12:08:20 -0700284 &quot;liens&quot;: [ # A list of Liens.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400285 { # A Lien represents an encumbrance on the actions that can be performed on a
Bu Sun Kim65020912020-05-20 12:08:20 -0700286 # resource.
287 &quot;parent&quot;: &quot;A String&quot;, # A reference to the resource this Lien is attached to. The server will
288 # validate the parent against those for which Liens are supported.
289 #
290 # Example: `projects/1234`
291 &quot;createTime&quot;: &quot;A String&quot;, # The creation time of this Lien.
292 &quot;name&quot;: &quot;A String&quot;, # A system-generated unique identifier for this Lien.
293 #
294 # Example: `liens/1234abcd`
295 &quot;reason&quot;: &quot;A String&quot;, # Concise user-visible strings indicating why an action cannot be performed
296 # on a resource. Maximum length of 200 characters.
297 #
298 # Example: &#x27;Holds production API key&#x27;
299 &quot;origin&quot;: &quot;A String&quot;, # A stable, user-visible/meaningful string identifying the origin of the
300 # Lien, intended to be inspected programmatically. Maximum length of 200
301 # characters.
302 #
303 # Example: &#x27;compute.googleapis.com&#x27;
304 &quot;restrictions&quot;: [ # The types of operations which should be blocked as a result of this Lien.
305 # Each value should correspond to an IAM permission. The server will
306 # validate the permissions against those for which Liens are supported.
307 #
308 # An empty list is meaningless and will be rejected.
309 #
310 # Example: [&#x27;resourcemanager.projects.delete&#x27;]
311 &quot;A String&quot;,
312 ],
313 },
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400314 ],
315 }</pre>
316</div>
317
318<div class="method">
319 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
320 <pre>Retrieves the next page of results.
321
322Args:
323 previous_request: The request for the previous page. (required)
324 previous_response: The response from the request for the previous page. (required)
325
326Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700327 A request object that you can call &#x27;execute()&#x27; on to request the next
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400328 page. Returns None if there are no more items in the collection.
329 </pre>
330</div>
331
332</body></html>