blob: 4f78f89011d2af798a40d4be7a3eddbac2e89424 [file] [log] [blame]
John Asmuth614db982014-04-24 15:46:26 -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
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070075<h1><a href="licensing_v1.html">Enterprise License Manager API</a> . <a href="licensing_v1.licenseAssignments.html">licenseAssignments</a></h1>
John Asmuth614db982014-04-24 15:46:26 -040076<h2>Instance Methods</h2>
77<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070078 <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="#delete">delete(productId, skuId, userId, x__xgafv=None)</a></code></p>
Dan O'Mearadd494642020-05-01 07:42:23 -070082<p class="firstline">Revoke a license.</p>
John Asmuth614db982014-04-24 15:46:26 -040083<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070084 <code><a href="#get">get(productId, skuId, userId, x__xgafv=None)</a></code></p>
Dan O'Mearadd494642020-05-01 07:42:23 -070085<p class="firstline">Get a specific user's license by product SKU.</p>
John Asmuth614db982014-04-24 15:46:26 -040086<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070087 <code><a href="#insert">insert(productId, skuId, body=None, x__xgafv=None)</a></code></p>
Dan O'Mearadd494642020-05-01 07:42:23 -070088<p class="firstline">Assign a license.</p>
John Asmuth614db982014-04-24 15:46:26 -040089<p class="toc_element">
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -080090 <code><a href="#listForProduct">listForProduct(productId, customerId, maxResults=None, pageToken=None, x__xgafv=None)</a></code></p>
Dan O'Mearadd494642020-05-01 07:42:23 -070091<p class="firstline">List all users assigned licenses for a specific product SKU.</p>
John Asmuth614db982014-04-24 15:46:26 -040092<p class="toc_element">
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -080093 <code><a href="#listForProductAndSku">listForProductAndSku(productId, skuId, customerId, maxResults=None, pageToken=None, x__xgafv=None)</a></code></p>
Dan O'Mearadd494642020-05-01 07:42:23 -070094<p class="firstline">List all users assigned licenses for a specific product SKU.</p>
John Asmuth614db982014-04-24 15:46:26 -040095<p class="toc_element">
96 <code><a href="#listForProductAndSku_next">listForProductAndSku_next(previous_request, previous_response)</a></code></p>
97<p class="firstline">Retrieves the next page of results.</p>
98<p class="toc_element">
99 <code><a href="#listForProduct_next">listForProduct_next(previous_request, previous_response)</a></code></p>
100<p class="firstline">Retrieves the next page of results.</p>
101<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700102 <code><a href="#patch">patch(productId, skuId, userId, body=None, x__xgafv=None)</a></code></p>
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800103<p class="firstline">Reassign a user's product SKU with a different SKU in the same product. This method supports patch semantics.</p>
John Asmuth614db982014-04-24 15:46:26 -0400104<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700105 <code><a href="#update">update(productId, skuId, userId, body=None, x__xgafv=None)</a></code></p>
Dan O'Mearadd494642020-05-01 07:42:23 -0700106<p class="firstline">Reassign a user's product SKU with a different SKU in the same product.</p>
John Asmuth614db982014-04-24 15:46:26 -0400107<h3>Method Details</h3>
108<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700109 <code class="details" id="close">close()</code>
110 <pre>Close httplib2 connections.</pre>
111</div>
112
113<div class="method">
114 <code class="details" id="delete">delete(productId, skuId, userId, x__xgafv=None)</code>
Dan O'Mearadd494642020-05-01 07:42:23 -0700115 <pre>Revoke a license.
John Asmuth614db982014-04-24 15:46:26 -0400116
117Args:
Bu Sun Kim65020912020-05-20 12:08:20 -0700118 productId: string, A product&#x27;s unique identifier. For more information about products in this version of the API, see Products and SKUs. (required)
119 skuId: string, A product SKU&#x27;s unique identifier. For more information about available SKUs in this version of the API, see Products and SKUs. (required)
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800120 userId: string, The user&#x27;s current primary email address. If the user&#x27;s email address changes, use the new email address in your API requests. Since a `userId` is subject to change, do not use a `userId` value as a key for persistent data. This key could break if the current user&#x27;s email address changes. If the `userId` is suspended, the license status changes. (required)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700121 x__xgafv: string, V1 error format.
122 Allowed values
123 1 - v1 error format
124 2 - v2 error format
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800125
126Returns:
127 An object of the form:
128
129 { # 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); } The JSON representation for `Empty` is empty JSON object `{}`.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800130}</pre>
John Asmuth614db982014-04-24 15:46:26 -0400131</div>
132
133<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700134 <code class="details" id="get">get(productId, skuId, userId, x__xgafv=None)</code>
Bu Sun Kim65020912020-05-20 12:08:20 -0700135 <pre>Get a specific user&#x27;s license by product SKU.
John Asmuth614db982014-04-24 15:46:26 -0400136
137Args:
Bu Sun Kim65020912020-05-20 12:08:20 -0700138 productId: string, A product&#x27;s unique identifier. For more information about products in this version of the API, see Products and SKUs. (required)
139 skuId: string, A product SKU&#x27;s unique identifier. For more information about available SKUs in this version of the API, see Products and SKUs. (required)
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800140 userId: string, The user&#x27;s current primary email address. If the user&#x27;s email address changes, use the new email address in your API requests. Since a `userId` is subject to change, do not use a `userId` value as a key for persistent data. This key could break if the current user&#x27;s email address changes. If the `userId` is suspended, the license status changes. (required)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700141 x__xgafv: string, V1 error format.
142 Allowed values
143 1 - v1 error format
144 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400145
146Returns:
147 An object of the form:
148
Dan O'Mearadd494642020-05-01 07:42:23 -0700149 { # Representation of a license assignment.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800150 &quot;etags&quot;: &quot;A String&quot;, # ETag of the resource.
151 &quot;kind&quot;: &quot;licensing#licenseAssignment&quot;, # Identifies the resource as a LicenseAssignment, which is `licensing#licenseAssignment`.
152 &quot;productId&quot;: &quot;A String&quot;, # A product&#x27;s unique identifier. For more information about products in this version of the API, see Product and SKU IDs.
153 &quot;productName&quot;: &quot;A String&quot;, # Display Name of the product.
154 &quot;selfLink&quot;: &quot;A String&quot;, # Link to this page.
155 &quot;skuId&quot;: &quot;A String&quot;, # A product SKU&#x27;s unique identifier. For more information about available SKUs in this version of the API, see Products and SKUs.
156 &quot;skuName&quot;: &quot;A String&quot;, # Display Name of the sku of the product.
157 &quot;userId&quot;: &quot;A String&quot;, # The user&#x27;s current primary email address. If the user&#x27;s email address changes, use the new email address in your API requests. Since a `userId` is subject to change, do not use a `userId` value as a key for persistent data. This key could break if the current user&#x27;s email address changes. If the `userId` is suspended, the license status changes.
158}</pre>
John Asmuth614db982014-04-24 15:46:26 -0400159</div>
160
161<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700162 <code class="details" id="insert">insert(productId, skuId, body=None, x__xgafv=None)</code>
Dan O'Mearadd494642020-05-01 07:42:23 -0700163 <pre>Assign a license.
John Asmuth614db982014-04-24 15:46:26 -0400164
165Args:
Bu Sun Kim65020912020-05-20 12:08:20 -0700166 productId: string, A product&#x27;s unique identifier. For more information about products in this version of the API, see Products and SKUs. (required)
167 skuId: string, A product SKU&#x27;s unique identifier. For more information about available SKUs in this version of the API, see Products and SKUs. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700168 body: object, The request body.
John Asmuth614db982014-04-24 15:46:26 -0400169 The object takes the form of:
170
Dan O'Mearadd494642020-05-01 07:42:23 -0700171{ # Representation of a license assignment.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800172 &quot;userId&quot;: &quot;A String&quot;, # Email id of the user
173}
John Asmuth614db982014-04-24 15:46:26 -0400174
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700175 x__xgafv: string, V1 error format.
176 Allowed values
177 1 - v1 error format
178 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400179
180Returns:
181 An object of the form:
182
Dan O'Mearadd494642020-05-01 07:42:23 -0700183 { # Representation of a license assignment.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800184 &quot;etags&quot;: &quot;A String&quot;, # ETag of the resource.
185 &quot;kind&quot;: &quot;licensing#licenseAssignment&quot;, # Identifies the resource as a LicenseAssignment, which is `licensing#licenseAssignment`.
186 &quot;productId&quot;: &quot;A String&quot;, # A product&#x27;s unique identifier. For more information about products in this version of the API, see Product and SKU IDs.
187 &quot;productName&quot;: &quot;A String&quot;, # Display Name of the product.
188 &quot;selfLink&quot;: &quot;A String&quot;, # Link to this page.
189 &quot;skuId&quot;: &quot;A String&quot;, # A product SKU&#x27;s unique identifier. For more information about available SKUs in this version of the API, see Products and SKUs.
190 &quot;skuName&quot;: &quot;A String&quot;, # Display Name of the sku of the product.
191 &quot;userId&quot;: &quot;A String&quot;, # The user&#x27;s current primary email address. If the user&#x27;s email address changes, use the new email address in your API requests. Since a `userId` is subject to change, do not use a `userId` value as a key for persistent data. This key could break if the current user&#x27;s email address changes. If the `userId` is suspended, the license status changes.
192}</pre>
John Asmuth614db982014-04-24 15:46:26 -0400193</div>
194
195<div class="method">
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800196 <code class="details" id="listForProduct">listForProduct(productId, customerId, maxResults=None, pageToken=None, x__xgafv=None)</code>
Dan O'Mearadd494642020-05-01 07:42:23 -0700197 <pre>List all users assigned licenses for a specific product SKU.
John Asmuth614db982014-04-24 15:46:26 -0400198
199Args:
Bu Sun Kim65020912020-05-20 12:08:20 -0700200 productId: string, A product&#x27;s unique identifier. For more information about products in this version of the API, see Products and SKUs. (required)
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800201 customerId: string, Customer&#x27;s `customerId`. A previous version of this API accepted the primary domain name as a value for this field. If the customer is suspended, the server returns an error. (required)
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800202 maxResults: integer, The `maxResults` query string determines how many entries are returned on each page of a large response. This is an optional parameter. The value must be a positive number.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800203 pageToken: string, Token to fetch the next page of data. The `maxResults` query string is related to the `pageToken` since `maxResults` determines how many entries are returned on each page. This is an optional query string. If not specified, the server returns the first page.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700204 x__xgafv: string, V1 error format.
205 Allowed values
206 1 - v1 error format
207 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400208
209Returns:
210 An object of the form:
211
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700212 {
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800213 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
214 &quot;items&quot;: [ # The LicenseAssignments in this page of results.
215 { # Representation of a license assignment.
216 &quot;etags&quot;: &quot;A String&quot;, # ETag of the resource.
217 &quot;kind&quot;: &quot;licensing#licenseAssignment&quot;, # Identifies the resource as a LicenseAssignment, which is `licensing#licenseAssignment`.
218 &quot;productId&quot;: &quot;A String&quot;, # A product&#x27;s unique identifier. For more information about products in this version of the API, see Product and SKU IDs.
219 &quot;productName&quot;: &quot;A String&quot;, # Display Name of the product.
220 &quot;selfLink&quot;: &quot;A String&quot;, # Link to this page.
221 &quot;skuId&quot;: &quot;A String&quot;, # A product SKU&#x27;s unique identifier. For more information about available SKUs in this version of the API, see Products and SKUs.
222 &quot;skuName&quot;: &quot;A String&quot;, # Display Name of the sku of the product.
223 &quot;userId&quot;: &quot;A String&quot;, # The user&#x27;s current primary email address. If the user&#x27;s email address changes, use the new email address in your API requests. Since a `userId` is subject to change, do not use a `userId` value as a key for persistent data. This key could break if the current user&#x27;s email address changes. If the `userId` is suspended, the license status changes.
224 },
225 ],
226 &quot;kind&quot;: &quot;licensing#licenseAssignmentList&quot;, # Identifies the resource as a collection of LicenseAssignments.
227 &quot;nextPageToken&quot;: &quot;A String&quot;, # The token that you must submit in a subsequent request to retrieve additional license results matching your query parameters. The `maxResults` query string is related to the `nextPageToken` since `maxResults` determines how many entries are returned on each next page.
228}</pre>
John Asmuth614db982014-04-24 15:46:26 -0400229</div>
230
231<div class="method">
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800232 <code class="details" id="listForProductAndSku">listForProductAndSku(productId, skuId, customerId, maxResults=None, pageToken=None, x__xgafv=None)</code>
Dan O'Mearadd494642020-05-01 07:42:23 -0700233 <pre>List all users assigned licenses for a specific product SKU.
John Asmuth614db982014-04-24 15:46:26 -0400234
235Args:
Bu Sun Kim65020912020-05-20 12:08:20 -0700236 productId: string, A product&#x27;s unique identifier. For more information about products in this version of the API, see Products and SKUs. (required)
237 skuId: string, A product SKU&#x27;s unique identifier. For more information about available SKUs in this version of the API, see Products and SKUs. (required)
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800238 customerId: string, Customer&#x27;s `customerId`. A previous version of this API accepted the primary domain name as a value for this field. If the customer is suspended, the server returns an error. (required)
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800239 maxResults: integer, The `maxResults` query string determines how many entries are returned on each page of a large response. This is an optional parameter. The value must be a positive number.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800240 pageToken: string, Token to fetch the next page of data. The `maxResults` query string is related to the `pageToken` since `maxResults` determines how many entries are returned on each page. This is an optional query string. If not specified, the server returns the first page.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700241 x__xgafv: string, V1 error format.
242 Allowed values
243 1 - v1 error format
244 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400245
246Returns:
247 An object of the form:
248
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700249 {
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800250 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
251 &quot;items&quot;: [ # The LicenseAssignments in this page of results.
252 { # Representation of a license assignment.
253 &quot;etags&quot;: &quot;A String&quot;, # ETag of the resource.
254 &quot;kind&quot;: &quot;licensing#licenseAssignment&quot;, # Identifies the resource as a LicenseAssignment, which is `licensing#licenseAssignment`.
255 &quot;productId&quot;: &quot;A String&quot;, # A product&#x27;s unique identifier. For more information about products in this version of the API, see Product and SKU IDs.
256 &quot;productName&quot;: &quot;A String&quot;, # Display Name of the product.
257 &quot;selfLink&quot;: &quot;A String&quot;, # Link to this page.
258 &quot;skuId&quot;: &quot;A String&quot;, # A product SKU&#x27;s unique identifier. For more information about available SKUs in this version of the API, see Products and SKUs.
259 &quot;skuName&quot;: &quot;A String&quot;, # Display Name of the sku of the product.
260 &quot;userId&quot;: &quot;A String&quot;, # The user&#x27;s current primary email address. If the user&#x27;s email address changes, use the new email address in your API requests. Since a `userId` is subject to change, do not use a `userId` value as a key for persistent data. This key could break if the current user&#x27;s email address changes. If the `userId` is suspended, the license status changes.
261 },
262 ],
263 &quot;kind&quot;: &quot;licensing#licenseAssignmentList&quot;, # Identifies the resource as a collection of LicenseAssignments.
264 &quot;nextPageToken&quot;: &quot;A String&quot;, # The token that you must submit in a subsequent request to retrieve additional license results matching your query parameters. The `maxResults` query string is related to the `nextPageToken` since `maxResults` determines how many entries are returned on each next page.
265}</pre>
John Asmuth614db982014-04-24 15:46:26 -0400266</div>
267
268<div class="method">
269 <code class="details" id="listForProductAndSku_next">listForProductAndSku_next(previous_request, previous_response)</code>
270 <pre>Retrieves the next page of results.
271
272Args:
273 previous_request: The request for the previous page. (required)
274 previous_response: The response from the request for the previous page. (required)
275
276Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700277 A request object that you can call &#x27;execute()&#x27; on to request the next
John Asmuth614db982014-04-24 15:46:26 -0400278 page. Returns None if there are no more items in the collection.
279 </pre>
280</div>
281
282<div class="method">
283 <code class="details" id="listForProduct_next">listForProduct_next(previous_request, previous_response)</code>
284 <pre>Retrieves the next page of results.
285
286Args:
287 previous_request: The request for the previous page. (required)
288 previous_response: The response from the request for the previous page. (required)
289
290Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700291 A request object that you can call &#x27;execute()&#x27; on to request the next
John Asmuth614db982014-04-24 15:46:26 -0400292 page. Returns None if there are no more items in the collection.
293 </pre>
294</div>
295
296<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700297 <code class="details" id="patch">patch(productId, skuId, userId, body=None, x__xgafv=None)</code>
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800298 <pre>Reassign a user&#x27;s product SKU with a different SKU in the same product. This method supports patch semantics.
John Asmuth614db982014-04-24 15:46:26 -0400299
300Args:
Bu Sun Kim65020912020-05-20 12:08:20 -0700301 productId: string, A product&#x27;s unique identifier. For more information about products in this version of the API, see Products and SKUs. (required)
302 skuId: string, A product SKU&#x27;s unique identifier. For more information about available SKUs in this version of the API, see Products and SKUs. (required)
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800303 userId: string, The user&#x27;s current primary email address. If the user&#x27;s email address changes, use the new email address in your API requests. Since a `userId` is subject to change, do not use a `userId` value as a key for persistent data. This key could break if the current user&#x27;s email address changes. If the `userId` is suspended, the license status changes. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700304 body: object, The request body.
John Asmuth614db982014-04-24 15:46:26 -0400305 The object takes the form of:
306
Dan O'Mearadd494642020-05-01 07:42:23 -0700307{ # Representation of a license assignment.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800308 &quot;etags&quot;: &quot;A String&quot;, # ETag of the resource.
309 &quot;kind&quot;: &quot;licensing#licenseAssignment&quot;, # Identifies the resource as a LicenseAssignment, which is `licensing#licenseAssignment`.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800310 &quot;productId&quot;: &quot;A String&quot;, # A product&#x27;s unique identifier. For more information about products in this version of the API, see Product and SKU IDs.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800311 &quot;productName&quot;: &quot;A String&quot;, # Display Name of the product.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800312 &quot;selfLink&quot;: &quot;A String&quot;, # Link to this page.
313 &quot;skuId&quot;: &quot;A String&quot;, # A product SKU&#x27;s unique identifier. For more information about available SKUs in this version of the API, see Products and SKUs.
314 &quot;skuName&quot;: &quot;A String&quot;, # Display Name of the sku of the product.
315 &quot;userId&quot;: &quot;A String&quot;, # The user&#x27;s current primary email address. If the user&#x27;s email address changes, use the new email address in your API requests. Since a `userId` is subject to change, do not use a `userId` value as a key for persistent data. This key could break if the current user&#x27;s email address changes. If the `userId` is suspended, the license status changes.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800316}
John Asmuth614db982014-04-24 15:46:26 -0400317
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700318 x__xgafv: string, V1 error format.
319 Allowed values
320 1 - v1 error format
321 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400322
323Returns:
324 An object of the form:
325
Dan O'Mearadd494642020-05-01 07:42:23 -0700326 { # Representation of a license assignment.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800327 &quot;etags&quot;: &quot;A String&quot;, # ETag of the resource.
328 &quot;kind&quot;: &quot;licensing#licenseAssignment&quot;, # Identifies the resource as a LicenseAssignment, which is `licensing#licenseAssignment`.
329 &quot;productId&quot;: &quot;A String&quot;, # A product&#x27;s unique identifier. For more information about products in this version of the API, see Product and SKU IDs.
330 &quot;productName&quot;: &quot;A String&quot;, # Display Name of the product.
331 &quot;selfLink&quot;: &quot;A String&quot;, # Link to this page.
332 &quot;skuId&quot;: &quot;A String&quot;, # A product SKU&#x27;s unique identifier. For more information about available SKUs in this version of the API, see Products and SKUs.
333 &quot;skuName&quot;: &quot;A String&quot;, # Display Name of the sku of the product.
334 &quot;userId&quot;: &quot;A String&quot;, # The user&#x27;s current primary email address. If the user&#x27;s email address changes, use the new email address in your API requests. Since a `userId` is subject to change, do not use a `userId` value as a key for persistent data. This key could break if the current user&#x27;s email address changes. If the `userId` is suspended, the license status changes.
335}</pre>
John Asmuth614db982014-04-24 15:46:26 -0400336</div>
337
338<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700339 <code class="details" id="update">update(productId, skuId, userId, body=None, x__xgafv=None)</code>
Bu Sun Kim65020912020-05-20 12:08:20 -0700340 <pre>Reassign a user&#x27;s product SKU with a different SKU in the same product.
John Asmuth614db982014-04-24 15:46:26 -0400341
342Args:
Bu Sun Kim65020912020-05-20 12:08:20 -0700343 productId: string, A product&#x27;s unique identifier. For more information about products in this version of the API, see Products and SKUs. (required)
344 skuId: string, A product SKU&#x27;s unique identifier. For more information about available SKUs in this version of the API, see Products and SKUs. (required)
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800345 userId: string, The user&#x27;s current primary email address. If the user&#x27;s email address changes, use the new email address in your API requests. Since a `userId` is subject to change, do not use a `userId` value as a key for persistent data. This key could break if the current user&#x27;s email address changes. If the `userId` is suspended, the license status changes. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700346 body: object, The request body.
John Asmuth614db982014-04-24 15:46:26 -0400347 The object takes the form of:
348
Dan O'Mearadd494642020-05-01 07:42:23 -0700349{ # Representation of a license assignment.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800350 &quot;etags&quot;: &quot;A String&quot;, # ETag of the resource.
351 &quot;kind&quot;: &quot;licensing#licenseAssignment&quot;, # Identifies the resource as a LicenseAssignment, which is `licensing#licenseAssignment`.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800352 &quot;productId&quot;: &quot;A String&quot;, # A product&#x27;s unique identifier. For more information about products in this version of the API, see Product and SKU IDs.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800353 &quot;productName&quot;: &quot;A String&quot;, # Display Name of the product.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800354 &quot;selfLink&quot;: &quot;A String&quot;, # Link to this page.
355 &quot;skuId&quot;: &quot;A String&quot;, # A product SKU&#x27;s unique identifier. For more information about available SKUs in this version of the API, see Products and SKUs.
356 &quot;skuName&quot;: &quot;A String&quot;, # Display Name of the sku of the product.
357 &quot;userId&quot;: &quot;A String&quot;, # The user&#x27;s current primary email address. If the user&#x27;s email address changes, use the new email address in your API requests. Since a `userId` is subject to change, do not use a `userId` value as a key for persistent data. This key could break if the current user&#x27;s email address changes. If the `userId` is suspended, the license status changes.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800358}
John Asmuth614db982014-04-24 15:46:26 -0400359
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700360 x__xgafv: string, V1 error format.
361 Allowed values
362 1 - v1 error format
363 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400364
365Returns:
366 An object of the form:
367
Dan O'Mearadd494642020-05-01 07:42:23 -0700368 { # Representation of a license assignment.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800369 &quot;etags&quot;: &quot;A String&quot;, # ETag of the resource.
370 &quot;kind&quot;: &quot;licensing#licenseAssignment&quot;, # Identifies the resource as a LicenseAssignment, which is `licensing#licenseAssignment`.
371 &quot;productId&quot;: &quot;A String&quot;, # A product&#x27;s unique identifier. For more information about products in this version of the API, see Product and SKU IDs.
372 &quot;productName&quot;: &quot;A String&quot;, # Display Name of the product.
373 &quot;selfLink&quot;: &quot;A String&quot;, # Link to this page.
374 &quot;skuId&quot;: &quot;A String&quot;, # A product SKU&#x27;s unique identifier. For more information about available SKUs in this version of the API, see Products and SKUs.
375 &quot;skuName&quot;: &quot;A String&quot;, # Display Name of the sku of the product.
376 &quot;userId&quot;: &quot;A String&quot;, # The user&#x27;s current primary email address. If the user&#x27;s email address changes, use the new email address in your API requests. Since a `userId` is subject to change, do not use a `userId` value as a key for persistent data. This key could break if the current user&#x27;s email address changes. If the `userId` is suspended, the license status changes.
377}</pre>
John Asmuth614db982014-04-24 15:46:26 -0400378</div>
379
380</body></html>