@maxim_mazurok/gapi.client.cloudbilling-v1 0.0.20231201 → 0.0.20231215
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 +18 -18
- package/package.json +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: 20231215
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -49,15 +49,15 @@ declare namespace gapi.client {
|
|
|
49
49
|
masterBillingAccount?: string;
|
|
50
50
|
/** 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` would be the resource name for billing account `012345-567890-ABCDEF`. */
|
|
51
51
|
name?: string;
|
|
52
|
-
/** 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 associated with it
|
|
52
|
+
/** 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 associated with it are unable to use paid services. */
|
|
53
53
|
open?: boolean;
|
|
54
|
-
/** Output only. The billing account's parent resource identifier. Use the `MoveBillingAccount` method to update the account's parent resource if it is a organization. Format: - organizations/{organization_id}
|
|
54
|
+
/** Output only. The billing account's parent resource identifier. Use the `MoveBillingAccount` method to update the account's parent resource if it is a organization. Format: - `organizations/{organization_id}`, for example, `organizations/12345678` - `billingAccounts/{billing_account_id}`, for example, `billingAccounts/012345-567890-ABCDEF` */
|
|
55
55
|
parent?: string;
|
|
56
56
|
}
|
|
57
57
|
interface Binding {
|
|
58
58
|
/** The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, 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 resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
|
|
59
59
|
condition?: Expr;
|
|
60
|
-
/** 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 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 account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that 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 retains the role in the binding. */
|
|
60
|
+
/** 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 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 account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that 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 retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`. */
|
|
61
61
|
members?: string[];
|
|
62
62
|
/** Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. */
|
|
63
63
|
role?: string;
|
|
@@ -121,7 +121,7 @@ declare namespace gapi.client {
|
|
|
121
121
|
units?: string;
|
|
122
122
|
}
|
|
123
123
|
interface MoveBillingAccountRequest {
|
|
124
|
-
/** Required. The resource name of the Organization to
|
|
124
|
+
/** Required. The resource name of the Organization to move the billing account under. Must be of the form `organizations/{organization_id}`. */
|
|
125
125
|
destinationParent?: string;
|
|
126
126
|
}
|
|
127
127
|
interface Policy {
|
|
@@ -270,7 +270,7 @@ declare namespace gapi.client {
|
|
|
270
270
|
key?: string;
|
|
271
271
|
/** OAuth 2.0 token for the current user. */
|
|
272
272
|
oauth_token?: string;
|
|
273
|
-
/** Optional. The parent to create a billing account from. Format: - organizations/{organization_id}
|
|
273
|
+
/** Optional. The parent to create a billing account from. Format: - `organizations/{organization_id}`, for example, `organizations/12345678` - `billingAccounts/{billing_account_id}`, for example, `billingAccounts/012345-567890-ABCDEF` */
|
|
274
274
|
parent: string;
|
|
275
275
|
/** Returns response with indentations and line breaks. */
|
|
276
276
|
prettyPrint?: boolean;
|
|
@@ -299,7 +299,7 @@ declare namespace gapi.client {
|
|
|
299
299
|
key?: string;
|
|
300
300
|
/** OAuth 2.0 token for the current user. */
|
|
301
301
|
oauth_token?: string;
|
|
302
|
-
/** Optional. The parent to create a billing account from. Format: - organizations/{organization_id}
|
|
302
|
+
/** Optional. The parent to create a billing account from. Format: - `organizations/{organization_id}`, for example, `organizations/12345678` - `billingAccounts/{billing_account_id}`, for example, `billingAccounts/012345-567890-ABCDEF` */
|
|
303
303
|
parent: string;
|
|
304
304
|
/** Returns response with indentations and line breaks. */
|
|
305
305
|
prettyPrint?: boolean;
|
|
@@ -324,7 +324,7 @@ declare namespace gapi.client {
|
|
|
324
324
|
callback?: string;
|
|
325
325
|
/** Selector specifying which fields to include in a partial response. */
|
|
326
326
|
fields?: string;
|
|
327
|
-
/** Options for how to filter the returned billing accounts. This only supports filtering for [subaccounts](https://cloud.google.com/billing/docs/concepts) under a single provided parent billing account. (
|
|
327
|
+
/** Options for how to filter the returned billing accounts. This only supports filtering for [subaccounts](https://cloud.google.com/billing/docs/concepts) under a single provided parent billing account. (for example, `master_billing_account=billingAccounts/012345-678901-ABCDEF`). Boolean algebra and other fields are not currently supported. */
|
|
328
328
|
filter?: string;
|
|
329
329
|
/** 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. */
|
|
330
330
|
key?: string;
|
|
@@ -334,7 +334,7 @@ declare namespace gapi.client {
|
|
|
334
334
|
pageSize?: number;
|
|
335
335
|
/** 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 results is returned. */
|
|
336
336
|
pageToken?: string;
|
|
337
|
-
/** Optional. The parent resource to list billing accounts from. Format: - organizations/{organization_id}
|
|
337
|
+
/** Optional. The parent resource to list billing accounts from. Format: - `organizations/{organization_id}`, for example, `organizations/12345678` - `billingAccounts/{billing_account_id}`, for example, `billingAccounts/012345-567890-ABCDEF` */
|
|
338
338
|
parent: string;
|
|
339
339
|
/** Returns response with indentations and line breaks. */
|
|
340
340
|
prettyPrint?: boolean;
|
|
@@ -363,7 +363,7 @@ declare namespace gapi.client {
|
|
|
363
363
|
key?: string;
|
|
364
364
|
/** OAuth 2.0 token for the current user. */
|
|
365
365
|
oauth_token?: string;
|
|
366
|
-
/** Optional. The parent to create a billing account from. Format: - organizations/{organization_id}
|
|
366
|
+
/** Optional. The parent to create a billing account from. Format: - `organizations/{organization_id}`, for example, `organizations/12345678` - `billingAccounts/{billing_account_id}`, for example, `billingAccounts/012345-567890-ABCDEF` */
|
|
367
367
|
parent?: string;
|
|
368
368
|
/** Returns response with indentations and line breaks. */
|
|
369
369
|
prettyPrint?: boolean;
|
|
@@ -392,7 +392,7 @@ declare namespace gapi.client {
|
|
|
392
392
|
key?: string;
|
|
393
393
|
/** OAuth 2.0 token for the current user. */
|
|
394
394
|
oauth_token?: string;
|
|
395
|
-
/** Optional. The parent to create a billing account from. Format: - organizations/{organization_id}
|
|
395
|
+
/** Optional. The parent to create a billing account from. Format: - `organizations/{organization_id}`, for example, `organizations/12345678` - `billingAccounts/{billing_account_id}`, for example, `billingAccounts/012345-567890-ABCDEF` */
|
|
396
396
|
parent?: string;
|
|
397
397
|
/** Returns response with indentations and line breaks. */
|
|
398
398
|
prettyPrint?: boolean;
|
|
@@ -473,7 +473,7 @@ declare namespace gapi.client {
|
|
|
473
473
|
callback?: string;
|
|
474
474
|
/** Selector specifying which fields to include in a partial response. */
|
|
475
475
|
fields?: string;
|
|
476
|
-
/** Options for how to filter the returned billing accounts. This only supports filtering for [subaccounts](https://cloud.google.com/billing/docs/concepts) under a single provided parent billing account. (
|
|
476
|
+
/** Options for how to filter the returned billing accounts. This only supports filtering for [subaccounts](https://cloud.google.com/billing/docs/concepts) under a single provided parent billing account. (for example, `master_billing_account=billingAccounts/012345-678901-ABCDEF`). Boolean algebra and other fields are not currently supported. */
|
|
477
477
|
filter?: string;
|
|
478
478
|
/** 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. */
|
|
479
479
|
key?: string;
|
|
@@ -483,7 +483,7 @@ declare namespace gapi.client {
|
|
|
483
483
|
pageSize?: number;
|
|
484
484
|
/** 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 results is returned. */
|
|
485
485
|
pageToken?: string;
|
|
486
|
-
/** Optional. The parent resource to list billing accounts from. Format: - organizations/{organization_id}
|
|
486
|
+
/** Optional. The parent resource to list billing accounts from. Format: - `organizations/{organization_id}`, for example, `organizations/12345678` - `billingAccounts/{billing_account_id}`, for example, `billingAccounts/012345-567890-ABCDEF` */
|
|
487
487
|
parent?: string;
|
|
488
488
|
/** Returns response with indentations and line breaks. */
|
|
489
489
|
prettyPrint?: boolean;
|
|
@@ -694,7 +694,7 @@ declare namespace gapi.client {
|
|
|
694
694
|
key?: string;
|
|
695
695
|
/** OAuth 2.0 token for the current user. */
|
|
696
696
|
oauth_token?: string;
|
|
697
|
-
/** Optional. The parent to create a billing account from. Format: - organizations/{organization_id}
|
|
697
|
+
/** Optional. The parent to create a billing account from. Format: - `organizations/{organization_id}`, for example, `organizations/12345678` - `billingAccounts/{billing_account_id}`, for example, `billingAccounts/012345-567890-ABCDEF` */
|
|
698
698
|
parent: string;
|
|
699
699
|
/** Returns response with indentations and line breaks. */
|
|
700
700
|
prettyPrint?: boolean;
|
|
@@ -723,7 +723,7 @@ declare namespace gapi.client {
|
|
|
723
723
|
key?: string;
|
|
724
724
|
/** OAuth 2.0 token for the current user. */
|
|
725
725
|
oauth_token?: string;
|
|
726
|
-
/** Optional. The parent to create a billing account from. Format: - organizations/{organization_id}
|
|
726
|
+
/** Optional. The parent to create a billing account from. Format: - `organizations/{organization_id}`, for example, `organizations/12345678` - `billingAccounts/{billing_account_id}`, for example, `billingAccounts/012345-567890-ABCDEF` */
|
|
727
727
|
parent: string;
|
|
728
728
|
/** Returns response with indentations and line breaks. */
|
|
729
729
|
prettyPrint?: boolean;
|
|
@@ -748,7 +748,7 @@ declare namespace gapi.client {
|
|
|
748
748
|
callback?: string;
|
|
749
749
|
/** Selector specifying which fields to include in a partial response. */
|
|
750
750
|
fields?: string;
|
|
751
|
-
/** Options for how to filter the returned billing accounts. This only supports filtering for [subaccounts](https://cloud.google.com/billing/docs/concepts) under a single provided parent billing account. (
|
|
751
|
+
/** Options for how to filter the returned billing accounts. This only supports filtering for [subaccounts](https://cloud.google.com/billing/docs/concepts) under a single provided parent billing account. (for example, `master_billing_account=billingAccounts/012345-678901-ABCDEF`). Boolean algebra and other fields are not currently supported. */
|
|
752
752
|
filter?: string;
|
|
753
753
|
/** 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. */
|
|
754
754
|
key?: string;
|
|
@@ -758,7 +758,7 @@ declare namespace gapi.client {
|
|
|
758
758
|
pageSize?: number;
|
|
759
759
|
/** 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 results is returned. */
|
|
760
760
|
pageToken?: string;
|
|
761
|
-
/** Optional. The parent resource to list billing accounts from. Format: - organizations/{organization_id}
|
|
761
|
+
/** Optional. The parent resource to list billing accounts from. Format: - `organizations/{organization_id}`, for example, `organizations/12345678` - `billingAccounts/{billing_account_id}`, for example, `billingAccounts/012345-567890-ABCDEF` */
|
|
762
762
|
parent: string;
|
|
763
763
|
/** Returns response with indentations and line breaks. */
|
|
764
764
|
prettyPrint?: boolean;
|
|
@@ -779,7 +779,7 @@ declare namespace gapi.client {
|
|
|
779
779
|
alt?: string;
|
|
780
780
|
/** JSONP */
|
|
781
781
|
callback?: string;
|
|
782
|
-
/** Required. The resource name of the Organization to
|
|
782
|
+
/** Required. The resource name of the Organization to move the billing account under. Must be of the form `organizations/{organization_id}`. */
|
|
783
783
|
destinationParent: string;
|
|
784
784
|
/** Selector specifying which fields to include in a partial response. */
|
|
785
785
|
fields?: string;
|