Debian Codegraph @

docs/dyn/alloydb_v1beta.projects.locations.clusters.users.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="alloydb_v1beta.html">AlloyDB API</a> . <a href="alloydb_v1beta.projects.html">projects</a> . <a href="alloydb_v1beta.projects.locations.html">locations</a> . <a href="alloydb_v1beta.projects.locations.clusters.html">clusters</a> . <a href="alloydb_v1beta.projects.locations.clusters.users.html">users</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, requestId=None, userId=None, validateOnly=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Creates a new User in a given project, location, and cluster.</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(name, requestId=None, validateOnly=None, x__xgafv=None)</a></code></p>
85 <p class="firstline">Deletes a single User.</p>
86 <p class="toc_element">
87 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
88 <p class="firstline">Gets details of a single User.</p>
89 <p class="toc_element">
90 <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Lists Users in a given project and location.</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, allowMissing=None, body=None, requestId=None, updateMask=None, validateOnly=None, x__xgafv=None)</a></code></p>
97 <p class="firstline">Updates the parameters of a single User.</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, requestId=None, userId=None, validateOnly=None, x__xgafv=None)</code>
106 <pre>Creates a new User in a given project, location, and cluster.
107
108 Args:
109 parent: string, Required. Value for parent. (required)
110 body: object, The request body.
111 The object takes the form of:
112
113 { # Message describing User object.
114 &quot;databaseRoles&quot;: [ # Optional. List of database roles this user has. The database role strings are subject to the PostgreSQL naming conventions.
115 &quot;A String&quot;,
116 ],
117 &quot;keepExtraRoles&quot;: True or False, # Input only. If the user already exists and it has additional roles, keep them granted.
118 &quot;name&quot;: &quot;A String&quot;, # Output only. Name of the resource in the form of projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.
119 &quot;password&quot;: &quot;A String&quot;, # Input only. Password for the user.
120 &quot;userType&quot;: &quot;A String&quot;, # Optional. Type of this user.
121 }
122
123 requestId: string, Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
124 userId: string, Required. ID of the requesting object.
125 validateOnly: boolean, Optional. If set, the backend validates the request, but doesn&#x27;t actually execute it.
126 x__xgafv: string, V1 error format.
127 Allowed values
128 1 - v1 error format
129 2 - v2 error format
130
131 Returns:
132 An object of the form:
133
134 { # Message describing User object.
135 &quot;databaseRoles&quot;: [ # Optional. List of database roles this user has. The database role strings are subject to the PostgreSQL naming conventions.
136 &quot;A String&quot;,
137 ],
138 &quot;keepExtraRoles&quot;: True or False, # Input only. If the user already exists and it has additional roles, keep them granted.
139 &quot;name&quot;: &quot;A String&quot;, # Output only. Name of the resource in the form of projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.
140 &quot;password&quot;: &quot;A String&quot;, # Input only. Password for the user.
141 &quot;userType&quot;: &quot;A String&quot;, # Optional. Type of this user.
142 }</pre>
143 </div>
144
145 <div class="method">
146 <code class="details" id="delete">delete(name, requestId=None, validateOnly=None, x__xgafv=None)</code>
147 <pre>Deletes a single User.
148
149 Args:
150 name: string, Required. The name of the resource. For the required format, see the comment on the User.name field. (required)
151 requestId: string, Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
152 validateOnly: boolean, Optional. If set, the backend validates the request, but doesn&#x27;t actually execute it.
153 x__xgafv: string, V1 error format.
154 Allowed values
155 1 - v1 error format
156 2 - v2 error format
157
158 Returns:
159 An object of the form:
160
161 { # 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); }
162 }</pre>
163 </div>
164
165 <div class="method">
166 <code class="details" id="get">get(name, x__xgafv=None)</code>
167 <pre>Gets details of a single User.
168
169 Args:
170 name: string, Required. The name of the resource. For the required format, see the comment on the User.name field. (required)
171 x__xgafv: string, V1 error format.
172 Allowed values
173 1 - v1 error format
174 2 - v2 error format
175
176 Returns:
177 An object of the form:
178
179 { # Message describing User object.
180 &quot;databaseRoles&quot;: [ # Optional. List of database roles this user has. The database role strings are subject to the PostgreSQL naming conventions.
181 &quot;A String&quot;,
182 ],
183 &quot;keepExtraRoles&quot;: True or False, # Input only. If the user already exists and it has additional roles, keep them granted.
184 &quot;name&quot;: &quot;A String&quot;, # Output only. Name of the resource in the form of projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.
185 &quot;password&quot;: &quot;A String&quot;, # Input only. Password for the user.
186 &quot;userType&quot;: &quot;A String&quot;, # Optional. Type of this user.
187 }</pre>
188 </div>
189
190 <div class="method">
191 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
192 <pre>Lists Users in a given project and location.
193
194 Args:
195 parent: string, Required. Parent value for ListUsersRequest (required)
196 filter: string, Optional. Filtering results
197 orderBy: string, Optional. Hint for how to order the results
198 pageSize: integer, Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
199 pageToken: string, Optional. A token identifying a page of results the server should return.
200 x__xgafv: string, V1 error format.
201 Allowed values
202 1 - v1 error format
203 2 - v2 error format
204
205 Returns:
206 An object of the form:
207
208 { # Message for response to listing Users
209 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token identifying a page of results the server should return.
210 &quot;unreachable&quot;: [ # Locations that could not be reached.
211 &quot;A String&quot;,
212 ],
213 &quot;users&quot;: [ # The list of User
214 { # Message describing User object.
215 &quot;databaseRoles&quot;: [ # Optional. List of database roles this user has. The database role strings are subject to the PostgreSQL naming conventions.
216 &quot;A String&quot;,
217 ],
218 &quot;keepExtraRoles&quot;: True or False, # Input only. If the user already exists and it has additional roles, keep them granted.
219 &quot;name&quot;: &quot;A String&quot;, # Output only. Name of the resource in the form of projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.
220 &quot;password&quot;: &quot;A String&quot;, # Input only. Password for the user.
221 &quot;userType&quot;: &quot;A String&quot;, # Optional. Type of this user.
222 },
223 ],
224 }</pre>
225 </div>
226
227 <div class="method">
228 <code class="details" id="list_next">list_next()</code>
229 <pre>Retrieves the next page of results.
230
231 Args:
232 previous_request: The request for the previous page. (required)
233 previous_response: The response from the request for the previous page. (required)
234
235 Returns:
236 A request object that you can call &#x27;execute()&#x27; on to request the next
237 page. Returns None if there are no more items in the collection.
238 </pre>
239 </div>
240
241 <div class="method">
242 <code class="details" id="patch">patch(name, allowMissing=None, body=None, requestId=None, updateMask=None, validateOnly=None, x__xgafv=None)</code>
243 <pre>Updates the parameters of a single User.
244
245 Args:
246 name: string, Output only. Name of the resource in the form of projects/{project}/locations/{location}/cluster/{cluster}/users/{user}. (required)
247 body: object, The request body.
248 The object takes the form of:
249
250 { # Message describing User object.
251 &quot;databaseRoles&quot;: [ # Optional. List of database roles this user has. The database role strings are subject to the PostgreSQL naming conventions.
252 &quot;A String&quot;,
253 ],
254 &quot;keepExtraRoles&quot;: True or False, # Input only. If the user already exists and it has additional roles, keep them granted.
255 &quot;name&quot;: &quot;A String&quot;, # Output only. Name of the resource in the form of projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.
256 &quot;password&quot;: &quot;A String&quot;, # Input only. Password for the user.
257 &quot;userType&quot;: &quot;A String&quot;, # Optional. Type of this user.
258 }
259
260 allowMissing: boolean, Optional. Allow missing fields in the update mask.
261 requestId: string, Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
262 updateMask: string, Optional. Field mask is used to specify the fields to be overwritten in the User resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
263 validateOnly: boolean, Optional. If set, the backend validates the request, but doesn&#x27;t actually execute it.
264 x__xgafv: string, V1 error format.
265 Allowed values
266 1 - v1 error format
267 2 - v2 error format
268
269 Returns:
270 An object of the form:
271
272 { # Message describing User object.
273 &quot;databaseRoles&quot;: [ # Optional. List of database roles this user has. The database role strings are subject to the PostgreSQL naming conventions.
274 &quot;A String&quot;,
275 ],
276 &quot;keepExtraRoles&quot;: True or False, # Input only. If the user already exists and it has additional roles, keep them granted.
277 &quot;name&quot;: &quot;A String&quot;, # Output only. Name of the resource in the form of projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.
278 &quot;password&quot;: &quot;A String&quot;, # Input only. Password for the user.
279 &quot;userType&quot;: &quot;A String&quot;, # Optional. Type of this user.
280 }</pre>
281 </div>
282
283 </body></html>