Debian Codegraph @

docs/dyn/merchantapi_accounts_v1beta.accounts.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="merchantapi_accounts_v1beta.html">Merchant API</a> . <a href="merchantapi_accounts_v1beta.accounts.html">accounts</a> . <a href="merchantapi_accounts_v1beta.accounts.users.html">users</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="merchantapi_accounts_v1beta.accounts.users.me.html">me()</a></code>
79 </p>
80 <p class="firstline">Returns the me Resource.</p>
81
82 <p class="toc_element">
83 <code><a href="#close">close()</a></code></p>
84 <p class="firstline">Close httplib2 connections.</p>
85 <p class="toc_element">
86 <code><a href="#create">create(parent, body=None, userId=None, x__xgafv=None)</a></code></p>
87 <p class="firstline">Creates a Merchant Center account user. Executing this method requires admin access.</p>
88 <p class="toc_element">
89 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
90 <p class="firstline">Deletes a Merchant Center account user. Executing this method requires admin access. The user to be deleted can't be the last admin user of that account.</p>
91 <p class="toc_element">
92 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
93 <p class="firstline">Retrieves a Merchant Center account user.</p>
94 <p class="toc_element">
95 <code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
96 <p class="firstline">Lists all users of a Merchant Center account.</p>
97 <p class="toc_element">
98 <code><a href="#list_next">list_next()</a></code></p>
99 <p class="firstline">Retrieves the next page of results.</p>
100 <p class="toc_element">
101 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
102 <p class="firstline">Updates a Merchant Center account user. Executing this method requires admin access.</p>
103 <h3>Method Details</h3>
104 <div class="method">
105 <code class="details" id="close">close()</code>
106 <pre>Close httplib2 connections.</pre>
107 </div>
108
109 <div class="method">
110 <code class="details" id="create">create(parent, body=None, userId=None, x__xgafv=None)</code>
111 <pre>Creates a Merchant Center account user. Executing this method requires admin access.
112
113 Args:
114 parent: string, Required. The resource name of the account for which a user will be created. Format: `accounts/{account}` (required)
115 body: object, The request body.
116 The object takes the form of:
117
118 { # The `User` resource represents a user associated with a Merchant Center account. It is used to manage user permissions and access rights within the account. For more information, see [Frequently asked questions about people and access levels](//support.google.com/merchants/answer/12160472).
119 &quot;accessRights&quot;: [ # Required. The [access rights](https://support.google.com/merchants/answer/12160472?sjid=6789834943175119429-EU#accesstypes) the user has.
120 &quot;A String&quot;,
121 ],
122 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the user. Format: `accounts/{account}/user/{email}` Use `me` to refer to your own email address, for example `accounts/{account}/users/me`.
123 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the user.
124 }
125
126 userId: string, Required. The email address of the user (for example, `[email protected]`).
127 x__xgafv: string, V1 error format.
128 Allowed values
129 1 - v1 error format
130 2 - v2 error format
131
132 Returns:
133 An object of the form:
134
135 { # The `User` resource represents a user associated with a Merchant Center account. It is used to manage user permissions and access rights within the account. For more information, see [Frequently asked questions about people and access levels](//support.google.com/merchants/answer/12160472).
136 &quot;accessRights&quot;: [ # Required. The [access rights](https://support.google.com/merchants/answer/12160472?sjid=6789834943175119429-EU#accesstypes) the user has.
137 &quot;A String&quot;,
138 ],
139 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the user. Format: `accounts/{account}/user/{email}` Use `me` to refer to your own email address, for example `accounts/{account}/users/me`.
140 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the user.
141 }</pre>
142 </div>
143
144 <div class="method">
145 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
146 <pre>Deletes a Merchant Center account user. Executing this method requires admin access. The user to be deleted can&#x27;t be the last admin user of that account.
147
148 Args:
149 name: string, Required. The name of the user to delete. Format: `accounts/{account}/users/{email}` It is also possible to delete the user corresponding to the caller by using `me` rather than an email address as in `accounts/{account}/users/me`. (required)
150 x__xgafv: string, V1 error format.
151 Allowed values
152 1 - v1 error format
153 2 - v2 error format
154
155 Returns:
156 An object of the form:
157
158 { # 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); }
159 }</pre>
160 </div>
161
162 <div class="method">
163 <code class="details" id="get">get(name, x__xgafv=None)</code>
164 <pre>Retrieves a Merchant Center account user.
165
166 Args:
167 name: string, Required. The name of the user to retrieve. Format: `accounts/{account}/users/{email}` It is also possible to retrieve the user corresponding to the caller by using `me` rather than an email address as in `accounts/{account}/users/me`. (required)
168 x__xgafv: string, V1 error format.
169 Allowed values
170 1 - v1 error format
171 2 - v2 error format
172
173 Returns:
174 An object of the form:
175
176 { # The `User` resource represents a user associated with a Merchant Center account. It is used to manage user permissions and access rights within the account. For more information, see [Frequently asked questions about people and access levels](//support.google.com/merchants/answer/12160472).
177 &quot;accessRights&quot;: [ # Required. The [access rights](https://support.google.com/merchants/answer/12160472?sjid=6789834943175119429-EU#accesstypes) the user has.
178 &quot;A String&quot;,
179 ],
180 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the user. Format: `accounts/{account}/user/{email}` Use `me` to refer to your own email address, for example `accounts/{account}/users/me`.
181 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the user.
182 }</pre>
183 </div>
184
185 <div class="method">
186 <code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
187 <pre>Lists all users of a Merchant Center account.
188
189 Args:
190 parent: string, Required. The parent, which owns this collection of users. Format: `accounts/{account}` (required)
191 pageSize: integer, Optional. The maximum number of users to return. The service may return fewer than this value. If unspecified, at most 50 users will be returned. The maximum value is 100; values above 100 will be coerced to 100
192 pageToken: string, Optional. A page token, received from a previous `ListUsers` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListUsers` must match the call that provided the page token.
193 x__xgafv: string, V1 error format.
194 Allowed values
195 1 - v1 error format
196 2 - v2 error format
197
198 Returns:
199 An object of the form:
200
201 { # Response message for the `ListUsers` method.
202 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
203 &quot;users&quot;: [ # The users from the specified account.
204 { # The `User` resource represents a user associated with a Merchant Center account. It is used to manage user permissions and access rights within the account. For more information, see [Frequently asked questions about people and access levels](//support.google.com/merchants/answer/12160472).
205 &quot;accessRights&quot;: [ # Required. The [access rights](https://support.google.com/merchants/answer/12160472?sjid=6789834943175119429-EU#accesstypes) the user has.
206 &quot;A String&quot;,
207 ],
208 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the user. Format: `accounts/{account}/user/{email}` Use `me` to refer to your own email address, for example `accounts/{account}/users/me`.
209 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the user.
210 },
211 ],
212 }</pre>
213 </div>
214
215 <div class="method">
216 <code class="details" id="list_next">list_next()</code>
217 <pre>Retrieves the next page of results.
218
219 Args:
220 previous_request: The request for the previous page. (required)
221 previous_response: The response from the request for the previous page. (required)
222
223 Returns:
224 A request object that you can call &#x27;execute()&#x27; on to request the next
225 page. Returns None if there are no more items in the collection.
226 </pre>
227 </div>
228
229 <div class="method">
230 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
231 <pre>Updates a Merchant Center account user. Executing this method requires admin access.
232
233 Args:
234 name: string, Identifier. The resource name of the user. Format: `accounts/{account}/user/{email}` Use `me` to refer to your own email address, for example `accounts/{account}/users/me`. (required)
235 body: object, The request body.
236 The object takes the form of:
237
238 { # The `User` resource represents a user associated with a Merchant Center account. It is used to manage user permissions and access rights within the account. For more information, see [Frequently asked questions about people and access levels](//support.google.com/merchants/answer/12160472).
239 &quot;accessRights&quot;: [ # Required. The [access rights](https://support.google.com/merchants/answer/12160472?sjid=6789834943175119429-EU#accesstypes) the user has.
240 &quot;A String&quot;,
241 ],
242 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the user. Format: `accounts/{account}/user/{email}` Use `me` to refer to your own email address, for example `accounts/{account}/users/me`.
243 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the user.
244 }
245
246 updateMask: string, Optional. List of fields being updated. The following fields are supported (in both `snake_case` and `lowerCamelCase`): - `access_rights`
247 x__xgafv: string, V1 error format.
248 Allowed values
249 1 - v1 error format
250 2 - v2 error format
251
252 Returns:
253 An object of the form:
254
255 { # The `User` resource represents a user associated with a Merchant Center account. It is used to manage user permissions and access rights within the account. For more information, see [Frequently asked questions about people and access levels](//support.google.com/merchants/answer/12160472).
256 &quot;accessRights&quot;: [ # Required. The [access rights](https://support.google.com/merchants/answer/12160472?sjid=6789834943175119429-EU#accesstypes) the user has.
257 &quot;A String&quot;,
258 ],
259 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the user. Format: `accounts/{account}/user/{email}` Use `me` to refer to your own email address, for example `accounts/{account}/users/me`.
260 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the user.
261 }</pre>
262 </div>
263
264 </body></html>