Skip to content
This repository was archived by the owner on Feb 24, 2026. It is now read-only.

Commit 7efe427

Browse files
docs(samples): update to v1 in doc URls (#1489)
1 parent d87fe28 commit 7efe427

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

samples/snippets/src/main/java/com/example/bigquerystorage/ParallelWriteCommittedStream.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ private WriteStream createStream(
134134
LOG.info("Creating a new stream");
135135
// Initialize a write stream for the specified table.
136136
// For more information on WriteStream.Type, see:
137-
// https://googleapis.dev/java/google-cloud-bigquerystorage/latest/com/google/cloud/bigquery/storage/v1beta2/WriteStream.Type.html
137+
// https://googleapis.dev/java/google-cloud-bigquerystorage/latest/com/google/cloud/bigquery/storage/v1/WriteStream.Type.html
138138
WriteStream stream = WriteStream.newBuilder().setType(WriteStream.Type.COMMITTED).build();
139139
TableName parentTable = TableName.of(projectId, datasetName, tableName);
140140
CreateWriteStreamRequest createWriteStreamRequest =

samples/snippets/src/main/java/com/example/bigquerystorage/WriteBufferedStream.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public static void writeBufferedStream(String projectId, String datasetName, Str
5151
try (BigQueryWriteClient client = BigQueryWriteClient.create()) {
5252
// Initialize a write stream for the specified table.
5353
// For more information on WriteStream.Type, see:
54-
// https://googleapis.dev/java/google-cloud-bigquerystorage/latest/com/google/cloud/bigquery/storage/v1beta2/WriteStream.Type.html
54+
// https://googleapis.dev/java/google-cloud-bigquerystorage/latest/com/google/cloud/bigquery/storage/v1/WriteStream.Type.html
5555
WriteStream stream = WriteStream.newBuilder().setType(WriteStream.Type.BUFFERED).build();
5656
TableName parentTable = TableName.of(projectId, datasetName, tableName);
5757
CreateWriteStreamRequest createWriteStreamRequest =

samples/snippets/src/main/java/com/example/bigquerystorage/WriteCommittedStream.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public static void writeCommittedStream(String projectId, String datasetName, St
6161

6262
// Use the JSON stream writer to send records in JSON format.
6363
// For more information about JsonStreamWriter, see:
64-
// https://googleapis.dev/java/google-cloud-bigquerystorage/latest/com/google/cloud/bigquery/storage/v1beta2/JsonStreamWriter.html
64+
// https://googleapis.dev/java/google-cloud-bigquerystorage/latest/com/google/cloud/bigquery/storage/v1/JsonStreamWriter.html
6565
try (JsonStreamWriter writer =
6666
JsonStreamWriter.newBuilder(writeStream.getName(), writeStream.getTableSchema())
6767
.build()) {

samples/snippets/src/main/java/com/example/bigquerystorage/WritePendingStream.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public static void writePendingStream(String projectId, String datasetName, Stri
5151
try (BigQueryWriteClient client = BigQueryWriteClient.create()) {
5252
// Initialize a write stream for the specified table.
5353
// For more information on WriteStream.Type, see:
54-
// https://googleapis.dev/java/google-cloud-bigquerystorage/latest/com/google/cloud/bigquery/storage/v1beta2/WriteStream.Type.html
54+
// https://googleapis.dev/java/google-cloud-bigquerystorage/latest/com/google/cloud/bigquery/storage/v1/WriteStream.Type.html
5555
WriteStream stream = WriteStream.newBuilder().setType(WriteStream.Type.PENDING).build();
5656
TableName parentTable = TableName.of(projectId, datasetName, tableName);
5757
CreateWriteStreamRequest createWriteStreamRequest =

samples/snippets/src/main/java/com/example/bigquerystorage/WriteToDefaultStream.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public static void writeToDefaultStream(String projectId, String datasetName, St
5353

5454
// Use the JSON stream writer to send records in JSON format.
5555
// For more information about JsonStreamWriter, see:
56-
// https://googleapis.dev/java/google-cloud-bigquerystorage/latest/com/google/cloud/bigquery/storage/v1beta2/JsonStreamWriter.html
56+
// https://googleapis.dev/java/google-cloud-bigquerystorage/latest/com/google/cloud/bigquery/storage/v1/JsonStreamWriter.html
5757
try (JsonStreamWriter writer =
5858
JsonStreamWriter.newBuilder(parentTable.toString(), tableSchema).build()) {
5959
// Write two batches to the stream, each with 10 JSON records. A writer should be used for as

0 commit comments

Comments
 (0)