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'
60
60
If you are using Gradle without BOM, add this to your dependencies:
61
61
62
62
``` Groovy
63
- implementation 'com.google.cloud:google-cloud-bigquery:2.27.1 '
63
+ implementation 'com.google.cloud:google-cloud-bigquery:2.28.0 '
64
64
```
65
65
66
66
If you are using SBT, add this to your dependencies:
67
67
68
68
``` Scala
69
- libraryDependencies += " com.google.cloud" % " google-cloud-bigquery" % " 2.27.1 "
69
+ libraryDependencies += " com.google.cloud" % " google-cloud-bigquery" % " 2.28.0 "
70
70
```
71
71
<!-- {x-version-update-end} -->
72
72
@@ -351,7 +351,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
351
351
[ kokoro-badge-link-5 ] : http://storage.googleapis.com/cloud-devrel-public/java/badges/java-bigquery/java11.html
352
352
[ stability-image ] : https://img.shields.io/badge/stability-stable-green
353
353
[ 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
355
355
[ authentication ] : https://github.com/googleapis/google-cloud-java#authentication
356
356
[ auth-scopes ] : https://developers.google.com/identity/protocols/oauth2/scopes
357
357
[ predefined-iam-roles ] : https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
Original file line number Diff line number Diff line change 30
30
public class BigQueryOptions extends ServiceOptions <BigQuery , BigQueryOptions > {
31
31
32
32
private static final String API_SHORT_NAME = "BigQuery" ;
33
+ private static final int DEFAULT_READ_API_TIME_OUT = 60000 ;
33
34
private static final String BIGQUERY_SCOPE = "https://www.googleapis.com/auth/bigquery" ;
34
35
private static final Set <String > SCOPES = ImmutableSet .of (BIGQUERY_SCOPE );
35
36
private static final long serialVersionUID = -2437598817433266049L ;
@@ -113,7 +114,7 @@ public TransportOptions getDefaultTransportOptions() {
113
114
}
114
115
115
116
public static HttpTransportOptions getDefaultHttpTransportOptions () {
116
- return HttpTransportOptions .newBuilder ().build ();
117
+ return HttpTransportOptions .newBuilder ().setReadTimeout ( DEFAULT_READ_API_TIME_OUT ). build ();
117
118
}
118
119
119
120
@ Override
0 commit comments