From 15733af70f6c19d62042e876c93fc205165b046a Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Thu, 21 Sep 2023 13:28:03 -0400 Subject: [PATCH] docs: [cloudbilling] update service documentation (#9857) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * docs: update service documentation PiperOrigin-RevId: 567050256 Source-Link: https://github.com/googleapis/googleapis/commit/5fcf6d86afd5b051cb19a19bce853a076ce35651 Source-Link: https://github.com/googleapis/googleapis-gen/commit/8be11531247b5330acb941ca3739b279c12aa1c1 Copy-Tag: eyJwIjoiamF2YS1iaWxsaW5nLy5Pd2xCb3QueWFtbCIsImgiOiI4YmUxMTUzMTI0N2I1MzMwYWNiOTQxY2EzNzM5YjI3OWMxMmFhMWMxIn0= * 🦉 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 --- java-billing/README.md | 4 +-- .../cloud/billing/v1/CloudBillingClient.java | 12 ++++---- .../cloud/billing/v1/CloudBillingGrpc.java | 8 +++--- .../v1/ListBillingAccountsRequest.java | 28 +++++++++---------- .../ListBillingAccountsRequestOrBuilder.java | 8 +++--- .../cloud/billing/v1/cloud_billing.proto | 6 ++-- 6 files changed, 33 insertions(+), 33 deletions(-) diff --git a/java-billing/README.md b/java-billing/README.md index 6bce2cebebc5..55306baa4ea7 100644 --- a/java-billing/README.md +++ b/java-billing/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.22.0 + 26.23.0 pom import @@ -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.23.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-billing/2.24.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 diff --git a/java-billing/google-cloud-billing/src/main/java/com/google/cloud/billing/v1/CloudBillingClient.java b/java-billing/google-cloud-billing/src/main/java/com/google/cloud/billing/v1/CloudBillingClient.java index 6c0471c65574..7b4fa6f45ab6 100644 --- a/java-billing/google-cloud-billing/src/main/java/com/google/cloud/billing/v1/CloudBillingClient.java +++ b/java-billing/google-cloud-billing/src/main/java/com/google/cloud/billing/v1/CloudBillingClient.java @@ -582,8 +582,8 @@ public final BillingAccount updateBillingAccount(UpdateBillingAccountRequest req *

When creating a subaccount, the current authenticated user must have the * `billing.accounts.update` IAM permission on the parent account, which is typically given to * billing account [administrators](https://cloud.google.com/billing/docs/how-to/billing-access). - * This method will return an error if the parent account has not been provisioned as a reseller - * account. + * This method will return an error if the parent account has not been provisioned for + * subaccounts. * *

Sample code: * @@ -623,8 +623,8 @@ public final BillingAccount createBillingAccount(BillingAccount billingAccount) *

When creating a subaccount, the current authenticated user must have the * `billing.accounts.update` IAM permission on the parent account, which is typically given to * billing account [administrators](https://cloud.google.com/billing/docs/how-to/billing-access). - * This method will return an error if the parent account has not been provisioned as a reseller - * account. + * This method will return an error if the parent account has not been provisioned for + * subaccounts. * *

Sample code: * @@ -663,8 +663,8 @@ public final BillingAccount createBillingAccount(CreateBillingAccountRequest req *

When creating a subaccount, the current authenticated user must have the * `billing.accounts.update` IAM permission on the parent account, which is typically given to * billing account [administrators](https://cloud.google.com/billing/docs/how-to/billing-access). - * This method will return an error if the parent account has not been provisioned as a reseller - * account. + * This method will return an error if the parent account has not been provisioned for + * subaccounts. * *

Sample code: * diff --git a/java-billing/grpc-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/CloudBillingGrpc.java b/java-billing/grpc-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/CloudBillingGrpc.java index 2bded3c1ac7c..52c00cef8e37 100644 --- a/java-billing/grpc-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/CloudBillingGrpc.java +++ b/java-billing/grpc-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/CloudBillingGrpc.java @@ -613,7 +613,7 @@ default void updateBillingAccount( * typically given to billing account * [administrators](https://cloud.google.com/billing/docs/how-to/billing-access). * This method will return an error if the parent account has not been - * provisioned as a reseller account. + * provisioned for subaccounts. * */ default void createBillingAccount( @@ -864,7 +864,7 @@ public void updateBillingAccount( * typically given to billing account * [administrators](https://cloud.google.com/billing/docs/how-to/billing-access). * This method will return an error if the parent account has not been - * provisioned as a reseller account. + * provisioned for subaccounts. * */ public void createBillingAccount( @@ -1103,7 +1103,7 @@ public com.google.cloud.billing.v1.BillingAccount updateBillingAccount( * typically given to billing account * [administrators](https://cloud.google.com/billing/docs/how-to/billing-access). * This method will return an error if the parent account has not been - * provisioned as a reseller account. + * provisioned for subaccounts. * */ public com.google.cloud.billing.v1.BillingAccount createBillingAccount( @@ -1318,7 +1318,7 @@ protected CloudBillingFutureStub build( * typically given to billing account * [administrators](https://cloud.google.com/billing/docs/how-to/billing-access). * This method will return an error if the parent account has not been - * provisioned as a reseller account. + * provisioned for subaccounts. * */ public com.google.common.util.concurrent.ListenableFuture< diff --git a/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/ListBillingAccountsRequest.java b/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/ListBillingAccountsRequest.java index 1300b82efa64..9e8d421e9ccf 100644 --- a/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/ListBillingAccountsRequest.java +++ b/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/ListBillingAccountsRequest.java @@ -146,9 +146,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() { * *

    * Options for how to filter the returned billing accounts.
-   * Currently this only supports filtering for
+   * This only supports filtering for
    * [subaccounts](https://cloud.google.com/billing/docs/concepts) under a
-   * single provided reseller billing account.
+   * single provided parent billing account.
    * (e.g. "master_billing_account=billingAccounts/012345-678901-ABCDEF").
    * Boolean algebra and other fields are not currently supported.
    * 
@@ -174,9 +174,9 @@ public java.lang.String getFilter() { * *
    * Options for how to filter the returned billing accounts.
-   * Currently this only supports filtering for
+   * This only supports filtering for
    * [subaccounts](https://cloud.google.com/billing/docs/concepts) under a
-   * single provided reseller billing account.
+   * single provided parent billing account.
    * (e.g. "master_billing_account=billingAccounts/012345-678901-ABCDEF").
    * Boolean algebra and other fields are not currently supported.
    * 
@@ -765,9 +765,9 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { * *
      * Options for how to filter the returned billing accounts.
-     * Currently this only supports filtering for
+     * This only supports filtering for
      * [subaccounts](https://cloud.google.com/billing/docs/concepts) under a
-     * single provided reseller billing account.
+     * single provided parent billing account.
      * (e.g. "master_billing_account=billingAccounts/012345-678901-ABCDEF").
      * Boolean algebra and other fields are not currently supported.
      * 
@@ -792,9 +792,9 @@ public java.lang.String getFilter() { * *
      * Options for how to filter the returned billing accounts.
-     * Currently this only supports filtering for
+     * This only supports filtering for
      * [subaccounts](https://cloud.google.com/billing/docs/concepts) under a
-     * single provided reseller billing account.
+     * single provided parent billing account.
      * (e.g. "master_billing_account=billingAccounts/012345-678901-ABCDEF").
      * Boolean algebra and other fields are not currently supported.
      * 
@@ -819,9 +819,9 @@ public com.google.protobuf.ByteString getFilterBytes() { * *
      * Options for how to filter the returned billing accounts.
-     * Currently this only supports filtering for
+     * This only supports filtering for
      * [subaccounts](https://cloud.google.com/billing/docs/concepts) under a
-     * single provided reseller billing account.
+     * single provided parent billing account.
      * (e.g. "master_billing_account=billingAccounts/012345-678901-ABCDEF").
      * Boolean algebra and other fields are not currently supported.
      * 
@@ -845,9 +845,9 @@ public Builder setFilter(java.lang.String value) { * *
      * Options for how to filter the returned billing accounts.
-     * Currently this only supports filtering for
+     * This only supports filtering for
      * [subaccounts](https://cloud.google.com/billing/docs/concepts) under a
-     * single provided reseller billing account.
+     * single provided parent billing account.
      * (e.g. "master_billing_account=billingAccounts/012345-678901-ABCDEF").
      * Boolean algebra and other fields are not currently supported.
      * 
@@ -867,9 +867,9 @@ public Builder clearFilter() { * *
      * Options for how to filter the returned billing accounts.
-     * Currently this only supports filtering for
+     * This only supports filtering for
      * [subaccounts](https://cloud.google.com/billing/docs/concepts) under a
-     * single provided reseller billing account.
+     * single provided parent billing account.
      * (e.g. "master_billing_account=billingAccounts/012345-678901-ABCDEF").
      * Boolean algebra and other fields are not currently supported.
      * 
diff --git a/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/ListBillingAccountsRequestOrBuilder.java b/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/ListBillingAccountsRequestOrBuilder.java index f25526918708..abda9f01602e 100644 --- a/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/ListBillingAccountsRequestOrBuilder.java +++ b/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/ListBillingAccountsRequestOrBuilder.java @@ -71,9 +71,9 @@ public interface ListBillingAccountsRequestOrBuilder * *
    * Options for how to filter the returned billing accounts.
-   * Currently this only supports filtering for
+   * This only supports filtering for
    * [subaccounts](https://cloud.google.com/billing/docs/concepts) under a
-   * single provided reseller billing account.
+   * single provided parent billing account.
    * (e.g. "master_billing_account=billingAccounts/012345-678901-ABCDEF").
    * Boolean algebra and other fields are not currently supported.
    * 
@@ -88,9 +88,9 @@ public interface ListBillingAccountsRequestOrBuilder * *
    * Options for how to filter the returned billing accounts.
-   * Currently this only supports filtering for
+   * This only supports filtering for
    * [subaccounts](https://cloud.google.com/billing/docs/concepts) under a
-   * single provided reseller billing account.
+   * single provided parent billing account.
    * (e.g. "master_billing_account=billingAccounts/012345-678901-ABCDEF").
    * Boolean algebra and other fields are not currently supported.
    * 
diff --git a/java-billing/proto-google-cloud-billing-v1/src/main/proto/google/cloud/billing/v1/cloud_billing.proto b/java-billing/proto-google-cloud-billing-v1/src/main/proto/google/cloud/billing/v1/cloud_billing.proto index 241a624bf1a9..14b75d791873 100644 --- a/java-billing/proto-google-cloud-billing-v1/src/main/proto/google/cloud/billing/v1/cloud_billing.proto +++ b/java-billing/proto-google-cloud-billing-v1/src/main/proto/google/cloud/billing/v1/cloud_billing.proto @@ -88,7 +88,7 @@ service CloudBilling { // typically given to billing account // [administrators](https://cloud.google.com/billing/docs/how-to/billing-access). // This method will return an error if the parent account has not been - // provisioned as a reseller account. + // provisioned for subaccounts. rpc CreateBillingAccount(CreateBillingAccountRequest) returns (BillingAccount) { option (google.api.http) = { @@ -290,9 +290,9 @@ message ListBillingAccountsRequest { string page_token = 2; // Options for how to filter the returned billing accounts. - // Currently this only supports filtering for + // This only supports filtering for // [subaccounts](https://cloud.google.com/billing/docs/concepts) under a - // single provided reseller billing account. + // single provided parent billing account. // (e.g. "master_billing_account=billingAccounts/012345-678901-ABCDEF"). // Boolean algebra and other fields are not currently supported. string filter = 3;