Skip to content

Commit faba4bf

Browse files
yoshi-automationsofisl
authored andcommitted
feat(cloudbilling): update the API
#### cloudbilling:v1beta The following keys were changed: - schemas.Decimal.description #### cloudbilling:v1 The following keys were added: - schemas.BillingAccount.properties.currencyCode.description - schemas.BillingAccount.properties.currencyCode.type
1 parent 2b797dd commit faba4bf

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

‎discovery/cloudbilling-v1.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -751,7 +751,7 @@
751751
}
752752
}
753753
},
754-
"revision": "20240517",
754+
"revision": "20241011",
755755
"rootUrl": "https://cloudbilling.googleapis.com/",
756756
"schemas": {
757757
"AggregationInfo": {
@@ -844,6 +844,10 @@
844844
"description": "A billing account in the [Google Cloud Console](https://console.cloud.google.com/). You can assign a billing account to one or more projects.",
845845
"id": "BillingAccount",
846846
"properties": {
847+
"currencyCode": {
848+
"description": "Optional. The currency in which the billing account is billed and charged, represented as an ISO 4217 code such as `USD`. Billing account currency is determined at the time of billing account creation and cannot be updated subsequently, so this field should not be set on update requests. In addition, a subaccount always matches the currency of its parent billing account, so this field should not be set on subaccount creation requests. Clients can read this field to determine the currency of an existing billing account.",
849+
"type": "string"
850+
},
847851
"displayName": {
848852
"description": "The display name given to the billing account, such as `My Billing Account`. This name is displayed in the Google Cloud Console.",
849853
"type": "string"

‎discovery/cloudbilling-v1beta.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -761,7 +761,7 @@
761761
}
762762
}
763763
},
764-
"revision": "20240906",
764+
"revision": "20241106",
765765
"rootUrl": "https://cloudbilling.googleapis.com/",
766766
"schemas": {
767767
"CacheFillRegions": {
@@ -1245,7 +1245,7 @@
12451245
"type": "object"
12461246
},
12471247
"Decimal": {
1248-
"description": "A representation of a decimal value, such as 2.5. Clients may convert values into language-native decimal formats, such as Java's BigDecimal or Python's decimal.Decimal. [BigDecimal]: https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/math/BigDecimal.html [decimal.Decimal]: https://docs.python.org/3/library/decimal.html",
1248+
"description": "A representation of a decimal value, such as 2.5. Clients may convert values into language-native decimal formats, such as Java's [BigDecimal](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/math/BigDecimal.html) or Python's [decimal.Decimal](https://docs.python.org/3/library/decimal.html).",
12491249
"id": "Decimal",
12501250
"properties": {
12511251
"value": {

‎src/apis/cloudbilling/v1.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,10 @@ export namespace cloudbilling_v1 {
171171
* A billing account in the [Google Cloud Console](https://console.cloud.google.com/). You can assign a billing account to one or more projects.
172172
*/
173173
export interface Schema$BillingAccount {
174+
/**
175+
* Optional. The currency in which the billing account is billed and charged, represented as an ISO 4217 code such as `USD`. Billing account currency is determined at the time of billing account creation and cannot be updated subsequently, so this field should not be set on update requests. In addition, a subaccount always matches the currency of its parent billing account, so this field should not be set on subaccount creation requests. Clients can read this field to determine the currency of an existing billing account.
176+
*/
177+
currencyCode?: string | null;
174178
/**
175179
* The display name given to the billing account, such as `My Billing Account`. This name is displayed in the Google Cloud Console.
176180
*/

‎src/apis/cloudbilling/v1beta.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ export namespace cloudbilling_v1beta {
418418
virtualCpuCount?: string | null;
419419
}
420420
/**
421-
* A representation of a decimal value, such as 2.5. Clients may convert values into language-native decimal formats, such as Java's BigDecimal or Python's decimal.Decimal. [BigDecimal]: https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/math/BigDecimal.html [decimal.Decimal]: https://docs.python.org/3/library/decimal.html
421+
* A representation of a decimal value, such as 2.5. Clients may convert values into language-native decimal formats, such as Java's [BigDecimal](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/math/BigDecimal.html) or Python's [decimal.Decimal](https://docs.python.org/3/library/decimal.html).
422422
*/
423423
export interface Schema$Decimal {
424424
/**

0 commit comments

Comments
 (0)