File tree Expand file tree Collapse file tree
branches/autosynth-websecurityscanner/google-cloud-clients/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ refs/heads/autosynth-speech: c563dcd420cce0a37c39b1b9c24be1b9ba604dc7
142142refs/heads/autosynth-tasks: 25d1eafe8cb66b00e3dad765dac74a5b45b83e63
143143refs/heads/autosynth-texttospeech: 7a3ad430dddaed7a76f2026064502680c9339915
144144refs/heads/autosynth-trace: 31564421a4b29f8257a6daea7f9a19838ac6459f
145- refs/heads/autosynth-websecurityscanner: 00380dafe87787f2a3bdbdaf820b68d7a442bdf8
145+ refs/heads/autosynth-websecurityscanner: 32551b2fa80878e3a7a47f2b1f5fc784b69f2cdb
146146refs/heads/bigquerystorage: 06db74d123d7f8a3ef48755c2fcabed09faf8e64
147147refs/heads/elharo-patch-1: ce159ef828d3c545991ff78e7b6e0d912a9453e9
148148refs/heads/snyk-fix-r0punm: 1f0e6519ffd9f6cc09bcce1ccdf3fb61b6f4f9b5
Original file line number Diff line number Diff line change @@ -673,22 +673,13 @@ public int hashCode() {
673673 /**
674674 * Deletes the requested table.
675675 *
676- * <p>Example of deleting a table.
677- *
678- * <pre>{@code
679- * String datasetName = "my_dataset_name";
680- * String tableName = "my_table_name";
681- * boolean deleted = bigquery.delete(datasetName, tableName);
682- * if (deleted) {
683- * // the table was deleted
684- * } else {
685- * // the table was not found
686- * }
687- * }</pre>
688- *
676+ * @deprecated Now that BigQuery datasets contain multiple resource types, this invocation is
677+ * ambiguous. Please use more strongly typed version of {@code #delete} that leverages an
678+ * non-ambiguous resource type identifier such as {@code TableId}.
689679 * @return {@code true} if table was deleted, {@code false} if it was not found
690680 * @throws BigQueryException upon failure
691681 */
682+ @ Deprecated
692683 boolean delete (String datasetId , String tableId );
693684
694685 /**
You can’t perform that action at this time.
0 commit comments