@maxim_mazurok/gapi.client.cloudbilling-v1 0.0.20230424 → 0.0.20230501
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +539 -270
- package/package.json +1 -1
- package/tests.ts +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://cloudbilling.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230501
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -24,43 +24,54 @@ declare namespace gapi.client {
|
|
|
24
24
|
namespace cloudbilling {
|
|
25
25
|
interface AggregationInfo {
|
|
26
26
|
/** The number of intervals to aggregate over. Example: If aggregation_level is "DAILY" and aggregation_count is 14, aggregation will be over 14 days. */
|
|
27
|
-
aggregationCount?:
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
aggregationCount?:
|
|
28
|
+
number;
|
|
29
|
+
aggregationInterval?:
|
|
30
|
+
string;
|
|
31
|
+
aggregationLevel?:
|
|
32
|
+
string;
|
|
30
33
|
}
|
|
31
34
|
interface AuditConfig {
|
|
32
35
|
/** The configuration for logging of each type of permission. */
|
|
33
|
-
auditLogConfigs?:
|
|
36
|
+
auditLogConfigs?:
|
|
37
|
+
AuditLogConfig[];
|
|
34
38
|
/**
|
|
35
39
|
* Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all
|
|
36
40
|
* services.
|
|
37
41
|
*/
|
|
38
|
-
service?:
|
|
42
|
+
service?:
|
|
43
|
+
string;
|
|
39
44
|
}
|
|
40
45
|
interface AuditLogConfig {
|
|
41
46
|
/** Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. */
|
|
42
|
-
exemptedMembers?:
|
|
47
|
+
exemptedMembers?:
|
|
48
|
+
string[];
|
|
43
49
|
/** The log type that this config enables. */
|
|
44
|
-
logType?:
|
|
50
|
+
logType?:
|
|
51
|
+
string;
|
|
45
52
|
}
|
|
46
53
|
interface BillingAccount {
|
|
47
54
|
/** The display name given to the billing account, such as `My Billing Account`. This name is displayed in the Google Cloud Console. */
|
|
48
|
-
displayName?:
|
|
55
|
+
displayName?:
|
|
56
|
+
string;
|
|
49
57
|
/**
|
|
50
58
|
* If this account is a [subaccount](https://cloud.google.com/billing/docs/concepts), then this will be the resource name of the parent billing account that it is being resold through.
|
|
51
59
|
* Otherwise this will be empty.
|
|
52
60
|
*/
|
|
53
|
-
masterBillingAccount?:
|
|
61
|
+
masterBillingAccount?:
|
|
62
|
+
string;
|
|
54
63
|
/**
|
|
55
64
|
* Output only. The resource name of the billing account. The resource name has the form `billingAccounts/{billing_account_id}`. For example, `billingAccounts/012345-567890-ABCDEF`
|
|
56
65
|
* would be the resource name for billing account `012345-567890-ABCDEF`.
|
|
57
66
|
*/
|
|
58
|
-
name?:
|
|
67
|
+
name?:
|
|
68
|
+
string;
|
|
59
69
|
/**
|
|
60
70
|
* Output only. True if the billing account is open, and will therefore be charged for any usage on associated projects. False if the billing account is closed, and therefore projects
|
|
61
71
|
* associated with it will be unable to use paid services.
|
|
62
72
|
*/
|
|
63
|
-
open?:
|
|
73
|
+
open?:
|
|
74
|
+
boolean;
|
|
64
75
|
}
|
|
65
76
|
interface Binding {
|
|
66
77
|
/**
|
|
@@ -68,7 +79,8 @@ declare namespace gapi.client {
|
|
|
68
79
|
* then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which
|
|
69
80
|
* resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
70
81
|
*/
|
|
71
|
-
condition?:
|
|
82
|
+
condition?:
|
|
83
|
+
Expr;
|
|
72
84
|
/**
|
|
73
85
|
* Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on
|
|
74
86
|
* the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service
|
|
@@ -85,94 +97,119 @@ declare namespace gapi.client {
|
|
|
85
97
|
* has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group
|
|
86
98
|
* retains the role in the binding.
|
|
87
99
|
*/
|
|
88
|
-
members?:
|
|
100
|
+
members?:
|
|
101
|
+
string[];
|
|
89
102
|
/** Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. */
|
|
90
|
-
role?:
|
|
103
|
+
role?:
|
|
104
|
+
string;
|
|
91
105
|
}
|
|
92
106
|
interface Category {
|
|
93
107
|
/** The type of product the SKU refers to. Example: "Compute", "Storage", "Network", "ApplicationServices" etc. */
|
|
94
|
-
resourceFamily?:
|
|
108
|
+
resourceFamily?:
|
|
109
|
+
string;
|
|
95
110
|
/** A group classification for related SKUs. Example: "RAM", "GPU", "Prediction", "Ops", "GoogleEgress" etc. */
|
|
96
|
-
resourceGroup?:
|
|
111
|
+
resourceGroup?:
|
|
112
|
+
string;
|
|
97
113
|
/** The display name of the service this SKU belongs to. */
|
|
98
|
-
serviceDisplayName?:
|
|
114
|
+
serviceDisplayName?:
|
|
115
|
+
string;
|
|
99
116
|
/** Represents how the SKU is consumed. Example: "OnDemand", "Preemptible", "Commit1Mo", "Commit1Yr" etc. */
|
|
100
|
-
usageType?:
|
|
117
|
+
usageType?:
|
|
118
|
+
string;
|
|
101
119
|
}
|
|
102
120
|
interface Expr {
|
|
103
121
|
/** Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. */
|
|
104
|
-
description?:
|
|
122
|
+
description?:
|
|
123
|
+
string;
|
|
105
124
|
/** Textual representation of an expression in Common Expression Language syntax. */
|
|
106
|
-
expression?:
|
|
125
|
+
expression?:
|
|
126
|
+
string;
|
|
107
127
|
/** Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file. */
|
|
108
|
-
location?:
|
|
128
|
+
location?:
|
|
129
|
+
string;
|
|
109
130
|
/** Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression. */
|
|
110
|
-
title?:
|
|
131
|
+
title?:
|
|
132
|
+
string;
|
|
111
133
|
}
|
|
112
134
|
interface GeoTaxonomy {
|
|
113
135
|
/** The list of regions associated with a sku. Empty for Global skus, which are associated with all Google Cloud regions. */
|
|
114
|
-
regions?:
|
|
136
|
+
regions?:
|
|
137
|
+
string[];
|
|
115
138
|
/** The type of Geo Taxonomy: GLOBAL, REGIONAL, or MULTI_REGIONAL. */
|
|
116
|
-
type?:
|
|
139
|
+
type?:
|
|
140
|
+
string;
|
|
117
141
|
}
|
|
118
142
|
interface ListBillingAccountsResponse {
|
|
119
143
|
/** A list of billing accounts. */
|
|
120
|
-
billingAccounts?:
|
|
144
|
+
billingAccounts?:
|
|
145
|
+
BillingAccount[];
|
|
121
146
|
/**
|
|
122
147
|
* A token to retrieve the next page of results. To retrieve the next page, call `ListBillingAccounts` again with the `page_token` field set to this value. This field is empty if there
|
|
123
148
|
* are no more results to retrieve.
|
|
124
149
|
*/
|
|
125
|
-
nextPageToken?:
|
|
150
|
+
nextPageToken?:
|
|
151
|
+
string;
|
|
126
152
|
}
|
|
127
153
|
interface ListProjectBillingInfoResponse {
|
|
128
154
|
/**
|
|
129
155
|
* A token to retrieve the next page of results. To retrieve the next page, call `ListProjectBillingInfo` again with the `page_token` field set to this value. This field is empty if
|
|
130
156
|
* there are no more results to retrieve.
|
|
131
157
|
*/
|
|
132
|
-
nextPageToken?:
|
|
158
|
+
nextPageToken?:
|
|
159
|
+
string;
|
|
133
160
|
/** A list of `ProjectBillingInfo` resources representing the projects associated with the billing account. */
|
|
134
|
-
projectBillingInfo?:
|
|
161
|
+
projectBillingInfo?:
|
|
162
|
+
ProjectBillingInfo[];
|
|
135
163
|
}
|
|
136
164
|
interface ListServicesResponse {
|
|
137
165
|
/**
|
|
138
166
|
* A token to retrieve the next page of results. To retrieve the next page, call `ListServices` again with the `page_token` field set to this value. This field is empty if there are no
|
|
139
167
|
* more results to retrieve.
|
|
140
168
|
*/
|
|
141
|
-
nextPageToken?:
|
|
169
|
+
nextPageToken?:
|
|
170
|
+
string;
|
|
142
171
|
/** A list of services. */
|
|
143
|
-
services?:
|
|
172
|
+
services?:
|
|
173
|
+
Service[];
|
|
144
174
|
}
|
|
145
175
|
interface ListSkusResponse {
|
|
146
176
|
/**
|
|
147
177
|
* A token to retrieve the next page of results. To retrieve the next page, call `ListSkus` again with the `page_token` field set to this value. This field is empty if there are no
|
|
148
178
|
* more results to retrieve.
|
|
149
179
|
*/
|
|
150
|
-
nextPageToken?:
|
|
180
|
+
nextPageToken?:
|
|
181
|
+
string;
|
|
151
182
|
/** The list of public SKUs of the given service. */
|
|
152
|
-
skus?:
|
|
183
|
+
skus?:
|
|
184
|
+
Sku[];
|
|
153
185
|
}
|
|
154
186
|
interface Money {
|
|
155
187
|
/** The three-letter currency code defined in ISO 4217. */
|
|
156
|
-
currencyCode?:
|
|
188
|
+
currencyCode?:
|
|
189
|
+
string;
|
|
157
190
|
/**
|
|
158
191
|
* Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units`
|
|
159
192
|
* is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and
|
|
160
193
|
* `nanos`=-750,000,000.
|
|
161
194
|
*/
|
|
162
|
-
nanos?:
|
|
195
|
+
nanos?:
|
|
196
|
+
number;
|
|
163
197
|
/** The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. */
|
|
164
|
-
units?:
|
|
198
|
+
units?:
|
|
199
|
+
string;
|
|
165
200
|
}
|
|
166
201
|
interface Policy {
|
|
167
202
|
/** Specifies cloud audit logging configuration for this policy. */
|
|
168
|
-
auditConfigs?:
|
|
203
|
+
auditConfigs?:
|
|
204
|
+
AuditConfig[];
|
|
169
205
|
/**
|
|
170
206
|
* Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings`
|
|
171
207
|
* must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a
|
|
172
208
|
* principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another
|
|
173
209
|
* 1,450 principals to the `bindings` in the `Policy`.
|
|
174
210
|
*/
|
|
175
|
-
bindings?:
|
|
211
|
+
bindings?:
|
|
212
|
+
Binding[];
|
|
176
213
|
/**
|
|
177
214
|
* `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make
|
|
178
215
|
* use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems
|
|
@@ -180,7 +217,8 @@ declare namespace gapi.client {
|
|
|
180
217
|
* Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1`
|
|
181
218
|
* policy, and all of the conditions in the version `3` policy are lost.
|
|
182
219
|
*/
|
|
183
|
-
etag?:
|
|
220
|
+
etag?:
|
|
221
|
+
string;
|
|
184
222
|
/**
|
|
185
223
|
* Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings
|
|
186
224
|
* must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a
|
|
@@ -189,128 +227,163 @@ declare namespace gapi.client {
|
|
|
189
227
|
* policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave
|
|
190
228
|
* the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
191
229
|
*/
|
|
192
|
-
version?:
|
|
230
|
+
version?:
|
|
231
|
+
number;
|
|
193
232
|
}
|
|
194
233
|
interface PricingExpression {
|
|
195
234
|
/** The base unit for the SKU which is the unit used in usage exports. Example: "By" */
|
|
196
|
-
baseUnit?:
|
|
235
|
+
baseUnit?:
|
|
236
|
+
string;
|
|
197
237
|
/**
|
|
198
238
|
* Conversion factor for converting from price per usage_unit to price per base_unit, and start_usage_amount to start_usage_amount in base_unit. unit_price /
|
|
199
239
|
* base_unit_conversion_factor = price per base_unit. start_usage_amount * base_unit_conversion_factor = start_usage_amount in base_unit.
|
|
200
240
|
*/
|
|
201
|
-
baseUnitConversionFactor?:
|
|
241
|
+
baseUnitConversionFactor?:
|
|
242
|
+
number;
|
|
202
243
|
/** The base unit in human readable form. Example: "byte". */
|
|
203
|
-
baseUnitDescription?:
|
|
244
|
+
baseUnitDescription?:
|
|
245
|
+
string;
|
|
204
246
|
/**
|
|
205
247
|
* The recommended quantity of units for displaying pricing info. When displaying pricing info it is recommended to display: (unit_price * display_quantity) per display_quantity
|
|
206
248
|
* usage_unit. This field does not affect the pricing formula and is for display purposes only. Example: If the unit_price is "0.0001 USD", the usage_unit is "GB" and the
|
|
207
249
|
* display_quantity is "1000" then the recommended way of displaying the pricing info is "0.10 USD per 1000 GB"
|
|
208
250
|
*/
|
|
209
|
-
displayQuantity?:
|
|
251
|
+
displayQuantity?:
|
|
252
|
+
number;
|
|
210
253
|
/**
|
|
211
254
|
* The list of tiered rates for this pricing. The total cost is computed by applying each of the tiered rates on usage. This repeated list is sorted by ascending order of
|
|
212
255
|
* start_usage_amount.
|
|
213
256
|
*/
|
|
214
|
-
tieredRates?:
|
|
257
|
+
tieredRates?:
|
|
258
|
+
TierRate[];
|
|
215
259
|
/** The short hand for unit of usage this pricing is specified in. Example: usage_unit of "GiBy" means that usage is specified in "Gibi Byte". */
|
|
216
|
-
usageUnit?:
|
|
260
|
+
usageUnit?:
|
|
261
|
+
string;
|
|
217
262
|
/** The unit of usage in human readable form. Example: "gibi byte". */
|
|
218
|
-
usageUnitDescription?:
|
|
263
|
+
usageUnitDescription?:
|
|
264
|
+
string;
|
|
219
265
|
}
|
|
220
266
|
interface PricingInfo {
|
|
221
267
|
/** Aggregation Info. This can be left unspecified if the pricing expression doesn't require aggregation. */
|
|
222
|
-
aggregationInfo?:
|
|
268
|
+
aggregationInfo?:
|
|
269
|
+
AggregationInfo;
|
|
223
270
|
/**
|
|
224
271
|
* Conversion rate used for currency conversion, from USD to the currency specified in the request. This includes any surcharge collected for billing in non USD currency. If a currency
|
|
225
272
|
* is not specified in the request this defaults to 1.0. Example: USD * currency_conversion_rate = JPY
|
|
226
273
|
*/
|
|
227
|
-
currencyConversionRate?:
|
|
274
|
+
currencyConversionRate?:
|
|
275
|
+
number;
|
|
228
276
|
/**
|
|
229
277
|
* The timestamp from which this pricing was effective within the requested time range. This is guaranteed to be greater than or equal to the start_time field in the request and less
|
|
230
278
|
* than the end_time field in the request. If a time range was not specified in the request this field will be equivalent to a time within the last 12 hours, indicating the latest
|
|
231
279
|
* pricing info.
|
|
232
280
|
*/
|
|
233
|
-
effectiveTime?:
|
|
281
|
+
effectiveTime?:
|
|
282
|
+
string;
|
|
234
283
|
/** Expresses the pricing formula. See `PricingExpression` for an example. */
|
|
235
|
-
pricingExpression?:
|
|
284
|
+
pricingExpression?:
|
|
285
|
+
PricingExpression;
|
|
236
286
|
/** An optional human readable summary of the pricing information, has a maximum length of 256 characters. */
|
|
237
|
-
summary?:
|
|
287
|
+
summary?:
|
|
288
|
+
string;
|
|
238
289
|
}
|
|
239
290
|
interface ProjectBillingInfo {
|
|
240
291
|
/** The resource name of the billing account associated with the project, if any. For example, `billingAccounts/012345-567890-ABCDEF`. */
|
|
241
|
-
billingAccountName?:
|
|
292
|
+
billingAccountName?:
|
|
293
|
+
string;
|
|
242
294
|
/**
|
|
243
295
|
* True if the project is associated with an open billing account, to which usage on the project is charged. False if the project is associated with a closed billing account, or no
|
|
244
296
|
* billing account at all, and therefore cannot use paid services. This field is read-only.
|
|
245
297
|
*/
|
|
246
|
-
billingEnabled?:
|
|
298
|
+
billingEnabled?:
|
|
299
|
+
boolean;
|
|
247
300
|
/**
|
|
248
301
|
* The resource name for the `ProjectBillingInfo`; has the form `projects/{project_id}/billingInfo`. For example, the resource name for the billing information for project
|
|
249
302
|
* `tokyo-rain-123` would be `projects/tokyo-rain-123/billingInfo`. This field is read-only.
|
|
250
303
|
*/
|
|
251
|
-
name?:
|
|
304
|
+
name?:
|
|
305
|
+
string;
|
|
252
306
|
/**
|
|
253
307
|
* The ID of the project that this `ProjectBillingInfo` represents, such as `tokyo-rain-123`. This is a convenience field so that you don't need to parse the `name` field to obtain a
|
|
254
308
|
* project ID. This field is read-only.
|
|
255
309
|
*/
|
|
256
|
-
projectId?:
|
|
310
|
+
projectId?:
|
|
311
|
+
string;
|
|
257
312
|
}
|
|
258
313
|
interface Service {
|
|
259
314
|
/** The business under which the service is offered. Ex. "businessEntities/GCP", "businessEntities/Maps" */
|
|
260
|
-
businessEntityName?:
|
|
315
|
+
businessEntityName?:
|
|
316
|
+
string;
|
|
261
317
|
/** A human readable display name for this service. */
|
|
262
|
-
displayName?:
|
|
318
|
+
displayName?:
|
|
319
|
+
string;
|
|
263
320
|
/** The resource name for the service. Example: "services/DA34-426B-A397" */
|
|
264
|
-
name?:
|
|
321
|
+
name?:
|
|
322
|
+
string;
|
|
265
323
|
/** The identifier for the service. Example: "DA34-426B-A397" */
|
|
266
|
-
serviceId?:
|
|
324
|
+
serviceId?:
|
|
325
|
+
string;
|
|
267
326
|
}
|
|
268
327
|
interface SetIamPolicyRequest {
|
|
269
328
|
/**
|
|
270
329
|
* REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud
|
|
271
330
|
* services (such as Projects) might reject them.
|
|
272
331
|
*/
|
|
273
|
-
policy?:
|
|
332
|
+
policy?:
|
|
333
|
+
Policy;
|
|
274
334
|
/**
|
|
275
335
|
* OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used:
|
|
276
336
|
* `paths: "bindings, etag"`
|
|
277
337
|
*/
|
|
278
|
-
updateMask?:
|
|
338
|
+
updateMask?:
|
|
339
|
+
string;
|
|
279
340
|
}
|
|
280
341
|
interface Sku {
|
|
281
342
|
/** The category hierarchy of this SKU, purely for organizational purpose. */
|
|
282
|
-
category?:
|
|
343
|
+
category?:
|
|
344
|
+
Category;
|
|
283
345
|
/** A human readable description of the SKU, has a maximum length of 256 characters. */
|
|
284
|
-
description?:
|
|
346
|
+
description?:
|
|
347
|
+
string;
|
|
285
348
|
/** The geographic taxonomy for this sku. */
|
|
286
|
-
geoTaxonomy?:
|
|
349
|
+
geoTaxonomy?:
|
|
350
|
+
GeoTaxonomy;
|
|
287
351
|
/** The resource name for the SKU. Example: "services/DA34-426B-A397/skus/AA95-CD31-42FE" */
|
|
288
|
-
name?:
|
|
352
|
+
name?:
|
|
353
|
+
string;
|
|
289
354
|
/** A timeline of pricing info for this SKU in chronological order. */
|
|
290
|
-
pricingInfo?:
|
|
355
|
+
pricingInfo?:
|
|
356
|
+
PricingInfo[];
|
|
291
357
|
/** Identifies the service provider. This is 'Google' for first party services in Google Cloud Platform. */
|
|
292
|
-
serviceProviderName?:
|
|
358
|
+
serviceProviderName?:
|
|
359
|
+
string;
|
|
293
360
|
/** List of service regions this SKU is offered at. Example: "asia-east1" Service regions can be found at https://cloud.google.com/about/locations/ */
|
|
294
|
-
serviceRegions?:
|
|
361
|
+
serviceRegions?:
|
|
362
|
+
string[];
|
|
295
363
|
/** The identifier for the SKU. Example: "AA95-CD31-42FE" */
|
|
296
|
-
skuId?:
|
|
364
|
+
skuId?:
|
|
365
|
+
string;
|
|
297
366
|
}
|
|
298
367
|
interface TestIamPermissionsRequest {
|
|
299
368
|
/**
|
|
300
369
|
* The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM
|
|
301
370
|
* Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
|
302
371
|
*/
|
|
303
|
-
permissions?:
|
|
372
|
+
permissions?:
|
|
373
|
+
string[];
|
|
304
374
|
}
|
|
305
375
|
interface TestIamPermissionsResponse {
|
|
306
376
|
/** A subset of `TestPermissionsRequest.permissions` that the caller is allowed. */
|
|
307
|
-
permissions?:
|
|
377
|
+
permissions?:
|
|
378
|
+
string[];
|
|
308
379
|
}
|
|
309
380
|
interface TierRate {
|
|
310
381
|
/** Usage is priced at this rate only after this amount. Example: start_usage_amount of 10 indicates that the usage will be priced at the unit_price after the first 10 usage_units. */
|
|
311
|
-
startUsageAmount?:
|
|
382
|
+
startUsageAmount?:
|
|
383
|
+
number;
|
|
312
384
|
/** The price per unit of usage. Example: unit_price of amount $10 indicates that each unit will cost $10. */
|
|
313
|
-
unitPrice?:
|
|
385
|
+
unitPrice?:
|
|
386
|
+
Money;
|
|
314
387
|
}
|
|
315
388
|
interface ProjectsResource {
|
|
316
389
|
/**
|
|
@@ -319,36 +392,50 @@ declare namespace gapi.client {
|
|
|
319
392
|
*/
|
|
320
393
|
list(request?: {
|
|
321
394
|
/** V1 error format. */
|
|
322
|
-
"$.xgafv"?:
|
|
395
|
+
"$.xgafv"?:
|
|
396
|
+
string;
|
|
323
397
|
/** OAuth access token. */
|
|
324
|
-
access_token?:
|
|
398
|
+
access_token?:
|
|
399
|
+
string;
|
|
325
400
|
/** Data format for response. */
|
|
326
|
-
alt?:
|
|
401
|
+
alt?:
|
|
402
|
+
string;
|
|
327
403
|
/** JSONP */
|
|
328
|
-
callback?:
|
|
404
|
+
callback?:
|
|
405
|
+
string;
|
|
329
406
|
/** Selector specifying which fields to include in a partial response. */
|
|
330
|
-
fields?:
|
|
407
|
+
fields?:
|
|
408
|
+
string;
|
|
331
409
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
332
|
-
key?:
|
|
410
|
+
key?:
|
|
411
|
+
string;
|
|
333
412
|
/** Required. The resource name of the billing account associated with the projects that you want to list. For example, `billingAccounts/012345-567890-ABCDEF`. */
|
|
334
|
-
name:
|
|
413
|
+
name:
|
|
414
|
+
string;
|
|
335
415
|
/** OAuth 2.0 token for the current user. */
|
|
336
|
-
oauth_token?:
|
|
416
|
+
oauth_token?:
|
|
417
|
+
string;
|
|
337
418
|
/** Requested page size. The maximum page size is 100; this is also the default. */
|
|
338
|
-
pageSize?:
|
|
419
|
+
pageSize?:
|
|
420
|
+
number;
|
|
339
421
|
/**
|
|
340
422
|
* A token identifying a page of results to be returned. This should be a `next_page_token` value returned from a previous `ListProjectBillingInfo` call. If unspecified, the first
|
|
341
423
|
* page of results is returned.
|
|
342
424
|
*/
|
|
343
|
-
pageToken?:
|
|
425
|
+
pageToken?:
|
|
426
|
+
string;
|
|
344
427
|
/** Returns response with indentations and line breaks. */
|
|
345
|
-
prettyPrint?:
|
|
428
|
+
prettyPrint?:
|
|
429
|
+
boolean;
|
|
346
430
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
347
|
-
quotaUser?:
|
|
431
|
+
quotaUser?:
|
|
432
|
+
string;
|
|
348
433
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
349
|
-
upload_protocol?:
|
|
434
|
+
upload_protocol?:
|
|
435
|
+
string;
|
|
350
436
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
351
|
-
uploadType?:
|
|
437
|
+
uploadType?:
|
|
438
|
+
string;
|
|
352
439
|
}): Request<ListProjectBillingInfoResponse>;
|
|
353
440
|
}
|
|
354
441
|
interface BillingAccountsResource {
|
|
@@ -361,81 +448,116 @@ declare namespace gapi.client {
|
|
|
361
448
|
*/
|
|
362
449
|
create(request: {
|
|
363
450
|
/** V1 error format. */
|
|
364
|
-
"$.xgafv"?:
|
|
451
|
+
"$.xgafv"?:
|
|
452
|
+
string;
|
|
365
453
|
/** OAuth access token. */
|
|
366
|
-
access_token?:
|
|
454
|
+
access_token?:
|
|
455
|
+
string;
|
|
367
456
|
/** Data format for response. */
|
|
368
|
-
alt?:
|
|
457
|
+
alt?:
|
|
458
|
+
string;
|
|
369
459
|
/** JSONP */
|
|
370
|
-
callback?:
|
|
460
|
+
callback?:
|
|
461
|
+
string;
|
|
371
462
|
/** Selector specifying which fields to include in a partial response. */
|
|
372
|
-
fields?:
|
|
463
|
+
fields?:
|
|
464
|
+
string;
|
|
373
465
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
374
|
-
key?:
|
|
466
|
+
key?:
|
|
467
|
+
string;
|
|
375
468
|
/** OAuth 2.0 token for the current user. */
|
|
376
|
-
oauth_token?:
|
|
469
|
+
oauth_token?:
|
|
470
|
+
string;
|
|
377
471
|
/** Returns response with indentations and line breaks. */
|
|
378
|
-
prettyPrint?:
|
|
472
|
+
prettyPrint?:
|
|
473
|
+
boolean;
|
|
379
474
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
380
|
-
quotaUser?:
|
|
475
|
+
quotaUser?:
|
|
476
|
+
string;
|
|
381
477
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
382
|
-
upload_protocol?:
|
|
478
|
+
upload_protocol?:
|
|
479
|
+
string;
|
|
383
480
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
384
|
-
uploadType?:
|
|
481
|
+
uploadType?:
|
|
482
|
+
string;
|
|
385
483
|
/** Request body */
|
|
386
|
-
resource:
|
|
484
|
+
resource:
|
|
485
|
+
BillingAccount;
|
|
387
486
|
}): Request<BillingAccount>;
|
|
388
487
|
create(request: {
|
|
389
488
|
/** V1 error format. */
|
|
390
|
-
"$.xgafv"?:
|
|
489
|
+
"$.xgafv"?:
|
|
490
|
+
string;
|
|
391
491
|
/** OAuth access token. */
|
|
392
|
-
access_token?:
|
|
492
|
+
access_token?:
|
|
493
|
+
string;
|
|
393
494
|
/** Data format for response. */
|
|
394
|
-
alt?:
|
|
495
|
+
alt?:
|
|
496
|
+
string;
|
|
395
497
|
/** JSONP */
|
|
396
|
-
callback?:
|
|
498
|
+
callback?:
|
|
499
|
+
string;
|
|
397
500
|
/** Selector specifying which fields to include in a partial response. */
|
|
398
|
-
fields?:
|
|
501
|
+
fields?:
|
|
502
|
+
string;
|
|
399
503
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
400
|
-
key?:
|
|
504
|
+
key?:
|
|
505
|
+
string;
|
|
401
506
|
/** OAuth 2.0 token for the current user. */
|
|
402
|
-
oauth_token?:
|
|
507
|
+
oauth_token?:
|
|
508
|
+
string;
|
|
403
509
|
/** Returns response with indentations and line breaks. */
|
|
404
|
-
prettyPrint?:
|
|
510
|
+
prettyPrint?:
|
|
511
|
+
boolean;
|
|
405
512
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
406
|
-
quotaUser?:
|
|
513
|
+
quotaUser?:
|
|
514
|
+
string;
|
|
407
515
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
408
|
-
upload_protocol?:
|
|
516
|
+
upload_protocol?:
|
|
517
|
+
string;
|
|
409
518
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
410
|
-
uploadType?:
|
|
519
|
+
uploadType?:
|
|
520
|
+
string;
|
|
411
521
|
},
|
|
412
522
|
body: BillingAccount): Request<BillingAccount>;
|
|
413
523
|
/** Gets information about a billing account. The current authenticated user must be a [viewer of the billing account](https://cloud.google.com/billing/docs/how-to/billing-access). */
|
|
414
524
|
get(request?: {
|
|
415
525
|
/** V1 error format. */
|
|
416
|
-
"$.xgafv"?:
|
|
526
|
+
"$.xgafv"?:
|
|
527
|
+
string;
|
|
417
528
|
/** OAuth access token. */
|
|
418
|
-
access_token?:
|
|
529
|
+
access_token?:
|
|
530
|
+
string;
|
|
419
531
|
/** Data format for response. */
|
|
420
|
-
alt?:
|
|
532
|
+
alt?:
|
|
533
|
+
string;
|
|
421
534
|
/** JSONP */
|
|
422
|
-
callback?:
|
|
535
|
+
callback?:
|
|
536
|
+
string;
|
|
423
537
|
/** Selector specifying which fields to include in a partial response. */
|
|
424
|
-
fields?:
|
|
538
|
+
fields?:
|
|
539
|
+
string;
|
|
425
540
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
426
|
-
key?:
|
|
541
|
+
key?:
|
|
542
|
+
string;
|
|
427
543
|
/** Required. The resource name of the billing account to retrieve. For example, `billingAccounts/012345-567890-ABCDEF`. */
|
|
428
|
-
name:
|
|
544
|
+
name:
|
|
545
|
+
string;
|
|
429
546
|
/** OAuth 2.0 token for the current user. */
|
|
430
|
-
oauth_token?:
|
|
547
|
+
oauth_token?:
|
|
548
|
+
string;
|
|
431
549
|
/** Returns response with indentations and line breaks. */
|
|
432
|
-
prettyPrint?:
|
|
550
|
+
prettyPrint?:
|
|
551
|
+
boolean;
|
|
433
552
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
434
|
-
quotaUser?:
|
|
553
|
+
quotaUser?:
|
|
554
|
+
string;
|
|
435
555
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
436
|
-
upload_protocol?:
|
|
556
|
+
upload_protocol?:
|
|
557
|
+
string;
|
|
437
558
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
438
|
-
uploadType?:
|
|
559
|
+
uploadType?:
|
|
560
|
+
string;
|
|
439
561
|
}): Request<BillingAccount>;
|
|
440
562
|
/**
|
|
441
563
|
* Gets the access control policy for a billing account. The caller must have the `billing.accounts.getIamPolicy` permission on the account, which is often given to billing account
|
|
@@ -443,19 +565,26 @@ declare namespace gapi.client {
|
|
|
443
565
|
*/
|
|
444
566
|
getIamPolicy(request?: {
|
|
445
567
|
/** V1 error format. */
|
|
446
|
-
"$.xgafv"?:
|
|
568
|
+
"$.xgafv"?:
|
|
569
|
+
string;
|
|
447
570
|
/** OAuth access token. */
|
|
448
|
-
access_token?:
|
|
571
|
+
access_token?:
|
|
572
|
+
string;
|
|
449
573
|
/** Data format for response. */
|
|
450
|
-
alt?:
|
|
574
|
+
alt?:
|
|
575
|
+
string;
|
|
451
576
|
/** JSONP */
|
|
452
|
-
callback?:
|
|
577
|
+
callback?:
|
|
578
|
+
string;
|
|
453
579
|
/** Selector specifying which fields to include in a partial response. */
|
|
454
|
-
fields?:
|
|
580
|
+
fields?:
|
|
581
|
+
string;
|
|
455
582
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
456
|
-
key?:
|
|
583
|
+
key?:
|
|
584
|
+
string;
|
|
457
585
|
/** OAuth 2.0 token for the current user. */
|
|
458
|
-
oauth_token?:
|
|
586
|
+
oauth_token?:
|
|
587
|
+
string;
|
|
459
588
|
/**
|
|
460
589
|
* Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for
|
|
461
590
|
* policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy
|
|
@@ -463,57 +592,77 @@ declare namespace gapi.client {
|
|
|
463
592
|
* role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM
|
|
464
593
|
* documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
465
594
|
*/
|
|
466
|
-
"options.requestedPolicyVersion"?:
|
|
595
|
+
"options.requestedPolicyVersion"?:
|
|
596
|
+
number;
|
|
467
597
|
/** Returns response with indentations and line breaks. */
|
|
468
|
-
prettyPrint?:
|
|
598
|
+
prettyPrint?:
|
|
599
|
+
boolean;
|
|
469
600
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
470
|
-
quotaUser?:
|
|
601
|
+
quotaUser?:
|
|
602
|
+
string;
|
|
471
603
|
/**
|
|
472
604
|
* REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
|
|
473
605
|
* field.
|
|
474
606
|
*/
|
|
475
|
-
resource:
|
|
607
|
+
resource:
|
|
608
|
+
string;
|
|
476
609
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
477
|
-
upload_protocol?:
|
|
610
|
+
upload_protocol?:
|
|
611
|
+
string;
|
|
478
612
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
479
|
-
uploadType?:
|
|
613
|
+
uploadType?:
|
|
614
|
+
string;
|
|
480
615
|
}): Request<Policy>;
|
|
481
616
|
/** Lists the billing accounts that the current authenticated user has permission to [view](https://cloud.google.com/billing/docs/how-to/billing-access). */
|
|
482
617
|
list(request?: {
|
|
483
618
|
/** V1 error format. */
|
|
484
|
-
"$.xgafv"?:
|
|
619
|
+
"$.xgafv"?:
|
|
620
|
+
string;
|
|
485
621
|
/** OAuth access token. */
|
|
486
|
-
access_token?:
|
|
622
|
+
access_token?:
|
|
623
|
+
string;
|
|
487
624
|
/** Data format for response. */
|
|
488
|
-
alt?:
|
|
625
|
+
alt?:
|
|
626
|
+
string;
|
|
489
627
|
/** JSONP */
|
|
490
|
-
callback?:
|
|
628
|
+
callback?:
|
|
629
|
+
string;
|
|
491
630
|
/** Selector specifying which fields to include in a partial response. */
|
|
492
|
-
fields?:
|
|
631
|
+
fields?:
|
|
632
|
+
string;
|
|
493
633
|
/**
|
|
494
634
|
* Options for how to filter the returned billing accounts. Currently this only supports filtering for [subaccounts](https://cloud.google.com/billing/docs/concepts) under a single
|
|
495
635
|
* provided reseller billing account. (e.g. "master_billing_account=billingAccounts/012345-678901-ABCDEF"). Boolean algebra and other fields are not currently supported.
|
|
496
636
|
*/
|
|
497
|
-
filter?:
|
|
637
|
+
filter?:
|
|
638
|
+
string;
|
|
498
639
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
499
|
-
key?:
|
|
640
|
+
key?:
|
|
641
|
+
string;
|
|
500
642
|
/** OAuth 2.0 token for the current user. */
|
|
501
|
-
oauth_token?:
|
|
643
|
+
oauth_token?:
|
|
644
|
+
string;
|
|
502
645
|
/** Requested page size. The maximum page size is 100; this is also the default. */
|
|
503
|
-
pageSize?:
|
|
646
|
+
pageSize?:
|
|
647
|
+
number;
|
|
504
648
|
/**
|
|
505
649
|
* A token identifying a page of results to return. This should be a `next_page_token` value returned from a previous `ListBillingAccounts` call. If unspecified, the first page of
|
|
506
650
|
* results is returned.
|
|
507
651
|
*/
|
|
508
|
-
pageToken?:
|
|
652
|
+
pageToken?:
|
|
653
|
+
string;
|
|
509
654
|
/** Returns response with indentations and line breaks. */
|
|
510
|
-
prettyPrint?:
|
|
655
|
+
prettyPrint?:
|
|
656
|
+
boolean;
|
|
511
657
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
512
|
-
quotaUser?:
|
|
658
|
+
quotaUser?:
|
|
659
|
+
string;
|
|
513
660
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
514
|
-
upload_protocol?:
|
|
661
|
+
upload_protocol?:
|
|
662
|
+
string;
|
|
515
663
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
516
|
-
uploadType?:
|
|
664
|
+
uploadType?:
|
|
665
|
+
string;
|
|
517
666
|
}): Request<ListBillingAccountsResponse>;
|
|
518
667
|
/**
|
|
519
668
|
* Updates a billing account's fields. Currently the only field that can be edited is `display_name`. The current authenticated user must have the `billing.accounts.update` IAM
|
|
@@ -521,61 +670,88 @@ declare namespace gapi.client {
|
|
|
521
670
|
*/
|
|
522
671
|
patch(request: {
|
|
523
672
|
/** V1 error format. */
|
|
524
|
-
"$.xgafv"?:
|
|
673
|
+
"$.xgafv"?:
|
|
674
|
+
string;
|
|
525
675
|
/** OAuth access token. */
|
|
526
|
-
access_token?:
|
|
676
|
+
access_token?:
|
|
677
|
+
string;
|
|
527
678
|
/** Data format for response. */
|
|
528
|
-
alt?:
|
|
679
|
+
alt?:
|
|
680
|
+
string;
|
|
529
681
|
/** JSONP */
|
|
530
|
-
callback?:
|
|
682
|
+
callback?:
|
|
683
|
+
string;
|
|
531
684
|
/** Selector specifying which fields to include in a partial response. */
|
|
532
|
-
fields?:
|
|
685
|
+
fields?:
|
|
686
|
+
string;
|
|
533
687
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
534
|
-
key?:
|
|
688
|
+
key?:
|
|
689
|
+
string;
|
|
535
690
|
/** Required. The name of the billing account resource to be updated. */
|
|
536
|
-
name:
|
|
691
|
+
name:
|
|
692
|
+
string;
|
|
537
693
|
/** OAuth 2.0 token for the current user. */
|
|
538
|
-
oauth_token?:
|
|
694
|
+
oauth_token?:
|
|
695
|
+
string;
|
|
539
696
|
/** Returns response with indentations and line breaks. */
|
|
540
|
-
prettyPrint?:
|
|
697
|
+
prettyPrint?:
|
|
698
|
+
boolean;
|
|
541
699
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
542
|
-
quotaUser?:
|
|
700
|
+
quotaUser?:
|
|
701
|
+
string;
|
|
543
702
|
/** The update mask applied to the resource. Only "display_name" is currently supported. */
|
|
544
|
-
updateMask?:
|
|
703
|
+
updateMask?:
|
|
704
|
+
string;
|
|
545
705
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
546
|
-
upload_protocol?:
|
|
706
|
+
upload_protocol?:
|
|
707
|
+
string;
|
|
547
708
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
548
|
-
uploadType?:
|
|
709
|
+
uploadType?:
|
|
710
|
+
string;
|
|
549
711
|
/** Request body */
|
|
550
|
-
resource:
|
|
712
|
+
resource:
|
|
713
|
+
BillingAccount;
|
|
551
714
|
}): Request<BillingAccount>;
|
|
552
715
|
patch(request: {
|
|
553
716
|
/** V1 error format. */
|
|
554
|
-
"$.xgafv"?:
|
|
717
|
+
"$.xgafv"?:
|
|
718
|
+
string;
|
|
555
719
|
/** OAuth access token. */
|
|
556
|
-
access_token?:
|
|
720
|
+
access_token?:
|
|
721
|
+
string;
|
|
557
722
|
/** Data format for response. */
|
|
558
|
-
alt?:
|
|
723
|
+
alt?:
|
|
724
|
+
string;
|
|
559
725
|
/** JSONP */
|
|
560
|
-
callback?:
|
|
726
|
+
callback?:
|
|
727
|
+
string;
|
|
561
728
|
/** Selector specifying which fields to include in a partial response. */
|
|
562
|
-
fields?:
|
|
729
|
+
fields?:
|
|
730
|
+
string;
|
|
563
731
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
564
|
-
key?:
|
|
732
|
+
key?:
|
|
733
|
+
string;
|
|
565
734
|
/** Required. The name of the billing account resource to be updated. */
|
|
566
|
-
name:
|
|
735
|
+
name:
|
|
736
|
+
string;
|
|
567
737
|
/** OAuth 2.0 token for the current user. */
|
|
568
|
-
oauth_token?:
|
|
738
|
+
oauth_token?:
|
|
739
|
+
string;
|
|
569
740
|
/** Returns response with indentations and line breaks. */
|
|
570
|
-
prettyPrint?:
|
|
741
|
+
prettyPrint?:
|
|
742
|
+
boolean;
|
|
571
743
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
572
|
-
quotaUser?:
|
|
744
|
+
quotaUser?:
|
|
745
|
+
string;
|
|
573
746
|
/** The update mask applied to the resource. Only "display_name" is currently supported. */
|
|
574
|
-
updateMask?:
|
|
747
|
+
updateMask?:
|
|
748
|
+
string;
|
|
575
749
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
576
|
-
upload_protocol?:
|
|
750
|
+
upload_protocol?:
|
|
751
|
+
string;
|
|
577
752
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
578
|
-
uploadType?:
|
|
753
|
+
uploadType?:
|
|
754
|
+
string;
|
|
579
755
|
},
|
|
580
756
|
body: BillingAccount): Request<BillingAccount>;
|
|
581
757
|
/**
|
|
@@ -584,32 +760,44 @@ declare namespace gapi.client {
|
|
|
584
760
|
*/
|
|
585
761
|
setIamPolicy(request: {
|
|
586
762
|
/** V1 error format. */
|
|
587
|
-
"$.xgafv"?:
|
|
763
|
+
"$.xgafv"?:
|
|
764
|
+
string;
|
|
588
765
|
/** OAuth access token. */
|
|
589
|
-
access_token?:
|
|
766
|
+
access_token?:
|
|
767
|
+
string;
|
|
590
768
|
/** Data format for response. */
|
|
591
|
-
alt?:
|
|
769
|
+
alt?:
|
|
770
|
+
string;
|
|
592
771
|
/** JSONP */
|
|
593
|
-
callback?:
|
|
772
|
+
callback?:
|
|
773
|
+
string;
|
|
594
774
|
/** Selector specifying which fields to include in a partial response. */
|
|
595
|
-
fields?:
|
|
775
|
+
fields?:
|
|
776
|
+
string;
|
|
596
777
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
597
|
-
key?:
|
|
778
|
+
key?:
|
|
779
|
+
string;
|
|
598
780
|
/** OAuth 2.0 token for the current user. */
|
|
599
|
-
oauth_token?:
|
|
781
|
+
oauth_token?:
|
|
782
|
+
string;
|
|
600
783
|
/** Returns response with indentations and line breaks. */
|
|
601
|
-
prettyPrint?:
|
|
784
|
+
prettyPrint?:
|
|
785
|
+
boolean;
|
|
602
786
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
603
|
-
quotaUser?:
|
|
787
|
+
quotaUser?:
|
|
788
|
+
string;
|
|
604
789
|
/**
|
|
605
790
|
* REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
|
|
606
791
|
* field.
|
|
607
792
|
*/
|
|
608
|
-
resource:
|
|
793
|
+
resource:
|
|
794
|
+
string;
|
|
609
795
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
610
|
-
upload_protocol?:
|
|
796
|
+
upload_protocol?:
|
|
797
|
+
string;
|
|
611
798
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
612
|
-
uploadType?:
|
|
799
|
+
uploadType?:
|
|
800
|
+
string;
|
|
613
801
|
},
|
|
614
802
|
body: SetIamPolicyRequest): Request<Policy>;
|
|
615
803
|
/**
|
|
@@ -618,35 +806,48 @@ declare namespace gapi.client {
|
|
|
618
806
|
*/
|
|
619
807
|
testIamPermissions(request: {
|
|
620
808
|
/** V1 error format. */
|
|
621
|
-
"$.xgafv"?:
|
|
809
|
+
"$.xgafv"?:
|
|
810
|
+
string;
|
|
622
811
|
/** OAuth access token. */
|
|
623
|
-
access_token?:
|
|
812
|
+
access_token?:
|
|
813
|
+
string;
|
|
624
814
|
/** Data format for response. */
|
|
625
|
-
alt?:
|
|
815
|
+
alt?:
|
|
816
|
+
string;
|
|
626
817
|
/** JSONP */
|
|
627
|
-
callback?:
|
|
818
|
+
callback?:
|
|
819
|
+
string;
|
|
628
820
|
/** Selector specifying which fields to include in a partial response. */
|
|
629
|
-
fields?:
|
|
821
|
+
fields?:
|
|
822
|
+
string;
|
|
630
823
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
631
|
-
key?:
|
|
824
|
+
key?:
|
|
825
|
+
string;
|
|
632
826
|
/** OAuth 2.0 token for the current user. */
|
|
633
|
-
oauth_token?:
|
|
827
|
+
oauth_token?:
|
|
828
|
+
string;
|
|
634
829
|
/** Returns response with indentations and line breaks. */
|
|
635
|
-
prettyPrint?:
|
|
830
|
+
prettyPrint?:
|
|
831
|
+
boolean;
|
|
636
832
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
637
|
-
quotaUser?:
|
|
833
|
+
quotaUser?:
|
|
834
|
+
string;
|
|
638
835
|
/**
|
|
639
836
|
* REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
|
|
640
837
|
* this field.
|
|
641
838
|
*/
|
|
642
|
-
resource:
|
|
839
|
+
resource:
|
|
840
|
+
string;
|
|
643
841
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
644
|
-
upload_protocol?:
|
|
842
|
+
upload_protocol?:
|
|
843
|
+
string;
|
|
645
844
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
646
|
-
uploadType?:
|
|
845
|
+
uploadType?:
|
|
846
|
+
string;
|
|
647
847
|
},
|
|
648
848
|
body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
|
|
649
|
-
projects:
|
|
849
|
+
projects:
|
|
850
|
+
ProjectsResource;
|
|
650
851
|
}
|
|
651
852
|
interface ProjectsResource {
|
|
652
853
|
/**
|
|
@@ -655,29 +856,41 @@ declare namespace gapi.client {
|
|
|
655
856
|
*/
|
|
656
857
|
getBillingInfo(request?: {
|
|
657
858
|
/** V1 error format. */
|
|
658
|
-
"$.xgafv"?:
|
|
859
|
+
"$.xgafv"?:
|
|
860
|
+
string;
|
|
659
861
|
/** OAuth access token. */
|
|
660
|
-
access_token?:
|
|
862
|
+
access_token?:
|
|
863
|
+
string;
|
|
661
864
|
/** Data format for response. */
|
|
662
|
-
alt?:
|
|
865
|
+
alt?:
|
|
866
|
+
string;
|
|
663
867
|
/** JSONP */
|
|
664
|
-
callback?:
|
|
868
|
+
callback?:
|
|
869
|
+
string;
|
|
665
870
|
/** Selector specifying which fields to include in a partial response. */
|
|
666
|
-
fields?:
|
|
871
|
+
fields?:
|
|
872
|
+
string;
|
|
667
873
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
668
|
-
key?:
|
|
874
|
+
key?:
|
|
875
|
+
string;
|
|
669
876
|
/** Required. The resource name of the project for which billing information is retrieved. For example, `projects/tokyo-rain-123`. */
|
|
670
|
-
name:
|
|
877
|
+
name:
|
|
878
|
+
string;
|
|
671
879
|
/** OAuth 2.0 token for the current user. */
|
|
672
|
-
oauth_token?:
|
|
880
|
+
oauth_token?:
|
|
881
|
+
string;
|
|
673
882
|
/** Returns response with indentations and line breaks. */
|
|
674
|
-
prettyPrint?:
|
|
883
|
+
prettyPrint?:
|
|
884
|
+
boolean;
|
|
675
885
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
676
|
-
quotaUser?:
|
|
886
|
+
quotaUser?:
|
|
887
|
+
string;
|
|
677
888
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
678
|
-
upload_protocol?:
|
|
889
|
+
upload_protocol?:
|
|
890
|
+
string;
|
|
679
891
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
680
|
-
uploadType?:
|
|
892
|
+
uploadType?:
|
|
893
|
+
string;
|
|
681
894
|
}): Request<ProjectBillingInfo>;
|
|
682
895
|
/**
|
|
683
896
|
* Sets or updates the billing account associated with a project. You specify the new billing account by setting the `billing_account_name` in the `ProjectBillingInfo` resource to the
|
|
@@ -693,57 +906,82 @@ declare namespace gapi.client {
|
|
|
693
906
|
*/
|
|
694
907
|
updateBillingInfo(request: {
|
|
695
908
|
/** V1 error format. */
|
|
696
|
-
"$.xgafv"?:
|
|
909
|
+
"$.xgafv"?:
|
|
910
|
+
string;
|
|
697
911
|
/** OAuth access token. */
|
|
698
|
-
access_token?:
|
|
912
|
+
access_token?:
|
|
913
|
+
string;
|
|
699
914
|
/** Data format for response. */
|
|
700
|
-
alt?:
|
|
915
|
+
alt?:
|
|
916
|
+
string;
|
|
701
917
|
/** JSONP */
|
|
702
|
-
callback?:
|
|
918
|
+
callback?:
|
|
919
|
+
string;
|
|
703
920
|
/** Selector specifying which fields to include in a partial response. */
|
|
704
|
-
fields?:
|
|
921
|
+
fields?:
|
|
922
|
+
string;
|
|
705
923
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
706
|
-
key?:
|
|
924
|
+
key?:
|
|
925
|
+
string;
|
|
707
926
|
/** Required. The resource name of the project associated with the billing information that you want to update. For example, `projects/tokyo-rain-123`. */
|
|
708
|
-
name:
|
|
927
|
+
name:
|
|
928
|
+
string;
|
|
709
929
|
/** OAuth 2.0 token for the current user. */
|
|
710
|
-
oauth_token?:
|
|
930
|
+
oauth_token?:
|
|
931
|
+
string;
|
|
711
932
|
/** Returns response with indentations and line breaks. */
|
|
712
|
-
prettyPrint?:
|
|
933
|
+
prettyPrint?:
|
|
934
|
+
boolean;
|
|
713
935
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
714
|
-
quotaUser?:
|
|
936
|
+
quotaUser?:
|
|
937
|
+
string;
|
|
715
938
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
716
|
-
upload_protocol?:
|
|
939
|
+
upload_protocol?:
|
|
940
|
+
string;
|
|
717
941
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
718
|
-
uploadType?:
|
|
942
|
+
uploadType?:
|
|
943
|
+
string;
|
|
719
944
|
/** Request body */
|
|
720
|
-
resource:
|
|
945
|
+
resource:
|
|
946
|
+
ProjectBillingInfo;
|
|
721
947
|
}): Request<ProjectBillingInfo>;
|
|
722
948
|
updateBillingInfo(request: {
|
|
723
949
|
/** V1 error format. */
|
|
724
|
-
"$.xgafv"?:
|
|
950
|
+
"$.xgafv"?:
|
|
951
|
+
string;
|
|
725
952
|
/** OAuth access token. */
|
|
726
|
-
access_token?:
|
|
953
|
+
access_token?:
|
|
954
|
+
string;
|
|
727
955
|
/** Data format for response. */
|
|
728
|
-
alt?:
|
|
956
|
+
alt?:
|
|
957
|
+
string;
|
|
729
958
|
/** JSONP */
|
|
730
|
-
callback?:
|
|
959
|
+
callback?:
|
|
960
|
+
string;
|
|
731
961
|
/** Selector specifying which fields to include in a partial response. */
|
|
732
|
-
fields?:
|
|
962
|
+
fields?:
|
|
963
|
+
string;
|
|
733
964
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
734
|
-
key?:
|
|
965
|
+
key?:
|
|
966
|
+
string;
|
|
735
967
|
/** Required. The resource name of the project associated with the billing information that you want to update. For example, `projects/tokyo-rain-123`. */
|
|
736
|
-
name:
|
|
968
|
+
name:
|
|
969
|
+
string;
|
|
737
970
|
/** OAuth 2.0 token for the current user. */
|
|
738
|
-
oauth_token?:
|
|
971
|
+
oauth_token?:
|
|
972
|
+
string;
|
|
739
973
|
/** Returns response with indentations and line breaks. */
|
|
740
|
-
prettyPrint?:
|
|
974
|
+
prettyPrint?:
|
|
975
|
+
boolean;
|
|
741
976
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
742
|
-
quotaUser?:
|
|
977
|
+
quotaUser?:
|
|
978
|
+
string;
|
|
743
979
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
744
|
-
upload_protocol?:
|
|
980
|
+
upload_protocol?:
|
|
981
|
+
string;
|
|
745
982
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
746
|
-
uploadType?:
|
|
983
|
+
uploadType?:
|
|
984
|
+
string;
|
|
747
985
|
},
|
|
748
986
|
body: ProjectBillingInfo): Request<ProjectBillingInfo>;
|
|
749
987
|
}
|
|
@@ -751,84 +989,115 @@ declare namespace gapi.client {
|
|
|
751
989
|
/** Lists all publicly available SKUs for a given cloud service. */
|
|
752
990
|
list(request?: {
|
|
753
991
|
/** V1 error format. */
|
|
754
|
-
"$.xgafv"?:
|
|
992
|
+
"$.xgafv"?:
|
|
993
|
+
string;
|
|
755
994
|
/** OAuth access token. */
|
|
756
|
-
access_token?:
|
|
995
|
+
access_token?:
|
|
996
|
+
string;
|
|
757
997
|
/** Data format for response. */
|
|
758
|
-
alt?:
|
|
998
|
+
alt?:
|
|
999
|
+
string;
|
|
759
1000
|
/** JSONP */
|
|
760
|
-
callback?:
|
|
1001
|
+
callback?:
|
|
1002
|
+
string;
|
|
761
1003
|
/** The ISO 4217 currency code for the pricing info in the response proto. Will use the conversion rate as of start_time. Optional. If not specified USD will be used. */
|
|
762
|
-
currencyCode?:
|
|
1004
|
+
currencyCode?:
|
|
1005
|
+
string;
|
|
763
1006
|
/**
|
|
764
1007
|
* Optional exclusive end time of the time range for which the pricing versions will be returned. Timestamps in the future are not allowed. The time range has to be within a single
|
|
765
1008
|
* calendar month in America/Los_Angeles timezone. Time range as a whole is optional. If not specified, the latest pricing will be returned (up to 12 hours old at most).
|
|
766
1009
|
*/
|
|
767
|
-
endTime?:
|
|
1010
|
+
endTime?:
|
|
1011
|
+
string;
|
|
768
1012
|
/** Selector specifying which fields to include in a partial response. */
|
|
769
|
-
fields?:
|
|
1013
|
+
fields?:
|
|
1014
|
+
string;
|
|
770
1015
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
771
|
-
key?:
|
|
1016
|
+
key?:
|
|
1017
|
+
string;
|
|
772
1018
|
/** OAuth 2.0 token for the current user. */
|
|
773
|
-
oauth_token?:
|
|
1019
|
+
oauth_token?:
|
|
1020
|
+
string;
|
|
774
1021
|
/** Requested page size. Defaults to 5000. */
|
|
775
|
-
pageSize?:
|
|
1022
|
+
pageSize?:
|
|
1023
|
+
number;
|
|
776
1024
|
/**
|
|
777
1025
|
* A token identifying a page of results to return. This should be a `next_page_token` value returned from a previous `ListSkus` call. If unspecified, the first page of results is
|
|
778
1026
|
* returned.
|
|
779
1027
|
*/
|
|
780
|
-
pageToken?:
|
|
1028
|
+
pageToken?:
|
|
1029
|
+
string;
|
|
781
1030
|
/** Required. The name of the service. Example: "services/DA34-426B-A397" */
|
|
782
|
-
parent:
|
|
1031
|
+
parent:
|
|
1032
|
+
string;
|
|
783
1033
|
/** Returns response with indentations and line breaks. */
|
|
784
|
-
prettyPrint?:
|
|
1034
|
+
prettyPrint?:
|
|
1035
|
+
boolean;
|
|
785
1036
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
786
|
-
quotaUser?:
|
|
1037
|
+
quotaUser?:
|
|
1038
|
+
string;
|
|
787
1039
|
/**
|
|
788
1040
|
* Optional inclusive start time of the time range for which the pricing versions will be returned. Timestamps in the future are not allowed. The time range has to be within a
|
|
789
1041
|
* single calendar month in America/Los_Angeles timezone. Time range as a whole is optional. If not specified, the latest pricing will be returned (up to 12 hours old at most).
|
|
790
1042
|
*/
|
|
791
|
-
startTime?:
|
|
1043
|
+
startTime?:
|
|
1044
|
+
string;
|
|
792
1045
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
793
|
-
upload_protocol?:
|
|
1046
|
+
upload_protocol?:
|
|
1047
|
+
string;
|
|
794
1048
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
795
|
-
uploadType?:
|
|
1049
|
+
uploadType?:
|
|
1050
|
+
string;
|
|
796
1051
|
}): Request<ListSkusResponse>;
|
|
797
1052
|
}
|
|
798
1053
|
interface ServicesResource {
|
|
799
1054
|
/** Lists all public cloud services. */
|
|
800
1055
|
list(request?: {
|
|
801
1056
|
/** V1 error format. */
|
|
802
|
-
"$.xgafv"?:
|
|
1057
|
+
"$.xgafv"?:
|
|
1058
|
+
string;
|
|
803
1059
|
/** OAuth access token. */
|
|
804
|
-
access_token?:
|
|
1060
|
+
access_token?:
|
|
1061
|
+
string;
|
|
805
1062
|
/** Data format for response. */
|
|
806
|
-
alt?:
|
|
1063
|
+
alt?:
|
|
1064
|
+
string;
|
|
807
1065
|
/** JSONP */
|
|
808
|
-
callback?:
|
|
1066
|
+
callback?:
|
|
1067
|
+
string;
|
|
809
1068
|
/** Selector specifying which fields to include in a partial response. */
|
|
810
|
-
fields?:
|
|
1069
|
+
fields?:
|
|
1070
|
+
string;
|
|
811
1071
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
812
|
-
key?:
|
|
1072
|
+
key?:
|
|
1073
|
+
string;
|
|
813
1074
|
/** OAuth 2.0 token for the current user. */
|
|
814
|
-
oauth_token?:
|
|
1075
|
+
oauth_token?:
|
|
1076
|
+
string;
|
|
815
1077
|
/** Requested page size. Defaults to 5000. */
|
|
816
|
-
pageSize?:
|
|
1078
|
+
pageSize?:
|
|
1079
|
+
number;
|
|
817
1080
|
/**
|
|
818
1081
|
* A token identifying a page of results to return. This should be a `next_page_token` value returned from a previous `ListServices` call. If unspecified, the first page of results
|
|
819
1082
|
* is returned.
|
|
820
1083
|
*/
|
|
821
|
-
pageToken?:
|
|
1084
|
+
pageToken?:
|
|
1085
|
+
string;
|
|
822
1086
|
/** Returns response with indentations and line breaks. */
|
|
823
|
-
prettyPrint?:
|
|
1087
|
+
prettyPrint?:
|
|
1088
|
+
boolean;
|
|
824
1089
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
825
|
-
quotaUser?:
|
|
1090
|
+
quotaUser?:
|
|
1091
|
+
string;
|
|
826
1092
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
827
|
-
upload_protocol?:
|
|
1093
|
+
upload_protocol?:
|
|
1094
|
+
string;
|
|
828
1095
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
829
|
-
uploadType?:
|
|
1096
|
+
uploadType?:
|
|
1097
|
+
string;
|
|
830
1098
|
}): Request<ListServicesResponse>;
|
|
831
|
-
skus:
|
|
1099
|
+
skus:
|
|
1100
|
+
SkusResource;
|
|
832
1101
|
}
|
|
833
1102
|
|
|
834
1103
|
const billingAccounts: BillingAccountsResource;
|