Skip to content

Commit b4e3e20

Browse files
docs: [cloudbilling] Clarify that the parent field in the CreateBillingAccountRequest must be a billing account (#10365)
* docs: Clarify that the parent field in the CreateBillingAccountRequest must be a billing account PiperOrigin-RevId: 606668963 Source-Link: googleapis/googleapis@026fd50 Source-Link: https://github.com/googleapis/googleapis-gen/commit/853ddfe691bb2eeebc660bcfebb27d12b7d062b6 Copy-Tag: eyJwIjoiamF2YS1iaWxsaW5nLy5Pd2xCb3QueWFtbCIsImgiOiI4NTNkZGZlNjkxYmIyZWVlYmM2NjBiY2ZlYmIyN2QxMmI3ZDA2MmI2In0= * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent e2329d4 commit b4e3e20

File tree

5 files changed

+1
-22
lines changed

5 files changed

+1
-22
lines changed

java-billing/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
195195
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
196196
[stability-image]: https://img.shields.io/badge/stability-stable-green
197197
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-billing.svg
198-
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-billing/2.34.0
198+
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-billing/2.35.0
199199
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
200200
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
201201
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles

java-billing/google-cloud-billing/src/main/java/com/google/cloud/billing/v1/CloudBillingClient.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -889,7 +889,6 @@ public final BillingAccount createBillingAccount(BillingAccount billingAccount)
889889
* CreateBillingAccount only supports subaccount creation, so any created billing accounts
890890
* must be under a provided parent billing account.
891891
* @param parent Optional. The parent to create a billing account from. Format: -
892-
* `organizations/{organization_id}`, for example, `organizations/12345678` -
893892
* `billingAccounts/{billing_account_id}`, for example, `billingAccounts/012345-567890-ABCDEF`
894893
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
895894
*/

java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/CreateBillingAccountRequest.java

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,6 @@ public com.google.cloud.billing.v1.BillingAccountOrBuilder getBillingAccountOrBu
139139
* <pre>
140140
* Optional. The parent to create a billing account from.
141141
* Format:
142-
* - `organizations/{organization_id}`, for example,
143-
* `organizations/12345678`
144142
* - `billingAccounts/{billing_account_id}`, for example,
145143
* `billingAccounts/012345-567890-ABCDEF`
146144
* </pre>
@@ -167,8 +165,6 @@ public java.lang.String getParent() {
167165
* <pre>
168166
* Optional. The parent to create a billing account from.
169167
* Format:
170-
* - `organizations/{organization_id}`, for example,
171-
* `organizations/12345678`
172168
* - `billingAccounts/{billing_account_id}`, for example,
173169
* `billingAccounts/012345-567890-ABCDEF`
174170
* </pre>
@@ -815,8 +811,6 @@ public com.google.cloud.billing.v1.BillingAccountOrBuilder getBillingAccountOrBu
815811
* <pre>
816812
* Optional. The parent to create a billing account from.
817813
* Format:
818-
* - `organizations/{organization_id}`, for example,
819-
* `organizations/12345678`
820814
* - `billingAccounts/{billing_account_id}`, for example,
821815
* `billingAccounts/012345-567890-ABCDEF`
822816
* </pre>
@@ -842,8 +836,6 @@ public java.lang.String getParent() {
842836
* <pre>
843837
* Optional. The parent to create a billing account from.
844838
* Format:
845-
* - `organizations/{organization_id}`, for example,
846-
* `organizations/12345678`
847839
* - `billingAccounts/{billing_account_id}`, for example,
848840
* `billingAccounts/012345-567890-ABCDEF`
849841
* </pre>
@@ -869,8 +861,6 @@ public com.google.protobuf.ByteString getParentBytes() {
869861
* <pre>
870862
* Optional. The parent to create a billing account from.
871863
* Format:
872-
* - `organizations/{organization_id}`, for example,
873-
* `organizations/12345678`
874864
* - `billingAccounts/{billing_account_id}`, for example,
875865
* `billingAccounts/012345-567890-ABCDEF`
876866
* </pre>
@@ -895,8 +885,6 @@ public Builder setParent(java.lang.String value) {
895885
* <pre>
896886
* Optional. The parent to create a billing account from.
897887
* Format:
898-
* - `organizations/{organization_id}`, for example,
899-
* `organizations/12345678`
900888
* - `billingAccounts/{billing_account_id}`, for example,
901889
* `billingAccounts/012345-567890-ABCDEF`
902890
* </pre>
@@ -917,8 +905,6 @@ public Builder clearParent() {
917905
* <pre>
918906
* Optional. The parent to create a billing account from.
919907
* Format:
920-
* - `organizations/{organization_id}`, for example,
921-
* `organizations/12345678`
922908
* - `billingAccounts/{billing_account_id}`, for example,
923909
* `billingAccounts/012345-567890-ABCDEF`
924910
* </pre>

java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/CreateBillingAccountRequestOrBuilder.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,6 @@ public interface CreateBillingAccountRequestOrBuilder
8080
* <pre>
8181
* Optional. The parent to create a billing account from.
8282
* Format:
83-
* - `organizations/{organization_id}`, for example,
84-
* `organizations/12345678`
8583
* - `billingAccounts/{billing_account_id}`, for example,
8684
* `billingAccounts/012345-567890-ABCDEF`
8785
* </pre>
@@ -97,8 +95,6 @@ public interface CreateBillingAccountRequestOrBuilder
9795
* <pre>
9896
* Optional. The parent to create a billing account from.
9997
* Format:
100-
* - `organizations/{organization_id}`, for example,
101-
* `organizations/12345678`
10298
* - `billingAccounts/{billing_account_id}`, for example,
10399
* `billingAccounts/012345-567890-ABCDEF`
104100
* </pre>

java-billing/proto-google-cloud-billing-v1/src/main/proto/google/cloud/billing/v1/cloud_billing.proto

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -380,8 +380,6 @@ message CreateBillingAccountRequest {
380380

381381
// Optional. The parent to create a billing account from.
382382
// Format:
383-
// - `organizations/{organization_id}`, for example,
384-
// `organizations/12345678`
385383
// - `billingAccounts/{billing_account_id}`, for example,
386384
// `billingAccounts/012345-567890-ABCDEF`
387385
string parent = 2 [(google.api.field_behavior) = OPTIONAL];

0 commit comments

Comments
 (0)