Debian Codegraph @

docs/dyn/discoveryengine_v1alpha.projects.locations.licenseConfigs.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="discoveryengine_v1alpha.html">Discovery Engine API</a> . <a href="discoveryengine_v1alpha.projects.html">projects</a> . <a href="discoveryengine_v1alpha.projects.locations.html">locations</a> . <a href="discoveryengine_v1alpha.projects.locations.licenseConfigs.html">licenseConfigs</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, licenseConfigId=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Creates a LicenseConfig This method should only be used for creating NotebookLm licenses or Gemini Enterprise free trial licenses.</p>
83 <p class="toc_element">
84 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
85 <p class="firstline">Gets a LicenseConfig.</p>
86 <p class="toc_element">
87 <code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">Lists all the LicenseConfigs associated with the project.</p>
89 <p class="toc_element">
90 <code><a href="#list_next">list_next()</a></code></p>
91 <p class="firstline">Retrieves the next page of results.</p>
92 <p class="toc_element">
93 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
94 <p class="firstline">Updates the LicenseConfig</p>
95 <h3>Method Details</h3>
96 <div class="method">
97 <code class="details" id="close">close()</code>
98 <pre>Close httplib2 connections.</pre>
99 </div>
100
101 <div class="method">
102 <code class="details" id="create">create(parent, body=None, licenseConfigId=None, x__xgafv=None)</code>
103 <pre>Creates a LicenseConfig This method should only be used for creating NotebookLm licenses or Gemini Enterprise free trial licenses.
104
105 Args:
106 parent: string, Required. The parent resource name, such as `projects/{project}/locations/{location}`. (required)
107 body: object, The request body.
108 The object takes the form of:
109
110 { # Information about users&#x27; licenses.
111 &quot;alertPolicyResourceConfig&quot;: { # The resource level alert config. Used in: * UserLicense * EngineUserData The AlertPolicyConfig in data connector is of same usage. No easy way to migrate. # Optional. The alert policy config for this license config.
112 &quot;alertEnrollments&quot;: [ # Optional. The enrollment state of each alert.
113 { # The alert enrollment status.
114 &quot;alertId&quot;: &quot;A String&quot;, # Immutable. The id of an alert.
115 &quot;enrollState&quot;: &quot;A String&quot;, # Required. The enrollment status of a customer.
116 &quot;notificationParams&quot;: { # Optional. Parameters used to instantiate a notification. Used for notifications that are triggered when registered. Not stored. * Gemini Business welcome emails. * Gemini Business user invitation emails.
117 &quot;a_key&quot;: &quot;A String&quot;,
118 },
119 },
120 ],
121 &quot;alertPolicy&quot;: &quot;A String&quot;, # Immutable. The fully qualified resource name of the AlertPolicy.
122 &quot;contactDetails&quot;: [ # Optional. The contact details for each alert policy.
123 { # The contact info stored in resource level. If both project level and resource level is populated, the resource level contact info will override the project level contact info.
124 &quot;emailAddress&quot;: &quot;A String&quot;, # Optional. The email address of the contact.
125 },
126 ],
127 &quot;languageCode&quot;: &quot;A String&quot;, # Optional. The language code used for notifications
128 &quot;regionCode&quot;: &quot;A String&quot;, # Optional. The region code used of the user that subscribed to the alert policy.
129 },
130 &quot;autoRenew&quot;: True or False, # Optional. Whether the license config should be auto renewed when it reaches the end date.
131 &quot;earlyTerminated&quot;: True or False, # Output only. Indication of whether the subscription is terminated earlier than the expiration date. This is usually terminated by pipeline once the subscription gets terminated from subsv3.
132 &quot;earlyTerminationDate&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Output only. The date when the subscription is terminated earlier than the expiration date.
133 &quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
134 &quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
135 &quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
136 },
137 &quot;endDate&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Optional. The planed end date.
138 &quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
139 &quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
140 &quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
141 },
142 &quot;freeTrial&quot;: True or False, # Optional. Whether the license config is for free trial.
143 &quot;geminiBundle&quot;: True or False, # Output only. Whether the license config is for Gemini bundle.
144 &quot;licenseCount&quot;: &quot;A String&quot;, # Required. Number of licenses purchased.
145 &quot;name&quot;: &quot;A String&quot;, # Immutable. Identifier. The fully qualified resource name of the license config. Format: `projects/{project}/locations/{location}/licenseConfigs/{license_config}`
146 &quot;startDate&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Required. The start date.
147 &quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
148 &quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
149 &quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
150 },
151 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the license config.
152 &quot;subscriptionTerm&quot;: &quot;A String&quot;, # Required. Subscription term.
153 &quot;subscriptionTier&quot;: &quot;A String&quot;, # Required. Subscription tier information for the license config.
154 }
155
156 licenseConfigId: string, Optional. The ID to use for the LicenseConfig, which will become the final component of the LicenseConfig&#x27;s resource name. We are using the tier (product edition) name as the license config id such as `search` or `search_and_assistant`.
157 x__xgafv: string, V1 error format.
158 Allowed values
159 1 - v1 error format
160 2 - v2 error format
161
162 Returns:
163 An object of the form:
164
165 { # Information about users&#x27; licenses.
166 &quot;alertPolicyResourceConfig&quot;: { # The resource level alert config. Used in: * UserLicense * EngineUserData The AlertPolicyConfig in data connector is of same usage. No easy way to migrate. # Optional. The alert policy config for this license config.
167 &quot;alertEnrollments&quot;: [ # Optional. The enrollment state of each alert.
168 { # The alert enrollment status.
169 &quot;alertId&quot;: &quot;A String&quot;, # Immutable. The id of an alert.
170 &quot;enrollState&quot;: &quot;A String&quot;, # Required. The enrollment status of a customer.
171 &quot;notificationParams&quot;: { # Optional. Parameters used to instantiate a notification. Used for notifications that are triggered when registered. Not stored. * Gemini Business welcome emails. * Gemini Business user invitation emails.
172 &quot;a_key&quot;: &quot;A String&quot;,
173 },
174 },
175 ],
176 &quot;alertPolicy&quot;: &quot;A String&quot;, # Immutable. The fully qualified resource name of the AlertPolicy.
177 &quot;contactDetails&quot;: [ # Optional. The contact details for each alert policy.
178 { # The contact info stored in resource level. If both project level and resource level is populated, the resource level contact info will override the project level contact info.
179 &quot;emailAddress&quot;: &quot;A String&quot;, # Optional. The email address of the contact.
180 },
181 ],
182 &quot;languageCode&quot;: &quot;A String&quot;, # Optional. The language code used for notifications
183 &quot;regionCode&quot;: &quot;A String&quot;, # Optional. The region code used of the user that subscribed to the alert policy.
184 },
185 &quot;autoRenew&quot;: True or False, # Optional. Whether the license config should be auto renewed when it reaches the end date.
186 &quot;earlyTerminated&quot;: True or False, # Output only. Indication of whether the subscription is terminated earlier than the expiration date. This is usually terminated by pipeline once the subscription gets terminated from subsv3.
187 &quot;earlyTerminationDate&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Output only. The date when the subscription is terminated earlier than the expiration date.
188 &quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
189 &quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
190 &quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
191 },
192 &quot;endDate&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Optional. The planed end date.
193 &quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
194 &quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
195 &quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
196 },
197 &quot;freeTrial&quot;: True or False, # Optional. Whether the license config is for free trial.
198 &quot;geminiBundle&quot;: True or False, # Output only. Whether the license config is for Gemini bundle.
199 &quot;licenseCount&quot;: &quot;A String&quot;, # Required. Number of licenses purchased.
200 &quot;name&quot;: &quot;A String&quot;, # Immutable. Identifier. The fully qualified resource name of the license config. Format: `projects/{project}/locations/{location}/licenseConfigs/{license_config}`
201 &quot;startDate&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Required. The start date.
202 &quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
203 &quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
204 &quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
205 },
206 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the license config.
207 &quot;subscriptionTerm&quot;: &quot;A String&quot;, # Required. Subscription term.
208 &quot;subscriptionTier&quot;: &quot;A String&quot;, # Required. Subscription tier information for the license config.
209 }</pre>
210 </div>
211
212 <div class="method">
213 <code class="details" id="get">get(name, x__xgafv=None)</code>
214 <pre>Gets a LicenseConfig.
215
216 Args:
217 name: string, Required. Full resource name of LicenseConfig, such as `projects/{project}/locations/{location}/licenseConfigs/*`. If the caller does not have permission to access the LicenseConfig, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested LicenseConfig does not exist, a NOT_FOUND error is returned. (required)
218 x__xgafv: string, V1 error format.
219 Allowed values
220 1 - v1 error format
221 2 - v2 error format
222
223 Returns:
224 An object of the form:
225
226 { # Information about users&#x27; licenses.
227 &quot;alertPolicyResourceConfig&quot;: { # The resource level alert config. Used in: * UserLicense * EngineUserData The AlertPolicyConfig in data connector is of same usage. No easy way to migrate. # Optional. The alert policy config for this license config.
228 &quot;alertEnrollments&quot;: [ # Optional. The enrollment state of each alert.
229 { # The alert enrollment status.
230 &quot;alertId&quot;: &quot;A String&quot;, # Immutable. The id of an alert.
231 &quot;enrollState&quot;: &quot;A String&quot;, # Required. The enrollment status of a customer.
232 &quot;notificationParams&quot;: { # Optional. Parameters used to instantiate a notification. Used for notifications that are triggered when registered. Not stored. * Gemini Business welcome emails. * Gemini Business user invitation emails.
233 &quot;a_key&quot;: &quot;A String&quot;,
234 },
235 },
236 ],
237 &quot;alertPolicy&quot;: &quot;A String&quot;, # Immutable. The fully qualified resource name of the AlertPolicy.
238 &quot;contactDetails&quot;: [ # Optional. The contact details for each alert policy.
239 { # The contact info stored in resource level. If both project level and resource level is populated, the resource level contact info will override the project level contact info.
240 &quot;emailAddress&quot;: &quot;A String&quot;, # Optional. The email address of the contact.
241 },
242 ],
243 &quot;languageCode&quot;: &quot;A String&quot;, # Optional. The language code used for notifications
244 &quot;regionCode&quot;: &quot;A String&quot;, # Optional. The region code used of the user that subscribed to the alert policy.
245 },
246 &quot;autoRenew&quot;: True or False, # Optional. Whether the license config should be auto renewed when it reaches the end date.
247 &quot;earlyTerminated&quot;: True or False, # Output only. Indication of whether the subscription is terminated earlier than the expiration date. This is usually terminated by pipeline once the subscription gets terminated from subsv3.
248 &quot;earlyTerminationDate&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Output only. The date when the subscription is terminated earlier than the expiration date.
249 &quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
250 &quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
251 &quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
252 },
253 &quot;endDate&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Optional. The planed end date.
254 &quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
255 &quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
256 &quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
257 },
258 &quot;freeTrial&quot;: True or False, # Optional. Whether the license config is for free trial.
259 &quot;geminiBundle&quot;: True or False, # Output only. Whether the license config is for Gemini bundle.
260 &quot;licenseCount&quot;: &quot;A String&quot;, # Required. Number of licenses purchased.
261 &quot;name&quot;: &quot;A String&quot;, # Immutable. Identifier. The fully qualified resource name of the license config. Format: `projects/{project}/locations/{location}/licenseConfigs/{license_config}`
262 &quot;startDate&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Required. The start date.
263 &quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
264 &quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
265 &quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
266 },
267 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the license config.
268 &quot;subscriptionTerm&quot;: &quot;A String&quot;, # Required. Subscription term.
269 &quot;subscriptionTier&quot;: &quot;A String&quot;, # Required. Subscription tier information for the license config.
270 }</pre>
271 </div>
272
273 <div class="method">
274 <code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
275 <pre>Lists all the LicenseConfigs associated with the project.
276
277 Args:
278 parent: string, Required. The parent branch resource name, such as `projects/{project}/locations/{location}`. (required)
279 filter: string, Optional. The filter to apply to the list results. The supported fields are: * `subscription_tier` * `state` Examples: * `subscription_tier=SUBSCRIPTION_TIER_SEARCH,state=ACTIVE` - Lists all active search license configs. * `state=ACTIVE` - Lists all active license configs. The filter string should be a comma-separated list of field=value pairs.
280 pageSize: integer, Optional. Not supported.
281 pageToken: string, Optional. Not supported.
282 x__xgafv: string, V1 error format.
283 Allowed values
284 1 - v1 error format
285 2 - v2 error format
286
287 Returns:
288 An object of the form:
289
290 { # Response message for LicenseConfigService.ListLicenseConfigs method.
291 &quot;licenseConfigs&quot;: [ # All the customer&#x27;s LicenseConfigs.
292 { # Information about users&#x27; licenses.
293 &quot;alertPolicyResourceConfig&quot;: { # The resource level alert config. Used in: * UserLicense * EngineUserData The AlertPolicyConfig in data connector is of same usage. No easy way to migrate. # Optional. The alert policy config for this license config.
294 &quot;alertEnrollments&quot;: [ # Optional. The enrollment state of each alert.
295 { # The alert enrollment status.
296 &quot;alertId&quot;: &quot;A String&quot;, # Immutable. The id of an alert.
297 &quot;enrollState&quot;: &quot;A String&quot;, # Required. The enrollment status of a customer.
298 &quot;notificationParams&quot;: { # Optional. Parameters used to instantiate a notification. Used for notifications that are triggered when registered. Not stored. * Gemini Business welcome emails. * Gemini Business user invitation emails.
299 &quot;a_key&quot;: &quot;A String&quot;,
300 },
301 },
302 ],
303 &quot;alertPolicy&quot;: &quot;A String&quot;, # Immutable. The fully qualified resource name of the AlertPolicy.
304 &quot;contactDetails&quot;: [ # Optional. The contact details for each alert policy.
305 { # The contact info stored in resource level. If both project level and resource level is populated, the resource level contact info will override the project level contact info.
306 &quot;emailAddress&quot;: &quot;A String&quot;, # Optional. The email address of the contact.
307 },
308 ],
309 &quot;languageCode&quot;: &quot;A String&quot;, # Optional. The language code used for notifications
310 &quot;regionCode&quot;: &quot;A String&quot;, # Optional. The region code used of the user that subscribed to the alert policy.
311 },
312 &quot;autoRenew&quot;: True or False, # Optional. Whether the license config should be auto renewed when it reaches the end date.
313 &quot;earlyTerminated&quot;: True or False, # Output only. Indication of whether the subscription is terminated earlier than the expiration date. This is usually terminated by pipeline once the subscription gets terminated from subsv3.
314 &quot;earlyTerminationDate&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Output only. The date when the subscription is terminated earlier than the expiration date.
315 &quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
316 &quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
317 &quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
318 },
319 &quot;endDate&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Optional. The planed end date.
320 &quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
321 &quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
322 &quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
323 },
324 &quot;freeTrial&quot;: True or False, # Optional. Whether the license config is for free trial.
325 &quot;geminiBundle&quot;: True or False, # Output only. Whether the license config is for Gemini bundle.
326 &quot;licenseCount&quot;: &quot;A String&quot;, # Required. Number of licenses purchased.
327 &quot;name&quot;: &quot;A String&quot;, # Immutable. Identifier. The fully qualified resource name of the license config. Format: `projects/{project}/locations/{location}/licenseConfigs/{license_config}`
328 &quot;startDate&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Required. The start date.
329 &quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
330 &quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
331 &quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
332 },
333 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the license config.
334 &quot;subscriptionTerm&quot;: &quot;A String&quot;, # Required. Subscription term.
335 &quot;subscriptionTier&quot;: &quot;A String&quot;, # Required. Subscription tier information for the license config.
336 },
337 ],
338 &quot;nextPageToken&quot;: &quot;A String&quot;, # Not supported.
339 }</pre>
340 </div>
341
342 <div class="method">
343 <code class="details" id="list_next">list_next()</code>
344 <pre>Retrieves the next page of results.
345
346 Args:
347 previous_request: The request for the previous page. (required)
348 previous_response: The response from the request for the previous page. (required)
349
350 Returns:
351 A request object that you can call &#x27;execute()&#x27; on to request the next
352 page. Returns None if there are no more items in the collection.
353 </pre>
354 </div>
355
356 <div class="method">
357 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
358 <pre>Updates the LicenseConfig
359
360 Args:
361 name: string, Immutable. Identifier. The fully qualified resource name of the license config. Format: `projects/{project}/locations/{location}/licenseConfigs/{license_config}` (required)
362 body: object, The request body.
363 The object takes the form of:
364
365 { # Information about users&#x27; licenses.
366 &quot;alertPolicyResourceConfig&quot;: { # The resource level alert config. Used in: * UserLicense * EngineUserData The AlertPolicyConfig in data connector is of same usage. No easy way to migrate. # Optional. The alert policy config for this license config.
367 &quot;alertEnrollments&quot;: [ # Optional. The enrollment state of each alert.
368 { # The alert enrollment status.
369 &quot;alertId&quot;: &quot;A String&quot;, # Immutable. The id of an alert.
370 &quot;enrollState&quot;: &quot;A String&quot;, # Required. The enrollment status of a customer.
371 &quot;notificationParams&quot;: { # Optional. Parameters used to instantiate a notification. Used for notifications that are triggered when registered. Not stored. * Gemini Business welcome emails. * Gemini Business user invitation emails.
372 &quot;a_key&quot;: &quot;A String&quot;,
373 },
374 },
375 ],
376 &quot;alertPolicy&quot;: &quot;A String&quot;, # Immutable. The fully qualified resource name of the AlertPolicy.
377 &quot;contactDetails&quot;: [ # Optional. The contact details for each alert policy.
378 { # The contact info stored in resource level. If both project level and resource level is populated, the resource level contact info will override the project level contact info.
379 &quot;emailAddress&quot;: &quot;A String&quot;, # Optional. The email address of the contact.
380 },
381 ],
382 &quot;languageCode&quot;: &quot;A String&quot;, # Optional. The language code used for notifications
383 &quot;regionCode&quot;: &quot;A String&quot;, # Optional. The region code used of the user that subscribed to the alert policy.
384 },
385 &quot;autoRenew&quot;: True or False, # Optional. Whether the license config should be auto renewed when it reaches the end date.
386 &quot;earlyTerminated&quot;: True or False, # Output only. Indication of whether the subscription is terminated earlier than the expiration date. This is usually terminated by pipeline once the subscription gets terminated from subsv3.
387 &quot;earlyTerminationDate&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Output only. The date when the subscription is terminated earlier than the expiration date.
388 &quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
389 &quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
390 &quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
391 },
392 &quot;endDate&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Optional. The planed end date.
393 &quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
394 &quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
395 &quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
396 },
397 &quot;freeTrial&quot;: True or False, # Optional. Whether the license config is for free trial.
398 &quot;geminiBundle&quot;: True or False, # Output only. Whether the license config is for Gemini bundle.
399 &quot;licenseCount&quot;: &quot;A String&quot;, # Required. Number of licenses purchased.
400 &quot;name&quot;: &quot;A String&quot;, # Immutable. Identifier. The fully qualified resource name of the license config. Format: `projects/{project}/locations/{location}/licenseConfigs/{license_config}`
401 &quot;startDate&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Required. The start date.
402 &quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
403 &quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
404 &quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
405 },
406 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the license config.
407 &quot;subscriptionTerm&quot;: &quot;A String&quot;, # Required. Subscription term.
408 &quot;subscriptionTier&quot;: &quot;A String&quot;, # Required. Subscription tier information for the license config.
409 }
410
411 updateMask: string, Optional. Indicates which fields in the provided LicenseConfig to update. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.
412 x__xgafv: string, V1 error format.
413 Allowed values
414 1 - v1 error format
415 2 - v2 error format
416
417 Returns:
418 An object of the form:
419
420 { # Information about users&#x27; licenses.
421 &quot;alertPolicyResourceConfig&quot;: { # The resource level alert config. Used in: * UserLicense * EngineUserData The AlertPolicyConfig in data connector is of same usage. No easy way to migrate. # Optional. The alert policy config for this license config.
422 &quot;alertEnrollments&quot;: [ # Optional. The enrollment state of each alert.
423 { # The alert enrollment status.
424 &quot;alertId&quot;: &quot;A String&quot;, # Immutable. The id of an alert.
425 &quot;enrollState&quot;: &quot;A String&quot;, # Required. The enrollment status of a customer.
426 &quot;notificationParams&quot;: { # Optional. Parameters used to instantiate a notification. Used for notifications that are triggered when registered. Not stored. * Gemini Business welcome emails. * Gemini Business user invitation emails.
427 &quot;a_key&quot;: &quot;A String&quot;,
428 },
429 },
430 ],
431 &quot;alertPolicy&quot;: &quot;A String&quot;, # Immutable. The fully qualified resource name of the AlertPolicy.
432 &quot;contactDetails&quot;: [ # Optional. The contact details for each alert policy.
433 { # The contact info stored in resource level. If both project level and resource level is populated, the resource level contact info will override the project level contact info.
434 &quot;emailAddress&quot;: &quot;A String&quot;, # Optional. The email address of the contact.
435 },
436 ],
437 &quot;languageCode&quot;: &quot;A String&quot;, # Optional. The language code used for notifications
438 &quot;regionCode&quot;: &quot;A String&quot;, # Optional. The region code used of the user that subscribed to the alert policy.
439 },
440 &quot;autoRenew&quot;: True or False, # Optional. Whether the license config should be auto renewed when it reaches the end date.
441 &quot;earlyTerminated&quot;: True or False, # Output only. Indication of whether the subscription is terminated earlier than the expiration date. This is usually terminated by pipeline once the subscription gets terminated from subsv3.
442 &quot;earlyTerminationDate&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Output only. The date when the subscription is terminated earlier than the expiration date.
443 &quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
444 &quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
445 &quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
446 },
447 &quot;endDate&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Optional. The planed end date.
448 &quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
449 &quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
450 &quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
451 },
452 &quot;freeTrial&quot;: True or False, # Optional. Whether the license config is for free trial.
453 &quot;geminiBundle&quot;: True or False, # Output only. Whether the license config is for Gemini bundle.
454 &quot;licenseCount&quot;: &quot;A String&quot;, # Required. Number of licenses purchased.
455 &quot;name&quot;: &quot;A String&quot;, # Immutable. Identifier. The fully qualified resource name of the license config. Format: `projects/{project}/locations/{location}/licenseConfigs/{license_config}`
456 &quot;startDate&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Required. The start date.
457 &quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
458 &quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
459 &quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
460 },
461 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the license config.
462 &quot;subscriptionTerm&quot;: &quot;A String&quot;, # Required. Subscription term.
463 &quot;subscriptionTier&quot;: &quot;A String&quot;, # Required. Subscription tier information for the license config.
464 }</pre>
465 </div>
466
467 </body></html>