diff --git a/.kokoro/build.sh b/.kokoro/build.sh index 2e0c033c..c4d03b7b 100755 --- a/.kokoro/build.sh +++ b/.kokoro/build.sh @@ -20,17 +20,22 @@ scriptDir=$(realpath $(dirname "${BASH_SOURCE[0]}")) ## cd to the parent directory, i.e. the root of the git repo cd ${scriptDir}/.. +# include common functions +source ${scriptDir}/common.sh + # Print out Java version java -version echo ${JOB_TYPE} -mvn install -B -V \ - -DskipTests=true \ - -Dclirr.skip=true \ - -Denforcer.skip=true \ - -Dmaven.javadoc.skip=true \ - -Dgcloud.download.skip=true \ - -T 1C +# attempt to install 3 times with exponential backoff (starting with 10 seconds) +retry_with_backoff 3 10 \ + mvn install -B -V \ + -DskipTests=true \ + -Dclirr.skip=true \ + -Denforcer.skip=true \ + -Dmaven.javadoc.skip=true \ + -Dgcloud.download.skip=true \ + -T 1C # if GOOGLE_APPLICATION_CREDIENTIALS is specified as a relative path prepend Kokoro root directory onto it if [[ ! -z "${GOOGLE_APPLICATION_CREDENTIALS}" && "${GOOGLE_APPLICATION_CREDENTIALS}" != /* ]]; then diff --git a/.kokoro/common.sh b/.kokoro/common.sh new file mode 100644 index 00000000..a3bbc5f6 --- /dev/null +++ b/.kokoro/common.sh @@ -0,0 +1,44 @@ +#!/bin/bash +# 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. + +# set -eo pipefail + +function retry_with_backoff { + attempts_left=$1 + sleep_seconds=$2 + shift 2 + command=$@ + + echo "${command}" + ${command} + exit_code=$? + + if [[ $exit_code == 0 ]] + then + return 0 + fi + + # failure + if [[ ${attempts_left} > 0 ]] + then + echo "failure (${exit_code}), sleeping ${sleep_seconds}..." + sleep ${sleep_seconds} + new_attempts=$((${attempts_left} - 1)) + new_sleep=$((${sleep_seconds} * 2)) + retry_with_backoff ${new_attempts} ${new_sleep} ${command} + fi + + return $exit_code +} diff --git a/.kokoro/dependencies.sh b/.kokoro/dependencies.sh index cc96e0ec..0aade871 100755 --- a/.kokoro/dependencies.sh +++ b/.kokoro/dependencies.sh @@ -15,7 +15,13 @@ set -eo pipefail -cd github/java-bigquerydatatransfer/ +## Get the directory of the build script +scriptDir=$(realpath $(dirname "${BASH_SOURCE[0]}")) +## cd to the parent directory, i.e. the root of the git repo +cd ${scriptDir}/.. + +# include common functions +source ${scriptDir}/common.sh # Print out Java java -version @@ -24,8 +30,9 @@ echo $JOB_TYPE export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=128m" # this should run maven enforcer -mvn install -B -V \ - -DskipTests=true \ - -Dclirr.skip=true +retry_with_backoff 3 10 \ + mvn install -B -V \ + -DskipTests=true \ + -Dclirr.skip=true mvn -B dependency:analyze -DfailOnWarning=true diff --git a/.kokoro/linkage-monitor.sh b/.kokoro/linkage-monitor.sh index 429af189..759ab4e2 100755 --- a/.kokoro/linkage-monitor.sh +++ b/.kokoro/linkage-monitor.sh @@ -17,18 +17,26 @@ set -eo pipefail # Display commands being run. set -x -cd github/java-bigquerydatatransfer/ +## Get the directory of the build script +scriptDir=$(realpath $(dirname "${BASH_SOURCE[0]}")) +## cd to the parent directory, i.e. the root of the git repo +cd ${scriptDir}/.. + +# include common functions +source ${scriptDir}/common.sh # Print out Java version java -version echo ${JOB_TYPE} -mvn install -B -V \ - -DskipTests=true \ - -Dclirr.skip=true \ - -Denforcer.skip=true \ - -Dmaven.javadoc.skip=true \ - -Dgcloud.download.skip=true +# attempt to install 3 times with exponential backoff (starting with 10 seconds) +retry_with_backoff 3 10 \ + mvn install -B -V \ + -DskipTests=true \ + -Dclirr.skip=true \ + -Denforcer.skip=true \ + -Dmaven.javadoc.skip=true \ + -Dgcloud.download.skip=true # Kokoro job cloud-opensource-java/ubuntu/linkage-monitor-gcs creates this JAR JAR=linkage-monitor-latest-all-deps.jar diff --git a/CHANGELOG.md b/CHANGELOG.md index 739ee90d..b84273ce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,20 @@ # Changelog +## [0.126.0](https://www.github.com/googleapis/java-bigquerydatatransfer/compare/v0.125.2...v0.126.0) (2020-04-05) + + +### Features + +* re-generated to pick up changes in the API or client library generator. ([#105](https://www.github.com/googleapis/java-bigquerydatatransfer/issues/105)) ([52060f3](https://www.github.com/googleapis/java-bigquerydatatransfer/commit/52060f3900c501311e3c97c1c4c30795061751e2)) + + +### Dependencies + +* update core dependencies ([#100](https://www.github.com/googleapis/java-bigquerydatatransfer/issues/100)) ([8a836b9](https://www.github.com/googleapis/java-bigquerydatatransfer/commit/8a836b902e4755d848cdb2f5df2e3b4fb1fd1c13)) +* update dependency com.google.api:api-common to v1.9.0 ([#98](https://www.github.com/googleapis/java-bigquerydatatransfer/issues/98)) ([174da35](https://www.github.com/googleapis/java-bigquerydatatransfer/commit/174da35eba40739c7a3cdfda6f1149b1e253af90)) +* update dependency com.google.cloud:google-cloud-bigquerydatatransfer to v0.125.2-beta ([#87](https://www.github.com/googleapis/java-bigquerydatatransfer/issues/87)) ([259e39e](https://www.github.com/googleapis/java-bigquerydatatransfer/commit/259e39ed5df94b429f6e17d620bac5f9e4ff160a)) +* update dependency org.threeten:threetenbp to v1.4.3 ([#107](https://www.github.com/googleapis/java-bigquerydatatransfer/issues/107)) ([a7174fc](https://www.github.com/googleapis/java-bigquerydatatransfer/commit/a7174fce744dc3b51aff5d2e971c9ea1b809cf94)) + ### [0.125.2](https://www.github.com/googleapis/java-bigquerydatatransfer/compare/v0.125.1...v0.125.2) (2020-03-20) diff --git a/README.md b/README.md index fd301ae6..d2ee425f 100644 --- a/README.md +++ b/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 - 4.2.0 + 4.4.0 pom import @@ -43,18 +43,18 @@ If you are using Maven without BOM, add this to your dependencies: com.google.cloud google-cloud-bigquerydatatransfer - 0.125.2-beta + 0.126.0-beta ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-bigquerydatatransfer:0.125.2-beta' +compile 'com.google.cloud:google-cloud-bigquerydatatransfer:0.126.0-beta' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bigquerydatatransfer" % "0.125.2-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-bigquerydatatransfer" % "0.126.0-beta" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-bigquerydatatransfer-bom/pom.xml b/google-cloud-bigquerydatatransfer-bom/pom.xml index b8b526a8..2c2bcbca 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 - 0.125.2-beta + 0.126.0-beta pom com.google.cloud @@ -64,17 +64,17 @@ com.google.cloud google-cloud-bigquerydatatransfer - 0.125.2-beta + 0.126.0-beta com.google.api.grpc proto-google-cloud-bigquerydatatransfer-v1 - 0.90.2 + 0.91.0 com.google.api.grpc grpc-google-cloud-bigquerydatatransfer-v1 - 0.90.2 + 0.91.0 diff --git a/google-cloud-bigquerydatatransfer/pom.xml b/google-cloud-bigquerydatatransfer/pom.xml index 3d4b3f50..e72168ce 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 - 0.125.2-beta + 0.126.0-beta jar BigQuery DataTransfer https://github.com/googleapis/java-bigquerydatatransfer @@ -11,7 +11,7 @@ com.google.cloud google-cloud-bigquerydatatransfer-parent - 0.125.2-beta + 0.126.0-beta google-cloud-bigquerydatatransfer diff --git a/grpc-google-cloud-bigquerydatatransfer-v1/pom.xml b/grpc-google-cloud-bigquerydatatransfer-v1/pom.xml index 5ca0d31f..d69d0040 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 - 0.90.2 + 0.91.0 grpc-google-cloud-bigquerydatatransfer-v1 GRPC library for grpc-google-cloud-bigquerydatatransfer-v1 com.google.cloud google-cloud-bigquerydatatransfer-parent - 0.125.2-beta + 0.126.0-beta diff --git a/pom.xml b/pom.xml index ff59c2f4..e3dc2658 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-bigquerydatatransfer-parent pom - 0.125.2-beta + 0.126.0-beta BigQuery DataTransfer Parent https://github.com/googleapis/java-bigquerydatatransfer @@ -64,14 +64,14 @@ github google-cloud-bigquerydatatransfer-parent 1.93.0 - 1.8.1 + 1.9.0 1.17.0 - 1.54.0 - 1.28.0 + 1.55.0 + 1.28.1 3.11.4 4.13 28.2-android - 1.4.2 + 1.4.3 1.3.2 1.18 @@ -81,17 +81,17 @@ com.google.api.grpc proto-google-cloud-bigquerydatatransfer-v1 - 0.90.2 + 0.91.0 com.google.api.grpc grpc-google-cloud-bigquerydatatransfer-v1 - 0.90.2 + 0.91.0 com.google.cloud google-cloud-bigquerydatatransfer - 0.125.2-beta + 0.126.0-beta diff --git a/proto-google-cloud-bigquerydatatransfer-v1/clirr-ignored-differences.xml b/proto-google-cloud-bigquerydatatransfer-v1/clirr-ignored-differences.xml index c3b17fa6..bb36da22 100644 --- a/proto-google-cloud-bigquerydatatransfer-v1/clirr-ignored-differences.xml +++ b/proto-google-cloud-bigquerydatatransfer-v1/clirr-ignored-differences.xml @@ -29,4 +29,34 @@ com/google/cloud/bigquery/datatransfer/v1/LocationName com/google/cloud/bigquery/datatransfer/v1/ParentName + + 7002 + com/google/cloud/bigquery/datatransfer/v1/DataSourceName + *parse(*) + + + 7002 + com/google/cloud/bigquery/datatransfer/v1/DataSourceName + *toStrings(*) + + + 7002 + com/google/cloud/bigquery/datatransfer/v1/RunName + *parse(*) + + + 7002 + com/google/cloud/bigquery/datatransfer/v1/RunName + *toStrings(*) + + + 7002 + com/google/cloud/bigquery/datatransfer/v1/TransferConfigName + *parse(*) + + + 7002 + com/google/cloud/bigquery/datatransfer/v1/TransferConfigName + *toStrings(*) + diff --git a/proto-google-cloud-bigquerydatatransfer-v1/pom.xml b/proto-google-cloud-bigquerydatatransfer-v1/pom.xml index b900e0da..ff8a8c88 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 - 0.90.2 + 0.91.0 proto-google-cloud-bigquerydatatransfer-v1 PROTO library for proto-google-cloud-bigquerydatatransfer-v1 com.google.cloud google-cloud-bigquerydatatransfer-parent - 0.125.2-beta + 0.126.0-beta diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSource.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSource.java index 6c8f007d..ee474378 100644 --- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSource.java +++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSource.java @@ -299,6 +299,18 @@ public enum AuthorizationType implements com.google.protobuf.ProtocolMessageEnum * GOOGLE_PLUS_AUTHORIZATION_CODE = 2; */ GOOGLE_PLUS_AUTHORIZATION_CODE(2), + /** + * + * + *
+     * Use First Party Client OAuth. First Party Client OAuth doesn't require a
+     * refresh token to get an offline access token. Instead, it uses a
+     * client-signed JWT assertion to retrieve an access token.
+     * 
+ * + * FIRST_PARTY_OAUTH = 3; + */ + FIRST_PARTY_OAUTH(3), UNRECOGNIZED(-1), ; @@ -334,6 +346,18 @@ public enum AuthorizationType implements com.google.protobuf.ProtocolMessageEnum * GOOGLE_PLUS_AUTHORIZATION_CODE = 2; */ public static final int GOOGLE_PLUS_AUTHORIZATION_CODE_VALUE = 2; + /** + * + * + *
+     * Use First Party Client OAuth. First Party Client OAuth doesn't require a
+     * refresh token to get an offline access token. Instead, it uses a
+     * client-signed JWT assertion to retrieve an access token.
+     * 
+ * + * FIRST_PARTY_OAUTH = 3; + */ + public static final int FIRST_PARTY_OAUTH_VALUE = 3; public final int getNumber() { if (this == UNRECOGNIZED) { @@ -365,6 +389,8 @@ public static AuthorizationType forNumber(int value) { return AUTHORIZATION_CODE; case 2: return GOOGLE_PLUS_AUTHORIZATION_CODE; + case 3: + return FIRST_PARTY_OAUTH; default: return null; } diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceName.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceName.java index bb552ec6..73fb1d50 100644 --- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceName.java +++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceName.java @@ -22,8 +22,6 @@ import com.google.api.resourcenames.ResourceName; import com.google.common.base.Preconditions; import com.google.common.collect.ImmutableMap; -import java.util.ArrayList; -import java.util.List; import java.util.Map; import java.util.Objects; @@ -146,28 +144,6 @@ public static DataSourceName parse(String formattedString) { throw new ValidationException("JobName.parse: formattedString not in valid format"); } - @BetaApi("The method will be renamed to parseList after subclasses of this class are removed.") - public static List parse(List formattedStrings) { - List list = new ArrayList<>(formattedStrings.size()); - for (String formattedString : formattedStrings) { - list.add(parse(formattedString)); - } - return list; - } - - @BetaApi("The method will be renamed to toStringList after subclasses of this class are removed.") - public static List toStrings(List values) { - List list = new ArrayList<>(values.size()); - for (DataSourceName value : values) { - if (value == null) { - list.add(""); - } else { - list.add(value.toString()); - } - } - return list; - } - public static boolean isParsableFrom(String formattedString) { return PROJECT_DATA_SOURCE_PATH_TEMPLATE.matches(formattedString) || PROJECT_LOCATION_DATA_SOURCE_PATH_TEMPLATE.matches(formattedString); diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferProto.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferProto.java index 67456907..11303762 100644 --- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferProto.java +++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferProto.java @@ -158,7 +158,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "able\030\016 \001(\010\022\017\n\007recurse\030\017 \001(\010\022\022\n\ndeprecate" + "d\030\024 \001(\010\"i\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\n\n" + "\006STRING\020\001\022\013\n\007INTEGER\020\002\022\n\n\006DOUBLE\020\003\022\013\n\007BO" - + "OLEAN\020\004\022\n\n\006RECORD\020\005\022\r\n\tPLUS_PAGE\020\006\"\204\t\n\nD" + + "OLEAN\020\004\022\n\n\006RECORD\020\005\022\r\n\tPLUS_PAGE\020\006\"\234\t\n\nD" + "ataSource\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\026\n\016data_sou" + "rce_id\030\002 \001(\t\022\024\n\014display_name\030\003 \001(\t\022\023\n\013de" + "scription\030\004 \001(\t\022\021\n\tclient_id\030\005 \001(\t\022\016\n\006sc" @@ -178,208 +178,209 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ault_data_refresh_window_days\030\020 \001(\005\022\034\n\024m" + "anual_runs_disabled\030\021 \001(\010\022<\n\031minimum_sch" + "edule_interval\030\022 \001(\0132\031.google.protobuf.D" - + "uration\"s\n\021AuthorizationType\022\"\n\036AUTHORIZ" - + "ATION_TYPE_UNSPECIFIED\020\000\022\026\n\022AUTHORIZATIO" - + "N_CODE\020\001\022\"\n\036GOOGLE_PLUS_AUTHORIZATION_CO" - + "DE\020\002\"c\n\017DataRefreshType\022!\n\035DATA_REFRESH_" - + "TYPE_UNSPECIFIED\020\000\022\022\n\016SLIDING_WINDOW\020\001\022\031" - + "\n\025CUSTOM_SLIDING_WINDOW\020\002:\245\001\352A\241\001\n.bigque" - + "rydatatransfer.googleapis.com/DataSource" - + "\022,projects/{project}/dataSources/{data_s" - + "ource}\022Aprojects/{project}/locations/{lo" - + "cation}/dataSources/{data_source}\"\\\n\024Get" - + "DataSourceRequest\022D\n\004name\030\001 \001(\tB6\340A\002\372A0\n" - + ".bigquerydatatransfer.googleapis.com/Dat" - + "aSource\"\207\001\n\026ListDataSourcesRequest\022F\n\006pa" - + "rent\030\001 \001(\tB6\340A\002\372A0\022.bigquerydatatransfer" - + ".googleapis.com/DataSource\022\022\n\npage_token" - + "\030\003 \001(\t\022\021\n\tpage_size\030\004 \001(\005\"\200\001\n\027ListDataSo" - + "urcesResponse\022G\n\014data_sources\030\001 \003(\01321.go" - + "ogle.cloud.bigquery.datatransfer.v1.Data" - + "Source\022\034\n\017next_page_token\030\002 \001(\tB\003\340A\003\"\216\002\n" - + "\033CreateTransferConfigRequest\022J\n\006parent\030\001" - + " \001(\tB:\340A\002\372A4\0222bigquerydatatransfer.googl" - + "eapis.com/TransferConfig\022S\n\017transfer_con" - + "fig\030\002 \001(\01325.google.cloud.bigquery.datatr" - + "ansfer.v1.TransferConfigB\003\340A\002\022\032\n\022authori" - + "zation_code\030\003 \001(\t\022\024\n\014version_info\030\005 \001(\t\022" - + "\034\n\024service_account_name\030\006 \001(\t\"\370\001\n\033Update" - + "TransferConfigRequest\022S\n\017transfer_config" - + "\030\001 \001(\01325.google.cloud.bigquery.datatrans" - + "fer.v1.TransferConfigB\003\340A\002\022\032\n\022authorizat" - + "ion_code\030\003 \001(\t\0224\n\013update_mask\030\004 \001(\0132\032.go" - + "ogle.protobuf.FieldMaskB\003\340A\002\022\024\n\014version_" - + "info\030\005 \001(\t\022\034\n\024service_account_name\030\006 \001(\t" - + "\"d\n\030GetTransferConfigRequest\022H\n\004name\030\001 \001" - + "(\tB:\340A\002\372A4\n2bigquerydatatransfer.googlea" - + "pis.com/TransferConfig\"g\n\033DeleteTransfer" - + "ConfigRequest\022H\n\004name\030\001 \001(\tB:\340A\002\372A4\n2big" - + "querydatatransfer.googleapis.com/Transfe" - + "rConfig\"V\n\025GetTransferRunRequest\022=\n\004name" - + "\030\001 \001(\tB/\340A\002\372A)\n\'bigquerydatatransfer.goo" - + "gleapis.com/Run\"Y\n\030DeleteTransferRunRequ" - + "est\022=\n\004name\030\001 \001(\tB/\340A\002\372A)\n\'bigquerydatat" - + "ransfer.googleapis.com/Run\"\250\001\n\032ListTrans" - + "ferConfigsRequest\022J\n\006parent\030\001 \001(\tB:\340A\002\372A" - + "4\0222bigquerydatatransfer.googleapis.com/T" - + "ransferConfig\022\027\n\017data_source_ids\030\002 \003(\t\022\022" - + "\n\npage_token\030\003 \001(\t\022\021\n\tpage_size\030\004 \001(\005\"\221\001" - + "\n\033ListTransferConfigsResponse\022T\n\020transfe" - + "r_configs\030\001 \003(\01325.google.cloud.bigquery." - + "datatransfer.v1.TransferConfigB\003\340A\003\022\034\n\017n" - + "ext_page_token\030\002 \001(\tB\003\340A\003\"\336\002\n\027ListTransf" - + "erRunsRequest\022?\n\006parent\030\001 \001(\tB/\340A\002\372A)\022\'b" - + "igquerydatatransfer.googleapis.com/Run\022D" - + "\n\006states\030\002 \003(\01624.google.cloud.bigquery.d" - + "atatransfer.v1.TransferState\022\022\n\npage_tok" - + "en\030\003 \001(\t\022\021\n\tpage_size\030\004 \001(\005\022^\n\013run_attem" - + "pt\030\005 \001(\0162I.google.cloud.bigquery.datatra" - + "nsfer.v1.ListTransferRunsRequest.RunAtte" - + "mpt\"5\n\nRunAttempt\022\033\n\027RUN_ATTEMPT_UNSPECI" - + "FIED\020\000\022\n\n\006LATEST\020\001\"\210\001\n\030ListTransferRunsR" - + "esponse\022N\n\rtransfer_runs\030\001 \003(\01322.google." - + "cloud.bigquery.datatransfer.v1.TransferR" - + "unB\003\340A\003\022\034\n\017next_page_token\030\002 \001(\tB\003\340A\003\"\340\001" - + "\n\027ListTransferLogsRequest\022?\n\006parent\030\001 \001(" + + "uration\"\212\001\n\021AuthorizationType\022\"\n\036AUTHORI" + + "ZATION_TYPE_UNSPECIFIED\020\000\022\026\n\022AUTHORIZATI" + + "ON_CODE\020\001\022\"\n\036GOOGLE_PLUS_AUTHORIZATION_C" + + "ODE\020\002\022\025\n\021FIRST_PARTY_OAUTH\020\003\"c\n\017DataRefr" + + "eshType\022!\n\035DATA_REFRESH_TYPE_UNSPECIFIED" + + "\020\000\022\022\n\016SLIDING_WINDOW\020\001\022\031\n\025CUSTOM_SLIDING" + + "_WINDOW\020\002:\245\001\352A\241\001\n.bigquerydatatransfer.g" + + "oogleapis.com/DataSource\022,projects/{proj" + + "ect}/dataSources/{data_source}\022Aprojects" + + "/{project}/locations/{location}/dataSour" + + "ces/{data_source}\"\\\n\024GetDataSourceReques" + + "t\022D\n\004name\030\001 \001(\tB6\340A\002\372A0\n.bigquerydatatra" + + "nsfer.googleapis.com/DataSource\"\207\001\n\026List" + + "DataSourcesRequest\022F\n\006parent\030\001 \001(\tB6\340A\002\372" + + "A0\022.bigquerydatatransfer.googleapis.com/" + + "DataSource\022\022\n\npage_token\030\003 \001(\t\022\021\n\tpage_s" + + "ize\030\004 \001(\005\"\200\001\n\027ListDataSourcesResponse\022G\n" + + "\014data_sources\030\001 \003(\01321.google.cloud.bigqu" + + "ery.datatransfer.v1.DataSource\022\034\n\017next_p" + + "age_token\030\002 \001(\tB\003\340A\003\"\216\002\n\033CreateTransferC" + + "onfigRequest\022J\n\006parent\030\001 \001(\tB:\340A\002\372A4\0222bi" + + "gquerydatatransfer.googleapis.com/Transf" + + "erConfig\022S\n\017transfer_config\030\002 \001(\01325.goog" + + "le.cloud.bigquery.datatransfer.v1.Transf" + + "erConfigB\003\340A\002\022\032\n\022authorization_code\030\003 \001(" + + "\t\022\024\n\014version_info\030\005 \001(\t\022\034\n\024service_accou" + + "nt_name\030\006 \001(\t\"\370\001\n\033UpdateTransferConfigRe" + + "quest\022S\n\017transfer_config\030\001 \001(\01325.google." + + "cloud.bigquery.datatransfer.v1.TransferC" + + "onfigB\003\340A\002\022\032\n\022authorization_code\030\003 \001(\t\0224" + + "\n\013update_mask\030\004 \001(\0132\032.google.protobuf.Fi" + + "eldMaskB\003\340A\002\022\024\n\014version_info\030\005 \001(\t\022\034\n\024se" + + "rvice_account_name\030\006 \001(\t\"d\n\030GetTransferC" + + "onfigRequest\022H\n\004name\030\001 \001(\tB:\340A\002\372A4\n2bigq" + + "uerydatatransfer.googleapis.com/Transfer" + + "Config\"g\n\033DeleteTransferConfigRequest\022H\n" + + "\004name\030\001 \001(\tB:\340A\002\372A4\n2bigquerydatatransfe" + + "r.googleapis.com/TransferConfig\"V\n\025GetTr" + + "ansferRunRequest\022=\n\004name\030\001 \001(\tB/\340A\002\372A)\n\'" + + "bigquerydatatransfer.googleapis.com/Run\"" + + "Y\n\030DeleteTransferRunRequest\022=\n\004name\030\001 \001(" + "\tB/\340A\002\372A)\n\'bigquerydatatransfer.googleap" - + "is.com/Run\022\022\n\npage_token\030\004 \001(\t\022\021\n\tpage_s" - + "ize\030\005 \001(\005\022]\n\rmessage_types\030\006 \003(\0162F.googl" - + "e.cloud.bigquery.datatransfer.v1.Transfe" - + "rMessage.MessageSeverity\"\220\001\n\030ListTransfe" - + "rLogsResponse\022V\n\021transfer_messages\030\001 \003(\013" - + "26.google.cloud.bigquery.datatransfer.v1" - + ".TransferMessageB\003\340A\003\022\034\n\017next_page_token" - + "\030\002 \001(\tB\003\340A\003\"^\n\026CheckValidCredsRequest\022D\n" - + "\004name\030\001 \001(\tB6\340A\002\372A0\n.bigquerydatatransfe" - + "r.googleapis.com/DataSource\"2\n\027CheckVali" - + "dCredsResponse\022\027\n\017has_valid_creds\030\001 \001(\010\"" - + "\321\001\n\033ScheduleTransferRunsRequest\022J\n\006paren" - + "t\030\001 \001(\tB:\340A\002\372A4\n2bigquerydatatransfer.go" - + "ogleapis.com/TransferConfig\0223\n\nstart_tim" - + "e\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\002" - + "\0221\n\010end_time\030\003 \001(\0132\032.google.protobuf.Tim" - + "estampB\003\340A\002\"`\n\034ScheduleTransferRunsRespo" - + "nse\022@\n\004runs\030\001 \003(\01322.google.cloud.bigquer" - + "y.datatransfer.v1.TransferRun\"\207\003\n\036StartM" - + "anualTransferRunsRequest\022G\n\006parent\030\001 \001(\t" - + "B7\372A4\n2bigquerydatatransfer.googleapis.c" - + "om/TransferConfig\022o\n\024requested_time_rang" - + "e\030\003 \001(\0132O.google.cloud.bigquery.datatran" - + "sfer.v1.StartManualTransferRunsRequest.T" - + "imeRangeH\000\0228\n\022requested_run_time\030\004 \001(\0132\032" - + ".google.protobuf.TimestampH\000\032i\n\tTimeRang" - + "e\022.\n\nstart_time\030\001 \001(\0132\032.google.protobuf." - + "Timestamp\022,\n\010end_time\030\002 \001(\0132\032.google.pro" - + "tobuf.TimestampB\006\n\004time\"c\n\037StartManualTr" - + "ansferRunsResponse\022@\n\004runs\030\001 \003(\01322.googl" - + "e.cloud.bigquery.datatransfer.v1.Transfe" - + "rRun2\303\037\n\023DataTransferService\022\346\001\n\rGetData" - + "Source\022;.google.cloud.bigquery.datatrans" - + "fer.v1.GetDataSourceRequest\0321.google.clo" - + "ud.bigquery.datatransfer.v1.DataSource\"e" - + "\202\323\344\223\002X\022//v1/{name=projects/*/locations/*" - + "/dataSources/*}Z%\022#/v1/{name=projects/*/" - + "dataSources/*}\332A\004name\022\371\001\n\017ListDataSource" - + "s\022=.google.cloud.bigquery.datatransfer.v" - + "1.ListDataSourcesRequest\032>.google.cloud." - + "bigquery.datatransfer.v1.ListDataSources" - + "Response\"g\202\323\344\223\002X\022//v1/{parent=projects/*" - + "/locations/*}/dataSourcesZ%\022#/v1/{parent" - + "=projects/*}/dataSources\332A\006parent\022\266\002\n\024Cr" - + "eateTransferConfig\022B.google.cloud.bigque" - + "ry.datatransfer.v1.CreateTransferConfigR" - + "equest\0325.google.cloud.bigquery.datatrans" - + "fer.v1.TransferConfig\"\242\001\202\323\344\223\002\202\001\"3/v1/{pa" - + "rent=projects/*/locations/*}/transferCon" - + "figs:\017transfer_configZ:\"\'/v1/{parent=pro" - + "jects/*}/transferConfigs:\017transfer_confi" - + "g\332A\026parent,transfer_config\022\333\002\n\024UpdateTra" - + "nsferConfig\022B.google.cloud.bigquery.data" - + "transfer.v1.UpdateTransferConfigRequest\032" + + "is.com/Run\"\250\001\n\032ListTransferConfigsReques" + + "t\022J\n\006parent\030\001 \001(\tB:\340A\002\372A4\0222bigquerydatat" + + "ransfer.googleapis.com/TransferConfig\022\027\n" + + "\017data_source_ids\030\002 \003(\t\022\022\n\npage_token\030\003 \001" + + "(\t\022\021\n\tpage_size\030\004 \001(\005\"\221\001\n\033ListTransferCo" + + "nfigsResponse\022T\n\020transfer_configs\030\001 \003(\0132" + "5.google.cloud.bigquery.datatransfer.v1." - + "TransferConfig\"\307\001\202\323\344\223\002\242\0012C/v1/{transfer_" - + "config.name=projects/*/locations/*/trans" - + "ferConfigs/*}:\017transfer_configZJ27/v1/{t" - + "ransfer_config.name=projects/*/transferC" - + "onfigs/*}:\017transfer_config\332A\033transfer_co" - + "nfig,update_mask\022\341\001\n\024DeleteTransferConfi" - + "g\022B.google.cloud.bigquery.datatransfer.v" - + "1.DeleteTransferConfigRequest\032\026.google.p" - + "rotobuf.Empty\"m\202\323\344\223\002`*3/v1/{name=project" - + "s/*/locations/*/transferConfigs/*}Z)*\'/v" - + "1/{name=projects/*/transferConfigs/*}\332A\004" - + "name\022\372\001\n\021GetTransferConfig\022?.google.clou" - + "d.bigquery.datatransfer.v1.GetTransferCo" - + "nfigRequest\0325.google.cloud.bigquery.data" - + "transfer.v1.TransferConfig\"m\202\323\344\223\002`\0223/v1/" - + "{name=projects/*/locations/*/transferCon" - + "figs/*}Z)\022\'/v1/{name=projects/*/transfer" - + "Configs/*}\332A\004name\022\215\002\n\023ListTransferConfig" - + "s\022A.google.cloud.bigquery.datatransfer.v" - + "1.ListTransferConfigsRequest\032B.google.cl" - + "oud.bigquery.datatransfer.v1.ListTransfe" - + "rConfigsResponse\"o\202\323\344\223\002`\0223/v1/{parent=pr" - + "ojects/*/locations/*}/transferConfigsZ)\022" - + "\'/v1/{parent=projects/*}/transferConfigs" - + "\332A\006parent\022\315\002\n\024ScheduleTransferRuns\022B.goo" - + "gle.cloud.bigquery.datatransfer.v1.Sched" - + "uleTransferRunsRequest\032C.google.cloud.bi" - + "gquery.datatransfer.v1.ScheduleTransferR" - + "unsResponse\"\253\001\210\002\001\202\323\344\223\002\204\001\"B/v1/{parent=pr" - + "ojects/*/locations/*/transferConfigs/*}:" - + "scheduleRuns:\001*Z;\"6/v1/{parent=projects/" - + "*/transferConfigs/*}:scheduleRuns:\001*\332A\032p" - + "arent,start_time,end_time\022\274\002\n\027StartManua" - + "lTransferRuns\022E.google.cloud.bigquery.da" - + "tatransfer.v1.StartManualTransferRunsReq" - + "uest\032F.google.cloud.bigquery.datatransfe" - + "r.v1.StartManualTransferRunsResponse\"\221\001\202" - + "\323\344\223\002\212\001\"E/v1/{parent=projects/*/locations" - + "/*/transferConfigs/*}:startManualRuns:\001*" - + "Z>\"9/v1/{parent=projects/*/transferConfi" - + "gs/*}:startManualRuns:\001*\022\377\001\n\016GetTransfer" - + "Run\022<.google.cloud.bigquery.datatransfer" - + ".v1.GetTransferRunRequest\0322.google.cloud" - + ".bigquery.datatransfer.v1.TransferRun\"{\202" - + "\323\344\223\002n\022:/v1/{name=projects/*/locations/*/" - + "transferConfigs/*/runs/*}Z0\022./v1/{name=p" - + "rojects/*/transferConfigs/*/runs/*}\332A\004na" - + "me\022\351\001\n\021DeleteTransferRun\022?.google.cloud." - + "bigquery.datatransfer.v1.DeleteTransferR" - + "unRequest\032\026.google.protobuf.Empty\"{\202\323\344\223\002" - + "n*:/v1/{name=projects/*/locations/*/tran" - + "sferConfigs/*/runs/*}Z0*./v1/{name=proje" - + "cts/*/transferConfigs/*/runs/*}\332A\004name\022\222" - + "\002\n\020ListTransferRuns\022>.google.cloud.bigqu" - + "ery.datatransfer.v1.ListTransferRunsRequ" - + "est\032?.google.cloud.bigquery.datatransfer" - + ".v1.ListTransferRunsResponse\"}\202\323\344\223\002n\022:/v" - + "1/{parent=projects/*/locations/*/transfe" - + "rConfigs/*}/runsZ0\022./v1/{parent=projects" - + "/*/transferConfigs/*}/runs\332A\006parent\022\262\002\n\020" - + "ListTransferLogs\022>.google.cloud.bigquery" - + ".datatransfer.v1.ListTransferLogsRequest" - + "\032?.google.cloud.bigquery.datatransfer.v1" - + ".ListTransferLogsResponse\"\234\001\202\323\344\223\002\214\001\022I/v1" - + "/{parent=projects/*/locations/*/transfer" - + "Configs/*/runs/*}/transferLogsZ?\022=/v1/{p" - + "arent=projects/*/transferConfigs/*/runs/" - + "*}/transferLogs\332A\006parent\022\236\002\n\017CheckValidC" - + "reds\022=.google.cloud.bigquery.datatransfe" - + "r.v1.CheckValidCredsRequest\032>.google.clo" - + "ud.bigquery.datatransfer.v1.CheckValidCr" - + "edsResponse\"\213\001\202\323\344\223\002~\"?/v1/{name=projects" - + "/*/locations/*/dataSources/*}:checkValid" - + "Creds:\001*Z8\"3/v1/{name=projects/*/dataSou" - + "rces/*}:checkValidCreds:\001*\332A\004name\032W\312A#bi" - + "gquerydatatransfer.googleapis.com\322A.http" - + "s://www.googleapis.com/auth/cloud-platfo" - + "rmB\343\001\n)com.google.cloud.bigquery.datatra" - + "nsfer.v1B\021DataTransferProtoP\001ZQgoogle.go" - + "lang.org/genproto/googleapis/cloud/bigqu" - + "ery/datatransfer/v1;datatransfer\252\002%Googl" - + "e.Cloud.BigQuery.DataTransfer.V1\312\002%Googl" - + "e\\Cloud\\BigQuery\\DataTransfer\\V1b\006proto3" + + "TransferConfigB\003\340A\003\022\034\n\017next_page_token\030\002" + + " \001(\tB\003\340A\003\"\336\002\n\027ListTransferRunsRequest\022?\n" + + "\006parent\030\001 \001(\tB/\340A\002\372A)\022\'bigquerydatatrans" + + "fer.googleapis.com/Run\022D\n\006states\030\002 \003(\01624" + + ".google.cloud.bigquery.datatransfer.v1.T" + + "ransferState\022\022\n\npage_token\030\003 \001(\t\022\021\n\tpage" + + "_size\030\004 \001(\005\022^\n\013run_attempt\030\005 \001(\0162I.googl" + + "e.cloud.bigquery.datatransfer.v1.ListTra" + + "nsferRunsRequest.RunAttempt\"5\n\nRunAttemp" + + "t\022\033\n\027RUN_ATTEMPT_UNSPECIFIED\020\000\022\n\n\006LATEST" + + "\020\001\"\210\001\n\030ListTransferRunsResponse\022N\n\rtrans" + + "fer_runs\030\001 \003(\01322.google.cloud.bigquery.d" + + "atatransfer.v1.TransferRunB\003\340A\003\022\034\n\017next_" + + "page_token\030\002 \001(\tB\003\340A\003\"\340\001\n\027ListTransferLo" + + "gsRequest\022?\n\006parent\030\001 \001(\tB/\340A\002\372A)\n\'bigqu" + + "erydatatransfer.googleapis.com/Run\022\022\n\npa" + + "ge_token\030\004 \001(\t\022\021\n\tpage_size\030\005 \001(\005\022]\n\rmes" + + "sage_types\030\006 \003(\0162F.google.cloud.bigquery" + + ".datatransfer.v1.TransferMessage.Message" + + "Severity\"\220\001\n\030ListTransferLogsResponse\022V\n" + + "\021transfer_messages\030\001 \003(\01326.google.cloud." + + "bigquery.datatransfer.v1.TransferMessage" + + "B\003\340A\003\022\034\n\017next_page_token\030\002 \001(\tB\003\340A\003\"^\n\026C" + + "heckValidCredsRequest\022D\n\004name\030\001 \001(\tB6\340A\002" + + "\372A0\n.bigquerydatatransfer.googleapis.com" + + "/DataSource\"2\n\027CheckValidCredsResponse\022\027" + + "\n\017has_valid_creds\030\001 \001(\010\"\321\001\n\033ScheduleTran" + + "sferRunsRequest\022J\n\006parent\030\001 \001(\tB:\340A\002\372A4\n" + + "2bigquerydatatransfer.googleapis.com/Tra" + + "nsferConfig\0223\n\nstart_time\030\002 \001(\0132\032.google" + + ".protobuf.TimestampB\003\340A\002\0221\n\010end_time\030\003 \001" + + "(\0132\032.google.protobuf.TimestampB\003\340A\002\"`\n\034S" + + "cheduleTransferRunsResponse\022@\n\004runs\030\001 \003(" + + "\01322.google.cloud.bigquery.datatransfer.v" + + "1.TransferRun\"\207\003\n\036StartManualTransferRun" + + "sRequest\022G\n\006parent\030\001 \001(\tB7\372A4\n2bigqueryd" + + "atatransfer.googleapis.com/TransferConfi" + + "g\022o\n\024requested_time_range\030\003 \001(\0132O.google" + + ".cloud.bigquery.datatransfer.v1.StartMan" + + "ualTransferRunsRequest.TimeRangeH\000\0228\n\022re" + + "quested_run_time\030\004 \001(\0132\032.google.protobuf" + + ".TimestampH\000\032i\n\tTimeRange\022.\n\nstart_time\030" + + "\001 \001(\0132\032.google.protobuf.Timestamp\022,\n\010end" + + "_time\030\002 \001(\0132\032.google.protobuf.TimestampB" + + "\006\n\004time\"c\n\037StartManualTransferRunsRespon" + + "se\022@\n\004runs\030\001 \003(\01322.google.cloud.bigquery" + + ".datatransfer.v1.TransferRun2\303\037\n\023DataTra" + + "nsferService\022\346\001\n\rGetDataSource\022;.google." + + "cloud.bigquery.datatransfer.v1.GetDataSo" + + "urceRequest\0321.google.cloud.bigquery.data" + + "transfer.v1.DataSource\"e\202\323\344\223\002X\022//v1/{nam" + + "e=projects/*/locations/*/dataSources/*}Z" + + "%\022#/v1/{name=projects/*/dataSources/*}\332A" + + "\004name\022\371\001\n\017ListDataSources\022=.google.cloud" + + ".bigquery.datatransfer.v1.ListDataSource" + + "sRequest\032>.google.cloud.bigquery.datatra" + + "nsfer.v1.ListDataSourcesResponse\"g\202\323\344\223\002X" + + "\022//v1/{parent=projects/*/locations/*}/da" + + "taSourcesZ%\022#/v1/{parent=projects/*}/dat" + + "aSources\332A\006parent\022\266\002\n\024CreateTransferConf" + + "ig\022B.google.cloud.bigquery.datatransfer." + + "v1.CreateTransferConfigRequest\0325.google." + + "cloud.bigquery.datatransfer.v1.TransferC" + + "onfig\"\242\001\202\323\344\223\002\202\001\"3/v1/{parent=projects/*/" + + "locations/*}/transferConfigs:\017transfer_c" + + "onfigZ:\"\'/v1/{parent=projects/*}/transfe" + + "rConfigs:\017transfer_config\332A\026parent,trans" + + "fer_config\022\333\002\n\024UpdateTransferConfig\022B.go" + + "ogle.cloud.bigquery.datatransfer.v1.Upda" + + "teTransferConfigRequest\0325.google.cloud.b" + + "igquery.datatransfer.v1.TransferConfig\"\307" + + "\001\202\323\344\223\002\242\0012C/v1/{transfer_config.name=proj" + + "ects/*/locations/*/transferConfigs/*}:\017t" + + "ransfer_configZJ27/v1/{transfer_config.n" + + "ame=projects/*/transferConfigs/*}:\017trans" + + "fer_config\332A\033transfer_config,update_mask" + + "\022\341\001\n\024DeleteTransferConfig\022B.google.cloud" + + ".bigquery.datatransfer.v1.DeleteTransfer" + + "ConfigRequest\032\026.google.protobuf.Empty\"m\202" + + "\323\344\223\002`*3/v1/{name=projects/*/locations/*/" + + "transferConfigs/*}Z)*\'/v1/{name=projects" + + "/*/transferConfigs/*}\332A\004name\022\372\001\n\021GetTran" + + "sferConfig\022?.google.cloud.bigquery.datat" + + "ransfer.v1.GetTransferConfigRequest\0325.go" + + "ogle.cloud.bigquery.datatransfer.v1.Tran" + + "sferConfig\"m\202\323\344\223\002`\0223/v1/{name=projects/*" + + "/locations/*/transferConfigs/*}Z)\022\'/v1/{" + + "name=projects/*/transferConfigs/*}\332A\004nam" + + "e\022\215\002\n\023ListTransferConfigs\022A.google.cloud" + + ".bigquery.datatransfer.v1.ListTransferCo" + + "nfigsRequest\032B.google.cloud.bigquery.dat" + + "atransfer.v1.ListTransferConfigsResponse" + + "\"o\202\323\344\223\002`\0223/v1/{parent=projects/*/locatio" + + "ns/*}/transferConfigsZ)\022\'/v1/{parent=pro" + + "jects/*}/transferConfigs\332A\006parent\022\315\002\n\024Sc" + + "heduleTransferRuns\022B.google.cloud.bigque" + + "ry.datatransfer.v1.ScheduleTransferRunsR" + + "equest\032C.google.cloud.bigquery.datatrans" + + "fer.v1.ScheduleTransferRunsResponse\"\253\001\210\002" + + "\001\202\323\344\223\002\204\001\"B/v1/{parent=projects/*/locatio" + + "ns/*/transferConfigs/*}:scheduleRuns:\001*Z" + + ";\"6/v1/{parent=projects/*/transferConfig" + + "s/*}:scheduleRuns:\001*\332A\032parent,start_time" + + ",end_time\022\274\002\n\027StartManualTransferRuns\022E." + + "google.cloud.bigquery.datatransfer.v1.St" + + "artManualTransferRunsRequest\032F.google.cl" + + "oud.bigquery.datatransfer.v1.StartManual" + + "TransferRunsResponse\"\221\001\202\323\344\223\002\212\001\"E/v1/{par" + + "ent=projects/*/locations/*/transferConfi" + + "gs/*}:startManualRuns:\001*Z>\"9/v1/{parent=" + + "projects/*/transferConfigs/*}:startManua" + + "lRuns:\001*\022\377\001\n\016GetTransferRun\022<.google.clo" + + "ud.bigquery.datatransfer.v1.GetTransferR" + + "unRequest\0322.google.cloud.bigquery.datatr" + + "ansfer.v1.TransferRun\"{\202\323\344\223\002n\022:/v1/{name" + + "=projects/*/locations/*/transferConfigs/" + + "*/runs/*}Z0\022./v1/{name=projects/*/transf" + + "erConfigs/*/runs/*}\332A\004name\022\351\001\n\021DeleteTra" + + "nsferRun\022?.google.cloud.bigquery.datatra" + + "nsfer.v1.DeleteTransferRunRequest\032\026.goog" + + "le.protobuf.Empty\"{\202\323\344\223\002n*:/v1/{name=pro" + + "jects/*/locations/*/transferConfigs/*/ru" + + "ns/*}Z0*./v1/{name=projects/*/transferCo" + + "nfigs/*/runs/*}\332A\004name\022\222\002\n\020ListTransferR" + + "uns\022>.google.cloud.bigquery.datatransfer" + + ".v1.ListTransferRunsRequest\032?.google.clo" + + "ud.bigquery.datatransfer.v1.ListTransfer" + + "RunsResponse\"}\202\323\344\223\002n\022:/v1/{parent=projec" + + "ts/*/locations/*/transferConfigs/*}/runs" + + "Z0\022./v1/{parent=projects/*/transferConfi" + + "gs/*}/runs\332A\006parent\022\262\002\n\020ListTransferLogs" + + "\022>.google.cloud.bigquery.datatransfer.v1" + + ".ListTransferLogsRequest\032?.google.cloud." + + "bigquery.datatransfer.v1.ListTransferLog" + + "sResponse\"\234\001\202\323\344\223\002\214\001\022I/v1/{parent=project" + + "s/*/locations/*/transferConfigs/*/runs/*" + + "}/transferLogsZ?\022=/v1/{parent=projects/*" + + "/transferConfigs/*/runs/*}/transferLogs\332" + + "A\006parent\022\236\002\n\017CheckValidCreds\022=.google.cl" + + "oud.bigquery.datatransfer.v1.CheckValidC" + + "redsRequest\032>.google.cloud.bigquery.data" + + "transfer.v1.CheckValidCredsResponse\"\213\001\202\323" + + "\344\223\002~\"?/v1/{name=projects/*/locations/*/d" + + "ataSources/*}:checkValidCreds:\001*Z8\"3/v1/" + + "{name=projects/*/dataSources/*}:checkVal" + + "idCreds:\001*\332A\004name\032W\312A#bigquerydatatransf" + + "er.googleapis.com\322A.https://www.googleap" + + "is.com/auth/cloud-platformB\343\001\n)com.googl" + + "e.cloud.bigquery.datatransfer.v1B\021DataTr" + + "ansferProtoP\001ZQgoogle.golang.org/genprot" + + "o/googleapis/cloud/bigquery/datatransfer" + + "/v1;datatransfer\252\002%Google.Cloud.BigQuery" + + ".DataTransfer.V1\312\002%Google\\Cloud\\BigQuery" + + "\\DataTransfer\\V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/RunName.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/RunName.java index 0a8d56ee..0e456825 100644 --- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/RunName.java +++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/RunName.java @@ -22,8 +22,6 @@ import com.google.api.resourcenames.ResourceName; import com.google.common.base.Preconditions; import com.google.common.collect.ImmutableMap; -import java.util.ArrayList; -import java.util.List; import java.util.Map; import java.util.Objects; @@ -182,28 +180,6 @@ public static RunName parse(String formattedString) { throw new ValidationException("JobName.parse: formattedString not in valid format"); } - @BetaApi("The method will be renamed to parseList after subclasses of this class are removed.") - public static List parse(List formattedStrings) { - List list = new ArrayList<>(formattedStrings.size()); - for (String formattedString : formattedStrings) { - list.add(parse(formattedString)); - } - return list; - } - - @BetaApi("The method will be renamed to toStringList after subclasses of this class are removed.") - public static List toStrings(List values) { - List list = new ArrayList<>(values.size()); - for (RunName value : values) { - if (value == null) { - list.add(""); - } else { - list.add(value.toString()); - } - } - return list; - } - public static boolean isParsableFrom(String formattedString) { return PROJECT_TRANSFER_CONFIG_RUN_PATH_TEMPLATE.matches(formattedString) || PROJECT_LOCATION_TRANSFER_CONFIG_RUN_PATH_TEMPLATE.matches(formattedString); diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigName.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigName.java index d3bf416f..16d48ede 100644 --- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigName.java +++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigName.java @@ -22,8 +22,6 @@ import com.google.api.resourcenames.ResourceName; import com.google.common.base.Preconditions; import com.google.common.collect.ImmutableMap; -import java.util.ArrayList; -import java.util.List; import java.util.Map; import java.util.Objects; @@ -153,28 +151,6 @@ public static TransferConfigName parse(String formattedString) { throw new ValidationException("JobName.parse: formattedString not in valid format"); } - @BetaApi("The method will be renamed to parseList after subclasses of this class are removed.") - public static List parse(List formattedStrings) { - List list = new ArrayList<>(formattedStrings.size()); - for (String formattedString : formattedStrings) { - list.add(parse(formattedString)); - } - return list; - } - - @BetaApi("The method will be renamed to toStringList after subclasses of this class are removed.") - public static List toStrings(List values) { - List list = new ArrayList<>(values.size()); - for (TransferConfigName value : values) { - if (value == null) { - list.add(""); - } else { - list.add(value.toString()); - } - } - return list; - } - public static boolean isParsableFrom(String formattedString) { return PROJECT_TRANSFER_CONFIG_PATH_TEMPLATE.matches(formattedString) || PROJECT_LOCATION_TRANSFER_CONFIG_PATH_TEMPLATE.matches(formattedString); diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/proto/google/cloud/bigquery/datatransfer/v1/datatransfer.proto b/proto-google-cloud-bigquerydatatransfer-v1/src/main/proto/google/cloud/bigquery/datatransfer/v1/datatransfer.proto index 37accec9..b04ff99a 100644 --- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/proto/google/cloud/bigquery/datatransfer/v1/datatransfer.proto +++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/proto/google/cloud/bigquery/datatransfer/v1/datatransfer.proto @@ -1,4 +1,4 @@ -// Copyright 2019 Google LLC. +// 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. @@ -11,7 +11,6 @@ // 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. -// syntax = "proto3"; @@ -328,6 +327,11 @@ message DataSource { // Return an authorization code for a given Google+ page that can then be // exchanged for a refresh token on the backend. GOOGLE_PLUS_AUTHORIZATION_CODE = 2; + + // Use First Party Client OAuth. First Party Client OAuth doesn't require a + // refresh token to get an offline access token. Instead, it uses a + // client-signed JWT assertion to retrieve an access token. + FIRST_PARTY_OAUTH = 3; } // Represents how the data source supports data auto refresh. diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/proto/google/cloud/bigquery/datatransfer/v1/transfer.proto b/proto-google-cloud-bigquerydatatransfer-v1/src/main/proto/google/cloud/bigquery/datatransfer/v1/transfer.proto index 6e503b6d..39e31ab6 100644 --- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/proto/google/cloud/bigquery/datatransfer/v1/transfer.proto +++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/proto/google/cloud/bigquery/datatransfer/v1/transfer.proto @@ -1,4 +1,4 @@ -// Copyright 2019 Google LLC. +// 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. @@ -11,7 +11,6 @@ // 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. -// syntax = "proto3"; diff --git a/renovate.json b/renovate.json index fc641270..4586de5a 100644 --- a/renovate.json +++ b/renovate.json @@ -56,7 +56,9 @@ }, { "packagePatterns": [ - "^com.google.cloud:libraries-bom" + "^com.google.cloud:google-cloud-bigquerydatatransfer", + "^com.google.cloud:libraries-bom", + "^com.google.cloud.samples:shared-configuration" ], "semanticCommitType": "chore", "semanticCommitScope": "deps" @@ -75,4 +77,4 @@ } ], "semanticCommits": true -} +} \ No newline at end of file diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index ab01f359..541ced00 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -14,7 +14,7 @@ com.google.cloud.samples shared-configuration - 1.0.12 + 1.0.15 @@ -29,7 +29,7 @@ com.google.cloud google-cloud-bigquerydatatransfer - 0.125.1-beta + 0.125.2-beta diff --git a/samples/pom.xml b/samples/pom.xml index b5a5696b..c1945161 100644 --- a/samples/pom.xml +++ b/samples/pom.xml @@ -18,7 +18,7 @@ com.google.cloud.samples shared-configuration - 1.0.12 + 1.0.15 diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index ce0739b1..55c02d22 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -14,7 +14,7 @@ com.google.cloud.samples shared-configuration - 1.0.12 + 1.0.15 @@ -28,7 +28,7 @@ com.google.cloud google-cloud-bigquerydatatransfer - 0.125.1-beta + 0.125.2-beta diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index 48dd7382..ed50cfc3 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -14,7 +14,7 @@ com.google.cloud.samples shared-configuration - 1.0.12 + 1.0.15 @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 4.2.0 + 4.4.0 pom import diff --git a/synth.metadata b/synth.metadata index 7aa4b2fd..cc83b4be 100644 --- a/synth.metadata +++ b/synth.metadata @@ -1,27 +1,27 @@ { - "updateTime": "2020-03-19T09:03:19.267307Z", + "updateTime": "2020-04-04T08:45:48.400350Z", "sources": [ { "generator": { "name": "artman", - "version": "1.1.1", - "dockerImage": "googleapis/artman@sha256:5ef340c8d9334719bc5c6981d95f4a5d2737b0a6a24f2b9a0d430e96fff85c5b" + "version": "1.2.0", + "dockerImage": "googleapis/artman@sha256:ef1a5b367dbe1e37cea1c7c814c801a638473e8dd66f87f4a2b8c2a146013673" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "275fbcce2c900278d487c33293a3c7e1fbcd3a34", - "internalRef": "301661567", - "log": "275fbcce2c900278d487c33293a3c7e1fbcd3a34\nfeat: pubsub/v1 add an experimental filter field to Subscription\n\nPiperOrigin-RevId: 301661567\n\nf2b18cec51d27c999ad30011dba17f3965677e9c\nFix: UpdateBackupRequest.backup is a resource, not a resource reference - remove annotation.\n\nPiperOrigin-RevId: 301636171\n\n800384063ac93a0cac3a510d41726fa4b2cd4a83\nCloud Billing Budget API v1beta1\nModified api documentation to include warnings about the new filter field.\n\nPiperOrigin-RevId: 301634389\n\n0cc6c146b660db21f04056c3d58a4b752ee445e3\nCloud Billing Budget API v1alpha1\nModified api documentation to include warnings about the new filter field.\n\nPiperOrigin-RevId: 301630018\n\nff2ea00f69065585c3ac0993c8b582af3b6fc215\nFix: Add resource definition for a parent of InspectTemplate which was otherwise missing.\n\nPiperOrigin-RevId: 301623052\n\n55fa441c9daf03173910760191646399338f2b7c\nAdd proto definition for AccessLevel, AccessPolicy, and ServicePerimeter.\n\nPiperOrigin-RevId: 301620844\n\ne7b10591c5408a67cf14ffafa267556f3290e262\nCloud Bigtable Managed Backup service and message proto files.\n\nPiperOrigin-RevId: 301585144\n\nd8e226f702f8ddf92915128c9f4693b63fb8685d\nfeat: Add time-to-live in a queue for builds\n\nPiperOrigin-RevId: 301579876\n\n430375af011f8c7a5174884f0d0e539c6ffa7675\ndocs: add missing closing backtick\n\nPiperOrigin-RevId: 301538851\n\n0e9f1f60ded9ad1c2e725e37719112f5b487ab65\nbazel: Use latest release of gax_java\n\nPiperOrigin-RevId: 301480457\n\n5058c1c96d0ece7f5301a154cf5a07b2ad03a571\nUpdate GAPIC v2 with batching parameters for Logging API\n\nPiperOrigin-RevId: 301443847\n\n" + "sha": "17cfae00f2bb51cb1683f017da7e295a1b0f01a8", + "internalRef": "303992863", + "log": "17cfae00f2bb51cb1683f017da7e295a1b0f01a8\nAdd a new AuthorizationType for Data Source Definition.\n\nPiperOrigin-RevId: 303992863\n\n6da3d64919c006ef40cad2026f1e39084253afe2\nfix(google/maps): Change importpath to developers.google.com/maps/go.\n\nPiperOrigin-RevId: 303976942\n\n2983dccde54f0ce31793e1e628379616c468aea0\nbuild(google/maps): only modify root build.gradle with ext plugin\n\nPiperOrigin-RevId: 303975876\n\n00f0a285f2716ce57e98afe500e450b17b556ff8\nfix: Integerate gapic-generator java_gapic rules Java11 fix\n\nPiperOrigin-RevId: 303899179\n\na62857d26bd2ae15aec13a9244989e4104195b63\nfix: add proto_package to the artman config of dataproc v1beta2 to make artman smoketest pass.\n\nPiperOrigin-RevId: 303853989\n\nf260ba248df934fd4ddc22950fb529a59d79e0b5\nchore: use the latest gapic-generator in googleapis WORKSPACE.\n- PHP multi-pattern resource name support.\n- Trace up only one level when calculating parent types with singleton resource names\n\nPiperOrigin-RevId: 303836059\n\n89c7d455fffa5d8a7e73c2f4da43a74605ed72a6\nfeat: Add client library options to OsConfigService v1 patch APIs.\n\nPiperOrigin-RevId: 303831150\n\na45b0a2a8f6f497547ab531a4da978c76441d076\ndataproc: add back non-default retry parameters.\ncommitter: @hzyi-google\n\nPiperOrigin-RevId: 303830177\n\nad895ce95f1f6d2261fbbc3e8897958294e4f017\nenable gapic v2 for containeranalysis.\ncommitter: @hzyi-google\n\nPiperOrigin-RevId: 303821111\n\nbaf83e521834b67397839bcbe2d7864b49e38787\nAdding \"resource_reference\" annotations to services.\n\nPiperOrigin-RevId: 303791704\n\n7be2811ad17013a5ea24cd75dfd9e399dd6e18fe\nfix: Update gapic-generator version to pickup discogapic fixes\n\nPiperOrigin-RevId: 303545940\n\nb655808b3481a92f478ae2f828a6ce8220e40f32\ncloudasset: add org policy and access context manager protos to client libraries.\n\nPiperOrigin-RevId: 303527638\n\nd8c5da9a9471659b51d5862dd2ea7ad3c4bc49ef\nPopulate BAZEL.build files for AccessContextManager.\n\nPiperOrigin-RevId: 303526825\n\ncf9db7161cb9d4dbef06cd8bf5354ec485e51e2d\nPopulate BAZEL.build files for OrgPolicy.\n\nPiperOrigin-RevId: 303526702\n\n558b800ed594acc02555cc560fbb39c0e42bc438\nchore: turn on gapic v2 for Dataproc API.\nfix:\n- add missing method signatures\n- remove resource_reference not on a string field\n- adjust resource name pattern orders\n\nPiperOrigin-RevId: 303431167\n\n8eb444cf5ff63f68d826acbb37b2ac3da58655fb\nAdd logging protos for Recommender v1beta1.\n\nPiperOrigin-RevId: 303426030\n\n48a166ce9f6e2a88b10947341b37336fe9dd3478\nPush of PHP, C# and Ruby namespaces\n\nPiperOrigin-RevId: 303302813\n\n42f77489b300df2e27c84a7b65c4e8f04da20981\nThis is first release of the API protos and Bazel BUILD files for the Analytics Management API V1alpha.\n\nPiperOrigin-RevId: 303241805\n\n" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "bcad3e01b69851ad682a87f8202003a1683ad73a" + "sha": "e36822bfa0acb355502dab391b8ef9c4f30208d8" } } ], diff --git a/synth.py b/synth.py index 4864b28f..5c11ca66 100644 --- a/synth.py +++ b/synth.py @@ -17,6 +17,8 @@ import synthtool.gcp as gcp import synthtool.languages.java as java +AUTOSYNTH_MULTIPLE_COMMITS = True + gapic = gcp.GAPICGenerator() service = 'bigquery-datatransfer' diff --git a/versions.txt b/versions.txt index 98b78a7a..5a78d9a3 100644 --- a/versions.txt +++ b/versions.txt @@ -1,6 +1,6 @@ # Format: # module:released-version:current-version -proto-google-cloud-bigquerydatatransfer-v1:0.90.2:0.90.2 -grpc-google-cloud-bigquerydatatransfer-v1:0.90.2:0.90.2 -google-cloud-bigquerydatatransfer:0.125.2-beta:0.125.2-beta +proto-google-cloud-bigquerydatatransfer-v1:0.91.0:0.91.0 +grpc-google-cloud-bigquerydatatransfer-v1:0.91.0:0.91.0 +google-cloud-bigquerydatatransfer:0.126.0-beta:0.126.0-beta