@maxim_mazurok/gapi.client.cloudbilling-v1 0.0.20231109 → 0.0.20231120

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.
Files changed (3) hide show
  1. package/index.d.ts +7 -1
  2. package/package.json +1 -1
  3. package/tests.ts +5 -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: 20231109
12
+ // Revision: 20231120
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -72,6 +72,12 @@ declare namespace gapi.client {
72
72
  */
73
73
  open?:
74
74
  boolean;
75
+ /**
76
+ * 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: -
77
+ * organizations/{organization_id}, for example: organizations/12345678 - billingAccounts/{billing_account_id}, for example: `billingAccounts/012345-567890-ABCDEF`
78
+ */
79
+ parent?:
80
+ string;
75
81
  }
76
82
  interface Binding {
77
83
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.cloudbilling-v1",
3
- "version": "0.0.20231109",
3
+ "version": "0.0.20231120",
4
4
  "description": "TypeScript typings for Cloud Billing API v1",
5
5
  "license": "MIT",
6
6
  "author": {
package/tests.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
4
4
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
5
5
 
6
- // Revision: 20231109
6
+ // Revision: 20231120
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -47,6 +47,7 @@ gapi.load('client', async () => {
47
47
  masterBillingAccount: "Test string",
48
48
  name: "Test string",
49
49
  open: true,
50
+ parent: "Test string",
50
51
  });
51
52
  /** 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). */
52
53
  await gapi.client.cloudbilling.billingAccounts.get({
@@ -85,6 +86,7 @@ gapi.load('client', async () => {
85
86
  masterBillingAccount: "Test string",
86
87
  name: "Test string",
87
88
  open: true,
89
+ parent: "Test string",
88
90
  });
89
91
  /**
90
92
  * Sets the access control policy for a billing account. Replaces any existing policy. The caller must have the `billing.accounts.setIamPolicy` permission on the account, which is often
@@ -160,6 +162,7 @@ gapi.load('client', async () => {
160
162
  masterBillingAccount: "Test string",
161
163
  name: "Test string",
162
164
  open: true,
165
+ parent: "Test string",
163
166
  });
164
167
  /** Lists the billing accounts that the current authenticated user has permission to [view](https://cloud.google.com/billing/docs/how-to/billing-access). */
165
168
  await gapi.client.cloudbilling.billingAccounts.subAccounts.list({
@@ -182,6 +185,7 @@ gapi.load('client', async () => {
182
185
  masterBillingAccount: "Test string",
183
186
  name: "Test string",
184
187
  open: true,
188
+ parent: "Test string",
185
189
  });
186
190
  /** Lists the billing accounts that the current authenticated user has permission to [view](https://cloud.google.com/billing/docs/how-to/billing-access). */
187
191
  await gapi.client.cloudbilling.organizations.billingAccounts.list({