Debian Codegraph @

docs/dyn/discoveryengine_v1.billingAccounts.billingAccountLicenseConfigs.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_v1.html">Discovery Engine API</a> . <a href="discoveryengine_v1.billingAccounts.html">billingAccounts</a> . <a href="discoveryengine_v1.billingAccounts.billingAccountLicenseConfigs.html">billingAccountLicenseConfigs</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="#distributeLicenseConfig">distributeLicenseConfig(billingAccountLicenseConfig, body=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Distributes a LicenseConfig from billing account level to project level.</p>
83 <p class="toc_element">
84 <code><a href="#retractLicenseConfig">retractLicenseConfig(billingAccountLicenseConfig, body=None, x__xgafv=None)</a></code></p>
85 <p class="firstline">This method is called from the billing account side to retract the LicenseConfig from the given project back to the billing account.</p>
86 <h3>Method Details</h3>
87 <div class="method">
88 <code class="details" id="close">close()</code>
89 <pre>Close httplib2 connections.</pre>
90 </div>
91
92 <div class="method">
93 <code class="details" id="distributeLicenseConfig">distributeLicenseConfig(billingAccountLicenseConfig, body=None, x__xgafv=None)</code>
94 <pre>Distributes a LicenseConfig from billing account level to project level.
95
96 Args:
97 billingAccountLicenseConfig: string, Required. Full resource name of BillingAccountLicenseConfig. Format: `billingAccounts/{billing_account}/billingAccountLicenseConfigs/{billing_account_license_config_id}`. (required)
98 body: object, The request body.
99 The object takes the form of:
100
101 { # Request message for LicenseConfigService.DistributeLicenseConfig method.
102 &quot;licenseConfigId&quot;: &quot;A String&quot;, # Optional. Distribute seats to this license config instead of creating a new one. If not specified, a new license config will be created from the billing account license config.
103 &quot;licenseCount&quot;: &quot;A String&quot;, # Required. The number of licenses to distribute.
104 &quot;location&quot;: &quot;A String&quot;, # Required. The target GCP project region to distribute the license config to.
105 &quot;projectNumber&quot;: &quot;A String&quot;, # Required. The target GCP project number to distribute the license config to.
106 }
107
108 x__xgafv: string, V1 error format.
109 Allowed values
110 1 - v1 error format
111 2 - v2 error format
112
113 Returns:
114 An object of the form:
115
116 { # Response message for LicenseConfigService.DistributeLicenseConfig method.
117 &quot;licenseConfig&quot;: { # Information about users&#x27; licenses. # The updated or created LicenseConfig.
118 &quot;autoRenew&quot;: True or False, # Optional. Whether the license config should be auto renewed when it reaches the end date.
119 &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.
120 &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.
121 &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.
122 &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.
123 &quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
124 },
125 &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.
126 &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.
127 &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.
128 &quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
129 },
130 &quot;freeTrial&quot;: True or False, # Optional. Whether the license config is for free trial.
131 &quot;geminiBundle&quot;: True or False, # Output only. Whether the license config is for Gemini bundle.
132 &quot;licenseCount&quot;: &quot;A String&quot;, # Required. Number of licenses purchased.
133 &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}`
134 &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.
135 &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.
136 &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.
137 &quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
138 },
139 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the license config.
140 &quot;subscriptionTerm&quot;: &quot;A String&quot;, # Required. Subscription term.
141 &quot;subscriptionTier&quot;: &quot;A String&quot;, # Required. Subscription tier information for the license config.
142 },
143 }</pre>
144 </div>
145
146 <div class="method">
147 <code class="details" id="retractLicenseConfig">retractLicenseConfig(billingAccountLicenseConfig, body=None, x__xgafv=None)</code>
148 <pre>This method is called from the billing account side to retract the LicenseConfig from the given project back to the billing account.
149
150 Args:
151 billingAccountLicenseConfig: string, Required. Full resource name of BillingAccountLicenseConfig. Format: `billingAccounts/{billing_account}/billingAccountLicenseConfigs/{billing_account_license_config_id}`. (required)
152 body: object, The request body.
153 The object takes the form of:
154
155 { # Request message for LicenseConfigService.RetractLicenseConfig method.
156 &quot;fullRetract&quot;: True or False, # Optional. If set to true, retract the entire license config. Otherwise, retract the specified license count.
157 &quot;licenseConfig&quot;: &quot;A String&quot;, # Required. Full resource name of LicenseConfig. Format: `projects/{project}/locations/{location}/licenseConfigs/{license_config_id}`.
158 &quot;licenseCount&quot;: &quot;A String&quot;, # Optional. The number of licenses to retract. Only used when full_retract is false.
159 }
160
161 x__xgafv: string, V1 error format.
162 Allowed values
163 1 - v1 error format
164 2 - v2 error format
165
166 Returns:
167 An object of the form:
168
169 { # Response message for LicenseConfigService.RetractLicenseConfig method.
170 &quot;licenseConfig&quot;: { # Information about users&#x27; licenses. # The updated LicenseConfig.
171 &quot;autoRenew&quot;: True or False, # Optional. Whether the license config should be auto renewed when it reaches the end date.
172 &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.
173 &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.
174 &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.
175 &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.
176 &quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
177 },
178 &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.
179 &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.
180 &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.
181 &quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
182 },
183 &quot;freeTrial&quot;: True or False, # Optional. Whether the license config is for free trial.
184 &quot;geminiBundle&quot;: True or False, # Output only. Whether the license config is for Gemini bundle.
185 &quot;licenseCount&quot;: &quot;A String&quot;, # Required. Number of licenses purchased.
186 &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}`
187 &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.
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;state&quot;: &quot;A String&quot;, # Output only. The state of the license config.
193 &quot;subscriptionTerm&quot;: &quot;A String&quot;, # Required. Subscription term.
194 &quot;subscriptionTier&quot;: &quot;A String&quot;, # Required. Subscription tier information for the license config.
195 },
196 }</pre>
197 </div>
198
199 </body></html>