From b920cd59756b9db60026035605447236d4a0adf0 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Fri, 3 Sep 2021 01:34:29 +0000 Subject: [PATCH] docs: Align session length with public documentation feat: Align ReadRows timeout with other versions of the API. (#1281) - [ ] Regenerate this pull request now. Committer: @emkornfield PiperOrigin-RevId: 394308710 Source-Link: https://github.com/googleapis/googleapis/commit/1549a69af196ca062870211083f2856b0870d45c Source-Link: https://github.com/googleapis/googleapis-gen/commit/40b5e7dd36d0b4a67f4cb41ad2e2f670700404ca --- .../bigquery/storage/v1beta2/BaseBigQueryReadClient.java | 8 ++++---- .../storage/v1beta2/stub/BigQueryWriteStubSettings.java | 6 +++--- .../cloud/bigquery/storage/v1beta2/BigQueryReadGrpc.java | 8 ++++---- .../google/cloud/bigquery/storage/v1beta2/storage.proto | 2 +- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BaseBigQueryReadClient.java b/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BaseBigQueryReadClient.java index 41471a43d4..e722802218 100644 --- a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BaseBigQueryReadClient.java +++ b/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BaseBigQueryReadClient.java @@ -167,7 +167,7 @@ public BigQueryReadStub getStub() { * limits are enforced based on the number of pre-filtered rows, so some filters can lead to * lopsided assignments. * - *

Read sessions automatically expire 24 hours after they are created and do not require manual + *

Read sessions automatically expire 6 hours after they are created and do not require manual * clean-up by the caller. * *

Sample code: @@ -220,7 +220,7 @@ public final ReadSession createReadSession( * limits are enforced based on the number of pre-filtered rows, so some filters can lead to * lopsided assignments. * - *

Read sessions automatically expire 24 hours after they are created and do not require manual + *

Read sessions automatically expire 6 hours after they are created and do not require manual * clean-up by the caller. * *

Sample code: @@ -273,7 +273,7 @@ public final ReadSession createReadSession( * limits are enforced based on the number of pre-filtered rows, so some filters can lead to * lopsided assignments. * - *

Read sessions automatically expire 24 hours after they are created and do not require manual + *

Read sessions automatically expire 6 hours after they are created and do not require manual * clean-up by the caller. * *

Sample code: @@ -313,7 +313,7 @@ public final ReadSession createReadSession(CreateReadSessionRequest request) { * limits are enforced based on the number of pre-filtered rows, so some filters can lead to * lopsided assignments. * - *

Read sessions automatically expire 24 hours after they are created and do not require manual + *

Read sessions automatically expire 6 hours after they are created and do not require manual * clean-up by the caller. * *

Sample code: diff --git a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/BigQueryWriteStubSettings.java b/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/BigQueryWriteStubSettings.java index 738beadb51..202bf003be 100644 --- a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/BigQueryWriteStubSettings.java +++ b/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/BigQueryWriteStubSettings.java @@ -283,10 +283,10 @@ public static class Builder extends StubSettings.Builder */ @@ -372,7 +372,7 @@ protected BigQueryReadStub build(io.grpc.Channel channel, io.grpc.CallOptions ca * each stream will return the same number or rows. Additionally, the * limits are enforced based on the number of pre-filtered rows, so some * filters can lead to lopsided assignments. - * Read sessions automatically expire 24 hours after they are created and do + * Read sessions automatically expire 6 hours after they are created and do * not require manual clean-up by the caller. * */ @@ -475,7 +475,7 @@ protected BigQueryReadBlockingStub build( * each stream will return the same number or rows. Additionally, the * limits are enforced based on the number of pre-filtered rows, so some * filters can lead to lopsided assignments. - * Read sessions automatically expire 24 hours after they are created and do + * Read sessions automatically expire 6 hours after they are created and do * not require manual clean-up by the caller. * */ @@ -567,7 +567,7 @@ protected BigQueryReadFutureStub build( * each stream will return the same number or rows. Additionally, the * limits are enforced based on the number of pre-filtered rows, so some * filters can lead to lopsided assignments. - * Read sessions automatically expire 24 hours after they are created and do + * Read sessions automatically expire 6 hours after they are created and do * not require manual clean-up by the caller. * */ diff --git a/proto-google-cloud-bigquerystorage-v1beta2/src/main/proto/google/cloud/bigquery/storage/v1beta2/storage.proto b/proto-google-cloud-bigquerystorage-v1beta2/src/main/proto/google/cloud/bigquery/storage/v1beta2/storage.proto index 8c25b84612..32d9310132 100644 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/proto/google/cloud/bigquery/storage/v1beta2/storage.proto +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/proto/google/cloud/bigquery/storage/v1beta2/storage.proto @@ -64,7 +64,7 @@ service BigQueryRead { // limits are enforced based on the number of pre-filtered rows, so some // filters can lead to lopsided assignments. // - // Read sessions automatically expire 24 hours after they are created and do + // Read sessions automatically expire 6 hours after they are created and do // not require manual clean-up by the caller. rpc CreateReadSession(CreateReadSessionRequest) returns (ReadSession) { option (google.api.http) = {