File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
google-cloud-bigquery/src/main/java/com/google/cloud/bigquery Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -60,13 +60,13 @@ implementation 'com.google.cloud:google-cloud-bigquery'
6060If you are using Gradle without BOM, add this to your dependencies:
6161
6262``` Groovy
63- implementation 'com.google.cloud:google-cloud-bigquery:2.27.1 '
63+ implementation 'com.google.cloud:google-cloud-bigquery:2.28.0 '
6464```
6565
6666If you are using SBT, add this to your dependencies:
6767
6868``` Scala
69- libraryDependencies += " com.google.cloud" % " google-cloud-bigquery" % " 2.27.1 "
69+ libraryDependencies += " com.google.cloud" % " google-cloud-bigquery" % " 2.28.0 "
7070```
7171<!-- {x-version-update-end} -->
7272
@@ -351,7 +351,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
351351[ kokoro-badge-link-5 ] : http://storage.googleapis.com/cloud-devrel-public/java/badges/java-bigquery/java11.html
352352[ stability-image ] : https://img.shields.io/badge/stability-stable-green
353353[ maven-version-image ] : https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-bigquery.svg
354- [ maven-version-link ] : https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigquery/2.27.1
354+ [ maven-version-link ] : https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigquery/2.28.0
355355[ authentication ] : https://github.com/googleapis/google-cloud-java#authentication
356356[ auth-scopes ] : https://developers.google.com/identity/protocols/oauth2/scopes
357357[ predefined-iam-roles ] : https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
Original file line number Diff line number Diff line change 3030public class BigQueryOptions extends ServiceOptions <BigQuery , BigQueryOptions > {
3131
3232 private static final String API_SHORT_NAME = "BigQuery" ;
33+ private static final int DEFAULT_READ_API_TIME_OUT = 60000 ;
3334 private static final String BIGQUERY_SCOPE = "https://www.googleapis.com/auth/bigquery" ;
3435 private static final Set <String > SCOPES = ImmutableSet .of (BIGQUERY_SCOPE );
3536 private static final long serialVersionUID = -2437598817433266049L ;
@@ -113,7 +114,7 @@ public TransportOptions getDefaultTransportOptions() {
113114 }
114115
115116 public static HttpTransportOptions getDefaultHttpTransportOptions () {
116- return HttpTransportOptions .newBuilder ().build ();
117+ return HttpTransportOptions .newBuilder ().setReadTimeout ( DEFAULT_READ_API_TIME_OUT ). build ();
117118 }
118119
119120 @ Override
You can’t perform that action at this time.
0 commit comments