bigquery/v2 library

BigQuery API - v2

A data platform for customers to create, manage, share and query data.

For more information, see cloud.google.com/bigquery/

Create an instance of BigqueryApi to access these resources:

Classes

AggregateClassificationMetrics
Aggregate metrics for classification/classifier models.
Argument
Input/output argument of a function or a stored procedure.
ArimaFittingMetrics
ARIMA model fitting metrics.
ArimaForecastingMetrics
Model evaluation metrics for ARIMA forecasting models.
ArimaOrder
Arima order, can be used for both non-seasonal and seasonal parts.
ArimaSingleModelForecastingMetrics
Model evaluation metrics for a single ARIMA forecasting model.
AuditConfig
Specifies the audit configuration for a service.
AvroOptions
BiEngineReason
BiEngineStatistics
BigqueryApi
A data platform for customers to create, manage, share and query data.
BigQueryModelTraining
BigtableColumn
BigtableColumnFamily
BigtableOptions
BinaryClassificationMetrics
Evaluation metrics for binary classification/classifier models.
BinaryConfusionMatrix
Confusion matrix for binary classification models.
Binding
Associates members, or principals, with a role.
BqmlIterationResult
BqmlTrainingRun
BqmlTrainingRunTrainingOptions
[Output-only, Beta] Training options used by this training run.
ByteRange
Specifies a range of media.
CategoricalValue
Representative value of a categorical feature.
CategoryCount
Represents the count of a single category within the cluster.
CloneDefinition
Cluster
Message containing the information about one cluster.
Clustering
ClusteringMetrics
Evaluation metrics for clustering models.
ConfusionMatrix
Confusion matrix for multi-class classification models.
ConnectionProperty
CsvOptions
DataMaskingStatistics
Dataset
DatasetAccess
DatasetAccessEntry
DatasetList
DatasetListDatasets
DatasetReference
DatasetsResource
DatasetTags
DataSplitResult
Data split result.
DestinationTableProperties
DimensionalityReductionMetrics
Model evaluation metrics for dimensionality reduction models.
DmlStatistics
DoubleCandidates
Discrete candidates of a double hyperparameter.
DoubleHparamSearchSpace
Search space for a double hyperparameter.
DoubleRange
Range of a double hyperparameter.
DownloadOptions
Represents options for downloading media.
EncryptionConfiguration
Entry
A single entry in the confusion matrix.
ErrorProto
EvaluationMetrics
Evaluation metrics of a model.
ExplainQueryStage
ExplainQueryStep
Explanation
Explanation for a single feature.
ExternalDataConfiguration
FeatureValue
Representative value of a single feature within the cluster.
GetIamPolicyRequest
Request message for GetIamPolicy method.
GetQueryResultsResponse
GetServiceAccountResponse
GlobalExplanation
Global explanations containing the top most important features after training.
GoogleSheetsOptions
HivePartitioningOptions
HparamSearchSpaces
Hyperparameter search spaces.
HparamTuningTrial
Training info of a trial in [hyperparameter tuning](/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-hp-tuning-overview) models.
IndexUnusedReason
IntArray
An array of int.
IntArrayHparamSearchSpace
Search space for int array.
IntCandidates
Discrete candidates of an int hyperparameter.
IntHparamSearchSpace
Search space for an int hyperparameter.
IntRange
Range of an int hyperparameter.
IterationResult
Job
JobCancelResponse
JobConfiguration
JobConfigurationExtract
JobConfigurationLoad
JobConfigurationQuery
JobConfigurationTableCopy
JobList
JobListJobs
JobReference
JobsResource
JobStatistics
JobStatistics2
JobStatistics2ReservationUsage
JobStatistics3
JobStatistics4
JobStatistics5
JobStatisticsReservationUsage
JobStatus
JsonOptions
ListModelsResponse
ListRoutinesResponse
ListRowAccessPoliciesResponse
Response message for the ListRowAccessPolicies method.
MaterializedViewDefinition
Media
Represents a media consisting of a stream of bytes, a content type and a length.
MlStatistics
Model
ModelDefinition
ModelDefinitionModelOptions
[Output-only, Beta] Model options used for the first training run.
ModelReference
ModelsResource
MultiClassClassificationMetrics
Evaluation metrics for multi-class classification/classifier models.
ParquetOptions
PartialDownloadOptions
Options for downloading a Media.
Policy
An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources.
ProjectList
ProjectListProjects
ProjectReference
ProjectsResource
QueryParameter
QueryParameterType
QueryParameterTypeStructTypes
QueryParameterValue
QueryRequest
QueryResponse
QueryTimelineSample
RangePartitioning
RangePartitioningRange
[TrustedTester] [Required] Defines the ranges for range partitioning.
RankingMetrics
Evaluation metrics used by weighted-ALS models specified by feedback_type=implicit.
RegressionMetrics
Evaluation metrics for regression and explicit feedback type matrix factorization models.
RemoteFunctionOptions
Options for a remote user-defined function.
RemoteModelInfo
Remote Model Info
ResumableUploadOptions
Specifies options for resumable uploads.
Routine
A user-defined function or a stored procedure.
RoutineReference
RoutinesResource
Row
A single row in the confusion matrix.
RowAccessPoliciesResource
RowAccessPolicy
Represents access on a subset of rows on the specified table, defined by its filter predicate.
RowAccessPolicyReference
RowLevelSecurityStatistics
ScriptStackFrame
ScriptStatistics
SearchStatistics
SessionInfo
SetIamPolicyRequest
Request message for SetIamPolicy method.
SnapshotDefinition
SparkLoggingInfo
SparkOptions
Options for a user-defined Spark routine.
SparkStatistics
StandardSqlDataType
The data type of a variable such as a function argument.
StandardSqlField
A field or a column.
StandardSqlStructType
StandardSqlTableType
A table type
Streamingbuffer
StringHparamSearchSpace
Search space for string and enum.
Table
TableCell
TableConstraints
TableConstraintsForeignKeys
TableConstraintsForeignKeysColumnReferences
TableConstraintsForeignKeysReferencedTable
TableConstraintsPrimaryKey
The primary key of the table.
TableDataInsertAllRequest
TableDataInsertAllRequestRows
TableDataInsertAllResponse
TableDataInsertAllResponseInsertErrors
TableDataList
TabledataResource
TableFieldSchema
TableFieldSchemaCategories
The categories attached to this field, used for field-level access control.
TableFieldSchemaPolicyTags
TableList
TableListTables
TableListTablesView
Additional details for a view.
TableReference
TableRow
TableSchema
TablesResource
TimePartitioning
TrainingOptions
Options used in model training.
TrainingRun
Information about a single training query run for the model.
TransactionInfo
TransformColumn
Information about a single transform column.
UploadOptions
Represents options for uploading a Media.
UserDefinedFunctionResource
This is used for defining User Defined Function (UDF) resources only when using legacy SQL.
ViewDefinition

Typedefs

AuditLogConfig = $AuditLogConfig
Provides the configuration for logging a type of permissions.
Expr = $Expr
Represents a textual expression in the Common Expression Language (CEL) syntax.
GetPolicyOptions = $GetPolicyOptions
Encapsulates settings provided to GetIamPolicy.
JsonObject = Map<String, Object?>
Represents a single JSON object.
TestIamPermissionsRequest = $TestIamPermissionsRequest00
Request message for TestIamPermissions method.
TestIamPermissionsResponse = $PermissionsResponse
Response message for TestIamPermissions method.

Exceptions / Errors

ApiRequestError
Represents a general error reported by the API endpoint.
DetailedApiRequestError
Represents a specific error reported by the API endpoint.