From 6ab58e6f2affd10023f3e591a6a23f9e8061e6ec 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 14:02:15 -0400 Subject: [PATCH] docs: [bigquerydatatransfer] Update transferConfig.name description to indicate that it supports both formats (#9824) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * docs: Update transferConfig.name description to indicate that it supports both formats PiperOrigin-RevId: 564447630 Source-Link: https://github.com/googleapis/googleapis/commit/ca42ab6bd0eb9a8f37f4b98267bef0f306a29e59 Source-Link: https://github.com/googleapis/googleapis-gen/commit/94336423f45525db0ba43b7e4c75e55c69d7c6a1 Copy-Tag: eyJwIjoiamF2YS1iaWdxdWVyeWRhdGF0cmFuc2Zlci8uT3dsQm90LnlhbWwiLCJoIjoiOTQzMzY0MjNmNDU1MjVkYjBiYTQzYjdlNGM3NWU1NWM2OWQ3YzZhMSJ9 * 🦉 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 --- .../datatransfer/v1/TransferConfig.java | 49 +++++++++++-------- .../v1/TransferConfigOrBuilder.java | 14 +++--- .../bigquery/datatransfer/v1/transfer.proto | 7 +-- 3 files changed, 40 insertions(+), 30 deletions(-) diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfig.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfig.java index fa36b3cd4075..dc55f2df8cbe 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfig.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfig.java @@ -129,9 +129,10 @@ public DestinationCase getDestinationCase() { * *
    * The resource name of the transfer config.
-   * Transfer config names have the form
-   * `projects/{project_id}/locations/{region}/transferConfigs/{config_id}`.
-   * Where `config_id` is usually a uuid, even though it is not
+   * Transfer config names have the form either
+   * `projects/{project_id}/locations/{region}/transferConfigs/{config_id}` or
+   * `projects/{project_id}/transferConfigs/{config_id}`,
+   * where `config_id` is usually a UUID, even though it is not
    * guaranteed or required. The name is ignored when creating a transfer
    * config.
    * 
@@ -157,9 +158,10 @@ public java.lang.String getName() { * *
    * The resource name of the transfer config.
-   * Transfer config names have the form
-   * `projects/{project_id}/locations/{region}/transferConfigs/{config_id}`.
-   * Where `config_id` is usually a uuid, even though it is not
+   * Transfer config names have the form either
+   * `projects/{project_id}/locations/{region}/transferConfigs/{config_id}` or
+   * `projects/{project_id}/transferConfigs/{config_id}`,
+   * where `config_id` is usually a UUID, even though it is not
    * guaranteed or required. The name is ignored when creating a transfer
    * config.
    * 
@@ -1916,9 +1918,10 @@ public Builder clearDestination() { * *
      * The resource name of the transfer config.
-     * Transfer config names have the form
-     * `projects/{project_id}/locations/{region}/transferConfigs/{config_id}`.
-     * Where `config_id` is usually a uuid, even though it is not
+     * Transfer config names have the form either
+     * `projects/{project_id}/locations/{region}/transferConfigs/{config_id}` or
+     * `projects/{project_id}/transferConfigs/{config_id}`,
+     * where `config_id` is usually a UUID, even though it is not
      * guaranteed or required. The name is ignored when creating a transfer
      * config.
      * 
@@ -1943,9 +1946,10 @@ public java.lang.String getName() { * *
      * The resource name of the transfer config.
-     * Transfer config names have the form
-     * `projects/{project_id}/locations/{region}/transferConfigs/{config_id}`.
-     * Where `config_id` is usually a uuid, even though it is not
+     * Transfer config names have the form either
+     * `projects/{project_id}/locations/{region}/transferConfigs/{config_id}` or
+     * `projects/{project_id}/transferConfigs/{config_id}`,
+     * where `config_id` is usually a UUID, even though it is not
      * guaranteed or required. The name is ignored when creating a transfer
      * config.
      * 
@@ -1970,9 +1974,10 @@ public com.google.protobuf.ByteString getNameBytes() { * *
      * The resource name of the transfer config.
-     * Transfer config names have the form
-     * `projects/{project_id}/locations/{region}/transferConfigs/{config_id}`.
-     * Where `config_id` is usually a uuid, even though it is not
+     * Transfer config names have the form either
+     * `projects/{project_id}/locations/{region}/transferConfigs/{config_id}` or
+     * `projects/{project_id}/transferConfigs/{config_id}`,
+     * where `config_id` is usually a UUID, even though it is not
      * guaranteed or required. The name is ignored when creating a transfer
      * config.
      * 
@@ -1996,9 +2001,10 @@ public Builder setName(java.lang.String value) { * *
      * The resource name of the transfer config.
-     * Transfer config names have the form
-     * `projects/{project_id}/locations/{region}/transferConfigs/{config_id}`.
-     * Where `config_id` is usually a uuid, even though it is not
+     * Transfer config names have the form either
+     * `projects/{project_id}/locations/{region}/transferConfigs/{config_id}` or
+     * `projects/{project_id}/transferConfigs/{config_id}`,
+     * where `config_id` is usually a UUID, even though it is not
      * guaranteed or required. The name is ignored when creating a transfer
      * config.
      * 
@@ -2018,9 +2024,10 @@ public Builder clearName() { * *
      * The resource name of the transfer config.
-     * Transfer config names have the form
-     * `projects/{project_id}/locations/{region}/transferConfigs/{config_id}`.
-     * Where `config_id` is usually a uuid, even though it is not
+     * Transfer config names have the form either
+     * `projects/{project_id}/locations/{region}/transferConfigs/{config_id}` or
+     * `projects/{project_id}/transferConfigs/{config_id}`,
+     * where `config_id` is usually a UUID, even though it is not
      * guaranteed or required. The name is ignored when creating a transfer
      * config.
      * 
diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigOrBuilder.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigOrBuilder.java index f1dc74e786a5..cdb890d5439e 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigOrBuilder.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigOrBuilder.java @@ -28,9 +28,10 @@ public interface TransferConfigOrBuilder * *
    * The resource name of the transfer config.
-   * Transfer config names have the form
-   * `projects/{project_id}/locations/{region}/transferConfigs/{config_id}`.
-   * Where `config_id` is usually a uuid, even though it is not
+   * Transfer config names have the form either
+   * `projects/{project_id}/locations/{region}/transferConfigs/{config_id}` or
+   * `projects/{project_id}/transferConfigs/{config_id}`,
+   * where `config_id` is usually a UUID, even though it is not
    * guaranteed or required. The name is ignored when creating a transfer
    * config.
    * 
@@ -45,9 +46,10 @@ public interface TransferConfigOrBuilder * *
    * The resource name of the transfer config.
-   * Transfer config names have the form
-   * `projects/{project_id}/locations/{region}/transferConfigs/{config_id}`.
-   * Where `config_id` is usually a uuid, even though it is not
+   * Transfer config names have the form either
+   * `projects/{project_id}/locations/{region}/transferConfigs/{config_id}` or
+   * `projects/{project_id}/transferConfigs/{config_id}`,
+   * where `config_id` is usually a UUID, even though it is not
    * guaranteed or required. The name is ignored when creating a transfer
    * config.
    * 
diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/proto/google/cloud/bigquery/datatransfer/v1/transfer.proto b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/proto/google/cloud/bigquery/datatransfer/v1/transfer.proto index 7bcf8f549783..e65b536bc260 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/proto/google/cloud/bigquery/datatransfer/v1/transfer.proto +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/proto/google/cloud/bigquery/datatransfer/v1/transfer.proto @@ -118,9 +118,10 @@ message TransferConfig { }; // The resource name of the transfer config. - // Transfer config names have the form - // `projects/{project_id}/locations/{region}/transferConfigs/{config_id}`. - // Where `config_id` is usually a uuid, even though it is not + // Transfer config names have the form either + // `projects/{project_id}/locations/{region}/transferConfigs/{config_id}` or + // `projects/{project_id}/transferConfigs/{config_id}`, + // where `config_id` is usually a UUID, even though it is not // guaranteed or required. The name is ignored when creating a transfer // config. string name = 1;