|
30 | 30 | @SuppressWarnings("javadoc")
|
31 | 31 | public final class BillingAccount extends com.google.api.client.json.GenericJson {
|
32 | 32 |
|
| 33 | + /** |
| 34 | + * Optional. The currency in which the billing account is billed and charged, represented as an |
| 35 | + * ISO 4217 code such as `USD`. Billing account currency is determined at the time of billing |
| 36 | + * account creation and cannot be updated subsequently, so this field should not be set on update |
| 37 | + * requests. In addition, a subaccount always matches the currency of its parent billing account, |
| 38 | + * so this field should not be set on subaccount creation requests. Clients can read this field to |
| 39 | + * determine the currency of an existing billing account. |
| 40 | + * The value may be {@code null}. |
| 41 | + */ |
| 42 | + @com.google.api.client.util.Key |
| 43 | + private java.lang.String currencyCode; |
| 44 | + |
33 | 45 | /**
|
34 | 46 | * The display name given to the billing account, such as `My Billing Account`. This name is
|
35 | 47 | * displayed in the Google Cloud Console.
|
@@ -75,6 +87,33 @@ public final class BillingAccount extends com.google.api.client.json.GenericJson
|
75 | 87 | @com.google.api.client.util.Key
|
76 | 88 | private java.lang.String parent;
|
77 | 89 |
|
| 90 | + /** |
| 91 | + * Optional. The currency in which the billing account is billed and charged, represented as an |
| 92 | + * ISO 4217 code such as `USD`. Billing account currency is determined at the time of billing |
| 93 | + * account creation and cannot be updated subsequently, so this field should not be set on update |
| 94 | + * requests. In addition, a subaccount always matches the currency of its parent billing account, |
| 95 | + * so this field should not be set on subaccount creation requests. Clients can read this field to |
| 96 | + * determine the currency of an existing billing account. |
| 97 | + * @return value or {@code null} for none |
| 98 | + */ |
| 99 | + public java.lang.String getCurrencyCode() { |
| 100 | + return currencyCode; |
| 101 | + } |
| 102 | + |
| 103 | + /** |
| 104 | + * Optional. The currency in which the billing account is billed and charged, represented as an |
| 105 | + * ISO 4217 code such as `USD`. Billing account currency is determined at the time of billing |
| 106 | + * account creation and cannot be updated subsequently, so this field should not be set on update |
| 107 | + * requests. In addition, a subaccount always matches the currency of its parent billing account, |
| 108 | + * so this field should not be set on subaccount creation requests. Clients can read this field to |
| 109 | + * determine the currency of an existing billing account. |
| 110 | + * @param currencyCode currencyCode or {@code null} for none |
| 111 | + */ |
| 112 | + public BillingAccount setCurrencyCode(java.lang.String currencyCode) { |
| 113 | + this.currencyCode = currencyCode; |
| 114 | + return this; |
| 115 | + } |
| 116 | + |
78 | 117 | /**
|
79 | 118 | * The display name given to the billing account, such as `My Billing Account`. This name is
|
80 | 119 | * displayed in the Google Cloud Console.
|
|
0 commit comments