From f5e94c7174b4d644dfee4b9a7cf7d06cba1a73fe Mon Sep 17 00:00:00 2001 From: yoshi-automation Date: Wed, 5 Feb 2020 04:10:09 -0800 Subject: [PATCH] [CHANGE ME] Re-generated to pick up changes in the API or client library generator. --- README.md | 10 + samples/README.md | 180 ++++++++++++++++ synth.metadata | 526 +--------------------------------------------- 3 files changed, 191 insertions(+), 525 deletions(-) diff --git a/README.md b/README.md index d02351296..73b800dc2 100644 --- a/README.md +++ b/README.md @@ -87,8 +87,11 @@ has instructions for running the samples. | Copy Table | [source code](https://github.com/googleapis/nodejs-bigquery/blob/master/samples/copyTable.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-bigquery&page=editor&open_in_editor=samples/copyTable.js,samples/README.md) | | Copy Table Multiple Source | [source code](https://github.com/googleapis/nodejs-bigquery/blob/master/samples/copyTableMultipleSource.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-bigquery&page=editor&open_in_editor=samples/copyTableMultipleSource.js,samples/README.md) | | Create Dataset | [source code](https://github.com/googleapis/nodejs-bigquery/blob/master/samples/createDataset.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-bigquery&page=editor&open_in_editor=samples/createDataset.js,samples/README.md) | +| Create Job | [source code](https://github.com/googleapis/nodejs-bigquery/blob/master/samples/createJob.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-bigquery&page=editor&open_in_editor=samples/createJob.js,samples/README.md) | | Create Table | [source code](https://github.com/googleapis/nodejs-bigquery/blob/master/samples/createTable.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-bigquery&page=editor&open_in_editor=samples/createTable.js,samples/README.md) | | Create Table Partitioned | [source code](https://github.com/googleapis/nodejs-bigquery/blob/master/samples/createTablePartitioned.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-bigquery&page=editor&open_in_editor=samples/createTablePartitioned.js,samples/README.md) | +| Create View | [source code](https://github.com/googleapis/nodejs-bigquery/blob/master/samples/createView.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-bigquery&page=editor&open_in_editor=samples/createView.js,samples/README.md) | +| Ddl Create View | [source code](https://github.com/googleapis/nodejs-bigquery/blob/master/samples/ddlCreateView.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-bigquery&page=editor&open_in_editor=samples/ddlCreateView.js,samples/README.md) | | Delete Dataset | [source code](https://github.com/googleapis/nodejs-bigquery/blob/master/samples/deleteDataset.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-bigquery&page=editor&open_in_editor=samples/deleteDataset.js,samples/README.md) | | Delete Label Dataset | [source code](https://github.com/googleapis/nodejs-bigquery/blob/master/samples/deleteLabelDataset.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-bigquery&page=editor&open_in_editor=samples/deleteLabelDataset.js,samples/README.md) | | Delete Label Table | [source code](https://github.com/googleapis/nodejs-bigquery/blob/master/samples/deleteLabelTable.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-bigquery&page=editor&open_in_editor=samples/deleteLabelTable.js,samples/README.md) | @@ -103,6 +106,7 @@ has instructions for running the samples. | BigQuery Get Model | [source code](https://github.com/googleapis/nodejs-bigquery/blob/master/samples/getModel.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-bigquery&page=editor&open_in_editor=samples/getModel.js,samples/README.md) | | BigQuery Get Table | [source code](https://github.com/googleapis/nodejs-bigquery/blob/master/samples/getTable.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-bigquery&page=editor&open_in_editor=samples/getTable.js,samples/README.md) | | Get Table Labels | [source code](https://github.com/googleapis/nodejs-bigquery/blob/master/samples/getTableLabels.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-bigquery&page=editor&open_in_editor=samples/getTableLabels.js,samples/README.md) | +| Get View | [source code](https://github.com/googleapis/nodejs-bigquery/blob/master/samples/getView.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-bigquery&page=editor&open_in_editor=samples/getView.js,samples/README.md) | | Insert Rows As Stream | [source code](https://github.com/googleapis/nodejs-bigquery/blob/master/samples/insertRowsAsStream.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-bigquery&page=editor&open_in_editor=samples/insertRowsAsStream.js,samples/README.md) | | BigQuery Label Dataset | [source code](https://github.com/googleapis/nodejs-bigquery/blob/master/samples/labelDataset.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-bigquery&page=editor&open_in_editor=samples/labelDataset.js,samples/README.md) | | Label Table | [source code](https://github.com/googleapis/nodejs-bigquery/blob/master/samples/labelTable.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-bigquery&page=editor&open_in_editor=samples/labelTable.js,samples/README.md) | @@ -121,11 +125,14 @@ has instructions for running the samples. | Load Local File | [source code](https://github.com/googleapis/nodejs-bigquery/blob/master/samples/loadLocalFile.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-bigquery&page=editor&open_in_editor=samples/loadLocalFile.js,samples/README.md) | | Load Orc From GCS Truncate | [source code](https://github.com/googleapis/nodejs-bigquery/blob/master/samples/loadOrcFromGCSTruncate.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-bigquery&page=editor&open_in_editor=samples/loadOrcFromGCSTruncate.js,samples/README.md) | | Load Parquet From GCS Truncate | [source code](https://github.com/googleapis/nodejs-bigquery/blob/master/samples/loadParquetFromGCSTruncate.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-bigquery&page=editor&open_in_editor=samples/loadParquetFromGCSTruncate.js,samples/README.md) | +| Load Table GCS Avro | [source code](https://github.com/googleapis/nodejs-bigquery/blob/master/samples/loadTableGCSAvro.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-bigquery&page=editor&open_in_editor=samples/loadTableGCSAvro.js,samples/README.md) | +| Load Table GCS Avro Truncate | [source code](https://github.com/googleapis/nodejs-bigquery/blob/master/samples/loadTableGCSAvroTruncate.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-bigquery&page=editor&open_in_editor=samples/loadTableGCSAvroTruncate.js,samples/README.md) | | Load Table GCSORC | [source code](https://github.com/googleapis/nodejs-bigquery/blob/master/samples/loadTableGCSORC.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-bigquery&page=editor&open_in_editor=samples/loadTableGCSORC.js,samples/README.md) | | Load Table GCS Parquet | [source code](https://github.com/googleapis/nodejs-bigquery/blob/master/samples/loadTableGCSParquet.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-bigquery&page=editor&open_in_editor=samples/loadTableGCSParquet.js,samples/README.md) | | Load Table Partitioned | [source code](https://github.com/googleapis/nodejs-bigquery/blob/master/samples/loadTablePartitioned.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-bigquery&page=editor&open_in_editor=samples/loadTablePartitioned.js,samples/README.md) | | Nested Repeated Schema | [source code](https://github.com/googleapis/nodejs-bigquery/blob/master/samples/nestedRepeatedSchema.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-bigquery&page=editor&open_in_editor=samples/nestedRepeatedSchema.js,samples/README.md) | | Query | [source code](https://github.com/googleapis/nodejs-bigquery/blob/master/samples/query.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-bigquery&page=editor&open_in_editor=samples/query.js,samples/README.md) | +| Query Batch | [source code](https://github.com/googleapis/nodejs-bigquery/blob/master/samples/queryBatch.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-bigquery&page=editor&open_in_editor=samples/queryBatch.js,samples/README.md) | | Query Destination Table | [source code](https://github.com/googleapis/nodejs-bigquery/blob/master/samples/queryDestinationTable.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-bigquery&page=editor&open_in_editor=samples/queryDestinationTable.js,samples/README.md) | | Query Disable Cache | [source code](https://github.com/googleapis/nodejs-bigquery/blob/master/samples/queryDisableCache.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-bigquery&page=editor&open_in_editor=samples/queryDisableCache.js,samples/README.md) | | Query Dry Run | [source code](https://github.com/googleapis/nodejs-bigquery/blob/master/samples/queryDryRun.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-bigquery&page=editor&open_in_editor=samples/queryDryRun.js,samples/README.md) | @@ -140,12 +147,15 @@ has instructions for running the samples. | Quickstart | [source code](https://github.com/googleapis/nodejs-bigquery/blob/master/samples/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-bigquery&page=editor&open_in_editor=samples/quickstart.js,samples/README.md) | | Relax Column | [source code](https://github.com/googleapis/nodejs-bigquery/blob/master/samples/relaxColumn.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-bigquery&page=editor&open_in_editor=samples/relaxColumn.js,samples/README.md) | | Relax Column Load Append | [source code](https://github.com/googleapis/nodejs-bigquery/blob/master/samples/relaxColumnLoadAppend.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-bigquery&page=editor&open_in_editor=samples/relaxColumnLoadAppend.js,samples/README.md) | +| Relax Column Query Append | [source code](https://github.com/googleapis/nodejs-bigquery/blob/master/samples/relaxColumnQueryAppend.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-bigquery&page=editor&open_in_editor=samples/relaxColumnQueryAppend.js,samples/README.md) | +| Undelete Table | [source code](https://github.com/googleapis/nodejs-bigquery/blob/master/samples/undeleteTable.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-bigquery&page=editor&open_in_editor=samples/undeleteTable.js,samples/README.md) | | Update Dataset Access | [source code](https://github.com/googleapis/nodejs-bigquery/blob/master/samples/updateDatasetAccess.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-bigquery&page=editor&open_in_editor=samples/updateDatasetAccess.js,samples/README.md) | | Update Dataset Description | [source code](https://github.com/googleapis/nodejs-bigquery/blob/master/samples/updateDatasetDescription.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-bigquery&page=editor&open_in_editor=samples/updateDatasetDescription.js,samples/README.md) | | Update Dataset Expiration | [source code](https://github.com/googleapis/nodejs-bigquery/blob/master/samples/updateDatasetExpiration.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-bigquery&page=editor&open_in_editor=samples/updateDatasetExpiration.js,samples/README.md) | | BigQuery Update Model | [source code](https://github.com/googleapis/nodejs-bigquery/blob/master/samples/updateModel.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-bigquery&page=editor&open_in_editor=samples/updateModel.js,samples/README.md) | | Update Table Description | [source code](https://github.com/googleapis/nodejs-bigquery/blob/master/samples/updateTableDescription.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-bigquery&page=editor&open_in_editor=samples/updateTableDescription.js,samples/README.md) | | Update Table Expiration | [source code](https://github.com/googleapis/nodejs-bigquery/blob/master/samples/updateTableExpiration.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-bigquery&page=editor&open_in_editor=samples/updateTableExpiration.js,samples/README.md) | +| Update View Query | [source code](https://github.com/googleapis/nodejs-bigquery/blob/master/samples/updateViewQuery.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-bigquery&page=editor&open_in_editor=samples/updateViewQuery.js,samples/README.md) | diff --git a/samples/README.md b/samples/README.md index f59a3c81d..29e524d44 100644 --- a/samples/README.md +++ b/samples/README.md @@ -21,8 +21,11 @@ * [Copy Table](#copy-table) * [Copy Table Multiple Source](#copy-table-multiple-source) * [Create Dataset](#create-dataset) + * [Create Job](#create-job) * [Create Table](#create-table) * [Create Table Partitioned](#create-table-partitioned) + * [Create View](#create-view) + * [Ddl Create View](#ddl-create-view) * [Delete Dataset](#delete-dataset) * [Delete Label Dataset](#delete-label-dataset) * [Delete Label Table](#delete-label-table) @@ -37,6 +40,7 @@ * [BigQuery Get Model](#bigquery-get-model) * [BigQuery Get Table](#bigquery-get-table) * [Get Table Labels](#get-table-labels) + * [Get View](#get-view) * [Insert Rows As Stream](#insert-rows-as-stream) * [BigQuery Label Dataset](#bigquery-label-dataset) * [Label Table](#label-table) @@ -55,11 +59,14 @@ * [Load Local File](#load-local-file) * [Load Orc From GCS Truncate](#load-orc-from-gcs-truncate) * [Load Parquet From GCS Truncate](#load-parquet-from-gcs-truncate) + * [Load Table GCS Avro](#load-table-gcs-avro) + * [Load Table GCS Avro Truncate](#load-table-gcs-avro-truncate) * [Load Table GCSORC](#load-table-gcsorc) * [Load Table GCS Parquet](#load-table-gcs-parquet) * [Load Table Partitioned](#load-table-partitioned) * [Nested Repeated Schema](#nested-repeated-schema) * [Query](#query) + * [Query Batch](#query-batch) * [Query Destination Table](#query-destination-table) * [Query Disable Cache](#query-disable-cache) * [Query Dry Run](#query-dry-run) @@ -74,12 +81,15 @@ * [Quickstart](#quickstart) * [Relax Column](#relax-column) * [Relax Column Load Append](#relax-column-load-append) + * [Relax Column Query Append](#relax-column-query-append) + * [Undelete Table](#undelete-table) * [Update Dataset Access](#update-dataset-access) * [Update Dataset Description](#update-dataset-description) * [Update Dataset Expiration](#update-dataset-expiration) * [BigQuery Update Model](#bigquery-update-model) * [Update Table Description](#update-table-description) * [Update Table Expiration](#update-table-expiration) + * [Update View Query](#update-view-query) ## Before you begin @@ -249,6 +259,23 @@ __Usage:__ +### Create Job + +View the [source code](https://github.com/googleapis/nodejs-bigquery/blob/master/samples/createJob.js). + +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-bigquery&page=editor&open_in_editor=samples/createJob.js,samples/README.md) + +__Usage:__ + + +`node samples/createJob.js` + + +----- + + + + ### Create Table View the [source code](https://github.com/googleapis/nodejs-bigquery/blob/master/samples/createTable.js). @@ -283,6 +310,40 @@ __Usage:__ +### Create View + +View the [source code](https://github.com/googleapis/nodejs-bigquery/blob/master/samples/createView.js). + +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-bigquery&page=editor&open_in_editor=samples/createView.js,samples/README.md) + +__Usage:__ + + +`node samples/createView.js` + + +----- + + + + +### Ddl Create View + +View the [source code](https://github.com/googleapis/nodejs-bigquery/blob/master/samples/ddlCreateView.js). + +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-bigquery&page=editor&open_in_editor=samples/ddlCreateView.js,samples/README.md) + +__Usage:__ + + +`node samples/ddlCreateView.js` + + +----- + + + + ### Delete Dataset View the [source code](https://github.com/googleapis/nodejs-bigquery/blob/master/samples/deleteDataset.js). @@ -531,6 +592,23 @@ __Usage:__ +### Get View + +View the [source code](https://github.com/googleapis/nodejs-bigquery/blob/master/samples/getView.js). + +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-bigquery&page=editor&open_in_editor=samples/getView.js,samples/README.md) + +__Usage:__ + + +`node samples/getView.js` + + +----- + + + + ### Insert Rows As Stream View the [source code](https://github.com/googleapis/nodejs-bigquery/blob/master/samples/insertRowsAsStream.js). @@ -843,6 +921,40 @@ __Usage:__ +### Load Table GCS Avro + +View the [source code](https://github.com/googleapis/nodejs-bigquery/blob/master/samples/loadTableGCSAvro.js). + +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-bigquery&page=editor&open_in_editor=samples/loadTableGCSAvro.js,samples/README.md) + +__Usage:__ + + +`node samples/loadTableGCSAvro.js` + + +----- + + + + +### Load Table GCS Avro Truncate + +View the [source code](https://github.com/googleapis/nodejs-bigquery/blob/master/samples/loadTableGCSAvroTruncate.js). + +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-bigquery&page=editor&open_in_editor=samples/loadTableGCSAvroTruncate.js,samples/README.md) + +__Usage:__ + + +`node samples/loadTableGCSAvroTruncate.js` + + +----- + + + + ### Load Table GCSORC View the [source code](https://github.com/googleapis/nodejs-bigquery/blob/master/samples/loadTableGCSORC.js). @@ -928,6 +1040,23 @@ __Usage:__ +### Query Batch + +View the [source code](https://github.com/googleapis/nodejs-bigquery/blob/master/samples/queryBatch.js). + +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-bigquery&page=editor&open_in_editor=samples/queryBatch.js,samples/README.md) + +__Usage:__ + + +`node samples/queryBatch.js` + + +----- + + + + ### Query Destination Table View the [source code](https://github.com/googleapis/nodejs-bigquery/blob/master/samples/queryDestinationTable.js). @@ -1166,6 +1295,40 @@ __Usage:__ +### Relax Column Query Append + +View the [source code](https://github.com/googleapis/nodejs-bigquery/blob/master/samples/relaxColumnQueryAppend.js). + +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-bigquery&page=editor&open_in_editor=samples/relaxColumnQueryAppend.js,samples/README.md) + +__Usage:__ + + +`node samples/relaxColumnQueryAppend.js` + + +----- + + + + +### Undelete Table + +View the [source code](https://github.com/googleapis/nodejs-bigquery/blob/master/samples/undeleteTable.js). + +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-bigquery&page=editor&open_in_editor=samples/undeleteTable.js,samples/README.md) + +__Usage:__ + + +`node samples/undeleteTable.js` + + +----- + + + + ### Update Dataset Access View the [source code](https://github.com/googleapis/nodejs-bigquery/blob/master/samples/updateDatasetAccess.js). @@ -1265,6 +1428,23 @@ __Usage:__ `node samples/updateTableExpiration.js` +----- + + + + +### Update View Query + +View the [source code](https://github.com/googleapis/nodejs-bigquery/blob/master/samples/updateViewQuery.js). + +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-bigquery&page=editor&open_in_editor=samples/updateViewQuery.js,samples/README.md) + +__Usage:__ + + +`node samples/updateViewQuery.js` + + diff --git a/synth.metadata b/synth.metadata index c15205e8e..346c202f3 100644 --- a/synth.metadata +++ b/synth.metadata @@ -1,5 +1,5 @@ { - "updateTime": "2020-01-24T12:11:09.605382Z", + "updateTime": "2020-02-05T12:10:08.988843Z", "sources": [ { "template": { @@ -8,529 +8,5 @@ "version": "2019.10.17" } } - ], - "newFiles": [ - { - "path": ".eslintignore" - }, - { - "path": ".eslintrc.yml" - }, - { - "path": ".github/ISSUE_TEMPLATE/bug_report.md" - }, - { - "path": ".github/ISSUE_TEMPLATE/feature_request.md" - }, - { - "path": ".github/ISSUE_TEMPLATE/support_request.md" - }, - { - "path": ".github/PULL_REQUEST_TEMPLATE.md" - }, - { - "path": ".github/release-please.yml" - }, - { - "path": ".gitignore" - }, - { - "path": ".jsdoc.js" - }, - { - "path": ".kokoro/.gitattributes" - }, - { - "path": ".kokoro/common.cfg" - }, - { - "path": ".kokoro/continuous/node10/common.cfg" - }, - { - "path": ".kokoro/continuous/node10/docs.cfg" - }, - { - "path": ".kokoro/continuous/node10/lint.cfg" - }, - { - "path": ".kokoro/continuous/node10/samples-test.cfg" - }, - { - "path": ".kokoro/continuous/node10/system-test.cfg" - }, - { - "path": ".kokoro/continuous/node10/test.cfg" - }, - { - "path": ".kokoro/continuous/node12/common.cfg" - }, - { - "path": ".kokoro/continuous/node12/test.cfg" - }, - { - "path": ".kokoro/continuous/node8/common.cfg" - }, - { - "path": ".kokoro/continuous/node8/test.cfg" - }, - { - "path": ".kokoro/docs.sh" - }, - { - "path": ".kokoro/lint.sh" - }, - { - "path": ".kokoro/presubmit/node10/common.cfg" - }, - { - "path": ".kokoro/presubmit/node10/docs.cfg" - }, - { - "path": ".kokoro/presubmit/node10/lint.cfg" - }, - { - "path": ".kokoro/presubmit/node10/samples-test.cfg" - }, - { - "path": ".kokoro/presubmit/node10/system-test.cfg" - }, - { - "path": ".kokoro/presubmit/node10/test.cfg" - }, - { - "path": ".kokoro/presubmit/node12/common.cfg" - }, - { - "path": ".kokoro/presubmit/node12/test.cfg" - }, - { - "path": ".kokoro/presubmit/node8/common.cfg" - }, - { - "path": ".kokoro/presubmit/node8/test.cfg" - }, - { - "path": ".kokoro/presubmit/windows/common.cfg" - }, - { - "path": ".kokoro/presubmit/windows/test.cfg" - }, - { - "path": ".kokoro/publish.sh" - }, - { - "path": ".kokoro/release/common.cfg" - }, - { - "path": ".kokoro/release/docs.cfg" - }, - { - "path": ".kokoro/release/docs.sh" - }, - { - "path": ".kokoro/release/publish.cfg" - }, - { - "path": ".kokoro/samples-test.sh" - }, - { - "path": ".kokoro/system-test.sh" - }, - { - "path": ".kokoro/test.bat" - }, - { - "path": ".kokoro/test.sh" - }, - { - "path": ".kokoro/trampoline.sh" - }, - { - "path": ".nycrc" - }, - { - "path": ".prettierignore" - }, - { - "path": ".prettierrc" - }, - { - "path": ".repo-metadata.json" - }, - { - "path": "CHANGELOG.md" - }, - { - "path": "CODE_OF_CONDUCT.md" - }, - { - "path": "CONTRIBUTING.md" - }, - { - "path": "LICENSE" - }, - { - "path": "README.md" - }, - { - "path": "benchmark/README.md" - }, - { - "path": "benchmark/bench.ts" - }, - { - "path": "benchmark/queries.json" - }, - { - "path": "codecov.yaml" - }, - { - "path": "linkinator.config.json" - }, - { - "path": "package.json" - }, - { - "path": "renovate.json" - }, - { - "path": "samples/.eslintrc.yml" - }, - { - "path": "samples/README.md" - }, - { - "path": "samples/addColumnLoadAppend.js" - }, - { - "path": "samples/addColumnQueryAppend.js" - }, - { - "path": "samples/addEmptyColumn.js" - }, - { - "path": "samples/auth-user-sample/authUserFlow.js" - }, - { - "path": "samples/auth-user-sample/oauth2.keys.json" - }, - { - "path": "samples/auth-user-sample/test/auth.test.js" - }, - { - "path": "samples/browseRows.js" - }, - { - "path": "samples/cancelJob.js" - }, - { - "path": "samples/clientJSONCredentials.js" - }, - { - "path": "samples/copyTable.js" - }, - { - "path": "samples/copyTableMultipleSource.js" - }, - { - "path": "samples/createDataset.js" - }, - { - "path": "samples/createTable.js" - }, - { - "path": "samples/createTablePartitioned.js" - }, - { - "path": "samples/deleteDataset.js" - }, - { - "path": "samples/deleteLabelDataset.js" - }, - { - "path": "samples/deleteLabelTable.js" - }, - { - "path": "samples/deleteModel.js" - }, - { - "path": "samples/deleteTable.js" - }, - { - "path": "samples/extractTableCompressed.js" - }, - { - "path": "samples/extractTableJSON.js" - }, - { - "path": "samples/extractTableToGCS.js" - }, - { - "path": "samples/getDataset.js" - }, - { - "path": "samples/getDatasetLabels.js" - }, - { - "path": "samples/getJob.js" - }, - { - "path": "samples/getModel.js" - }, - { - "path": "samples/getTable.js" - }, - { - "path": "samples/getTableLabels.js" - }, - { - "path": "samples/insertRowsAsStream.js" - }, - { - "path": "samples/labelDataset.js" - }, - { - "path": "samples/labelTable.js" - }, - { - "path": "samples/listDatasets.js" - }, - { - "path": "samples/listDatasetsByLabel.js" - }, - { - "path": "samples/listJobs.js" - }, - { - "path": "samples/listModels.js" - }, - { - "path": "samples/listModelsStreaming.js" - }, - { - "path": "samples/listTables.js" - }, - { - "path": "samples/loadCSVFromGCS.js" - }, - { - "path": "samples/loadCSVFromGCSAutodetect.js" - }, - { - "path": "samples/loadCSVFromGCSTruncate.js" - }, - { - "path": "samples/loadJSONFromGCS.js" - }, - { - "path": "samples/loadJSONFromGCSAutodetect.js" - }, - { - "path": "samples/loadJSONFromGCSTruncate.js" - }, - { - "path": "samples/loadLocalFile.js" - }, - { - "path": "samples/loadOrcFromGCSTruncate.js" - }, - { - "path": "samples/loadParquetFromGCSTruncate.js" - }, - { - "path": "samples/loadTableGCSORC.js" - }, - { - "path": "samples/loadTableGCSParquet.js" - }, - { - "path": "samples/loadTablePartitioned.js" - }, - { - "path": "samples/nestedRepeatedSchema.js" - }, - { - "path": "samples/package.json" - }, - { - "path": "samples/query.js" - }, - { - "path": "samples/queryDestinationTable.js" - }, - { - "path": "samples/queryDisableCache.js" - }, - { - "path": "samples/queryDryRun.js" - }, - { - "path": "samples/queryLegacy.js" - }, - { - "path": "samples/queryLegacyLargeResults.js" - }, - { - "path": "samples/queryParamsArrays.js" - }, - { - "path": "samples/queryParamsNamed.js" - }, - { - "path": "samples/queryParamsPositional.js" - }, - { - "path": "samples/queryParamsStructs.js" - }, - { - "path": "samples/queryParamsTimestamps.js" - }, - { - "path": "samples/queryStackOverflow.js" - }, - { - "path": "samples/quickstart.js" - }, - { - "path": "samples/relaxColumn.js" - }, - { - "path": "samples/relaxColumnLoadAppend.js" - }, - { - "path": "samples/resources/avro-schema.json" - }, - { - "path": "samples/resources/data.avro" - }, - { - "path": "samples/resources/data.csv" - }, - { - "path": "samples/resources/data.json" - }, - { - "path": "samples/resources/partialdata.csv" - }, - { - "path": "samples/resources/schema.json" - }, - { - "path": "samples/resources/streamrows.json" - }, - { - "path": "samples/test/datasets.test.js" - }, - { - "path": "samples/test/jobs.test.js" - }, - { - "path": "samples/test/models.test.js" - }, - { - "path": "samples/test/queries.test.js" - }, - { - "path": "samples/test/quickstart.test.js" - }, - { - "path": "samples/test/tables.test.js" - }, - { - "path": "samples/updateDatasetAccess.js" - }, - { - "path": "samples/updateDatasetDescription.js" - }, - { - "path": "samples/updateDatasetExpiration.js" - }, - { - "path": "samples/updateModel.js" - }, - { - "path": "samples/updateTableDescription.js" - }, - { - "path": "samples/updateTableExpiration.js" - }, - { - "path": "src/bigquery.ts" - }, - { - "path": "src/dataset.ts" - }, - { - "path": "src/index.ts" - }, - { - "path": "src/job.ts" - }, - { - "path": "src/model.ts" - }, - { - "path": "src/table.ts" - }, - { - "path": "src/types.d.ts" - }, - { - "path": "synth.py" - }, - { - "path": "system-test/bigquery.ts" - }, - { - "path": "system-test/data/kitten-test-data.json" - }, - { - "path": "system-test/data/location-test-data.json" - }, - { - "path": "system-test/data/schema-test-data.json" - }, - { - "path": "system-test/data/schema.json" - }, - { - "path": "system-test/fixtures/kitchen/package.json" - }, - { - "path": "system-test/fixtures/kitchen/src/index.ts" - }, - { - "path": "system-test/fixtures/kitchen/tsconfig.json" - }, - { - "path": "system-test/install.ts" - }, - { - "path": "test/bigquery.ts" - }, - { - "path": "test/dataset.ts" - }, - { - "path": "test/job.ts" - }, - { - "path": "test/mocha.opts" - }, - { - "path": "test/model.ts" - }, - { - "path": "test/table.ts" - }, - { - "path": "test/testdata/testfile.json" - }, - { - "path": "tsconfig.json" - }, - { - "path": "tslint.json" - } ] } \ No newline at end of file