Movatterモバイル変換


[0]ホーム

URL:


Global

Methods

setLogFunction(logger)

Sets or disables the log function for all active BigQuery instances.

Parameters:
NameTypeDescription
logger

A log function that takes a message (such asconsole.log) ornull to turn off logging.

toArray()

Convert a value to an array. Replacement to arrify

Type Definitions

BigQueryOptions

Properties:
NameTypeAttributesDescription
projectId string <optional>

The project ID from the Google Developer'sConsole, e.g. 'grape-spaceship-123'. We will also check the environmentvariableGCLOUD_PROJECT for your project ID. If your app is running inan environment which supportsApplication Default Credentials, your project ID will be detectedautomatically.

keyFilename string <optional>

Full path to the a .json, .pem, or .p12 keydownloaded from the Google Developers Console. If you provide a path to aJSON file, theprojectId option above is not necessary. NOTE: .pem and.p12 require you to specify theemail option as well.

token string <optional>

An OAUTH access token. If provided, we will notmanage fetching, re-using, and re-minting access tokens.

email string <optional>

Account email address. Required when using a .pemor .p12 keyFilename.

credentials object <optional>

Credentials object.

Properties
NameTypeAttributesDescription
client_email string <optional>
private_key string <optional>
promise Constructor <optional>

Custom promise module to use instead ofnative Promises.

scopes Array.<string> <optional>

Additional OAuth scopes to use in requests. Forexample, to access an external data source, you may need thehttps://www.googleapis.com/auth/drive.readonly scope.

CreateDatasetCallback(errnullable, dataset, apiResponse)

Parameters:
NameTypeAttributesDescription
err Error <nullable>

Request error, if any.

datasetDataset

The newly created dataset.

apiResponse object

The full API response.

CreateDatasetResponse

Properties:
NameTypeDescription
0Dataset

The newly created dataset.

1 object

The full API response body.

CreateTableCallback(errnullable, table, apiResponse)

Parameters:
NameTypeAttributesDescription
err Error <nullable>

Request error, if any.

tableTable

The table.

apiResponse object

The full API response body.

CreateTableResponse

Properties:
NameTypeDescription
0Table

The table.

1 object

The full API response body.

DatasetExistsCallback(errnullable, exists)

Parameters:
NameTypeAttributesDescription
err Error <nullable>

Request error, if any.

exists boolean

Indicates if the dataset exists.

DatasetExistsResponse

Properties:
NameTypeDescription
0 boolean

Indicates if the dataset exists.

DeleteJobCallback(errnullable, apiResponse)

Parameters:
NameTypeAttributesDescription
err Error <nullable>

Request error, if any.

apiResponse object

The full API response.

DeleteJobResponse

Properties:
NameTypeDescription
0 object

The full API response.

DeleteModelCallback(errnullable, apiResponse)

Parameters:
NameTypeAttributesDescription
err Error <nullable>

Request error, if any.

apiResponse object

The full API response.

DeleteRoutineCallback(errnullable, apiResponse)

Parameters:
NameTypeAttributesDescription
err Error <nullable>

Request error, if any.

apiResponse object

The full API response.

DeleteRoutineResponse

Properties:
NameTypeDescription
0 object

The full API response.

DeleteTableCallback(errnullable, apiResponse)

Parameters:
NameTypeAttributesDescription
err Error <nullable>

Request error, if any.

apiResponse object

The full API response.

DeleteTableResponse

Properties:
NameTypeDescription
0 object

The full API response.

GetDatasetCallback(errnullable, dataset, apiResponse)

Parameters:
NameTypeAttributesDescription
err Error <nullable>

Request error, if any.

datasetDataset

The dataset.

apiResponse object

The full API response body.

GetDatasetMetadataCallback(errnullable, metadata, apiResponse)

Parameters:
NameTypeAttributesDescription
err Error <nullable>

Request error, if any.

metadata object

The dataset metadata.

apiResponse object

The full API response.

GetDatasetMetadataResponse

Properties:
NameTypeDescription
0 object

The dataset metadata.

1 object

The full API response.

GetDatasetResponse

Properties:
NameTypeDescription
0Dataset

The dataset.

1 object

The full API response body.

GetJobCallback(errnullable, model, apiResponse)

Parameters:
NameTypeAttributesDescription
err Error <nullable>

Request error, if any.

modelModel

The job.

apiResponse object

The full API response body.

GetJobMetadataCallback(errnullable, metadata, apiResponse)

Parameters:
NameTypeAttributesDescription
err Error <nullable>

Request error, if any.

metadata object

The job metadata.

apiResponse object

The full API response.

GetJobMetadataResponse

Properties:
NameTypeDescription
0 object

The job metadata.

1 object

The full API response.

GetJobResponse

Properties:
NameTypeDescription
0Model

The job.

1 object

The full API response body.

GetModelCallback(errnullable, model, apiResponse)

Parameters:
NameTypeAttributesDescription
err Error <nullable>

Request error, if any.

modelModel

The model.

apiResponse object

The full API response body.

GetModelMetadataCallback(errnullable, metadata, apiResponse)

Parameters:
NameTypeAttributesDescription
err Error <nullable>

Request error, if any.

metadata object

The model metadata.

apiResponse object

The full API response.

GetModelMetadataResponse

Properties:
NameTypeDescription
0 object

The model metadata.

1 object

The full API response.

GetModelResponse

Properties:
NameTypeDescription
0Model

The model.

1 object

The full API response body.

GetRoutineCallback(errnullable, routine, apiResponse)

Parameters:
NameTypeAttributesDescription
err Error <nullable>

Request error, if any.

routineRoutine

The routine.

apiResponse object

The full API response body.

GetRoutineMetadataCallback(errnullable, metadata, apiResponse)

Parameters:
NameTypeAttributesDescription
err Error <nullable>

Request error, if any.

metadata object

The routine metadata.

apiResponse object

The full API response.

GetRoutineMetadataResponse

Properties:
NameTypeDescription
0 object

The routine metadata.

1 object

The full API response.

GetRoutineResponse

Properties:
NameTypeDescription
0Routine

The routine.

1 object

The full API response body.

GetTableCallback(errnullable, table, apiResponse)

Parameters:
NameTypeAttributesDescription
err Error <nullable>

Request error, if any.

tableTable

The table.

apiResponse object

The full API response body.

GetTableMetadataCallback(errnullable, metadata, apiResponse)

Parameters:
NameTypeAttributesDescription
err Error <nullable>

Request error, if any.

metadata object

The table metadata.

apiResponse object

The full API response.

GetTableMetadataResponse

Properties:
NameTypeDescription
0 object

The table metadata.

1 object

The full API response.

GetTableResponse

Properties:
NameTypeDescription
0Table

The table.

1 object

The full API response body.

JobExistsCallback(errnullable, exists)

Parameters:
NameTypeAttributesDescription
err Error <nullable>

Request error, if any.

exists boolean

Indicates if the job exists.

JobExistsResponse

Properties:
NameTypeDescription
0 boolean

Indicates if the job exists.

ManualQueryResultsCallback(errnullable, rows, nextQuerynullable, apiResponse)

Parameters:
NameTypeAttributesDescription
err Error <nullable>

An error returned while making this request.

rows array

The results of the job.

nextQuery object <nullable>

A pre-made configuration object for your nextrequest. This will benull if no additional results are available.If the query is not yet complete, you may get emptyrows andnon-nullnextQuery that you should use for your next request.

apiResponse object

The full API response.

ModelExistsCallback(errnullable, exists)

Parameters:
NameTypeAttributesDescription
err Error <nullable>

Request error, if any.

exists boolean

Indicates if the model exists.

ModelExistsResponse

Properties:
NameTypeDescription
0 boolean

Indicates if the model exists.

QueryResultsCallback(errnullable, rows)

Parameters:
NameTypeAttributesDescription
err Error <nullable>

An error returned while making this request.

rows array

The results of the job.

RoutineExistsCallback(errnullable, exists)

Parameters:
NameTypeAttributesDescription
err Error <nullable>

Request error, if any.

exists boolean

Indicates if the routine exists.

RoutineExistsResponse

Properties:
NameTypeDescription
0 boolean

Indicates if the routine exists.

SetDatasetMetadataCallback(errnullable, apiResponse)

Parameters:
NameTypeAttributesDescription
err Error <nullable>

Request error, if any.

apiResponse object

The full API response.

SetDatasetMetadataResponse

Properties:
NameTypeDescription
0 object

The full API response.

SetModelMetadataCallback(errnullable, metadata, apiResponse)

Parameters:
NameTypeAttributesDescription
err Error <nullable>

Request error, if any.

metadata object

The model metadata.

apiResponse object

The full API response.

SetModelMetadataResponse

Properties:
NameTypeDescription
0 object

The model metadata.

1 object

The full API response.

SetRoutineMetadataCallback(errnullable, metadata, apiResponse)

Parameters:
NameTypeAttributesDescription
err Error <nullable>

Request error, if any.

metadata object

The routine metadata.

apiResponse object

The full API response.

SetRoutineMetadataResponse

Properties:
NameTypeDescription
0 object

The routine metadata.

1 object

The full API response.

TableExistsCallback(errnullable, exists)

Parameters:
NameTypeAttributesDescription
err Error <nullable>

Request error, if any.

exists boolean

Indicates if the table exists.

TableExistsCallback

Properties:
NameTypeDescription
0 boolean

Indicates if the table exists.



[8]ページ先頭

©2009-2025 Movatter.jp