Skip to content

Commit 1851064

Browse files
fix(docs): configuration.copy link (#709)
fix(docs): configuration.copy link
1 parent 0638a4d commit 1851064

1 file changed

Lines changed: 21 additions & 24 deletions

File tree

handwritten/bigquery/src/table.ts

Lines changed: 21 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -560,9 +560,10 @@ class Table extends common.ServiceObject {
560560
*
561561
* @param {Table} destination The destination table.
562562
* @param {object} [metadata] Metadata to set with the copy operation. The
563-
* metadata object should be in the format of the
564-
* [`configuration.copy`](http://goo.gl/dKWIyS) property of a Jobs
565-
* resource.
563+
* metadata object should be in the format of a
564+
* [`JobConfigurationTableCopy`](https://cloud.google.com/bigquery/docs/reference/rest/v2/Job#JobConfigurationTableCopy)
565+
* object.
566+
* object.
566567
* @param {string} [metadata.jobId] Custom id for the underlying job.
567568
* @param {string} [metadata.jobPrefix] Prefix to apply to the underlying job
568569
* id.
@@ -584,9 +585,8 @@ class Table extends common.ServiceObject {
584585
* table.copy(yourTable, (err, apiResponse) => {});
585586
*
586587
* //-
587-
* // See the <a href="http://goo.gl/dKWIyS">`configuration.copy`</a> object
588-
* for
589-
* // all available options.
588+
* // See https://cloud.google.com/bigquery/docs/reference/rest/v2/Job#JobConfigurationTableCopy
589+
* // for all available options.
590590
* //-
591591
* const metadata = {
592592
* createDisposition: 'CREATE_NEVER',
@@ -643,9 +643,9 @@ class Table extends common.ServiceObject {
643643
* @param {Table|Table[]} sourceTables The
644644
* source table(s) to copy data from.
645645
* @param {object=} metadata Metadata to set with the copy operation. The
646-
* metadata object should be in the format of the
647-
* [`configuration.copy`](http://goo.gl/dKWIyS) property of a Jobs
648-
* resource.
646+
* metadata object should be in the format of a
647+
* [`JobConfigurationTableCopy`](https://cloud.google.com/bigquery/docs/reference/rest/v2/Job#JobConfigurationTableCopy)
648+
* object.
649649
* @param {string} [metadata.jobId] Custom id for the underlying job.
650650
* @param {string} [metadata.jobPrefix] Prefix to apply to the underlying job
651651
* id.
@@ -670,9 +670,8 @@ class Table extends common.ServiceObject {
670670
* table.copyFrom(sourceTables, (err, apiResponse) => {});
671671
*
672672
* //-
673-
* // See the <a href="http://goo.gl/dKWIyS">`configuration.copy`</a> object
674-
* for
675-
* // all available options.
673+
* // See https://cloud.google.com/bigquery/docs/reference/rest/v2/Job#JobConfigurationTableCopy
674+
* // for all available options.
676675
* //-
677676
* const metadata = {
678677
* createDisposition: 'CREATE_NEVER',
@@ -725,9 +724,9 @@ class Table extends common.ServiceObject {
725724
*
726725
* @param {Table} destination The destination table.
727726
* @param {object} [metadata] Metadata to set with the copy operation. The
728-
* metadata object should be in the format of the
729-
* [`configuration.copy`](http://goo.gl/dKWIyS) property of a Jobs
730-
* resource.
727+
* metadata object should be in the format of a
728+
* [`JobConfigurationTableCopy`](https://cloud.google.com/bigquery/docs/reference/rest/v2/Job#JobConfigurationTableCopy)
729+
* object.
731730
* @param {string} [metadata.jobId] Custom job id.
732731
* @param {string} [metadata.jobPrefix] Prefix to apply to the job id.
733732
* @param {function} [callback] The callback function.
@@ -751,9 +750,8 @@ class Table extends common.ServiceObject {
751750
* });
752751
*
753752
* //-
754-
* // See the <a href="http://goo.gl/dKWIyS">`configuration.copy`</a> object
755-
* for
756-
* // all available options.
753+
* // See https://cloud.google.com/bigquery/docs/reference/rest/v2/Job#JobConfigurationTableCopy
754+
* // for all available options.
757755
* //-
758756
* const metadata = {
759757
* createDisposition: 'CREATE_NEVER',
@@ -838,9 +836,9 @@ class Table extends common.ServiceObject {
838836
* @param {Table|Table[]} sourceTables The
839837
* source table(s) to copy data from.
840838
* @param {object} [metadata] Metadata to set with the copy operation. The
841-
* metadata object should be in the format of the
842-
* [`configuration.copy`](http://goo.gl/dKWIyS) property of a Jobs
843-
* resource.
839+
* metadata object should be in the format of a
840+
* [`JobConfigurationTableCopy`](https://cloud.google.com/bigquery/docs/reference/rest/v2/Job#JobConfigurationTableCopy)
841+
* object.
844842
* @param {string} [metadata.jobId] Custom job id.
845843
* @param {string} [metadata.jobPrefix] Prefix to apply to the job id.
846844
* @param {function} [callback] The callback function.
@@ -870,9 +868,8 @@ class Table extends common.ServiceObject {
870868
* table.createCopyFromJob(sourceTables, callback);
871869
*
872870
* //-
873-
* // See the <a href="http://goo.gl/dKWIyS">`configuration.copy`</a> object
874-
* for
875-
* // all available options.
871+
* // See https://cloud.google.com/bigquery/docs/reference/rest/v2/Job#JobConfigurationTableCopy
872+
* // for all available options.
876873
* //-
877874
* const metadata = {
878875
* createDisposition: 'CREATE_NEVER',

0 commit comments

Comments
 (0)