From 95f5a9cd2949bc8d382c704a3bc357b99a90364e Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Sat, 21 Nov 2020 09:10:03 +0000 Subject: [PATCH 01/13] chore: release 1.0.21-SNAPSHOT (#534) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- google-cloud-bigquerydatatransfer-bom/pom.xml | 8 ++++---- google-cloud-bigquerydatatransfer/pom.xml | 4 ++-- grpc-google-cloud-bigquerydatatransfer-v1/pom.xml | 4 ++-- pom.xml | 8 ++++---- proto-google-cloud-bigquerydatatransfer-v1/pom.xml | 4 ++-- samples/snapshot/pom.xml | 2 +- versions.txt | 6 +++--- 7 files changed, 18 insertions(+), 18 deletions(-) diff --git a/google-cloud-bigquerydatatransfer-bom/pom.xml b/google-cloud-bigquerydatatransfer-bom/pom.xml index cf0b6611..58c91c41 100644 --- a/google-cloud-bigquerydatatransfer-bom/pom.xml +++ b/google-cloud-bigquerydatatransfer-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-bigquerydatatransfer-bom - 1.0.20 + 1.0.21-SNAPSHOT pom com.google.cloud @@ -64,17 +64,17 @@ com.google.cloud google-cloud-bigquerydatatransfer - 1.0.20 + 1.0.21-SNAPSHOT com.google.api.grpc proto-google-cloud-bigquerydatatransfer-v1 - 1.0.20 + 1.0.21-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigquerydatatransfer-v1 - 1.0.20 + 1.0.21-SNAPSHOT diff --git a/google-cloud-bigquerydatatransfer/pom.xml b/google-cloud-bigquerydatatransfer/pom.xml index f54303a8..090d9c59 100644 --- a/google-cloud-bigquerydatatransfer/pom.xml +++ b/google-cloud-bigquerydatatransfer/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-bigquerydatatransfer - 1.0.20 + 1.0.21-SNAPSHOT jar BigQuery DataTransfer https://github.com/googleapis/java-bigquerydatatransfer @@ -11,7 +11,7 @@ com.google.cloud google-cloud-bigquerydatatransfer-parent - 1.0.20 + 1.0.21-SNAPSHOT google-cloud-bigquerydatatransfer diff --git a/grpc-google-cloud-bigquerydatatransfer-v1/pom.xml b/grpc-google-cloud-bigquerydatatransfer-v1/pom.xml index ba527f94..0f1b7806 100644 --- a/grpc-google-cloud-bigquerydatatransfer-v1/pom.xml +++ b/grpc-google-cloud-bigquerydatatransfer-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-bigquerydatatransfer-v1 - 1.0.20 + 1.0.21-SNAPSHOT grpc-google-cloud-bigquerydatatransfer-v1 GRPC library for grpc-google-cloud-bigquerydatatransfer-v1 com.google.cloud google-cloud-bigquerydatatransfer-parent - 1.0.20 + 1.0.21-SNAPSHOT diff --git a/pom.xml b/pom.xml index bb682cdd..e0d2d6c0 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-bigquerydatatransfer-parent pom - 1.0.20 + 1.0.21-SNAPSHOT BigQuery DataTransfer Parent https://github.com/googleapis/java-bigquerydatatransfer @@ -77,17 +77,17 @@ com.google.api.grpc proto-google-cloud-bigquerydatatransfer-v1 - 1.0.20 + 1.0.21-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigquerydatatransfer-v1 - 1.0.20 + 1.0.21-SNAPSHOT com.google.cloud google-cloud-bigquerydatatransfer - 1.0.20 + 1.0.21-SNAPSHOT diff --git a/proto-google-cloud-bigquerydatatransfer-v1/pom.xml b/proto-google-cloud-bigquerydatatransfer-v1/pom.xml index b0fea5c1..342b6311 100644 --- a/proto-google-cloud-bigquerydatatransfer-v1/pom.xml +++ b/proto-google-cloud-bigquerydatatransfer-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-bigquerydatatransfer-v1 - 1.0.20 + 1.0.21-SNAPSHOT proto-google-cloud-bigquerydatatransfer-v1 PROTO library for proto-google-cloud-bigquerydatatransfer-v1 com.google.cloud google-cloud-bigquerydatatransfer-parent - 1.0.20 + 1.0.21-SNAPSHOT diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index cd298588..5e74fe50 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-bigquerydatatransfer - 1.0.20 + 1.0.21-SNAPSHOT diff --git a/versions.txt b/versions.txt index 708867c0..30c17210 100644 --- a/versions.txt +++ b/versions.txt @@ -1,6 +1,6 @@ # Format: # module:released-version:current-version -proto-google-cloud-bigquerydatatransfer-v1:1.0.20:1.0.20 -grpc-google-cloud-bigquerydatatransfer-v1:1.0.20:1.0.20 -google-cloud-bigquerydatatransfer:1.0.20:1.0.20 +proto-google-cloud-bigquerydatatransfer-v1:1.0.20:1.0.21-SNAPSHOT +grpc-google-cloud-bigquerydatatransfer-v1:1.0.20:1.0.21-SNAPSHOT +google-cloud-bigquerydatatransfer:1.0.20:1.0.21-SNAPSHOT From a245c786966609d93e8a15e1194a51394f3774d7 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Sat, 21 Nov 2020 01:18:02 -0800 Subject: [PATCH 02/13] chore: regenerate README (#535) This PR was generated using Autosynth. :rainbow:
Log from Synthtool ``` 2020-11-21 09:12:06,254 synthtool [DEBUG] > Executing /root/.cache/synthtool/java-bigquerydatatransfer/.github/readme/synth.py. On branch autosynth-readme nothing to commit, working directory clean 2020-11-21 09:12:07,170 synthtool [DEBUG] > Wrote metadata to .github/readme/synth.metadata/synth.metadata. ```
Full log will be available here: https://source.cloud.google.com/results/invocations/2d912724-0a3b-402b-884a-978e52c36e52/targets - [ ] To automatically regenerate this PR, check this box. --- .github/readme/synth.metadata/synth.metadata | 4 ++-- README.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/readme/synth.metadata/synth.metadata b/.github/readme/synth.metadata/synth.metadata index 5331d02d..ee6c5644 100644 --- a/.github/readme/synth.metadata/synth.metadata +++ b/.github/readme/synth.metadata/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-bigquerydatatransfer.git", - "sha": "caac326028df9ff51e3f68c4159e2fff5828c6cd" + "sha": "95f5a9cd2949bc8d382c704a3bc357b99a90364e" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "68742c6016bf0d16948a572633d17955a8737414" + "sha": "91b34d7ffc37581e03eec8b16d08b84e46b82bbe" } } ] diff --git a/README.md b/README.md index fde90f06..caf9ac65 100644 --- a/README.md +++ b/README.md @@ -45,11 +45,11 @@ If you are using Maven without BOM, add this to your dependencies: If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-bigquerydatatransfer:1.0.19' +compile 'com.google.cloud:google-cloud-bigquerydatatransfer:1.0.20' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bigquerydatatransfer" % "1.0.19" +libraryDependencies += "com.google.cloud" % "google-cloud-bigquerydatatransfer" % "1.0.20" ``` ## Authentication From 52dc122f472b530f8702cc74f84c2224939e6a4e Mon Sep 17 00:00:00 2001 From: Praful Makani Date: Mon, 23 Nov 2020 23:04:30 +0530 Subject: [PATCH 03/13] docs(samples): create play transfer (#536) --- .../CreatePlayTransfer.java | 70 +++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 samples/snippets/src/main/java/com/example/bigquerydatatransfer/CreatePlayTransfer.java diff --git a/samples/snippets/src/main/java/com/example/bigquerydatatransfer/CreatePlayTransfer.java b/samples/snippets/src/main/java/com/example/bigquerydatatransfer/CreatePlayTransfer.java new file mode 100644 index 00000000..d0d15812 --- /dev/null +++ b/samples/snippets/src/main/java/com/example/bigquerydatatransfer/CreatePlayTransfer.java @@ -0,0 +1,70 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.example.bigquerydatatransfer; + +// [START bigquerydatatransfer_create_play_transfer] +import com.google.api.gax.rpc.ApiException; +import com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest; +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; +import com.google.cloud.bigquery.datatransfer.v1.ProjectName; +import com.google.cloud.bigquery.datatransfer.v1.TransferConfig; +import com.google.protobuf.Struct; +import com.google.protobuf.Value; +import java.io.IOException; +import java.util.HashMap; +import java.util.Map; + +// Sample to create a play transfer config. +public class CreatePlayTransfer { + + public static void main(String[] args) throws IOException { + // TODO(developer): Replace these variables before running the sample. + final String projectId = "MY_PROJECT_ID"; + String datasetId = "MY_DATASET_ID"; + String bucket = "gs://cloud-sample-data"; + String tableSuffix = "_test"; + Map params = new HashMap<>(); + params.put("bucket", Value.newBuilder().setStringValue(bucket).build()); + params.put("table_suffix", Value.newBuilder().setStringValue(tableSuffix).build()); + TransferConfig transferConfig = + TransferConfig.newBuilder() + .setDestinationDatasetId(datasetId) + .setDisplayName("Your Play Config Name") + .setDataSourceId("play") + .setParams(Struct.newBuilder().putAllFields(params).build()) + .setSchedule("every 24 hours") + .build(); + createPlayTransfer(projectId, transferConfig); + } + + public static void createPlayTransfer(String projectId, TransferConfig transferConfig) + throws IOException { + try (DataTransferServiceClient client = DataTransferServiceClient.create()) { + ProjectName parent = ProjectName.of(projectId); + CreateTransferConfigRequest request = + CreateTransferConfigRequest.newBuilder() + .setParent(parent.toString()) + .setTransferConfig(transferConfig) + .build(); + TransferConfig config = client.createTransferConfig(request); + System.out.println("play transfer created successfully :" + config.getName()); + } catch (ApiException ex) { + System.out.print("play transfer was not created." + ex.toString()); + } + } +} +// [END bigquerydatatransfer_create_play_transfer] From fddd0a9acddfbc309f949db247f7279a280fb53d Mon Sep 17 00:00:00 2001 From: Praful Makani Date: Mon, 23 Nov 2020 23:04:49 +0530 Subject: [PATCH 04/13] docs(samples): add create youtube channel transfer config (#537) --- .../CreateYoutubeChannelTransfer.java | 68 +++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 samples/snippets/src/main/java/com/example/bigquerydatatransfer/CreateYoutubeChannelTransfer.java diff --git a/samples/snippets/src/main/java/com/example/bigquerydatatransfer/CreateYoutubeChannelTransfer.java b/samples/snippets/src/main/java/com/example/bigquerydatatransfer/CreateYoutubeChannelTransfer.java new file mode 100644 index 00000000..3a62a0f3 --- /dev/null +++ b/samples/snippets/src/main/java/com/example/bigquerydatatransfer/CreateYoutubeChannelTransfer.java @@ -0,0 +1,68 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.example.bigquerydatatransfer; + +// [START bigquerydatatransfer_create_youtubechannel_transfer] +import com.google.api.gax.rpc.ApiException; +import com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest; +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; +import com.google.cloud.bigquery.datatransfer.v1.ProjectName; +import com.google.cloud.bigquery.datatransfer.v1.TransferConfig; +import com.google.protobuf.Struct; +import com.google.protobuf.Value; +import java.io.IOException; +import java.util.HashMap; +import java.util.Map; + +// Sample to create youtube channel transfer config. +public class CreateYoutubeChannelTransfer { + + public static void main(String[] args) throws IOException { + // TODO(developer): Replace these variables before running the sample. + final String projectId = "MY_PROJECT_ID"; + String datasetId = "MY_DATASET_ID"; + String tableSuffix = "_test"; + Map params = new HashMap<>(); + params.put("table_suffix", Value.newBuilder().setStringValue(tableSuffix).build()); + TransferConfig transferConfig = + TransferConfig.newBuilder() + .setDestinationDatasetId(datasetId) + .setDisplayName("Your Youtube Channel Config Name") + .setDataSourceId("youtube_channel") + .setParams(Struct.newBuilder().putAllFields(params).build()) + .setSchedule("every 24 hours") + .build(); + createYoutubeChannelTransfer(projectId, transferConfig); + } + + public static void createYoutubeChannelTransfer(String projectId, TransferConfig transferConfig) + throws IOException { + try (DataTransferServiceClient client = DataTransferServiceClient.create()) { + ProjectName parent = ProjectName.of(projectId); + CreateTransferConfigRequest request = + CreateTransferConfigRequest.newBuilder() + .setParent(parent.toString()) + .setTransferConfig(transferConfig) + .build(); + TransferConfig config = client.createTransferConfig(request); + System.out.println("Youtube channel transfer created successfully :" + config.getName()); + } catch (ApiException ex) { + System.out.print("Youtube channel transfer was not created." + ex.toString()); + } + } +} +// [END bigquerydatatransfer_create_youtubechannel_transfer] From 29ed302e86f3deb7f21112ff34afcbcbf1ba2e91 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 23 Nov 2020 18:35:07 +0100 Subject: [PATCH 05/13] chore(deps): update dependency com.google.cloud:google-cloud-bigquerydatatransfer to v1.0.20 (#533) --- samples/install-without-bom/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index 71a8d4ae..99760cba 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-bigquerydatatransfer - 1.0.19 + 1.0.20 From 18e069fd0dc437ba5254a6b412bad91bfc9b7a5f Mon Sep 17 00:00:00 2001 From: Praful Makani Date: Mon, 23 Nov 2020 23:05:39 +0530 Subject: [PATCH 06/13] docs(samples): add create youtube owner channel transfer config (#538) --- .../CreateYoutubeContentOwnerTransfer.java | 71 +++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 samples/snippets/src/main/java/com/example/bigquerydatatransfer/CreateYoutubeContentOwnerTransfer.java diff --git a/samples/snippets/src/main/java/com/example/bigquerydatatransfer/CreateYoutubeContentOwnerTransfer.java b/samples/snippets/src/main/java/com/example/bigquerydatatransfer/CreateYoutubeContentOwnerTransfer.java new file mode 100644 index 00000000..6d2ee2e0 --- /dev/null +++ b/samples/snippets/src/main/java/com/example/bigquerydatatransfer/CreateYoutubeContentOwnerTransfer.java @@ -0,0 +1,71 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.example.bigquerydatatransfer; + +// [START bigquerydatatransfer_create_youtubecontentowner_transfer] +import com.google.api.gax.rpc.ApiException; +import com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest; +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; +import com.google.cloud.bigquery.datatransfer.v1.ProjectName; +import com.google.cloud.bigquery.datatransfer.v1.TransferConfig; +import com.google.protobuf.Struct; +import com.google.protobuf.Value; +import java.io.IOException; +import java.util.HashMap; +import java.util.Map; + +// Sample to create youtube content owner channel transfer config +public class CreateYoutubeContentOwnerTransfer { + + public static void main(String[] args) throws IOException { + // TODO(developer): Replace these variables before running the sample. + final String projectId = "MY_PROJECT_ID"; + String datasetId = "MY_DATASET_ID"; + String contentOwnerId = "MY_CONTENT_OWNER_ID"; + String tableSuffix = "_test"; + Map params = new HashMap<>(); + params.put("content_owner_id", Value.newBuilder().setStringValue(contentOwnerId).build()); + params.put("table_suffix", Value.newBuilder().setStringValue(tableSuffix).build()); + TransferConfig transferConfig = + TransferConfig.newBuilder() + .setDestinationDatasetId(datasetId) + .setDisplayName("Your Youtube Owner Channel Config Name") + .setDataSourceId("youtube_content_owner") + .setParams(Struct.newBuilder().putAllFields(params).build()) + .setSchedule("every 24 hours") + .build(); + createYoutubeContentOwnerTransfer(projectId, transferConfig); + } + + public static void createYoutubeContentOwnerTransfer( + String projectId, TransferConfig transferConfig) throws IOException { + try (DataTransferServiceClient client = DataTransferServiceClient.create()) { + ProjectName parent = ProjectName.of(projectId); + CreateTransferConfigRequest request = + CreateTransferConfigRequest.newBuilder() + .setParent(parent.toString()) + .setTransferConfig(transferConfig) + .build(); + TransferConfig config = client.createTransferConfig(request); + System.out.println( + "Youtube content owner channel transfer created successfully :" + config.getName()); + } catch (ApiException ex) { + System.out.print("Youtube content owner channel transfer was not created." + ex.toString()); + } + } +} +// [END bigquerydatatransfer_create_youtubecontentowner_transfer] From c1d4e4729513693bc05d3ea77b8cc63df0dbc22e Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 23 Nov 2020 09:42:03 -0800 Subject: [PATCH 07/13] chore: regenerate README (#540) This PR was generated using Autosynth. :rainbow:
Log from Synthtool ``` 2020-11-23 17:36:37,569 synthtool [DEBUG] > Executing /root/.cache/synthtool/java-bigquerydatatransfer/.github/readme/synth.py. On branch autosynth-readme nothing to commit, working directory clean 2020-11-23 17:36:38,484 synthtool [DEBUG] > Wrote metadata to .github/readme/synth.metadata/synth.metadata. ```
Full log will be available here: https://source.cloud.google.com/results/invocations/fc5ccbd4-e1f3-4d8b-a895-1ea2620ab8e1/targets - [ ] To automatically regenerate this PR, check this box. --- .github/readme/synth.metadata/synth.metadata | 2 +- README.md | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/readme/synth.metadata/synth.metadata b/.github/readme/synth.metadata/synth.metadata index ee6c5644..e4b80df8 100644 --- a/.github/readme/synth.metadata/synth.metadata +++ b/.github/readme/synth.metadata/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-bigquerydatatransfer.git", - "sha": "95f5a9cd2949bc8d382c704a3bc357b99a90364e" + "sha": "18e069fd0dc437ba5254a6b412bad91bfc9b7a5f" } }, { diff --git a/README.md b/README.md index caf9ac65..331a1fda 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ If you are using Maven without BOM, add this to your dependencies: com.google.cloud google-cloud-bigquerydatatransfer - 1.0.19 + 1.0.20 ``` @@ -96,10 +96,13 @@ has instructions for running the samples. | Create Amazon S3 Transfer | [source code](https://github.com/googleapis/java-bigquerydatatransfer/blob/master/samples/snippets/src/main/java/com/example/bigquerydatatransfer/CreateAmazonS3Transfer.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-bigquerydatatransfer&page=editor&open_in_editor=samples/snippets/src/main/java/com/example/bigquerydatatransfer/CreateAmazonS3Transfer.java) | | Create Campaignmanager Transfer | [source code](https://github.com/googleapis/java-bigquerydatatransfer/blob/master/samples/snippets/src/main/java/com/example/bigquerydatatransfer/CreateCampaignmanagerTransfer.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-bigquerydatatransfer&page=editor&open_in_editor=samples/snippets/src/main/java/com/example/bigquerydatatransfer/CreateCampaignmanagerTransfer.java) | | Create Cloud Storage Transfer | [source code](https://github.com/googleapis/java-bigquerydatatransfer/blob/master/samples/snippets/src/main/java/com/example/bigquerydatatransfer/CreateCloudStorageTransfer.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-bigquerydatatransfer&page=editor&open_in_editor=samples/snippets/src/main/java/com/example/bigquerydatatransfer/CreateCloudStorageTransfer.java) | +| Create Play Transfer | [source code](https://github.com/googleapis/java-bigquerydatatransfer/blob/master/samples/snippets/src/main/java/com/example/bigquerydatatransfer/CreatePlayTransfer.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-bigquerydatatransfer&page=editor&open_in_editor=samples/snippets/src/main/java/com/example/bigquerydatatransfer/CreatePlayTransfer.java) | | Create Redshift Transfer | [source code](https://github.com/googleapis/java-bigquerydatatransfer/blob/master/samples/snippets/src/main/java/com/example/bigquerydatatransfer/CreateRedshiftTransfer.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-bigquerydatatransfer&page=editor&open_in_editor=samples/snippets/src/main/java/com/example/bigquerydatatransfer/CreateRedshiftTransfer.java) | | Create Scheduled Query | [source code](https://github.com/googleapis/java-bigquerydatatransfer/blob/master/samples/snippets/src/main/java/com/example/bigquerydatatransfer/CreateScheduledQuery.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-bigquerydatatransfer&page=editor&open_in_editor=samples/snippets/src/main/java/com/example/bigquerydatatransfer/CreateScheduledQuery.java) | | Create Scheduled Query With Service Account | [source code](https://github.com/googleapis/java-bigquerydatatransfer/blob/master/samples/snippets/src/main/java/com/example/bigquerydatatransfer/CreateScheduledQueryWithServiceAccount.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-bigquerydatatransfer&page=editor&open_in_editor=samples/snippets/src/main/java/com/example/bigquerydatatransfer/CreateScheduledQueryWithServiceAccount.java) | | Create Teradata Transfer | [source code](https://github.com/googleapis/java-bigquerydatatransfer/blob/master/samples/snippets/src/main/java/com/example/bigquerydatatransfer/CreateTeradataTransfer.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-bigquerydatatransfer&page=editor&open_in_editor=samples/snippets/src/main/java/com/example/bigquerydatatransfer/CreateTeradataTransfer.java) | +| Create Youtube Channel Transfer | [source code](https://github.com/googleapis/java-bigquerydatatransfer/blob/master/samples/snippets/src/main/java/com/example/bigquerydatatransfer/CreateYoutubeChannelTransfer.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-bigquerydatatransfer&page=editor&open_in_editor=samples/snippets/src/main/java/com/example/bigquerydatatransfer/CreateYoutubeChannelTransfer.java) | +| Create Youtube Content Owner Transfer | [source code](https://github.com/googleapis/java-bigquerydatatransfer/blob/master/samples/snippets/src/main/java/com/example/bigquerydatatransfer/CreateYoutubeContentOwnerTransfer.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-bigquerydatatransfer&page=editor&open_in_editor=samples/snippets/src/main/java/com/example/bigquerydatatransfer/CreateYoutubeContentOwnerTransfer.java) | | Delete Scheduled Query | [source code](https://github.com/googleapis/java-bigquerydatatransfer/blob/master/samples/snippets/src/main/java/com/example/bigquerydatatransfer/DeleteScheduledQuery.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-bigquerydatatransfer&page=editor&open_in_editor=samples/snippets/src/main/java/com/example/bigquerydatatransfer/DeleteScheduledQuery.java) | | Delete Transfer Config | [source code](https://github.com/googleapis/java-bigquerydatatransfer/blob/master/samples/snippets/src/main/java/com/example/bigquerydatatransfer/DeleteTransferConfig.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-bigquerydatatransfer&page=editor&open_in_editor=samples/snippets/src/main/java/com/example/bigquerydatatransfer/DeleteTransferConfig.java) | | Disable Transfer Config | [source code](https://github.com/googleapis/java-bigquerydatatransfer/blob/master/samples/snippets/src/main/java/com/example/bigquerydatatransfer/DisableTransferConfig.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-bigquerydatatransfer&page=editor&open_in_editor=samples/snippets/src/main/java/com/example/bigquerydatatransfer/DisableTransferConfig.java) | From 10ca24cea52ba52f7e3f22282eb0014b1300fe98 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 24 Nov 2020 13:43:30 -0800 Subject: [PATCH 08/13] build(java): enable blunderbuss for samples Source-Author: Jeff Ching Source-Date: Mon Nov 23 10:23:01 2020 -0800 Source-Repo: googleapis/synthtool Source-Sha: 943bb78606d035001123030067dffcc34f4645f2 Source-Link: https://github.com/googleapis/synthtool/commit/943bb78606d035001123030067dffcc34f4645f2 --- .github/blunderbuss.yml | 7 +++++++ synth.metadata | 5 +++-- 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 .github/blunderbuss.yml diff --git a/.github/blunderbuss.yml b/.github/blunderbuss.yml new file mode 100644 index 00000000..1a23ea42 --- /dev/null +++ b/.github/blunderbuss.yml @@ -0,0 +1,7 @@ +# Configuration for the Blunderbuss GitHub app. For more info see +# https://github.com/googleapis/repo-automation-bots/tree/master/packages/blunderbuss +assign_prs_by: +- labels: + - samples + to: + - googleapis/java-samples-reviewers \ No newline at end of file diff --git a/synth.metadata b/synth.metadata index 678b9bab..7920d9f4 100644 --- a/synth.metadata +++ b/synth.metadata @@ -11,7 +11,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-bigquerydatatransfer.git", - "sha": "5a7e2a6cb9e9e3b8f961e2bad3df01ca5e55d8a0" + "sha": "c1d4e4729513693bc05d3ea77b8cc63df0dbc22e" } }, { @@ -26,7 +26,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "68742c6016bf0d16948a572633d17955a8737414" + "sha": "943bb78606d035001123030067dffcc34f4645f2" } } ], @@ -47,6 +47,7 @@ ".github/ISSUE_TEMPLATE/feature_request.md", ".github/ISSUE_TEMPLATE/support_request.md", ".github/PULL_REQUEST_TEMPLATE.md", + ".github/blunderbuss.yml", ".github/generated-files-bot.yml", ".github/readme/synth.py", ".github/release-please.yml", From 69a2965be3dd1a8f31f6813263c305155cf244d8 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 30 Nov 2020 11:16:03 -0800 Subject: [PATCH 09/13] chore: Remove spurious build warnings by deleting--include_source_info from .bazelrc (#542) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/4ac6f522-f617-42e9-8e8a-e14fc4dcc648/targets - [ ] To automatically regenerate this PR, check this box. PiperOrigin-RevId: 344134135 Source-Link: https://github.com/googleapis/googleapis/commit/b11a87f3b54be3a5e42c15020ee1e0781f86da90 --- .../v1/DataTransferServiceGrpc.java | 567 ++---------------- synth.metadata | 6 +- 2 files changed, 64 insertions(+), 509 deletions(-) diff --git a/grpc-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceGrpc.java b/grpc-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceGrpc.java index e89834f0..fff762cd 100644 --- a/grpc-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceGrpc.java +++ b/grpc-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceGrpc.java @@ -22,16 +22,7 @@ import static io.grpc.stub.ServerCalls.asyncUnaryCall; import static io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall; -/** - * - * - *
- * The Google BigQuery Data Transfer Service API enables BigQuery users to
- * configure the transfer of their data from other Google Products into
- * BigQuery. This service contains methods that are end user exposed. It backs
- * up the frontend.
- * 
- */ +/** */ @javax.annotation.Generated( value = "by gRPC proto compiler", comments = "Source: google/cloud/bigquery/datatransfer/v1/datatransfer.proto") @@ -766,26 +757,10 @@ public DataTransferServiceFutureStub newStub( return DataTransferServiceFutureStub.newStub(factory, channel); } - /** - * - * - *
-   * The Google BigQuery Data Transfer Service API enables BigQuery users to
-   * configure the transfer of their data from other Google Products into
-   * BigQuery. This service contains methods that are end user exposed. It backs
-   * up the frontend.
-   * 
- */ + /** */ public abstract static class DataTransferServiceImplBase implements io.grpc.BindableService { - /** - * - * - *
-     * Retrieves a supported data source and returns its settings,
-     * which can be used for UI rendering.
-     * 
- */ + /** */ public void getDataSource( com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest request, io.grpc.stub.StreamObserver @@ -793,14 +768,7 @@ public void getDataSource( asyncUnimplementedUnaryCall(getGetDataSourceMethod(), responseObserver); } - /** - * - * - *
-     * Lists supported data sources and returns their settings,
-     * which can be used for UI rendering.
-     * 
- */ + /** */ public void listDataSources( com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest request, io.grpc.stub.StreamObserver< @@ -809,13 +777,7 @@ public void listDataSources( asyncUnimplementedUnaryCall(getListDataSourcesMethod(), responseObserver); } - /** - * - * - *
-     * Creates a new data transfer configuration.
-     * 
- */ + /** */ public void createTransferConfig( com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest request, io.grpc.stub.StreamObserver @@ -823,14 +785,7 @@ public void createTransferConfig( asyncUnimplementedUnaryCall(getCreateTransferConfigMethod(), responseObserver); } - /** - * - * - *
-     * Updates a data transfer configuration.
-     * All fields must be set, even if they are not updated.
-     * 
- */ + /** */ public void updateTransferConfig( com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest request, io.grpc.stub.StreamObserver @@ -838,27 +793,14 @@ public void updateTransferConfig( asyncUnimplementedUnaryCall(getUpdateTransferConfigMethod(), responseObserver); } - /** - * - * - *
-     * Deletes a data transfer configuration,
-     * including any associated transfer runs and logs.
-     * 
- */ + /** */ public void deleteTransferConfig( com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getDeleteTransferConfigMethod(), responseObserver); } - /** - * - * - *
-     * Returns information about a data transfer config.
-     * 
- */ + /** */ public void getTransferConfig( com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest request, io.grpc.stub.StreamObserver @@ -866,13 +808,7 @@ public void getTransferConfig( asyncUnimplementedUnaryCall(getGetTransferConfigMethod(), responseObserver); } - /** - * - * - *
-     * Returns information about all data transfers in the project.
-     * 
- */ + /** */ public void listTransferConfigs( com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest request, io.grpc.stub.StreamObserver< @@ -881,17 +817,7 @@ public void listTransferConfigs( asyncUnimplementedUnaryCall(getListTransferConfigsMethod(), responseObserver); } - /** - * - * - *
-     * Creates transfer runs for a time range [start_time, end_time].
-     * For each date - or whatever granularity the data source supports - in the
-     * range, one transfer run is created.
-     * Note that runs are created per UTC time in the time range.
-     * DEPRECATED: use StartManualTransferRuns instead.
-     * 
- */ + /** */ @java.lang.Deprecated public void scheduleTransferRuns( com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest request, @@ -901,16 +827,7 @@ public void scheduleTransferRuns( asyncUnimplementedUnaryCall(getScheduleTransferRunsMethod(), responseObserver); } - /** - * - * - *
-     * Start manual transfer runs to be executed now with schedule_time equal to
-     * current time. The transfer runs can be created for a time range where the
-     * run_time is between start_time (inclusive) and end_time (exclusive), or for
-     * a specific run_time.
-     * 
- */ + /** */ public void startManualTransferRuns( com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest request, io.grpc.stub.StreamObserver< @@ -919,13 +836,7 @@ public void startManualTransferRuns( asyncUnimplementedUnaryCall(getStartManualTransferRunsMethod(), responseObserver); } - /** - * - * - *
-     * Returns information about the particular transfer run.
-     * 
- */ + /** */ public void getTransferRun( com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest request, io.grpc.stub.StreamObserver @@ -933,26 +844,14 @@ public void getTransferRun( asyncUnimplementedUnaryCall(getGetTransferRunMethod(), responseObserver); } - /** - * - * - *
-     * Deletes the specified transfer run.
-     * 
- */ + /** */ public void deleteTransferRun( com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getDeleteTransferRunMethod(), responseObserver); } - /** - * - * - *
-     * Returns information about running and completed jobs.
-     * 
- */ + /** */ public void listTransferRuns( com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest request, io.grpc.stub.StreamObserver< @@ -961,13 +860,7 @@ public void listTransferRuns( asyncUnimplementedUnaryCall(getListTransferRunsMethod(), responseObserver); } - /** - * - * - *
-     * Returns user facing log messages for the data transfer run.
-     * 
- */ + /** */ public void listTransferLogs( com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest request, io.grpc.stub.StreamObserver< @@ -976,18 +869,7 @@ public void listTransferLogs( asyncUnimplementedUnaryCall(getListTransferLogsMethod(), responseObserver); } - /** - * - * - *
-     * Returns true if valid credentials exist for the given data source and
-     * requesting user.
-     * Some data sources doesn't support service account, so we need to talk to
-     * them on behalf of the end user. This API just checks whether we have OAuth
-     * token for the particular user, which is a pre-requisite before user can
-     * create a transfer config.
-     * 
- */ + /** */ public void checkValidCreds( com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest request, io.grpc.stub.StreamObserver< @@ -1099,16 +981,7 @@ public final io.grpc.ServerServiceDefinition bindService() { } } - /** - * - * - *
-   * The Google BigQuery Data Transfer Service API enables BigQuery users to
-   * configure the transfer of their data from other Google Products into
-   * BigQuery. This service contains methods that are end user exposed. It backs
-   * up the frontend.
-   * 
- */ + /** */ public static final class DataTransferServiceStub extends io.grpc.stub.AbstractAsyncStub { private DataTransferServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { @@ -1121,14 +994,7 @@ protected DataTransferServiceStub build( return new DataTransferServiceStub(channel, callOptions); } - /** - * - * - *
-     * Retrieves a supported data source and returns its settings,
-     * which can be used for UI rendering.
-     * 
- */ + /** */ public void getDataSource( com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest request, io.grpc.stub.StreamObserver @@ -1139,14 +1005,7 @@ public void getDataSource( responseObserver); } - /** - * - * - *
-     * Lists supported data sources and returns their settings,
-     * which can be used for UI rendering.
-     * 
- */ + /** */ public void listDataSources( com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest request, io.grpc.stub.StreamObserver< @@ -1158,13 +1017,7 @@ public void listDataSources( responseObserver); } - /** - * - * - *
-     * Creates a new data transfer configuration.
-     * 
- */ + /** */ public void createTransferConfig( com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest request, io.grpc.stub.StreamObserver @@ -1175,14 +1028,7 @@ public void createTransferConfig( responseObserver); } - /** - * - * - *
-     * Updates a data transfer configuration.
-     * All fields must be set, even if they are not updated.
-     * 
- */ + /** */ public void updateTransferConfig( com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest request, io.grpc.stub.StreamObserver @@ -1193,14 +1039,7 @@ public void updateTransferConfig( responseObserver); } - /** - * - * - *
-     * Deletes a data transfer configuration,
-     * including any associated transfer runs and logs.
-     * 
- */ + /** */ public void deleteTransferConfig( com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest request, io.grpc.stub.StreamObserver responseObserver) { @@ -1210,13 +1049,7 @@ public void deleteTransferConfig( responseObserver); } - /** - * - * - *
-     * Returns information about a data transfer config.
-     * 
- */ + /** */ public void getTransferConfig( com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest request, io.grpc.stub.StreamObserver @@ -1227,13 +1060,7 @@ public void getTransferConfig( responseObserver); } - /** - * - * - *
-     * Returns information about all data transfers in the project.
-     * 
- */ + /** */ public void listTransferConfigs( com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest request, io.grpc.stub.StreamObserver< @@ -1245,17 +1072,7 @@ public void listTransferConfigs( responseObserver); } - /** - * - * - *
-     * Creates transfer runs for a time range [start_time, end_time].
-     * For each date - or whatever granularity the data source supports - in the
-     * range, one transfer run is created.
-     * Note that runs are created per UTC time in the time range.
-     * DEPRECATED: use StartManualTransferRuns instead.
-     * 
- */ + /** */ @java.lang.Deprecated public void scheduleTransferRuns( com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest request, @@ -1268,16 +1085,7 @@ public void scheduleTransferRuns( responseObserver); } - /** - * - * - *
-     * Start manual transfer runs to be executed now with schedule_time equal to
-     * current time. The transfer runs can be created for a time range where the
-     * run_time is between start_time (inclusive) and end_time (exclusive), or for
-     * a specific run_time.
-     * 
- */ + /** */ public void startManualTransferRuns( com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest request, io.grpc.stub.StreamObserver< @@ -1289,13 +1097,7 @@ public void startManualTransferRuns( responseObserver); } - /** - * - * - *
-     * Returns information about the particular transfer run.
-     * 
- */ + /** */ public void getTransferRun( com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest request, io.grpc.stub.StreamObserver @@ -1306,13 +1108,7 @@ public void getTransferRun( responseObserver); } - /** - * - * - *
-     * Deletes the specified transfer run.
-     * 
- */ + /** */ public void deleteTransferRun( com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest request, io.grpc.stub.StreamObserver responseObserver) { @@ -1322,13 +1118,7 @@ public void deleteTransferRun( responseObserver); } - /** - * - * - *
-     * Returns information about running and completed jobs.
-     * 
- */ + /** */ public void listTransferRuns( com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest request, io.grpc.stub.StreamObserver< @@ -1340,13 +1130,7 @@ public void listTransferRuns( responseObserver); } - /** - * - * - *
-     * Returns user facing log messages for the data transfer run.
-     * 
- */ + /** */ public void listTransferLogs( com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest request, io.grpc.stub.StreamObserver< @@ -1358,18 +1142,7 @@ public void listTransferLogs( responseObserver); } - /** - * - * - *
-     * Returns true if valid credentials exist for the given data source and
-     * requesting user.
-     * Some data sources doesn't support service account, so we need to talk to
-     * them on behalf of the end user. This API just checks whether we have OAuth
-     * token for the particular user, which is a pre-requisite before user can
-     * create a transfer config.
-     * 
- */ + /** */ public void checkValidCreds( com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest request, io.grpc.stub.StreamObserver< @@ -1382,16 +1155,7 @@ public void checkValidCreds( } } - /** - * - * - *
-   * The Google BigQuery Data Transfer Service API enables BigQuery users to
-   * configure the transfer of their data from other Google Products into
-   * BigQuery. This service contains methods that are end user exposed. It backs
-   * up the frontend.
-   * 
- */ + /** */ public static final class DataTransferServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { private DataTransferServiceBlockingStub( @@ -1405,93 +1169,47 @@ protected DataTransferServiceBlockingStub build( return new DataTransferServiceBlockingStub(channel, callOptions); } - /** - * - * - *
-     * Retrieves a supported data source and returns its settings,
-     * which can be used for UI rendering.
-     * 
- */ + /** */ public com.google.cloud.bigquery.datatransfer.v1.DataSource getDataSource( com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest request) { return blockingUnaryCall(getChannel(), getGetDataSourceMethod(), getCallOptions(), request); } - /** - * - * - *
-     * Lists supported data sources and returns their settings,
-     * which can be used for UI rendering.
-     * 
- */ + /** */ public com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse listDataSources( com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest request) { return blockingUnaryCall(getChannel(), getListDataSourcesMethod(), getCallOptions(), request); } - /** - * - * - *
-     * Creates a new data transfer configuration.
-     * 
- */ + /** */ public com.google.cloud.bigquery.datatransfer.v1.TransferConfig createTransferConfig( com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest request) { return blockingUnaryCall( getChannel(), getCreateTransferConfigMethod(), getCallOptions(), request); } - /** - * - * - *
-     * Updates a data transfer configuration.
-     * All fields must be set, even if they are not updated.
-     * 
- */ + /** */ public com.google.cloud.bigquery.datatransfer.v1.TransferConfig updateTransferConfig( com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest request) { return blockingUnaryCall( getChannel(), getUpdateTransferConfigMethod(), getCallOptions(), request); } - /** - * - * - *
-     * Deletes a data transfer configuration,
-     * including any associated transfer runs and logs.
-     * 
- */ + /** */ public com.google.protobuf.Empty deleteTransferConfig( com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest request) { return blockingUnaryCall( getChannel(), getDeleteTransferConfigMethod(), getCallOptions(), request); } - /** - * - * - *
-     * Returns information about a data transfer config.
-     * 
- */ + /** */ public com.google.cloud.bigquery.datatransfer.v1.TransferConfig getTransferConfig( com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest request) { return blockingUnaryCall( getChannel(), getGetTransferConfigMethod(), getCallOptions(), request); } - /** - * - * - *
-     * Returns information about all data transfers in the project.
-     * 
- */ + /** */ public com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse listTransferConfigs( com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest request) { @@ -1499,17 +1217,7 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferConfig getTransferConfi getChannel(), getListTransferConfigsMethod(), getCallOptions(), request); } - /** - * - * - *
-     * Creates transfer runs for a time range [start_time, end_time].
-     * For each date - or whatever granularity the data source supports - in the
-     * range, one transfer run is created.
-     * Note that runs are created per UTC time in the time range.
-     * DEPRECATED: use StartManualTransferRuns instead.
-     * 
- */ + /** */ @java.lang.Deprecated public com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse scheduleTransferRuns( @@ -1518,16 +1226,7 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferConfig getTransferConfi getChannel(), getScheduleTransferRunsMethod(), getCallOptions(), request); } - /** - * - * - *
-     * Start manual transfer runs to be executed now with schedule_time equal to
-     * current time. The transfer runs can be created for a time range where the
-     * run_time is between start_time (inclusive) and end_time (exclusive), or for
-     * a specific run_time.
-     * 
- */ + /** */ public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse startManualTransferRuns( com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest request) { @@ -1535,85 +1234,41 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferConfig getTransferConfi getChannel(), getStartManualTransferRunsMethod(), getCallOptions(), request); } - /** - * - * - *
-     * Returns information about the particular transfer run.
-     * 
- */ + /** */ public com.google.cloud.bigquery.datatransfer.v1.TransferRun getTransferRun( com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest request) { return blockingUnaryCall(getChannel(), getGetTransferRunMethod(), getCallOptions(), request); } - /** - * - * - *
-     * Deletes the specified transfer run.
-     * 
- */ + /** */ public com.google.protobuf.Empty deleteTransferRun( com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest request) { return blockingUnaryCall( getChannel(), getDeleteTransferRunMethod(), getCallOptions(), request); } - /** - * - * - *
-     * Returns information about running and completed jobs.
-     * 
- */ + /** */ public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse listTransferRuns( com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest request) { return blockingUnaryCall( getChannel(), getListTransferRunsMethod(), getCallOptions(), request); } - /** - * - * - *
-     * Returns user facing log messages for the data transfer run.
-     * 
- */ + /** */ public com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse listTransferLogs( com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest request) { return blockingUnaryCall( getChannel(), getListTransferLogsMethod(), getCallOptions(), request); } - /** - * - * - *
-     * Returns true if valid credentials exist for the given data source and
-     * requesting user.
-     * Some data sources doesn't support service account, so we need to talk to
-     * them on behalf of the end user. This API just checks whether we have OAuth
-     * token for the particular user, which is a pre-requisite before user can
-     * create a transfer config.
-     * 
- */ + /** */ public com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse checkValidCreds( com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest request) { return blockingUnaryCall(getChannel(), getCheckValidCredsMethod(), getCallOptions(), request); } } - /** - * - * - *
-   * The Google BigQuery Data Transfer Service API enables BigQuery users to
-   * configure the transfer of their data from other Google Products into
-   * BigQuery. This service contains methods that are end user exposed. It backs
-   * up the frontend.
-   * 
- */ + /** */ public static final class DataTransferServiceFutureStub extends io.grpc.stub.AbstractFutureStub { private DataTransferServiceFutureStub( @@ -1627,14 +1282,7 @@ protected DataTransferServiceFutureStub build( return new DataTransferServiceFutureStub(channel, callOptions); } - /** - * - * - *
-     * Retrieves a supported data source and returns its settings,
-     * which can be used for UI rendering.
-     * 
- */ + /** */ public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.bigquery.datatransfer.v1.DataSource> getDataSource(com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest request) { @@ -1642,14 +1290,7 @@ protected DataTransferServiceFutureStub build( getChannel().newCall(getGetDataSourceMethod(), getCallOptions()), request); } - /** - * - * - *
-     * Lists supported data sources and returns their settings,
-     * which can be used for UI rendering.
-     * 
- */ + /** */ public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse> listDataSources(com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest request) { @@ -1657,13 +1298,7 @@ protected DataTransferServiceFutureStub build( getChannel().newCall(getListDataSourcesMethod(), getCallOptions()), request); } - /** - * - * - *
-     * Creates a new data transfer configuration.
-     * 
- */ + /** */ public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.bigquery.datatransfer.v1.TransferConfig> createTransferConfig( @@ -1672,14 +1307,7 @@ protected DataTransferServiceFutureStub build( getChannel().newCall(getCreateTransferConfigMethod(), getCallOptions()), request); } - /** - * - * - *
-     * Updates a data transfer configuration.
-     * All fields must be set, even if they are not updated.
-     * 
- */ + /** */ public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.bigquery.datatransfer.v1.TransferConfig> updateTransferConfig( @@ -1688,14 +1316,7 @@ protected DataTransferServiceFutureStub build( getChannel().newCall(getUpdateTransferConfigMethod(), getCallOptions()), request); } - /** - * - * - *
-     * Deletes a data transfer configuration,
-     * including any associated transfer runs and logs.
-     * 
- */ + /** */ public com.google.common.util.concurrent.ListenableFuture deleteTransferConfig( com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest request) { @@ -1703,13 +1324,7 @@ protected DataTransferServiceFutureStub build( getChannel().newCall(getDeleteTransferConfigMethod(), getCallOptions()), request); } - /** - * - * - *
-     * Returns information about a data transfer config.
-     * 
- */ + /** */ public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.bigquery.datatransfer.v1.TransferConfig> getTransferConfig( @@ -1718,13 +1333,7 @@ protected DataTransferServiceFutureStub build( getChannel().newCall(getGetTransferConfigMethod(), getCallOptions()), request); } - /** - * - * - *
-     * Returns information about all data transfers in the project.
-     * 
- */ + /** */ public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse> listTransferConfigs( @@ -1733,17 +1342,7 @@ protected DataTransferServiceFutureStub build( getChannel().newCall(getListTransferConfigsMethod(), getCallOptions()), request); } - /** - * - * - *
-     * Creates transfer runs for a time range [start_time, end_time].
-     * For each date - or whatever granularity the data source supports - in the
-     * range, one transfer run is created.
-     * Note that runs are created per UTC time in the time range.
-     * DEPRECATED: use StartManualTransferRuns instead.
-     * 
- */ + /** */ @java.lang.Deprecated public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse> @@ -1753,16 +1352,7 @@ protected DataTransferServiceFutureStub build( getChannel().newCall(getScheduleTransferRunsMethod(), getCallOptions()), request); } - /** - * - * - *
-     * Start manual transfer runs to be executed now with schedule_time equal to
-     * current time. The transfer runs can be created for a time range where the
-     * run_time is between start_time (inclusive) and end_time (exclusive), or for
-     * a specific run_time.
-     * 
- */ + /** */ public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse> startManualTransferRuns( @@ -1771,13 +1361,7 @@ protected DataTransferServiceFutureStub build( getChannel().newCall(getStartManualTransferRunsMethod(), getCallOptions()), request); } - /** - * - * - *
-     * Returns information about the particular transfer run.
-     * 
- */ + /** */ public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.bigquery.datatransfer.v1.TransferRun> getTransferRun(com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest request) { @@ -1785,13 +1369,7 @@ protected DataTransferServiceFutureStub build( getChannel().newCall(getGetTransferRunMethod(), getCallOptions()), request); } - /** - * - * - *
-     * Deletes the specified transfer run.
-     * 
- */ + /** */ public com.google.common.util.concurrent.ListenableFuture deleteTransferRun( com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest request) { @@ -1799,13 +1377,7 @@ protected DataTransferServiceFutureStub build( getChannel().newCall(getDeleteTransferRunMethod(), getCallOptions()), request); } - /** - * - * - *
-     * Returns information about running and completed jobs.
-     * 
- */ + /** */ public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse> listTransferRuns( @@ -1814,13 +1386,7 @@ protected DataTransferServiceFutureStub build( getChannel().newCall(getListTransferRunsMethod(), getCallOptions()), request); } - /** - * - * - *
-     * Returns user facing log messages for the data transfer run.
-     * 
- */ + /** */ public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse> listTransferLogs( @@ -1829,18 +1395,7 @@ protected DataTransferServiceFutureStub build( getChannel().newCall(getListTransferLogsMethod(), getCallOptions()), request); } - /** - * - * - *
-     * Returns true if valid credentials exist for the given data source and
-     * requesting user.
-     * Some data sources doesn't support service account, so we need to talk to
-     * them on behalf of the end user. This API just checks whether we have OAuth
-     * token for the particular user, which is a pre-requisite before user can
-     * create a transfer config.
-     * 
- */ + /** */ public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse> checkValidCreds(com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest request) { diff --git a/synth.metadata b/synth.metadata index 7920d9f4..5df9590f 100644 --- a/synth.metadata +++ b/synth.metadata @@ -11,15 +11,15 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-bigquerydatatransfer.git", - "sha": "c1d4e4729513693bc05d3ea77b8cc63df0dbc22e" + "sha": "10ca24cea52ba52f7e3f22282eb0014b1300fe98" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "96ef637adf148d54236ad83fefa30c7f75f29737", - "internalRef": "325052820" + "sha": "b11a87f3b54be3a5e42c15020ee1e0781f86da90", + "internalRef": "344134135" } }, { From a9e8e9705325e900e5f81ff957e7785aa0bb6a70 Mon Sep 17 00:00:00 2001 From: Praful Makani Date: Tue, 1 Dec 2020 00:49:39 +0530 Subject: [PATCH 10/13] refactor(samples): updates params and comments (#543) --- .../bigquerydatatransfer/CreateAdManagerTransfer.java | 4 ++-- .../com/example/bigquerydatatransfer/CreateAdsTransfer.java | 6 +++--- .../bigquerydatatransfer/CreateCampaignmanagerTransfer.java | 4 ++-- .../example/bigquerydatatransfer/CreatePlayTransfer.java | 1 - .../bigquerydatatransfer/CreateYoutubeChannelTransfer.java | 1 - .../CreateYoutubeContentOwnerTransfer.java | 1 - 6 files changed, 7 insertions(+), 10 deletions(-) diff --git a/samples/snippets/src/main/java/com/example/bigquerydatatransfer/CreateAdManagerTransfer.java b/samples/snippets/src/main/java/com/example/bigquerydatatransfer/CreateAdManagerTransfer.java index ef46c4b1..e4bbd2bd 100644 --- a/samples/snippets/src/main/java/com/example/bigquerydatatransfer/CreateAdManagerTransfer.java +++ b/samples/snippets/src/main/java/com/example/bigquerydatatransfer/CreateAdManagerTransfer.java @@ -36,7 +36,8 @@ public static void main(String[] args) throws IOException { final String projectId = "MY_PROJECT_ID"; String datasetId = "MY_DATASET_ID"; String bucket = "gs://cloud-sample-data"; - String networkCode = "MY_NETWORK_CODE"; + // the network_code can only be digits with length 1 to 15 + String networkCode = "12345678"; Map params = new HashMap<>(); params.put("bucket", Value.newBuilder().setStringValue(bucket).build()); params.put("network_code", Value.newBuilder().setStringValue(networkCode).build()); @@ -46,7 +47,6 @@ public static void main(String[] args) throws IOException { .setDisplayName("Your Ad Manager Config Name") .setDataSourceId("dfp_dt") .setParams(Struct.newBuilder().putAllFields(params).build()) - .setSchedule("every 24 hours") .build(); createAdManagerTransfer(projectId, transferConfig); } diff --git a/samples/snippets/src/main/java/com/example/bigquerydatatransfer/CreateAdsTransfer.java b/samples/snippets/src/main/java/com/example/bigquerydatatransfer/CreateAdsTransfer.java index 02ed0971..af8a7364 100644 --- a/samples/snippets/src/main/java/com/example/bigquerydatatransfer/CreateAdsTransfer.java +++ b/samples/snippets/src/main/java/com/example/bigquerydatatransfer/CreateAdsTransfer.java @@ -35,8 +35,9 @@ public static void main(String[] args) throws IOException { // TODO(developer): Replace these variables before running the sample. final String projectId = "MY_PROJECT_ID"; String datasetId = "MY_DATASET_ID"; - String customerId = "MY_CUSTOMER_ID"; - String refreshWindow = "MY_REFRESH_WINDOW"; + // the customer_id only allows digits and hyphen ('-'). + String customerId = "012-345-6789"; + String refreshWindow = "100"; Map params = new HashMap<>(); params.put("customer_id", Value.newBuilder().setStringValue(customerId).build()); params.put("refreshWindow", Value.newBuilder().setStringValue(refreshWindow).build()); @@ -46,7 +47,6 @@ public static void main(String[] args) throws IOException { .setDisplayName("Your Ads Transfer Config Name") .setDataSourceId("adwords") .setParams(Struct.newBuilder().putAllFields(params).build()) - .setSchedule("every 24 hours") .build(); createAdsTransfer(projectId, transferConfig); } diff --git a/samples/snippets/src/main/java/com/example/bigquerydatatransfer/CreateCampaignmanagerTransfer.java b/samples/snippets/src/main/java/com/example/bigquerydatatransfer/CreateCampaignmanagerTransfer.java index 5c6da22e..9aa617ff 100644 --- a/samples/snippets/src/main/java/com/example/bigquerydatatransfer/CreateCampaignmanagerTransfer.java +++ b/samples/snippets/src/main/java/com/example/bigquerydatatransfer/CreateCampaignmanagerTransfer.java @@ -36,7 +36,8 @@ public static void main(String[] args) throws IOException { final String projectId = "MY_PROJECT_ID"; String datasetId = "MY_DATASET_ID"; String bucket = "gs://cloud-sample-data"; - String networkId = "MY_DOUBLE_CLICK_ID"; + // the network_id only allows digits + String networkId = "7878"; String fileNamePrefix = "test_"; Map params = new HashMap<>(); params.put("bucket", Value.newBuilder().setStringValue(bucket).build()); @@ -48,7 +49,6 @@ public static void main(String[] args) throws IOException { .setDisplayName("Your Campaignmanager Config Name") .setDataSourceId("dcm_dt") .setParams(Struct.newBuilder().putAllFields(params).build()) - .setSchedule("every 24 hours") .build(); createCampaignmanagerTransfer(projectId, transferConfig); } diff --git a/samples/snippets/src/main/java/com/example/bigquerydatatransfer/CreatePlayTransfer.java b/samples/snippets/src/main/java/com/example/bigquerydatatransfer/CreatePlayTransfer.java index d0d15812..51783130 100644 --- a/samples/snippets/src/main/java/com/example/bigquerydatatransfer/CreatePlayTransfer.java +++ b/samples/snippets/src/main/java/com/example/bigquerydatatransfer/CreatePlayTransfer.java @@ -46,7 +46,6 @@ public static void main(String[] args) throws IOException { .setDisplayName("Your Play Config Name") .setDataSourceId("play") .setParams(Struct.newBuilder().putAllFields(params).build()) - .setSchedule("every 24 hours") .build(); createPlayTransfer(projectId, transferConfig); } diff --git a/samples/snippets/src/main/java/com/example/bigquerydatatransfer/CreateYoutubeChannelTransfer.java b/samples/snippets/src/main/java/com/example/bigquerydatatransfer/CreateYoutubeChannelTransfer.java index 3a62a0f3..8dcb26bb 100644 --- a/samples/snippets/src/main/java/com/example/bigquerydatatransfer/CreateYoutubeChannelTransfer.java +++ b/samples/snippets/src/main/java/com/example/bigquerydatatransfer/CreateYoutubeChannelTransfer.java @@ -44,7 +44,6 @@ public static void main(String[] args) throws IOException { .setDisplayName("Your Youtube Channel Config Name") .setDataSourceId("youtube_channel") .setParams(Struct.newBuilder().putAllFields(params).build()) - .setSchedule("every 24 hours") .build(); createYoutubeChannelTransfer(projectId, transferConfig); } diff --git a/samples/snippets/src/main/java/com/example/bigquerydatatransfer/CreateYoutubeContentOwnerTransfer.java b/samples/snippets/src/main/java/com/example/bigquerydatatransfer/CreateYoutubeContentOwnerTransfer.java index 6d2ee2e0..d99ffa52 100644 --- a/samples/snippets/src/main/java/com/example/bigquerydatatransfer/CreateYoutubeContentOwnerTransfer.java +++ b/samples/snippets/src/main/java/com/example/bigquerydatatransfer/CreateYoutubeContentOwnerTransfer.java @@ -46,7 +46,6 @@ public static void main(String[] args) throws IOException { .setDisplayName("Your Youtube Owner Channel Config Name") .setDataSourceId("youtube_content_owner") .setParams(Struct.newBuilder().putAllFields(params).build()) - .setSchedule("every 24 hours") .build(); createYoutubeContentOwnerTransfer(projectId, transferConfig); } From c42c3aa06bafeaf6d57440ce6a32b1542cb28a0e Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 2 Dec 2020 17:46:41 +0100 Subject: [PATCH 11/13] deps: update dependency com.google.cloud:google-cloud-pubsub to v1.110.0 (#547) --- samples/install-without-bom/pom.xml | 2 +- samples/snapshot/pom.xml | 2 +- samples/snippets/pom.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index 99760cba..77dcb152 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -59,7 +59,7 @@ com.google.cloud google-cloud-pubsub - 1.109.0 + 1.110.0 test
diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 5e74fe50..e1b8361d 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -59,7 +59,7 @@ com.google.cloud google-cloud-pubsub - 1.109.0 + 1.110.0 test
diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index 1319df62..06730c42 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -71,7 +71,7 @@ com.google.cloud google-cloud-pubsub - 1.109.0 + 1.110.0 test From 137c2f3bd15dfe9986c73f9ee4a4e5d0a5cb850d Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 2 Dec 2020 22:24:51 +0100 Subject: [PATCH 12/13] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v0.16.0 (#548) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | minor | `0.15.0` -> `0.16.0` | --- ### Release Notes
googleapis/java-shared-dependencies ### [`v0.16.0`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#​0160-httpswwwgithubcomgoogleapisjava-shared-dependenciescompare0150v0160-2020-12-02) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v0.15.0...v0.16.0) ##### Dependencies - update dependency com.fasterxml.jackson:jackson-bom to v2.12.0 ([#​225](https://www.github.com/googleapis/java-shared-dependencies/issues/225)) ([b78a1ef](https://www.github.com/googleapis/java-shared-dependencies/commit/b78a1ef83ad946b0d29cd0dff46e48fbde44d120)) - update dependency com.google.api-client:google-api-client-bom to v1.31.1 ([#​215](https://www.github.com/googleapis/java-shared-dependencies/issues/215)) ([08d643a](https://www.github.com/googleapis/java-shared-dependencies/commit/08d643aaf289984b87d734274830712af82585b6)) - update dependency com.google.protobuf:protobuf-bom to v3.14.0 ([#​217](https://www.github.com/googleapis/java-shared-dependencies/issues/217)) ([01a9c64](https://www.github.com/googleapis/java-shared-dependencies/commit/01a9c6442906e8482a53712eba95ccc6f7040928)) - update dependency io.grpc:grpc-bom to v1.34.0 ([#​228](https://www.github.com/googleapis/java-shared-dependencies/issues/228)) ([425d1ea](https://www.github.com/googleapis/java-shared-dependencies/commit/425d1eab2a046c365f816f946576e4030e7c3696)) - update gax.version to v1.60.1 ([#​223](https://www.github.com/googleapis/java-shared-dependencies/issues/223)) ([84c75bd](https://www.github.com/googleapis/java-shared-dependencies/commit/84c75bdbd3f86ef7187373289ee08ad3a0c24719)) - update google.core.version to v1.94.0 ([#​212](https://www.github.com/googleapis/java-shared-dependencies/issues/212)) ([764ef5e](https://www.github.com/googleapis/java-shared-dependencies/commit/764ef5e9a2272cd9244a8fc5cc107ffacf9e9d5b))
--- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-bigquerydatatransfer). --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index e0d2d6c0..b90c3a1f 100644 --- a/pom.xml +++ b/pom.xml @@ -70,7 +70,7 @@ com.google.cloud google-cloud-shared-dependencies - 0.15.0 + 0.16.0 pom import From c0f46f8ce614d7293031d6ca29db5df5ddde53de Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 2 Dec 2020 22:50:11 +0000 Subject: [PATCH 13/13] chore: release 1.0.21 (#539) :robot: I have created a release \*beep\* \*boop\* --- ### [1.0.21](https://www.github.com/googleapis/java-bigquerydatatransfer/compare/v1.0.20...v1.0.21) (2020-12-02) ### Documentation * **samples:** add create youtube channel transfer config ([#537](https://www.github.com/googleapis/java-bigquerydatatransfer/issues/537)) ([fddd0a9](https://www.github.com/googleapis/java-bigquerydatatransfer/commit/fddd0a9acddfbc309f949db247f7279a280fb53d)) * **samples:** add create youtube owner channel transfer config ([#538](https://www.github.com/googleapis/java-bigquerydatatransfer/issues/538)) ([18e069f](https://www.github.com/googleapis/java-bigquerydatatransfer/commit/18e069fd0dc437ba5254a6b412bad91bfc9b7a5f)) * **samples:** create play transfer ([#536](https://www.github.com/googleapis/java-bigquerydatatransfer/issues/536)) ([52dc122](https://www.github.com/googleapis/java-bigquerydatatransfer/commit/52dc122f472b530f8702cc74f84c2224939e6a4e)) ### Dependencies * update dependency com.google.cloud:google-cloud-pubsub to v1.110.0 ([#547](https://www.github.com/googleapis/java-bigquerydatatransfer/issues/547)) ([c42c3aa](https://www.github.com/googleapis/java-bigquerydatatransfer/commit/c42c3aa06bafeaf6d57440ce6a32b1542cb28a0e)) * update dependency com.google.cloud:google-cloud-shared-dependencies to v0.16.0 ([#548](https://www.github.com/googleapis/java-bigquerydatatransfer/issues/548)) ([137c2f3](https://www.github.com/googleapis/java-bigquerydatatransfer/commit/137c2f3bd15dfe9986c73f9ee4a4e5d0a5cb850d)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- CHANGELOG.md | 15 +++++++++++++++ google-cloud-bigquerydatatransfer-bom/pom.xml | 8 ++++---- google-cloud-bigquerydatatransfer/pom.xml | 4 ++-- grpc-google-cloud-bigquerydatatransfer-v1/pom.xml | 4 ++-- pom.xml | 8 ++++---- .../pom.xml | 4 ++-- samples/snapshot/pom.xml | 2 +- versions.txt | 6 +++--- 8 files changed, 33 insertions(+), 18 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bc349a46..e8a18a44 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,20 @@ # Changelog +### [1.0.21](https://www.github.com/googleapis/java-bigquerydatatransfer/compare/v1.0.20...v1.0.21) (2020-12-02) + + +### Documentation + +* **samples:** add create youtube channel transfer config ([#537](https://www.github.com/googleapis/java-bigquerydatatransfer/issues/537)) ([fddd0a9](https://www.github.com/googleapis/java-bigquerydatatransfer/commit/fddd0a9acddfbc309f949db247f7279a280fb53d)) +* **samples:** add create youtube owner channel transfer config ([#538](https://www.github.com/googleapis/java-bigquerydatatransfer/issues/538)) ([18e069f](https://www.github.com/googleapis/java-bigquerydatatransfer/commit/18e069fd0dc437ba5254a6b412bad91bfc9b7a5f)) +* **samples:** create play transfer ([#536](https://www.github.com/googleapis/java-bigquerydatatransfer/issues/536)) ([52dc122](https://www.github.com/googleapis/java-bigquerydatatransfer/commit/52dc122f472b530f8702cc74f84c2224939e6a4e)) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-pubsub to v1.110.0 ([#547](https://www.github.com/googleapis/java-bigquerydatatransfer/issues/547)) ([c42c3aa](https://www.github.com/googleapis/java-bigquerydatatransfer/commit/c42c3aa06bafeaf6d57440ce6a32b1542cb28a0e)) +* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.16.0 ([#548](https://www.github.com/googleapis/java-bigquerydatatransfer/issues/548)) ([137c2f3](https://www.github.com/googleapis/java-bigquerydatatransfer/commit/137c2f3bd15dfe9986c73f9ee4a4e5d0a5cb850d)) + ### [1.0.20](https://www.github.com/googleapis/java-bigquerydatatransfer/compare/v1.0.19...v1.0.20) (2020-11-20) diff --git a/google-cloud-bigquerydatatransfer-bom/pom.xml b/google-cloud-bigquerydatatransfer-bom/pom.xml index 58c91c41..6221ffd8 100644 --- a/google-cloud-bigquerydatatransfer-bom/pom.xml +++ b/google-cloud-bigquerydatatransfer-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-bigquerydatatransfer-bom - 1.0.21-SNAPSHOT + 1.0.21 pom com.google.cloud @@ -64,17 +64,17 @@ com.google.cloud google-cloud-bigquerydatatransfer - 1.0.21-SNAPSHOT + 1.0.21 com.google.api.grpc proto-google-cloud-bigquerydatatransfer-v1 - 1.0.21-SNAPSHOT + 1.0.21 com.google.api.grpc grpc-google-cloud-bigquerydatatransfer-v1 - 1.0.21-SNAPSHOT + 1.0.21 diff --git a/google-cloud-bigquerydatatransfer/pom.xml b/google-cloud-bigquerydatatransfer/pom.xml index 090d9c59..74003d0d 100644 --- a/google-cloud-bigquerydatatransfer/pom.xml +++ b/google-cloud-bigquerydatatransfer/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-bigquerydatatransfer - 1.0.21-SNAPSHOT + 1.0.21 jar BigQuery DataTransfer https://github.com/googleapis/java-bigquerydatatransfer @@ -11,7 +11,7 @@ com.google.cloud google-cloud-bigquerydatatransfer-parent - 1.0.21-SNAPSHOT + 1.0.21 google-cloud-bigquerydatatransfer diff --git a/grpc-google-cloud-bigquerydatatransfer-v1/pom.xml b/grpc-google-cloud-bigquerydatatransfer-v1/pom.xml index 0f1b7806..b6845611 100644 --- a/grpc-google-cloud-bigquerydatatransfer-v1/pom.xml +++ b/grpc-google-cloud-bigquerydatatransfer-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-bigquerydatatransfer-v1 - 1.0.21-SNAPSHOT + 1.0.21 grpc-google-cloud-bigquerydatatransfer-v1 GRPC library for grpc-google-cloud-bigquerydatatransfer-v1 com.google.cloud google-cloud-bigquerydatatransfer-parent - 1.0.21-SNAPSHOT + 1.0.21 diff --git a/pom.xml b/pom.xml index b90c3a1f..6ba10602 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-bigquerydatatransfer-parent pom - 1.0.21-SNAPSHOT + 1.0.21 BigQuery DataTransfer Parent https://github.com/googleapis/java-bigquerydatatransfer @@ -77,17 +77,17 @@ com.google.api.grpc proto-google-cloud-bigquerydatatransfer-v1 - 1.0.21-SNAPSHOT + 1.0.21 com.google.api.grpc grpc-google-cloud-bigquerydatatransfer-v1 - 1.0.21-SNAPSHOT + 1.0.21 com.google.cloud google-cloud-bigquerydatatransfer - 1.0.21-SNAPSHOT + 1.0.21 diff --git a/proto-google-cloud-bigquerydatatransfer-v1/pom.xml b/proto-google-cloud-bigquerydatatransfer-v1/pom.xml index 342b6311..733014a5 100644 --- a/proto-google-cloud-bigquerydatatransfer-v1/pom.xml +++ b/proto-google-cloud-bigquerydatatransfer-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-bigquerydatatransfer-v1 - 1.0.21-SNAPSHOT + 1.0.21 proto-google-cloud-bigquerydatatransfer-v1 PROTO library for proto-google-cloud-bigquerydatatransfer-v1 com.google.cloud google-cloud-bigquerydatatransfer-parent - 1.0.21-SNAPSHOT + 1.0.21 diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index e1b8361d..45f54e45 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-bigquerydatatransfer - 1.0.21-SNAPSHOT + 1.0.21 diff --git a/versions.txt b/versions.txt index 30c17210..7af30fff 100644 --- a/versions.txt +++ b/versions.txt @@ -1,6 +1,6 @@ # Format: # module:released-version:current-version -proto-google-cloud-bigquerydatatransfer-v1:1.0.20:1.0.21-SNAPSHOT -grpc-google-cloud-bigquerydatatransfer-v1:1.0.20:1.0.21-SNAPSHOT -google-cloud-bigquerydatatransfer:1.0.20:1.0.21-SNAPSHOT +proto-google-cloud-bigquerydatatransfer-v1:1.0.21:1.0.21 +grpc-google-cloud-bigquerydatatransfer-v1:1.0.21:1.0.21 +google-cloud-bigquerydatatransfer:1.0.21:1.0.21