Skip to content

Commit

Permalink
docs: [cloudbilling] Clarify that the parent field in the CreateBilli…
Browse files Browse the repository at this point in the history
…ngAccountRequest 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: googleapis/googleapis-gen@853ddfe
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>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] committed Feb 14, 2024
1 parent e2329d4 commit b4e3e20
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 22 deletions.
2 changes: 1 addition & 1 deletion java-billing/README.md
Expand Up @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-billing.svg
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-billing/2.34.0
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-billing/2.35.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
Expand Down
Expand Up @@ -889,7 +889,6 @@ public final BillingAccount createBillingAccount(BillingAccount billingAccount)
* CreateBillingAccount only supports subaccount creation, so any created billing accounts
* must be under a provided parent billing account.
* @param parent 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`
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
Expand Down
Expand Up @@ -139,8 +139,6 @@ public com.google.cloud.billing.v1.BillingAccountOrBuilder getBillingAccountOrBu
* <pre>
* 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`
* </pre>
Expand All @@ -167,8 +165,6 @@ public java.lang.String getParent() {
* <pre>
* 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`
* </pre>
Expand Down Expand Up @@ -815,8 +811,6 @@ public com.google.cloud.billing.v1.BillingAccountOrBuilder getBillingAccountOrBu
* <pre>
* 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`
* </pre>
Expand All @@ -842,8 +836,6 @@ public java.lang.String getParent() {
* <pre>
* 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`
* </pre>
Expand All @@ -869,8 +861,6 @@ public com.google.protobuf.ByteString getParentBytes() {
* <pre>
* 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`
* </pre>
Expand All @@ -895,8 +885,6 @@ public Builder setParent(java.lang.String value) {
* <pre>
* 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`
* </pre>
Expand All @@ -917,8 +905,6 @@ public Builder clearParent() {
* <pre>
* 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`
* </pre>
Expand Down
Expand Up @@ -80,8 +80,6 @@ public interface CreateBillingAccountRequestOrBuilder
* <pre>
* 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`
* </pre>
Expand All @@ -97,8 +95,6 @@ public interface CreateBillingAccountRequestOrBuilder
* <pre>
* 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`
* </pre>
Expand Down
Expand Up @@ -380,8 +380,6 @@ message CreateBillingAccountRequest {

// 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`
string parent = 2 [(google.api.field_behavior) = OPTIONAL];
Expand Down

0 comments on commit b4e3e20

Please sign in to comment.