packages feed

gogol-bigquery 0.5.0 → 1.0.0

raw patch · 79 files changed

+28063/−13034 lines, 79 filesdep −basedep ~gogol-coresetup-changed

Dependencies removed: base

Dependency ranges changed: gogol-core

Files

README.md view
@@ -8,7 +8,7 @@  ## Version -`0.5.0`+`1.0.0`   ## Description
Setup.hs view
@@ -1,2 +1,3 @@-import           Distribution.Simple+import Distribution.Simple+ main = defaultMain
+ gen/Gogol/BigQuery.hs view
@@ -0,0 +1,1545 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.BigQuery+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- A data platform for customers to create, manage, share and query data.+--+-- /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference>+module Gogol.BigQuery+  ( -- * Configuration+    bigQueryService,++    -- * OAuth Scopes+    Bigquery'FullControl,+    Bigquery'Insertdata,+    CloudPlatform'FullControl,+    CloudPlatform'ReadOnly,+    Devstorage'FullControl,+    Devstorage'ReadOnly,+    Devstorage'ReadWrite,++    -- * Resources++    -- ** bigquery.datasets.delete+    BigQueryDatasetsDeleteResource,+    BigQueryDatasetsDelete (..),+    newBigQueryDatasetsDelete,++    -- ** bigquery.datasets.get+    BigQueryDatasetsGetResource,+    BigQueryDatasetsGet (..),+    newBigQueryDatasetsGet,++    -- ** bigquery.datasets.insert+    BigQueryDatasetsInsertResource,+    BigQueryDatasetsInsert (..),+    newBigQueryDatasetsInsert,++    -- ** bigquery.datasets.list+    BigQueryDatasetsListResource,+    BigQueryDatasetsList (..),+    newBigQueryDatasetsList,++    -- ** bigquery.datasets.patch+    BigQueryDatasetsPatchResource,+    BigQueryDatasetsPatch (..),+    newBigQueryDatasetsPatch,++    -- ** bigquery.datasets.undelete+    BigQueryDatasetsUndeleteResource,+    BigQueryDatasetsUndelete (..),+    newBigQueryDatasetsUndelete,++    -- ** bigquery.datasets.update+    BigQueryDatasetsUpdateResource,+    BigQueryDatasetsUpdate (..),+    newBigQueryDatasetsUpdate,++    -- ** bigquery.jobs.cancel+    BigQueryJobsCancelResource,+    BigQueryJobsCancel (..),+    newBigQueryJobsCancel,++    -- ** bigquery.jobs.delete+    BigQueryJobsDeleteResource,+    BigQueryJobsDelete (..),+    newBigQueryJobsDelete,++    -- ** bigquery.jobs.get+    BigQueryJobsGetResource,+    BigQueryJobsGet (..),+    newBigQueryJobsGet,++    -- ** bigquery.jobs.getQueryResults+    BigQueryJobsGetQueryResultsResource,+    BigQueryJobsGetQueryResults (..),+    newBigQueryJobsGetQueryResults,++    -- ** bigquery.jobs.insert+    BigQueryJobsInsertResource,+    BigQueryJobsInsert (..),+    newBigQueryJobsInsert,++    -- ** bigquery.jobs.list+    BigQueryJobsListResource,+    BigQueryJobsList (..),+    newBigQueryJobsList,++    -- ** bigquery.jobs.query+    BigQueryJobsQueryResource,+    BigQueryJobsQuery (..),+    newBigQueryJobsQuery,++    -- ** bigquery.models.delete+    BigQueryModelsDeleteResource,+    BigQueryModelsDelete (..),+    newBigQueryModelsDelete,++    -- ** bigquery.models.get+    BigQueryModelsGetResource,+    BigQueryModelsGet (..),+    newBigQueryModelsGet,++    -- ** bigquery.models.list+    BigQueryModelsListResource,+    BigQueryModelsList (..),+    newBigQueryModelsList,++    -- ** bigquery.models.patch+    BigQueryModelsPatchResource,+    BigQueryModelsPatch (..),+    newBigQueryModelsPatch,++    -- ** bigquery.projects.getServiceAccount+    BigQueryProjectsGetServiceAccountResource,+    BigQueryProjectsGetServiceAccount (..),+    newBigQueryProjectsGetServiceAccount,++    -- ** bigquery.projects.list+    BigQueryProjectsListResource,+    BigQueryProjectsList (..),+    newBigQueryProjectsList,++    -- ** bigquery.routines.delete+    BigQueryRoutinesDeleteResource,+    BigQueryRoutinesDelete (..),+    newBigQueryRoutinesDelete,++    -- ** bigquery.routines.get+    BigQueryRoutinesGetResource,+    BigQueryRoutinesGet (..),+    newBigQueryRoutinesGet,++    -- ** bigquery.routines.getIamPolicy+    BigQueryRoutinesGetIamPolicyResource,+    BigQueryRoutinesGetIamPolicy (..),+    newBigQueryRoutinesGetIamPolicy,++    -- ** bigquery.routines.insert+    BigQueryRoutinesInsertResource,+    BigQueryRoutinesInsert (..),+    newBigQueryRoutinesInsert,++    -- ** bigquery.routines.list+    BigQueryRoutinesListResource,+    BigQueryRoutinesList (..),+    newBigQueryRoutinesList,++    -- ** bigquery.routines.setIamPolicy+    BigQueryRoutinesSetIamPolicyResource,+    BigQueryRoutinesSetIamPolicy (..),+    newBigQueryRoutinesSetIamPolicy,++    -- ** bigquery.routines.update+    BigQueryRoutinesUpdateResource,+    BigQueryRoutinesUpdate (..),+    newBigQueryRoutinesUpdate,++    -- ** bigquery.rowAccessPolicies.batchDelete+    BigQueryRowAccessPoliciesBatchDeleteResource,+    BigQueryRowAccessPoliciesBatchDelete (..),+    newBigQueryRowAccessPoliciesBatchDelete,++    -- ** bigquery.rowAccessPolicies.delete+    BigQueryRowAccessPoliciesDeleteResource,+    BigQueryRowAccessPoliciesDelete (..),+    newBigQueryRowAccessPoliciesDelete,++    -- ** bigquery.rowAccessPolicies.get+    BigQueryRowAccessPoliciesGetResource,+    BigQueryRowAccessPoliciesGet (..),+    newBigQueryRowAccessPoliciesGet,++    -- ** bigquery.rowAccessPolicies.getIamPolicy+    BigQueryRowAccessPoliciesGetIamPolicyResource,+    BigQueryRowAccessPoliciesGetIamPolicy (..),+    newBigQueryRowAccessPoliciesGetIamPolicy,++    -- ** bigquery.rowAccessPolicies.insert+    BigQueryRowAccessPoliciesInsertResource,+    BigQueryRowAccessPoliciesInsert (..),+    newBigQueryRowAccessPoliciesInsert,++    -- ** bigquery.rowAccessPolicies.list+    BigQueryRowAccessPoliciesListResource,+    BigQueryRowAccessPoliciesList (..),+    newBigQueryRowAccessPoliciesList,++    -- ** bigquery.rowAccessPolicies.testIamPermissions+    BigQueryRowAccessPoliciesTestIamPermissionsResource,+    BigQueryRowAccessPoliciesTestIamPermissions (..),+    newBigQueryRowAccessPoliciesTestIamPermissions,++    -- ** bigquery.rowAccessPolicies.update+    BigQueryRowAccessPoliciesUpdateResource,+    BigQueryRowAccessPoliciesUpdate (..),+    newBigQueryRowAccessPoliciesUpdate,++    -- ** bigquery.tabledata.insertAll+    BigQueryTabledataInsertAllResource,+    BigQueryTabledataInsertAll (..),+    newBigQueryTabledataInsertAll,++    -- ** bigquery.tabledata.list+    BigQueryTabledataListResource,+    BigQueryTabledataList (..),+    newBigQueryTabledataList,++    -- ** bigquery.tables.delete+    BigQueryTablesDeleteResource,+    BigQueryTablesDelete (..),+    newBigQueryTablesDelete,++    -- ** bigquery.tables.get+    BigQueryTablesGetResource,+    BigQueryTablesGet (..),+    newBigQueryTablesGet,++    -- ** bigquery.tables.getIamPolicy+    BigQueryTablesGetIamPolicyResource,+    BigQueryTablesGetIamPolicy (..),+    newBigQueryTablesGetIamPolicy,++    -- ** bigquery.tables.insert+    BigQueryTablesInsertResource,+    BigQueryTablesInsert (..),+    newBigQueryTablesInsert,++    -- ** bigquery.tables.list+    BigQueryTablesListResource,+    BigQueryTablesList (..),+    newBigQueryTablesList,++    -- ** bigquery.tables.patch+    BigQueryTablesPatchResource,+    BigQueryTablesPatch (..),+    newBigQueryTablesPatch,++    -- ** bigquery.tables.setIamPolicy+    BigQueryTablesSetIamPolicyResource,+    BigQueryTablesSetIamPolicy (..),+    newBigQueryTablesSetIamPolicy,++    -- ** bigquery.tables.testIamPermissions+    BigQueryTablesTestIamPermissionsResource,+    BigQueryTablesTestIamPermissions (..),+    newBigQueryTablesTestIamPermissions,++    -- ** bigquery.tables.update+    BigQueryTablesUpdateResource,+    BigQueryTablesUpdate (..),+    newBigQueryTablesUpdate,++    -- * Types++    -- ** Xgafv+    Xgafv (..),++    -- ** AggregateClassificationMetrics+    AggregateClassificationMetrics (..),+    newAggregateClassificationMetrics,++    -- ** AggregationThresholdPolicy+    AggregationThresholdPolicy (..),+    newAggregationThresholdPolicy,++    -- ** Argument+    Argument (..),+    newArgument,++    -- ** Argument_ArgumentKind+    Argument_ArgumentKind (..),++    -- ** Argument_Mode+    Argument_Mode (..),++    -- ** ArimaCoefficients+    ArimaCoefficients (..),+    newArimaCoefficients,++    -- ** ArimaFittingMetrics+    ArimaFittingMetrics (..),+    newArimaFittingMetrics,++    -- ** ArimaForecastingMetrics+    ArimaForecastingMetrics (..),+    newArimaForecastingMetrics,++    -- ** ArimaForecastingMetrics_SeasonalPeriodsItem+    ArimaForecastingMetrics_SeasonalPeriodsItem (..),++    -- ** ArimaModelInfo+    ArimaModelInfo (..),+    newArimaModelInfo,++    -- ** ArimaModelInfo_SeasonalPeriodsItem+    ArimaModelInfo_SeasonalPeriodsItem (..),++    -- ** ArimaOrder+    ArimaOrder (..),+    newArimaOrder,++    -- ** ArimaResult+    ArimaResult (..),+    newArimaResult,++    -- ** ArimaResult_SeasonalPeriodsItem+    ArimaResult_SeasonalPeriodsItem (..),++    -- ** ArimaSingleModelForecastingMetrics+    ArimaSingleModelForecastingMetrics (..),+    newArimaSingleModelForecastingMetrics,++    -- ** ArimaSingleModelForecastingMetrics_SeasonalPeriodsItem+    ArimaSingleModelForecastingMetrics_SeasonalPeriodsItem (..),++    -- ** AuditConfig+    AuditConfig (..),+    newAuditConfig,++    -- ** AuditLogConfig+    AuditLogConfig (..),+    newAuditLogConfig,++    -- ** AuditLogConfig_LogType+    AuditLogConfig_LogType (..),++    -- ** AvroOptions+    AvroOptions (..),+    newAvroOptions,++    -- ** BatchDeleteRowAccessPoliciesRequest+    BatchDeleteRowAccessPoliciesRequest (..),+    newBatchDeleteRowAccessPoliciesRequest,++    -- ** BiEngineReason+    BiEngineReason (..),+    newBiEngineReason,++    -- ** BiEngineReason_Code+    BiEngineReason_Code (..),++    -- ** BiEngineStatistics+    BiEngineStatistics (..),+    newBiEngineStatistics,++    -- ** BiEngineStatistics_AccelerationMode+    BiEngineStatistics_AccelerationMode (..),++    -- ** BiEngineStatistics_BiEngineMode+    BiEngineStatistics_BiEngineMode (..),++    -- ** BigLakeConfiguration+    BigLakeConfiguration (..),+    newBigLakeConfiguration,++    -- ** BigLakeConfiguration_FileFormat+    BigLakeConfiguration_FileFormat (..),++    -- ** BigLakeConfiguration_TableFormat+    BigLakeConfiguration_TableFormat (..),++    -- ** BigQueryModelTraining+    BigQueryModelTraining (..),+    newBigQueryModelTraining,++    -- ** BigtableColumn+    BigtableColumn (..),+    newBigtableColumn,++    -- ** BigtableColumnFamily+    BigtableColumnFamily (..),+    newBigtableColumnFamily,++    -- ** BigtableOptions+    BigtableOptions (..),+    newBigtableOptions,++    -- ** BinaryClassificationMetrics+    BinaryClassificationMetrics (..),+    newBinaryClassificationMetrics,++    -- ** BinaryConfusionMatrix+    BinaryConfusionMatrix (..),+    newBinaryConfusionMatrix,++    -- ** Binding+    Binding (..),+    newBinding,++    -- ** BqmlIterationResult+    BqmlIterationResult (..),+    newBqmlIterationResult,++    -- ** BqmlTrainingRun+    BqmlTrainingRun (..),+    newBqmlTrainingRun,++    -- ** BqmlTrainingRun_TrainingOptions+    BqmlTrainingRun_TrainingOptions (..),+    newBqmlTrainingRun_TrainingOptions,++    -- ** CategoricalValue+    CategoricalValue (..),+    newCategoricalValue,++    -- ** CategoryCount+    CategoryCount (..),+    newCategoryCount,++    -- ** CloneDefinition+    CloneDefinition (..),+    newCloneDefinition,++    -- ** Cluster+    Cluster (..),+    newCluster,++    -- ** ClusterInfo+    ClusterInfo (..),+    newClusterInfo,++    -- ** Clustering+    Clustering (..),+    newClustering,++    -- ** ClusteringMetrics+    ClusteringMetrics (..),+    newClusteringMetrics,++    -- ** ConfusionMatrix+    ConfusionMatrix (..),+    newConfusionMatrix,++    -- ** ConnectionProperty+    ConnectionProperty (..),+    newConnectionProperty,++    -- ** CsvOptions+    CsvOptions (..),+    newCsvOptions,++    -- ** DataFormatOptions+    DataFormatOptions (..),+    newDataFormatOptions,++    -- ** DataMaskingStatistics+    DataMaskingStatistics (..),+    newDataMaskingStatistics,++    -- ** DataPolicyOption+    DataPolicyOption (..),+    newDataPolicyOption,++    -- ** DataSplitResult+    DataSplitResult (..),+    newDataSplitResult,++    -- ** Dataset+    Dataset (..),+    newDataset,++    -- ** Dataset_AccessItem+    Dataset_AccessItem (..),+    newDataset_AccessItem,++    -- ** Dataset_DefaultRoundingMode+    Dataset_DefaultRoundingMode (..),++    -- ** Dataset_Labels+    Dataset_Labels (..),+    newDataset_Labels,++    -- ** Dataset_ResourceTags+    Dataset_ResourceTags (..),+    newDataset_ResourceTags,++    -- ** Dataset_StorageBillingModel+    Dataset_StorageBillingModel (..),++    -- ** Dataset_TagsItem+    Dataset_TagsItem (..),+    newDataset_TagsItem,++    -- ** DatasetAccessEntry+    DatasetAccessEntry (..),+    newDatasetAccessEntry,++    -- ** DatasetAccessEntry_TargetTypesItem+    DatasetAccessEntry_TargetTypesItem (..),++    -- ** DatasetList+    DatasetList (..),+    newDatasetList,++    -- ** DatasetList_DatasetsItem+    DatasetList_DatasetsItem (..),+    newDatasetList_DatasetsItem,++    -- ** DatasetList_DatasetsItem_Labels+    DatasetList_DatasetsItem_Labels (..),+    newDatasetList_DatasetsItem_Labels,++    -- ** DatasetReference+    DatasetReference (..),+    newDatasetReference,++    -- ** DestinationTableProperties+    DestinationTableProperties (..),+    newDestinationTableProperties,++    -- ** DestinationTableProperties_Labels+    DestinationTableProperties_Labels (..),+    newDestinationTableProperties_Labels,++    -- ** DifferentialPrivacyPolicy+    DifferentialPrivacyPolicy (..),+    newDifferentialPrivacyPolicy,++    -- ** DimensionalityReductionMetrics+    DimensionalityReductionMetrics (..),+    newDimensionalityReductionMetrics,++    -- ** DmlStatistics+    DmlStatistics (..),+    newDmlStatistics,++    -- ** DoubleCandidates+    DoubleCandidates (..),+    newDoubleCandidates,++    -- ** DoubleHparamSearchSpace+    DoubleHparamSearchSpace (..),+    newDoubleHparamSearchSpace,++    -- ** DoubleRange+    DoubleRange (..),+    newDoubleRange,++    -- ** EncryptionConfiguration+    EncryptionConfiguration (..),+    newEncryptionConfiguration,++    -- ** Entry+    Entry (..),+    newEntry,++    -- ** ErrorProto+    ErrorProto (..),+    newErrorProto,++    -- ** EvaluationMetrics+    EvaluationMetrics (..),+    newEvaluationMetrics,++    -- ** ExplainQueryStage+    ExplainQueryStage (..),+    newExplainQueryStage,++    -- ** ExplainQueryStage_ComputeMode+    ExplainQueryStage_ComputeMode (..),++    -- ** ExplainQueryStep+    ExplainQueryStep (..),+    newExplainQueryStep,++    -- ** Explanation+    Explanation (..),+    newExplanation,++    -- ** ExportDataStatistics+    ExportDataStatistics (..),+    newExportDataStatistics,++    -- ** Expr+    Expr (..),+    newExpr,++    -- ** ExternalCatalogDatasetOptions+    ExternalCatalogDatasetOptions (..),+    newExternalCatalogDatasetOptions,++    -- ** ExternalCatalogDatasetOptions_Parameters+    ExternalCatalogDatasetOptions_Parameters (..),+    newExternalCatalogDatasetOptions_Parameters,++    -- ** ExternalCatalogTableOptions+    ExternalCatalogTableOptions (..),+    newExternalCatalogTableOptions,++    -- ** ExternalCatalogTableOptions_Parameters+    ExternalCatalogTableOptions_Parameters (..),+    newExternalCatalogTableOptions_Parameters,++    -- ** ExternalDataConfiguration+    ExternalDataConfiguration (..),+    newExternalDataConfiguration,++    -- ** ExternalDataConfiguration_DecimalTargetTypesItem+    ExternalDataConfiguration_DecimalTargetTypesItem (..),++    -- ** ExternalDataConfiguration_FileSetSpecType+    ExternalDataConfiguration_FileSetSpecType (..),++    -- ** ExternalDataConfiguration_JsonExtension+    ExternalDataConfiguration_JsonExtension (..),++    -- ** ExternalDataConfiguration_MetadataCacheMode+    ExternalDataConfiguration_MetadataCacheMode (..),++    -- ** ExternalDataConfiguration_ObjectMetadata+    ExternalDataConfiguration_ObjectMetadata (..),++    -- ** ExternalDatasetReference+    ExternalDatasetReference (..),+    newExternalDatasetReference,++    -- ** ExternalServiceCost+    ExternalServiceCost (..),+    newExternalServiceCost,++    -- ** FeatureValue+    FeatureValue (..),+    newFeatureValue,++    -- ** ForeignTypeInfo+    ForeignTypeInfo (..),+    newForeignTypeInfo,++    -- ** ForeignTypeInfo_TypeSystem+    ForeignTypeInfo_TypeSystem (..),++    -- ** ForeignViewDefinition+    ForeignViewDefinition (..),+    newForeignViewDefinition,++    -- ** GetIamPolicyRequest+    GetIamPolicyRequest (..),+    newGetIamPolicyRequest,++    -- ** GetPolicyOptions+    GetPolicyOptions (..),+    newGetPolicyOptions,++    -- ** GetQueryResultsResponse+    GetQueryResultsResponse (..),+    newGetQueryResultsResponse,++    -- ** GetServiceAccountResponse+    GetServiceAccountResponse (..),+    newGetServiceAccountResponse,++    -- ** GlobalExplanation+    GlobalExplanation (..),+    newGlobalExplanation,++    -- ** GoogleSheetsOptions+    GoogleSheetsOptions (..),+    newGoogleSheetsOptions,++    -- ** HighCardinalityJoin+    HighCardinalityJoin (..),+    newHighCardinalityJoin,++    -- ** HivePartitioningOptions+    HivePartitioningOptions (..),+    newHivePartitioningOptions,++    -- ** HparamSearchSpaces+    HparamSearchSpaces (..),+    newHparamSearchSpaces,++    -- ** HparamTuningTrial+    HparamTuningTrial (..),+    newHparamTuningTrial,++    -- ** HparamTuningTrial_Status+    HparamTuningTrial_Status (..),++    -- ** IndexUnusedReason+    IndexUnusedReason (..),+    newIndexUnusedReason,++    -- ** IndexUnusedReason_Code+    IndexUnusedReason_Code (..),++    -- ** InputDataChange+    InputDataChange (..),+    newInputDataChange,++    -- ** IntArray+    IntArray (..),+    newIntArray,++    -- ** IntArrayHparamSearchSpace+    IntArrayHparamSearchSpace (..),+    newIntArrayHparamSearchSpace,++    -- ** IntCandidates+    IntCandidates (..),+    newIntCandidates,++    -- ** IntHparamSearchSpace+    IntHparamSearchSpace (..),+    newIntHparamSearchSpace,++    -- ** IntRange+    IntRange (..),+    newIntRange,++    -- ** IterationResult+    IterationResult (..),+    newIterationResult,++    -- ** Job+    Job (..),+    newJob,++    -- ** JobCancelResponse+    JobCancelResponse (..),+    newJobCancelResponse,++    -- ** JobConfiguration+    JobConfiguration (..),+    newJobConfiguration,++    -- ** JobConfiguration_Labels+    JobConfiguration_Labels (..),+    newJobConfiguration_Labels,++    -- ** JobConfigurationExtract+    JobConfigurationExtract (..),+    newJobConfigurationExtract,++    -- ** JobConfigurationLoad+    JobConfigurationLoad (..),+    newJobConfigurationLoad,++    -- ** JobConfigurationLoad_ColumnNameCharacterMap+    JobConfigurationLoad_ColumnNameCharacterMap (..),++    -- ** JobConfigurationLoad_DecimalTargetTypesItem+    JobConfigurationLoad_DecimalTargetTypesItem (..),++    -- ** JobConfigurationLoad_FileSetSpecType+    JobConfigurationLoad_FileSetSpecType (..),++    -- ** JobConfigurationLoad_JsonExtension+    JobConfigurationLoad_JsonExtension (..),++    -- ** JobConfigurationQuery+    JobConfigurationQuery (..),+    newJobConfigurationQuery,++    -- ** JobConfigurationQuery_TableDefinitions+    JobConfigurationQuery_TableDefinitions (..),+    newJobConfigurationQuery_TableDefinitions,++    -- ** JobConfigurationTableCopy+    JobConfigurationTableCopy (..),+    newJobConfigurationTableCopy,++    -- ** JobConfigurationTableCopy_OperationType+    JobConfigurationTableCopy_OperationType (..),++    -- ** JobCreationReason+    JobCreationReason (..),+    newJobCreationReason,++    -- ** JobCreationReason_Code+    JobCreationReason_Code (..),++    -- ** JobList+    JobList (..),+    newJobList,++    -- ** JobList_JobsItem+    JobList_JobsItem (..),+    newJobList_JobsItem,++    -- ** JobReference+    JobReference (..),+    newJobReference,++    -- ** JobStatistics+    JobStatistics (..),+    newJobStatistics,++    -- ** JobStatistics_Edition+    JobStatistics_Edition (..),++    -- ** JobStatistics_ReservationUsageItem+    JobStatistics_ReservationUsageItem (..),+    newJobStatistics_ReservationUsageItem,++    -- ** JobStatistics2+    JobStatistics2 (..),+    newJobStatistics2,++    -- ** JobStatistics2_ReservationUsageItem+    JobStatistics2_ReservationUsageItem (..),+    newJobStatistics2_ReservationUsageItem,++    -- ** JobStatistics3+    JobStatistics3 (..),+    newJobStatistics3,++    -- ** JobStatistics4+    JobStatistics4 (..),+    newJobStatistics4,++    -- ** JobStatistics5+    JobStatistics5 (..),+    newJobStatistics5,++    -- ** JobStatus+    JobStatus (..),+    newJobStatus,++    -- ** JoinRestrictionPolicy+    JoinRestrictionPolicy (..),+    newJoinRestrictionPolicy,++    -- ** JoinRestrictionPolicy_JoinCondition+    JoinRestrictionPolicy_JoinCondition (..),++    -- ** JsonObject+    JsonObject (..),+    newJsonObject,++    -- ** JsonOptions+    JsonOptions (..),+    newJsonOptions,++    -- ** LinkedDatasetMetadata+    LinkedDatasetMetadata (..),+    newLinkedDatasetMetadata,++    -- ** LinkedDatasetMetadata_LinkState+    LinkedDatasetMetadata_LinkState (..),++    -- ** LinkedDatasetSource+    LinkedDatasetSource (..),+    newLinkedDatasetSource,++    -- ** ListModelsResponse+    ListModelsResponse (..),+    newListModelsResponse,++    -- ** ListRoutinesResponse+    ListRoutinesResponse (..),+    newListRoutinesResponse,++    -- ** ListRowAccessPoliciesResponse+    ListRowAccessPoliciesResponse (..),+    newListRowAccessPoliciesResponse,++    -- ** LoadQueryStatistics+    LoadQueryStatistics (..),+    newLoadQueryStatistics,++    -- ** LocationMetadata+    LocationMetadata (..),+    newLocationMetadata,++    -- ** MaterializedView+    MaterializedView (..),+    newMaterializedView,++    -- ** MaterializedView_RejectedReason+    MaterializedView_RejectedReason (..),++    -- ** MaterializedViewDefinition+    MaterializedViewDefinition (..),+    newMaterializedViewDefinition,++    -- ** MaterializedViewStatistics+    MaterializedViewStatistics (..),+    newMaterializedViewStatistics,++    -- ** MaterializedViewStatus+    MaterializedViewStatus (..),+    newMaterializedViewStatus,++    -- ** MetadataCacheStatistics+    MetadataCacheStatistics (..),+    newMetadataCacheStatistics,++    -- ** MlStatistics+    MlStatistics (..),+    newMlStatistics,++    -- ** MlStatistics_ModelType+    MlStatistics_ModelType (..),++    -- ** MlStatistics_TrainingType+    MlStatistics_TrainingType (..),++    -- ** Model+    Model (..),+    newModel,++    -- ** Model_Labels+    Model_Labels (..),+    newModel_Labels,++    -- ** Model_ModelType+    Model_ModelType (..),++    -- ** ModelDefinition+    ModelDefinition (..),+    newModelDefinition,++    -- ** ModelDefinition_ModelOptions+    ModelDefinition_ModelOptions (..),+    newModelDefinition_ModelOptions,++    -- ** ModelExtractOptions+    ModelExtractOptions (..),+    newModelExtractOptions,++    -- ** ModelReference+    ModelReference (..),+    newModelReference,++    -- ** MultiClassClassificationMetrics+    MultiClassClassificationMetrics (..),+    newMultiClassClassificationMetrics,++    -- ** ParquetOptions+    ParquetOptions (..),+    newParquetOptions,++    -- ** ParquetOptions_MapTargetType+    ParquetOptions_MapTargetType (..),++    -- ** PartitionSkew+    PartitionSkew (..),+    newPartitionSkew,++    -- ** PartitionedColumn+    PartitionedColumn (..),+    newPartitionedColumn,++    -- ** PartitioningDefinition+    PartitioningDefinition (..),+    newPartitioningDefinition,++    -- ** PerformanceInsights+    PerformanceInsights (..),+    newPerformanceInsights,++    -- ** Policy+    Policy (..),+    newPolicy,++    -- ** PrincipalComponentInfo+    PrincipalComponentInfo (..),+    newPrincipalComponentInfo,++    -- ** PrivacyPolicy+    PrivacyPolicy (..),+    newPrivacyPolicy,++    -- ** ProjectList+    ProjectList (..),+    newProjectList,++    -- ** ProjectList_ProjectsItem+    ProjectList_ProjectsItem (..),+    newProjectList_ProjectsItem,++    -- ** ProjectReference+    ProjectReference (..),+    newProjectReference,++    -- ** QueryInfo+    QueryInfo (..),+    newQueryInfo,++    -- ** QueryInfo_OptimizationDetails+    QueryInfo_OptimizationDetails (..),+    newQueryInfo_OptimizationDetails,++    -- ** QueryParameter+    QueryParameter (..),+    newQueryParameter,++    -- ** QueryParameterType+    QueryParameterType (..),+    newQueryParameterType,++    -- ** QueryParameterType_StructTypesItem+    QueryParameterType_StructTypesItem (..),+    newQueryParameterType_StructTypesItem,++    -- ** QueryParameterValue+    QueryParameterValue (..),+    newQueryParameterValue,++    -- ** QueryParameterValue_StructValues+    QueryParameterValue_StructValues (..),+    newQueryParameterValue_StructValues,++    -- ** QueryRequest+    QueryRequest (..),+    newQueryRequest,++    -- ** QueryRequest_JobCreationMode+    QueryRequest_JobCreationMode (..),++    -- ** QueryRequest_Labels+    QueryRequest_Labels (..),+    newQueryRequest_Labels,++    -- ** QueryResponse+    QueryResponse (..),+    newQueryResponse,++    -- ** QueryTimelineSample+    QueryTimelineSample (..),+    newQueryTimelineSample,++    -- ** RangePartitioning+    RangePartitioning (..),+    newRangePartitioning,++    -- ** RangePartitioning_Range+    RangePartitioning_Range (..),+    newRangePartitioning_Range,++    -- ** RangeValue+    RangeValue (..),+    newRangeValue,++    -- ** RankingMetrics+    RankingMetrics (..),+    newRankingMetrics,++    -- ** RegressionMetrics+    RegressionMetrics (..),+    newRegressionMetrics,++    -- ** RemoteFunctionOptions+    RemoteFunctionOptions (..),+    newRemoteFunctionOptions,++    -- ** RemoteFunctionOptions_UserDefinedContext+    RemoteFunctionOptions_UserDefinedContext (..),+    newRemoteFunctionOptions_UserDefinedContext,++    -- ** RemoteModelInfo+    RemoteModelInfo (..),+    newRemoteModelInfo,++    -- ** RemoteModelInfo_RemoteServiceType+    RemoteModelInfo_RemoteServiceType (..),++    -- ** RestrictionConfig+    RestrictionConfig (..),+    newRestrictionConfig,++    -- ** RestrictionConfig_Type+    RestrictionConfig_Type (..),++    -- ** Routine+    Routine (..),+    newRoutine,++    -- ** Routine_DataGovernanceType+    Routine_DataGovernanceType (..),++    -- ** Routine_DeterminismLevel+    Routine_DeterminismLevel (..),++    -- ** Routine_Language+    Routine_Language (..),++    -- ** Routine_RoutineType+    Routine_RoutineType (..),++    -- ** Routine_SecurityMode+    Routine_SecurityMode (..),++    -- ** RoutineReference+    RoutineReference (..),+    newRoutineReference,++    -- ** Row+    Row (..),+    newRow,++    -- ** RowAccessPolicy+    RowAccessPolicy (..),+    newRowAccessPolicy,++    -- ** RowAccessPolicyReference+    RowAccessPolicyReference (..),+    newRowAccessPolicyReference,++    -- ** RowLevelSecurityStatistics+    RowLevelSecurityStatistics (..),+    newRowLevelSecurityStatistics,++    -- ** ScriptOptions+    ScriptOptions (..),+    newScriptOptions,++    -- ** ScriptOptions_KeyResultStatement+    ScriptOptions_KeyResultStatement (..),++    -- ** ScriptStackFrame+    ScriptStackFrame (..),+    newScriptStackFrame,++    -- ** ScriptStatistics+    ScriptStatistics (..),+    newScriptStatistics,++    -- ** ScriptStatistics_EvaluationKind+    ScriptStatistics_EvaluationKind (..),++    -- ** SearchStatistics+    SearchStatistics (..),+    newSearchStatistics,++    -- ** SearchStatistics_IndexUsageMode+    SearchStatistics_IndexUsageMode (..),++    -- ** SerDeInfo+    SerDeInfo (..),+    newSerDeInfo,++    -- ** SerDeInfo_Parameters+    SerDeInfo_Parameters (..),+    newSerDeInfo_Parameters,++    -- ** SessionInfo+    SessionInfo (..),+    newSessionInfo,++    -- ** SetIamPolicyRequest+    SetIamPolicyRequest (..),+    newSetIamPolicyRequest,++    -- ** SkewSource+    SkewSource (..),+    newSkewSource,++    -- ** SnapshotDefinition+    SnapshotDefinition (..),+    newSnapshotDefinition,++    -- ** SparkLoggingInfo+    SparkLoggingInfo (..),+    newSparkLoggingInfo,++    -- ** SparkOptions+    SparkOptions (..),+    newSparkOptions,++    -- ** SparkOptions_Properties+    SparkOptions_Properties (..),+    newSparkOptions_Properties,++    -- ** SparkStatistics+    SparkStatistics (..),+    newSparkStatistics,++    -- ** SparkStatistics_Endpoints+    SparkStatistics_Endpoints (..),+    newSparkStatistics_Endpoints,++    -- ** StagePerformanceChangeInsight+    StagePerformanceChangeInsight (..),+    newStagePerformanceChangeInsight,++    -- ** StagePerformanceStandaloneInsight+    StagePerformanceStandaloneInsight (..),+    newStagePerformanceStandaloneInsight,++    -- ** StandardSqlDataType+    StandardSqlDataType (..),+    newStandardSqlDataType,++    -- ** StandardSqlDataType_TypeKind+    StandardSqlDataType_TypeKind (..),++    -- ** StandardSqlField+    StandardSqlField (..),+    newStandardSqlField,++    -- ** StandardSqlStructType+    StandardSqlStructType (..),+    newStandardSqlStructType,++    -- ** StandardSqlTableType+    StandardSqlTableType (..),+    newStandardSqlTableType,++    -- ** StorageDescriptor+    StorageDescriptor (..),+    newStorageDescriptor,++    -- ** StoredColumnsUnusedReason+    StoredColumnsUnusedReason (..),+    newStoredColumnsUnusedReason,++    -- ** StoredColumnsUnusedReason_Code+    StoredColumnsUnusedReason_Code (..),++    -- ** StoredColumnsUsage+    StoredColumnsUsage (..),+    newStoredColumnsUsage,++    -- ** Streamingbuffer+    Streamingbuffer (..),+    newStreamingbuffer,++    -- ** StringHparamSearchSpace+    StringHparamSearchSpace (..),+    newStringHparamSearchSpace,++    -- ** SystemVariables+    SystemVariables (..),+    newSystemVariables,++    -- ** SystemVariables_Types+    SystemVariables_Types (..),+    newSystemVariables_Types,++    -- ** SystemVariables_Values+    SystemVariables_Values (..),+    newSystemVariables_Values,++    -- ** Table+    Table (..),+    newTable,++    -- ** Table_DefaultRoundingMode+    Table_DefaultRoundingMode (..),++    -- ** Table_Labels+    Table_Labels (..),+    newTable_Labels,++    -- ** Table_ManagedTableType+    Table_ManagedTableType (..),++    -- ** Table_ResourceTags+    Table_ResourceTags (..),+    newTable_ResourceTags,++    -- ** TableCell+    TableCell (..),+    newTableCell,++    -- ** TableConstraints+    TableConstraints (..),+    newTableConstraints,++    -- ** TableConstraints_ForeignKeysItem+    TableConstraints_ForeignKeysItem (..),+    newTableConstraints_ForeignKeysItem,++    -- ** TableConstraints_ForeignKeysItem_ColumnReferencesItem+    TableConstraints_ForeignKeysItem_ColumnReferencesItem (..),+    newTableConstraints_ForeignKeysItem_ColumnReferencesItem,++    -- ** TableConstraints_ForeignKeysItem_ReferencedTable+    TableConstraints_ForeignKeysItem_ReferencedTable (..),+    newTableConstraints_ForeignKeysItem_ReferencedTable,++    -- ** TableConstraints_PrimaryKey+    TableConstraints_PrimaryKey (..),+    newTableConstraints_PrimaryKey,++    -- ** TableDataInsertAllRequest+    TableDataInsertAllRequest (..),+    newTableDataInsertAllRequest,++    -- ** TableDataInsertAllRequest_RowsItem+    TableDataInsertAllRequest_RowsItem (..),+    newTableDataInsertAllRequest_RowsItem,++    -- ** TableDataInsertAllResponse+    TableDataInsertAllResponse (..),+    newTableDataInsertAllResponse,++    -- ** TableDataInsertAllResponse_InsertErrorsItem+    TableDataInsertAllResponse_InsertErrorsItem (..),+    newTableDataInsertAllResponse_InsertErrorsItem,++    -- ** TableDataList+    TableDataList (..),+    newTableDataList,++    -- ** TableFieldSchema+    TableFieldSchema (..),+    newTableFieldSchema,++    -- ** TableFieldSchema_Categories+    TableFieldSchema_Categories (..),+    newTableFieldSchema_Categories,++    -- ** TableFieldSchema_PolicyTags+    TableFieldSchema_PolicyTags (..),+    newTableFieldSchema_PolicyTags,++    -- ** TableFieldSchema_RangeElementType+    TableFieldSchema_RangeElementType (..),+    newTableFieldSchema_RangeElementType,++    -- ** TableFieldSchema_RoundingMode+    TableFieldSchema_RoundingMode (..),++    -- ** TableList+    TableList (..),+    newTableList,++    -- ** TableList_TablesItem+    TableList_TablesItem (..),+    newTableList_TablesItem,++    -- ** TableList_TablesItem_Labels+    TableList_TablesItem_Labels (..),+    newTableList_TablesItem_Labels,++    -- ** TableList_TablesItem_View+    TableList_TablesItem_View (..),+    newTableList_TablesItem_View,++    -- ** TableMetadataCacheUsage+    TableMetadataCacheUsage (..),+    newTableMetadataCacheUsage,++    -- ** TableMetadataCacheUsage_UnusedReason+    TableMetadataCacheUsage_UnusedReason (..),++    -- ** TableReference+    TableReference (..),+    newTableReference,++    -- ** TableReplicationInfo+    TableReplicationInfo (..),+    newTableReplicationInfo,++    -- ** TableReplicationInfo_ReplicationStatus+    TableReplicationInfo_ReplicationStatus (..),++    -- ** TableRow+    TableRow (..),+    newTableRow,++    -- ** TableSchema+    TableSchema (..),+    newTableSchema,++    -- ** TestIamPermissionsRequest+    TestIamPermissionsRequest (..),+    newTestIamPermissionsRequest,++    -- ** TestIamPermissionsResponse+    TestIamPermissionsResponse (..),+    newTestIamPermissionsResponse,++    -- ** TimePartitioning+    TimePartitioning (..),+    newTimePartitioning,++    -- ** TrainingOptions+    TrainingOptions (..),+    newTrainingOptions,++    -- ** TrainingOptions_BoosterType+    TrainingOptions_BoosterType (..),++    -- ** TrainingOptions_CategoryEncodingMethod+    TrainingOptions_CategoryEncodingMethod (..),++    -- ** TrainingOptions_ColorSpace+    TrainingOptions_ColorSpace (..),++    -- ** TrainingOptions_DartNormalizeType+    TrainingOptions_DartNormalizeType (..),++    -- ** TrainingOptions_DataFrequency+    TrainingOptions_DataFrequency (..),++    -- ** TrainingOptions_DataSplitMethod+    TrainingOptions_DataSplitMethod (..),++    -- ** TrainingOptions_DistanceType+    TrainingOptions_DistanceType (..),++    -- ** TrainingOptions_FeedbackType+    TrainingOptions_FeedbackType (..),++    -- ** TrainingOptions_HolidayRegion+    TrainingOptions_HolidayRegion (..),++    -- ** TrainingOptions_HolidayRegionsItem+    TrainingOptions_HolidayRegionsItem (..),++    -- ** TrainingOptions_HparamTuningObjectivesItem+    TrainingOptions_HparamTuningObjectivesItem (..),++    -- ** TrainingOptions_KmeansInitializationMethod+    TrainingOptions_KmeansInitializationMethod (..),++    -- ** TrainingOptions_LabelClassWeights+    TrainingOptions_LabelClassWeights (..),+    newTrainingOptions_LabelClassWeights,++    -- ** TrainingOptions_LearnRateStrategy+    TrainingOptions_LearnRateStrategy (..),++    -- ** TrainingOptions_LossType+    TrainingOptions_LossType (..),++    -- ** TrainingOptions_ModelRegistry+    TrainingOptions_ModelRegistry (..),++    -- ** TrainingOptions_OptimizationStrategy+    TrainingOptions_OptimizationStrategy (..),++    -- ** TrainingOptions_PcaSolver+    TrainingOptions_PcaSolver (..),++    -- ** TrainingOptions_TreeMethod+    TrainingOptions_TreeMethod (..),++    -- ** TrainingRun+    TrainingRun (..),+    newTrainingRun,++    -- ** TransactionInfo+    TransactionInfo (..),+    newTransactionInfo,++    -- ** TransformColumn+    TransformColumn (..),+    newTransformColumn,++    -- ** UndeleteDatasetRequest+    UndeleteDatasetRequest (..),+    newUndeleteDatasetRequest,++    -- ** UserDefinedFunctionResource+    UserDefinedFunctionResource (..),+    newUserDefinedFunctionResource,++    -- ** VectorSearchStatistics+    VectorSearchStatistics (..),+    newVectorSearchStatistics,++    -- ** VectorSearchStatistics_IndexUsageMode+    VectorSearchStatistics_IndexUsageMode (..),++    -- ** ViewDefinition+    ViewDefinition (..),+    newViewDefinition,++    -- ** DatasetsGetDatasetView+    DatasetsGetDatasetView (..),++    -- ** JobsListProjection+    JobsListProjection (..),++    -- ** JobsListStateFilter+    JobsListStateFilter (..),++    -- ** TablesGetView+    TablesGetView (..),+  )+where++import Gogol.BigQuery.Datasets.Delete+import Gogol.BigQuery.Datasets.Get+import Gogol.BigQuery.Datasets.Insert+import Gogol.BigQuery.Datasets.List+import Gogol.BigQuery.Datasets.Patch+import Gogol.BigQuery.Datasets.Undelete+import Gogol.BigQuery.Datasets.Update+import Gogol.BigQuery.Jobs.Cancel+import Gogol.BigQuery.Jobs.Delete+import Gogol.BigQuery.Jobs.Get+import Gogol.BigQuery.Jobs.GetQueryResults+import Gogol.BigQuery.Jobs.Insert+import Gogol.BigQuery.Jobs.List+import Gogol.BigQuery.Jobs.Query+import Gogol.BigQuery.Models.Delete+import Gogol.BigQuery.Models.Get+import Gogol.BigQuery.Models.List+import Gogol.BigQuery.Models.Patch+import Gogol.BigQuery.Projects.GetServiceAccount+import Gogol.BigQuery.Projects.List+import Gogol.BigQuery.Routines.Delete+import Gogol.BigQuery.Routines.Get+import Gogol.BigQuery.Routines.GetIamPolicy+import Gogol.BigQuery.Routines.Insert+import Gogol.BigQuery.Routines.List+import Gogol.BigQuery.Routines.SetIamPolicy+import Gogol.BigQuery.Routines.Update+import Gogol.BigQuery.RowAccessPolicies.BatchDelete+import Gogol.BigQuery.RowAccessPolicies.Delete+import Gogol.BigQuery.RowAccessPolicies.Get+import Gogol.BigQuery.RowAccessPolicies.GetIamPolicy+import Gogol.BigQuery.RowAccessPolicies.Insert+import Gogol.BigQuery.RowAccessPolicies.List+import Gogol.BigQuery.RowAccessPolicies.TestIamPermissions+import Gogol.BigQuery.RowAccessPolicies.Update+import Gogol.BigQuery.Tabledata.InsertAll+import Gogol.BigQuery.Tabledata.List+import Gogol.BigQuery.Tables.Delete+import Gogol.BigQuery.Tables.Get+import Gogol.BigQuery.Tables.GetIamPolicy+import Gogol.BigQuery.Tables.Insert+import Gogol.BigQuery.Tables.List+import Gogol.BigQuery.Tables.Patch+import Gogol.BigQuery.Tables.SetIamPolicy+import Gogol.BigQuery.Tables.TestIamPermissions+import Gogol.BigQuery.Tables.Update+import Gogol.BigQuery.Types
+ gen/Gogol/BigQuery/Datasets/Delete.hs view
@@ -0,0 +1,124 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.BigQuery.Datasets.Delete+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes the dataset specified by the datasetId value. Before you can delete a dataset, you must delete all its tables, either manually or by specifying deleteContents. Immediately after deletion, you can create another dataset with the same name.+--+-- /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.datasets.delete@.+module Gogol.BigQuery.Datasets.Delete+  ( -- * Resource+    BigQueryDatasetsDeleteResource,++    -- ** Constructing a Request+    BigQueryDatasetsDelete (..),+    newBigQueryDatasetsDelete,+  )+where++import Gogol.BigQuery.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquery.datasets.delete@ method which the+-- 'BigQueryDatasetsDelete' request conforms to.+type BigQueryDatasetsDeleteResource =+  "bigquery"+    Core.:> "v2"+    Core.:> "projects"+    Core.:> Core.Capture "projectId" Core.Text+    Core.:> "datasets"+    Core.:> Core.Capture "datasetId" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "deleteContents" Core.Bool+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Delete '[Core.JSON] ()++-- | Deletes the dataset specified by the datasetId value. Before you can delete a dataset, you must delete all its tables, either manually or by specifying deleteContents. Immediately after deletion, you can create another dataset with the same name.+--+-- /See:/ 'newBigQueryDatasetsDelete' smart constructor.+data BigQueryDatasetsDelete = BigQueryDatasetsDelete+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. Dataset ID of dataset being deleted+    datasetId :: Core.Text,+    -- | If True, delete all the tables in the dataset. If False and the dataset contains tables, the request will fail. Default is False+    deleteContents :: (Core.Maybe Core.Bool),+    -- | Required. Project ID of the dataset being deleted+    projectId :: Core.Text,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BigQueryDatasetsDelete' with the minimum fields required to make a request.+newBigQueryDatasetsDelete ::+  -- |  Required. Dataset ID of dataset being deleted See 'datasetId'.+  Core.Text ->+  -- |  Required. Project ID of the dataset being deleted See 'projectId'.+  Core.Text ->+  BigQueryDatasetsDelete+newBigQueryDatasetsDelete datasetId projectId =+  BigQueryDatasetsDelete+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      datasetId = datasetId,+      deleteContents = Core.Nothing,+      projectId = projectId,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest BigQueryDatasetsDelete where+  type Rs BigQueryDatasetsDelete = ()+  type+    Scopes BigQueryDatasetsDelete =+      '[Bigquery'FullControl, CloudPlatform'FullControl]+  requestClient BigQueryDatasetsDelete {..} =+    go+      projectId+      datasetId+      xgafv+      accessToken+      callback+      deleteContents+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      bigQueryService+    where+      go =+        Core.buildClient+          (Core.Proxy :: Core.Proxy BigQueryDatasetsDeleteResource)+          Core.mempty
+ gen/Gogol/BigQuery/Datasets/Get.hs view
@@ -0,0 +1,132 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.BigQuery.Datasets.Get+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns the dataset specified by datasetID.+--+-- /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.datasets.get@.+module Gogol.BigQuery.Datasets.Get+  ( -- * Resource+    BigQueryDatasetsGetResource,++    -- ** Constructing a Request+    BigQueryDatasetsGet (..),+    newBigQueryDatasetsGet,+  )+where++import Gogol.BigQuery.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquery.datasets.get@ method which the+-- 'BigQueryDatasetsGet' request conforms to.+type BigQueryDatasetsGetResource =+  "bigquery"+    Core.:> "v2"+    Core.:> "projects"+    Core.:> Core.Capture "projectId" Core.Text+    Core.:> "datasets"+    Core.:> Core.Capture "datasetId" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "accessPolicyVersion" Core.Int32+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "datasetView" DatasetsGetDatasetView+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Get '[Core.JSON] Dataset++-- | Returns the dataset specified by datasetID.+--+-- /See:/ 'newBigQueryDatasetsGet' smart constructor.+data BigQueryDatasetsGet = BigQueryDatasetsGet+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | Optional. The version of the access policy schema to fetch. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for conditional access policy binding in datasets must specify version 3. Dataset with no conditional role bindings in access policy may specify any valid value or leave the field unset. This field will be mapped to [IAM Policy version] (https:\/\/cloud.google.com\/iam\/docs\/policies#versions) and will be used to fetch policy from IAM. If unset or if 0 or 1 value is used for dataset with conditional bindings, access entry with condition will have role string appended by \'withcond\' string followed by a hash value. For example : { \"access\": [ { \"role\": \"roles\/bigquery.dataViewer/with/conditionalbinding_7a34awqsda\", \"userByEmail\": \"user\@example.com\", } ] } Please refer https:\/\/cloud.google.com\/iam\/docs\/troubleshooting-withcond for more details.+    accessPolicyVersion :: (Core.Maybe Core.Int32),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. Dataset ID of the requested dataset+    datasetId :: Core.Text,+    -- | Optional. Specifies the view that determines which dataset information is returned. By default, metadata and ACL information are returned.+    datasetView :: (Core.Maybe DatasetsGetDatasetView),+    -- | Required. Project ID of the requested dataset+    projectId :: Core.Text,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BigQueryDatasetsGet' with the minimum fields required to make a request.+newBigQueryDatasetsGet ::+  -- |  Required. Dataset ID of the requested dataset See 'datasetId'.+  Core.Text ->+  -- |  Required. Project ID of the requested dataset See 'projectId'.+  Core.Text ->+  BigQueryDatasetsGet+newBigQueryDatasetsGet datasetId projectId =+  BigQueryDatasetsGet+    { xgafv = Core.Nothing,+      accessPolicyVersion = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      datasetId = datasetId,+      datasetView = Core.Nothing,+      projectId = projectId,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest BigQueryDatasetsGet where+  type Rs BigQueryDatasetsGet = Dataset+  type+    Scopes BigQueryDatasetsGet =+      '[ Bigquery'FullControl,+         CloudPlatform'FullControl,+         CloudPlatform'ReadOnly+       ]+  requestClient BigQueryDatasetsGet {..} =+    go+      projectId+      datasetId+      xgafv+      accessPolicyVersion+      accessToken+      callback+      datasetView+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      bigQueryService+    where+      go =+        Core.buildClient+          (Core.Proxy :: Core.Proxy BigQueryDatasetsGetResource)+          Core.mempty
+ gen/Gogol/BigQuery/Datasets/Insert.hs view
@@ -0,0 +1,124 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.BigQuery.Datasets.Insert+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates a new empty dataset.+--+-- /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.datasets.insert@.+module Gogol.BigQuery.Datasets.Insert+  ( -- * Resource+    BigQueryDatasetsInsertResource,++    -- ** Constructing a Request+    BigQueryDatasetsInsert (..),+    newBigQueryDatasetsInsert,+  )+where++import Gogol.BigQuery.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquery.datasets.insert@ method which the+-- 'BigQueryDatasetsInsert' request conforms to.+type BigQueryDatasetsInsertResource =+  "bigquery"+    Core.:> "v2"+    Core.:> "projects"+    Core.:> Core.Capture "projectId" Core.Text+    Core.:> "datasets"+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "accessPolicyVersion" Core.Int32+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.ReqBody '[Core.JSON] Dataset+    Core.:> Core.Post '[Core.JSON] Dataset++-- | Creates a new empty dataset.+--+-- /See:/ 'newBigQueryDatasetsInsert' smart constructor.+data BigQueryDatasetsInsert = BigQueryDatasetsInsert+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | Optional. The version of the provided access policy schema. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. This version refers to the schema version of the access policy and not the version of access policy. This field\'s value can be equal or more than the access policy schema provided in the request. For example, * Requests with conditional access policy binding in datasets must specify version 3. * But dataset with no conditional role bindings in access policy may specify any valid value or leave the field unset. If unset or if 0 or 1 value is used for dataset with conditional bindings, request will be rejected. This field will be mapped to IAM Policy version (https:\/\/cloud.google.com\/iam\/docs\/policies#versions) and will be used to set policy in IAM.+    accessPolicyVersion :: (Core.Maybe Core.Int32),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Multipart request metadata.+    payload :: Dataset,+    -- | Required. Project ID of the new dataset+    projectId :: Core.Text,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BigQueryDatasetsInsert' with the minimum fields required to make a request.+newBigQueryDatasetsInsert ::+  -- |  Multipart request metadata. See 'payload'.+  Dataset ->+  -- |  Required. Project ID of the new dataset See 'projectId'.+  Core.Text ->+  BigQueryDatasetsInsert+newBigQueryDatasetsInsert payload projectId =+  BigQueryDatasetsInsert+    { xgafv = Core.Nothing,+      accessPolicyVersion = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      payload = payload,+      projectId = projectId,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest BigQueryDatasetsInsert where+  type Rs BigQueryDatasetsInsert = Dataset+  type+    Scopes BigQueryDatasetsInsert =+      '[Bigquery'FullControl, CloudPlatform'FullControl]+  requestClient BigQueryDatasetsInsert {..} =+    go+      projectId+      xgafv+      accessPolicyVersion+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      payload+      bigQueryService+    where+      go =+        Core.buildClient+          (Core.Proxy :: Core.Proxy BigQueryDatasetsInsertResource)+          Core.mempty
+ gen/Gogol/BigQuery/Datasets/List.hs view
@@ -0,0 +1,135 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.BigQuery.Datasets.List+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists all datasets in the specified project to which the user has been granted the READER dataset role.+--+-- /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.datasets.list@.+module Gogol.BigQuery.Datasets.List+  ( -- * Resource+    BigQueryDatasetsListResource,++    -- ** Constructing a Request+    BigQueryDatasetsList (..),+    newBigQueryDatasetsList,+  )+where++import Gogol.BigQuery.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquery.datasets.list@ method which the+-- 'BigQueryDatasetsList' request conforms to.+type BigQueryDatasetsListResource =+  "bigquery"+    Core.:> "v2"+    Core.:> "projects"+    Core.:> Core.Capture "projectId" Core.Text+    Core.:> "datasets"+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "all" Core.Bool+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "filter" Core.Text+    Core.:> Core.QueryParam "maxResults" Core.Word32+    Core.:> Core.QueryParam "pageToken" Core.Text+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Get '[Core.JSON] DatasetList++-- | Lists all datasets in the specified project to which the user has been granted the READER dataset role.+--+-- /See:/ 'newBigQueryDatasetsList' smart constructor.+data BigQueryDatasetsList = BigQueryDatasetsList+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | Whether to list all datasets, including hidden ones+    all :: (Core.Maybe Core.Bool),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | An expression for filtering the results of the request by label. The syntax is @labels.[:]@. Multiple filters can be AND-ed together by connecting with a space. Example: @labels.department:receiving labels.active@. See <https://cloud.google.com/bigquery/docs/filtering-labels#filtering_datasets_using_labels Filtering datasets using labels> for details.+    filter :: (Core.Maybe Core.Text),+    -- | The maximum number of results to return in a single response page. Leverage the page tokens to iterate through the entire collection.+    maxResults :: (Core.Maybe Core.Word32),+    -- | Page token, returned by a previous call, to request the next page of results+    pageToken :: (Core.Maybe Core.Text),+    -- | Required. Project ID of the datasets to be listed+    projectId :: Core.Text,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BigQueryDatasetsList' with the minimum fields required to make a request.+newBigQueryDatasetsList ::+  -- |  Required. Project ID of the datasets to be listed See 'projectId'.+  Core.Text ->+  BigQueryDatasetsList+newBigQueryDatasetsList projectId =+  BigQueryDatasetsList+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      all = Core.Nothing,+      callback = Core.Nothing,+      filter = Core.Nothing,+      maxResults = Core.Nothing,+      pageToken = Core.Nothing,+      projectId = projectId,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest BigQueryDatasetsList where+  type Rs BigQueryDatasetsList = DatasetList+  type+    Scopes BigQueryDatasetsList =+      '[ Bigquery'FullControl,+         CloudPlatform'FullControl,+         CloudPlatform'ReadOnly+       ]+  requestClient BigQueryDatasetsList {..} =+    go+      projectId+      xgafv+      accessToken+      all+      callback+      filter+      maxResults+      pageToken+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      bigQueryService+    where+      go =+        Core.buildClient+          (Core.Proxy :: Core.Proxy BigQueryDatasetsListResource)+          Core.mempty
+ gen/Gogol/BigQuery/Datasets/Patch.hs view
@@ -0,0 +1,131 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.BigQuery.Datasets.Patch+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Updates information in an existing dataset. The update method replaces the entire dataset resource, whereas the patch method only replaces fields that are provided in the submitted dataset resource. This method supports RFC5789 patch semantics.+--+-- /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.datasets.patch@.+module Gogol.BigQuery.Datasets.Patch+  ( -- * Resource+    BigQueryDatasetsPatchResource,++    -- ** Constructing a Request+    BigQueryDatasetsPatch (..),+    newBigQueryDatasetsPatch,+  )+where++import Gogol.BigQuery.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquery.datasets.patch@ method which the+-- 'BigQueryDatasetsPatch' request conforms to.+type BigQueryDatasetsPatchResource =+  "bigquery"+    Core.:> "v2"+    Core.:> "projects"+    Core.:> Core.Capture "projectId" Core.Text+    Core.:> "datasets"+    Core.:> Core.Capture "datasetId" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "accessPolicyVersion" Core.Int32+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.ReqBody '[Core.JSON] Dataset+    Core.:> Core.Patch '[Core.JSON] Dataset++-- | Updates information in an existing dataset. The update method replaces the entire dataset resource, whereas the patch method only replaces fields that are provided in the submitted dataset resource. This method supports RFC5789 patch semantics.+--+-- /See:/ 'newBigQueryDatasetsPatch' smart constructor.+data BigQueryDatasetsPatch = BigQueryDatasetsPatch+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | Optional. The version of the provided access policy schema. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. This version refers to the schema version of the access policy and not the version of access policy. This field\'s value can be equal or more than the access policy schema provided in the request. For example, * Operations updating conditional access policy binding in datasets must specify version 3. Some of the operations are : - Adding a new access policy entry with condition. - Removing an access policy entry with condition. - Updating an access policy entry with condition. * But dataset with no conditional role bindings in access policy may specify any valid value or leave the field unset. If unset or if 0 or 1 value is used for dataset with conditional bindings, request will be rejected. This field will be mapped to IAM Policy version (https:\/\/cloud.google.com\/iam\/docs\/policies#versions) and will be used to set policy in IAM.+    accessPolicyVersion :: (Core.Maybe Core.Int32),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. Dataset ID of the dataset being updated+    datasetId :: Core.Text,+    -- | Multipart request metadata.+    payload :: Dataset,+    -- | Required. Project ID of the dataset being updated+    projectId :: Core.Text,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BigQueryDatasetsPatch' with the minimum fields required to make a request.+newBigQueryDatasetsPatch ::+  -- |  Required. Dataset ID of the dataset being updated See 'datasetId'.+  Core.Text ->+  -- |  Multipart request metadata. See 'payload'.+  Dataset ->+  -- |  Required. Project ID of the dataset being updated See 'projectId'.+  Core.Text ->+  BigQueryDatasetsPatch+newBigQueryDatasetsPatch datasetId payload projectId =+  BigQueryDatasetsPatch+    { xgafv = Core.Nothing,+      accessPolicyVersion = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      datasetId = datasetId,+      payload = payload,+      projectId = projectId,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest BigQueryDatasetsPatch where+  type Rs BigQueryDatasetsPatch = Dataset+  type+    Scopes BigQueryDatasetsPatch =+      '[Bigquery'FullControl, CloudPlatform'FullControl]+  requestClient BigQueryDatasetsPatch {..} =+    go+      projectId+      datasetId+      xgafv+      accessPolicyVersion+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      payload+      bigQueryService+    where+      go =+        Core.buildClient+          (Core.Proxy :: Core.Proxy BigQueryDatasetsPatchResource)+          Core.mempty
+ gen/Gogol/BigQuery/Datasets/Undelete.hs view
@@ -0,0 +1,126 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.BigQuery.Datasets.Undelete+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Undeletes a dataset which is within time travel window based on datasetId. If a time is specified, the dataset version deleted at that time is undeleted, else the last live version is undeleted.+--+-- /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.datasets.undelete@.+module Gogol.BigQuery.Datasets.Undelete+  ( -- * Resource+    BigQueryDatasetsUndeleteResource,++    -- ** Constructing a Request+    BigQueryDatasetsUndelete (..),+    newBigQueryDatasetsUndelete,+  )+where++import Gogol.BigQuery.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquery.datasets.undelete@ method which the+-- 'BigQueryDatasetsUndelete' request conforms to.+type BigQueryDatasetsUndeleteResource =+  "bigquery"+    Core.:> "v2"+    Core.:> "projects"+    Core.:> Core.Capture "projectId" Core.Text+    Core.:> "datasets"+    Core.:> Core.CaptureMode "datasetId" "undelete" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.ReqBody '[Core.JSON] UndeleteDatasetRequest+    Core.:> Core.Post '[Core.JSON] Dataset++-- | Undeletes a dataset which is within time travel window based on datasetId. If a time is specified, the dataset version deleted at that time is undeleted, else the last live version is undeleted.+--+-- /See:/ 'newBigQueryDatasetsUndelete' smart constructor.+data BigQueryDatasetsUndelete = BigQueryDatasetsUndelete+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. Dataset ID of dataset being deleted+    datasetId :: Core.Text,+    -- | Multipart request metadata.+    payload :: UndeleteDatasetRequest,+    -- | Required. Project ID of the dataset to be undeleted+    projectId :: Core.Text,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BigQueryDatasetsUndelete' with the minimum fields required to make a request.+newBigQueryDatasetsUndelete ::+  -- |  Required. Dataset ID of dataset being deleted See 'datasetId'.+  Core.Text ->+  -- |  Multipart request metadata. See 'payload'.+  UndeleteDatasetRequest ->+  -- |  Required. Project ID of the dataset to be undeleted See 'projectId'.+  Core.Text ->+  BigQueryDatasetsUndelete+newBigQueryDatasetsUndelete datasetId payload projectId =+  BigQueryDatasetsUndelete+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      datasetId = datasetId,+      payload = payload,+      projectId = projectId,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest BigQueryDatasetsUndelete where+  type Rs BigQueryDatasetsUndelete = Dataset+  type+    Scopes BigQueryDatasetsUndelete =+      '[Bigquery'FullControl, CloudPlatform'FullControl]+  requestClient BigQueryDatasetsUndelete {..} =+    go+      projectId+      datasetId+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      payload+      bigQueryService+    where+      go =+        Core.buildClient+          (Core.Proxy :: Core.Proxy BigQueryDatasetsUndeleteResource)+          Core.mempty
+ gen/Gogol/BigQuery/Datasets/Update.hs view
@@ -0,0 +1,131 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.BigQuery.Datasets.Update+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Updates information in an existing dataset. The update method replaces the entire dataset resource, whereas the patch method only replaces fields that are provided in the submitted dataset resource.+--+-- /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.datasets.update@.+module Gogol.BigQuery.Datasets.Update+  ( -- * Resource+    BigQueryDatasetsUpdateResource,++    -- ** Constructing a Request+    BigQueryDatasetsUpdate (..),+    newBigQueryDatasetsUpdate,+  )+where++import Gogol.BigQuery.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquery.datasets.update@ method which the+-- 'BigQueryDatasetsUpdate' request conforms to.+type BigQueryDatasetsUpdateResource =+  "bigquery"+    Core.:> "v2"+    Core.:> "projects"+    Core.:> Core.Capture "projectId" Core.Text+    Core.:> "datasets"+    Core.:> Core.Capture "datasetId" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "accessPolicyVersion" Core.Int32+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.ReqBody '[Core.JSON] Dataset+    Core.:> Core.Put '[Core.JSON] Dataset++-- | Updates information in an existing dataset. The update method replaces the entire dataset resource, whereas the patch method only replaces fields that are provided in the submitted dataset resource.+--+-- /See:/ 'newBigQueryDatasetsUpdate' smart constructor.+data BigQueryDatasetsUpdate = BigQueryDatasetsUpdate+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | Optional. The version of the provided access policy schema. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. This version refers to the schema version of the access policy and not the version of access policy. This field\'s value can be equal or more than the access policy schema provided in the request. For example, * Operations updating conditional access policy binding in datasets must specify version 3. Some of the operations are : - Adding a new access policy entry with condition. - Removing an access policy entry with condition. - Updating an access policy entry with condition. * But dataset with no conditional role bindings in access policy may specify any valid value or leave the field unset. If unset or if 0 or 1 value is used for dataset with conditional bindings, request will be rejected. This field will be mapped to IAM Policy version (https:\/\/cloud.google.com\/iam\/docs\/policies#versions) and will be used to set policy in IAM.+    accessPolicyVersion :: (Core.Maybe Core.Int32),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. Dataset ID of the dataset being updated+    datasetId :: Core.Text,+    -- | Multipart request metadata.+    payload :: Dataset,+    -- | Required. Project ID of the dataset being updated+    projectId :: Core.Text,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BigQueryDatasetsUpdate' with the minimum fields required to make a request.+newBigQueryDatasetsUpdate ::+  -- |  Required. Dataset ID of the dataset being updated See 'datasetId'.+  Core.Text ->+  -- |  Multipart request metadata. See 'payload'.+  Dataset ->+  -- |  Required. Project ID of the dataset being updated See 'projectId'.+  Core.Text ->+  BigQueryDatasetsUpdate+newBigQueryDatasetsUpdate datasetId payload projectId =+  BigQueryDatasetsUpdate+    { xgafv = Core.Nothing,+      accessPolicyVersion = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      datasetId = datasetId,+      payload = payload,+      projectId = projectId,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest BigQueryDatasetsUpdate where+  type Rs BigQueryDatasetsUpdate = Dataset+  type+    Scopes BigQueryDatasetsUpdate =+      '[Bigquery'FullControl, CloudPlatform'FullControl]+  requestClient BigQueryDatasetsUpdate {..} =+    go+      projectId+      datasetId+      xgafv+      accessPolicyVersion+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      payload+      bigQueryService+    where+      go =+        Core.buildClient+          (Core.Proxy :: Core.Proxy BigQueryDatasetsUpdateResource)+          Core.mempty
+ gen/Gogol/BigQuery/Internal/Product.hs view
@@ -0,0 +1,14019 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.BigQuery.Internal.Product+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Gogol.BigQuery.Internal.Product+  ( -- * AggregateClassificationMetrics+    AggregateClassificationMetrics (..),+    newAggregateClassificationMetrics,++    -- * AggregationThresholdPolicy+    AggregationThresholdPolicy (..),+    newAggregationThresholdPolicy,++    -- * Argument+    Argument (..),+    newArgument,++    -- * ArimaCoefficients+    ArimaCoefficients (..),+    newArimaCoefficients,++    -- * ArimaFittingMetrics+    ArimaFittingMetrics (..),+    newArimaFittingMetrics,++    -- * ArimaForecastingMetrics+    ArimaForecastingMetrics (..),+    newArimaForecastingMetrics,++    -- * ArimaModelInfo+    ArimaModelInfo (..),+    newArimaModelInfo,++    -- * ArimaOrder+    ArimaOrder (..),+    newArimaOrder,++    -- * ArimaResult+    ArimaResult (..),+    newArimaResult,++    -- * ArimaSingleModelForecastingMetrics+    ArimaSingleModelForecastingMetrics (..),+    newArimaSingleModelForecastingMetrics,++    -- * AuditConfig+    AuditConfig (..),+    newAuditConfig,++    -- * AuditLogConfig+    AuditLogConfig (..),+    newAuditLogConfig,++    -- * AvroOptions+    AvroOptions (..),+    newAvroOptions,++    -- * BatchDeleteRowAccessPoliciesRequest+    BatchDeleteRowAccessPoliciesRequest (..),+    newBatchDeleteRowAccessPoliciesRequest,++    -- * BiEngineReason+    BiEngineReason (..),+    newBiEngineReason,++    -- * BiEngineStatistics+    BiEngineStatistics (..),+    newBiEngineStatistics,++    -- * BigLakeConfiguration+    BigLakeConfiguration (..),+    newBigLakeConfiguration,++    -- * BigQueryModelTraining+    BigQueryModelTraining (..),+    newBigQueryModelTraining,++    -- * BigtableColumn+    BigtableColumn (..),+    newBigtableColumn,++    -- * BigtableColumnFamily+    BigtableColumnFamily (..),+    newBigtableColumnFamily,++    -- * BigtableOptions+    BigtableOptions (..),+    newBigtableOptions,++    -- * BinaryClassificationMetrics+    BinaryClassificationMetrics (..),+    newBinaryClassificationMetrics,++    -- * BinaryConfusionMatrix+    BinaryConfusionMatrix (..),+    newBinaryConfusionMatrix,++    -- * Binding+    Binding (..),+    newBinding,++    -- * BqmlIterationResult+    BqmlIterationResult (..),+    newBqmlIterationResult,++    -- * BqmlTrainingRun+    BqmlTrainingRun (..),+    newBqmlTrainingRun,++    -- * BqmlTrainingRun_TrainingOptions+    BqmlTrainingRun_TrainingOptions (..),+    newBqmlTrainingRun_TrainingOptions,++    -- * CategoricalValue+    CategoricalValue (..),+    newCategoricalValue,++    -- * CategoryCount+    CategoryCount (..),+    newCategoryCount,++    -- * CloneDefinition+    CloneDefinition (..),+    newCloneDefinition,++    -- * Cluster+    Cluster (..),+    newCluster,++    -- * ClusterInfo+    ClusterInfo (..),+    newClusterInfo,++    -- * Clustering+    Clustering (..),+    newClustering,++    -- * ClusteringMetrics+    ClusteringMetrics (..),+    newClusteringMetrics,++    -- * ConfusionMatrix+    ConfusionMatrix (..),+    newConfusionMatrix,++    -- * ConnectionProperty+    ConnectionProperty (..),+    newConnectionProperty,++    -- * CsvOptions+    CsvOptions (..),+    newCsvOptions,++    -- * DataFormatOptions+    DataFormatOptions (..),+    newDataFormatOptions,++    -- * DataMaskingStatistics+    DataMaskingStatistics (..),+    newDataMaskingStatistics,++    -- * DataPolicyOption+    DataPolicyOption (..),+    newDataPolicyOption,++    -- * DataSplitResult+    DataSplitResult (..),+    newDataSplitResult,++    -- * Dataset+    Dataset (..),+    newDataset,++    -- * Dataset_AccessItem+    Dataset_AccessItem (..),+    newDataset_AccessItem,++    -- * Dataset_Labels+    Dataset_Labels (..),+    newDataset_Labels,++    -- * Dataset_ResourceTags+    Dataset_ResourceTags (..),+    newDataset_ResourceTags,++    -- * Dataset_TagsItem+    Dataset_TagsItem (..),+    newDataset_TagsItem,++    -- * DatasetAccessEntry+    DatasetAccessEntry (..),+    newDatasetAccessEntry,++    -- * DatasetList+    DatasetList (..),+    newDatasetList,++    -- * DatasetList_DatasetsItem+    DatasetList_DatasetsItem (..),+    newDatasetList_DatasetsItem,++    -- * DatasetList_DatasetsItem_Labels+    DatasetList_DatasetsItem_Labels (..),+    newDatasetList_DatasetsItem_Labels,++    -- * DatasetReference+    DatasetReference (..),+    newDatasetReference,++    -- * DestinationTableProperties+    DestinationTableProperties (..),+    newDestinationTableProperties,++    -- * DestinationTableProperties_Labels+    DestinationTableProperties_Labels (..),+    newDestinationTableProperties_Labels,++    -- * DifferentialPrivacyPolicy+    DifferentialPrivacyPolicy (..),+    newDifferentialPrivacyPolicy,++    -- * DimensionalityReductionMetrics+    DimensionalityReductionMetrics (..),+    newDimensionalityReductionMetrics,++    -- * DmlStatistics+    DmlStatistics (..),+    newDmlStatistics,++    -- * DoubleCandidates+    DoubleCandidates (..),+    newDoubleCandidates,++    -- * DoubleHparamSearchSpace+    DoubleHparamSearchSpace (..),+    newDoubleHparamSearchSpace,++    -- * DoubleRange+    DoubleRange (..),+    newDoubleRange,++    -- * EncryptionConfiguration+    EncryptionConfiguration (..),+    newEncryptionConfiguration,++    -- * Entry+    Entry (..),+    newEntry,++    -- * ErrorProto+    ErrorProto (..),+    newErrorProto,++    -- * EvaluationMetrics+    EvaluationMetrics (..),+    newEvaluationMetrics,++    -- * ExplainQueryStage+    ExplainQueryStage (..),+    newExplainQueryStage,++    -- * ExplainQueryStep+    ExplainQueryStep (..),+    newExplainQueryStep,++    -- * Explanation+    Explanation (..),+    newExplanation,++    -- * ExportDataStatistics+    ExportDataStatistics (..),+    newExportDataStatistics,++    -- * Expr+    Expr (..),+    newExpr,++    -- * ExternalCatalogDatasetOptions+    ExternalCatalogDatasetOptions (..),+    newExternalCatalogDatasetOptions,++    -- * ExternalCatalogDatasetOptions_Parameters+    ExternalCatalogDatasetOptions_Parameters (..),+    newExternalCatalogDatasetOptions_Parameters,++    -- * ExternalCatalogTableOptions+    ExternalCatalogTableOptions (..),+    newExternalCatalogTableOptions,++    -- * ExternalCatalogTableOptions_Parameters+    ExternalCatalogTableOptions_Parameters (..),+    newExternalCatalogTableOptions_Parameters,++    -- * ExternalDataConfiguration+    ExternalDataConfiguration (..),+    newExternalDataConfiguration,++    -- * ExternalDatasetReference+    ExternalDatasetReference (..),+    newExternalDatasetReference,++    -- * ExternalServiceCost+    ExternalServiceCost (..),+    newExternalServiceCost,++    -- * FeatureValue+    FeatureValue (..),+    newFeatureValue,++    -- * ForeignTypeInfo+    ForeignTypeInfo (..),+    newForeignTypeInfo,++    -- * ForeignViewDefinition+    ForeignViewDefinition (..),+    newForeignViewDefinition,++    -- * GetIamPolicyRequest+    GetIamPolicyRequest (..),+    newGetIamPolicyRequest,++    -- * GetPolicyOptions+    GetPolicyOptions (..),+    newGetPolicyOptions,++    -- * GetQueryResultsResponse+    GetQueryResultsResponse (..),+    newGetQueryResultsResponse,++    -- * GetServiceAccountResponse+    GetServiceAccountResponse (..),+    newGetServiceAccountResponse,++    -- * GlobalExplanation+    GlobalExplanation (..),+    newGlobalExplanation,++    -- * GoogleSheetsOptions+    GoogleSheetsOptions (..),+    newGoogleSheetsOptions,++    -- * HighCardinalityJoin+    HighCardinalityJoin (..),+    newHighCardinalityJoin,++    -- * HivePartitioningOptions+    HivePartitioningOptions (..),+    newHivePartitioningOptions,++    -- * HparamSearchSpaces+    HparamSearchSpaces (..),+    newHparamSearchSpaces,++    -- * HparamTuningTrial+    HparamTuningTrial (..),+    newHparamTuningTrial,++    -- * IndexUnusedReason+    IndexUnusedReason (..),+    newIndexUnusedReason,++    -- * InputDataChange+    InputDataChange (..),+    newInputDataChange,++    -- * IntArray+    IntArray (..),+    newIntArray,++    -- * IntArrayHparamSearchSpace+    IntArrayHparamSearchSpace (..),+    newIntArrayHparamSearchSpace,++    -- * IntCandidates+    IntCandidates (..),+    newIntCandidates,++    -- * IntHparamSearchSpace+    IntHparamSearchSpace (..),+    newIntHparamSearchSpace,++    -- * IntRange+    IntRange (..),+    newIntRange,++    -- * IterationResult+    IterationResult (..),+    newIterationResult,++    -- * Job+    Job (..),+    newJob,++    -- * JobCancelResponse+    JobCancelResponse (..),+    newJobCancelResponse,++    -- * JobConfiguration+    JobConfiguration (..),+    newJobConfiguration,++    -- * JobConfiguration_Labels+    JobConfiguration_Labels (..),+    newJobConfiguration_Labels,++    -- * JobConfigurationExtract+    JobConfigurationExtract (..),+    newJobConfigurationExtract,++    -- * JobConfigurationLoad+    JobConfigurationLoad (..),+    newJobConfigurationLoad,++    -- * JobConfigurationQuery+    JobConfigurationQuery (..),+    newJobConfigurationQuery,++    -- * JobConfigurationQuery_TableDefinitions+    JobConfigurationQuery_TableDefinitions (..),+    newJobConfigurationQuery_TableDefinitions,++    -- * JobConfigurationTableCopy+    JobConfigurationTableCopy (..),+    newJobConfigurationTableCopy,++    -- * JobCreationReason+    JobCreationReason (..),+    newJobCreationReason,++    -- * JobList+    JobList (..),+    newJobList,++    -- * JobList_JobsItem+    JobList_JobsItem (..),+    newJobList_JobsItem,++    -- * JobReference+    JobReference (..),+    newJobReference,++    -- * JobStatistics+    JobStatistics (..),+    newJobStatistics,++    -- * JobStatistics_ReservationUsageItem+    JobStatistics_ReservationUsageItem (..),+    newJobStatistics_ReservationUsageItem,++    -- * JobStatistics2+    JobStatistics2 (..),+    newJobStatistics2,++    -- * JobStatistics2_ReservationUsageItem+    JobStatistics2_ReservationUsageItem (..),+    newJobStatistics2_ReservationUsageItem,++    -- * JobStatistics3+    JobStatistics3 (..),+    newJobStatistics3,++    -- * JobStatistics4+    JobStatistics4 (..),+    newJobStatistics4,++    -- * JobStatistics5+    JobStatistics5 (..),+    newJobStatistics5,++    -- * JobStatus+    JobStatus (..),+    newJobStatus,++    -- * JoinRestrictionPolicy+    JoinRestrictionPolicy (..),+    newJoinRestrictionPolicy,++    -- * JsonObject+    JsonObject (..),+    newJsonObject,++    -- * JsonOptions+    JsonOptions (..),+    newJsonOptions,++    -- * LinkedDatasetMetadata+    LinkedDatasetMetadata (..),+    newLinkedDatasetMetadata,++    -- * LinkedDatasetSource+    LinkedDatasetSource (..),+    newLinkedDatasetSource,++    -- * ListModelsResponse+    ListModelsResponse (..),+    newListModelsResponse,++    -- * ListRoutinesResponse+    ListRoutinesResponse (..),+    newListRoutinesResponse,++    -- * ListRowAccessPoliciesResponse+    ListRowAccessPoliciesResponse (..),+    newListRowAccessPoliciesResponse,++    -- * LoadQueryStatistics+    LoadQueryStatistics (..),+    newLoadQueryStatistics,++    -- * LocationMetadata+    LocationMetadata (..),+    newLocationMetadata,++    -- * MaterializedView+    MaterializedView (..),+    newMaterializedView,++    -- * MaterializedViewDefinition+    MaterializedViewDefinition (..),+    newMaterializedViewDefinition,++    -- * MaterializedViewStatistics+    MaterializedViewStatistics (..),+    newMaterializedViewStatistics,++    -- * MaterializedViewStatus+    MaterializedViewStatus (..),+    newMaterializedViewStatus,++    -- * MetadataCacheStatistics+    MetadataCacheStatistics (..),+    newMetadataCacheStatistics,++    -- * MlStatistics+    MlStatistics (..),+    newMlStatistics,++    -- * Model+    Model (..),+    newModel,++    -- * Model_Labels+    Model_Labels (..),+    newModel_Labels,++    -- * ModelDefinition+    ModelDefinition (..),+    newModelDefinition,++    -- * ModelDefinition_ModelOptions+    ModelDefinition_ModelOptions (..),+    newModelDefinition_ModelOptions,++    -- * ModelExtractOptions+    ModelExtractOptions (..),+    newModelExtractOptions,++    -- * ModelReference+    ModelReference (..),+    newModelReference,++    -- * MultiClassClassificationMetrics+    MultiClassClassificationMetrics (..),+    newMultiClassClassificationMetrics,++    -- * ParquetOptions+    ParquetOptions (..),+    newParquetOptions,++    -- * PartitionSkew+    PartitionSkew (..),+    newPartitionSkew,++    -- * PartitionedColumn+    PartitionedColumn (..),+    newPartitionedColumn,++    -- * PartitioningDefinition+    PartitioningDefinition (..),+    newPartitioningDefinition,++    -- * PerformanceInsights+    PerformanceInsights (..),+    newPerformanceInsights,++    -- * Policy+    Policy (..),+    newPolicy,++    -- * PrincipalComponentInfo+    PrincipalComponentInfo (..),+    newPrincipalComponentInfo,++    -- * PrivacyPolicy+    PrivacyPolicy (..),+    newPrivacyPolicy,++    -- * ProjectList+    ProjectList (..),+    newProjectList,++    -- * ProjectList_ProjectsItem+    ProjectList_ProjectsItem (..),+    newProjectList_ProjectsItem,++    -- * ProjectReference+    ProjectReference (..),+    newProjectReference,++    -- * QueryInfo+    QueryInfo (..),+    newQueryInfo,++    -- * QueryInfo_OptimizationDetails+    QueryInfo_OptimizationDetails (..),+    newQueryInfo_OptimizationDetails,++    -- * QueryParameter+    QueryParameter (..),+    newQueryParameter,++    -- * QueryParameterType+    QueryParameterType (..),+    newQueryParameterType,++    -- * QueryParameterType_StructTypesItem+    QueryParameterType_StructTypesItem (..),+    newQueryParameterType_StructTypesItem,++    -- * QueryParameterValue+    QueryParameterValue (..),+    newQueryParameterValue,++    -- * QueryParameterValue_StructValues+    QueryParameterValue_StructValues (..),+    newQueryParameterValue_StructValues,++    -- * QueryRequest+    QueryRequest (..),+    newQueryRequest,++    -- * QueryRequest_Labels+    QueryRequest_Labels (..),+    newQueryRequest_Labels,++    -- * QueryResponse+    QueryResponse (..),+    newQueryResponse,++    -- * QueryTimelineSample+    QueryTimelineSample (..),+    newQueryTimelineSample,++    -- * RangePartitioning+    RangePartitioning (..),+    newRangePartitioning,++    -- * RangePartitioning_Range+    RangePartitioning_Range (..),+    newRangePartitioning_Range,++    -- * RangeValue+    RangeValue (..),+    newRangeValue,++    -- * RankingMetrics+    RankingMetrics (..),+    newRankingMetrics,++    -- * RegressionMetrics+    RegressionMetrics (..),+    newRegressionMetrics,++    -- * RemoteFunctionOptions+    RemoteFunctionOptions (..),+    newRemoteFunctionOptions,++    -- * RemoteFunctionOptions_UserDefinedContext+    RemoteFunctionOptions_UserDefinedContext (..),+    newRemoteFunctionOptions_UserDefinedContext,++    -- * RemoteModelInfo+    RemoteModelInfo (..),+    newRemoteModelInfo,++    -- * RestrictionConfig+    RestrictionConfig (..),+    newRestrictionConfig,++    -- * Routine+    Routine (..),+    newRoutine,++    -- * RoutineReference+    RoutineReference (..),+    newRoutineReference,++    -- * Row+    Row (..),+    newRow,++    -- * RowAccessPolicy+    RowAccessPolicy (..),+    newRowAccessPolicy,++    -- * RowAccessPolicyReference+    RowAccessPolicyReference (..),+    newRowAccessPolicyReference,++    -- * RowLevelSecurityStatistics+    RowLevelSecurityStatistics (..),+    newRowLevelSecurityStatistics,++    -- * ScriptOptions+    ScriptOptions (..),+    newScriptOptions,++    -- * ScriptStackFrame+    ScriptStackFrame (..),+    newScriptStackFrame,++    -- * ScriptStatistics+    ScriptStatistics (..),+    newScriptStatistics,++    -- * SearchStatistics+    SearchStatistics (..),+    newSearchStatistics,++    -- * SerDeInfo+    SerDeInfo (..),+    newSerDeInfo,++    -- * SerDeInfo_Parameters+    SerDeInfo_Parameters (..),+    newSerDeInfo_Parameters,++    -- * SessionInfo+    SessionInfo (..),+    newSessionInfo,++    -- * SetIamPolicyRequest+    SetIamPolicyRequest (..),+    newSetIamPolicyRequest,++    -- * SkewSource+    SkewSource (..),+    newSkewSource,++    -- * SnapshotDefinition+    SnapshotDefinition (..),+    newSnapshotDefinition,++    -- * SparkLoggingInfo+    SparkLoggingInfo (..),+    newSparkLoggingInfo,++    -- * SparkOptions+    SparkOptions (..),+    newSparkOptions,++    -- * SparkOptions_Properties+    SparkOptions_Properties (..),+    newSparkOptions_Properties,++    -- * SparkStatistics+    SparkStatistics (..),+    newSparkStatistics,++    -- * SparkStatistics_Endpoints+    SparkStatistics_Endpoints (..),+    newSparkStatistics_Endpoints,++    -- * StagePerformanceChangeInsight+    StagePerformanceChangeInsight (..),+    newStagePerformanceChangeInsight,++    -- * StagePerformanceStandaloneInsight+    StagePerformanceStandaloneInsight (..),+    newStagePerformanceStandaloneInsight,++    -- * StandardSqlDataType+    StandardSqlDataType (..),+    newStandardSqlDataType,++    -- * StandardSqlField+    StandardSqlField (..),+    newStandardSqlField,++    -- * StandardSqlStructType+    StandardSqlStructType (..),+    newStandardSqlStructType,++    -- * StandardSqlTableType+    StandardSqlTableType (..),+    newStandardSqlTableType,++    -- * StorageDescriptor+    StorageDescriptor (..),+    newStorageDescriptor,++    -- * StoredColumnsUnusedReason+    StoredColumnsUnusedReason (..),+    newStoredColumnsUnusedReason,++    -- * StoredColumnsUsage+    StoredColumnsUsage (..),+    newStoredColumnsUsage,++    -- * Streamingbuffer+    Streamingbuffer (..),+    newStreamingbuffer,++    -- * StringHparamSearchSpace+    StringHparamSearchSpace (..),+    newStringHparamSearchSpace,++    -- * SystemVariables+    SystemVariables (..),+    newSystemVariables,++    -- * SystemVariables_Types+    SystemVariables_Types (..),+    newSystemVariables_Types,++    -- * SystemVariables_Values+    SystemVariables_Values (..),+    newSystemVariables_Values,++    -- * Table+    Table (..),+    newTable,++    -- * Table_Labels+    Table_Labels (..),+    newTable_Labels,++    -- * Table_ResourceTags+    Table_ResourceTags (..),+    newTable_ResourceTags,++    -- * TableCell+    TableCell (..),+    newTableCell,++    -- * TableConstraints+    TableConstraints (..),+    newTableConstraints,++    -- * TableConstraints_ForeignKeysItem+    TableConstraints_ForeignKeysItem (..),+    newTableConstraints_ForeignKeysItem,++    -- * TableConstraints_ForeignKeysItem_ColumnReferencesItem+    TableConstraints_ForeignKeysItem_ColumnReferencesItem (..),+    newTableConstraints_ForeignKeysItem_ColumnReferencesItem,++    -- * TableConstraints_ForeignKeysItem_ReferencedTable+    TableConstraints_ForeignKeysItem_ReferencedTable (..),+    newTableConstraints_ForeignKeysItem_ReferencedTable,++    -- * TableConstraints_PrimaryKey+    TableConstraints_PrimaryKey (..),+    newTableConstraints_PrimaryKey,++    -- * TableDataInsertAllRequest+    TableDataInsertAllRequest (..),+    newTableDataInsertAllRequest,++    -- * TableDataInsertAllRequest_RowsItem+    TableDataInsertAllRequest_RowsItem (..),+    newTableDataInsertAllRequest_RowsItem,++    -- * TableDataInsertAllResponse+    TableDataInsertAllResponse (..),+    newTableDataInsertAllResponse,++    -- * TableDataInsertAllResponse_InsertErrorsItem+    TableDataInsertAllResponse_InsertErrorsItem (..),+    newTableDataInsertAllResponse_InsertErrorsItem,++    -- * TableDataList+    TableDataList (..),+    newTableDataList,++    -- * TableFieldSchema+    TableFieldSchema (..),+    newTableFieldSchema,++    -- * TableFieldSchema_Categories+    TableFieldSchema_Categories (..),+    newTableFieldSchema_Categories,++    -- * TableFieldSchema_PolicyTags+    TableFieldSchema_PolicyTags (..),+    newTableFieldSchema_PolicyTags,++    -- * TableFieldSchema_RangeElementType+    TableFieldSchema_RangeElementType (..),+    newTableFieldSchema_RangeElementType,++    -- * TableList+    TableList (..),+    newTableList,++    -- * TableList_TablesItem+    TableList_TablesItem (..),+    newTableList_TablesItem,++    -- * TableList_TablesItem_Labels+    TableList_TablesItem_Labels (..),+    newTableList_TablesItem_Labels,++    -- * TableList_TablesItem_View+    TableList_TablesItem_View (..),+    newTableList_TablesItem_View,++    -- * TableMetadataCacheUsage+    TableMetadataCacheUsage (..),+    newTableMetadataCacheUsage,++    -- * TableReference+    TableReference (..),+    newTableReference,++    -- * TableReplicationInfo+    TableReplicationInfo (..),+    newTableReplicationInfo,++    -- * TableRow+    TableRow (..),+    newTableRow,++    -- * TableSchema+    TableSchema (..),+    newTableSchema,++    -- * TestIamPermissionsRequest+    TestIamPermissionsRequest (..),+    newTestIamPermissionsRequest,++    -- * TestIamPermissionsResponse+    TestIamPermissionsResponse (..),+    newTestIamPermissionsResponse,++    -- * TimePartitioning+    TimePartitioning (..),+    newTimePartitioning,++    -- * TrainingOptions+    TrainingOptions (..),+    newTrainingOptions,++    -- * TrainingOptions_LabelClassWeights+    TrainingOptions_LabelClassWeights (..),+    newTrainingOptions_LabelClassWeights,++    -- * TrainingRun+    TrainingRun (..),+    newTrainingRun,++    -- * TransactionInfo+    TransactionInfo (..),+    newTransactionInfo,++    -- * TransformColumn+    TransformColumn (..),+    newTransformColumn,++    -- * UndeleteDatasetRequest+    UndeleteDatasetRequest (..),+    newUndeleteDatasetRequest,++    -- * UserDefinedFunctionResource+    UserDefinedFunctionResource (..),+    newUserDefinedFunctionResource,++    -- * VectorSearchStatistics+    VectorSearchStatistics (..),+    newVectorSearchStatistics,++    -- * ViewDefinition+    ViewDefinition (..),+    newViewDefinition,+  )+where++import Gogol.BigQuery.Internal.Sum+import Gogol.Prelude qualified as Core++-- | Aggregate metrics for classification\/classifier models. For multi-class models, the metrics are either macro-averaged or micro-averaged. When macro-averaged, the metrics are calculated for each label and then an unweighted average is taken of those values. When micro-averaged, the metric is calculated globally by counting the total number of correctly predicted rows.+--+-- /See:/ 'newAggregateClassificationMetrics' smart constructor.+data AggregateClassificationMetrics = AggregateClassificationMetrics+  { -- | Accuracy is the fraction of predictions given the correct label. For multiclass this is a micro-averaged metric.+    accuracy :: (Core.Maybe Core.Double),+    -- | The F1 score is an average of recall and precision. For multiclass this is a macro-averaged metric.+    f1Score :: (Core.Maybe Core.Double),+    -- | Logarithmic Loss. For multiclass this is a macro-averaged metric.+    logLoss :: (Core.Maybe Core.Double),+    -- | Precision is the fraction of actual positive predictions that had positive actual labels. For multiclass this is a macro-averaged metric treating each class as a binary classifier.+    precision :: (Core.Maybe Core.Double),+    -- | Recall is the fraction of actual positive labels that were given a positive prediction. For multiclass this is a macro-averaged metric.+    recall :: (Core.Maybe Core.Double),+    -- | Area Under a ROC Curve. For multiclass this is a macro-averaged metric.+    rocAuc :: (Core.Maybe Core.Double),+    -- | Threshold at which the metrics are computed. For binary classification models this is the positive class threshold. For multi-class classification models this is the confidence threshold.+    threshold :: (Core.Maybe Core.Double)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AggregateClassificationMetrics' with the minimum fields required to make a request.+newAggregateClassificationMetrics ::+  AggregateClassificationMetrics+newAggregateClassificationMetrics =+  AggregateClassificationMetrics+    { accuracy = Core.Nothing,+      f1Score = Core.Nothing,+      logLoss = Core.Nothing,+      precision = Core.Nothing,+      recall = Core.Nothing,+      rocAuc = Core.Nothing,+      threshold = Core.Nothing+    }++instance Core.FromJSON AggregateClassificationMetrics where+  parseJSON =+    Core.withObject+      "AggregateClassificationMetrics"+      ( \o ->+          AggregateClassificationMetrics+            Core.<$> (o Core..:? "accuracy")+            Core.<*> (o Core..:? "f1Score")+            Core.<*> (o Core..:? "logLoss")+            Core.<*> (o Core..:? "precision")+            Core.<*> (o Core..:? "recall")+            Core.<*> (o Core..:? "rocAuc")+            Core.<*> (o Core..:? "threshold")+      )++instance Core.ToJSON AggregateClassificationMetrics where+  toJSON AggregateClassificationMetrics {..} =+    Core.object+      ( Core.catMaybes+          [ ("accuracy" Core..=) Core.<$> accuracy,+            ("f1Score" Core..=) Core.<$> f1Score,+            ("logLoss" Core..=) Core.<$> logLoss,+            ("precision" Core..=) Core.<$> precision,+            ("recall" Core..=) Core.<$> recall,+            ("rocAuc" Core..=) Core.<$> rocAuc,+            ("threshold" Core..=) Core.<$> threshold+          ]+      )++-- | Represents privacy policy associated with \"aggregation threshold\" method.+--+-- /See:/ 'newAggregationThresholdPolicy' smart constructor.+data AggregationThresholdPolicy = AggregationThresholdPolicy+  { -- | Optional. The privacy unit column(s) associated with this policy. For now, only one column per data source object (table, view) is allowed as a privacy unit column. Representing as a repeated field in metadata for extensibility to multiple columns in future. Duplicates and Repeated struct fields are not allowed. For nested fields, use dot notation (\"outer.inner\")+    privacyUnitColumns :: (Core.Maybe [Core.Text]),+    -- | Optional. The threshold for the \"aggregation threshold\" policy.+    threshold :: (Core.Maybe Core.Int64)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AggregationThresholdPolicy' with the minimum fields required to make a request.+newAggregationThresholdPolicy ::+  AggregationThresholdPolicy+newAggregationThresholdPolicy =+  AggregationThresholdPolicy+    { privacyUnitColumns = Core.Nothing,+      threshold = Core.Nothing+    }++instance Core.FromJSON AggregationThresholdPolicy where+  parseJSON =+    Core.withObject+      "AggregationThresholdPolicy"+      ( \o ->+          AggregationThresholdPolicy+            Core.<$> (o Core..:? "privacyUnitColumns")+            Core.<*> (o Core..:? "threshold" Core.<&> Core.fmap Core.fromAsText)+      )++instance Core.ToJSON AggregationThresholdPolicy where+  toJSON AggregationThresholdPolicy {..} =+    Core.object+      ( Core.catMaybes+          [ ("privacyUnitColumns" Core..=) Core.<$> privacyUnitColumns,+            ("threshold" Core..=) Core.. Core.AsText Core.<$> threshold+          ]+      )++-- | Input\/output argument of a function or a stored procedure.+--+-- /See:/ 'newArgument' smart constructor.+data Argument = Argument+  { -- | Optional. Defaults to FIXED_TYPE.+    argumentKind :: (Core.Maybe Argument_ArgumentKind),+    -- | Set if argument/kind == FIXED/TYPE.+    dataType :: (Core.Maybe StandardSqlDataType),+    -- | Optional. Whether the argument is an aggregate function parameter. Must be Unset for routine types other than AGGREGATE/FUNCTION. For AGGREGATE/FUNCTION, if set to false, it is equivalent to adding \"NOT AGGREGATE\" clause in DDL; Otherwise, it is equivalent to omitting \"NOT AGGREGATE\" clause in DDL.+    isAggregate :: (Core.Maybe Core.Bool),+    -- | Optional. Specifies whether the argument is input or output. Can be set for procedures only.+    mode :: (Core.Maybe Argument_Mode),+    -- | Optional. The name of this argument. Can be absent for function return argument.+    name :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Argument' with the minimum fields required to make a request.+newArgument ::+  Argument+newArgument =+  Argument+    { argumentKind = Core.Nothing,+      dataType = Core.Nothing,+      isAggregate = Core.Nothing,+      mode = Core.Nothing,+      name = Core.Nothing+    }++instance Core.FromJSON Argument where+  parseJSON =+    Core.withObject+      "Argument"+      ( \o ->+          Argument+            Core.<$> (o Core..:? "argumentKind")+            Core.<*> (o Core..:? "dataType")+            Core.<*> (o Core..:? "isAggregate")+            Core.<*> (o Core..:? "mode")+            Core.<*> (o Core..:? "name")+      )++instance Core.ToJSON Argument where+  toJSON Argument {..} =+    Core.object+      ( Core.catMaybes+          [ ("argumentKind" Core..=) Core.<$> argumentKind,+            ("dataType" Core..=) Core.<$> dataType,+            ("isAggregate" Core..=) Core.<$> isAggregate,+            ("mode" Core..=) Core.<$> mode,+            ("name" Core..=) Core.<$> name+          ]+      )++-- | Arima coefficients.+--+-- /See:/ 'newArimaCoefficients' smart constructor.+data ArimaCoefficients = ArimaCoefficients+  { -- | Auto-regressive coefficients, an array of double.+    autoRegressiveCoefficients :: (Core.Maybe [Core.Double]),+    -- | Intercept coefficient, just a double not an array.+    interceptCoefficient :: (Core.Maybe Core.Double),+    -- | Moving-average coefficients, an array of double.+    movingAverageCoefficients :: (Core.Maybe [Core.Double])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ArimaCoefficients' with the minimum fields required to make a request.+newArimaCoefficients ::+  ArimaCoefficients+newArimaCoefficients =+  ArimaCoefficients+    { autoRegressiveCoefficients = Core.Nothing,+      interceptCoefficient = Core.Nothing,+      movingAverageCoefficients = Core.Nothing+    }++instance Core.FromJSON ArimaCoefficients where+  parseJSON =+    Core.withObject+      "ArimaCoefficients"+      ( \o ->+          ArimaCoefficients+            Core.<$> (o Core..:? "autoRegressiveCoefficients")+            Core.<*> (o Core..:? "interceptCoefficient")+            Core.<*> (o Core..:? "movingAverageCoefficients")+      )++instance Core.ToJSON ArimaCoefficients where+  toJSON ArimaCoefficients {..} =+    Core.object+      ( Core.catMaybes+          [ ("autoRegressiveCoefficients" Core..=)+              Core.<$> autoRegressiveCoefficients,+            ("interceptCoefficient" Core..=) Core.<$> interceptCoefficient,+            ("movingAverageCoefficients" Core..=)+              Core.<$> movingAverageCoefficients+          ]+      )++-- | ARIMA model fitting metrics.+--+-- /See:/ 'newArimaFittingMetrics' smart constructor.+data ArimaFittingMetrics = ArimaFittingMetrics+  { -- | AIC.+    aic :: (Core.Maybe Core.Double),+    -- | Log-likelihood.+    logLikelihood :: (Core.Maybe Core.Double),+    -- | Variance.+    variance :: (Core.Maybe Core.Double)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ArimaFittingMetrics' with the minimum fields required to make a request.+newArimaFittingMetrics ::+  ArimaFittingMetrics+newArimaFittingMetrics =+  ArimaFittingMetrics+    { aic = Core.Nothing,+      logLikelihood = Core.Nothing,+      variance = Core.Nothing+    }++instance Core.FromJSON ArimaFittingMetrics where+  parseJSON =+    Core.withObject+      "ArimaFittingMetrics"+      ( \o ->+          ArimaFittingMetrics+            Core.<$> (o Core..:? "aic")+            Core.<*> (o Core..:? "logLikelihood")+            Core.<*> (o Core..:? "variance")+      )++instance Core.ToJSON ArimaFittingMetrics where+  toJSON ArimaFittingMetrics {..} =+    Core.object+      ( Core.catMaybes+          [ ("aic" Core..=) Core.<$> aic,+            ("logLikelihood" Core..=) Core.<$> logLikelihood,+            ("variance" Core..=) Core.<$> variance+          ]+      )++-- | Model evaluation metrics for ARIMA forecasting models.+--+-- /See:/ 'newArimaForecastingMetrics' smart constructor.+data ArimaForecastingMetrics = ArimaForecastingMetrics+  { -- | Arima model fitting metrics.+    arimaFittingMetrics :: (Core.Maybe [ArimaFittingMetrics]),+    -- | Repeated as there can be many metric sets (one for each model) in auto-arima and the large-scale case.+    arimaSingleModelForecastingMetrics :: (Core.Maybe [ArimaSingleModelForecastingMetrics]),+    -- | Whether Arima model fitted with drift or not. It is always false when d is not 1.+    hasDrift :: (Core.Maybe [Core.Bool]),+    -- | Non-seasonal order.+    nonSeasonalOrder :: (Core.Maybe [ArimaOrder]),+    -- | Seasonal periods. Repeated because multiple periods are supported for one time series.+    seasonalPeriods :: (Core.Maybe [ArimaForecastingMetrics_SeasonalPeriodsItem]),+    -- | Id to differentiate different time series for the large-scale case.+    timeSeriesId :: (Core.Maybe [Core.Text])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ArimaForecastingMetrics' with the minimum fields required to make a request.+newArimaForecastingMetrics ::+  ArimaForecastingMetrics+newArimaForecastingMetrics =+  ArimaForecastingMetrics+    { arimaFittingMetrics = Core.Nothing,+      arimaSingleModelForecastingMetrics = Core.Nothing,+      hasDrift = Core.Nothing,+      nonSeasonalOrder = Core.Nothing,+      seasonalPeriods = Core.Nothing,+      timeSeriesId = Core.Nothing+    }++instance Core.FromJSON ArimaForecastingMetrics where+  parseJSON =+    Core.withObject+      "ArimaForecastingMetrics"+      ( \o ->+          ArimaForecastingMetrics+            Core.<$> (o Core..:? "arimaFittingMetrics")+            Core.<*> (o Core..:? "arimaSingleModelForecastingMetrics")+            Core.<*> (o Core..:? "hasDrift")+            Core.<*> (o Core..:? "nonSeasonalOrder")+            Core.<*> (o Core..:? "seasonalPeriods")+            Core.<*> (o Core..:? "timeSeriesId")+      )++instance Core.ToJSON ArimaForecastingMetrics where+  toJSON ArimaForecastingMetrics {..} =+    Core.object+      ( Core.catMaybes+          [ ("arimaFittingMetrics" Core..=) Core.<$> arimaFittingMetrics,+            ("arimaSingleModelForecastingMetrics" Core..=)+              Core.<$> arimaSingleModelForecastingMetrics,+            ("hasDrift" Core..=) Core.<$> hasDrift,+            ("nonSeasonalOrder" Core..=) Core.<$> nonSeasonalOrder,+            ("seasonalPeriods" Core..=) Core.<$> seasonalPeriods,+            ("timeSeriesId" Core..=) Core.<$> timeSeriesId+          ]+      )++-- | Arima model information.+--+-- /See:/ 'newArimaModelInfo' smart constructor.+data ArimaModelInfo = ArimaModelInfo+  { -- | Arima coefficients.+    arimaCoefficients :: (Core.Maybe ArimaCoefficients),+    -- | Arima fitting metrics.+    arimaFittingMetrics :: (Core.Maybe ArimaFittingMetrics),+    -- | Whether Arima model fitted with drift or not. It is always false when d is not 1.+    hasDrift :: (Core.Maybe Core.Bool),+    -- | If true, holiday_effect is a part of time series decomposition result.+    hasHolidayEffect :: (Core.Maybe Core.Bool),+    -- | If true, spikes/and/dips is a part of time series decomposition result.+    hasSpikesAndDips :: (Core.Maybe Core.Bool),+    -- | If true, step_changes is a part of time series decomposition result.+    hasStepChanges :: (Core.Maybe Core.Bool),+    -- | Non-seasonal order.+    nonSeasonalOrder :: (Core.Maybe ArimaOrder),+    -- | Seasonal periods. Repeated because multiple periods are supported for one time series.+    seasonalPeriods :: (Core.Maybe [ArimaModelInfo_SeasonalPeriodsItem]),+    -- | The time/series/id value for this time series. It will be one of the unique values from the time/series/id/column specified during ARIMA model training. Only present when time/series/id/column training option was used.+    timeSeriesId :: (Core.Maybe Core.Text),+    -- | The tuple of time/series/ids identifying this time series. It will be one of the unique tuples of values present in the time/series/id/columns specified during ARIMA model training. Only present when time/series/id/columns training option was used and the order of values here are same as the order of time/series/id_columns.+    timeSeriesIds :: (Core.Maybe [Core.Text])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ArimaModelInfo' with the minimum fields required to make a request.+newArimaModelInfo ::+  ArimaModelInfo+newArimaModelInfo =+  ArimaModelInfo+    { arimaCoefficients = Core.Nothing,+      arimaFittingMetrics = Core.Nothing,+      hasDrift = Core.Nothing,+      hasHolidayEffect = Core.Nothing,+      hasSpikesAndDips = Core.Nothing,+      hasStepChanges = Core.Nothing,+      nonSeasonalOrder = Core.Nothing,+      seasonalPeriods = Core.Nothing,+      timeSeriesId = Core.Nothing,+      timeSeriesIds = Core.Nothing+    }++instance Core.FromJSON ArimaModelInfo where+  parseJSON =+    Core.withObject+      "ArimaModelInfo"+      ( \o ->+          ArimaModelInfo+            Core.<$> (o Core..:? "arimaCoefficients")+            Core.<*> (o Core..:? "arimaFittingMetrics")+            Core.<*> (o Core..:? "hasDrift")+            Core.<*> (o Core..:? "hasHolidayEffect")+            Core.<*> (o Core..:? "hasSpikesAndDips")+            Core.<*> (o Core..:? "hasStepChanges")+            Core.<*> (o Core..:? "nonSeasonalOrder")+            Core.<*> (o Core..:? "seasonalPeriods")+            Core.<*> (o Core..:? "timeSeriesId")+            Core.<*> (o Core..:? "timeSeriesIds")+      )++instance Core.ToJSON ArimaModelInfo where+  toJSON ArimaModelInfo {..} =+    Core.object+      ( Core.catMaybes+          [ ("arimaCoefficients" Core..=) Core.<$> arimaCoefficients,+            ("arimaFittingMetrics" Core..=) Core.<$> arimaFittingMetrics,+            ("hasDrift" Core..=) Core.<$> hasDrift,+            ("hasHolidayEffect" Core..=) Core.<$> hasHolidayEffect,+            ("hasSpikesAndDips" Core..=) Core.<$> hasSpikesAndDips,+            ("hasStepChanges" Core..=) Core.<$> hasStepChanges,+            ("nonSeasonalOrder" Core..=) Core.<$> nonSeasonalOrder,+            ("seasonalPeriods" Core..=) Core.<$> seasonalPeriods,+            ("timeSeriesId" Core..=) Core.<$> timeSeriesId,+            ("timeSeriesIds" Core..=) Core.<$> timeSeriesIds+          ]+      )++-- | Arima order, can be used for both non-seasonal and seasonal parts.+--+-- /See:/ 'newArimaOrder' smart constructor.+data ArimaOrder = ArimaOrder+  { -- | Order of the differencing part.+    d :: (Core.Maybe Core.Int64),+    -- | Order of the autoregressive part.+    p :: (Core.Maybe Core.Int64),+    -- | Order of the moving-average part.+    q :: (Core.Maybe Core.Int64)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ArimaOrder' with the minimum fields required to make a request.+newArimaOrder ::+  ArimaOrder+newArimaOrder =+  ArimaOrder {d = Core.Nothing, p = Core.Nothing, q = Core.Nothing}++instance Core.FromJSON ArimaOrder where+  parseJSON =+    Core.withObject+      "ArimaOrder"+      ( \o ->+          ArimaOrder+            Core.<$> (o Core..:? "d" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "p" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "q" Core.<&> Core.fmap Core.fromAsText)+      )++instance Core.ToJSON ArimaOrder where+  toJSON ArimaOrder {..} =+    Core.object+      ( Core.catMaybes+          [ ("d" Core..=) Core.. Core.AsText Core.<$> d,+            ("p" Core..=) Core.. Core.AsText Core.<$> p,+            ("q" Core..=) Core.. Core.AsText Core.<$> q+          ]+      )++-- | (Auto-)arima fitting result. Wrap everything in ArimaResult for easier refactoring if we want to use model-specific iteration results.+--+-- /See:/ 'newArimaResult' smart constructor.+data ArimaResult = ArimaResult+  { -- | This message is repeated because there are multiple arima models fitted in auto-arima. For non-auto-arima model, its size is one.+    arimaModelInfo :: (Core.Maybe [ArimaModelInfo]),+    -- | Seasonal periods. Repeated because multiple periods are supported for one time series.+    seasonalPeriods :: (Core.Maybe [ArimaResult_SeasonalPeriodsItem])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ArimaResult' with the minimum fields required to make a request.+newArimaResult ::+  ArimaResult+newArimaResult =+  ArimaResult+    { arimaModelInfo = Core.Nothing,+      seasonalPeriods = Core.Nothing+    }++instance Core.FromJSON ArimaResult where+  parseJSON =+    Core.withObject+      "ArimaResult"+      ( \o ->+          ArimaResult+            Core.<$> (o Core..:? "arimaModelInfo")+            Core.<*> (o Core..:? "seasonalPeriods")+      )++instance Core.ToJSON ArimaResult where+  toJSON ArimaResult {..} =+    Core.object+      ( Core.catMaybes+          [ ("arimaModelInfo" Core..=) Core.<$> arimaModelInfo,+            ("seasonalPeriods" Core..=) Core.<$> seasonalPeriods+          ]+      )++-- | Model evaluation metrics for a single ARIMA forecasting model.+--+-- /See:/ 'newArimaSingleModelForecastingMetrics' smart constructor.+data ArimaSingleModelForecastingMetrics = ArimaSingleModelForecastingMetrics+  { -- | Arima fitting metrics.+    arimaFittingMetrics :: (Core.Maybe ArimaFittingMetrics),+    -- | Is arima model fitted with drift or not. It is always false when d is not 1.+    hasDrift :: (Core.Maybe Core.Bool),+    -- | If true, holiday_effect is a part of time series decomposition result.+    hasHolidayEffect :: (Core.Maybe Core.Bool),+    -- | If true, spikes/and/dips is a part of time series decomposition result.+    hasSpikesAndDips :: (Core.Maybe Core.Bool),+    -- | If true, step_changes is a part of time series decomposition result.+    hasStepChanges :: (Core.Maybe Core.Bool),+    -- | Non-seasonal order.+    nonSeasonalOrder :: (Core.Maybe ArimaOrder),+    -- | Seasonal periods. Repeated because multiple periods are supported for one time series.+    seasonalPeriods ::+      ( Core.Maybe+          [ArimaSingleModelForecastingMetrics_SeasonalPeriodsItem]+      ),+    -- | The time/series/id value for this time series. It will be one of the unique values from the time/series/id/column specified during ARIMA model training. Only present when time/series/id/column training option was used.+    timeSeriesId :: (Core.Maybe Core.Text),+    -- | The tuple of time/series/ids identifying this time series. It will be one of the unique tuples of values present in the time/series/id/columns specified during ARIMA model training. Only present when time/series/id/columns training option was used and the order of values here are same as the order of time/series/id_columns.+    timeSeriesIds :: (Core.Maybe [Core.Text])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ArimaSingleModelForecastingMetrics' with the minimum fields required to make a request.+newArimaSingleModelForecastingMetrics ::+  ArimaSingleModelForecastingMetrics+newArimaSingleModelForecastingMetrics =+  ArimaSingleModelForecastingMetrics+    { arimaFittingMetrics =+        Core.Nothing,+      hasDrift = Core.Nothing,+      hasHolidayEffect = Core.Nothing,+      hasSpikesAndDips = Core.Nothing,+      hasStepChanges = Core.Nothing,+      nonSeasonalOrder = Core.Nothing,+      seasonalPeriods = Core.Nothing,+      timeSeriesId = Core.Nothing,+      timeSeriesIds = Core.Nothing+    }++instance Core.FromJSON ArimaSingleModelForecastingMetrics where+  parseJSON =+    Core.withObject+      "ArimaSingleModelForecastingMetrics"+      ( \o ->+          ArimaSingleModelForecastingMetrics+            Core.<$> (o Core..:? "arimaFittingMetrics")+            Core.<*> (o Core..:? "hasDrift")+            Core.<*> (o Core..:? "hasHolidayEffect")+            Core.<*> (o Core..:? "hasSpikesAndDips")+            Core.<*> (o Core..:? "hasStepChanges")+            Core.<*> (o Core..:? "nonSeasonalOrder")+            Core.<*> (o Core..:? "seasonalPeriods")+            Core.<*> (o Core..:? "timeSeriesId")+            Core.<*> (o Core..:? "timeSeriesIds")+      )++instance Core.ToJSON ArimaSingleModelForecastingMetrics where+  toJSON ArimaSingleModelForecastingMetrics {..} =+    Core.object+      ( Core.catMaybes+          [ ("arimaFittingMetrics" Core..=) Core.<$> arimaFittingMetrics,+            ("hasDrift" Core..=) Core.<$> hasDrift,+            ("hasHolidayEffect" Core..=) Core.<$> hasHolidayEffect,+            ("hasSpikesAndDips" Core..=) Core.<$> hasSpikesAndDips,+            ("hasStepChanges" Core..=) Core.<$> hasStepChanges,+            ("nonSeasonalOrder" Core..=) Core.<$> nonSeasonalOrder,+            ("seasonalPeriods" Core..=) Core.<$> seasonalPeriods,+            ("timeSeriesId" Core..=) Core.<$> timeSeriesId,+            ("timeSeriesIds" Core..=) Core.<$> timeSeriesIds+          ]+      )++-- | Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both @allServices@ and a specific service, the union of the two AuditConfigs is used for that service: the log/types specified in each AuditConfig are enabled, and the exempted/members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit/configs\": [ { \"service\": \"allServices\", \"audit/log/configs\": [ { \"log/type\": \"DATA/READ\", \"exempted/members\": [ \"user:jose\@example.com\" ] }, { \"log/type\": \"DATA/WRITE\" }, { \"log/type\": \"ADMIN/READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit/log/configs\": [ { \"log/type\": \"DATA/READ\" }, { \"log/type\": \"DATA/WRITE\", \"exempted/members\": [ \"user:aliya\@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA/READ, DATA/WRITE and+-- ADMIN/READ logging. It also exempts @jose\@example.com@ from DATA/READ logging, and @aliya\@example.com@ from DATA/WRITE logging.+--+-- /See:/ 'newAuditConfig' smart constructor.+data AuditConfig = AuditConfig+  { -- | The configuration for logging of each type of permission.+    auditLogConfigs :: (Core.Maybe [AuditLogConfig]),+    -- | Specifies a service that will be enabled for audit logging. For example, @storage.googleapis.com@, @cloudsql.googleapis.com@. @allServices@ is a special value that covers all services.+    service :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AuditConfig' with the minimum fields required to make a request.+newAuditConfig ::+  AuditConfig+newAuditConfig =+  AuditConfig+    { auditLogConfigs = Core.Nothing,+      service = Core.Nothing+    }++instance Core.FromJSON AuditConfig where+  parseJSON =+    Core.withObject+      "AuditConfig"+      ( \o ->+          AuditConfig+            Core.<$> (o Core..:? "auditLogConfigs")+            Core.<*> (o Core..:? "service")+      )++instance Core.ToJSON AuditConfig where+  toJSON AuditConfig {..} =+    Core.object+      ( Core.catMaybes+          [ ("auditLogConfigs" Core..=) Core.<$> auditLogConfigs,+            ("service" Core..=) Core.<$> service+          ]+      )++-- | Provides the configuration for logging a type of permissions. Example: { \"audit/log/configs\": [ { \"log/type\": \"DATA/READ\", \"exempted/members\": [ \"user:jose\@example.com\" ] }, { \"log/type\": \"DATA/WRITE\" } ] } This enables \'DATA/READ\' and \'DATA/WRITE\' logging, while exempting jose\@example.com from DATA/READ logging.+--+-- /See:/ 'newAuditLogConfig' smart constructor.+data AuditLogConfig = AuditLogConfig+  { -- | Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.+    exemptedMembers :: (Core.Maybe [Core.Text]),+    -- | The log type that this config enables.+    logType :: (Core.Maybe AuditLogConfig_LogType)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AuditLogConfig' with the minimum fields required to make a request.+newAuditLogConfig ::+  AuditLogConfig+newAuditLogConfig =+  AuditLogConfig+    { exemptedMembers = Core.Nothing,+      logType = Core.Nothing+    }++instance Core.FromJSON AuditLogConfig where+  parseJSON =+    Core.withObject+      "AuditLogConfig"+      ( \o ->+          AuditLogConfig+            Core.<$> (o Core..:? "exemptedMembers")+            Core.<*> (o Core..:? "logType")+      )++instance Core.ToJSON AuditLogConfig where+  toJSON AuditLogConfig {..} =+    Core.object+      ( Core.catMaybes+          [ ("exemptedMembers" Core..=) Core.<$> exemptedMembers,+            ("logType" Core..=) Core.<$> logType+          ]+      )++-- | Options for external data sources.+--+-- /See:/ 'newAvroOptions' smart constructor.+newtype AvroOptions = AvroOptions+  { -- | Optional. If sourceFormat is set to \"AVRO\", indicates whether to interpret logical types as the corresponding BigQuery data type (for example, TIMESTAMP), instead of using the raw type (for example, INTEGER).+    useAvroLogicalTypes :: (Core.Maybe Core.Bool)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AvroOptions' with the minimum fields required to make a request.+newAvroOptions ::+  AvroOptions+newAvroOptions = AvroOptions {useAvroLogicalTypes = Core.Nothing}++instance Core.FromJSON AvroOptions where+  parseJSON =+    Core.withObject+      "AvroOptions"+      (\o -> AvroOptions Core.<$> (o Core..:? "useAvroLogicalTypes"))++instance Core.ToJSON AvroOptions where+  toJSON AvroOptions {..} =+    Core.object+      ( Core.catMaybes+          [("useAvroLogicalTypes" Core..=) Core.<$> useAvroLogicalTypes]+      )++-- | Request message for the BatchDeleteRowAccessPoliciesRequest method.+--+-- /See:/ 'newBatchDeleteRowAccessPoliciesRequest' smart constructor.+data BatchDeleteRowAccessPoliciesRequest = BatchDeleteRowAccessPoliciesRequest+  { -- | If set to true, it deletes the row access policy even if it\'s the last row access policy on the table and the deletion will widen the access rather narrowing it.+    force :: (Core.Maybe Core.Bool),+    -- | Required. Policy IDs of the row access policies.+    policyIds :: (Core.Maybe [Core.Text])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BatchDeleteRowAccessPoliciesRequest' with the minimum fields required to make a request.+newBatchDeleteRowAccessPoliciesRequest ::+  BatchDeleteRowAccessPoliciesRequest+newBatchDeleteRowAccessPoliciesRequest =+  BatchDeleteRowAccessPoliciesRequest+    { force = Core.Nothing,+      policyIds = Core.Nothing+    }++instance Core.FromJSON BatchDeleteRowAccessPoliciesRequest where+  parseJSON =+    Core.withObject+      "BatchDeleteRowAccessPoliciesRequest"+      ( \o ->+          BatchDeleteRowAccessPoliciesRequest+            Core.<$> (o Core..:? "force")+            Core.<*> (o Core..:? "policyIds")+      )++instance Core.ToJSON BatchDeleteRowAccessPoliciesRequest where+  toJSON BatchDeleteRowAccessPoliciesRequest {..} =+    Core.object+      ( Core.catMaybes+          [ ("force" Core..=) Core.<$> force,+            ("policyIds" Core..=) Core.<$> policyIds+          ]+      )++-- | Reason why BI Engine didn\'t accelerate the query (or sub-query).+--+-- /See:/ 'newBiEngineReason' smart constructor.+data BiEngineReason = BiEngineReason+  { -- | Output only. High-level BI Engine reason for partial or disabled acceleration+    code :: (Core.Maybe BiEngineReason_Code),+    -- | Output only. Free form human-readable reason for partial or disabled acceleration.+    message :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BiEngineReason' with the minimum fields required to make a request.+newBiEngineReason ::+  BiEngineReason+newBiEngineReason =+  BiEngineReason {code = Core.Nothing, message = Core.Nothing}++instance Core.FromJSON BiEngineReason where+  parseJSON =+    Core.withObject+      "BiEngineReason"+      ( \o ->+          BiEngineReason+            Core.<$> (o Core..:? "code")+            Core.<*> (o Core..:? "message")+      )++instance Core.ToJSON BiEngineReason where+  toJSON BiEngineReason {..} =+    Core.object+      ( Core.catMaybes+          [ ("code" Core..=) Core.<$> code,+            ("message" Core..=) Core.<$> message+          ]+      )++-- | Statistics for a BI Engine specific query. Populated as part of JobStatistics2+--+-- /See:/ 'newBiEngineStatistics' smart constructor.+data BiEngineStatistics = BiEngineStatistics+  { -- | Output only. Specifies which mode of BI Engine acceleration was performed (if any).+    accelerationMode :: (Core.Maybe BiEngineStatistics_AccelerationMode),+    -- | Output only. Specifies which mode of BI Engine acceleration was performed (if any).+    biEngineMode :: (Core.Maybe BiEngineStatistics_BiEngineMode),+    -- | In case of DISABLED or PARTIAL bi/engine/mode, these contain the explanatory reasons as to why BI Engine could not accelerate. In case the full query was accelerated, this field is not populated.+    biEngineReasons :: (Core.Maybe [BiEngineReason])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BiEngineStatistics' with the minimum fields required to make a request.+newBiEngineStatistics ::+  BiEngineStatistics+newBiEngineStatistics =+  BiEngineStatistics+    { accelerationMode = Core.Nothing,+      biEngineMode = Core.Nothing,+      biEngineReasons = Core.Nothing+    }++instance Core.FromJSON BiEngineStatistics where+  parseJSON =+    Core.withObject+      "BiEngineStatistics"+      ( \o ->+          BiEngineStatistics+            Core.<$> (o Core..:? "accelerationMode")+            Core.<*> (o Core..:? "biEngineMode")+            Core.<*> (o Core..:? "biEngineReasons")+      )++instance Core.ToJSON BiEngineStatistics where+  toJSON BiEngineStatistics {..} =+    Core.object+      ( Core.catMaybes+          [ ("accelerationMode" Core..=) Core.<$> accelerationMode,+            ("biEngineMode" Core..=) Core.<$> biEngineMode,+            ("biEngineReasons" Core..=) Core.<$> biEngineReasons+          ]+      )++-- | Configuration for BigLake managed tables.+--+-- /See:/ 'newBigLakeConfiguration' smart constructor.+data BigLakeConfiguration = BigLakeConfiguration+  { -- | Optional. The connection specifying the credentials to be used to read and write to external storage, such as Cloud Storage. The connection/id can have the form @{project}.{location}.{connection_id}@ or \`projects\/{project}\/locations\/{location}\/connections\/{connection/id}\".+    connectionId :: (Core.Maybe Core.Text),+    -- | Optional. The file format the table data is stored in.+    fileFormat :: (Core.Maybe BigLakeConfiguration_FileFormat),+    -- | Optional. The fully qualified location prefix of the external folder where table data is stored. The \'*\' wildcard character is not allowed. The URI should be in the format @gs:\/\/bucket\/path_to_table\/@+    storageUri :: (Core.Maybe Core.Text),+    -- | Optional. The table format the metadata only snapshots are stored in.+    tableFormat :: (Core.Maybe BigLakeConfiguration_TableFormat)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BigLakeConfiguration' with the minimum fields required to make a request.+newBigLakeConfiguration ::+  BigLakeConfiguration+newBigLakeConfiguration =+  BigLakeConfiguration+    { connectionId = Core.Nothing,+      fileFormat = Core.Nothing,+      storageUri = Core.Nothing,+      tableFormat = Core.Nothing+    }++instance Core.FromJSON BigLakeConfiguration where+  parseJSON =+    Core.withObject+      "BigLakeConfiguration"+      ( \o ->+          BigLakeConfiguration+            Core.<$> (o Core..:? "connectionId")+            Core.<*> (o Core..:? "fileFormat")+            Core.<*> (o Core..:? "storageUri")+            Core.<*> (o Core..:? "tableFormat")+      )++instance Core.ToJSON BigLakeConfiguration where+  toJSON BigLakeConfiguration {..} =+    Core.object+      ( Core.catMaybes+          [ ("connectionId" Core..=) Core.<$> connectionId,+            ("fileFormat" Core..=) Core.<$> fileFormat,+            ("storageUri" Core..=) Core.<$> storageUri,+            ("tableFormat" Core..=) Core.<$> tableFormat+          ]+      )++--+-- /See:/ 'newBigQueryModelTraining' smart constructor.+data BigQueryModelTraining = BigQueryModelTraining+  { -- | Deprecated.+    currentIteration :: (Core.Maybe Core.Int32),+    -- | Deprecated.+    expectedTotalIterations :: (Core.Maybe Core.Int64)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BigQueryModelTraining' with the minimum fields required to make a request.+newBigQueryModelTraining ::+  BigQueryModelTraining+newBigQueryModelTraining =+  BigQueryModelTraining+    { currentIteration = Core.Nothing,+      expectedTotalIterations = Core.Nothing+    }++instance Core.FromJSON BigQueryModelTraining where+  parseJSON =+    Core.withObject+      "BigQueryModelTraining"+      ( \o ->+          BigQueryModelTraining+            Core.<$> (o Core..:? "currentIteration")+            Core.<*> ( o+                         Core..:? "expectedTotalIterations"+                         Core.<&> Core.fmap Core.fromAsText+                     )+      )++instance Core.ToJSON BigQueryModelTraining where+  toJSON BigQueryModelTraining {..} =+    Core.object+      ( Core.catMaybes+          [ ("currentIteration" Core..=) Core.<$> currentIteration,+            ("expectedTotalIterations" Core..=)+              Core.. Core.AsText+              Core.<$> expectedTotalIterations+          ]+      )++-- | Information related to a Bigtable column.+--+-- /See:/ 'newBigtableColumn' smart constructor.+data BigtableColumn = BigtableColumn+  { -- | Optional. The encoding of the values when the type is not STRING. Acceptable encoding values are: TEXT - indicates values are alphanumeric text strings. BINARY - indicates values are encoded using HBase Bytes.toBytes family of functions. \'encoding\' can also be set at the column family level. However, the setting at this level takes precedence if \'encoding\' is set at both levels.+    encoding :: (Core.Maybe Core.Text),+    -- | Optional. If the qualifier is not a valid BigQuery field identifier i.e. does not match a-zA-Z*, a valid identifier must be provided as the column field name and is used as field name in queries.+    fieldName :: (Core.Maybe Core.Text),+    -- | Optional. If this is set, only the latest version of value in this column are exposed. \'onlyReadLatest\' can also be set at the column family level. However, the setting at this level takes precedence if \'onlyReadLatest\' is set at both levels.+    onlyReadLatest :: (Core.Maybe Core.Bool),+    -- | [Required] Qualifier of the column. Columns in the parent column family that has this exact qualifier are exposed as @.@ field. If the qualifier is valid UTF-8 string, it can be specified in the qualifier/string field. Otherwise, a base-64 encoded value must be set to qualifier/encoded. The column field name is the same as the column qualifier. However, if the qualifier is not a valid BigQuery field identifier i.e. does not match a-zA-Z*, a valid identifier must be provided as field_name.+    qualifierEncoded :: (Core.Maybe Core.Base64),+    -- | Qualifier string.+    qualifierString :: (Core.Maybe Core.Text),+    -- | Optional. The type to convert the value in cells of this column. The values are expected to be encoded using HBase Bytes.toBytes function when using the BINARY encoding value. Following BigQuery types are allowed (case-sensitive): * BYTES * STRING * INTEGER * FLOAT * BOOLEAN * JSON Default type is BYTES. \'type\' can also be set at the column family level. However, the setting at this level takes precedence if \'type\' is set at both levels.+    type' :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BigtableColumn' with the minimum fields required to make a request.+newBigtableColumn ::+  BigtableColumn+newBigtableColumn =+  BigtableColumn+    { encoding = Core.Nothing,+      fieldName = Core.Nothing,+      onlyReadLatest = Core.Nothing,+      qualifierEncoded = Core.Nothing,+      qualifierString = Core.Nothing,+      type' = Core.Nothing+    }++instance Core.FromJSON BigtableColumn where+  parseJSON =+    Core.withObject+      "BigtableColumn"+      ( \o ->+          BigtableColumn+            Core.<$> (o Core..:? "encoding")+            Core.<*> (o Core..:? "fieldName")+            Core.<*> (o Core..:? "onlyReadLatest")+            Core.<*> (o Core..:? "qualifierEncoded")+            Core.<*> (o Core..:? "qualifierString")+            Core.<*> (o Core..:? "type")+      )++instance Core.ToJSON BigtableColumn where+  toJSON BigtableColumn {..} =+    Core.object+      ( Core.catMaybes+          [ ("encoding" Core..=) Core.<$> encoding,+            ("fieldName" Core..=) Core.<$> fieldName,+            ("onlyReadLatest" Core..=) Core.<$> onlyReadLatest,+            ("qualifierEncoded" Core..=) Core.<$> qualifierEncoded,+            ("qualifierString" Core..=) Core.<$> qualifierString,+            ("type" Core..=) Core.<$> type'+          ]+      )++-- | Information related to a Bigtable column family.+--+-- /See:/ 'newBigtableColumnFamily' smart constructor.+data BigtableColumnFamily = BigtableColumnFamily+  { -- | Optional. Lists of columns that should be exposed as individual fields as opposed to a list of (column name, value) pairs. All columns whose qualifier matches a qualifier in this list can be accessed as @.@. Other columns can be accessed as a list through the @.Column@ field.+    columns :: (Core.Maybe [BigtableColumn]),+    -- | Optional. The encoding of the values when the type is not STRING. Acceptable encoding values are: TEXT - indicates values are alphanumeric text strings. BINARY - indicates values are encoded using HBase Bytes.toBytes family of functions. This can be overridden for a specific column by listing that column in \'columns\' and specifying an encoding for it.+    encoding :: (Core.Maybe Core.Text),+    -- | Identifier of the column family.+    familyId :: (Core.Maybe Core.Text),+    -- | Optional. If this is set only the latest version of value are exposed for all columns in this column family. This can be overridden for a specific column by listing that column in \'columns\' and specifying a different setting for that column.+    onlyReadLatest :: (Core.Maybe Core.Bool),+    -- | Optional. The type to convert the value in cells of this column family. The values are expected to be encoded using HBase Bytes.toBytes function when using the BINARY encoding value. Following BigQuery types are allowed (case-sensitive): * BYTES * STRING * INTEGER * FLOAT * BOOLEAN * JSON Default type is BYTES. This can be overridden for a specific column by listing that column in \'columns\' and specifying a type for it.+    type' :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BigtableColumnFamily' with the minimum fields required to make a request.+newBigtableColumnFamily ::+  BigtableColumnFamily+newBigtableColumnFamily =+  BigtableColumnFamily+    { columns = Core.Nothing,+      encoding = Core.Nothing,+      familyId = Core.Nothing,+      onlyReadLatest = Core.Nothing,+      type' = Core.Nothing+    }++instance Core.FromJSON BigtableColumnFamily where+  parseJSON =+    Core.withObject+      "BigtableColumnFamily"+      ( \o ->+          BigtableColumnFamily+            Core.<$> (o Core..:? "columns")+            Core.<*> (o Core..:? "encoding")+            Core.<*> (o Core..:? "familyId")+            Core.<*> (o Core..:? "onlyReadLatest")+            Core.<*> (o Core..:? "type")+      )++instance Core.ToJSON BigtableColumnFamily where+  toJSON BigtableColumnFamily {..} =+    Core.object+      ( Core.catMaybes+          [ ("columns" Core..=) Core.<$> columns,+            ("encoding" Core..=) Core.<$> encoding,+            ("familyId" Core..=) Core.<$> familyId,+            ("onlyReadLatest" Core..=) Core.<$> onlyReadLatest,+            ("type" Core..=) Core.<$> type'+          ]+      )++-- | Options specific to Google Cloud Bigtable data sources.+--+-- /See:/ 'newBigtableOptions' smart constructor.+data BigtableOptions = BigtableOptions+  { -- | Optional. List of column families to expose in the table schema along with their types. This list restricts the column families that can be referenced in queries and specifies their value types. You can use this list to do type conversions - see the \'type\' field for more details. If you leave this list empty, all column families are present in the table schema and their values are read as BYTES. During a query only the column families referenced in that query are read from Bigtable.+    columnFamilies :: (Core.Maybe [BigtableColumnFamily]),+    -- | Optional. If field is true, then the column families that are not specified in columnFamilies list are not exposed in the table schema. Otherwise, they are read with BYTES type values. The default value is false.+    ignoreUnspecifiedColumnFamilies :: (Core.Maybe Core.Bool),+    -- | Optional. If field is true, then each column family will be read as a single JSON column. Otherwise they are read as a repeated cell structure containing timestamp\/value tuples. The default value is false.+    outputColumnFamiliesAsJson :: (Core.Maybe Core.Bool),+    -- | Optional. If field is true, then the rowkey column families will be read and converted to string. Otherwise they are read with BYTES type values and users need to manually cast them with CAST if necessary. The default value is false.+    readRowkeyAsString :: (Core.Maybe Core.Bool)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BigtableOptions' with the minimum fields required to make a request.+newBigtableOptions ::+  BigtableOptions+newBigtableOptions =+  BigtableOptions+    { columnFamilies = Core.Nothing,+      ignoreUnspecifiedColumnFamilies = Core.Nothing,+      outputColumnFamiliesAsJson = Core.Nothing,+      readRowkeyAsString = Core.Nothing+    }++instance Core.FromJSON BigtableOptions where+  parseJSON =+    Core.withObject+      "BigtableOptions"+      ( \o ->+          BigtableOptions+            Core.<$> (o Core..:? "columnFamilies")+            Core.<*> (o Core..:? "ignoreUnspecifiedColumnFamilies")+            Core.<*> (o Core..:? "outputColumnFamiliesAsJson")+            Core.<*> (o Core..:? "readRowkeyAsString")+      )++instance Core.ToJSON BigtableOptions where+  toJSON BigtableOptions {..} =+    Core.object+      ( Core.catMaybes+          [ ("columnFamilies" Core..=) Core.<$> columnFamilies,+            ("ignoreUnspecifiedColumnFamilies" Core..=)+              Core.<$> ignoreUnspecifiedColumnFamilies,+            ("outputColumnFamiliesAsJson" Core..=)+              Core.<$> outputColumnFamiliesAsJson,+            ("readRowkeyAsString" Core..=) Core.<$> readRowkeyAsString+          ]+      )++-- | Evaluation metrics for binary classification\/classifier models.+--+-- /See:/ 'newBinaryClassificationMetrics' smart constructor.+data BinaryClassificationMetrics = BinaryClassificationMetrics+  { -- | Aggregate classification metrics.+    aggregateClassificationMetrics :: (Core.Maybe AggregateClassificationMetrics),+    -- | Binary confusion matrix at multiple thresholds.+    binaryConfusionMatrixList :: (Core.Maybe [BinaryConfusionMatrix]),+    -- | Label representing the negative class.+    negativeLabel :: (Core.Maybe Core.Text),+    -- | Label representing the positive class.+    positiveLabel :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BinaryClassificationMetrics' with the minimum fields required to make a request.+newBinaryClassificationMetrics ::+  BinaryClassificationMetrics+newBinaryClassificationMetrics =+  BinaryClassificationMetrics+    { aggregateClassificationMetrics =+        Core.Nothing,+      binaryConfusionMatrixList = Core.Nothing,+      negativeLabel = Core.Nothing,+      positiveLabel = Core.Nothing+    }++instance Core.FromJSON BinaryClassificationMetrics where+  parseJSON =+    Core.withObject+      "BinaryClassificationMetrics"+      ( \o ->+          BinaryClassificationMetrics+            Core.<$> (o Core..:? "aggregateClassificationMetrics")+            Core.<*> (o Core..:? "binaryConfusionMatrixList")+            Core.<*> (o Core..:? "negativeLabel")+            Core.<*> (o Core..:? "positiveLabel")+      )++instance Core.ToJSON BinaryClassificationMetrics where+  toJSON BinaryClassificationMetrics {..} =+    Core.object+      ( Core.catMaybes+          [ ("aggregateClassificationMetrics" Core..=)+              Core.<$> aggregateClassificationMetrics,+            ("binaryConfusionMatrixList" Core..=)+              Core.<$> binaryConfusionMatrixList,+            ("negativeLabel" Core..=) Core.<$> negativeLabel,+            ("positiveLabel" Core..=) Core.<$> positiveLabel+          ]+      )++-- | Confusion matrix for binary classification models.+--+-- /See:/ 'newBinaryConfusionMatrix' smart constructor.+data BinaryConfusionMatrix = BinaryConfusionMatrix+  { -- | The fraction of predictions given the correct label.+    accuracy :: (Core.Maybe Core.Double),+    -- | The equally weighted average of recall and precision.+    f1Score :: (Core.Maybe Core.Double),+    -- | Number of false samples predicted as false.+    falseNegatives :: (Core.Maybe Core.Int64),+    -- | Number of false samples predicted as true.+    falsePositives :: (Core.Maybe Core.Int64),+    -- | Threshold value used when computing each of the following metric.+    positiveClassThreshold :: (Core.Maybe Core.Double),+    -- | The fraction of actual positive predictions that had positive actual labels.+    precision :: (Core.Maybe Core.Double),+    -- | The fraction of actual positive labels that were given a positive prediction.+    recall :: (Core.Maybe Core.Double),+    -- | Number of true samples predicted as false.+    trueNegatives :: (Core.Maybe Core.Int64),+    -- | Number of true samples predicted as true.+    truePositives :: (Core.Maybe Core.Int64)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BinaryConfusionMatrix' with the minimum fields required to make a request.+newBinaryConfusionMatrix ::+  BinaryConfusionMatrix+newBinaryConfusionMatrix =+  BinaryConfusionMatrix+    { accuracy = Core.Nothing,+      f1Score = Core.Nothing,+      falseNegatives = Core.Nothing,+      falsePositives = Core.Nothing,+      positiveClassThreshold = Core.Nothing,+      precision = Core.Nothing,+      recall = Core.Nothing,+      trueNegatives = Core.Nothing,+      truePositives = Core.Nothing+    }++instance Core.FromJSON BinaryConfusionMatrix where+  parseJSON =+    Core.withObject+      "BinaryConfusionMatrix"+      ( \o ->+          BinaryConfusionMatrix+            Core.<$> (o Core..:? "accuracy")+            Core.<*> (o Core..:? "f1Score")+            Core.<*> (o Core..:? "falseNegatives" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "falsePositives" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "positiveClassThreshold")+            Core.<*> (o Core..:? "precision")+            Core.<*> (o Core..:? "recall")+            Core.<*> (o Core..:? "trueNegatives" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "truePositives" Core.<&> Core.fmap Core.fromAsText)+      )++instance Core.ToJSON BinaryConfusionMatrix where+  toJSON BinaryConfusionMatrix {..} =+    Core.object+      ( Core.catMaybes+          [ ("accuracy" Core..=) Core.<$> accuracy,+            ("f1Score" Core..=) Core.<$> f1Score,+            ("falseNegatives" Core..=)+              Core.. Core.AsText+              Core.<$> falseNegatives,+            ("falsePositives" Core..=)+              Core.. Core.AsText+              Core.<$> falsePositives,+            ("positiveClassThreshold" Core..=) Core.<$> positiveClassThreshold,+            ("precision" Core..=) Core.<$> precision,+            ("recall" Core..=) Core.<$> recall,+            ("trueNegatives" Core..=)+              Core.. Core.AsText+              Core.<$> trueNegatives,+            ("truePositives" Core..=)+              Core.. Core.AsText+              Core.<$> truePositives+          ]+      )++-- | Associates @members@, or principals, with a @role@.+--+-- /See:/ 'newBinding' smart constructor.+data Binding = Binding+  { -- | The condition that is associated with this binding. If the condition evaluates to @true@, then this binding applies to the current request. If the condition evaluates to @false@, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the <https://cloud.google.com/iam/help/conditions/resource-policies IAM documentation>.+    condition :: (Core.Maybe Expr),+    -- | Specifies the principals requesting access for a Google Cloud resource. @members@ can have the following values: * @allUsers@: A special identifier that represents anyone who is on the internet; with or without a Google account. * @allAuthenticatedUsers@: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * @user:{emailid}@: An email address that represents a specific Google account. For example, @alice\@example.com@ . * @serviceAccount:{emailid}@: An email address that represents a Google service account. For example, @my-other-app\@appspot.gserviceaccount.com@. * @serviceAccount:{projectid}.svc.id.goog[{namespace}\/{kubernetes-sa}]@: An identifier for a <https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts Kubernetes service account>. For example, @my-project.svc.id.goog[my-namespace\/my-kubernetes-sa]@. *+    -- @group:{emailid}@: An email address that represents a Google group. For example, @admins\@example.com@. * @domain:{domain}@: The G Suite domain (primary) that represents all the users of that domain. For example, @google.com@ or @example.com@. * @principal:\/\/iam.googleapis.com\/locations\/global\/workforcePools\/{pool_id}\/subject\/{subject_attribute_value}@: A single identity in a workforce identity pool. * @principalSet:\/\/iam.googleapis.com\/locations\/global\/workforcePools\/{pool_id}\/group\/{group_id}@: All workforce identities in a group. * @principalSet:\/\/iam.googleapis.com\/locations\/global\/workforcePools\/{pool_id}\/attribute.{attribute_name}\/{attribute_value}@: All workforce identities with a specific attribute value. * @principalSet:\/\/iam.googleapis.com\/locations\/global\/workforcePools\/{pool_id}\/*@: All identities in a workforce identity pool. *+    -- @principal:\/\/iam.googleapis.com\/projects\/{project_number}\/locations\/global\/workloadIdentityPools\/{pool_id}\/subject\/{subject_attribute_value}@: A single identity in a workload identity pool. * @principalSet:\/\/iam.googleapis.com\/projects\/{project_number}\/locations\/global\/workloadIdentityPools\/{pool_id}\/group\/{group_id}@: A workload identity pool group. * @principalSet:\/\/iam.googleapis.com\/projects\/{project_number}\/locations\/global\/workloadIdentityPools\/{pool_id}\/attribute.{attribute_name}\/{attribute_value}@: All identities in a workload identity pool with a certain attribute. * @principalSet:\/\/iam.googleapis.com\/projects\/{project_number}\/locations\/global\/workloadIdentityPools\/{pool_id}\/*@: All identities in a workload identity pool. * @deleted:user:{emailid}?uid={uniqueid}@: An email address (plus unique identifier) representing a user that has been recently deleted. For example, @alice\@example.com?uid=123456789012345678901@. If the user is recovered, this value reverts+    -- to @user:{emailid}@ and the recovered user retains the role in the binding. * @deleted:serviceAccount:{emailid}?uid={uniqueid}@: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, @my-other-app\@appspot.gserviceaccount.com?uid=123456789012345678901@. If the service account is undeleted, this value reverts to @serviceAccount:{emailid}@ and the undeleted service account retains the role in the binding. * @deleted:group:{emailid}?uid={uniqueid}@: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, @admins\@example.com?uid=123456789012345678901@. If the group is recovered, this value reverts to @group:{emailid}@ and the recovered group retains the role in the binding. * @deleted:principal:\/\/iam.googleapis.com\/locations\/global\/workforcePools\/{pool_id}\/subject\/{subject_attribute_value}@: Deleted single identity in a workforce identity pool. For example,+    -- @deleted:principal:\/\/iam.googleapis.com\/locations\/global\/workforcePools\/my-pool-id\/subject\/my-subject-attribute-value@.+    members :: (Core.Maybe [Core.Text]),+    -- | Role that is assigned to the list of @members@, or principals. For example, @roles\/viewer@, @roles\/editor@, or @roles\/owner@. For an overview of the IAM roles and permissions, see the <https://cloud.google.com/iam/docs/roles-overview IAM documentation>. For a list of the available pre-defined roles, see <https://cloud.google.com/iam/docs/understanding-roles here>.+    role' :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Binding' with the minimum fields required to make a request.+newBinding ::+  Binding+newBinding =+  Binding+    { condition = Core.Nothing,+      members = Core.Nothing,+      role' = Core.Nothing+    }++instance Core.FromJSON Binding where+  parseJSON =+    Core.withObject+      "Binding"+      ( \o ->+          Binding+            Core.<$> (o Core..:? "condition")+            Core.<*> (o Core..:? "members")+            Core.<*> (o Core..:? "role")+      )++instance Core.ToJSON Binding where+  toJSON Binding {..} =+    Core.object+      ( Core.catMaybes+          [ ("condition" Core..=) Core.<$> condition,+            ("members" Core..=) Core.<$> members,+            ("role" Core..=) Core.<$> role'+          ]+      )++--+-- /See:/ 'newBqmlIterationResult' smart constructor.+data BqmlIterationResult = BqmlIterationResult+  { -- | Deprecated.+    durationMs :: (Core.Maybe Core.Int64),+    -- | Deprecated.+    evalLoss :: (Core.Maybe Core.Double),+    -- | Deprecated.+    index :: (Core.Maybe Core.Int32),+    -- | Deprecated.+    learnRate :: (Core.Maybe Core.Double),+    -- | Deprecated.+    trainingLoss :: (Core.Maybe Core.Double)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BqmlIterationResult' with the minimum fields required to make a request.+newBqmlIterationResult ::+  BqmlIterationResult+newBqmlIterationResult =+  BqmlIterationResult+    { durationMs = Core.Nothing,+      evalLoss = Core.Nothing,+      index = Core.Nothing,+      learnRate = Core.Nothing,+      trainingLoss = Core.Nothing+    }++instance Core.FromJSON BqmlIterationResult where+  parseJSON =+    Core.withObject+      "BqmlIterationResult"+      ( \o ->+          BqmlIterationResult+            Core.<$> (o Core..:? "durationMs" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "evalLoss")+            Core.<*> (o Core..:? "index")+            Core.<*> (o Core..:? "learnRate")+            Core.<*> (o Core..:? "trainingLoss")+      )++instance Core.ToJSON BqmlIterationResult where+  toJSON BqmlIterationResult {..} =+    Core.object+      ( Core.catMaybes+          [ ("durationMs" Core..=) Core.. Core.AsText Core.<$> durationMs,+            ("evalLoss" Core..=) Core.<$> evalLoss,+            ("index" Core..=) Core.<$> index,+            ("learnRate" Core..=) Core.<$> learnRate,+            ("trainingLoss" Core..=) Core.<$> trainingLoss+          ]+      )++--+-- /See:/ 'newBqmlTrainingRun' smart constructor.+data BqmlTrainingRun = BqmlTrainingRun+  { -- | Deprecated.+    iterationResults :: (Core.Maybe [BqmlIterationResult]),+    -- | Deprecated.+    startTime :: (Core.Maybe Core.DateTime),+    -- | Deprecated.+    state :: (Core.Maybe Core.Text),+    -- | Deprecated.+    trainingOptions :: (Core.Maybe BqmlTrainingRun_TrainingOptions)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BqmlTrainingRun' with the minimum fields required to make a request.+newBqmlTrainingRun ::+  BqmlTrainingRun+newBqmlTrainingRun =+  BqmlTrainingRun+    { iterationResults = Core.Nothing,+      startTime = Core.Nothing,+      state = Core.Nothing,+      trainingOptions = Core.Nothing+    }++instance Core.FromJSON BqmlTrainingRun where+  parseJSON =+    Core.withObject+      "BqmlTrainingRun"+      ( \o ->+          BqmlTrainingRun+            Core.<$> (o Core..:? "iterationResults")+            Core.<*> (o Core..:? "startTime")+            Core.<*> (o Core..:? "state")+            Core.<*> (o Core..:? "trainingOptions")+      )++instance Core.ToJSON BqmlTrainingRun where+  toJSON BqmlTrainingRun {..} =+    Core.object+      ( Core.catMaybes+          [ ("iterationResults" Core..=) Core.<$> iterationResults,+            ("startTime" Core..=) Core.<$> startTime,+            ("state" Core..=) Core.<$> state,+            ("trainingOptions" Core..=) Core.<$> trainingOptions+          ]+      )++-- | Deprecated.+--+-- /See:/ 'newBqmlTrainingRun_TrainingOptions' smart constructor.+data BqmlTrainingRun_TrainingOptions = BqmlTrainingRun_TrainingOptions+  { earlyStop :: (Core.Maybe Core.Bool),+    l1Reg :: (Core.Maybe Core.Double),+    l2Reg :: (Core.Maybe Core.Double),+    learnRate :: (Core.Maybe Core.Double),+    learnRateStrategy :: (Core.Maybe Core.Text),+    lineSearchInitLearnRate :: (Core.Maybe Core.Double),+    maxIteration :: (Core.Maybe Core.Int64),+    minRelProgress :: (Core.Maybe Core.Double),+    warmStart :: (Core.Maybe Core.Bool)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BqmlTrainingRun_TrainingOptions' with the minimum fields required to make a request.+newBqmlTrainingRun_TrainingOptions ::+  BqmlTrainingRun_TrainingOptions+newBqmlTrainingRun_TrainingOptions =+  BqmlTrainingRun_TrainingOptions+    { earlyStop = Core.Nothing,+      l1Reg = Core.Nothing,+      l2Reg = Core.Nothing,+      learnRate = Core.Nothing,+      learnRateStrategy = Core.Nothing,+      lineSearchInitLearnRate = Core.Nothing,+      maxIteration = Core.Nothing,+      minRelProgress = Core.Nothing,+      warmStart = Core.Nothing+    }++instance Core.FromJSON BqmlTrainingRun_TrainingOptions where+  parseJSON =+    Core.withObject+      "BqmlTrainingRun_TrainingOptions"+      ( \o ->+          BqmlTrainingRun_TrainingOptions+            Core.<$> (o Core..:? "earlyStop")+            Core.<*> (o Core..:? "l1Reg")+            Core.<*> (o Core..:? "l2Reg")+            Core.<*> (o Core..:? "learnRate")+            Core.<*> (o Core..:? "learnRateStrategy")+            Core.<*> (o Core..:? "lineSearchInitLearnRate")+            Core.<*> (o Core..:? "maxIteration" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "minRelProgress")+            Core.<*> (o Core..:? "warmStart")+      )++instance Core.ToJSON BqmlTrainingRun_TrainingOptions where+  toJSON BqmlTrainingRun_TrainingOptions {..} =+    Core.object+      ( Core.catMaybes+          [ ("earlyStop" Core..=) Core.<$> earlyStop,+            ("l1Reg" Core..=) Core.<$> l1Reg,+            ("l2Reg" Core..=) Core.<$> l2Reg,+            ("learnRate" Core..=) Core.<$> learnRate,+            ("learnRateStrategy" Core..=) Core.<$> learnRateStrategy,+            ("lineSearchInitLearnRate" Core..=)+              Core.<$> lineSearchInitLearnRate,+            ("maxIteration" Core..=) Core.. Core.AsText Core.<$> maxIteration,+            ("minRelProgress" Core..=) Core.<$> minRelProgress,+            ("warmStart" Core..=) Core.<$> warmStart+          ]+      )++-- | Representative value of a categorical feature.+--+-- /See:/ 'newCategoricalValue' smart constructor.+newtype CategoricalValue = CategoricalValue+  { -- | Counts of all categories for the categorical feature. If there are more than ten categories, we return top ten (by count) and return one more CategoryCount with category \"/OTHER/\" and count as aggregate counts of remaining categories.+    categoryCounts :: (Core.Maybe [CategoryCount])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'CategoricalValue' with the minimum fields required to make a request.+newCategoricalValue ::+  CategoricalValue+newCategoricalValue =+  CategoricalValue {categoryCounts = Core.Nothing}++instance Core.FromJSON CategoricalValue where+  parseJSON =+    Core.withObject+      "CategoricalValue"+      (\o -> CategoricalValue Core.<$> (o Core..:? "categoryCounts"))++instance Core.ToJSON CategoricalValue where+  toJSON CategoricalValue {..} =+    Core.object+      ( Core.catMaybes+          [("categoryCounts" Core..=) Core.<$> categoryCounts]+      )++-- | Represents the count of a single category within the cluster.+--+-- /See:/ 'newCategoryCount' smart constructor.+data CategoryCount = CategoryCount+  { -- | The name of category.+    category :: (Core.Maybe Core.Text),+    -- | The count of training samples matching the category within the cluster.+    count :: (Core.Maybe Core.Int64)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'CategoryCount' with the minimum fields required to make a request.+newCategoryCount ::+  CategoryCount+newCategoryCount =+  CategoryCount {category = Core.Nothing, count = Core.Nothing}++instance Core.FromJSON CategoryCount where+  parseJSON =+    Core.withObject+      "CategoryCount"+      ( \o ->+          CategoryCount+            Core.<$> (o Core..:? "category")+            Core.<*> (o Core..:? "count" Core.<&> Core.fmap Core.fromAsText)+      )++instance Core.ToJSON CategoryCount where+  toJSON CategoryCount {..} =+    Core.object+      ( Core.catMaybes+          [ ("category" Core..=) Core.<$> category,+            ("count" Core..=) Core.. Core.AsText Core.<$> count+          ]+      )++-- | Information about base table and clone time of a table clone.+--+-- /See:/ 'newCloneDefinition' smart constructor.+data CloneDefinition = CloneDefinition+  { -- | Required. Reference describing the ID of the table that was cloned.+    baseTableReference :: (Core.Maybe TableReference),+    -- | Required. The time at which the base table was cloned. This value is reported in the JSON response using RFC3339 format.+    cloneTime :: (Core.Maybe Core.DateTime)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'CloneDefinition' with the minimum fields required to make a request.+newCloneDefinition ::+  CloneDefinition+newCloneDefinition =+  CloneDefinition+    { baseTableReference = Core.Nothing,+      cloneTime = Core.Nothing+    }++instance Core.FromJSON CloneDefinition where+  parseJSON =+    Core.withObject+      "CloneDefinition"+      ( \o ->+          CloneDefinition+            Core.<$> (o Core..:? "baseTableReference")+            Core.<*> (o Core..:? "cloneTime")+      )++instance Core.ToJSON CloneDefinition where+  toJSON CloneDefinition {..} =+    Core.object+      ( Core.catMaybes+          [ ("baseTableReference" Core..=) Core.<$> baseTableReference,+            ("cloneTime" Core..=) Core.<$> cloneTime+          ]+      )++-- | Message containing the information about one cluster.+--+-- /See:/ 'newCluster' smart constructor.+data Cluster = Cluster+  { -- | Centroid id.+    centroidId :: (Core.Maybe Core.Int64),+    -- | Count of training data rows that were assigned to this cluster.+    count :: (Core.Maybe Core.Int64),+    -- | Values of highly variant features for this cluster.+    featureValues :: (Core.Maybe [FeatureValue])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Cluster' with the minimum fields required to make a request.+newCluster ::+  Cluster+newCluster =+  Cluster+    { centroidId = Core.Nothing,+      count = Core.Nothing,+      featureValues = Core.Nothing+    }++instance Core.FromJSON Cluster where+  parseJSON =+    Core.withObject+      "Cluster"+      ( \o ->+          Cluster+            Core.<$> (o Core..:? "centroidId" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "count" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "featureValues")+      )++instance Core.ToJSON Cluster where+  toJSON Cluster {..} =+    Core.object+      ( Core.catMaybes+          [ ("centroidId" Core..=) Core.. Core.AsText Core.<$> centroidId,+            ("count" Core..=) Core.. Core.AsText Core.<$> count,+            ("featureValues" Core..=) Core.<$> featureValues+          ]+      )++-- | Information about a single cluster for clustering model.+--+-- /See:/ 'newClusterInfo' smart constructor.+data ClusterInfo = ClusterInfo+  { -- | Centroid id.+    centroidId :: (Core.Maybe Core.Int64),+    -- | Cluster radius, the average distance from centroid to each point assigned to the cluster.+    clusterRadius :: (Core.Maybe Core.Double),+    -- | Cluster size, the total number of points assigned to the cluster.+    clusterSize :: (Core.Maybe Core.Int64)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ClusterInfo' with the minimum fields required to make a request.+newClusterInfo ::+  ClusterInfo+newClusterInfo =+  ClusterInfo+    { centroidId = Core.Nothing,+      clusterRadius = Core.Nothing,+      clusterSize = Core.Nothing+    }++instance Core.FromJSON ClusterInfo where+  parseJSON =+    Core.withObject+      "ClusterInfo"+      ( \o ->+          ClusterInfo+            Core.<$> (o Core..:? "centroidId" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "clusterRadius")+            Core.<*> (o Core..:? "clusterSize" Core.<&> Core.fmap Core.fromAsText)+      )++instance Core.ToJSON ClusterInfo where+  toJSON ClusterInfo {..} =+    Core.object+      ( Core.catMaybes+          [ ("centroidId" Core..=) Core.. Core.AsText Core.<$> centroidId,+            ("clusterRadius" Core..=) Core.<$> clusterRadius,+            ("clusterSize" Core..=) Core.. Core.AsText Core.<$> clusterSize+          ]+      )++-- | Configures table clustering.+--+-- /See:/ 'newClustering' smart constructor.+newtype Clustering = Clustering+  { -- | One or more fields on which data should be clustered. Only top-level, non-repeated, simple-type fields are supported. The ordering of the clustering fields should be prioritized from most to least important for filtering purposes. For additional information, see <https://cloud.google.com/bigquery/docs/clustered-tables#limitations Introduction to clustered tables>.+    fields :: (Core.Maybe [Core.Text])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Clustering' with the minimum fields required to make a request.+newClustering ::+  Clustering+newClustering = Clustering {fields = Core.Nothing}++instance Core.FromJSON Clustering where+  parseJSON =+    Core.withObject+      "Clustering"+      (\o -> Clustering Core.<$> (o Core..:? "fields"))++instance Core.ToJSON Clustering where+  toJSON Clustering {..} =+    Core.object (Core.catMaybes [("fields" Core..=) Core.<$> fields])++-- | Evaluation metrics for clustering models.+--+-- /See:/ 'newClusteringMetrics' smart constructor.+data ClusteringMetrics = ClusteringMetrics+  { -- | Information for all clusters.+    clusters :: (Core.Maybe [Cluster]),+    -- | Davies-Bouldin index.+    daviesBouldinIndex :: (Core.Maybe Core.Double),+    -- | Mean of squared distances between each sample to its cluster centroid.+    meanSquaredDistance :: (Core.Maybe Core.Double)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ClusteringMetrics' with the minimum fields required to make a request.+newClusteringMetrics ::+  ClusteringMetrics+newClusteringMetrics =+  ClusteringMetrics+    { clusters = Core.Nothing,+      daviesBouldinIndex = Core.Nothing,+      meanSquaredDistance = Core.Nothing+    }++instance Core.FromJSON ClusteringMetrics where+  parseJSON =+    Core.withObject+      "ClusteringMetrics"+      ( \o ->+          ClusteringMetrics+            Core.<$> (o Core..:? "clusters")+            Core.<*> (o Core..:? "daviesBouldinIndex")+            Core.<*> (o Core..:? "meanSquaredDistance")+      )++instance Core.ToJSON ClusteringMetrics where+  toJSON ClusteringMetrics {..} =+    Core.object+      ( Core.catMaybes+          [ ("clusters" Core..=) Core.<$> clusters,+            ("daviesBouldinIndex" Core..=) Core.<$> daviesBouldinIndex,+            ("meanSquaredDistance" Core..=) Core.<$> meanSquaredDistance+          ]+      )++-- | Confusion matrix for multi-class classification models.+--+-- /See:/ 'newConfusionMatrix' smart constructor.+data ConfusionMatrix = ConfusionMatrix+  { -- | Confidence threshold used when computing the entries of the confusion matrix.+    confidenceThreshold :: (Core.Maybe Core.Double),+    -- | One row per actual label.+    rows :: (Core.Maybe [Row])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ConfusionMatrix' with the minimum fields required to make a request.+newConfusionMatrix ::+  ConfusionMatrix+newConfusionMatrix =+  ConfusionMatrix+    { confidenceThreshold = Core.Nothing,+      rows = Core.Nothing+    }++instance Core.FromJSON ConfusionMatrix where+  parseJSON =+    Core.withObject+      "ConfusionMatrix"+      ( \o ->+          ConfusionMatrix+            Core.<$> (o Core..:? "confidenceThreshold")+            Core.<*> (o Core..:? "rows")+      )++instance Core.ToJSON ConfusionMatrix where+  toJSON ConfusionMatrix {..} =+    Core.object+      ( Core.catMaybes+          [ ("confidenceThreshold" Core..=) Core.<$> confidenceThreshold,+            ("rows" Core..=) Core.<$> rows+          ]+      )++-- | A connection-level property to customize query behavior. Under JDBC, these correspond directly to connection properties passed to the DriverManager. Under ODBC, these correspond to properties in the connection string. Currently supported connection properties: * __dataset/project/id__: represents the default project for datasets that are used in the query. Setting the system variable @\@\@dataset_project_id@ achieves the same behavior. For more information about system variables, see: https:\/\/cloud.google.com\/bigquery\/docs\/reference\/system-variables * __time/zone__: represents the default timezone used to run the query. * __session/id__: associates the query with a given session. * __query/label__: associates the query with a given job label. If set, all subsequent queries in a script or session will have this label. For the format in which a you can specify a query label, see labels in the JobConfiguration resource type:+-- https:\/\/cloud.google.com\/bigquery\/docs\/reference\/rest\/v2\/Job#jobconfiguration * __service/account__: indicates the service account to use to run a continuous query. If set, the query job uses the service account to access Google Cloud resources. Service account access is bounded by the IAM permissions that you have granted to the service account. Additional properties are allowed, but ignored. Specifying multiple connection properties with the same key returns an error.+--+-- /See:/ 'newConnectionProperty' smart constructor.+data ConnectionProperty = ConnectionProperty+  { -- | The key of the property to set.+    key :: (Core.Maybe Core.Text),+    -- | The value of the property to set.+    value :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ConnectionProperty' with the minimum fields required to make a request.+newConnectionProperty ::+  ConnectionProperty+newConnectionProperty =+  ConnectionProperty {key = Core.Nothing, value = Core.Nothing}++instance Core.FromJSON ConnectionProperty where+  parseJSON =+    Core.withObject+      "ConnectionProperty"+      ( \o ->+          ConnectionProperty+            Core.<$> (o Core..:? "key")+            Core.<*> (o Core..:? "value")+      )++instance Core.ToJSON ConnectionProperty where+  toJSON ConnectionProperty {..} =+    Core.object+      ( Core.catMaybes+          [("key" Core..=) Core.<$> key, ("value" Core..=) Core.<$> value]+      )++-- | Information related to a CSV data source.+--+-- /See:/ 'newCsvOptions' smart constructor.+data CsvOptions = CsvOptions+  { -- | Optional. Indicates if BigQuery should accept rows that are missing trailing optional columns. If true, BigQuery treats missing trailing columns as null values. If false, records with missing trailing columns are treated as bad records, and if there are too many bad records, an invalid error is returned in the job result. The default value is false.+    allowJaggedRows :: (Core.Maybe Core.Bool),+    -- | Optional. Indicates if BigQuery should allow quoted data sections that contain newline characters in a CSV file. The default value is false.+    allowQuotedNewlines :: (Core.Maybe Core.Bool),+    -- | Optional. The character encoding of the data. The supported values are UTF-8, ISO-8859-1, UTF-16BE, UTF-16LE, UTF-32BE, and UTF-32LE. The default value is UTF-8. BigQuery decodes the data after the raw, binary data has been split using the values of the quote and fieldDelimiter properties.+    encoding :: (Core.Maybe Core.Text),+    -- | Optional. The separator character for fields in a CSV file. The separator is interpreted as a single byte. For files encoded in ISO-8859-1, any single character can be used as a separator. For files encoded in UTF-8, characters represented in decimal range 1-127 (U+0001-U+007F) can be used without any modification. UTF-8 characters encoded with multiple bytes (i.e. U+0080 and above) will have only the first byte used for separating fields. The remaining bytes will be treated as a part of the field. BigQuery also supports the escape sequence \"\\t\" (U+0009) to specify a tab separator. The default value is comma (\",\", U+002C).+    fieldDelimiter :: (Core.Maybe Core.Text),+    -- | Optional. Specifies a string that represents a null value in a CSV file. For example, if you specify \"\\N\", BigQuery interprets \"\\N\" as a null value when querying a CSV file. The default value is the empty string. If you set this property to a custom value, BigQuery throws an error if an empty string is present for all data types except for STRING and BYTE. For STRING and BYTE columns, BigQuery interprets the empty string as an empty value.+    nullMarker :: (Core.Maybe Core.Text),+    -- | Optional. Indicates if the embedded ASCII control characters (the first 32 characters in the ASCII-table, from \'\\x00\' to \'\\x1F\') are preserved.+    preserveAsciiControlCharacters :: (Core.Maybe Core.Bool),+    -- | Optional. The value that is used to quote data sections in a CSV file. BigQuery converts the string to ISO-8859-1 encoding, and then uses the first byte of the encoded string to split the data in its raw, binary state. The default value is a double-quote (\"). If your data does not contain quoted sections, set the property value to an empty string. If your data contains quoted newline characters, you must also set the allowQuotedNewlines property to true. To include the specific quote character within a quoted value, precede it with an additional matching quote character. For example, if you want to escape the default character \' \" \', use \' \"\" \'.+    quote :: Core.Text,+    -- | Optional. The number of rows at the top of a CSV file that BigQuery will skip when reading the data. The default value is 0. This property is useful if you have header rows in the file that should be skipped. When autodetect is on, the behavior is the following: * skipLeadingRows unspecified - Autodetect tries to detect headers in the first row. If they are not detected, the row is read as data. Otherwise data is read starting from the second row. * skipLeadingRows is 0 - Instructs autodetect that there are no headers and data should be read starting from the first row. * skipLeadingRows = N > 0 - Autodetect skips N-1 rows and tries to detect headers in row N. If headers are not detected, row N is just skipped. Otherwise row N is used to extract column names for the detected schema.+    skipLeadingRows :: (Core.Maybe Core.Int64)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'CsvOptions' with the minimum fields required to make a request.+newCsvOptions ::+  CsvOptions+newCsvOptions =+  CsvOptions+    { allowJaggedRows = Core.Nothing,+      allowQuotedNewlines = Core.Nothing,+      encoding = Core.Nothing,+      fieldDelimiter = Core.Nothing,+      nullMarker = Core.Nothing,+      preserveAsciiControlCharacters = Core.Nothing,+      quote = "\"",+      skipLeadingRows = Core.Nothing+    }++instance Core.FromJSON CsvOptions where+  parseJSON =+    Core.withObject+      "CsvOptions"+      ( \o ->+          CsvOptions+            Core.<$> (o Core..:? "allowJaggedRows")+            Core.<*> (o Core..:? "allowQuotedNewlines")+            Core.<*> (o Core..:? "encoding")+            Core.<*> (o Core..:? "fieldDelimiter")+            Core.<*> (o Core..:? "nullMarker")+            Core.<*> (o Core..:? "preserveAsciiControlCharacters")+            Core.<*> (o Core..:? "quote" Core..!= "\"")+            Core.<*> (o Core..:? "skipLeadingRows" Core.<&> Core.fmap Core.fromAsText)+      )++instance Core.ToJSON CsvOptions where+  toJSON CsvOptions {..} =+    Core.object+      ( Core.catMaybes+          [ ("allowJaggedRows" Core..=) Core.<$> allowJaggedRows,+            ("allowQuotedNewlines" Core..=) Core.<$> allowQuotedNewlines,+            ("encoding" Core..=) Core.<$> encoding,+            ("fieldDelimiter" Core..=) Core.<$> fieldDelimiter,+            ("nullMarker" Core..=) Core.<$> nullMarker,+            ("preserveAsciiControlCharacters" Core..=)+              Core.<$> preserveAsciiControlCharacters,+            Core.Just ("quote" Core..= quote),+            ("skipLeadingRows" Core..=)+              Core.. Core.AsText+              Core.<$> skipLeadingRows+          ]+      )++-- | Options for data format adjustments.+--+-- /See:/ 'newDataFormatOptions' smart constructor.+newtype DataFormatOptions = DataFormatOptions+  { -- | Optional. Output timestamp as usec int64. Default is false.+    useInt64Timestamp :: (Core.Maybe Core.Bool)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DataFormatOptions' with the minimum fields required to make a request.+newDataFormatOptions ::+  DataFormatOptions+newDataFormatOptions =+  DataFormatOptions {useInt64Timestamp = Core.Nothing}++instance Core.FromJSON DataFormatOptions where+  parseJSON =+    Core.withObject+      "DataFormatOptions"+      ( \o ->+          DataFormatOptions Core.<$> (o Core..:? "useInt64Timestamp")+      )++instance Core.ToJSON DataFormatOptions where+  toJSON DataFormatOptions {..} =+    Core.object+      ( Core.catMaybes+          [("useInt64Timestamp" Core..=) Core.<$> useInt64Timestamp]+      )++-- | Statistics for data-masking.+--+-- /See:/ 'newDataMaskingStatistics' smart constructor.+newtype DataMaskingStatistics = DataMaskingStatistics+  { -- | Whether any accessed data was protected by the data masking.+    dataMaskingApplied :: (Core.Maybe Core.Bool)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DataMaskingStatistics' with the minimum fields required to make a request.+newDataMaskingStatistics ::+  DataMaskingStatistics+newDataMaskingStatistics =+  DataMaskingStatistics {dataMaskingApplied = Core.Nothing}++instance Core.FromJSON DataMaskingStatistics where+  parseJSON =+    Core.withObject+      "DataMaskingStatistics"+      ( \o ->+          DataMaskingStatistics Core.<$> (o Core..:? "dataMaskingApplied")+      )++instance Core.ToJSON DataMaskingStatistics where+  toJSON DataMaskingStatistics {..} =+    Core.object+      ( Core.catMaybes+          [("dataMaskingApplied" Core..=) Core.<$> dataMaskingApplied]+      )++-- | Data policy option proto, it currently supports name only, will support precedence later.+--+-- /See:/ 'newDataPolicyOption' smart constructor.+newtype DataPolicyOption = DataPolicyOption+  { -- | Data policy resource name in the form of projects\/project/id\/locations\/location/id\/dataPolicies\/data/policy/id.+    name :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DataPolicyOption' with the minimum fields required to make a request.+newDataPolicyOption ::+  DataPolicyOption+newDataPolicyOption = DataPolicyOption {name = Core.Nothing}++instance Core.FromJSON DataPolicyOption where+  parseJSON =+    Core.withObject+      "DataPolicyOption"+      (\o -> DataPolicyOption Core.<$> (o Core..:? "name"))++instance Core.ToJSON DataPolicyOption where+  toJSON DataPolicyOption {..} =+    Core.object (Core.catMaybes [("name" Core..=) Core.<$> name])++-- | Data split result. This contains references to the training and evaluation data tables that were used to train the model.+--+-- /See:/ 'newDataSplitResult' smart constructor.+data DataSplitResult = DataSplitResult+  { -- | Table reference of the evaluation data after split.+    evaluationTable :: (Core.Maybe TableReference),+    -- | Table reference of the test data after split.+    testTable :: (Core.Maybe TableReference),+    -- | Table reference of the training data after split.+    trainingTable :: (Core.Maybe TableReference)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DataSplitResult' with the minimum fields required to make a request.+newDataSplitResult ::+  DataSplitResult+newDataSplitResult =+  DataSplitResult+    { evaluationTable = Core.Nothing,+      testTable = Core.Nothing,+      trainingTable = Core.Nothing+    }++instance Core.FromJSON DataSplitResult where+  parseJSON =+    Core.withObject+      "DataSplitResult"+      ( \o ->+          DataSplitResult+            Core.<$> (o Core..:? "evaluationTable")+            Core.<*> (o Core..:? "testTable")+            Core.<*> (o Core..:? "trainingTable")+      )++instance Core.ToJSON DataSplitResult where+  toJSON DataSplitResult {..} =+    Core.object+      ( Core.catMaybes+          [ ("evaluationTable" Core..=) Core.<$> evaluationTable,+            ("testTable" Core..=) Core.<$> testTable,+            ("trainingTable" Core..=) Core.<$> trainingTable+          ]+      )++-- | Represents a BigQuery dataset.+--+-- /See:/ 'newDataset' smart constructor.+data Dataset = Dataset+  { -- | Optional. An array of objects that define dataset access for one or more entities. You can set this property when inserting or updating a dataset in order to control who is allowed to access the data. If unspecified at dataset creation time, BigQuery adds default dataset access for the following entities: access.specialGroup: projectReaders; access.role: READER; access.specialGroup: projectWriters; access.role: WRITER; access.specialGroup: projectOwners; access.role: OWNER; access.userByEmail: [dataset creator email]; access.role: OWNER; If you patch a dataset, then this field is overwritten by the patched dataset\'s access field. To add entities, you must supply the entire existing access array in addition to any new entities that you want to add.+    access :: (Core.Maybe [Dataset_AccessItem]),+    -- | Output only. The time when this dataset was created, in milliseconds since the epoch.+    creationTime :: (Core.Maybe Core.Int64),+    -- | Required. A reference that identifies the dataset.+    datasetReference :: (Core.Maybe DatasetReference),+    -- | Optional. Defines the default collation specification of future tables created in the dataset. If a table is created in this dataset without table-level default collation, then the table inherits the dataset default collation, which is applied to the string fields that do not have explicit collation specified. A change to this field affects only tables created afterwards, and does not alter the existing tables. The following values are supported: * \'und:ci\': undetermined locale, case insensitive. * \'\': empty string. Default to case-sensitive behavior.+    defaultCollation :: (Core.Maybe Core.Text),+    -- | The default encryption key for all tables in the dataset. After this property is set, the encryption key of all newly-created tables in the dataset is set to this value unless the table creation request or query explicitly overrides the key.+    defaultEncryptionConfiguration :: (Core.Maybe EncryptionConfiguration),+    -- | This default partition expiration, expressed in milliseconds. When new time-partitioned tables are created in a dataset where this property is set, the table will inherit this value, propagated as the @TimePartitioning.expirationMs@ property on the new table. If you set @TimePartitioning.expirationMs@ explicitly when creating a table, the @defaultPartitionExpirationMs@ of the containing dataset is ignored. When creating a partitioned table, if @defaultPartitionExpirationMs@ is set, the @defaultTableExpirationMs@ value is ignored and the table will not be inherit a table expiration deadline.+    defaultPartitionExpirationMs :: (Core.Maybe Core.Int64),+    -- | Optional. Defines the default rounding mode specification of new tables created within this dataset. During table creation, if this field is specified, the table within this dataset will inherit the default rounding mode of the dataset. Setting the default rounding mode on a table overrides this option. Existing tables in the dataset are unaffected. If columns are defined during that table creation, they will immediately inherit the table\'s default rounding mode, unless otherwise specified.+    defaultRoundingMode :: (Core.Maybe Dataset_DefaultRoundingMode),+    -- | Optional. The default lifetime of all tables in the dataset, in milliseconds. The minimum lifetime value is 3600000 milliseconds (one hour). To clear an existing default expiration with a PATCH request, set to 0. Once this property is set, all newly-created tables in the dataset will have an expirationTime property set to the creation time plus the value in this property, and changing the value will only affect new tables, not existing ones. When the expirationTime for a given table is reached, that table will be deleted automatically. If a table\'s expirationTime is modified or removed before the table expires, or if you provide an explicit expirationTime when creating a table, that value takes precedence over the default expiration time indicated by this property.+    defaultTableExpirationMs :: (Core.Maybe Core.Int64),+    -- | Optional. A user-friendly description of the dataset.+    description :: (Core.Maybe Core.Text),+    -- | Output only. A hash of the resource.+    etag :: (Core.Maybe Core.Text),+    -- | Optional. Options defining open source compatible datasets living in the BigQuery catalog. Contains metadata of open source database, schema or namespace represented by the current dataset.+    externalCatalogDatasetOptions :: (Core.Maybe ExternalCatalogDatasetOptions),+    -- | Optional. Reference to a read-only external dataset defined in data catalogs outside of BigQuery. Filled out when the dataset type is EXTERNAL.+    externalDatasetReference :: (Core.Maybe ExternalDatasetReference),+    -- | Optional. A descriptive name for the dataset.+    friendlyName :: (Core.Maybe Core.Text),+    -- | Output only. The fully-qualified unique name of the dataset in the format projectId:datasetId. The dataset name without the project name is given in the datasetId field. When creating a new dataset, leave this field blank, and instead specify the datasetId field.+    id :: (Core.Maybe Core.Text),+    -- | Optional. TRUE if the dataset and its table names are case-insensitive, otherwise FALSE. By default, this is FALSE, which means the dataset and its table names are case-sensitive. This field does not affect routine references.+    isCaseInsensitive :: (Core.Maybe Core.Bool),+    -- | Output only. The resource type.+    kind :: Core.Text,+    -- | The labels associated with this dataset. You can use these to organize and group your datasets. You can set this property when inserting or updating a dataset. See <https://cloud.google.com/bigquery/docs/creating-managing-labels#creating_and_updating_dataset_labels Creating and Updating Dataset Labels> for more information.+    labels :: (Core.Maybe Dataset_Labels),+    -- | Output only. The date when this dataset was last modified, in milliseconds since the epoch.+    lastModifiedTime :: (Core.Maybe Core.Int64),+    -- | Output only. Metadata about the LinkedDataset. Filled out when the dataset type is LINKED.+    linkedDatasetMetadata :: (Core.Maybe LinkedDatasetMetadata),+    -- | Optional. The source dataset reference when the dataset is of type LINKED. For all other dataset types it is not set. This field cannot be updated once it is set. Any attempt to update this field using Update and Patch API Operations will be ignored.+    linkedDatasetSource :: (Core.Maybe LinkedDatasetSource),+    -- | The geographic location where the dataset should reside. See https:\/\/cloud.google.com\/bigquery\/docs\/locations for supported locations.+    location :: (Core.Maybe Core.Text),+    -- | Optional. Defines the time travel window in hours. The value can be from 48 to 168 hours (2 to 7 days). The default value is 168 hours if this is not set.+    maxTimeTravelHours :: (Core.Maybe Core.Int64),+    -- | Optional. The <https://cloud.google.com/bigquery/docs/tags tags> attached to this dataset. Tag keys are globally unique. Tag key is expected to be in the namespaced format, for example \"123456789012\/environment\" where 123456789012 is the ID of the parent organization or project resource for this tag key. Tag value is expected to be the short name, for example \"Production\". See <https://cloud.google.com/iam/docs/tags-access-control#definitions Tag definitions> for more details.+    resourceTags :: (Core.Maybe Dataset_ResourceTags),+    -- | Optional. Output only. Restriction config for all tables and dataset. If set, restrict certain accesses on the dataset and all its tables based on the config. See <https://cloud.google.com/bigquery/docs/analytics-hub-introduction#data_egress Data egress> for more details.+    restrictions :: (Core.Maybe RestrictionConfig),+    -- | Output only. Reserved for future use.+    satisfiesPzi :: (Core.Maybe Core.Bool),+    -- | Output only. Reserved for future use.+    satisfiesPzs :: (Core.Maybe Core.Bool),+    -- | Output only. A URL that can be used to access the resource again. You can use this URL in Get or Update requests to the resource.+    selfLink :: (Core.Maybe Core.Text),+    -- | Optional. Updates storage/billing/model for the dataset.+    storageBillingModel :: (Core.Maybe Dataset_StorageBillingModel),+    -- | Output only. Tags for the dataset. To provide tags as inputs, use the @resourceTags@ field.+    tags :: (Core.Maybe [Dataset_TagsItem]),+    -- | Output only. Same as @type@ in @ListFormatDataset@. The type of the dataset, one of: * DEFAULT - only accessible by owner and authorized accounts, * PUBLIC - accessible by everyone, * LINKED - linked dataset, * EXTERNAL - dataset with definition in external metadata catalog.+    type' :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Dataset' with the minimum fields required to make a request.+newDataset ::+  Dataset+newDataset =+  Dataset+    { access = Core.Nothing,+      creationTime = Core.Nothing,+      datasetReference = Core.Nothing,+      defaultCollation = Core.Nothing,+      defaultEncryptionConfiguration = Core.Nothing,+      defaultPartitionExpirationMs = Core.Nothing,+      defaultRoundingMode = Core.Nothing,+      defaultTableExpirationMs = Core.Nothing,+      description = Core.Nothing,+      etag = Core.Nothing,+      externalCatalogDatasetOptions = Core.Nothing,+      externalDatasetReference = Core.Nothing,+      friendlyName = Core.Nothing,+      id = Core.Nothing,+      isCaseInsensitive = Core.Nothing,+      kind = "bigquery#dataset",+      labels = Core.Nothing,+      lastModifiedTime = Core.Nothing,+      linkedDatasetMetadata = Core.Nothing,+      linkedDatasetSource = Core.Nothing,+      location = Core.Nothing,+      maxTimeTravelHours = Core.Nothing,+      resourceTags = Core.Nothing,+      restrictions = Core.Nothing,+      satisfiesPzi = Core.Nothing,+      satisfiesPzs = Core.Nothing,+      selfLink = Core.Nothing,+      storageBillingModel = Core.Nothing,+      tags = Core.Nothing,+      type' = Core.Nothing+    }++instance Core.FromJSON Dataset where+  parseJSON =+    Core.withObject+      "Dataset"+      ( \o ->+          Dataset+            Core.<$> (o Core..:? "access")+            Core.<*> (o Core..:? "creationTime" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "datasetReference")+            Core.<*> (o Core..:? "defaultCollation")+            Core.<*> (o Core..:? "defaultEncryptionConfiguration")+            Core.<*> ( o+                         Core..:? "defaultPartitionExpirationMs"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> (o Core..:? "defaultRoundingMode")+            Core.<*> ( o+                         Core..:? "defaultTableExpirationMs"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> (o Core..:? "description")+            Core.<*> (o Core..:? "etag")+            Core.<*> (o Core..:? "externalCatalogDatasetOptions")+            Core.<*> (o Core..:? "externalDatasetReference")+            Core.<*> (o Core..:? "friendlyName")+            Core.<*> (o Core..:? "id")+            Core.<*> (o Core..:? "isCaseInsensitive")+            Core.<*> (o Core..:? "kind" Core..!= "bigquery#dataset")+            Core.<*> (o Core..:? "labels")+            Core.<*> (o Core..:? "lastModifiedTime" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "linkedDatasetMetadata")+            Core.<*> (o Core..:? "linkedDatasetSource")+            Core.<*> (o Core..:? "location")+            Core.<*> ( o+                         Core..:? "maxTimeTravelHours"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> (o Core..:? "resourceTags")+            Core.<*> (o Core..:? "restrictions")+            Core.<*> (o Core..:? "satisfiesPzi")+            Core.<*> (o Core..:? "satisfiesPzs")+            Core.<*> (o Core..:? "selfLink")+            Core.<*> (o Core..:? "storageBillingModel")+            Core.<*> (o Core..:? "tags")+            Core.<*> (o Core..:? "type")+      )++instance Core.ToJSON Dataset where+  toJSON Dataset {..} =+    Core.object+      ( Core.catMaybes+          [ ("access" Core..=) Core.<$> access,+            ("creationTime" Core..=) Core.. Core.AsText Core.<$> creationTime,+            ("datasetReference" Core..=) Core.<$> datasetReference,+            ("defaultCollation" Core..=) Core.<$> defaultCollation,+            ("defaultEncryptionConfiguration" Core..=)+              Core.<$> defaultEncryptionConfiguration,+            ("defaultPartitionExpirationMs" Core..=)+              Core.. Core.AsText+              Core.<$> defaultPartitionExpirationMs,+            ("defaultRoundingMode" Core..=) Core.<$> defaultRoundingMode,+            ("defaultTableExpirationMs" Core..=)+              Core.. Core.AsText+              Core.<$> defaultTableExpirationMs,+            ("description" Core..=) Core.<$> description,+            ("etag" Core..=) Core.<$> etag,+            ("externalCatalogDatasetOptions" Core..=)+              Core.<$> externalCatalogDatasetOptions,+            ("externalDatasetReference" Core..=)+              Core.<$> externalDatasetReference,+            ("friendlyName" Core..=) Core.<$> friendlyName,+            ("id" Core..=) Core.<$> id,+            ("isCaseInsensitive" Core..=) Core.<$> isCaseInsensitive,+            Core.Just ("kind" Core..= kind),+            ("labels" Core..=) Core.<$> labels,+            ("lastModifiedTime" Core..=)+              Core.. Core.AsText+              Core.<$> lastModifiedTime,+            ("linkedDatasetMetadata" Core..=) Core.<$> linkedDatasetMetadata,+            ("linkedDatasetSource" Core..=) Core.<$> linkedDatasetSource,+            ("location" Core..=) Core.<$> location,+            ("maxTimeTravelHours" Core..=)+              Core.. Core.AsText+              Core.<$> maxTimeTravelHours,+            ("resourceTags" Core..=) Core.<$> resourceTags,+            ("restrictions" Core..=) Core.<$> restrictions,+            ("satisfiesPzi" Core..=) Core.<$> satisfiesPzi,+            ("satisfiesPzs" Core..=) Core.<$> satisfiesPzs,+            ("selfLink" Core..=) Core.<$> selfLink,+            ("storageBillingModel" Core..=) Core.<$> storageBillingModel,+            ("tags" Core..=) Core.<$> tags,+            ("type" Core..=) Core.<$> type'+          ]+      )++-- | An object that defines dataset access for an entity.+--+-- /See:/ 'newDataset_AccessItem' smart constructor.+data Dataset_AccessItem = Dataset_AccessItem+  { -- | Optional. condition for the binding. If CEL expression in this field is true, this access binding will be considered+    condition :: (Core.Maybe Expr),+    -- | [Pick one] A grant authorizing all resources of a particular type in a particular dataset access to this dataset. Only views are supported for now. The role field is not required when this field is set. If that dataset is deleted and re-created, its access needs to be granted again via an update operation.+    dataset :: (Core.Maybe DatasetAccessEntry),+    -- | [Pick one] A domain to grant access to. Any users signed in with the domain specified will be granted the specified access. Example: \"example.com\". Maps to IAM policy member \"domain:DOMAIN\".+    domain :: (Core.Maybe Core.Text),+    -- | [Pick one] An email address of a Google Group to grant access to. Maps to IAM policy member \"group:GROUP\".+    groupByEmail :: (Core.Maybe Core.Text),+    -- | [Pick one] Some other type of member that appears in the IAM Policy but isn\'t a user, group, domain, or special group.+    iamMember :: (Core.Maybe Core.Text),+    -- | An IAM role ID that should be granted to the user, group, or domain specified in this access entry. The following legacy mappings will be applied: * @OWNER@: @roles\/bigquery.dataOwner@ * @WRITER@: @roles\/bigquery.dataEditor@ * @READER@: @roles\/bigquery.dataViewer@ This field will accept any of the above formats, but will return only the legacy format. For example, if you set this field to \"roles\/bigquery.dataOwner\", it will be returned back as \"OWNER\".+    role' :: (Core.Maybe Core.Text),+    -- | [Pick one] A routine from a different dataset to grant access to. Queries executed against that routine will have read access to views\/tables\/routines in this dataset. Only UDF is supported for now. The role field is not required when this field is set. If that routine is updated by any user, access to the routine needs to be granted again via an update operation.+    routine :: (Core.Maybe RoutineReference),+    -- | [Pick one] A special group to grant access to. Possible values include: * projectOwners: Owners of the enclosing project. * projectReaders: Readers of the enclosing project. * projectWriters: Writers of the enclosing project. * allAuthenticatedUsers: All authenticated BigQuery users. Maps to similarly-named IAM members.+    specialGroup :: (Core.Maybe Core.Text),+    -- | [Pick one] An email address of a user to grant access to. For example: fred\@example.com. Maps to IAM policy member \"user:EMAIL\" or \"serviceAccount:EMAIL\".+    userByEmail :: (Core.Maybe Core.Text),+    -- | [Pick one] A view from a different dataset to grant access to. Queries executed against that view will have read access to views\/tables\/routines in this dataset. The role field is not required when this field is set. If that view is updated by any user, access to the view needs to be granted again via an update operation.+    view :: (Core.Maybe TableReference)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Dataset_AccessItem' with the minimum fields required to make a request.+newDataset_AccessItem ::+  Dataset_AccessItem+newDataset_AccessItem =+  Dataset_AccessItem+    { condition = Core.Nothing,+      dataset = Core.Nothing,+      domain = Core.Nothing,+      groupByEmail = Core.Nothing,+      iamMember = Core.Nothing,+      role' = Core.Nothing,+      routine = Core.Nothing,+      specialGroup = Core.Nothing,+      userByEmail = Core.Nothing,+      view = Core.Nothing+    }++instance Core.FromJSON Dataset_AccessItem where+  parseJSON =+    Core.withObject+      "Dataset_AccessItem"+      ( \o ->+          Dataset_AccessItem+            Core.<$> (o Core..:? "condition")+            Core.<*> (o Core..:? "dataset")+            Core.<*> (o Core..:? "domain")+            Core.<*> (o Core..:? "groupByEmail")+            Core.<*> (o Core..:? "iamMember")+            Core.<*> (o Core..:? "role")+            Core.<*> (o Core..:? "routine")+            Core.<*> (o Core..:? "specialGroup")+            Core.<*> (o Core..:? "userByEmail")+            Core.<*> (o Core..:? "view")+      )++instance Core.ToJSON Dataset_AccessItem where+  toJSON Dataset_AccessItem {..} =+    Core.object+      ( Core.catMaybes+          [ ("condition" Core..=) Core.<$> condition,+            ("dataset" Core..=) Core.<$> dataset,+            ("domain" Core..=) Core.<$> domain,+            ("groupByEmail" Core..=) Core.<$> groupByEmail,+            ("iamMember" Core..=) Core.<$> iamMember,+            ("role" Core..=) Core.<$> role',+            ("routine" Core..=) Core.<$> routine,+            ("specialGroup" Core..=) Core.<$> specialGroup,+            ("userByEmail" Core..=) Core.<$> userByEmail,+            ("view" Core..=) Core.<$> view+          ]+      )++-- | The labels associated with this dataset. You can use these to organize and group your datasets. You can set this property when inserting or updating a dataset. See <https://cloud.google.com/bigquery/docs/creating-managing-labels#creating_and_updating_dataset_labels Creating and Updating Dataset Labels> for more information.+--+-- /See:/ 'newDataset_Labels' smart constructor.+newtype Dataset_Labels = Dataset_Labels+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Dataset_Labels' with the minimum fields required to make a request.+newDataset_Labels ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  Dataset_Labels+newDataset_Labels additional =+  Dataset_Labels {additional = additional}++instance Core.FromJSON Dataset_Labels where+  parseJSON =+    Core.withObject+      "Dataset_Labels"+      (\o -> Dataset_Labels Core.<$> (Core.parseJSONObject o))++instance Core.ToJSON Dataset_Labels where+  toJSON Dataset_Labels {..} = Core.toJSON additional++-- | Optional. The <https://cloud.google.com/bigquery/docs/tags tags> attached to this dataset. Tag keys are globally unique. Tag key is expected to be in the namespaced format, for example \"123456789012\/environment\" where 123456789012 is the ID of the parent organization or project resource for this tag key. Tag value is expected to be the short name, for example \"Production\". See <https://cloud.google.com/iam/docs/tags-access-control#definitions Tag definitions> for more details.+--+-- /See:/ 'newDataset_ResourceTags' smart constructor.+newtype Dataset_ResourceTags = Dataset_ResourceTags+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Dataset_ResourceTags' with the minimum fields required to make a request.+newDataset_ResourceTags ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  Dataset_ResourceTags+newDataset_ResourceTags additional =+  Dataset_ResourceTags {additional = additional}++instance Core.FromJSON Dataset_ResourceTags where+  parseJSON =+    Core.withObject+      "Dataset_ResourceTags"+      (\o -> Dataset_ResourceTags Core.<$> (Core.parseJSONObject o))++instance Core.ToJSON Dataset_ResourceTags where+  toJSON Dataset_ResourceTags {..} = Core.toJSON additional++-- | A global tag managed by Resource Manager. https:\/\/cloud.google.com\/iam\/docs\/tags-access-control#definitions+--+-- /See:/ 'newDataset_TagsItem' smart constructor.+data Dataset_TagsItem = Dataset_TagsItem+  { -- | Required. The namespaced friendly name of the tag key, e.g. \"12345\/environment\" where 12345 is org id.+    tagKey :: (Core.Maybe Core.Text),+    -- | Required. The friendly short name of the tag value, e.g. \"production\".+    tagValue :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Dataset_TagsItem' with the minimum fields required to make a request.+newDataset_TagsItem ::+  Dataset_TagsItem+newDataset_TagsItem =+  Dataset_TagsItem {tagKey = Core.Nothing, tagValue = Core.Nothing}++instance Core.FromJSON Dataset_TagsItem where+  parseJSON =+    Core.withObject+      "Dataset_TagsItem"+      ( \o ->+          Dataset_TagsItem+            Core.<$> (o Core..:? "tagKey")+            Core.<*> (o Core..:? "tagValue")+      )++instance Core.ToJSON Dataset_TagsItem where+  toJSON Dataset_TagsItem {..} =+    Core.object+      ( Core.catMaybes+          [ ("tagKey" Core..=) Core.<$> tagKey,+            ("tagValue" Core..=) Core.<$> tagValue+          ]+      )++-- | Grants all resources of particular types in a particular dataset read access to the current dataset. Similar to how individually authorized views work, updates to any resource granted through its dataset (including creation of new resources) requires read permission to referenced resources, plus write permission to the authorizing dataset.+--+-- /See:/ 'newDatasetAccessEntry' smart constructor.+data DatasetAccessEntry = DatasetAccessEntry+  { -- | The dataset this entry applies to+    dataset :: (Core.Maybe DatasetReference),+    -- | Which resources in the dataset this entry applies to. Currently, only views are supported, but additional target types may be added in the future.+    targetTypes :: (Core.Maybe [DatasetAccessEntry_TargetTypesItem])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DatasetAccessEntry' with the minimum fields required to make a request.+newDatasetAccessEntry ::+  DatasetAccessEntry+newDatasetAccessEntry =+  DatasetAccessEntry+    { dataset = Core.Nothing,+      targetTypes = Core.Nothing+    }++instance Core.FromJSON DatasetAccessEntry where+  parseJSON =+    Core.withObject+      "DatasetAccessEntry"+      ( \o ->+          DatasetAccessEntry+            Core.<$> (o Core..:? "dataset")+            Core.<*> (o Core..:? "targetTypes")+      )++instance Core.ToJSON DatasetAccessEntry where+  toJSON DatasetAccessEntry {..} =+    Core.object+      ( Core.catMaybes+          [ ("dataset" Core..=) Core.<$> dataset,+            ("targetTypes" Core..=) Core.<$> targetTypes+          ]+      )++-- | Response format for a page of results when listing datasets.+--+-- /See:/ 'newDatasetList' smart constructor.+data DatasetList = DatasetList+  { -- | An array of the dataset resources in the project. Each resource contains basic information. For full information about a particular dataset resource, use the Datasets: get method. This property is omitted when there are no datasets in the project.+    datasets :: (Core.Maybe [DatasetList_DatasetsItem]),+    -- | Output only. A hash value of the results page. You can use this property to determine if the page has changed since the last request.+    etag :: (Core.Maybe Core.Text),+    -- | Output only. The resource type. This property always returns the value \"bigquery#datasetList\"+    kind :: Core.Text,+    -- | A token that can be used to request the next results page. This property is omitted on the final results page.+    nextPageToken :: (Core.Maybe Core.Text),+    -- | A list of skipped locations that were unreachable. For more information about BigQuery locations, see: https:\/\/cloud.google.com\/bigquery\/docs\/locations. Example: \"europe-west5\"+    unreachable :: (Core.Maybe [Core.Text])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DatasetList' with the minimum fields required to make a request.+newDatasetList ::+  DatasetList+newDatasetList =+  DatasetList+    { datasets = Core.Nothing,+      etag = Core.Nothing,+      kind = "bigquery#datasetList",+      nextPageToken = Core.Nothing,+      unreachable = Core.Nothing+    }++instance Core.FromJSON DatasetList where+  parseJSON =+    Core.withObject+      "DatasetList"+      ( \o ->+          DatasetList+            Core.<$> (o Core..:? "datasets")+            Core.<*> (o Core..:? "etag")+            Core.<*> (o Core..:? "kind" Core..!= "bigquery#datasetList")+            Core.<*> (o Core..:? "nextPageToken")+            Core.<*> (o Core..:? "unreachable")+      )++instance Core.ToJSON DatasetList where+  toJSON DatasetList {..} =+    Core.object+      ( Core.catMaybes+          [ ("datasets" Core..=) Core.<$> datasets,+            ("etag" Core..=) Core.<$> etag,+            Core.Just ("kind" Core..= kind),+            ("nextPageToken" Core..=) Core.<$> nextPageToken,+            ("unreachable" Core..=) Core.<$> unreachable+          ]+      )++-- | A dataset resource with only a subset of fields, to be returned in a list of datasets.+--+-- /See:/ 'newDatasetList_DatasetsItem' smart constructor.+data DatasetList_DatasetsItem = DatasetList_DatasetsItem+  { -- | The dataset reference. Use this property to access specific parts of the dataset\'s ID, such as project ID or dataset ID.+    datasetReference :: (Core.Maybe DatasetReference),+    -- | An alternate name for the dataset. The friendly name is purely decorative in nature.+    friendlyName :: (Core.Maybe Core.Text),+    -- | The fully-qualified, unique, opaque ID of the dataset.+    id :: (Core.Maybe Core.Text),+    -- | The resource type. This property always returns the value \"bigquery#dataset\"+    kind :: (Core.Maybe Core.Text),+    -- | The labels associated with this dataset. You can use these to organize and group your datasets.+    labels :: (Core.Maybe DatasetList_DatasetsItem_Labels),+    -- | The geographic location where the dataset resides.+    location :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DatasetList_DatasetsItem' with the minimum fields required to make a request.+newDatasetList_DatasetsItem ::+  DatasetList_DatasetsItem+newDatasetList_DatasetsItem =+  DatasetList_DatasetsItem+    { datasetReference = Core.Nothing,+      friendlyName = Core.Nothing,+      id = Core.Nothing,+      kind = Core.Nothing,+      labels = Core.Nothing,+      location = Core.Nothing+    }++instance Core.FromJSON DatasetList_DatasetsItem where+  parseJSON =+    Core.withObject+      "DatasetList_DatasetsItem"+      ( \o ->+          DatasetList_DatasetsItem+            Core.<$> (o Core..:? "datasetReference")+            Core.<*> (o Core..:? "friendlyName")+            Core.<*> (o Core..:? "id")+            Core.<*> (o Core..:? "kind")+            Core.<*> (o Core..:? "labels")+            Core.<*> (o Core..:? "location")+      )++instance Core.ToJSON DatasetList_DatasetsItem where+  toJSON DatasetList_DatasetsItem {..} =+    Core.object+      ( Core.catMaybes+          [ ("datasetReference" Core..=) Core.<$> datasetReference,+            ("friendlyName" Core..=) Core.<$> friendlyName,+            ("id" Core..=) Core.<$> id,+            ("kind" Core..=) Core.<$> kind,+            ("labels" Core..=) Core.<$> labels,+            ("location" Core..=) Core.<$> location+          ]+      )++-- | The labels associated with this dataset. You can use these to organize and group your datasets.+--+-- /See:/ 'newDatasetList_DatasetsItem_Labels' smart constructor.+newtype DatasetList_DatasetsItem_Labels = DatasetList_DatasetsItem_Labels+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DatasetList_DatasetsItem_Labels' with the minimum fields required to make a request.+newDatasetList_DatasetsItem_Labels ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  DatasetList_DatasetsItem_Labels+newDatasetList_DatasetsItem_Labels additional =+  DatasetList_DatasetsItem_Labels {additional = additional}++instance Core.FromJSON DatasetList_DatasetsItem_Labels where+  parseJSON =+    Core.withObject+      "DatasetList_DatasetsItem_Labels"+      ( \o ->+          DatasetList_DatasetsItem_Labels Core.<$> (Core.parseJSONObject o)+      )++instance Core.ToJSON DatasetList_DatasetsItem_Labels where+  toJSON DatasetList_DatasetsItem_Labels {..} = Core.toJSON additional++-- | Identifier for a dataset.+--+-- /See:/ 'newDatasetReference' smart constructor.+data DatasetReference = DatasetReference+  { -- | Required. A unique ID for this dataset, without the project name. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 1,024 characters.+    datasetId :: (Core.Maybe Core.Text),+    -- | Optional. The ID of the project containing this dataset.+    projectId :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DatasetReference' with the minimum fields required to make a request.+newDatasetReference ::+  DatasetReference+newDatasetReference =+  DatasetReference+    { datasetId = Core.Nothing,+      projectId = Core.Nothing+    }++instance Core.FromJSON DatasetReference where+  parseJSON =+    Core.withObject+      "DatasetReference"+      ( \o ->+          DatasetReference+            Core.<$> (o Core..:? "datasetId")+            Core.<*> (o Core..:? "projectId")+      )++instance Core.ToJSON DatasetReference where+  toJSON DatasetReference {..} =+    Core.object+      ( Core.catMaybes+          [ ("datasetId" Core..=) Core.<$> datasetId,+            ("projectId" Core..=) Core.<$> projectId+          ]+      )++-- | Properties for the destination table.+--+-- /See:/ 'newDestinationTableProperties' smart constructor.+data DestinationTableProperties = DestinationTableProperties+  { -- | Optional. The description for the destination table. This will only be used if the destination table is newly created. If the table already exists and a value different than the current description is provided, the job will fail.+    description :: (Core.Maybe Core.Text),+    -- | Internal use only.+    expirationTime :: (Core.Maybe Core.DateTime),+    -- | Optional. Friendly name for the destination table. If the table already exists, it should be same as the existing friendly name.+    friendlyName :: (Core.Maybe Core.Text),+    -- | Optional. The labels associated with this table. You can use these to organize and group your tables. This will only be used if the destination table is newly created. If the table already exists and labels are different than the current labels are provided, the job will fail.+    labels :: (Core.Maybe DestinationTableProperties_Labels)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DestinationTableProperties' with the minimum fields required to make a request.+newDestinationTableProperties ::+  DestinationTableProperties+newDestinationTableProperties =+  DestinationTableProperties+    { description = Core.Nothing,+      expirationTime = Core.Nothing,+      friendlyName = Core.Nothing,+      labels = Core.Nothing+    }++instance Core.FromJSON DestinationTableProperties where+  parseJSON =+    Core.withObject+      "DestinationTableProperties"+      ( \o ->+          DestinationTableProperties+            Core.<$> (o Core..:? "description")+            Core.<*> (o Core..:? "expirationTime")+            Core.<*> (o Core..:? "friendlyName")+            Core.<*> (o Core..:? "labels")+      )++instance Core.ToJSON DestinationTableProperties where+  toJSON DestinationTableProperties {..} =+    Core.object+      ( Core.catMaybes+          [ ("description" Core..=) Core.<$> description,+            ("expirationTime" Core..=) Core.<$> expirationTime,+            ("friendlyName" Core..=) Core.<$> friendlyName,+            ("labels" Core..=) Core.<$> labels+          ]+      )++-- | Optional. The labels associated with this table. You can use these to organize and group your tables. This will only be used if the destination table is newly created. If the table already exists and labels are different than the current labels are provided, the job will fail.+--+-- /See:/ 'newDestinationTableProperties_Labels' smart constructor.+newtype DestinationTableProperties_Labels = DestinationTableProperties_Labels+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DestinationTableProperties_Labels' with the minimum fields required to make a request.+newDestinationTableProperties_Labels ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  DestinationTableProperties_Labels+newDestinationTableProperties_Labels additional =+  DestinationTableProperties_Labels {additional = additional}++instance Core.FromJSON DestinationTableProperties_Labels where+  parseJSON =+    Core.withObject+      "DestinationTableProperties_Labels"+      ( \o ->+          DestinationTableProperties_Labels+            Core.<$> (Core.parseJSONObject o)+      )++instance Core.ToJSON DestinationTableProperties_Labels where+  toJSON DestinationTableProperties_Labels {..} =+    Core.toJSON additional++-- | Represents privacy policy associated with \"differential privacy\" method.+--+-- /See:/ 'newDifferentialPrivacyPolicy' smart constructor.+data DifferentialPrivacyPolicy = DifferentialPrivacyPolicy+  { -- | Optional. The total delta budget for all queries against the privacy-protected view. Each subscriber query against this view charges the amount of delta that is pre-defined by the contributor through the privacy policy delta/per/query field. If there is sufficient budget, then the subscriber query attempts to complete. It might still fail due to other reasons, in which case the charge is refunded. If there is insufficient budget the query is rejected. There might be multiple charge attempts if a single query references multiple views. In this case there must be sufficient budget for all charges or the query is rejected and charges are refunded in best effort. The budget does not have a refresh policy and can only be updated via ALTER VIEW or circumvented by creating a new view that can be queried with a fresh budget.+    deltaBudget :: (Core.Maybe Core.Double),+    -- | Output only. The delta budget remaining. If budget is exhausted, no more queries are allowed. Note that the budget for queries that are in progress is deducted before the query executes. If the query fails or is cancelled then the budget is refunded. In this case the amount of budget remaining can increase.+    deltaBudgetRemaining :: (Core.Maybe Core.Double),+    -- | Optional. The delta value that is used per query. Delta represents the probability that any row will fail to be epsilon differentially private. Indicates the risk associated with exposing aggregate rows in the result of a query.+    deltaPerQuery :: (Core.Maybe Core.Double),+    -- | Optional. The total epsilon budget for all queries against the privacy-protected view. Each subscriber query against this view charges the amount of epsilon they request in their query. If there is sufficient budget, then the subscriber query attempts to complete. It might still fail due to other reasons, in which case the charge is refunded. If there is insufficient budget the query is rejected. There might be multiple charge attempts if a single query references multiple views. In this case there must be sufficient budget for all charges or the query is rejected and charges are refunded in best effort. The budget does not have a refresh policy and can only be updated via ALTER VIEW or circumvented by creating a new view that can be queried with a fresh budget.+    epsilonBudget :: (Core.Maybe Core.Double),+    -- | Output only. The epsilon budget remaining. If budget is exhausted, no more queries are allowed. Note that the budget for queries that are in progress is deducted before the query executes. If the query fails or is cancelled then the budget is refunded. In this case the amount of budget remaining can increase.+    epsilonBudgetRemaining :: (Core.Maybe Core.Double),+    -- | Optional. The maximum epsilon value that a query can consume. If the subscriber specifies epsilon as a parameter in a SELECT query, it must be less than or equal to this value. The epsilon parameter controls the amount of noise that is added to the groups — a higher epsilon means less noise.+    maxEpsilonPerQuery :: (Core.Maybe Core.Double),+    -- | Optional. The maximum groups contributed value that is used per query. Represents the maximum number of groups to which each protected entity can contribute. Changing this value does not improve or worsen privacy. The best value for accuracy and utility depends on the query and data.+    maxGroupsContributed :: (Core.Maybe Core.Int64),+    -- | Optional. The privacy unit column associated with this policy. Differential privacy policies can only have one privacy unit column per data source object (table, view).+    privacyUnitColumn :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DifferentialPrivacyPolicy' with the minimum fields required to make a request.+newDifferentialPrivacyPolicy ::+  DifferentialPrivacyPolicy+newDifferentialPrivacyPolicy =+  DifferentialPrivacyPolicy+    { deltaBudget = Core.Nothing,+      deltaBudgetRemaining = Core.Nothing,+      deltaPerQuery = Core.Nothing,+      epsilonBudget = Core.Nothing,+      epsilonBudgetRemaining = Core.Nothing,+      maxEpsilonPerQuery = Core.Nothing,+      maxGroupsContributed = Core.Nothing,+      privacyUnitColumn = Core.Nothing+    }++instance Core.FromJSON DifferentialPrivacyPolicy where+  parseJSON =+    Core.withObject+      "DifferentialPrivacyPolicy"+      ( \o ->+          DifferentialPrivacyPolicy+            Core.<$> (o Core..:? "deltaBudget")+            Core.<*> (o Core..:? "deltaBudgetRemaining")+            Core.<*> (o Core..:? "deltaPerQuery")+            Core.<*> (o Core..:? "epsilonBudget")+            Core.<*> (o Core..:? "epsilonBudgetRemaining")+            Core.<*> (o Core..:? "maxEpsilonPerQuery")+            Core.<*> ( o+                         Core..:? "maxGroupsContributed"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> (o Core..:? "privacyUnitColumn")+      )++instance Core.ToJSON DifferentialPrivacyPolicy where+  toJSON DifferentialPrivacyPolicy {..} =+    Core.object+      ( Core.catMaybes+          [ ("deltaBudget" Core..=) Core.<$> deltaBudget,+            ("deltaBudgetRemaining" Core..=) Core.<$> deltaBudgetRemaining,+            ("deltaPerQuery" Core..=) Core.<$> deltaPerQuery,+            ("epsilonBudget" Core..=) Core.<$> epsilonBudget,+            ("epsilonBudgetRemaining" Core..=) Core.<$> epsilonBudgetRemaining,+            ("maxEpsilonPerQuery" Core..=) Core.<$> maxEpsilonPerQuery,+            ("maxGroupsContributed" Core..=)+              Core.. Core.AsText+              Core.<$> maxGroupsContributed,+            ("privacyUnitColumn" Core..=) Core.<$> privacyUnitColumn+          ]+      )++-- | Model evaluation metrics for dimensionality reduction models.+--+-- /See:/ 'newDimensionalityReductionMetrics' smart constructor.+newtype DimensionalityReductionMetrics = DimensionalityReductionMetrics+  { -- | Total percentage of variance explained by the selected principal components.+    totalExplainedVarianceRatio :: (Core.Maybe Core.Double)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DimensionalityReductionMetrics' with the minimum fields required to make a request.+newDimensionalityReductionMetrics ::+  DimensionalityReductionMetrics+newDimensionalityReductionMetrics =+  DimensionalityReductionMetrics+    { totalExplainedVarianceRatio =+        Core.Nothing+    }++instance Core.FromJSON DimensionalityReductionMetrics where+  parseJSON =+    Core.withObject+      "DimensionalityReductionMetrics"+      ( \o ->+          DimensionalityReductionMetrics+            Core.<$> (o Core..:? "totalExplainedVarianceRatio")+      )++instance Core.ToJSON DimensionalityReductionMetrics where+  toJSON DimensionalityReductionMetrics {..} =+    Core.object+      ( Core.catMaybes+          [ ("totalExplainedVarianceRatio" Core..=)+              Core.<$> totalExplainedVarianceRatio+          ]+      )++-- | Detailed statistics for DML statements+--+-- /See:/ 'newDmlStatistics' smart constructor.+data DmlStatistics = DmlStatistics+  { -- | Output only. Number of deleted Rows. populated by DML DELETE, MERGE and TRUNCATE statements.+    deletedRowCount :: (Core.Maybe Core.Int64),+    -- | Output only. Number of inserted Rows. Populated by DML INSERT and MERGE statements+    insertedRowCount :: (Core.Maybe Core.Int64),+    -- | Output only. Number of updated Rows. Populated by DML UPDATE and MERGE statements.+    updatedRowCount :: (Core.Maybe Core.Int64)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DmlStatistics' with the minimum fields required to make a request.+newDmlStatistics ::+  DmlStatistics+newDmlStatistics =+  DmlStatistics+    { deletedRowCount = Core.Nothing,+      insertedRowCount = Core.Nothing,+      updatedRowCount = Core.Nothing+    }++instance Core.FromJSON DmlStatistics where+  parseJSON =+    Core.withObject+      "DmlStatistics"+      ( \o ->+          DmlStatistics+            Core.<$> (o Core..:? "deletedRowCount" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "insertedRowCount" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "updatedRowCount" Core.<&> Core.fmap Core.fromAsText)+      )++instance Core.ToJSON DmlStatistics where+  toJSON DmlStatistics {..} =+    Core.object+      ( Core.catMaybes+          [ ("deletedRowCount" Core..=)+              Core.. Core.AsText+              Core.<$> deletedRowCount,+            ("insertedRowCount" Core..=)+              Core.. Core.AsText+              Core.<$> insertedRowCount,+            ("updatedRowCount" Core..=)+              Core.. Core.AsText+              Core.<$> updatedRowCount+          ]+      )++-- | Discrete candidates of a double hyperparameter.+--+-- /See:/ 'newDoubleCandidates' smart constructor.+newtype DoubleCandidates = DoubleCandidates+  { -- | Candidates for the double parameter in increasing order.+    candidates :: (Core.Maybe [Core.Double])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DoubleCandidates' with the minimum fields required to make a request.+newDoubleCandidates ::+  DoubleCandidates+newDoubleCandidates = DoubleCandidates {candidates = Core.Nothing}++instance Core.FromJSON DoubleCandidates where+  parseJSON =+    Core.withObject+      "DoubleCandidates"+      (\o -> DoubleCandidates Core.<$> (o Core..:? "candidates"))++instance Core.ToJSON DoubleCandidates where+  toJSON DoubleCandidates {..} =+    Core.object+      (Core.catMaybes [("candidates" Core..=) Core.<$> candidates])++-- | Search space for a double hyperparameter.+--+-- /See:/ 'newDoubleHparamSearchSpace' smart constructor.+data DoubleHparamSearchSpace = DoubleHparamSearchSpace+  { -- | Candidates of the double hyperparameter.+    candidates :: (Core.Maybe DoubleCandidates),+    -- | Range of the double hyperparameter.+    range :: (Core.Maybe DoubleRange)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DoubleHparamSearchSpace' with the minimum fields required to make a request.+newDoubleHparamSearchSpace ::+  DoubleHparamSearchSpace+newDoubleHparamSearchSpace =+  DoubleHparamSearchSpace+    { candidates = Core.Nothing,+      range = Core.Nothing+    }++instance Core.FromJSON DoubleHparamSearchSpace where+  parseJSON =+    Core.withObject+      "DoubleHparamSearchSpace"+      ( \o ->+          DoubleHparamSearchSpace+            Core.<$> (o Core..:? "candidates")+            Core.<*> (o Core..:? "range")+      )++instance Core.ToJSON DoubleHparamSearchSpace where+  toJSON DoubleHparamSearchSpace {..} =+    Core.object+      ( Core.catMaybes+          [ ("candidates" Core..=) Core.<$> candidates,+            ("range" Core..=) Core.<$> range+          ]+      )++-- | Range of a double hyperparameter.+--+-- /See:/ 'newDoubleRange' smart constructor.+data DoubleRange = DoubleRange+  { -- | Max value of the double parameter.+    max :: (Core.Maybe Core.Double),+    -- | Min value of the double parameter.+    min :: (Core.Maybe Core.Double)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DoubleRange' with the minimum fields required to make a request.+newDoubleRange ::+  DoubleRange+newDoubleRange =+  DoubleRange {max = Core.Nothing, min = Core.Nothing}++instance Core.FromJSON DoubleRange where+  parseJSON =+    Core.withObject+      "DoubleRange"+      ( \o ->+          DoubleRange+            Core.<$> (o Core..:? "max")+            Core.<*> (o Core..:? "min")+      )++instance Core.ToJSON DoubleRange where+  toJSON DoubleRange {..} =+    Core.object+      ( Core.catMaybes+          [("max" Core..=) Core.<$> max, ("min" Core..=) Core.<$> min]+      )++-- | Configuration for Cloud KMS encryption settings.+--+-- /See:/ 'newEncryptionConfiguration' smart constructor.+newtype EncryptionConfiguration = EncryptionConfiguration+  { -- | Optional. Describes the Cloud KMS encryption key that will be used to protect destination BigQuery table. The BigQuery Service Account associated with your project requires access to this encryption key.+    kmsKeyName :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'EncryptionConfiguration' with the minimum fields required to make a request.+newEncryptionConfiguration ::+  EncryptionConfiguration+newEncryptionConfiguration =+  EncryptionConfiguration {kmsKeyName = Core.Nothing}++instance Core.FromJSON EncryptionConfiguration where+  parseJSON =+    Core.withObject+      "EncryptionConfiguration"+      (\o -> EncryptionConfiguration Core.<$> (o Core..:? "kmsKeyName"))++instance Core.ToJSON EncryptionConfiguration where+  toJSON EncryptionConfiguration {..} =+    Core.object+      (Core.catMaybes [("kmsKeyName" Core..=) Core.<$> kmsKeyName])++-- | A single entry in the confusion matrix.+--+-- /See:/ 'newEntry' smart constructor.+data Entry = Entry+  { -- | Number of items being predicted as this label.+    itemCount :: (Core.Maybe Core.Int64),+    -- | The predicted label. For confidence_threshold > 0, we will also add an entry indicating the number of items under the confidence threshold.+    predictedLabel :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Entry' with the minimum fields required to make a request.+newEntry ::+  Entry+newEntry =+  Entry {itemCount = Core.Nothing, predictedLabel = Core.Nothing}++instance Core.FromJSON Entry where+  parseJSON =+    Core.withObject+      "Entry"+      ( \o ->+          Entry+            Core.<$> (o Core..:? "itemCount" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "predictedLabel")+      )++instance Core.ToJSON Entry where+  toJSON Entry {..} =+    Core.object+      ( Core.catMaybes+          [ ("itemCount" Core..=) Core.. Core.AsText Core.<$> itemCount,+            ("predictedLabel" Core..=) Core.<$> predictedLabel+          ]+      )++-- | Error details.+--+-- /See:/ 'newErrorProto' smart constructor.+data ErrorProto = ErrorProto+  { -- | Debugging information. This property is internal to Google and should not be used.+    debugInfo :: (Core.Maybe Core.Text),+    -- | Specifies where the error occurred, if present.+    location :: (Core.Maybe Core.Text),+    -- | A human-readable description of the error.+    message :: (Core.Maybe Core.Text),+    -- | A short error code that summarizes the error.+    reason :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ErrorProto' with the minimum fields required to make a request.+newErrorProto ::+  ErrorProto+newErrorProto =+  ErrorProto+    { debugInfo = Core.Nothing,+      location = Core.Nothing,+      message = Core.Nothing,+      reason = Core.Nothing+    }++instance Core.FromJSON ErrorProto where+  parseJSON =+    Core.withObject+      "ErrorProto"+      ( \o ->+          ErrorProto+            Core.<$> (o Core..:? "debugInfo")+            Core.<*> (o Core..:? "location")+            Core.<*> (o Core..:? "message")+            Core.<*> (o Core..:? "reason")+      )++instance Core.ToJSON ErrorProto where+  toJSON ErrorProto {..} =+    Core.object+      ( Core.catMaybes+          [ ("debugInfo" Core..=) Core.<$> debugInfo,+            ("location" Core..=) Core.<$> location,+            ("message" Core..=) Core.<$> message,+            ("reason" Core..=) Core.<$> reason+          ]+      )++-- | Evaluation metrics of a model. These are either computed on all training data or just the eval data based on whether eval data was used during training. These are not present for imported models.+--+-- /See:/ 'newEvaluationMetrics' smart constructor.+data EvaluationMetrics = EvaluationMetrics+  { -- | Populated for ARIMA models.+    arimaForecastingMetrics :: (Core.Maybe ArimaForecastingMetrics),+    -- | Populated for binary classification\/classifier models.+    binaryClassificationMetrics :: (Core.Maybe BinaryClassificationMetrics),+    -- | Populated for clustering models.+    clusteringMetrics :: (Core.Maybe ClusteringMetrics),+    -- | Evaluation metrics when the model is a dimensionality reduction model, which currently includes PCA.+    dimensionalityReductionMetrics :: (Core.Maybe DimensionalityReductionMetrics),+    -- | Populated for multi-class classification\/classifier models.+    multiClassClassificationMetrics :: (Core.Maybe MultiClassClassificationMetrics),+    -- | Populated for implicit feedback type matrix factorization models.+    rankingMetrics :: (Core.Maybe RankingMetrics),+    -- | Populated for regression models and explicit feedback type matrix factorization models.+    regressionMetrics :: (Core.Maybe RegressionMetrics)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'EvaluationMetrics' with the minimum fields required to make a request.+newEvaluationMetrics ::+  EvaluationMetrics+newEvaluationMetrics =+  EvaluationMetrics+    { arimaForecastingMetrics = Core.Nothing,+      binaryClassificationMetrics = Core.Nothing,+      clusteringMetrics = Core.Nothing,+      dimensionalityReductionMetrics = Core.Nothing,+      multiClassClassificationMetrics = Core.Nothing,+      rankingMetrics = Core.Nothing,+      regressionMetrics = Core.Nothing+    }++instance Core.FromJSON EvaluationMetrics where+  parseJSON =+    Core.withObject+      "EvaluationMetrics"+      ( \o ->+          EvaluationMetrics+            Core.<$> (o Core..:? "arimaForecastingMetrics")+            Core.<*> (o Core..:? "binaryClassificationMetrics")+            Core.<*> (o Core..:? "clusteringMetrics")+            Core.<*> (o Core..:? "dimensionalityReductionMetrics")+            Core.<*> (o Core..:? "multiClassClassificationMetrics")+            Core.<*> (o Core..:? "rankingMetrics")+            Core.<*> (o Core..:? "regressionMetrics")+      )++instance Core.ToJSON EvaluationMetrics where+  toJSON EvaluationMetrics {..} =+    Core.object+      ( Core.catMaybes+          [ ("arimaForecastingMetrics" Core..=)+              Core.<$> arimaForecastingMetrics,+            ("binaryClassificationMetrics" Core..=)+              Core.<$> binaryClassificationMetrics,+            ("clusteringMetrics" Core..=) Core.<$> clusteringMetrics,+            ("dimensionalityReductionMetrics" Core..=)+              Core.<$> dimensionalityReductionMetrics,+            ("multiClassClassificationMetrics" Core..=)+              Core.<$> multiClassClassificationMetrics,+            ("rankingMetrics" Core..=) Core.<$> rankingMetrics,+            ("regressionMetrics" Core..=) Core.<$> regressionMetrics+          ]+      )++-- | A single stage of query execution.+--+-- /See:/ 'newExplainQueryStage' smart constructor.+data ExplainQueryStage = ExplainQueryStage+  { -- | Number of parallel input segments completed.+    completedParallelInputs :: (Core.Maybe Core.Int64),+    -- | Output only. Compute mode for this stage.+    computeMode :: (Core.Maybe ExplainQueryStage_ComputeMode),+    -- | Milliseconds the average shard spent on CPU-bound tasks.+    computeMsAvg :: (Core.Maybe Core.Int64),+    -- | Milliseconds the slowest shard spent on CPU-bound tasks.+    computeMsMax :: (Core.Maybe Core.Int64),+    -- | Relative amount of time the average shard spent on CPU-bound tasks.+    computeRatioAvg :: (Core.Maybe Core.Double),+    -- | Relative amount of time the slowest shard spent on CPU-bound tasks.+    computeRatioMax :: (Core.Maybe Core.Double),+    -- | Stage end time represented as milliseconds since the epoch.+    endMs :: (Core.Maybe Core.Int64),+    -- | Unique ID for the stage within the plan.+    id :: (Core.Maybe Core.Int64),+    -- | IDs for stages that are inputs to this stage.+    inputStages :: (Core.Maybe [Core.Int64]),+    -- | Human-readable name for the stage.+    name :: (Core.Maybe Core.Text),+    -- | Number of parallel input segments to be processed+    parallelInputs :: (Core.Maybe Core.Int64),+    -- | Milliseconds the average shard spent reading input.+    readMsAvg :: (Core.Maybe Core.Int64),+    -- | Milliseconds the slowest shard spent reading input.+    readMsMax :: (Core.Maybe Core.Int64),+    -- | Relative amount of time the average shard spent reading input.+    readRatioAvg :: (Core.Maybe Core.Double),+    -- | Relative amount of time the slowest shard spent reading input.+    readRatioMax :: (Core.Maybe Core.Double),+    -- | Number of records read into the stage.+    recordsRead :: (Core.Maybe Core.Int64),+    -- | Number of records written by the stage.+    recordsWritten :: (Core.Maybe Core.Int64),+    -- | Total number of bytes written to shuffle.+    shuffleOutputBytes :: (Core.Maybe Core.Int64),+    -- | Total number of bytes written to shuffle and spilled to disk.+    shuffleOutputBytesSpilled :: (Core.Maybe Core.Int64),+    -- | Slot-milliseconds used by the stage.+    slotMs :: (Core.Maybe Core.Int64),+    -- | Stage start time represented as milliseconds since the epoch.+    startMs :: (Core.Maybe Core.Int64),+    -- | Current status for this stage.+    status :: (Core.Maybe Core.Text),+    -- | List of operations within the stage in dependency order (approximately chronological).+    steps :: (Core.Maybe [ExplainQueryStep]),+    -- | Milliseconds the average shard spent waiting to be scheduled.+    waitMsAvg :: (Core.Maybe Core.Int64),+    -- | Milliseconds the slowest shard spent waiting to be scheduled.+    waitMsMax :: (Core.Maybe Core.Int64),+    -- | Relative amount of time the average shard spent waiting to be scheduled.+    waitRatioAvg :: (Core.Maybe Core.Double),+    -- | Relative amount of time the slowest shard spent waiting to be scheduled.+    waitRatioMax :: (Core.Maybe Core.Double),+    -- | Milliseconds the average shard spent on writing output.+    writeMsAvg :: (Core.Maybe Core.Int64),+    -- | Milliseconds the slowest shard spent on writing output.+    writeMsMax :: (Core.Maybe Core.Int64),+    -- | Relative amount of time the average shard spent on writing output.+    writeRatioAvg :: (Core.Maybe Core.Double),+    -- | Relative amount of time the slowest shard spent on writing output.+    writeRatioMax :: (Core.Maybe Core.Double)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ExplainQueryStage' with the minimum fields required to make a request.+newExplainQueryStage ::+  ExplainQueryStage+newExplainQueryStage =+  ExplainQueryStage+    { completedParallelInputs = Core.Nothing,+      computeMode = Core.Nothing,+      computeMsAvg = Core.Nothing,+      computeMsMax = Core.Nothing,+      computeRatioAvg = Core.Nothing,+      computeRatioMax = Core.Nothing,+      endMs = Core.Nothing,+      id = Core.Nothing,+      inputStages = Core.Nothing,+      name = Core.Nothing,+      parallelInputs = Core.Nothing,+      readMsAvg = Core.Nothing,+      readMsMax = Core.Nothing,+      readRatioAvg = Core.Nothing,+      readRatioMax = Core.Nothing,+      recordsRead = Core.Nothing,+      recordsWritten = Core.Nothing,+      shuffleOutputBytes = Core.Nothing,+      shuffleOutputBytesSpilled = Core.Nothing,+      slotMs = Core.Nothing,+      startMs = Core.Nothing,+      status = Core.Nothing,+      steps = Core.Nothing,+      waitMsAvg = Core.Nothing,+      waitMsMax = Core.Nothing,+      waitRatioAvg = Core.Nothing,+      waitRatioMax = Core.Nothing,+      writeMsAvg = Core.Nothing,+      writeMsMax = Core.Nothing,+      writeRatioAvg = Core.Nothing,+      writeRatioMax = Core.Nothing+    }++instance Core.FromJSON ExplainQueryStage where+  parseJSON =+    Core.withObject+      "ExplainQueryStage"+      ( \o ->+          ExplainQueryStage+            Core.<$> ( o+                         Core..:? "completedParallelInputs"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> (o Core..:? "computeMode")+            Core.<*> (o Core..:? "computeMsAvg" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "computeMsMax" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "computeRatioAvg")+            Core.<*> (o Core..:? "computeRatioMax")+            Core.<*> (o Core..:? "endMs" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "id" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> ( o+                         Core..:? "inputStages"+                         Core.<&> Core.fmap (Core.fmap Core.fromAsText)+                     )+            Core.<*> (o Core..:? "name")+            Core.<*> (o Core..:? "parallelInputs" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "readMsAvg" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "readMsMax" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "readRatioAvg")+            Core.<*> (o Core..:? "readRatioMax")+            Core.<*> (o Core..:? "recordsRead" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "recordsWritten" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> ( o+                         Core..:? "shuffleOutputBytes"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> ( o+                         Core..:? "shuffleOutputBytesSpilled"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> (o Core..:? "slotMs" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "startMs" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "status")+            Core.<*> (o Core..:? "steps")+            Core.<*> (o Core..:? "waitMsAvg" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "waitMsMax" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "waitRatioAvg")+            Core.<*> (o Core..:? "waitRatioMax")+            Core.<*> (o Core..:? "writeMsAvg" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "writeMsMax" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "writeRatioAvg")+            Core.<*> (o Core..:? "writeRatioMax")+      )++instance Core.ToJSON ExplainQueryStage where+  toJSON ExplainQueryStage {..} =+    Core.object+      ( Core.catMaybes+          [ ("completedParallelInputs" Core..=)+              Core.. Core.AsText+              Core.<$> completedParallelInputs,+            ("computeMode" Core..=) Core.<$> computeMode,+            ("computeMsAvg" Core..=) Core.. Core.AsText Core.<$> computeMsAvg,+            ("computeMsMax" Core..=) Core.. Core.AsText Core.<$> computeMsMax,+            ("computeRatioAvg" Core..=) Core.<$> computeRatioAvg,+            ("computeRatioMax" Core..=) Core.<$> computeRatioMax,+            ("endMs" Core..=) Core.. Core.AsText Core.<$> endMs,+            ("id" Core..=) Core.. Core.AsText Core.<$> id,+            ("inputStages" Core..=)+              Core.. Core.fmap Core.AsText+              Core.<$> inputStages,+            ("name" Core..=) Core.<$> name,+            ("parallelInputs" Core..=)+              Core.. Core.AsText+              Core.<$> parallelInputs,+            ("readMsAvg" Core..=) Core.. Core.AsText Core.<$> readMsAvg,+            ("readMsMax" Core..=) Core.. Core.AsText Core.<$> readMsMax,+            ("readRatioAvg" Core..=) Core.<$> readRatioAvg,+            ("readRatioMax" Core..=) Core.<$> readRatioMax,+            ("recordsRead" Core..=) Core.. Core.AsText Core.<$> recordsRead,+            ("recordsWritten" Core..=)+              Core.. Core.AsText+              Core.<$> recordsWritten,+            ("shuffleOutputBytes" Core..=)+              Core.. Core.AsText+              Core.<$> shuffleOutputBytes,+            ("shuffleOutputBytesSpilled" Core..=)+              Core.. Core.AsText+              Core.<$> shuffleOutputBytesSpilled,+            ("slotMs" Core..=) Core.. Core.AsText Core.<$> slotMs,+            ("startMs" Core..=) Core.. Core.AsText Core.<$> startMs,+            ("status" Core..=) Core.<$> status,+            ("steps" Core..=) Core.<$> steps,+            ("waitMsAvg" Core..=) Core.. Core.AsText Core.<$> waitMsAvg,+            ("waitMsMax" Core..=) Core.. Core.AsText Core.<$> waitMsMax,+            ("waitRatioAvg" Core..=) Core.<$> waitRatioAvg,+            ("waitRatioMax" Core..=) Core.<$> waitRatioMax,+            ("writeMsAvg" Core..=) Core.. Core.AsText Core.<$> writeMsAvg,+            ("writeMsMax" Core..=) Core.. Core.AsText Core.<$> writeMsMax,+            ("writeRatioAvg" Core..=) Core.<$> writeRatioAvg,+            ("writeRatioMax" Core..=) Core.<$> writeRatioMax+          ]+      )++-- | An operation within a stage.+--+-- /See:/ 'newExplainQueryStep' smart constructor.+data ExplainQueryStep = ExplainQueryStep+  { -- | Machine-readable operation type.+    kind :: (Core.Maybe Core.Text),+    -- | Human-readable description of the step(s).+    substeps :: (Core.Maybe [Core.Text])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ExplainQueryStep' with the minimum fields required to make a request.+newExplainQueryStep ::+  ExplainQueryStep+newExplainQueryStep =+  ExplainQueryStep {kind = Core.Nothing, substeps = Core.Nothing}++instance Core.FromJSON ExplainQueryStep where+  parseJSON =+    Core.withObject+      "ExplainQueryStep"+      ( \o ->+          ExplainQueryStep+            Core.<$> (o Core..:? "kind")+            Core.<*> (o Core..:? "substeps")+      )++instance Core.ToJSON ExplainQueryStep where+  toJSON ExplainQueryStep {..} =+    Core.object+      ( Core.catMaybes+          [ ("kind" Core..=) Core.<$> kind,+            ("substeps" Core..=) Core.<$> substeps+          ]+      )++-- | Explanation for a single feature.+--+-- /See:/ 'newExplanation' smart constructor.+data Explanation = Explanation+  { -- | Attribution of feature.+    attribution :: (Core.Maybe Core.Double),+    -- | The full feature name. For non-numerical features, will be formatted like @.@. Overall size of feature name will always be truncated to first 120 characters.+    featureName :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Explanation' with the minimum fields required to make a request.+newExplanation ::+  Explanation+newExplanation =+  Explanation+    { attribution = Core.Nothing,+      featureName = Core.Nothing+    }++instance Core.FromJSON Explanation where+  parseJSON =+    Core.withObject+      "Explanation"+      ( \o ->+          Explanation+            Core.<$> (o Core..:? "attribution")+            Core.<*> (o Core..:? "featureName")+      )++instance Core.ToJSON Explanation where+  toJSON Explanation {..} =+    Core.object+      ( Core.catMaybes+          [ ("attribution" Core..=) Core.<$> attribution,+            ("featureName" Core..=) Core.<$> featureName+          ]+      )++-- | Statistics for the EXPORT DATA statement as part of Query Job. EXTRACT JOB statistics are populated in JobStatistics4.+--+-- /See:/ 'newExportDataStatistics' smart constructor.+data ExportDataStatistics = ExportDataStatistics+  { -- | Number of destination files generated in case of EXPORT DATA statement only.+    fileCount :: (Core.Maybe Core.Int64),+    -- | [Alpha] Number of destination rows generated in case of EXPORT DATA statement only.+    rowCount :: (Core.Maybe Core.Int64)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ExportDataStatistics' with the minimum fields required to make a request.+newExportDataStatistics ::+  ExportDataStatistics+newExportDataStatistics =+  ExportDataStatistics+    { fileCount = Core.Nothing,+      rowCount = Core.Nothing+    }++instance Core.FromJSON ExportDataStatistics where+  parseJSON =+    Core.withObject+      "ExportDataStatistics"+      ( \o ->+          ExportDataStatistics+            Core.<$> (o Core..:? "fileCount" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "rowCount" Core.<&> Core.fmap Core.fromAsText)+      )++instance Core.ToJSON ExportDataStatistics where+  toJSON ExportDataStatistics {..} =+    Core.object+      ( Core.catMaybes+          [ ("fileCount" Core..=) Core.. Core.AsText Core.<$> fileCount,+            ("rowCount" Core..=) Core.. Core.AsText Core.<$> rowCount+          ]+      )++-- | Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https:\/\/github.com\/google\/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() \< 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != \'private\' && document.type != \'internal\'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"\'New message received at \' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are+-- determined by the service that evaluates it. See the service documentation for additional information.+--+-- /See:/ 'newExpr' smart constructor.+data Expr = Expr+  { -- | Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.+    description :: (Core.Maybe Core.Text),+    -- | Textual representation of an expression in Common Expression Language syntax.+    expression :: (Core.Maybe Core.Text),+    -- | Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.+    location :: (Core.Maybe Core.Text),+    -- | Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.+    title :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Expr' with the minimum fields required to make a request.+newExpr ::+  Expr+newExpr =+  Expr+    { description = Core.Nothing,+      expression = Core.Nothing,+      location = Core.Nothing,+      title = Core.Nothing+    }++instance Core.FromJSON Expr where+  parseJSON =+    Core.withObject+      "Expr"+      ( \o ->+          Expr+            Core.<$> (o Core..:? "description")+            Core.<*> (o Core..:? "expression")+            Core.<*> (o Core..:? "location")+            Core.<*> (o Core..:? "title")+      )++instance Core.ToJSON Expr where+  toJSON Expr {..} =+    Core.object+      ( Core.catMaybes+          [ ("description" Core..=) Core.<$> description,+            ("expression" Core..=) Core.<$> expression,+            ("location" Core..=) Core.<$> location,+            ("title" Core..=) Core.<$> title+          ]+      )++-- | Options defining open source compatible datasets living in the BigQuery catalog. Contains metadata of open source database, schema, or namespace represented by the current dataset.+--+-- /See:/ 'newExternalCatalogDatasetOptions' smart constructor.+data ExternalCatalogDatasetOptions = ExternalCatalogDatasetOptions+  { -- | Optional. The storage location URI for all tables in the dataset. Equivalent to hive metastore\'s database locationUri. Maximum length of 1024 characters.+    defaultStorageLocationUri :: (Core.Maybe Core.Text),+    -- | Optional. A map of key value pairs defining the parameters and properties of the open source schema. Maximum size of 2MiB.+    parameters :: (Core.Maybe ExternalCatalogDatasetOptions_Parameters)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ExternalCatalogDatasetOptions' with the minimum fields required to make a request.+newExternalCatalogDatasetOptions ::+  ExternalCatalogDatasetOptions+newExternalCatalogDatasetOptions =+  ExternalCatalogDatasetOptions+    { defaultStorageLocationUri =+        Core.Nothing,+      parameters = Core.Nothing+    }++instance Core.FromJSON ExternalCatalogDatasetOptions where+  parseJSON =+    Core.withObject+      "ExternalCatalogDatasetOptions"+      ( \o ->+          ExternalCatalogDatasetOptions+            Core.<$> (o Core..:? "defaultStorageLocationUri")+            Core.<*> (o Core..:? "parameters")+      )++instance Core.ToJSON ExternalCatalogDatasetOptions where+  toJSON ExternalCatalogDatasetOptions {..} =+    Core.object+      ( Core.catMaybes+          [ ("defaultStorageLocationUri" Core..=)+              Core.<$> defaultStorageLocationUri,+            ("parameters" Core..=) Core.<$> parameters+          ]+      )++-- | Optional. A map of key value pairs defining the parameters and properties of the open source schema. Maximum size of 2MiB.+--+-- /See:/ 'newExternalCatalogDatasetOptions_Parameters' smart constructor.+newtype ExternalCatalogDatasetOptions_Parameters = ExternalCatalogDatasetOptions_Parameters+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ExternalCatalogDatasetOptions_Parameters' with the minimum fields required to make a request.+newExternalCatalogDatasetOptions_Parameters ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  ExternalCatalogDatasetOptions_Parameters+newExternalCatalogDatasetOptions_Parameters additional =+  ExternalCatalogDatasetOptions_Parameters {additional = additional}++instance Core.FromJSON ExternalCatalogDatasetOptions_Parameters where+  parseJSON =+    Core.withObject+      "ExternalCatalogDatasetOptions_Parameters"+      ( \o ->+          ExternalCatalogDatasetOptions_Parameters+            Core.<$> (Core.parseJSONObject o)+      )++instance Core.ToJSON ExternalCatalogDatasetOptions_Parameters where+  toJSON ExternalCatalogDatasetOptions_Parameters {..} =+    Core.toJSON additional++-- | Metadata about open source compatible table. The fields contained in these options correspond to Hive metastore\'s table-level properties.+--+-- /See:/ 'newExternalCatalogTableOptions' smart constructor.+data ExternalCatalogTableOptions = ExternalCatalogTableOptions+  { -- | Optional. A connection ID that specifies the credentials to be used to read external storage, such as Azure Blob, Cloud Storage, or Amazon S3. This connection is needed to read the open source table from BigQuery. The connection_id format must be either @..@ or @projects\/\/locations\/\/connections\/@.+    connectionId :: (Core.Maybe Core.Text),+    -- | Optional. A map of the key-value pairs defining the parameters and properties of the open source table. Corresponds with Hive metastore table parameters. Maximum size of 4MiB.+    parameters :: (Core.Maybe ExternalCatalogTableOptions_Parameters),+    -- | Optional. A storage descriptor containing information about the physical storage of this table.+    storageDescriptor :: (Core.Maybe StorageDescriptor)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ExternalCatalogTableOptions' with the minimum fields required to make a request.+newExternalCatalogTableOptions ::+  ExternalCatalogTableOptions+newExternalCatalogTableOptions =+  ExternalCatalogTableOptions+    { connectionId = Core.Nothing,+      parameters = Core.Nothing,+      storageDescriptor = Core.Nothing+    }++instance Core.FromJSON ExternalCatalogTableOptions where+  parseJSON =+    Core.withObject+      "ExternalCatalogTableOptions"+      ( \o ->+          ExternalCatalogTableOptions+            Core.<$> (o Core..:? "connectionId")+            Core.<*> (o Core..:? "parameters")+            Core.<*> (o Core..:? "storageDescriptor")+      )++instance Core.ToJSON ExternalCatalogTableOptions where+  toJSON ExternalCatalogTableOptions {..} =+    Core.object+      ( Core.catMaybes+          [ ("connectionId" Core..=) Core.<$> connectionId,+            ("parameters" Core..=) Core.<$> parameters,+            ("storageDescriptor" Core..=) Core.<$> storageDescriptor+          ]+      )++-- | Optional. A map of the key-value pairs defining the parameters and properties of the open source table. Corresponds with Hive metastore table parameters. Maximum size of 4MiB.+--+-- /See:/ 'newExternalCatalogTableOptions_Parameters' smart constructor.+newtype ExternalCatalogTableOptions_Parameters = ExternalCatalogTableOptions_Parameters+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ExternalCatalogTableOptions_Parameters' with the minimum fields required to make a request.+newExternalCatalogTableOptions_Parameters ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  ExternalCatalogTableOptions_Parameters+newExternalCatalogTableOptions_Parameters additional =+  ExternalCatalogTableOptions_Parameters {additional = additional}++instance Core.FromJSON ExternalCatalogTableOptions_Parameters where+  parseJSON =+    Core.withObject+      "ExternalCatalogTableOptions_Parameters"+      ( \o ->+          ExternalCatalogTableOptions_Parameters+            Core.<$> (Core.parseJSONObject o)+      )++instance Core.ToJSON ExternalCatalogTableOptions_Parameters where+  toJSON ExternalCatalogTableOptions_Parameters {..} =+    Core.toJSON additional++--+-- /See:/ 'newExternalDataConfiguration' smart constructor.+data ExternalDataConfiguration = ExternalDataConfiguration+  { -- | Try to detect schema and format options automatically. Any option specified explicitly will be honored.+    autodetect :: (Core.Maybe Core.Bool),+    -- | Optional. Additional properties to set if sourceFormat is set to AVRO.+    avroOptions :: (Core.Maybe AvroOptions),+    -- | Optional. Additional options if sourceFormat is set to BIGTABLE.+    bigtableOptions :: (Core.Maybe BigtableOptions),+    -- | Optional. The compression type of the data source. Possible values include GZIP and NONE. The default value is NONE. This setting is ignored for Google Cloud Bigtable, Google Cloud Datastore backups, Avro, ORC and Parquet formats. An empty string is an invalid value.+    compression :: (Core.Maybe Core.Text),+    -- | Optional. The connection specifying the credentials to be used to read external storage, such as Azure Blob, Cloud Storage, or S3. The connection_id can have the form @{project_id}.{location_id};{connection_id}@ or @projects\/{project_id}\/locations\/{location_id}\/connections\/{connection_id}@.+    connectionId :: (Core.Maybe Core.Text),+    -- | Optional. Additional properties to set if sourceFormat is set to CSV.+    csvOptions :: (Core.Maybe CsvOptions),+    -- | Optional. Format used to parse DATE values. Supports C-style and SQL-style values.+    dateFormat :: (Core.Maybe Core.Text),+    -- | Optional. Format used to parse DATETIME values. Supports C-style and SQL-style values.+    datetimeFormat :: (Core.Maybe Core.Text),+    -- | Defines the list of possible SQL data types to which the source decimal values are converted. This list and the precision and the scale parameters of the decimal field determine the target type. In the order of NUMERIC, BIGNUMERIC, and STRING, a type is picked if it is in the specified list and if it supports the precision and the scale. STRING supports all precision and scale values. If none of the listed types supports the precision and the scale, the type supporting the widest range in the specified list is picked, and if a value exceeds the supported range when reading the data, an error will be thrown. Example: Suppose the value of this field is [\"NUMERIC\", \"BIGNUMERIC\"]. If (precision,scale) is: * (38,9) -> NUMERIC; * (39,9) -> BIGNUMERIC (NUMERIC cannot hold 30 integer digits); * (38,10) -> BIGNUMERIC (NUMERIC cannot hold 10 fractional digits); * (76,38) -> BIGNUMERIC; * (77,38) -> BIGNUMERIC (error if value exceeds supported range). This field cannot contain duplicate types. The order of the types+    -- in this field is ignored. For example, [\"BIGNUMERIC\", \"NUMERIC\"] is the same as [\"NUMERIC\", \"BIGNUMERIC\"] and NUMERIC always takes precedence over BIGNUMERIC. Defaults to [\"NUMERIC\", \"STRING\"] for ORC and [\"NUMERIC\"] for the other file formats.+    decimalTargetTypes :: (Core.Maybe [ExternalDataConfiguration_DecimalTargetTypesItem]),+    -- | Optional. Specifies how source URIs are interpreted for constructing the file set to load. By default source URIs are expanded against the underlying storage. Other options include specifying manifest files. Only applicable to object storage systems.+    fileSetSpecType :: (Core.Maybe ExternalDataConfiguration_FileSetSpecType),+    -- | Optional. Additional options if sourceFormat is set to GOOGLE_SHEETS.+    googleSheetsOptions :: (Core.Maybe GoogleSheetsOptions),+    -- | Optional. When set, configures hive partitioning support. Not all storage formats support hive partitioning -- requesting hive partitioning on an unsupported format will lead to an error, as will providing an invalid specification.+    hivePartitioningOptions :: (Core.Maybe HivePartitioningOptions),+    -- | Optional. Indicates if BigQuery should allow extra values that are not represented in the table schema. If true, the extra values are ignored. If false, records with extra columns are treated as bad records, and if there are too many bad records, an invalid error is returned in the job result. The default value is false. The sourceFormat property determines what BigQuery treats as an extra value: CSV: Trailing columns JSON: Named values that don\'t match any column names Google Cloud Bigtable: This setting is ignored. Google Cloud Datastore backups: This setting is ignored. Avro: This setting is ignored. ORC: This setting is ignored. Parquet: This setting is ignored.+    ignoreUnknownValues :: (Core.Maybe Core.Bool),+    -- | Optional. Load option to be used together with source/format newline-delimited JSON to indicate that a variant of JSON is being loaded. To load newline-delimited GeoJSON, specify GEOJSON (and source/format must be set to NEWLINE/DELIMITED/JSON).+    jsonExtension :: (Core.Maybe ExternalDataConfiguration_JsonExtension),+    -- | Optional. Additional properties to set if sourceFormat is set to JSON.+    jsonOptions :: (Core.Maybe JsonOptions),+    -- | Optional. The maximum number of bad records that BigQuery can ignore when reading data. If the number of bad records exceeds this value, an invalid error is returned in the job result. The default value is 0, which requires that all records are valid. This setting is ignored for Google Cloud Bigtable, Google Cloud Datastore backups, Avro, ORC and Parquet formats.+    maxBadRecords :: (Core.Maybe Core.Int32),+    -- | Optional. Metadata Cache Mode for the table. Set this to enable caching of metadata from external data source.+    metadataCacheMode :: (Core.Maybe ExternalDataConfiguration_MetadataCacheMode),+    -- | Optional. ObjectMetadata is used to create Object Tables. Object Tables contain a listing of objects (with their metadata) found at the source/uris. If ObjectMetadata is set, source/format should be omitted. Currently SIMPLE is the only supported Object Metadata type.+    objectMetadata :: (Core.Maybe ExternalDataConfiguration_ObjectMetadata),+    -- | Optional. Additional properties to set if sourceFormat is set to PARQUET.+    parquetOptions :: (Core.Maybe ParquetOptions),+    -- | Optional. When creating an external table, the user can provide a reference file with the table schema. This is enabled for the following formats: AVRO, PARQUET, ORC.+    referenceFileSchemaUri :: (Core.Maybe Core.Text),+    -- | Optional. The schema for the data. Schema is required for CSV and JSON formats if autodetect is not on. Schema is disallowed for Google Cloud Bigtable, Cloud Datastore backups, Avro, ORC and Parquet formats.+    schema :: (Core.Maybe TableSchema),+    -- | [Required] The data format. For CSV files, specify \"CSV\". For Google sheets, specify \"GOOGLE/SHEETS\". For newline-delimited JSON, specify \"NEWLINE/DELIMITED/JSON\". For Avro files, specify \"AVRO\". For Google Cloud Datastore backups, specify \"DATASTORE/BACKUP\". For Apache Iceberg tables, specify \"ICEBERG\". For ORC files, specify \"ORC\". For Parquet files, specify \"PARQUET\". [Beta] For Google Cloud Bigtable, specify \"BIGTABLE\".+    sourceFormat :: (Core.Maybe Core.Text),+    -- | [Required] The fully-qualified URIs that point to your data in Google Cloud. For Google Cloud Storage URIs: Each URI can contain one \'/\' wildcard character and it must come after the \'bucket\' name. Size limits related to load jobs apply to external data sources. For Google Cloud Bigtable URIs: Exactly one URI can be specified and it has be a fully specified and valid HTTPS URL for a Google Cloud Bigtable table. For Google Cloud Datastore backups, exactly one URI can be specified. Also, the \'/\' wildcard character is not allowed.+    sourceUris :: (Core.Maybe [Core.Text]),+    -- | Optional. Format used to parse TIME values. Supports C-style and SQL-style values.+    timeFormat :: (Core.Maybe Core.Text),+    -- | Optional. Time zone used when parsing timestamp values that do not have specific time zone information (e.g. 2024-04-20 12:34:56). The expected format is a IANA timezone string (e.g. America\/Los_Angeles).+    timeZone :: (Core.Maybe Core.Text),+    -- | Optional. Format used to parse TIMESTAMP values. Supports C-style and SQL-style values.+    timestampFormat :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ExternalDataConfiguration' with the minimum fields required to make a request.+newExternalDataConfiguration ::+  ExternalDataConfiguration+newExternalDataConfiguration =+  ExternalDataConfiguration+    { autodetect = Core.Nothing,+      avroOptions = Core.Nothing,+      bigtableOptions = Core.Nothing,+      compression = Core.Nothing,+      connectionId = Core.Nothing,+      csvOptions = Core.Nothing,+      dateFormat = Core.Nothing,+      datetimeFormat = Core.Nothing,+      decimalTargetTypes = Core.Nothing,+      fileSetSpecType = Core.Nothing,+      googleSheetsOptions = Core.Nothing,+      hivePartitioningOptions = Core.Nothing,+      ignoreUnknownValues = Core.Nothing,+      jsonExtension = Core.Nothing,+      jsonOptions = Core.Nothing,+      maxBadRecords = Core.Nothing,+      metadataCacheMode = Core.Nothing,+      objectMetadata = Core.Nothing,+      parquetOptions = Core.Nothing,+      referenceFileSchemaUri = Core.Nothing,+      schema = Core.Nothing,+      sourceFormat = Core.Nothing,+      sourceUris = Core.Nothing,+      timeFormat = Core.Nothing,+      timeZone = Core.Nothing,+      timestampFormat = Core.Nothing+    }++instance Core.FromJSON ExternalDataConfiguration where+  parseJSON =+    Core.withObject+      "ExternalDataConfiguration"+      ( \o ->+          ExternalDataConfiguration+            Core.<$> (o Core..:? "autodetect")+            Core.<*> (o Core..:? "avroOptions")+            Core.<*> (o Core..:? "bigtableOptions")+            Core.<*> (o Core..:? "compression")+            Core.<*> (o Core..:? "connectionId")+            Core.<*> (o Core..:? "csvOptions")+            Core.<*> (o Core..:? "dateFormat")+            Core.<*> (o Core..:? "datetimeFormat")+            Core.<*> (o Core..:? "decimalTargetTypes")+            Core.<*> (o Core..:? "fileSetSpecType")+            Core.<*> (o Core..:? "googleSheetsOptions")+            Core.<*> (o Core..:? "hivePartitioningOptions")+            Core.<*> (o Core..:? "ignoreUnknownValues")+            Core.<*> (o Core..:? "jsonExtension")+            Core.<*> (o Core..:? "jsonOptions")+            Core.<*> (o Core..:? "maxBadRecords")+            Core.<*> (o Core..:? "metadataCacheMode")+            Core.<*> (o Core..:? "objectMetadata")+            Core.<*> (o Core..:? "parquetOptions")+            Core.<*> (o Core..:? "referenceFileSchemaUri")+            Core.<*> (o Core..:? "schema")+            Core.<*> (o Core..:? "sourceFormat")+            Core.<*> (o Core..:? "sourceUris")+            Core.<*> (o Core..:? "timeFormat")+            Core.<*> (o Core..:? "timeZone")+            Core.<*> (o Core..:? "timestampFormat")+      )++instance Core.ToJSON ExternalDataConfiguration where+  toJSON ExternalDataConfiguration {..} =+    Core.object+      ( Core.catMaybes+          [ ("autodetect" Core..=) Core.<$> autodetect,+            ("avroOptions" Core..=) Core.<$> avroOptions,+            ("bigtableOptions" Core..=) Core.<$> bigtableOptions,+            ("compression" Core..=) Core.<$> compression,+            ("connectionId" Core..=) Core.<$> connectionId,+            ("csvOptions" Core..=) Core.<$> csvOptions,+            ("dateFormat" Core..=) Core.<$> dateFormat,+            ("datetimeFormat" Core..=) Core.<$> datetimeFormat,+            ("decimalTargetTypes" Core..=) Core.<$> decimalTargetTypes,+            ("fileSetSpecType" Core..=) Core.<$> fileSetSpecType,+            ("googleSheetsOptions" Core..=) Core.<$> googleSheetsOptions,+            ("hivePartitioningOptions" Core..=)+              Core.<$> hivePartitioningOptions,+            ("ignoreUnknownValues" Core..=) Core.<$> ignoreUnknownValues,+            ("jsonExtension" Core..=) Core.<$> jsonExtension,+            ("jsonOptions" Core..=) Core.<$> jsonOptions,+            ("maxBadRecords" Core..=) Core.<$> maxBadRecords,+            ("metadataCacheMode" Core..=) Core.<$> metadataCacheMode,+            ("objectMetadata" Core..=) Core.<$> objectMetadata,+            ("parquetOptions" Core..=) Core.<$> parquetOptions,+            ("referenceFileSchemaUri" Core..=) Core.<$> referenceFileSchemaUri,+            ("schema" Core..=) Core.<$> schema,+            ("sourceFormat" Core..=) Core.<$> sourceFormat,+            ("sourceUris" Core..=) Core.<$> sourceUris,+            ("timeFormat" Core..=) Core.<$> timeFormat,+            ("timeZone" Core..=) Core.<$> timeZone,+            ("timestampFormat" Core..=) Core.<$> timestampFormat+          ]+      )++-- | Configures the access a dataset defined in an external metadata storage.+--+-- /See:/ 'newExternalDatasetReference' smart constructor.+data ExternalDatasetReference = ExternalDatasetReference+  { -- | Required. The connection id that is used to access the external/source. Format: projects\/{project/id}\/locations\/{location/id}\/connections\/{connection/id}+    connection :: (Core.Maybe Core.Text),+    -- | Required. External source that backs this dataset.+    externalSource :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ExternalDatasetReference' with the minimum fields required to make a request.+newExternalDatasetReference ::+  ExternalDatasetReference+newExternalDatasetReference =+  ExternalDatasetReference+    { connection = Core.Nothing,+      externalSource = Core.Nothing+    }++instance Core.FromJSON ExternalDatasetReference where+  parseJSON =+    Core.withObject+      "ExternalDatasetReference"+      ( \o ->+          ExternalDatasetReference+            Core.<$> (o Core..:? "connection")+            Core.<*> (o Core..:? "externalSource")+      )++instance Core.ToJSON ExternalDatasetReference where+  toJSON ExternalDatasetReference {..} =+    Core.object+      ( Core.catMaybes+          [ ("connection" Core..=) Core.<$> connection,+            ("externalSource" Core..=) Core.<$> externalSource+          ]+      )++-- | The external service cost is a portion of the total cost, these costs are not additive with total/bytes/billed. Moreover, this field only track external service costs that will show up as BigQuery costs (e.g. training BigQuery ML job with google cloud CAIP or Automl Tables services), not other costs which may be accrued by running the query (e.g. reading from Bigtable or Cloud Storage). The external service costs with different billing sku (e.g. CAIP job is charged based on VM usage) are converted to BigQuery billed/bytes and slot/ms with equivalent amount of US dollars. Services may not directly correlate to these metrics, but these are the equivalents for billing purposes. Output only.+--+-- /See:/ 'newExternalServiceCost' smart constructor.+data ExternalServiceCost = ExternalServiceCost+  { -- | External service cost in terms of bigquery bytes billed.+    bytesBilled :: (Core.Maybe Core.Int64),+    -- | External service cost in terms of bigquery bytes processed.+    bytesProcessed :: (Core.Maybe Core.Int64),+    -- | External service name.+    externalService :: (Core.Maybe Core.Text),+    -- | Non-preemptable reserved slots used for external job. For example, reserved slots for Cloua AI Platform job are the VM usages converted to BigQuery slot with equivalent mount of price.+    reservedSlotCount :: (Core.Maybe Core.Int64),+    -- | External service cost in terms of bigquery slot milliseconds.+    slotMs :: (Core.Maybe Core.Int64)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ExternalServiceCost' with the minimum fields required to make a request.+newExternalServiceCost ::+  ExternalServiceCost+newExternalServiceCost =+  ExternalServiceCost+    { bytesBilled = Core.Nothing,+      bytesProcessed = Core.Nothing,+      externalService = Core.Nothing,+      reservedSlotCount = Core.Nothing,+      slotMs = Core.Nothing+    }++instance Core.FromJSON ExternalServiceCost where+  parseJSON =+    Core.withObject+      "ExternalServiceCost"+      ( \o ->+          ExternalServiceCost+            Core.<$> (o Core..:? "bytesBilled" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "bytesProcessed" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "externalService")+            Core.<*> (o Core..:? "reservedSlotCount" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "slotMs" Core.<&> Core.fmap Core.fromAsText)+      )++instance Core.ToJSON ExternalServiceCost where+  toJSON ExternalServiceCost {..} =+    Core.object+      ( Core.catMaybes+          [ ("bytesBilled" Core..=) Core.. Core.AsText Core.<$> bytesBilled,+            ("bytesProcessed" Core..=)+              Core.. Core.AsText+              Core.<$> bytesProcessed,+            ("externalService" Core..=) Core.<$> externalService,+            ("reservedSlotCount" Core..=)+              Core.. Core.AsText+              Core.<$> reservedSlotCount,+            ("slotMs" Core..=) Core.. Core.AsText Core.<$> slotMs+          ]+      )++-- | Representative value of a single feature within the cluster.+--+-- /See:/ 'newFeatureValue' smart constructor.+data FeatureValue = FeatureValue+  { -- | The categorical feature value.+    categoricalValue :: (Core.Maybe CategoricalValue),+    -- | The feature column name.+    featureColumn :: (Core.Maybe Core.Text),+    -- | The numerical feature value. This is the centroid value for this feature.+    numericalValue :: (Core.Maybe Core.Double)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'FeatureValue' with the minimum fields required to make a request.+newFeatureValue ::+  FeatureValue+newFeatureValue =+  FeatureValue+    { categoricalValue = Core.Nothing,+      featureColumn = Core.Nothing,+      numericalValue = Core.Nothing+    }++instance Core.FromJSON FeatureValue where+  parseJSON =+    Core.withObject+      "FeatureValue"+      ( \o ->+          FeatureValue+            Core.<$> (o Core..:? "categoricalValue")+            Core.<*> (o Core..:? "featureColumn")+            Core.<*> (o Core..:? "numericalValue")+      )++instance Core.ToJSON FeatureValue where+  toJSON FeatureValue {..} =+    Core.object+      ( Core.catMaybes+          [ ("categoricalValue" Core..=) Core.<$> categoricalValue,+            ("featureColumn" Core..=) Core.<$> featureColumn,+            ("numericalValue" Core..=) Core.<$> numericalValue+          ]+      )++-- | Metadata about the foreign data type definition such as the system in which the type is defined.+--+-- /See:/ 'newForeignTypeInfo' smart constructor.+newtype ForeignTypeInfo = ForeignTypeInfo+  { -- | Required. Specifies the system which defines the foreign data type.+    typeSystem :: (Core.Maybe ForeignTypeInfo_TypeSystem)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ForeignTypeInfo' with the minimum fields required to make a request.+newForeignTypeInfo ::+  ForeignTypeInfo+newForeignTypeInfo = ForeignTypeInfo {typeSystem = Core.Nothing}++instance Core.FromJSON ForeignTypeInfo where+  parseJSON =+    Core.withObject+      "ForeignTypeInfo"+      (\o -> ForeignTypeInfo Core.<$> (o Core..:? "typeSystem"))++instance Core.ToJSON ForeignTypeInfo where+  toJSON ForeignTypeInfo {..} =+    Core.object+      (Core.catMaybes [("typeSystem" Core..=) Core.<$> typeSystem])++-- | A view can be represented in multiple ways. Each representation has its own dialect. This message stores the metadata required for these representations.+--+-- /See:/ 'newForeignViewDefinition' smart constructor.+data ForeignViewDefinition = ForeignViewDefinition+  { -- | Optional. Represents the dialect of the query.+    dialect :: (Core.Maybe Core.Text),+    -- | Required. The query that defines the view.+    query :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ForeignViewDefinition' with the minimum fields required to make a request.+newForeignViewDefinition ::+  ForeignViewDefinition+newForeignViewDefinition =+  ForeignViewDefinition+    { dialect = Core.Nothing,+      query = Core.Nothing+    }++instance Core.FromJSON ForeignViewDefinition where+  parseJSON =+    Core.withObject+      "ForeignViewDefinition"+      ( \o ->+          ForeignViewDefinition+            Core.<$> (o Core..:? "dialect")+            Core.<*> (o Core..:? "query")+      )++instance Core.ToJSON ForeignViewDefinition where+  toJSON ForeignViewDefinition {..} =+    Core.object+      ( Core.catMaybes+          [ ("dialect" Core..=) Core.<$> dialect,+            ("query" Core..=) Core.<$> query+          ]+      )++-- | Request message for @GetIamPolicy@ method.+--+-- /See:/ 'newGetIamPolicyRequest' smart constructor.+newtype GetIamPolicyRequest = GetIamPolicyRequest+  { -- | OPTIONAL: A @GetPolicyOptions@ object for specifying options to @GetIamPolicy@.+    options :: (Core.Maybe GetPolicyOptions)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GetIamPolicyRequest' with the minimum fields required to make a request.+newGetIamPolicyRequest ::+  GetIamPolicyRequest+newGetIamPolicyRequest =+  GetIamPolicyRequest {options = Core.Nothing}++instance Core.FromJSON GetIamPolicyRequest where+  parseJSON =+    Core.withObject+      "GetIamPolicyRequest"+      (\o -> GetIamPolicyRequest Core.<$> (o Core..:? "options"))++instance Core.ToJSON GetIamPolicyRequest where+  toJSON GetIamPolicyRequest {..} =+    Core.object+      (Core.catMaybes [("options" Core..=) Core.<$> options])++-- | Encapsulates settings provided to GetIamPolicy.+--+-- /See:/ 'newGetPolicyOptions' smart constructor.+newtype GetPolicyOptions = GetPolicyOptions+  { -- | Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the <https://cloud.google.com/iam/help/conditions/resource-policies IAM documentation>.+    requestedPolicyVersion :: (Core.Maybe Core.Int32)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GetPolicyOptions' with the minimum fields required to make a request.+newGetPolicyOptions ::+  GetPolicyOptions+newGetPolicyOptions =+  GetPolicyOptions {requestedPolicyVersion = Core.Nothing}++instance Core.FromJSON GetPolicyOptions where+  parseJSON =+    Core.withObject+      "GetPolicyOptions"+      ( \o ->+          GetPolicyOptions Core.<$> (o Core..:? "requestedPolicyVersion")+      )++instance Core.ToJSON GetPolicyOptions where+  toJSON GetPolicyOptions {..} =+    Core.object+      ( Core.catMaybes+          [ ("requestedPolicyVersion" Core..=)+              Core.<$> requestedPolicyVersion+          ]+      )++-- | Response object of GetQueryResults.+--+-- /See:/ 'newGetQueryResultsResponse' smart constructor.+data GetQueryResultsResponse = GetQueryResultsResponse+  { -- | Whether the query result was fetched from the query cache.+    cacheHit :: (Core.Maybe Core.Bool),+    -- | Output only. The first errors or warnings encountered during the running of the job. The final message includes the number of errors that caused the process to stop. Errors here do not necessarily mean that the job has completed or was unsuccessful. For more information about error messages, see <https://cloud.google.com/bigquery/docs/error-messages Error messages>.+    errors :: (Core.Maybe [ErrorProto]),+    -- | A hash of this response.+    etag :: (Core.Maybe Core.Text),+    -- | Whether the query has completed or not. If rows or totalRows are present, this will always be true. If this is false, totalRows will not be available.+    jobComplete :: (Core.Maybe Core.Bool),+    -- | Reference to the BigQuery Job that was created to run the query. This field will be present even if the original request timed out, in which case GetQueryResults can be used to read the results once the query has completed. Since this API only returns the first page of results, subsequent pages can be fetched via the same mechanism (GetQueryResults).+    jobReference :: (Core.Maybe JobReference),+    -- | The resource type of the response.+    kind :: Core.Text,+    -- | Output only. The number of rows affected by a DML statement. Present only for DML statements INSERT, UPDATE or DELETE.+    numDmlAffectedRows :: (Core.Maybe Core.Int64),+    -- | A token used for paging results. When this token is non-empty, it indicates additional results are available.+    pageToken :: (Core.Maybe Core.Text),+    -- | An object with as many results as can be contained within the maximum permitted reply size. To get any additional rows, you can call GetQueryResults and specify the jobReference returned above. Present only when the query completes successfully. The REST-based representation of this data leverages a series of JSON f,v objects for indicating fields and values.+    rows :: (Core.Maybe [TableRow]),+    -- | The schema of the results. Present only when the query completes successfully.+    schema :: (Core.Maybe TableSchema),+    -- | The total number of bytes processed for this query.+    totalBytesProcessed :: (Core.Maybe Core.Int64),+    -- | The total number of rows in the complete query result set, which can be more than the number of rows in this single page of results. Present only when the query completes successfully.+    totalRows :: (Core.Maybe Core.Word64)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GetQueryResultsResponse' with the minimum fields required to make a request.+newGetQueryResultsResponse ::+  GetQueryResultsResponse+newGetQueryResultsResponse =+  GetQueryResultsResponse+    { cacheHit = Core.Nothing,+      errors = Core.Nothing,+      etag = Core.Nothing,+      jobComplete = Core.Nothing,+      jobReference = Core.Nothing,+      kind = "bigquery#getQueryResultsResponse",+      numDmlAffectedRows = Core.Nothing,+      pageToken = Core.Nothing,+      rows = Core.Nothing,+      schema = Core.Nothing,+      totalBytesProcessed = Core.Nothing,+      totalRows = Core.Nothing+    }++instance Core.FromJSON GetQueryResultsResponse where+  parseJSON =+    Core.withObject+      "GetQueryResultsResponse"+      ( \o ->+          GetQueryResultsResponse+            Core.<$> (o Core..:? "cacheHit")+            Core.<*> (o Core..:? "errors")+            Core.<*> (o Core..:? "etag")+            Core.<*> (o Core..:? "jobComplete")+            Core.<*> (o Core..:? "jobReference")+            Core.<*> (o Core..:? "kind" Core..!= "bigquery#getQueryResultsResponse")+            Core.<*> ( o+                         Core..:? "numDmlAffectedRows"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> (o Core..:? "pageToken")+            Core.<*> (o Core..:? "rows")+            Core.<*> (o Core..:? "schema")+            Core.<*> ( o+                         Core..:? "totalBytesProcessed"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> (o Core..:? "totalRows" Core.<&> Core.fmap Core.fromAsText)+      )++instance Core.ToJSON GetQueryResultsResponse where+  toJSON GetQueryResultsResponse {..} =+    Core.object+      ( Core.catMaybes+          [ ("cacheHit" Core..=) Core.<$> cacheHit,+            ("errors" Core..=) Core.<$> errors,+            ("etag" Core..=) Core.<$> etag,+            ("jobComplete" Core..=) Core.<$> jobComplete,+            ("jobReference" Core..=) Core.<$> jobReference,+            Core.Just ("kind" Core..= kind),+            ("numDmlAffectedRows" Core..=)+              Core.. Core.AsText+              Core.<$> numDmlAffectedRows,+            ("pageToken" Core..=) Core.<$> pageToken,+            ("rows" Core..=) Core.<$> rows,+            ("schema" Core..=) Core.<$> schema,+            ("totalBytesProcessed" Core..=)+              Core.. Core.AsText+              Core.<$> totalBytesProcessed,+            ("totalRows" Core..=) Core.. Core.AsText Core.<$> totalRows+          ]+      )++-- | Response object of GetServiceAccount+--+-- /See:/ 'newGetServiceAccountResponse' smart constructor.+data GetServiceAccountResponse = GetServiceAccountResponse+  { -- | The service account email address.+    email :: (Core.Maybe Core.Text),+    -- | The resource type of the response.+    kind :: Core.Text+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GetServiceAccountResponse' with the minimum fields required to make a request.+newGetServiceAccountResponse ::+  GetServiceAccountResponse+newGetServiceAccountResponse =+  GetServiceAccountResponse+    { email = Core.Nothing,+      kind = "bigquery#getServiceAccountResponse"+    }++instance Core.FromJSON GetServiceAccountResponse where+  parseJSON =+    Core.withObject+      "GetServiceAccountResponse"+      ( \o ->+          GetServiceAccountResponse+            Core.<$> (o Core..:? "email")+            Core.<*> (o Core..:? "kind" Core..!= "bigquery#getServiceAccountResponse")+      )++instance Core.ToJSON GetServiceAccountResponse where+  toJSON GetServiceAccountResponse {..} =+    Core.object+      ( Core.catMaybes+          [ ("email" Core..=) Core.<$> email,+            Core.Just ("kind" Core..= kind)+          ]+      )++-- | Global explanations containing the top most important features after training.+--+-- /See:/ 'newGlobalExplanation' smart constructor.+data GlobalExplanation = GlobalExplanation+  { -- | Class label for this set of global explanations. Will be empty\/null for binary logistic and linear regression models. Sorted alphabetically in descending order.+    classLabel :: (Core.Maybe Core.Text),+    -- | A list of the top global explanations. Sorted by absolute value of attribution in descending order.+    explanations :: (Core.Maybe [Explanation])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GlobalExplanation' with the minimum fields required to make a request.+newGlobalExplanation ::+  GlobalExplanation+newGlobalExplanation =+  GlobalExplanation+    { classLabel = Core.Nothing,+      explanations = Core.Nothing+    }++instance Core.FromJSON GlobalExplanation where+  parseJSON =+    Core.withObject+      "GlobalExplanation"+      ( \o ->+          GlobalExplanation+            Core.<$> (o Core..:? "classLabel")+            Core.<*> (o Core..:? "explanations")+      )++instance Core.ToJSON GlobalExplanation where+  toJSON GlobalExplanation {..} =+    Core.object+      ( Core.catMaybes+          [ ("classLabel" Core..=) Core.<$> classLabel,+            ("explanations" Core..=) Core.<$> explanations+          ]+      )++-- | Options specific to Google Sheets data sources.+--+-- /See:/ 'newGoogleSheetsOptions' smart constructor.+data GoogleSheetsOptions = GoogleSheetsOptions+  { -- | Optional. Range of a sheet to query from. Only used when non-empty. Typical format: sheet/name!top/left/cell/id:bottom/right/cell_id For example: sheet1!A1:B20+    range :: (Core.Maybe Core.Text),+    -- | Optional. The number of rows at the top of a sheet that BigQuery will skip when reading the data. The default value is 0. This property is useful if you have header rows that should be skipped. When autodetect is on, the behavior is the following: * skipLeadingRows unspecified - Autodetect tries to detect headers in the first row. If they are not detected, the row is read as data. Otherwise data is read starting from the second row. * skipLeadingRows is 0 - Instructs autodetect that there are no headers and data should be read starting from the first row. * skipLeadingRows = N > 0 - Autodetect skips N-1 rows and tries to detect headers in row N. If headers are not detected, row N is just skipped. Otherwise row N is used to extract column names for the detected schema.+    skipLeadingRows :: (Core.Maybe Core.Int64)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GoogleSheetsOptions' with the minimum fields required to make a request.+newGoogleSheetsOptions ::+  GoogleSheetsOptions+newGoogleSheetsOptions =+  GoogleSheetsOptions+    { range = Core.Nothing,+      skipLeadingRows = Core.Nothing+    }++instance Core.FromJSON GoogleSheetsOptions where+  parseJSON =+    Core.withObject+      "GoogleSheetsOptions"+      ( \o ->+          GoogleSheetsOptions+            Core.<$> (o Core..:? "range")+            Core.<*> (o Core..:? "skipLeadingRows" Core.<&> Core.fmap Core.fromAsText)+      )++instance Core.ToJSON GoogleSheetsOptions where+  toJSON GoogleSheetsOptions {..} =+    Core.object+      ( Core.catMaybes+          [ ("range" Core..=) Core.<$> range,+            ("skipLeadingRows" Core..=)+              Core.. Core.AsText+              Core.<$> skipLeadingRows+          ]+      )++-- | High cardinality join detailed information.+--+-- /See:/ 'newHighCardinalityJoin' smart constructor.+data HighCardinalityJoin = HighCardinalityJoin+  { -- | Output only. Count of left input rows.+    leftRows :: (Core.Maybe Core.Int64),+    -- | Output only. Count of the output rows.+    outputRows :: (Core.Maybe Core.Int64),+    -- | Output only. Count of right input rows.+    rightRows :: (Core.Maybe Core.Int64),+    -- | Output only. The index of the join operator in the ExplainQueryStep lists.+    stepIndex :: (Core.Maybe Core.Int32)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'HighCardinalityJoin' with the minimum fields required to make a request.+newHighCardinalityJoin ::+  HighCardinalityJoin+newHighCardinalityJoin =+  HighCardinalityJoin+    { leftRows = Core.Nothing,+      outputRows = Core.Nothing,+      rightRows = Core.Nothing,+      stepIndex = Core.Nothing+    }++instance Core.FromJSON HighCardinalityJoin where+  parseJSON =+    Core.withObject+      "HighCardinalityJoin"+      ( \o ->+          HighCardinalityJoin+            Core.<$> (o Core..:? "leftRows" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "outputRows" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "rightRows" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "stepIndex")+      )++instance Core.ToJSON HighCardinalityJoin where+  toJSON HighCardinalityJoin {..} =+    Core.object+      ( Core.catMaybes+          [ ("leftRows" Core..=) Core.. Core.AsText Core.<$> leftRows,+            ("outputRows" Core..=) Core.. Core.AsText Core.<$> outputRows,+            ("rightRows" Core..=) Core.. Core.AsText Core.<$> rightRows,+            ("stepIndex" Core..=) Core.<$> stepIndex+          ]+      )++-- | Options for configuring hive partitioning detect.+--+-- /See:/ 'newHivePartitioningOptions' smart constructor.+data HivePartitioningOptions = HivePartitioningOptions+  { -- | Output only. For permanent external tables, this field is populated with the hive partition keys in the order they were inferred. The types of the partition keys can be deduced by checking the table schema (which will include the partition keys). Not every API will populate this field in the output. For example, Tables.Get will populate it, but Tables.List will not contain this field.+    fields :: (Core.Maybe [Core.Text]),+    -- | Optional. When set, what mode of hive partitioning to use when reading data. The following modes are supported: * AUTO: automatically infer partition key name(s) and type(s). * STRINGS: automatically infer partition key name(s). All types are strings. * CUSTOM: partition key schema is encoded in the source URI prefix. Not all storage formats support hive partitioning. Requesting hive partitioning on an unsupported format will lead to an error. Currently supported formats are: JSON, CSV, ORC, Avro and Parquet.+    mode :: (Core.Maybe Core.Text),+    -- | Optional. If set to true, queries over this table require a partition filter that can be used for partition elimination to be specified. Note that this field should only be true when creating a permanent external table or querying a temporary external table. Hive-partitioned loads with require/partition/filter explicitly set to true will fail.+    requirePartitionFilter :: Core.Bool,+    -- | Optional. When hive partition detection is requested, a common prefix for all source uris must be required. The prefix must end immediately before the partition key encoding begins. For example, consider files following this data layout: gs:\/\/bucket\/path/to/table\/dt=2019-06-01\/country=USA\/id=7\/file.avro gs:\/\/bucket\/path/to/table\/dt=2019-05-31\/country=CA\/id=3\/file.avro When hive partitioning is requested with either AUTO or STRINGS detection, the common prefix can be either of gs:\/\/bucket\/path/to/table or gs:\/\/bucket\/path/to/table\/. CUSTOM detection requires encoding the partitioning schema immediately after the common prefix. For CUSTOM, any of * gs:\/\/bucket\/path/to/table\/{dt:DATE}\/{country:STRING}\/{id:INTEGER} * gs:\/\/bucket\/path/to/table\/{dt:STRING}\/{country:STRING}\/{id:INTEGER} * gs:\/\/bucket\/path/to/table\/{dt:DATE}\/{country:STRING}\/{id:STRING} would all be valid source URI prefixes.+    sourceUriPrefix :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'HivePartitioningOptions' with the minimum fields required to make a request.+newHivePartitioningOptions ::+  HivePartitioningOptions+newHivePartitioningOptions =+  HivePartitioningOptions+    { fields = Core.Nothing,+      mode = Core.Nothing,+      requirePartitionFilter = Core.False,+      sourceUriPrefix = Core.Nothing+    }++instance Core.FromJSON HivePartitioningOptions where+  parseJSON =+    Core.withObject+      "HivePartitioningOptions"+      ( \o ->+          HivePartitioningOptions+            Core.<$> (o Core..:? "fields")+            Core.<*> (o Core..:? "mode")+            Core.<*> (o Core..:? "requirePartitionFilter" Core..!= Core.False)+            Core.<*> (o Core..:? "sourceUriPrefix")+      )++instance Core.ToJSON HivePartitioningOptions where+  toJSON HivePartitioningOptions {..} =+    Core.object+      ( Core.catMaybes+          [ ("fields" Core..=) Core.<$> fields,+            ("mode" Core..=) Core.<$> mode,+            Core.Just+              ("requirePartitionFilter" Core..= requirePartitionFilter),+            ("sourceUriPrefix" Core..=) Core.<$> sourceUriPrefix+          ]+      )++-- | Hyperparameter search spaces. These should be a subset of training_options.+--+-- /See:/ 'newHparamSearchSpaces' smart constructor.+data HparamSearchSpaces = HparamSearchSpaces+  { -- | Activation functions of neural network models.+    activationFn :: (Core.Maybe StringHparamSearchSpace),+    -- | Mini batch sample size.+    batchSize :: (Core.Maybe IntHparamSearchSpace),+    -- | Booster type for boosted tree models.+    boosterType :: (Core.Maybe StringHparamSearchSpace),+    -- | Subsample ratio of columns for each level for boosted tree models.+    colsampleBylevel :: (Core.Maybe DoubleHparamSearchSpace),+    -- | Subsample ratio of columns for each node(split) for boosted tree models.+    colsampleBynode :: (Core.Maybe DoubleHparamSearchSpace),+    -- | Subsample ratio of columns when constructing each tree for boosted tree models.+    colsampleBytree :: (Core.Maybe DoubleHparamSearchSpace),+    -- | Dart normalization type for boosted tree models.+    dartNormalizeType :: (Core.Maybe StringHparamSearchSpace),+    -- | Dropout probability for dnn model training and boosted tree models using dart booster.+    dropout :: (Core.Maybe DoubleHparamSearchSpace),+    -- | Hidden units for neural network models.+    hiddenUnits :: (Core.Maybe IntArrayHparamSearchSpace),+    -- | L1 regularization coefficient.+    l1Reg :: (Core.Maybe DoubleHparamSearchSpace),+    -- | L2 regularization coefficient.+    l2Reg :: (Core.Maybe DoubleHparamSearchSpace),+    -- | Learning rate of training jobs.+    learnRate :: (Core.Maybe DoubleHparamSearchSpace),+    -- | Maximum depth of a tree for boosted tree models.+    maxTreeDepth :: (Core.Maybe IntHparamSearchSpace),+    -- | Minimum split loss for boosted tree models.+    minSplitLoss :: (Core.Maybe DoubleHparamSearchSpace),+    -- | Minimum sum of instance weight needed in a child for boosted tree models.+    minTreeChildWeight :: (Core.Maybe IntHparamSearchSpace),+    -- | Number of clusters for k-means.+    numClusters :: (Core.Maybe IntHparamSearchSpace),+    -- | Number of latent factors to train on.+    numFactors :: (Core.Maybe IntHparamSearchSpace),+    -- | Number of parallel trees for boosted tree models.+    numParallelTree :: (Core.Maybe IntHparamSearchSpace),+    -- | Optimizer of TF models.+    optimizer :: (Core.Maybe StringHparamSearchSpace),+    -- | Subsample the training data to grow tree to prevent overfitting for boosted tree models.+    subsample :: (Core.Maybe DoubleHparamSearchSpace),+    -- | Tree construction algorithm for boosted tree models.+    treeMethod :: (Core.Maybe StringHparamSearchSpace),+    -- | Hyperparameter for matrix factoration when implicit feedback type is specified.+    walsAlpha :: (Core.Maybe DoubleHparamSearchSpace)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'HparamSearchSpaces' with the minimum fields required to make a request.+newHparamSearchSpaces ::+  HparamSearchSpaces+newHparamSearchSpaces =+  HparamSearchSpaces+    { activationFn = Core.Nothing,+      batchSize = Core.Nothing,+      boosterType = Core.Nothing,+      colsampleBylevel = Core.Nothing,+      colsampleBynode = Core.Nothing,+      colsampleBytree = Core.Nothing,+      dartNormalizeType = Core.Nothing,+      dropout = Core.Nothing,+      hiddenUnits = Core.Nothing,+      l1Reg = Core.Nothing,+      l2Reg = Core.Nothing,+      learnRate = Core.Nothing,+      maxTreeDepth = Core.Nothing,+      minSplitLoss = Core.Nothing,+      minTreeChildWeight = Core.Nothing,+      numClusters = Core.Nothing,+      numFactors = Core.Nothing,+      numParallelTree = Core.Nothing,+      optimizer = Core.Nothing,+      subsample = Core.Nothing,+      treeMethod = Core.Nothing,+      walsAlpha = Core.Nothing+    }++instance Core.FromJSON HparamSearchSpaces where+  parseJSON =+    Core.withObject+      "HparamSearchSpaces"+      ( \o ->+          HparamSearchSpaces+            Core.<$> (o Core..:? "activationFn")+            Core.<*> (o Core..:? "batchSize")+            Core.<*> (o Core..:? "boosterType")+            Core.<*> (o Core..:? "colsampleBylevel")+            Core.<*> (o Core..:? "colsampleBynode")+            Core.<*> (o Core..:? "colsampleBytree")+            Core.<*> (o Core..:? "dartNormalizeType")+            Core.<*> (o Core..:? "dropout")+            Core.<*> (o Core..:? "hiddenUnits")+            Core.<*> (o Core..:? "l1Reg")+            Core.<*> (o Core..:? "l2Reg")+            Core.<*> (o Core..:? "learnRate")+            Core.<*> (o Core..:? "maxTreeDepth")+            Core.<*> (o Core..:? "minSplitLoss")+            Core.<*> (o Core..:? "minTreeChildWeight")+            Core.<*> (o Core..:? "numClusters")+            Core.<*> (o Core..:? "numFactors")+            Core.<*> (o Core..:? "numParallelTree")+            Core.<*> (o Core..:? "optimizer")+            Core.<*> (o Core..:? "subsample")+            Core.<*> (o Core..:? "treeMethod")+            Core.<*> (o Core..:? "walsAlpha")+      )++instance Core.ToJSON HparamSearchSpaces where+  toJSON HparamSearchSpaces {..} =+    Core.object+      ( Core.catMaybes+          [ ("activationFn" Core..=) Core.<$> activationFn,+            ("batchSize" Core..=) Core.<$> batchSize,+            ("boosterType" Core..=) Core.<$> boosterType,+            ("colsampleBylevel" Core..=) Core.<$> colsampleBylevel,+            ("colsampleBynode" Core..=) Core.<$> colsampleBynode,+            ("colsampleBytree" Core..=) Core.<$> colsampleBytree,+            ("dartNormalizeType" Core..=) Core.<$> dartNormalizeType,+            ("dropout" Core..=) Core.<$> dropout,+            ("hiddenUnits" Core..=) Core.<$> hiddenUnits,+            ("l1Reg" Core..=) Core.<$> l1Reg,+            ("l2Reg" Core..=) Core.<$> l2Reg,+            ("learnRate" Core..=) Core.<$> learnRate,+            ("maxTreeDepth" Core..=) Core.<$> maxTreeDepth,+            ("minSplitLoss" Core..=) Core.<$> minSplitLoss,+            ("minTreeChildWeight" Core..=) Core.<$> minTreeChildWeight,+            ("numClusters" Core..=) Core.<$> numClusters,+            ("numFactors" Core..=) Core.<$> numFactors,+            ("numParallelTree" Core..=) Core.<$> numParallelTree,+            ("optimizer" Core..=) Core.<$> optimizer,+            ("subsample" Core..=) Core.<$> subsample,+            ("treeMethod" Core..=) Core.<$> treeMethod,+            ("walsAlpha" Core..=) Core.<$> walsAlpha+          ]+      )++-- | Training info of a trial in <https://cloud.google.com/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-hp-tuning-overview hyperparameter tuning> models.+--+-- /See:/ 'newHparamTuningTrial' smart constructor.+data HparamTuningTrial = HparamTuningTrial+  { -- | Ending time of the trial.+    endTimeMs :: (Core.Maybe Core.Int64),+    -- | Error message for FAILED and INFEASIBLE trial.+    errorMessage :: (Core.Maybe Core.Text),+    -- | Loss computed on the eval data at the end of trial.+    evalLoss :: (Core.Maybe Core.Double),+    -- | Evaluation metrics of this trial calculated on the test data. Empty in Job API.+    evaluationMetrics :: (Core.Maybe EvaluationMetrics),+    -- | Hyperparameter tuning evaluation metrics of this trial calculated on the eval data. Unlike evaluation/metrics, only the fields corresponding to the hparam/tuning_objectives are set.+    hparamTuningEvaluationMetrics :: (Core.Maybe EvaluationMetrics),+    -- | The hyperprameters selected for this trial.+    hparams :: (Core.Maybe TrainingOptions),+    -- | Starting time of the trial.+    startTimeMs :: (Core.Maybe Core.Int64),+    -- | The status of the trial.+    status :: (Core.Maybe HparamTuningTrial_Status),+    -- | Loss computed on the training data at the end of trial.+    trainingLoss :: (Core.Maybe Core.Double),+    -- | 1-based index of the trial.+    trialId :: (Core.Maybe Core.Int64)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'HparamTuningTrial' with the minimum fields required to make a request.+newHparamTuningTrial ::+  HparamTuningTrial+newHparamTuningTrial =+  HparamTuningTrial+    { endTimeMs = Core.Nothing,+      errorMessage = Core.Nothing,+      evalLoss = Core.Nothing,+      evaluationMetrics = Core.Nothing,+      hparamTuningEvaluationMetrics = Core.Nothing,+      hparams = Core.Nothing,+      startTimeMs = Core.Nothing,+      status = Core.Nothing,+      trainingLoss = Core.Nothing,+      trialId = Core.Nothing+    }++instance Core.FromJSON HparamTuningTrial where+  parseJSON =+    Core.withObject+      "HparamTuningTrial"+      ( \o ->+          HparamTuningTrial+            Core.<$> (o Core..:? "endTimeMs" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "errorMessage")+            Core.<*> (o Core..:? "evalLoss")+            Core.<*> (o Core..:? "evaluationMetrics")+            Core.<*> (o Core..:? "hparamTuningEvaluationMetrics")+            Core.<*> (o Core..:? "hparams")+            Core.<*> (o Core..:? "startTimeMs" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "status")+            Core.<*> (o Core..:? "trainingLoss")+            Core.<*> (o Core..:? "trialId" Core.<&> Core.fmap Core.fromAsText)+      )++instance Core.ToJSON HparamTuningTrial where+  toJSON HparamTuningTrial {..} =+    Core.object+      ( Core.catMaybes+          [ ("endTimeMs" Core..=) Core.. Core.AsText Core.<$> endTimeMs,+            ("errorMessage" Core..=) Core.<$> errorMessage,+            ("evalLoss" Core..=) Core.<$> evalLoss,+            ("evaluationMetrics" Core..=) Core.<$> evaluationMetrics,+            ("hparamTuningEvaluationMetrics" Core..=)+              Core.<$> hparamTuningEvaluationMetrics,+            ("hparams" Core..=) Core.<$> hparams,+            ("startTimeMs" Core..=) Core.. Core.AsText Core.<$> startTimeMs,+            ("status" Core..=) Core.<$> status,+            ("trainingLoss" Core..=) Core.<$> trainingLoss,+            ("trialId" Core..=) Core.. Core.AsText Core.<$> trialId+          ]+      )++-- | Reason about why no search index was used in the search query (or sub-query).+--+-- /See:/ 'newIndexUnusedReason' smart constructor.+data IndexUnusedReason = IndexUnusedReason+  { -- | Specifies the base table involved in the reason that no search index was used.+    baseTable :: (Core.Maybe TableReference),+    -- | Specifies the high-level reason for the scenario when no search index was used.+    code :: (Core.Maybe IndexUnusedReason_Code),+    -- | Specifies the name of the unused search index, if available.+    indexName :: (Core.Maybe Core.Text),+    -- | Free form human-readable reason for the scenario when no search index was used.+    message :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'IndexUnusedReason' with the minimum fields required to make a request.+newIndexUnusedReason ::+  IndexUnusedReason+newIndexUnusedReason =+  IndexUnusedReason+    { baseTable = Core.Nothing,+      code = Core.Nothing,+      indexName = Core.Nothing,+      message = Core.Nothing+    }++instance Core.FromJSON IndexUnusedReason where+  parseJSON =+    Core.withObject+      "IndexUnusedReason"+      ( \o ->+          IndexUnusedReason+            Core.<$> (o Core..:? "baseTable")+            Core.<*> (o Core..:? "code")+            Core.<*> (o Core..:? "indexName")+            Core.<*> (o Core..:? "message")+      )++instance Core.ToJSON IndexUnusedReason where+  toJSON IndexUnusedReason {..} =+    Core.object+      ( Core.catMaybes+          [ ("baseTable" Core..=) Core.<$> baseTable,+            ("code" Core..=) Core.<$> code,+            ("indexName" Core..=) Core.<$> indexName,+            ("message" Core..=) Core.<$> message+          ]+      )++-- | Details about the input data change insight.+--+-- /See:/ 'newInputDataChange' smart constructor.+newtype InputDataChange = InputDataChange+  { -- | Output only. Records read difference percentage compared to a previous run.+    recordsReadDiffPercentage :: (Core.Maybe Core.Double)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'InputDataChange' with the minimum fields required to make a request.+newInputDataChange ::+  InputDataChange+newInputDataChange =+  InputDataChange {recordsReadDiffPercentage = Core.Nothing}++instance Core.FromJSON InputDataChange where+  parseJSON =+    Core.withObject+      "InputDataChange"+      ( \o ->+          InputDataChange Core.<$> (o Core..:? "recordsReadDiffPercentage")+      )++instance Core.ToJSON InputDataChange where+  toJSON InputDataChange {..} =+    Core.object+      ( Core.catMaybes+          [ ("recordsReadDiffPercentage" Core..=)+              Core.<$> recordsReadDiffPercentage+          ]+      )++-- | An array of int.+--+-- /See:/ 'newIntArray' smart constructor.+newtype IntArray = IntArray+  { -- | Elements in the int array.+    elements :: (Core.Maybe [Core.Int64])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'IntArray' with the minimum fields required to make a request.+newIntArray ::+  IntArray+newIntArray = IntArray {elements = Core.Nothing}++instance Core.FromJSON IntArray where+  parseJSON =+    Core.withObject+      "IntArray"+      ( \o ->+          IntArray+            Core.<$> ( o+                         Core..:? "elements"+                         Core.<&> Core.fmap (Core.fmap Core.fromAsText)+                     )+      )++instance Core.ToJSON IntArray where+  toJSON IntArray {..} =+    Core.object+      ( Core.catMaybes+          [ ("elements" Core..=)+              Core.. Core.fmap Core.AsText+              Core.<$> elements+          ]+      )++-- | Search space for int array.+--+-- /See:/ 'newIntArrayHparamSearchSpace' smart constructor.+newtype IntArrayHparamSearchSpace = IntArrayHparamSearchSpace+  { -- | Candidates for the int array parameter.+    candidates :: (Core.Maybe [IntArray])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'IntArrayHparamSearchSpace' with the minimum fields required to make a request.+newIntArrayHparamSearchSpace ::+  IntArrayHparamSearchSpace+newIntArrayHparamSearchSpace =+  IntArrayHparamSearchSpace {candidates = Core.Nothing}++instance Core.FromJSON IntArrayHparamSearchSpace where+  parseJSON =+    Core.withObject+      "IntArrayHparamSearchSpace"+      ( \o ->+          IntArrayHparamSearchSpace Core.<$> (o Core..:? "candidates")+      )++instance Core.ToJSON IntArrayHparamSearchSpace where+  toJSON IntArrayHparamSearchSpace {..} =+    Core.object+      (Core.catMaybes [("candidates" Core..=) Core.<$> candidates])++-- | Discrete candidates of an int hyperparameter.+--+-- /See:/ 'newIntCandidates' smart constructor.+newtype IntCandidates = IntCandidates+  { -- | Candidates for the int parameter in increasing order.+    candidates :: (Core.Maybe [Core.Int64])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'IntCandidates' with the minimum fields required to make a request.+newIntCandidates ::+  IntCandidates+newIntCandidates = IntCandidates {candidates = Core.Nothing}++instance Core.FromJSON IntCandidates where+  parseJSON =+    Core.withObject+      "IntCandidates"+      ( \o ->+          IntCandidates+            Core.<$> ( o+                         Core..:? "candidates"+                         Core.<&> Core.fmap (Core.fmap Core.fromAsText)+                     )+      )++instance Core.ToJSON IntCandidates where+  toJSON IntCandidates {..} =+    Core.object+      ( Core.catMaybes+          [ ("candidates" Core..=)+              Core.. Core.fmap Core.AsText+              Core.<$> candidates+          ]+      )++-- | Search space for an int hyperparameter.+--+-- /See:/ 'newIntHparamSearchSpace' smart constructor.+data IntHparamSearchSpace = IntHparamSearchSpace+  { -- | Candidates of the int hyperparameter.+    candidates :: (Core.Maybe IntCandidates),+    -- | Range of the int hyperparameter.+    range :: (Core.Maybe IntRange)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'IntHparamSearchSpace' with the minimum fields required to make a request.+newIntHparamSearchSpace ::+  IntHparamSearchSpace+newIntHparamSearchSpace =+  IntHparamSearchSpace+    { candidates = Core.Nothing,+      range = Core.Nothing+    }++instance Core.FromJSON IntHparamSearchSpace where+  parseJSON =+    Core.withObject+      "IntHparamSearchSpace"+      ( \o ->+          IntHparamSearchSpace+            Core.<$> (o Core..:? "candidates")+            Core.<*> (o Core..:? "range")+      )++instance Core.ToJSON IntHparamSearchSpace where+  toJSON IntHparamSearchSpace {..} =+    Core.object+      ( Core.catMaybes+          [ ("candidates" Core..=) Core.<$> candidates,+            ("range" Core..=) Core.<$> range+          ]+      )++-- | Range of an int hyperparameter.+--+-- /See:/ 'newIntRange' smart constructor.+data IntRange = IntRange+  { -- | Max value of the int parameter.+    max :: (Core.Maybe Core.Int64),+    -- | Min value of the int parameter.+    min :: (Core.Maybe Core.Int64)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'IntRange' with the minimum fields required to make a request.+newIntRange ::+  IntRange+newIntRange = IntRange {max = Core.Nothing, min = Core.Nothing}++instance Core.FromJSON IntRange where+  parseJSON =+    Core.withObject+      "IntRange"+      ( \o ->+          IntRange+            Core.<$> (o Core..:? "max" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "min" Core.<&> Core.fmap Core.fromAsText)+      )++instance Core.ToJSON IntRange where+  toJSON IntRange {..} =+    Core.object+      ( Core.catMaybes+          [ ("max" Core..=) Core.. Core.AsText Core.<$> max,+            ("min" Core..=) Core.. Core.AsText Core.<$> min+          ]+      )++-- | Information about a single iteration of the training run.+--+-- /See:/ 'newIterationResult' smart constructor.+data IterationResult = IterationResult+  { -- | Arima result.+    arimaResult :: (Core.Maybe ArimaResult),+    -- | Information about top clusters for clustering models.+    clusterInfos :: (Core.Maybe [ClusterInfo]),+    -- | Time taken to run the iteration in milliseconds.+    durationMs :: (Core.Maybe Core.Int64),+    -- | Loss computed on the eval data at the end of iteration.+    evalLoss :: (Core.Maybe Core.Double),+    -- | Index of the iteration, 0 based.+    index :: (Core.Maybe Core.Int32),+    -- | Learn rate used for this iteration.+    learnRate :: (Core.Maybe Core.Double),+    -- | The information of the principal components.+    principalComponentInfos :: (Core.Maybe [PrincipalComponentInfo]),+    -- | Loss computed on the training data at the end of iteration.+    trainingLoss :: (Core.Maybe Core.Double)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'IterationResult' with the minimum fields required to make a request.+newIterationResult ::+  IterationResult+newIterationResult =+  IterationResult+    { arimaResult = Core.Nothing,+      clusterInfos = Core.Nothing,+      durationMs = Core.Nothing,+      evalLoss = Core.Nothing,+      index = Core.Nothing,+      learnRate = Core.Nothing,+      principalComponentInfos = Core.Nothing,+      trainingLoss = Core.Nothing+    }++instance Core.FromJSON IterationResult where+  parseJSON =+    Core.withObject+      "IterationResult"+      ( \o ->+          IterationResult+            Core.<$> (o Core..:? "arimaResult")+            Core.<*> (o Core..:? "clusterInfos")+            Core.<*> (o Core..:? "durationMs" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "evalLoss")+            Core.<*> (o Core..:? "index")+            Core.<*> (o Core..:? "learnRate")+            Core.<*> (o Core..:? "principalComponentInfos")+            Core.<*> (o Core..:? "trainingLoss")+      )++instance Core.ToJSON IterationResult where+  toJSON IterationResult {..} =+    Core.object+      ( Core.catMaybes+          [ ("arimaResult" Core..=) Core.<$> arimaResult,+            ("clusterInfos" Core..=) Core.<$> clusterInfos,+            ("durationMs" Core..=) Core.. Core.AsText Core.<$> durationMs,+            ("evalLoss" Core..=) Core.<$> evalLoss,+            ("index" Core..=) Core.<$> index,+            ("learnRate" Core..=) Core.<$> learnRate,+            ("principalComponentInfos" Core..=)+              Core.<$> principalComponentInfos,+            ("trainingLoss" Core..=) Core.<$> trainingLoss+          ]+      )++--+-- /See:/ 'newJob' smart constructor.+data Job = Job+  { -- | Required. Describes the job configuration.+    configuration :: (Core.Maybe JobConfiguration),+    -- | Output only. A hash of this resource.+    etag :: (Core.Maybe Core.Text),+    -- | Output only. Opaque ID field of the job.+    id :: (Core.Maybe Core.Text),+    -- | Output only. The reason why a Job was created. <https://cloud.google.com/products/#product-launch-stages Preview>+    jobCreationReason :: (Core.Maybe JobCreationReason),+    -- | Optional. Reference describing the unique-per-user name of the job.+    jobReference :: (Core.Maybe JobReference),+    -- | Output only. The type of the resource.+    kind :: Core.Text,+    -- | Output only. [Full-projection-only] String representation of identity of requesting party. Populated for both first- and third-party identities. Only present for APIs that support third-party identities.+    principalSubject :: (Core.Maybe Core.Text),+    -- | Output only. A URL that can be used to access the resource again.+    selfLink :: (Core.Maybe Core.Text),+    -- | Output only. Information about the job, including starting time and ending time of the job.+    statistics :: (Core.Maybe JobStatistics),+    -- | Output only. The status of this job. Examine this value when polling an asynchronous job to see if the job is complete.+    status :: (Core.Maybe JobStatus),+    -- | Output only. Email address of the user who ran the job.+    userEmail :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Job' with the minimum fields required to make a request.+newJob ::+  Job+newJob =+  Job+    { configuration = Core.Nothing,+      etag = Core.Nothing,+      id = Core.Nothing,+      jobCreationReason = Core.Nothing,+      jobReference = Core.Nothing,+      kind = "bigquery#job",+      principalSubject = Core.Nothing,+      selfLink = Core.Nothing,+      statistics = Core.Nothing,+      status = Core.Nothing,+      userEmail = Core.Nothing+    }++instance Core.FromJSON Job where+  parseJSON =+    Core.withObject+      "Job"+      ( \o ->+          Job+            Core.<$> (o Core..:? "configuration")+            Core.<*> (o Core..:? "etag")+            Core.<*> (o Core..:? "id")+            Core.<*> (o Core..:? "jobCreationReason")+            Core.<*> (o Core..:? "jobReference")+            Core.<*> (o Core..:? "kind" Core..!= "bigquery#job")+            Core.<*> (o Core..:? "principal_subject")+            Core.<*> (o Core..:? "selfLink")+            Core.<*> (o Core..:? "statistics")+            Core.<*> (o Core..:? "status")+            Core.<*> (o Core..:? "user_email")+      )++instance Core.ToJSON Job where+  toJSON Job {..} =+    Core.object+      ( Core.catMaybes+          [ ("configuration" Core..=) Core.<$> configuration,+            ("etag" Core..=) Core.<$> etag,+            ("id" Core..=) Core.<$> id,+            ("jobCreationReason" Core..=) Core.<$> jobCreationReason,+            ("jobReference" Core..=) Core.<$> jobReference,+            Core.Just ("kind" Core..= kind),+            ("principal_subject" Core..=) Core.<$> principalSubject,+            ("selfLink" Core..=) Core.<$> selfLink,+            ("statistics" Core..=) Core.<$> statistics,+            ("status" Core..=) Core.<$> status,+            ("user_email" Core..=) Core.<$> userEmail+          ]+      )++-- | Describes format of a jobs cancellation response.+--+-- /See:/ 'newJobCancelResponse' smart constructor.+data JobCancelResponse = JobCancelResponse+  { -- | The final state of the job.+    job :: (Core.Maybe Job),+    -- | The resource type of the response.+    kind :: Core.Text+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'JobCancelResponse' with the minimum fields required to make a request.+newJobCancelResponse ::+  JobCancelResponse+newJobCancelResponse =+  JobCancelResponse+    { job = Core.Nothing,+      kind = "bigquery#jobCancelResponse"+    }++instance Core.FromJSON JobCancelResponse where+  parseJSON =+    Core.withObject+      "JobCancelResponse"+      ( \o ->+          JobCancelResponse+            Core.<$> (o Core..:? "job")+            Core.<*> (o Core..:? "kind" Core..!= "bigquery#jobCancelResponse")+      )++instance Core.ToJSON JobCancelResponse where+  toJSON JobCancelResponse {..} =+    Core.object+      ( Core.catMaybes+          [("job" Core..=) Core.<$> job, Core.Just ("kind" Core..= kind)]+      )++--+-- /See:/ 'newJobConfiguration' smart constructor.+data JobConfiguration = JobConfiguration+  { -- | [Pick one] Copies a table.+    copy :: (Core.Maybe JobConfigurationTableCopy),+    -- | Optional. If set, don\'t actually run this job. A valid query will return a mostly empty response with some processing statistics, while an invalid query will return the same error it would if it wasn\'t a dry run. Behavior of non-query jobs is undefined.+    dryRun :: (Core.Maybe Core.Bool),+    -- | [Pick one] Configures an extract job.+    extract :: (Core.Maybe JobConfigurationExtract),+    -- | Optional. Job timeout in milliseconds. If this time limit is exceeded, BigQuery will attempt to stop a longer job, but may not always succeed in canceling it before the job completes. For example, a job that takes more than 60 seconds to complete has a better chance of being stopped than a job that takes 10 seconds to complete.+    jobTimeoutMs :: (Core.Maybe Core.Int64),+    -- | Output only. The type of the job. Can be QUERY, LOAD, EXTRACT, COPY or UNKNOWN.+    jobType :: (Core.Maybe Core.Text),+    -- | The labels associated with this job. You can use these to organize and group your jobs. Label keys and values can be no longer than 63 characters, can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter and each label in the list must have a different key.+    labels :: (Core.Maybe JobConfiguration_Labels),+    -- | [Pick one] Configures a load job.+    load :: (Core.Maybe JobConfigurationLoad),+    -- | [Pick one] Configures a query job.+    query :: (Core.Maybe JobConfigurationQuery)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'JobConfiguration' with the minimum fields required to make a request.+newJobConfiguration ::+  JobConfiguration+newJobConfiguration =+  JobConfiguration+    { copy = Core.Nothing,+      dryRun = Core.Nothing,+      extract = Core.Nothing,+      jobTimeoutMs = Core.Nothing,+      jobType = Core.Nothing,+      labels = Core.Nothing,+      load = Core.Nothing,+      query = Core.Nothing+    }++instance Core.FromJSON JobConfiguration where+  parseJSON =+    Core.withObject+      "JobConfiguration"+      ( \o ->+          JobConfiguration+            Core.<$> (o Core..:? "copy")+            Core.<*> (o Core..:? "dryRun")+            Core.<*> (o Core..:? "extract")+            Core.<*> (o Core..:? "jobTimeoutMs" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "jobType")+            Core.<*> (o Core..:? "labels")+            Core.<*> (o Core..:? "load")+            Core.<*> (o Core..:? "query")+      )++instance Core.ToJSON JobConfiguration where+  toJSON JobConfiguration {..} =+    Core.object+      ( Core.catMaybes+          [ ("copy" Core..=) Core.<$> copy,+            ("dryRun" Core..=) Core.<$> dryRun,+            ("extract" Core..=) Core.<$> extract,+            ("jobTimeoutMs" Core..=) Core.. Core.AsText Core.<$> jobTimeoutMs,+            ("jobType" Core..=) Core.<$> jobType,+            ("labels" Core..=) Core.<$> labels,+            ("load" Core..=) Core.<$> load,+            ("query" Core..=) Core.<$> query+          ]+      )++-- | The labels associated with this job. You can use these to organize and group your jobs. Label keys and values can be no longer than 63 characters, can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter and each label in the list must have a different key.+--+-- /See:/ 'newJobConfiguration_Labels' smart constructor.+newtype JobConfiguration_Labels = JobConfiguration_Labels+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'JobConfiguration_Labels' with the minimum fields required to make a request.+newJobConfiguration_Labels ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  JobConfiguration_Labels+newJobConfiguration_Labels additional =+  JobConfiguration_Labels {additional = additional}++instance Core.FromJSON JobConfiguration_Labels where+  parseJSON =+    Core.withObject+      "JobConfiguration_Labels"+      (\o -> JobConfiguration_Labels Core.<$> (Core.parseJSONObject o))++instance Core.ToJSON JobConfiguration_Labels where+  toJSON JobConfiguration_Labels {..} = Core.toJSON additional++-- | JobConfigurationExtract configures a job that exports data from a BigQuery table into Google Cloud Storage.+--+-- /See:/ 'newJobConfigurationExtract' smart constructor.+data JobConfigurationExtract = JobConfigurationExtract+  { -- | Optional. The compression type to use for exported files. Possible values include DEFLATE, GZIP, NONE, SNAPPY, and ZSTD. The default value is NONE. Not all compression formats are support for all file formats. DEFLATE is only supported for Avro. ZSTD is only supported for Parquet. Not applicable when extracting models.+    compression :: (Core.Maybe Core.Text),+    -- | Optional. The exported file format. Possible values include CSV, NEWLINE/DELIMITED/JSON, PARQUET, or AVRO for tables and ML/TF/SAVED/MODEL or ML/XGBOOST/BOOSTER for models. The default value for tables is CSV. Tables with nested or repeated fields cannot be exported as CSV. The default value for models is ML/TF/SAVED/MODEL.+    destinationFormat :: (Core.Maybe Core.Text),+    -- | [Pick one] DEPRECATED: Use destinationUris instead, passing only one URI as necessary. The fully-qualified Google Cloud Storage URI where the extracted table should be written.+    destinationUri :: (Core.Maybe Core.Text),+    -- | [Pick one] A list of fully-qualified Google Cloud Storage URIs where the extracted table should be written.+    destinationUris :: (Core.Maybe [Core.Text]),+    -- | Optional. When extracting data in CSV format, this defines the delimiter to use between fields in the exported data. Default is \',\'. Not applicable when extracting models.+    fieldDelimiter :: (Core.Maybe Core.Text),+    -- | Optional. Model extract options only applicable when extracting models.+    modelExtractOptions :: (Core.Maybe ModelExtractOptions),+    -- | Optional. Whether to print out a header row in the results. Default is true. Not applicable when extracting models.+    printHeader :: Core.Bool,+    -- | A reference to the model being exported.+    sourceModel :: (Core.Maybe ModelReference),+    -- | A reference to the table being exported.+    sourceTable :: (Core.Maybe TableReference),+    -- | Whether to use logical types when extracting to AVRO format. Not applicable when extracting models.+    useAvroLogicalTypes :: (Core.Maybe Core.Bool)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'JobConfigurationExtract' with the minimum fields required to make a request.+newJobConfigurationExtract ::+  JobConfigurationExtract+newJobConfigurationExtract =+  JobConfigurationExtract+    { compression = Core.Nothing,+      destinationFormat = Core.Nothing,+      destinationUri = Core.Nothing,+      destinationUris = Core.Nothing,+      fieldDelimiter = Core.Nothing,+      modelExtractOptions = Core.Nothing,+      printHeader = Core.True,+      sourceModel = Core.Nothing,+      sourceTable = Core.Nothing,+      useAvroLogicalTypes = Core.Nothing+    }++instance Core.FromJSON JobConfigurationExtract where+  parseJSON =+    Core.withObject+      "JobConfigurationExtract"+      ( \o ->+          JobConfigurationExtract+            Core.<$> (o Core..:? "compression")+            Core.<*> (o Core..:? "destinationFormat")+            Core.<*> (o Core..:? "destinationUri")+            Core.<*> (o Core..:? "destinationUris")+            Core.<*> (o Core..:? "fieldDelimiter")+            Core.<*> (o Core..:? "modelExtractOptions")+            Core.<*> (o Core..:? "printHeader" Core..!= Core.True)+            Core.<*> (o Core..:? "sourceModel")+            Core.<*> (o Core..:? "sourceTable")+            Core.<*> (o Core..:? "useAvroLogicalTypes")+      )++instance Core.ToJSON JobConfigurationExtract where+  toJSON JobConfigurationExtract {..} =+    Core.object+      ( Core.catMaybes+          [ ("compression" Core..=) Core.<$> compression,+            ("destinationFormat" Core..=) Core.<$> destinationFormat,+            ("destinationUri" Core..=) Core.<$> destinationUri,+            ("destinationUris" Core..=) Core.<$> destinationUris,+            ("fieldDelimiter" Core..=) Core.<$> fieldDelimiter,+            ("modelExtractOptions" Core..=) Core.<$> modelExtractOptions,+            Core.Just ("printHeader" Core..= printHeader),+            ("sourceModel" Core..=) Core.<$> sourceModel,+            ("sourceTable" Core..=) Core.<$> sourceTable,+            ("useAvroLogicalTypes" Core..=) Core.<$> useAvroLogicalTypes+          ]+      )++-- | JobConfigurationLoad contains the configuration properties for loading data into a destination table.+--+-- /See:/ 'newJobConfigurationLoad' smart constructor.+data JobConfigurationLoad = JobConfigurationLoad+  { -- | Optional. Accept rows that are missing trailing optional columns. The missing values are treated as nulls. If false, records with missing trailing columns are treated as bad records, and if there are too many bad records, an invalid error is returned in the job result. The default value is false. Only applicable to CSV, ignored for other formats.+    allowJaggedRows :: (Core.Maybe Core.Bool),+    -- | Indicates if BigQuery should allow quoted data sections that contain newline characters in a CSV file. The default value is false.+    allowQuotedNewlines :: (Core.Maybe Core.Bool),+    -- | Optional. Indicates if we should automatically infer the options and schema for CSV and JSON sources.+    autodetect :: (Core.Maybe Core.Bool),+    -- | Clustering specification for the destination table.+    clustering :: (Core.Maybe Clustering),+    -- | Optional. Character map supported for column names in CSV\/Parquet loads. Defaults to STRICT and can be overridden by Project Config Service. Using this option with unsupporting load formats will result in an error.+    columnNameCharacterMap :: (Core.Maybe JobConfigurationLoad_ColumnNameCharacterMap),+    -- | Optional. Connection properties which can modify the load job behavior. Currently, only the \'session/id\' connection property is supported, and is used to resolve /SESSION appearing as the dataset id.+    connectionProperties :: (Core.Maybe [ConnectionProperty]),+    -- | Optional. [Experimental] Configures the load job to copy files directly to the destination BigLake managed table, bypassing file content reading and rewriting. Copying files only is supported when all the following are true: * @source_uris@ are located in the same Cloud Storage location as the destination table\'s @storage_uri@ location. * @source_format@ is @PARQUET@. * @destination_table@ is an existing BigLake managed table. The table\'s schema does not have flexible column names. The table\'s columns do not have type parameters other than precision and scale. * No options other than the above are specified.+    copyFilesOnly :: (Core.Maybe Core.Bool),+    -- | Optional. Specifies whether the job is allowed to create new tables. The following values are supported: * CREATE/IF/NEEDED: If the table does not exist, BigQuery creates the table. * CREATE/NEVER: The table must already exist. If it does not, a \'notFound\' error is returned in the job result. The default value is CREATE/IF_NEEDED. Creation, truncation and append actions occur as one atomic update upon job completion.+    createDisposition :: (Core.Maybe Core.Text),+    -- | Optional. If this property is true, the job creates a new session using a randomly generated session_id. To continue using a created session with subsequent queries, pass the existing session identifier as a @ConnectionProperty@ value. The session identifier is returned as part of the @SessionInfo@ message within the query statistics. The new session\'s location will be set to @Job.JobReference.location@ if it is present, otherwise it\'s set to the default location based on existing routing logic.+    createSession :: (Core.Maybe Core.Bool),+    -- | Optional. Date format used for parsing DATE values.+    dateFormat :: (Core.Maybe Core.Text),+    -- | Optional. Date format used for parsing DATETIME values.+    datetimeFormat :: (Core.Maybe Core.Text),+    -- | Defines the list of possible SQL data types to which the source decimal values are converted. This list and the precision and the scale parameters of the decimal field determine the target type. In the order of NUMERIC, BIGNUMERIC, and STRING, a type is picked if it is in the specified list and if it supports the precision and the scale. STRING supports all precision and scale values. If none of the listed types supports the precision and the scale, the type supporting the widest range in the specified list is picked, and if a value exceeds the supported range when reading the data, an error will be thrown. Example: Suppose the value of this field is [\"NUMERIC\", \"BIGNUMERIC\"]. If (precision,scale) is: * (38,9) -> NUMERIC; * (39,9) -> BIGNUMERIC (NUMERIC cannot hold 30 integer digits); * (38,10) -> BIGNUMERIC (NUMERIC cannot hold 10 fractional digits); * (76,38) -> BIGNUMERIC; * (77,38) -> BIGNUMERIC (error if value exceeds supported range). This field cannot contain duplicate types. The order of the types+    -- in this field is ignored. For example, [\"BIGNUMERIC\", \"NUMERIC\"] is the same as [\"NUMERIC\", \"BIGNUMERIC\"] and NUMERIC always takes precedence over BIGNUMERIC. Defaults to [\"NUMERIC\", \"STRING\"] for ORC and [\"NUMERIC\"] for the other file formats.+    decimalTargetTypes :: (Core.Maybe [JobConfigurationLoad_DecimalTargetTypesItem]),+    -- | Custom encryption configuration (e.g., Cloud KMS keys)+    destinationEncryptionConfiguration :: (Core.Maybe EncryptionConfiguration),+    -- | [Required] The destination table to load the data into.+    destinationTable :: (Core.Maybe TableReference),+    -- | Optional. [Experimental] Properties with which to create the destination table if it is new.+    destinationTableProperties :: (Core.Maybe DestinationTableProperties),+    -- | Optional. The character encoding of the data. The supported values are UTF-8, ISO-8859-1, UTF-16BE, UTF-16LE, UTF-32BE, and UTF-32LE. The default value is UTF-8. BigQuery decodes the data after the raw, binary data has been split using the values of the @quote@ and @fieldDelimiter@ properties. If you don\'t specify an encoding, or if you specify a UTF-8 encoding when the CSV file is not UTF-8 encoded, BigQuery attempts to convert the data to UTF-8. Generally, your data loads successfully, but it may not match byte-for-byte what you expect. To avoid this, specify the correct encoding by using the @--encoding@ flag. If BigQuery can\'t convert a character other than the ASCII @0@ character, BigQuery converts the character to the standard Unicode replacement character: �.+    encoding :: (Core.Maybe Core.Text),+    -- | Optional. The separator character for fields in a CSV file. The separator is interpreted as a single byte. For files encoded in ISO-8859-1, any single character can be used as a separator. For files encoded in UTF-8, characters represented in decimal range 1-127 (U+0001-U+007F) can be used without any modification. UTF-8 characters encoded with multiple bytes (i.e. U+0080 and above) will have only the first byte used for separating fields. The remaining bytes will be treated as a part of the field. BigQuery also supports the escape sequence \"\\t\" (U+0009) to specify a tab separator. The default value is comma (\",\", U+002C).+    fieldDelimiter :: (Core.Maybe Core.Text),+    -- | Optional. Specifies how source URIs are interpreted for constructing the file set to load. By default, source URIs are expanded against the underlying storage. You can also specify manifest files to control how the file set is constructed. This option is only applicable to object storage systems.+    fileSetSpecType :: (Core.Maybe JobConfigurationLoad_FileSetSpecType),+    -- | Optional. When set, configures hive partitioning support. Not all storage formats support hive partitioning -- requesting hive partitioning on an unsupported format will lead to an error, as will providing an invalid specification.+    hivePartitioningOptions :: (Core.Maybe HivePartitioningOptions),+    -- | Optional. Indicates if BigQuery should allow extra values that are not represented in the table schema. If true, the extra values are ignored. If false, records with extra columns are treated as bad records, and if there are too many bad records, an invalid error is returned in the job result. The default value is false. The sourceFormat property determines what BigQuery treats as an extra value: CSV: Trailing columns JSON: Named values that don\'t match any column names in the table schema Avro, Parquet, ORC: Fields in the file schema that don\'t exist in the table schema.+    ignoreUnknownValues :: (Core.Maybe Core.Bool),+    -- | Optional. Load option to be used together with source/format newline-delimited JSON to indicate that a variant of JSON is being loaded. To load newline-delimited GeoJSON, specify GEOJSON (and source/format must be set to NEWLINE/DELIMITED/JSON).+    jsonExtension :: (Core.Maybe JobConfigurationLoad_JsonExtension),+    -- | Optional. The maximum number of bad records that BigQuery can ignore when running the job. If the number of bad records exceeds this value, an invalid error is returned in the job result. The default value is 0, which requires that all records are valid. This is only supported for CSV and NEWLINE/DELIMITED/JSON file formats.+    maxBadRecords :: (Core.Maybe Core.Int32),+    -- | Optional. Specifies a string that represents a null value in a CSV file. For example, if you specify \"\\N\", BigQuery interprets \"\\N\" as a null value when loading a CSV file. The default value is the empty string. If you set this property to a custom value, BigQuery throws an error if an empty string is present for all data types except for STRING and BYTE. For STRING and BYTE columns, BigQuery interprets the empty string as an empty value.+    nullMarker :: (Core.Maybe Core.Text),+    -- | Optional. Additional properties to set if sourceFormat is set to PARQUET.+    parquetOptions :: (Core.Maybe ParquetOptions),+    -- | Optional. When sourceFormat is set to \"CSV\", this indicates whether the embedded ASCII control characters (the first 32 characters in the ASCII-table, from \'\\x00\' to \'\\x1F\') are preserved.+    preserveAsciiControlCharacters :: (Core.Maybe Core.Bool),+    -- | If sourceFormat is set to \"DATASTORE_BACKUP\", indicates which entity properties to load into BigQuery from a Cloud Datastore backup. Property names are case sensitive and must be top-level properties. If no properties are specified, BigQuery loads all properties. If any named property isn\'t found in the Cloud Datastore backup, an invalid error is returned in the job result.+    projectionFields :: (Core.Maybe [Core.Text]),+    -- | Optional. The value that is used to quote data sections in a CSV file. BigQuery converts the string to ISO-8859-1 encoding, and then uses the first byte of the encoded string to split the data in its raw, binary state. The default value is a double-quote (\'\"\'). If your data does not contain quoted sections, set the property value to an empty string. If your data contains quoted newline characters, you must also set the allowQuotedNewlines property to true. To include the specific quote character within a quoted value, precede it with an additional matching quote character. For example, if you want to escape the default character \' \" \', use \' \"\" \'. \@default \"+    quote :: (Core.Maybe Core.Text),+    -- | Range partitioning specification for the destination table. Only one of timePartitioning and rangePartitioning should be specified.+    rangePartitioning :: (Core.Maybe RangePartitioning),+    -- | Optional. The user can provide a reference file with the reader schema. This file is only loaded if it is part of source URIs, but is not loaded otherwise. It is enabled for the following formats: AVRO, PARQUET, ORC.+    referenceFileSchemaUri :: (Core.Maybe Core.Text),+    -- | Optional. The schema for the destination table. The schema can be omitted if the destination table already exists, or if you\'re loading data from Google Cloud Datastore.+    schema :: (Core.Maybe TableSchema),+    -- | [Deprecated] The inline schema. For CSV schemas, specify as \"Field1:Type1[,Field2:Type2]*\". For example, \"foo:STRING, bar:INTEGER, baz:FLOAT\".+    schemaInline :: (Core.Maybe Core.Text),+    -- | [Deprecated] The format of the schemaInline property.+    schemaInlineFormat :: (Core.Maybe Core.Text),+    -- | Allows the schema of the destination table to be updated as a side effect of the load job if a schema is autodetected or supplied in the job configuration. Schema update options are supported in two cases: when writeDisposition is WRITE/APPEND; when writeDisposition is WRITE/TRUNCATE and the destination table is a partition of a table, specified by partition decorators. For normal tables, WRITE/TRUNCATE will always overwrite the schema. One or more of the following values are specified: * ALLOW/FIELD/ADDITION: allow adding a nullable field to the schema. * ALLOW/FIELD_RELAXATION: allow relaxing a required field in the original schema to nullable.+    schemaUpdateOptions :: (Core.Maybe [Core.Text]),+    -- | Optional. The number of rows at the top of a CSV file that BigQuery will skip when loading the data. The default value is 0. This property is useful if you have header rows in the file that should be skipped. When autodetect is on, the behavior is the following: * skipLeadingRows unspecified - Autodetect tries to detect headers in the first row. If they are not detected, the row is read as data. Otherwise data is read starting from the second row. * skipLeadingRows is 0 - Instructs autodetect that there are no headers and data should be read starting from the first row. * skipLeadingRows = N > 0 - Autodetect skips N-1 rows and tries to detect headers in row N. If headers are not detected, row N is just skipped. Otherwise row N is used to extract column names for the detected schema.+    skipLeadingRows :: (Core.Maybe Core.Int32),+    -- | Optional. The format of the data files. For CSV files, specify \"CSV\". For datastore backups, specify \"DATASTORE/BACKUP\". For newline-delimited JSON, specify \"NEWLINE/DELIMITED_JSON\". For Avro, specify \"AVRO\". For parquet, specify \"PARQUET\". For orc, specify \"ORC\". The default value is CSV.+    sourceFormat :: (Core.Maybe Core.Text),+    -- | [Required] The fully-qualified URIs that point to your data in Google Cloud. For Google Cloud Storage URIs: Each URI can contain one \'/\' wildcard character and it must come after the \'bucket\' name. Size limits related to load jobs apply to external data sources. For Google Cloud Bigtable URIs: Exactly one URI can be specified and it has be a fully specified and valid HTTPS URL for a Google Cloud Bigtable table. For Google Cloud Datastore backups: Exactly one URI can be specified. Also, the \'/\' wildcard character is not allowed.+    sourceUris :: (Core.Maybe [Core.Text]),+    -- | Optional. Date format used for parsing TIME values.+    timeFormat :: (Core.Maybe Core.Text),+    -- | Time-based partitioning specification for the destination table. Only one of timePartitioning and rangePartitioning should be specified.+    timePartitioning :: (Core.Maybe TimePartitioning),+    -- | Optional. [Experimental] Default time zone that will apply when parsing timestamp values that have no specific time zone.+    timeZone :: (Core.Maybe Core.Text),+    -- | Optional. Date format used for parsing TIMESTAMP values.+    timestampFormat :: (Core.Maybe Core.Text),+    -- | Optional. If sourceFormat is set to \"AVRO\", indicates whether to interpret logical types as the corresponding BigQuery data type (for example, TIMESTAMP), instead of using the raw type (for example, INTEGER).+    useAvroLogicalTypes :: (Core.Maybe Core.Bool),+    -- | Optional. Specifies the action that occurs if the destination table already exists. The following values are supported: * WRITE/TRUNCATE: If the table already exists, BigQuery overwrites the data, removes the constraints and uses the schema from the load job. * WRITE/APPEND: If the table already exists, BigQuery appends the data to the table. * WRITE/EMPTY: If the table already exists and contains data, a \'duplicate\' error is returned in the job result. The default value is WRITE/APPEND. Each action is atomic and only occurs if BigQuery is able to complete the job successfully. Creation, truncation and append actions occur as one atomic update upon job completion.+    writeDisposition :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'JobConfigurationLoad' with the minimum fields required to make a request.+newJobConfigurationLoad ::+  JobConfigurationLoad+newJobConfigurationLoad =+  JobConfigurationLoad+    { allowJaggedRows = Core.Nothing,+      allowQuotedNewlines = Core.Nothing,+      autodetect = Core.Nothing,+      clustering = Core.Nothing,+      columnNameCharacterMap = Core.Nothing,+      connectionProperties = Core.Nothing,+      copyFilesOnly = Core.Nothing,+      createDisposition = Core.Nothing,+      createSession = Core.Nothing,+      dateFormat = Core.Nothing,+      datetimeFormat = Core.Nothing,+      decimalTargetTypes = Core.Nothing,+      destinationEncryptionConfiguration = Core.Nothing,+      destinationTable = Core.Nothing,+      destinationTableProperties = Core.Nothing,+      encoding = Core.Nothing,+      fieldDelimiter = Core.Nothing,+      fileSetSpecType = Core.Nothing,+      hivePartitioningOptions = Core.Nothing,+      ignoreUnknownValues = Core.Nothing,+      jsonExtension = Core.Nothing,+      maxBadRecords = Core.Nothing,+      nullMarker = Core.Nothing,+      parquetOptions = Core.Nothing,+      preserveAsciiControlCharacters = Core.Nothing,+      projectionFields = Core.Nothing,+      quote = Core.Nothing,+      rangePartitioning = Core.Nothing,+      referenceFileSchemaUri = Core.Nothing,+      schema = Core.Nothing,+      schemaInline = Core.Nothing,+      schemaInlineFormat = Core.Nothing,+      schemaUpdateOptions = Core.Nothing,+      skipLeadingRows = Core.Nothing,+      sourceFormat = Core.Nothing,+      sourceUris = Core.Nothing,+      timeFormat = Core.Nothing,+      timePartitioning = Core.Nothing,+      timeZone = Core.Nothing,+      timestampFormat = Core.Nothing,+      useAvroLogicalTypes = Core.Nothing,+      writeDisposition = Core.Nothing+    }++instance Core.FromJSON JobConfigurationLoad where+  parseJSON =+    Core.withObject+      "JobConfigurationLoad"+      ( \o ->+          JobConfigurationLoad+            Core.<$> (o Core..:? "allowJaggedRows")+            Core.<*> (o Core..:? "allowQuotedNewlines")+            Core.<*> (o Core..:? "autodetect")+            Core.<*> (o Core..:? "clustering")+            Core.<*> (o Core..:? "columnNameCharacterMap")+            Core.<*> (o Core..:? "connectionProperties")+            Core.<*> (o Core..:? "copyFilesOnly")+            Core.<*> (o Core..:? "createDisposition")+            Core.<*> (o Core..:? "createSession")+            Core.<*> (o Core..:? "dateFormat")+            Core.<*> (o Core..:? "datetimeFormat")+            Core.<*> (o Core..:? "decimalTargetTypes")+            Core.<*> (o Core..:? "destinationEncryptionConfiguration")+            Core.<*> (o Core..:? "destinationTable")+            Core.<*> (o Core..:? "destinationTableProperties")+            Core.<*> (o Core..:? "encoding")+            Core.<*> (o Core..:? "fieldDelimiter")+            Core.<*> (o Core..:? "fileSetSpecType")+            Core.<*> (o Core..:? "hivePartitioningOptions")+            Core.<*> (o Core..:? "ignoreUnknownValues")+            Core.<*> (o Core..:? "jsonExtension")+            Core.<*> (o Core..:? "maxBadRecords")+            Core.<*> (o Core..:? "nullMarker")+            Core.<*> (o Core..:? "parquetOptions")+            Core.<*> (o Core..:? "preserveAsciiControlCharacters")+            Core.<*> (o Core..:? "projectionFields")+            Core.<*> (o Core..:? "quote")+            Core.<*> (o Core..:? "rangePartitioning")+            Core.<*> (o Core..:? "referenceFileSchemaUri")+            Core.<*> (o Core..:? "schema")+            Core.<*> (o Core..:? "schemaInline")+            Core.<*> (o Core..:? "schemaInlineFormat")+            Core.<*> (o Core..:? "schemaUpdateOptions")+            Core.<*> (o Core..:? "skipLeadingRows")+            Core.<*> (o Core..:? "sourceFormat")+            Core.<*> (o Core..:? "sourceUris")+            Core.<*> (o Core..:? "timeFormat")+            Core.<*> (o Core..:? "timePartitioning")+            Core.<*> (o Core..:? "timeZone")+            Core.<*> (o Core..:? "timestampFormat")+            Core.<*> (o Core..:? "useAvroLogicalTypes")+            Core.<*> (o Core..:? "writeDisposition")+      )++instance Core.ToJSON JobConfigurationLoad where+  toJSON JobConfigurationLoad {..} =+    Core.object+      ( Core.catMaybes+          [ ("allowJaggedRows" Core..=) Core.<$> allowJaggedRows,+            ("allowQuotedNewlines" Core..=) Core.<$> allowQuotedNewlines,+            ("autodetect" Core..=) Core.<$> autodetect,+            ("clustering" Core..=) Core.<$> clustering,+            ("columnNameCharacterMap" Core..=) Core.<$> columnNameCharacterMap,+            ("connectionProperties" Core..=) Core.<$> connectionProperties,+            ("copyFilesOnly" Core..=) Core.<$> copyFilesOnly,+            ("createDisposition" Core..=) Core.<$> createDisposition,+            ("createSession" Core..=) Core.<$> createSession,+            ("dateFormat" Core..=) Core.<$> dateFormat,+            ("datetimeFormat" Core..=) Core.<$> datetimeFormat,+            ("decimalTargetTypes" Core..=) Core.<$> decimalTargetTypes,+            ("destinationEncryptionConfiguration" Core..=)+              Core.<$> destinationEncryptionConfiguration,+            ("destinationTable" Core..=) Core.<$> destinationTable,+            ("destinationTableProperties" Core..=)+              Core.<$> destinationTableProperties,+            ("encoding" Core..=) Core.<$> encoding,+            ("fieldDelimiter" Core..=) Core.<$> fieldDelimiter,+            ("fileSetSpecType" Core..=) Core.<$> fileSetSpecType,+            ("hivePartitioningOptions" Core..=)+              Core.<$> hivePartitioningOptions,+            ("ignoreUnknownValues" Core..=) Core.<$> ignoreUnknownValues,+            ("jsonExtension" Core..=) Core.<$> jsonExtension,+            ("maxBadRecords" Core..=) Core.<$> maxBadRecords,+            ("nullMarker" Core..=) Core.<$> nullMarker,+            ("parquetOptions" Core..=) Core.<$> parquetOptions,+            ("preserveAsciiControlCharacters" Core..=)+              Core.<$> preserveAsciiControlCharacters,+            ("projectionFields" Core..=) Core.<$> projectionFields,+            ("quote" Core..=) Core.<$> quote,+            ("rangePartitioning" Core..=) Core.<$> rangePartitioning,+            ("referenceFileSchemaUri" Core..=) Core.<$> referenceFileSchemaUri,+            ("schema" Core..=) Core.<$> schema,+            ("schemaInline" Core..=) Core.<$> schemaInline,+            ("schemaInlineFormat" Core..=) Core.<$> schemaInlineFormat,+            ("schemaUpdateOptions" Core..=) Core.<$> schemaUpdateOptions,+            ("skipLeadingRows" Core..=) Core.<$> skipLeadingRows,+            ("sourceFormat" Core..=) Core.<$> sourceFormat,+            ("sourceUris" Core..=) Core.<$> sourceUris,+            ("timeFormat" Core..=) Core.<$> timeFormat,+            ("timePartitioning" Core..=) Core.<$> timePartitioning,+            ("timeZone" Core..=) Core.<$> timeZone,+            ("timestampFormat" Core..=) Core.<$> timestampFormat,+            ("useAvroLogicalTypes" Core..=) Core.<$> useAvroLogicalTypes,+            ("writeDisposition" Core..=) Core.<$> writeDisposition+          ]+      )++-- | JobConfigurationQuery configures a BigQuery query job.+--+-- /See:/ 'newJobConfigurationQuery' smart constructor.+data JobConfigurationQuery = JobConfigurationQuery+  { -- | Optional. If true and query uses legacy SQL dialect, allows the query to produce arbitrarily large result tables at a slight cost in performance. Requires destinationTable to be set. For GoogleSQL queries, this flag is ignored and large results are always allowed. However, you must still set destinationTable when result size exceeds the allowed maximum response size.+    allowLargeResults :: Core.Bool,+    -- | Clustering specification for the destination table.+    clustering :: (Core.Maybe Clustering),+    -- | Connection properties which can modify the query behavior.+    connectionProperties :: (Core.Maybe [ConnectionProperty]),+    -- | [Optional] Specifies whether the query should be executed as a continuous query. The default value is false.+    continuous :: (Core.Maybe Core.Bool),+    -- | Optional. Specifies whether the job is allowed to create new tables. The following values are supported: * CREATE/IF/NEEDED: If the table does not exist, BigQuery creates the table. * CREATE/NEVER: The table must already exist. If it does not, a \'notFound\' error is returned in the job result. The default value is CREATE/IF_NEEDED. Creation, truncation and append actions occur as one atomic update upon job completion.+    createDisposition :: (Core.Maybe Core.Text),+    -- | If this property is true, the job creates a new session using a randomly generated session_id. To continue using a created session with subsequent queries, pass the existing session identifier as a @ConnectionProperty@ value. The session identifier is returned as part of the @SessionInfo@ message within the query statistics. The new session\'s location will be set to @Job.JobReference.location@ if it is present, otherwise it\'s set to the default location based on existing routing logic.+    createSession :: (Core.Maybe Core.Bool),+    -- | Optional. Specifies the default dataset to use for unqualified table names in the query. This setting does not alter behavior of unqualified dataset names. Setting the system variable @\@\@dataset_id@ achieves the same behavior. See https:\/\/cloud.google.com\/bigquery\/docs\/reference\/system-variables for more information on system variables.+    defaultDataset :: (Core.Maybe DatasetReference),+    -- | Custom encryption configuration (e.g., Cloud KMS keys)+    destinationEncryptionConfiguration :: (Core.Maybe EncryptionConfiguration),+    -- | Optional. Describes the table where the query results should be stored. This property must be set for large results that exceed the maximum response size. For queries that produce anonymous (cached) results, this field will be populated by BigQuery.+    destinationTable :: (Core.Maybe TableReference),+    -- | Optional. If true and query uses legacy SQL dialect, flattens all nested and repeated fields in the query results. allowLargeResults must be true if this is set to false. For GoogleSQL queries, this flag is ignored and results are never flattened.+    flattenResults :: Core.Bool,+    -- | Optional. [Deprecated] Maximum billing tier allowed for this query. The billing tier controls the amount of compute resources allotted to the query, and multiplies the on-demand cost of the query accordingly. A query that runs within its allotted resources will succeed and indicate its billing tier in statistics.query.billingTier, but if the query exceeds its allotted resources, it will fail with billingTierLimitExceeded. WARNING: The billed byte amount can be multiplied by an amount up to this number! Most users should not need to alter this setting, and we recommend that you avoid introducing new uses of it.+    maximumBillingTier :: Core.Int32,+    -- | Limits the bytes billed for this job. Queries that will have bytes billed beyond this limit will fail (without incurring a charge). If unspecified, this will be set to your project default.+    maximumBytesBilled :: (Core.Maybe Core.Int64),+    -- | GoogleSQL only. Set to POSITIONAL to use positional (?) query parameters or to NAMED to use named (\@myparam) query parameters in this query.+    parameterMode :: (Core.Maybe Core.Text),+    -- | [Deprecated] This property is deprecated.+    preserveNulls :: (Core.Maybe Core.Bool),+    -- | Optional. Specifies a priority for the query. Possible values include INTERACTIVE and BATCH. The default value is INTERACTIVE.+    priority :: (Core.Maybe Core.Text),+    -- | [Required] SQL query text to execute. The useLegacySql field can be used to indicate whether the query uses legacy SQL or GoogleSQL.+    query :: (Core.Maybe Core.Text),+    -- | Query parameters for GoogleSQL queries.+    queryParameters :: (Core.Maybe [QueryParameter]),+    -- | Range partitioning specification for the destination table. Only one of timePartitioning and rangePartitioning should be specified.+    rangePartitioning :: (Core.Maybe RangePartitioning),+    -- | Allows the schema of the destination table to be updated as a side effect of the query job. Schema update options are supported in two cases: when writeDisposition is WRITE/APPEND; when writeDisposition is WRITE/TRUNCATE and the destination table is a partition of a table, specified by partition decorators. For normal tables, WRITE/TRUNCATE will always overwrite the schema. One or more of the following values are specified: * ALLOW/FIELD/ADDITION: allow adding a nullable field to the schema. * ALLOW/FIELD_RELAXATION: allow relaxing a required field in the original schema to nullable.+    schemaUpdateOptions :: (Core.Maybe [Core.Text]),+    -- | Options controlling the execution of scripts.+    scriptOptions :: (Core.Maybe ScriptOptions),+    -- | Output only. System variables for GoogleSQL queries. A system variable is output if the variable is settable and its value differs from the system default. \"\@\@\" prefix is not included in the name of the System variables.+    systemVariables :: (Core.Maybe SystemVariables),+    -- | Optional. You can specify external table definitions, which operate as ephemeral tables that can be queried. These definitions are configured using a JSON map, where the string key represents the table identifier, and the value is the corresponding external data configuration object.+    tableDefinitions :: (Core.Maybe JobConfigurationQuery_TableDefinitions),+    -- | Time-based partitioning specification for the destination table. Only one of timePartitioning and rangePartitioning should be specified.+    timePartitioning :: (Core.Maybe TimePartitioning),+    -- | Optional. Specifies whether to use BigQuery\'s legacy SQL dialect for this query. The default value is true. If set to false, the query will use BigQuery\'s GoogleSQL: https:\/\/cloud.google.com\/bigquery\/sql-reference\/ When useLegacySql is set to false, the value of flattenResults is ignored; query will be run as if flattenResults is false.+    useLegacySql :: Core.Bool,+    -- | Optional. Whether to look for the result in the query cache. The query cache is a best-effort cache that will be flushed whenever tables in the query are modified. Moreover, the query cache is only available when a query does not have a destination table specified. The default value is true.+    useQueryCache :: Core.Bool,+    -- | Describes user-defined function resources used in the query.+    userDefinedFunctionResources :: (Core.Maybe [UserDefinedFunctionResource]),+    -- | Optional. Specifies the action that occurs if the destination table already exists. The following values are supported: * WRITE/TRUNCATE: If the table already exists, BigQuery overwrites the data, removes the constraints, and uses the schema from the query result. * WRITE/APPEND: If the table already exists, BigQuery appends the data to the table. * WRITE/EMPTY: If the table already exists and contains data, a \'duplicate\' error is returned in the job result. The default value is WRITE/EMPTY. Each action is atomic and only occurs if BigQuery is able to complete the job successfully. Creation, truncation and append actions occur as one atomic update upon job completion.+    writeDisposition :: (Core.Maybe Core.Text),+    -- | Optional. This is only supported for a SELECT query using a temporary table. If set, the query is allowed to write results incrementally to the temporary result table. This may incur a performance penalty. This option cannot be used with Legacy SQL. This feature is not yet available.+    writeIncrementalResults :: (Core.Maybe Core.Bool)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'JobConfigurationQuery' with the minimum fields required to make a request.+newJobConfigurationQuery ::+  JobConfigurationQuery+newJobConfigurationQuery =+  JobConfigurationQuery+    { allowLargeResults = Core.False,+      clustering = Core.Nothing,+      connectionProperties = Core.Nothing,+      continuous = Core.Nothing,+      createDisposition = Core.Nothing,+      createSession = Core.Nothing,+      defaultDataset = Core.Nothing,+      destinationEncryptionConfiguration = Core.Nothing,+      destinationTable = Core.Nothing,+      flattenResults = Core.True,+      maximumBillingTier = 1,+      maximumBytesBilled = Core.Nothing,+      parameterMode = Core.Nothing,+      preserveNulls = Core.Nothing,+      priority = Core.Nothing,+      query = Core.Nothing,+      queryParameters = Core.Nothing,+      rangePartitioning = Core.Nothing,+      schemaUpdateOptions = Core.Nothing,+      scriptOptions = Core.Nothing,+      systemVariables = Core.Nothing,+      tableDefinitions = Core.Nothing,+      timePartitioning = Core.Nothing,+      useLegacySql = Core.True,+      useQueryCache = Core.True,+      userDefinedFunctionResources = Core.Nothing,+      writeDisposition = Core.Nothing,+      writeIncrementalResults = Core.Nothing+    }++instance Core.FromJSON JobConfigurationQuery where+  parseJSON =+    Core.withObject+      "JobConfigurationQuery"+      ( \o ->+          JobConfigurationQuery+            Core.<$> (o Core..:? "allowLargeResults" Core..!= Core.False)+            Core.<*> (o Core..:? "clustering")+            Core.<*> (o Core..:? "connectionProperties")+            Core.<*> (o Core..:? "continuous")+            Core.<*> (o Core..:? "createDisposition")+            Core.<*> (o Core..:? "createSession")+            Core.<*> (o Core..:? "defaultDataset")+            Core.<*> (o Core..:? "destinationEncryptionConfiguration")+            Core.<*> (o Core..:? "destinationTable")+            Core.<*> (o Core..:? "flattenResults" Core..!= Core.True)+            Core.<*> (o Core..:? "maximumBillingTier" Core..!= 1)+            Core.<*> ( o+                         Core..:? "maximumBytesBilled"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> (o Core..:? "parameterMode")+            Core.<*> (o Core..:? "preserveNulls")+            Core.<*> (o Core..:? "priority")+            Core.<*> (o Core..:? "query")+            Core.<*> (o Core..:? "queryParameters")+            Core.<*> (o Core..:? "rangePartitioning")+            Core.<*> (o Core..:? "schemaUpdateOptions")+            Core.<*> (o Core..:? "scriptOptions")+            Core.<*> (o Core..:? "systemVariables")+            Core.<*> (o Core..:? "tableDefinitions")+            Core.<*> (o Core..:? "timePartitioning")+            Core.<*> (o Core..:? "useLegacySql" Core..!= Core.True)+            Core.<*> (o Core..:? "useQueryCache" Core..!= Core.True)+            Core.<*> (o Core..:? "userDefinedFunctionResources")+            Core.<*> (o Core..:? "writeDisposition")+            Core.<*> (o Core..:? "writeIncrementalResults")+      )++instance Core.ToJSON JobConfigurationQuery where+  toJSON JobConfigurationQuery {..} =+    Core.object+      ( Core.catMaybes+          [ Core.Just ("allowLargeResults" Core..= allowLargeResults),+            ("clustering" Core..=) Core.<$> clustering,+            ("connectionProperties" Core..=) Core.<$> connectionProperties,+            ("continuous" Core..=) Core.<$> continuous,+            ("createDisposition" Core..=) Core.<$> createDisposition,+            ("createSession" Core..=) Core.<$> createSession,+            ("defaultDataset" Core..=) Core.<$> defaultDataset,+            ("destinationEncryptionConfiguration" Core..=)+              Core.<$> destinationEncryptionConfiguration,+            ("destinationTable" Core..=) Core.<$> destinationTable,+            Core.Just ("flattenResults" Core..= flattenResults),+            Core.Just ("maximumBillingTier" Core..= maximumBillingTier),+            ("maximumBytesBilled" Core..=)+              Core.. Core.AsText+              Core.<$> maximumBytesBilled,+            ("parameterMode" Core..=) Core.<$> parameterMode,+            ("preserveNulls" Core..=) Core.<$> preserveNulls,+            ("priority" Core..=) Core.<$> priority,+            ("query" Core..=) Core.<$> query,+            ("queryParameters" Core..=) Core.<$> queryParameters,+            ("rangePartitioning" Core..=) Core.<$> rangePartitioning,+            ("schemaUpdateOptions" Core..=) Core.<$> schemaUpdateOptions,+            ("scriptOptions" Core..=) Core.<$> scriptOptions,+            ("systemVariables" Core..=) Core.<$> systemVariables,+            ("tableDefinitions" Core..=) Core.<$> tableDefinitions,+            ("timePartitioning" Core..=) Core.<$> timePartitioning,+            Core.Just ("useLegacySql" Core..= useLegacySql),+            Core.Just ("useQueryCache" Core..= useQueryCache),+            ("userDefinedFunctionResources" Core..=)+              Core.<$> userDefinedFunctionResources,+            ("writeDisposition" Core..=) Core.<$> writeDisposition,+            ("writeIncrementalResults" Core..=)+              Core.<$> writeIncrementalResults+          ]+      )++-- | Optional. You can specify external table definitions, which operate as ephemeral tables that can be queried. These definitions are configured using a JSON map, where the string key represents the table identifier, and the value is the corresponding external data configuration object.+--+-- /See:/ 'newJobConfigurationQuery_TableDefinitions' smart constructor.+newtype JobConfigurationQuery_TableDefinitions = JobConfigurationQuery_TableDefinitions+  { additional :: (Core.HashMap Core.Text ExternalDataConfiguration)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'JobConfigurationQuery_TableDefinitions' with the minimum fields required to make a request.+newJobConfigurationQuery_TableDefinitions ::+  -- |  See 'additional'.+  Core.HashMap Core.Text ExternalDataConfiguration ->+  JobConfigurationQuery_TableDefinitions+newJobConfigurationQuery_TableDefinitions additional =+  JobConfigurationQuery_TableDefinitions {additional = additional}++instance Core.FromJSON JobConfigurationQuery_TableDefinitions where+  parseJSON =+    Core.withObject+      "JobConfigurationQuery_TableDefinitions"+      ( \o ->+          JobConfigurationQuery_TableDefinitions+            Core.<$> (Core.parseJSONObject o)+      )++instance Core.ToJSON JobConfigurationQuery_TableDefinitions where+  toJSON JobConfigurationQuery_TableDefinitions {..} =+    Core.toJSON additional++-- | JobConfigurationTableCopy configures a job that copies data from one table to another. For more information on copying tables, see <https://cloud.google.com/bigquery/docs/managing-tables#copy-table Copy a table>.+--+-- /See:/ 'newJobConfigurationTableCopy' smart constructor.+data JobConfigurationTableCopy = JobConfigurationTableCopy+  { -- | Optional. Specifies whether the job is allowed to create new tables. The following values are supported: * CREATE/IF/NEEDED: If the table does not exist, BigQuery creates the table. * CREATE/NEVER: The table must already exist. If it does not, a \'notFound\' error is returned in the job result. The default value is CREATE/IF_NEEDED. Creation, truncation and append actions occur as one atomic update upon job completion.+    createDisposition :: (Core.Maybe Core.Text),+    -- | Custom encryption configuration (e.g., Cloud KMS keys).+    destinationEncryptionConfiguration :: (Core.Maybe EncryptionConfiguration),+    -- | Optional. The time when the destination table expires. Expired tables will be deleted and their storage reclaimed.+    destinationExpirationTime :: (Core.Maybe Core.DateTime),+    -- | [Required] The destination table.+    destinationTable :: (Core.Maybe TableReference),+    -- | Optional. Supported operation types in table copy job.+    operationType :: (Core.Maybe JobConfigurationTableCopy_OperationType),+    -- | [Pick one] Source table to copy.+    sourceTable :: (Core.Maybe TableReference),+    -- | [Pick one] Source tables to copy.+    sourceTables :: (Core.Maybe [TableReference]),+    -- | Optional. Specifies the action that occurs if the destination table already exists. The following values are supported: * WRITE/TRUNCATE: If the table already exists, BigQuery overwrites the table data and uses the schema and table constraints from the source table. * WRITE/APPEND: If the table already exists, BigQuery appends the data to the table. * WRITE/EMPTY: If the table already exists and contains data, a \'duplicate\' error is returned in the job result. The default value is WRITE/EMPTY. Each action is atomic and only occurs if BigQuery is able to complete the job successfully. Creation, truncation and append actions occur as one atomic update upon job completion.+    writeDisposition :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'JobConfigurationTableCopy' with the minimum fields required to make a request.+newJobConfigurationTableCopy ::+  JobConfigurationTableCopy+newJobConfigurationTableCopy =+  JobConfigurationTableCopy+    { createDisposition = Core.Nothing,+      destinationEncryptionConfiguration = Core.Nothing,+      destinationExpirationTime = Core.Nothing,+      destinationTable = Core.Nothing,+      operationType = Core.Nothing,+      sourceTable = Core.Nothing,+      sourceTables = Core.Nothing,+      writeDisposition = Core.Nothing+    }++instance Core.FromJSON JobConfigurationTableCopy where+  parseJSON =+    Core.withObject+      "JobConfigurationTableCopy"+      ( \o ->+          JobConfigurationTableCopy+            Core.<$> (o Core..:? "createDisposition")+            Core.<*> (o Core..:? "destinationEncryptionConfiguration")+            Core.<*> (o Core..:? "destinationExpirationTime")+            Core.<*> (o Core..:? "destinationTable")+            Core.<*> (o Core..:? "operationType")+            Core.<*> (o Core..:? "sourceTable")+            Core.<*> (o Core..:? "sourceTables")+            Core.<*> (o Core..:? "writeDisposition")+      )++instance Core.ToJSON JobConfigurationTableCopy where+  toJSON JobConfigurationTableCopy {..} =+    Core.object+      ( Core.catMaybes+          [ ("createDisposition" Core..=) Core.<$> createDisposition,+            ("destinationEncryptionConfiguration" Core..=)+              Core.<$> destinationEncryptionConfiguration,+            ("destinationExpirationTime" Core..=)+              Core.<$> destinationExpirationTime,+            ("destinationTable" Core..=) Core.<$> destinationTable,+            ("operationType" Core..=) Core.<$> operationType,+            ("sourceTable" Core..=) Core.<$> sourceTable,+            ("sourceTables" Core..=) Core.<$> sourceTables,+            ("writeDisposition" Core..=) Core.<$> writeDisposition+          ]+      )++-- | Reason about why a Job was created from a <https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs/query jobs.query> method when used with @JOB_CREATION_OPTIONAL@ Job creation mode. For <https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs/insert jobs.insert> method calls it will always be @REQUESTED@. <https://cloud.google.com/products/#product-launch-stages Preview>+--+-- /See:/ 'newJobCreationReason' smart constructor.+newtype JobCreationReason = JobCreationReason+  { -- | Output only. Specifies the high level reason why a Job was created.+    code :: (Core.Maybe JobCreationReason_Code)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'JobCreationReason' with the minimum fields required to make a request.+newJobCreationReason ::+  JobCreationReason+newJobCreationReason = JobCreationReason {code = Core.Nothing}++instance Core.FromJSON JobCreationReason where+  parseJSON =+    Core.withObject+      "JobCreationReason"+      (\o -> JobCreationReason Core.<$> (o Core..:? "code"))++instance Core.ToJSON JobCreationReason where+  toJSON JobCreationReason {..} =+    Core.object (Core.catMaybes [("code" Core..=) Core.<$> code])++-- | JobList is the response format for a jobs.list call.+--+-- /See:/ 'newJobList' smart constructor.+data JobList = JobList+  { -- | A hash of this page of results.+    etag :: (Core.Maybe Core.Text),+    -- | List of jobs that were requested.+    jobs :: (Core.Maybe [JobList_JobsItem]),+    -- | The resource type of the response.+    kind :: Core.Text,+    -- | A token to request the next page of results.+    nextPageToken :: (Core.Maybe Core.Text),+    -- | A list of skipped locations that were unreachable. For more information about BigQuery locations, see: https:\/\/cloud.google.com\/bigquery\/docs\/locations. Example: \"europe-west5\"+    unreachable :: (Core.Maybe [Core.Text])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'JobList' with the minimum fields required to make a request.+newJobList ::+  JobList+newJobList =+  JobList+    { etag = Core.Nothing,+      jobs = Core.Nothing,+      kind = "bigquery#jobList",+      nextPageToken = Core.Nothing,+      unreachable = Core.Nothing+    }++instance Core.FromJSON JobList where+  parseJSON =+    Core.withObject+      "JobList"+      ( \o ->+          JobList+            Core.<$> (o Core..:? "etag")+            Core.<*> (o Core..:? "jobs")+            Core.<*> (o Core..:? "kind" Core..!= "bigquery#jobList")+            Core.<*> (o Core..:? "nextPageToken")+            Core.<*> (o Core..:? "unreachable")+      )++instance Core.ToJSON JobList where+  toJSON JobList {..} =+    Core.object+      ( Core.catMaybes+          [ ("etag" Core..=) Core.<$> etag,+            ("jobs" Core..=) Core.<$> jobs,+            Core.Just ("kind" Core..= kind),+            ("nextPageToken" Core..=) Core.<$> nextPageToken,+            ("unreachable" Core..=) Core.<$> unreachable+          ]+      )++-- | ListFormatJob is a partial projection of job information returned as part of a jobs.list response.+--+-- /See:/ 'newJobList_JobsItem' smart constructor.+data JobList_JobsItem = JobList_JobsItem+  { -- | Required. Describes the job configuration.+    configuration :: (Core.Maybe JobConfiguration),+    -- | A result object that will be present only if the job has failed.+    errorResult :: (Core.Maybe ErrorProto),+    -- | Unique opaque ID of the job.+    id :: (Core.Maybe Core.Text),+    -- | Unique opaque ID of the job.+    jobReference :: (Core.Maybe JobReference),+    -- | The resource type.+    kind :: (Core.Maybe Core.Text),+    -- | [Full-projection-only] String representation of identity of requesting party. Populated for both first- and third-party identities. Only present for APIs that support third-party identities.+    principalSubject :: (Core.Maybe Core.Text),+    -- | Running state of the job. When the state is DONE, errorResult can be checked to determine whether the job succeeded or failed.+    state :: (Core.Maybe Core.Text),+    -- | Output only. Information about the job, including starting time and ending time of the job.+    statistics :: (Core.Maybe JobStatistics),+    -- | [Full-projection-only] Describes the status of this job.+    status :: (Core.Maybe JobStatus),+    -- | [Full-projection-only] Email address of the user who ran the job.+    userEmail :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'JobList_JobsItem' with the minimum fields required to make a request.+newJobList_JobsItem ::+  JobList_JobsItem+newJobList_JobsItem =+  JobList_JobsItem+    { configuration = Core.Nothing,+      errorResult = Core.Nothing,+      id = Core.Nothing,+      jobReference = Core.Nothing,+      kind = Core.Nothing,+      principalSubject = Core.Nothing,+      state = Core.Nothing,+      statistics = Core.Nothing,+      status = Core.Nothing,+      userEmail = Core.Nothing+    }++instance Core.FromJSON JobList_JobsItem where+  parseJSON =+    Core.withObject+      "JobList_JobsItem"+      ( \o ->+          JobList_JobsItem+            Core.<$> (o Core..:? "configuration")+            Core.<*> (o Core..:? "errorResult")+            Core.<*> (o Core..:? "id")+            Core.<*> (o Core..:? "jobReference")+            Core.<*> (o Core..:? "kind")+            Core.<*> (o Core..:? "principal_subject")+            Core.<*> (o Core..:? "state")+            Core.<*> (o Core..:? "statistics")+            Core.<*> (o Core..:? "status")+            Core.<*> (o Core..:? "user_email")+      )++instance Core.ToJSON JobList_JobsItem where+  toJSON JobList_JobsItem {..} =+    Core.object+      ( Core.catMaybes+          [ ("configuration" Core..=) Core.<$> configuration,+            ("errorResult" Core..=) Core.<$> errorResult,+            ("id" Core..=) Core.<$> id,+            ("jobReference" Core..=) Core.<$> jobReference,+            ("kind" Core..=) Core.<$> kind,+            ("principal_subject" Core..=) Core.<$> principalSubject,+            ("state" Core..=) Core.<$> state,+            ("statistics" Core..=) Core.<$> statistics,+            ("status" Core..=) Core.<$> status,+            ("user_email" Core..=) Core.<$> userEmail+          ]+      )++-- | A job reference is a fully qualified identifier for referring to a job.+--+-- /See:/ 'newJobReference' smart constructor.+data JobReference = JobReference+  { -- | Required. The ID of the job. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-). The maximum length is 1,024 characters.+    jobId :: (Core.Maybe Core.Text),+    -- | Optional. The geographic location of the job. The default value is US. For more information about BigQuery locations, see: https:\/\/cloud.google.com\/bigquery\/docs\/locations+    location :: (Core.Maybe Core.Text),+    -- | Required. The ID of the project containing this job.+    projectId :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'JobReference' with the minimum fields required to make a request.+newJobReference ::+  JobReference+newJobReference =+  JobReference+    { jobId = Core.Nothing,+      location = Core.Nothing,+      projectId = Core.Nothing+    }++instance Core.FromJSON JobReference where+  parseJSON =+    Core.withObject+      "JobReference"+      ( \o ->+          JobReference+            Core.<$> (o Core..:? "jobId")+            Core.<*> (o Core..:? "location")+            Core.<*> (o Core..:? "projectId")+      )++instance Core.ToJSON JobReference where+  toJSON JobReference {..} =+    Core.object+      ( Core.catMaybes+          [ ("jobId" Core..=) Core.<$> jobId,+            ("location" Core..=) Core.<$> location,+            ("projectId" Core..=) Core.<$> projectId+          ]+      )++-- | Statistics for a single job execution.+--+-- /See:/ 'newJobStatistics' smart constructor.+data JobStatistics = JobStatistics+  { -- | Output only. [TrustedTester] Job progress (0.0 -> 1.0) for LOAD and EXTRACT jobs.+    completionRatio :: (Core.Maybe Core.Double),+    -- | Output only. Statistics for a copy job.+    copy :: (Core.Maybe JobStatistics5),+    -- | Output only. Creation time of this job, in milliseconds since the epoch. This field will be present on all jobs.+    creationTime :: (Core.Maybe Core.Int64),+    -- | Output only. Statistics for data-masking. Present only for query and extract jobs.+    dataMaskingStatistics :: (Core.Maybe DataMaskingStatistics),+    -- | Output only. Name of edition corresponding to the reservation for this job at the time of this update.+    edition :: (Core.Maybe JobStatistics_Edition),+    -- | Output only. End time of this job, in milliseconds since the epoch. This field will be present whenever a job is in the DONE state.+    endTime :: (Core.Maybe Core.Int64),+    -- | Output only. Statistics for an extract job.+    extract :: (Core.Maybe JobStatistics4),+    -- | Output only. The duration in milliseconds of the execution of the final attempt of this job, as BigQuery may internally re-attempt to execute the job.+    finalExecutionDurationMs :: (Core.Maybe Core.Int64),+    -- | Output only. Statistics for a load job.+    load :: (Core.Maybe JobStatistics3),+    -- | Output only. Number of child jobs executed.+    numChildJobs :: (Core.Maybe Core.Int64),+    -- | Output only. If this is a child job, specifies the job ID of the parent.+    parentJobId :: (Core.Maybe Core.Text),+    -- | Output only. Statistics for a query job.+    query :: (Core.Maybe JobStatistics2),+    -- | Output only. Quotas which delayed this job\'s start time.+    quotaDeferments :: (Core.Maybe [Core.Text]),+    -- | Output only. Job resource usage breakdown by reservation. This field reported misleading information and will no longer be populated.+    reservationUsage :: (Core.Maybe [JobStatistics_ReservationUsageItem]),+    -- | Output only. Name of the primary reservation assigned to this job. Note that this could be different than reservations reported in the reservation usage field if parent reservations were used to execute this job.+    reservationId :: (Core.Maybe Core.Text),+    -- | Output only. Statistics for row-level security. Present only for query and extract jobs.+    rowLevelSecurityStatistics :: (Core.Maybe RowLevelSecurityStatistics),+    -- | Output only. If this a child job of a script, specifies information about the context of this job within the script.+    scriptStatistics :: (Core.Maybe ScriptStatistics),+    -- | Output only. Information of the session if this job is part of one.+    sessionInfo :: (Core.Maybe SessionInfo),+    -- | Output only. Start time of this job, in milliseconds since the epoch. This field will be present when the job transitions from the PENDING state to either RUNNING or DONE.+    startTime :: (Core.Maybe Core.Int64),+    -- | Output only. Total bytes processed for the job.+    totalBytesProcessed :: (Core.Maybe Core.Int64),+    -- | Output only. Slot-milliseconds for the job.+    totalSlotMs :: (Core.Maybe Core.Int64),+    -- | Output only. [Alpha] Information of the multi-statement transaction if this job is part of one. This property is only expected on a child job or a job that is in a session. A script parent job is not part of the transaction started in the script.+    transactionInfo :: (Core.Maybe TransactionInfo)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'JobStatistics' with the minimum fields required to make a request.+newJobStatistics ::+  JobStatistics+newJobStatistics =+  JobStatistics+    { completionRatio = Core.Nothing,+      copy = Core.Nothing,+      creationTime = Core.Nothing,+      dataMaskingStatistics = Core.Nothing,+      edition = Core.Nothing,+      endTime = Core.Nothing,+      extract = Core.Nothing,+      finalExecutionDurationMs = Core.Nothing,+      load = Core.Nothing,+      numChildJobs = Core.Nothing,+      parentJobId = Core.Nothing,+      query = Core.Nothing,+      quotaDeferments = Core.Nothing,+      reservationUsage = Core.Nothing,+      reservationId = Core.Nothing,+      rowLevelSecurityStatistics = Core.Nothing,+      scriptStatistics = Core.Nothing,+      sessionInfo = Core.Nothing,+      startTime = Core.Nothing,+      totalBytesProcessed = Core.Nothing,+      totalSlotMs = Core.Nothing,+      transactionInfo = Core.Nothing+    }++instance Core.FromJSON JobStatistics where+  parseJSON =+    Core.withObject+      "JobStatistics"+      ( \o ->+          JobStatistics+            Core.<$> (o Core..:? "completionRatio")+            Core.<*> (o Core..:? "copy")+            Core.<*> (o Core..:? "creationTime" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "dataMaskingStatistics")+            Core.<*> (o Core..:? "edition")+            Core.<*> (o Core..:? "endTime" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "extract")+            Core.<*> ( o+                         Core..:? "finalExecutionDurationMs"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> (o Core..:? "load")+            Core.<*> (o Core..:? "numChildJobs" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "parentJobId")+            Core.<*> (o Core..:? "query")+            Core.<*> (o Core..:? "quotaDeferments")+            Core.<*> (o Core..:? "reservationUsage")+            Core.<*> (o Core..:? "reservation_id")+            Core.<*> (o Core..:? "rowLevelSecurityStatistics")+            Core.<*> (o Core..:? "scriptStatistics")+            Core.<*> (o Core..:? "sessionInfo")+            Core.<*> (o Core..:? "startTime" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> ( o+                         Core..:? "totalBytesProcessed"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> (o Core..:? "totalSlotMs" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "transactionInfo")+      )++instance Core.ToJSON JobStatistics where+  toJSON JobStatistics {..} =+    Core.object+      ( Core.catMaybes+          [ ("completionRatio" Core..=) Core.<$> completionRatio,+            ("copy" Core..=) Core.<$> copy,+            ("creationTime" Core..=) Core.. Core.AsText Core.<$> creationTime,+            ("dataMaskingStatistics" Core..=) Core.<$> dataMaskingStatistics,+            ("edition" Core..=) Core.<$> edition,+            ("endTime" Core..=) Core.. Core.AsText Core.<$> endTime,+            ("extract" Core..=) Core.<$> extract,+            ("finalExecutionDurationMs" Core..=)+              Core.. Core.AsText+              Core.<$> finalExecutionDurationMs,+            ("load" Core..=) Core.<$> load,+            ("numChildJobs" Core..=) Core.. Core.AsText Core.<$> numChildJobs,+            ("parentJobId" Core..=) Core.<$> parentJobId,+            ("query" Core..=) Core.<$> query,+            ("quotaDeferments" Core..=) Core.<$> quotaDeferments,+            ("reservationUsage" Core..=) Core.<$> reservationUsage,+            ("reservation_id" Core..=) Core.<$> reservationId,+            ("rowLevelSecurityStatistics" Core..=)+              Core.<$> rowLevelSecurityStatistics,+            ("scriptStatistics" Core..=) Core.<$> scriptStatistics,+            ("sessionInfo" Core..=) Core.<$> sessionInfo,+            ("startTime" Core..=) Core.. Core.AsText Core.<$> startTime,+            ("totalBytesProcessed" Core..=)+              Core.. Core.AsText+              Core.<$> totalBytesProcessed,+            ("totalSlotMs" Core..=) Core.. Core.AsText Core.<$> totalSlotMs,+            ("transactionInfo" Core..=) Core.<$> transactionInfo+          ]+      )++-- | Job resource usage breakdown by reservation.+--+-- /See:/ 'newJobStatistics_ReservationUsageItem' smart constructor.+data JobStatistics_ReservationUsageItem = JobStatistics_ReservationUsageItem+  { -- | Reservation name or \"unreserved\" for on-demand resource usage and multi-statement queries.+    name :: (Core.Maybe Core.Text),+    -- | Total slot milliseconds used by the reservation for a particular job.+    slotMs :: (Core.Maybe Core.Int64)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'JobStatistics_ReservationUsageItem' with the minimum fields required to make a request.+newJobStatistics_ReservationUsageItem ::+  JobStatistics_ReservationUsageItem+newJobStatistics_ReservationUsageItem =+  JobStatistics_ReservationUsageItem+    { name = Core.Nothing,+      slotMs = Core.Nothing+    }++instance Core.FromJSON JobStatistics_ReservationUsageItem where+  parseJSON =+    Core.withObject+      "JobStatistics_ReservationUsageItem"+      ( \o ->+          JobStatistics_ReservationUsageItem+            Core.<$> (o Core..:? "name")+            Core.<*> (o Core..:? "slotMs" Core.<&> Core.fmap Core.fromAsText)+      )++instance Core.ToJSON JobStatistics_ReservationUsageItem where+  toJSON JobStatistics_ReservationUsageItem {..} =+    Core.object+      ( Core.catMaybes+          [ ("name" Core..=) Core.<$> name,+            ("slotMs" Core..=) Core.. Core.AsText Core.<$> slotMs+          ]+      )++-- | Statistics for a query job.+--+-- /See:/ 'newJobStatistics2' smart constructor.+data JobStatistics2 = JobStatistics2+  { -- | Output only. BI Engine specific Statistics.+    biEngineStatistics :: (Core.Maybe BiEngineStatistics),+    -- | Output only. Billing tier for the job. This is a BigQuery-specific concept which is not related to the Google Cloud notion of \"free tier\". The value here is a measure of the query\'s resource consumption relative to the amount of data scanned. For on-demand queries, the limit is 100, and all queries within this limit are billed at the standard on-demand rates. On-demand queries that exceed this limit will fail with a billingTierLimitExceeded error.+    billingTier :: (Core.Maybe Core.Int32),+    -- | Output only. Whether the query result was fetched from the query cache.+    cacheHit :: (Core.Maybe Core.Bool),+    -- | Output only. Referenced dataset for DCL statement.+    dclTargetDataset :: (Core.Maybe DatasetReference),+    -- | Output only. Referenced table for DCL statement.+    dclTargetTable :: (Core.Maybe TableReference),+    -- | Output only. Referenced view for DCL statement.+    dclTargetView :: (Core.Maybe TableReference),+    -- | Output only. The number of row access policies affected by a DDL statement. Present only for DROP ALL ROW ACCESS POLICIES queries.+    ddlAffectedRowAccessPolicyCount :: (Core.Maybe Core.Int64),+    -- | Output only. The table after rename. Present only for ALTER TABLE RENAME TO query.+    ddlDestinationTable :: (Core.Maybe TableReference),+    -- | Output only. The DDL operation performed, possibly dependent on the pre-existence of the DDL target.+    ddlOperationPerformed :: (Core.Maybe Core.Text),+    -- | Output only. The DDL target dataset. Present only for CREATE\/ALTER\/DROP SCHEMA(dataset) queries.+    ddlTargetDataset :: (Core.Maybe DatasetReference),+    -- | Output only. [Beta] The DDL target routine. Present only for CREATE\/DROP FUNCTION\/PROCEDURE queries.+    ddlTargetRoutine :: (Core.Maybe RoutineReference),+    -- | Output only. The DDL target row access policy. Present only for CREATE\/DROP ROW ACCESS POLICY queries.+    ddlTargetRowAccessPolicy :: (Core.Maybe RowAccessPolicyReference),+    -- | Output only. The DDL target table. Present only for CREATE\/DROP TABLE\/VIEW and DROP ALL ROW ACCESS POLICIES queries.+    ddlTargetTable :: (Core.Maybe TableReference),+    -- | Output only. Detailed statistics for DML statements INSERT, UPDATE, DELETE, MERGE or TRUNCATE.+    dmlStats :: (Core.Maybe DmlStatistics),+    -- | Output only. The original estimate of bytes processed for the job.+    estimatedBytesProcessed :: (Core.Maybe Core.Int64),+    -- | Output only. Stats for EXPORT DATA statement.+    exportDataStatistics :: (Core.Maybe ExportDataStatistics),+    -- | Output only. Job cost breakdown as bigquery internal cost and external service costs.+    externalServiceCosts :: (Core.Maybe [ExternalServiceCost]),+    -- | Output only. Statistics for a LOAD query.+    loadQueryStatistics :: (Core.Maybe LoadQueryStatistics),+    -- | Output only. Statistics of materialized views of a query job.+    materializedViewStatistics :: (Core.Maybe MaterializedViewStatistics),+    -- | Output only. Statistics of metadata cache usage in a query for BigLake tables.+    metadataCacheStatistics :: (Core.Maybe MetadataCacheStatistics),+    -- | Output only. Statistics of a BigQuery ML training job.+    mlStatistics :: (Core.Maybe MlStatistics),+    -- | Deprecated.+    modelTraining :: (Core.Maybe BigQueryModelTraining),+    -- | Deprecated.+    modelTrainingCurrentIteration :: (Core.Maybe Core.Int32),+    -- | Deprecated.+    modelTrainingExpectedTotalIteration :: (Core.Maybe Core.Int64),+    -- | Output only. The number of rows affected by a DML statement. Present only for DML statements INSERT, UPDATE or DELETE.+    numDmlAffectedRows :: (Core.Maybe Core.Int64),+    -- | Output only. Performance insights.+    performanceInsights :: (Core.Maybe PerformanceInsights),+    -- | Output only. Query optimization information for a QUERY job.+    queryInfo :: (Core.Maybe QueryInfo),+    -- | Output only. Describes execution plan for the query.+    queryPlan :: (Core.Maybe [ExplainQueryStage]),+    -- | Output only. Referenced routines for the job.+    referencedRoutines :: (Core.Maybe [RoutineReference]),+    -- | Output only. Referenced tables for the job. Queries that reference more than 50 tables will not have a complete list.+    referencedTables :: (Core.Maybe [TableReference]),+    -- | Output only. Job resource usage breakdown by reservation. This field reported misleading information and will no longer be populated.+    reservationUsage :: (Core.Maybe [JobStatistics2_ReservationUsageItem]),+    -- | Output only. The schema of the results. Present only for successful dry run of non-legacy SQL queries.+    schema :: (Core.Maybe TableSchema),+    -- | Output only. Search query specific statistics.+    searchStatistics :: (Core.Maybe SearchStatistics),+    -- | Output only. Statistics of a Spark procedure job.+    sparkStatistics :: (Core.Maybe SparkStatistics),+    -- | Output only. The type of query statement, if valid. Possible values: * @SELECT@: <https://cloud.google.com/bigquery/docs/reference/standard-sql/query-syntax#select_list SELECT> statement. * @ASSERT@: <https://cloud.google.com/bigquery/docs/reference/standard-sql/debugging-statements#assert ASSERT> statement. * @INSERT@: <https://cloud.google.com/bigquery/docs/reference/standard-sql/dml-syntax#insert_statement INSERT> statement. * @UPDATE@: <https://cloud.google.com/bigquery/docs/reference/standard-sql/dml-syntax#update_statement UPDATE> statement. * @DELETE@: <https://cloud.google.com/bigquery/docs/reference/standard-sql/data-manipulation-language DELETE> statement. * @MERGE@: <https://cloud.google.com/bigquery/docs/reference/standard-sql/data-manipulation-language MERGE> statement. * @CREATE_TABLE@: <https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#create_table_statement CREATE TABLE> statement, without @AS SELECT@. * @CREATE_TABLE_AS_SELECT@:+    -- <https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#create_table_statement CREATE TABLE AS SELECT> statement. * @CREATE_VIEW@: <https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#create_view_statement CREATE VIEW> statement. * @CREATE_MODEL@: <https://cloud.google.com/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-create#create_model_statement CREATE MODEL> statement. * @CREATE_MATERIALIZED_VIEW@: <https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#create_materialized_view_statement CREATE MATERIALIZED VIEW> statement. * @CREATE_FUNCTION@: <https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#create_function_statement CREATE FUNCTION> statement. * @CREATE_TABLE_FUNCTION@: <https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#create_table_function_statement CREATE TABLE FUNCTION> statement. * @CREATE_PROCEDURE@:+    -- <https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#create_procedure CREATE PROCEDURE> statement. * @CREATE_ROW_ACCESS_POLICY@: <https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#create_row_access_policy_statement CREATE ROW ACCESS POLICY> statement. * @CREATE_SCHEMA@: <https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#create_schema_statement CREATE SCHEMA> statement. * @CREATE_SNAPSHOT_TABLE@: <https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#create_snapshot_table_statement CREATE SNAPSHOT TABLE> statement. * @CREATE_SEARCH_INDEX@: <https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#create_search_index_statement CREATE SEARCH INDEX> statement. * @DROP_TABLE@: <https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#drop_table_statement DROP TABLE> statement. * @DROP_EXTERNAL_TABLE@:+    -- <https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#drop_external_table_statement DROP EXTERNAL TABLE> statement. * @DROP_VIEW@: <https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#drop_view_statement DROP VIEW> statement. * @DROP_MODEL@: <https://cloud.google.com/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-drop-model DROP MODEL> statement. * @DROP_MATERIALIZED_VIEW@: <https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#drop_materialized_view_statement DROP MATERIALIZED VIEW> statement. * @DROP_FUNCTION@ : <https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#drop_function_statement DROP FUNCTION> statement. * @DROP_TABLE_FUNCTION@ : <https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#drop_table_function DROP TABLE FUNCTION> statement. * @DROP_PROCEDURE@:+    -- <https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#drop_procedure_statement DROP PROCEDURE> statement. * @DROP_SEARCH_INDEX@: <https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#drop_search_index DROP SEARCH INDEX> statement. * @DROP_SCHEMA@: <https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#drop_schema_statement DROP SCHEMA> statement. * @DROP_SNAPSHOT_TABLE@: <https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#drop_snapshot_table_statement DROP SNAPSHOT TABLE> statement. * @DROP_ROW_ACCESS_POLICY@: <https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#drop_row_access_policy_statement DROP [ALL] ROW ACCESS POLICY|POLICIES> statement. * @ALTER_TABLE@: <https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#alter_table_set_options_statement ALTER TABLE> statement. * @ALTER_VIEW@:+    -- <https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#alter_view_set_options_statement ALTER VIEW> statement. * @ALTER_MATERIALIZED_VIEW@: <https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#alter_materialized_view_set_options_statement ALTER MATERIALIZED VIEW> statement. * @ALTER_SCHEMA@: <https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#alter_schema_set_options_statement ALTER SCHEMA> statement. * @SCRIPT@: <https://cloud.google.com/bigquery/docs/reference/standard-sql/procedural-language SCRIPT>. * @TRUNCATE_TABLE@: <https://cloud.google.com/bigquery/docs/reference/standard-sql/dml-syntax#truncate_table_statement TRUNCATE TABLE> statement. * @CREATE_EXTERNAL_TABLE@: <https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#create_external_table_statement CREATE EXTERNAL TABLE> statement. * @EXPORT_DATA@:+    -- <https://cloud.google.com/bigquery/docs/reference/standard-sql/other-statements#export_data_statement EXPORT DATA> statement. * @EXPORT_MODEL@: <https://cloud.google.com/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-export-model EXPORT MODEL> statement. * @LOAD_DATA@: <https://cloud.google.com/bigquery/docs/reference/standard-sql/other-statements#load_data_statement LOAD DATA> statement. * @CALL@: <https://cloud.google.com/bigquery/docs/reference/standard-sql/procedural-language#call CALL> statement.+    statementType :: (Core.Maybe Core.Text),+    -- | Output only. Describes a timeline of job execution.+    timeline :: (Core.Maybe [QueryTimelineSample]),+    -- | Output only. If the project is configured to use on-demand pricing, then this field contains the total bytes billed for the job. If the project is configured to use flat-rate pricing, then you are not billed for bytes and this field is informational only.+    totalBytesBilled :: (Core.Maybe Core.Int64),+    -- | Output only. Total bytes processed for the job.+    totalBytesProcessed :: (Core.Maybe Core.Int64),+    -- | Output only. For dry-run jobs, totalBytesProcessed is an estimate and this field specifies the accuracy of the estimate. Possible values can be: UNKNOWN: accuracy of the estimate is unknown. PRECISE: estimate is precise. LOWER/BOUND: estimate is lower bound of what the query would cost. UPPER/BOUND: estimate is upper bound of what the query would cost.+    totalBytesProcessedAccuracy :: (Core.Maybe Core.Text),+    -- | Output only. Total number of partitions processed from all partitioned tables referenced in the job.+    totalPartitionsProcessed :: (Core.Maybe Core.Int64),+    -- | Output only. Slot-milliseconds for the job.+    totalSlotMs :: (Core.Maybe Core.Int64),+    -- | Output only. Total bytes transferred for cross-cloud queries such as Cross Cloud Transfer and CREATE TABLE AS SELECT (CTAS).+    transferredBytes :: (Core.Maybe Core.Int64),+    -- | Output only. GoogleSQL only: list of undeclared query parameters detected during a dry run validation.+    undeclaredQueryParameters :: (Core.Maybe [QueryParameter]),+    -- | Output only. Vector Search query specific statistics.+    vectorSearchStatistics :: (Core.Maybe VectorSearchStatistics)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'JobStatistics2' with the minimum fields required to make a request.+newJobStatistics2 ::+  JobStatistics2+newJobStatistics2 =+  JobStatistics2+    { biEngineStatistics = Core.Nothing,+      billingTier = Core.Nothing,+      cacheHit = Core.Nothing,+      dclTargetDataset = Core.Nothing,+      dclTargetTable = Core.Nothing,+      dclTargetView = Core.Nothing,+      ddlAffectedRowAccessPolicyCount = Core.Nothing,+      ddlDestinationTable = Core.Nothing,+      ddlOperationPerformed = Core.Nothing,+      ddlTargetDataset = Core.Nothing,+      ddlTargetRoutine = Core.Nothing,+      ddlTargetRowAccessPolicy = Core.Nothing,+      ddlTargetTable = Core.Nothing,+      dmlStats = Core.Nothing,+      estimatedBytesProcessed = Core.Nothing,+      exportDataStatistics = Core.Nothing,+      externalServiceCosts = Core.Nothing,+      loadQueryStatistics = Core.Nothing,+      materializedViewStatistics = Core.Nothing,+      metadataCacheStatistics = Core.Nothing,+      mlStatistics = Core.Nothing,+      modelTraining = Core.Nothing,+      modelTrainingCurrentIteration = Core.Nothing,+      modelTrainingExpectedTotalIteration = Core.Nothing,+      numDmlAffectedRows = Core.Nothing,+      performanceInsights = Core.Nothing,+      queryInfo = Core.Nothing,+      queryPlan = Core.Nothing,+      referencedRoutines = Core.Nothing,+      referencedTables = Core.Nothing,+      reservationUsage = Core.Nothing,+      schema = Core.Nothing,+      searchStatistics = Core.Nothing,+      sparkStatistics = Core.Nothing,+      statementType = Core.Nothing,+      timeline = Core.Nothing,+      totalBytesBilled = Core.Nothing,+      totalBytesProcessed = Core.Nothing,+      totalBytesProcessedAccuracy = Core.Nothing,+      totalPartitionsProcessed = Core.Nothing,+      totalSlotMs = Core.Nothing,+      transferredBytes = Core.Nothing,+      undeclaredQueryParameters = Core.Nothing,+      vectorSearchStatistics = Core.Nothing+    }++instance Core.FromJSON JobStatistics2 where+  parseJSON =+    Core.withObject+      "JobStatistics2"+      ( \o ->+          JobStatistics2+            Core.<$> (o Core..:? "biEngineStatistics")+            Core.<*> (o Core..:? "billingTier")+            Core.<*> (o Core..:? "cacheHit")+            Core.<*> (o Core..:? "dclTargetDataset")+            Core.<*> (o Core..:? "dclTargetTable")+            Core.<*> (o Core..:? "dclTargetView")+            Core.<*> ( o+                         Core..:? "ddlAffectedRowAccessPolicyCount"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> (o Core..:? "ddlDestinationTable")+            Core.<*> (o Core..:? "ddlOperationPerformed")+            Core.<*> (o Core..:? "ddlTargetDataset")+            Core.<*> (o Core..:? "ddlTargetRoutine")+            Core.<*> (o Core..:? "ddlTargetRowAccessPolicy")+            Core.<*> (o Core..:? "ddlTargetTable")+            Core.<*> (o Core..:? "dmlStats")+            Core.<*> ( o+                         Core..:? "estimatedBytesProcessed"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> (o Core..:? "exportDataStatistics")+            Core.<*> (o Core..:? "externalServiceCosts")+            Core.<*> (o Core..:? "loadQueryStatistics")+            Core.<*> (o Core..:? "materializedViewStatistics")+            Core.<*> (o Core..:? "metadataCacheStatistics")+            Core.<*> (o Core..:? "mlStatistics")+            Core.<*> (o Core..:? "modelTraining")+            Core.<*> (o Core..:? "modelTrainingCurrentIteration")+            Core.<*> ( o+                         Core..:? "modelTrainingExpectedTotalIteration"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> ( o+                         Core..:? "numDmlAffectedRows"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> (o Core..:? "performanceInsights")+            Core.<*> (o Core..:? "queryInfo")+            Core.<*> (o Core..:? "queryPlan")+            Core.<*> (o Core..:? "referencedRoutines")+            Core.<*> (o Core..:? "referencedTables")+            Core.<*> (o Core..:? "reservationUsage")+            Core.<*> (o Core..:? "schema")+            Core.<*> (o Core..:? "searchStatistics")+            Core.<*> (o Core..:? "sparkStatistics")+            Core.<*> (o Core..:? "statementType")+            Core.<*> (o Core..:? "timeline")+            Core.<*> (o Core..:? "totalBytesBilled" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> ( o+                         Core..:? "totalBytesProcessed"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> (o Core..:? "totalBytesProcessedAccuracy")+            Core.<*> ( o+                         Core..:? "totalPartitionsProcessed"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> (o Core..:? "totalSlotMs" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "transferredBytes" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "undeclaredQueryParameters")+            Core.<*> (o Core..:? "vectorSearchStatistics")+      )++instance Core.ToJSON JobStatistics2 where+  toJSON JobStatistics2 {..} =+    Core.object+      ( Core.catMaybes+          [ ("biEngineStatistics" Core..=) Core.<$> biEngineStatistics,+            ("billingTier" Core..=) Core.<$> billingTier,+            ("cacheHit" Core..=) Core.<$> cacheHit,+            ("dclTargetDataset" Core..=) Core.<$> dclTargetDataset,+            ("dclTargetTable" Core..=) Core.<$> dclTargetTable,+            ("dclTargetView" Core..=) Core.<$> dclTargetView,+            ("ddlAffectedRowAccessPolicyCount" Core..=)+              Core.. Core.AsText+              Core.<$> ddlAffectedRowAccessPolicyCount,+            ("ddlDestinationTable" Core..=) Core.<$> ddlDestinationTable,+            ("ddlOperationPerformed" Core..=) Core.<$> ddlOperationPerformed,+            ("ddlTargetDataset" Core..=) Core.<$> ddlTargetDataset,+            ("ddlTargetRoutine" Core..=) Core.<$> ddlTargetRoutine,+            ("ddlTargetRowAccessPolicy" Core..=)+              Core.<$> ddlTargetRowAccessPolicy,+            ("ddlTargetTable" Core..=) Core.<$> ddlTargetTable,+            ("dmlStats" Core..=) Core.<$> dmlStats,+            ("estimatedBytesProcessed" Core..=)+              Core.. Core.AsText+              Core.<$> estimatedBytesProcessed,+            ("exportDataStatistics" Core..=) Core.<$> exportDataStatistics,+            ("externalServiceCosts" Core..=) Core.<$> externalServiceCosts,+            ("loadQueryStatistics" Core..=) Core.<$> loadQueryStatistics,+            ("materializedViewStatistics" Core..=)+              Core.<$> materializedViewStatistics,+            ("metadataCacheStatistics" Core..=)+              Core.<$> metadataCacheStatistics,+            ("mlStatistics" Core..=) Core.<$> mlStatistics,+            ("modelTraining" Core..=) Core.<$> modelTraining,+            ("modelTrainingCurrentIteration" Core..=)+              Core.<$> modelTrainingCurrentIteration,+            ("modelTrainingExpectedTotalIteration" Core..=)+              Core.. Core.AsText+              Core.<$> modelTrainingExpectedTotalIteration,+            ("numDmlAffectedRows" Core..=)+              Core.. Core.AsText+              Core.<$> numDmlAffectedRows,+            ("performanceInsights" Core..=) Core.<$> performanceInsights,+            ("queryInfo" Core..=) Core.<$> queryInfo,+            ("queryPlan" Core..=) Core.<$> queryPlan,+            ("referencedRoutines" Core..=) Core.<$> referencedRoutines,+            ("referencedTables" Core..=) Core.<$> referencedTables,+            ("reservationUsage" Core..=) Core.<$> reservationUsage,+            ("schema" Core..=) Core.<$> schema,+            ("searchStatistics" Core..=) Core.<$> searchStatistics,+            ("sparkStatistics" Core..=) Core.<$> sparkStatistics,+            ("statementType" Core..=) Core.<$> statementType,+            ("timeline" Core..=) Core.<$> timeline,+            ("totalBytesBilled" Core..=)+              Core.. Core.AsText+              Core.<$> totalBytesBilled,+            ("totalBytesProcessed" Core..=)+              Core.. Core.AsText+              Core.<$> totalBytesProcessed,+            ("totalBytesProcessedAccuracy" Core..=)+              Core.<$> totalBytesProcessedAccuracy,+            ("totalPartitionsProcessed" Core..=)+              Core.. Core.AsText+              Core.<$> totalPartitionsProcessed,+            ("totalSlotMs" Core..=) Core.. Core.AsText Core.<$> totalSlotMs,+            ("transferredBytes" Core..=)+              Core.. Core.AsText+              Core.<$> transferredBytes,+            ("undeclaredQueryParameters" Core..=)+              Core.<$> undeclaredQueryParameters,+            ("vectorSearchStatistics" Core..=)+              Core.<$> vectorSearchStatistics+          ]+      )++-- | Job resource usage breakdown by reservation.+--+-- /See:/ 'newJobStatistics2_ReservationUsageItem' smart constructor.+data JobStatistics2_ReservationUsageItem = JobStatistics2_ReservationUsageItem+  { -- | Reservation name or \"unreserved\" for on-demand resource usage and multi-statement queries.+    name :: (Core.Maybe Core.Text),+    -- | Total slot milliseconds used by the reservation for a particular job.+    slotMs :: (Core.Maybe Core.Int64)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'JobStatistics2_ReservationUsageItem' with the minimum fields required to make a request.+newJobStatistics2_ReservationUsageItem ::+  JobStatistics2_ReservationUsageItem+newJobStatistics2_ReservationUsageItem =+  JobStatistics2_ReservationUsageItem+    { name = Core.Nothing,+      slotMs = Core.Nothing+    }++instance Core.FromJSON JobStatistics2_ReservationUsageItem where+  parseJSON =+    Core.withObject+      "JobStatistics2_ReservationUsageItem"+      ( \o ->+          JobStatistics2_ReservationUsageItem+            Core.<$> (o Core..:? "name")+            Core.<*> (o Core..:? "slotMs" Core.<&> Core.fmap Core.fromAsText)+      )++instance Core.ToJSON JobStatistics2_ReservationUsageItem where+  toJSON JobStatistics2_ReservationUsageItem {..} =+    Core.object+      ( Core.catMaybes+          [ ("name" Core..=) Core.<$> name,+            ("slotMs" Core..=) Core.. Core.AsText Core.<$> slotMs+          ]+      )++-- | Statistics for a load job.+--+-- /See:/ 'newJobStatistics3' smart constructor.+data JobStatistics3 = JobStatistics3+  { -- | Output only. The number of bad records encountered. Note that if the job has failed because of more bad records encountered than the maximum allowed in the load job configuration, then this number can be less than the total number of bad records present in the input data.+    badRecords :: (Core.Maybe Core.Int64),+    -- | Output only. Number of bytes of source data in a load job.+    inputFileBytes :: (Core.Maybe Core.Int64),+    -- | Output only. Number of source files in a load job.+    inputFiles :: (Core.Maybe Core.Int64),+    -- | Output only. Size of the loaded data in bytes. Note that while a load job is in the running state, this value may change.+    outputBytes :: (Core.Maybe Core.Int64),+    -- | Output only. Number of rows imported in a load job. Note that while an import job is in the running state, this value may change.+    outputRows :: (Core.Maybe Core.Int64),+    -- | Output only. Describes a timeline of job execution.+    timeline :: (Core.Maybe [QueryTimelineSample])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'JobStatistics3' with the minimum fields required to make a request.+newJobStatistics3 ::+  JobStatistics3+newJobStatistics3 =+  JobStatistics3+    { badRecords = Core.Nothing,+      inputFileBytes = Core.Nothing,+      inputFiles = Core.Nothing,+      outputBytes = Core.Nothing,+      outputRows = Core.Nothing,+      timeline = Core.Nothing+    }++instance Core.FromJSON JobStatistics3 where+  parseJSON =+    Core.withObject+      "JobStatistics3"+      ( \o ->+          JobStatistics3+            Core.<$> (o Core..:? "badRecords" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "inputFileBytes" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "inputFiles" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "outputBytes" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "outputRows" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "timeline")+      )++instance Core.ToJSON JobStatistics3 where+  toJSON JobStatistics3 {..} =+    Core.object+      ( Core.catMaybes+          [ ("badRecords" Core..=) Core.. Core.AsText Core.<$> badRecords,+            ("inputFileBytes" Core..=)+              Core.. Core.AsText+              Core.<$> inputFileBytes,+            ("inputFiles" Core..=) Core.. Core.AsText Core.<$> inputFiles,+            ("outputBytes" Core..=) Core.. Core.AsText Core.<$> outputBytes,+            ("outputRows" Core..=) Core.. Core.AsText Core.<$> outputRows,+            ("timeline" Core..=) Core.<$> timeline+          ]+      )++-- | Statistics for an extract job.+--+-- /See:/ 'newJobStatistics4' smart constructor.+data JobStatistics4 = JobStatistics4+  { -- | Output only. Number of files per destination URI or URI pattern specified in the extract configuration. These values will be in the same order as the URIs specified in the \'destinationUris\' field.+    destinationUriFileCounts :: (Core.Maybe [Core.Int64]),+    -- | Output only. Number of user bytes extracted into the result. This is the byte count as computed by BigQuery for billing purposes and doesn\'t have any relationship with the number of actual result bytes extracted in the desired format.+    inputBytes :: (Core.Maybe Core.Int64),+    -- | Output only. Describes a timeline of job execution.+    timeline :: (Core.Maybe [QueryTimelineSample])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'JobStatistics4' with the minimum fields required to make a request.+newJobStatistics4 ::+  JobStatistics4+newJobStatistics4 =+  JobStatistics4+    { destinationUriFileCounts = Core.Nothing,+      inputBytes = Core.Nothing,+      timeline = Core.Nothing+    }++instance Core.FromJSON JobStatistics4 where+  parseJSON =+    Core.withObject+      "JobStatistics4"+      ( \o ->+          JobStatistics4+            Core.<$> ( o+                         Core..:? "destinationUriFileCounts"+                         Core.<&> Core.fmap (Core.fmap Core.fromAsText)+                     )+            Core.<*> (o Core..:? "inputBytes" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "timeline")+      )++instance Core.ToJSON JobStatistics4 where+  toJSON JobStatistics4 {..} =+    Core.object+      ( Core.catMaybes+          [ ("destinationUriFileCounts" Core..=)+              Core.. Core.fmap Core.AsText+              Core.<$> destinationUriFileCounts,+            ("inputBytes" Core..=) Core.. Core.AsText Core.<$> inputBytes,+            ("timeline" Core..=) Core.<$> timeline+          ]+      )++-- | Statistics for a copy job.+--+-- /See:/ 'newJobStatistics5' smart constructor.+data JobStatistics5 = JobStatistics5+  { -- | Output only. Number of logical bytes copied to the destination table.+    copiedLogicalBytes :: (Core.Maybe Core.Int64),+    -- | Output only. Number of rows copied to the destination table.+    copiedRows :: (Core.Maybe Core.Int64)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'JobStatistics5' with the minimum fields required to make a request.+newJobStatistics5 ::+  JobStatistics5+newJobStatistics5 =+  JobStatistics5+    { copiedLogicalBytes = Core.Nothing,+      copiedRows = Core.Nothing+    }++instance Core.FromJSON JobStatistics5 where+  parseJSON =+    Core.withObject+      "JobStatistics5"+      ( \o ->+          JobStatistics5+            Core.<$> ( o+                         Core..:? "copiedLogicalBytes"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> (o Core..:? "copiedRows" Core.<&> Core.fmap Core.fromAsText)+      )++instance Core.ToJSON JobStatistics5 where+  toJSON JobStatistics5 {..} =+    Core.object+      ( Core.catMaybes+          [ ("copiedLogicalBytes" Core..=)+              Core.. Core.AsText+              Core.<$> copiedLogicalBytes,+            ("copiedRows" Core..=) Core.. Core.AsText Core.<$> copiedRows+          ]+      )++--+-- /See:/ 'newJobStatus' smart constructor.+data JobStatus = JobStatus+  { -- | Output only. Final error result of the job. If present, indicates that the job has completed and was unsuccessful.+    errorResult :: (Core.Maybe ErrorProto),+    -- | Output only. The first errors encountered during the running of the job. The final message includes the number of errors that caused the process to stop. Errors here do not necessarily mean that the job has not completed or was unsuccessful.+    errors :: (Core.Maybe [ErrorProto]),+    -- | Output only. Running state of the job. Valid states include \'PENDING\', \'RUNNING\', and \'DONE\'.+    state :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'JobStatus' with the minimum fields required to make a request.+newJobStatus ::+  JobStatus+newJobStatus =+  JobStatus+    { errorResult = Core.Nothing,+      errors = Core.Nothing,+      state = Core.Nothing+    }++instance Core.FromJSON JobStatus where+  parseJSON =+    Core.withObject+      "JobStatus"+      ( \o ->+          JobStatus+            Core.<$> (o Core..:? "errorResult")+            Core.<*> (o Core..:? "errors")+            Core.<*> (o Core..:? "state")+      )++instance Core.ToJSON JobStatus where+  toJSON JobStatus {..} =+    Core.object+      ( Core.catMaybes+          [ ("errorResult" Core..=) Core.<$> errorResult,+            ("errors" Core..=) Core.<$> errors,+            ("state" Core..=) Core.<$> state+          ]+      )++-- | Represents privacy policy associated with \"join restrictions\". Join restriction gives data providers the ability to enforce joins on the \'join/allowed/columns\' when data is queried from a privacy protected view.+--+-- /See:/ 'newJoinRestrictionPolicy' smart constructor.+data JoinRestrictionPolicy = JoinRestrictionPolicy+  { -- | Optional. The only columns that joins are allowed on. This field is must be specified for join/conditions JOIN/ANY and JOIN/ALL and it cannot be set for JOIN/BLOCKED.+    joinAllowedColumns :: (Core.Maybe [Core.Text]),+    -- | Optional. Specifies if a join is required or not on queries for the view. Default is JOIN/CONDITION/UNSPECIFIED.+    joinCondition :: (Core.Maybe JoinRestrictionPolicy_JoinCondition)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'JoinRestrictionPolicy' with the minimum fields required to make a request.+newJoinRestrictionPolicy ::+  JoinRestrictionPolicy+newJoinRestrictionPolicy =+  JoinRestrictionPolicy+    { joinAllowedColumns = Core.Nothing,+      joinCondition = Core.Nothing+    }++instance Core.FromJSON JoinRestrictionPolicy where+  parseJSON =+    Core.withObject+      "JoinRestrictionPolicy"+      ( \o ->+          JoinRestrictionPolicy+            Core.<$> (o Core..:? "joinAllowedColumns")+            Core.<*> (o Core..:? "joinCondition")+      )++instance Core.ToJSON JoinRestrictionPolicy where+  toJSON JoinRestrictionPolicy {..} =+    Core.object+      ( Core.catMaybes+          [ ("joinAllowedColumns" Core..=) Core.<$> joinAllowedColumns,+            ("joinCondition" Core..=) Core.<$> joinCondition+          ]+      )++-- | Represents a single JSON object.+--+-- /See:/ 'newJsonObject' smart constructor.+newtype JsonObject = JsonObject+  { additional :: (Core.HashMap Core.Text Core.Value)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'JsonObject' with the minimum fields required to make a request.+newJsonObject ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Value ->+  JsonObject+newJsonObject additional = JsonObject {additional = additional}++instance Core.FromJSON JsonObject where+  parseJSON =+    Core.withObject+      "JsonObject"+      (\o -> JsonObject Core.<$> (Core.parseJSONObject o))++instance Core.ToJSON JsonObject where+  toJSON JsonObject {..} = Core.toJSON additional++-- | Json Options for load and make external tables.+--+-- /See:/ 'newJsonOptions' smart constructor.+newtype JsonOptions = JsonOptions+  { -- | Optional. The character encoding of the data. The supported values are UTF-8, UTF-16BE, UTF-16LE, UTF-32BE, and UTF-32LE. The default value is UTF-8.+    encoding :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'JsonOptions' with the minimum fields required to make a request.+newJsonOptions ::+  JsonOptions+newJsonOptions = JsonOptions {encoding = Core.Nothing}++instance Core.FromJSON JsonOptions where+  parseJSON =+    Core.withObject+      "JsonOptions"+      (\o -> JsonOptions Core.<$> (o Core..:? "encoding"))++instance Core.ToJSON JsonOptions where+  toJSON JsonOptions {..} =+    Core.object+      (Core.catMaybes [("encoding" Core..=) Core.<$> encoding])++-- | Metadata about the Linked Dataset.+--+-- /See:/ 'newLinkedDatasetMetadata' smart constructor.+newtype LinkedDatasetMetadata = LinkedDatasetMetadata+  { -- | Output only. Specifies whether Linked Dataset is currently in a linked state or not.+    linkState :: (Core.Maybe LinkedDatasetMetadata_LinkState)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'LinkedDatasetMetadata' with the minimum fields required to make a request.+newLinkedDatasetMetadata ::+  LinkedDatasetMetadata+newLinkedDatasetMetadata =+  LinkedDatasetMetadata {linkState = Core.Nothing}++instance Core.FromJSON LinkedDatasetMetadata where+  parseJSON =+    Core.withObject+      "LinkedDatasetMetadata"+      (\o -> LinkedDatasetMetadata Core.<$> (o Core..:? "linkState"))++instance Core.ToJSON LinkedDatasetMetadata where+  toJSON LinkedDatasetMetadata {..} =+    Core.object+      (Core.catMaybes [("linkState" Core..=) Core.<$> linkState])++-- | A dataset source type which refers to another BigQuery dataset.+--+-- /See:/ 'newLinkedDatasetSource' smart constructor.+newtype LinkedDatasetSource = LinkedDatasetSource+  { -- | The source dataset reference contains project numbers and not project ids.+    sourceDataset :: (Core.Maybe DatasetReference)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'LinkedDatasetSource' with the minimum fields required to make a request.+newLinkedDatasetSource ::+  LinkedDatasetSource+newLinkedDatasetSource =+  LinkedDatasetSource {sourceDataset = Core.Nothing}++instance Core.FromJSON LinkedDatasetSource where+  parseJSON =+    Core.withObject+      "LinkedDatasetSource"+      (\o -> LinkedDatasetSource Core.<$> (o Core..:? "sourceDataset"))++instance Core.ToJSON LinkedDatasetSource where+  toJSON LinkedDatasetSource {..} =+    Core.object+      (Core.catMaybes [("sourceDataset" Core..=) Core.<$> sourceDataset])++-- | Response format for a single page when listing BigQuery ML models.+--+-- /See:/ 'newListModelsResponse' smart constructor.+data ListModelsResponse = ListModelsResponse+  { -- | Models in the requested dataset. Only the following fields are populated: model/reference, model/type, creation/time, last/modified_time and labels.+    models :: (Core.Maybe [Model]),+    -- | A token to request the next page of results.+    nextPageToken :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ListModelsResponse' with the minimum fields required to make a request.+newListModelsResponse ::+  ListModelsResponse+newListModelsResponse =+  ListModelsResponse+    { models = Core.Nothing,+      nextPageToken = Core.Nothing+    }++instance Core.FromJSON ListModelsResponse where+  parseJSON =+    Core.withObject+      "ListModelsResponse"+      ( \o ->+          ListModelsResponse+            Core.<$> (o Core..:? "models")+            Core.<*> (o Core..:? "nextPageToken")+      )++instance Core.ToJSON ListModelsResponse where+  toJSON ListModelsResponse {..} =+    Core.object+      ( Core.catMaybes+          [ ("models" Core..=) Core.<$> models,+            ("nextPageToken" Core..=) Core.<$> nextPageToken+          ]+      )++-- | Describes the format of a single result page when listing routines.+--+-- /See:/ 'newListRoutinesResponse' smart constructor.+data ListRoutinesResponse = ListRoutinesResponse+  { -- | A token to request the next page of results.+    nextPageToken :: (Core.Maybe Core.Text),+    -- | Routines in the requested dataset. Unless read/mask is set in the request, only the following fields are populated: etag, project/id, dataset/id, routine/id, routine/type, creation/time, last/modified/time, language, and remote/function/options.+    routines :: (Core.Maybe [Routine])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ListRoutinesResponse' with the minimum fields required to make a request.+newListRoutinesResponse ::+  ListRoutinesResponse+newListRoutinesResponse =+  ListRoutinesResponse+    { nextPageToken = Core.Nothing,+      routines = Core.Nothing+    }++instance Core.FromJSON ListRoutinesResponse where+  parseJSON =+    Core.withObject+      "ListRoutinesResponse"+      ( \o ->+          ListRoutinesResponse+            Core.<$> (o Core..:? "nextPageToken")+            Core.<*> (o Core..:? "routines")+      )++instance Core.ToJSON ListRoutinesResponse where+  toJSON ListRoutinesResponse {..} =+    Core.object+      ( Core.catMaybes+          [ ("nextPageToken" Core..=) Core.<$> nextPageToken,+            ("routines" Core..=) Core.<$> routines+          ]+      )++-- | Response message for the ListRowAccessPolicies method.+--+-- /See:/ 'newListRowAccessPoliciesResponse' smart constructor.+data ListRowAccessPoliciesResponse = ListRowAccessPoliciesResponse+  { -- | A token to request the next page of results.+    nextPageToken :: (Core.Maybe Core.Text),+    -- | Row access policies on the requested table.+    rowAccessPolicies :: (Core.Maybe [RowAccessPolicy])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ListRowAccessPoliciesResponse' with the minimum fields required to make a request.+newListRowAccessPoliciesResponse ::+  ListRowAccessPoliciesResponse+newListRowAccessPoliciesResponse =+  ListRowAccessPoliciesResponse+    { nextPageToken = Core.Nothing,+      rowAccessPolicies = Core.Nothing+    }++instance Core.FromJSON ListRowAccessPoliciesResponse where+  parseJSON =+    Core.withObject+      "ListRowAccessPoliciesResponse"+      ( \o ->+          ListRowAccessPoliciesResponse+            Core.<$> (o Core..:? "nextPageToken")+            Core.<*> (o Core..:? "rowAccessPolicies")+      )++instance Core.ToJSON ListRowAccessPoliciesResponse where+  toJSON ListRowAccessPoliciesResponse {..} =+    Core.object+      ( Core.catMaybes+          [ ("nextPageToken" Core..=) Core.<$> nextPageToken,+            ("rowAccessPolicies" Core..=) Core.<$> rowAccessPolicies+          ]+      )++-- | Statistics for a LOAD query.+--+-- /See:/ 'newLoadQueryStatistics' smart constructor.+data LoadQueryStatistics = LoadQueryStatistics+  { -- | Output only. The number of bad records encountered while processing a LOAD query. Note that if the job has failed because of more bad records encountered than the maximum allowed in the load job configuration, then this number can be less than the total number of bad records present in the input data.+    badRecords :: (Core.Maybe Core.Int64),+    -- | Output only. This field is deprecated. The number of bytes of source data copied over the network for a @LOAD@ query. @transferred_bytes@ has the canonical value for physical transferred bytes, which is used for BigQuery Omni billing.+    bytesTransferred :: (Core.Maybe Core.Int64),+    -- | Output only. Number of bytes of source data in a LOAD query.+    inputFileBytes :: (Core.Maybe Core.Int64),+    -- | Output only. Number of source files in a LOAD query.+    inputFiles :: (Core.Maybe Core.Int64),+    -- | Output only. Size of the loaded data in bytes. Note that while a LOAD query is in the running state, this value may change.+    outputBytes :: (Core.Maybe Core.Int64),+    -- | Output only. Number of rows imported in a LOAD query. Note that while a LOAD query is in the running state, this value may change.+    outputRows :: (Core.Maybe Core.Int64)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'LoadQueryStatistics' with the minimum fields required to make a request.+newLoadQueryStatistics ::+  LoadQueryStatistics+newLoadQueryStatistics =+  LoadQueryStatistics+    { badRecords = Core.Nothing,+      bytesTransferred = Core.Nothing,+      inputFileBytes = Core.Nothing,+      inputFiles = Core.Nothing,+      outputBytes = Core.Nothing,+      outputRows = Core.Nothing+    }++instance Core.FromJSON LoadQueryStatistics where+  parseJSON =+    Core.withObject+      "LoadQueryStatistics"+      ( \o ->+          LoadQueryStatistics+            Core.<$> (o Core..:? "badRecords" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "bytesTransferred" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "inputFileBytes" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "inputFiles" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "outputBytes" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "outputRows" Core.<&> Core.fmap Core.fromAsText)+      )++instance Core.ToJSON LoadQueryStatistics where+  toJSON LoadQueryStatistics {..} =+    Core.object+      ( Core.catMaybes+          [ ("badRecords" Core..=) Core.. Core.AsText Core.<$> badRecords,+            ("bytesTransferred" Core..=)+              Core.. Core.AsText+              Core.<$> bytesTransferred,+            ("inputFileBytes" Core..=)+              Core.. Core.AsText+              Core.<$> inputFileBytes,+            ("inputFiles" Core..=) Core.. Core.AsText Core.<$> inputFiles,+            ("outputBytes" Core..=) Core.. Core.AsText Core.<$> outputBytes,+            ("outputRows" Core..=) Core.. Core.AsText Core.<$> outputRows+          ]+      )++-- | BigQuery-specific metadata about a location. This will be set on google.cloud.location.Location.metadata in Cloud Location API responses.+--+-- /See:/ 'newLocationMetadata' smart constructor.+newtype LocationMetadata = LocationMetadata+  { -- | The legacy BigQuery location ID, e.g. “EU” for the “europe” location. This is for any API consumers that need the legacy “US” and “EU” locations.+    legacyLocationId :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'LocationMetadata' with the minimum fields required to make a request.+newLocationMetadata ::+  LocationMetadata+newLocationMetadata =+  LocationMetadata {legacyLocationId = Core.Nothing}++instance Core.FromJSON LocationMetadata where+  parseJSON =+    Core.withObject+      "LocationMetadata"+      (\o -> LocationMetadata Core.<$> (o Core..:? "legacyLocationId"))++instance Core.ToJSON LocationMetadata where+  toJSON LocationMetadata {..} =+    Core.object+      ( Core.catMaybes+          [("legacyLocationId" Core..=) Core.<$> legacyLocationId]+      )++-- | A materialized view considered for a query job.+--+-- /See:/ 'newMaterializedView' smart constructor.+data MaterializedView = MaterializedView+  { -- | Whether the materialized view is chosen for the query. A materialized view can be chosen to rewrite multiple parts of the same query. If a materialized view is chosen to rewrite any part of the query, then this field is true, even if the materialized view was not chosen to rewrite others parts.+    chosen :: (Core.Maybe Core.Bool),+    -- | If present, specifies a best-effort estimation of the bytes saved by using the materialized view rather than its base tables.+    estimatedBytesSaved :: (Core.Maybe Core.Int64),+    -- | If present, specifies the reason why the materialized view was not chosen for the query.+    rejectedReason :: (Core.Maybe MaterializedView_RejectedReason),+    -- | The candidate materialized view.+    tableReference :: (Core.Maybe TableReference)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'MaterializedView' with the minimum fields required to make a request.+newMaterializedView ::+  MaterializedView+newMaterializedView =+  MaterializedView+    { chosen = Core.Nothing,+      estimatedBytesSaved = Core.Nothing,+      rejectedReason = Core.Nothing,+      tableReference = Core.Nothing+    }++instance Core.FromJSON MaterializedView where+  parseJSON =+    Core.withObject+      "MaterializedView"+      ( \o ->+          MaterializedView+            Core.<$> (o Core..:? "chosen")+            Core.<*> ( o+                         Core..:? "estimatedBytesSaved"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> (o Core..:? "rejectedReason")+            Core.<*> (o Core..:? "tableReference")+      )++instance Core.ToJSON MaterializedView where+  toJSON MaterializedView {..} =+    Core.object+      ( Core.catMaybes+          [ ("chosen" Core..=) Core.<$> chosen,+            ("estimatedBytesSaved" Core..=)+              Core.. Core.AsText+              Core.<$> estimatedBytesSaved,+            ("rejectedReason" Core..=) Core.<$> rejectedReason,+            ("tableReference" Core..=) Core.<$> tableReference+          ]+      )++-- | Definition and configuration of a materialized view.+--+-- /See:/ 'newMaterializedViewDefinition' smart constructor.+data MaterializedViewDefinition = MaterializedViewDefinition+  { -- | Optional. This option declares the intention to construct a materialized view that isn\'t refreshed incrementally. Non-incremental materialized views support an expanded range of SQL queries. The @allow_non_incremental_definition@ option can\'t be changed after the materialized view is created.+    allowNonIncrementalDefinition :: (Core.Maybe Core.Bool),+    -- | Optional. Enable automatic refresh of the materialized view when the base table is updated. The default value is \"true\".+    enableRefresh :: (Core.Maybe Core.Bool),+    -- | Output only. The time when this materialized view was last refreshed, in milliseconds since the epoch.+    lastRefreshTime :: (Core.Maybe Core.Int64),+    -- | [Optional] Max staleness of data that could be returned when materizlized view is queried (formatted as Google SQL Interval type).+    maxStaleness :: (Core.Maybe Core.Base64),+    -- | Required. A query whose results are persisted.+    query :: (Core.Maybe Core.Text),+    -- | Optional. The maximum frequency at which this materialized view will be refreshed. The default value is \"1800000\" (30 minutes).+    refreshIntervalMs :: (Core.Maybe Core.Int64)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'MaterializedViewDefinition' with the minimum fields required to make a request.+newMaterializedViewDefinition ::+  MaterializedViewDefinition+newMaterializedViewDefinition =+  MaterializedViewDefinition+    { allowNonIncrementalDefinition =+        Core.Nothing,+      enableRefresh = Core.Nothing,+      lastRefreshTime = Core.Nothing,+      maxStaleness = Core.Nothing,+      query = Core.Nothing,+      refreshIntervalMs = Core.Nothing+    }++instance Core.FromJSON MaterializedViewDefinition where+  parseJSON =+    Core.withObject+      "MaterializedViewDefinition"+      ( \o ->+          MaterializedViewDefinition+            Core.<$> (o Core..:? "allowNonIncrementalDefinition")+            Core.<*> (o Core..:? "enableRefresh")+            Core.<*> (o Core..:? "lastRefreshTime" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "maxStaleness")+            Core.<*> (o Core..:? "query")+            Core.<*> ( o+                         Core..:? "refreshIntervalMs"+                         Core.<&> Core.fmap Core.fromAsText+                     )+      )++instance Core.ToJSON MaterializedViewDefinition where+  toJSON MaterializedViewDefinition {..} =+    Core.object+      ( Core.catMaybes+          [ ("allowNonIncrementalDefinition" Core..=)+              Core.<$> allowNonIncrementalDefinition,+            ("enableRefresh" Core..=) Core.<$> enableRefresh,+            ("lastRefreshTime" Core..=)+              Core.. Core.AsText+              Core.<$> lastRefreshTime,+            ("maxStaleness" Core..=) Core.<$> maxStaleness,+            ("query" Core..=) Core.<$> query,+            ("refreshIntervalMs" Core..=)+              Core.. Core.AsText+              Core.<$> refreshIntervalMs+          ]+      )++-- | Statistics of materialized views considered in a query job.+--+-- /See:/ 'newMaterializedViewStatistics' smart constructor.+newtype MaterializedViewStatistics = MaterializedViewStatistics+  { -- | Materialized views considered for the query job. Only certain materialized views are used. For a detailed list, see the child message. If many materialized views are considered, then the list might be incomplete.+    materializedView :: (Core.Maybe [MaterializedView])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'MaterializedViewStatistics' with the minimum fields required to make a request.+newMaterializedViewStatistics ::+  MaterializedViewStatistics+newMaterializedViewStatistics =+  MaterializedViewStatistics {materializedView = Core.Nothing}++instance Core.FromJSON MaterializedViewStatistics where+  parseJSON =+    Core.withObject+      "MaterializedViewStatistics"+      ( \o ->+          MaterializedViewStatistics+            Core.<$> (o Core..:? "materializedView")+      )++instance Core.ToJSON MaterializedViewStatistics where+  toJSON MaterializedViewStatistics {..} =+    Core.object+      ( Core.catMaybes+          [("materializedView" Core..=) Core.<$> materializedView]+      )++-- | Status of a materialized view. The last refresh timestamp status is omitted here, but is present in the MaterializedViewDefinition message.+--+-- /See:/ 'newMaterializedViewStatus' smart constructor.+data MaterializedViewStatus = MaterializedViewStatus+  { -- | Output only. Error result of the last automatic refresh. If present, indicates that the last automatic refresh was unsuccessful.+    lastRefreshStatus :: (Core.Maybe ErrorProto),+    -- | Output only. Refresh watermark of materialized view. The base tables\' data were collected into the materialized view cache until this time.+    refreshWatermark :: (Core.Maybe Core.DateTime)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'MaterializedViewStatus' with the minimum fields required to make a request.+newMaterializedViewStatus ::+  MaterializedViewStatus+newMaterializedViewStatus =+  MaterializedViewStatus+    { lastRefreshStatus = Core.Nothing,+      refreshWatermark = Core.Nothing+    }++instance Core.FromJSON MaterializedViewStatus where+  parseJSON =+    Core.withObject+      "MaterializedViewStatus"+      ( \o ->+          MaterializedViewStatus+            Core.<$> (o Core..:? "lastRefreshStatus")+            Core.<*> (o Core..:? "refreshWatermark")+      )++instance Core.ToJSON MaterializedViewStatus where+  toJSON MaterializedViewStatus {..} =+    Core.object+      ( Core.catMaybes+          [ ("lastRefreshStatus" Core..=) Core.<$> lastRefreshStatus,+            ("refreshWatermark" Core..=) Core.<$> refreshWatermark+          ]+      )++-- | Statistics for metadata caching in queried tables.+--+-- /See:/ 'newMetadataCacheStatistics' smart constructor.+newtype MetadataCacheStatistics = MetadataCacheStatistics+  { -- | Set for the Metadata caching eligible tables referenced in the query.+    tableMetadataCacheUsage :: (Core.Maybe [TableMetadataCacheUsage])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'MetadataCacheStatistics' with the minimum fields required to make a request.+newMetadataCacheStatistics ::+  MetadataCacheStatistics+newMetadataCacheStatistics =+  MetadataCacheStatistics {tableMetadataCacheUsage = Core.Nothing}++instance Core.FromJSON MetadataCacheStatistics where+  parseJSON =+    Core.withObject+      "MetadataCacheStatistics"+      ( \o ->+          MetadataCacheStatistics+            Core.<$> (o Core..:? "tableMetadataCacheUsage")+      )++instance Core.ToJSON MetadataCacheStatistics where+  toJSON MetadataCacheStatistics {..} =+    Core.object+      ( Core.catMaybes+          [ ("tableMetadataCacheUsage" Core..=)+              Core.<$> tableMetadataCacheUsage+          ]+      )++-- | Job statistics specific to a BigQuery ML training job.+--+-- /See:/ 'newMlStatistics' smart constructor.+data MlStatistics = MlStatistics+  { -- | Output only. Trials of a <https://cloud.google.com/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-hp-tuning-overview hyperparameter tuning job> sorted by trial_id.+    hparamTrials :: (Core.Maybe [HparamTuningTrial]),+    -- | Results for all completed iterations. Empty for <https://cloud.google.com/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-hp-tuning-overview hyperparameter tuning jobs>.+    iterationResults :: (Core.Maybe [IterationResult]),+    -- | Output only. Maximum number of iterations specified as max_iterations in the \'CREATE MODEL\' query. The actual number of iterations may be less than this number due to early stop.+    maxIterations :: (Core.Maybe Core.Int64),+    -- | Output only. The type of the model that is being trained.+    modelType :: (Core.Maybe MlStatistics_ModelType),+    -- | Output only. Training type of the job.+    trainingType :: (Core.Maybe MlStatistics_TrainingType)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'MlStatistics' with the minimum fields required to make a request.+newMlStatistics ::+  MlStatistics+newMlStatistics =+  MlStatistics+    { hparamTrials = Core.Nothing,+      iterationResults = Core.Nothing,+      maxIterations = Core.Nothing,+      modelType = Core.Nothing,+      trainingType = Core.Nothing+    }++instance Core.FromJSON MlStatistics where+  parseJSON =+    Core.withObject+      "MlStatistics"+      ( \o ->+          MlStatistics+            Core.<$> (o Core..:? "hparamTrials")+            Core.<*> (o Core..:? "iterationResults")+            Core.<*> (o Core..:? "maxIterations" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "modelType")+            Core.<*> (o Core..:? "trainingType")+      )++instance Core.ToJSON MlStatistics where+  toJSON MlStatistics {..} =+    Core.object+      ( Core.catMaybes+          [ ("hparamTrials" Core..=) Core.<$> hparamTrials,+            ("iterationResults" Core..=) Core.<$> iterationResults,+            ("maxIterations" Core..=)+              Core.. Core.AsText+              Core.<$> maxIterations,+            ("modelType" Core..=) Core.<$> modelType,+            ("trainingType" Core..=) Core.<$> trainingType+          ]+      )++--+-- /See:/ 'newModel' smart constructor.+data Model = Model+  { -- | The best trial_id across all training runs.+    bestTrialId :: (Core.Maybe Core.Int64),+    -- | Output only. The time when this model was created, in millisecs since the epoch.+    creationTime :: (Core.Maybe Core.Int64),+    -- | Output only. The default trial/id to use in TVFs when the trial/id is not passed in. For single-objective <https://cloud.google.com/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-hp-tuning-overview hyperparameter tuning> models, this is the best trial ID. For multi-objective <https://cloud.google.com/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-hp-tuning-overview hyperparameter tuning> models, this is the smallest trial ID among all Pareto optimal trials.+    defaultTrialId :: (Core.Maybe Core.Int64),+    -- | Optional. A user-friendly description of this model.+    description :: (Core.Maybe Core.Text),+    -- | Custom encryption configuration (e.g., Cloud KMS keys). This shows the encryption configuration of the model data while stored in BigQuery storage. This field can be used with PatchModel to update encryption key for an already encrypted model.+    encryptionConfiguration :: (Core.Maybe EncryptionConfiguration),+    -- | Output only. A hash of this resource.+    etag :: (Core.Maybe Core.Text),+    -- | Optional. The time when this model expires, in milliseconds since the epoch. If not present, the model will persist indefinitely. Expired models will be deleted and their storage reclaimed. The defaultTableExpirationMs property of the encapsulating dataset can be used to set a default expirationTime on newly created models.+    expirationTime :: (Core.Maybe Core.Int64),+    -- | Output only. Input feature columns for the model inference. If the model is trained with TRANSFORM clause, these are the input of the TRANSFORM clause.+    featureColumns :: (Core.Maybe [StandardSqlField]),+    -- | Optional. A descriptive name for this model.+    friendlyName :: (Core.Maybe Core.Text),+    -- | Output only. All hyperparameter search spaces in this model.+    hparamSearchSpaces :: (Core.Maybe HparamSearchSpaces),+    -- | Output only. Trials of a <https://cloud.google.com/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-hp-tuning-overview hyperparameter tuning> model sorted by trial_id.+    hparamTrials :: (Core.Maybe [HparamTuningTrial]),+    -- | Output only. Label columns that were used to train this model. The output of the model will have a \"predicted_\" prefix to these columns.+    labelColumns :: (Core.Maybe [StandardSqlField]),+    -- | The labels associated with this model. You can use these to organize and group your models. Label keys and values can be no longer than 63 characters, can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter and each label in the list must have a different key.+    labels :: (Core.Maybe Model_Labels),+    -- | Output only. The time when this model was last modified, in millisecs since the epoch.+    lastModifiedTime :: (Core.Maybe Core.Int64),+    -- | Output only. The geographic location where the model resides. This value is inherited from the dataset.+    location :: (Core.Maybe Core.Text),+    -- | Required. Unique identifier for this model.+    modelReference :: (Core.Maybe ModelReference),+    -- | Output only. Type of the model resource.+    modelType :: (Core.Maybe Model_ModelType),+    -- | Output only. For single-objective <https://cloud.google.com/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-hp-tuning-overview hyperparameter tuning> models, it only contains the best trial. For multi-objective <https://cloud.google.com/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-hp-tuning-overview hyperparameter tuning> models, it contains all Pareto optimal trials sorted by trial_id.+    optimalTrialIds :: (Core.Maybe [Core.Int64]),+    -- | Output only. Remote model info+    remoteModelInfo :: (Core.Maybe RemoteModelInfo),+    -- | Information for all training runs in increasing order of start_time.+    trainingRuns :: (Core.Maybe [TrainingRun]),+    -- | Output only. This field will be populated if a TRANSFORM clause was used to train a model. TRANSFORM clause (if used) takes feature/columns as input and outputs transform/columns. transform_columns then are used to train the model.+    transformColumns :: (Core.Maybe [TransformColumn])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Model' with the minimum fields required to make a request.+newModel ::+  Model+newModel =+  Model+    { bestTrialId = Core.Nothing,+      creationTime = Core.Nothing,+      defaultTrialId = Core.Nothing,+      description = Core.Nothing,+      encryptionConfiguration = Core.Nothing,+      etag = Core.Nothing,+      expirationTime = Core.Nothing,+      featureColumns = Core.Nothing,+      friendlyName = Core.Nothing,+      hparamSearchSpaces = Core.Nothing,+      hparamTrials = Core.Nothing,+      labelColumns = Core.Nothing,+      labels = Core.Nothing,+      lastModifiedTime = Core.Nothing,+      location = Core.Nothing,+      modelReference = Core.Nothing,+      modelType = Core.Nothing,+      optimalTrialIds = Core.Nothing,+      remoteModelInfo = Core.Nothing,+      trainingRuns = Core.Nothing,+      transformColumns = Core.Nothing+    }++instance Core.FromJSON Model where+  parseJSON =+    Core.withObject+      "Model"+      ( \o ->+          Model+            Core.<$> (o Core..:? "bestTrialId" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "creationTime" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "defaultTrialId" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "description")+            Core.<*> (o Core..:? "encryptionConfiguration")+            Core.<*> (o Core..:? "etag")+            Core.<*> (o Core..:? "expirationTime" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "featureColumns")+            Core.<*> (o Core..:? "friendlyName")+            Core.<*> (o Core..:? "hparamSearchSpaces")+            Core.<*> (o Core..:? "hparamTrials")+            Core.<*> (o Core..:? "labelColumns")+            Core.<*> (o Core..:? "labels")+            Core.<*> (o Core..:? "lastModifiedTime" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "location")+            Core.<*> (o Core..:? "modelReference")+            Core.<*> (o Core..:? "modelType")+            Core.<*> ( o+                         Core..:? "optimalTrialIds"+                         Core.<&> Core.fmap (Core.fmap Core.fromAsText)+                     )+            Core.<*> (o Core..:? "remoteModelInfo")+            Core.<*> (o Core..:? "trainingRuns")+            Core.<*> (o Core..:? "transformColumns")+      )++instance Core.ToJSON Model where+  toJSON Model {..} =+    Core.object+      ( Core.catMaybes+          [ ("bestTrialId" Core..=) Core.. Core.AsText Core.<$> bestTrialId,+            ("creationTime" Core..=) Core.. Core.AsText Core.<$> creationTime,+            ("defaultTrialId" Core..=)+              Core.. Core.AsText+              Core.<$> defaultTrialId,+            ("description" Core..=) Core.<$> description,+            ("encryptionConfiguration" Core..=)+              Core.<$> encryptionConfiguration,+            ("etag" Core..=) Core.<$> etag,+            ("expirationTime" Core..=)+              Core.. Core.AsText+              Core.<$> expirationTime,+            ("featureColumns" Core..=) Core.<$> featureColumns,+            ("friendlyName" Core..=) Core.<$> friendlyName,+            ("hparamSearchSpaces" Core..=) Core.<$> hparamSearchSpaces,+            ("hparamTrials" Core..=) Core.<$> hparamTrials,+            ("labelColumns" Core..=) Core.<$> labelColumns,+            ("labels" Core..=) Core.<$> labels,+            ("lastModifiedTime" Core..=)+              Core.. Core.AsText+              Core.<$> lastModifiedTime,+            ("location" Core..=) Core.<$> location,+            ("modelReference" Core..=) Core.<$> modelReference,+            ("modelType" Core..=) Core.<$> modelType,+            ("optimalTrialIds" Core..=)+              Core.. Core.fmap Core.AsText+              Core.<$> optimalTrialIds,+            ("remoteModelInfo" Core..=) Core.<$> remoteModelInfo,+            ("trainingRuns" Core..=) Core.<$> trainingRuns,+            ("transformColumns" Core..=) Core.<$> transformColumns+          ]+      )++-- | The labels associated with this model. You can use these to organize and group your models. Label keys and values can be no longer than 63 characters, can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter and each label in the list must have a different key.+--+-- /See:/ 'newModel_Labels' smart constructor.+newtype Model_Labels = Model_Labels+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Model_Labels' with the minimum fields required to make a request.+newModel_Labels ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  Model_Labels+newModel_Labels additional = Model_Labels {additional = additional}++instance Core.FromJSON Model_Labels where+  parseJSON =+    Core.withObject+      "Model_Labels"+      (\o -> Model_Labels Core.<$> (Core.parseJSONObject o))++instance Core.ToJSON Model_Labels where+  toJSON Model_Labels {..} = Core.toJSON additional++--+-- /See:/ 'newModelDefinition' smart constructor.+data ModelDefinition = ModelDefinition+  { -- | Deprecated.+    modelOptions :: (Core.Maybe ModelDefinition_ModelOptions),+    -- | Deprecated.+    trainingRuns :: (Core.Maybe [BqmlTrainingRun])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ModelDefinition' with the minimum fields required to make a request.+newModelDefinition ::+  ModelDefinition+newModelDefinition =+  ModelDefinition+    { modelOptions = Core.Nothing,+      trainingRuns = Core.Nothing+    }++instance Core.FromJSON ModelDefinition where+  parseJSON =+    Core.withObject+      "ModelDefinition"+      ( \o ->+          ModelDefinition+            Core.<$> (o Core..:? "modelOptions")+            Core.<*> (o Core..:? "trainingRuns")+      )++instance Core.ToJSON ModelDefinition where+  toJSON ModelDefinition {..} =+    Core.object+      ( Core.catMaybes+          [ ("modelOptions" Core..=) Core.<$> modelOptions,+            ("trainingRuns" Core..=) Core.<$> trainingRuns+          ]+      )++-- | Deprecated.+--+-- /See:/ 'newModelDefinition_ModelOptions' smart constructor.+data ModelDefinition_ModelOptions = ModelDefinition_ModelOptions+  { labels :: (Core.Maybe [Core.Text]),+    lossType :: (Core.Maybe Core.Text),+    modelType :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ModelDefinition_ModelOptions' with the minimum fields required to make a request.+newModelDefinition_ModelOptions ::+  ModelDefinition_ModelOptions+newModelDefinition_ModelOptions =+  ModelDefinition_ModelOptions+    { labels = Core.Nothing,+      lossType = Core.Nothing,+      modelType = Core.Nothing+    }++instance Core.FromJSON ModelDefinition_ModelOptions where+  parseJSON =+    Core.withObject+      "ModelDefinition_ModelOptions"+      ( \o ->+          ModelDefinition_ModelOptions+            Core.<$> (o Core..:? "labels")+            Core.<*> (o Core..:? "lossType")+            Core.<*> (o Core..:? "modelType")+      )++instance Core.ToJSON ModelDefinition_ModelOptions where+  toJSON ModelDefinition_ModelOptions {..} =+    Core.object+      ( Core.catMaybes+          [ ("labels" Core..=) Core.<$> labels,+            ("lossType" Core..=) Core.<$> lossType,+            ("modelType" Core..=) Core.<$> modelType+          ]+      )++-- | Options related to model extraction.+--+-- /See:/ 'newModelExtractOptions' smart constructor.+newtype ModelExtractOptions = ModelExtractOptions+  { -- | The 1-based ID of the trial to be exported from a hyperparameter tuning model. If not specified, the trial with id = <https://cloud.google.com/bigquery/docs/reference/rest/v2/models#resource:-model Model>.defaultTrialId is exported. This field is ignored for models not trained with hyperparameter tuning.+    trialId :: (Core.Maybe Core.Int64)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ModelExtractOptions' with the minimum fields required to make a request.+newModelExtractOptions ::+  ModelExtractOptions+newModelExtractOptions =+  ModelExtractOptions {trialId = Core.Nothing}++instance Core.FromJSON ModelExtractOptions where+  parseJSON =+    Core.withObject+      "ModelExtractOptions"+      ( \o ->+          ModelExtractOptions+            Core.<$> (o Core..:? "trialId" Core.<&> Core.fmap Core.fromAsText)+      )++instance Core.ToJSON ModelExtractOptions where+  toJSON ModelExtractOptions {..} =+    Core.object+      ( Core.catMaybes+          [("trialId" Core..=) Core.. Core.AsText Core.<$> trialId]+      )++-- | Id path of a model.+--+-- /See:/ 'newModelReference' smart constructor.+data ModelReference = ModelReference+  { -- | Required. The ID of the dataset containing this model.+    datasetId :: (Core.Maybe Core.Text),+    -- | Required. The ID of the model. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 1,024 characters.+    modelId :: (Core.Maybe Core.Text),+    -- | Required. The ID of the project containing this model.+    projectId :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ModelReference' with the minimum fields required to make a request.+newModelReference ::+  ModelReference+newModelReference =+  ModelReference+    { datasetId = Core.Nothing,+      modelId = Core.Nothing,+      projectId = Core.Nothing+    }++instance Core.FromJSON ModelReference where+  parseJSON =+    Core.withObject+      "ModelReference"+      ( \o ->+          ModelReference+            Core.<$> (o Core..:? "datasetId")+            Core.<*> (o Core..:? "modelId")+            Core.<*> (o Core..:? "projectId")+      )++instance Core.ToJSON ModelReference where+  toJSON ModelReference {..} =+    Core.object+      ( Core.catMaybes+          [ ("datasetId" Core..=) Core.<$> datasetId,+            ("modelId" Core..=) Core.<$> modelId,+            ("projectId" Core..=) Core.<$> projectId+          ]+      )++-- | Evaluation metrics for multi-class classification\/classifier models.+--+-- /See:/ 'newMultiClassClassificationMetrics' smart constructor.+data MultiClassClassificationMetrics = MultiClassClassificationMetrics+  { -- | Aggregate classification metrics.+    aggregateClassificationMetrics :: (Core.Maybe AggregateClassificationMetrics),+    -- | Confusion matrix at different thresholds.+    confusionMatrixList :: (Core.Maybe [ConfusionMatrix])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'MultiClassClassificationMetrics' with the minimum fields required to make a request.+newMultiClassClassificationMetrics ::+  MultiClassClassificationMetrics+newMultiClassClassificationMetrics =+  MultiClassClassificationMetrics+    { aggregateClassificationMetrics =+        Core.Nothing,+      confusionMatrixList = Core.Nothing+    }++instance Core.FromJSON MultiClassClassificationMetrics where+  parseJSON =+    Core.withObject+      "MultiClassClassificationMetrics"+      ( \o ->+          MultiClassClassificationMetrics+            Core.<$> (o Core..:? "aggregateClassificationMetrics")+            Core.<*> (o Core..:? "confusionMatrixList")+      )++instance Core.ToJSON MultiClassClassificationMetrics where+  toJSON MultiClassClassificationMetrics {..} =+    Core.object+      ( Core.catMaybes+          [ ("aggregateClassificationMetrics" Core..=)+              Core.<$> aggregateClassificationMetrics,+            ("confusionMatrixList" Core..=) Core.<$> confusionMatrixList+          ]+      )++-- | Parquet Options for load and make external tables.+--+-- /See:/ 'newParquetOptions' smart constructor.+data ParquetOptions = ParquetOptions+  { -- | Optional. Indicates whether to use schema inference specifically for Parquet LIST logical type.+    enableListInference :: (Core.Maybe Core.Bool),+    -- | Optional. Indicates whether to infer Parquet ENUM logical type as STRING instead of BYTES by default.+    enumAsString :: (Core.Maybe Core.Bool),+    -- | Optional. Indicates how to represent a Parquet map if present.+    mapTargetType :: (Core.Maybe ParquetOptions_MapTargetType)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ParquetOptions' with the minimum fields required to make a request.+newParquetOptions ::+  ParquetOptions+newParquetOptions =+  ParquetOptions+    { enableListInference = Core.Nothing,+      enumAsString = Core.Nothing,+      mapTargetType = Core.Nothing+    }++instance Core.FromJSON ParquetOptions where+  parseJSON =+    Core.withObject+      "ParquetOptions"+      ( \o ->+          ParquetOptions+            Core.<$> (o Core..:? "enableListInference")+            Core.<*> (o Core..:? "enumAsString")+            Core.<*> (o Core..:? "mapTargetType")+      )++instance Core.ToJSON ParquetOptions where+  toJSON ParquetOptions {..} =+    Core.object+      ( Core.catMaybes+          [ ("enableListInference" Core..=) Core.<$> enableListInference,+            ("enumAsString" Core..=) Core.<$> enumAsString,+            ("mapTargetType" Core..=) Core.<$> mapTargetType+          ]+      )++-- | Partition skew detailed information.+--+-- /See:/ 'newPartitionSkew' smart constructor.+newtype PartitionSkew = PartitionSkew+  { -- | Output only. Source stages which produce skewed data.+    skewSources :: (Core.Maybe [SkewSource])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'PartitionSkew' with the minimum fields required to make a request.+newPartitionSkew ::+  PartitionSkew+newPartitionSkew = PartitionSkew {skewSources = Core.Nothing}++instance Core.FromJSON PartitionSkew where+  parseJSON =+    Core.withObject+      "PartitionSkew"+      (\o -> PartitionSkew Core.<$> (o Core..:? "skewSources"))++instance Core.ToJSON PartitionSkew where+  toJSON PartitionSkew {..} =+    Core.object+      (Core.catMaybes [("skewSources" Core..=) Core.<$> skewSources])++-- | The partitioning column information.+--+-- /See:/ 'newPartitionedColumn' smart constructor.+newtype PartitionedColumn = PartitionedColumn+  { -- | Required. The name of the partition column.+    field :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'PartitionedColumn' with the minimum fields required to make a request.+newPartitionedColumn ::+  PartitionedColumn+newPartitionedColumn = PartitionedColumn {field = Core.Nothing}++instance Core.FromJSON PartitionedColumn where+  parseJSON =+    Core.withObject+      "PartitionedColumn"+      (\o -> PartitionedColumn Core.<$> (o Core..:? "field"))++instance Core.ToJSON PartitionedColumn where+  toJSON PartitionedColumn {..} =+    Core.object (Core.catMaybes [("field" Core..=) Core.<$> field])++-- | The partitioning information, which includes managed table, external table and metastore partitioned table partition information.+--+-- /See:/ 'newPartitioningDefinition' smart constructor.+newtype PartitioningDefinition = PartitioningDefinition+  { -- | Optional. Details about each partitioning column. This field is output only for all partitioning types other than metastore partitioned tables. BigQuery native tables only support 1 partitioning column. Other table types may support 0, 1 or more partitioning columns. For metastore partitioned tables, the order must match the definition order in the Hive Metastore, where it must match the physical layout of the table. For example, CREATE TABLE a_table(id BIGINT, name STRING) PARTITIONED BY (city STRING, state STRING). In this case the values must be [\'city\', \'state\'] in that order.+    partitionedColumn :: (Core.Maybe [PartitionedColumn])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'PartitioningDefinition' with the minimum fields required to make a request.+newPartitioningDefinition ::+  PartitioningDefinition+newPartitioningDefinition =+  PartitioningDefinition {partitionedColumn = Core.Nothing}++instance Core.FromJSON PartitioningDefinition where+  parseJSON =+    Core.withObject+      "PartitioningDefinition"+      ( \o ->+          PartitioningDefinition Core.<$> (o Core..:? "partitionedColumn")+      )++instance Core.ToJSON PartitioningDefinition where+  toJSON PartitioningDefinition {..} =+    Core.object+      ( Core.catMaybes+          [("partitionedColumn" Core..=) Core.<$> partitionedColumn]+      )++-- | Performance insights for the job.+--+-- /See:/ 'newPerformanceInsights' smart constructor.+data PerformanceInsights = PerformanceInsights+  { -- | Output only. Average execution ms of previous runs. Indicates the job ran slow compared to previous executions. To find previous executions, use INFORMATION_SCHEMA tables and filter jobs with same query hash.+    avgPreviousExecutionMs :: (Core.Maybe Core.Int64),+    -- | Output only. Query stage performance insights compared to previous runs, for diagnosing performance regression.+    stagePerformanceChangeInsights :: (Core.Maybe [StagePerformanceChangeInsight]),+    -- | Output only. Standalone query stage performance insights, for exploring potential improvements.+    stagePerformanceStandaloneInsights :: (Core.Maybe [StagePerformanceStandaloneInsight])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'PerformanceInsights' with the minimum fields required to make a request.+newPerformanceInsights ::+  PerformanceInsights+newPerformanceInsights =+  PerformanceInsights+    { avgPreviousExecutionMs = Core.Nothing,+      stagePerformanceChangeInsights = Core.Nothing,+      stagePerformanceStandaloneInsights = Core.Nothing+    }++instance Core.FromJSON PerformanceInsights where+  parseJSON =+    Core.withObject+      "PerformanceInsights"+      ( \o ->+          PerformanceInsights+            Core.<$> ( o+                         Core..:? "avgPreviousExecutionMs"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> (o Core..:? "stagePerformanceChangeInsights")+            Core.<*> (o Core..:? "stagePerformanceStandaloneInsights")+      )++instance Core.ToJSON PerformanceInsights where+  toJSON PerformanceInsights {..} =+    Core.object+      ( Core.catMaybes+          [ ("avgPreviousExecutionMs" Core..=)+              Core.. Core.AsText+              Core.<$> avgPreviousExecutionMs,+            ("stagePerformanceChangeInsights" Core..=)+              Core.<$> stagePerformanceChangeInsights,+            ("stagePerformanceStandaloneInsights" Core..=)+              Core.<$> stagePerformanceStandaloneInsights+          ]+      )++-- | An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A @Policy@ is a collection of @bindings@. A @binding@ binds one or more @members@, or principals, to a single @role@. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A @role@ is a named list of permissions; each @role@ can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a @binding@ can also specify a @condition@, which is a logical expression that allows access to a resource only if the expression evaluates to @true@. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the <https://cloud.google.com/iam/help/conditions/resource-policies IAM documentation>. __JSON example:__+-- @{ \"bindings\": [ { \"role\": \"roles\/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike\@example.com\", \"group:admins\@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id\@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles\/resourcemanager.organizationViewer\", \"members\": [ \"user:eve\@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time \< timestamp(\'2020-10-01T00:00:00.000Z\')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 }@ __YAML example:__+-- @bindings: - members: - user:mike\@example.com - group:admins\@example.com - domain:google.com - serviceAccount:my-project-id\@appspot.gserviceaccount.com role: roles\/resourcemanager.organizationAdmin - members: - user:eve\@example.com role: roles\/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time \< timestamp(\'2020-10-01T00:00:00.000Z\') etag: BwWWja0YfJA= version: 3@ For a description of IAM and its features, see the <https://cloud.google.com/iam/docs/ IAM documentation>.+--+-- /See:/ 'newPolicy' smart constructor.+data Policy = Policy+  { -- | Specifies cloud audit logging configuration for this policy.+    auditConfigs :: (Core.Maybe [AuditConfig]),+    -- | Associates a list of @members@, or principals, with a @role@. Optionally, may specify a @condition@ that determines how and when the @bindings@ are applied. Each of the @bindings@ must contain at least one principal. The @bindings@ in a @Policy@ can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the @bindings@ grant 50 different roles to @user:alice\@example.com@, and not to any other principal, then you can add another 1,450 principals to the @bindings@ in the @Policy@.+    bindings :: (Core.Maybe [Binding]),+    -- | @etag@ is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the @etag@ in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An @etag@ is returned in the response to @getIamPolicy@, and systems are expected to put that etag in the request to @setIamPolicy@ to ensure that their change will be applied to the same version of the policy. __Important:__ If you use IAM Conditions, you must include the @etag@ field whenever you call @setIamPolicy@. If you omit this field, then IAM allows you to overwrite a version @3@ policy with a version @1@ policy, and all of the conditions in the version @3@ policy are lost.+    etag :: (Core.Maybe Core.Base64),+    -- | Specifies the format of the policy. Valid values are @0@, @1@, and @3@. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version @3@. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions __Important:__ If you use IAM Conditions, you must include the @etag@ field whenever you call @setIamPolicy@. If you omit this field, then IAM allows you to overwrite a version @3@ policy with a version @1@ policy, and all of the conditions in the version @3@ policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the+    -- <https://cloud.google.com/iam/help/conditions/resource-policies IAM documentation>.+    version :: (Core.Maybe Core.Int32)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Policy' with the minimum fields required to make a request.+newPolicy ::+  Policy+newPolicy =+  Policy+    { auditConfigs = Core.Nothing,+      bindings = Core.Nothing,+      etag = Core.Nothing,+      version = Core.Nothing+    }++instance Core.FromJSON Policy where+  parseJSON =+    Core.withObject+      "Policy"+      ( \o ->+          Policy+            Core.<$> (o Core..:? "auditConfigs")+            Core.<*> (o Core..:? "bindings")+            Core.<*> (o Core..:? "etag")+            Core.<*> (o Core..:? "version")+      )++instance Core.ToJSON Policy where+  toJSON Policy {..} =+    Core.object+      ( Core.catMaybes+          [ ("auditConfigs" Core..=) Core.<$> auditConfigs,+            ("bindings" Core..=) Core.<$> bindings,+            ("etag" Core..=) Core.<$> etag,+            ("version" Core..=) Core.<$> version+          ]+      )++-- | Principal component infos, used only for eigen decomposition based models, e.g., PCA. Ordered by explained_variance in the descending order.+--+-- /See:/ 'newPrincipalComponentInfo' smart constructor.+data PrincipalComponentInfo = PrincipalComponentInfo+  { -- | The explained_variance is pre-ordered in the descending order to compute the cumulative explained variance ratio.+    cumulativeExplainedVarianceRatio :: (Core.Maybe Core.Double),+    -- | Explained variance by this principal component, which is simply the eigenvalue.+    explainedVariance :: (Core.Maybe Core.Double),+    -- | Explained_variance over the total explained variance.+    explainedVarianceRatio :: (Core.Maybe Core.Double),+    -- | Id of the principal component.+    principalComponentId :: (Core.Maybe Core.Int64)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'PrincipalComponentInfo' with the minimum fields required to make a request.+newPrincipalComponentInfo ::+  PrincipalComponentInfo+newPrincipalComponentInfo =+  PrincipalComponentInfo+    { cumulativeExplainedVarianceRatio =+        Core.Nothing,+      explainedVariance = Core.Nothing,+      explainedVarianceRatio = Core.Nothing,+      principalComponentId = Core.Nothing+    }++instance Core.FromJSON PrincipalComponentInfo where+  parseJSON =+    Core.withObject+      "PrincipalComponentInfo"+      ( \o ->+          PrincipalComponentInfo+            Core.<$> (o Core..:? "cumulativeExplainedVarianceRatio")+            Core.<*> (o Core..:? "explainedVariance")+            Core.<*> (o Core..:? "explainedVarianceRatio")+            Core.<*> ( o+                         Core..:? "principalComponentId"+                         Core.<&> Core.fmap Core.fromAsText+                     )+      )++instance Core.ToJSON PrincipalComponentInfo where+  toJSON PrincipalComponentInfo {..} =+    Core.object+      ( Core.catMaybes+          [ ("cumulativeExplainedVarianceRatio" Core..=)+              Core.<$> cumulativeExplainedVarianceRatio,+            ("explainedVariance" Core..=) Core.<$> explainedVariance,+            ("explainedVarianceRatio" Core..=) Core.<$> explainedVarianceRatio,+            ("principalComponentId" Core..=)+              Core.. Core.AsText+              Core.<$> principalComponentId+          ]+      )++-- | Represents privacy policy that contains the privacy requirements specified by the data owner. Currently, this is only supported on views.+--+-- /See:/ 'newPrivacyPolicy' smart constructor.+data PrivacyPolicy = PrivacyPolicy+  { -- | Optional. Policy used for aggregation thresholds.+    aggregationThresholdPolicy :: (Core.Maybe AggregationThresholdPolicy),+    -- | Optional. Policy used for differential privacy.+    differentialPrivacyPolicy :: (Core.Maybe DifferentialPrivacyPolicy),+    -- | Optional. Join restriction policy is outside of the one of policies, since this policy can be set along with other policies. This policy gives data providers the ability to enforce joins on the \'join/allowed/columns\' when data is queried from a privacy protected view.+    joinRestrictionPolicy :: (Core.Maybe JoinRestrictionPolicy)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'PrivacyPolicy' with the minimum fields required to make a request.+newPrivacyPolicy ::+  PrivacyPolicy+newPrivacyPolicy =+  PrivacyPolicy+    { aggregationThresholdPolicy = Core.Nothing,+      differentialPrivacyPolicy = Core.Nothing,+      joinRestrictionPolicy = Core.Nothing+    }++instance Core.FromJSON PrivacyPolicy where+  parseJSON =+    Core.withObject+      "PrivacyPolicy"+      ( \o ->+          PrivacyPolicy+            Core.<$> (o Core..:? "aggregationThresholdPolicy")+            Core.<*> (o Core..:? "differentialPrivacyPolicy")+            Core.<*> (o Core..:? "joinRestrictionPolicy")+      )++instance Core.ToJSON PrivacyPolicy where+  toJSON PrivacyPolicy {..} =+    Core.object+      ( Core.catMaybes+          [ ("aggregationThresholdPolicy" Core..=)+              Core.<$> aggregationThresholdPolicy,+            ("differentialPrivacyPolicy" Core..=)+              Core.<$> differentialPrivacyPolicy,+            ("joinRestrictionPolicy" Core..=) Core.<$> joinRestrictionPolicy+          ]+      )++-- | Response object of ListProjects+--+-- /See:/ 'newProjectList' smart constructor.+data ProjectList = ProjectList+  { -- | A hash of the page of results.+    etag :: (Core.Maybe Core.Text),+    -- | The resource type of the response.+    kind :: Core.Text,+    -- | Use this token to request the next page of results.+    nextPageToken :: (Core.Maybe Core.Text),+    -- | Projects to which the user has at least READ access.+    projects :: (Core.Maybe [ProjectList_ProjectsItem]),+    -- | The total number of projects in the page. A wrapper is used here because the field should still be in the response when the value is 0.+    totalItems :: (Core.Maybe Core.Int32)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ProjectList' with the minimum fields required to make a request.+newProjectList ::+  ProjectList+newProjectList =+  ProjectList+    { etag = Core.Nothing,+      kind = "bigquery#projectList",+      nextPageToken = Core.Nothing,+      projects = Core.Nothing,+      totalItems = Core.Nothing+    }++instance Core.FromJSON ProjectList where+  parseJSON =+    Core.withObject+      "ProjectList"+      ( \o ->+          ProjectList+            Core.<$> (o Core..:? "etag")+            Core.<*> (o Core..:? "kind" Core..!= "bigquery#projectList")+            Core.<*> (o Core..:? "nextPageToken")+            Core.<*> (o Core..:? "projects")+            Core.<*> (o Core..:? "totalItems")+      )++instance Core.ToJSON ProjectList where+  toJSON ProjectList {..} =+    Core.object+      ( Core.catMaybes+          [ ("etag" Core..=) Core.<$> etag,+            Core.Just ("kind" Core..= kind),+            ("nextPageToken" Core..=) Core.<$> nextPageToken,+            ("projects" Core..=) Core.<$> projects,+            ("totalItems" Core..=) Core.<$> totalItems+          ]+      )++-- | Information about a single project.+--+-- /See:/ 'newProjectList_ProjectsItem' smart constructor.+data ProjectList_ProjectsItem = ProjectList_ProjectsItem+  { -- | A descriptive name for this project. A wrapper is used here because friendlyName can be set to the empty string.+    friendlyName :: (Core.Maybe Core.Text),+    -- | An opaque ID of this project.+    id :: (Core.Maybe Core.Text),+    -- | The resource type.+    kind :: (Core.Maybe Core.Text),+    -- | The numeric ID of this project.+    numericId :: (Core.Maybe Core.Word64),+    -- | A unique reference to this project.+    projectReference :: (Core.Maybe ProjectReference)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ProjectList_ProjectsItem' with the minimum fields required to make a request.+newProjectList_ProjectsItem ::+  ProjectList_ProjectsItem+newProjectList_ProjectsItem =+  ProjectList_ProjectsItem+    { friendlyName = Core.Nothing,+      id = Core.Nothing,+      kind = Core.Nothing,+      numericId = Core.Nothing,+      projectReference = Core.Nothing+    }++instance Core.FromJSON ProjectList_ProjectsItem where+  parseJSON =+    Core.withObject+      "ProjectList_ProjectsItem"+      ( \o ->+          ProjectList_ProjectsItem+            Core.<$> (o Core..:? "friendlyName")+            Core.<*> (o Core..:? "id")+            Core.<*> (o Core..:? "kind")+            Core.<*> (o Core..:? "numericId" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "projectReference")+      )++instance Core.ToJSON ProjectList_ProjectsItem where+  toJSON ProjectList_ProjectsItem {..} =+    Core.object+      ( Core.catMaybes+          [ ("friendlyName" Core..=) Core.<$> friendlyName,+            ("id" Core..=) Core.<$> id,+            ("kind" Core..=) Core.<$> kind,+            ("numericId" Core..=) Core.. Core.AsText Core.<$> numericId,+            ("projectReference" Core..=) Core.<$> projectReference+          ]+      )++-- | A unique reference to a project.+--+-- /See:/ 'newProjectReference' smart constructor.+newtype ProjectReference = ProjectReference+  { -- | Required. ID of the project. Can be either the numeric ID or the assigned ID of the project.+    projectId :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ProjectReference' with the minimum fields required to make a request.+newProjectReference ::+  ProjectReference+newProjectReference = ProjectReference {projectId = Core.Nothing}++instance Core.FromJSON ProjectReference where+  parseJSON =+    Core.withObject+      "ProjectReference"+      (\o -> ProjectReference Core.<$> (o Core..:? "projectId"))++instance Core.ToJSON ProjectReference where+  toJSON ProjectReference {..} =+    Core.object+      (Core.catMaybes [("projectId" Core..=) Core.<$> projectId])++-- | Query optimization information for a QUERY job.+--+-- /See:/ 'newQueryInfo' smart constructor.+newtype QueryInfo = QueryInfo+  { -- | Output only. Information about query optimizations.+    optimizationDetails :: (Core.Maybe QueryInfo_OptimizationDetails)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'QueryInfo' with the minimum fields required to make a request.+newQueryInfo ::+  QueryInfo+newQueryInfo = QueryInfo {optimizationDetails = Core.Nothing}++instance Core.FromJSON QueryInfo where+  parseJSON =+    Core.withObject+      "QueryInfo"+      (\o -> QueryInfo Core.<$> (o Core..:? "optimizationDetails"))++instance Core.ToJSON QueryInfo where+  toJSON QueryInfo {..} =+    Core.object+      ( Core.catMaybes+          [("optimizationDetails" Core..=) Core.<$> optimizationDetails]+      )++-- | Output only. Information about query optimizations.+--+-- /See:/ 'newQueryInfo_OptimizationDetails' smart constructor.+newtype QueryInfo_OptimizationDetails = QueryInfo_OptimizationDetails+  { -- | Properties of the object.+    additional :: (Core.HashMap Core.Text Core.Value)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'QueryInfo_OptimizationDetails' with the minimum fields required to make a request.+newQueryInfo_OptimizationDetails ::+  -- |  Properties of the object. See 'additional'.+  Core.HashMap Core.Text Core.Value ->+  QueryInfo_OptimizationDetails+newQueryInfo_OptimizationDetails additional =+  QueryInfo_OptimizationDetails {additional = additional}++instance Core.FromJSON QueryInfo_OptimizationDetails where+  parseJSON =+    Core.withObject+      "QueryInfo_OptimizationDetails"+      ( \o ->+          QueryInfo_OptimizationDetails Core.<$> (Core.parseJSONObject o)+      )++instance Core.ToJSON QueryInfo_OptimizationDetails where+  toJSON QueryInfo_OptimizationDetails {..} = Core.toJSON additional++-- | A parameter given to a query.+--+-- /See:/ 'newQueryParameter' smart constructor.+data QueryParameter = QueryParameter+  { -- | Optional. If unset, this is a positional parameter. Otherwise, should be unique within a query.+    name :: (Core.Maybe Core.Text),+    -- | Required. The type of this parameter.+    parameterType :: (Core.Maybe QueryParameterType),+    -- | Required. The value of this parameter.+    parameterValue :: (Core.Maybe QueryParameterValue)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'QueryParameter' with the minimum fields required to make a request.+newQueryParameter ::+  QueryParameter+newQueryParameter =+  QueryParameter+    { name = Core.Nothing,+      parameterType = Core.Nothing,+      parameterValue = Core.Nothing+    }++instance Core.FromJSON QueryParameter where+  parseJSON =+    Core.withObject+      "QueryParameter"+      ( \o ->+          QueryParameter+            Core.<$> (o Core..:? "name")+            Core.<*> (o Core..:? "parameterType")+            Core.<*> (o Core..:? "parameterValue")+      )++instance Core.ToJSON QueryParameter where+  toJSON QueryParameter {..} =+    Core.object+      ( Core.catMaybes+          [ ("name" Core..=) Core.<$> name,+            ("parameterType" Core..=) Core.<$> parameterType,+            ("parameterValue" Core..=) Core.<$> parameterValue+          ]+      )++-- | The type of a query parameter.+--+-- /See:/ 'newQueryParameterType' smart constructor.+data QueryParameterType = QueryParameterType+  { -- | Optional. The type of the array\'s elements, if this is an array.+    arrayType :: (Core.Maybe QueryParameterType),+    -- | Optional. The element type of the range, if this is a range.+    rangeElementType :: (Core.Maybe QueryParameterType),+    -- | Optional. The types of the fields of this struct, in order, if this is a struct.+    structTypes :: (Core.Maybe [QueryParameterType_StructTypesItem]),+    -- | Required. The top level type of this field.+    type' :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'QueryParameterType' with the minimum fields required to make a request.+newQueryParameterType ::+  QueryParameterType+newQueryParameterType =+  QueryParameterType+    { arrayType = Core.Nothing,+      rangeElementType = Core.Nothing,+      structTypes = Core.Nothing,+      type' = Core.Nothing+    }++instance Core.FromJSON QueryParameterType where+  parseJSON =+    Core.withObject+      "QueryParameterType"+      ( \o ->+          QueryParameterType+            Core.<$> (o Core..:? "arrayType")+            Core.<*> (o Core..:? "rangeElementType")+            Core.<*> (o Core..:? "structTypes")+            Core.<*> (o Core..:? "type")+      )++instance Core.ToJSON QueryParameterType where+  toJSON QueryParameterType {..} =+    Core.object+      ( Core.catMaybes+          [ ("arrayType" Core..=) Core.<$> arrayType,+            ("rangeElementType" Core..=) Core.<$> rangeElementType,+            ("structTypes" Core..=) Core.<$> structTypes,+            ("type" Core..=) Core.<$> type'+          ]+      )++-- | The type of a struct parameter.+--+-- /See:/ 'newQueryParameterType_StructTypesItem' smart constructor.+data QueryParameterType_StructTypesItem = QueryParameterType_StructTypesItem+  { -- | Optional. Human-oriented description of the field.+    description :: (Core.Maybe Core.Text),+    -- | Optional. The name of this field.+    name :: (Core.Maybe Core.Text),+    -- | Required. The type of this field.+    type' :: (Core.Maybe QueryParameterType)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'QueryParameterType_StructTypesItem' with the minimum fields required to make a request.+newQueryParameterType_StructTypesItem ::+  QueryParameterType_StructTypesItem+newQueryParameterType_StructTypesItem =+  QueryParameterType_StructTypesItem+    { description = Core.Nothing,+      name = Core.Nothing,+      type' = Core.Nothing+    }++instance Core.FromJSON QueryParameterType_StructTypesItem where+  parseJSON =+    Core.withObject+      "QueryParameterType_StructTypesItem"+      ( \o ->+          QueryParameterType_StructTypesItem+            Core.<$> (o Core..:? "description")+            Core.<*> (o Core..:? "name")+            Core.<*> (o Core..:? "type")+      )++instance Core.ToJSON QueryParameterType_StructTypesItem where+  toJSON QueryParameterType_StructTypesItem {..} =+    Core.object+      ( Core.catMaybes+          [ ("description" Core..=) Core.<$> description,+            ("name" Core..=) Core.<$> name,+            ("type" Core..=) Core.<$> type'+          ]+      )++-- | The value of a query parameter.+--+-- /See:/ 'newQueryParameterValue' smart constructor.+data QueryParameterValue = QueryParameterValue+  { -- | Optional. The array values, if this is an array type.+    arrayValues :: (Core.Maybe [QueryParameterValue]),+    -- | Optional. The range value, if this is a range type.+    rangeValue :: (Core.Maybe RangeValue),+    -- | The struct field values.+    structValues :: (Core.Maybe QueryParameterValue_StructValues),+    -- | Optional. The value of this value, if a simple scalar type.+    value :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'QueryParameterValue' with the minimum fields required to make a request.+newQueryParameterValue ::+  QueryParameterValue+newQueryParameterValue =+  QueryParameterValue+    { arrayValues = Core.Nothing,+      rangeValue = Core.Nothing,+      structValues = Core.Nothing,+      value = Core.Nothing+    }++instance Core.FromJSON QueryParameterValue where+  parseJSON =+    Core.withObject+      "QueryParameterValue"+      ( \o ->+          QueryParameterValue+            Core.<$> (o Core..:? "arrayValues")+            Core.<*> (o Core..:? "rangeValue")+            Core.<*> (o Core..:? "structValues")+            Core.<*> (o Core..:? "value")+      )++instance Core.ToJSON QueryParameterValue where+  toJSON QueryParameterValue {..} =+    Core.object+      ( Core.catMaybes+          [ ("arrayValues" Core..=) Core.<$> arrayValues,+            ("rangeValue" Core..=) Core.<$> rangeValue,+            ("structValues" Core..=) Core.<$> structValues,+            ("value" Core..=) Core.<$> value+          ]+      )++-- | The struct field values.+--+-- /See:/ 'newQueryParameterValue_StructValues' smart constructor.+newtype QueryParameterValue_StructValues = QueryParameterValue_StructValues+  { additional :: (Core.HashMap Core.Text QueryParameterValue)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'QueryParameterValue_StructValues' with the minimum fields required to make a request.+newQueryParameterValue_StructValues ::+  -- |  See 'additional'.+  Core.HashMap Core.Text QueryParameterValue ->+  QueryParameterValue_StructValues+newQueryParameterValue_StructValues additional =+  QueryParameterValue_StructValues {additional = additional}++instance Core.FromJSON QueryParameterValue_StructValues where+  parseJSON =+    Core.withObject+      "QueryParameterValue_StructValues"+      ( \o ->+          QueryParameterValue_StructValues Core.<$> (Core.parseJSONObject o)+      )++instance Core.ToJSON QueryParameterValue_StructValues where+  toJSON QueryParameterValue_StructValues {..} =+    Core.toJSON additional++-- | Describes the format of the jobs.query request.+--+-- /See:/ 'newQueryRequest' smart constructor.+data QueryRequest = QueryRequest+  { -- | Optional. Connection properties which can modify the query behavior.+    connectionProperties :: (Core.Maybe [ConnectionProperty]),+    -- | [Optional] Specifies whether the query should be executed as a continuous query. The default value is false.+    continuous :: (Core.Maybe Core.Bool),+    -- | Optional. If true, creates a new session using a randomly generated session/id. If false, runs query with an existing session/id passed in ConnectionProperty, otherwise runs query in non-session mode. The session location will be set to QueryRequest.location if it is present, otherwise it\'s set to the default location based on existing routing logic.+    createSession :: (Core.Maybe Core.Bool),+    -- | Optional. Specifies the default datasetId and projectId to assume for any unqualified table names in the query. If not set, all table names in the query string must be qualified in the format \'datasetId.tableId\'.+    defaultDataset :: (Core.Maybe DatasetReference),+    -- | Optional. Custom encryption configuration (e.g., Cloud KMS keys)+    destinationEncryptionConfiguration :: (Core.Maybe EncryptionConfiguration),+    -- | Optional. If set to true, BigQuery doesn\'t run the job. Instead, if the query is valid, BigQuery returns statistics about the job such as how many bytes would be processed. If the query is invalid, an error returns. The default value is false.+    dryRun :: (Core.Maybe Core.Bool),+    -- | Optional. Output format adjustments.+    formatOptions :: (Core.Maybe DataFormatOptions),+    -- | Optional. If not set, jobs are always required. If set, the query request will follow the behavior described JobCreationMode. <https://cloud.google.com/products/#product-launch-stages Preview>+    jobCreationMode :: (Core.Maybe QueryRequest_JobCreationMode),+    -- | Optional. Job timeout in milliseconds. If this time limit is exceeded, BigQuery will attempt to stop a longer job, but may not always succeed in canceling it before the job completes. For example, a job that takes more than 60 seconds to complete has a better chance of being stopped than a job that takes 10 seconds to complete. This timeout applies to the query even if a job does not need to be created.+    jobTimeoutMs :: (Core.Maybe Core.Int64),+    -- | The resource type of the request.+    kind :: Core.Text,+    -- | Optional. The labels associated with this query. Labels can be used to organize and group query jobs. Label keys and values can be no longer than 63 characters, can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label keys must start with a letter and each label in the list must have a different key.+    labels :: (Core.Maybe QueryRequest_Labels),+    -- | The geographic location where the job should run. For more information, see how to <https://cloud.google.com/bigquery/docs/locations#specify_locations specify locations>.+    location :: (Core.Maybe Core.Text),+    -- | Optional. The maximum number of rows of data to return per page of results. Setting this flag to a small value such as 1000 and then paging through results might improve reliability when the query result set is large. In addition to this limit, responses are also limited to 10 MB. By default, there is no maximum row count, and only the byte limit applies.+    maxResults :: (Core.Maybe Core.Word32),+    -- | Optional. Limits the bytes billed for this query. Queries with bytes billed above this limit will fail (without incurring a charge). If unspecified, the project default is used.+    maximumBytesBilled :: (Core.Maybe Core.Int64),+    -- | GoogleSQL only. Set to POSITIONAL to use positional (?) query parameters or to NAMED to use named (\@myparam) query parameters in this query.+    parameterMode :: (Core.Maybe Core.Text),+    -- | This property is deprecated.+    preserveNulls :: (Core.Maybe Core.Bool),+    -- | Required. A query string to execute, using Google Standard SQL or legacy SQL syntax. Example: \"SELECT COUNT(f1) FROM myProjectId.myDatasetId.myTableId\".+    query :: (Core.Maybe Core.Text),+    -- | Query parameters for GoogleSQL queries.+    queryParameters :: (Core.Maybe [QueryParameter]),+    -- | Optional. A unique user provided identifier to ensure idempotent behavior for queries. Note that this is different from the job/id. It has the following properties: 1. It is case-sensitive, limited to up to 36 ASCII characters. A UUID is recommended. 2. Read only queries can ignore this token since they are nullipotent by definition. 3. For the purposes of idempotency ensured by the request/id, a request is considered duplicate of another only if they have the same request/id and are actually duplicates. When determining whether a request is a duplicate of another request, all parameters in the request that may affect the result are considered. For example, query, connection/properties, query/parameters, use/legacy/sql are parameters that affect the result and are considered when determining whether a request is a duplicate, but properties like timeout/ms don\'t affect the result and are thus not considered. Dry run query requests are never considered duplicate of another request. 4. When a duplicate mutating+    -- query request is detected, it returns: a. the results of the mutation if it completes successfully within the timeout. b. the running operation if it is still in progress at the end of the timeout. 5. Its lifetime is limited to 15 minutes. In other words, if two requests are sent with the same request_id, but more than 15 minutes apart, idempotency is not guaranteed.+    requestId :: (Core.Maybe Core.Text),+    -- | Optional. Optional: Specifies the maximum amount of time, in milliseconds, that the client is willing to wait for the query to complete. By default, this limit is 10 seconds (10,000 milliseconds). If the query is complete, the jobComplete field in the response is true. If the query has not yet completed, jobComplete is false. You can request a longer timeout period in the timeoutMs field. However, the call is not guaranteed to wait for the specified timeout; it typically returns after around 200 seconds (200,000 milliseconds), even if the query is not complete. If jobComplete is false, you can continue to wait for the query to complete by calling the getQueryResults method until the jobComplete field in the getQueryResults response is true.+    timeoutMs :: (Core.Maybe Core.Word32),+    -- | Specifies whether to use BigQuery\'s legacy SQL dialect for this query. The default value is true. If set to false, the query will use BigQuery\'s GoogleSQL: https:\/\/cloud.google.com\/bigquery\/sql-reference\/ When useLegacySql is set to false, the value of flattenResults is ignored; query will be run as if flattenResults is false.+    useLegacySql :: Core.Bool,+    -- | Optional. Whether to look for the result in the query cache. The query cache is a best-effort cache that will be flushed whenever tables in the query are modified. The default value is true.+    useQueryCache :: Core.Bool,+    -- | Optional. This is only supported for SELECT query. If set, the query is allowed to write results incrementally to the temporary result table. This may incur a performance penalty. This option cannot be used with Legacy SQL. This feature is not yet available.+    writeIncrementalResults :: (Core.Maybe Core.Bool)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'QueryRequest' with the minimum fields required to make a request.+newQueryRequest ::+  QueryRequest+newQueryRequest =+  QueryRequest+    { connectionProperties = Core.Nothing,+      continuous = Core.Nothing,+      createSession = Core.Nothing,+      defaultDataset = Core.Nothing,+      destinationEncryptionConfiguration = Core.Nothing,+      dryRun = Core.Nothing,+      formatOptions = Core.Nothing,+      jobCreationMode = Core.Nothing,+      jobTimeoutMs = Core.Nothing,+      kind = "bigquery#queryRequest",+      labels = Core.Nothing,+      location = Core.Nothing,+      maxResults = Core.Nothing,+      maximumBytesBilled = Core.Nothing,+      parameterMode = Core.Nothing,+      preserveNulls = Core.Nothing,+      query = Core.Nothing,+      queryParameters = Core.Nothing,+      requestId = Core.Nothing,+      timeoutMs = Core.Nothing,+      useLegacySql = Core.True,+      useQueryCache = Core.True,+      writeIncrementalResults = Core.Nothing+    }++instance Core.FromJSON QueryRequest where+  parseJSON =+    Core.withObject+      "QueryRequest"+      ( \o ->+          QueryRequest+            Core.<$> (o Core..:? "connectionProperties")+            Core.<*> (o Core..:? "continuous")+            Core.<*> (o Core..:? "createSession")+            Core.<*> (o Core..:? "defaultDataset")+            Core.<*> (o Core..:? "destinationEncryptionConfiguration")+            Core.<*> (o Core..:? "dryRun")+            Core.<*> (o Core..:? "formatOptions")+            Core.<*> (o Core..:? "jobCreationMode")+            Core.<*> (o Core..:? "jobTimeoutMs" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "kind" Core..!= "bigquery#queryRequest")+            Core.<*> (o Core..:? "labels")+            Core.<*> (o Core..:? "location")+            Core.<*> (o Core..:? "maxResults")+            Core.<*> ( o+                         Core..:? "maximumBytesBilled"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> (o Core..:? "parameterMode")+            Core.<*> (o Core..:? "preserveNulls")+            Core.<*> (o Core..:? "query")+            Core.<*> (o Core..:? "queryParameters")+            Core.<*> (o Core..:? "requestId")+            Core.<*> (o Core..:? "timeoutMs")+            Core.<*> (o Core..:? "useLegacySql" Core..!= Core.True)+            Core.<*> (o Core..:? "useQueryCache" Core..!= Core.True)+            Core.<*> (o Core..:? "writeIncrementalResults")+      )++instance Core.ToJSON QueryRequest where+  toJSON QueryRequest {..} =+    Core.object+      ( Core.catMaybes+          [ ("connectionProperties" Core..=) Core.<$> connectionProperties,+            ("continuous" Core..=) Core.<$> continuous,+            ("createSession" Core..=) Core.<$> createSession,+            ("defaultDataset" Core..=) Core.<$> defaultDataset,+            ("destinationEncryptionConfiguration" Core..=)+              Core.<$> destinationEncryptionConfiguration,+            ("dryRun" Core..=) Core.<$> dryRun,+            ("formatOptions" Core..=) Core.<$> formatOptions,+            ("jobCreationMode" Core..=) Core.<$> jobCreationMode,+            ("jobTimeoutMs" Core..=) Core.. Core.AsText Core.<$> jobTimeoutMs,+            Core.Just ("kind" Core..= kind),+            ("labels" Core..=) Core.<$> labels,+            ("location" Core..=) Core.<$> location,+            ("maxResults" Core..=) Core.<$> maxResults,+            ("maximumBytesBilled" Core..=)+              Core.. Core.AsText+              Core.<$> maximumBytesBilled,+            ("parameterMode" Core..=) Core.<$> parameterMode,+            ("preserveNulls" Core..=) Core.<$> preserveNulls,+            ("query" Core..=) Core.<$> query,+            ("queryParameters" Core..=) Core.<$> queryParameters,+            ("requestId" Core..=) Core.<$> requestId,+            ("timeoutMs" Core..=) Core.<$> timeoutMs,+            Core.Just ("useLegacySql" Core..= useLegacySql),+            Core.Just ("useQueryCache" Core..= useQueryCache),+            ("writeIncrementalResults" Core..=)+              Core.<$> writeIncrementalResults+          ]+      )++-- | Optional. The labels associated with this query. Labels can be used to organize and group query jobs. Label keys and values can be no longer than 63 characters, can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label keys must start with a letter and each label in the list must have a different key.+--+-- /See:/ 'newQueryRequest_Labels' smart constructor.+newtype QueryRequest_Labels = QueryRequest_Labels+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'QueryRequest_Labels' with the minimum fields required to make a request.+newQueryRequest_Labels ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  QueryRequest_Labels+newQueryRequest_Labels additional =+  QueryRequest_Labels {additional = additional}++instance Core.FromJSON QueryRequest_Labels where+  parseJSON =+    Core.withObject+      "QueryRequest_Labels"+      (\o -> QueryRequest_Labels Core.<$> (Core.parseJSONObject o))++instance Core.ToJSON QueryRequest_Labels where+  toJSON QueryRequest_Labels {..} = Core.toJSON additional++--+-- /See:/ 'newQueryResponse' smart constructor.+data QueryResponse = QueryResponse+  { -- | Whether the query result was fetched from the query cache.+    cacheHit :: (Core.Maybe Core.Bool),+    -- | Output only. Creation time of this query, in milliseconds since the epoch. This field will be present on all queries.+    creationTime :: (Core.Maybe Core.Int64),+    -- | Output only. Detailed statistics for DML statements INSERT, UPDATE, DELETE, MERGE or TRUNCATE.+    dmlStats :: (Core.Maybe DmlStatistics),+    -- | Output only. End time of this query, in milliseconds since the epoch. This field will be present whenever a query job is in the DONE state.+    endTime :: (Core.Maybe Core.Int64),+    -- | Output only. The first errors or warnings encountered during the running of the job. The final message includes the number of errors that caused the process to stop. Errors here do not necessarily mean that the job has completed or was unsuccessful. For more information about error messages, see <https://cloud.google.com/bigquery/docs/error-messages Error messages>.+    errors :: (Core.Maybe [ErrorProto]),+    -- | Whether the query has completed or not. If rows or totalRows are present, this will always be true. If this is false, totalRows will not be available.+    jobComplete :: (Core.Maybe Core.Bool),+    -- | Optional. The reason why a Job was created. Only relevant when a job/reference is present in the response. If job/reference is not present it will always be unset. <https://cloud.google.com/products/#product-launch-stages Preview>+    jobCreationReason :: (Core.Maybe JobCreationReason),+    -- | Reference to the Job that was created to run the query. This field will be present even if the original request timed out, in which case GetQueryResults can be used to read the results once the query has completed. Since this API only returns the first page of results, subsequent pages can be fetched via the same mechanism (GetQueryResults). If job/creation/mode was set to @JOB_CREATION_OPTIONAL@ and the query completes without creating a job, this field will be empty.+    jobReference :: (Core.Maybe JobReference),+    -- | The resource type.+    kind :: Core.Text,+    -- | Output only. The geographic location of the query. For more information about BigQuery locations, see: https:\/\/cloud.google.com\/bigquery\/docs\/locations+    location :: (Core.Maybe Core.Text),+    -- | Output only. The number of rows affected by a DML statement. Present only for DML statements INSERT, UPDATE or DELETE.+    numDmlAffectedRows :: (Core.Maybe Core.Int64),+    -- | A token used for paging results. A non-empty token indicates that additional results are available. To see additional results, query the <https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs/getQueryResults jobs.getQueryResults> method. For more information, see <https://cloud.google.com/bigquery/docs/paging-results Paging through table data>.+    pageToken :: (Core.Maybe Core.Text),+    -- | Auto-generated ID for the query. <https://cloud.google.com/products/#product-launch-stages Preview>+    queryId :: (Core.Maybe Core.Text),+    -- | An object with as many results as can be contained within the maximum permitted reply size. To get any additional rows, you can call GetQueryResults and specify the jobReference returned above.+    rows :: (Core.Maybe [TableRow]),+    -- | The schema of the results. Present only when the query completes successfully.+    schema :: (Core.Maybe TableSchema),+    -- | Output only. Information of the session if this job is part of one.+    sessionInfo :: (Core.Maybe SessionInfo),+    -- | Output only. Start time of this query, in milliseconds since the epoch. This field will be present when the query job transitions from the PENDING state to either RUNNING or DONE.+    startTime :: (Core.Maybe Core.Int64),+    -- | Output only. If the project is configured to use on-demand pricing, then this field contains the total bytes billed for the job. If the project is configured to use flat-rate pricing, then you are not billed for bytes and this field is informational only.+    totalBytesBilled :: (Core.Maybe Core.Int64),+    -- | The total number of bytes processed for this query. If this query was a dry run, this is the number of bytes that would be processed if the query were run.+    totalBytesProcessed :: (Core.Maybe Core.Int64),+    -- | The total number of rows in the complete query result set, which can be more than the number of rows in this single page of results.+    totalRows :: (Core.Maybe Core.Word64),+    -- | Output only. Number of slot ms the user is actually billed for.+    totalSlotMs :: (Core.Maybe Core.Int64)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'QueryResponse' with the minimum fields required to make a request.+newQueryResponse ::+  QueryResponse+newQueryResponse =+  QueryResponse+    { cacheHit = Core.Nothing,+      creationTime = Core.Nothing,+      dmlStats = Core.Nothing,+      endTime = Core.Nothing,+      errors = Core.Nothing,+      jobComplete = Core.Nothing,+      jobCreationReason = Core.Nothing,+      jobReference = Core.Nothing,+      kind = "bigquery#queryResponse",+      location = Core.Nothing,+      numDmlAffectedRows = Core.Nothing,+      pageToken = Core.Nothing,+      queryId = Core.Nothing,+      rows = Core.Nothing,+      schema = Core.Nothing,+      sessionInfo = Core.Nothing,+      startTime = Core.Nothing,+      totalBytesBilled = Core.Nothing,+      totalBytesProcessed = Core.Nothing,+      totalRows = Core.Nothing,+      totalSlotMs = Core.Nothing+    }++instance Core.FromJSON QueryResponse where+  parseJSON =+    Core.withObject+      "QueryResponse"+      ( \o ->+          QueryResponse+            Core.<$> (o Core..:? "cacheHit")+            Core.<*> (o Core..:? "creationTime" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "dmlStats")+            Core.<*> (o Core..:? "endTime" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "errors")+            Core.<*> (o Core..:? "jobComplete")+            Core.<*> (o Core..:? "jobCreationReason")+            Core.<*> (o Core..:? "jobReference")+            Core.<*> (o Core..:? "kind" Core..!= "bigquery#queryResponse")+            Core.<*> (o Core..:? "location")+            Core.<*> ( o+                         Core..:? "numDmlAffectedRows"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> (o Core..:? "pageToken")+            Core.<*> (o Core..:? "queryId")+            Core.<*> (o Core..:? "rows")+            Core.<*> (o Core..:? "schema")+            Core.<*> (o Core..:? "sessionInfo")+            Core.<*> (o Core..:? "startTime" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "totalBytesBilled" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> ( o+                         Core..:? "totalBytesProcessed"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> (o Core..:? "totalRows" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "totalSlotMs" Core.<&> Core.fmap Core.fromAsText)+      )++instance Core.ToJSON QueryResponse where+  toJSON QueryResponse {..} =+    Core.object+      ( Core.catMaybes+          [ ("cacheHit" Core..=) Core.<$> cacheHit,+            ("creationTime" Core..=) Core.. Core.AsText Core.<$> creationTime,+            ("dmlStats" Core..=) Core.<$> dmlStats,+            ("endTime" Core..=) Core.. Core.AsText Core.<$> endTime,+            ("errors" Core..=) Core.<$> errors,+            ("jobComplete" Core..=) Core.<$> jobComplete,+            ("jobCreationReason" Core..=) Core.<$> jobCreationReason,+            ("jobReference" Core..=) Core.<$> jobReference,+            Core.Just ("kind" Core..= kind),+            ("location" Core..=) Core.<$> location,+            ("numDmlAffectedRows" Core..=)+              Core.. Core.AsText+              Core.<$> numDmlAffectedRows,+            ("pageToken" Core..=) Core.<$> pageToken,+            ("queryId" Core..=) Core.<$> queryId,+            ("rows" Core..=) Core.<$> rows,+            ("schema" Core..=) Core.<$> schema,+            ("sessionInfo" Core..=) Core.<$> sessionInfo,+            ("startTime" Core..=) Core.. Core.AsText Core.<$> startTime,+            ("totalBytesBilled" Core..=)+              Core.. Core.AsText+              Core.<$> totalBytesBilled,+            ("totalBytesProcessed" Core..=)+              Core.. Core.AsText+              Core.<$> totalBytesProcessed,+            ("totalRows" Core..=) Core.. Core.AsText Core.<$> totalRows,+            ("totalSlotMs" Core..=) Core.. Core.AsText Core.<$> totalSlotMs+          ]+      )++-- | Summary of the state of query execution at a given time.+--+-- /See:/ 'newQueryTimelineSample' smart constructor.+data QueryTimelineSample = QueryTimelineSample+  { -- | Total number of active workers. This does not correspond directly to slot usage. This is the largest value observed since the last sample.+    activeUnits :: (Core.Maybe Core.Int64),+    -- | Total parallel units of work completed by this query.+    completedUnits :: (Core.Maybe Core.Int64),+    -- | Milliseconds elapsed since the start of query execution.+    elapsedMs :: (Core.Maybe Core.Int64),+    -- | Units of work that can be scheduled immediately. Providing additional slots for these units of work will accelerate the query, if no other query in the reservation needs additional slots.+    estimatedRunnableUnits :: (Core.Maybe Core.Int64),+    -- | Total units of work remaining for the query. This number can be revised (increased or decreased) while the query is running.+    pendingUnits :: (Core.Maybe Core.Int64),+    -- | Cumulative slot-ms consumed by the query.+    totalSlotMs :: (Core.Maybe Core.Int64)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'QueryTimelineSample' with the minimum fields required to make a request.+newQueryTimelineSample ::+  QueryTimelineSample+newQueryTimelineSample =+  QueryTimelineSample+    { activeUnits = Core.Nothing,+      completedUnits = Core.Nothing,+      elapsedMs = Core.Nothing,+      estimatedRunnableUnits = Core.Nothing,+      pendingUnits = Core.Nothing,+      totalSlotMs = Core.Nothing+    }++instance Core.FromJSON QueryTimelineSample where+  parseJSON =+    Core.withObject+      "QueryTimelineSample"+      ( \o ->+          QueryTimelineSample+            Core.<$> (o Core..:? "activeUnits" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "completedUnits" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "elapsedMs" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> ( o+                         Core..:? "estimatedRunnableUnits"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> (o Core..:? "pendingUnits" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "totalSlotMs" Core.<&> Core.fmap Core.fromAsText)+      )++instance Core.ToJSON QueryTimelineSample where+  toJSON QueryTimelineSample {..} =+    Core.object+      ( Core.catMaybes+          [ ("activeUnits" Core..=) Core.. Core.AsText Core.<$> activeUnits,+            ("completedUnits" Core..=)+              Core.. Core.AsText+              Core.<$> completedUnits,+            ("elapsedMs" Core..=) Core.. Core.AsText Core.<$> elapsedMs,+            ("estimatedRunnableUnits" Core..=)+              Core.. Core.AsText+              Core.<$> estimatedRunnableUnits,+            ("pendingUnits" Core..=) Core.. Core.AsText Core.<$> pendingUnits,+            ("totalSlotMs" Core..=) Core.. Core.AsText Core.<$> totalSlotMs+          ]+      )++--+-- /See:/ 'newRangePartitioning' smart constructor.+data RangePartitioning = RangePartitioning+  { -- | Required. The name of the column to partition the table on. It must be a top-level, INT64 column whose mode is NULLABLE or REQUIRED.+    field :: (Core.Maybe Core.Text),+    -- | [Experimental] Defines the ranges for range partitioning.+    range :: (Core.Maybe RangePartitioning_Range)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'RangePartitioning' with the minimum fields required to make a request.+newRangePartitioning ::+  RangePartitioning+newRangePartitioning =+  RangePartitioning {field = Core.Nothing, range = Core.Nothing}++instance Core.FromJSON RangePartitioning where+  parseJSON =+    Core.withObject+      "RangePartitioning"+      ( \o ->+          RangePartitioning+            Core.<$> (o Core..:? "field")+            Core.<*> (o Core..:? "range")+      )++instance Core.ToJSON RangePartitioning where+  toJSON RangePartitioning {..} =+    Core.object+      ( Core.catMaybes+          [ ("field" Core..=) Core.<$> field,+            ("range" Core..=) Core.<$> range+          ]+      )++-- | [Experimental] Defines the ranges for range partitioning.+--+-- /See:/ 'newRangePartitioning_Range' smart constructor.+data RangePartitioning_Range = RangePartitioning_Range+  { -- | [Experimental] The end of range partitioning, exclusive.+    end :: (Core.Maybe Core.Int64),+    -- | [Experimental] The width of each interval.+    interval :: (Core.Maybe Core.Int64),+    -- | [Experimental] The start of range partitioning, inclusive.+    start :: (Core.Maybe Core.Int64)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'RangePartitioning_Range' with the minimum fields required to make a request.+newRangePartitioning_Range ::+  RangePartitioning_Range+newRangePartitioning_Range =+  RangePartitioning_Range+    { end = Core.Nothing,+      interval = Core.Nothing,+      start = Core.Nothing+    }++instance Core.FromJSON RangePartitioning_Range where+  parseJSON =+    Core.withObject+      "RangePartitioning_Range"+      ( \o ->+          RangePartitioning_Range+            Core.<$> (o Core..:? "end" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "interval" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "start" Core.<&> Core.fmap Core.fromAsText)+      )++instance Core.ToJSON RangePartitioning_Range where+  toJSON RangePartitioning_Range {..} =+    Core.object+      ( Core.catMaybes+          [ ("end" Core..=) Core.. Core.AsText Core.<$> end,+            ("interval" Core..=) Core.. Core.AsText Core.<$> interval,+            ("start" Core..=) Core.. Core.AsText Core.<$> start+          ]+      )++-- | Represents the value of a range.+--+-- /See:/ 'newRangeValue' smart constructor.+data RangeValue = RangeValue+  { -- | Optional. The end value of the range. A missing value represents an unbounded end.+    end :: (Core.Maybe QueryParameterValue),+    -- | Optional. The start value of the range. A missing value represents an unbounded start.+    start :: (Core.Maybe QueryParameterValue)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'RangeValue' with the minimum fields required to make a request.+newRangeValue ::+  RangeValue+newRangeValue =+  RangeValue {end = Core.Nothing, start = Core.Nothing}++instance Core.FromJSON RangeValue where+  parseJSON =+    Core.withObject+      "RangeValue"+      ( \o ->+          RangeValue+            Core.<$> (o Core..:? "end")+            Core.<*> (o Core..:? "start")+      )++instance Core.ToJSON RangeValue where+  toJSON RangeValue {..} =+    Core.object+      ( Core.catMaybes+          [("end" Core..=) Core.<$> end, ("start" Core..=) Core.<$> start]+      )++-- | Evaluation metrics used by weighted-ALS models specified by feedback_type=implicit.+--+-- /See:/ 'newRankingMetrics' smart constructor.+data RankingMetrics = RankingMetrics+  { -- | Determines the goodness of a ranking by computing the percentile rank from the predicted confidence and dividing it by the original rank.+    averageRank :: (Core.Maybe Core.Double),+    -- | Calculates a precision per user for all the items by ranking them and then averages all the precisions across all the users.+    meanAveragePrecision :: (Core.Maybe Core.Double),+    -- | Similar to the mean squared error computed in regression and explicit recommendation models except instead of computing the rating directly, the output from evaluate is computed against a preference which is 1 or 0 depending on if the rating exists or not.+    meanSquaredError :: (Core.Maybe Core.Double),+    -- | A metric to determine the goodness of a ranking calculated from the predicted confidence by comparing it to an ideal rank measured by the original ratings.+    normalizedDiscountedCumulativeGain :: (Core.Maybe Core.Double)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'RankingMetrics' with the minimum fields required to make a request.+newRankingMetrics ::+  RankingMetrics+newRankingMetrics =+  RankingMetrics+    { averageRank = Core.Nothing,+      meanAveragePrecision = Core.Nothing,+      meanSquaredError = Core.Nothing,+      normalizedDiscountedCumulativeGain = Core.Nothing+    }++instance Core.FromJSON RankingMetrics where+  parseJSON =+    Core.withObject+      "RankingMetrics"+      ( \o ->+          RankingMetrics+            Core.<$> (o Core..:? "averageRank")+            Core.<*> (o Core..:? "meanAveragePrecision")+            Core.<*> (o Core..:? "meanSquaredError")+            Core.<*> (o Core..:? "normalizedDiscountedCumulativeGain")+      )++instance Core.ToJSON RankingMetrics where+  toJSON RankingMetrics {..} =+    Core.object+      ( Core.catMaybes+          [ ("averageRank" Core..=) Core.<$> averageRank,+            ("meanAveragePrecision" Core..=) Core.<$> meanAveragePrecision,+            ("meanSquaredError" Core..=) Core.<$> meanSquaredError,+            ("normalizedDiscountedCumulativeGain" Core..=)+              Core.<$> normalizedDiscountedCumulativeGain+          ]+      )++-- | Evaluation metrics for regression and explicit feedback type matrix factorization models.+--+-- /See:/ 'newRegressionMetrics' smart constructor.+data RegressionMetrics = RegressionMetrics+  { -- | Mean absolute error.+    meanAbsoluteError :: (Core.Maybe Core.Double),+    -- | Mean squared error.+    meanSquaredError :: (Core.Maybe Core.Double),+    -- | Mean squared log error.+    meanSquaredLogError :: (Core.Maybe Core.Double),+    -- | Median absolute error.+    medianAbsoluteError :: (Core.Maybe Core.Double),+    -- | R^2 score. This corresponds to r2_score in ML.EVALUATE.+    rSquared :: (Core.Maybe Core.Double)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'RegressionMetrics' with the minimum fields required to make a request.+newRegressionMetrics ::+  RegressionMetrics+newRegressionMetrics =+  RegressionMetrics+    { meanAbsoluteError = Core.Nothing,+      meanSquaredError = Core.Nothing,+      meanSquaredLogError = Core.Nothing,+      medianAbsoluteError = Core.Nothing,+      rSquared = Core.Nothing+    }++instance Core.FromJSON RegressionMetrics where+  parseJSON =+    Core.withObject+      "RegressionMetrics"+      ( \o ->+          RegressionMetrics+            Core.<$> (o Core..:? "meanAbsoluteError")+            Core.<*> (o Core..:? "meanSquaredError")+            Core.<*> (o Core..:? "meanSquaredLogError")+            Core.<*> (o Core..:? "medianAbsoluteError")+            Core.<*> (o Core..:? "rSquared")+      )++instance Core.ToJSON RegressionMetrics where+  toJSON RegressionMetrics {..} =+    Core.object+      ( Core.catMaybes+          [ ("meanAbsoluteError" Core..=) Core.<$> meanAbsoluteError,+            ("meanSquaredError" Core..=) Core.<$> meanSquaredError,+            ("meanSquaredLogError" Core..=) Core.<$> meanSquaredLogError,+            ("medianAbsoluteError" Core..=) Core.<$> medianAbsoluteError,+            ("rSquared" Core..=) Core.<$> rSquared+          ]+      )++-- | Options for a remote user-defined function.+--+-- /See:/ 'newRemoteFunctionOptions' smart constructor.+data RemoteFunctionOptions = RemoteFunctionOptions+  { -- | Fully qualified name of the user-provided connection object which holds the authentication information to send requests to the remote service. Format: @\"projects\/{projectId}\/locations\/{locationId}\/connections\/{connectionId}\"@+    connection :: (Core.Maybe Core.Text),+    -- | Endpoint of the user-provided remote service, e.g. @https:\/\/us-east1-my_gcf_project.cloudfunctions.net\/remote_add@+    endpoint :: (Core.Maybe Core.Text),+    -- | Max number of rows in each batch sent to the remote service. If absent or if 0, BigQuery dynamically decides the number of rows in a batch.+    maxBatchingRows :: (Core.Maybe Core.Int64),+    -- | User-defined context as a set of key\/value pairs, which will be sent as function invocation context together with batched arguments in the requests to the remote service. The total number of bytes of keys and values must be less than 8KB.+    userDefinedContext :: (Core.Maybe RemoteFunctionOptions_UserDefinedContext)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'RemoteFunctionOptions' with the minimum fields required to make a request.+newRemoteFunctionOptions ::+  RemoteFunctionOptions+newRemoteFunctionOptions =+  RemoteFunctionOptions+    { connection = Core.Nothing,+      endpoint = Core.Nothing,+      maxBatchingRows = Core.Nothing,+      userDefinedContext = Core.Nothing+    }++instance Core.FromJSON RemoteFunctionOptions where+  parseJSON =+    Core.withObject+      "RemoteFunctionOptions"+      ( \o ->+          RemoteFunctionOptions+            Core.<$> (o Core..:? "connection")+            Core.<*> (o Core..:? "endpoint")+            Core.<*> (o Core..:? "maxBatchingRows" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "userDefinedContext")+      )++instance Core.ToJSON RemoteFunctionOptions where+  toJSON RemoteFunctionOptions {..} =+    Core.object+      ( Core.catMaybes+          [ ("connection" Core..=) Core.<$> connection,+            ("endpoint" Core..=) Core.<$> endpoint,+            ("maxBatchingRows" Core..=)+              Core.. Core.AsText+              Core.<$> maxBatchingRows,+            ("userDefinedContext" Core..=) Core.<$> userDefinedContext+          ]+      )++-- | User-defined context as a set of key\/value pairs, which will be sent as function invocation context together with batched arguments in the requests to the remote service. The total number of bytes of keys and values must be less than 8KB.+--+-- /See:/ 'newRemoteFunctionOptions_UserDefinedContext' smart constructor.+newtype RemoteFunctionOptions_UserDefinedContext = RemoteFunctionOptions_UserDefinedContext+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'RemoteFunctionOptions_UserDefinedContext' with the minimum fields required to make a request.+newRemoteFunctionOptions_UserDefinedContext ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  RemoteFunctionOptions_UserDefinedContext+newRemoteFunctionOptions_UserDefinedContext additional =+  RemoteFunctionOptions_UserDefinedContext {additional = additional}++instance Core.FromJSON RemoteFunctionOptions_UserDefinedContext where+  parseJSON =+    Core.withObject+      "RemoteFunctionOptions_UserDefinedContext"+      ( \o ->+          RemoteFunctionOptions_UserDefinedContext+            Core.<$> (Core.parseJSONObject o)+      )++instance Core.ToJSON RemoteFunctionOptions_UserDefinedContext where+  toJSON RemoteFunctionOptions_UserDefinedContext {..} =+    Core.toJSON additional++-- | Remote Model Info+--+-- /See:/ 'newRemoteModelInfo' smart constructor.+data RemoteModelInfo = RemoteModelInfo+  { -- | Output only. Fully qualified name of the user-provided connection object of the remote model. Format: @\"projects\/{project_id}\/locations\/{location_id}\/connections\/{connection_id}\"@+    connection :: (Core.Maybe Core.Text),+    -- | Output only. The endpoint for remote model.+    endpoint :: (Core.Maybe Core.Text),+    -- | Output only. Max number of rows in each batch sent to the remote service. If unset, the number of rows in each batch is set dynamically.+    maxBatchingRows :: (Core.Maybe Core.Int64),+    -- | Output only. The model version for LLM.+    remoteModelVersion :: (Core.Maybe Core.Text),+    -- | Output only. The remote service type for remote model.+    remoteServiceType :: (Core.Maybe RemoteModelInfo_RemoteServiceType),+    -- | Output only. The name of the speech recognizer to use for speech recognition. The expected format is @projects\/{project}\/locations\/{location}\/recognizers\/{recognizer}@. Customers can specify this field at model creation. If not specified, a default recognizer @projects\/{model project}\/locations\/global\/recognizers\/_@ will be used. See more details at <https://cloud.google.com/speech-to-text/v2/docs/reference/rest/v2/projects.locations.recognizers recognizers>+    speechRecognizer :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'RemoteModelInfo' with the minimum fields required to make a request.+newRemoteModelInfo ::+  RemoteModelInfo+newRemoteModelInfo =+  RemoteModelInfo+    { connection = Core.Nothing,+      endpoint = Core.Nothing,+      maxBatchingRows = Core.Nothing,+      remoteModelVersion = Core.Nothing,+      remoteServiceType = Core.Nothing,+      speechRecognizer = Core.Nothing+    }++instance Core.FromJSON RemoteModelInfo where+  parseJSON =+    Core.withObject+      "RemoteModelInfo"+      ( \o ->+          RemoteModelInfo+            Core.<$> (o Core..:? "connection")+            Core.<*> (o Core..:? "endpoint")+            Core.<*> (o Core..:? "maxBatchingRows" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "remoteModelVersion")+            Core.<*> (o Core..:? "remoteServiceType")+            Core.<*> (o Core..:? "speechRecognizer")+      )++instance Core.ToJSON RemoteModelInfo where+  toJSON RemoteModelInfo {..} =+    Core.object+      ( Core.catMaybes+          [ ("connection" Core..=) Core.<$> connection,+            ("endpoint" Core..=) Core.<$> endpoint,+            ("maxBatchingRows" Core..=)+              Core.. Core.AsText+              Core.<$> maxBatchingRows,+            ("remoteModelVersion" Core..=) Core.<$> remoteModelVersion,+            ("remoteServiceType" Core..=) Core.<$> remoteServiceType,+            ("speechRecognizer" Core..=) Core.<$> speechRecognizer+          ]+      )++--+-- /See:/ 'newRestrictionConfig' smart constructor.+newtype RestrictionConfig = RestrictionConfig+  { -- | Output only. Specifies the type of dataset\/table restriction.+    type' :: (Core.Maybe RestrictionConfig_Type)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'RestrictionConfig' with the minimum fields required to make a request.+newRestrictionConfig ::+  RestrictionConfig+newRestrictionConfig = RestrictionConfig {type' = Core.Nothing}++instance Core.FromJSON RestrictionConfig where+  parseJSON =+    Core.withObject+      "RestrictionConfig"+      (\o -> RestrictionConfig Core.<$> (o Core..:? "type"))++instance Core.ToJSON RestrictionConfig where+  toJSON RestrictionConfig {..} =+    Core.object (Core.catMaybes [("type" Core..=) Core.<$> type'])++-- | A user-defined function or a stored procedure.+--+-- /See:/ 'newRoutine' smart constructor.+data Routine = Routine+  { -- | Optional.+    arguments :: (Core.Maybe [Argument]),+    -- | Output only. The time when this routine was created, in milliseconds since the epoch.+    creationTime :: (Core.Maybe Core.Int64),+    -- | Optional. If set to @DATA_MASKING@, the function is validated and made available as a masking function. For more information, see <https://cloud.google.com/bigquery/docs/user-defined-functions#custom-mask Create custom masking routines>.+    dataGovernanceType :: (Core.Maybe Routine_DataGovernanceType),+    -- | Required. The body of the routine. For functions, this is the expression in the AS clause. If language=SQL, it is the substring inside (but excluding) the parentheses. For example, for the function created with the following statement: @CREATE FUNCTION JoinLines(x string, y string) as (concat(x, \"\\n\", y))@ The definition/body is @concat(x, \"\\n\", y)@ (\\n is not replaced with linebreak). If language=JAVASCRIPT, it is the evaluated string in the AS clause. For example, for the function created with the following statement: @CREATE FUNCTION f() RETURNS STRING LANGUAGE js AS \'return \"\\n\";\\n\'@ The definition/body is @return \"\\n\";\\n@ Note that both \\n are replaced with linebreaks.+    definitionBody :: (Core.Maybe Core.Text),+    -- | Optional. The description of the routine, if defined.+    description :: (Core.Maybe Core.Text),+    -- | Optional. The determinism level of the JavaScript UDF, if defined.+    determinismLevel :: (Core.Maybe Routine_DeterminismLevel),+    -- | Output only. A hash of this resource.+    etag :: (Core.Maybe Core.Text),+    -- | Optional. If language = \"JAVASCRIPT\", this field stores the path of the imported JAVASCRIPT libraries.+    importedLibraries :: (Core.Maybe [Core.Text]),+    -- | Optional. Defaults to \"SQL\" if remote/function/options field is absent, not set otherwise.+    language :: (Core.Maybe Routine_Language),+    -- | Output only. The time when this routine was last modified, in milliseconds since the epoch.+    lastModifiedTime :: (Core.Maybe Core.Int64),+    -- | Optional. Remote function specific options.+    remoteFunctionOptions :: (Core.Maybe RemoteFunctionOptions),+    -- | Optional. Can be set only if routine/type = \"TABLE/VALUED/FUNCTION\". If absent, the return table type is inferred from definition/body at query time in each query that references this routine. If present, then the columns in the evaluated table result will be cast to match the column types specified in return table type, at query time.+    returnTableType :: (Core.Maybe StandardSqlTableType),+    -- | Optional if language = \"SQL\"; required otherwise. Cannot be set if routine/type = \"TABLE/VALUED/FUNCTION\". If absent, the return type is inferred from definition/body at query time in each query that references this routine. If present, then the evaluated result will be cast to the specified returned type at query time. For example, for the functions created with the following statements: * @CREATE FUNCTION Add(x FLOAT64, y FLOAT64) RETURNS FLOAT64 AS (x + y);@ * @CREATE FUNCTION Increment(x FLOAT64) AS (Add(x, 1));@ * @CREATE FUNCTION Decrement(x FLOAT64) RETURNS FLOAT64 AS (Add(x, -1));@ The return_type is @{type_kind: \"FLOAT64\"}@ for @Add@ and @Decrement@, and is absent for @Increment@ (inferred as FLOAT64 at query time). Suppose the function @Add@ is replaced by @CREATE OR REPLACE FUNCTION Add(x INT64, y INT64) AS (x + y);@ Then the inferred return type of @Increment@ is automatically changed to INT64 at query time, while the return type of @Decrement@ remains FLOAT64.+    returnType :: (Core.Maybe StandardSqlDataType),+    -- | Required. Reference describing the ID of this routine.+    routineReference :: (Core.Maybe RoutineReference),+    -- | Required. The type of routine.+    routineType :: (Core.Maybe Routine_RoutineType),+    -- | Optional. The security mode of the routine, if defined. If not defined, the security mode is automatically determined from the routine\'s configuration.+    securityMode :: (Core.Maybe Routine_SecurityMode),+    -- | Optional. Spark specific options.+    sparkOptions :: (Core.Maybe SparkOptions),+    -- | Optional. Use this option to catch many common errors. Error checking is not exhaustive, and successfully creating a procedure doesn\'t guarantee that the procedure will successfully execute at runtime. If @strictMode@ is set to @TRUE@, the procedure body is further checked for errors such as non-existent tables or columns. The @CREATE PROCEDURE@ statement fails if the body fails any of these checks. If @strictMode@ is set to @FALSE@, the procedure body is checked only for syntax. For procedures that invoke themselves recursively, specify @strictMode=FALSE@ to avoid non-existent procedure errors during validation. Default value is @TRUE@.+    strictMode :: (Core.Maybe Core.Bool)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Routine' with the minimum fields required to make a request.+newRoutine ::+  Routine+newRoutine =+  Routine+    { arguments = Core.Nothing,+      creationTime = Core.Nothing,+      dataGovernanceType = Core.Nothing,+      definitionBody = Core.Nothing,+      description = Core.Nothing,+      determinismLevel = Core.Nothing,+      etag = Core.Nothing,+      importedLibraries = Core.Nothing,+      language = Core.Nothing,+      lastModifiedTime = Core.Nothing,+      remoteFunctionOptions = Core.Nothing,+      returnTableType = Core.Nothing,+      returnType = Core.Nothing,+      routineReference = Core.Nothing,+      routineType = Core.Nothing,+      securityMode = Core.Nothing,+      sparkOptions = Core.Nothing,+      strictMode = Core.Nothing+    }++instance Core.FromJSON Routine where+  parseJSON =+    Core.withObject+      "Routine"+      ( \o ->+          Routine+            Core.<$> (o Core..:? "arguments")+            Core.<*> (o Core..:? "creationTime" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "dataGovernanceType")+            Core.<*> (o Core..:? "definitionBody")+            Core.<*> (o Core..:? "description")+            Core.<*> (o Core..:? "determinismLevel")+            Core.<*> (o Core..:? "etag")+            Core.<*> (o Core..:? "importedLibraries")+            Core.<*> (o Core..:? "language")+            Core.<*> (o Core..:? "lastModifiedTime" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "remoteFunctionOptions")+            Core.<*> (o Core..:? "returnTableType")+            Core.<*> (o Core..:? "returnType")+            Core.<*> (o Core..:? "routineReference")+            Core.<*> (o Core..:? "routineType")+            Core.<*> (o Core..:? "securityMode")+            Core.<*> (o Core..:? "sparkOptions")+            Core.<*> (o Core..:? "strictMode")+      )++instance Core.ToJSON Routine where+  toJSON Routine {..} =+    Core.object+      ( Core.catMaybes+          [ ("arguments" Core..=) Core.<$> arguments,+            ("creationTime" Core..=) Core.. Core.AsText Core.<$> creationTime,+            ("dataGovernanceType" Core..=) Core.<$> dataGovernanceType,+            ("definitionBody" Core..=) Core.<$> definitionBody,+            ("description" Core..=) Core.<$> description,+            ("determinismLevel" Core..=) Core.<$> determinismLevel,+            ("etag" Core..=) Core.<$> etag,+            ("importedLibraries" Core..=) Core.<$> importedLibraries,+            ("language" Core..=) Core.<$> language,+            ("lastModifiedTime" Core..=)+              Core.. Core.AsText+              Core.<$> lastModifiedTime,+            ("remoteFunctionOptions" Core..=) Core.<$> remoteFunctionOptions,+            ("returnTableType" Core..=) Core.<$> returnTableType,+            ("returnType" Core..=) Core.<$> returnType,+            ("routineReference" Core..=) Core.<$> routineReference,+            ("routineType" Core..=) Core.<$> routineType,+            ("securityMode" Core..=) Core.<$> securityMode,+            ("sparkOptions" Core..=) Core.<$> sparkOptions,+            ("strictMode" Core..=) Core.<$> strictMode+          ]+      )++-- | Id path of a routine.+--+-- /See:/ 'newRoutineReference' smart constructor.+data RoutineReference = RoutineReference+  { -- | Required. The ID of the dataset containing this routine.+    datasetId :: (Core.Maybe Core.Text),+    -- | Required. The ID of the project containing this routine.+    projectId :: (Core.Maybe Core.Text),+    -- | Required. The ID of the routine. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 256 characters.+    routineId :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'RoutineReference' with the minimum fields required to make a request.+newRoutineReference ::+  RoutineReference+newRoutineReference =+  RoutineReference+    { datasetId = Core.Nothing,+      projectId = Core.Nothing,+      routineId = Core.Nothing+    }++instance Core.FromJSON RoutineReference where+  parseJSON =+    Core.withObject+      "RoutineReference"+      ( \o ->+          RoutineReference+            Core.<$> (o Core..:? "datasetId")+            Core.<*> (o Core..:? "projectId")+            Core.<*> (o Core..:? "routineId")+      )++instance Core.ToJSON RoutineReference where+  toJSON RoutineReference {..} =+    Core.object+      ( Core.catMaybes+          [ ("datasetId" Core..=) Core.<$> datasetId,+            ("projectId" Core..=) Core.<$> projectId,+            ("routineId" Core..=) Core.<$> routineId+          ]+      )++-- | A single row in the confusion matrix.+--+-- /See:/ 'newRow' smart constructor.+data Row = Row+  { -- | The original label of this row.+    actualLabel :: (Core.Maybe Core.Text),+    -- | Info describing predicted label distribution.+    entries :: (Core.Maybe [Entry])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Row' with the minimum fields required to make a request.+newRow ::+  Row+newRow = Row {actualLabel = Core.Nothing, entries = Core.Nothing}++instance Core.FromJSON Row where+  parseJSON =+    Core.withObject+      "Row"+      ( \o ->+          Row+            Core.<$> (o Core..:? "actualLabel")+            Core.<*> (o Core..:? "entries")+      )++instance Core.ToJSON Row where+  toJSON Row {..} =+    Core.object+      ( Core.catMaybes+          [ ("actualLabel" Core..=) Core.<$> actualLabel,+            ("entries" Core..=) Core.<$> entries+          ]+      )++-- | Represents access on a subset of rows on the specified table, defined by its filter predicate. Access to the subset of rows is controlled by its IAM policy.+--+-- /See:/ 'newRowAccessPolicy' smart constructor.+data RowAccessPolicy = RowAccessPolicy+  { -- | Output only. The time when this row access policy was created, in milliseconds since the epoch.+    creationTime :: (Core.Maybe Core.DateTime),+    -- | Output only. A hash of this resource.+    etag :: (Core.Maybe Core.Text),+    -- | Required. A SQL boolean expression that represents the rows defined by this row access policy, similar to the boolean expression in a WHERE clause of a SELECT query on a table. References to other tables, routines, and temporary functions are not supported. Examples: region=\"EU\" date/field = CAST(\'2019-9-27\' as DATE) nullable/field is not NULL numeric_field BETWEEN 1.0 AND 5.0+    filterPredicate :: (Core.Maybe Core.Text),+    -- | Optional. Input only. The optional list of iam_member users or groups that specifies the initial members that the row-level access policy should be created with. grantees types: - \"user:alice\@example.com\": An email address that represents a specific Google account. - \"serviceAccount:my-other-app\@appspot.gserviceaccount.com\": An email address that represents a service account. - \"group:admins\@example.com\": An email address that represents a Google group. - \"domain:example.com\":The Google Workspace domain (primary) that represents all the users of that domain. - \"allAuthenticatedUsers\": A special identifier that represents all service accounts and all users on the internet who have authenticated with a Google Account. This identifier includes accounts that aren\'t connected to a Google Workspace or Cloud Identity domain, such as personal Gmail accounts. Users who aren\'t authenticated, such as anonymous visitors, aren\'t included. - \"allUsers\":A special identifier that represents anyone who is on+    -- the internet, including authenticated and unauthenticated users. Because BigQuery requires authentication before a user can access the service, allUsers includes only authenticated users.+    grantees :: (Core.Maybe [Core.Text]),+    -- | Output only. The time when this row access policy was last modified, in milliseconds since the epoch.+    lastModifiedTime :: (Core.Maybe Core.DateTime),+    -- | Required. Reference describing the ID of this row access policy.+    rowAccessPolicyReference :: (Core.Maybe RowAccessPolicyReference)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'RowAccessPolicy' with the minimum fields required to make a request.+newRowAccessPolicy ::+  RowAccessPolicy+newRowAccessPolicy =+  RowAccessPolicy+    { creationTime = Core.Nothing,+      etag = Core.Nothing,+      filterPredicate = Core.Nothing,+      grantees = Core.Nothing,+      lastModifiedTime = Core.Nothing,+      rowAccessPolicyReference = Core.Nothing+    }++instance Core.FromJSON RowAccessPolicy where+  parseJSON =+    Core.withObject+      "RowAccessPolicy"+      ( \o ->+          RowAccessPolicy+            Core.<$> (o Core..:? "creationTime")+            Core.<*> (o Core..:? "etag")+            Core.<*> (o Core..:? "filterPredicate")+            Core.<*> (o Core..:? "grantees")+            Core.<*> (o Core..:? "lastModifiedTime")+            Core.<*> (o Core..:? "rowAccessPolicyReference")+      )++instance Core.ToJSON RowAccessPolicy where+  toJSON RowAccessPolicy {..} =+    Core.object+      ( Core.catMaybes+          [ ("creationTime" Core..=) Core.<$> creationTime,+            ("etag" Core..=) Core.<$> etag,+            ("filterPredicate" Core..=) Core.<$> filterPredicate,+            ("grantees" Core..=) Core.<$> grantees,+            ("lastModifiedTime" Core..=) Core.<$> lastModifiedTime,+            ("rowAccessPolicyReference" Core..=)+              Core.<$> rowAccessPolicyReference+          ]+      )++-- | Id path of a row access policy.+--+-- /See:/ 'newRowAccessPolicyReference' smart constructor.+data RowAccessPolicyReference = RowAccessPolicyReference+  { -- | Required. The ID of the dataset containing this row access policy.+    datasetId :: (Core.Maybe Core.Text),+    -- | Required. The ID of the row access policy. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 256 characters.+    policyId :: (Core.Maybe Core.Text),+    -- | Required. The ID of the project containing this row access policy.+    projectId :: (Core.Maybe Core.Text),+    -- | Required. The ID of the table containing this row access policy.+    tableId :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'RowAccessPolicyReference' with the minimum fields required to make a request.+newRowAccessPolicyReference ::+  RowAccessPolicyReference+newRowAccessPolicyReference =+  RowAccessPolicyReference+    { datasetId = Core.Nothing,+      policyId = Core.Nothing,+      projectId = Core.Nothing,+      tableId = Core.Nothing+    }++instance Core.FromJSON RowAccessPolicyReference where+  parseJSON =+    Core.withObject+      "RowAccessPolicyReference"+      ( \o ->+          RowAccessPolicyReference+            Core.<$> (o Core..:? "datasetId")+            Core.<*> (o Core..:? "policyId")+            Core.<*> (o Core..:? "projectId")+            Core.<*> (o Core..:? "tableId")+      )++instance Core.ToJSON RowAccessPolicyReference where+  toJSON RowAccessPolicyReference {..} =+    Core.object+      ( Core.catMaybes+          [ ("datasetId" Core..=) Core.<$> datasetId,+            ("policyId" Core..=) Core.<$> policyId,+            ("projectId" Core..=) Core.<$> projectId,+            ("tableId" Core..=) Core.<$> tableId+          ]+      )++-- | Statistics for row-level security.+--+-- /See:/ 'newRowLevelSecurityStatistics' smart constructor.+newtype RowLevelSecurityStatistics = RowLevelSecurityStatistics+  { -- | Whether any accessed data was protected by row access policies.+    rowLevelSecurityApplied :: (Core.Maybe Core.Bool)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'RowLevelSecurityStatistics' with the minimum fields required to make a request.+newRowLevelSecurityStatistics ::+  RowLevelSecurityStatistics+newRowLevelSecurityStatistics =+  RowLevelSecurityStatistics+    { rowLevelSecurityApplied =+        Core.Nothing+    }++instance Core.FromJSON RowLevelSecurityStatistics where+  parseJSON =+    Core.withObject+      "RowLevelSecurityStatistics"+      ( \o ->+          RowLevelSecurityStatistics+            Core.<$> (o Core..:? "rowLevelSecurityApplied")+      )++instance Core.ToJSON RowLevelSecurityStatistics where+  toJSON RowLevelSecurityStatistics {..} =+    Core.object+      ( Core.catMaybes+          [ ("rowLevelSecurityApplied" Core..=)+              Core.<$> rowLevelSecurityApplied+          ]+      )++-- | Options related to script execution.+--+-- /See:/ 'newScriptOptions' smart constructor.+data ScriptOptions = ScriptOptions+  { -- | Determines which statement in the script represents the \"key result\", used to populate the schema and query results of the script job. Default is LAST.+    keyResultStatement :: (Core.Maybe ScriptOptions_KeyResultStatement),+    -- | Limit on the number of bytes billed per statement. Exceeding this budget results in an error.+    statementByteBudget :: (Core.Maybe Core.Int64),+    -- | Timeout period for each statement in a script.+    statementTimeoutMs :: (Core.Maybe Core.Int64)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ScriptOptions' with the minimum fields required to make a request.+newScriptOptions ::+  ScriptOptions+newScriptOptions =+  ScriptOptions+    { keyResultStatement = Core.Nothing,+      statementByteBudget = Core.Nothing,+      statementTimeoutMs = Core.Nothing+    }++instance Core.FromJSON ScriptOptions where+  parseJSON =+    Core.withObject+      "ScriptOptions"+      ( \o ->+          ScriptOptions+            Core.<$> (o Core..:? "keyResultStatement")+            Core.<*> ( o+                         Core..:? "statementByteBudget"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> ( o+                         Core..:? "statementTimeoutMs"+                         Core.<&> Core.fmap Core.fromAsText+                     )+      )++instance Core.ToJSON ScriptOptions where+  toJSON ScriptOptions {..} =+    Core.object+      ( Core.catMaybes+          [ ("keyResultStatement" Core..=) Core.<$> keyResultStatement,+            ("statementByteBudget" Core..=)+              Core.. Core.AsText+              Core.<$> statementByteBudget,+            ("statementTimeoutMs" Core..=)+              Core.. Core.AsText+              Core.<$> statementTimeoutMs+          ]+      )++-- | Represents the location of the statement\/expression being evaluated. Line and column numbers are defined as follows: - Line and column numbers start with one. That is, line 1 column 1 denotes the start of the script. - When inside a stored procedure, all line\/column numbers are relative to the procedure body, not the script in which the procedure was defined. - Start\/end positions exclude leading\/trailing comments and whitespace. The end position always ends with a \";\", when present. - Multi-byte Unicode characters are treated as just one column. - If the original script (or procedure definition) contains TAB characters, a tab \"snaps\" the indentation forward to the nearest multiple of 8 characters, plus 1. For example, a TAB on column 1, 2, 3, 4, 5, 6 , or 8 will advance the next character to column 9. A TAB on column 9, 10, 11, 12, 13, 14, 15, or 16 will advance the next character to column 17.+--+-- /See:/ 'newScriptStackFrame' smart constructor.+data ScriptStackFrame = ScriptStackFrame+  { -- | Output only. One-based end column.+    endColumn :: (Core.Maybe Core.Int32),+    -- | Output only. One-based end line.+    endLine :: (Core.Maybe Core.Int32),+    -- | Output only. Name of the active procedure, empty if in a top-level script.+    procedureId :: (Core.Maybe Core.Text),+    -- | Output only. One-based start column.+    startColumn :: (Core.Maybe Core.Int32),+    -- | Output only. One-based start line.+    startLine :: (Core.Maybe Core.Int32),+    -- | Output only. Text of the current statement\/expression.+    text :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ScriptStackFrame' with the minimum fields required to make a request.+newScriptStackFrame ::+  ScriptStackFrame+newScriptStackFrame =+  ScriptStackFrame+    { endColumn = Core.Nothing,+      endLine = Core.Nothing,+      procedureId = Core.Nothing,+      startColumn = Core.Nothing,+      startLine = Core.Nothing,+      text = Core.Nothing+    }++instance Core.FromJSON ScriptStackFrame where+  parseJSON =+    Core.withObject+      "ScriptStackFrame"+      ( \o ->+          ScriptStackFrame+            Core.<$> (o Core..:? "endColumn")+            Core.<*> (o Core..:? "endLine")+            Core.<*> (o Core..:? "procedureId")+            Core.<*> (o Core..:? "startColumn")+            Core.<*> (o Core..:? "startLine")+            Core.<*> (o Core..:? "text")+      )++instance Core.ToJSON ScriptStackFrame where+  toJSON ScriptStackFrame {..} =+    Core.object+      ( Core.catMaybes+          [ ("endColumn" Core..=) Core.<$> endColumn,+            ("endLine" Core..=) Core.<$> endLine,+            ("procedureId" Core..=) Core.<$> procedureId,+            ("startColumn" Core..=) Core.<$> startColumn,+            ("startLine" Core..=) Core.<$> startLine,+            ("text" Core..=) Core.<$> text+          ]+      )++-- | Job statistics specific to the child job of a script.+--+-- /See:/ 'newScriptStatistics' smart constructor.+data ScriptStatistics = ScriptStatistics+  { -- | Whether this child job was a statement or expression.+    evaluationKind :: (Core.Maybe ScriptStatistics_EvaluationKind),+    -- | Stack trace showing the line\/column\/procedure name of each frame on the stack at the point where the current evaluation happened. The leaf frame is first, the primary script is last. Never empty.+    stackFrames :: (Core.Maybe [ScriptStackFrame])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ScriptStatistics' with the minimum fields required to make a request.+newScriptStatistics ::+  ScriptStatistics+newScriptStatistics =+  ScriptStatistics+    { evaluationKind = Core.Nothing,+      stackFrames = Core.Nothing+    }++instance Core.FromJSON ScriptStatistics where+  parseJSON =+    Core.withObject+      "ScriptStatistics"+      ( \o ->+          ScriptStatistics+            Core.<$> (o Core..:? "evaluationKind")+            Core.<*> (o Core..:? "stackFrames")+      )++instance Core.ToJSON ScriptStatistics where+  toJSON ScriptStatistics {..} =+    Core.object+      ( Core.catMaybes+          [ ("evaluationKind" Core..=) Core.<$> evaluationKind,+            ("stackFrames" Core..=) Core.<$> stackFrames+          ]+      )++-- | Statistics for a search query. Populated as part of JobStatistics2.+--+-- /See:/ 'newSearchStatistics' smart constructor.+data SearchStatistics = SearchStatistics+  { -- | When @indexUsageMode@ is @UNUSED@ or @PARTIALLY_USED@, this field explains why indexes were not used in all or part of the search query. If @indexUsageMode@ is @FULLY_USED@, this field is not populated.+    indexUnusedReasons :: (Core.Maybe [IndexUnusedReason]),+    -- | Specifies the index usage mode for the query.+    indexUsageMode :: (Core.Maybe SearchStatistics_IndexUsageMode)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SearchStatistics' with the minimum fields required to make a request.+newSearchStatistics ::+  SearchStatistics+newSearchStatistics =+  SearchStatistics+    { indexUnusedReasons = Core.Nothing,+      indexUsageMode = Core.Nothing+    }++instance Core.FromJSON SearchStatistics where+  parseJSON =+    Core.withObject+      "SearchStatistics"+      ( \o ->+          SearchStatistics+            Core.<$> (o Core..:? "indexUnusedReasons")+            Core.<*> (o Core..:? "indexUsageMode")+      )++instance Core.ToJSON SearchStatistics where+  toJSON SearchStatistics {..} =+    Core.object+      ( Core.catMaybes+          [ ("indexUnusedReasons" Core..=) Core.<$> indexUnusedReasons,+            ("indexUsageMode" Core..=) Core.<$> indexUsageMode+          ]+      )++-- | Serializer and deserializer information.+--+-- /See:/ 'newSerDeInfo' smart constructor.+data SerDeInfo = SerDeInfo+  { -- | Optional. Name of the SerDe. The maximum length is 256 characters.+    name :: (Core.Maybe Core.Text),+    -- | Optional. Key-value pairs that define the initialization parameters for the serialization library. Maximum size 10 Kib.+    parameters :: (Core.Maybe SerDeInfo_Parameters),+    -- | Required. Specifies a fully-qualified class name of the serialization library that is responsible for the translation of data between table representation and the underlying low-level input and output format structures. The maximum length is 256 characters.+    serializationLibrary :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SerDeInfo' with the minimum fields required to make a request.+newSerDeInfo ::+  SerDeInfo+newSerDeInfo =+  SerDeInfo+    { name = Core.Nothing,+      parameters = Core.Nothing,+      serializationLibrary = Core.Nothing+    }++instance Core.FromJSON SerDeInfo where+  parseJSON =+    Core.withObject+      "SerDeInfo"+      ( \o ->+          SerDeInfo+            Core.<$> (o Core..:? "name")+            Core.<*> (o Core..:? "parameters")+            Core.<*> (o Core..:? "serializationLibrary")+      )++instance Core.ToJSON SerDeInfo where+  toJSON SerDeInfo {..} =+    Core.object+      ( Core.catMaybes+          [ ("name" Core..=) Core.<$> name,+            ("parameters" Core..=) Core.<$> parameters,+            ("serializationLibrary" Core..=) Core.<$> serializationLibrary+          ]+      )++-- | Optional. Key-value pairs that define the initialization parameters for the serialization library. Maximum size 10 Kib.+--+-- /See:/ 'newSerDeInfo_Parameters' smart constructor.+newtype SerDeInfo_Parameters = SerDeInfo_Parameters+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SerDeInfo_Parameters' with the minimum fields required to make a request.+newSerDeInfo_Parameters ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  SerDeInfo_Parameters+newSerDeInfo_Parameters additional =+  SerDeInfo_Parameters {additional = additional}++instance Core.FromJSON SerDeInfo_Parameters where+  parseJSON =+    Core.withObject+      "SerDeInfo_Parameters"+      (\o -> SerDeInfo_Parameters Core.<$> (Core.parseJSONObject o))++instance Core.ToJSON SerDeInfo_Parameters where+  toJSON SerDeInfo_Parameters {..} = Core.toJSON additional++-- | [Preview] Information related to sessions.+--+-- /See:/ 'newSessionInfo' smart constructor.+newtype SessionInfo = SessionInfo+  { -- | Output only. The id of the session.+    sessionId :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SessionInfo' with the minimum fields required to make a request.+newSessionInfo ::+  SessionInfo+newSessionInfo = SessionInfo {sessionId = Core.Nothing}++instance Core.FromJSON SessionInfo where+  parseJSON =+    Core.withObject+      "SessionInfo"+      (\o -> SessionInfo Core.<$> (o Core..:? "sessionId"))++instance Core.ToJSON SessionInfo where+  toJSON SessionInfo {..} =+    Core.object+      (Core.catMaybes [("sessionId" Core..=) Core.<$> sessionId])++-- | Request message for @SetIamPolicy@ method.+--+-- /See:/ 'newSetIamPolicyRequest' smart constructor.+data SetIamPolicyRequest = SetIamPolicyRequest+  { -- | REQUIRED: The complete policy to be applied to the @resource@. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them.+    policy :: (Core.Maybe Policy),+    -- | OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: @paths: \"bindings, etag\"@+    updateMask :: (Core.Maybe Core.FieldMask)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SetIamPolicyRequest' with the minimum fields required to make a request.+newSetIamPolicyRequest ::+  SetIamPolicyRequest+newSetIamPolicyRequest =+  SetIamPolicyRequest+    { policy = Core.Nothing,+      updateMask = Core.Nothing+    }++instance Core.FromJSON SetIamPolicyRequest where+  parseJSON =+    Core.withObject+      "SetIamPolicyRequest"+      ( \o ->+          SetIamPolicyRequest+            Core.<$> (o Core..:? "policy")+            Core.<*> (o Core..:? "updateMask")+      )++instance Core.ToJSON SetIamPolicyRequest where+  toJSON SetIamPolicyRequest {..} =+    Core.object+      ( Core.catMaybes+          [ ("policy" Core..=) Core.<$> policy,+            ("updateMask" Core..=) Core.<$> updateMask+          ]+      )++-- | Details about source stages which produce skewed data.+--+-- /See:/ 'newSkewSource' smart constructor.+newtype SkewSource = SkewSource+  { -- | Output only. Stage id of the skew source stage.+    stageId :: (Core.Maybe Core.Int64)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SkewSource' with the minimum fields required to make a request.+newSkewSource ::+  SkewSource+newSkewSource = SkewSource {stageId = Core.Nothing}++instance Core.FromJSON SkewSource where+  parseJSON =+    Core.withObject+      "SkewSource"+      ( \o ->+          SkewSource+            Core.<$> (o Core..:? "stageId" Core.<&> Core.fmap Core.fromAsText)+      )++instance Core.ToJSON SkewSource where+  toJSON SkewSource {..} =+    Core.object+      ( Core.catMaybes+          [("stageId" Core..=) Core.. Core.AsText Core.<$> stageId]+      )++-- | Information about base table and snapshot time of the snapshot.+--+-- /See:/ 'newSnapshotDefinition' smart constructor.+data SnapshotDefinition = SnapshotDefinition+  { -- | Required. Reference describing the ID of the table that was snapshot.+    baseTableReference :: (Core.Maybe TableReference),+    -- | Required. The time at which the base table was snapshot. This value is reported in the JSON response using RFC3339 format.+    snapshotTime :: (Core.Maybe Core.DateTime)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SnapshotDefinition' with the minimum fields required to make a request.+newSnapshotDefinition ::+  SnapshotDefinition+newSnapshotDefinition =+  SnapshotDefinition+    { baseTableReference = Core.Nothing,+      snapshotTime = Core.Nothing+    }++instance Core.FromJSON SnapshotDefinition where+  parseJSON =+    Core.withObject+      "SnapshotDefinition"+      ( \o ->+          SnapshotDefinition+            Core.<$> (o Core..:? "baseTableReference")+            Core.<*> (o Core..:? "snapshotTime")+      )++instance Core.ToJSON SnapshotDefinition where+  toJSON SnapshotDefinition {..} =+    Core.object+      ( Core.catMaybes+          [ ("baseTableReference" Core..=) Core.<$> baseTableReference,+            ("snapshotTime" Core..=) Core.<$> snapshotTime+          ]+      )++-- | Spark job logs can be filtered by these fields in Cloud Logging.+--+-- /See:/ 'newSparkLoggingInfo' smart constructor.+data SparkLoggingInfo = SparkLoggingInfo+  { -- | Output only. Project ID where the Spark logs were written.+    projectId :: (Core.Maybe Core.Text),+    -- | Output only. Resource type used for logging.+    resourceType :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SparkLoggingInfo' with the minimum fields required to make a request.+newSparkLoggingInfo ::+  SparkLoggingInfo+newSparkLoggingInfo =+  SparkLoggingInfo+    { projectId = Core.Nothing,+      resourceType = Core.Nothing+    }++instance Core.FromJSON SparkLoggingInfo where+  parseJSON =+    Core.withObject+      "SparkLoggingInfo"+      ( \o ->+          SparkLoggingInfo+            Core.<$> (o Core..:? "projectId")+            Core.<*> (o Core..:? "resourceType")+      )++instance Core.ToJSON SparkLoggingInfo where+  toJSON SparkLoggingInfo {..} =+    Core.object+      ( Core.catMaybes+          [ ("projectId" Core..=) Core.<$> projectId,+            ("resourceType" Core..=) Core.<$> resourceType+          ]+      )++-- | Options for a user-defined Spark routine.+--+-- /See:/ 'newSparkOptions' smart constructor.+data SparkOptions = SparkOptions+  { -- | Archive files to be extracted into the working directory of each executor. For more information about Apache Spark, see <https://spark.apache.org/docs/latest/index.html Apache Spark>.+    archiveUris :: (Core.Maybe [Core.Text]),+    -- | Fully qualified name of the user-provided Spark connection object. Format: @\"projects\/{project_id}\/locations\/{location_id}\/connections\/{connection_id}\"@+    connection :: (Core.Maybe Core.Text),+    -- | Custom container image for the runtime environment.+    containerImage :: (Core.Maybe Core.Text),+    -- | Files to be placed in the working directory of each executor. For more information about Apache Spark, see <https://spark.apache.org/docs/latest/index.html Apache Spark>.+    fileUris :: (Core.Maybe [Core.Text]),+    -- | JARs to include on the driver and executor CLASSPATH. For more information about Apache Spark, see <https://spark.apache.org/docs/latest/index.html Apache Spark>.+    jarUris :: (Core.Maybe [Core.Text]),+    -- | The fully qualified name of a class in jar/uris, for example, com.example.wordcount. Exactly one of main/class and main/jar/uri field should be set for Java\/Scala language type.+    mainClass :: (Core.Maybe Core.Text),+    -- | The main file\/jar URI of the Spark application. Exactly one of the definition/body field and the main/file/uri field must be set for Python. Exactly one of main/class and main/file/uri field should be set for Java\/Scala language type.+    mainFileUri :: (Core.Maybe Core.Text),+    -- | Configuration properties as a set of key\/value pairs, which will be passed on to the Spark application. For more information, see <https://spark.apache.org/docs/latest/index.html Apache Spark> and the <https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#procedure_option_list procedure option list>.+    properties :: (Core.Maybe SparkOptions_Properties),+    -- | Python files to be placed on the PYTHONPATH for PySpark application. Supported file types: @.py@, @.egg@, and @.zip@. For more information about Apache Spark, see <https://spark.apache.org/docs/latest/index.html Apache Spark>.+    pyFileUris :: (Core.Maybe [Core.Text]),+    -- | Runtime version. If not specified, the default runtime version is used.+    runtimeVersion :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SparkOptions' with the minimum fields required to make a request.+newSparkOptions ::+  SparkOptions+newSparkOptions =+  SparkOptions+    { archiveUris = Core.Nothing,+      connection = Core.Nothing,+      containerImage = Core.Nothing,+      fileUris = Core.Nothing,+      jarUris = Core.Nothing,+      mainClass = Core.Nothing,+      mainFileUri = Core.Nothing,+      properties = Core.Nothing,+      pyFileUris = Core.Nothing,+      runtimeVersion = Core.Nothing+    }++instance Core.FromJSON SparkOptions where+  parseJSON =+    Core.withObject+      "SparkOptions"+      ( \o ->+          SparkOptions+            Core.<$> (o Core..:? "archiveUris")+            Core.<*> (o Core..:? "connection")+            Core.<*> (o Core..:? "containerImage")+            Core.<*> (o Core..:? "fileUris")+            Core.<*> (o Core..:? "jarUris")+            Core.<*> (o Core..:? "mainClass")+            Core.<*> (o Core..:? "mainFileUri")+            Core.<*> (o Core..:? "properties")+            Core.<*> (o Core..:? "pyFileUris")+            Core.<*> (o Core..:? "runtimeVersion")+      )++instance Core.ToJSON SparkOptions where+  toJSON SparkOptions {..} =+    Core.object+      ( Core.catMaybes+          [ ("archiveUris" Core..=) Core.<$> archiveUris,+            ("connection" Core..=) Core.<$> connection,+            ("containerImage" Core..=) Core.<$> containerImage,+            ("fileUris" Core..=) Core.<$> fileUris,+            ("jarUris" Core..=) Core.<$> jarUris,+            ("mainClass" Core..=) Core.<$> mainClass,+            ("mainFileUri" Core..=) Core.<$> mainFileUri,+            ("properties" Core..=) Core.<$> properties,+            ("pyFileUris" Core..=) Core.<$> pyFileUris,+            ("runtimeVersion" Core..=) Core.<$> runtimeVersion+          ]+      )++-- | Configuration properties as a set of key\/value pairs, which will be passed on to the Spark application. For more information, see <https://spark.apache.org/docs/latest/index.html Apache Spark> and the <https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#procedure_option_list procedure option list>.+--+-- /See:/ 'newSparkOptions_Properties' smart constructor.+newtype SparkOptions_Properties = SparkOptions_Properties+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SparkOptions_Properties' with the minimum fields required to make a request.+newSparkOptions_Properties ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  SparkOptions_Properties+newSparkOptions_Properties additional =+  SparkOptions_Properties {additional = additional}++instance Core.FromJSON SparkOptions_Properties where+  parseJSON =+    Core.withObject+      "SparkOptions_Properties"+      (\o -> SparkOptions_Properties Core.<$> (Core.parseJSONObject o))++instance Core.ToJSON SparkOptions_Properties where+  toJSON SparkOptions_Properties {..} = Core.toJSON additional++-- | Statistics for a BigSpark query. Populated as part of JobStatistics2+--+-- /See:/ 'newSparkStatistics' smart constructor.+data SparkStatistics = SparkStatistics+  { -- | Output only. Endpoints returned from Dataproc. Key list: - history/server/endpoint: A link to Spark job UI.+    endpoints :: (Core.Maybe SparkStatistics_Endpoints),+    -- | Output only. The Google Cloud Storage bucket that is used as the default file system by the Spark application. This field is only filled when the Spark procedure uses the invoker security mode. The @gcsStagingBucket@ bucket is inferred from the @\@\@spark_proc_properties.staging_bucket@ system variable (if it is provided). Otherwise, BigQuery creates a default staging bucket for the job and returns the bucket name in this field. Example: * @gs:\/\/[bucket_name]@+    gcsStagingBucket :: (Core.Maybe Core.Text),+    -- | Output only. The Cloud KMS encryption key that is used to protect the resources created by the Spark job. If the Spark procedure uses the invoker security mode, the Cloud KMS encryption key is either inferred from the provided system variable, @\@\@spark_proc_properties.kms_key_name@, or the default key of the BigQuery job\'s project (if the CMEK organization policy is enforced). Otherwise, the Cloud KMS key is either inferred from the Spark connection associated with the procedure (if it is provided), or from the default key of the Spark connection\'s project if the CMEK organization policy is enforced. Example: * @projects\/[kms_project_id]\/locations\/[region]\/keyRings\/[key_region]\/cryptoKeys\/[key]@+    kmsKeyName :: (Core.Maybe Core.Text),+    -- | Output only. Logging info is used to generate a link to Cloud Logging.+    loggingInfo :: (Core.Maybe SparkLoggingInfo),+    -- | Output only. Spark job ID if a Spark job is created successfully.+    sparkJobId :: (Core.Maybe Core.Text),+    -- | Output only. Location where the Spark job is executed. A location is selected by BigQueury for jobs configured to run in a multi-region.+    sparkJobLocation :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SparkStatistics' with the minimum fields required to make a request.+newSparkStatistics ::+  SparkStatistics+newSparkStatistics =+  SparkStatistics+    { endpoints = Core.Nothing,+      gcsStagingBucket = Core.Nothing,+      kmsKeyName = Core.Nothing,+      loggingInfo = Core.Nothing,+      sparkJobId = Core.Nothing,+      sparkJobLocation = Core.Nothing+    }++instance Core.FromJSON SparkStatistics where+  parseJSON =+    Core.withObject+      "SparkStatistics"+      ( \o ->+          SparkStatistics+            Core.<$> (o Core..:? "endpoints")+            Core.<*> (o Core..:? "gcsStagingBucket")+            Core.<*> (o Core..:? "kmsKeyName")+            Core.<*> (o Core..:? "loggingInfo")+            Core.<*> (o Core..:? "sparkJobId")+            Core.<*> (o Core..:? "sparkJobLocation")+      )++instance Core.ToJSON SparkStatistics where+  toJSON SparkStatistics {..} =+    Core.object+      ( Core.catMaybes+          [ ("endpoints" Core..=) Core.<$> endpoints,+            ("gcsStagingBucket" Core..=) Core.<$> gcsStagingBucket,+            ("kmsKeyName" Core..=) Core.<$> kmsKeyName,+            ("loggingInfo" Core..=) Core.<$> loggingInfo,+            ("sparkJobId" Core..=) Core.<$> sparkJobId,+            ("sparkJobLocation" Core..=) Core.<$> sparkJobLocation+          ]+      )++-- | Output only. Endpoints returned from Dataproc. Key list: - history/server/endpoint: A link to Spark job UI.+--+-- /See:/ 'newSparkStatistics_Endpoints' smart constructor.+newtype SparkStatistics_Endpoints = SparkStatistics_Endpoints+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SparkStatistics_Endpoints' with the minimum fields required to make a request.+newSparkStatistics_Endpoints ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  SparkStatistics_Endpoints+newSparkStatistics_Endpoints additional =+  SparkStatistics_Endpoints {additional = additional}++instance Core.FromJSON SparkStatistics_Endpoints where+  parseJSON =+    Core.withObject+      "SparkStatistics_Endpoints"+      ( \o ->+          SparkStatistics_Endpoints Core.<$> (Core.parseJSONObject o)+      )++instance Core.ToJSON SparkStatistics_Endpoints where+  toJSON SparkStatistics_Endpoints {..} = Core.toJSON additional++-- | Performance insights compared to the previous executions for a specific stage.+--+-- /See:/ 'newStagePerformanceChangeInsight' smart constructor.+data StagePerformanceChangeInsight = StagePerformanceChangeInsight+  { -- | Output only. Input data change insight of the query stage.+    inputDataChange :: (Core.Maybe InputDataChange),+    -- | Output only. The stage id that the insight mapped to.+    stageId :: (Core.Maybe Core.Int64)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'StagePerformanceChangeInsight' with the minimum fields required to make a request.+newStagePerformanceChangeInsight ::+  StagePerformanceChangeInsight+newStagePerformanceChangeInsight =+  StagePerformanceChangeInsight+    { inputDataChange = Core.Nothing,+      stageId = Core.Nothing+    }++instance Core.FromJSON StagePerformanceChangeInsight where+  parseJSON =+    Core.withObject+      "StagePerformanceChangeInsight"+      ( \o ->+          StagePerformanceChangeInsight+            Core.<$> (o Core..:? "inputDataChange")+            Core.<*> (o Core..:? "stageId" Core.<&> Core.fmap Core.fromAsText)+      )++instance Core.ToJSON StagePerformanceChangeInsight where+  toJSON StagePerformanceChangeInsight {..} =+    Core.object+      ( Core.catMaybes+          [ ("inputDataChange" Core..=) Core.<$> inputDataChange,+            ("stageId" Core..=) Core.. Core.AsText Core.<$> stageId+          ]+      )++-- | Standalone performance insights for a specific stage.+--+-- /See:/ 'newStagePerformanceStandaloneInsight' smart constructor.+data StagePerformanceStandaloneInsight = StagePerformanceStandaloneInsight+  { -- | Output only. If present, the stage had the following reasons for being disqualified from BI Engine execution.+    biEngineReasons :: (Core.Maybe [BiEngineReason]),+    -- | Output only. High cardinality joins in the stage.+    highCardinalityJoins :: (Core.Maybe [HighCardinalityJoin]),+    -- | Output only. True if the stage has insufficient shuffle quota.+    insufficientShuffleQuota :: (Core.Maybe Core.Bool),+    -- | Output only. Partition skew in the stage.+    partitionSkew :: (Core.Maybe PartitionSkew),+    -- | Output only. True if the stage has a slot contention issue.+    slotContention :: (Core.Maybe Core.Bool),+    -- | Output only. The stage id that the insight mapped to.+    stageId :: (Core.Maybe Core.Int64)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'StagePerformanceStandaloneInsight' with the minimum fields required to make a request.+newStagePerformanceStandaloneInsight ::+  StagePerformanceStandaloneInsight+newStagePerformanceStandaloneInsight =+  StagePerformanceStandaloneInsight+    { biEngineReasons = Core.Nothing,+      highCardinalityJoins = Core.Nothing,+      insufficientShuffleQuota = Core.Nothing,+      partitionSkew = Core.Nothing,+      slotContention = Core.Nothing,+      stageId = Core.Nothing+    }++instance Core.FromJSON StagePerformanceStandaloneInsight where+  parseJSON =+    Core.withObject+      "StagePerformanceStandaloneInsight"+      ( \o ->+          StagePerformanceStandaloneInsight+            Core.<$> (o Core..:? "biEngineReasons")+            Core.<*> (o Core..:? "highCardinalityJoins")+            Core.<*> (o Core..:? "insufficientShuffleQuota")+            Core.<*> (o Core..:? "partitionSkew")+            Core.<*> (o Core..:? "slotContention")+            Core.<*> (o Core..:? "stageId" Core.<&> Core.fmap Core.fromAsText)+      )++instance Core.ToJSON StagePerformanceStandaloneInsight where+  toJSON StagePerformanceStandaloneInsight {..} =+    Core.object+      ( Core.catMaybes+          [ ("biEngineReasons" Core..=) Core.<$> biEngineReasons,+            ("highCardinalityJoins" Core..=) Core.<$> highCardinalityJoins,+            ("insufficientShuffleQuota" Core..=)+              Core.<$> insufficientShuffleQuota,+            ("partitionSkew" Core..=) Core.<$> partitionSkew,+            ("slotContention" Core..=) Core.<$> slotContention,+            ("stageId" Core..=) Core.. Core.AsText Core.<$> stageId+          ]+      )++-- | The data type of a variable such as a function argument. Examples include: * INT64: @{\"typeKind\": \"INT64\"}@ * ARRAY: { \"typeKind\": \"ARRAY\", \"arrayElementType\": {\"typeKind\": \"STRING\"} } * STRUCT>: { \"typeKind\": \"STRUCT\", \"structType\": { \"fields\": [ { \"name\": \"x\", \"type\": {\"typeKind\": \"STRING\"} }, { \"name\": \"y\", \"type\": { \"typeKind\": \"ARRAY\", \"arrayElementType\": {\"typeKind\": \"DATE\"} } } ] } } * RANGE: { \"typeKind\": \"RANGE\", \"rangeElementType\": {\"typeKind\": \"DATE\"} }+--+-- /See:/ 'newStandardSqlDataType' smart constructor.+data StandardSqlDataType = StandardSqlDataType+  { -- | The type of the array\'s elements, if type_kind = \"ARRAY\".+    arrayElementType :: (Core.Maybe StandardSqlDataType),+    -- | The type of the range\'s elements, if type_kind = \"RANGE\".+    rangeElementType :: (Core.Maybe StandardSqlDataType),+    -- | The fields of this struct, in order, if type_kind = \"STRUCT\".+    structType :: (Core.Maybe StandardSqlStructType),+    -- | Required. The top level type of this field. Can be any GoogleSQL data type (e.g., \"INT64\", \"DATE\", \"ARRAY\").+    typeKind :: (Core.Maybe StandardSqlDataType_TypeKind)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'StandardSqlDataType' with the minimum fields required to make a request.+newStandardSqlDataType ::+  StandardSqlDataType+newStandardSqlDataType =+  StandardSqlDataType+    { arrayElementType = Core.Nothing,+      rangeElementType = Core.Nothing,+      structType = Core.Nothing,+      typeKind = Core.Nothing+    }++instance Core.FromJSON StandardSqlDataType where+  parseJSON =+    Core.withObject+      "StandardSqlDataType"+      ( \o ->+          StandardSqlDataType+            Core.<$> (o Core..:? "arrayElementType")+            Core.<*> (o Core..:? "rangeElementType")+            Core.<*> (o Core..:? "structType")+            Core.<*> (o Core..:? "typeKind")+      )++instance Core.ToJSON StandardSqlDataType where+  toJSON StandardSqlDataType {..} =+    Core.object+      ( Core.catMaybes+          [ ("arrayElementType" Core..=) Core.<$> arrayElementType,+            ("rangeElementType" Core..=) Core.<$> rangeElementType,+            ("structType" Core..=) Core.<$> structType,+            ("typeKind" Core..=) Core.<$> typeKind+          ]+      )++-- | A field or a column.+--+-- /See:/ 'newStandardSqlField' smart constructor.+data StandardSqlField = StandardSqlField+  { -- | Optional. The name of this field. Can be absent for struct fields.+    name :: (Core.Maybe Core.Text),+    -- | Optional. The type of this parameter. Absent if not explicitly specified (e.g., CREATE FUNCTION statement can omit the return type; in this case the output parameter does not have this \"type\" field).+    type' :: (Core.Maybe StandardSqlDataType)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'StandardSqlField' with the minimum fields required to make a request.+newStandardSqlField ::+  StandardSqlField+newStandardSqlField =+  StandardSqlField {name = Core.Nothing, type' = Core.Nothing}++instance Core.FromJSON StandardSqlField where+  parseJSON =+    Core.withObject+      "StandardSqlField"+      ( \o ->+          StandardSqlField+            Core.<$> (o Core..:? "name")+            Core.<*> (o Core..:? "type")+      )++instance Core.ToJSON StandardSqlField where+  toJSON StandardSqlField {..} =+    Core.object+      ( Core.catMaybes+          [("name" Core..=) Core.<$> name, ("type" Core..=) Core.<$> type']+      )++-- | The representation of a SQL STRUCT type.+--+-- /See:/ 'newStandardSqlStructType' smart constructor.+newtype StandardSqlStructType = StandardSqlStructType+  { -- | Fields within the struct.+    fields :: (Core.Maybe [StandardSqlField])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'StandardSqlStructType' with the minimum fields required to make a request.+newStandardSqlStructType ::+  StandardSqlStructType+newStandardSqlStructType =+  StandardSqlStructType {fields = Core.Nothing}++instance Core.FromJSON StandardSqlStructType where+  parseJSON =+    Core.withObject+      "StandardSqlStructType"+      (\o -> StandardSqlStructType Core.<$> (o Core..:? "fields"))++instance Core.ToJSON StandardSqlStructType where+  toJSON StandardSqlStructType {..} =+    Core.object (Core.catMaybes [("fields" Core..=) Core.<$> fields])++-- | A table type+--+-- /See:/ 'newStandardSqlTableType' smart constructor.+newtype StandardSqlTableType = StandardSqlTableType+  { -- | The columns in this table type+    columns :: (Core.Maybe [StandardSqlField])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'StandardSqlTableType' with the minimum fields required to make a request.+newStandardSqlTableType ::+  StandardSqlTableType+newStandardSqlTableType =+  StandardSqlTableType {columns = Core.Nothing}++instance Core.FromJSON StandardSqlTableType where+  parseJSON =+    Core.withObject+      "StandardSqlTableType"+      (\o -> StandardSqlTableType Core.<$> (o Core..:? "columns"))++instance Core.ToJSON StandardSqlTableType where+  toJSON StandardSqlTableType {..} =+    Core.object+      (Core.catMaybes [("columns" Core..=) Core.<$> columns])++-- | Contains information about how a table\'s data is stored and accessed by open source query engines.+--+-- /See:/ 'newStorageDescriptor' smart constructor.+data StorageDescriptor = StorageDescriptor+  { -- | Optional. Specifies the fully qualified class name of the InputFormat (e.g. \"org.apache.hadoop.hive.ql.io.orc.OrcInputFormat\"). The maximum length is 128 characters.+    inputFormat :: (Core.Maybe Core.Text),+    -- | Optional. The physical location of the table (e.g. @gs:\/\/spark-dataproc-data\/pangea-data\/case_sensitive\/@ or @gs:\/\/spark-dataproc-data\/pangea-data\/*@). The maximum length is 2056 bytes.+    locationUri :: (Core.Maybe Core.Text),+    -- | Optional. Specifies the fully qualified class name of the OutputFormat (e.g. \"org.apache.hadoop.hive.ql.io.orc.OrcOutputFormat\"). The maximum length is 128 characters.+    outputFormat :: (Core.Maybe Core.Text),+    -- | Optional. Serializer and deserializer information.+    serdeInfo :: (Core.Maybe SerDeInfo)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'StorageDescriptor' with the minimum fields required to make a request.+newStorageDescriptor ::+  StorageDescriptor+newStorageDescriptor =+  StorageDescriptor+    { inputFormat = Core.Nothing,+      locationUri = Core.Nothing,+      outputFormat = Core.Nothing,+      serdeInfo = Core.Nothing+    }++instance Core.FromJSON StorageDescriptor where+  parseJSON =+    Core.withObject+      "StorageDescriptor"+      ( \o ->+          StorageDescriptor+            Core.<$> (o Core..:? "inputFormat")+            Core.<*> (o Core..:? "locationUri")+            Core.<*> (o Core..:? "outputFormat")+            Core.<*> (o Core..:? "serdeInfo")+      )++instance Core.ToJSON StorageDescriptor where+  toJSON StorageDescriptor {..} =+    Core.object+      ( Core.catMaybes+          [ ("inputFormat" Core..=) Core.<$> inputFormat,+            ("locationUri" Core..=) Core.<$> locationUri,+            ("outputFormat" Core..=) Core.<$> outputFormat,+            ("serdeInfo" Core..=) Core.<$> serdeInfo+          ]+      )++-- | If the stored column was not used, explain why.+--+-- /See:/ 'newStoredColumnsUnusedReason' smart constructor.+data StoredColumnsUnusedReason = StoredColumnsUnusedReason+  { -- | Specifies the high-level reason for the unused scenario, each reason must have a code associated.+    code :: (Core.Maybe StoredColumnsUnusedReason_Code),+    -- | Specifies the detailed description for the scenario.+    message :: (Core.Maybe Core.Text),+    -- | Specifies which columns were not covered by the stored columns for the specified code up to 20 columns. This is populated when the code is STORED/COLUMNS/COVER/INSUFFICIENT and BASE/TABLE/HAS/CLS.+    uncoveredColumns :: (Core.Maybe [Core.Text])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'StoredColumnsUnusedReason' with the minimum fields required to make a request.+newStoredColumnsUnusedReason ::+  StoredColumnsUnusedReason+newStoredColumnsUnusedReason =+  StoredColumnsUnusedReason+    { code = Core.Nothing,+      message = Core.Nothing,+      uncoveredColumns = Core.Nothing+    }++instance Core.FromJSON StoredColumnsUnusedReason where+  parseJSON =+    Core.withObject+      "StoredColumnsUnusedReason"+      ( \o ->+          StoredColumnsUnusedReason+            Core.<$> (o Core..:? "code")+            Core.<*> (o Core..:? "message")+            Core.<*> (o Core..:? "uncoveredColumns")+      )++instance Core.ToJSON StoredColumnsUnusedReason where+  toJSON StoredColumnsUnusedReason {..} =+    Core.object+      ( Core.catMaybes+          [ ("code" Core..=) Core.<$> code,+            ("message" Core..=) Core.<$> message,+            ("uncoveredColumns" Core..=) Core.<$> uncoveredColumns+          ]+      )++-- | Indicates the stored columns usage in the query.+--+-- /See:/ 'newStoredColumnsUsage' smart constructor.+data StoredColumnsUsage = StoredColumnsUsage+  { -- | Specifies the base table.+    baseTable :: (Core.Maybe TableReference),+    -- | Specifies whether the query was accelerated with stored columns.+    isQueryAccelerated :: (Core.Maybe Core.Bool),+    -- | If stored columns were not used, explain why.+    storedColumnsUnusedReasons :: (Core.Maybe [StoredColumnsUnusedReason])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'StoredColumnsUsage' with the minimum fields required to make a request.+newStoredColumnsUsage ::+  StoredColumnsUsage+newStoredColumnsUsage =+  StoredColumnsUsage+    { baseTable = Core.Nothing,+      isQueryAccelerated = Core.Nothing,+      storedColumnsUnusedReasons = Core.Nothing+    }++instance Core.FromJSON StoredColumnsUsage where+  parseJSON =+    Core.withObject+      "StoredColumnsUsage"+      ( \o ->+          StoredColumnsUsage+            Core.<$> (o Core..:? "baseTable")+            Core.<*> (o Core..:? "isQueryAccelerated")+            Core.<*> (o Core..:? "storedColumnsUnusedReasons")+      )++instance Core.ToJSON StoredColumnsUsage where+  toJSON StoredColumnsUsage {..} =+    Core.object+      ( Core.catMaybes+          [ ("baseTable" Core..=) Core.<$> baseTable,+            ("isQueryAccelerated" Core..=) Core.<$> isQueryAccelerated,+            ("storedColumnsUnusedReasons" Core..=)+              Core.<$> storedColumnsUnusedReasons+          ]+      )++--+-- /See:/ 'newStreamingbuffer' smart constructor.+data Streamingbuffer = Streamingbuffer+  { -- | Output only. A lower-bound estimate of the number of bytes currently in the streaming buffer.+    estimatedBytes :: (Core.Maybe Core.Word64),+    -- | Output only. A lower-bound estimate of the number of rows currently in the streaming buffer.+    estimatedRows :: (Core.Maybe Core.Word64),+    -- | Output only. Contains the timestamp of the oldest entry in the streaming buffer, in milliseconds since the epoch, if the streaming buffer is available.+    oldestEntryTime :: (Core.Maybe Core.Word64)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Streamingbuffer' with the minimum fields required to make a request.+newStreamingbuffer ::+  Streamingbuffer+newStreamingbuffer =+  Streamingbuffer+    { estimatedBytes = Core.Nothing,+      estimatedRows = Core.Nothing,+      oldestEntryTime = Core.Nothing+    }++instance Core.FromJSON Streamingbuffer where+  parseJSON =+    Core.withObject+      "Streamingbuffer"+      ( \o ->+          Streamingbuffer+            Core.<$> (o Core..:? "estimatedBytes" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "estimatedRows" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "oldestEntryTime" Core.<&> Core.fmap Core.fromAsText)+      )++instance Core.ToJSON Streamingbuffer where+  toJSON Streamingbuffer {..} =+    Core.object+      ( Core.catMaybes+          [ ("estimatedBytes" Core..=)+              Core.. Core.AsText+              Core.<$> estimatedBytes,+            ("estimatedRows" Core..=)+              Core.. Core.AsText+              Core.<$> estimatedRows,+            ("oldestEntryTime" Core..=)+              Core.. Core.AsText+              Core.<$> oldestEntryTime+          ]+      )++-- | Search space for string and enum.+--+-- /See:/ 'newStringHparamSearchSpace' smart constructor.+newtype StringHparamSearchSpace = StringHparamSearchSpace+  { -- | Canididates for the string or enum parameter in lower case.+    candidates :: (Core.Maybe [Core.Text])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'StringHparamSearchSpace' with the minimum fields required to make a request.+newStringHparamSearchSpace ::+  StringHparamSearchSpace+newStringHparamSearchSpace =+  StringHparamSearchSpace {candidates = Core.Nothing}++instance Core.FromJSON StringHparamSearchSpace where+  parseJSON =+    Core.withObject+      "StringHparamSearchSpace"+      (\o -> StringHparamSearchSpace Core.<$> (o Core..:? "candidates"))++instance Core.ToJSON StringHparamSearchSpace where+  toJSON StringHparamSearchSpace {..} =+    Core.object+      (Core.catMaybes [("candidates" Core..=) Core.<$> candidates])++-- | System variables given to a query.+--+-- /See:/ 'newSystemVariables' smart constructor.+data SystemVariables = SystemVariables+  { -- | Output only. Data type for each system variable.+    types :: (Core.Maybe SystemVariables_Types),+    -- | Output only. Value for each system variable.+    values :: (Core.Maybe SystemVariables_Values)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SystemVariables' with the minimum fields required to make a request.+newSystemVariables ::+  SystemVariables+newSystemVariables =+  SystemVariables {types = Core.Nothing, values = Core.Nothing}++instance Core.FromJSON SystemVariables where+  parseJSON =+    Core.withObject+      "SystemVariables"+      ( \o ->+          SystemVariables+            Core.<$> (o Core..:? "types")+            Core.<*> (o Core..:? "values")+      )++instance Core.ToJSON SystemVariables where+  toJSON SystemVariables {..} =+    Core.object+      ( Core.catMaybes+          [ ("types" Core..=) Core.<$> types,+            ("values" Core..=) Core.<$> values+          ]+      )++-- | Output only. Data type for each system variable.+--+-- /See:/ 'newSystemVariables_Types' smart constructor.+newtype SystemVariables_Types = SystemVariables_Types+  { additional :: (Core.HashMap Core.Text StandardSqlDataType)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SystemVariables_Types' with the minimum fields required to make a request.+newSystemVariables_Types ::+  -- |  See 'additional'.+  Core.HashMap Core.Text StandardSqlDataType ->+  SystemVariables_Types+newSystemVariables_Types additional =+  SystemVariables_Types {additional = additional}++instance Core.FromJSON SystemVariables_Types where+  parseJSON =+    Core.withObject+      "SystemVariables_Types"+      (\o -> SystemVariables_Types Core.<$> (Core.parseJSONObject o))++instance Core.ToJSON SystemVariables_Types where+  toJSON SystemVariables_Types {..} = Core.toJSON additional++-- | Output only. Value for each system variable.+--+-- /See:/ 'newSystemVariables_Values' smart constructor.+newtype SystemVariables_Values = SystemVariables_Values+  { -- | Properties of the object.+    additional :: (Core.HashMap Core.Text Core.Value)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SystemVariables_Values' with the minimum fields required to make a request.+newSystemVariables_Values ::+  -- |  Properties of the object. See 'additional'.+  Core.HashMap Core.Text Core.Value ->+  SystemVariables_Values+newSystemVariables_Values additional =+  SystemVariables_Values {additional = additional}++instance Core.FromJSON SystemVariables_Values where+  parseJSON =+    Core.withObject+      "SystemVariables_Values"+      (\o -> SystemVariables_Values Core.<$> (Core.parseJSONObject o))++instance Core.ToJSON SystemVariables_Values where+  toJSON SystemVariables_Values {..} = Core.toJSON additional++--+-- /See:/ 'newTable' smart constructor.+data Table = Table+  { -- | Optional. Specifies the configuration of a BigLake managed table.+    biglakeConfiguration :: (Core.Maybe BigLakeConfiguration),+    -- | Output only. Contains information about the clone. This value is set via the clone operation.+    cloneDefinition :: (Core.Maybe CloneDefinition),+    -- | Clustering specification for the table. Must be specified with time-based partitioning, data in the table will be first partitioned and subsequently clustered.+    clustering :: (Core.Maybe Clustering),+    -- | Output only. The time when this table was created, in milliseconds since the epoch.+    creationTime :: (Core.Maybe Core.Int64),+    -- | Optional. Defines the default collation specification of new STRING fields in the table. During table creation or update, if a STRING field is added to this table without explicit collation specified, then the table inherits the table default collation. A change to this field affects only fields added afterwards, and does not alter the existing fields. The following values are supported: * \'und:ci\': undetermined locale, case insensitive. * \'\': empty string. Default to case-sensitive behavior.+    defaultCollation :: (Core.Maybe Core.Text),+    -- | Optional. Defines the default rounding mode specification of new decimal fields (NUMERIC OR BIGNUMERIC) in the table. During table creation or update, if a decimal field is added to this table without an explicit rounding mode specified, then the field inherits the table default rounding mode. Changing this field doesn\'t affect existing fields.+    defaultRoundingMode :: (Core.Maybe Table_DefaultRoundingMode),+    -- | Optional. A user-friendly description of this table.+    description :: (Core.Maybe Core.Text),+    -- | Custom encryption configuration (e.g., Cloud KMS keys).+    encryptionConfiguration :: (Core.Maybe EncryptionConfiguration),+    -- | Output only. A hash of this resource.+    etag :: (Core.Maybe Core.Text),+    -- | Optional. The time when this table expires, in milliseconds since the epoch. If not present, the table will persist indefinitely. Expired tables will be deleted and their storage reclaimed. The defaultTableExpirationMs property of the encapsulating dataset can be used to set a default expirationTime on newly created tables.+    expirationTime :: (Core.Maybe Core.Int64),+    -- | Optional. Options defining open source compatible table.+    externalCatalogTableOptions :: (Core.Maybe ExternalCatalogTableOptions),+    -- | Optional. Describes the data format, location, and other properties of a table stored outside of BigQuery. By defining these properties, the data source can then be queried as if it were a standard BigQuery table.+    externalDataConfiguration :: (Core.Maybe ExternalDataConfiguration),+    -- | Optional. A descriptive name for this table.+    friendlyName :: (Core.Maybe Core.Text),+    -- | Output only. An opaque ID uniquely identifying the table.+    id :: (Core.Maybe Core.Text),+    -- | The type of resource ID.+    kind :: Core.Text,+    -- | The labels associated with this table. You can use these to organize and group your tables. Label keys and values can be no longer than 63 characters, can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter and each label in the list must have a different key.+    labels :: (Core.Maybe Table_Labels),+    -- | Output only. The time when this table was last modified, in milliseconds since the epoch.+    lastModifiedTime :: (Core.Maybe Core.Word64),+    -- | Output only. The geographic location where the table resides. This value is inherited from the dataset.+    location :: (Core.Maybe Core.Text),+    -- | Optional. If set, overrides the default managed table type configured in the dataset.+    managedTableType :: (Core.Maybe Table_ManagedTableType),+    -- | Optional. The materialized view definition.+    materializedView :: (Core.Maybe MaterializedViewDefinition),+    -- | Output only. The materialized view status.+    materializedViewStatus :: (Core.Maybe MaterializedViewStatus),+    -- | Optional. The maximum staleness of data that could be returned when the table (or stale MV) is queried. Staleness encoded as a string encoding of sql IntervalValue type.+    maxStaleness :: (Core.Maybe Core.Text),+    -- | Deprecated.+    model :: (Core.Maybe ModelDefinition),+    -- | Output only. Number of logical bytes that are less than 90 days old.+    numActiveLogicalBytes :: (Core.Maybe Core.Int64),+    -- | Output only. Number of physical bytes less than 90 days old. This data is not kept in real time, and might be delayed by a few seconds to a few minutes.+    numActivePhysicalBytes :: (Core.Maybe Core.Int64),+    -- | Output only. The size of this table in logical bytes, excluding any data in the streaming buffer.+    numBytes :: (Core.Maybe Core.Int64),+    -- | Output only. Number of physical bytes used by current live data storage. This data is not kept in real time, and might be delayed by a few seconds to a few minutes.+    numCurrentPhysicalBytes :: (Core.Maybe Core.Int64),+    -- | Output only. The number of logical bytes in the table that are considered \"long-term storage\".+    numLongTermBytes :: (Core.Maybe Core.Int64),+    -- | Output only. Number of logical bytes that are more than 90 days old.+    numLongTermLogicalBytes :: (Core.Maybe Core.Int64),+    -- | Output only. Number of physical bytes more than 90 days old. This data is not kept in real time, and might be delayed by a few seconds to a few minutes.+    numLongTermPhysicalBytes :: (Core.Maybe Core.Int64),+    -- | Output only. The number of partitions present in the table or materialized view. This data is not kept in real time, and might be delayed by a few seconds to a few minutes.+    numPartitions :: (Core.Maybe Core.Int64),+    -- | Output only. The physical size of this table in bytes. This includes storage used for time travel.+    numPhysicalBytes :: (Core.Maybe Core.Int64),+    -- | Output only. The number of rows of data in this table, excluding any data in the streaming buffer.+    numRows :: (Core.Maybe Core.Word64),+    -- | Output only. Number of physical bytes used by time travel storage (deleted or changed data). This data is not kept in real time, and might be delayed by a few seconds to a few minutes.+    numTimeTravelPhysicalBytes :: (Core.Maybe Core.Int64),+    -- | Output only. Total number of logical bytes in the table or materialized view.+    numTotalLogicalBytes :: (Core.Maybe Core.Int64),+    -- | Output only. The physical size of this table in bytes. This also includes storage used for time travel. This data is not kept in real time, and might be delayed by a few seconds to a few minutes.+    numTotalPhysicalBytes :: (Core.Maybe Core.Int64),+    -- | Optional. The partition information for all table formats, including managed partitioned tables, hive partitioned tables, iceberg partitioned, and metastore partitioned tables. This field is only populated for metastore partitioned tables. For other table formats, this is an output only field.+    partitionDefinition :: (Core.Maybe PartitioningDefinition),+    -- | If specified, configures range partitioning for this table.+    rangePartitioning :: (Core.Maybe RangePartitioning),+    -- | Optional. Output only. Table references of all replicas currently active on the table.+    replicas :: (Core.Maybe [TableReference]),+    -- | Optional. If set to true, queries over this table require a partition filter that can be used for partition elimination to be specified.+    requirePartitionFilter :: (Core.Maybe Core.Bool),+    -- | [Optional] The tags associated with this table. Tag keys are globally unique. See additional information on <https://cloud.google.com/iam/docs/tags-access-control#definitions tags>. An object containing a list of \"key\": value pairs. The key is the namespaced friendly name of the tag key, e.g. \"12345\/environment\" where 12345 is parent id. The value is the friendly short name of the tag value, e.g. \"production\".+    resourceTags :: (Core.Maybe Table_ResourceTags),+    -- | Optional. Output only. Restriction config for table. If set, restrict certain accesses on the table based on the config. See <https://cloud.google.com/bigquery/docs/analytics-hub-introduction#data_egress Data egress> for more details.+    restrictions :: (Core.Maybe RestrictionConfig),+    -- | Optional. Describes the schema of this table.+    schema :: (Core.Maybe TableSchema),+    -- | Output only. A URL that can be used to access this resource again.+    selfLink :: (Core.Maybe Core.Text),+    -- | Output only. Contains information about the snapshot. This value is set via snapshot creation.+    snapshotDefinition :: (Core.Maybe SnapshotDefinition),+    -- | Output only. Contains information regarding this table\'s streaming buffer, if one is present. This field will be absent if the table is not being streamed to or if there is no data in the streaming buffer.+    streamingBuffer :: (Core.Maybe Streamingbuffer),+    -- | Optional. Tables Primary Key and Foreign Key information+    tableConstraints :: (Core.Maybe TableConstraints),+    -- | Required. Reference describing the ID of this table.+    tableReference :: (Core.Maybe TableReference),+    -- | Optional. Table replication info for table created @AS REPLICA@ DDL like: @CREATE MATERIALIZED VIEW mv1 AS REPLICA OF src_mv@+    tableReplicationInfo :: (Core.Maybe TableReplicationInfo),+    -- | If specified, configures time-based partitioning for this table.+    timePartitioning :: (Core.Maybe TimePartitioning),+    -- | Output only. Describes the table type. The following values are supported: * @TABLE@: A normal BigQuery table. * @VIEW@: A virtual table defined by a SQL query. * @EXTERNAL@: A table that references data stored in an external storage system, such as Google Cloud Storage. * @MATERIALIZED_VIEW@: A precomputed view defined by a SQL query. * @SNAPSHOT@: An immutable BigQuery table that preserves the contents of a base table at a particular time. See additional information on <https://cloud.google.com/bigquery/docs/table-snapshots-intro table snapshots>. The default value is @TABLE@.+    type' :: (Core.Maybe Core.Text),+    -- | Optional. The view definition.+    view :: (Core.Maybe ViewDefinition)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Table' with the minimum fields required to make a request.+newTable ::+  Table+newTable =+  Table+    { biglakeConfiguration = Core.Nothing,+      cloneDefinition = Core.Nothing,+      clustering = Core.Nothing,+      creationTime = Core.Nothing,+      defaultCollation = Core.Nothing,+      defaultRoundingMode = Core.Nothing,+      description = Core.Nothing,+      encryptionConfiguration = Core.Nothing,+      etag = Core.Nothing,+      expirationTime = Core.Nothing,+      externalCatalogTableOptions = Core.Nothing,+      externalDataConfiguration = Core.Nothing,+      friendlyName = Core.Nothing,+      id = Core.Nothing,+      kind = "bigquery#table",+      labels = Core.Nothing,+      lastModifiedTime = Core.Nothing,+      location = Core.Nothing,+      managedTableType = Core.Nothing,+      materializedView = Core.Nothing,+      materializedViewStatus = Core.Nothing,+      maxStaleness = Core.Nothing,+      model = Core.Nothing,+      numActiveLogicalBytes = Core.Nothing,+      numActivePhysicalBytes = Core.Nothing,+      numBytes = Core.Nothing,+      numCurrentPhysicalBytes = Core.Nothing,+      numLongTermBytes = Core.Nothing,+      numLongTermLogicalBytes = Core.Nothing,+      numLongTermPhysicalBytes = Core.Nothing,+      numPartitions = Core.Nothing,+      numPhysicalBytes = Core.Nothing,+      numRows = Core.Nothing,+      numTimeTravelPhysicalBytes = Core.Nothing,+      numTotalLogicalBytes = Core.Nothing,+      numTotalPhysicalBytes = Core.Nothing,+      partitionDefinition = Core.Nothing,+      rangePartitioning = Core.Nothing,+      replicas = Core.Nothing,+      requirePartitionFilter = Core.Nothing,+      resourceTags = Core.Nothing,+      restrictions = Core.Nothing,+      schema = Core.Nothing,+      selfLink = Core.Nothing,+      snapshotDefinition = Core.Nothing,+      streamingBuffer = Core.Nothing,+      tableConstraints = Core.Nothing,+      tableReference = Core.Nothing,+      tableReplicationInfo = Core.Nothing,+      timePartitioning = Core.Nothing,+      type' = Core.Nothing,+      view = Core.Nothing+    }++instance Core.FromJSON Table where+  parseJSON =+    Core.withObject+      "Table"+      ( \o ->+          Table+            Core.<$> (o Core..:? "biglakeConfiguration")+            Core.<*> (o Core..:? "cloneDefinition")+            Core.<*> (o Core..:? "clustering")+            Core.<*> (o Core..:? "creationTime" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "defaultCollation")+            Core.<*> (o Core..:? "defaultRoundingMode")+            Core.<*> (o Core..:? "description")+            Core.<*> (o Core..:? "encryptionConfiguration")+            Core.<*> (o Core..:? "etag")+            Core.<*> (o Core..:? "expirationTime" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "externalCatalogTableOptions")+            Core.<*> (o Core..:? "externalDataConfiguration")+            Core.<*> (o Core..:? "friendlyName")+            Core.<*> (o Core..:? "id")+            Core.<*> (o Core..:? "kind" Core..!= "bigquery#table")+            Core.<*> (o Core..:? "labels")+            Core.<*> (o Core..:? "lastModifiedTime" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "location")+            Core.<*> (o Core..:? "managedTableType")+            Core.<*> (o Core..:? "materializedView")+            Core.<*> (o Core..:? "materializedViewStatus")+            Core.<*> (o Core..:? "maxStaleness")+            Core.<*> (o Core..:? "model")+            Core.<*> ( o+                         Core..:? "numActiveLogicalBytes"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> ( o+                         Core..:? "numActivePhysicalBytes"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> (o Core..:? "numBytes" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> ( o+                         Core..:? "numCurrentPhysicalBytes"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> (o Core..:? "numLongTermBytes" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> ( o+                         Core..:? "numLongTermLogicalBytes"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> ( o+                         Core..:? "numLongTermPhysicalBytes"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> (o Core..:? "numPartitions" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "numPhysicalBytes" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "numRows" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> ( o+                         Core..:? "numTimeTravelPhysicalBytes"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> ( o+                         Core..:? "numTotalLogicalBytes"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> ( o+                         Core..:? "numTotalPhysicalBytes"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> (o Core..:? "partitionDefinition")+            Core.<*> (o Core..:? "rangePartitioning")+            Core.<*> (o Core..:? "replicas")+            Core.<*> (o Core..:? "requirePartitionFilter")+            Core.<*> (o Core..:? "resourceTags")+            Core.<*> (o Core..:? "restrictions")+            Core.<*> (o Core..:? "schema")+            Core.<*> (o Core..:? "selfLink")+            Core.<*> (o Core..:? "snapshotDefinition")+            Core.<*> (o Core..:? "streamingBuffer")+            Core.<*> (o Core..:? "tableConstraints")+            Core.<*> (o Core..:? "tableReference")+            Core.<*> (o Core..:? "tableReplicationInfo")+            Core.<*> (o Core..:? "timePartitioning")+            Core.<*> (o Core..:? "type")+            Core.<*> (o Core..:? "view")+      )++instance Core.ToJSON Table where+  toJSON Table {..} =+    Core.object+      ( Core.catMaybes+          [ ("biglakeConfiguration" Core..=) Core.<$> biglakeConfiguration,+            ("cloneDefinition" Core..=) Core.<$> cloneDefinition,+            ("clustering" Core..=) Core.<$> clustering,+            ("creationTime" Core..=) Core.. Core.AsText Core.<$> creationTime,+            ("defaultCollation" Core..=) Core.<$> defaultCollation,+            ("defaultRoundingMode" Core..=) Core.<$> defaultRoundingMode,+            ("description" Core..=) Core.<$> description,+            ("encryptionConfiguration" Core..=)+              Core.<$> encryptionConfiguration,+            ("etag" Core..=) Core.<$> etag,+            ("expirationTime" Core..=)+              Core.. Core.AsText+              Core.<$> expirationTime,+            ("externalCatalogTableOptions" Core..=)+              Core.<$> externalCatalogTableOptions,+            ("externalDataConfiguration" Core..=)+              Core.<$> externalDataConfiguration,+            ("friendlyName" Core..=) Core.<$> friendlyName,+            ("id" Core..=) Core.<$> id,+            Core.Just ("kind" Core..= kind),+            ("labels" Core..=) Core.<$> labels,+            ("lastModifiedTime" Core..=)+              Core.. Core.AsText+              Core.<$> lastModifiedTime,+            ("location" Core..=) Core.<$> location,+            ("managedTableType" Core..=) Core.<$> managedTableType,+            ("materializedView" Core..=) Core.<$> materializedView,+            ("materializedViewStatus" Core..=) Core.<$> materializedViewStatus,+            ("maxStaleness" Core..=) Core.<$> maxStaleness,+            ("model" Core..=) Core.<$> model,+            ("numActiveLogicalBytes" Core..=)+              Core.. Core.AsText+              Core.<$> numActiveLogicalBytes,+            ("numActivePhysicalBytes" Core..=)+              Core.. Core.AsText+              Core.<$> numActivePhysicalBytes,+            ("numBytes" Core..=) Core.. Core.AsText Core.<$> numBytes,+            ("numCurrentPhysicalBytes" Core..=)+              Core.. Core.AsText+              Core.<$> numCurrentPhysicalBytes,+            ("numLongTermBytes" Core..=)+              Core.. Core.AsText+              Core.<$> numLongTermBytes,+            ("numLongTermLogicalBytes" Core..=)+              Core.. Core.AsText+              Core.<$> numLongTermLogicalBytes,+            ("numLongTermPhysicalBytes" Core..=)+              Core.. Core.AsText+              Core.<$> numLongTermPhysicalBytes,+            ("numPartitions" Core..=)+              Core.. Core.AsText+              Core.<$> numPartitions,+            ("numPhysicalBytes" Core..=)+              Core.. Core.AsText+              Core.<$> numPhysicalBytes,+            ("numRows" Core..=) Core.. Core.AsText Core.<$> numRows,+            ("numTimeTravelPhysicalBytes" Core..=)+              Core.. Core.AsText+              Core.<$> numTimeTravelPhysicalBytes,+            ("numTotalLogicalBytes" Core..=)+              Core.. Core.AsText+              Core.<$> numTotalLogicalBytes,+            ("numTotalPhysicalBytes" Core..=)+              Core.. Core.AsText+              Core.<$> numTotalPhysicalBytes,+            ("partitionDefinition" Core..=) Core.<$> partitionDefinition,+            ("rangePartitioning" Core..=) Core.<$> rangePartitioning,+            ("replicas" Core..=) Core.<$> replicas,+            ("requirePartitionFilter" Core..=) Core.<$> requirePartitionFilter,+            ("resourceTags" Core..=) Core.<$> resourceTags,+            ("restrictions" Core..=) Core.<$> restrictions,+            ("schema" Core..=) Core.<$> schema,+            ("selfLink" Core..=) Core.<$> selfLink,+            ("snapshotDefinition" Core..=) Core.<$> snapshotDefinition,+            ("streamingBuffer" Core..=) Core.<$> streamingBuffer,+            ("tableConstraints" Core..=) Core.<$> tableConstraints,+            ("tableReference" Core..=) Core.<$> tableReference,+            ("tableReplicationInfo" Core..=) Core.<$> tableReplicationInfo,+            ("timePartitioning" Core..=) Core.<$> timePartitioning,+            ("type" Core..=) Core.<$> type',+            ("view" Core..=) Core.<$> view+          ]+      )++-- | The labels associated with this table. You can use these to organize and group your tables. Label keys and values can be no longer than 63 characters, can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter and each label in the list must have a different key.+--+-- /See:/ 'newTable_Labels' smart constructor.+newtype Table_Labels = Table_Labels+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Table_Labels' with the minimum fields required to make a request.+newTable_Labels ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  Table_Labels+newTable_Labels additional = Table_Labels {additional = additional}++instance Core.FromJSON Table_Labels where+  parseJSON =+    Core.withObject+      "Table_Labels"+      (\o -> Table_Labels Core.<$> (Core.parseJSONObject o))++instance Core.ToJSON Table_Labels where+  toJSON Table_Labels {..} = Core.toJSON additional++-- | [Optional] The tags associated with this table. Tag keys are globally unique. See additional information on <https://cloud.google.com/iam/docs/tags-access-control#definitions tags>. An object containing a list of \"key\": value pairs. The key is the namespaced friendly name of the tag key, e.g. \"12345\/environment\" where 12345 is parent id. The value is the friendly short name of the tag value, e.g. \"production\".+--+-- /See:/ 'newTable_ResourceTags' smart constructor.+newtype Table_ResourceTags = Table_ResourceTags+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Table_ResourceTags' with the minimum fields required to make a request.+newTable_ResourceTags ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  Table_ResourceTags+newTable_ResourceTags additional =+  Table_ResourceTags {additional = additional}++instance Core.FromJSON Table_ResourceTags where+  parseJSON =+    Core.withObject+      "Table_ResourceTags"+      (\o -> Table_ResourceTags Core.<$> (Core.parseJSONObject o))++instance Core.ToJSON Table_ResourceTags where+  toJSON Table_ResourceTags {..} = Core.toJSON additional++--+-- /See:/ 'newTableCell' smart constructor.+newtype TableCell = TableCell+  { v :: (Core.Maybe Core.Value)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'TableCell' with the minimum fields required to make a request.+newTableCell ::+  TableCell+newTableCell = TableCell {v = Core.Nothing}++instance Core.FromJSON TableCell where+  parseJSON =+    Core.withObject+      "TableCell"+      (\o -> TableCell Core.<$> (o Core..:? "v"))++instance Core.ToJSON TableCell where+  toJSON TableCell {..} =+    Core.object (Core.catMaybes [("v" Core..=) Core.<$> v])++-- | The TableConstraints defines the primary key and foreign key.+--+-- /See:/ 'newTableConstraints' smart constructor.+data TableConstraints = TableConstraints+  { -- | Optional. Present only if the table has a foreign key. The foreign key is not enforced.+    foreignKeys :: (Core.Maybe [TableConstraints_ForeignKeysItem]),+    -- | Represents the primary key constraint on a table\'s columns.+    primaryKey :: (Core.Maybe TableConstraints_PrimaryKey)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'TableConstraints' with the minimum fields required to make a request.+newTableConstraints ::+  TableConstraints+newTableConstraints =+  TableConstraints+    { foreignKeys = Core.Nothing,+      primaryKey = Core.Nothing+    }++instance Core.FromJSON TableConstraints where+  parseJSON =+    Core.withObject+      "TableConstraints"+      ( \o ->+          TableConstraints+            Core.<$> (o Core..:? "foreignKeys")+            Core.<*> (o Core..:? "primaryKey")+      )++instance Core.ToJSON TableConstraints where+  toJSON TableConstraints {..} =+    Core.object+      ( Core.catMaybes+          [ ("foreignKeys" Core..=) Core.<$> foreignKeys,+            ("primaryKey" Core..=) Core.<$> primaryKey+          ]+      )++-- | Represents a foreign key constraint on a table\'s columns.+--+-- /See:/ 'newTableConstraints_ForeignKeysItem' smart constructor.+data TableConstraints_ForeignKeysItem = TableConstraints_ForeignKeysItem+  { -- | Required. The columns that compose the foreign key.+    columnReferences ::+      ( Core.Maybe+          [TableConstraints_ForeignKeysItem_ColumnReferencesItem]+      ),+    -- | Optional. Set only if the foreign key constraint is named.+    name :: (Core.Maybe Core.Text),+    referencedTable :: (Core.Maybe TableConstraints_ForeignKeysItem_ReferencedTable)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'TableConstraints_ForeignKeysItem' with the minimum fields required to make a request.+newTableConstraints_ForeignKeysItem ::+  TableConstraints_ForeignKeysItem+newTableConstraints_ForeignKeysItem =+  TableConstraints_ForeignKeysItem+    { columnReferences = Core.Nothing,+      name = Core.Nothing,+      referencedTable = Core.Nothing+    }++instance Core.FromJSON TableConstraints_ForeignKeysItem where+  parseJSON =+    Core.withObject+      "TableConstraints_ForeignKeysItem"+      ( \o ->+          TableConstraints_ForeignKeysItem+            Core.<$> (o Core..:? "columnReferences")+            Core.<*> (o Core..:? "name")+            Core.<*> (o Core..:? "referencedTable")+      )++instance Core.ToJSON TableConstraints_ForeignKeysItem where+  toJSON TableConstraints_ForeignKeysItem {..} =+    Core.object+      ( Core.catMaybes+          [ ("columnReferences" Core..=) Core.<$> columnReferences,+            ("name" Core..=) Core.<$> name,+            ("referencedTable" Core..=) Core.<$> referencedTable+          ]+      )++-- | The pair of the foreign key column and primary key column.+--+-- /See:/ 'newTableConstraints_ForeignKeysItem_ColumnReferencesItem' smart constructor.+data TableConstraints_ForeignKeysItem_ColumnReferencesItem = TableConstraints_ForeignKeysItem_ColumnReferencesItem+  { -- | Required. The column in the primary key that are referenced by the referencing_column.+    referencedColumn :: (Core.Maybe Core.Text),+    -- | Required. The column that composes the foreign key.+    referencingColumn :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'TableConstraints_ForeignKeysItem_ColumnReferencesItem' with the minimum fields required to make a request.+newTableConstraints_ForeignKeysItem_ColumnReferencesItem ::+  TableConstraints_ForeignKeysItem_ColumnReferencesItem+newTableConstraints_ForeignKeysItem_ColumnReferencesItem =+  TableConstraints_ForeignKeysItem_ColumnReferencesItem+    { referencedColumn =+        Core.Nothing,+      referencingColumn = Core.Nothing+    }++instance+  Core.FromJSON+    TableConstraints_ForeignKeysItem_ColumnReferencesItem+  where+  parseJSON =+    Core.withObject+      "TableConstraints_ForeignKeysItem_ColumnReferencesItem"+      ( \o ->+          TableConstraints_ForeignKeysItem_ColumnReferencesItem+            Core.<$> (o Core..:? "referencedColumn")+            Core.<*> (o Core..:? "referencingColumn")+      )++instance+  Core.ToJSON+    TableConstraints_ForeignKeysItem_ColumnReferencesItem+  where+  toJSON TableConstraints_ForeignKeysItem_ColumnReferencesItem {..} =+    Core.object+      ( Core.catMaybes+          [ ("referencedColumn" Core..=) Core.<$> referencedColumn,+            ("referencingColumn" Core..=) Core.<$> referencingColumn+          ]+      )++--+-- /See:/ 'newTableConstraints_ForeignKeysItem_ReferencedTable' smart constructor.+data TableConstraints_ForeignKeysItem_ReferencedTable = TableConstraints_ForeignKeysItem_ReferencedTable+  { datasetId :: (Core.Maybe Core.Text),+    projectId :: (Core.Maybe Core.Text),+    tableId :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'TableConstraints_ForeignKeysItem_ReferencedTable' with the minimum fields required to make a request.+newTableConstraints_ForeignKeysItem_ReferencedTable ::+  TableConstraints_ForeignKeysItem_ReferencedTable+newTableConstraints_ForeignKeysItem_ReferencedTable =+  TableConstraints_ForeignKeysItem_ReferencedTable+    { datasetId =+        Core.Nothing,+      projectId = Core.Nothing,+      tableId = Core.Nothing+    }++instance+  Core.FromJSON+    TableConstraints_ForeignKeysItem_ReferencedTable+  where+  parseJSON =+    Core.withObject+      "TableConstraints_ForeignKeysItem_ReferencedTable"+      ( \o ->+          TableConstraints_ForeignKeysItem_ReferencedTable+            Core.<$> (o Core..:? "datasetId")+            Core.<*> (o Core..:? "projectId")+            Core.<*> (o Core..:? "tableId")+      )++instance+  Core.ToJSON+    TableConstraints_ForeignKeysItem_ReferencedTable+  where+  toJSON TableConstraints_ForeignKeysItem_ReferencedTable {..} =+    Core.object+      ( Core.catMaybes+          [ ("datasetId" Core..=) Core.<$> datasetId,+            ("projectId" Core..=) Core.<$> projectId,+            ("tableId" Core..=) Core.<$> tableId+          ]+      )++-- | Represents the primary key constraint on a table\'s columns.+--+-- /See:/ 'newTableConstraints_PrimaryKey' smart constructor.+newtype TableConstraints_PrimaryKey = TableConstraints_PrimaryKey+  { -- | Required. The columns that are composed of the primary key constraint.+    columns :: (Core.Maybe [Core.Text])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'TableConstraints_PrimaryKey' with the minimum fields required to make a request.+newTableConstraints_PrimaryKey ::+  TableConstraints_PrimaryKey+newTableConstraints_PrimaryKey =+  TableConstraints_PrimaryKey {columns = Core.Nothing}++instance Core.FromJSON TableConstraints_PrimaryKey where+  parseJSON =+    Core.withObject+      "TableConstraints_PrimaryKey"+      ( \o ->+          TableConstraints_PrimaryKey Core.<$> (o Core..:? "columns")+      )++instance Core.ToJSON TableConstraints_PrimaryKey where+  toJSON TableConstraints_PrimaryKey {..} =+    Core.object+      (Core.catMaybes [("columns" Core..=) Core.<$> columns])++-- | Request for sending a single streaming insert.+--+-- /See:/ 'newTableDataInsertAllRequest' smart constructor.+data TableDataInsertAllRequest = TableDataInsertAllRequest+  { -- | Optional. Accept rows that contain values that do not match the schema. The unknown values are ignored. Default is false, which treats unknown values as errors.+    ignoreUnknownValues :: (Core.Maybe Core.Bool),+    -- | Optional. The resource type of the response. The value is not checked at the backend. Historically, it has been set to \"bigquery#tableDataInsertAllRequest\" but you are not required to set it.+    kind :: Core.Text,+    rows :: (Core.Maybe [TableDataInsertAllRequest_RowsItem]),+    -- | Optional. Insert all valid rows of a request, even if invalid rows exist. The default value is false, which causes the entire request to fail if any invalid rows exist.+    skipInvalidRows :: (Core.Maybe Core.Bool),+    -- | Optional. If specified, treats the destination table as a base template, and inserts the rows into an instance table named \"{destination}{templateSuffix}\". BigQuery will manage creation of the instance table, using the schema of the base template table. See https:\/\/cloud.google.com\/bigquery\/streaming-data-into-bigquery#template-tables for considerations when working with templates tables.+    templateSuffix :: (Core.Maybe Core.Text),+    -- | Optional. Unique request trace id. Used for debugging purposes only. It is case-sensitive, limited to up to 36 ASCII characters. A UUID is recommended.+    traceId :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'TableDataInsertAllRequest' with the minimum fields required to make a request.+newTableDataInsertAllRequest ::+  TableDataInsertAllRequest+newTableDataInsertAllRequest =+  TableDataInsertAllRequest+    { ignoreUnknownValues = Core.Nothing,+      kind = "bigquery#tableDataInsertAllRequest",+      rows = Core.Nothing,+      skipInvalidRows = Core.Nothing,+      templateSuffix = Core.Nothing,+      traceId = Core.Nothing+    }++instance Core.FromJSON TableDataInsertAllRequest where+  parseJSON =+    Core.withObject+      "TableDataInsertAllRequest"+      ( \o ->+          TableDataInsertAllRequest+            Core.<$> (o Core..:? "ignoreUnknownValues")+            Core.<*> (o Core..:? "kind" Core..!= "bigquery#tableDataInsertAllRequest")+            Core.<*> (o Core..:? "rows")+            Core.<*> (o Core..:? "skipInvalidRows")+            Core.<*> (o Core..:? "templateSuffix")+            Core.<*> (o Core..:? "traceId")+      )++instance Core.ToJSON TableDataInsertAllRequest where+  toJSON TableDataInsertAllRequest {..} =+    Core.object+      ( Core.catMaybes+          [ ("ignoreUnknownValues" Core..=) Core.<$> ignoreUnknownValues,+            Core.Just ("kind" Core..= kind),+            ("rows" Core..=) Core.<$> rows,+            ("skipInvalidRows" Core..=) Core.<$> skipInvalidRows,+            ("templateSuffix" Core..=) Core.<$> templateSuffix,+            ("traceId" Core..=) Core.<$> traceId+          ]+      )++-- | Data for a single insertion row.+--+-- /See:/ 'newTableDataInsertAllRequest_RowsItem' smart constructor.+data TableDataInsertAllRequest_RowsItem = TableDataInsertAllRequest_RowsItem+  { -- | Insertion ID for best-effort deduplication. This feature is not recommended, and users seeking stronger insertion semantics are encouraged to use other mechanisms such as the BigQuery Write API.+    insertId :: (Core.Maybe Core.Text),+    -- | Data for a single row.+    json :: (Core.Maybe JsonObject)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'TableDataInsertAllRequest_RowsItem' with the minimum fields required to make a request.+newTableDataInsertAllRequest_RowsItem ::+  TableDataInsertAllRequest_RowsItem+newTableDataInsertAllRequest_RowsItem =+  TableDataInsertAllRequest_RowsItem+    { insertId = Core.Nothing,+      json = Core.Nothing+    }++instance Core.FromJSON TableDataInsertAllRequest_RowsItem where+  parseJSON =+    Core.withObject+      "TableDataInsertAllRequest_RowsItem"+      ( \o ->+          TableDataInsertAllRequest_RowsItem+            Core.<$> (o Core..:? "insertId")+            Core.<*> (o Core..:? "json")+      )++instance Core.ToJSON TableDataInsertAllRequest_RowsItem where+  toJSON TableDataInsertAllRequest_RowsItem {..} =+    Core.object+      ( Core.catMaybes+          [ ("insertId" Core..=) Core.<$> insertId,+            ("json" Core..=) Core.<$> json+          ]+      )++-- | Describes the format of a streaming insert response.+--+-- /See:/ 'newTableDataInsertAllResponse' smart constructor.+data TableDataInsertAllResponse = TableDataInsertAllResponse+  { -- | Describes specific errors encountered while processing the request.+    insertErrors :: (Core.Maybe [TableDataInsertAllResponse_InsertErrorsItem]),+    -- | Returns \"bigquery#tableDataInsertAllResponse\".+    kind :: Core.Text+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'TableDataInsertAllResponse' with the minimum fields required to make a request.+newTableDataInsertAllResponse ::+  TableDataInsertAllResponse+newTableDataInsertAllResponse =+  TableDataInsertAllResponse+    { insertErrors = Core.Nothing,+      kind = "bigquery#tableDataInsertAllResponse"+    }++instance Core.FromJSON TableDataInsertAllResponse where+  parseJSON =+    Core.withObject+      "TableDataInsertAllResponse"+      ( \o ->+          TableDataInsertAllResponse+            Core.<$> (o Core..:? "insertErrors")+            Core.<*> (o Core..:? "kind" Core..!= "bigquery#tableDataInsertAllResponse")+      )++instance Core.ToJSON TableDataInsertAllResponse where+  toJSON TableDataInsertAllResponse {..} =+    Core.object+      ( Core.catMaybes+          [ ("insertErrors" Core..=) Core.<$> insertErrors,+            Core.Just ("kind" Core..= kind)+          ]+      )++-- | Error details about a single row\'s insertion.+--+-- /See:/ 'newTableDataInsertAllResponse_InsertErrorsItem' smart constructor.+data TableDataInsertAllResponse_InsertErrorsItem = TableDataInsertAllResponse_InsertErrorsItem+  { -- | Error information for the row indicated by the index property.+    errors :: (Core.Maybe [ErrorProto]),+    -- | The index of the row that error applies to.+    index :: (Core.Maybe Core.Word32)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'TableDataInsertAllResponse_InsertErrorsItem' with the minimum fields required to make a request.+newTableDataInsertAllResponse_InsertErrorsItem ::+  TableDataInsertAllResponse_InsertErrorsItem+newTableDataInsertAllResponse_InsertErrorsItem =+  TableDataInsertAllResponse_InsertErrorsItem+    { errors =+        Core.Nothing,+      index = Core.Nothing+    }++instance Core.FromJSON TableDataInsertAllResponse_InsertErrorsItem where+  parseJSON =+    Core.withObject+      "TableDataInsertAllResponse_InsertErrorsItem"+      ( \o ->+          TableDataInsertAllResponse_InsertErrorsItem+            Core.<$> (o Core..:? "errors")+            Core.<*> (o Core..:? "index")+      )++instance Core.ToJSON TableDataInsertAllResponse_InsertErrorsItem where+  toJSON TableDataInsertAllResponse_InsertErrorsItem {..} =+    Core.object+      ( Core.catMaybes+          [ ("errors" Core..=) Core.<$> errors,+            ("index" Core..=) Core.<$> index+          ]+      )++--+-- /See:/ 'newTableDataList' smart constructor.+data TableDataList = TableDataList+  { -- | A hash of this page of results.+    etag :: (Core.Maybe Core.Text),+    -- | The resource type of the response.+    kind :: Core.Text,+    -- | A token used for paging results. Providing this token instead of the startIndex parameter can help you retrieve stable results when an underlying table is changing.+    pageToken :: (Core.Maybe Core.Text),+    -- | Rows of results.+    rows :: (Core.Maybe [TableRow]),+    -- | Total rows of the entire table. In order to show default value 0 we have to present it as string.+    totalRows :: (Core.Maybe Core.Int64)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'TableDataList' with the minimum fields required to make a request.+newTableDataList ::+  TableDataList+newTableDataList =+  TableDataList+    { etag = Core.Nothing,+      kind = "bigquery#tableDataList",+      pageToken = Core.Nothing,+      rows = Core.Nothing,+      totalRows = Core.Nothing+    }++instance Core.FromJSON TableDataList where+  parseJSON =+    Core.withObject+      "TableDataList"+      ( \o ->+          TableDataList+            Core.<$> (o Core..:? "etag")+            Core.<*> (o Core..:? "kind" Core..!= "bigquery#tableDataList")+            Core.<*> (o Core..:? "pageToken")+            Core.<*> (o Core..:? "rows")+            Core.<*> (o Core..:? "totalRows" Core.<&> Core.fmap Core.fromAsText)+      )++instance Core.ToJSON TableDataList where+  toJSON TableDataList {..} =+    Core.object+      ( Core.catMaybes+          [ ("etag" Core..=) Core.<$> etag,+            Core.Just ("kind" Core..= kind),+            ("pageToken" Core..=) Core.<$> pageToken,+            ("rows" Core..=) Core.<$> rows,+            ("totalRows" Core..=) Core.. Core.AsText Core.<$> totalRows+          ]+      )++-- | A field in TableSchema+--+-- /See:/ 'newTableFieldSchema' smart constructor.+data TableFieldSchema = TableFieldSchema+  { -- | Deprecated.+    categories :: (Core.Maybe TableFieldSchema_Categories),+    -- | Optional. Field collation can be set only when the type of field is STRING. The following values are supported: * \'und:ci\': undetermined locale, case insensitive. * \'\': empty string. Default to case-sensitive behavior.+    collation :: (Core.Maybe Core.Text),+    -- | Optional. Data policy options, will replace the data_policies.+    dataPolicies :: (Core.Maybe [DataPolicyOption]),+    -- | Optional. A SQL expression to specify the [default value] (https:\/\/cloud.google.com\/bigquery\/docs\/default-values) for this field.+    defaultValueExpression :: (Core.Maybe Core.Text),+    -- | Optional. The field description. The maximum length is 1,024 characters.+    description :: (Core.Maybe Core.Text),+    -- | Optional. Describes the nested schema fields if the type property is set to RECORD.+    fields :: (Core.Maybe [TableFieldSchema]),+    -- | Optional. Definition of the foreign data type. Only valid for top-level schema fields (not nested fields). If the type is FOREIGN, this field is required.+    foreignTypeDefinition :: (Core.Maybe Core.Text),+    -- | Optional. Maximum length of values of this field for STRINGS or BYTES. If max/length is not specified, no maximum length constraint is imposed on this field. If type = \"STRING\", then max/length represents the maximum UTF-8 length of strings in this field. If type = \"BYTES\", then max_length represents the maximum number of bytes in this field. It is invalid to set this field if type ≠ \"STRING\" and ≠ \"BYTES\".+    maxLength :: (Core.Maybe Core.Int64),+    -- | Optional. The field mode. Possible values include NULLABLE, REQUIRED and REPEATED. The default value is NULLABLE.+    mode :: (Core.Maybe Core.Text),+    -- | Required. The field name. The name must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_), and must start with a letter or underscore. The maximum length is 300 characters.+    name :: (Core.Maybe Core.Text),+    -- | Optional. The policy tags attached to this field, used for field-level access control. If not set, defaults to empty policy_tags.+    policyTags :: (Core.Maybe TableFieldSchema_PolicyTags),+    -- | Optional. Precision (maximum number of total digits in base 10) and scale (maximum number of digits in the fractional part in base 10) constraints for values of this field for NUMERIC or BIGNUMERIC. It is invalid to set precision or scale if type ≠ \"NUMERIC\" and ≠ \"BIGNUMERIC\". If precision and scale are not specified, no value range constraint is imposed on this field insofar as values are permitted by the type. Values of this NUMERIC or BIGNUMERIC field must be in this range when: * Precision (P) and scale (S) are specified: [-10P-S + 10-S, 10P-S - 10-S] * Precision (P) is specified but not scale (and thus scale is interpreted to be equal to zero): [-10P + 1, 10P - 1]. Acceptable values for precision and scale if both are specified: * If type = \"NUMERIC\": 1 ≤ precision - scale ≤ 29 and 0 ≤ scale ≤ 9. * If type = \"BIGNUMERIC\": 1 ≤ precision - scale ≤ 38 and 0 ≤ scale ≤ 38. Acceptable values for precision if only precision is specified but not scale (and thus scale is interpreted to be equal to zero):+    -- * If type = \"NUMERIC\": 1 ≤ precision ≤ 29. * If type = \"BIGNUMERIC\": 1 ≤ precision ≤ 38. If scale is specified but not precision, then it is invalid.+    precision :: (Core.Maybe Core.Int64),+    -- | Represents the type of a field element.+    rangeElementType :: (Core.Maybe TableFieldSchema_RangeElementType),+    -- | Optional. Specifies the rounding mode to be used when storing values of NUMERIC and BIGNUMERIC type.+    roundingMode :: (Core.Maybe TableFieldSchema_RoundingMode),+    -- | Optional. See documentation for precision.+    scale :: (Core.Maybe Core.Int64),+    -- | Required. The field data type. Possible values include: * STRING * BYTES * INTEGER (or INT64) * FLOAT (or FLOAT64) * BOOLEAN (or BOOL) * TIMESTAMP * DATE * TIME * DATETIME * GEOGRAPHY * NUMERIC * BIGNUMERIC * JSON * RECORD (or STRUCT) * RANGE Use of RECORD\/STRUCT indicates that the field contains a nested schema.+    type' :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'TableFieldSchema' with the minimum fields required to make a request.+newTableFieldSchema ::+  TableFieldSchema+newTableFieldSchema =+  TableFieldSchema+    { categories = Core.Nothing,+      collation = Core.Nothing,+      dataPolicies = Core.Nothing,+      defaultValueExpression = Core.Nothing,+      description = Core.Nothing,+      fields = Core.Nothing,+      foreignTypeDefinition = Core.Nothing,+      maxLength = Core.Nothing,+      mode = Core.Nothing,+      name = Core.Nothing,+      policyTags = Core.Nothing,+      precision = Core.Nothing,+      rangeElementType = Core.Nothing,+      roundingMode = Core.Nothing,+      scale = Core.Nothing,+      type' = Core.Nothing+    }++instance Core.FromJSON TableFieldSchema where+  parseJSON =+    Core.withObject+      "TableFieldSchema"+      ( \o ->+          TableFieldSchema+            Core.<$> (o Core..:? "categories")+            Core.<*> (o Core..:? "collation")+            Core.<*> (o Core..:? "dataPolicies")+            Core.<*> (o Core..:? "defaultValueExpression")+            Core.<*> (o Core..:? "description")+            Core.<*> (o Core..:? "fields")+            Core.<*> (o Core..:? "foreignTypeDefinition")+            Core.<*> (o Core..:? "maxLength" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "mode")+            Core.<*> (o Core..:? "name")+            Core.<*> (o Core..:? "policyTags")+            Core.<*> (o Core..:? "precision" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "rangeElementType")+            Core.<*> (o Core..:? "roundingMode")+            Core.<*> (o Core..:? "scale" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "type")+      )++instance Core.ToJSON TableFieldSchema where+  toJSON TableFieldSchema {..} =+    Core.object+      ( Core.catMaybes+          [ ("categories" Core..=) Core.<$> categories,+            ("collation" Core..=) Core.<$> collation,+            ("dataPolicies" Core..=) Core.<$> dataPolicies,+            ("defaultValueExpression" Core..=) Core.<$> defaultValueExpression,+            ("description" Core..=) Core.<$> description,+            ("fields" Core..=) Core.<$> fields,+            ("foreignTypeDefinition" Core..=) Core.<$> foreignTypeDefinition,+            ("maxLength" Core..=) Core.. Core.AsText Core.<$> maxLength,+            ("mode" Core..=) Core.<$> mode,+            ("name" Core..=) Core.<$> name,+            ("policyTags" Core..=) Core.<$> policyTags,+            ("precision" Core..=) Core.. Core.AsText Core.<$> precision,+            ("rangeElementType" Core..=) Core.<$> rangeElementType,+            ("roundingMode" Core..=) Core.<$> roundingMode,+            ("scale" Core..=) Core.. Core.AsText Core.<$> scale,+            ("type" Core..=) Core.<$> type'+          ]+      )++-- | Deprecated.+--+-- /See:/ 'newTableFieldSchema_Categories' smart constructor.+newtype TableFieldSchema_Categories = TableFieldSchema_Categories+  { -- | Deprecated.+    names :: (Core.Maybe [Core.Text])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'TableFieldSchema_Categories' with the minimum fields required to make a request.+newTableFieldSchema_Categories ::+  TableFieldSchema_Categories+newTableFieldSchema_Categories =+  TableFieldSchema_Categories {names = Core.Nothing}++instance Core.FromJSON TableFieldSchema_Categories where+  parseJSON =+    Core.withObject+      "TableFieldSchema_Categories"+      (\o -> TableFieldSchema_Categories Core.<$> (o Core..:? "names"))++instance Core.ToJSON TableFieldSchema_Categories where+  toJSON TableFieldSchema_Categories {..} =+    Core.object (Core.catMaybes [("names" Core..=) Core.<$> names])++-- | Optional. The policy tags attached to this field, used for field-level access control. If not set, defaults to empty policy_tags.+--+-- /See:/ 'newTableFieldSchema_PolicyTags' smart constructor.+newtype TableFieldSchema_PolicyTags = TableFieldSchema_PolicyTags+  { -- | A list of policy tag resource names. For example, \"projects\/1\/locations\/eu\/taxonomies\/2\/policyTags\/3\". At most 1 policy tag is currently allowed.+    names :: (Core.Maybe [Core.Text])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'TableFieldSchema_PolicyTags' with the minimum fields required to make a request.+newTableFieldSchema_PolicyTags ::+  TableFieldSchema_PolicyTags+newTableFieldSchema_PolicyTags =+  TableFieldSchema_PolicyTags {names = Core.Nothing}++instance Core.FromJSON TableFieldSchema_PolicyTags where+  parseJSON =+    Core.withObject+      "TableFieldSchema_PolicyTags"+      (\o -> TableFieldSchema_PolicyTags Core.<$> (o Core..:? "names"))++instance Core.ToJSON TableFieldSchema_PolicyTags where+  toJSON TableFieldSchema_PolicyTags {..} =+    Core.object (Core.catMaybes [("names" Core..=) Core.<$> names])++-- | Represents the type of a field element.+--+-- /See:/ 'newTableFieldSchema_RangeElementType' smart constructor.+newtype TableFieldSchema_RangeElementType = TableFieldSchema_RangeElementType+  { -- | Required. The type of a field element. For more information, see TableFieldSchema.type.+    type' :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'TableFieldSchema_RangeElementType' with the minimum fields required to make a request.+newTableFieldSchema_RangeElementType ::+  TableFieldSchema_RangeElementType+newTableFieldSchema_RangeElementType =+  TableFieldSchema_RangeElementType {type' = Core.Nothing}++instance Core.FromJSON TableFieldSchema_RangeElementType where+  parseJSON =+    Core.withObject+      "TableFieldSchema_RangeElementType"+      ( \o ->+          TableFieldSchema_RangeElementType Core.<$> (o Core..:? "type")+      )++instance Core.ToJSON TableFieldSchema_RangeElementType where+  toJSON TableFieldSchema_RangeElementType {..} =+    Core.object (Core.catMaybes [("type" Core..=) Core.<$> type'])++-- | Partial projection of the metadata for a given table in a list response.+--+-- /See:/ 'newTableList' smart constructor.+data TableList = TableList+  { -- | A hash of this page of results.+    etag :: (Core.Maybe Core.Text),+    -- | The type of list.+    kind :: Core.Text,+    -- | A token to request the next page of results.+    nextPageToken :: (Core.Maybe Core.Text),+    -- | Tables in the requested dataset.+    tables :: (Core.Maybe [TableList_TablesItem]),+    -- | The total number of tables in the dataset.+    totalItems :: (Core.Maybe Core.Int32)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'TableList' with the minimum fields required to make a request.+newTableList ::+  TableList+newTableList =+  TableList+    { etag = Core.Nothing,+      kind = "bigquery#tableList",+      nextPageToken = Core.Nothing,+      tables = Core.Nothing,+      totalItems = Core.Nothing+    }++instance Core.FromJSON TableList where+  parseJSON =+    Core.withObject+      "TableList"+      ( \o ->+          TableList+            Core.<$> (o Core..:? "etag")+            Core.<*> (o Core..:? "kind" Core..!= "bigquery#tableList")+            Core.<*> (o Core..:? "nextPageToken")+            Core.<*> (o Core..:? "tables")+            Core.<*> (o Core..:? "totalItems")+      )++instance Core.ToJSON TableList where+  toJSON TableList {..} =+    Core.object+      ( Core.catMaybes+          [ ("etag" Core..=) Core.<$> etag,+            Core.Just ("kind" Core..= kind),+            ("nextPageToken" Core..=) Core.<$> nextPageToken,+            ("tables" Core..=) Core.<$> tables,+            ("totalItems" Core..=) Core.<$> totalItems+          ]+      )++--+-- /See:/ 'newTableList_TablesItem' smart constructor.+data TableList_TablesItem = TableList_TablesItem+  { -- | Clustering specification for this table, if configured.+    clustering :: (Core.Maybe Clustering),+    -- | Output only. The time when this table was created, in milliseconds since the epoch.+    creationTime :: (Core.Maybe Core.Int64),+    -- | The time when this table expires, in milliseconds since the epoch. If not present, the table will persist indefinitely. Expired tables will be deleted and their storage reclaimed.+    expirationTime :: (Core.Maybe Core.Int64),+    -- | The user-friendly name for this table.+    friendlyName :: (Core.Maybe Core.Text),+    -- | An opaque ID of the table.+    id :: (Core.Maybe Core.Text),+    -- | The resource type.+    kind :: (Core.Maybe Core.Text),+    -- | The labels associated with this table. You can use these to organize and group your tables.+    labels :: (Core.Maybe TableList_TablesItem_Labels),+    -- | The range partitioning for this table.+    rangePartitioning :: (Core.Maybe RangePartitioning),+    -- | Optional. If set to true, queries including this table must specify a partition filter. This filter is used for partition elimination.+    requirePartitionFilter :: Core.Bool,+    -- | A reference uniquely identifying table.+    tableReference :: (Core.Maybe TableReference),+    -- | The time-based partitioning for this table.+    timePartitioning :: (Core.Maybe TimePartitioning),+    -- | The type of table.+    type' :: (Core.Maybe Core.Text),+    -- | Information about a logical view.+    view :: (Core.Maybe TableList_TablesItem_View)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'TableList_TablesItem' with the minimum fields required to make a request.+newTableList_TablesItem ::+  TableList_TablesItem+newTableList_TablesItem =+  TableList_TablesItem+    { clustering = Core.Nothing,+      creationTime = Core.Nothing,+      expirationTime = Core.Nothing,+      friendlyName = Core.Nothing,+      id = Core.Nothing,+      kind = Core.Nothing,+      labels = Core.Nothing,+      rangePartitioning = Core.Nothing,+      requirePartitionFilter = Core.False,+      tableReference = Core.Nothing,+      timePartitioning = Core.Nothing,+      type' = Core.Nothing,+      view = Core.Nothing+    }++instance Core.FromJSON TableList_TablesItem where+  parseJSON =+    Core.withObject+      "TableList_TablesItem"+      ( \o ->+          TableList_TablesItem+            Core.<$> (o Core..:? "clustering")+            Core.<*> (o Core..:? "creationTime" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "expirationTime" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "friendlyName")+            Core.<*> (o Core..:? "id")+            Core.<*> (o Core..:? "kind")+            Core.<*> (o Core..:? "labels")+            Core.<*> (o Core..:? "rangePartitioning")+            Core.<*> (o Core..:? "requirePartitionFilter" Core..!= Core.False)+            Core.<*> (o Core..:? "tableReference")+            Core.<*> (o Core..:? "timePartitioning")+            Core.<*> (o Core..:? "type")+            Core.<*> (o Core..:? "view")+      )++instance Core.ToJSON TableList_TablesItem where+  toJSON TableList_TablesItem {..} =+    Core.object+      ( Core.catMaybes+          [ ("clustering" Core..=) Core.<$> clustering,+            ("creationTime" Core..=) Core.. Core.AsText Core.<$> creationTime,+            ("expirationTime" Core..=)+              Core.. Core.AsText+              Core.<$> expirationTime,+            ("friendlyName" Core..=) Core.<$> friendlyName,+            ("id" Core..=) Core.<$> id,+            ("kind" Core..=) Core.<$> kind,+            ("labels" Core..=) Core.<$> labels,+            ("rangePartitioning" Core..=) Core.<$> rangePartitioning,+            Core.Just+              ("requirePartitionFilter" Core..= requirePartitionFilter),+            ("tableReference" Core..=) Core.<$> tableReference,+            ("timePartitioning" Core..=) Core.<$> timePartitioning,+            ("type" Core..=) Core.<$> type',+            ("view" Core..=) Core.<$> view+          ]+      )++-- | The labels associated with this table. You can use these to organize and group your tables.+--+-- /See:/ 'newTableList_TablesItem_Labels' smart constructor.+newtype TableList_TablesItem_Labels = TableList_TablesItem_Labels+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'TableList_TablesItem_Labels' with the minimum fields required to make a request.+newTableList_TablesItem_Labels ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  TableList_TablesItem_Labels+newTableList_TablesItem_Labels additional =+  TableList_TablesItem_Labels {additional = additional}++instance Core.FromJSON TableList_TablesItem_Labels where+  parseJSON =+    Core.withObject+      "TableList_TablesItem_Labels"+      ( \o ->+          TableList_TablesItem_Labels Core.<$> (Core.parseJSONObject o)+      )++instance Core.ToJSON TableList_TablesItem_Labels where+  toJSON TableList_TablesItem_Labels {..} = Core.toJSON additional++-- | Information about a logical view.+--+-- /See:/ 'newTableList_TablesItem_View' smart constructor.+data TableList_TablesItem_View = TableList_TablesItem_View+  { -- | Specifies the privacy policy for the view.+    privacyPolicy :: (Core.Maybe PrivacyPolicy),+    -- | True if view is defined in legacy SQL dialect, false if in GoogleSQL.+    useLegacySql :: (Core.Maybe Core.Bool)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'TableList_TablesItem_View' with the minimum fields required to make a request.+newTableList_TablesItem_View ::+  TableList_TablesItem_View+newTableList_TablesItem_View =+  TableList_TablesItem_View+    { privacyPolicy = Core.Nothing,+      useLegacySql = Core.Nothing+    }++instance Core.FromJSON TableList_TablesItem_View where+  parseJSON =+    Core.withObject+      "TableList_TablesItem_View"+      ( \o ->+          TableList_TablesItem_View+            Core.<$> (o Core..:? "privacyPolicy")+            Core.<*> (o Core..:? "useLegacySql")+      )++instance Core.ToJSON TableList_TablesItem_View where+  toJSON TableList_TablesItem_View {..} =+    Core.object+      ( Core.catMaybes+          [ ("privacyPolicy" Core..=) Core.<$> privacyPolicy,+            ("useLegacySql" Core..=) Core.<$> useLegacySql+          ]+      )++-- | Table level detail on the usage of metadata caching. Only set for Metadata caching eligible tables referenced in the query.+--+-- /See:/ 'newTableMetadataCacheUsage' smart constructor.+data TableMetadataCacheUsage = TableMetadataCacheUsage+  { -- | Free form human-readable reason metadata caching was unused for the job.+    explanation :: (Core.Maybe Core.Text),+    -- | Duration since last refresh as of this job for managed tables (indicates metadata cache staleness as seen by this job).+    staleness :: (Core.Maybe Core.Duration),+    -- | Metadata caching eligible table referenced in the query.+    tableReference :: (Core.Maybe TableReference),+    -- | <https://cloud.google.com/bigquery/docs/reference/rest/v2/tables#Table.FIELDS.type Table type>.+    tableType :: (Core.Maybe Core.Text),+    -- | Reason for not using metadata caching for the table.+    unusedReason :: (Core.Maybe TableMetadataCacheUsage_UnusedReason)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'TableMetadataCacheUsage' with the minimum fields required to make a request.+newTableMetadataCacheUsage ::+  TableMetadataCacheUsage+newTableMetadataCacheUsage =+  TableMetadataCacheUsage+    { explanation = Core.Nothing,+      staleness = Core.Nothing,+      tableReference = Core.Nothing,+      tableType = Core.Nothing,+      unusedReason = Core.Nothing+    }++instance Core.FromJSON TableMetadataCacheUsage where+  parseJSON =+    Core.withObject+      "TableMetadataCacheUsage"+      ( \o ->+          TableMetadataCacheUsage+            Core.<$> (o Core..:? "explanation")+            Core.<*> (o Core..:? "staleness")+            Core.<*> (o Core..:? "tableReference")+            Core.<*> (o Core..:? "tableType")+            Core.<*> (o Core..:? "unusedReason")+      )++instance Core.ToJSON TableMetadataCacheUsage where+  toJSON TableMetadataCacheUsage {..} =+    Core.object+      ( Core.catMaybes+          [ ("explanation" Core..=) Core.<$> explanation,+            ("staleness" Core..=) Core.<$> staleness,+            ("tableReference" Core..=) Core.<$> tableReference,+            ("tableType" Core..=) Core.<$> tableType,+            ("unusedReason" Core..=) Core.<$> unusedReason+          ]+      )++--+-- /See:/ 'newTableReference' smart constructor.+data TableReference = TableReference+  { -- | Required. The ID of the dataset containing this table.+    datasetId :: (Core.Maybe Core.Text),+    -- | Required. The ID of the project containing this table.+    projectId :: (Core.Maybe Core.Text),+    -- | Required. The ID of the table. The ID can contain Unicode characters in category L (letter), M (mark), N (number), Pc (connector, including underscore), Pd (dash), and Zs (space). For more information, see <https://wikipedia.org/wiki/Unicode_character_property#General_Category General Category>. The maximum length is 1,024 characters. Certain operations allow suffixing of the table ID with a partition decorator, such as @sample_table$20190123@.+    tableId :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'TableReference' with the minimum fields required to make a request.+newTableReference ::+  TableReference+newTableReference =+  TableReference+    { datasetId = Core.Nothing,+      projectId = Core.Nothing,+      tableId = Core.Nothing+    }++instance Core.FromJSON TableReference where+  parseJSON =+    Core.withObject+      "TableReference"+      ( \o ->+          TableReference+            Core.<$> (o Core..:? "datasetId")+            Core.<*> (o Core..:? "projectId")+            Core.<*> (o Core..:? "tableId")+      )++instance Core.ToJSON TableReference where+  toJSON TableReference {..} =+    Core.object+      ( Core.catMaybes+          [ ("datasetId" Core..=) Core.<$> datasetId,+            ("projectId" Core..=) Core.<$> projectId,+            ("tableId" Core..=) Core.<$> tableId+          ]+      )++-- | Replication info of a table created using @AS REPLICA@ DDL like: @CREATE MATERIALIZED VIEW mv1 AS REPLICA OF src_mv@+--+-- /See:/ 'newTableReplicationInfo' smart constructor.+data TableReplicationInfo = TableReplicationInfo+  { -- | Optional. Output only. If source is a materialized view, this field signifies the last refresh time of the source.+    replicatedSourceLastRefreshTime :: (Core.Maybe Core.Int64),+    -- | Optional. Output only. Replication error that will permanently stopped table replication.+    replicationError :: (Core.Maybe ErrorProto),+    -- | Optional. Specifies the interval at which the source table is polled for updates. It\'s Optional. If not specified, default replication interval would be applied.+    replicationIntervalMs :: (Core.Maybe Core.Int64),+    -- | Optional. Output only. Replication status of configured replication.+    replicationStatus :: (Core.Maybe TableReplicationInfo_ReplicationStatus),+    -- | Required. Source table reference that is replicated.+    sourceTable :: (Core.Maybe TableReference)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'TableReplicationInfo' with the minimum fields required to make a request.+newTableReplicationInfo ::+  TableReplicationInfo+newTableReplicationInfo =+  TableReplicationInfo+    { replicatedSourceLastRefreshTime =+        Core.Nothing,+      replicationError = Core.Nothing,+      replicationIntervalMs = Core.Nothing,+      replicationStatus = Core.Nothing,+      sourceTable = Core.Nothing+    }++instance Core.FromJSON TableReplicationInfo where+  parseJSON =+    Core.withObject+      "TableReplicationInfo"+      ( \o ->+          TableReplicationInfo+            Core.<$> ( o+                         Core..:? "replicatedSourceLastRefreshTime"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> (o Core..:? "replicationError")+            Core.<*> ( o+                         Core..:? "replicationIntervalMs"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> (o Core..:? "replicationStatus")+            Core.<*> (o Core..:? "sourceTable")+      )++instance Core.ToJSON TableReplicationInfo where+  toJSON TableReplicationInfo {..} =+    Core.object+      ( Core.catMaybes+          [ ("replicatedSourceLastRefreshTime" Core..=)+              Core.. Core.AsText+              Core.<$> replicatedSourceLastRefreshTime,+            ("replicationError" Core..=) Core.<$> replicationError,+            ("replicationIntervalMs" Core..=)+              Core.. Core.AsText+              Core.<$> replicationIntervalMs,+            ("replicationStatus" Core..=) Core.<$> replicationStatus,+            ("sourceTable" Core..=) Core.<$> sourceTable+          ]+      )++--+-- /See:/ 'newTableRow' smart constructor.+newtype TableRow = TableRow+  { -- | Represents a single row in the result set, consisting of one or more fields.+    f :: (Core.Maybe [TableCell])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'TableRow' with the minimum fields required to make a request.+newTableRow ::+  TableRow+newTableRow = TableRow {f = Core.Nothing}++instance Core.FromJSON TableRow where+  parseJSON =+    Core.withObject+      "TableRow"+      (\o -> TableRow Core.<$> (o Core..:? "f"))++instance Core.ToJSON TableRow where+  toJSON TableRow {..} =+    Core.object (Core.catMaybes [("f" Core..=) Core.<$> f])++-- | Schema of a table+--+-- /See:/ 'newTableSchema' smart constructor.+data TableSchema = TableSchema+  { -- | Describes the fields in a table.+    fields :: (Core.Maybe [TableFieldSchema]),+    -- | Optional. Specifies metadata of the foreign data type definition in field schema (TableFieldSchema.foreign/type/definition).+    foreignTypeInfo :: (Core.Maybe ForeignTypeInfo)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'TableSchema' with the minimum fields required to make a request.+newTableSchema ::+  TableSchema+newTableSchema =+  TableSchema+    { fields = Core.Nothing,+      foreignTypeInfo = Core.Nothing+    }++instance Core.FromJSON TableSchema where+  parseJSON =+    Core.withObject+      "TableSchema"+      ( \o ->+          TableSchema+            Core.<$> (o Core..:? "fields")+            Core.<*> (o Core..:? "foreignTypeInfo")+      )++instance Core.ToJSON TableSchema where+  toJSON TableSchema {..} =+    Core.object+      ( Core.catMaybes+          [ ("fields" Core..=) Core.<$> fields,+            ("foreignTypeInfo" Core..=) Core.<$> foreignTypeInfo+          ]+      )++-- | Request message for @TestIamPermissions@ method.+--+-- /See:/ 'newTestIamPermissionsRequest' smart constructor.+newtype TestIamPermissionsRequest = TestIamPermissionsRequest+  { -- | The set of permissions to check for the @resource@. Permissions with wildcards (such as @*@ or @storage.*@) are not allowed. For more information see <https://cloud.google.com/iam/docs/overview#permissions IAM Overview>.+    permissions :: (Core.Maybe [Core.Text])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'TestIamPermissionsRequest' with the minimum fields required to make a request.+newTestIamPermissionsRequest ::+  TestIamPermissionsRequest+newTestIamPermissionsRequest =+  TestIamPermissionsRequest {permissions = Core.Nothing}++instance Core.FromJSON TestIamPermissionsRequest where+  parseJSON =+    Core.withObject+      "TestIamPermissionsRequest"+      ( \o ->+          TestIamPermissionsRequest Core.<$> (o Core..:? "permissions")+      )++instance Core.ToJSON TestIamPermissionsRequest where+  toJSON TestIamPermissionsRequest {..} =+    Core.object+      (Core.catMaybes [("permissions" Core..=) Core.<$> permissions])++-- | Response message for @TestIamPermissions@ method.+--+-- /See:/ 'newTestIamPermissionsResponse' smart constructor.+newtype TestIamPermissionsResponse = TestIamPermissionsResponse+  { -- | A subset of @TestPermissionsRequest.permissions@ that the caller is allowed.+    permissions :: (Core.Maybe [Core.Text])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'TestIamPermissionsResponse' with the minimum fields required to make a request.+newTestIamPermissionsResponse ::+  TestIamPermissionsResponse+newTestIamPermissionsResponse =+  TestIamPermissionsResponse {permissions = Core.Nothing}++instance Core.FromJSON TestIamPermissionsResponse where+  parseJSON =+    Core.withObject+      "TestIamPermissionsResponse"+      ( \o ->+          TestIamPermissionsResponse Core.<$> (o Core..:? "permissions")+      )++instance Core.ToJSON TestIamPermissionsResponse where+  toJSON TestIamPermissionsResponse {..} =+    Core.object+      (Core.catMaybes [("permissions" Core..=) Core.<$> permissions])++--+-- /See:/ 'newTimePartitioning' smart constructor.+data TimePartitioning = TimePartitioning+  { -- | Optional. Number of milliseconds for which to keep the storage for a partition. A wrapper is used here because 0 is an invalid value.+    expirationMs :: (Core.Maybe Core.Int64),+    -- | Optional. If not set, the table is partitioned by pseudo column \'_PARTITIONTIME\'; if set, the table is partitioned by this field. The field must be a top-level TIMESTAMP or DATE field. Its mode must be NULLABLE or REQUIRED. A wrapper is used here because an empty string is an invalid value.+    field :: (Core.Maybe Core.Text),+    -- | If set to true, queries over this table require a partition filter that can be used for partition elimination to be specified. This field is deprecated; please set the field with the same name on the table itself instead. This field needs a wrapper because we want to output the default value, false, if the user explicitly set it.+    requirePartitionFilter :: Core.Bool,+    -- | Required. The supported types are DAY, HOUR, MONTH, and YEAR, which will generate one partition per day, hour, month, and year, respectively.+    type' :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'TimePartitioning' with the minimum fields required to make a request.+newTimePartitioning ::+  TimePartitioning+newTimePartitioning =+  TimePartitioning+    { expirationMs = Core.Nothing,+      field = Core.Nothing,+      requirePartitionFilter = Core.False,+      type' = Core.Nothing+    }++instance Core.FromJSON TimePartitioning where+  parseJSON =+    Core.withObject+      "TimePartitioning"+      ( \o ->+          TimePartitioning+            Core.<$> (o Core..:? "expirationMs" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "field")+            Core.<*> (o Core..:? "requirePartitionFilter" Core..!= Core.False)+            Core.<*> (o Core..:? "type")+      )++instance Core.ToJSON TimePartitioning where+  toJSON TimePartitioning {..} =+    Core.object+      ( Core.catMaybes+          [ ("expirationMs" Core..=) Core.. Core.AsText Core.<$> expirationMs,+            ("field" Core..=) Core.<$> field,+            Core.Just+              ("requirePartitionFilter" Core..= requirePartitionFilter),+            ("type" Core..=) Core.<$> type'+          ]+      )++-- | Options used in model training.+--+-- /See:/ 'newTrainingOptions' smart constructor.+data TrainingOptions = TrainingOptions+  { -- | Activation function of the neural nets.+    activationFn :: (Core.Maybe Core.Text),+    -- | If true, detect step changes and make data adjustment in the input time series.+    adjustStepChanges :: (Core.Maybe Core.Bool),+    -- | Whether to use approximate feature contribution method in XGBoost model explanation for global explain.+    approxGlobalFeatureContrib :: (Core.Maybe Core.Bool),+    -- | Whether to enable auto ARIMA or not.+    autoArima :: (Core.Maybe Core.Bool),+    -- | The max value of the sum of non-seasonal p and q.+    autoArimaMaxOrder :: (Core.Maybe Core.Int64),+    -- | The min value of the sum of non-seasonal p and q.+    autoArimaMinOrder :: (Core.Maybe Core.Int64),+    -- | Whether to calculate class weights automatically based on the popularity of each label.+    autoClassWeights :: (Core.Maybe Core.Bool),+    -- | Batch size for dnn models.+    batchSize :: (Core.Maybe Core.Int64),+    -- | Booster type for boosted tree models.+    boosterType :: (Core.Maybe TrainingOptions_BoosterType),+    -- | Budget in hours for AutoML training.+    budgetHours :: (Core.Maybe Core.Double),+    -- | Whether or not p-value test should be computed for this model. Only available for linear and logistic regression models.+    calculatePValues :: (Core.Maybe Core.Bool),+    -- | Categorical feature encoding method.+    categoryEncodingMethod :: (Core.Maybe TrainingOptions_CategoryEncodingMethod),+    -- | If true, clean spikes and dips in the input time series.+    cleanSpikesAndDips :: (Core.Maybe Core.Bool),+    -- | Enums for color space, used for processing images in Object Table. See more details at https:\/\/www.tensorflow.org\/io\/tutorials\/colorspace.+    colorSpace :: (Core.Maybe TrainingOptions_ColorSpace),+    -- | Subsample ratio of columns for each level for boosted tree models.+    colsampleBylevel :: (Core.Maybe Core.Double),+    -- | Subsample ratio of columns for each node(split) for boosted tree models.+    colsampleBynode :: (Core.Maybe Core.Double),+    -- | Subsample ratio of columns when constructing each tree for boosted tree models.+    colsampleBytree :: (Core.Maybe Core.Double),+    -- | The contribution metric. Applies to contribution analysis models. Allowed formats supported are for summable and summable ratio contribution metrics. These include expressions such as @SUM(x)@ or @SUM(x)\/SUM(y)@, where x and y are column names from the base table.+    contributionMetric :: (Core.Maybe Core.Text),+    -- | Type of normalization algorithm for boosted tree models using dart booster.+    dartNormalizeType :: (Core.Maybe TrainingOptions_DartNormalizeType),+    -- | The data frequency of a time series.+    dataFrequency :: (Core.Maybe TrainingOptions_DataFrequency),+    -- | The column to split data with. This column won\'t be used as a feature. 1. When data/split/method is CUSTOM, the corresponding column should be boolean. The rows with true value tag are eval data, and the false are training data. 2. When data/split/method is SEQ, the first DATA/SPLIT/EVAL/FRACTION rows (from smallest to largest) in the corresponding column are used as training data, and the rest are eval data. It respects the order in Orderable data types: https:\/\/cloud.google.com\/bigquery\/docs\/reference\/standard-sql\/data-types#data/type_properties+    dataSplitColumn :: (Core.Maybe Core.Text),+    -- | The fraction of evaluation data over the whole input data. The rest of data will be used as training data. The format should be double. Accurate to two decimal places. Default value is 0.2.+    dataSplitEvalFraction :: (Core.Maybe Core.Double),+    -- | The data split type for training and evaluation, e.g. RANDOM.+    dataSplitMethod :: (Core.Maybe TrainingOptions_DataSplitMethod),+    -- | If true, perform decompose time series and save the results.+    decomposeTimeSeries :: (Core.Maybe Core.Bool),+    -- | Optional. Names of the columns to slice on. Applies to contribution analysis models.+    dimensionIdColumns :: (Core.Maybe [Core.Text]),+    -- | Distance type for clustering models.+    distanceType :: (Core.Maybe TrainingOptions_DistanceType),+    -- | Dropout probability for dnn models.+    dropout :: (Core.Maybe Core.Double),+    -- | Whether to stop early when the loss doesn\'t improve significantly any more (compared to min/relative/progress). Used only for iterative training algorithms.+    earlyStop :: (Core.Maybe Core.Bool),+    -- | If true, enable global explanation during training.+    enableGlobalExplain :: (Core.Maybe Core.Bool),+    -- | Feedback type that specifies which algorithm to run for matrix factorization.+    feedbackType :: (Core.Maybe TrainingOptions_FeedbackType),+    -- | Whether the model should include intercept during model training.+    fitIntercept :: (Core.Maybe Core.Bool),+    -- | The forecast limit lower bound that was used during ARIMA model training with limits. To see more details of the algorithm: https:\/\/otexts.com\/fpp2\/limits.html+    forecastLimitLowerBound :: (Core.Maybe Core.Double),+    -- | The forecast limit upper bound that was used during ARIMA model training with limits.+    forecastLimitUpperBound :: (Core.Maybe Core.Double),+    -- | Hidden units for dnn models.+    hiddenUnits :: (Core.Maybe [Core.Int64]),+    -- | The geographical region based on which the holidays are considered in time series modeling. If a valid value is specified, then holiday effects modeling is enabled.+    holidayRegion :: (Core.Maybe TrainingOptions_HolidayRegion),+    -- | A list of geographical regions that are used for time series modeling.+    holidayRegions :: (Core.Maybe [TrainingOptions_HolidayRegionsItem]),+    -- | The number of periods ahead that need to be forecasted.+    horizon :: (Core.Maybe Core.Int64),+    -- | The target evaluation metrics to optimize the hyperparameters for.+    hparamTuningObjectives :: (Core.Maybe [TrainingOptions_HparamTuningObjectivesItem]),+    -- | Include drift when fitting an ARIMA model.+    includeDrift :: (Core.Maybe Core.Bool),+    -- | Specifies the initial learning rate for the line search learn rate strategy.+    initialLearnRate :: (Core.Maybe Core.Double),+    -- | Name of input label columns in training data.+    inputLabelColumns :: (Core.Maybe [Core.Text]),+    -- | Name of the instance weight column for training data. This column isn\'t be used as a feature.+    instanceWeightColumn :: (Core.Maybe Core.Text),+    -- | Number of integral steps for the integrated gradients explain method.+    integratedGradientsNumSteps :: (Core.Maybe Core.Int64),+    -- | Name of the column used to determine the rows corresponding to control and test. Applies to contribution analysis models.+    isTestColumn :: (Core.Maybe Core.Text),+    -- | Item column specified for matrix factorization models.+    itemColumn :: (Core.Maybe Core.Text),+    -- | The column used to provide the initial centroids for kmeans algorithm when kmeans/initialization/method is CUSTOM.+    kmeansInitializationColumn :: (Core.Maybe Core.Text),+    -- | The method used to initialize the centroids for kmeans algorithm.+    kmeansInitializationMethod :: (Core.Maybe TrainingOptions_KmeansInitializationMethod),+    -- | L1 regularization coefficient to activations.+    l1RegActivation :: (Core.Maybe Core.Double),+    -- | L1 regularization coefficient.+    l1Regularization :: (Core.Maybe Core.Double),+    -- | L2 regularization coefficient.+    l2Regularization :: (Core.Maybe Core.Double),+    -- | Weights associated with each label class, for rebalancing the training data. Only applicable for classification models.+    labelClassWeights :: (Core.Maybe TrainingOptions_LabelClassWeights),+    -- | Learning rate in training. Used only for iterative training algorithms.+    learnRate :: (Core.Maybe Core.Double),+    -- | The strategy to determine learn rate for the current iteration.+    learnRateStrategy :: (Core.Maybe TrainingOptions_LearnRateStrategy),+    -- | Type of loss function used during training run.+    lossType :: (Core.Maybe TrainingOptions_LossType),+    -- | The maximum number of iterations in training. Used only for iterative training algorithms.+    maxIterations :: (Core.Maybe Core.Int64),+    -- | Maximum number of trials to run in parallel.+    maxParallelTrials :: (Core.Maybe Core.Int64),+    -- | The maximum number of time points in a time series that can be used in modeling the trend component of the time series. Don\'t use this option with the @timeSeriesLengthFraction@ or @minTimeSeriesLength@ options.+    maxTimeSeriesLength :: (Core.Maybe Core.Int64),+    -- | Maximum depth of a tree for boosted tree models.+    maxTreeDepth :: (Core.Maybe Core.Int64),+    -- | The apriori support minimum. Applies to contribution analysis models.+    minAprioriSupport :: (Core.Maybe Core.Double),+    -- | When early/stop is true, stops training when accuracy improvement is less than \'min/relative_progress\'. Used only for iterative training algorithms.+    minRelativeProgress :: (Core.Maybe Core.Double),+    -- | Minimum split loss for boosted tree models.+    minSplitLoss :: (Core.Maybe Core.Double),+    -- | The minimum number of time points in a time series that are used in modeling the trend component of the time series. If you use this option you must also set the @timeSeriesLengthFraction@ option. This training option ensures that enough time points are available when you use @timeSeriesLengthFraction@ in trend modeling. This is particularly important when forecasting multiple time series in a single query using @timeSeriesIdColumn@. If the total number of time points is less than the @minTimeSeriesLength@ value, then the query uses all available time points.+    minTimeSeriesLength :: (Core.Maybe Core.Int64),+    -- | Minimum sum of instance weight needed in a child for boosted tree models.+    minTreeChildWeight :: (Core.Maybe Core.Int64),+    -- | The model registry.+    modelRegistry :: (Core.Maybe TrainingOptions_ModelRegistry),+    -- | Google Cloud Storage URI from which the model was imported. Only applicable for imported models.+    modelUri :: (Core.Maybe Core.Text),+    -- | A specification of the non-seasonal part of the ARIMA model: the three components (p, d, q) are the AR order, the degree of differencing, and the MA order.+    nonSeasonalOrder :: (Core.Maybe ArimaOrder),+    -- | Number of clusters for clustering models.+    numClusters :: (Core.Maybe Core.Int64),+    -- | Num factors specified for matrix factorization models.+    numFactors :: (Core.Maybe Core.Int64),+    -- | Number of parallel trees constructed during each iteration for boosted tree models.+    numParallelTree :: (Core.Maybe Core.Int64),+    -- | Number of principal components to keep in the PCA model. Must be \<= the number of features.+    numPrincipalComponents :: (Core.Maybe Core.Int64),+    -- | Number of trials to run this hyperparameter tuning job.+    numTrials :: (Core.Maybe Core.Int64),+    -- | Optimization strategy for training linear regression models.+    optimizationStrategy :: (Core.Maybe TrainingOptions_OptimizationStrategy),+    -- | Optimizer used for training the neural nets.+    optimizer :: (Core.Maybe Core.Text),+    -- | The minimum ratio of cumulative explained variance that needs to be given by the PCA model.+    pcaExplainedVarianceRatio :: (Core.Maybe Core.Double),+    -- | The solver for PCA.+    pcaSolver :: (Core.Maybe TrainingOptions_PcaSolver),+    -- | Number of paths for the sampled Shapley explain method.+    sampledShapleyNumPaths :: (Core.Maybe Core.Int64),+    -- | If true, scale the feature values by dividing the feature standard deviation. Currently only apply to PCA.+    scaleFeatures :: (Core.Maybe Core.Bool),+    -- | Whether to standardize numerical features. Default to true.+    standardizeFeatures :: (Core.Maybe Core.Bool),+    -- | Subsample fraction of the training data to grow tree to prevent overfitting for boosted tree models.+    subsample :: (Core.Maybe Core.Double),+    -- | Based on the selected TF version, the corresponding docker image is used to train external models.+    tfVersion :: (Core.Maybe Core.Text),+    -- | Column to be designated as time series data for ARIMA model.+    timeSeriesDataColumn :: (Core.Maybe Core.Text),+    -- | The time series id column that was used during ARIMA model training.+    timeSeriesIdColumn :: (Core.Maybe Core.Text),+    -- | The time series id columns that were used during ARIMA model training.+    timeSeriesIdColumns :: (Core.Maybe [Core.Text]),+    -- | The fraction of the interpolated length of the time series that\'s used to model the time series trend component. All of the time points of the time series are used to model the non-trend component. This training option accelerates modeling training without sacrificing much forecasting accuracy. You can use this option with @minTimeSeriesLength@ but not with @maxTimeSeriesLength@.+    timeSeriesLengthFraction :: (Core.Maybe Core.Double),+    -- | Column to be designated as time series timestamp for ARIMA model.+    timeSeriesTimestampColumn :: (Core.Maybe Core.Text),+    -- | Tree construction algorithm for boosted tree models.+    treeMethod :: (Core.Maybe TrainingOptions_TreeMethod),+    -- | Smoothing window size for the trend component. When a positive value is specified, a center moving average smoothing is applied on the history trend. When the smoothing window is out of the boundary at the beginning or the end of the trend, the first element or the last element is padded to fill the smoothing window before the average is applied.+    trendSmoothingWindowSize :: (Core.Maybe Core.Int64),+    -- | User column specified for matrix factorization models.+    userColumn :: (Core.Maybe Core.Text),+    -- | The version aliases to apply in Vertex AI model registry. Always overwrite if the version aliases exists in a existing model.+    vertexAiModelVersionAliases :: (Core.Maybe [Core.Text]),+    -- | Hyperparameter for matrix factoration when implicit feedback type is specified.+    walsAlpha :: (Core.Maybe Core.Double),+    -- | Whether to train a model from the last checkpoint.+    warmStart :: (Core.Maybe Core.Bool),+    -- | User-selected XGBoost versions for training of XGBoost models.+    xgboostVersion :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'TrainingOptions' with the minimum fields required to make a request.+newTrainingOptions ::+  TrainingOptions+newTrainingOptions =+  TrainingOptions+    { activationFn = Core.Nothing,+      adjustStepChanges = Core.Nothing,+      approxGlobalFeatureContrib = Core.Nothing,+      autoArima = Core.Nothing,+      autoArimaMaxOrder = Core.Nothing,+      autoArimaMinOrder = Core.Nothing,+      autoClassWeights = Core.Nothing,+      batchSize = Core.Nothing,+      boosterType = Core.Nothing,+      budgetHours = Core.Nothing,+      calculatePValues = Core.Nothing,+      categoryEncodingMethod = Core.Nothing,+      cleanSpikesAndDips = Core.Nothing,+      colorSpace = Core.Nothing,+      colsampleBylevel = Core.Nothing,+      colsampleBynode = Core.Nothing,+      colsampleBytree = Core.Nothing,+      contributionMetric = Core.Nothing,+      dartNormalizeType = Core.Nothing,+      dataFrequency = Core.Nothing,+      dataSplitColumn = Core.Nothing,+      dataSplitEvalFraction = Core.Nothing,+      dataSplitMethod = Core.Nothing,+      decomposeTimeSeries = Core.Nothing,+      dimensionIdColumns = Core.Nothing,+      distanceType = Core.Nothing,+      dropout = Core.Nothing,+      earlyStop = Core.Nothing,+      enableGlobalExplain = Core.Nothing,+      feedbackType = Core.Nothing,+      fitIntercept = Core.Nothing,+      forecastLimitLowerBound = Core.Nothing,+      forecastLimitUpperBound = Core.Nothing,+      hiddenUnits = Core.Nothing,+      holidayRegion = Core.Nothing,+      holidayRegions = Core.Nothing,+      horizon = Core.Nothing,+      hparamTuningObjectives = Core.Nothing,+      includeDrift = Core.Nothing,+      initialLearnRate = Core.Nothing,+      inputLabelColumns = Core.Nothing,+      instanceWeightColumn = Core.Nothing,+      integratedGradientsNumSteps = Core.Nothing,+      isTestColumn = Core.Nothing,+      itemColumn = Core.Nothing,+      kmeansInitializationColumn = Core.Nothing,+      kmeansInitializationMethod = Core.Nothing,+      l1RegActivation = Core.Nothing,+      l1Regularization = Core.Nothing,+      l2Regularization = Core.Nothing,+      labelClassWeights = Core.Nothing,+      learnRate = Core.Nothing,+      learnRateStrategy = Core.Nothing,+      lossType = Core.Nothing,+      maxIterations = Core.Nothing,+      maxParallelTrials = Core.Nothing,+      maxTimeSeriesLength = Core.Nothing,+      maxTreeDepth = Core.Nothing,+      minAprioriSupport = Core.Nothing,+      minRelativeProgress = Core.Nothing,+      minSplitLoss = Core.Nothing,+      minTimeSeriesLength = Core.Nothing,+      minTreeChildWeight = Core.Nothing,+      modelRegistry = Core.Nothing,+      modelUri = Core.Nothing,+      nonSeasonalOrder = Core.Nothing,+      numClusters = Core.Nothing,+      numFactors = Core.Nothing,+      numParallelTree = Core.Nothing,+      numPrincipalComponents = Core.Nothing,+      numTrials = Core.Nothing,+      optimizationStrategy = Core.Nothing,+      optimizer = Core.Nothing,+      pcaExplainedVarianceRatio = Core.Nothing,+      pcaSolver = Core.Nothing,+      sampledShapleyNumPaths = Core.Nothing,+      scaleFeatures = Core.Nothing,+      standardizeFeatures = Core.Nothing,+      subsample = Core.Nothing,+      tfVersion = Core.Nothing,+      timeSeriesDataColumn = Core.Nothing,+      timeSeriesIdColumn = Core.Nothing,+      timeSeriesIdColumns = Core.Nothing,+      timeSeriesLengthFraction = Core.Nothing,+      timeSeriesTimestampColumn = Core.Nothing,+      treeMethod = Core.Nothing,+      trendSmoothingWindowSize = Core.Nothing,+      userColumn = Core.Nothing,+      vertexAiModelVersionAliases = Core.Nothing,+      walsAlpha = Core.Nothing,+      warmStart = Core.Nothing,+      xgboostVersion = Core.Nothing+    }++instance Core.FromJSON TrainingOptions where+  parseJSON =+    Core.withObject+      "TrainingOptions"+      ( \o ->+          TrainingOptions+            Core.<$> (o Core..:? "activationFn")+            Core.<*> (o Core..:? "adjustStepChanges")+            Core.<*> (o Core..:? "approxGlobalFeatureContrib")+            Core.<*> (o Core..:? "autoArima")+            Core.<*> (o Core..:? "autoArimaMaxOrder" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "autoArimaMinOrder" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "autoClassWeights")+            Core.<*> (o Core..:? "batchSize" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "boosterType")+            Core.<*> (o Core..:? "budgetHours")+            Core.<*> (o Core..:? "calculatePValues")+            Core.<*> (o Core..:? "categoryEncodingMethod")+            Core.<*> (o Core..:? "cleanSpikesAndDips")+            Core.<*> (o Core..:? "colorSpace")+            Core.<*> (o Core..:? "colsampleBylevel")+            Core.<*> (o Core..:? "colsampleBynode")+            Core.<*> (o Core..:? "colsampleBytree")+            Core.<*> (o Core..:? "contributionMetric")+            Core.<*> (o Core..:? "dartNormalizeType")+            Core.<*> (o Core..:? "dataFrequency")+            Core.<*> (o Core..:? "dataSplitColumn")+            Core.<*> (o Core..:? "dataSplitEvalFraction")+            Core.<*> (o Core..:? "dataSplitMethod")+            Core.<*> (o Core..:? "decomposeTimeSeries")+            Core.<*> (o Core..:? "dimensionIdColumns")+            Core.<*> (o Core..:? "distanceType")+            Core.<*> (o Core..:? "dropout")+            Core.<*> (o Core..:? "earlyStop")+            Core.<*> (o Core..:? "enableGlobalExplain")+            Core.<*> (o Core..:? "feedbackType")+            Core.<*> (o Core..:? "fitIntercept")+            Core.<*> (o Core..:? "forecastLimitLowerBound")+            Core.<*> (o Core..:? "forecastLimitUpperBound")+            Core.<*> ( o+                         Core..:? "hiddenUnits"+                         Core.<&> Core.fmap (Core.fmap Core.fromAsText)+                     )+            Core.<*> (o Core..:? "holidayRegion")+            Core.<*> (o Core..:? "holidayRegions")+            Core.<*> (o Core..:? "horizon" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "hparamTuningObjectives")+            Core.<*> (o Core..:? "includeDrift")+            Core.<*> (o Core..:? "initialLearnRate")+            Core.<*> (o Core..:? "inputLabelColumns")+            Core.<*> (o Core..:? "instanceWeightColumn")+            Core.<*> ( o+                         Core..:? "integratedGradientsNumSteps"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> (o Core..:? "isTestColumn")+            Core.<*> (o Core..:? "itemColumn")+            Core.<*> (o Core..:? "kmeansInitializationColumn")+            Core.<*> (o Core..:? "kmeansInitializationMethod")+            Core.<*> (o Core..:? "l1RegActivation")+            Core.<*> (o Core..:? "l1Regularization")+            Core.<*> (o Core..:? "l2Regularization")+            Core.<*> (o Core..:? "labelClassWeights")+            Core.<*> (o Core..:? "learnRate")+            Core.<*> (o Core..:? "learnRateStrategy")+            Core.<*> (o Core..:? "lossType")+            Core.<*> (o Core..:? "maxIterations" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "maxParallelTrials" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> ( o+                         Core..:? "maxTimeSeriesLength"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> (o Core..:? "maxTreeDepth" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "minAprioriSupport")+            Core.<*> (o Core..:? "minRelativeProgress")+            Core.<*> (o Core..:? "minSplitLoss")+            Core.<*> ( o+                         Core..:? "minTimeSeriesLength"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> ( o+                         Core..:? "minTreeChildWeight"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> (o Core..:? "modelRegistry")+            Core.<*> (o Core..:? "modelUri")+            Core.<*> (o Core..:? "nonSeasonalOrder")+            Core.<*> (o Core..:? "numClusters" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "numFactors" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "numParallelTree" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> ( o+                         Core..:? "numPrincipalComponents"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> (o Core..:? "numTrials" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "optimizationStrategy")+            Core.<*> (o Core..:? "optimizer")+            Core.<*> (o Core..:? "pcaExplainedVarianceRatio")+            Core.<*> (o Core..:? "pcaSolver")+            Core.<*> ( o+                         Core..:? "sampledShapleyNumPaths"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> (o Core..:? "scaleFeatures")+            Core.<*> (o Core..:? "standardizeFeatures")+            Core.<*> (o Core..:? "subsample")+            Core.<*> (o Core..:? "tfVersion")+            Core.<*> (o Core..:? "timeSeriesDataColumn")+            Core.<*> (o Core..:? "timeSeriesIdColumn")+            Core.<*> (o Core..:? "timeSeriesIdColumns")+            Core.<*> (o Core..:? "timeSeriesLengthFraction")+            Core.<*> (o Core..:? "timeSeriesTimestampColumn")+            Core.<*> (o Core..:? "treeMethod")+            Core.<*> ( o+                         Core..:? "trendSmoothingWindowSize"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> (o Core..:? "userColumn")+            Core.<*> (o Core..:? "vertexAiModelVersionAliases")+            Core.<*> (o Core..:? "walsAlpha")+            Core.<*> (o Core..:? "warmStart")+            Core.<*> (o Core..:? "xgboostVersion")+      )++instance Core.ToJSON TrainingOptions where+  toJSON TrainingOptions {..} =+    Core.object+      ( Core.catMaybes+          [ ("activationFn" Core..=) Core.<$> activationFn,+            ("adjustStepChanges" Core..=) Core.<$> adjustStepChanges,+            ("approxGlobalFeatureContrib" Core..=)+              Core.<$> approxGlobalFeatureContrib,+            ("autoArima" Core..=) Core.<$> autoArima,+            ("autoArimaMaxOrder" Core..=)+              Core.. Core.AsText+              Core.<$> autoArimaMaxOrder,+            ("autoArimaMinOrder" Core..=)+              Core.. Core.AsText+              Core.<$> autoArimaMinOrder,+            ("autoClassWeights" Core..=) Core.<$> autoClassWeights,+            ("batchSize" Core..=) Core.. Core.AsText Core.<$> batchSize,+            ("boosterType" Core..=) Core.<$> boosterType,+            ("budgetHours" Core..=) Core.<$> budgetHours,+            ("calculatePValues" Core..=) Core.<$> calculatePValues,+            ("categoryEncodingMethod" Core..=) Core.<$> categoryEncodingMethod,+            ("cleanSpikesAndDips" Core..=) Core.<$> cleanSpikesAndDips,+            ("colorSpace" Core..=) Core.<$> colorSpace,+            ("colsampleBylevel" Core..=) Core.<$> colsampleBylevel,+            ("colsampleBynode" Core..=) Core.<$> colsampleBynode,+            ("colsampleBytree" Core..=) Core.<$> colsampleBytree,+            ("contributionMetric" Core..=) Core.<$> contributionMetric,+            ("dartNormalizeType" Core..=) Core.<$> dartNormalizeType,+            ("dataFrequency" Core..=) Core.<$> dataFrequency,+            ("dataSplitColumn" Core..=) Core.<$> dataSplitColumn,+            ("dataSplitEvalFraction" Core..=) Core.<$> dataSplitEvalFraction,+            ("dataSplitMethod" Core..=) Core.<$> dataSplitMethod,+            ("decomposeTimeSeries" Core..=) Core.<$> decomposeTimeSeries,+            ("dimensionIdColumns" Core..=) Core.<$> dimensionIdColumns,+            ("distanceType" Core..=) Core.<$> distanceType,+            ("dropout" Core..=) Core.<$> dropout,+            ("earlyStop" Core..=) Core.<$> earlyStop,+            ("enableGlobalExplain" Core..=) Core.<$> enableGlobalExplain,+            ("feedbackType" Core..=) Core.<$> feedbackType,+            ("fitIntercept" Core..=) Core.<$> fitIntercept,+            ("forecastLimitLowerBound" Core..=)+              Core.<$> forecastLimitLowerBound,+            ("forecastLimitUpperBound" Core..=)+              Core.<$> forecastLimitUpperBound,+            ("hiddenUnits" Core..=)+              Core.. Core.fmap Core.AsText+              Core.<$> hiddenUnits,+            ("holidayRegion" Core..=) Core.<$> holidayRegion,+            ("holidayRegions" Core..=) Core.<$> holidayRegions,+            ("horizon" Core..=) Core.. Core.AsText Core.<$> horizon,+            ("hparamTuningObjectives" Core..=) Core.<$> hparamTuningObjectives,+            ("includeDrift" Core..=) Core.<$> includeDrift,+            ("initialLearnRate" Core..=) Core.<$> initialLearnRate,+            ("inputLabelColumns" Core..=) Core.<$> inputLabelColumns,+            ("instanceWeightColumn" Core..=) Core.<$> instanceWeightColumn,+            ("integratedGradientsNumSteps" Core..=)+              Core.. Core.AsText+              Core.<$> integratedGradientsNumSteps,+            ("isTestColumn" Core..=) Core.<$> isTestColumn,+            ("itemColumn" Core..=) Core.<$> itemColumn,+            ("kmeansInitializationColumn" Core..=)+              Core.<$> kmeansInitializationColumn,+            ("kmeansInitializationMethod" Core..=)+              Core.<$> kmeansInitializationMethod,+            ("l1RegActivation" Core..=) Core.<$> l1RegActivation,+            ("l1Regularization" Core..=) Core.<$> l1Regularization,+            ("l2Regularization" Core..=) Core.<$> l2Regularization,+            ("labelClassWeights" Core..=) Core.<$> labelClassWeights,+            ("learnRate" Core..=) Core.<$> learnRate,+            ("learnRateStrategy" Core..=) Core.<$> learnRateStrategy,+            ("lossType" Core..=) Core.<$> lossType,+            ("maxIterations" Core..=)+              Core.. Core.AsText+              Core.<$> maxIterations,+            ("maxParallelTrials" Core..=)+              Core.. Core.AsText+              Core.<$> maxParallelTrials,+            ("maxTimeSeriesLength" Core..=)+              Core.. Core.AsText+              Core.<$> maxTimeSeriesLength,+            ("maxTreeDepth" Core..=) Core.. Core.AsText Core.<$> maxTreeDepth,+            ("minAprioriSupport" Core..=) Core.<$> minAprioriSupport,+            ("minRelativeProgress" Core..=) Core.<$> minRelativeProgress,+            ("minSplitLoss" Core..=) Core.<$> minSplitLoss,+            ("minTimeSeriesLength" Core..=)+              Core.. Core.AsText+              Core.<$> minTimeSeriesLength,+            ("minTreeChildWeight" Core..=)+              Core.. Core.AsText+              Core.<$> minTreeChildWeight,+            ("modelRegistry" Core..=) Core.<$> modelRegistry,+            ("modelUri" Core..=) Core.<$> modelUri,+            ("nonSeasonalOrder" Core..=) Core.<$> nonSeasonalOrder,+            ("numClusters" Core..=) Core.. Core.AsText Core.<$> numClusters,+            ("numFactors" Core..=) Core.. Core.AsText Core.<$> numFactors,+            ("numParallelTree" Core..=)+              Core.. Core.AsText+              Core.<$> numParallelTree,+            ("numPrincipalComponents" Core..=)+              Core.. Core.AsText+              Core.<$> numPrincipalComponents,+            ("numTrials" Core..=) Core.. Core.AsText Core.<$> numTrials,+            ("optimizationStrategy" Core..=) Core.<$> optimizationStrategy,+            ("optimizer" Core..=) Core.<$> optimizer,+            ("pcaExplainedVarianceRatio" Core..=)+              Core.<$> pcaExplainedVarianceRatio,+            ("pcaSolver" Core..=) Core.<$> pcaSolver,+            ("sampledShapleyNumPaths" Core..=)+              Core.. Core.AsText+              Core.<$> sampledShapleyNumPaths,+            ("scaleFeatures" Core..=) Core.<$> scaleFeatures,+            ("standardizeFeatures" Core..=) Core.<$> standardizeFeatures,+            ("subsample" Core..=) Core.<$> subsample,+            ("tfVersion" Core..=) Core.<$> tfVersion,+            ("timeSeriesDataColumn" Core..=) Core.<$> timeSeriesDataColumn,+            ("timeSeriesIdColumn" Core..=) Core.<$> timeSeriesIdColumn,+            ("timeSeriesIdColumns" Core..=) Core.<$> timeSeriesIdColumns,+            ("timeSeriesLengthFraction" Core..=)+              Core.<$> timeSeriesLengthFraction,+            ("timeSeriesTimestampColumn" Core..=)+              Core.<$> timeSeriesTimestampColumn,+            ("treeMethod" Core..=) Core.<$> treeMethod,+            ("trendSmoothingWindowSize" Core..=)+              Core.. Core.AsText+              Core.<$> trendSmoothingWindowSize,+            ("userColumn" Core..=) Core.<$> userColumn,+            ("vertexAiModelVersionAliases" Core..=)+              Core.<$> vertexAiModelVersionAliases,+            ("walsAlpha" Core..=) Core.<$> walsAlpha,+            ("warmStart" Core..=) Core.<$> warmStart,+            ("xgboostVersion" Core..=) Core.<$> xgboostVersion+          ]+      )++-- | Weights associated with each label class, for rebalancing the training data. Only applicable for classification models.+--+-- /See:/ 'newTrainingOptions_LabelClassWeights' smart constructor.+newtype TrainingOptions_LabelClassWeights = TrainingOptions_LabelClassWeights+  { additional :: (Core.HashMap Core.Text Core.Double)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'TrainingOptions_LabelClassWeights' with the minimum fields required to make a request.+newTrainingOptions_LabelClassWeights ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Double ->+  TrainingOptions_LabelClassWeights+newTrainingOptions_LabelClassWeights additional =+  TrainingOptions_LabelClassWeights {additional = additional}++instance Core.FromJSON TrainingOptions_LabelClassWeights where+  parseJSON =+    Core.withObject+      "TrainingOptions_LabelClassWeights"+      ( \o ->+          TrainingOptions_LabelClassWeights+            Core.<$> (Core.parseJSONObject o)+      )++instance Core.ToJSON TrainingOptions_LabelClassWeights where+  toJSON TrainingOptions_LabelClassWeights {..} =+    Core.toJSON additional++-- | Information about a single training query run for the model.+--+-- /See:/ 'newTrainingRun' smart constructor.+data TrainingRun = TrainingRun+  { -- | Output only. Global explanation contains the explanation of top features on the class level. Applies to classification models only.+    classLevelGlobalExplanations :: (Core.Maybe [GlobalExplanation]),+    -- | Output only. Data split result of the training run. Only set when the input data is actually split.+    dataSplitResult :: (Core.Maybe DataSplitResult),+    -- | Output only. The evaluation metrics over training\/eval data that were computed at the end of training.+    evaluationMetrics :: (Core.Maybe EvaluationMetrics),+    -- | Output only. Global explanation contains the explanation of top features on the model level. Applies to both regression and classification models.+    modelLevelGlobalExplanation :: (Core.Maybe GlobalExplanation),+    -- | Output only. Output of each iteration run, results.size() \<= max_iterations.+    results :: (Core.Maybe [IterationResult]),+    -- | Output only. The start time of this training run.+    startTime :: (Core.Maybe Core.DateTime),+    -- | Output only. Options that were used for this training run, includes user specified and default options that were used.+    trainingOptions :: (Core.Maybe TrainingOptions),+    -- | Output only. The start time of this training run, in milliseconds since epoch.+    trainingStartTime :: (Core.Maybe Core.Int64),+    -- | The model id in the <https://cloud.google.com/vertex-ai/docs/model-registry/introduction Vertex AI Model Registry> for this training run.+    vertexAiModelId :: (Core.Maybe Core.Text),+    -- | Output only. The model version in the <https://cloud.google.com/vertex-ai/docs/model-registry/introduction Vertex AI Model Registry> for this training run.+    vertexAiModelVersion :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'TrainingRun' with the minimum fields required to make a request.+newTrainingRun ::+  TrainingRun+newTrainingRun =+  TrainingRun+    { classLevelGlobalExplanations = Core.Nothing,+      dataSplitResult = Core.Nothing,+      evaluationMetrics = Core.Nothing,+      modelLevelGlobalExplanation = Core.Nothing,+      results = Core.Nothing,+      startTime = Core.Nothing,+      trainingOptions = Core.Nothing,+      trainingStartTime = Core.Nothing,+      vertexAiModelId = Core.Nothing,+      vertexAiModelVersion = Core.Nothing+    }++instance Core.FromJSON TrainingRun where+  parseJSON =+    Core.withObject+      "TrainingRun"+      ( \o ->+          TrainingRun+            Core.<$> (o Core..:? "classLevelGlobalExplanations")+            Core.<*> (o Core..:? "dataSplitResult")+            Core.<*> (o Core..:? "evaluationMetrics")+            Core.<*> (o Core..:? "modelLevelGlobalExplanation")+            Core.<*> (o Core..:? "results")+            Core.<*> (o Core..:? "startTime")+            Core.<*> (o Core..:? "trainingOptions")+            Core.<*> (o Core..:? "trainingStartTime" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "vertexAiModelId")+            Core.<*> (o Core..:? "vertexAiModelVersion")+      )++instance Core.ToJSON TrainingRun where+  toJSON TrainingRun {..} =+    Core.object+      ( Core.catMaybes+          [ ("classLevelGlobalExplanations" Core..=)+              Core.<$> classLevelGlobalExplanations,+            ("dataSplitResult" Core..=) Core.<$> dataSplitResult,+            ("evaluationMetrics" Core..=) Core.<$> evaluationMetrics,+            ("modelLevelGlobalExplanation" Core..=)+              Core.<$> modelLevelGlobalExplanation,+            ("results" Core..=) Core.<$> results,+            ("startTime" Core..=) Core.<$> startTime,+            ("trainingOptions" Core..=) Core.<$> trainingOptions,+            ("trainingStartTime" Core..=)+              Core.. Core.AsText+              Core.<$> trainingStartTime,+            ("vertexAiModelId" Core..=) Core.<$> vertexAiModelId,+            ("vertexAiModelVersion" Core..=) Core.<$> vertexAiModelVersion+          ]+      )++-- | [Alpha] Information of a multi-statement transaction.+--+-- /See:/ 'newTransactionInfo' smart constructor.+newtype TransactionInfo = TransactionInfo+  { -- | Output only. [Alpha] Id of the transaction.+    transactionId :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'TransactionInfo' with the minimum fields required to make a request.+newTransactionInfo ::+  TransactionInfo+newTransactionInfo = TransactionInfo {transactionId = Core.Nothing}++instance Core.FromJSON TransactionInfo where+  parseJSON =+    Core.withObject+      "TransactionInfo"+      (\o -> TransactionInfo Core.<$> (o Core..:? "transactionId"))++instance Core.ToJSON TransactionInfo where+  toJSON TransactionInfo {..} =+    Core.object+      (Core.catMaybes [("transactionId" Core..=) Core.<$> transactionId])++-- | Information about a single transform column.+--+-- /See:/ 'newTransformColumn' smart constructor.+data TransformColumn = TransformColumn+  { -- | Output only. Name of the column.+    name :: (Core.Maybe Core.Text),+    -- | Output only. The SQL expression used in the column transform.+    transformSql :: (Core.Maybe Core.Text),+    -- | Output only. Data type of the column after the transform.+    type' :: (Core.Maybe StandardSqlDataType)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'TransformColumn' with the minimum fields required to make a request.+newTransformColumn ::+  TransformColumn+newTransformColumn =+  TransformColumn+    { name = Core.Nothing,+      transformSql = Core.Nothing,+      type' = Core.Nothing+    }++instance Core.FromJSON TransformColumn where+  parseJSON =+    Core.withObject+      "TransformColumn"+      ( \o ->+          TransformColumn+            Core.<$> (o Core..:? "name")+            Core.<*> (o Core..:? "transformSql")+            Core.<*> (o Core..:? "type")+      )++instance Core.ToJSON TransformColumn where+  toJSON TransformColumn {..} =+    Core.object+      ( Core.catMaybes+          [ ("name" Core..=) Core.<$> name,+            ("transformSql" Core..=) Core.<$> transformSql,+            ("type" Core..=) Core.<$> type'+          ]+      )++-- | Request format for undeleting a dataset.+--+-- /See:/ 'newUndeleteDatasetRequest' smart constructor.+newtype UndeleteDatasetRequest = UndeleteDatasetRequest+  { -- | Optional. The exact time when the dataset was deleted. If not specified, the most recently deleted version is undeleted. Undeleting a dataset using deletion time is not supported.+    deletionTime :: (Core.Maybe Core.DateTime)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'UndeleteDatasetRequest' with the minimum fields required to make a request.+newUndeleteDatasetRequest ::+  UndeleteDatasetRequest+newUndeleteDatasetRequest =+  UndeleteDatasetRequest {deletionTime = Core.Nothing}++instance Core.FromJSON UndeleteDatasetRequest where+  parseJSON =+    Core.withObject+      "UndeleteDatasetRequest"+      ( \o ->+          UndeleteDatasetRequest Core.<$> (o Core..:? "deletionTime")+      )++instance Core.ToJSON UndeleteDatasetRequest where+  toJSON UndeleteDatasetRequest {..} =+    Core.object+      (Core.catMaybes [("deletionTime" Core..=) Core.<$> deletionTime])++-- | This is used for defining User Defined Function (UDF) resources only when using legacy SQL. Users of GoogleSQL should leverage either DDL (e.g. CREATE [TEMPORARY] FUNCTION ... ) or the Routines API to define UDF resources. For additional information on migrating, see: https:\/\/cloud.google.com\/bigquery\/docs\/reference\/standard-sql\/migrating-from-legacy-sql#differences/in/user-defined/javascript/functions+--+-- /See:/ 'newUserDefinedFunctionResource' smart constructor.+data UserDefinedFunctionResource = UserDefinedFunctionResource+  { -- | [Pick one] An inline resource that contains code for a user-defined function (UDF). Providing a inline code resource is equivalent to providing a URI for a file containing the same code.+    inlineCode :: (Core.Maybe Core.Text),+    -- | [Pick one] A code resource to load from a Google Cloud Storage URI (gs:\/\/bucket\/path).+    resourceUri :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'UserDefinedFunctionResource' with the minimum fields required to make a request.+newUserDefinedFunctionResource ::+  UserDefinedFunctionResource+newUserDefinedFunctionResource =+  UserDefinedFunctionResource+    { inlineCode = Core.Nothing,+      resourceUri = Core.Nothing+    }++instance Core.FromJSON UserDefinedFunctionResource where+  parseJSON =+    Core.withObject+      "UserDefinedFunctionResource"+      ( \o ->+          UserDefinedFunctionResource+            Core.<$> (o Core..:? "inlineCode")+            Core.<*> (o Core..:? "resourceUri")+      )++instance Core.ToJSON UserDefinedFunctionResource where+  toJSON UserDefinedFunctionResource {..} =+    Core.object+      ( Core.catMaybes+          [ ("inlineCode" Core..=) Core.<$> inlineCode,+            ("resourceUri" Core..=) Core.<$> resourceUri+          ]+      )++-- | Statistics for a vector search query. Populated as part of JobStatistics2.+--+-- /See:/ 'newVectorSearchStatistics' smart constructor.+data VectorSearchStatistics = VectorSearchStatistics+  { -- | When @indexUsageMode@ is @UNUSED@ or @PARTIALLY_USED@, this field explains why indexes were not used in all or part of the vector search query. If @indexUsageMode@ is @FULLY_USED@, this field is not populated.+    indexUnusedReasons :: (Core.Maybe [IndexUnusedReason]),+    -- | Specifies the index usage mode for the query.+    indexUsageMode :: (Core.Maybe VectorSearchStatistics_IndexUsageMode),+    -- | Specifies the usage of stored columns in the query when stored columns are used in the query.+    storedColumnsUsages :: (Core.Maybe [StoredColumnsUsage])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'VectorSearchStatistics' with the minimum fields required to make a request.+newVectorSearchStatistics ::+  VectorSearchStatistics+newVectorSearchStatistics =+  VectorSearchStatistics+    { indexUnusedReasons = Core.Nothing,+      indexUsageMode = Core.Nothing,+      storedColumnsUsages = Core.Nothing+    }++instance Core.FromJSON VectorSearchStatistics where+  parseJSON =+    Core.withObject+      "VectorSearchStatistics"+      ( \o ->+          VectorSearchStatistics+            Core.<$> (o Core..:? "indexUnusedReasons")+            Core.<*> (o Core..:? "indexUsageMode")+            Core.<*> (o Core..:? "storedColumnsUsages")+      )++instance Core.ToJSON VectorSearchStatistics where+  toJSON VectorSearchStatistics {..} =+    Core.object+      ( Core.catMaybes+          [ ("indexUnusedReasons" Core..=) Core.<$> indexUnusedReasons,+            ("indexUsageMode" Core..=) Core.<$> indexUsageMode,+            ("storedColumnsUsages" Core..=) Core.<$> storedColumnsUsages+          ]+      )++-- | Describes the definition of a logical view.+--+-- /See:/ 'newViewDefinition' smart constructor.+data ViewDefinition = ViewDefinition+  { -- | Optional. Foreign view representations.+    foreignDefinitions :: (Core.Maybe [ForeignViewDefinition]),+    -- | Optional. Specifies the privacy policy for the view.+    privacyPolicy :: (Core.Maybe PrivacyPolicy),+    -- | Required. A query that BigQuery executes when the view is referenced.+    query :: (Core.Maybe Core.Text),+    -- | True if the column names are explicitly specified. For example by using the \'CREATE VIEW v(c1, c2) AS ...\' syntax. Can only be set for GoogleSQL views.+    useExplicitColumnNames :: (Core.Maybe Core.Bool),+    -- | Specifies whether to use BigQuery\'s legacy SQL for this view. The default value is true. If set to false, the view will use BigQuery\'s GoogleSQL: https:\/\/cloud.google.com\/bigquery\/sql-reference\/ Queries and views that reference this view must use the same flag value. A wrapper is used here because the default value is True.+    useLegacySql :: (Core.Maybe Core.Bool),+    -- | Describes user-defined function resources used in the query.+    userDefinedFunctionResources :: (Core.Maybe [UserDefinedFunctionResource])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ViewDefinition' with the minimum fields required to make a request.+newViewDefinition ::+  ViewDefinition+newViewDefinition =+  ViewDefinition+    { foreignDefinitions = Core.Nothing,+      privacyPolicy = Core.Nothing,+      query = Core.Nothing,+      useExplicitColumnNames = Core.Nothing,+      useLegacySql = Core.Nothing,+      userDefinedFunctionResources = Core.Nothing+    }++instance Core.FromJSON ViewDefinition where+  parseJSON =+    Core.withObject+      "ViewDefinition"+      ( \o ->+          ViewDefinition+            Core.<$> (o Core..:? "foreignDefinitions")+            Core.<*> (o Core..:? "privacyPolicy")+            Core.<*> (o Core..:? "query")+            Core.<*> (o Core..:? "useExplicitColumnNames")+            Core.<*> (o Core..:? "useLegacySql")+            Core.<*> (o Core..:? "userDefinedFunctionResources")+      )++instance Core.ToJSON ViewDefinition where+  toJSON ViewDefinition {..} =+    Core.object+      ( Core.catMaybes+          [ ("foreignDefinitions" Core..=) Core.<$> foreignDefinitions,+            ("privacyPolicy" Core..=) Core.<$> privacyPolicy,+            ("query" Core..=) Core.<$> query,+            ("useExplicitColumnNames" Core..=) Core.<$> useExplicitColumnNames,+            ("useLegacySql" Core..=) Core.<$> useLegacySql,+            ("userDefinedFunctionResources" Core..=)+              Core.<$> userDefinedFunctionResources+          ]+      )
+ gen/Gogol/BigQuery/Internal/Sum.hs view
@@ -0,0 +1,4990 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.BigQuery.Internal.Sum+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Gogol.BigQuery.Internal.Sum+  ( -- * Xgafv+    Xgafv+      ( Xgafv_1,+        Xgafv_2,+        ..+      ),++    -- * Argument_ArgumentKind+    Argument_ArgumentKind+      ( Argument_ArgumentKind_ARGUMENTKINDUNSPECIFIED,+        Argument_ArgumentKind_FIXEDTYPE,+        Argument_ArgumentKind_ANYTYPE,+        ..+      ),++    -- * Argument_Mode+    Argument_Mode+      ( Argument_Mode_MODEUNSPECIFIED,+        Argument_Mode_IN,+        Argument_Mode_Out,+        Argument_Mode_Inout,+        ..+      ),++    -- * ArimaForecastingMetrics_SeasonalPeriodsItem+    ArimaForecastingMetrics_SeasonalPeriodsItem+      ( ArimaForecastingMetrics_SeasonalPeriodsItem_SEASONALPERIODTYPEUNSPECIFIED,+        ArimaForecastingMetrics_SeasonalPeriodsItem_NOSEASONALITY,+        ArimaForecastingMetrics_SeasonalPeriodsItem_Daily,+        ArimaForecastingMetrics_SeasonalPeriodsItem_Weekly,+        ArimaForecastingMetrics_SeasonalPeriodsItem_Monthly,+        ArimaForecastingMetrics_SeasonalPeriodsItem_Quarterly,+        ArimaForecastingMetrics_SeasonalPeriodsItem_Yearly,+        ..+      ),++    -- * ArimaModelInfo_SeasonalPeriodsItem+    ArimaModelInfo_SeasonalPeriodsItem+      ( ArimaModelInfo_SeasonalPeriodsItem_SEASONALPERIODTYPEUNSPECIFIED,+        ArimaModelInfo_SeasonalPeriodsItem_NOSEASONALITY,+        ArimaModelInfo_SeasonalPeriodsItem_Daily,+        ArimaModelInfo_SeasonalPeriodsItem_Weekly,+        ArimaModelInfo_SeasonalPeriodsItem_Monthly,+        ArimaModelInfo_SeasonalPeriodsItem_Quarterly,+        ArimaModelInfo_SeasonalPeriodsItem_Yearly,+        ..+      ),++    -- * ArimaResult_SeasonalPeriodsItem+    ArimaResult_SeasonalPeriodsItem+      ( ArimaResult_SeasonalPeriodsItem_SEASONALPERIODTYPEUNSPECIFIED,+        ArimaResult_SeasonalPeriodsItem_NOSEASONALITY,+        ArimaResult_SeasonalPeriodsItem_Daily,+        ArimaResult_SeasonalPeriodsItem_Weekly,+        ArimaResult_SeasonalPeriodsItem_Monthly,+        ArimaResult_SeasonalPeriodsItem_Quarterly,+        ArimaResult_SeasonalPeriodsItem_Yearly,+        ..+      ),++    -- * ArimaSingleModelForecastingMetrics_SeasonalPeriodsItem+    ArimaSingleModelForecastingMetrics_SeasonalPeriodsItem+      ( ArimaSingleModelForecastingMetrics_SeasonalPeriodsItem_SEASONALPERIODTYPEUNSPECIFIED,+        ArimaSingleModelForecastingMetrics_SeasonalPeriodsItem_NOSEASONALITY,+        ArimaSingleModelForecastingMetrics_SeasonalPeriodsItem_Daily,+        ArimaSingleModelForecastingMetrics_SeasonalPeriodsItem_Weekly,+        ArimaSingleModelForecastingMetrics_SeasonalPeriodsItem_Monthly,+        ArimaSingleModelForecastingMetrics_SeasonalPeriodsItem_Quarterly,+        ArimaSingleModelForecastingMetrics_SeasonalPeriodsItem_Yearly,+        ..+      ),++    -- * AuditLogConfig_LogType+    AuditLogConfig_LogType+      ( AuditLogConfig_LogType_LOGTYPEUNSPECIFIED,+        AuditLogConfig_LogType_ADMINREAD,+        AuditLogConfig_LogType_DATAWRITE,+        AuditLogConfig_LogType_DATAREAD,+        ..+      ),++    -- * BiEngineReason_Code+    BiEngineReason_Code+      ( BiEngineReason_Code_CODEUNSPECIFIED,+        BiEngineReason_Code_NORESERVATION,+        BiEngineReason_Code_INSUFFICIENTRESERVATION,+        BiEngineReason_Code_UNSUPPORTEDSQLTEXT,+        BiEngineReason_Code_INPUTTOOLARGE,+        BiEngineReason_Code_OTHERREASON,+        BiEngineReason_Code_TABLEEXCLUDED,+        ..+      ),++    -- * BiEngineStatistics_AccelerationMode+    BiEngineStatistics_AccelerationMode+      ( BiEngineStatistics_AccelerationMode_BIENGINEACCELERATIONMODEUNSPECIFIED,+        BiEngineStatistics_AccelerationMode_BIENGINEDISABLED,+        BiEngineStatistics_AccelerationMode_PARTIALINPUT,+        BiEngineStatistics_AccelerationMode_FULLINPUT,+        BiEngineStatistics_AccelerationMode_FULLQUERY,+        ..+      ),++    -- * BiEngineStatistics_BiEngineMode+    BiEngineStatistics_BiEngineMode+      ( BiEngineStatistics_BiEngineMode_ACCELERATIONMODEUNSPECIFIED,+        BiEngineStatistics_BiEngineMode_Disabled,+        BiEngineStatistics_BiEngineMode_Partial,+        BiEngineStatistics_BiEngineMode_Full,+        ..+      ),++    -- * BigLakeConfiguration_FileFormat+    BigLakeConfiguration_FileFormat+      ( BigLakeConfiguration_FileFormat_FILEFORMATUNSPECIFIED,+        BigLakeConfiguration_FileFormat_Parquet,+        ..+      ),++    -- * BigLakeConfiguration_TableFormat+    BigLakeConfiguration_TableFormat+      ( BigLakeConfiguration_TableFormat_TABLEFORMATUNSPECIFIED,+        BigLakeConfiguration_TableFormat_Iceberg,+        ..+      ),++    -- * Dataset_DefaultRoundingMode+    Dataset_DefaultRoundingMode+      ( Dataset_DefaultRoundingMode_ROUNDINGMODEUNSPECIFIED,+        Dataset_DefaultRoundingMode_ROUNDHALFAWAYFROMZERO,+        Dataset_DefaultRoundingMode_ROUNDHALFEVEN,+        ..+      ),++    -- * Dataset_StorageBillingModel+    Dataset_StorageBillingModel+      ( Dataset_StorageBillingModel_STORAGEBILLINGMODELUNSPECIFIED,+        Dataset_StorageBillingModel_Logical,+        Dataset_StorageBillingModel_Physical,+        ..+      ),++    -- * DatasetAccessEntry_TargetTypesItem+    DatasetAccessEntry_TargetTypesItem+      ( DatasetAccessEntry_TargetTypesItem_TARGETTYPEUNSPECIFIED,+        DatasetAccessEntry_TargetTypesItem_Views,+        DatasetAccessEntry_TargetTypesItem_Routines,+        ..+      ),++    -- * ExplainQueryStage_ComputeMode+    ExplainQueryStage_ComputeMode+      ( ExplainQueryStage_ComputeMode_COMPUTEMODEUNSPECIFIED,+        ExplainQueryStage_ComputeMode_Bigquery,+        ExplainQueryStage_ComputeMode_BIENGINE,+        ..+      ),++    -- * ExternalDataConfiguration_DecimalTargetTypesItem+    ExternalDataConfiguration_DecimalTargetTypesItem+      ( ExternalDataConfiguration_DecimalTargetTypesItem_DECIMALTARGETTYPEUNSPECIFIED,+        ExternalDataConfiguration_DecimalTargetTypesItem_Numeric,+        ExternalDataConfiguration_DecimalTargetTypesItem_Bignumeric,+        ExternalDataConfiguration_DecimalTargetTypesItem_String,+        ..+      ),++    -- * ExternalDataConfiguration_FileSetSpecType+    ExternalDataConfiguration_FileSetSpecType+      ( ExternalDataConfiguration_FileSetSpecType_FILESETSPECTYPEFILESYSTEMMATCH,+        ExternalDataConfiguration_FileSetSpecType_FILESETSPECTYPENEWLINEDELIMITEDMANIFEST,+        ..+      ),++    -- * ExternalDataConfiguration_JsonExtension+    ExternalDataConfiguration_JsonExtension+      ( ExternalDataConfiguration_JsonExtension_JSONEXTENSIONUNSPECIFIED,+        ExternalDataConfiguration_JsonExtension_Geojson,+        ..+      ),++    -- * ExternalDataConfiguration_MetadataCacheMode+    ExternalDataConfiguration_MetadataCacheMode+      ( ExternalDataConfiguration_MetadataCacheMode_METADATACACHEMODEUNSPECIFIED,+        ExternalDataConfiguration_MetadataCacheMode_Automatic,+        ExternalDataConfiguration_MetadataCacheMode_Manual,+        ..+      ),++    -- * ExternalDataConfiguration_ObjectMetadata+    ExternalDataConfiguration_ObjectMetadata+      ( ExternalDataConfiguration_ObjectMetadata_OBJECTMETADATAUNSPECIFIED,+        ExternalDataConfiguration_ObjectMetadata_Directory,+        ExternalDataConfiguration_ObjectMetadata_Simple,+        ..+      ),++    -- * ForeignTypeInfo_TypeSystem+    ForeignTypeInfo_TypeSystem+      ( ForeignTypeInfo_TypeSystem_TYPESYSTEMUNSPECIFIED,+        ForeignTypeInfo_TypeSystem_Hive,+        ..+      ),++    -- * HparamTuningTrial_Status+    HparamTuningTrial_Status+      ( HparamTuningTrial_Status_TRIALSTATUSUNSPECIFIED,+        HparamTuningTrial_Status_NOTSTARTED,+        HparamTuningTrial_Status_Running,+        HparamTuningTrial_Status_Succeeded,+        HparamTuningTrial_Status_Failed,+        HparamTuningTrial_Status_Infeasible,+        HparamTuningTrial_Status_STOPPEDEARLY,+        ..+      ),++    -- * IndexUnusedReason_Code+    IndexUnusedReason_Code+      ( IndexUnusedReason_Code_CODEUNSPECIFIED,+        IndexUnusedReason_Code_INDEXCONFIGNOTAVAILABLE,+        IndexUnusedReason_Code_PENDINGINDEXCREATION,+        IndexUnusedReason_Code_BASETABLETRUNCATED,+        IndexUnusedReason_Code_INDEXCONFIGMODIFIED,+        IndexUnusedReason_Code_TIMETRAVELQUERY,+        IndexUnusedReason_Code_NOPRUNINGPOWER,+        IndexUnusedReason_Code_UNINDEXEDSEARCHFIELDS,+        IndexUnusedReason_Code_UNSUPPORTEDSEARCHPATTERN,+        IndexUnusedReason_Code_OPTIMIZEDWITHMATERIALIZEDVIEW,+        IndexUnusedReason_Code_SECUREDBYDATAMASKING,+        IndexUnusedReason_Code_MISMATCHEDTEXTANALYZER,+        IndexUnusedReason_Code_BASETABLETOOSMALL,+        IndexUnusedReason_Code_BASETABLETOOLARGE,+        IndexUnusedReason_Code_ESTIMATEDPERFORMANCEGAINTOOLOW,+        IndexUnusedReason_Code_NOTSUPPORTEDINSTANDARDEDITION,+        IndexUnusedReason_Code_INDEXSUPPRESSEDBYFUNCTIONOPTION,+        IndexUnusedReason_Code_QUERYCACHEHIT,+        IndexUnusedReason_Code_STALEINDEX,+        IndexUnusedReason_Code_INTERNALERROR,+        IndexUnusedReason_Code_OTHERREASON,+        ..+      ),++    -- * JobConfigurationLoad_ColumnNameCharacterMap+    JobConfigurationLoad_ColumnNameCharacterMap+      ( JobConfigurationLoad_ColumnNameCharacterMap_COLUMNNAMECHARACTERMAPUNSPECIFIED,+        JobConfigurationLoad_ColumnNameCharacterMap_Strict,+        JobConfigurationLoad_ColumnNameCharacterMap_V1,+        JobConfigurationLoad_ColumnNameCharacterMap_V2,+        ..+      ),++    -- * JobConfigurationLoad_DecimalTargetTypesItem+    JobConfigurationLoad_DecimalTargetTypesItem+      ( JobConfigurationLoad_DecimalTargetTypesItem_DECIMALTARGETTYPEUNSPECIFIED,+        JobConfigurationLoad_DecimalTargetTypesItem_Numeric,+        JobConfigurationLoad_DecimalTargetTypesItem_Bignumeric,+        JobConfigurationLoad_DecimalTargetTypesItem_String,+        ..+      ),++    -- * JobConfigurationLoad_FileSetSpecType+    JobConfigurationLoad_FileSetSpecType+      ( JobConfigurationLoad_FileSetSpecType_FILESETSPECTYPEFILESYSTEMMATCH,+        JobConfigurationLoad_FileSetSpecType_FILESETSPECTYPENEWLINEDELIMITEDMANIFEST,+        ..+      ),++    -- * JobConfigurationLoad_JsonExtension+    JobConfigurationLoad_JsonExtension+      ( JobConfigurationLoad_JsonExtension_JSONEXTENSIONUNSPECIFIED,+        JobConfigurationLoad_JsonExtension_Geojson,+        ..+      ),++    -- * JobConfigurationTableCopy_OperationType+    JobConfigurationTableCopy_OperationType+      ( JobConfigurationTableCopy_OperationType_OPERATIONTYPEUNSPECIFIED,+        JobConfigurationTableCopy_OperationType_Copy,+        JobConfigurationTableCopy_OperationType_Snapshot,+        JobConfigurationTableCopy_OperationType_Restore,+        JobConfigurationTableCopy_OperationType_Clone,+        ..+      ),++    -- * JobCreationReason_Code+    JobCreationReason_Code+      ( JobCreationReason_Code_CODEUNSPECIFIED,+        JobCreationReason_Code_Requested,+        JobCreationReason_Code_LONGRUNNING,+        JobCreationReason_Code_LARGERESULTS,+        JobCreationReason_Code_Other,+        ..+      ),++    -- * JobStatistics_Edition+    JobStatistics_Edition+      ( JobStatistics_Edition_RESERVATIONEDITIONUNSPECIFIED,+        JobStatistics_Edition_Standard,+        JobStatistics_Edition_Enterprise,+        JobStatistics_Edition_ENTERPRISEPLUS,+        ..+      ),++    -- * JoinRestrictionPolicy_JoinCondition+    JoinRestrictionPolicy_JoinCondition+      ( JoinRestrictionPolicy_JoinCondition_JOINCONDITIONUNSPECIFIED,+        JoinRestrictionPolicy_JoinCondition_JOINANY,+        JoinRestrictionPolicy_JoinCondition_JOINALL,+        JoinRestrictionPolicy_JoinCondition_JOINNOTREQUIRED,+        JoinRestrictionPolicy_JoinCondition_JOINBLOCKED,+        ..+      ),++    -- * LinkedDatasetMetadata_LinkState+    LinkedDatasetMetadata_LinkState+      ( LinkedDatasetMetadata_LinkState_LINKSTATEUNSPECIFIED,+        LinkedDatasetMetadata_LinkState_Linked,+        LinkedDatasetMetadata_LinkState_Unlinked,+        ..+      ),++    -- * MaterializedView_RejectedReason+    MaterializedView_RejectedReason+      ( MaterializedView_RejectedReason_REJECTEDREASONUNSPECIFIED,+        MaterializedView_RejectedReason_NODATA,+        MaterializedView_RejectedReason_Cost,+        MaterializedView_RejectedReason_BASETABLETRUNCATED,+        MaterializedView_RejectedReason_BASETABLEDATACHANGE,+        MaterializedView_RejectedReason_BASETABLEPARTITIONEXPIRATIONCHANGE,+        MaterializedView_RejectedReason_BASETABLEEXPIREDPARTITION,+        MaterializedView_RejectedReason_BASETABLEINCOMPATIBLEMETADATACHANGE,+        MaterializedView_RejectedReason_TIMEZONE,+        MaterializedView_RejectedReason_OUTOFTIMETRAVELWINDOW,+        MaterializedView_RejectedReason_BASETABLEFINEGRAINEDSECURITYPOLICY,+        MaterializedView_RejectedReason_BASETABLETOOSTALE,+        ..+      ),++    -- * MlStatistics_ModelType+    MlStatistics_ModelType+      ( MlStatistics_ModelType_MODELTYPEUNSPECIFIED,+        MlStatistics_ModelType_LINEARREGRESSION,+        MlStatistics_ModelType_LOGISTICREGRESSION,+        MlStatistics_ModelType_Kmeans,+        MlStatistics_ModelType_MATRIXFACTORIZATION,+        MlStatistics_ModelType_DNNCLASSIFIER,+        MlStatistics_ModelType_Tensorflow,+        MlStatistics_ModelType_DNNREGRESSOR,+        MlStatistics_ModelType_Xgboost,+        MlStatistics_ModelType_BOOSTEDTREEREGRESSOR,+        MlStatistics_ModelType_BOOSTEDTREECLASSIFIER,+        MlStatistics_ModelType_Arima,+        MlStatistics_ModelType_AUTOMLREGRESSOR,+        MlStatistics_ModelType_AUTOMLCLASSIFIER,+        MlStatistics_ModelType_Pca,+        MlStatistics_ModelType_DNNLINEARCOMBINEDCLASSIFIER,+        MlStatistics_ModelType_DNNLINEARCOMBINEDREGRESSOR,+        MlStatistics_ModelType_Autoencoder,+        MlStatistics_ModelType_ARIMAPLUS,+        MlStatistics_ModelType_ARIMAPLUSXREG,+        MlStatistics_ModelType_RANDOMFORESTREGRESSOR,+        MlStatistics_ModelType_RANDOMFORESTCLASSIFIER,+        MlStatistics_ModelType_TENSORFLOWLITE,+        MlStatistics_ModelType_Onnx,+        MlStatistics_ModelType_TRANSFORMONLY,+        MlStatistics_ModelType_CONTRIBUTIONANALYSIS,+        ..+      ),++    -- * MlStatistics_TrainingType+    MlStatistics_TrainingType+      ( MlStatistics_TrainingType_TRAININGTYPEUNSPECIFIED,+        MlStatistics_TrainingType_SINGLETRAINING,+        MlStatistics_TrainingType_HPARAMTUNING,+        ..+      ),++    -- * Model_ModelType+    Model_ModelType+      ( Model_ModelType_MODELTYPEUNSPECIFIED,+        Model_ModelType_LINEARREGRESSION,+        Model_ModelType_LOGISTICREGRESSION,+        Model_ModelType_Kmeans,+        Model_ModelType_MATRIXFACTORIZATION,+        Model_ModelType_DNNCLASSIFIER,+        Model_ModelType_Tensorflow,+        Model_ModelType_DNNREGRESSOR,+        Model_ModelType_Xgboost,+        Model_ModelType_BOOSTEDTREEREGRESSOR,+        Model_ModelType_BOOSTEDTREECLASSIFIER,+        Model_ModelType_Arima,+        Model_ModelType_AUTOMLREGRESSOR,+        Model_ModelType_AUTOMLCLASSIFIER,+        Model_ModelType_Pca,+        Model_ModelType_DNNLINEARCOMBINEDCLASSIFIER,+        Model_ModelType_DNNLINEARCOMBINEDREGRESSOR,+        Model_ModelType_Autoencoder,+        Model_ModelType_ARIMAPLUS,+        Model_ModelType_ARIMAPLUSXREG,+        Model_ModelType_RANDOMFORESTREGRESSOR,+        Model_ModelType_RANDOMFORESTCLASSIFIER,+        Model_ModelType_TENSORFLOWLITE,+        Model_ModelType_Onnx,+        Model_ModelType_TRANSFORMONLY,+        Model_ModelType_CONTRIBUTIONANALYSIS,+        ..+      ),++    -- * ParquetOptions_MapTargetType+    ParquetOptions_MapTargetType+      ( ParquetOptions_MapTargetType_MAPTARGETTYPEUNSPECIFIED,+        ParquetOptions_MapTargetType_ARRAYOFSTRUCT,+        ..+      ),++    -- * QueryRequest_JobCreationMode+    QueryRequest_JobCreationMode+      ( QueryRequest_JobCreationMode_JOBCREATIONMODEUNSPECIFIED,+        QueryRequest_JobCreationMode_JOBCREATIONREQUIRED,+        QueryRequest_JobCreationMode_JOBCREATIONOPTIONAL,+        ..+      ),++    -- * RemoteModelInfo_RemoteServiceType+    RemoteModelInfo_RemoteServiceType+      ( RemoteModelInfo_RemoteServiceType_REMOTESERVICETYPEUNSPECIFIED,+        RemoteModelInfo_RemoteServiceType_CLOUD_AI_TRANSLATE_V3,+        RemoteModelInfo_RemoteServiceType_CLOUD_AI_VISION_V1,+        RemoteModelInfo_RemoteServiceType_CLOUD_AI_NATURAL_LANGUAGE_V1,+        RemoteModelInfo_RemoteServiceType_CLOUD_AI_SPEECH_TO_TEXT_V2,+        ..+      ),++    -- * RestrictionConfig_Type+    RestrictionConfig_Type+      ( RestrictionConfig_Type_RESTRICTIONTYPEUNSPECIFIED,+        RestrictionConfig_Type_RESTRICTEDDATAEGRESS,+        ..+      ),++    -- * Routine_DataGovernanceType+    Routine_DataGovernanceType+      ( Routine_DataGovernanceType_DATAGOVERNANCETYPEUNSPECIFIED,+        Routine_DataGovernanceType_DATAMASKING,+        ..+      ),++    -- * Routine_DeterminismLevel+    Routine_DeterminismLevel+      ( Routine_DeterminismLevel_DETERMINISMLEVELUNSPECIFIED,+        Routine_DeterminismLevel_Deterministic,+        Routine_DeterminismLevel_NOTDETERMINISTIC,+        ..+      ),++    -- * Routine_Language+    Routine_Language+      ( Routine_Language_LANGUAGEUNSPECIFIED,+        Routine_Language_Sql,+        Routine_Language_Javascript,+        Routine_Language_Python,+        Routine_Language_Java,+        Routine_Language_Scala,+        ..+      ),++    -- * Routine_RoutineType+    Routine_RoutineType+      ( Routine_RoutineType_ROUTINETYPEUNSPECIFIED,+        Routine_RoutineType_SCALARFUNCTION,+        Routine_RoutineType_Procedure,+        Routine_RoutineType_TABLEVALUEDFUNCTION,+        Routine_RoutineType_AGGREGATEFUNCTION,+        ..+      ),++    -- * Routine_SecurityMode+    Routine_SecurityMode+      ( Routine_SecurityMode_SECURITYMODEUNSPECIFIED,+        Routine_SecurityMode_Definer,+        Routine_SecurityMode_Invoker,+        ..+      ),++    -- * ScriptOptions_KeyResultStatement+    ScriptOptions_KeyResultStatement+      ( ScriptOptions_KeyResultStatement_KEYRESULTSTATEMENTKINDUNSPECIFIED,+        ScriptOptions_KeyResultStatement_Last,+        ScriptOptions_KeyResultStatement_FIRSTSELECT,+        ..+      ),++    -- * ScriptStatistics_EvaluationKind+    ScriptStatistics_EvaluationKind+      ( ScriptStatistics_EvaluationKind_EVALUATIONKINDUNSPECIFIED,+        ScriptStatistics_EvaluationKind_Statement,+        ScriptStatistics_EvaluationKind_Expression,+        ..+      ),++    -- * SearchStatistics_IndexUsageMode+    SearchStatistics_IndexUsageMode+      ( SearchStatistics_IndexUsageMode_INDEXUSAGEMODEUNSPECIFIED,+        SearchStatistics_IndexUsageMode_Unused,+        SearchStatistics_IndexUsageMode_PARTIALLYUSED,+        SearchStatistics_IndexUsageMode_FULLYUSED,+        ..+      ),++    -- * StandardSqlDataType_TypeKind+    StandardSqlDataType_TypeKind+      ( StandardSqlDataType_TypeKind_TYPEKINDUNSPECIFIED,+        StandardSqlDataType_TypeKind_INT64,+        StandardSqlDataType_TypeKind_Bool,+        StandardSqlDataType_TypeKind_FLOAT64,+        StandardSqlDataType_TypeKind_String,+        StandardSqlDataType_TypeKind_Bytes,+        StandardSqlDataType_TypeKind_Timestamp,+        StandardSqlDataType_TypeKind_Date,+        StandardSqlDataType_TypeKind_Time,+        StandardSqlDataType_TypeKind_Datetime,+        StandardSqlDataType_TypeKind_Interval,+        StandardSqlDataType_TypeKind_Geography,+        StandardSqlDataType_TypeKind_Numeric,+        StandardSqlDataType_TypeKind_Bignumeric,+        StandardSqlDataType_TypeKind_Json,+        StandardSqlDataType_TypeKind_Array,+        StandardSqlDataType_TypeKind_Struct,+        StandardSqlDataType_TypeKind_Range,+        ..+      ),++    -- * StoredColumnsUnusedReason_Code+    StoredColumnsUnusedReason_Code+      ( StoredColumnsUnusedReason_Code_CODEUNSPECIFIED,+        StoredColumnsUnusedReason_Code_STOREDCOLUMNSCOVERINSUFFICIENT,+        StoredColumnsUnusedReason_Code_BASETABLEHASRLS,+        StoredColumnsUnusedReason_Code_BASETABLEHASCLS,+        StoredColumnsUnusedReason_Code_UNSUPPORTEDPREFILTER,+        StoredColumnsUnusedReason_Code_INTERNALERROR,+        StoredColumnsUnusedReason_Code_OTHERREASON,+        ..+      ),++    -- * Table_DefaultRoundingMode+    Table_DefaultRoundingMode+      ( Table_DefaultRoundingMode_ROUNDINGMODEUNSPECIFIED,+        Table_DefaultRoundingMode_ROUNDHALFAWAYFROMZERO,+        Table_DefaultRoundingMode_ROUNDHALFEVEN,+        ..+      ),++    -- * Table_ManagedTableType+    Table_ManagedTableType+      ( Table_ManagedTableType_MANAGEDTABLETYPEUNSPECIFIED,+        Table_ManagedTableType_Native,+        Table_ManagedTableType_Iceberg,+        ..+      ),++    -- * TableFieldSchema_RoundingMode+    TableFieldSchema_RoundingMode+      ( TableFieldSchema_RoundingMode_ROUNDINGMODEUNSPECIFIED,+        TableFieldSchema_RoundingMode_ROUNDHALFAWAYFROMZERO,+        TableFieldSchema_RoundingMode_ROUNDHALFEVEN,+        ..+      ),++    -- * TableMetadataCacheUsage_UnusedReason+    TableMetadataCacheUsage_UnusedReason+      ( TableMetadataCacheUsage_UnusedReason_UNUSEDREASONUNSPECIFIED,+        TableMetadataCacheUsage_UnusedReason_EXCEEDEDMAXSTALENESS,+        TableMetadataCacheUsage_UnusedReason_METADATACACHINGNOTENABLED,+        TableMetadataCacheUsage_UnusedReason_OTHERREASON,+        ..+      ),++    -- * TableReplicationInfo_ReplicationStatus+    TableReplicationInfo_ReplicationStatus+      ( TableReplicationInfo_ReplicationStatus_REPLICATIONSTATUSUNSPECIFIED,+        TableReplicationInfo_ReplicationStatus_Active,+        TableReplicationInfo_ReplicationStatus_SOURCEDELETED,+        TableReplicationInfo_ReplicationStatus_PERMISSIONDENIED,+        TableReplicationInfo_ReplicationStatus_UNSUPPORTEDCONFIGURATION,+        ..+      ),++    -- * TrainingOptions_BoosterType+    TrainingOptions_BoosterType+      ( TrainingOptions_BoosterType_BOOSTERTYPEUNSPECIFIED,+        TrainingOptions_BoosterType_Gbtree,+        TrainingOptions_BoosterType_Dart,+        ..+      ),++    -- * TrainingOptions_CategoryEncodingMethod+    TrainingOptions_CategoryEncodingMethod+      ( TrainingOptions_CategoryEncodingMethod_ENCODINGMETHODUNSPECIFIED,+        TrainingOptions_CategoryEncodingMethod_ONEHOTENCODING,+        TrainingOptions_CategoryEncodingMethod_LABELENCODING,+        TrainingOptions_CategoryEncodingMethod_DUMMYENCODING,+        ..+      ),++    -- * TrainingOptions_ColorSpace+    TrainingOptions_ColorSpace+      ( TrainingOptions_ColorSpace_COLORSPACEUNSPECIFIED,+        TrainingOptions_ColorSpace_Rgb,+        TrainingOptions_ColorSpace_Hsv,+        TrainingOptions_ColorSpace_Yiq,+        TrainingOptions_ColorSpace_Yuv,+        TrainingOptions_ColorSpace_Grayscale,+        ..+      ),++    -- * TrainingOptions_DartNormalizeType+    TrainingOptions_DartNormalizeType+      ( TrainingOptions_DartNormalizeType_DARTNORMALIZETYPEUNSPECIFIED,+        TrainingOptions_DartNormalizeType_Tree,+        TrainingOptions_DartNormalizeType_Forest,+        ..+      ),++    -- * TrainingOptions_DataFrequency+    TrainingOptions_DataFrequency+      ( TrainingOptions_DataFrequency_DATAFREQUENCYUNSPECIFIED,+        TrainingOptions_DataFrequency_AUTOFREQUENCY,+        TrainingOptions_DataFrequency_Yearly,+        TrainingOptions_DataFrequency_Quarterly,+        TrainingOptions_DataFrequency_Monthly,+        TrainingOptions_DataFrequency_Weekly,+        TrainingOptions_DataFrequency_Daily,+        TrainingOptions_DataFrequency_Hourly,+        TrainingOptions_DataFrequency_PERMINUTE,+        ..+      ),++    -- * TrainingOptions_DataSplitMethod+    TrainingOptions_DataSplitMethod+      ( TrainingOptions_DataSplitMethod_DATASPLITMETHODUNSPECIFIED,+        TrainingOptions_DataSplitMethod_Random,+        TrainingOptions_DataSplitMethod_Custom,+        TrainingOptions_DataSplitMethod_Sequential,+        TrainingOptions_DataSplitMethod_NOSPLIT,+        TrainingOptions_DataSplitMethod_AUTOSPLIT,+        ..+      ),++    -- * TrainingOptions_DistanceType+    TrainingOptions_DistanceType+      ( TrainingOptions_DistanceType_DISTANCETYPEUNSPECIFIED,+        TrainingOptions_DistanceType_Euclidean,+        TrainingOptions_DistanceType_Cosine,+        ..+      ),++    -- * TrainingOptions_FeedbackType+    TrainingOptions_FeedbackType+      ( TrainingOptions_FeedbackType_FEEDBACKTYPEUNSPECIFIED,+        TrainingOptions_FeedbackType_Implicit,+        TrainingOptions_FeedbackType_Explicit,+        ..+      ),++    -- * TrainingOptions_HolidayRegion+    TrainingOptions_HolidayRegion+      ( TrainingOptions_HolidayRegion_HOLIDAYREGIONUNSPECIFIED,+        TrainingOptions_HolidayRegion_Global,+        TrainingOptions_HolidayRegion_NA,+        TrainingOptions_HolidayRegion_Japac,+        TrainingOptions_HolidayRegion_Emea,+        TrainingOptions_HolidayRegion_Lac,+        TrainingOptions_HolidayRegion_AE,+        TrainingOptions_HolidayRegion_AR,+        TrainingOptions_HolidayRegion_AT,+        TrainingOptions_HolidayRegion_AU,+        TrainingOptions_HolidayRegion_BE,+        TrainingOptions_HolidayRegion_BR,+        TrainingOptions_HolidayRegion_CA,+        TrainingOptions_HolidayRegion_CH,+        TrainingOptions_HolidayRegion_CL,+        TrainingOptions_HolidayRegion_CN,+        TrainingOptions_HolidayRegion_CO,+        TrainingOptions_HolidayRegion_CS,+        TrainingOptions_HolidayRegion_CZ,+        TrainingOptions_HolidayRegion_DE,+        TrainingOptions_HolidayRegion_DK,+        TrainingOptions_HolidayRegion_DZ,+        TrainingOptions_HolidayRegion_EC,+        TrainingOptions_HolidayRegion_EE,+        TrainingOptions_HolidayRegion_EG,+        TrainingOptions_HolidayRegion_ES,+        TrainingOptions_HolidayRegion_FI,+        TrainingOptions_HolidayRegion_FR,+        TrainingOptions_HolidayRegion_GB,+        TrainingOptions_HolidayRegion_GR,+        TrainingOptions_HolidayRegion_HK,+        TrainingOptions_HolidayRegion_HU,+        TrainingOptions_HolidayRegion_ID,+        TrainingOptions_HolidayRegion_IE,+        TrainingOptions_HolidayRegion_IL,+        TrainingOptions_HolidayRegion_IN,+        TrainingOptions_HolidayRegion_IR,+        TrainingOptions_HolidayRegion_IT,+        TrainingOptions_HolidayRegion_JP,+        TrainingOptions_HolidayRegion_KR,+        TrainingOptions_HolidayRegion_LV,+        TrainingOptions_HolidayRegion_MA,+        TrainingOptions_HolidayRegion_MX,+        TrainingOptions_HolidayRegion_MY,+        TrainingOptions_HolidayRegion_NG,+        TrainingOptions_HolidayRegion_NL,+        TrainingOptions_HolidayRegion_NO,+        TrainingOptions_HolidayRegion_NZ,+        TrainingOptions_HolidayRegion_PE,+        TrainingOptions_HolidayRegion_PH,+        TrainingOptions_HolidayRegion_PK,+        TrainingOptions_HolidayRegion_PL,+        TrainingOptions_HolidayRegion_PT,+        TrainingOptions_HolidayRegion_RO,+        TrainingOptions_HolidayRegion_RS,+        TrainingOptions_HolidayRegion_RU,+        TrainingOptions_HolidayRegion_SA,+        TrainingOptions_HolidayRegion_SE,+        TrainingOptions_HolidayRegion_SG,+        TrainingOptions_HolidayRegion_SI,+        TrainingOptions_HolidayRegion_SK,+        TrainingOptions_HolidayRegion_TH,+        TrainingOptions_HolidayRegion_TR,+        TrainingOptions_HolidayRegion_TW,+        TrainingOptions_HolidayRegion_UA,+        TrainingOptions_HolidayRegion_US,+        TrainingOptions_HolidayRegion_VE,+        TrainingOptions_HolidayRegion_VN,+        TrainingOptions_HolidayRegion_ZA,+        ..+      ),++    -- * TrainingOptions_HolidayRegionsItem+    TrainingOptions_HolidayRegionsItem+      ( TrainingOptions_HolidayRegionsItem_HOLIDAYREGIONUNSPECIFIED,+        TrainingOptions_HolidayRegionsItem_Global,+        TrainingOptions_HolidayRegionsItem_NA,+        TrainingOptions_HolidayRegionsItem_Japac,+        TrainingOptions_HolidayRegionsItem_Emea,+        TrainingOptions_HolidayRegionsItem_Lac,+        TrainingOptions_HolidayRegionsItem_AE,+        TrainingOptions_HolidayRegionsItem_AR,+        TrainingOptions_HolidayRegionsItem_AT,+        TrainingOptions_HolidayRegionsItem_AU,+        TrainingOptions_HolidayRegionsItem_BE,+        TrainingOptions_HolidayRegionsItem_BR,+        TrainingOptions_HolidayRegionsItem_CA,+        TrainingOptions_HolidayRegionsItem_CH,+        TrainingOptions_HolidayRegionsItem_CL,+        TrainingOptions_HolidayRegionsItem_CN,+        TrainingOptions_HolidayRegionsItem_CO,+        TrainingOptions_HolidayRegionsItem_CS,+        TrainingOptions_HolidayRegionsItem_CZ,+        TrainingOptions_HolidayRegionsItem_DE,+        TrainingOptions_HolidayRegionsItem_DK,+        TrainingOptions_HolidayRegionsItem_DZ,+        TrainingOptions_HolidayRegionsItem_EC,+        TrainingOptions_HolidayRegionsItem_EE,+        TrainingOptions_HolidayRegionsItem_EG,+        TrainingOptions_HolidayRegionsItem_ES,+        TrainingOptions_HolidayRegionsItem_FI,+        TrainingOptions_HolidayRegionsItem_FR,+        TrainingOptions_HolidayRegionsItem_GB,+        TrainingOptions_HolidayRegionsItem_GR,+        TrainingOptions_HolidayRegionsItem_HK,+        TrainingOptions_HolidayRegionsItem_HU,+        TrainingOptions_HolidayRegionsItem_ID,+        TrainingOptions_HolidayRegionsItem_IE,+        TrainingOptions_HolidayRegionsItem_IL,+        TrainingOptions_HolidayRegionsItem_IN,+        TrainingOptions_HolidayRegionsItem_IR,+        TrainingOptions_HolidayRegionsItem_IT,+        TrainingOptions_HolidayRegionsItem_JP,+        TrainingOptions_HolidayRegionsItem_KR,+        TrainingOptions_HolidayRegionsItem_LV,+        TrainingOptions_HolidayRegionsItem_MA,+        TrainingOptions_HolidayRegionsItem_MX,+        TrainingOptions_HolidayRegionsItem_MY,+        TrainingOptions_HolidayRegionsItem_NG,+        TrainingOptions_HolidayRegionsItem_NL,+        TrainingOptions_HolidayRegionsItem_NO,+        TrainingOptions_HolidayRegionsItem_NZ,+        TrainingOptions_HolidayRegionsItem_PE,+        TrainingOptions_HolidayRegionsItem_PH,+        TrainingOptions_HolidayRegionsItem_PK,+        TrainingOptions_HolidayRegionsItem_PL,+        TrainingOptions_HolidayRegionsItem_PT,+        TrainingOptions_HolidayRegionsItem_RO,+        TrainingOptions_HolidayRegionsItem_RS,+        TrainingOptions_HolidayRegionsItem_RU,+        TrainingOptions_HolidayRegionsItem_SA,+        TrainingOptions_HolidayRegionsItem_SE,+        TrainingOptions_HolidayRegionsItem_SG,+        TrainingOptions_HolidayRegionsItem_SI,+        TrainingOptions_HolidayRegionsItem_SK,+        TrainingOptions_HolidayRegionsItem_TH,+        TrainingOptions_HolidayRegionsItem_TR,+        TrainingOptions_HolidayRegionsItem_TW,+        TrainingOptions_HolidayRegionsItem_UA,+        TrainingOptions_HolidayRegionsItem_US,+        TrainingOptions_HolidayRegionsItem_VE,+        TrainingOptions_HolidayRegionsItem_VN,+        TrainingOptions_HolidayRegionsItem_ZA,+        ..+      ),++    -- * TrainingOptions_HparamTuningObjectivesItem+    TrainingOptions_HparamTuningObjectivesItem+      ( TrainingOptions_HparamTuningObjectivesItem_HPARAMTUNINGOBJECTIVEUNSPECIFIED,+        TrainingOptions_HparamTuningObjectivesItem_MEANABSOLUTEERROR,+        TrainingOptions_HparamTuningObjectivesItem_MEANSQUAREDERROR,+        TrainingOptions_HparamTuningObjectivesItem_MEANSQUAREDLOGERROR,+        TrainingOptions_HparamTuningObjectivesItem_MEDIANABSOLUTEERROR,+        TrainingOptions_HparamTuningObjectivesItem_RSQUARED,+        TrainingOptions_HparamTuningObjectivesItem_EXPLAINEDVARIANCE,+        TrainingOptions_HparamTuningObjectivesItem_Precision,+        TrainingOptions_HparamTuningObjectivesItem_Recall,+        TrainingOptions_HparamTuningObjectivesItem_Accuracy,+        TrainingOptions_HparamTuningObjectivesItem_F1SCORE,+        TrainingOptions_HparamTuningObjectivesItem_LOGLOSS,+        TrainingOptions_HparamTuningObjectivesItem_ROCAUC,+        TrainingOptions_HparamTuningObjectivesItem_DAVIESBOULDININDEX,+        TrainingOptions_HparamTuningObjectivesItem_MEANAVERAGEPRECISION,+        TrainingOptions_HparamTuningObjectivesItem_NORMALIZEDDISCOUNTEDCUMULATIVEGAIN,+        TrainingOptions_HparamTuningObjectivesItem_AVERAGERANK,+        ..+      ),++    -- * TrainingOptions_KmeansInitializationMethod+    TrainingOptions_KmeansInitializationMethod+      ( TrainingOptions_KmeansInitializationMethod_KMEANSINITIALIZATIONMETHODUNSPECIFIED,+        TrainingOptions_KmeansInitializationMethod_Random,+        TrainingOptions_KmeansInitializationMethod_Custom,+        TrainingOptions_KmeansInitializationMethod_KMEANSPLUSPLUS,+        ..+      ),++    -- * TrainingOptions_LearnRateStrategy+    TrainingOptions_LearnRateStrategy+      ( TrainingOptions_LearnRateStrategy_LEARNRATESTRATEGYUNSPECIFIED,+        TrainingOptions_LearnRateStrategy_LINESEARCH,+        TrainingOptions_LearnRateStrategy_Constant,+        ..+      ),++    -- * TrainingOptions_LossType+    TrainingOptions_LossType+      ( TrainingOptions_LossType_LOSSTYPEUNSPECIFIED,+        TrainingOptions_LossType_MEANSQUAREDLOSS,+        TrainingOptions_LossType_MEANLOGLOSS,+        ..+      ),++    -- * TrainingOptions_ModelRegistry+    TrainingOptions_ModelRegistry+      ( TrainingOptions_ModelRegistry_MODELREGISTRYUNSPECIFIED,+        TrainingOptions_ModelRegistry_VERTEXAI,+        ..+      ),++    -- * TrainingOptions_OptimizationStrategy+    TrainingOptions_OptimizationStrategy+      ( TrainingOptions_OptimizationStrategy_OPTIMIZATIONSTRATEGYUNSPECIFIED,+        TrainingOptions_OptimizationStrategy_BATCHGRADIENTDESCENT,+        TrainingOptions_OptimizationStrategy_NORMALEQUATION,+        ..+      ),++    -- * TrainingOptions_PcaSolver+    TrainingOptions_PcaSolver+      ( TrainingOptions_PcaSolver_Unspecified,+        TrainingOptions_PcaSolver_Full,+        TrainingOptions_PcaSolver_Randomized,+        TrainingOptions_PcaSolver_Auto,+        ..+      ),++    -- * TrainingOptions_TreeMethod+    TrainingOptions_TreeMethod+      ( TrainingOptions_TreeMethod_TREEMETHODUNSPECIFIED,+        TrainingOptions_TreeMethod_Auto,+        TrainingOptions_TreeMethod_Exact,+        TrainingOptions_TreeMethod_Approx,+        TrainingOptions_TreeMethod_Hist,+        ..+      ),++    -- * VectorSearchStatistics_IndexUsageMode+    VectorSearchStatistics_IndexUsageMode+      ( VectorSearchStatistics_IndexUsageMode_INDEXUSAGEMODEUNSPECIFIED,+        VectorSearchStatistics_IndexUsageMode_Unused,+        VectorSearchStatistics_IndexUsageMode_PARTIALLYUSED,+        VectorSearchStatistics_IndexUsageMode_FULLYUSED,+        ..+      ),++    -- * DatasetsGetDatasetView+    DatasetsGetDatasetView+      ( DatasetsGetDatasetView_DATASETVIEWUNSPECIFIED,+        DatasetsGetDatasetView_Metadata,+        DatasetsGetDatasetView_Acl,+        DatasetsGetDatasetView_Full,+        ..+      ),++    -- * JobsListProjection+    JobsListProjection+      ( JobsListProjection_Full,+        JobsListProjection_Minimal,+        ..+      ),++    -- * JobsListStateFilter+    JobsListStateFilter+      ( JobsListStateFilter_Done,+        JobsListStateFilter_Pending,+        JobsListStateFilter_Running,+        ..+      ),++    -- * TablesGetView+    TablesGetView+      ( TablesGetView_TABLEMETADATAVIEWUNSPECIFIED,+        TablesGetView_Basic,+        TablesGetView_STORAGESTATS,+        TablesGetView_Full,+        ..+      ),+  )+where++import Gogol.Prelude qualified as Core++-- | V1 error format.+newtype Xgafv = Xgafv {fromXgafv :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | v1 error format+pattern Xgafv_1 :: Xgafv+pattern Xgafv_1 = Xgafv "1"++-- | v2 error format+pattern Xgafv_2 :: Xgafv+pattern Xgafv_2 = Xgafv "2"++{-# COMPLETE+  Xgafv_1,+  Xgafv_2,+  Xgafv+  #-}++-- | Optional. Defaults to FIXED_TYPE.+newtype Argument_ArgumentKind = Argument_ArgumentKind {fromArgument_ArgumentKind :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Default value.+pattern Argument_ArgumentKind_ARGUMENTKINDUNSPECIFIED :: Argument_ArgumentKind+pattern Argument_ArgumentKind_ARGUMENTKINDUNSPECIFIED = Argument_ArgumentKind "ARGUMENT_KIND_UNSPECIFIED"++-- | The argument is a variable with fully specified type, which can be a struct or an array, but not a table.+pattern Argument_ArgumentKind_FIXEDTYPE :: Argument_ArgumentKind+pattern Argument_ArgumentKind_FIXEDTYPE = Argument_ArgumentKind "FIXED_TYPE"++-- | The argument is any type, including struct or array, but not a table.+pattern Argument_ArgumentKind_ANYTYPE :: Argument_ArgumentKind+pattern Argument_ArgumentKind_ANYTYPE = Argument_ArgumentKind "ANY_TYPE"++{-# COMPLETE+  Argument_ArgumentKind_ARGUMENTKINDUNSPECIFIED,+  Argument_ArgumentKind_FIXEDTYPE,+  Argument_ArgumentKind_ANYTYPE,+  Argument_ArgumentKind+  #-}++-- | Optional. Specifies whether the argument is input or output. Can be set for procedures only.+newtype Argument_Mode = Argument_Mode {fromArgument_Mode :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Default value.+pattern Argument_Mode_MODEUNSPECIFIED :: Argument_Mode+pattern Argument_Mode_MODEUNSPECIFIED = Argument_Mode "MODE_UNSPECIFIED"++-- | The argument is input-only.+pattern Argument_Mode_IN :: Argument_Mode+pattern Argument_Mode_IN = Argument_Mode "IN"++-- | The argument is output-only.+pattern Argument_Mode_Out :: Argument_Mode+pattern Argument_Mode_Out = Argument_Mode "OUT"++-- | The argument is both an input and an output.+pattern Argument_Mode_Inout :: Argument_Mode+pattern Argument_Mode_Inout = Argument_Mode "INOUT"++{-# COMPLETE+  Argument_Mode_MODEUNSPECIFIED,+  Argument_Mode_IN,+  Argument_Mode_Out,+  Argument_Mode_Inout,+  Argument_Mode+  #-}++newtype ArimaForecastingMetrics_SeasonalPeriodsItem = ArimaForecastingMetrics_SeasonalPeriodsItem {fromArimaForecastingMetrics_SeasonalPeriodsItem :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Unspecified seasonal period.+pattern ArimaForecastingMetrics_SeasonalPeriodsItem_SEASONALPERIODTYPEUNSPECIFIED :: ArimaForecastingMetrics_SeasonalPeriodsItem+pattern ArimaForecastingMetrics_SeasonalPeriodsItem_SEASONALPERIODTYPEUNSPECIFIED = ArimaForecastingMetrics_SeasonalPeriodsItem "SEASONAL_PERIOD_TYPE_UNSPECIFIED"++-- | No seasonality+pattern ArimaForecastingMetrics_SeasonalPeriodsItem_NOSEASONALITY :: ArimaForecastingMetrics_SeasonalPeriodsItem+pattern ArimaForecastingMetrics_SeasonalPeriodsItem_NOSEASONALITY = ArimaForecastingMetrics_SeasonalPeriodsItem "NO_SEASONALITY"++-- | Daily period, 24 hours.+pattern ArimaForecastingMetrics_SeasonalPeriodsItem_Daily :: ArimaForecastingMetrics_SeasonalPeriodsItem+pattern ArimaForecastingMetrics_SeasonalPeriodsItem_Daily = ArimaForecastingMetrics_SeasonalPeriodsItem "DAILY"++-- | Weekly period, 7 days.+pattern ArimaForecastingMetrics_SeasonalPeriodsItem_Weekly :: ArimaForecastingMetrics_SeasonalPeriodsItem+pattern ArimaForecastingMetrics_SeasonalPeriodsItem_Weekly = ArimaForecastingMetrics_SeasonalPeriodsItem "WEEKLY"++-- | Monthly period, 30 days or irregular.+pattern ArimaForecastingMetrics_SeasonalPeriodsItem_Monthly :: ArimaForecastingMetrics_SeasonalPeriodsItem+pattern ArimaForecastingMetrics_SeasonalPeriodsItem_Monthly = ArimaForecastingMetrics_SeasonalPeriodsItem "MONTHLY"++-- | Quarterly period, 90 days or irregular.+pattern ArimaForecastingMetrics_SeasonalPeriodsItem_Quarterly :: ArimaForecastingMetrics_SeasonalPeriodsItem+pattern ArimaForecastingMetrics_SeasonalPeriodsItem_Quarterly = ArimaForecastingMetrics_SeasonalPeriodsItem "QUARTERLY"++-- | Yearly period, 365 days or irregular.+pattern ArimaForecastingMetrics_SeasonalPeriodsItem_Yearly :: ArimaForecastingMetrics_SeasonalPeriodsItem+pattern ArimaForecastingMetrics_SeasonalPeriodsItem_Yearly = ArimaForecastingMetrics_SeasonalPeriodsItem "YEARLY"++{-# COMPLETE+  ArimaForecastingMetrics_SeasonalPeriodsItem_SEASONALPERIODTYPEUNSPECIFIED,+  ArimaForecastingMetrics_SeasonalPeriodsItem_NOSEASONALITY,+  ArimaForecastingMetrics_SeasonalPeriodsItem_Daily,+  ArimaForecastingMetrics_SeasonalPeriodsItem_Weekly,+  ArimaForecastingMetrics_SeasonalPeriodsItem_Monthly,+  ArimaForecastingMetrics_SeasonalPeriodsItem_Quarterly,+  ArimaForecastingMetrics_SeasonalPeriodsItem_Yearly,+  ArimaForecastingMetrics_SeasonalPeriodsItem+  #-}++newtype ArimaModelInfo_SeasonalPeriodsItem = ArimaModelInfo_SeasonalPeriodsItem {fromArimaModelInfo_SeasonalPeriodsItem :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Unspecified seasonal period.+pattern ArimaModelInfo_SeasonalPeriodsItem_SEASONALPERIODTYPEUNSPECIFIED :: ArimaModelInfo_SeasonalPeriodsItem+pattern ArimaModelInfo_SeasonalPeriodsItem_SEASONALPERIODTYPEUNSPECIFIED = ArimaModelInfo_SeasonalPeriodsItem "SEASONAL_PERIOD_TYPE_UNSPECIFIED"++-- | No seasonality+pattern ArimaModelInfo_SeasonalPeriodsItem_NOSEASONALITY :: ArimaModelInfo_SeasonalPeriodsItem+pattern ArimaModelInfo_SeasonalPeriodsItem_NOSEASONALITY = ArimaModelInfo_SeasonalPeriodsItem "NO_SEASONALITY"++-- | Daily period, 24 hours.+pattern ArimaModelInfo_SeasonalPeriodsItem_Daily :: ArimaModelInfo_SeasonalPeriodsItem+pattern ArimaModelInfo_SeasonalPeriodsItem_Daily = ArimaModelInfo_SeasonalPeriodsItem "DAILY"++-- | Weekly period, 7 days.+pattern ArimaModelInfo_SeasonalPeriodsItem_Weekly :: ArimaModelInfo_SeasonalPeriodsItem+pattern ArimaModelInfo_SeasonalPeriodsItem_Weekly = ArimaModelInfo_SeasonalPeriodsItem "WEEKLY"++-- | Monthly period, 30 days or irregular.+pattern ArimaModelInfo_SeasonalPeriodsItem_Monthly :: ArimaModelInfo_SeasonalPeriodsItem+pattern ArimaModelInfo_SeasonalPeriodsItem_Monthly = ArimaModelInfo_SeasonalPeriodsItem "MONTHLY"++-- | Quarterly period, 90 days or irregular.+pattern ArimaModelInfo_SeasonalPeriodsItem_Quarterly :: ArimaModelInfo_SeasonalPeriodsItem+pattern ArimaModelInfo_SeasonalPeriodsItem_Quarterly = ArimaModelInfo_SeasonalPeriodsItem "QUARTERLY"++-- | Yearly period, 365 days or irregular.+pattern ArimaModelInfo_SeasonalPeriodsItem_Yearly :: ArimaModelInfo_SeasonalPeriodsItem+pattern ArimaModelInfo_SeasonalPeriodsItem_Yearly = ArimaModelInfo_SeasonalPeriodsItem "YEARLY"++{-# COMPLETE+  ArimaModelInfo_SeasonalPeriodsItem_SEASONALPERIODTYPEUNSPECIFIED,+  ArimaModelInfo_SeasonalPeriodsItem_NOSEASONALITY,+  ArimaModelInfo_SeasonalPeriodsItem_Daily,+  ArimaModelInfo_SeasonalPeriodsItem_Weekly,+  ArimaModelInfo_SeasonalPeriodsItem_Monthly,+  ArimaModelInfo_SeasonalPeriodsItem_Quarterly,+  ArimaModelInfo_SeasonalPeriodsItem_Yearly,+  ArimaModelInfo_SeasonalPeriodsItem+  #-}++newtype ArimaResult_SeasonalPeriodsItem = ArimaResult_SeasonalPeriodsItem {fromArimaResult_SeasonalPeriodsItem :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Unspecified seasonal period.+pattern ArimaResult_SeasonalPeriodsItem_SEASONALPERIODTYPEUNSPECIFIED :: ArimaResult_SeasonalPeriodsItem+pattern ArimaResult_SeasonalPeriodsItem_SEASONALPERIODTYPEUNSPECIFIED = ArimaResult_SeasonalPeriodsItem "SEASONAL_PERIOD_TYPE_UNSPECIFIED"++-- | No seasonality+pattern ArimaResult_SeasonalPeriodsItem_NOSEASONALITY :: ArimaResult_SeasonalPeriodsItem+pattern ArimaResult_SeasonalPeriodsItem_NOSEASONALITY = ArimaResult_SeasonalPeriodsItem "NO_SEASONALITY"++-- | Daily period, 24 hours.+pattern ArimaResult_SeasonalPeriodsItem_Daily :: ArimaResult_SeasonalPeriodsItem+pattern ArimaResult_SeasonalPeriodsItem_Daily = ArimaResult_SeasonalPeriodsItem "DAILY"++-- | Weekly period, 7 days.+pattern ArimaResult_SeasonalPeriodsItem_Weekly :: ArimaResult_SeasonalPeriodsItem+pattern ArimaResult_SeasonalPeriodsItem_Weekly = ArimaResult_SeasonalPeriodsItem "WEEKLY"++-- | Monthly period, 30 days or irregular.+pattern ArimaResult_SeasonalPeriodsItem_Monthly :: ArimaResult_SeasonalPeriodsItem+pattern ArimaResult_SeasonalPeriodsItem_Monthly = ArimaResult_SeasonalPeriodsItem "MONTHLY"++-- | Quarterly period, 90 days or irregular.+pattern ArimaResult_SeasonalPeriodsItem_Quarterly :: ArimaResult_SeasonalPeriodsItem+pattern ArimaResult_SeasonalPeriodsItem_Quarterly = ArimaResult_SeasonalPeriodsItem "QUARTERLY"++-- | Yearly period, 365 days or irregular.+pattern ArimaResult_SeasonalPeriodsItem_Yearly :: ArimaResult_SeasonalPeriodsItem+pattern ArimaResult_SeasonalPeriodsItem_Yearly = ArimaResult_SeasonalPeriodsItem "YEARLY"++{-# COMPLETE+  ArimaResult_SeasonalPeriodsItem_SEASONALPERIODTYPEUNSPECIFIED,+  ArimaResult_SeasonalPeriodsItem_NOSEASONALITY,+  ArimaResult_SeasonalPeriodsItem_Daily,+  ArimaResult_SeasonalPeriodsItem_Weekly,+  ArimaResult_SeasonalPeriodsItem_Monthly,+  ArimaResult_SeasonalPeriodsItem_Quarterly,+  ArimaResult_SeasonalPeriodsItem_Yearly,+  ArimaResult_SeasonalPeriodsItem+  #-}++newtype ArimaSingleModelForecastingMetrics_SeasonalPeriodsItem = ArimaSingleModelForecastingMetrics_SeasonalPeriodsItem {fromArimaSingleModelForecastingMetrics_SeasonalPeriodsItem :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Unspecified seasonal period.+pattern ArimaSingleModelForecastingMetrics_SeasonalPeriodsItem_SEASONALPERIODTYPEUNSPECIFIED :: ArimaSingleModelForecastingMetrics_SeasonalPeriodsItem+pattern ArimaSingleModelForecastingMetrics_SeasonalPeriodsItem_SEASONALPERIODTYPEUNSPECIFIED = ArimaSingleModelForecastingMetrics_SeasonalPeriodsItem "SEASONAL_PERIOD_TYPE_UNSPECIFIED"++-- | No seasonality+pattern ArimaSingleModelForecastingMetrics_SeasonalPeriodsItem_NOSEASONALITY :: ArimaSingleModelForecastingMetrics_SeasonalPeriodsItem+pattern ArimaSingleModelForecastingMetrics_SeasonalPeriodsItem_NOSEASONALITY = ArimaSingleModelForecastingMetrics_SeasonalPeriodsItem "NO_SEASONALITY"++-- | Daily period, 24 hours.+pattern ArimaSingleModelForecastingMetrics_SeasonalPeriodsItem_Daily :: ArimaSingleModelForecastingMetrics_SeasonalPeriodsItem+pattern ArimaSingleModelForecastingMetrics_SeasonalPeriodsItem_Daily = ArimaSingleModelForecastingMetrics_SeasonalPeriodsItem "DAILY"++-- | Weekly period, 7 days.+pattern ArimaSingleModelForecastingMetrics_SeasonalPeriodsItem_Weekly :: ArimaSingleModelForecastingMetrics_SeasonalPeriodsItem+pattern ArimaSingleModelForecastingMetrics_SeasonalPeriodsItem_Weekly = ArimaSingleModelForecastingMetrics_SeasonalPeriodsItem "WEEKLY"++-- | Monthly period, 30 days or irregular.+pattern ArimaSingleModelForecastingMetrics_SeasonalPeriodsItem_Monthly :: ArimaSingleModelForecastingMetrics_SeasonalPeriodsItem+pattern ArimaSingleModelForecastingMetrics_SeasonalPeriodsItem_Monthly = ArimaSingleModelForecastingMetrics_SeasonalPeriodsItem "MONTHLY"++-- | Quarterly period, 90 days or irregular.+pattern ArimaSingleModelForecastingMetrics_SeasonalPeriodsItem_Quarterly :: ArimaSingleModelForecastingMetrics_SeasonalPeriodsItem+pattern ArimaSingleModelForecastingMetrics_SeasonalPeriodsItem_Quarterly = ArimaSingleModelForecastingMetrics_SeasonalPeriodsItem "QUARTERLY"++-- | Yearly period, 365 days or irregular.+pattern ArimaSingleModelForecastingMetrics_SeasonalPeriodsItem_Yearly :: ArimaSingleModelForecastingMetrics_SeasonalPeriodsItem+pattern ArimaSingleModelForecastingMetrics_SeasonalPeriodsItem_Yearly = ArimaSingleModelForecastingMetrics_SeasonalPeriodsItem "YEARLY"++{-# COMPLETE+  ArimaSingleModelForecastingMetrics_SeasonalPeriodsItem_SEASONALPERIODTYPEUNSPECIFIED,+  ArimaSingleModelForecastingMetrics_SeasonalPeriodsItem_NOSEASONALITY,+  ArimaSingleModelForecastingMetrics_SeasonalPeriodsItem_Daily,+  ArimaSingleModelForecastingMetrics_SeasonalPeriodsItem_Weekly,+  ArimaSingleModelForecastingMetrics_SeasonalPeriodsItem_Monthly,+  ArimaSingleModelForecastingMetrics_SeasonalPeriodsItem_Quarterly,+  ArimaSingleModelForecastingMetrics_SeasonalPeriodsItem_Yearly,+  ArimaSingleModelForecastingMetrics_SeasonalPeriodsItem+  #-}++-- | The log type that this config enables.+newtype AuditLogConfig_LogType = AuditLogConfig_LogType {fromAuditLogConfig_LogType :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Default case. Should never be this.+pattern AuditLogConfig_LogType_LOGTYPEUNSPECIFIED :: AuditLogConfig_LogType+pattern AuditLogConfig_LogType_LOGTYPEUNSPECIFIED = AuditLogConfig_LogType "LOG_TYPE_UNSPECIFIED"++-- | Admin reads. Example: CloudIAM getIamPolicy+pattern AuditLogConfig_LogType_ADMINREAD :: AuditLogConfig_LogType+pattern AuditLogConfig_LogType_ADMINREAD = AuditLogConfig_LogType "ADMIN_READ"++-- | Data writes. Example: CloudSQL Users create+pattern AuditLogConfig_LogType_DATAWRITE :: AuditLogConfig_LogType+pattern AuditLogConfig_LogType_DATAWRITE = AuditLogConfig_LogType "DATA_WRITE"++-- | Data reads. Example: CloudSQL Users list+pattern AuditLogConfig_LogType_DATAREAD :: AuditLogConfig_LogType+pattern AuditLogConfig_LogType_DATAREAD = AuditLogConfig_LogType "DATA_READ"++{-# COMPLETE+  AuditLogConfig_LogType_LOGTYPEUNSPECIFIED,+  AuditLogConfig_LogType_ADMINREAD,+  AuditLogConfig_LogType_DATAWRITE,+  AuditLogConfig_LogType_DATAREAD,+  AuditLogConfig_LogType+  #-}++-- | Output only. High-level BI Engine reason for partial or disabled acceleration+newtype BiEngineReason_Code = BiEngineReason_Code {fromBiEngineReason_Code :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | BiEngineReason not specified.+pattern BiEngineReason_Code_CODEUNSPECIFIED :: BiEngineReason_Code+pattern BiEngineReason_Code_CODEUNSPECIFIED = BiEngineReason_Code "CODE_UNSPECIFIED"++-- | No reservation available for BI Engine acceleration.+pattern BiEngineReason_Code_NORESERVATION :: BiEngineReason_Code+pattern BiEngineReason_Code_NORESERVATION = BiEngineReason_Code "NO_RESERVATION"++-- | Not enough memory available for BI Engine acceleration.+pattern BiEngineReason_Code_INSUFFICIENTRESERVATION :: BiEngineReason_Code+pattern BiEngineReason_Code_INSUFFICIENTRESERVATION = BiEngineReason_Code "INSUFFICIENT_RESERVATION"++-- | This particular SQL text is not supported for acceleration by BI Engine.+pattern BiEngineReason_Code_UNSUPPORTEDSQLTEXT :: BiEngineReason_Code+pattern BiEngineReason_Code_UNSUPPORTEDSQLTEXT = BiEngineReason_Code "UNSUPPORTED_SQL_TEXT"++-- | Input too large for acceleration by BI Engine.+pattern BiEngineReason_Code_INPUTTOOLARGE :: BiEngineReason_Code+pattern BiEngineReason_Code_INPUTTOOLARGE = BiEngineReason_Code "INPUT_TOO_LARGE"++-- | Catch-all code for all other cases for partial or disabled acceleration.+pattern BiEngineReason_Code_OTHERREASON :: BiEngineReason_Code+pattern BiEngineReason_Code_OTHERREASON = BiEngineReason_Code "OTHER_REASON"++-- | One or more tables were not eligible for BI Engine acceleration.+pattern BiEngineReason_Code_TABLEEXCLUDED :: BiEngineReason_Code+pattern BiEngineReason_Code_TABLEEXCLUDED = BiEngineReason_Code "TABLE_EXCLUDED"++{-# COMPLETE+  BiEngineReason_Code_CODEUNSPECIFIED,+  BiEngineReason_Code_NORESERVATION,+  BiEngineReason_Code_INSUFFICIENTRESERVATION,+  BiEngineReason_Code_UNSUPPORTEDSQLTEXT,+  BiEngineReason_Code_INPUTTOOLARGE,+  BiEngineReason_Code_OTHERREASON,+  BiEngineReason_Code_TABLEEXCLUDED,+  BiEngineReason_Code+  #-}++-- | Output only. Specifies which mode of BI Engine acceleration was performed (if any).+newtype BiEngineStatistics_AccelerationMode = BiEngineStatistics_AccelerationMode {fromBiEngineStatistics_AccelerationMode :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | BiEngineMode type not specified.+pattern BiEngineStatistics_AccelerationMode_BIENGINEACCELERATIONMODEUNSPECIFIED :: BiEngineStatistics_AccelerationMode+pattern BiEngineStatistics_AccelerationMode_BIENGINEACCELERATIONMODEUNSPECIFIED = BiEngineStatistics_AccelerationMode "BI_ENGINE_ACCELERATION_MODE_UNSPECIFIED"++-- | BI Engine acceleration was attempted but disabled. bi/engine/reasons specifies a more detailed reason.+pattern BiEngineStatistics_AccelerationMode_BIENGINEDISABLED :: BiEngineStatistics_AccelerationMode+pattern BiEngineStatistics_AccelerationMode_BIENGINEDISABLED = BiEngineStatistics_AccelerationMode "BI_ENGINE_DISABLED"++-- | Some inputs were accelerated using BI Engine. See bi/engine/reasons for why parts of the query were not accelerated.+pattern BiEngineStatistics_AccelerationMode_PARTIALINPUT :: BiEngineStatistics_AccelerationMode+pattern BiEngineStatistics_AccelerationMode_PARTIALINPUT = BiEngineStatistics_AccelerationMode "PARTIAL_INPUT"++-- | All of the query inputs were accelerated using BI Engine.+pattern BiEngineStatistics_AccelerationMode_FULLINPUT :: BiEngineStatistics_AccelerationMode+pattern BiEngineStatistics_AccelerationMode_FULLINPUT = BiEngineStatistics_AccelerationMode "FULL_INPUT"++-- | All of the query was accelerated using BI Engine.+pattern BiEngineStatistics_AccelerationMode_FULLQUERY :: BiEngineStatistics_AccelerationMode+pattern BiEngineStatistics_AccelerationMode_FULLQUERY = BiEngineStatistics_AccelerationMode "FULL_QUERY"++{-# COMPLETE+  BiEngineStatistics_AccelerationMode_BIENGINEACCELERATIONMODEUNSPECIFIED,+  BiEngineStatistics_AccelerationMode_BIENGINEDISABLED,+  BiEngineStatistics_AccelerationMode_PARTIALINPUT,+  BiEngineStatistics_AccelerationMode_FULLINPUT,+  BiEngineStatistics_AccelerationMode_FULLQUERY,+  BiEngineStatistics_AccelerationMode+  #-}++-- | Output only. Specifies which mode of BI Engine acceleration was performed (if any).+newtype BiEngineStatistics_BiEngineMode = BiEngineStatistics_BiEngineMode {fromBiEngineStatistics_BiEngineMode :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | BiEngineMode type not specified.+pattern BiEngineStatistics_BiEngineMode_ACCELERATIONMODEUNSPECIFIED :: BiEngineStatistics_BiEngineMode+pattern BiEngineStatistics_BiEngineMode_ACCELERATIONMODEUNSPECIFIED = BiEngineStatistics_BiEngineMode "ACCELERATION_MODE_UNSPECIFIED"++-- | BI Engine disabled the acceleration. bi/engine/reasons specifies a more detailed reason.+pattern BiEngineStatistics_BiEngineMode_Disabled :: BiEngineStatistics_BiEngineMode+pattern BiEngineStatistics_BiEngineMode_Disabled = BiEngineStatistics_BiEngineMode "DISABLED"++-- | Part of the query was accelerated using BI Engine. See bi/engine/reasons for why parts of the query were not accelerated.+pattern BiEngineStatistics_BiEngineMode_Partial :: BiEngineStatistics_BiEngineMode+pattern BiEngineStatistics_BiEngineMode_Partial = BiEngineStatistics_BiEngineMode "PARTIAL"++-- | All of the query was accelerated using BI Engine.+pattern BiEngineStatistics_BiEngineMode_Full :: BiEngineStatistics_BiEngineMode+pattern BiEngineStatistics_BiEngineMode_Full = BiEngineStatistics_BiEngineMode "FULL"++{-# COMPLETE+  BiEngineStatistics_BiEngineMode_ACCELERATIONMODEUNSPECIFIED,+  BiEngineStatistics_BiEngineMode_Disabled,+  BiEngineStatistics_BiEngineMode_Partial,+  BiEngineStatistics_BiEngineMode_Full,+  BiEngineStatistics_BiEngineMode+  #-}++-- | Optional. The file format the table data is stored in.+newtype BigLakeConfiguration_FileFormat = BigLakeConfiguration_FileFormat {fromBigLakeConfiguration_FileFormat :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Default Value.+pattern BigLakeConfiguration_FileFormat_FILEFORMATUNSPECIFIED :: BigLakeConfiguration_FileFormat+pattern BigLakeConfiguration_FileFormat_FILEFORMATUNSPECIFIED = BigLakeConfiguration_FileFormat "FILE_FORMAT_UNSPECIFIED"++-- | Apache Parquet format.+pattern BigLakeConfiguration_FileFormat_Parquet :: BigLakeConfiguration_FileFormat+pattern BigLakeConfiguration_FileFormat_Parquet = BigLakeConfiguration_FileFormat "PARQUET"++{-# COMPLETE+  BigLakeConfiguration_FileFormat_FILEFORMATUNSPECIFIED,+  BigLakeConfiguration_FileFormat_Parquet,+  BigLakeConfiguration_FileFormat+  #-}++-- | Optional. The table format the metadata only snapshots are stored in.+newtype BigLakeConfiguration_TableFormat = BigLakeConfiguration_TableFormat {fromBigLakeConfiguration_TableFormat :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Default Value.+pattern BigLakeConfiguration_TableFormat_TABLEFORMATUNSPECIFIED :: BigLakeConfiguration_TableFormat+pattern BigLakeConfiguration_TableFormat_TABLEFORMATUNSPECIFIED = BigLakeConfiguration_TableFormat "TABLE_FORMAT_UNSPECIFIED"++-- | Apache Iceberg format.+pattern BigLakeConfiguration_TableFormat_Iceberg :: BigLakeConfiguration_TableFormat+pattern BigLakeConfiguration_TableFormat_Iceberg = BigLakeConfiguration_TableFormat "ICEBERG"++{-# COMPLETE+  BigLakeConfiguration_TableFormat_TABLEFORMATUNSPECIFIED,+  BigLakeConfiguration_TableFormat_Iceberg,+  BigLakeConfiguration_TableFormat+  #-}++-- | Optional. Defines the default rounding mode specification of new tables created within this dataset. During table creation, if this field is specified, the table within this dataset will inherit the default rounding mode of the dataset. Setting the default rounding mode on a table overrides this option. Existing tables in the dataset are unaffected. If columns are defined during that table creation, they will immediately inherit the table\'s default rounding mode, unless otherwise specified.+newtype Dataset_DefaultRoundingMode = Dataset_DefaultRoundingMode {fromDataset_DefaultRoundingMode :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Unspecified will default to using ROUND/HALF/AWAY/FROM/ZERO.+pattern Dataset_DefaultRoundingMode_ROUNDINGMODEUNSPECIFIED :: Dataset_DefaultRoundingMode+pattern Dataset_DefaultRoundingMode_ROUNDINGMODEUNSPECIFIED = Dataset_DefaultRoundingMode "ROUNDING_MODE_UNSPECIFIED"++-- | ROUND/HALF/AWAY/FROM/ZERO rounds half values away from zero when applying precision and scale upon writing of NUMERIC and BIGNUMERIC values. For Scale: 0 1.1, 1.2, 1.3, 1.4 => 1 1.5, 1.6, 1.7, 1.8, 1.9 => 2+pattern Dataset_DefaultRoundingMode_ROUNDHALFAWAYFROMZERO :: Dataset_DefaultRoundingMode+pattern Dataset_DefaultRoundingMode_ROUNDHALFAWAYFROMZERO = Dataset_DefaultRoundingMode "ROUND_HALF_AWAY_FROM_ZERO"++-- | ROUND/HALF/EVEN rounds half values to the nearest even value when applying precision and scale upon writing of NUMERIC and BIGNUMERIC values. For Scale: 0 1.1, 1.2, 1.3, 1.4 => 1 1.5 => 2 1.6, 1.7, 1.8, 1.9 => 2 2.5 => 2+pattern Dataset_DefaultRoundingMode_ROUNDHALFEVEN :: Dataset_DefaultRoundingMode+pattern Dataset_DefaultRoundingMode_ROUNDHALFEVEN = Dataset_DefaultRoundingMode "ROUND_HALF_EVEN"++{-# COMPLETE+  Dataset_DefaultRoundingMode_ROUNDINGMODEUNSPECIFIED,+  Dataset_DefaultRoundingMode_ROUNDHALFAWAYFROMZERO,+  Dataset_DefaultRoundingMode_ROUNDHALFEVEN,+  Dataset_DefaultRoundingMode+  #-}++-- | Optional. Updates storage/billing/model for the dataset.+newtype Dataset_StorageBillingModel = Dataset_StorageBillingModel {fromDataset_StorageBillingModel :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Value not set.+pattern Dataset_StorageBillingModel_STORAGEBILLINGMODELUNSPECIFIED :: Dataset_StorageBillingModel+pattern Dataset_StorageBillingModel_STORAGEBILLINGMODELUNSPECIFIED = Dataset_StorageBillingModel "STORAGE_BILLING_MODEL_UNSPECIFIED"++-- | Billing for logical bytes.+pattern Dataset_StorageBillingModel_Logical :: Dataset_StorageBillingModel+pattern Dataset_StorageBillingModel_Logical = Dataset_StorageBillingModel "LOGICAL"++-- | Billing for physical bytes.+pattern Dataset_StorageBillingModel_Physical :: Dataset_StorageBillingModel+pattern Dataset_StorageBillingModel_Physical = Dataset_StorageBillingModel "PHYSICAL"++{-# COMPLETE+  Dataset_StorageBillingModel_STORAGEBILLINGMODELUNSPECIFIED,+  Dataset_StorageBillingModel_Logical,+  Dataset_StorageBillingModel_Physical,+  Dataset_StorageBillingModel+  #-}++newtype DatasetAccessEntry_TargetTypesItem = DatasetAccessEntry_TargetTypesItem {fromDatasetAccessEntry_TargetTypesItem :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Do not use. You must set a target type explicitly.+pattern DatasetAccessEntry_TargetTypesItem_TARGETTYPEUNSPECIFIED :: DatasetAccessEntry_TargetTypesItem+pattern DatasetAccessEntry_TargetTypesItem_TARGETTYPEUNSPECIFIED = DatasetAccessEntry_TargetTypesItem "TARGET_TYPE_UNSPECIFIED"++-- | This entry applies to views in the dataset.+pattern DatasetAccessEntry_TargetTypesItem_Views :: DatasetAccessEntry_TargetTypesItem+pattern DatasetAccessEntry_TargetTypesItem_Views = DatasetAccessEntry_TargetTypesItem "VIEWS"++-- | This entry applies to routines in the dataset.+pattern DatasetAccessEntry_TargetTypesItem_Routines :: DatasetAccessEntry_TargetTypesItem+pattern DatasetAccessEntry_TargetTypesItem_Routines = DatasetAccessEntry_TargetTypesItem "ROUTINES"++{-# COMPLETE+  DatasetAccessEntry_TargetTypesItem_TARGETTYPEUNSPECIFIED,+  DatasetAccessEntry_TargetTypesItem_Views,+  DatasetAccessEntry_TargetTypesItem_Routines,+  DatasetAccessEntry_TargetTypesItem+  #-}++-- | Output only. Compute mode for this stage.+newtype ExplainQueryStage_ComputeMode = ExplainQueryStage_ComputeMode {fromExplainQueryStage_ComputeMode :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | ComputeMode type not specified.+pattern ExplainQueryStage_ComputeMode_COMPUTEMODEUNSPECIFIED :: ExplainQueryStage_ComputeMode+pattern ExplainQueryStage_ComputeMode_COMPUTEMODEUNSPECIFIED = ExplainQueryStage_ComputeMode "COMPUTE_MODE_UNSPECIFIED"++-- | This stage was processed using BigQuery slots.+pattern ExplainQueryStage_ComputeMode_Bigquery :: ExplainQueryStage_ComputeMode+pattern ExplainQueryStage_ComputeMode_Bigquery = ExplainQueryStage_ComputeMode "BIGQUERY"++-- | This stage was processed using BI Engine compute.+pattern ExplainQueryStage_ComputeMode_BIENGINE :: ExplainQueryStage_ComputeMode+pattern ExplainQueryStage_ComputeMode_BIENGINE = ExplainQueryStage_ComputeMode "BI_ENGINE"++{-# COMPLETE+  ExplainQueryStage_ComputeMode_COMPUTEMODEUNSPECIFIED,+  ExplainQueryStage_ComputeMode_Bigquery,+  ExplainQueryStage_ComputeMode_BIENGINE,+  ExplainQueryStage_ComputeMode+  #-}++newtype ExternalDataConfiguration_DecimalTargetTypesItem = ExternalDataConfiguration_DecimalTargetTypesItem {fromExternalDataConfiguration_DecimalTargetTypesItem :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Invalid type.+pattern ExternalDataConfiguration_DecimalTargetTypesItem_DECIMALTARGETTYPEUNSPECIFIED :: ExternalDataConfiguration_DecimalTargetTypesItem+pattern ExternalDataConfiguration_DecimalTargetTypesItem_DECIMALTARGETTYPEUNSPECIFIED = ExternalDataConfiguration_DecimalTargetTypesItem "DECIMAL_TARGET_TYPE_UNSPECIFIED"++-- | Decimal values could be converted to NUMERIC type.+pattern ExternalDataConfiguration_DecimalTargetTypesItem_Numeric :: ExternalDataConfiguration_DecimalTargetTypesItem+pattern ExternalDataConfiguration_DecimalTargetTypesItem_Numeric = ExternalDataConfiguration_DecimalTargetTypesItem "NUMERIC"++-- | Decimal values could be converted to BIGNUMERIC type.+pattern ExternalDataConfiguration_DecimalTargetTypesItem_Bignumeric :: ExternalDataConfiguration_DecimalTargetTypesItem+pattern ExternalDataConfiguration_DecimalTargetTypesItem_Bignumeric = ExternalDataConfiguration_DecimalTargetTypesItem "BIGNUMERIC"++-- | Decimal values could be converted to STRING type.+pattern ExternalDataConfiguration_DecimalTargetTypesItem_String :: ExternalDataConfiguration_DecimalTargetTypesItem+pattern ExternalDataConfiguration_DecimalTargetTypesItem_String = ExternalDataConfiguration_DecimalTargetTypesItem "STRING"++{-# COMPLETE+  ExternalDataConfiguration_DecimalTargetTypesItem_DECIMALTARGETTYPEUNSPECIFIED,+  ExternalDataConfiguration_DecimalTargetTypesItem_Numeric,+  ExternalDataConfiguration_DecimalTargetTypesItem_Bignumeric,+  ExternalDataConfiguration_DecimalTargetTypesItem_String,+  ExternalDataConfiguration_DecimalTargetTypesItem+  #-}++-- | Optional. Specifies how source URIs are interpreted for constructing the file set to load. By default source URIs are expanded against the underlying storage. Other options include specifying manifest files. Only applicable to object storage systems.+newtype ExternalDataConfiguration_FileSetSpecType = ExternalDataConfiguration_FileSetSpecType {fromExternalDataConfiguration_FileSetSpecType :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | This option expands source URIs by listing files from the object store. It is the default behavior if FileSetSpecType is not set.+pattern ExternalDataConfiguration_FileSetSpecType_FILESETSPECTYPEFILESYSTEMMATCH :: ExternalDataConfiguration_FileSetSpecType+pattern ExternalDataConfiguration_FileSetSpecType_FILESETSPECTYPEFILESYSTEMMATCH = ExternalDataConfiguration_FileSetSpecType "FILE_SET_SPEC_TYPE_FILE_SYSTEM_MATCH"++-- | This option indicates that the provided URIs are newline-delimited manifest files, with one URI per line. Wildcard URIs are not supported.+pattern ExternalDataConfiguration_FileSetSpecType_FILESETSPECTYPENEWLINEDELIMITEDMANIFEST :: ExternalDataConfiguration_FileSetSpecType+pattern ExternalDataConfiguration_FileSetSpecType_FILESETSPECTYPENEWLINEDELIMITEDMANIFEST = ExternalDataConfiguration_FileSetSpecType "FILE_SET_SPEC_TYPE_NEW_LINE_DELIMITED_MANIFEST"++{-# COMPLETE+  ExternalDataConfiguration_FileSetSpecType_FILESETSPECTYPEFILESYSTEMMATCH,+  ExternalDataConfiguration_FileSetSpecType_FILESETSPECTYPENEWLINEDELIMITEDMANIFEST,+  ExternalDataConfiguration_FileSetSpecType+  #-}++-- | Optional. Load option to be used together with source/format newline-delimited JSON to indicate that a variant of JSON is being loaded. To load newline-delimited GeoJSON, specify GEOJSON (and source/format must be set to NEWLINE/DELIMITED/JSON).+newtype ExternalDataConfiguration_JsonExtension = ExternalDataConfiguration_JsonExtension {fromExternalDataConfiguration_JsonExtension :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | The default if provided value is not one included in the enum, or the value is not specified. The source format is parsed without any modification.+pattern ExternalDataConfiguration_JsonExtension_JSONEXTENSIONUNSPECIFIED :: ExternalDataConfiguration_JsonExtension+pattern ExternalDataConfiguration_JsonExtension_JSONEXTENSIONUNSPECIFIED = ExternalDataConfiguration_JsonExtension "JSON_EXTENSION_UNSPECIFIED"++-- | Use GeoJSON variant of JSON. See https:\/\/tools.ietf.org\/html\/rfc7946.+pattern ExternalDataConfiguration_JsonExtension_Geojson :: ExternalDataConfiguration_JsonExtension+pattern ExternalDataConfiguration_JsonExtension_Geojson = ExternalDataConfiguration_JsonExtension "GEOJSON"++{-# COMPLETE+  ExternalDataConfiguration_JsonExtension_JSONEXTENSIONUNSPECIFIED,+  ExternalDataConfiguration_JsonExtension_Geojson,+  ExternalDataConfiguration_JsonExtension+  #-}++-- | Optional. Metadata Cache Mode for the table. Set this to enable caching of metadata from external data source.+newtype ExternalDataConfiguration_MetadataCacheMode = ExternalDataConfiguration_MetadataCacheMode {fromExternalDataConfiguration_MetadataCacheMode :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Unspecified metadata cache mode.+pattern ExternalDataConfiguration_MetadataCacheMode_METADATACACHEMODEUNSPECIFIED :: ExternalDataConfiguration_MetadataCacheMode+pattern ExternalDataConfiguration_MetadataCacheMode_METADATACACHEMODEUNSPECIFIED = ExternalDataConfiguration_MetadataCacheMode "METADATA_CACHE_MODE_UNSPECIFIED"++-- | Set this mode to trigger automatic background refresh of metadata cache from the external source. Queries will use the latest available cache version within the table\'s maxStaleness interval.+pattern ExternalDataConfiguration_MetadataCacheMode_Automatic :: ExternalDataConfiguration_MetadataCacheMode+pattern ExternalDataConfiguration_MetadataCacheMode_Automatic = ExternalDataConfiguration_MetadataCacheMode "AUTOMATIC"++-- | Set this mode to enable triggering manual refresh of the metadata cache from external source. Queries will use the latest manually triggered cache version within the table\'s maxStaleness interval.+pattern ExternalDataConfiguration_MetadataCacheMode_Manual :: ExternalDataConfiguration_MetadataCacheMode+pattern ExternalDataConfiguration_MetadataCacheMode_Manual = ExternalDataConfiguration_MetadataCacheMode "MANUAL"++{-# COMPLETE+  ExternalDataConfiguration_MetadataCacheMode_METADATACACHEMODEUNSPECIFIED,+  ExternalDataConfiguration_MetadataCacheMode_Automatic,+  ExternalDataConfiguration_MetadataCacheMode_Manual,+  ExternalDataConfiguration_MetadataCacheMode+  #-}++-- | Optional. ObjectMetadata is used to create Object Tables. Object Tables contain a listing of objects (with their metadata) found at the source/uris. If ObjectMetadata is set, source/format should be omitted. Currently SIMPLE is the only supported Object Metadata type.+newtype ExternalDataConfiguration_ObjectMetadata = ExternalDataConfiguration_ObjectMetadata {fromExternalDataConfiguration_ObjectMetadata :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Unspecified by default.+pattern ExternalDataConfiguration_ObjectMetadata_OBJECTMETADATAUNSPECIFIED :: ExternalDataConfiguration_ObjectMetadata+pattern ExternalDataConfiguration_ObjectMetadata_OBJECTMETADATAUNSPECIFIED = ExternalDataConfiguration_ObjectMetadata "OBJECT_METADATA_UNSPECIFIED"++-- | A synonym for @SIMPLE@.+pattern ExternalDataConfiguration_ObjectMetadata_Directory :: ExternalDataConfiguration_ObjectMetadata+pattern ExternalDataConfiguration_ObjectMetadata_Directory = ExternalDataConfiguration_ObjectMetadata "DIRECTORY"++-- | Directory listing of objects.+pattern ExternalDataConfiguration_ObjectMetadata_Simple :: ExternalDataConfiguration_ObjectMetadata+pattern ExternalDataConfiguration_ObjectMetadata_Simple = ExternalDataConfiguration_ObjectMetadata "SIMPLE"++{-# COMPLETE+  ExternalDataConfiguration_ObjectMetadata_OBJECTMETADATAUNSPECIFIED,+  ExternalDataConfiguration_ObjectMetadata_Directory,+  ExternalDataConfiguration_ObjectMetadata_Simple,+  ExternalDataConfiguration_ObjectMetadata+  #-}++-- | Required. Specifies the system which defines the foreign data type.+newtype ForeignTypeInfo_TypeSystem = ForeignTypeInfo_TypeSystem {fromForeignTypeInfo_TypeSystem :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | TypeSystem not specified.+pattern ForeignTypeInfo_TypeSystem_TYPESYSTEMUNSPECIFIED :: ForeignTypeInfo_TypeSystem+pattern ForeignTypeInfo_TypeSystem_TYPESYSTEMUNSPECIFIED = ForeignTypeInfo_TypeSystem "TYPE_SYSTEM_UNSPECIFIED"++-- | Represents Hive data types.+pattern ForeignTypeInfo_TypeSystem_Hive :: ForeignTypeInfo_TypeSystem+pattern ForeignTypeInfo_TypeSystem_Hive = ForeignTypeInfo_TypeSystem "HIVE"++{-# COMPLETE+  ForeignTypeInfo_TypeSystem_TYPESYSTEMUNSPECIFIED,+  ForeignTypeInfo_TypeSystem_Hive,+  ForeignTypeInfo_TypeSystem+  #-}++-- | The status of the trial.+newtype HparamTuningTrial_Status = HparamTuningTrial_Status {fromHparamTuningTrial_Status :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Default value.+pattern HparamTuningTrial_Status_TRIALSTATUSUNSPECIFIED :: HparamTuningTrial_Status+pattern HparamTuningTrial_Status_TRIALSTATUSUNSPECIFIED = HparamTuningTrial_Status "TRIAL_STATUS_UNSPECIFIED"++-- | Scheduled but not started.+pattern HparamTuningTrial_Status_NOTSTARTED :: HparamTuningTrial_Status+pattern HparamTuningTrial_Status_NOTSTARTED = HparamTuningTrial_Status "NOT_STARTED"++-- | Running state.+pattern HparamTuningTrial_Status_Running :: HparamTuningTrial_Status+pattern HparamTuningTrial_Status_Running = HparamTuningTrial_Status "RUNNING"++-- | The trial succeeded.+pattern HparamTuningTrial_Status_Succeeded :: HparamTuningTrial_Status+pattern HparamTuningTrial_Status_Succeeded = HparamTuningTrial_Status "SUCCEEDED"++-- | The trial failed.+pattern HparamTuningTrial_Status_Failed :: HparamTuningTrial_Status+pattern HparamTuningTrial_Status_Failed = HparamTuningTrial_Status "FAILED"++-- | The trial is infeasible due to the invalid params.+pattern HparamTuningTrial_Status_Infeasible :: HparamTuningTrial_Status+pattern HparamTuningTrial_Status_Infeasible = HparamTuningTrial_Status "INFEASIBLE"++-- | Trial stopped early because it\'s not promising.+pattern HparamTuningTrial_Status_STOPPEDEARLY :: HparamTuningTrial_Status+pattern HparamTuningTrial_Status_STOPPEDEARLY = HparamTuningTrial_Status "STOPPED_EARLY"++{-# COMPLETE+  HparamTuningTrial_Status_TRIALSTATUSUNSPECIFIED,+  HparamTuningTrial_Status_NOTSTARTED,+  HparamTuningTrial_Status_Running,+  HparamTuningTrial_Status_Succeeded,+  HparamTuningTrial_Status_Failed,+  HparamTuningTrial_Status_Infeasible,+  HparamTuningTrial_Status_STOPPEDEARLY,+  HparamTuningTrial_Status+  #-}++-- | Specifies the high-level reason for the scenario when no search index was used.+newtype IndexUnusedReason_Code = IndexUnusedReason_Code {fromIndexUnusedReason_Code :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Code not specified.+pattern IndexUnusedReason_Code_CODEUNSPECIFIED :: IndexUnusedReason_Code+pattern IndexUnusedReason_Code_CODEUNSPECIFIED = IndexUnusedReason_Code "CODE_UNSPECIFIED"++-- | Indicates the search index configuration has not been created.+pattern IndexUnusedReason_Code_INDEXCONFIGNOTAVAILABLE :: IndexUnusedReason_Code+pattern IndexUnusedReason_Code_INDEXCONFIGNOTAVAILABLE = IndexUnusedReason_Code "INDEX_CONFIG_NOT_AVAILABLE"++-- | Indicates the search index creation has not been completed.+pattern IndexUnusedReason_Code_PENDINGINDEXCREATION :: IndexUnusedReason_Code+pattern IndexUnusedReason_Code_PENDINGINDEXCREATION = IndexUnusedReason_Code "PENDING_INDEX_CREATION"++-- | Indicates the base table has been truncated (rows have been removed from table with TRUNCATE TABLE statement) since the last time the search index was refreshed.+pattern IndexUnusedReason_Code_BASETABLETRUNCATED :: IndexUnusedReason_Code+pattern IndexUnusedReason_Code_BASETABLETRUNCATED = IndexUnusedReason_Code "BASE_TABLE_TRUNCATED"++-- | Indicates the search index configuration has been changed since the last time the search index was refreshed.+pattern IndexUnusedReason_Code_INDEXCONFIGMODIFIED :: IndexUnusedReason_Code+pattern IndexUnusedReason_Code_INDEXCONFIGMODIFIED = IndexUnusedReason_Code "INDEX_CONFIG_MODIFIED"++-- | Indicates the search query accesses data at a timestamp before the last time the search index was refreshed.+pattern IndexUnusedReason_Code_TIMETRAVELQUERY :: IndexUnusedReason_Code+pattern IndexUnusedReason_Code_TIMETRAVELQUERY = IndexUnusedReason_Code "TIME_TRAVEL_QUERY"++-- | Indicates the usage of search index will not contribute to any pruning improvement for the search function, e.g. when the search predicate is in a disjunction with other non-search predicates.+pattern IndexUnusedReason_Code_NOPRUNINGPOWER :: IndexUnusedReason_Code+pattern IndexUnusedReason_Code_NOPRUNINGPOWER = IndexUnusedReason_Code "NO_PRUNING_POWER"++-- | Indicates the search index does not cover all fields in the search function.+pattern IndexUnusedReason_Code_UNINDEXEDSEARCHFIELDS :: IndexUnusedReason_Code+pattern IndexUnusedReason_Code_UNINDEXEDSEARCHFIELDS = IndexUnusedReason_Code "UNINDEXED_SEARCH_FIELDS"++-- | Indicates the search index does not support the given search query pattern.+pattern IndexUnusedReason_Code_UNSUPPORTEDSEARCHPATTERN :: IndexUnusedReason_Code+pattern IndexUnusedReason_Code_UNSUPPORTEDSEARCHPATTERN = IndexUnusedReason_Code "UNSUPPORTED_SEARCH_PATTERN"++-- | Indicates the query has been optimized by using a materialized view.+pattern IndexUnusedReason_Code_OPTIMIZEDWITHMATERIALIZEDVIEW :: IndexUnusedReason_Code+pattern IndexUnusedReason_Code_OPTIMIZEDWITHMATERIALIZEDVIEW = IndexUnusedReason_Code "OPTIMIZED_WITH_MATERIALIZED_VIEW"++-- | Indicates the query has been secured by data masking, and thus search indexes are not applicable.+pattern IndexUnusedReason_Code_SECUREDBYDATAMASKING :: IndexUnusedReason_Code+pattern IndexUnusedReason_Code_SECUREDBYDATAMASKING = IndexUnusedReason_Code "SECURED_BY_DATA_MASKING"++-- | Indicates that the search index and the search function call do not have the same text analyzer.+pattern IndexUnusedReason_Code_MISMATCHEDTEXTANALYZER :: IndexUnusedReason_Code+pattern IndexUnusedReason_Code_MISMATCHEDTEXTANALYZER = IndexUnusedReason_Code "MISMATCHED_TEXT_ANALYZER"++-- | Indicates the base table is too small (below a certain threshold). The index does not provide noticeable search performance gains when the base table is too small.+pattern IndexUnusedReason_Code_BASETABLETOOSMALL :: IndexUnusedReason_Code+pattern IndexUnusedReason_Code_BASETABLETOOSMALL = IndexUnusedReason_Code "BASE_TABLE_TOO_SMALL"++-- | Indicates that the total size of indexed base tables in your organization exceeds your region\'s limit and the index is not used in the query. To index larger base tables, you can use your own reservation for index-management jobs.+pattern IndexUnusedReason_Code_BASETABLETOOLARGE :: IndexUnusedReason_Code+pattern IndexUnusedReason_Code_BASETABLETOOLARGE = IndexUnusedReason_Code "BASE_TABLE_TOO_LARGE"++-- | Indicates that the estimated performance gain from using the search index is too low for the given search query.+pattern IndexUnusedReason_Code_ESTIMATEDPERFORMANCEGAINTOOLOW :: IndexUnusedReason_Code+pattern IndexUnusedReason_Code_ESTIMATEDPERFORMANCEGAINTOOLOW = IndexUnusedReason_Code "ESTIMATED_PERFORMANCE_GAIN_TOO_LOW"++-- | Indicates that search indexes can not be used for search query with STANDARD edition.+pattern IndexUnusedReason_Code_NOTSUPPORTEDINSTANDARDEDITION :: IndexUnusedReason_Code+pattern IndexUnusedReason_Code_NOTSUPPORTEDINSTANDARDEDITION = IndexUnusedReason_Code "NOT_SUPPORTED_IN_STANDARD_EDITION"++-- | Indicates that an option in the search function that cannot make use of the index has been selected.+pattern IndexUnusedReason_Code_INDEXSUPPRESSEDBYFUNCTIONOPTION :: IndexUnusedReason_Code+pattern IndexUnusedReason_Code_INDEXSUPPRESSEDBYFUNCTIONOPTION = IndexUnusedReason_Code "INDEX_SUPPRESSED_BY_FUNCTION_OPTION"++-- | Indicates that the query was cached, and thus the search index was not used.+pattern IndexUnusedReason_Code_QUERYCACHEHIT :: IndexUnusedReason_Code+pattern IndexUnusedReason_Code_QUERYCACHEHIT = IndexUnusedReason_Code "QUERY_CACHE_HIT"++-- | The index cannot be used in the search query because it is stale.+pattern IndexUnusedReason_Code_STALEINDEX :: IndexUnusedReason_Code+pattern IndexUnusedReason_Code_STALEINDEX = IndexUnusedReason_Code "STALE_INDEX"++-- | Indicates an internal error that causes the search index to be unused.+pattern IndexUnusedReason_Code_INTERNALERROR :: IndexUnusedReason_Code+pattern IndexUnusedReason_Code_INTERNALERROR = IndexUnusedReason_Code "INTERNAL_ERROR"++-- | Indicates that the reason search indexes cannot be used in the query is not covered by any of the other IndexUnusedReason options.+pattern IndexUnusedReason_Code_OTHERREASON :: IndexUnusedReason_Code+pattern IndexUnusedReason_Code_OTHERREASON = IndexUnusedReason_Code "OTHER_REASON"++{-# COMPLETE+  IndexUnusedReason_Code_CODEUNSPECIFIED,+  IndexUnusedReason_Code_INDEXCONFIGNOTAVAILABLE,+  IndexUnusedReason_Code_PENDINGINDEXCREATION,+  IndexUnusedReason_Code_BASETABLETRUNCATED,+  IndexUnusedReason_Code_INDEXCONFIGMODIFIED,+  IndexUnusedReason_Code_TIMETRAVELQUERY,+  IndexUnusedReason_Code_NOPRUNINGPOWER,+  IndexUnusedReason_Code_UNINDEXEDSEARCHFIELDS,+  IndexUnusedReason_Code_UNSUPPORTEDSEARCHPATTERN,+  IndexUnusedReason_Code_OPTIMIZEDWITHMATERIALIZEDVIEW,+  IndexUnusedReason_Code_SECUREDBYDATAMASKING,+  IndexUnusedReason_Code_MISMATCHEDTEXTANALYZER,+  IndexUnusedReason_Code_BASETABLETOOSMALL,+  IndexUnusedReason_Code_BASETABLETOOLARGE,+  IndexUnusedReason_Code_ESTIMATEDPERFORMANCEGAINTOOLOW,+  IndexUnusedReason_Code_NOTSUPPORTEDINSTANDARDEDITION,+  IndexUnusedReason_Code_INDEXSUPPRESSEDBYFUNCTIONOPTION,+  IndexUnusedReason_Code_QUERYCACHEHIT,+  IndexUnusedReason_Code_STALEINDEX,+  IndexUnusedReason_Code_INTERNALERROR,+  IndexUnusedReason_Code_OTHERREASON,+  IndexUnusedReason_Code+  #-}++-- | Optional. Character map supported for column names in CSV\/Parquet loads. Defaults to STRICT and can be overridden by Project Config Service. Using this option with unsupporting load formats will result in an error.+newtype JobConfigurationLoad_ColumnNameCharacterMap = JobConfigurationLoad_ColumnNameCharacterMap {fromJobConfigurationLoad_ColumnNameCharacterMap :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Unspecified column name character map.+pattern JobConfigurationLoad_ColumnNameCharacterMap_COLUMNNAMECHARACTERMAPUNSPECIFIED :: JobConfigurationLoad_ColumnNameCharacterMap+pattern JobConfigurationLoad_ColumnNameCharacterMap_COLUMNNAMECHARACTERMAPUNSPECIFIED = JobConfigurationLoad_ColumnNameCharacterMap "COLUMN_NAME_CHARACTER_MAP_UNSPECIFIED"++-- | Support flexible column name and reject invalid column names.+pattern JobConfigurationLoad_ColumnNameCharacterMap_Strict :: JobConfigurationLoad_ColumnNameCharacterMap+pattern JobConfigurationLoad_ColumnNameCharacterMap_Strict = JobConfigurationLoad_ColumnNameCharacterMap "STRICT"++-- | Support alphanumeric + underscore characters and names must start with a letter or underscore. Invalid column names will be normalized.+pattern JobConfigurationLoad_ColumnNameCharacterMap_V1 :: JobConfigurationLoad_ColumnNameCharacterMap+pattern JobConfigurationLoad_ColumnNameCharacterMap_V1 = JobConfigurationLoad_ColumnNameCharacterMap "V1"++-- | Support flexible column name. Invalid column names will be normalized.+pattern JobConfigurationLoad_ColumnNameCharacterMap_V2 :: JobConfigurationLoad_ColumnNameCharacterMap+pattern JobConfigurationLoad_ColumnNameCharacterMap_V2 = JobConfigurationLoad_ColumnNameCharacterMap "V2"++{-# COMPLETE+  JobConfigurationLoad_ColumnNameCharacterMap_COLUMNNAMECHARACTERMAPUNSPECIFIED,+  JobConfigurationLoad_ColumnNameCharacterMap_Strict,+  JobConfigurationLoad_ColumnNameCharacterMap_V1,+  JobConfigurationLoad_ColumnNameCharacterMap_V2,+  JobConfigurationLoad_ColumnNameCharacterMap+  #-}++newtype JobConfigurationLoad_DecimalTargetTypesItem = JobConfigurationLoad_DecimalTargetTypesItem {fromJobConfigurationLoad_DecimalTargetTypesItem :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Invalid type.+pattern JobConfigurationLoad_DecimalTargetTypesItem_DECIMALTARGETTYPEUNSPECIFIED :: JobConfigurationLoad_DecimalTargetTypesItem+pattern JobConfigurationLoad_DecimalTargetTypesItem_DECIMALTARGETTYPEUNSPECIFIED = JobConfigurationLoad_DecimalTargetTypesItem "DECIMAL_TARGET_TYPE_UNSPECIFIED"++-- | Decimal values could be converted to NUMERIC type.+pattern JobConfigurationLoad_DecimalTargetTypesItem_Numeric :: JobConfigurationLoad_DecimalTargetTypesItem+pattern JobConfigurationLoad_DecimalTargetTypesItem_Numeric = JobConfigurationLoad_DecimalTargetTypesItem "NUMERIC"++-- | Decimal values could be converted to BIGNUMERIC type.+pattern JobConfigurationLoad_DecimalTargetTypesItem_Bignumeric :: JobConfigurationLoad_DecimalTargetTypesItem+pattern JobConfigurationLoad_DecimalTargetTypesItem_Bignumeric = JobConfigurationLoad_DecimalTargetTypesItem "BIGNUMERIC"++-- | Decimal values could be converted to STRING type.+pattern JobConfigurationLoad_DecimalTargetTypesItem_String :: JobConfigurationLoad_DecimalTargetTypesItem+pattern JobConfigurationLoad_DecimalTargetTypesItem_String = JobConfigurationLoad_DecimalTargetTypesItem "STRING"++{-# COMPLETE+  JobConfigurationLoad_DecimalTargetTypesItem_DECIMALTARGETTYPEUNSPECIFIED,+  JobConfigurationLoad_DecimalTargetTypesItem_Numeric,+  JobConfigurationLoad_DecimalTargetTypesItem_Bignumeric,+  JobConfigurationLoad_DecimalTargetTypesItem_String,+  JobConfigurationLoad_DecimalTargetTypesItem+  #-}++-- | Optional. Specifies how source URIs are interpreted for constructing the file set to load. By default, source URIs are expanded against the underlying storage. You can also specify manifest files to control how the file set is constructed. This option is only applicable to object storage systems.+newtype JobConfigurationLoad_FileSetSpecType = JobConfigurationLoad_FileSetSpecType {fromJobConfigurationLoad_FileSetSpecType :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | This option expands source URIs by listing files from the object store. It is the default behavior if FileSetSpecType is not set.+pattern JobConfigurationLoad_FileSetSpecType_FILESETSPECTYPEFILESYSTEMMATCH :: JobConfigurationLoad_FileSetSpecType+pattern JobConfigurationLoad_FileSetSpecType_FILESETSPECTYPEFILESYSTEMMATCH = JobConfigurationLoad_FileSetSpecType "FILE_SET_SPEC_TYPE_FILE_SYSTEM_MATCH"++-- | This option indicates that the provided URIs are newline-delimited manifest files, with one URI per line. Wildcard URIs are not supported.+pattern JobConfigurationLoad_FileSetSpecType_FILESETSPECTYPENEWLINEDELIMITEDMANIFEST :: JobConfigurationLoad_FileSetSpecType+pattern JobConfigurationLoad_FileSetSpecType_FILESETSPECTYPENEWLINEDELIMITEDMANIFEST = JobConfigurationLoad_FileSetSpecType "FILE_SET_SPEC_TYPE_NEW_LINE_DELIMITED_MANIFEST"++{-# COMPLETE+  JobConfigurationLoad_FileSetSpecType_FILESETSPECTYPEFILESYSTEMMATCH,+  JobConfigurationLoad_FileSetSpecType_FILESETSPECTYPENEWLINEDELIMITEDMANIFEST,+  JobConfigurationLoad_FileSetSpecType+  #-}++-- | Optional. Load option to be used together with source/format newline-delimited JSON to indicate that a variant of JSON is being loaded. To load newline-delimited GeoJSON, specify GEOJSON (and source/format must be set to NEWLINE/DELIMITED/JSON).+newtype JobConfigurationLoad_JsonExtension = JobConfigurationLoad_JsonExtension {fromJobConfigurationLoad_JsonExtension :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | The default if provided value is not one included in the enum, or the value is not specified. The source format is parsed without any modification.+pattern JobConfigurationLoad_JsonExtension_JSONEXTENSIONUNSPECIFIED :: JobConfigurationLoad_JsonExtension+pattern JobConfigurationLoad_JsonExtension_JSONEXTENSIONUNSPECIFIED = JobConfigurationLoad_JsonExtension "JSON_EXTENSION_UNSPECIFIED"++-- | Use GeoJSON variant of JSON. See https:\/\/tools.ietf.org\/html\/rfc7946.+pattern JobConfigurationLoad_JsonExtension_Geojson :: JobConfigurationLoad_JsonExtension+pattern JobConfigurationLoad_JsonExtension_Geojson = JobConfigurationLoad_JsonExtension "GEOJSON"++{-# COMPLETE+  JobConfigurationLoad_JsonExtension_JSONEXTENSIONUNSPECIFIED,+  JobConfigurationLoad_JsonExtension_Geojson,+  JobConfigurationLoad_JsonExtension+  #-}++-- | Optional. Supported operation types in table copy job.+newtype JobConfigurationTableCopy_OperationType = JobConfigurationTableCopy_OperationType {fromJobConfigurationTableCopy_OperationType :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Unspecified operation type.+pattern JobConfigurationTableCopy_OperationType_OPERATIONTYPEUNSPECIFIED :: JobConfigurationTableCopy_OperationType+pattern JobConfigurationTableCopy_OperationType_OPERATIONTYPEUNSPECIFIED = JobConfigurationTableCopy_OperationType "OPERATION_TYPE_UNSPECIFIED"++-- | The source and destination table have the same table type.+pattern JobConfigurationTableCopy_OperationType_Copy :: JobConfigurationTableCopy_OperationType+pattern JobConfigurationTableCopy_OperationType_Copy = JobConfigurationTableCopy_OperationType "COPY"++-- | The source table type is TABLE and the destination table type is SNAPSHOT.+pattern JobConfigurationTableCopy_OperationType_Snapshot :: JobConfigurationTableCopy_OperationType+pattern JobConfigurationTableCopy_OperationType_Snapshot = JobConfigurationTableCopy_OperationType "SNAPSHOT"++-- | The source table type is SNAPSHOT and the destination table type is TABLE.+pattern JobConfigurationTableCopy_OperationType_Restore :: JobConfigurationTableCopy_OperationType+pattern JobConfigurationTableCopy_OperationType_Restore = JobConfigurationTableCopy_OperationType "RESTORE"++-- | The source and destination table have the same table type, but only bill for unique data.+pattern JobConfigurationTableCopy_OperationType_Clone :: JobConfigurationTableCopy_OperationType+pattern JobConfigurationTableCopy_OperationType_Clone = JobConfigurationTableCopy_OperationType "CLONE"++{-# COMPLETE+  JobConfigurationTableCopy_OperationType_OPERATIONTYPEUNSPECIFIED,+  JobConfigurationTableCopy_OperationType_Copy,+  JobConfigurationTableCopy_OperationType_Snapshot,+  JobConfigurationTableCopy_OperationType_Restore,+  JobConfigurationTableCopy_OperationType_Clone,+  JobConfigurationTableCopy_OperationType+  #-}++-- | Output only. Specifies the high level reason why a Job was created.+newtype JobCreationReason_Code = JobCreationReason_Code {fromJobCreationReason_Code :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Reason is not specified.+pattern JobCreationReason_Code_CODEUNSPECIFIED :: JobCreationReason_Code+pattern JobCreationReason_Code_CODEUNSPECIFIED = JobCreationReason_Code "CODE_UNSPECIFIED"++-- | Job creation was requested.+pattern JobCreationReason_Code_Requested :: JobCreationReason_Code+pattern JobCreationReason_Code_Requested = JobCreationReason_Code "REQUESTED"++-- | The query request ran beyond a system defined timeout specified by the <https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs/query#queryrequest timeoutMs field in the QueryRequest>. As a result it was considered a long running operation for which a job was created.+pattern JobCreationReason_Code_LONGRUNNING :: JobCreationReason_Code+pattern JobCreationReason_Code_LONGRUNNING = JobCreationReason_Code "LONG_RUNNING"++-- | The results from the query cannot fit in the response.+pattern JobCreationReason_Code_LARGERESULTS :: JobCreationReason_Code+pattern JobCreationReason_Code_LARGERESULTS = JobCreationReason_Code "LARGE_RESULTS"++-- | BigQuery has determined that the query needs to be executed as a Job.+pattern JobCreationReason_Code_Other :: JobCreationReason_Code+pattern JobCreationReason_Code_Other = JobCreationReason_Code "OTHER"++{-# COMPLETE+  JobCreationReason_Code_CODEUNSPECIFIED,+  JobCreationReason_Code_Requested,+  JobCreationReason_Code_LONGRUNNING,+  JobCreationReason_Code_LARGERESULTS,+  JobCreationReason_Code_Other,+  JobCreationReason_Code+  #-}++-- | Output only. Name of edition corresponding to the reservation for this job at the time of this update.+newtype JobStatistics_Edition = JobStatistics_Edition {fromJobStatistics_Edition :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Default value, which will be treated as ENTERPRISE.+pattern JobStatistics_Edition_RESERVATIONEDITIONUNSPECIFIED :: JobStatistics_Edition+pattern JobStatistics_Edition_RESERVATIONEDITIONUNSPECIFIED = JobStatistics_Edition "RESERVATION_EDITION_UNSPECIFIED"++-- | Standard edition.+pattern JobStatistics_Edition_Standard :: JobStatistics_Edition+pattern JobStatistics_Edition_Standard = JobStatistics_Edition "STANDARD"++-- | Enterprise edition.+pattern JobStatistics_Edition_Enterprise :: JobStatistics_Edition+pattern JobStatistics_Edition_Enterprise = JobStatistics_Edition "ENTERPRISE"++-- | Enterprise Plus edition.+pattern JobStatistics_Edition_ENTERPRISEPLUS :: JobStatistics_Edition+pattern JobStatistics_Edition_ENTERPRISEPLUS = JobStatistics_Edition "ENTERPRISE_PLUS"++{-# COMPLETE+  JobStatistics_Edition_RESERVATIONEDITIONUNSPECIFIED,+  JobStatistics_Edition_Standard,+  JobStatistics_Edition_Enterprise,+  JobStatistics_Edition_ENTERPRISEPLUS,+  JobStatistics_Edition+  #-}++-- | Optional. Specifies if a join is required or not on queries for the view. Default is JOIN/CONDITION/UNSPECIFIED.+newtype JoinRestrictionPolicy_JoinCondition = JoinRestrictionPolicy_JoinCondition {fromJoinRestrictionPolicy_JoinCondition :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | A join is neither required nor restricted on any column. Default value.+pattern JoinRestrictionPolicy_JoinCondition_JOINCONDITIONUNSPECIFIED :: JoinRestrictionPolicy_JoinCondition+pattern JoinRestrictionPolicy_JoinCondition_JOINCONDITIONUNSPECIFIED = JoinRestrictionPolicy_JoinCondition "JOIN_CONDITION_UNSPECIFIED"++-- | A join is required on at least one of the specified columns.+pattern JoinRestrictionPolicy_JoinCondition_JOINANY :: JoinRestrictionPolicy_JoinCondition+pattern JoinRestrictionPolicy_JoinCondition_JOINANY = JoinRestrictionPolicy_JoinCondition "JOIN_ANY"++-- | A join is required on all specified columns.+pattern JoinRestrictionPolicy_JoinCondition_JOINALL :: JoinRestrictionPolicy_JoinCondition+pattern JoinRestrictionPolicy_JoinCondition_JOINALL = JoinRestrictionPolicy_JoinCondition "JOIN_ALL"++-- | A join is not required, but if present it is only permitted on \'join/allowed/columns\'+pattern JoinRestrictionPolicy_JoinCondition_JOINNOTREQUIRED :: JoinRestrictionPolicy_JoinCondition+pattern JoinRestrictionPolicy_JoinCondition_JOINNOTREQUIRED = JoinRestrictionPolicy_JoinCondition "JOIN_NOT_REQUIRED"++-- | Joins are blocked for all queries.+pattern JoinRestrictionPolicy_JoinCondition_JOINBLOCKED :: JoinRestrictionPolicy_JoinCondition+pattern JoinRestrictionPolicy_JoinCondition_JOINBLOCKED = JoinRestrictionPolicy_JoinCondition "JOIN_BLOCKED"++{-# COMPLETE+  JoinRestrictionPolicy_JoinCondition_JOINCONDITIONUNSPECIFIED,+  JoinRestrictionPolicy_JoinCondition_JOINANY,+  JoinRestrictionPolicy_JoinCondition_JOINALL,+  JoinRestrictionPolicy_JoinCondition_JOINNOTREQUIRED,+  JoinRestrictionPolicy_JoinCondition_JOINBLOCKED,+  JoinRestrictionPolicy_JoinCondition+  #-}++-- | Output only. Specifies whether Linked Dataset is currently in a linked state or not.+newtype LinkedDatasetMetadata_LinkState = LinkedDatasetMetadata_LinkState {fromLinkedDatasetMetadata_LinkState :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | The default value. Default to the LINKED state.+pattern LinkedDatasetMetadata_LinkState_LINKSTATEUNSPECIFIED :: LinkedDatasetMetadata_LinkState+pattern LinkedDatasetMetadata_LinkState_LINKSTATEUNSPECIFIED = LinkedDatasetMetadata_LinkState "LINK_STATE_UNSPECIFIED"++-- | Normal Linked Dataset state. Data is queryable via the Linked Dataset.+pattern LinkedDatasetMetadata_LinkState_Linked :: LinkedDatasetMetadata_LinkState+pattern LinkedDatasetMetadata_LinkState_Linked = LinkedDatasetMetadata_LinkState "LINKED"++-- | Data publisher or owner has unlinked this Linked Dataset. It means you can no longer query or see the data in the Linked Dataset.+pattern LinkedDatasetMetadata_LinkState_Unlinked :: LinkedDatasetMetadata_LinkState+pattern LinkedDatasetMetadata_LinkState_Unlinked = LinkedDatasetMetadata_LinkState "UNLINKED"++{-# COMPLETE+  LinkedDatasetMetadata_LinkState_LINKSTATEUNSPECIFIED,+  LinkedDatasetMetadata_LinkState_Linked,+  LinkedDatasetMetadata_LinkState_Unlinked,+  LinkedDatasetMetadata_LinkState+  #-}++-- | If present, specifies the reason why the materialized view was not chosen for the query.+newtype MaterializedView_RejectedReason = MaterializedView_RejectedReason {fromMaterializedView_RejectedReason :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Default unspecified value.+pattern MaterializedView_RejectedReason_REJECTEDREASONUNSPECIFIED :: MaterializedView_RejectedReason+pattern MaterializedView_RejectedReason_REJECTEDREASONUNSPECIFIED = MaterializedView_RejectedReason "REJECTED_REASON_UNSPECIFIED"++-- | View has no cached data because it has not refreshed yet.+pattern MaterializedView_RejectedReason_NODATA :: MaterializedView_RejectedReason+pattern MaterializedView_RejectedReason_NODATA = MaterializedView_RejectedReason "NO_DATA"++-- | The estimated cost of the view is more expensive than another view or the base table. Note: The estimate cost might not match the billed cost.+pattern MaterializedView_RejectedReason_Cost :: MaterializedView_RejectedReason+pattern MaterializedView_RejectedReason_Cost = MaterializedView_RejectedReason "COST"++-- | View has no cached data because a base table is truncated.+pattern MaterializedView_RejectedReason_BASETABLETRUNCATED :: MaterializedView_RejectedReason+pattern MaterializedView_RejectedReason_BASETABLETRUNCATED = MaterializedView_RejectedReason "BASE_TABLE_TRUNCATED"++-- | View is invalidated because of a data change in one or more base tables. It could be any recent change if the <https://cloud.google.com/bigquery/docs/reference/rest/v2/tables#Table.FIELDS.max_staleness maxStaleness> option is not set for the view, or otherwise any change outside of the staleness window.+pattern MaterializedView_RejectedReason_BASETABLEDATACHANGE :: MaterializedView_RejectedReason+pattern MaterializedView_RejectedReason_BASETABLEDATACHANGE = MaterializedView_RejectedReason "BASE_TABLE_DATA_CHANGE"++-- | View is invalidated because a base table\'s partition expiration has changed.+pattern MaterializedView_RejectedReason_BASETABLEPARTITIONEXPIRATIONCHANGE :: MaterializedView_RejectedReason+pattern MaterializedView_RejectedReason_BASETABLEPARTITIONEXPIRATIONCHANGE = MaterializedView_RejectedReason "BASE_TABLE_PARTITION_EXPIRATION_CHANGE"++-- | View is invalidated because a base table\'s partition has expired.+pattern MaterializedView_RejectedReason_BASETABLEEXPIREDPARTITION :: MaterializedView_RejectedReason+pattern MaterializedView_RejectedReason_BASETABLEEXPIREDPARTITION = MaterializedView_RejectedReason "BASE_TABLE_EXPIRED_PARTITION"++-- | View is invalidated because a base table has an incompatible metadata change.+pattern MaterializedView_RejectedReason_BASETABLEINCOMPATIBLEMETADATACHANGE :: MaterializedView_RejectedReason+pattern MaterializedView_RejectedReason_BASETABLEINCOMPATIBLEMETADATACHANGE = MaterializedView_RejectedReason "BASE_TABLE_INCOMPATIBLE_METADATA_CHANGE"++-- | View is invalidated because it was refreshed with a time zone other than that of the current job.+pattern MaterializedView_RejectedReason_TIMEZONE :: MaterializedView_RejectedReason+pattern MaterializedView_RejectedReason_TIMEZONE = MaterializedView_RejectedReason "TIME_ZONE"++-- | View is outside the time travel window.+pattern MaterializedView_RejectedReason_OUTOFTIMETRAVELWINDOW :: MaterializedView_RejectedReason+pattern MaterializedView_RejectedReason_OUTOFTIMETRAVELWINDOW = MaterializedView_RejectedReason "OUT_OF_TIME_TRAVEL_WINDOW"++-- | View is inaccessible to the user because of a fine-grained security policy on one of its base tables.+pattern MaterializedView_RejectedReason_BASETABLEFINEGRAINEDSECURITYPOLICY :: MaterializedView_RejectedReason+pattern MaterializedView_RejectedReason_BASETABLEFINEGRAINEDSECURITYPOLICY = MaterializedView_RejectedReason "BASE_TABLE_FINE_GRAINED_SECURITY_POLICY"++-- | One of the view\'s base tables is too stale. For example, the cached metadata of a BigLake external table needs to be updated.+pattern MaterializedView_RejectedReason_BASETABLETOOSTALE :: MaterializedView_RejectedReason+pattern MaterializedView_RejectedReason_BASETABLETOOSTALE = MaterializedView_RejectedReason "BASE_TABLE_TOO_STALE"++{-# COMPLETE+  MaterializedView_RejectedReason_REJECTEDREASONUNSPECIFIED,+  MaterializedView_RejectedReason_NODATA,+  MaterializedView_RejectedReason_Cost,+  MaterializedView_RejectedReason_BASETABLETRUNCATED,+  MaterializedView_RejectedReason_BASETABLEDATACHANGE,+  MaterializedView_RejectedReason_BASETABLEPARTITIONEXPIRATIONCHANGE,+  MaterializedView_RejectedReason_BASETABLEEXPIREDPARTITION,+  MaterializedView_RejectedReason_BASETABLEINCOMPATIBLEMETADATACHANGE,+  MaterializedView_RejectedReason_TIMEZONE,+  MaterializedView_RejectedReason_OUTOFTIMETRAVELWINDOW,+  MaterializedView_RejectedReason_BASETABLEFINEGRAINEDSECURITYPOLICY,+  MaterializedView_RejectedReason_BASETABLETOOSTALE,+  MaterializedView_RejectedReason+  #-}++-- | Output only. The type of the model that is being trained.+newtype MlStatistics_ModelType = MlStatistics_ModelType {fromMlStatistics_ModelType :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Default value.+pattern MlStatistics_ModelType_MODELTYPEUNSPECIFIED :: MlStatistics_ModelType+pattern MlStatistics_ModelType_MODELTYPEUNSPECIFIED = MlStatistics_ModelType "MODEL_TYPE_UNSPECIFIED"++-- | Linear regression model.+pattern MlStatistics_ModelType_LINEARREGRESSION :: MlStatistics_ModelType+pattern MlStatistics_ModelType_LINEARREGRESSION = MlStatistics_ModelType "LINEAR_REGRESSION"++-- | Logistic regression based classification model.+pattern MlStatistics_ModelType_LOGISTICREGRESSION :: MlStatistics_ModelType+pattern MlStatistics_ModelType_LOGISTICREGRESSION = MlStatistics_ModelType "LOGISTIC_REGRESSION"++-- | K-means clustering model.+pattern MlStatistics_ModelType_Kmeans :: MlStatistics_ModelType+pattern MlStatistics_ModelType_Kmeans = MlStatistics_ModelType "KMEANS"++-- | Matrix factorization model.+pattern MlStatistics_ModelType_MATRIXFACTORIZATION :: MlStatistics_ModelType+pattern MlStatistics_ModelType_MATRIXFACTORIZATION = MlStatistics_ModelType "MATRIX_FACTORIZATION"++-- | DNN classifier model.+pattern MlStatistics_ModelType_DNNCLASSIFIER :: MlStatistics_ModelType+pattern MlStatistics_ModelType_DNNCLASSIFIER = MlStatistics_ModelType "DNN_CLASSIFIER"++-- | An imported TensorFlow model.+pattern MlStatistics_ModelType_Tensorflow :: MlStatistics_ModelType+pattern MlStatistics_ModelType_Tensorflow = MlStatistics_ModelType "TENSORFLOW"++-- | DNN regressor model.+pattern MlStatistics_ModelType_DNNREGRESSOR :: MlStatistics_ModelType+pattern MlStatistics_ModelType_DNNREGRESSOR = MlStatistics_ModelType "DNN_REGRESSOR"++-- | An imported XGBoost model.+pattern MlStatistics_ModelType_Xgboost :: MlStatistics_ModelType+pattern MlStatistics_ModelType_Xgboost = MlStatistics_ModelType "XGBOOST"++-- | Boosted tree regressor model.+pattern MlStatistics_ModelType_BOOSTEDTREEREGRESSOR :: MlStatistics_ModelType+pattern MlStatistics_ModelType_BOOSTEDTREEREGRESSOR = MlStatistics_ModelType "BOOSTED_TREE_REGRESSOR"++-- | Boosted tree classifier model.+pattern MlStatistics_ModelType_BOOSTEDTREECLASSIFIER :: MlStatistics_ModelType+pattern MlStatistics_ModelType_BOOSTEDTREECLASSIFIER = MlStatistics_ModelType "BOOSTED_TREE_CLASSIFIER"++-- | ARIMA model.+pattern MlStatistics_ModelType_Arima :: MlStatistics_ModelType+pattern MlStatistics_ModelType_Arima = MlStatistics_ModelType "ARIMA"++-- | AutoML Tables regression model.+pattern MlStatistics_ModelType_AUTOMLREGRESSOR :: MlStatistics_ModelType+pattern MlStatistics_ModelType_AUTOMLREGRESSOR = MlStatistics_ModelType "AUTOML_REGRESSOR"++-- | AutoML Tables classification model.+pattern MlStatistics_ModelType_AUTOMLCLASSIFIER :: MlStatistics_ModelType+pattern MlStatistics_ModelType_AUTOMLCLASSIFIER = MlStatistics_ModelType "AUTOML_CLASSIFIER"++-- | Prinpical Component Analysis model.+pattern MlStatistics_ModelType_Pca :: MlStatistics_ModelType+pattern MlStatistics_ModelType_Pca = MlStatistics_ModelType "PCA"++-- | Wide-and-deep classifier model.+pattern MlStatistics_ModelType_DNNLINEARCOMBINEDCLASSIFIER :: MlStatistics_ModelType+pattern MlStatistics_ModelType_DNNLINEARCOMBINEDCLASSIFIER = MlStatistics_ModelType "DNN_LINEAR_COMBINED_CLASSIFIER"++-- | Wide-and-deep regressor model.+pattern MlStatistics_ModelType_DNNLINEARCOMBINEDREGRESSOR :: MlStatistics_ModelType+pattern MlStatistics_ModelType_DNNLINEARCOMBINEDREGRESSOR = MlStatistics_ModelType "DNN_LINEAR_COMBINED_REGRESSOR"++-- | Autoencoder model.+pattern MlStatistics_ModelType_Autoencoder :: MlStatistics_ModelType+pattern MlStatistics_ModelType_Autoencoder = MlStatistics_ModelType "AUTOENCODER"++-- | New name for the ARIMA model.+pattern MlStatistics_ModelType_ARIMAPLUS :: MlStatistics_ModelType+pattern MlStatistics_ModelType_ARIMAPLUS = MlStatistics_ModelType "ARIMA_PLUS"++-- | ARIMA with external regressors.+pattern MlStatistics_ModelType_ARIMAPLUSXREG :: MlStatistics_ModelType+pattern MlStatistics_ModelType_ARIMAPLUSXREG = MlStatistics_ModelType "ARIMA_PLUS_XREG"++-- | Random forest regressor model.+pattern MlStatistics_ModelType_RANDOMFORESTREGRESSOR :: MlStatistics_ModelType+pattern MlStatistics_ModelType_RANDOMFORESTREGRESSOR = MlStatistics_ModelType "RANDOM_FOREST_REGRESSOR"++-- | Random forest classifier model.+pattern MlStatistics_ModelType_RANDOMFORESTCLASSIFIER :: MlStatistics_ModelType+pattern MlStatistics_ModelType_RANDOMFORESTCLASSIFIER = MlStatistics_ModelType "RANDOM_FOREST_CLASSIFIER"++-- | An imported TensorFlow Lite model.+pattern MlStatistics_ModelType_TENSORFLOWLITE :: MlStatistics_ModelType+pattern MlStatistics_ModelType_TENSORFLOWLITE = MlStatistics_ModelType "TENSORFLOW_LITE"++-- | An imported ONNX model.+pattern MlStatistics_ModelType_Onnx :: MlStatistics_ModelType+pattern MlStatistics_ModelType_Onnx = MlStatistics_ModelType "ONNX"++-- | Model to capture the columns and logic in the TRANSFORM clause along with statistics useful for ML analytic functions.+pattern MlStatistics_ModelType_TRANSFORMONLY :: MlStatistics_ModelType+pattern MlStatistics_ModelType_TRANSFORMONLY = MlStatistics_ModelType "TRANSFORM_ONLY"++-- | The contribution analysis model.+pattern MlStatistics_ModelType_CONTRIBUTIONANALYSIS :: MlStatistics_ModelType+pattern MlStatistics_ModelType_CONTRIBUTIONANALYSIS = MlStatistics_ModelType "CONTRIBUTION_ANALYSIS"++{-# COMPLETE+  MlStatistics_ModelType_MODELTYPEUNSPECIFIED,+  MlStatistics_ModelType_LINEARREGRESSION,+  MlStatistics_ModelType_LOGISTICREGRESSION,+  MlStatistics_ModelType_Kmeans,+  MlStatistics_ModelType_MATRIXFACTORIZATION,+  MlStatistics_ModelType_DNNCLASSIFIER,+  MlStatistics_ModelType_Tensorflow,+  MlStatistics_ModelType_DNNREGRESSOR,+  MlStatistics_ModelType_Xgboost,+  MlStatistics_ModelType_BOOSTEDTREEREGRESSOR,+  MlStatistics_ModelType_BOOSTEDTREECLASSIFIER,+  MlStatistics_ModelType_Arima,+  MlStatistics_ModelType_AUTOMLREGRESSOR,+  MlStatistics_ModelType_AUTOMLCLASSIFIER,+  MlStatistics_ModelType_Pca,+  MlStatistics_ModelType_DNNLINEARCOMBINEDCLASSIFIER,+  MlStatistics_ModelType_DNNLINEARCOMBINEDREGRESSOR,+  MlStatistics_ModelType_Autoencoder,+  MlStatistics_ModelType_ARIMAPLUS,+  MlStatistics_ModelType_ARIMAPLUSXREG,+  MlStatistics_ModelType_RANDOMFORESTREGRESSOR,+  MlStatistics_ModelType_RANDOMFORESTCLASSIFIER,+  MlStatistics_ModelType_TENSORFLOWLITE,+  MlStatistics_ModelType_Onnx,+  MlStatistics_ModelType_TRANSFORMONLY,+  MlStatistics_ModelType_CONTRIBUTIONANALYSIS,+  MlStatistics_ModelType+  #-}++-- | Output only. Training type of the job.+newtype MlStatistics_TrainingType = MlStatistics_TrainingType {fromMlStatistics_TrainingType :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Unspecified training type.+pattern MlStatistics_TrainingType_TRAININGTYPEUNSPECIFIED :: MlStatistics_TrainingType+pattern MlStatistics_TrainingType_TRAININGTYPEUNSPECIFIED = MlStatistics_TrainingType "TRAINING_TYPE_UNSPECIFIED"++-- | Single training with fixed parameter space.+pattern MlStatistics_TrainingType_SINGLETRAINING :: MlStatistics_TrainingType+pattern MlStatistics_TrainingType_SINGLETRAINING = MlStatistics_TrainingType "SINGLE_TRAINING"++-- | <https://cloud.google.com/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-hp-tuning-overview Hyperparameter tuning training>.+pattern MlStatistics_TrainingType_HPARAMTUNING :: MlStatistics_TrainingType+pattern MlStatistics_TrainingType_HPARAMTUNING = MlStatistics_TrainingType "HPARAM_TUNING"++{-# COMPLETE+  MlStatistics_TrainingType_TRAININGTYPEUNSPECIFIED,+  MlStatistics_TrainingType_SINGLETRAINING,+  MlStatistics_TrainingType_HPARAMTUNING,+  MlStatistics_TrainingType+  #-}++-- | Output only. Type of the model resource.+newtype Model_ModelType = Model_ModelType {fromModel_ModelType :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Default value.+pattern Model_ModelType_MODELTYPEUNSPECIFIED :: Model_ModelType+pattern Model_ModelType_MODELTYPEUNSPECIFIED = Model_ModelType "MODEL_TYPE_UNSPECIFIED"++-- | Linear regression model.+pattern Model_ModelType_LINEARREGRESSION :: Model_ModelType+pattern Model_ModelType_LINEARREGRESSION = Model_ModelType "LINEAR_REGRESSION"++-- | Logistic regression based classification model.+pattern Model_ModelType_LOGISTICREGRESSION :: Model_ModelType+pattern Model_ModelType_LOGISTICREGRESSION = Model_ModelType "LOGISTIC_REGRESSION"++-- | K-means clustering model.+pattern Model_ModelType_Kmeans :: Model_ModelType+pattern Model_ModelType_Kmeans = Model_ModelType "KMEANS"++-- | Matrix factorization model.+pattern Model_ModelType_MATRIXFACTORIZATION :: Model_ModelType+pattern Model_ModelType_MATRIXFACTORIZATION = Model_ModelType "MATRIX_FACTORIZATION"++-- | DNN classifier model.+pattern Model_ModelType_DNNCLASSIFIER :: Model_ModelType+pattern Model_ModelType_DNNCLASSIFIER = Model_ModelType "DNN_CLASSIFIER"++-- | An imported TensorFlow model.+pattern Model_ModelType_Tensorflow :: Model_ModelType+pattern Model_ModelType_Tensorflow = Model_ModelType "TENSORFLOW"++-- | DNN regressor model.+pattern Model_ModelType_DNNREGRESSOR :: Model_ModelType+pattern Model_ModelType_DNNREGRESSOR = Model_ModelType "DNN_REGRESSOR"++-- | An imported XGBoost model.+pattern Model_ModelType_Xgboost :: Model_ModelType+pattern Model_ModelType_Xgboost = Model_ModelType "XGBOOST"++-- | Boosted tree regressor model.+pattern Model_ModelType_BOOSTEDTREEREGRESSOR :: Model_ModelType+pattern Model_ModelType_BOOSTEDTREEREGRESSOR = Model_ModelType "BOOSTED_TREE_REGRESSOR"++-- | Boosted tree classifier model.+pattern Model_ModelType_BOOSTEDTREECLASSIFIER :: Model_ModelType+pattern Model_ModelType_BOOSTEDTREECLASSIFIER = Model_ModelType "BOOSTED_TREE_CLASSIFIER"++-- | ARIMA model.+pattern Model_ModelType_Arima :: Model_ModelType+pattern Model_ModelType_Arima = Model_ModelType "ARIMA"++-- | AutoML Tables regression model.+pattern Model_ModelType_AUTOMLREGRESSOR :: Model_ModelType+pattern Model_ModelType_AUTOMLREGRESSOR = Model_ModelType "AUTOML_REGRESSOR"++-- | AutoML Tables classification model.+pattern Model_ModelType_AUTOMLCLASSIFIER :: Model_ModelType+pattern Model_ModelType_AUTOMLCLASSIFIER = Model_ModelType "AUTOML_CLASSIFIER"++-- | Prinpical Component Analysis model.+pattern Model_ModelType_Pca :: Model_ModelType+pattern Model_ModelType_Pca = Model_ModelType "PCA"++-- | Wide-and-deep classifier model.+pattern Model_ModelType_DNNLINEARCOMBINEDCLASSIFIER :: Model_ModelType+pattern Model_ModelType_DNNLINEARCOMBINEDCLASSIFIER = Model_ModelType "DNN_LINEAR_COMBINED_CLASSIFIER"++-- | Wide-and-deep regressor model.+pattern Model_ModelType_DNNLINEARCOMBINEDREGRESSOR :: Model_ModelType+pattern Model_ModelType_DNNLINEARCOMBINEDREGRESSOR = Model_ModelType "DNN_LINEAR_COMBINED_REGRESSOR"++-- | Autoencoder model.+pattern Model_ModelType_Autoencoder :: Model_ModelType+pattern Model_ModelType_Autoencoder = Model_ModelType "AUTOENCODER"++-- | New name for the ARIMA model.+pattern Model_ModelType_ARIMAPLUS :: Model_ModelType+pattern Model_ModelType_ARIMAPLUS = Model_ModelType "ARIMA_PLUS"++-- | ARIMA with external regressors.+pattern Model_ModelType_ARIMAPLUSXREG :: Model_ModelType+pattern Model_ModelType_ARIMAPLUSXREG = Model_ModelType "ARIMA_PLUS_XREG"++-- | Random forest regressor model.+pattern Model_ModelType_RANDOMFORESTREGRESSOR :: Model_ModelType+pattern Model_ModelType_RANDOMFORESTREGRESSOR = Model_ModelType "RANDOM_FOREST_REGRESSOR"++-- | Random forest classifier model.+pattern Model_ModelType_RANDOMFORESTCLASSIFIER :: Model_ModelType+pattern Model_ModelType_RANDOMFORESTCLASSIFIER = Model_ModelType "RANDOM_FOREST_CLASSIFIER"++-- | An imported TensorFlow Lite model.+pattern Model_ModelType_TENSORFLOWLITE :: Model_ModelType+pattern Model_ModelType_TENSORFLOWLITE = Model_ModelType "TENSORFLOW_LITE"++-- | An imported ONNX model.+pattern Model_ModelType_Onnx :: Model_ModelType+pattern Model_ModelType_Onnx = Model_ModelType "ONNX"++-- | Model to capture the columns and logic in the TRANSFORM clause along with statistics useful for ML analytic functions.+pattern Model_ModelType_TRANSFORMONLY :: Model_ModelType+pattern Model_ModelType_TRANSFORMONLY = Model_ModelType "TRANSFORM_ONLY"++-- | The contribution analysis model.+pattern Model_ModelType_CONTRIBUTIONANALYSIS :: Model_ModelType+pattern Model_ModelType_CONTRIBUTIONANALYSIS = Model_ModelType "CONTRIBUTION_ANALYSIS"++{-# COMPLETE+  Model_ModelType_MODELTYPEUNSPECIFIED,+  Model_ModelType_LINEARREGRESSION,+  Model_ModelType_LOGISTICREGRESSION,+  Model_ModelType_Kmeans,+  Model_ModelType_MATRIXFACTORIZATION,+  Model_ModelType_DNNCLASSIFIER,+  Model_ModelType_Tensorflow,+  Model_ModelType_DNNREGRESSOR,+  Model_ModelType_Xgboost,+  Model_ModelType_BOOSTEDTREEREGRESSOR,+  Model_ModelType_BOOSTEDTREECLASSIFIER,+  Model_ModelType_Arima,+  Model_ModelType_AUTOMLREGRESSOR,+  Model_ModelType_AUTOMLCLASSIFIER,+  Model_ModelType_Pca,+  Model_ModelType_DNNLINEARCOMBINEDCLASSIFIER,+  Model_ModelType_DNNLINEARCOMBINEDREGRESSOR,+  Model_ModelType_Autoencoder,+  Model_ModelType_ARIMAPLUS,+  Model_ModelType_ARIMAPLUSXREG,+  Model_ModelType_RANDOMFORESTREGRESSOR,+  Model_ModelType_RANDOMFORESTCLASSIFIER,+  Model_ModelType_TENSORFLOWLITE,+  Model_ModelType_Onnx,+  Model_ModelType_TRANSFORMONLY,+  Model_ModelType_CONTRIBUTIONANALYSIS,+  Model_ModelType+  #-}++-- | Optional. Indicates how to represent a Parquet map if present.+newtype ParquetOptions_MapTargetType = ParquetOptions_MapTargetType {fromParquetOptions_MapTargetType :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | In this mode, the map will have the following schema: struct map/field/name { repeated struct key_value { key value } }.+pattern ParquetOptions_MapTargetType_MAPTARGETTYPEUNSPECIFIED :: ParquetOptions_MapTargetType+pattern ParquetOptions_MapTargetType_MAPTARGETTYPEUNSPECIFIED = ParquetOptions_MapTargetType "MAP_TARGET_TYPE_UNSPECIFIED"++-- | In this mode, the map will have the following schema: repeated struct map/field/name { key value }.+pattern ParquetOptions_MapTargetType_ARRAYOFSTRUCT :: ParquetOptions_MapTargetType+pattern ParquetOptions_MapTargetType_ARRAYOFSTRUCT = ParquetOptions_MapTargetType "ARRAY_OF_STRUCT"++{-# COMPLETE+  ParquetOptions_MapTargetType_MAPTARGETTYPEUNSPECIFIED,+  ParquetOptions_MapTargetType_ARRAYOFSTRUCT,+  ParquetOptions_MapTargetType+  #-}++-- | Optional. If not set, jobs are always required. If set, the query request will follow the behavior described JobCreationMode. <https://cloud.google.com/products/#product-launch-stages Preview>+newtype QueryRequest_JobCreationMode = QueryRequest_JobCreationMode {fromQueryRequest_JobCreationMode :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | If unspecified JOB/CREATION/REQUIRED is the default.+pattern QueryRequest_JobCreationMode_JOBCREATIONMODEUNSPECIFIED :: QueryRequest_JobCreationMode+pattern QueryRequest_JobCreationMode_JOBCREATIONMODEUNSPECIFIED = QueryRequest_JobCreationMode "JOB_CREATION_MODE_UNSPECIFIED"++-- | Default. Job creation is always required.+pattern QueryRequest_JobCreationMode_JOBCREATIONREQUIRED :: QueryRequest_JobCreationMode+pattern QueryRequest_JobCreationMode_JOBCREATIONREQUIRED = QueryRequest_JobCreationMode "JOB_CREATION_REQUIRED"++-- | Job creation is optional. Returning immediate results is prioritized. BigQuery will automatically determine if a Job needs to be created. The conditions under which BigQuery can decide to not create a Job are subject to change. If Job creation is required, JOB/CREATION/REQUIRED mode should be used, which is the default.+pattern QueryRequest_JobCreationMode_JOBCREATIONOPTIONAL :: QueryRequest_JobCreationMode+pattern QueryRequest_JobCreationMode_JOBCREATIONOPTIONAL = QueryRequest_JobCreationMode "JOB_CREATION_OPTIONAL"++{-# COMPLETE+  QueryRequest_JobCreationMode_JOBCREATIONMODEUNSPECIFIED,+  QueryRequest_JobCreationMode_JOBCREATIONREQUIRED,+  QueryRequest_JobCreationMode_JOBCREATIONOPTIONAL,+  QueryRequest_JobCreationMode+  #-}++-- | Output only. The remote service type for remote model.+newtype RemoteModelInfo_RemoteServiceType = RemoteModelInfo_RemoteServiceType {fromRemoteModelInfo_RemoteServiceType :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Unspecified remote service type.+pattern RemoteModelInfo_RemoteServiceType_REMOTESERVICETYPEUNSPECIFIED :: RemoteModelInfo_RemoteServiceType+pattern RemoteModelInfo_RemoteServiceType_REMOTESERVICETYPEUNSPECIFIED = RemoteModelInfo_RemoteServiceType "REMOTE_SERVICE_TYPE_UNSPECIFIED"++-- | V3 Cloud AI Translation API. See more details at [Cloud Translation API] (https:\/\/cloud.google.com\/translate\/docs\/reference\/rest).+pattern RemoteModelInfo_RemoteServiceType_CLOUD_AI_TRANSLATE_V3 :: RemoteModelInfo_RemoteServiceType+pattern RemoteModelInfo_RemoteServiceType_CLOUD_AI_TRANSLATE_V3 = RemoteModelInfo_RemoteServiceType "CLOUD_AI_TRANSLATE_V3"++-- | V1 Cloud AI Vision API See more details at [Cloud Vision API] (https:\/\/cloud.google.com\/vision\/docs\/reference\/rest).+pattern RemoteModelInfo_RemoteServiceType_CLOUD_AI_VISION_V1 :: RemoteModelInfo_RemoteServiceType+pattern RemoteModelInfo_RemoteServiceType_CLOUD_AI_VISION_V1 = RemoteModelInfo_RemoteServiceType "CLOUD_AI_VISION_V1"++-- | V1 Cloud AI Natural Language API. See more details at <https://cloud.google.com/natural-language/docs/reference/rest/v1/documents REST Resource: documents>.+pattern RemoteModelInfo_RemoteServiceType_CLOUD_AI_NATURAL_LANGUAGE_V1 :: RemoteModelInfo_RemoteServiceType+pattern RemoteModelInfo_RemoteServiceType_CLOUD_AI_NATURAL_LANGUAGE_V1 = RemoteModelInfo_RemoteServiceType "CLOUD_AI_NATURAL_LANGUAGE_V1"++-- | V2 Speech-to-Text API. See more details at <https://cloud.google.com/speech-to-text/v2/docs Google Cloud Speech-to-Text V2 API>+pattern RemoteModelInfo_RemoteServiceType_CLOUD_AI_SPEECH_TO_TEXT_V2 :: RemoteModelInfo_RemoteServiceType+pattern RemoteModelInfo_RemoteServiceType_CLOUD_AI_SPEECH_TO_TEXT_V2 = RemoteModelInfo_RemoteServiceType "CLOUD_AI_SPEECH_TO_TEXT_V2"++{-# COMPLETE+  RemoteModelInfo_RemoteServiceType_REMOTESERVICETYPEUNSPECIFIED,+  RemoteModelInfo_RemoteServiceType_CLOUD_AI_TRANSLATE_V3,+  RemoteModelInfo_RemoteServiceType_CLOUD_AI_VISION_V1,+  RemoteModelInfo_RemoteServiceType_CLOUD_AI_NATURAL_LANGUAGE_V1,+  RemoteModelInfo_RemoteServiceType_CLOUD_AI_SPEECH_TO_TEXT_V2,+  RemoteModelInfo_RemoteServiceType+  #-}++-- | Output only. Specifies the type of dataset\/table restriction.+newtype RestrictionConfig_Type = RestrictionConfig_Type {fromRestrictionConfig_Type :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Should never be used.+pattern RestrictionConfig_Type_RESTRICTIONTYPEUNSPECIFIED :: RestrictionConfig_Type+pattern RestrictionConfig_Type_RESTRICTIONTYPEUNSPECIFIED = RestrictionConfig_Type "RESTRICTION_TYPE_UNSPECIFIED"++-- | Restrict data egress. See <https://cloud.google.com/bigquery/docs/analytics-hub-introduction#data_egress Data egress> for more details.+pattern RestrictionConfig_Type_RESTRICTEDDATAEGRESS :: RestrictionConfig_Type+pattern RestrictionConfig_Type_RESTRICTEDDATAEGRESS = RestrictionConfig_Type "RESTRICTED_DATA_EGRESS"++{-# COMPLETE+  RestrictionConfig_Type_RESTRICTIONTYPEUNSPECIFIED,+  RestrictionConfig_Type_RESTRICTEDDATAEGRESS,+  RestrictionConfig_Type+  #-}++-- | Optional. If set to @DATA_MASKING@, the function is validated and made available as a masking function. For more information, see <https://cloud.google.com/bigquery/docs/user-defined-functions#custom-mask Create custom masking routines>.+newtype Routine_DataGovernanceType = Routine_DataGovernanceType {fromRoutine_DataGovernanceType :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | The data governance type is unspecified.+pattern Routine_DataGovernanceType_DATAGOVERNANCETYPEUNSPECIFIED :: Routine_DataGovernanceType+pattern Routine_DataGovernanceType_DATAGOVERNANCETYPEUNSPECIFIED = Routine_DataGovernanceType "DATA_GOVERNANCE_TYPE_UNSPECIFIED"++-- | The data governance type is data masking.+pattern Routine_DataGovernanceType_DATAMASKING :: Routine_DataGovernanceType+pattern Routine_DataGovernanceType_DATAMASKING = Routine_DataGovernanceType "DATA_MASKING"++{-# COMPLETE+  Routine_DataGovernanceType_DATAGOVERNANCETYPEUNSPECIFIED,+  Routine_DataGovernanceType_DATAMASKING,+  Routine_DataGovernanceType+  #-}++-- | Optional. The determinism level of the JavaScript UDF, if defined.+newtype Routine_DeterminismLevel = Routine_DeterminismLevel {fromRoutine_DeterminismLevel :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | The determinism of the UDF is unspecified.+pattern Routine_DeterminismLevel_DETERMINISMLEVELUNSPECIFIED :: Routine_DeterminismLevel+pattern Routine_DeterminismLevel_DETERMINISMLEVELUNSPECIFIED = Routine_DeterminismLevel "DETERMINISM_LEVEL_UNSPECIFIED"++-- | The UDF is deterministic, meaning that 2 function calls with the same inputs always produce the same result, even across 2 query runs.+pattern Routine_DeterminismLevel_Deterministic :: Routine_DeterminismLevel+pattern Routine_DeterminismLevel_Deterministic = Routine_DeterminismLevel "DETERMINISTIC"++-- | The UDF is not deterministic.+pattern Routine_DeterminismLevel_NOTDETERMINISTIC :: Routine_DeterminismLevel+pattern Routine_DeterminismLevel_NOTDETERMINISTIC = Routine_DeterminismLevel "NOT_DETERMINISTIC"++{-# COMPLETE+  Routine_DeterminismLevel_DETERMINISMLEVELUNSPECIFIED,+  Routine_DeterminismLevel_Deterministic,+  Routine_DeterminismLevel_NOTDETERMINISTIC,+  Routine_DeterminismLevel+  #-}++-- | Optional. Defaults to \"SQL\" if remote/function/options field is absent, not set otherwise.+newtype Routine_Language = Routine_Language {fromRoutine_Language :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Default value.+pattern Routine_Language_LANGUAGEUNSPECIFIED :: Routine_Language+pattern Routine_Language_LANGUAGEUNSPECIFIED = Routine_Language "LANGUAGE_UNSPECIFIED"++-- | SQL language.+pattern Routine_Language_Sql :: Routine_Language+pattern Routine_Language_Sql = Routine_Language "SQL"++-- | JavaScript language.+pattern Routine_Language_Javascript :: Routine_Language+pattern Routine_Language_Javascript = Routine_Language "JAVASCRIPT"++-- | Python language.+pattern Routine_Language_Python :: Routine_Language+pattern Routine_Language_Python = Routine_Language "PYTHON"++-- | Java language.+pattern Routine_Language_Java :: Routine_Language+pattern Routine_Language_Java = Routine_Language "JAVA"++-- | Scala language.+pattern Routine_Language_Scala :: Routine_Language+pattern Routine_Language_Scala = Routine_Language "SCALA"++{-# COMPLETE+  Routine_Language_LANGUAGEUNSPECIFIED,+  Routine_Language_Sql,+  Routine_Language_Javascript,+  Routine_Language_Python,+  Routine_Language_Java,+  Routine_Language_Scala,+  Routine_Language+  #-}++-- | Required. The type of routine.+newtype Routine_RoutineType = Routine_RoutineType {fromRoutine_RoutineType :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Default value.+pattern Routine_RoutineType_ROUTINETYPEUNSPECIFIED :: Routine_RoutineType+pattern Routine_RoutineType_ROUTINETYPEUNSPECIFIED = Routine_RoutineType "ROUTINE_TYPE_UNSPECIFIED"++-- | Non-built-in persistent scalar function.+pattern Routine_RoutineType_SCALARFUNCTION :: Routine_RoutineType+pattern Routine_RoutineType_SCALARFUNCTION = Routine_RoutineType "SCALAR_FUNCTION"++-- | Stored procedure.+pattern Routine_RoutineType_Procedure :: Routine_RoutineType+pattern Routine_RoutineType_Procedure = Routine_RoutineType "PROCEDURE"++-- | Non-built-in persistent TVF.+pattern Routine_RoutineType_TABLEVALUEDFUNCTION :: Routine_RoutineType+pattern Routine_RoutineType_TABLEVALUEDFUNCTION = Routine_RoutineType "TABLE_VALUED_FUNCTION"++-- | Non-built-in persistent aggregate function.+pattern Routine_RoutineType_AGGREGATEFUNCTION :: Routine_RoutineType+pattern Routine_RoutineType_AGGREGATEFUNCTION = Routine_RoutineType "AGGREGATE_FUNCTION"++{-# COMPLETE+  Routine_RoutineType_ROUTINETYPEUNSPECIFIED,+  Routine_RoutineType_SCALARFUNCTION,+  Routine_RoutineType_Procedure,+  Routine_RoutineType_TABLEVALUEDFUNCTION,+  Routine_RoutineType_AGGREGATEFUNCTION,+  Routine_RoutineType+  #-}++-- | Optional. The security mode of the routine, if defined. If not defined, the security mode is automatically determined from the routine\'s configuration.+newtype Routine_SecurityMode = Routine_SecurityMode {fromRoutine_SecurityMode :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | The security mode of the routine is unspecified.+pattern Routine_SecurityMode_SECURITYMODEUNSPECIFIED :: Routine_SecurityMode+pattern Routine_SecurityMode_SECURITYMODEUNSPECIFIED = Routine_SecurityMode "SECURITY_MODE_UNSPECIFIED"++-- | The routine is to be executed with the privileges of the user who defines it.+pattern Routine_SecurityMode_Definer :: Routine_SecurityMode+pattern Routine_SecurityMode_Definer = Routine_SecurityMode "DEFINER"++-- | The routine is to be executed with the privileges of the user who invokes it.+pattern Routine_SecurityMode_Invoker :: Routine_SecurityMode+pattern Routine_SecurityMode_Invoker = Routine_SecurityMode "INVOKER"++{-# COMPLETE+  Routine_SecurityMode_SECURITYMODEUNSPECIFIED,+  Routine_SecurityMode_Definer,+  Routine_SecurityMode_Invoker,+  Routine_SecurityMode+  #-}++-- | Determines which statement in the script represents the \"key result\", used to populate the schema and query results of the script job. Default is LAST.+newtype ScriptOptions_KeyResultStatement = ScriptOptions_KeyResultStatement {fromScriptOptions_KeyResultStatement :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Default value.+pattern ScriptOptions_KeyResultStatement_KEYRESULTSTATEMENTKINDUNSPECIFIED :: ScriptOptions_KeyResultStatement+pattern ScriptOptions_KeyResultStatement_KEYRESULTSTATEMENTKINDUNSPECIFIED = ScriptOptions_KeyResultStatement "KEY_RESULT_STATEMENT_KIND_UNSPECIFIED"++-- | The last result determines the key result.+pattern ScriptOptions_KeyResultStatement_Last :: ScriptOptions_KeyResultStatement+pattern ScriptOptions_KeyResultStatement_Last = ScriptOptions_KeyResultStatement "LAST"++-- | The first SELECT statement determines the key result.+pattern ScriptOptions_KeyResultStatement_FIRSTSELECT :: ScriptOptions_KeyResultStatement+pattern ScriptOptions_KeyResultStatement_FIRSTSELECT = ScriptOptions_KeyResultStatement "FIRST_SELECT"++{-# COMPLETE+  ScriptOptions_KeyResultStatement_KEYRESULTSTATEMENTKINDUNSPECIFIED,+  ScriptOptions_KeyResultStatement_Last,+  ScriptOptions_KeyResultStatement_FIRSTSELECT,+  ScriptOptions_KeyResultStatement+  #-}++-- | Whether this child job was a statement or expression.+newtype ScriptStatistics_EvaluationKind = ScriptStatistics_EvaluationKind {fromScriptStatistics_EvaluationKind :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Default value.+pattern ScriptStatistics_EvaluationKind_EVALUATIONKINDUNSPECIFIED :: ScriptStatistics_EvaluationKind+pattern ScriptStatistics_EvaluationKind_EVALUATIONKINDUNSPECIFIED = ScriptStatistics_EvaluationKind "EVALUATION_KIND_UNSPECIFIED"++-- | The statement appears directly in the script.+pattern ScriptStatistics_EvaluationKind_Statement :: ScriptStatistics_EvaluationKind+pattern ScriptStatistics_EvaluationKind_Statement = ScriptStatistics_EvaluationKind "STATEMENT"++-- | The statement evaluates an expression that appears in the script.+pattern ScriptStatistics_EvaluationKind_Expression :: ScriptStatistics_EvaluationKind+pattern ScriptStatistics_EvaluationKind_Expression = ScriptStatistics_EvaluationKind "EXPRESSION"++{-# COMPLETE+  ScriptStatistics_EvaluationKind_EVALUATIONKINDUNSPECIFIED,+  ScriptStatistics_EvaluationKind_Statement,+  ScriptStatistics_EvaluationKind_Expression,+  ScriptStatistics_EvaluationKind+  #-}++-- | Specifies the index usage mode for the query.+newtype SearchStatistics_IndexUsageMode = SearchStatistics_IndexUsageMode {fromSearchStatistics_IndexUsageMode :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Index usage mode not specified.+pattern SearchStatistics_IndexUsageMode_INDEXUSAGEMODEUNSPECIFIED :: SearchStatistics_IndexUsageMode+pattern SearchStatistics_IndexUsageMode_INDEXUSAGEMODEUNSPECIFIED = SearchStatistics_IndexUsageMode "INDEX_USAGE_MODE_UNSPECIFIED"++-- | No search indexes were used in the search query. See [@indexUnusedReasons@] (\/bigquery\/docs\/reference\/rest\/v2\/Job#IndexUnusedReason) for detailed reasons.+pattern SearchStatistics_IndexUsageMode_Unused :: SearchStatistics_IndexUsageMode+pattern SearchStatistics_IndexUsageMode_Unused = SearchStatistics_IndexUsageMode "UNUSED"++-- | Part of the search query used search indexes. See [@indexUnusedReasons@] (\/bigquery\/docs\/reference\/rest\/v2\/Job#IndexUnusedReason) for why other parts of the query did not use search indexes.+pattern SearchStatistics_IndexUsageMode_PARTIALLYUSED :: SearchStatistics_IndexUsageMode+pattern SearchStatistics_IndexUsageMode_PARTIALLYUSED = SearchStatistics_IndexUsageMode "PARTIALLY_USED"++-- | The entire search query used search indexes.+pattern SearchStatistics_IndexUsageMode_FULLYUSED :: SearchStatistics_IndexUsageMode+pattern SearchStatistics_IndexUsageMode_FULLYUSED = SearchStatistics_IndexUsageMode "FULLY_USED"++{-# COMPLETE+  SearchStatistics_IndexUsageMode_INDEXUSAGEMODEUNSPECIFIED,+  SearchStatistics_IndexUsageMode_Unused,+  SearchStatistics_IndexUsageMode_PARTIALLYUSED,+  SearchStatistics_IndexUsageMode_FULLYUSED,+  SearchStatistics_IndexUsageMode+  #-}++-- | Required. The top level type of this field. Can be any GoogleSQL data type (e.g., \"INT64\", \"DATE\", \"ARRAY\").+newtype StandardSqlDataType_TypeKind = StandardSqlDataType_TypeKind {fromStandardSqlDataType_TypeKind :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Invalid type.+pattern StandardSqlDataType_TypeKind_TYPEKINDUNSPECIFIED :: StandardSqlDataType_TypeKind+pattern StandardSqlDataType_TypeKind_TYPEKINDUNSPECIFIED = StandardSqlDataType_TypeKind "TYPE_KIND_UNSPECIFIED"++-- | Encoded as a string in decimal format.+pattern StandardSqlDataType_TypeKind_INT64 :: StandardSqlDataType_TypeKind+pattern StandardSqlDataType_TypeKind_INT64 = StandardSqlDataType_TypeKind "INT64"++-- | Encoded as a boolean \"false\" or \"true\".+pattern StandardSqlDataType_TypeKind_Bool :: StandardSqlDataType_TypeKind+pattern StandardSqlDataType_TypeKind_Bool = StandardSqlDataType_TypeKind "BOOL"++-- | Encoded as a number, or string \"NaN\", \"Infinity\" or \"-Infinity\".+pattern StandardSqlDataType_TypeKind_FLOAT64 :: StandardSqlDataType_TypeKind+pattern StandardSqlDataType_TypeKind_FLOAT64 = StandardSqlDataType_TypeKind "FLOAT64"++-- | Encoded as a string value.+pattern StandardSqlDataType_TypeKind_String :: StandardSqlDataType_TypeKind+pattern StandardSqlDataType_TypeKind_String = StandardSqlDataType_TypeKind "STRING"++-- | Encoded as a base64 string per RFC 4648, section 4.+pattern StandardSqlDataType_TypeKind_Bytes :: StandardSqlDataType_TypeKind+pattern StandardSqlDataType_TypeKind_Bytes = StandardSqlDataType_TypeKind "BYTES"++-- | Encoded as an RFC 3339 timestamp with mandatory \"Z\" time zone string: 1985-04-12T23:20:50.52Z+pattern StandardSqlDataType_TypeKind_Timestamp :: StandardSqlDataType_TypeKind+pattern StandardSqlDataType_TypeKind_Timestamp = StandardSqlDataType_TypeKind "TIMESTAMP"++-- | Encoded as RFC 3339 full-date format string: 1985-04-12+pattern StandardSqlDataType_TypeKind_Date :: StandardSqlDataType_TypeKind+pattern StandardSqlDataType_TypeKind_Date = StandardSqlDataType_TypeKind "DATE"++-- | Encoded as RFC 3339 partial-time format string: 23:20:50.52+pattern StandardSqlDataType_TypeKind_Time :: StandardSqlDataType_TypeKind+pattern StandardSqlDataType_TypeKind_Time = StandardSqlDataType_TypeKind "TIME"++-- | Encoded as RFC 3339 full-date \"T\" partial-time: 1985-04-12T23:20:50.52+pattern StandardSqlDataType_TypeKind_Datetime :: StandardSqlDataType_TypeKind+pattern StandardSqlDataType_TypeKind_Datetime = StandardSqlDataType_TypeKind "DATETIME"++-- | Encoded as fully qualified 3 part: 0-5 15 2:30:45.6+pattern StandardSqlDataType_TypeKind_Interval :: StandardSqlDataType_TypeKind+pattern StandardSqlDataType_TypeKind_Interval = StandardSqlDataType_TypeKind "INTERVAL"++-- | Encoded as WKT+pattern StandardSqlDataType_TypeKind_Geography :: StandardSqlDataType_TypeKind+pattern StandardSqlDataType_TypeKind_Geography = StandardSqlDataType_TypeKind "GEOGRAPHY"++-- | Encoded as a decimal string.+pattern StandardSqlDataType_TypeKind_Numeric :: StandardSqlDataType_TypeKind+pattern StandardSqlDataType_TypeKind_Numeric = StandardSqlDataType_TypeKind "NUMERIC"++-- | Encoded as a decimal string.+pattern StandardSqlDataType_TypeKind_Bignumeric :: StandardSqlDataType_TypeKind+pattern StandardSqlDataType_TypeKind_Bignumeric = StandardSqlDataType_TypeKind "BIGNUMERIC"++-- | Encoded as a string.+pattern StandardSqlDataType_TypeKind_Json :: StandardSqlDataType_TypeKind+pattern StandardSqlDataType_TypeKind_Json = StandardSqlDataType_TypeKind "JSON"++-- | Encoded as a list with types matching Type.array_type.+pattern StandardSqlDataType_TypeKind_Array :: StandardSqlDataType_TypeKind+pattern StandardSqlDataType_TypeKind_Array = StandardSqlDataType_TypeKind "ARRAY"++-- | Encoded as a list with fields of type Type.struct_type[i]. List is used because a JSON object cannot have duplicate field names.+pattern StandardSqlDataType_TypeKind_Struct :: StandardSqlDataType_TypeKind+pattern StandardSqlDataType_TypeKind_Struct = StandardSqlDataType_TypeKind "STRUCT"++-- | Encoded as a pair with types matching range/element/type. Pairs must begin with \"[\", end with \")\", and be separated by \", \".+pattern StandardSqlDataType_TypeKind_Range :: StandardSqlDataType_TypeKind+pattern StandardSqlDataType_TypeKind_Range = StandardSqlDataType_TypeKind "RANGE"++{-# COMPLETE+  StandardSqlDataType_TypeKind_TYPEKINDUNSPECIFIED,+  StandardSqlDataType_TypeKind_INT64,+  StandardSqlDataType_TypeKind_Bool,+  StandardSqlDataType_TypeKind_FLOAT64,+  StandardSqlDataType_TypeKind_String,+  StandardSqlDataType_TypeKind_Bytes,+  StandardSqlDataType_TypeKind_Timestamp,+  StandardSqlDataType_TypeKind_Date,+  StandardSqlDataType_TypeKind_Time,+  StandardSqlDataType_TypeKind_Datetime,+  StandardSqlDataType_TypeKind_Interval,+  StandardSqlDataType_TypeKind_Geography,+  StandardSqlDataType_TypeKind_Numeric,+  StandardSqlDataType_TypeKind_Bignumeric,+  StandardSqlDataType_TypeKind_Json,+  StandardSqlDataType_TypeKind_Array,+  StandardSqlDataType_TypeKind_Struct,+  StandardSqlDataType_TypeKind_Range,+  StandardSqlDataType_TypeKind+  #-}++-- | Specifies the high-level reason for the unused scenario, each reason must have a code associated.+newtype StoredColumnsUnusedReason_Code = StoredColumnsUnusedReason_Code {fromStoredColumnsUnusedReason_Code :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Default value.+pattern StoredColumnsUnusedReason_Code_CODEUNSPECIFIED :: StoredColumnsUnusedReason_Code+pattern StoredColumnsUnusedReason_Code_CODEUNSPECIFIED = StoredColumnsUnusedReason_Code "CODE_UNSPECIFIED"++-- | If stored columns do not fully cover the columns.+pattern StoredColumnsUnusedReason_Code_STOREDCOLUMNSCOVERINSUFFICIENT :: StoredColumnsUnusedReason_Code+pattern StoredColumnsUnusedReason_Code_STOREDCOLUMNSCOVERINSUFFICIENT = StoredColumnsUnusedReason_Code "STORED_COLUMNS_COVER_INSUFFICIENT"++-- | If the base table has RLS (Row Level Security).+pattern StoredColumnsUnusedReason_Code_BASETABLEHASRLS :: StoredColumnsUnusedReason_Code+pattern StoredColumnsUnusedReason_Code_BASETABLEHASRLS = StoredColumnsUnusedReason_Code "BASE_TABLE_HAS_RLS"++-- | If the base table has CLS (Column Level Security).+pattern StoredColumnsUnusedReason_Code_BASETABLEHASCLS :: StoredColumnsUnusedReason_Code+pattern StoredColumnsUnusedReason_Code_BASETABLEHASCLS = StoredColumnsUnusedReason_Code "BASE_TABLE_HAS_CLS"++-- | If the provided prefilter is not supported.+pattern StoredColumnsUnusedReason_Code_UNSUPPORTEDPREFILTER :: StoredColumnsUnusedReason_Code+pattern StoredColumnsUnusedReason_Code_UNSUPPORTEDPREFILTER = StoredColumnsUnusedReason_Code "UNSUPPORTED_PREFILTER"++-- | If an internal error is preventing stored columns from being used.+pattern StoredColumnsUnusedReason_Code_INTERNALERROR :: StoredColumnsUnusedReason_Code+pattern StoredColumnsUnusedReason_Code_INTERNALERROR = StoredColumnsUnusedReason_Code "INTERNAL_ERROR"++-- | Indicates that the reason stored columns cannot be used in the query is not covered by any of the other StoredColumnsUnusedReason options.+pattern StoredColumnsUnusedReason_Code_OTHERREASON :: StoredColumnsUnusedReason_Code+pattern StoredColumnsUnusedReason_Code_OTHERREASON = StoredColumnsUnusedReason_Code "OTHER_REASON"++{-# COMPLETE+  StoredColumnsUnusedReason_Code_CODEUNSPECIFIED,+  StoredColumnsUnusedReason_Code_STOREDCOLUMNSCOVERINSUFFICIENT,+  StoredColumnsUnusedReason_Code_BASETABLEHASRLS,+  StoredColumnsUnusedReason_Code_BASETABLEHASCLS,+  StoredColumnsUnusedReason_Code_UNSUPPORTEDPREFILTER,+  StoredColumnsUnusedReason_Code_INTERNALERROR,+  StoredColumnsUnusedReason_Code_OTHERREASON,+  StoredColumnsUnusedReason_Code+  #-}++-- | Optional. Defines the default rounding mode specification of new decimal fields (NUMERIC OR BIGNUMERIC) in the table. During table creation or update, if a decimal field is added to this table without an explicit rounding mode specified, then the field inherits the table default rounding mode. Changing this field doesn\'t affect existing fields.+newtype Table_DefaultRoundingMode = Table_DefaultRoundingMode {fromTable_DefaultRoundingMode :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Unspecified will default to using ROUND/HALF/AWAY/FROM/ZERO.+pattern Table_DefaultRoundingMode_ROUNDINGMODEUNSPECIFIED :: Table_DefaultRoundingMode+pattern Table_DefaultRoundingMode_ROUNDINGMODEUNSPECIFIED = Table_DefaultRoundingMode "ROUNDING_MODE_UNSPECIFIED"++-- | ROUND/HALF/AWAY/FROM/ZERO rounds half values away from zero when applying precision and scale upon writing of NUMERIC and BIGNUMERIC values. For Scale: 0 1.1, 1.2, 1.3, 1.4 => 1 1.5, 1.6, 1.7, 1.8, 1.9 => 2+pattern Table_DefaultRoundingMode_ROUNDHALFAWAYFROMZERO :: Table_DefaultRoundingMode+pattern Table_DefaultRoundingMode_ROUNDHALFAWAYFROMZERO = Table_DefaultRoundingMode "ROUND_HALF_AWAY_FROM_ZERO"++-- | ROUND/HALF/EVEN rounds half values to the nearest even value when applying precision and scale upon writing of NUMERIC and BIGNUMERIC values. For Scale: 0 1.1, 1.2, 1.3, 1.4 => 1 1.5 => 2 1.6, 1.7, 1.8, 1.9 => 2 2.5 => 2+pattern Table_DefaultRoundingMode_ROUNDHALFEVEN :: Table_DefaultRoundingMode+pattern Table_DefaultRoundingMode_ROUNDHALFEVEN = Table_DefaultRoundingMode "ROUND_HALF_EVEN"++{-# COMPLETE+  Table_DefaultRoundingMode_ROUNDINGMODEUNSPECIFIED,+  Table_DefaultRoundingMode_ROUNDHALFAWAYFROMZERO,+  Table_DefaultRoundingMode_ROUNDHALFEVEN,+  Table_DefaultRoundingMode+  #-}++-- | Optional. If set, overrides the default managed table type configured in the dataset.+newtype Table_ManagedTableType = Table_ManagedTableType {fromTable_ManagedTableType :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | No managed table type specified.+pattern Table_ManagedTableType_MANAGEDTABLETYPEUNSPECIFIED :: Table_ManagedTableType+pattern Table_ManagedTableType_MANAGEDTABLETYPEUNSPECIFIED = Table_ManagedTableType "MANAGED_TABLE_TYPE_UNSPECIFIED"++-- | The managed table is a native BigQuery table.+pattern Table_ManagedTableType_Native :: Table_ManagedTableType+pattern Table_ManagedTableType_Native = Table_ManagedTableType "NATIVE"++-- | The managed table is a BigQuery table for Apache Iceberg.+pattern Table_ManagedTableType_Iceberg :: Table_ManagedTableType+pattern Table_ManagedTableType_Iceberg = Table_ManagedTableType "ICEBERG"++{-# COMPLETE+  Table_ManagedTableType_MANAGEDTABLETYPEUNSPECIFIED,+  Table_ManagedTableType_Native,+  Table_ManagedTableType_Iceberg,+  Table_ManagedTableType+  #-}++-- | Optional. Specifies the rounding mode to be used when storing values of NUMERIC and BIGNUMERIC type.+newtype TableFieldSchema_RoundingMode = TableFieldSchema_RoundingMode {fromTableFieldSchema_RoundingMode :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Unspecified will default to using ROUND/HALF/AWAY/FROM/ZERO.+pattern TableFieldSchema_RoundingMode_ROUNDINGMODEUNSPECIFIED :: TableFieldSchema_RoundingMode+pattern TableFieldSchema_RoundingMode_ROUNDINGMODEUNSPECIFIED = TableFieldSchema_RoundingMode "ROUNDING_MODE_UNSPECIFIED"++-- | ROUND/HALF/AWAY/FROM/ZERO rounds half values away from zero when applying precision and scale upon writing of NUMERIC and BIGNUMERIC values. For Scale: 0 1.1, 1.2, 1.3, 1.4 => 1 1.5, 1.6, 1.7, 1.8, 1.9 => 2+pattern TableFieldSchema_RoundingMode_ROUNDHALFAWAYFROMZERO :: TableFieldSchema_RoundingMode+pattern TableFieldSchema_RoundingMode_ROUNDHALFAWAYFROMZERO = TableFieldSchema_RoundingMode "ROUND_HALF_AWAY_FROM_ZERO"++-- | ROUND/HALF/EVEN rounds half values to the nearest even value when applying precision and scale upon writing of NUMERIC and BIGNUMERIC values. For Scale: 0 1.1, 1.2, 1.3, 1.4 => 1 1.5 => 2 1.6, 1.7, 1.8, 1.9 => 2 2.5 => 2+pattern TableFieldSchema_RoundingMode_ROUNDHALFEVEN :: TableFieldSchema_RoundingMode+pattern TableFieldSchema_RoundingMode_ROUNDHALFEVEN = TableFieldSchema_RoundingMode "ROUND_HALF_EVEN"++{-# COMPLETE+  TableFieldSchema_RoundingMode_ROUNDINGMODEUNSPECIFIED,+  TableFieldSchema_RoundingMode_ROUNDHALFAWAYFROMZERO,+  TableFieldSchema_RoundingMode_ROUNDHALFEVEN,+  TableFieldSchema_RoundingMode+  #-}++-- | Reason for not using metadata caching for the table.+newtype TableMetadataCacheUsage_UnusedReason = TableMetadataCacheUsage_UnusedReason {fromTableMetadataCacheUsage_UnusedReason :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Unused reasons not specified.+pattern TableMetadataCacheUsage_UnusedReason_UNUSEDREASONUNSPECIFIED :: TableMetadataCacheUsage_UnusedReason+pattern TableMetadataCacheUsage_UnusedReason_UNUSEDREASONUNSPECIFIED = TableMetadataCacheUsage_UnusedReason "UNUSED_REASON_UNSPECIFIED"++-- | Metadata cache was outside the table\'s maxStaleness.+pattern TableMetadataCacheUsage_UnusedReason_EXCEEDEDMAXSTALENESS :: TableMetadataCacheUsage_UnusedReason+pattern TableMetadataCacheUsage_UnusedReason_EXCEEDEDMAXSTALENESS = TableMetadataCacheUsage_UnusedReason "EXCEEDED_MAX_STALENESS"++-- | Metadata caching feature is not enabled. [Update BigLake tables] (\/bigquery\/docs\/create-cloud-storage-table-biglake#update-biglake-tables) to enable the metadata caching.+pattern TableMetadataCacheUsage_UnusedReason_METADATACACHINGNOTENABLED :: TableMetadataCacheUsage_UnusedReason+pattern TableMetadataCacheUsage_UnusedReason_METADATACACHINGNOTENABLED = TableMetadataCacheUsage_UnusedReason "METADATA_CACHING_NOT_ENABLED"++-- | Other unknown reason.+pattern TableMetadataCacheUsage_UnusedReason_OTHERREASON :: TableMetadataCacheUsage_UnusedReason+pattern TableMetadataCacheUsage_UnusedReason_OTHERREASON = TableMetadataCacheUsage_UnusedReason "OTHER_REASON"++{-# COMPLETE+  TableMetadataCacheUsage_UnusedReason_UNUSEDREASONUNSPECIFIED,+  TableMetadataCacheUsage_UnusedReason_EXCEEDEDMAXSTALENESS,+  TableMetadataCacheUsage_UnusedReason_METADATACACHINGNOTENABLED,+  TableMetadataCacheUsage_UnusedReason_OTHERREASON,+  TableMetadataCacheUsage_UnusedReason+  #-}++-- | Optional. Output only. Replication status of configured replication.+newtype TableReplicationInfo_ReplicationStatus = TableReplicationInfo_ReplicationStatus {fromTableReplicationInfo_ReplicationStatus :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Default value.+pattern TableReplicationInfo_ReplicationStatus_REPLICATIONSTATUSUNSPECIFIED :: TableReplicationInfo_ReplicationStatus+pattern TableReplicationInfo_ReplicationStatus_REPLICATIONSTATUSUNSPECIFIED = TableReplicationInfo_ReplicationStatus "REPLICATION_STATUS_UNSPECIFIED"++-- | Replication is Active with no errors.+pattern TableReplicationInfo_ReplicationStatus_Active :: TableReplicationInfo_ReplicationStatus+pattern TableReplicationInfo_ReplicationStatus_Active = TableReplicationInfo_ReplicationStatus "ACTIVE"++-- | Source object is deleted.+pattern TableReplicationInfo_ReplicationStatus_SOURCEDELETED :: TableReplicationInfo_ReplicationStatus+pattern TableReplicationInfo_ReplicationStatus_SOURCEDELETED = TableReplicationInfo_ReplicationStatus "SOURCE_DELETED"++-- | Source revoked replication permissions.+pattern TableReplicationInfo_ReplicationStatus_PERMISSIONDENIED :: TableReplicationInfo_ReplicationStatus+pattern TableReplicationInfo_ReplicationStatus_PERMISSIONDENIED = TableReplicationInfo_ReplicationStatus "PERMISSION_DENIED"++-- | Source configuration doesn’t allow replication.+pattern TableReplicationInfo_ReplicationStatus_UNSUPPORTEDCONFIGURATION :: TableReplicationInfo_ReplicationStatus+pattern TableReplicationInfo_ReplicationStatus_UNSUPPORTEDCONFIGURATION = TableReplicationInfo_ReplicationStatus "UNSUPPORTED_CONFIGURATION"++{-# COMPLETE+  TableReplicationInfo_ReplicationStatus_REPLICATIONSTATUSUNSPECIFIED,+  TableReplicationInfo_ReplicationStatus_Active,+  TableReplicationInfo_ReplicationStatus_SOURCEDELETED,+  TableReplicationInfo_ReplicationStatus_PERMISSIONDENIED,+  TableReplicationInfo_ReplicationStatus_UNSUPPORTEDCONFIGURATION,+  TableReplicationInfo_ReplicationStatus+  #-}++-- | Booster type for boosted tree models.+newtype TrainingOptions_BoosterType = TrainingOptions_BoosterType {fromTrainingOptions_BoosterType :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Unspecified booster type.+pattern TrainingOptions_BoosterType_BOOSTERTYPEUNSPECIFIED :: TrainingOptions_BoosterType+pattern TrainingOptions_BoosterType_BOOSTERTYPEUNSPECIFIED = TrainingOptions_BoosterType "BOOSTER_TYPE_UNSPECIFIED"++-- | Gbtree booster.+pattern TrainingOptions_BoosterType_Gbtree :: TrainingOptions_BoosterType+pattern TrainingOptions_BoosterType_Gbtree = TrainingOptions_BoosterType "GBTREE"++-- | Dart booster.+pattern TrainingOptions_BoosterType_Dart :: TrainingOptions_BoosterType+pattern TrainingOptions_BoosterType_Dart = TrainingOptions_BoosterType "DART"++{-# COMPLETE+  TrainingOptions_BoosterType_BOOSTERTYPEUNSPECIFIED,+  TrainingOptions_BoosterType_Gbtree,+  TrainingOptions_BoosterType_Dart,+  TrainingOptions_BoosterType+  #-}++-- | Categorical feature encoding method.+newtype TrainingOptions_CategoryEncodingMethod = TrainingOptions_CategoryEncodingMethod {fromTrainingOptions_CategoryEncodingMethod :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Unspecified encoding method.+pattern TrainingOptions_CategoryEncodingMethod_ENCODINGMETHODUNSPECIFIED :: TrainingOptions_CategoryEncodingMethod+pattern TrainingOptions_CategoryEncodingMethod_ENCODINGMETHODUNSPECIFIED = TrainingOptions_CategoryEncodingMethod "ENCODING_METHOD_UNSPECIFIED"++-- | Applies one-hot encoding.+pattern TrainingOptions_CategoryEncodingMethod_ONEHOTENCODING :: TrainingOptions_CategoryEncodingMethod+pattern TrainingOptions_CategoryEncodingMethod_ONEHOTENCODING = TrainingOptions_CategoryEncodingMethod "ONE_HOT_ENCODING"++-- | Applies label encoding.+pattern TrainingOptions_CategoryEncodingMethod_LABELENCODING :: TrainingOptions_CategoryEncodingMethod+pattern TrainingOptions_CategoryEncodingMethod_LABELENCODING = TrainingOptions_CategoryEncodingMethod "LABEL_ENCODING"++-- | Applies dummy encoding.+pattern TrainingOptions_CategoryEncodingMethod_DUMMYENCODING :: TrainingOptions_CategoryEncodingMethod+pattern TrainingOptions_CategoryEncodingMethod_DUMMYENCODING = TrainingOptions_CategoryEncodingMethod "DUMMY_ENCODING"++{-# COMPLETE+  TrainingOptions_CategoryEncodingMethod_ENCODINGMETHODUNSPECIFIED,+  TrainingOptions_CategoryEncodingMethod_ONEHOTENCODING,+  TrainingOptions_CategoryEncodingMethod_LABELENCODING,+  TrainingOptions_CategoryEncodingMethod_DUMMYENCODING,+  TrainingOptions_CategoryEncodingMethod+  #-}++-- | Enums for color space, used for processing images in Object Table. See more details at https:\/\/www.tensorflow.org\/io\/tutorials\/colorspace.+newtype TrainingOptions_ColorSpace = TrainingOptions_ColorSpace {fromTrainingOptions_ColorSpace :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Unspecified color space+pattern TrainingOptions_ColorSpace_COLORSPACEUNSPECIFIED :: TrainingOptions_ColorSpace+pattern TrainingOptions_ColorSpace_COLORSPACEUNSPECIFIED = TrainingOptions_ColorSpace "COLOR_SPACE_UNSPECIFIED"++-- | RGB+pattern TrainingOptions_ColorSpace_Rgb :: TrainingOptions_ColorSpace+pattern TrainingOptions_ColorSpace_Rgb = TrainingOptions_ColorSpace "RGB"++-- | HSV+pattern TrainingOptions_ColorSpace_Hsv :: TrainingOptions_ColorSpace+pattern TrainingOptions_ColorSpace_Hsv = TrainingOptions_ColorSpace "HSV"++-- | YIQ+pattern TrainingOptions_ColorSpace_Yiq :: TrainingOptions_ColorSpace+pattern TrainingOptions_ColorSpace_Yiq = TrainingOptions_ColorSpace "YIQ"++-- | YUV+pattern TrainingOptions_ColorSpace_Yuv :: TrainingOptions_ColorSpace+pattern TrainingOptions_ColorSpace_Yuv = TrainingOptions_ColorSpace "YUV"++-- | GRAYSCALE+pattern TrainingOptions_ColorSpace_Grayscale :: TrainingOptions_ColorSpace+pattern TrainingOptions_ColorSpace_Grayscale = TrainingOptions_ColorSpace "GRAYSCALE"++{-# COMPLETE+  TrainingOptions_ColorSpace_COLORSPACEUNSPECIFIED,+  TrainingOptions_ColorSpace_Rgb,+  TrainingOptions_ColorSpace_Hsv,+  TrainingOptions_ColorSpace_Yiq,+  TrainingOptions_ColorSpace_Yuv,+  TrainingOptions_ColorSpace_Grayscale,+  TrainingOptions_ColorSpace+  #-}++-- | Type of normalization algorithm for boosted tree models using dart booster.+newtype TrainingOptions_DartNormalizeType = TrainingOptions_DartNormalizeType {fromTrainingOptions_DartNormalizeType :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Unspecified dart normalize type.+pattern TrainingOptions_DartNormalizeType_DARTNORMALIZETYPEUNSPECIFIED :: TrainingOptions_DartNormalizeType+pattern TrainingOptions_DartNormalizeType_DARTNORMALIZETYPEUNSPECIFIED = TrainingOptions_DartNormalizeType "DART_NORMALIZE_TYPE_UNSPECIFIED"++-- | New trees have the same weight of each of dropped trees.+pattern TrainingOptions_DartNormalizeType_Tree :: TrainingOptions_DartNormalizeType+pattern TrainingOptions_DartNormalizeType_Tree = TrainingOptions_DartNormalizeType "TREE"++-- | New trees have the same weight of sum of dropped trees.+pattern TrainingOptions_DartNormalizeType_Forest :: TrainingOptions_DartNormalizeType+pattern TrainingOptions_DartNormalizeType_Forest = TrainingOptions_DartNormalizeType "FOREST"++{-# COMPLETE+  TrainingOptions_DartNormalizeType_DARTNORMALIZETYPEUNSPECIFIED,+  TrainingOptions_DartNormalizeType_Tree,+  TrainingOptions_DartNormalizeType_Forest,+  TrainingOptions_DartNormalizeType+  #-}++-- | The data frequency of a time series.+newtype TrainingOptions_DataFrequency = TrainingOptions_DataFrequency {fromTrainingOptions_DataFrequency :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Default value.+pattern TrainingOptions_DataFrequency_DATAFREQUENCYUNSPECIFIED :: TrainingOptions_DataFrequency+pattern TrainingOptions_DataFrequency_DATAFREQUENCYUNSPECIFIED = TrainingOptions_DataFrequency "DATA_FREQUENCY_UNSPECIFIED"++-- | Automatically inferred from timestamps.+pattern TrainingOptions_DataFrequency_AUTOFREQUENCY :: TrainingOptions_DataFrequency+pattern TrainingOptions_DataFrequency_AUTOFREQUENCY = TrainingOptions_DataFrequency "AUTO_FREQUENCY"++-- | Yearly data.+pattern TrainingOptions_DataFrequency_Yearly :: TrainingOptions_DataFrequency+pattern TrainingOptions_DataFrequency_Yearly = TrainingOptions_DataFrequency "YEARLY"++-- | Quarterly data.+pattern TrainingOptions_DataFrequency_Quarterly :: TrainingOptions_DataFrequency+pattern TrainingOptions_DataFrequency_Quarterly = TrainingOptions_DataFrequency "QUARTERLY"++-- | Monthly data.+pattern TrainingOptions_DataFrequency_Monthly :: TrainingOptions_DataFrequency+pattern TrainingOptions_DataFrequency_Monthly = TrainingOptions_DataFrequency "MONTHLY"++-- | Weekly data.+pattern TrainingOptions_DataFrequency_Weekly :: TrainingOptions_DataFrequency+pattern TrainingOptions_DataFrequency_Weekly = TrainingOptions_DataFrequency "WEEKLY"++-- | Daily data.+pattern TrainingOptions_DataFrequency_Daily :: TrainingOptions_DataFrequency+pattern TrainingOptions_DataFrequency_Daily = TrainingOptions_DataFrequency "DAILY"++-- | Hourly data.+pattern TrainingOptions_DataFrequency_Hourly :: TrainingOptions_DataFrequency+pattern TrainingOptions_DataFrequency_Hourly = TrainingOptions_DataFrequency "HOURLY"++-- | Per-minute data.+pattern TrainingOptions_DataFrequency_PERMINUTE :: TrainingOptions_DataFrequency+pattern TrainingOptions_DataFrequency_PERMINUTE = TrainingOptions_DataFrequency "PER_MINUTE"++{-# COMPLETE+  TrainingOptions_DataFrequency_DATAFREQUENCYUNSPECIFIED,+  TrainingOptions_DataFrequency_AUTOFREQUENCY,+  TrainingOptions_DataFrequency_Yearly,+  TrainingOptions_DataFrequency_Quarterly,+  TrainingOptions_DataFrequency_Monthly,+  TrainingOptions_DataFrequency_Weekly,+  TrainingOptions_DataFrequency_Daily,+  TrainingOptions_DataFrequency_Hourly,+  TrainingOptions_DataFrequency_PERMINUTE,+  TrainingOptions_DataFrequency+  #-}++-- | The data split type for training and evaluation, e.g. RANDOM.+newtype TrainingOptions_DataSplitMethod = TrainingOptions_DataSplitMethod {fromTrainingOptions_DataSplitMethod :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Default value.+pattern TrainingOptions_DataSplitMethod_DATASPLITMETHODUNSPECIFIED :: TrainingOptions_DataSplitMethod+pattern TrainingOptions_DataSplitMethod_DATASPLITMETHODUNSPECIFIED = TrainingOptions_DataSplitMethod "DATA_SPLIT_METHOD_UNSPECIFIED"++-- | Splits data randomly.+pattern TrainingOptions_DataSplitMethod_Random :: TrainingOptions_DataSplitMethod+pattern TrainingOptions_DataSplitMethod_Random = TrainingOptions_DataSplitMethod "RANDOM"++-- | Splits data with the user provided tags.+pattern TrainingOptions_DataSplitMethod_Custom :: TrainingOptions_DataSplitMethod+pattern TrainingOptions_DataSplitMethod_Custom = TrainingOptions_DataSplitMethod "CUSTOM"++-- | Splits data sequentially.+pattern TrainingOptions_DataSplitMethod_Sequential :: TrainingOptions_DataSplitMethod+pattern TrainingOptions_DataSplitMethod_Sequential = TrainingOptions_DataSplitMethod "SEQUENTIAL"++-- | Data split will be skipped.+pattern TrainingOptions_DataSplitMethod_NOSPLIT :: TrainingOptions_DataSplitMethod+pattern TrainingOptions_DataSplitMethod_NOSPLIT = TrainingOptions_DataSplitMethod "NO_SPLIT"++-- | Splits data automatically: Uses NO_SPLIT if the data size is small. Otherwise uses RANDOM.+pattern TrainingOptions_DataSplitMethod_AUTOSPLIT :: TrainingOptions_DataSplitMethod+pattern TrainingOptions_DataSplitMethod_AUTOSPLIT = TrainingOptions_DataSplitMethod "AUTO_SPLIT"++{-# COMPLETE+  TrainingOptions_DataSplitMethod_DATASPLITMETHODUNSPECIFIED,+  TrainingOptions_DataSplitMethod_Random,+  TrainingOptions_DataSplitMethod_Custom,+  TrainingOptions_DataSplitMethod_Sequential,+  TrainingOptions_DataSplitMethod_NOSPLIT,+  TrainingOptions_DataSplitMethod_AUTOSPLIT,+  TrainingOptions_DataSplitMethod+  #-}++-- | Distance type for clustering models.+newtype TrainingOptions_DistanceType = TrainingOptions_DistanceType {fromTrainingOptions_DistanceType :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Default value.+pattern TrainingOptions_DistanceType_DISTANCETYPEUNSPECIFIED :: TrainingOptions_DistanceType+pattern TrainingOptions_DistanceType_DISTANCETYPEUNSPECIFIED = TrainingOptions_DistanceType "DISTANCE_TYPE_UNSPECIFIED"++-- | Eculidean distance.+pattern TrainingOptions_DistanceType_Euclidean :: TrainingOptions_DistanceType+pattern TrainingOptions_DistanceType_Euclidean = TrainingOptions_DistanceType "EUCLIDEAN"++-- | Cosine distance.+pattern TrainingOptions_DistanceType_Cosine :: TrainingOptions_DistanceType+pattern TrainingOptions_DistanceType_Cosine = TrainingOptions_DistanceType "COSINE"++{-# COMPLETE+  TrainingOptions_DistanceType_DISTANCETYPEUNSPECIFIED,+  TrainingOptions_DistanceType_Euclidean,+  TrainingOptions_DistanceType_Cosine,+  TrainingOptions_DistanceType+  #-}++-- | Feedback type that specifies which algorithm to run for matrix factorization.+newtype TrainingOptions_FeedbackType = TrainingOptions_FeedbackType {fromTrainingOptions_FeedbackType :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Default value.+pattern TrainingOptions_FeedbackType_FEEDBACKTYPEUNSPECIFIED :: TrainingOptions_FeedbackType+pattern TrainingOptions_FeedbackType_FEEDBACKTYPEUNSPECIFIED = TrainingOptions_FeedbackType "FEEDBACK_TYPE_UNSPECIFIED"++-- | Use weighted-als for implicit feedback problems.+pattern TrainingOptions_FeedbackType_Implicit :: TrainingOptions_FeedbackType+pattern TrainingOptions_FeedbackType_Implicit = TrainingOptions_FeedbackType "IMPLICIT"++-- | Use nonweighted-als for explicit feedback problems.+pattern TrainingOptions_FeedbackType_Explicit :: TrainingOptions_FeedbackType+pattern TrainingOptions_FeedbackType_Explicit = TrainingOptions_FeedbackType "EXPLICIT"++{-# COMPLETE+  TrainingOptions_FeedbackType_FEEDBACKTYPEUNSPECIFIED,+  TrainingOptions_FeedbackType_Implicit,+  TrainingOptions_FeedbackType_Explicit,+  TrainingOptions_FeedbackType+  #-}++-- | The geographical region based on which the holidays are considered in time series modeling. If a valid value is specified, then holiday effects modeling is enabled.+newtype TrainingOptions_HolidayRegion = TrainingOptions_HolidayRegion {fromTrainingOptions_HolidayRegion :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Holiday region unspecified.+pattern TrainingOptions_HolidayRegion_HOLIDAYREGIONUNSPECIFIED :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_HOLIDAYREGIONUNSPECIFIED = TrainingOptions_HolidayRegion "HOLIDAY_REGION_UNSPECIFIED"++-- | Global.+pattern TrainingOptions_HolidayRegion_Global :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_Global = TrainingOptions_HolidayRegion "GLOBAL"++-- | North America.+pattern TrainingOptions_HolidayRegion_NA :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_NA = TrainingOptions_HolidayRegion "NA"++-- | Japan and Asia Pacific: Korea, Greater China, India, Australia, and New Zealand.+pattern TrainingOptions_HolidayRegion_Japac :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_Japac = TrainingOptions_HolidayRegion "JAPAC"++-- | Europe, the Middle East and Africa.+pattern TrainingOptions_HolidayRegion_Emea :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_Emea = TrainingOptions_HolidayRegion "EMEA"++-- | Latin America and the Caribbean.+pattern TrainingOptions_HolidayRegion_Lac :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_Lac = TrainingOptions_HolidayRegion "LAC"++-- | United Arab Emirates+pattern TrainingOptions_HolidayRegion_AE :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_AE = TrainingOptions_HolidayRegion "AE"++-- | Argentina+pattern TrainingOptions_HolidayRegion_AR :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_AR = TrainingOptions_HolidayRegion "AR"++-- | Austria+pattern TrainingOptions_HolidayRegion_AT :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_AT = TrainingOptions_HolidayRegion "AT"++-- | Australia+pattern TrainingOptions_HolidayRegion_AU :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_AU = TrainingOptions_HolidayRegion "AU"++-- | Belgium+pattern TrainingOptions_HolidayRegion_BE :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_BE = TrainingOptions_HolidayRegion "BE"++-- | Brazil+pattern TrainingOptions_HolidayRegion_BR :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_BR = TrainingOptions_HolidayRegion "BR"++-- | Canada+pattern TrainingOptions_HolidayRegion_CA :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_CA = TrainingOptions_HolidayRegion "CA"++-- | Switzerland+pattern TrainingOptions_HolidayRegion_CH :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_CH = TrainingOptions_HolidayRegion "CH"++-- | Chile+pattern TrainingOptions_HolidayRegion_CL :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_CL = TrainingOptions_HolidayRegion "CL"++-- | China+pattern TrainingOptions_HolidayRegion_CN :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_CN = TrainingOptions_HolidayRegion "CN"++-- | Colombia+pattern TrainingOptions_HolidayRegion_CO :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_CO = TrainingOptions_HolidayRegion "CO"++-- | Czechoslovakia+pattern TrainingOptions_HolidayRegion_CS :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_CS = TrainingOptions_HolidayRegion "CS"++-- | Czech Republic+pattern TrainingOptions_HolidayRegion_CZ :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_CZ = TrainingOptions_HolidayRegion "CZ"++-- | Germany+pattern TrainingOptions_HolidayRegion_DE :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_DE = TrainingOptions_HolidayRegion "DE"++-- | Denmark+pattern TrainingOptions_HolidayRegion_DK :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_DK = TrainingOptions_HolidayRegion "DK"++-- | Algeria+pattern TrainingOptions_HolidayRegion_DZ :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_DZ = TrainingOptions_HolidayRegion "DZ"++-- | Ecuador+pattern TrainingOptions_HolidayRegion_EC :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_EC = TrainingOptions_HolidayRegion "EC"++-- | Estonia+pattern TrainingOptions_HolidayRegion_EE :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_EE = TrainingOptions_HolidayRegion "EE"++-- | Egypt+pattern TrainingOptions_HolidayRegion_EG :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_EG = TrainingOptions_HolidayRegion "EG"++-- | Spain+pattern TrainingOptions_HolidayRegion_ES :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_ES = TrainingOptions_HolidayRegion "ES"++-- | Finland+pattern TrainingOptions_HolidayRegion_FI :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_FI = TrainingOptions_HolidayRegion "FI"++-- | France+pattern TrainingOptions_HolidayRegion_FR :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_FR = TrainingOptions_HolidayRegion "FR"++-- | Great Britain (United Kingdom)+pattern TrainingOptions_HolidayRegion_GB :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_GB = TrainingOptions_HolidayRegion "GB"++-- | Greece+pattern TrainingOptions_HolidayRegion_GR :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_GR = TrainingOptions_HolidayRegion "GR"++-- | Hong Kong+pattern TrainingOptions_HolidayRegion_HK :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_HK = TrainingOptions_HolidayRegion "HK"++-- | Hungary+pattern TrainingOptions_HolidayRegion_HU :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_HU = TrainingOptions_HolidayRegion "HU"++-- | Indonesia+pattern TrainingOptions_HolidayRegion_ID :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_ID = TrainingOptions_HolidayRegion "ID"++-- | Ireland+pattern TrainingOptions_HolidayRegion_IE :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_IE = TrainingOptions_HolidayRegion "IE"++-- | Israel+pattern TrainingOptions_HolidayRegion_IL :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_IL = TrainingOptions_HolidayRegion "IL"++-- | India+pattern TrainingOptions_HolidayRegion_IN :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_IN = TrainingOptions_HolidayRegion "IN"++-- | Iran+pattern TrainingOptions_HolidayRegion_IR :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_IR = TrainingOptions_HolidayRegion "IR"++-- | Italy+pattern TrainingOptions_HolidayRegion_IT :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_IT = TrainingOptions_HolidayRegion "IT"++-- | Japan+pattern TrainingOptions_HolidayRegion_JP :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_JP = TrainingOptions_HolidayRegion "JP"++-- | Korea (South)+pattern TrainingOptions_HolidayRegion_KR :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_KR = TrainingOptions_HolidayRegion "KR"++-- | Latvia+pattern TrainingOptions_HolidayRegion_LV :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_LV = TrainingOptions_HolidayRegion "LV"++-- | Morocco+pattern TrainingOptions_HolidayRegion_MA :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_MA = TrainingOptions_HolidayRegion "MA"++-- | Mexico+pattern TrainingOptions_HolidayRegion_MX :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_MX = TrainingOptions_HolidayRegion "MX"++-- | Malaysia+pattern TrainingOptions_HolidayRegion_MY :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_MY = TrainingOptions_HolidayRegion "MY"++-- | Nigeria+pattern TrainingOptions_HolidayRegion_NG :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_NG = TrainingOptions_HolidayRegion "NG"++-- | Netherlands+pattern TrainingOptions_HolidayRegion_NL :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_NL = TrainingOptions_HolidayRegion "NL"++-- | Norway+pattern TrainingOptions_HolidayRegion_NO :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_NO = TrainingOptions_HolidayRegion "NO"++-- | New Zealand+pattern TrainingOptions_HolidayRegion_NZ :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_NZ = TrainingOptions_HolidayRegion "NZ"++-- | Peru+pattern TrainingOptions_HolidayRegion_PE :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_PE = TrainingOptions_HolidayRegion "PE"++-- | Philippines+pattern TrainingOptions_HolidayRegion_PH :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_PH = TrainingOptions_HolidayRegion "PH"++-- | Pakistan+pattern TrainingOptions_HolidayRegion_PK :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_PK = TrainingOptions_HolidayRegion "PK"++-- | Poland+pattern TrainingOptions_HolidayRegion_PL :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_PL = TrainingOptions_HolidayRegion "PL"++-- | Portugal+pattern TrainingOptions_HolidayRegion_PT :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_PT = TrainingOptions_HolidayRegion "PT"++-- | Romania+pattern TrainingOptions_HolidayRegion_RO :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_RO = TrainingOptions_HolidayRegion "RO"++-- | Serbia+pattern TrainingOptions_HolidayRegion_RS :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_RS = TrainingOptions_HolidayRegion "RS"++-- | Russian Federation+pattern TrainingOptions_HolidayRegion_RU :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_RU = TrainingOptions_HolidayRegion "RU"++-- | Saudi Arabia+pattern TrainingOptions_HolidayRegion_SA :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_SA = TrainingOptions_HolidayRegion "SA"++-- | Sweden+pattern TrainingOptions_HolidayRegion_SE :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_SE = TrainingOptions_HolidayRegion "SE"++-- | Singapore+pattern TrainingOptions_HolidayRegion_SG :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_SG = TrainingOptions_HolidayRegion "SG"++-- | Slovenia+pattern TrainingOptions_HolidayRegion_SI :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_SI = TrainingOptions_HolidayRegion "SI"++-- | Slovakia+pattern TrainingOptions_HolidayRegion_SK :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_SK = TrainingOptions_HolidayRegion "SK"++-- | Thailand+pattern TrainingOptions_HolidayRegion_TH :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_TH = TrainingOptions_HolidayRegion "TH"++-- | Turkey+pattern TrainingOptions_HolidayRegion_TR :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_TR = TrainingOptions_HolidayRegion "TR"++-- | Taiwan+pattern TrainingOptions_HolidayRegion_TW :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_TW = TrainingOptions_HolidayRegion "TW"++-- | Ukraine+pattern TrainingOptions_HolidayRegion_UA :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_UA = TrainingOptions_HolidayRegion "UA"++-- | United States+pattern TrainingOptions_HolidayRegion_US :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_US = TrainingOptions_HolidayRegion "US"++-- | Venezuela+pattern TrainingOptions_HolidayRegion_VE :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_VE = TrainingOptions_HolidayRegion "VE"++-- | Vietnam+pattern TrainingOptions_HolidayRegion_VN :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_VN = TrainingOptions_HolidayRegion "VN"++-- | South Africa+pattern TrainingOptions_HolidayRegion_ZA :: TrainingOptions_HolidayRegion+pattern TrainingOptions_HolidayRegion_ZA = TrainingOptions_HolidayRegion "ZA"++{-# COMPLETE+  TrainingOptions_HolidayRegion_HOLIDAYREGIONUNSPECIFIED,+  TrainingOptions_HolidayRegion_Global,+  TrainingOptions_HolidayRegion_NA,+  TrainingOptions_HolidayRegion_Japac,+  TrainingOptions_HolidayRegion_Emea,+  TrainingOptions_HolidayRegion_Lac,+  TrainingOptions_HolidayRegion_AE,+  TrainingOptions_HolidayRegion_AR,+  TrainingOptions_HolidayRegion_AT,+  TrainingOptions_HolidayRegion_AU,+  TrainingOptions_HolidayRegion_BE,+  TrainingOptions_HolidayRegion_BR,+  TrainingOptions_HolidayRegion_CA,+  TrainingOptions_HolidayRegion_CH,+  TrainingOptions_HolidayRegion_CL,+  TrainingOptions_HolidayRegion_CN,+  TrainingOptions_HolidayRegion_CO,+  TrainingOptions_HolidayRegion_CS,+  TrainingOptions_HolidayRegion_CZ,+  TrainingOptions_HolidayRegion_DE,+  TrainingOptions_HolidayRegion_DK,+  TrainingOptions_HolidayRegion_DZ,+  TrainingOptions_HolidayRegion_EC,+  TrainingOptions_HolidayRegion_EE,+  TrainingOptions_HolidayRegion_EG,+  TrainingOptions_HolidayRegion_ES,+  TrainingOptions_HolidayRegion_FI,+  TrainingOptions_HolidayRegion_FR,+  TrainingOptions_HolidayRegion_GB,+  TrainingOptions_HolidayRegion_GR,+  TrainingOptions_HolidayRegion_HK,+  TrainingOptions_HolidayRegion_HU,+  TrainingOptions_HolidayRegion_ID,+  TrainingOptions_HolidayRegion_IE,+  TrainingOptions_HolidayRegion_IL,+  TrainingOptions_HolidayRegion_IN,+  TrainingOptions_HolidayRegion_IR,+  TrainingOptions_HolidayRegion_IT,+  TrainingOptions_HolidayRegion_JP,+  TrainingOptions_HolidayRegion_KR,+  TrainingOptions_HolidayRegion_LV,+  TrainingOptions_HolidayRegion_MA,+  TrainingOptions_HolidayRegion_MX,+  TrainingOptions_HolidayRegion_MY,+  TrainingOptions_HolidayRegion_NG,+  TrainingOptions_HolidayRegion_NL,+  TrainingOptions_HolidayRegion_NO,+  TrainingOptions_HolidayRegion_NZ,+  TrainingOptions_HolidayRegion_PE,+  TrainingOptions_HolidayRegion_PH,+  TrainingOptions_HolidayRegion_PK,+  TrainingOptions_HolidayRegion_PL,+  TrainingOptions_HolidayRegion_PT,+  TrainingOptions_HolidayRegion_RO,+  TrainingOptions_HolidayRegion_RS,+  TrainingOptions_HolidayRegion_RU,+  TrainingOptions_HolidayRegion_SA,+  TrainingOptions_HolidayRegion_SE,+  TrainingOptions_HolidayRegion_SG,+  TrainingOptions_HolidayRegion_SI,+  TrainingOptions_HolidayRegion_SK,+  TrainingOptions_HolidayRegion_TH,+  TrainingOptions_HolidayRegion_TR,+  TrainingOptions_HolidayRegion_TW,+  TrainingOptions_HolidayRegion_UA,+  TrainingOptions_HolidayRegion_US,+  TrainingOptions_HolidayRegion_VE,+  TrainingOptions_HolidayRegion_VN,+  TrainingOptions_HolidayRegion_ZA,+  TrainingOptions_HolidayRegion+  #-}++newtype TrainingOptions_HolidayRegionsItem = TrainingOptions_HolidayRegionsItem {fromTrainingOptions_HolidayRegionsItem :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Holiday region unspecified.+pattern TrainingOptions_HolidayRegionsItem_HOLIDAYREGIONUNSPECIFIED :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_HOLIDAYREGIONUNSPECIFIED = TrainingOptions_HolidayRegionsItem "HOLIDAY_REGION_UNSPECIFIED"++-- | Global.+pattern TrainingOptions_HolidayRegionsItem_Global :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_Global = TrainingOptions_HolidayRegionsItem "GLOBAL"++-- | North America.+pattern TrainingOptions_HolidayRegionsItem_NA :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_NA = TrainingOptions_HolidayRegionsItem "NA"++-- | Japan and Asia Pacific: Korea, Greater China, India, Australia, and New Zealand.+pattern TrainingOptions_HolidayRegionsItem_Japac :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_Japac = TrainingOptions_HolidayRegionsItem "JAPAC"++-- | Europe, the Middle East and Africa.+pattern TrainingOptions_HolidayRegionsItem_Emea :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_Emea = TrainingOptions_HolidayRegionsItem "EMEA"++-- | Latin America and the Caribbean.+pattern TrainingOptions_HolidayRegionsItem_Lac :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_Lac = TrainingOptions_HolidayRegionsItem "LAC"++-- | United Arab Emirates+pattern TrainingOptions_HolidayRegionsItem_AE :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_AE = TrainingOptions_HolidayRegionsItem "AE"++-- | Argentina+pattern TrainingOptions_HolidayRegionsItem_AR :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_AR = TrainingOptions_HolidayRegionsItem "AR"++-- | Austria+pattern TrainingOptions_HolidayRegionsItem_AT :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_AT = TrainingOptions_HolidayRegionsItem "AT"++-- | Australia+pattern TrainingOptions_HolidayRegionsItem_AU :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_AU = TrainingOptions_HolidayRegionsItem "AU"++-- | Belgium+pattern TrainingOptions_HolidayRegionsItem_BE :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_BE = TrainingOptions_HolidayRegionsItem "BE"++-- | Brazil+pattern TrainingOptions_HolidayRegionsItem_BR :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_BR = TrainingOptions_HolidayRegionsItem "BR"++-- | Canada+pattern TrainingOptions_HolidayRegionsItem_CA :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_CA = TrainingOptions_HolidayRegionsItem "CA"++-- | Switzerland+pattern TrainingOptions_HolidayRegionsItem_CH :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_CH = TrainingOptions_HolidayRegionsItem "CH"++-- | Chile+pattern TrainingOptions_HolidayRegionsItem_CL :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_CL = TrainingOptions_HolidayRegionsItem "CL"++-- | China+pattern TrainingOptions_HolidayRegionsItem_CN :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_CN = TrainingOptions_HolidayRegionsItem "CN"++-- | Colombia+pattern TrainingOptions_HolidayRegionsItem_CO :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_CO = TrainingOptions_HolidayRegionsItem "CO"++-- | Czechoslovakia+pattern TrainingOptions_HolidayRegionsItem_CS :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_CS = TrainingOptions_HolidayRegionsItem "CS"++-- | Czech Republic+pattern TrainingOptions_HolidayRegionsItem_CZ :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_CZ = TrainingOptions_HolidayRegionsItem "CZ"++-- | Germany+pattern TrainingOptions_HolidayRegionsItem_DE :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_DE = TrainingOptions_HolidayRegionsItem "DE"++-- | Denmark+pattern TrainingOptions_HolidayRegionsItem_DK :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_DK = TrainingOptions_HolidayRegionsItem "DK"++-- | Algeria+pattern TrainingOptions_HolidayRegionsItem_DZ :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_DZ = TrainingOptions_HolidayRegionsItem "DZ"++-- | Ecuador+pattern TrainingOptions_HolidayRegionsItem_EC :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_EC = TrainingOptions_HolidayRegionsItem "EC"++-- | Estonia+pattern TrainingOptions_HolidayRegionsItem_EE :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_EE = TrainingOptions_HolidayRegionsItem "EE"++-- | Egypt+pattern TrainingOptions_HolidayRegionsItem_EG :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_EG = TrainingOptions_HolidayRegionsItem "EG"++-- | Spain+pattern TrainingOptions_HolidayRegionsItem_ES :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_ES = TrainingOptions_HolidayRegionsItem "ES"++-- | Finland+pattern TrainingOptions_HolidayRegionsItem_FI :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_FI = TrainingOptions_HolidayRegionsItem "FI"++-- | France+pattern TrainingOptions_HolidayRegionsItem_FR :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_FR = TrainingOptions_HolidayRegionsItem "FR"++-- | Great Britain (United Kingdom)+pattern TrainingOptions_HolidayRegionsItem_GB :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_GB = TrainingOptions_HolidayRegionsItem "GB"++-- | Greece+pattern TrainingOptions_HolidayRegionsItem_GR :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_GR = TrainingOptions_HolidayRegionsItem "GR"++-- | Hong Kong+pattern TrainingOptions_HolidayRegionsItem_HK :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_HK = TrainingOptions_HolidayRegionsItem "HK"++-- | Hungary+pattern TrainingOptions_HolidayRegionsItem_HU :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_HU = TrainingOptions_HolidayRegionsItem "HU"++-- | Indonesia+pattern TrainingOptions_HolidayRegionsItem_ID :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_ID = TrainingOptions_HolidayRegionsItem "ID"++-- | Ireland+pattern TrainingOptions_HolidayRegionsItem_IE :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_IE = TrainingOptions_HolidayRegionsItem "IE"++-- | Israel+pattern TrainingOptions_HolidayRegionsItem_IL :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_IL = TrainingOptions_HolidayRegionsItem "IL"++-- | India+pattern TrainingOptions_HolidayRegionsItem_IN :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_IN = TrainingOptions_HolidayRegionsItem "IN"++-- | Iran+pattern TrainingOptions_HolidayRegionsItem_IR :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_IR = TrainingOptions_HolidayRegionsItem "IR"++-- | Italy+pattern TrainingOptions_HolidayRegionsItem_IT :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_IT = TrainingOptions_HolidayRegionsItem "IT"++-- | Japan+pattern TrainingOptions_HolidayRegionsItem_JP :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_JP = TrainingOptions_HolidayRegionsItem "JP"++-- | Korea (South)+pattern TrainingOptions_HolidayRegionsItem_KR :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_KR = TrainingOptions_HolidayRegionsItem "KR"++-- | Latvia+pattern TrainingOptions_HolidayRegionsItem_LV :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_LV = TrainingOptions_HolidayRegionsItem "LV"++-- | Morocco+pattern TrainingOptions_HolidayRegionsItem_MA :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_MA = TrainingOptions_HolidayRegionsItem "MA"++-- | Mexico+pattern TrainingOptions_HolidayRegionsItem_MX :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_MX = TrainingOptions_HolidayRegionsItem "MX"++-- | Malaysia+pattern TrainingOptions_HolidayRegionsItem_MY :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_MY = TrainingOptions_HolidayRegionsItem "MY"++-- | Nigeria+pattern TrainingOptions_HolidayRegionsItem_NG :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_NG = TrainingOptions_HolidayRegionsItem "NG"++-- | Netherlands+pattern TrainingOptions_HolidayRegionsItem_NL :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_NL = TrainingOptions_HolidayRegionsItem "NL"++-- | Norway+pattern TrainingOptions_HolidayRegionsItem_NO :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_NO = TrainingOptions_HolidayRegionsItem "NO"++-- | New Zealand+pattern TrainingOptions_HolidayRegionsItem_NZ :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_NZ = TrainingOptions_HolidayRegionsItem "NZ"++-- | Peru+pattern TrainingOptions_HolidayRegionsItem_PE :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_PE = TrainingOptions_HolidayRegionsItem "PE"++-- | Philippines+pattern TrainingOptions_HolidayRegionsItem_PH :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_PH = TrainingOptions_HolidayRegionsItem "PH"++-- | Pakistan+pattern TrainingOptions_HolidayRegionsItem_PK :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_PK = TrainingOptions_HolidayRegionsItem "PK"++-- | Poland+pattern TrainingOptions_HolidayRegionsItem_PL :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_PL = TrainingOptions_HolidayRegionsItem "PL"++-- | Portugal+pattern TrainingOptions_HolidayRegionsItem_PT :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_PT = TrainingOptions_HolidayRegionsItem "PT"++-- | Romania+pattern TrainingOptions_HolidayRegionsItem_RO :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_RO = TrainingOptions_HolidayRegionsItem "RO"++-- | Serbia+pattern TrainingOptions_HolidayRegionsItem_RS :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_RS = TrainingOptions_HolidayRegionsItem "RS"++-- | Russian Federation+pattern TrainingOptions_HolidayRegionsItem_RU :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_RU = TrainingOptions_HolidayRegionsItem "RU"++-- | Saudi Arabia+pattern TrainingOptions_HolidayRegionsItem_SA :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_SA = TrainingOptions_HolidayRegionsItem "SA"++-- | Sweden+pattern TrainingOptions_HolidayRegionsItem_SE :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_SE = TrainingOptions_HolidayRegionsItem "SE"++-- | Singapore+pattern TrainingOptions_HolidayRegionsItem_SG :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_SG = TrainingOptions_HolidayRegionsItem "SG"++-- | Slovenia+pattern TrainingOptions_HolidayRegionsItem_SI :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_SI = TrainingOptions_HolidayRegionsItem "SI"++-- | Slovakia+pattern TrainingOptions_HolidayRegionsItem_SK :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_SK = TrainingOptions_HolidayRegionsItem "SK"++-- | Thailand+pattern TrainingOptions_HolidayRegionsItem_TH :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_TH = TrainingOptions_HolidayRegionsItem "TH"++-- | Turkey+pattern TrainingOptions_HolidayRegionsItem_TR :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_TR = TrainingOptions_HolidayRegionsItem "TR"++-- | Taiwan+pattern TrainingOptions_HolidayRegionsItem_TW :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_TW = TrainingOptions_HolidayRegionsItem "TW"++-- | Ukraine+pattern TrainingOptions_HolidayRegionsItem_UA :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_UA = TrainingOptions_HolidayRegionsItem "UA"++-- | United States+pattern TrainingOptions_HolidayRegionsItem_US :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_US = TrainingOptions_HolidayRegionsItem "US"++-- | Venezuela+pattern TrainingOptions_HolidayRegionsItem_VE :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_VE = TrainingOptions_HolidayRegionsItem "VE"++-- | Vietnam+pattern TrainingOptions_HolidayRegionsItem_VN :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_VN = TrainingOptions_HolidayRegionsItem "VN"++-- | South Africa+pattern TrainingOptions_HolidayRegionsItem_ZA :: TrainingOptions_HolidayRegionsItem+pattern TrainingOptions_HolidayRegionsItem_ZA = TrainingOptions_HolidayRegionsItem "ZA"++{-# COMPLETE+  TrainingOptions_HolidayRegionsItem_HOLIDAYREGIONUNSPECIFIED,+  TrainingOptions_HolidayRegionsItem_Global,+  TrainingOptions_HolidayRegionsItem_NA,+  TrainingOptions_HolidayRegionsItem_Japac,+  TrainingOptions_HolidayRegionsItem_Emea,+  TrainingOptions_HolidayRegionsItem_Lac,+  TrainingOptions_HolidayRegionsItem_AE,+  TrainingOptions_HolidayRegionsItem_AR,+  TrainingOptions_HolidayRegionsItem_AT,+  TrainingOptions_HolidayRegionsItem_AU,+  TrainingOptions_HolidayRegionsItem_BE,+  TrainingOptions_HolidayRegionsItem_BR,+  TrainingOptions_HolidayRegionsItem_CA,+  TrainingOptions_HolidayRegionsItem_CH,+  TrainingOptions_HolidayRegionsItem_CL,+  TrainingOptions_HolidayRegionsItem_CN,+  TrainingOptions_HolidayRegionsItem_CO,+  TrainingOptions_HolidayRegionsItem_CS,+  TrainingOptions_HolidayRegionsItem_CZ,+  TrainingOptions_HolidayRegionsItem_DE,+  TrainingOptions_HolidayRegionsItem_DK,+  TrainingOptions_HolidayRegionsItem_DZ,+  TrainingOptions_HolidayRegionsItem_EC,+  TrainingOptions_HolidayRegionsItem_EE,+  TrainingOptions_HolidayRegionsItem_EG,+  TrainingOptions_HolidayRegionsItem_ES,+  TrainingOptions_HolidayRegionsItem_FI,+  TrainingOptions_HolidayRegionsItem_FR,+  TrainingOptions_HolidayRegionsItem_GB,+  TrainingOptions_HolidayRegionsItem_GR,+  TrainingOptions_HolidayRegionsItem_HK,+  TrainingOptions_HolidayRegionsItem_HU,+  TrainingOptions_HolidayRegionsItem_ID,+  TrainingOptions_HolidayRegionsItem_IE,+  TrainingOptions_HolidayRegionsItem_IL,+  TrainingOptions_HolidayRegionsItem_IN,+  TrainingOptions_HolidayRegionsItem_IR,+  TrainingOptions_HolidayRegionsItem_IT,+  TrainingOptions_HolidayRegionsItem_JP,+  TrainingOptions_HolidayRegionsItem_KR,+  TrainingOptions_HolidayRegionsItem_LV,+  TrainingOptions_HolidayRegionsItem_MA,+  TrainingOptions_HolidayRegionsItem_MX,+  TrainingOptions_HolidayRegionsItem_MY,+  TrainingOptions_HolidayRegionsItem_NG,+  TrainingOptions_HolidayRegionsItem_NL,+  TrainingOptions_HolidayRegionsItem_NO,+  TrainingOptions_HolidayRegionsItem_NZ,+  TrainingOptions_HolidayRegionsItem_PE,+  TrainingOptions_HolidayRegionsItem_PH,+  TrainingOptions_HolidayRegionsItem_PK,+  TrainingOptions_HolidayRegionsItem_PL,+  TrainingOptions_HolidayRegionsItem_PT,+  TrainingOptions_HolidayRegionsItem_RO,+  TrainingOptions_HolidayRegionsItem_RS,+  TrainingOptions_HolidayRegionsItem_RU,+  TrainingOptions_HolidayRegionsItem_SA,+  TrainingOptions_HolidayRegionsItem_SE,+  TrainingOptions_HolidayRegionsItem_SG,+  TrainingOptions_HolidayRegionsItem_SI,+  TrainingOptions_HolidayRegionsItem_SK,+  TrainingOptions_HolidayRegionsItem_TH,+  TrainingOptions_HolidayRegionsItem_TR,+  TrainingOptions_HolidayRegionsItem_TW,+  TrainingOptions_HolidayRegionsItem_UA,+  TrainingOptions_HolidayRegionsItem_US,+  TrainingOptions_HolidayRegionsItem_VE,+  TrainingOptions_HolidayRegionsItem_VN,+  TrainingOptions_HolidayRegionsItem_ZA,+  TrainingOptions_HolidayRegionsItem+  #-}++newtype TrainingOptions_HparamTuningObjectivesItem = TrainingOptions_HparamTuningObjectivesItem {fromTrainingOptions_HparamTuningObjectivesItem :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Unspecified evaluation metric.+pattern TrainingOptions_HparamTuningObjectivesItem_HPARAMTUNINGOBJECTIVEUNSPECIFIED :: TrainingOptions_HparamTuningObjectivesItem+pattern TrainingOptions_HparamTuningObjectivesItem_HPARAMTUNINGOBJECTIVEUNSPECIFIED = TrainingOptions_HparamTuningObjectivesItem "HPARAM_TUNING_OBJECTIVE_UNSPECIFIED"++-- | Mean absolute error. mean/absolute/error = AVG(ABS(label - predicted))+pattern TrainingOptions_HparamTuningObjectivesItem_MEANABSOLUTEERROR :: TrainingOptions_HparamTuningObjectivesItem+pattern TrainingOptions_HparamTuningObjectivesItem_MEANABSOLUTEERROR = TrainingOptions_HparamTuningObjectivesItem "MEAN_ABSOLUTE_ERROR"++-- | Mean squared error. mean/squared/error = AVG(POW(label - predicted, 2))+pattern TrainingOptions_HparamTuningObjectivesItem_MEANSQUAREDERROR :: TrainingOptions_HparamTuningObjectivesItem+pattern TrainingOptions_HparamTuningObjectivesItem_MEANSQUAREDERROR = TrainingOptions_HparamTuningObjectivesItem "MEAN_SQUARED_ERROR"++-- | Mean squared log error. mean/squared/log_error = AVG(POW(LN(1 + label) - LN(1 + predicted), 2))+pattern TrainingOptions_HparamTuningObjectivesItem_MEANSQUAREDLOGERROR :: TrainingOptions_HparamTuningObjectivesItem+pattern TrainingOptions_HparamTuningObjectivesItem_MEANSQUAREDLOGERROR = TrainingOptions_HparamTuningObjectivesItem "MEAN_SQUARED_LOG_ERROR"++-- | Mean absolute error. median/absolute/error = APPROX/QUANTILES(absolute/error, 2)[OFFSET(1)]+pattern TrainingOptions_HparamTuningObjectivesItem_MEDIANABSOLUTEERROR :: TrainingOptions_HparamTuningObjectivesItem+pattern TrainingOptions_HparamTuningObjectivesItem_MEDIANABSOLUTEERROR = TrainingOptions_HparamTuningObjectivesItem "MEDIAN_ABSOLUTE_ERROR"++-- | R^2 score. This corresponds to r2/score in ML.EVALUATE. r/squared = 1 - SUM(squared_error)\/(COUNT(label)*VAR_POP(label))+pattern TrainingOptions_HparamTuningObjectivesItem_RSQUARED :: TrainingOptions_HparamTuningObjectivesItem+pattern TrainingOptions_HparamTuningObjectivesItem_RSQUARED = TrainingOptions_HparamTuningObjectivesItem "R_SQUARED"++-- | Explained variance. explained/variance = 1 - VAR/POP(label/error)\/VAR/POP(label)+pattern TrainingOptions_HparamTuningObjectivesItem_EXPLAINEDVARIANCE :: TrainingOptions_HparamTuningObjectivesItem+pattern TrainingOptions_HparamTuningObjectivesItem_EXPLAINEDVARIANCE = TrainingOptions_HparamTuningObjectivesItem "EXPLAINED_VARIANCE"++-- | Precision is the fraction of actual positive predictions that had positive actual labels. For multiclass this is a macro-averaged metric treating each class as a binary classifier.+pattern TrainingOptions_HparamTuningObjectivesItem_Precision :: TrainingOptions_HparamTuningObjectivesItem+pattern TrainingOptions_HparamTuningObjectivesItem_Precision = TrainingOptions_HparamTuningObjectivesItem "PRECISION"++-- | Recall is the fraction of actual positive labels that were given a positive prediction. For multiclass this is a macro-averaged metric.+pattern TrainingOptions_HparamTuningObjectivesItem_Recall :: TrainingOptions_HparamTuningObjectivesItem+pattern TrainingOptions_HparamTuningObjectivesItem_Recall = TrainingOptions_HparamTuningObjectivesItem "RECALL"++-- | Accuracy is the fraction of predictions given the correct label. For multiclass this is a globally micro-averaged metric.+pattern TrainingOptions_HparamTuningObjectivesItem_Accuracy :: TrainingOptions_HparamTuningObjectivesItem+pattern TrainingOptions_HparamTuningObjectivesItem_Accuracy = TrainingOptions_HparamTuningObjectivesItem "ACCURACY"++-- | The F1 score is an average of recall and precision. For multiclass this is a macro-averaged metric.+pattern TrainingOptions_HparamTuningObjectivesItem_F1SCORE :: TrainingOptions_HparamTuningObjectivesItem+pattern TrainingOptions_HparamTuningObjectivesItem_F1SCORE = TrainingOptions_HparamTuningObjectivesItem "F1_SCORE"++-- | Logarithmic Loss. For multiclass this is a macro-averaged metric.+pattern TrainingOptions_HparamTuningObjectivesItem_LOGLOSS :: TrainingOptions_HparamTuningObjectivesItem+pattern TrainingOptions_HparamTuningObjectivesItem_LOGLOSS = TrainingOptions_HparamTuningObjectivesItem "LOG_LOSS"++-- | Area Under an ROC Curve. For multiclass this is a macro-averaged metric.+pattern TrainingOptions_HparamTuningObjectivesItem_ROCAUC :: TrainingOptions_HparamTuningObjectivesItem+pattern TrainingOptions_HparamTuningObjectivesItem_ROCAUC = TrainingOptions_HparamTuningObjectivesItem "ROC_AUC"++-- | Davies-Bouldin Index.+pattern TrainingOptions_HparamTuningObjectivesItem_DAVIESBOULDININDEX :: TrainingOptions_HparamTuningObjectivesItem+pattern TrainingOptions_HparamTuningObjectivesItem_DAVIESBOULDININDEX = TrainingOptions_HparamTuningObjectivesItem "DAVIES_BOULDIN_INDEX"++-- | Mean Average Precision.+pattern TrainingOptions_HparamTuningObjectivesItem_MEANAVERAGEPRECISION :: TrainingOptions_HparamTuningObjectivesItem+pattern TrainingOptions_HparamTuningObjectivesItem_MEANAVERAGEPRECISION = TrainingOptions_HparamTuningObjectivesItem "MEAN_AVERAGE_PRECISION"++-- | Normalized Discounted Cumulative Gain.+pattern TrainingOptions_HparamTuningObjectivesItem_NORMALIZEDDISCOUNTEDCUMULATIVEGAIN :: TrainingOptions_HparamTuningObjectivesItem+pattern TrainingOptions_HparamTuningObjectivesItem_NORMALIZEDDISCOUNTEDCUMULATIVEGAIN = TrainingOptions_HparamTuningObjectivesItem "NORMALIZED_DISCOUNTED_CUMULATIVE_GAIN"++-- | Average Rank.+pattern TrainingOptions_HparamTuningObjectivesItem_AVERAGERANK :: TrainingOptions_HparamTuningObjectivesItem+pattern TrainingOptions_HparamTuningObjectivesItem_AVERAGERANK = TrainingOptions_HparamTuningObjectivesItem "AVERAGE_RANK"++{-# COMPLETE+  TrainingOptions_HparamTuningObjectivesItem_HPARAMTUNINGOBJECTIVEUNSPECIFIED,+  TrainingOptions_HparamTuningObjectivesItem_MEANABSOLUTEERROR,+  TrainingOptions_HparamTuningObjectivesItem_MEANSQUAREDERROR,+  TrainingOptions_HparamTuningObjectivesItem_MEANSQUAREDLOGERROR,+  TrainingOptions_HparamTuningObjectivesItem_MEDIANABSOLUTEERROR,+  TrainingOptions_HparamTuningObjectivesItem_RSQUARED,+  TrainingOptions_HparamTuningObjectivesItem_EXPLAINEDVARIANCE,+  TrainingOptions_HparamTuningObjectivesItem_Precision,+  TrainingOptions_HparamTuningObjectivesItem_Recall,+  TrainingOptions_HparamTuningObjectivesItem_Accuracy,+  TrainingOptions_HparamTuningObjectivesItem_F1SCORE,+  TrainingOptions_HparamTuningObjectivesItem_LOGLOSS,+  TrainingOptions_HparamTuningObjectivesItem_ROCAUC,+  TrainingOptions_HparamTuningObjectivesItem_DAVIESBOULDININDEX,+  TrainingOptions_HparamTuningObjectivesItem_MEANAVERAGEPRECISION,+  TrainingOptions_HparamTuningObjectivesItem_NORMALIZEDDISCOUNTEDCUMULATIVEGAIN,+  TrainingOptions_HparamTuningObjectivesItem_AVERAGERANK,+  TrainingOptions_HparamTuningObjectivesItem+  #-}++-- | The method used to initialize the centroids for kmeans algorithm.+newtype TrainingOptions_KmeansInitializationMethod = TrainingOptions_KmeansInitializationMethod {fromTrainingOptions_KmeansInitializationMethod :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Unspecified initialization method.+pattern TrainingOptions_KmeansInitializationMethod_KMEANSINITIALIZATIONMETHODUNSPECIFIED :: TrainingOptions_KmeansInitializationMethod+pattern TrainingOptions_KmeansInitializationMethod_KMEANSINITIALIZATIONMETHODUNSPECIFIED = TrainingOptions_KmeansInitializationMethod "KMEANS_INITIALIZATION_METHOD_UNSPECIFIED"++-- | Initializes the centroids randomly.+pattern TrainingOptions_KmeansInitializationMethod_Random :: TrainingOptions_KmeansInitializationMethod+pattern TrainingOptions_KmeansInitializationMethod_Random = TrainingOptions_KmeansInitializationMethod "RANDOM"++-- | Initializes the centroids using data specified in kmeans/initialization/column.+pattern TrainingOptions_KmeansInitializationMethod_Custom :: TrainingOptions_KmeansInitializationMethod+pattern TrainingOptions_KmeansInitializationMethod_Custom = TrainingOptions_KmeansInitializationMethod "CUSTOM"++-- | Initializes with kmeans++.+pattern TrainingOptions_KmeansInitializationMethod_KMEANSPLUSPLUS :: TrainingOptions_KmeansInitializationMethod+pattern TrainingOptions_KmeansInitializationMethod_KMEANSPLUSPLUS = TrainingOptions_KmeansInitializationMethod "KMEANS_PLUS_PLUS"++{-# COMPLETE+  TrainingOptions_KmeansInitializationMethod_KMEANSINITIALIZATIONMETHODUNSPECIFIED,+  TrainingOptions_KmeansInitializationMethod_Random,+  TrainingOptions_KmeansInitializationMethod_Custom,+  TrainingOptions_KmeansInitializationMethod_KMEANSPLUSPLUS,+  TrainingOptions_KmeansInitializationMethod+  #-}++-- | The strategy to determine learn rate for the current iteration.+newtype TrainingOptions_LearnRateStrategy = TrainingOptions_LearnRateStrategy {fromTrainingOptions_LearnRateStrategy :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Default value.+pattern TrainingOptions_LearnRateStrategy_LEARNRATESTRATEGYUNSPECIFIED :: TrainingOptions_LearnRateStrategy+pattern TrainingOptions_LearnRateStrategy_LEARNRATESTRATEGYUNSPECIFIED = TrainingOptions_LearnRateStrategy "LEARN_RATE_STRATEGY_UNSPECIFIED"++-- | Use line search to determine learning rate.+pattern TrainingOptions_LearnRateStrategy_LINESEARCH :: TrainingOptions_LearnRateStrategy+pattern TrainingOptions_LearnRateStrategy_LINESEARCH = TrainingOptions_LearnRateStrategy "LINE_SEARCH"++-- | Use a constant learning rate.+pattern TrainingOptions_LearnRateStrategy_Constant :: TrainingOptions_LearnRateStrategy+pattern TrainingOptions_LearnRateStrategy_Constant = TrainingOptions_LearnRateStrategy "CONSTANT"++{-# COMPLETE+  TrainingOptions_LearnRateStrategy_LEARNRATESTRATEGYUNSPECIFIED,+  TrainingOptions_LearnRateStrategy_LINESEARCH,+  TrainingOptions_LearnRateStrategy_Constant,+  TrainingOptions_LearnRateStrategy+  #-}++-- | Type of loss function used during training run.+newtype TrainingOptions_LossType = TrainingOptions_LossType {fromTrainingOptions_LossType :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Default value.+pattern TrainingOptions_LossType_LOSSTYPEUNSPECIFIED :: TrainingOptions_LossType+pattern TrainingOptions_LossType_LOSSTYPEUNSPECIFIED = TrainingOptions_LossType "LOSS_TYPE_UNSPECIFIED"++-- | Mean squared loss, used for linear regression.+pattern TrainingOptions_LossType_MEANSQUAREDLOSS :: TrainingOptions_LossType+pattern TrainingOptions_LossType_MEANSQUAREDLOSS = TrainingOptions_LossType "MEAN_SQUARED_LOSS"++-- | Mean log loss, used for logistic regression.+pattern TrainingOptions_LossType_MEANLOGLOSS :: TrainingOptions_LossType+pattern TrainingOptions_LossType_MEANLOGLOSS = TrainingOptions_LossType "MEAN_LOG_LOSS"++{-# COMPLETE+  TrainingOptions_LossType_LOSSTYPEUNSPECIFIED,+  TrainingOptions_LossType_MEANSQUAREDLOSS,+  TrainingOptions_LossType_MEANLOGLOSS,+  TrainingOptions_LossType+  #-}++-- | The model registry.+newtype TrainingOptions_ModelRegistry = TrainingOptions_ModelRegistry {fromTrainingOptions_ModelRegistry :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Default value.+pattern TrainingOptions_ModelRegistry_MODELREGISTRYUNSPECIFIED :: TrainingOptions_ModelRegistry+pattern TrainingOptions_ModelRegistry_MODELREGISTRYUNSPECIFIED = TrainingOptions_ModelRegistry "MODEL_REGISTRY_UNSPECIFIED"++-- | Vertex AI.+pattern TrainingOptions_ModelRegistry_VERTEXAI :: TrainingOptions_ModelRegistry+pattern TrainingOptions_ModelRegistry_VERTEXAI = TrainingOptions_ModelRegistry "VERTEX_AI"++{-# COMPLETE+  TrainingOptions_ModelRegistry_MODELREGISTRYUNSPECIFIED,+  TrainingOptions_ModelRegistry_VERTEXAI,+  TrainingOptions_ModelRegistry+  #-}++-- | Optimization strategy for training linear regression models.+newtype TrainingOptions_OptimizationStrategy = TrainingOptions_OptimizationStrategy {fromTrainingOptions_OptimizationStrategy :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Default value.+pattern TrainingOptions_OptimizationStrategy_OPTIMIZATIONSTRATEGYUNSPECIFIED :: TrainingOptions_OptimizationStrategy+pattern TrainingOptions_OptimizationStrategy_OPTIMIZATIONSTRATEGYUNSPECIFIED = TrainingOptions_OptimizationStrategy "OPTIMIZATION_STRATEGY_UNSPECIFIED"++-- | Uses an iterative batch gradient descent algorithm.+pattern TrainingOptions_OptimizationStrategy_BATCHGRADIENTDESCENT :: TrainingOptions_OptimizationStrategy+pattern TrainingOptions_OptimizationStrategy_BATCHGRADIENTDESCENT = TrainingOptions_OptimizationStrategy "BATCH_GRADIENT_DESCENT"++-- | Uses a normal equation to solve linear regression problem.+pattern TrainingOptions_OptimizationStrategy_NORMALEQUATION :: TrainingOptions_OptimizationStrategy+pattern TrainingOptions_OptimizationStrategy_NORMALEQUATION = TrainingOptions_OptimizationStrategy "NORMAL_EQUATION"++{-# COMPLETE+  TrainingOptions_OptimizationStrategy_OPTIMIZATIONSTRATEGYUNSPECIFIED,+  TrainingOptions_OptimizationStrategy_BATCHGRADIENTDESCENT,+  TrainingOptions_OptimizationStrategy_NORMALEQUATION,+  TrainingOptions_OptimizationStrategy+  #-}++-- | The solver for PCA.+newtype TrainingOptions_PcaSolver = TrainingOptions_PcaSolver {fromTrainingOptions_PcaSolver :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Default value.+pattern TrainingOptions_PcaSolver_Unspecified :: TrainingOptions_PcaSolver+pattern TrainingOptions_PcaSolver_Unspecified = TrainingOptions_PcaSolver "UNSPECIFIED"++-- | Full eigen-decoposition.+pattern TrainingOptions_PcaSolver_Full :: TrainingOptions_PcaSolver+pattern TrainingOptions_PcaSolver_Full = TrainingOptions_PcaSolver "FULL"++-- | Randomized SVD.+pattern TrainingOptions_PcaSolver_Randomized :: TrainingOptions_PcaSolver+pattern TrainingOptions_PcaSolver_Randomized = TrainingOptions_PcaSolver "RANDOMIZED"++-- | Auto.+pattern TrainingOptions_PcaSolver_Auto :: TrainingOptions_PcaSolver+pattern TrainingOptions_PcaSolver_Auto = TrainingOptions_PcaSolver "AUTO"++{-# COMPLETE+  TrainingOptions_PcaSolver_Unspecified,+  TrainingOptions_PcaSolver_Full,+  TrainingOptions_PcaSolver_Randomized,+  TrainingOptions_PcaSolver_Auto,+  TrainingOptions_PcaSolver+  #-}++-- | Tree construction algorithm for boosted tree models.+newtype TrainingOptions_TreeMethod = TrainingOptions_TreeMethod {fromTrainingOptions_TreeMethod :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Unspecified tree method.+pattern TrainingOptions_TreeMethod_TREEMETHODUNSPECIFIED :: TrainingOptions_TreeMethod+pattern TrainingOptions_TreeMethod_TREEMETHODUNSPECIFIED = TrainingOptions_TreeMethod "TREE_METHOD_UNSPECIFIED"++-- | Use heuristic to choose the fastest method.+pattern TrainingOptions_TreeMethod_Auto :: TrainingOptions_TreeMethod+pattern TrainingOptions_TreeMethod_Auto = TrainingOptions_TreeMethod "AUTO"++-- | Exact greedy algorithm.+pattern TrainingOptions_TreeMethod_Exact :: TrainingOptions_TreeMethod+pattern TrainingOptions_TreeMethod_Exact = TrainingOptions_TreeMethod "EXACT"++-- | Approximate greedy algorithm using quantile sketch and gradient histogram.+pattern TrainingOptions_TreeMethod_Approx :: TrainingOptions_TreeMethod+pattern TrainingOptions_TreeMethod_Approx = TrainingOptions_TreeMethod "APPROX"++-- | Fast histogram optimized approximate greedy algorithm.+pattern TrainingOptions_TreeMethod_Hist :: TrainingOptions_TreeMethod+pattern TrainingOptions_TreeMethod_Hist = TrainingOptions_TreeMethod "HIST"++{-# COMPLETE+  TrainingOptions_TreeMethod_TREEMETHODUNSPECIFIED,+  TrainingOptions_TreeMethod_Auto,+  TrainingOptions_TreeMethod_Exact,+  TrainingOptions_TreeMethod_Approx,+  TrainingOptions_TreeMethod_Hist,+  TrainingOptions_TreeMethod+  #-}++-- | Specifies the index usage mode for the query.+newtype VectorSearchStatistics_IndexUsageMode = VectorSearchStatistics_IndexUsageMode {fromVectorSearchStatistics_IndexUsageMode :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Index usage mode not specified.+pattern VectorSearchStatistics_IndexUsageMode_INDEXUSAGEMODEUNSPECIFIED :: VectorSearchStatistics_IndexUsageMode+pattern VectorSearchStatistics_IndexUsageMode_INDEXUSAGEMODEUNSPECIFIED = VectorSearchStatistics_IndexUsageMode "INDEX_USAGE_MODE_UNSPECIFIED"++-- | No vector indexes were used in the vector search query. See [@indexUnusedReasons@] (\/bigquery\/docs\/reference\/rest\/v2\/Job#IndexUnusedReason) for detailed reasons.+pattern VectorSearchStatistics_IndexUsageMode_Unused :: VectorSearchStatistics_IndexUsageMode+pattern VectorSearchStatistics_IndexUsageMode_Unused = VectorSearchStatistics_IndexUsageMode "UNUSED"++-- | Part of the vector search query used vector indexes. See [@indexUnusedReasons@] (\/bigquery\/docs\/reference\/rest\/v2\/Job#IndexUnusedReason) for why other parts of the query did not use vector indexes.+pattern VectorSearchStatistics_IndexUsageMode_PARTIALLYUSED :: VectorSearchStatistics_IndexUsageMode+pattern VectorSearchStatistics_IndexUsageMode_PARTIALLYUSED = VectorSearchStatistics_IndexUsageMode "PARTIALLY_USED"++-- | The entire vector search query used vector indexes.+pattern VectorSearchStatistics_IndexUsageMode_FULLYUSED :: VectorSearchStatistics_IndexUsageMode+pattern VectorSearchStatistics_IndexUsageMode_FULLYUSED = VectorSearchStatistics_IndexUsageMode "FULLY_USED"++{-# COMPLETE+  VectorSearchStatistics_IndexUsageMode_INDEXUSAGEMODEUNSPECIFIED,+  VectorSearchStatistics_IndexUsageMode_Unused,+  VectorSearchStatistics_IndexUsageMode_PARTIALLYUSED,+  VectorSearchStatistics_IndexUsageMode_FULLYUSED,+  VectorSearchStatistics_IndexUsageMode+  #-}++-- | Optional. Specifies the view that determines which dataset information is returned. By default, metadata and ACL information are returned.+newtype DatasetsGetDatasetView = DatasetsGetDatasetView {fromDatasetsGetDatasetView :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | The default value. Default to the FULL view.+pattern DatasetsGetDatasetView_DATASETVIEWUNSPECIFIED :: DatasetsGetDatasetView+pattern DatasetsGetDatasetView_DATASETVIEWUNSPECIFIED = DatasetsGetDatasetView "DATASET_VIEW_UNSPECIFIED"++-- | Includes metadata information for the dataset, such as location, etag, lastModifiedTime, etc.+pattern DatasetsGetDatasetView_Metadata :: DatasetsGetDatasetView+pattern DatasetsGetDatasetView_Metadata = DatasetsGetDatasetView "METADATA"++-- | Includes ACL information for the dataset, which defines dataset access for one or more entities.+pattern DatasetsGetDatasetView_Acl :: DatasetsGetDatasetView+pattern DatasetsGetDatasetView_Acl = DatasetsGetDatasetView "ACL"++-- | Includes both dataset metadata and ACL information.+pattern DatasetsGetDatasetView_Full :: DatasetsGetDatasetView+pattern DatasetsGetDatasetView_Full = DatasetsGetDatasetView "FULL"++{-# COMPLETE+  DatasetsGetDatasetView_DATASETVIEWUNSPECIFIED,+  DatasetsGetDatasetView_Metadata,+  DatasetsGetDatasetView_Acl,+  DatasetsGetDatasetView_Full,+  DatasetsGetDatasetView+  #-}++-- | Restrict information returned to a set of selected fields+newtype JobsListProjection = JobsListProjection {fromJobsListProjection :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Includes all job data+pattern JobsListProjection_Full :: JobsListProjection+pattern JobsListProjection_Full = JobsListProjection "full"++-- | Does not include the job configuration+pattern JobsListProjection_Minimal :: JobsListProjection+pattern JobsListProjection_Minimal = JobsListProjection "minimal"++{-# COMPLETE+  JobsListProjection_Full,+  JobsListProjection_Minimal,+  JobsListProjection+  #-}++-- | Filter for job state+newtype JobsListStateFilter = JobsListStateFilter {fromJobsListStateFilter :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Finished jobs+pattern JobsListStateFilter_Done :: JobsListStateFilter+pattern JobsListStateFilter_Done = JobsListStateFilter "done"++-- | Pending jobs+pattern JobsListStateFilter_Pending :: JobsListStateFilter+pattern JobsListStateFilter_Pending = JobsListStateFilter "pending"++-- | Running jobs+pattern JobsListStateFilter_Running :: JobsListStateFilter+pattern JobsListStateFilter_Running = JobsListStateFilter "running"++{-# COMPLETE+  JobsListStateFilter_Done,+  JobsListStateFilter_Pending,+  JobsListStateFilter_Running,+  JobsListStateFilter+  #-}++-- | Optional. Specifies the view that determines which table information is returned. By default, basic table information and storage statistics (STORAGE_STATS) are returned.+newtype TablesGetView = TablesGetView {fromTablesGetView :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | The default value. Default to the STORAGE_STATS view.+pattern TablesGetView_TABLEMETADATAVIEWUNSPECIFIED :: TablesGetView+pattern TablesGetView_TABLEMETADATAVIEWUNSPECIFIED = TablesGetView "TABLE_METADATA_VIEW_UNSPECIFIED"++-- | Includes basic table information including schema and partitioning specification. This view does not include storage statistics such as numRows or numBytes. This view is significantly more efficient and should be used to support high query rates.+pattern TablesGetView_Basic :: TablesGetView+pattern TablesGetView_Basic = TablesGetView "BASIC"++-- | Includes all information in the BASIC view as well as storage statistics (numBytes, numLongTermBytes, numRows and lastModifiedTime).+pattern TablesGetView_STORAGESTATS :: TablesGetView+pattern TablesGetView_STORAGESTATS = TablesGetView "STORAGE_STATS"++-- | Includes all table information, including storage statistics. It returns same information as STORAGE_STATS view, but may contain additional information in the future.+pattern TablesGetView_Full :: TablesGetView+pattern TablesGetView_Full = TablesGetView "FULL"++{-# COMPLETE+  TablesGetView_TABLEMETADATAVIEWUNSPECIFIED,+  TablesGetView_Basic,+  TablesGetView_STORAGESTATS,+  TablesGetView_Full,+  TablesGetView+  #-}
+ gen/Gogol/BigQuery/Jobs/Cancel.hs view
@@ -0,0 +1,125 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.BigQuery.Jobs.Cancel+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Requests that a job be cancelled. This call will return immediately, and the client will need to poll for the job status to see if the cancel completed successfully. Cancelled jobs may still incur costs.+--+-- /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.jobs.cancel@.+module Gogol.BigQuery.Jobs.Cancel+  ( -- * Resource+    BigQueryJobsCancelResource,++    -- ** Constructing a Request+    BigQueryJobsCancel (..),+    newBigQueryJobsCancel,+  )+where++import Gogol.BigQuery.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquery.jobs.cancel@ method which the+-- 'BigQueryJobsCancel' request conforms to.+type BigQueryJobsCancelResource =+  "bigquery"+    Core.:> "v2"+    Core.:> "projects"+    Core.:> Core.Capture "projectId" Core.Text+    Core.:> "jobs"+    Core.:> Core.Capture "jobId" Core.Text+    Core.:> "cancel"+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "location" Core.Text+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Post '[Core.JSON] JobCancelResponse++-- | Requests that a job be cancelled. This call will return immediately, and the client will need to poll for the job status to see if the cancel completed successfully. Cancelled jobs may still incur costs.+--+-- /See:/ 'newBigQueryJobsCancel' smart constructor.+data BigQueryJobsCancel = BigQueryJobsCancel+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. Job ID of the job to cancel+    jobId :: Core.Text,+    -- | The geographic location of the job. You must <https://cloud.google.com/bigquery/docs/locations#specify_locations specify the location> to run the job for the following scenarios: * If the location to run a job is not in the @us@ or the @eu@ multi-regional location * If the job\'s location is in a single region (for example, @us-central1@)+    location :: (Core.Maybe Core.Text),+    -- | Required. Project ID of the job to cancel+    projectId :: Core.Text,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BigQueryJobsCancel' with the minimum fields required to make a request.+newBigQueryJobsCancel ::+  -- |  Required. Job ID of the job to cancel See 'jobId'.+  Core.Text ->+  -- |  Required. Project ID of the job to cancel See 'projectId'.+  Core.Text ->+  BigQueryJobsCancel+newBigQueryJobsCancel jobId projectId =+  BigQueryJobsCancel+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      jobId = jobId,+      location = Core.Nothing,+      projectId = projectId,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest BigQueryJobsCancel where+  type Rs BigQueryJobsCancel = JobCancelResponse+  type+    Scopes BigQueryJobsCancel =+      '[Bigquery'FullControl, CloudPlatform'FullControl]+  requestClient BigQueryJobsCancel {..} =+    go+      projectId+      jobId+      xgafv+      accessToken+      callback+      location+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      bigQueryService+    where+      go =+        Core.buildClient+          (Core.Proxy :: Core.Proxy BigQueryJobsCancelResource)+          Core.mempty
+ gen/Gogol/BigQuery/Jobs/Delete.hs view
@@ -0,0 +1,125 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.BigQuery.Jobs.Delete+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Requests the deletion of the metadata of a job. This call returns when the job\'s metadata is deleted.+--+-- /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.jobs.delete@.+module Gogol.BigQuery.Jobs.Delete+  ( -- * Resource+    BigQueryJobsDeleteResource,++    -- ** Constructing a Request+    BigQueryJobsDelete (..),+    newBigQueryJobsDelete,+  )+where++import Gogol.BigQuery.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquery.jobs.delete@ method which the+-- 'BigQueryJobsDelete' request conforms to.+type BigQueryJobsDeleteResource =+  "bigquery"+    Core.:> "v2"+    Core.:> "projects"+    Core.:> Core.Capture "projectId" Core.Text+    Core.:> "jobs"+    Core.:> Core.Capture "jobId" Core.Text+    Core.:> "delete"+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "location" Core.Text+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Delete '[Core.JSON] ()++-- | Requests the deletion of the metadata of a job. This call returns when the job\'s metadata is deleted.+--+-- /See:/ 'newBigQueryJobsDelete' smart constructor.+data BigQueryJobsDelete = BigQueryJobsDelete+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. Job ID of the job for which metadata is to be deleted. If this is a parent job which has child jobs, the metadata from all child jobs will be deleted as well. Direct deletion of the metadata of child jobs is not allowed.+    jobId :: Core.Text,+    -- | The geographic location of the job. Required. For more information, see how to <https://cloud.google.com/bigquery/docs/locations#specify_locations specify locations>.+    location :: (Core.Maybe Core.Text),+    -- | Required. Project ID of the job for which metadata is to be deleted.+    projectId :: Core.Text,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BigQueryJobsDelete' with the minimum fields required to make a request.+newBigQueryJobsDelete ::+  -- |  Required. Job ID of the job for which metadata is to be deleted. If this is a parent job which has child jobs, the metadata from all child jobs will be deleted as well. Direct deletion of the metadata of child jobs is not allowed. See 'jobId'.+  Core.Text ->+  -- |  Required. Project ID of the job for which metadata is to be deleted. See 'projectId'.+  Core.Text ->+  BigQueryJobsDelete+newBigQueryJobsDelete jobId projectId =+  BigQueryJobsDelete+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      jobId = jobId,+      location = Core.Nothing,+      projectId = projectId,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest BigQueryJobsDelete where+  type Rs BigQueryJobsDelete = ()+  type+    Scopes BigQueryJobsDelete =+      '[Bigquery'FullControl, CloudPlatform'FullControl]+  requestClient BigQueryJobsDelete {..} =+    go+      projectId+      jobId+      xgafv+      accessToken+      callback+      location+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      bigQueryService+    where+      go =+        Core.buildClient+          (Core.Proxy :: Core.Proxy BigQueryJobsDeleteResource)+          Core.mempty
+ gen/Gogol/BigQuery/Jobs/Get.hs view
@@ -0,0 +1,127 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.BigQuery.Jobs.Get+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns information about a specific job. Job information is available for a six month period after creation. Requires that you\'re the person who ran the job, or have the Is Owner project role.+--+-- /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.jobs.get@.+module Gogol.BigQuery.Jobs.Get+  ( -- * Resource+    BigQueryJobsGetResource,++    -- ** Constructing a Request+    BigQueryJobsGet (..),+    newBigQueryJobsGet,+  )+where++import Gogol.BigQuery.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquery.jobs.get@ method which the+-- 'BigQueryJobsGet' request conforms to.+type BigQueryJobsGetResource =+  "bigquery"+    Core.:> "v2"+    Core.:> "projects"+    Core.:> Core.Capture "projectId" Core.Text+    Core.:> "jobs"+    Core.:> Core.Capture "jobId" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "location" Core.Text+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Get '[Core.JSON] Job++-- | Returns information about a specific job. Job information is available for a six month period after creation. Requires that you\'re the person who ran the job, or have the Is Owner project role.+--+-- /See:/ 'newBigQueryJobsGet' smart constructor.+data BigQueryJobsGet = BigQueryJobsGet+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. Job ID of the requested job.+    jobId :: Core.Text,+    -- | The geographic location of the job. You must specify the location to run the job for the following scenarios: * If the location to run a job is not in the @us@ or the @eu@ multi-regional location * If the job\'s location is in a single region (for example, @us-central1@) For more information, see how to <https://cloud.google.com/bigquery/docs/locations#specify_locations specify locations>.+    location :: (Core.Maybe Core.Text),+    -- | Required. Project ID of the requested job.+    projectId :: Core.Text,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BigQueryJobsGet' with the minimum fields required to make a request.+newBigQueryJobsGet ::+  -- |  Required. Job ID of the requested job. See 'jobId'.+  Core.Text ->+  -- |  Required. Project ID of the requested job. See 'projectId'.+  Core.Text ->+  BigQueryJobsGet+newBigQueryJobsGet jobId projectId =+  BigQueryJobsGet+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      jobId = jobId,+      location = Core.Nothing,+      projectId = projectId,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest BigQueryJobsGet where+  type Rs BigQueryJobsGet = Job+  type+    Scopes BigQueryJobsGet =+      '[ Bigquery'FullControl,+         CloudPlatform'FullControl,+         CloudPlatform'ReadOnly+       ]+  requestClient BigQueryJobsGet {..} =+    go+      projectId+      jobId+      xgafv+      accessToken+      callback+      location+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      bigQueryService+    where+      go =+        Core.buildClient+          (Core.Proxy :: Core.Proxy BigQueryJobsGetResource)+          Core.mempty
+ gen/Gogol/BigQuery/Jobs/GetQueryResults.hs view
@@ -0,0 +1,152 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.BigQuery.Jobs.GetQueryResults+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- RPC to get the results of a query job.+--+-- /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.jobs.getQueryResults@.+module Gogol.BigQuery.Jobs.GetQueryResults+  ( -- * Resource+    BigQueryJobsGetQueryResultsResource,++    -- ** Constructing a Request+    BigQueryJobsGetQueryResults (..),+    newBigQueryJobsGetQueryResults,+  )+where++import Gogol.BigQuery.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquery.jobs.getQueryResults@ method which the+-- 'BigQueryJobsGetQueryResults' request conforms to.+type BigQueryJobsGetQueryResultsResource =+  "bigquery"+    Core.:> "v2"+    Core.:> "projects"+    Core.:> Core.Capture "projectId" Core.Text+    Core.:> "queries"+    Core.:> Core.Capture "jobId" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "formatOptions.useInt64Timestamp" Core.Bool+    Core.:> Core.QueryParam "location" Core.Text+    Core.:> Core.QueryParam "maxResults" Core.Word32+    Core.:> Core.QueryParam "pageToken" Core.Text+    Core.:> Core.QueryParam "startIndex" Core.Word64+    Core.:> Core.QueryParam "timeoutMs" Core.Word32+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Get '[Core.JSON] GetQueryResultsResponse++-- | RPC to get the results of a query job.+--+-- /See:/ 'newBigQueryJobsGetQueryResults' smart constructor.+data BigQueryJobsGetQueryResults = BigQueryJobsGetQueryResults+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Optional. Output timestamp as usec int64. Default is false.+    formatOptionsUseInt64Timestamp :: (Core.Maybe Core.Bool),+    -- | Required. Job ID of the query job.+    jobId :: Core.Text,+    -- | The geographic location of the job. You must specify the location to run the job for the following scenarios: * If the location to run a job is not in the @us@ or the @eu@ multi-regional location * If the job\'s location is in a single region (for example, @us-central1@) For more information, see how to <https://cloud.google.com/bigquery/docs/locations#specify_locations specify locations>.+    location :: (Core.Maybe Core.Text),+    -- | Maximum number of results to read.+    maxResults :: (Core.Maybe Core.Word32),+    -- | Page token, returned by a previous call, to request the next page of results.+    pageToken :: (Core.Maybe Core.Text),+    -- | Required. Project ID of the query job.+    projectId :: Core.Text,+    -- | Zero-based index of the starting row.+    startIndex :: (Core.Maybe Core.Word64),+    -- | Optional: Specifies the maximum amount of time, in milliseconds, that the client is willing to wait for the query to complete. By default, this limit is 10 seconds (10,000 milliseconds). If the query is complete, the jobComplete field in the response is true. If the query has not yet completed, jobComplete is false. You can request a longer timeout period in the timeoutMs field. However, the call is not guaranteed to wait for the specified timeout; it typically returns after around 200 seconds (200,000 milliseconds), even if the query is not complete. If jobComplete is false, you can continue to wait for the query to complete by calling the getQueryResults method until the jobComplete field in the getQueryResults response is true.+    timeoutMs :: (Core.Maybe Core.Word32),+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BigQueryJobsGetQueryResults' with the minimum fields required to make a request.+newBigQueryJobsGetQueryResults ::+  -- |  Required. Job ID of the query job. See 'jobId'.+  Core.Text ->+  -- |  Required. Project ID of the query job. See 'projectId'.+  Core.Text ->+  BigQueryJobsGetQueryResults+newBigQueryJobsGetQueryResults jobId projectId =+  BigQueryJobsGetQueryResults+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      formatOptionsUseInt64Timestamp = Core.Nothing,+      jobId = jobId,+      location = Core.Nothing,+      maxResults = Core.Nothing,+      pageToken = Core.Nothing,+      projectId = projectId,+      startIndex = Core.Nothing,+      timeoutMs = Core.Nothing,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest BigQueryJobsGetQueryResults where+  type Rs BigQueryJobsGetQueryResults = GetQueryResultsResponse+  type+    Scopes BigQueryJobsGetQueryResults =+      '[ Bigquery'FullControl,+         CloudPlatform'FullControl,+         CloudPlatform'ReadOnly+       ]+  requestClient BigQueryJobsGetQueryResults {..} =+    go+      projectId+      jobId+      xgafv+      accessToken+      callback+      formatOptionsUseInt64Timestamp+      location+      maxResults+      pageToken+      startIndex+      timeoutMs+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      bigQueryService+    where+      go =+        Core.buildClient+          (Core.Proxy :: Core.Proxy BigQueryJobsGetQueryResultsResource)+          Core.mempty
+ gen/Gogol/BigQuery/Jobs/Insert.hs view
@@ -0,0 +1,163 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.BigQuery.Jobs.Insert+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Starts a new asynchronous job. This API has two different kinds of endpoint URIs, as this method supports a variety of use cases. * The /Metadata/ URI is used for most interactions, as it accepts the job configuration directly. * The /Upload/ URI is ONLY for the case when you\'re sending both a load job configuration and a data stream together. In this case, the Upload URI accepts the job configuration and the data as two distinct multipart MIME parts.+--+-- /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.jobs.insert@.+module Gogol.BigQuery.Jobs.Insert+  ( -- * Resource+    BigQueryJobsInsertResource,++    -- ** Constructing a Request+    BigQueryJobsInsert (..),+    newBigQueryJobsInsert,+  )+where++import Gogol.BigQuery.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquery.jobs.insert@ method which the+-- 'BigQueryJobsInsert' request conforms to.+type BigQueryJobsInsertResource =+  "bigquery"+    Core.:> "v2"+    Core.:> "projects"+    Core.:> Core.Capture "projectId" Core.Text+    Core.:> "jobs"+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.ReqBody '[Core.JSON] Job+    Core.:> Core.Post '[Core.JSON] Job+    Core.:<|> "upload"+    Core.:> "bigquery"+    Core.:> "v2"+    Core.:> "projects"+    Core.:> Core.Capture "projectId" Core.Text+    Core.:> "jobs"+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.QueryParam "uploadType" Core.Multipart+    Core.:> Core.MultipartRelated '[Core.JSON] Job+    Core.:> Core.Post '[Core.JSON] Job++-- | Starts a new asynchronous job. This API has two different kinds of endpoint URIs, as this method supports a variety of use cases. * The /Metadata/ URI is used for most interactions, as it accepts the job configuration directly. * The /Upload/ URI is ONLY for the case when you\'re sending both a load job configuration and a data stream together. In this case, the Upload URI accepts the job configuration and the data as two distinct multipart MIME parts.+--+-- /See:/ 'newBigQueryJobsInsert' smart constructor.+data BigQueryJobsInsert = BigQueryJobsInsert+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Multipart request metadata.+    payload :: Job,+    -- | Project ID of project that will be billed for the job.+    projectId :: Core.Text,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BigQueryJobsInsert' with the minimum fields required to make a request.+newBigQueryJobsInsert ::+  -- |  Multipart request metadata. See 'payload'.+  Job ->+  -- |  Project ID of project that will be billed for the job. See 'projectId'.+  Core.Text ->+  BigQueryJobsInsert+newBigQueryJobsInsert payload projectId =+  BigQueryJobsInsert+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      payload = payload,+      projectId = projectId,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest BigQueryJobsInsert where+  type Rs BigQueryJobsInsert = Job+  type+    Scopes BigQueryJobsInsert =+      '[ Bigquery'FullControl,+         CloudPlatform'FullControl,+         Devstorage'FullControl,+         Devstorage'ReadOnly,+         Devstorage'ReadWrite+       ]+  requestClient BigQueryJobsInsert {..} =+    go+      projectId+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      payload+      bigQueryService+    where+      go Core.:<|> _ =+        Core.buildClient+          (Core.Proxy :: Core.Proxy BigQueryJobsInsertResource)+          Core.mempty++instance Core.GoogleRequest (Core.MediaUpload BigQueryJobsInsert) where+  type Rs (Core.MediaUpload BigQueryJobsInsert) = Job+  type+    Scopes (Core.MediaUpload BigQueryJobsInsert) =+      Core.Scopes BigQueryJobsInsert+  requestClient (Core.MediaUpload BigQueryJobsInsert {..} body) =+    go+      projectId+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      (Core.Just Core.Multipart)+      payload+      body+      bigQueryService+    where+      _ Core.:<|> go =+        Core.buildClient+          (Core.Proxy :: Core.Proxy BigQueryJobsInsertResource)+          Core.mempty
+ gen/Gogol/BigQuery/Jobs/List.hs view
@@ -0,0 +1,155 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.BigQuery.Jobs.List+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists all jobs that you started in the specified project. Job information is available for a six month period after creation. The job list is sorted in reverse chronological order, by job creation time. Requires the Can View project role, or the Is Owner project role if you set the allUsers property.+--+-- /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.jobs.list@.+module Gogol.BigQuery.Jobs.List+  ( -- * Resource+    BigQueryJobsListResource,++    -- ** Constructing a Request+    BigQueryJobsList (..),+    newBigQueryJobsList,+  )+where++import Gogol.BigQuery.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquery.jobs.list@ method which the+-- 'BigQueryJobsList' request conforms to.+type BigQueryJobsListResource =+  "bigquery"+    Core.:> "v2"+    Core.:> "projects"+    Core.:> Core.Capture "projectId" Core.Text+    Core.:> "jobs"+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "allUsers" Core.Bool+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "maxCreationTime" Core.Word64+    Core.:> Core.QueryParam "maxResults" Core.Word32+    Core.:> Core.QueryParam "minCreationTime" Core.Word64+    Core.:> Core.QueryParam "pageToken" Core.Text+    Core.:> Core.QueryParam "parentJobId" Core.Text+    Core.:> Core.QueryParam "projection" JobsListProjection+    Core.:> Core.QueryParams "stateFilter" JobsListStateFilter+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Get '[Core.JSON] JobList++-- | Lists all jobs that you started in the specified project. Job information is available for a six month period after creation. The job list is sorted in reverse chronological order, by job creation time. Requires the Can View project role, or the Is Owner project role if you set the allUsers property.+--+-- /See:/ 'newBigQueryJobsList' smart constructor.+data BigQueryJobsList = BigQueryJobsList+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | Whether to display jobs owned by all users in the project. Default False.+    allUsers :: (Core.Maybe Core.Bool),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Max value for job creation time, in milliseconds since the POSIX epoch. If set, only jobs created before or at this timestamp are returned.+    maxCreationTime :: (Core.Maybe Core.Word64),+    -- | The maximum number of results to return in a single response page. Leverage the page tokens to iterate through the entire collection.+    maxResults :: (Core.Maybe Core.Word32),+    -- | Min value for job creation time, in milliseconds since the POSIX epoch. If set, only jobs created after or at this timestamp are returned.+    minCreationTime :: (Core.Maybe Core.Word64),+    -- | Page token, returned by a previous call, to request the next page of results.+    pageToken :: (Core.Maybe Core.Text),+    -- | If set, show only child jobs of the specified parent. Otherwise, show all top-level jobs.+    parentJobId :: (Core.Maybe Core.Text),+    -- | Project ID of the jobs to list.+    projectId :: Core.Text,+    -- | Restrict information returned to a set of selected fields+    projection :: (Core.Maybe JobsListProjection),+    -- | Filter for job state+    stateFilter :: (Core.Maybe [JobsListStateFilter]),+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BigQueryJobsList' with the minimum fields required to make a request.+newBigQueryJobsList ::+  -- |  Project ID of the jobs to list. See 'projectId'.+  Core.Text ->+  BigQueryJobsList+newBigQueryJobsList projectId =+  BigQueryJobsList+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      allUsers = Core.Nothing,+      callback = Core.Nothing,+      maxCreationTime = Core.Nothing,+      maxResults = Core.Nothing,+      minCreationTime = Core.Nothing,+      pageToken = Core.Nothing,+      parentJobId = Core.Nothing,+      projectId = projectId,+      projection = Core.Nothing,+      stateFilter = Core.Nothing,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest BigQueryJobsList where+  type Rs BigQueryJobsList = JobList+  type+    Scopes BigQueryJobsList =+      '[ Bigquery'FullControl,+         CloudPlatform'FullControl,+         CloudPlatform'ReadOnly+       ]+  requestClient BigQueryJobsList {..} =+    go+      projectId+      xgafv+      accessToken+      allUsers+      callback+      maxCreationTime+      maxResults+      minCreationTime+      pageToken+      parentJobId+      projection+      (stateFilter Core.^. Core._Default)+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      bigQueryService+    where+      go =+        Core.buildClient+          (Core.Proxy :: Core.Proxy BigQueryJobsListResource)+          Core.mempty
+ gen/Gogol/BigQuery/Jobs/Query.hs view
@@ -0,0 +1,122 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.BigQuery.Jobs.Query+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Runs a BigQuery SQL query synchronously and returns query results if the query completes within a specified timeout.+--+-- /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.jobs.query@.+module Gogol.BigQuery.Jobs.Query+  ( -- * Resource+    BigQueryJobsQueryResource,++    -- ** Constructing a Request+    BigQueryJobsQuery (..),+    newBigQueryJobsQuery,+  )+where++import Gogol.BigQuery.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquery.jobs.query@ method which the+-- 'BigQueryJobsQuery' request conforms to.+type BigQueryJobsQueryResource =+  "bigquery"+    Core.:> "v2"+    Core.:> "projects"+    Core.:> Core.Capture "projectId" Core.Text+    Core.:> "queries"+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.ReqBody '[Core.JSON] QueryRequest+    Core.:> Core.Post '[Core.JSON] QueryResponse++-- | Runs a BigQuery SQL query synchronously and returns query results if the query completes within a specified timeout.+--+-- /See:/ 'newBigQueryJobsQuery' smart constructor.+data BigQueryJobsQuery = BigQueryJobsQuery+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Multipart request metadata.+    payload :: QueryRequest,+    -- | Required. Project ID of the query request.+    projectId :: Core.Text,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BigQueryJobsQuery' with the minimum fields required to make a request.+newBigQueryJobsQuery ::+  -- |  Multipart request metadata. See 'payload'.+  QueryRequest ->+  -- |  Required. Project ID of the query request. See 'projectId'.+  Core.Text ->+  BigQueryJobsQuery+newBigQueryJobsQuery payload projectId =+  BigQueryJobsQuery+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      payload = payload,+      projectId = projectId,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest BigQueryJobsQuery where+  type Rs BigQueryJobsQuery = QueryResponse+  type+    Scopes BigQueryJobsQuery =+      '[ Bigquery'FullControl,+         CloudPlatform'FullControl,+         CloudPlatform'ReadOnly+       ]+  requestClient BigQueryJobsQuery {..} =+    go+      projectId+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      payload+      bigQueryService+    where+      go =+        Core.buildClient+          (Core.Proxy :: Core.Proxy BigQueryJobsQueryResource)+          Core.mempty
+ gen/Gogol/BigQuery/Models/Delete.hs view
@@ -0,0 +1,127 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.BigQuery.Models.Delete+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes the model specified by modelId from the dataset.+--+-- /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.models.delete@.+module Gogol.BigQuery.Models.Delete+  ( -- * Resource+    BigQueryModelsDeleteResource,++    -- ** Constructing a Request+    BigQueryModelsDelete (..),+    newBigQueryModelsDelete,+  )+where++import Gogol.BigQuery.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquery.models.delete@ method which the+-- 'BigQueryModelsDelete' request conforms to.+type BigQueryModelsDeleteResource =+  "bigquery"+    Core.:> "v2"+    Core.:> "projects"+    Core.:> Core.Capture "projectId" Core.Text+    Core.:> "datasets"+    Core.:> Core.Capture "datasetId" Core.Text+    Core.:> "models"+    Core.:> Core.Capture "modelId" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Delete '[Core.JSON] ()++-- | Deletes the model specified by modelId from the dataset.+--+-- /See:/ 'newBigQueryModelsDelete' smart constructor.+data BigQueryModelsDelete = BigQueryModelsDelete+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. Dataset ID of the model to delete.+    datasetId :: Core.Text,+    -- | Required. Model ID of the model to delete.+    modelId :: Core.Text,+    -- | Required. Project ID of the model to delete.+    projectId :: Core.Text,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BigQueryModelsDelete' with the minimum fields required to make a request.+newBigQueryModelsDelete ::+  -- |  Required. Dataset ID of the model to delete. See 'datasetId'.+  Core.Text ->+  -- |  Required. Model ID of the model to delete. See 'modelId'.+  Core.Text ->+  -- |  Required. Project ID of the model to delete. See 'projectId'.+  Core.Text ->+  BigQueryModelsDelete+newBigQueryModelsDelete datasetId modelId projectId =+  BigQueryModelsDelete+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      datasetId = datasetId,+      modelId = modelId,+      projectId = projectId,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest BigQueryModelsDelete where+  type Rs BigQueryModelsDelete = ()+  type+    Scopes BigQueryModelsDelete =+      '[Bigquery'FullControl, CloudPlatform'FullControl]+  requestClient BigQueryModelsDelete {..} =+    go+      projectId+      datasetId+      modelId+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      bigQueryService+    where+      go =+        Core.buildClient+          (Core.Proxy :: Core.Proxy BigQueryModelsDeleteResource)+          Core.mempty
+ gen/Gogol/BigQuery/Models/Get.hs view
@@ -0,0 +1,130 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.BigQuery.Models.Get+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets the specified model resource by model ID.+--+-- /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.models.get@.+module Gogol.BigQuery.Models.Get+  ( -- * Resource+    BigQueryModelsGetResource,++    -- ** Constructing a Request+    BigQueryModelsGet (..),+    newBigQueryModelsGet,+  )+where++import Gogol.BigQuery.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquery.models.get@ method which the+-- 'BigQueryModelsGet' request conforms to.+type BigQueryModelsGetResource =+  "bigquery"+    Core.:> "v2"+    Core.:> "projects"+    Core.:> Core.Capture "projectId" Core.Text+    Core.:> "datasets"+    Core.:> Core.Capture "datasetId" Core.Text+    Core.:> "models"+    Core.:> Core.Capture "modelId" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Get '[Core.JSON] Model++-- | Gets the specified model resource by model ID.+--+-- /See:/ 'newBigQueryModelsGet' smart constructor.+data BigQueryModelsGet = BigQueryModelsGet+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. Dataset ID of the requested model.+    datasetId :: Core.Text,+    -- | Required. Model ID of the requested model.+    modelId :: Core.Text,+    -- | Required. Project ID of the requested model.+    projectId :: Core.Text,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BigQueryModelsGet' with the minimum fields required to make a request.+newBigQueryModelsGet ::+  -- |  Required. Dataset ID of the requested model. See 'datasetId'.+  Core.Text ->+  -- |  Required. Model ID of the requested model. See 'modelId'.+  Core.Text ->+  -- |  Required. Project ID of the requested model. See 'projectId'.+  Core.Text ->+  BigQueryModelsGet+newBigQueryModelsGet datasetId modelId projectId =+  BigQueryModelsGet+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      datasetId = datasetId,+      modelId = modelId,+      projectId = projectId,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest BigQueryModelsGet where+  type Rs BigQueryModelsGet = Model+  type+    Scopes BigQueryModelsGet =+      '[ Bigquery'FullControl,+         CloudPlatform'FullControl,+         CloudPlatform'ReadOnly+       ]+  requestClient BigQueryModelsGet {..} =+    go+      projectId+      datasetId+      modelId+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      bigQueryService+    where+      go =+        Core.buildClient+          (Core.Proxy :: Core.Proxy BigQueryModelsGetResource)+          Core.mempty
+ gen/Gogol/BigQuery/Models/List.hs view
@@ -0,0 +1,133 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.BigQuery.Models.List+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists all models in the specified dataset. Requires the READER dataset role. After retrieving the list of models, you can get information about a particular model by calling the models.get method.+--+-- /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.models.list@.+module Gogol.BigQuery.Models.List+  ( -- * Resource+    BigQueryModelsListResource,++    -- ** Constructing a Request+    BigQueryModelsList (..),+    newBigQueryModelsList,+  )+where++import Gogol.BigQuery.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquery.models.list@ method which the+-- 'BigQueryModelsList' request conforms to.+type BigQueryModelsListResource =+  "bigquery"+    Core.:> "v2"+    Core.:> "projects"+    Core.:> Core.Capture "projectId" Core.Text+    Core.:> "datasets"+    Core.:> Core.Capture "datasetId" Core.Text+    Core.:> "models"+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "maxResults" Core.Word32+    Core.:> Core.QueryParam "pageToken" Core.Text+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Get '[Core.JSON] ListModelsResponse++-- | Lists all models in the specified dataset. Requires the READER dataset role. After retrieving the list of models, you can get information about a particular model by calling the models.get method.+--+-- /See:/ 'newBigQueryModelsList' smart constructor.+data BigQueryModelsList = BigQueryModelsList+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. Dataset ID of the models to list.+    datasetId :: Core.Text,+    -- | The maximum number of results to return in a single response page. Leverage the page tokens to iterate through the entire collection.+    maxResults :: (Core.Maybe Core.Word32),+    -- | Page token, returned by a previous call to request the next page of results+    pageToken :: (Core.Maybe Core.Text),+    -- | Required. Project ID of the models to list.+    projectId :: Core.Text,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BigQueryModelsList' with the minimum fields required to make a request.+newBigQueryModelsList ::+  -- |  Required. Dataset ID of the models to list. See 'datasetId'.+  Core.Text ->+  -- |  Required. Project ID of the models to list. See 'projectId'.+  Core.Text ->+  BigQueryModelsList+newBigQueryModelsList datasetId projectId =+  BigQueryModelsList+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      datasetId = datasetId,+      maxResults = Core.Nothing,+      pageToken = Core.Nothing,+      projectId = projectId,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest BigQueryModelsList where+  type Rs BigQueryModelsList = ListModelsResponse+  type+    Scopes BigQueryModelsList =+      '[ Bigquery'FullControl,+         CloudPlatform'FullControl,+         CloudPlatform'ReadOnly+       ]+  requestClient BigQueryModelsList {..} =+    go+      projectId+      datasetId+      xgafv+      accessToken+      callback+      maxResults+      pageToken+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      bigQueryService+    where+      go =+        Core.buildClient+          (Core.Proxy :: Core.Proxy BigQueryModelsListResource)+          Core.mempty
+ gen/Gogol/BigQuery/Models/Patch.hs view
@@ -0,0 +1,134 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.BigQuery.Models.Patch+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Patch specific fields in the specified model.+--+-- /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.models.patch@.+module Gogol.BigQuery.Models.Patch+  ( -- * Resource+    BigQueryModelsPatchResource,++    -- ** Constructing a Request+    BigQueryModelsPatch (..),+    newBigQueryModelsPatch,+  )+where++import Gogol.BigQuery.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquery.models.patch@ method which the+-- 'BigQueryModelsPatch' request conforms to.+type BigQueryModelsPatchResource =+  "bigquery"+    Core.:> "v2"+    Core.:> "projects"+    Core.:> Core.Capture "projectId" Core.Text+    Core.:> "datasets"+    Core.:> Core.Capture "datasetId" Core.Text+    Core.:> "models"+    Core.:> Core.Capture "modelId" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.ReqBody '[Core.JSON] Model+    Core.:> Core.Patch '[Core.JSON] Model++-- | Patch specific fields in the specified model.+--+-- /See:/ 'newBigQueryModelsPatch' smart constructor.+data BigQueryModelsPatch = BigQueryModelsPatch+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. Dataset ID of the model to patch.+    datasetId :: Core.Text,+    -- | Required. Model ID of the model to patch.+    modelId :: Core.Text,+    -- | Multipart request metadata.+    payload :: Model,+    -- | Required. Project ID of the model to patch.+    projectId :: Core.Text,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BigQueryModelsPatch' with the minimum fields required to make a request.+newBigQueryModelsPatch ::+  -- |  Required. Dataset ID of the model to patch. See 'datasetId'.+  Core.Text ->+  -- |  Required. Model ID of the model to patch. See 'modelId'.+  Core.Text ->+  -- |  Multipart request metadata. See 'payload'.+  Model ->+  -- |  Required. Project ID of the model to patch. See 'projectId'.+  Core.Text ->+  BigQueryModelsPatch+newBigQueryModelsPatch datasetId modelId payload projectId =+  BigQueryModelsPatch+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      datasetId = datasetId,+      modelId = modelId,+      payload = payload,+      projectId = projectId,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest BigQueryModelsPatch where+  type Rs BigQueryModelsPatch = Model+  type+    Scopes BigQueryModelsPatch =+      '[Bigquery'FullControl, CloudPlatform'FullControl]+  requestClient BigQueryModelsPatch {..} =+    go+      projectId+      datasetId+      modelId+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      payload+      bigQueryService+    where+      go =+        Core.buildClient+          (Core.Proxy :: Core.Proxy BigQueryModelsPatchResource)+          Core.mempty
+ gen/Gogol/BigQuery/Projects/GetServiceAccount.hs view
@@ -0,0 +1,119 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.BigQuery.Projects.GetServiceAccount+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- RPC to get the service account for a project used for interactions with Google Cloud KMS+--+-- /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.projects.getServiceAccount@.+module Gogol.BigQuery.Projects.GetServiceAccount+  ( -- * Resource+    BigQueryProjectsGetServiceAccountResource,++    -- ** Constructing a Request+    BigQueryProjectsGetServiceAccount (..),+    newBigQueryProjectsGetServiceAccount,+  )+where++import Gogol.BigQuery.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquery.projects.getServiceAccount@ method which the+-- 'BigQueryProjectsGetServiceAccount' request conforms to.+type BigQueryProjectsGetServiceAccountResource =+  "bigquery"+    Core.:> "v2"+    Core.:> "projects"+    Core.:> Core.Capture "projectId" Core.Text+    Core.:> "serviceAccount"+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Get '[Core.JSON] GetServiceAccountResponse++-- | RPC to get the service account for a project used for interactions with Google Cloud KMS+--+-- /See:/ 'newBigQueryProjectsGetServiceAccount' smart constructor.+data BigQueryProjectsGetServiceAccount = BigQueryProjectsGetServiceAccount+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. ID of the project.+    projectId :: Core.Text,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BigQueryProjectsGetServiceAccount' with the minimum fields required to make a request.+newBigQueryProjectsGetServiceAccount ::+  -- |  Required. ID of the project. See 'projectId'.+  Core.Text ->+  BigQueryProjectsGetServiceAccount+newBigQueryProjectsGetServiceAccount projectId =+  BigQueryProjectsGetServiceAccount+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      projectId = projectId,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest BigQueryProjectsGetServiceAccount where+  type+    Rs BigQueryProjectsGetServiceAccount =+      GetServiceAccountResponse+  type+    Scopes BigQueryProjectsGetServiceAccount =+      '[ Bigquery'FullControl,+         CloudPlatform'FullControl,+         CloudPlatform'ReadOnly+       ]+  requestClient BigQueryProjectsGetServiceAccount {..} =+    go+      projectId+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      bigQueryService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy BigQueryProjectsGetServiceAccountResource+          )+          Core.mempty
+ gen/Gogol/BigQuery/Projects/List.hs view
@@ -0,0 +1,117 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.BigQuery.Projects.List+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- RPC to list projects to which the user has been granted any project role. Users of this method are encouraged to consider the <https://cloud.google.com/resource-manager/docs/ Resource Manager> API, which provides the underlying data for this method and has more capabilities.+--+-- /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.projects.list@.+module Gogol.BigQuery.Projects.List+  ( -- * Resource+    BigQueryProjectsListResource,++    -- ** Constructing a Request+    BigQueryProjectsList (..),+    newBigQueryProjectsList,+  )+where++import Gogol.BigQuery.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquery.projects.list@ method which the+-- 'BigQueryProjectsList' request conforms to.+type BigQueryProjectsListResource =+  "bigquery"+    Core.:> "v2"+    Core.:> "projects"+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "maxResults" Core.Word32+    Core.:> Core.QueryParam "pageToken" Core.Text+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Get '[Core.JSON] ProjectList++-- | RPC to list projects to which the user has been granted any project role. Users of this method are encouraged to consider the <https://cloud.google.com/resource-manager/docs/ Resource Manager> API, which provides the underlying data for this method and has more capabilities.+--+-- /See:/ 'newBigQueryProjectsList' smart constructor.+data BigQueryProjectsList = BigQueryProjectsList+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | @maxResults@ unset returns all results, up to 50 per page. Additionally, the number of projects in a page may be fewer than @maxResults@ because projects are retrieved and then filtered to only projects with the BigQuery API enabled.+    maxResults :: (Core.Maybe Core.Word32),+    -- | Page token, returned by a previous call, to request the next page of results. If not present, no further pages are present.+    pageToken :: (Core.Maybe Core.Text),+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BigQueryProjectsList' with the minimum fields required to make a request.+newBigQueryProjectsList ::+  BigQueryProjectsList+newBigQueryProjectsList =+  BigQueryProjectsList+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      maxResults = Core.Nothing,+      pageToken = Core.Nothing,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest BigQueryProjectsList where+  type Rs BigQueryProjectsList = ProjectList+  type+    Scopes BigQueryProjectsList =+      '[ Bigquery'FullControl,+         CloudPlatform'FullControl,+         CloudPlatform'ReadOnly+       ]+  requestClient BigQueryProjectsList {..} =+    go+      xgafv+      accessToken+      callback+      maxResults+      pageToken+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      bigQueryService+    where+      go =+        Core.buildClient+          (Core.Proxy :: Core.Proxy BigQueryProjectsListResource)+          Core.mempty
+ gen/Gogol/BigQuery/Routines/Delete.hs view
@@ -0,0 +1,127 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.BigQuery.Routines.Delete+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes the routine specified by routineId from the dataset.+--+-- /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.routines.delete@.+module Gogol.BigQuery.Routines.Delete+  ( -- * Resource+    BigQueryRoutinesDeleteResource,++    -- ** Constructing a Request+    BigQueryRoutinesDelete (..),+    newBigQueryRoutinesDelete,+  )+where++import Gogol.BigQuery.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquery.routines.delete@ method which the+-- 'BigQueryRoutinesDelete' request conforms to.+type BigQueryRoutinesDeleteResource =+  "bigquery"+    Core.:> "v2"+    Core.:> "projects"+    Core.:> Core.Capture "projectId" Core.Text+    Core.:> "datasets"+    Core.:> Core.Capture "datasetId" Core.Text+    Core.:> "routines"+    Core.:> Core.Capture "routineId" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Delete '[Core.JSON] ()++-- | Deletes the routine specified by routineId from the dataset.+--+-- /See:/ 'newBigQueryRoutinesDelete' smart constructor.+data BigQueryRoutinesDelete = BigQueryRoutinesDelete+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. Dataset ID of the routine to delete+    datasetId :: Core.Text,+    -- | Required. Project ID of the routine to delete+    projectId :: Core.Text,+    -- | Required. Routine ID of the routine to delete+    routineId :: Core.Text,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BigQueryRoutinesDelete' with the minimum fields required to make a request.+newBigQueryRoutinesDelete ::+  -- |  Required. Dataset ID of the routine to delete See 'datasetId'.+  Core.Text ->+  -- |  Required. Project ID of the routine to delete See 'projectId'.+  Core.Text ->+  -- |  Required. Routine ID of the routine to delete See 'routineId'.+  Core.Text ->+  BigQueryRoutinesDelete+newBigQueryRoutinesDelete datasetId projectId routineId =+  BigQueryRoutinesDelete+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      datasetId = datasetId,+      projectId = projectId,+      routineId = routineId,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest BigQueryRoutinesDelete where+  type Rs BigQueryRoutinesDelete = ()+  type+    Scopes BigQueryRoutinesDelete =+      '[Bigquery'FullControl, CloudPlatform'FullControl]+  requestClient BigQueryRoutinesDelete {..} =+    go+      projectId+      datasetId+      routineId+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      bigQueryService+    where+      go =+        Core.buildClient+          (Core.Proxy :: Core.Proxy BigQueryRoutinesDeleteResource)+          Core.mempty
+ gen/Gogol/BigQuery/Routines/Get.hs view
@@ -0,0 +1,135 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.BigQuery.Routines.Get+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets the specified routine resource by routine ID.+--+-- /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.routines.get@.+module Gogol.BigQuery.Routines.Get+  ( -- * Resource+    BigQueryRoutinesGetResource,++    -- ** Constructing a Request+    BigQueryRoutinesGet (..),+    newBigQueryRoutinesGet,+  )+where++import Gogol.BigQuery.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquery.routines.get@ method which the+-- 'BigQueryRoutinesGet' request conforms to.+type BigQueryRoutinesGetResource =+  "bigquery"+    Core.:> "v2"+    Core.:> "projects"+    Core.:> Core.Capture "projectId" Core.Text+    Core.:> "datasets"+    Core.:> Core.Capture "datasetId" Core.Text+    Core.:> "routines"+    Core.:> Core.Capture "routineId" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "readMask" Core.FieldMask+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Get '[Core.JSON] Routine++-- | Gets the specified routine resource by routine ID.+--+-- /See:/ 'newBigQueryRoutinesGet' smart constructor.+data BigQueryRoutinesGet = BigQueryRoutinesGet+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. Dataset ID of the requested routine+    datasetId :: Core.Text,+    -- | Required. Project ID of the requested routine+    projectId :: Core.Text,+    -- | If set, only the Routine fields in the field mask are returned in the response. If unset, all Routine fields are returned.+    readMask :: (Core.Maybe Core.FieldMask),+    -- | Required. Routine ID of the requested routine+    routineId :: Core.Text,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BigQueryRoutinesGet' with the minimum fields required to make a request.+newBigQueryRoutinesGet ::+  -- |  Required. Dataset ID of the requested routine See 'datasetId'.+  Core.Text ->+  -- |  Required. Project ID of the requested routine See 'projectId'.+  Core.Text ->+  -- |  Required. Routine ID of the requested routine See 'routineId'.+  Core.Text ->+  BigQueryRoutinesGet+newBigQueryRoutinesGet datasetId projectId routineId =+  BigQueryRoutinesGet+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      datasetId = datasetId,+      projectId = projectId,+      readMask = Core.Nothing,+      routineId = routineId,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest BigQueryRoutinesGet where+  type Rs BigQueryRoutinesGet = Routine+  type+    Scopes BigQueryRoutinesGet =+      '[ Bigquery'FullControl,+         CloudPlatform'FullControl,+         CloudPlatform'ReadOnly+       ]+  requestClient BigQueryRoutinesGet {..} =+    go+      projectId+      datasetId+      routineId+      xgafv+      accessToken+      callback+      readMask+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      bigQueryService+    where+      go =+        Core.buildClient+          (Core.Proxy :: Core.Proxy BigQueryRoutinesGetResource)+          Core.mempty
+ gen/Gogol/BigQuery/Routines/GetIamPolicy.hs view
@@ -0,0 +1,120 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.BigQuery.Routines.GetIamPolicy+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.+--+-- /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.routines.getIamPolicy@.+module Gogol.BigQuery.Routines.GetIamPolicy+  ( -- * Resource+    BigQueryRoutinesGetIamPolicyResource,++    -- ** Constructing a Request+    BigQueryRoutinesGetIamPolicy (..),+    newBigQueryRoutinesGetIamPolicy,+  )+where++import Gogol.BigQuery.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquery.routines.getIamPolicy@ method which the+-- 'BigQueryRoutinesGetIamPolicy' request conforms to.+type BigQueryRoutinesGetIamPolicyResource =+  "bigquery"+    Core.:> "v2"+    Core.:> Core.CaptureMode "resource" "getIamPolicy" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.ReqBody '[Core.JSON] GetIamPolicyRequest+    Core.:> Core.Post '[Core.JSON] Policy++-- | Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.+--+-- /See:/ 'newBigQueryRoutinesGetIamPolicy' smart constructor.+data BigQueryRoutinesGetIamPolicy = BigQueryRoutinesGetIamPolicy+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Multipart request metadata.+    payload :: GetIamPolicyRequest,+    -- | REQUIRED: The resource for which the policy is being requested. See <https://cloud.google.com/apis/design/resource_names Resource names> for the appropriate value for this field.+    resource :: Core.Text,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BigQueryRoutinesGetIamPolicy' with the minimum fields required to make a request.+newBigQueryRoutinesGetIamPolicy ::+  -- |  Multipart request metadata. See 'payload'.+  GetIamPolicyRequest ->+  -- |  REQUIRED: The resource for which the policy is being requested. See <https://cloud.google.com/apis/design/resource_names Resource names> for the appropriate value for this field. See 'resource'.+  Core.Text ->+  BigQueryRoutinesGetIamPolicy+newBigQueryRoutinesGetIamPolicy payload resource =+  BigQueryRoutinesGetIamPolicy+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      payload = payload,+      resource = resource,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest BigQueryRoutinesGetIamPolicy where+  type Rs BigQueryRoutinesGetIamPolicy = Policy+  type+    Scopes BigQueryRoutinesGetIamPolicy =+      '[ Bigquery'FullControl,+         CloudPlatform'FullControl,+         CloudPlatform'ReadOnly+       ]+  requestClient BigQueryRoutinesGetIamPolicy {..} =+    go+      resource+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      payload+      bigQueryService+    where+      go =+        Core.buildClient+          (Core.Proxy :: Core.Proxy BigQueryRoutinesGetIamPolicyResource)+          Core.mempty
+ gen/Gogol/BigQuery/Routines/Insert.hs view
@@ -0,0 +1,127 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.BigQuery.Routines.Insert+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates a new routine in the dataset.+--+-- /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.routines.insert@.+module Gogol.BigQuery.Routines.Insert+  ( -- * Resource+    BigQueryRoutinesInsertResource,++    -- ** Constructing a Request+    BigQueryRoutinesInsert (..),+    newBigQueryRoutinesInsert,+  )+where++import Gogol.BigQuery.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquery.routines.insert@ method which the+-- 'BigQueryRoutinesInsert' request conforms to.+type BigQueryRoutinesInsertResource =+  "bigquery"+    Core.:> "v2"+    Core.:> "projects"+    Core.:> Core.Capture "projectId" Core.Text+    Core.:> "datasets"+    Core.:> Core.Capture "datasetId" Core.Text+    Core.:> "routines"+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.ReqBody '[Core.JSON] Routine+    Core.:> Core.Post '[Core.JSON] Routine++-- | Creates a new routine in the dataset.+--+-- /See:/ 'newBigQueryRoutinesInsert' smart constructor.+data BigQueryRoutinesInsert = BigQueryRoutinesInsert+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. Dataset ID of the new routine+    datasetId :: Core.Text,+    -- | Multipart request metadata.+    payload :: Routine,+    -- | Required. Project ID of the new routine+    projectId :: Core.Text,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BigQueryRoutinesInsert' with the minimum fields required to make a request.+newBigQueryRoutinesInsert ::+  -- |  Required. Dataset ID of the new routine See 'datasetId'.+  Core.Text ->+  -- |  Multipart request metadata. See 'payload'.+  Routine ->+  -- |  Required. Project ID of the new routine See 'projectId'.+  Core.Text ->+  BigQueryRoutinesInsert+newBigQueryRoutinesInsert datasetId payload projectId =+  BigQueryRoutinesInsert+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      datasetId = datasetId,+      payload = payload,+      projectId = projectId,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest BigQueryRoutinesInsert where+  type Rs BigQueryRoutinesInsert = Routine+  type+    Scopes BigQueryRoutinesInsert =+      '[Bigquery'FullControl, CloudPlatform'FullControl]+  requestClient BigQueryRoutinesInsert {..} =+    go+      projectId+      datasetId+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      payload+      bigQueryService+    where+      go =+        Core.buildClient+          (Core.Proxy :: Core.Proxy BigQueryRoutinesInsertResource)+          Core.mempty
+ gen/Gogol/BigQuery/Routines/List.hs view
@@ -0,0 +1,143 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.BigQuery.Routines.List+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists all routines in the specified dataset. Requires the READER dataset role.+--+-- /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.routines.list@.+module Gogol.BigQuery.Routines.List+  ( -- * Resource+    BigQueryRoutinesListResource,++    -- ** Constructing a Request+    BigQueryRoutinesList (..),+    newBigQueryRoutinesList,+  )+where++import Gogol.BigQuery.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquery.routines.list@ method which the+-- 'BigQueryRoutinesList' request conforms to.+type BigQueryRoutinesListResource =+  "bigquery"+    Core.:> "v2"+    Core.:> "projects"+    Core.:> Core.Capture "projectId" Core.Text+    Core.:> "datasets"+    Core.:> Core.Capture "datasetId" Core.Text+    Core.:> "routines"+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "filter" Core.Text+    Core.:> Core.QueryParam "maxResults" Core.Word32+    Core.:> Core.QueryParam "pageToken" Core.Text+    Core.:> Core.QueryParam "readMask" Core.FieldMask+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Get '[Core.JSON] ListRoutinesResponse++-- | Lists all routines in the specified dataset. Requires the READER dataset role.+--+-- /See:/ 'newBigQueryRoutinesList' smart constructor.+data BigQueryRoutinesList = BigQueryRoutinesList+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. Dataset ID of the routines to list+    datasetId :: Core.Text,+    -- | If set, then only the Routines matching this filter are returned. The supported format is @routineType:{RoutineType}@, where @{RoutineType}@ is a RoutineType enum. For example: @routineType:SCALAR_FUNCTION@.+    filter :: (Core.Maybe Core.Text),+    -- | The maximum number of results to return in a single response page. Leverage the page tokens to iterate through the entire collection.+    maxResults :: (Core.Maybe Core.Word32),+    -- | Page token, returned by a previous call, to request the next page of results+    pageToken :: (Core.Maybe Core.Text),+    -- | Required. Project ID of the routines to list+    projectId :: Core.Text,+    -- | If set, then only the Routine fields in the field mask, as well as project/id, dataset/id and routine/id, are returned in the response. If unset, then the following Routine fields are returned: etag, project/id, dataset/id, routine/id, routine/type, creation/time, last/modified/time, and language.+    readMask :: (Core.Maybe Core.FieldMask),+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BigQueryRoutinesList' with the minimum fields required to make a request.+newBigQueryRoutinesList ::+  -- |  Required. Dataset ID of the routines to list See 'datasetId'.+  Core.Text ->+  -- |  Required. Project ID of the routines to list See 'projectId'.+  Core.Text ->+  BigQueryRoutinesList+newBigQueryRoutinesList datasetId projectId =+  BigQueryRoutinesList+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      datasetId = datasetId,+      filter = Core.Nothing,+      maxResults = Core.Nothing,+      pageToken = Core.Nothing,+      projectId = projectId,+      readMask = Core.Nothing,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest BigQueryRoutinesList where+  type Rs BigQueryRoutinesList = ListRoutinesResponse+  type+    Scopes BigQueryRoutinesList =+      '[ Bigquery'FullControl,+         CloudPlatform'FullControl,+         CloudPlatform'ReadOnly+       ]+  requestClient BigQueryRoutinesList {..} =+    go+      projectId+      datasetId+      xgafv+      accessToken+      callback+      filter+      maxResults+      pageToken+      readMask+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      bigQueryService+    where+      go =+        Core.buildClient+          (Core.Proxy :: Core.Proxy BigQueryRoutinesListResource)+          Core.mempty
+ gen/Gogol/BigQuery/Routines/SetIamPolicy.hs view
@@ -0,0 +1,117 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.BigQuery.Routines.SetIamPolicy+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Sets the access control policy on the specified resource. Replaces any existing policy. Can return @NOT_FOUND@, @INVALID_ARGUMENT@, and @PERMISSION_DENIED@ errors.+--+-- /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.routines.setIamPolicy@.+module Gogol.BigQuery.Routines.SetIamPolicy+  ( -- * Resource+    BigQueryRoutinesSetIamPolicyResource,++    -- ** Constructing a Request+    BigQueryRoutinesSetIamPolicy (..),+    newBigQueryRoutinesSetIamPolicy,+  )+where++import Gogol.BigQuery.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquery.routines.setIamPolicy@ method which the+-- 'BigQueryRoutinesSetIamPolicy' request conforms to.+type BigQueryRoutinesSetIamPolicyResource =+  "bigquery"+    Core.:> "v2"+    Core.:> Core.CaptureMode "resource" "setIamPolicy" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.ReqBody '[Core.JSON] SetIamPolicyRequest+    Core.:> Core.Post '[Core.JSON] Policy++-- | Sets the access control policy on the specified resource. Replaces any existing policy. Can return @NOT_FOUND@, @INVALID_ARGUMENT@, and @PERMISSION_DENIED@ errors.+--+-- /See:/ 'newBigQueryRoutinesSetIamPolicy' smart constructor.+data BigQueryRoutinesSetIamPolicy = BigQueryRoutinesSetIamPolicy+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Multipart request metadata.+    payload :: SetIamPolicyRequest,+    -- | REQUIRED: The resource for which the policy is being specified. See <https://cloud.google.com/apis/design/resource_names Resource names> for the appropriate value for this field.+    resource :: Core.Text,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BigQueryRoutinesSetIamPolicy' with the minimum fields required to make a request.+newBigQueryRoutinesSetIamPolicy ::+  -- |  Multipart request metadata. See 'payload'.+  SetIamPolicyRequest ->+  -- |  REQUIRED: The resource for which the policy is being specified. See <https://cloud.google.com/apis/design/resource_names Resource names> for the appropriate value for this field. See 'resource'.+  Core.Text ->+  BigQueryRoutinesSetIamPolicy+newBigQueryRoutinesSetIamPolicy payload resource =+  BigQueryRoutinesSetIamPolicy+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      payload = payload,+      resource = resource,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest BigQueryRoutinesSetIamPolicy where+  type Rs BigQueryRoutinesSetIamPolicy = Policy+  type+    Scopes BigQueryRoutinesSetIamPolicy =+      '[Bigquery'FullControl, CloudPlatform'FullControl]+  requestClient BigQueryRoutinesSetIamPolicy {..} =+    go+      resource+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      payload+      bigQueryService+    where+      go =+        Core.buildClient+          (Core.Proxy :: Core.Proxy BigQueryRoutinesSetIamPolicyResource)+          Core.mempty
+ gen/Gogol/BigQuery/Routines/Update.hs view
@@ -0,0 +1,134 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.BigQuery.Routines.Update+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Updates information in an existing routine. The update method replaces the entire Routine resource.+--+-- /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.routines.update@.+module Gogol.BigQuery.Routines.Update+  ( -- * Resource+    BigQueryRoutinesUpdateResource,++    -- ** Constructing a Request+    BigQueryRoutinesUpdate (..),+    newBigQueryRoutinesUpdate,+  )+where++import Gogol.BigQuery.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquery.routines.update@ method which the+-- 'BigQueryRoutinesUpdate' request conforms to.+type BigQueryRoutinesUpdateResource =+  "bigquery"+    Core.:> "v2"+    Core.:> "projects"+    Core.:> Core.Capture "projectId" Core.Text+    Core.:> "datasets"+    Core.:> Core.Capture "datasetId" Core.Text+    Core.:> "routines"+    Core.:> Core.Capture "routineId" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.ReqBody '[Core.JSON] Routine+    Core.:> Core.Put '[Core.JSON] Routine++-- | Updates information in an existing routine. The update method replaces the entire Routine resource.+--+-- /See:/ 'newBigQueryRoutinesUpdate' smart constructor.+data BigQueryRoutinesUpdate = BigQueryRoutinesUpdate+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. Dataset ID of the routine to update+    datasetId :: Core.Text,+    -- | Multipart request metadata.+    payload :: Routine,+    -- | Required. Project ID of the routine to update+    projectId :: Core.Text,+    -- | Required. Routine ID of the routine to update+    routineId :: Core.Text,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BigQueryRoutinesUpdate' with the minimum fields required to make a request.+newBigQueryRoutinesUpdate ::+  -- |  Required. Dataset ID of the routine to update See 'datasetId'.+  Core.Text ->+  -- |  Multipart request metadata. See 'payload'.+  Routine ->+  -- |  Required. Project ID of the routine to update See 'projectId'.+  Core.Text ->+  -- |  Required. Routine ID of the routine to update See 'routineId'.+  Core.Text ->+  BigQueryRoutinesUpdate+newBigQueryRoutinesUpdate datasetId payload projectId routineId =+  BigQueryRoutinesUpdate+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      datasetId = datasetId,+      payload = payload,+      projectId = projectId,+      routineId = routineId,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest BigQueryRoutinesUpdate where+  type Rs BigQueryRoutinesUpdate = Routine+  type+    Scopes BigQueryRoutinesUpdate =+      '[Bigquery'FullControl, CloudPlatform'FullControl]+  requestClient BigQueryRoutinesUpdate {..} =+    go+      projectId+      datasetId+      routineId+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      payload+      bigQueryService+    where+      go =+        Core.buildClient+          (Core.Proxy :: Core.Proxy BigQueryRoutinesUpdateResource)+          Core.mempty
+ gen/Gogol/BigQuery/RowAccessPolicies/BatchDelete.hs view
@@ -0,0 +1,144 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.BigQuery.RowAccessPolicies.BatchDelete+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes provided row access policies.+--+-- /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.rowAccessPolicies.batchDelete@.+module Gogol.BigQuery.RowAccessPolicies.BatchDelete+  ( -- * Resource+    BigQueryRowAccessPoliciesBatchDeleteResource,++    -- ** Constructing a Request+    BigQueryRowAccessPoliciesBatchDelete (..),+    newBigQueryRowAccessPoliciesBatchDelete,+  )+where++import Gogol.BigQuery.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquery.rowAccessPolicies.batchDelete@ method which the+-- 'BigQueryRowAccessPoliciesBatchDelete' request conforms to.+type BigQueryRowAccessPoliciesBatchDeleteResource =+  "bigquery"+    Core.:> "v2"+    Core.:> "projects"+    Core.:> Core.Capture "projectId" Core.Text+    Core.:> "datasets"+    Core.:> Core.Capture "datasetId" Core.Text+    Core.:> "tables"+    Core.:> Core.Capture "tableId" Core.Text+    Core.:> "rowAccessPolicies:batchDelete"+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.ReqBody '[Core.JSON] BatchDeleteRowAccessPoliciesRequest+    Core.:> Core.Post '[Core.JSON] ()++-- | Deletes provided row access policies.+--+-- /See:/ 'newBigQueryRowAccessPoliciesBatchDelete' smart constructor.+data BigQueryRowAccessPoliciesBatchDelete = BigQueryRowAccessPoliciesBatchDelete+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. Dataset ID of the table to delete the row access policies.+    datasetId :: Core.Text,+    -- | Multipart request metadata.+    payload :: BatchDeleteRowAccessPoliciesRequest,+    -- | Required. Project ID of the table to delete the row access policies.+    projectId :: Core.Text,+    -- | Required. Table ID of the table to delete the row access policies.+    tableId :: Core.Text,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BigQueryRowAccessPoliciesBatchDelete' with the minimum fields required to make a request.+newBigQueryRowAccessPoliciesBatchDelete ::+  -- |  Required. Dataset ID of the table to delete the row access policies. See 'datasetId'.+  Core.Text ->+  -- |  Multipart request metadata. See 'payload'.+  BatchDeleteRowAccessPoliciesRequest ->+  -- |  Required. Project ID of the table to delete the row access policies. See 'projectId'.+  Core.Text ->+  -- |  Required. Table ID of the table to delete the row access policies. See 'tableId'.+  Core.Text ->+  BigQueryRowAccessPoliciesBatchDelete+newBigQueryRowAccessPoliciesBatchDelete+  datasetId+  payload+  projectId+  tableId =+    BigQueryRowAccessPoliciesBatchDelete+      { xgafv = Core.Nothing,+        accessToken = Core.Nothing,+        callback = Core.Nothing,+        datasetId = datasetId,+        payload = payload,+        projectId = projectId,+        tableId = tableId,+        uploadType = Core.Nothing,+        uploadProtocol = Core.Nothing+      }++instance Core.GoogleRequest BigQueryRowAccessPoliciesBatchDelete where+  type Rs BigQueryRowAccessPoliciesBatchDelete = ()+  type+    Scopes BigQueryRowAccessPoliciesBatchDelete =+      '[ Bigquery'FullControl,+         CloudPlatform'FullControl,+         CloudPlatform'ReadOnly+       ]+  requestClient BigQueryRowAccessPoliciesBatchDelete {..} =+    go+      projectId+      datasetId+      tableId+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      payload+      bigQueryService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy BigQueryRowAccessPoliciesBatchDeleteResource+          )+          Core.mempty
+ gen/Gogol/BigQuery/RowAccessPolicies/Delete.hs view
@@ -0,0 +1,147 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.BigQuery.RowAccessPolicies.Delete+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes a row access policy.+--+-- /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.rowAccessPolicies.delete@.+module Gogol.BigQuery.RowAccessPolicies.Delete+  ( -- * Resource+    BigQueryRowAccessPoliciesDeleteResource,++    -- ** Constructing a Request+    BigQueryRowAccessPoliciesDelete (..),+    newBigQueryRowAccessPoliciesDelete,+  )+where++import Gogol.BigQuery.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquery.rowAccessPolicies.delete@ method which the+-- 'BigQueryRowAccessPoliciesDelete' request conforms to.+type BigQueryRowAccessPoliciesDeleteResource =+  "bigquery"+    Core.:> "v2"+    Core.:> "projects"+    Core.:> Core.Capture "projectId" Core.Text+    Core.:> "datasets"+    Core.:> Core.Capture "datasetId" Core.Text+    Core.:> "tables"+    Core.:> Core.Capture "tableId" Core.Text+    Core.:> "rowAccessPolicies"+    Core.:> Core.Capture "policyId" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "force" Core.Bool+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Delete '[Core.JSON] ()++-- | Deletes a row access policy.+--+-- /See:/ 'newBigQueryRowAccessPoliciesDelete' smart constructor.+data BigQueryRowAccessPoliciesDelete = BigQueryRowAccessPoliciesDelete+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. Dataset ID of the table to delete the row access policy.+    datasetId :: Core.Text,+    -- | If set to true, it deletes the row access policy even if it\'s the last row access policy on the table and the deletion will widen the access rather narrowing it.+    force :: (Core.Maybe Core.Bool),+    -- | Required. Policy ID of the row access policy.+    policyId :: Core.Text,+    -- | Required. Project ID of the table to delete the row access policy.+    projectId :: Core.Text,+    -- | Required. Table ID of the table to delete the row access policy.+    tableId :: Core.Text,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BigQueryRowAccessPoliciesDelete' with the minimum fields required to make a request.+newBigQueryRowAccessPoliciesDelete ::+  -- |  Required. Dataset ID of the table to delete the row access policy. See 'datasetId'.+  Core.Text ->+  -- |  Required. Policy ID of the row access policy. See 'policyId'.+  Core.Text ->+  -- |  Required. Project ID of the table to delete the row access policy. See 'projectId'.+  Core.Text ->+  -- |  Required. Table ID of the table to delete the row access policy. See 'tableId'.+  Core.Text ->+  BigQueryRowAccessPoliciesDelete+newBigQueryRowAccessPoliciesDelete+  datasetId+  policyId+  projectId+  tableId =+    BigQueryRowAccessPoliciesDelete+      { xgafv = Core.Nothing,+        accessToken = Core.Nothing,+        callback = Core.Nothing,+        datasetId = datasetId,+        force = Core.Nothing,+        policyId = policyId,+        projectId = projectId,+        tableId = tableId,+        uploadType = Core.Nothing,+        uploadProtocol = Core.Nothing+      }++instance Core.GoogleRequest BigQueryRowAccessPoliciesDelete where+  type Rs BigQueryRowAccessPoliciesDelete = ()+  type+    Scopes BigQueryRowAccessPoliciesDelete =+      '[ Bigquery'FullControl,+         CloudPlatform'FullControl,+         CloudPlatform'ReadOnly+       ]+  requestClient BigQueryRowAccessPoliciesDelete {..} =+    go+      projectId+      datasetId+      tableId+      policyId+      xgafv+      accessToken+      callback+      force+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      bigQueryService+    where+      go =+        Core.buildClient+          (Core.Proxy :: Core.Proxy BigQueryRowAccessPoliciesDeleteResource)+          Core.mempty
+ gen/Gogol/BigQuery/RowAccessPolicies/Get.hs view
@@ -0,0 +1,142 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.BigQuery.RowAccessPolicies.Get+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets the specified row access policy by policy ID.+--+-- /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.rowAccessPolicies.get@.+module Gogol.BigQuery.RowAccessPolicies.Get+  ( -- * Resource+    BigQueryRowAccessPoliciesGetResource,++    -- ** Constructing a Request+    BigQueryRowAccessPoliciesGet (..),+    newBigQueryRowAccessPoliciesGet,+  )+where++import Gogol.BigQuery.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquery.rowAccessPolicies.get@ method which the+-- 'BigQueryRowAccessPoliciesGet' request conforms to.+type BigQueryRowAccessPoliciesGetResource =+  "bigquery"+    Core.:> "v2"+    Core.:> "projects"+    Core.:> Core.Capture "projectId" Core.Text+    Core.:> "datasets"+    Core.:> Core.Capture "datasetId" Core.Text+    Core.:> "tables"+    Core.:> Core.Capture "tableId" Core.Text+    Core.:> "rowAccessPolicies"+    Core.:> Core.Capture "policyId" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Get '[Core.JSON] RowAccessPolicy++-- | Gets the specified row access policy by policy ID.+--+-- /See:/ 'newBigQueryRowAccessPoliciesGet' smart constructor.+data BigQueryRowAccessPoliciesGet = BigQueryRowAccessPoliciesGet+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. Dataset ID of the table to get the row access policy.+    datasetId :: Core.Text,+    -- | Required. Policy ID of the row access policy.+    policyId :: Core.Text,+    -- | Required. Project ID of the table to get the row access policy.+    projectId :: Core.Text,+    -- | Required. Table ID of the table to get the row access policy.+    tableId :: Core.Text,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BigQueryRowAccessPoliciesGet' with the minimum fields required to make a request.+newBigQueryRowAccessPoliciesGet ::+  -- |  Required. Dataset ID of the table to get the row access policy. See 'datasetId'.+  Core.Text ->+  -- |  Required. Policy ID of the row access policy. See 'policyId'.+  Core.Text ->+  -- |  Required. Project ID of the table to get the row access policy. See 'projectId'.+  Core.Text ->+  -- |  Required. Table ID of the table to get the row access policy. See 'tableId'.+  Core.Text ->+  BigQueryRowAccessPoliciesGet+newBigQueryRowAccessPoliciesGet+  datasetId+  policyId+  projectId+  tableId =+    BigQueryRowAccessPoliciesGet+      { xgafv = Core.Nothing,+        accessToken = Core.Nothing,+        callback = Core.Nothing,+        datasetId = datasetId,+        policyId = policyId,+        projectId = projectId,+        tableId = tableId,+        uploadType = Core.Nothing,+        uploadProtocol = Core.Nothing+      }++instance Core.GoogleRequest BigQueryRowAccessPoliciesGet where+  type Rs BigQueryRowAccessPoliciesGet = RowAccessPolicy+  type+    Scopes BigQueryRowAccessPoliciesGet =+      '[ Bigquery'FullControl,+         CloudPlatform'FullControl,+         CloudPlatform'ReadOnly+       ]+  requestClient BigQueryRowAccessPoliciesGet {..} =+    go+      projectId+      datasetId+      tableId+      policyId+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      bigQueryService+    where+      go =+        Core.buildClient+          (Core.Proxy :: Core.Proxy BigQueryRowAccessPoliciesGetResource)+          Core.mempty
+ gen/Gogol/BigQuery/RowAccessPolicies/GetIamPolicy.hs view
@@ -0,0 +1,122 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.BigQuery.RowAccessPolicies.GetIamPolicy+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.+--+-- /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.rowAccessPolicies.getIamPolicy@.+module Gogol.BigQuery.RowAccessPolicies.GetIamPolicy+  ( -- * Resource+    BigQueryRowAccessPoliciesGetIamPolicyResource,++    -- ** Constructing a Request+    BigQueryRowAccessPoliciesGetIamPolicy (..),+    newBigQueryRowAccessPoliciesGetIamPolicy,+  )+where++import Gogol.BigQuery.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquery.rowAccessPolicies.getIamPolicy@ method which the+-- 'BigQueryRowAccessPoliciesGetIamPolicy' request conforms to.+type BigQueryRowAccessPoliciesGetIamPolicyResource =+  "bigquery"+    Core.:> "v2"+    Core.:> Core.CaptureMode "resource" "getIamPolicy" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.ReqBody '[Core.JSON] GetIamPolicyRequest+    Core.:> Core.Post '[Core.JSON] Policy++-- | Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.+--+-- /See:/ 'newBigQueryRowAccessPoliciesGetIamPolicy' smart constructor.+data BigQueryRowAccessPoliciesGetIamPolicy = BigQueryRowAccessPoliciesGetIamPolicy+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Multipart request metadata.+    payload :: GetIamPolicyRequest,+    -- | REQUIRED: The resource for which the policy is being requested. See <https://cloud.google.com/apis/design/resource_names Resource names> for the appropriate value for this field.+    resource :: Core.Text,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BigQueryRowAccessPoliciesGetIamPolicy' with the minimum fields required to make a request.+newBigQueryRowAccessPoliciesGetIamPolicy ::+  -- |  Multipart request metadata. See 'payload'.+  GetIamPolicyRequest ->+  -- |  REQUIRED: The resource for which the policy is being requested. See <https://cloud.google.com/apis/design/resource_names Resource names> for the appropriate value for this field. See 'resource'.+  Core.Text ->+  BigQueryRowAccessPoliciesGetIamPolicy+newBigQueryRowAccessPoliciesGetIamPolicy payload resource =+  BigQueryRowAccessPoliciesGetIamPolicy+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      payload = payload,+      resource = resource,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest BigQueryRowAccessPoliciesGetIamPolicy where+  type Rs BigQueryRowAccessPoliciesGetIamPolicy = Policy+  type+    Scopes BigQueryRowAccessPoliciesGetIamPolicy =+      '[ Bigquery'FullControl,+         CloudPlatform'FullControl,+         CloudPlatform'ReadOnly+       ]+  requestClient BigQueryRowAccessPoliciesGetIamPolicy {..} =+    go+      resource+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      payload+      bigQueryService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy BigQueryRowAccessPoliciesGetIamPolicyResource+          )+          Core.mempty
+ gen/Gogol/BigQuery/RowAccessPolicies/Insert.hs view
@@ -0,0 +1,142 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.BigQuery.RowAccessPolicies.Insert+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates a row access policy.+--+-- /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.rowAccessPolicies.insert@.+module Gogol.BigQuery.RowAccessPolicies.Insert+  ( -- * Resource+    BigQueryRowAccessPoliciesInsertResource,++    -- ** Constructing a Request+    BigQueryRowAccessPoliciesInsert (..),+    newBigQueryRowAccessPoliciesInsert,+  )+where++import Gogol.BigQuery.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquery.rowAccessPolicies.insert@ method which the+-- 'BigQueryRowAccessPoliciesInsert' request conforms to.+type BigQueryRowAccessPoliciesInsertResource =+  "bigquery"+    Core.:> "v2"+    Core.:> "projects"+    Core.:> Core.Capture "projectId" Core.Text+    Core.:> "datasets"+    Core.:> Core.Capture "datasetId" Core.Text+    Core.:> "tables"+    Core.:> Core.Capture "tableId" Core.Text+    Core.:> "rowAccessPolicies"+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.ReqBody '[Core.JSON] RowAccessPolicy+    Core.:> Core.Post '[Core.JSON] RowAccessPolicy++-- | Creates a row access policy.+--+-- /See:/ 'newBigQueryRowAccessPoliciesInsert' smart constructor.+data BigQueryRowAccessPoliciesInsert = BigQueryRowAccessPoliciesInsert+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. Dataset ID of the table to get the row access policy.+    datasetId :: Core.Text,+    -- | Multipart request metadata.+    payload :: RowAccessPolicy,+    -- | Required. Project ID of the table to get the row access policy.+    projectId :: Core.Text,+    -- | Required. Table ID of the table to get the row access policy.+    tableId :: Core.Text,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BigQueryRowAccessPoliciesInsert' with the minimum fields required to make a request.+newBigQueryRowAccessPoliciesInsert ::+  -- |  Required. Dataset ID of the table to get the row access policy. See 'datasetId'.+  Core.Text ->+  -- |  Multipart request metadata. See 'payload'.+  RowAccessPolicy ->+  -- |  Required. Project ID of the table to get the row access policy. See 'projectId'.+  Core.Text ->+  -- |  Required. Table ID of the table to get the row access policy. See 'tableId'.+  Core.Text ->+  BigQueryRowAccessPoliciesInsert+newBigQueryRowAccessPoliciesInsert+  datasetId+  payload+  projectId+  tableId =+    BigQueryRowAccessPoliciesInsert+      { xgafv = Core.Nothing,+        accessToken = Core.Nothing,+        callback = Core.Nothing,+        datasetId = datasetId,+        payload = payload,+        projectId = projectId,+        tableId = tableId,+        uploadType = Core.Nothing,+        uploadProtocol = Core.Nothing+      }++instance Core.GoogleRequest BigQueryRowAccessPoliciesInsert where+  type Rs BigQueryRowAccessPoliciesInsert = RowAccessPolicy+  type+    Scopes BigQueryRowAccessPoliciesInsert =+      '[ Bigquery'FullControl,+         CloudPlatform'FullControl,+         CloudPlatform'ReadOnly+       ]+  requestClient BigQueryRowAccessPoliciesInsert {..} =+    go+      projectId+      datasetId+      tableId+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      payload+      bigQueryService+    where+      go =+        Core.buildClient+          (Core.Proxy :: Core.Proxy BigQueryRowAccessPoliciesInsertResource)+          Core.mempty
+ gen/Gogol/BigQuery/RowAccessPolicies/List.hs view
@@ -0,0 +1,143 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.BigQuery.RowAccessPolicies.List+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists all row access policies on the specified table.+--+-- /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.rowAccessPolicies.list@.+module Gogol.BigQuery.RowAccessPolicies.List+  ( -- * Resource+    BigQueryRowAccessPoliciesListResource,++    -- ** Constructing a Request+    BigQueryRowAccessPoliciesList (..),+    newBigQueryRowAccessPoliciesList,+  )+where++import Gogol.BigQuery.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquery.rowAccessPolicies.list@ method which the+-- 'BigQueryRowAccessPoliciesList' request conforms to.+type BigQueryRowAccessPoliciesListResource =+  "bigquery"+    Core.:> "v2"+    Core.:> "projects"+    Core.:> Core.Capture "projectId" Core.Text+    Core.:> "datasets"+    Core.:> Core.Capture "datasetId" Core.Text+    Core.:> "tables"+    Core.:> Core.Capture "tableId" Core.Text+    Core.:> "rowAccessPolicies"+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "pageSize" Core.Int32+    Core.:> Core.QueryParam "pageToken" Core.Text+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Get '[Core.JSON] ListRowAccessPoliciesResponse++-- | Lists all row access policies on the specified table.+--+-- /See:/ 'newBigQueryRowAccessPoliciesList' smart constructor.+data BigQueryRowAccessPoliciesList = BigQueryRowAccessPoliciesList+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. Dataset ID of row access policies to list.+    datasetId :: Core.Text,+    -- | The maximum number of results to return in a single response page. Leverage the page tokens to iterate through the entire collection.+    pageSize :: (Core.Maybe Core.Int32),+    -- | Page token, returned by a previous call, to request the next page of results.+    pageToken :: (Core.Maybe Core.Text),+    -- | Required. Project ID of the row access policies to list.+    projectId :: Core.Text,+    -- | Required. Table ID of the table to list row access policies.+    tableId :: Core.Text,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BigQueryRowAccessPoliciesList' with the minimum fields required to make a request.+newBigQueryRowAccessPoliciesList ::+  -- |  Required. Dataset ID of row access policies to list. See 'datasetId'.+  Core.Text ->+  -- |  Required. Project ID of the row access policies to list. See 'projectId'.+  Core.Text ->+  -- |  Required. Table ID of the table to list row access policies. See 'tableId'.+  Core.Text ->+  BigQueryRowAccessPoliciesList+newBigQueryRowAccessPoliciesList datasetId projectId tableId =+  BigQueryRowAccessPoliciesList+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      datasetId = datasetId,+      pageSize = Core.Nothing,+      pageToken = Core.Nothing,+      projectId = projectId,+      tableId = tableId,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest BigQueryRowAccessPoliciesList where+  type+    Rs BigQueryRowAccessPoliciesList =+      ListRowAccessPoliciesResponse+  type+    Scopes BigQueryRowAccessPoliciesList =+      '[ Bigquery'FullControl,+         CloudPlatform'FullControl,+         CloudPlatform'ReadOnly+       ]+  requestClient BigQueryRowAccessPoliciesList {..} =+    go+      projectId+      datasetId+      tableId+      xgafv+      accessToken+      callback+      pageSize+      pageToken+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      bigQueryService+    where+      go =+        Core.buildClient+          (Core.Proxy :: Core.Proxy BigQueryRowAccessPoliciesListResource)+          Core.mempty
+ gen/Gogol/BigQuery/RowAccessPolicies/TestIamPermissions.hs view
@@ -0,0 +1,127 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.BigQuery.RowAccessPolicies.TestIamPermissions+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a @NOT_FOUND@ error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.+--+-- /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.rowAccessPolicies.testIamPermissions@.+module Gogol.BigQuery.RowAccessPolicies.TestIamPermissions+  ( -- * Resource+    BigQueryRowAccessPoliciesTestIamPermissionsResource,++    -- ** Constructing a Request+    BigQueryRowAccessPoliciesTestIamPermissions (..),+    newBigQueryRowAccessPoliciesTestIamPermissions,+  )+where++import Gogol.BigQuery.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquery.rowAccessPolicies.testIamPermissions@ method which the+-- 'BigQueryRowAccessPoliciesTestIamPermissions' request conforms to.+type BigQueryRowAccessPoliciesTestIamPermissionsResource =+  "bigquery"+    Core.:> "v2"+    Core.:> Core.CaptureMode "resource" "testIamPermissions" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.ReqBody '[Core.JSON] TestIamPermissionsRequest+    Core.:> Core.Post '[Core.JSON] TestIamPermissionsResponse++-- | Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a @NOT_FOUND@ error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.+--+-- /See:/ 'newBigQueryRowAccessPoliciesTestIamPermissions' smart constructor.+data BigQueryRowAccessPoliciesTestIamPermissions = BigQueryRowAccessPoliciesTestIamPermissions+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Multipart request metadata.+    payload :: TestIamPermissionsRequest,+    -- | REQUIRED: The resource for which the policy detail is being requested. See <https://cloud.google.com/apis/design/resource_names Resource names> for the appropriate value for this field.+    resource :: Core.Text,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BigQueryRowAccessPoliciesTestIamPermissions' with the minimum fields required to make a request.+newBigQueryRowAccessPoliciesTestIamPermissions ::+  -- |  Multipart request metadata. See 'payload'.+  TestIamPermissionsRequest ->+  -- |  REQUIRED: The resource for which the policy detail is being requested. See <https://cloud.google.com/apis/design/resource_names Resource names> for the appropriate value for this field. See 'resource'.+  Core.Text ->+  BigQueryRowAccessPoliciesTestIamPermissions+newBigQueryRowAccessPoliciesTestIamPermissions payload resource =+  BigQueryRowAccessPoliciesTestIamPermissions+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      payload = payload,+      resource = resource,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance+  Core.GoogleRequest+    BigQueryRowAccessPoliciesTestIamPermissions+  where+  type+    Rs BigQueryRowAccessPoliciesTestIamPermissions =+      TestIamPermissionsResponse+  type+    Scopes BigQueryRowAccessPoliciesTestIamPermissions =+      '[ Bigquery'FullControl,+         CloudPlatform'FullControl,+         CloudPlatform'ReadOnly+       ]+  requestClient BigQueryRowAccessPoliciesTestIamPermissions {..} =+    go+      resource+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      payload+      bigQueryService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy BigQueryRowAccessPoliciesTestIamPermissionsResource+          )+          Core.mempty
+ gen/Gogol/BigQuery/RowAccessPolicies/Update.hs view
@@ -0,0 +1,150 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.BigQuery.RowAccessPolicies.Update+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Updates a row access policy.+--+-- /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.rowAccessPolicies.update@.+module Gogol.BigQuery.RowAccessPolicies.Update+  ( -- * Resource+    BigQueryRowAccessPoliciesUpdateResource,++    -- ** Constructing a Request+    BigQueryRowAccessPoliciesUpdate (..),+    newBigQueryRowAccessPoliciesUpdate,+  )+where++import Gogol.BigQuery.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquery.rowAccessPolicies.update@ method which the+-- 'BigQueryRowAccessPoliciesUpdate' request conforms to.+type BigQueryRowAccessPoliciesUpdateResource =+  "bigquery"+    Core.:> "v2"+    Core.:> "projects"+    Core.:> Core.Capture "projectId" Core.Text+    Core.:> "datasets"+    Core.:> Core.Capture "datasetId" Core.Text+    Core.:> "tables"+    Core.:> Core.Capture "tableId" Core.Text+    Core.:> "rowAccessPolicies"+    Core.:> Core.Capture "policyId" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.ReqBody '[Core.JSON] RowAccessPolicy+    Core.:> Core.Put '[Core.JSON] RowAccessPolicy++-- | Updates a row access policy.+--+-- /See:/ 'newBigQueryRowAccessPoliciesUpdate' smart constructor.+data BigQueryRowAccessPoliciesUpdate = BigQueryRowAccessPoliciesUpdate+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. Dataset ID of the table to get the row access policy.+    datasetId :: Core.Text,+    -- | Multipart request metadata.+    payload :: RowAccessPolicy,+    -- | Required. Policy ID of the row access policy.+    policyId :: Core.Text,+    -- | Required. Project ID of the table to get the row access policy.+    projectId :: Core.Text,+    -- | Required. Table ID of the table to get the row access policy.+    tableId :: Core.Text,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BigQueryRowAccessPoliciesUpdate' with the minimum fields required to make a request.+newBigQueryRowAccessPoliciesUpdate ::+  -- |  Required. Dataset ID of the table to get the row access policy. See 'datasetId'.+  Core.Text ->+  -- |  Multipart request metadata. See 'payload'.+  RowAccessPolicy ->+  -- |  Required. Policy ID of the row access policy. See 'policyId'.+  Core.Text ->+  -- |  Required. Project ID of the table to get the row access policy. See 'projectId'.+  Core.Text ->+  -- |  Required. Table ID of the table to get the row access policy. See 'tableId'.+  Core.Text ->+  BigQueryRowAccessPoliciesUpdate+newBigQueryRowAccessPoliciesUpdate+  datasetId+  payload+  policyId+  projectId+  tableId =+    BigQueryRowAccessPoliciesUpdate+      { xgafv = Core.Nothing,+        accessToken = Core.Nothing,+        callback = Core.Nothing,+        datasetId = datasetId,+        payload = payload,+        policyId = policyId,+        projectId = projectId,+        tableId = tableId,+        uploadType = Core.Nothing,+        uploadProtocol = Core.Nothing+      }++instance Core.GoogleRequest BigQueryRowAccessPoliciesUpdate where+  type Rs BigQueryRowAccessPoliciesUpdate = RowAccessPolicy+  type+    Scopes BigQueryRowAccessPoliciesUpdate =+      '[ Bigquery'FullControl,+         CloudPlatform'FullControl,+         CloudPlatform'ReadOnly+       ]+  requestClient BigQueryRowAccessPoliciesUpdate {..} =+    go+      projectId+      datasetId+      tableId+      policyId+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      payload+      bigQueryService+    where+      go =+        Core.buildClient+          (Core.Proxy :: Core.Proxy BigQueryRowAccessPoliciesUpdateResource)+          Core.mempty
+ gen/Gogol/BigQuery/Tabledata/InsertAll.hs view
@@ -0,0 +1,138 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.BigQuery.Tabledata.InsertAll+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Streams data into BigQuery one record at a time without needing to run a load job.+--+-- /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.tabledata.insertAll@.+module Gogol.BigQuery.Tabledata.InsertAll+  ( -- * Resource+    BigQueryTabledataInsertAllResource,++    -- ** Constructing a Request+    BigQueryTabledataInsertAll (..),+    newBigQueryTabledataInsertAll,+  )+where++import Gogol.BigQuery.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquery.tabledata.insertAll@ method which the+-- 'BigQueryTabledataInsertAll' request conforms to.+type BigQueryTabledataInsertAllResource =+  "bigquery"+    Core.:> "v2"+    Core.:> "projects"+    Core.:> Core.Capture "projectId" Core.Text+    Core.:> "datasets"+    Core.:> Core.Capture "datasetId" Core.Text+    Core.:> "tables"+    Core.:> Core.Capture "tableId" Core.Text+    Core.:> "insertAll"+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.ReqBody '[Core.JSON] TableDataInsertAllRequest+    Core.:> Core.Post '[Core.JSON] TableDataInsertAllResponse++-- | Streams data into BigQuery one record at a time without needing to run a load job.+--+-- /See:/ 'newBigQueryTabledataInsertAll' smart constructor.+data BigQueryTabledataInsertAll = BigQueryTabledataInsertAll+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. Dataset ID of the destination.+    datasetId :: Core.Text,+    -- | Multipart request metadata.+    payload :: TableDataInsertAllRequest,+    -- | Required. Project ID of the destination.+    projectId :: Core.Text,+    -- | Required. Table ID of the destination.+    tableId :: Core.Text,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BigQueryTabledataInsertAll' with the minimum fields required to make a request.+newBigQueryTabledataInsertAll ::+  -- |  Required. Dataset ID of the destination. See 'datasetId'.+  Core.Text ->+  -- |  Multipart request metadata. See 'payload'.+  TableDataInsertAllRequest ->+  -- |  Required. Project ID of the destination. See 'projectId'.+  Core.Text ->+  -- |  Required. Table ID of the destination. See 'tableId'.+  Core.Text ->+  BigQueryTabledataInsertAll+newBigQueryTabledataInsertAll datasetId payload projectId tableId =+  BigQueryTabledataInsertAll+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      datasetId = datasetId,+      payload = payload,+      projectId = projectId,+      tableId = tableId,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest BigQueryTabledataInsertAll where+  type Rs BigQueryTabledataInsertAll = TableDataInsertAllResponse+  type+    Scopes BigQueryTabledataInsertAll =+      '[ Bigquery'FullControl,+         Bigquery'Insertdata,+         CloudPlatform'FullControl+       ]+  requestClient BigQueryTabledataInsertAll {..} =+    go+      projectId+      datasetId+      tableId+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      payload+      bigQueryService+    where+      go =+        Core.buildClient+          (Core.Proxy :: Core.Proxy BigQueryTabledataInsertAllResource)+          Core.mempty
+ gen/Gogol/BigQuery/Tabledata/List.hs view
@@ -0,0 +1,156 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.BigQuery.Tabledata.List+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- List the content of a table in rows.+--+-- /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.tabledata.list@.+module Gogol.BigQuery.Tabledata.List+  ( -- * Resource+    BigQueryTabledataListResource,++    -- ** Constructing a Request+    BigQueryTabledataList (..),+    newBigQueryTabledataList,+  )+where++import Gogol.BigQuery.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquery.tabledata.list@ method which the+-- 'BigQueryTabledataList' request conforms to.+type BigQueryTabledataListResource =+  "bigquery"+    Core.:> "v2"+    Core.:> "projects"+    Core.:> Core.Capture "projectId" Core.Text+    Core.:> "datasets"+    Core.:> Core.Capture "datasetId" Core.Text+    Core.:> "tables"+    Core.:> Core.Capture "tableId" Core.Text+    Core.:> "data"+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "formatOptions.useInt64Timestamp" Core.Bool+    Core.:> Core.QueryParam "maxResults" Core.Word32+    Core.:> Core.QueryParam "pageToken" Core.Text+    Core.:> Core.QueryParam "selectedFields" Core.Text+    Core.:> Core.QueryParam "startIndex" Core.Word64+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Get '[Core.JSON] TableDataList++-- | List the content of a table in rows.+--+-- /See:/ 'newBigQueryTabledataList' smart constructor.+data BigQueryTabledataList = BigQueryTabledataList+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. Dataset id of the table to list.+    datasetId :: Core.Text,+    -- | Optional. Output timestamp as usec int64. Default is false.+    formatOptionsUseInt64Timestamp :: (Core.Maybe Core.Bool),+    -- | Row limit of the table.+    maxResults :: (Core.Maybe Core.Word32),+    -- | To retrieve the next page of table data, set this field to the string provided in the pageToken field of the response body from your previous call to tabledata.list.+    pageToken :: (Core.Maybe Core.Text),+    -- | Required. Project id of the table to list.+    projectId :: Core.Text,+    -- | Subset of fields to return, supports select into sub fields. Example: selected_fields = \"a,e.d.f\";+    selectedFields :: (Core.Maybe Core.Text),+    -- | Start row index of the table.+    startIndex :: (Core.Maybe Core.Word64),+    -- | Required. Table id of the table to list.+    tableId :: Core.Text,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BigQueryTabledataList' with the minimum fields required to make a request.+newBigQueryTabledataList ::+  -- |  Required. Dataset id of the table to list. See 'datasetId'.+  Core.Text ->+  -- |  Required. Project id of the table to list. See 'projectId'.+  Core.Text ->+  -- |  Required. Table id of the table to list. See 'tableId'.+  Core.Text ->+  BigQueryTabledataList+newBigQueryTabledataList datasetId projectId tableId =+  BigQueryTabledataList+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      datasetId = datasetId,+      formatOptionsUseInt64Timestamp = Core.Nothing,+      maxResults = Core.Nothing,+      pageToken = Core.Nothing,+      projectId = projectId,+      selectedFields = Core.Nothing,+      startIndex = Core.Nothing,+      tableId = tableId,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest BigQueryTabledataList where+  type Rs BigQueryTabledataList = TableDataList+  type+    Scopes BigQueryTabledataList =+      '[ Bigquery'FullControl,+         CloudPlatform'FullControl,+         CloudPlatform'ReadOnly+       ]+  requestClient BigQueryTabledataList {..} =+    go+      projectId+      datasetId+      tableId+      xgafv+      accessToken+      callback+      formatOptionsUseInt64Timestamp+      maxResults+      pageToken+      selectedFields+      startIndex+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      bigQueryService+    where+      go =+        Core.buildClient+          (Core.Proxy :: Core.Proxy BigQueryTabledataListResource)+          Core.mempty
+ gen/Gogol/BigQuery/Tables/Delete.hs view
@@ -0,0 +1,127 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.BigQuery.Tables.Delete+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes the table specified by tableId from the dataset. If the table contains data, all the data will be deleted.+--+-- /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.tables.delete@.+module Gogol.BigQuery.Tables.Delete+  ( -- * Resource+    BigQueryTablesDeleteResource,++    -- ** Constructing a Request+    BigQueryTablesDelete (..),+    newBigQueryTablesDelete,+  )+where++import Gogol.BigQuery.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquery.tables.delete@ method which the+-- 'BigQueryTablesDelete' request conforms to.+type BigQueryTablesDeleteResource =+  "bigquery"+    Core.:> "v2"+    Core.:> "projects"+    Core.:> Core.Capture "projectId" Core.Text+    Core.:> "datasets"+    Core.:> Core.Capture "datasetId" Core.Text+    Core.:> "tables"+    Core.:> Core.Capture "tableId" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Delete '[Core.JSON] ()++-- | Deletes the table specified by tableId from the dataset. If the table contains data, all the data will be deleted.+--+-- /See:/ 'newBigQueryTablesDelete' smart constructor.+data BigQueryTablesDelete = BigQueryTablesDelete+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. Dataset ID of the table to delete+    datasetId :: Core.Text,+    -- | Required. Project ID of the table to delete+    projectId :: Core.Text,+    -- | Required. Table ID of the table to delete+    tableId :: Core.Text,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BigQueryTablesDelete' with the minimum fields required to make a request.+newBigQueryTablesDelete ::+  -- |  Required. Dataset ID of the table to delete See 'datasetId'.+  Core.Text ->+  -- |  Required. Project ID of the table to delete See 'projectId'.+  Core.Text ->+  -- |  Required. Table ID of the table to delete See 'tableId'.+  Core.Text ->+  BigQueryTablesDelete+newBigQueryTablesDelete datasetId projectId tableId =+  BigQueryTablesDelete+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      datasetId = datasetId,+      projectId = projectId,+      tableId = tableId,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest BigQueryTablesDelete where+  type Rs BigQueryTablesDelete = ()+  type+    Scopes BigQueryTablesDelete =+      '[Bigquery'FullControl, CloudPlatform'FullControl]+  requestClient BigQueryTablesDelete {..} =+    go+      projectId+      datasetId+      tableId+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      bigQueryService+    where+      go =+        Core.buildClient+          (Core.Proxy :: Core.Proxy BigQueryTablesDeleteResource)+          Core.mempty
+ gen/Gogol/BigQuery/Tables/Get.hs view
@@ -0,0 +1,140 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.BigQuery.Tables.Get+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets the specified table resource by table ID. This method does not return the data in the table, it only returns the table resource, which describes the structure of this table.+--+-- /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.tables.get@.+module Gogol.BigQuery.Tables.Get+  ( -- * Resource+    BigQueryTablesGetResource,++    -- ** Constructing a Request+    BigQueryTablesGet (..),+    newBigQueryTablesGet,+  )+where++import Gogol.BigQuery.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquery.tables.get@ method which the+-- 'BigQueryTablesGet' request conforms to.+type BigQueryTablesGetResource =+  "bigquery"+    Core.:> "v2"+    Core.:> "projects"+    Core.:> Core.Capture "projectId" Core.Text+    Core.:> "datasets"+    Core.:> Core.Capture "datasetId" Core.Text+    Core.:> "tables"+    Core.:> Core.Capture "tableId" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "selectedFields" Core.Text+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "view" TablesGetView+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Get '[Core.JSON] Table++-- | Gets the specified table resource by table ID. This method does not return the data in the table, it only returns the table resource, which describes the structure of this table.+--+-- /See:/ 'newBigQueryTablesGet' smart constructor.+data BigQueryTablesGet = BigQueryTablesGet+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. Dataset ID of the requested table+    datasetId :: Core.Text,+    -- | Required. Project ID of the requested table+    projectId :: Core.Text,+    -- | List of table schema fields to return (comma-separated). If unspecified, all fields are returned. A fieldMask cannot be used here because the fields will automatically be converted from camelCase to snake_case and the conversion will fail if there are underscores. Since these are fields in BigQuery table schemas, underscores are allowed.+    selectedFields :: (Core.Maybe Core.Text),+    -- | Required. Table ID of the requested table+    tableId :: Core.Text,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text),+    -- | Optional. Specifies the view that determines which table information is returned. By default, basic table information and storage statistics (STORAGE_STATS) are returned.+    view :: (Core.Maybe TablesGetView)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BigQueryTablesGet' with the minimum fields required to make a request.+newBigQueryTablesGet ::+  -- |  Required. Dataset ID of the requested table See 'datasetId'.+  Core.Text ->+  -- |  Required. Project ID of the requested table See 'projectId'.+  Core.Text ->+  -- |  Required. Table ID of the requested table See 'tableId'.+  Core.Text ->+  BigQueryTablesGet+newBigQueryTablesGet datasetId projectId tableId =+  BigQueryTablesGet+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      datasetId = datasetId,+      projectId = projectId,+      selectedFields = Core.Nothing,+      tableId = tableId,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing,+      view = Core.Nothing+    }++instance Core.GoogleRequest BigQueryTablesGet where+  type Rs BigQueryTablesGet = Table+  type+    Scopes BigQueryTablesGet =+      '[ Bigquery'FullControl,+         CloudPlatform'FullControl,+         CloudPlatform'ReadOnly+       ]+  requestClient BigQueryTablesGet {..} =+    go+      projectId+      datasetId+      tableId+      xgafv+      accessToken+      callback+      selectedFields+      uploadType+      uploadProtocol+      view+      (Core.Just Core.AltJSON)+      bigQueryService+    where+      go =+        Core.buildClient+          (Core.Proxy :: Core.Proxy BigQueryTablesGetResource)+          Core.mempty
+ gen/Gogol/BigQuery/Tables/GetIamPolicy.hs view
@@ -0,0 +1,120 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.BigQuery.Tables.GetIamPolicy+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.+--+-- /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.tables.getIamPolicy@.+module Gogol.BigQuery.Tables.GetIamPolicy+  ( -- * Resource+    BigQueryTablesGetIamPolicyResource,++    -- ** Constructing a Request+    BigQueryTablesGetIamPolicy (..),+    newBigQueryTablesGetIamPolicy,+  )+where++import Gogol.BigQuery.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquery.tables.getIamPolicy@ method which the+-- 'BigQueryTablesGetIamPolicy' request conforms to.+type BigQueryTablesGetIamPolicyResource =+  "bigquery"+    Core.:> "v2"+    Core.:> Core.CaptureMode "resource" "getIamPolicy" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.ReqBody '[Core.JSON] GetIamPolicyRequest+    Core.:> Core.Post '[Core.JSON] Policy++-- | Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.+--+-- /See:/ 'newBigQueryTablesGetIamPolicy' smart constructor.+data BigQueryTablesGetIamPolicy = BigQueryTablesGetIamPolicy+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Multipart request metadata.+    payload :: GetIamPolicyRequest,+    -- | REQUIRED: The resource for which the policy is being requested. See <https://cloud.google.com/apis/design/resource_names Resource names> for the appropriate value for this field.+    resource :: Core.Text,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BigQueryTablesGetIamPolicy' with the minimum fields required to make a request.+newBigQueryTablesGetIamPolicy ::+  -- |  Multipart request metadata. See 'payload'.+  GetIamPolicyRequest ->+  -- |  REQUIRED: The resource for which the policy is being requested. See <https://cloud.google.com/apis/design/resource_names Resource names> for the appropriate value for this field. See 'resource'.+  Core.Text ->+  BigQueryTablesGetIamPolicy+newBigQueryTablesGetIamPolicy payload resource =+  BigQueryTablesGetIamPolicy+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      payload = payload,+      resource = resource,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest BigQueryTablesGetIamPolicy where+  type Rs BigQueryTablesGetIamPolicy = Policy+  type+    Scopes BigQueryTablesGetIamPolicy =+      '[ Bigquery'FullControl,+         CloudPlatform'FullControl,+         CloudPlatform'ReadOnly+       ]+  requestClient BigQueryTablesGetIamPolicy {..} =+    go+      resource+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      payload+      bigQueryService+    where+      go =+        Core.buildClient+          (Core.Proxy :: Core.Proxy BigQueryTablesGetIamPolicyResource)+          Core.mempty
+ gen/Gogol/BigQuery/Tables/Insert.hs view
@@ -0,0 +1,127 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.BigQuery.Tables.Insert+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates a new, empty table in the dataset.+--+-- /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.tables.insert@.+module Gogol.BigQuery.Tables.Insert+  ( -- * Resource+    BigQueryTablesInsertResource,++    -- ** Constructing a Request+    BigQueryTablesInsert (..),+    newBigQueryTablesInsert,+  )+where++import Gogol.BigQuery.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquery.tables.insert@ method which the+-- 'BigQueryTablesInsert' request conforms to.+type BigQueryTablesInsertResource =+  "bigquery"+    Core.:> "v2"+    Core.:> "projects"+    Core.:> Core.Capture "projectId" Core.Text+    Core.:> "datasets"+    Core.:> Core.Capture "datasetId" Core.Text+    Core.:> "tables"+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.ReqBody '[Core.JSON] Table+    Core.:> Core.Post '[Core.JSON] Table++-- | Creates a new, empty table in the dataset.+--+-- /See:/ 'newBigQueryTablesInsert' smart constructor.+data BigQueryTablesInsert = BigQueryTablesInsert+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. Dataset ID of the new table+    datasetId :: Core.Text,+    -- | Multipart request metadata.+    payload :: Table,+    -- | Required. Project ID of the new table+    projectId :: Core.Text,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BigQueryTablesInsert' with the minimum fields required to make a request.+newBigQueryTablesInsert ::+  -- |  Required. Dataset ID of the new table See 'datasetId'.+  Core.Text ->+  -- |  Multipart request metadata. See 'payload'.+  Table ->+  -- |  Required. Project ID of the new table See 'projectId'.+  Core.Text ->+  BigQueryTablesInsert+newBigQueryTablesInsert datasetId payload projectId =+  BigQueryTablesInsert+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      datasetId = datasetId,+      payload = payload,+      projectId = projectId,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest BigQueryTablesInsert where+  type Rs BigQueryTablesInsert = Table+  type+    Scopes BigQueryTablesInsert =+      '[Bigquery'FullControl, CloudPlatform'FullControl]+  requestClient BigQueryTablesInsert {..} =+    go+      projectId+      datasetId+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      payload+      bigQueryService+    where+      go =+        Core.buildClient+          (Core.Proxy :: Core.Proxy BigQueryTablesInsertResource)+          Core.mempty
+ gen/Gogol/BigQuery/Tables/List.hs view
@@ -0,0 +1,133 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.BigQuery.Tables.List+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists all tables in the specified dataset. Requires the READER dataset role.+--+-- /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.tables.list@.+module Gogol.BigQuery.Tables.List+  ( -- * Resource+    BigQueryTablesListResource,++    -- ** Constructing a Request+    BigQueryTablesList (..),+    newBigQueryTablesList,+  )+where++import Gogol.BigQuery.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquery.tables.list@ method which the+-- 'BigQueryTablesList' request conforms to.+type BigQueryTablesListResource =+  "bigquery"+    Core.:> "v2"+    Core.:> "projects"+    Core.:> Core.Capture "projectId" Core.Text+    Core.:> "datasets"+    Core.:> Core.Capture "datasetId" Core.Text+    Core.:> "tables"+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "maxResults" Core.Word32+    Core.:> Core.QueryParam "pageToken" Core.Text+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Get '[Core.JSON] TableList++-- | Lists all tables in the specified dataset. Requires the READER dataset role.+--+-- /See:/ 'newBigQueryTablesList' smart constructor.+data BigQueryTablesList = BigQueryTablesList+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. Dataset ID of the tables to list+    datasetId :: Core.Text,+    -- | The maximum number of results to return in a single response page. Leverage the page tokens to iterate through the entire collection.+    maxResults :: (Core.Maybe Core.Word32),+    -- | Page token, returned by a previous call, to request the next page of results+    pageToken :: (Core.Maybe Core.Text),+    -- | Required. Project ID of the tables to list+    projectId :: Core.Text,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BigQueryTablesList' with the minimum fields required to make a request.+newBigQueryTablesList ::+  -- |  Required. Dataset ID of the tables to list See 'datasetId'.+  Core.Text ->+  -- |  Required. Project ID of the tables to list See 'projectId'.+  Core.Text ->+  BigQueryTablesList+newBigQueryTablesList datasetId projectId =+  BigQueryTablesList+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      datasetId = datasetId,+      maxResults = Core.Nothing,+      pageToken = Core.Nothing,+      projectId = projectId,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest BigQueryTablesList where+  type Rs BigQueryTablesList = TableList+  type+    Scopes BigQueryTablesList =+      '[ Bigquery'FullControl,+         CloudPlatform'FullControl,+         CloudPlatform'ReadOnly+       ]+  requestClient BigQueryTablesList {..} =+    go+      projectId+      datasetId+      xgafv+      accessToken+      callback+      maxResults+      pageToken+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      bigQueryService+    where+      go =+        Core.buildClient+          (Core.Proxy :: Core.Proxy BigQueryTablesListResource)+          Core.mempty
+ gen/Gogol/BigQuery/Tables/Patch.hs view
@@ -0,0 +1,139 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.BigQuery.Tables.Patch+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Updates information in an existing table. The update method replaces the entire table resource, whereas the patch method only replaces fields that are provided in the submitted table resource. This method supports RFC5789 patch semantics.+--+-- /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.tables.patch@.+module Gogol.BigQuery.Tables.Patch+  ( -- * Resource+    BigQueryTablesPatchResource,++    -- ** Constructing a Request+    BigQueryTablesPatch (..),+    newBigQueryTablesPatch,+  )+where++import Gogol.BigQuery.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquery.tables.patch@ method which the+-- 'BigQueryTablesPatch' request conforms to.+type BigQueryTablesPatchResource =+  "bigquery"+    Core.:> "v2"+    Core.:> "projects"+    Core.:> Core.Capture "projectId" Core.Text+    Core.:> "datasets"+    Core.:> Core.Capture "datasetId" Core.Text+    Core.:> "tables"+    Core.:> Core.Capture "tableId" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "autodetect_schema" Core.Bool+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.ReqBody '[Core.JSON] Table+    Core.:> Core.Patch '[Core.JSON] Table++-- | Updates information in an existing table. The update method replaces the entire table resource, whereas the patch method only replaces fields that are provided in the submitted table resource. This method supports RFC5789 patch semantics.+--+-- /See:/ 'newBigQueryTablesPatch' smart constructor.+data BigQueryTablesPatch = BigQueryTablesPatch+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | Optional. When true will autodetect schema, else will keep original schema+    autodetectSchema :: (Core.Maybe Core.Bool),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. Dataset ID of the table to update+    datasetId :: Core.Text,+    -- | Multipart request metadata.+    payload :: Table,+    -- | Required. Project ID of the table to update+    projectId :: Core.Text,+    -- | Required. Table ID of the table to update+    tableId :: Core.Text,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BigQueryTablesPatch' with the minimum fields required to make a request.+newBigQueryTablesPatch ::+  -- |  Required. Dataset ID of the table to update See 'datasetId'.+  Core.Text ->+  -- |  Multipart request metadata. See 'payload'.+  Table ->+  -- |  Required. Project ID of the table to update See 'projectId'.+  Core.Text ->+  -- |  Required. Table ID of the table to update See 'tableId'.+  Core.Text ->+  BigQueryTablesPatch+newBigQueryTablesPatch datasetId payload projectId tableId =+  BigQueryTablesPatch+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      autodetectSchema = Core.Nothing,+      callback = Core.Nothing,+      datasetId = datasetId,+      payload = payload,+      projectId = projectId,+      tableId = tableId,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest BigQueryTablesPatch where+  type Rs BigQueryTablesPatch = Table+  type+    Scopes BigQueryTablesPatch =+      '[Bigquery'FullControl, CloudPlatform'FullControl]+  requestClient BigQueryTablesPatch {..} =+    go+      projectId+      datasetId+      tableId+      xgafv+      accessToken+      autodetectSchema+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      payload+      bigQueryService+    where+      go =+        Core.buildClient+          (Core.Proxy :: Core.Proxy BigQueryTablesPatchResource)+          Core.mempty
+ gen/Gogol/BigQuery/Tables/SetIamPolicy.hs view
@@ -0,0 +1,117 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.BigQuery.Tables.SetIamPolicy+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Sets the access control policy on the specified resource. Replaces any existing policy. Can return @NOT_FOUND@, @INVALID_ARGUMENT@, and @PERMISSION_DENIED@ errors.+--+-- /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.tables.setIamPolicy@.+module Gogol.BigQuery.Tables.SetIamPolicy+  ( -- * Resource+    BigQueryTablesSetIamPolicyResource,++    -- ** Constructing a Request+    BigQueryTablesSetIamPolicy (..),+    newBigQueryTablesSetIamPolicy,+  )+where++import Gogol.BigQuery.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquery.tables.setIamPolicy@ method which the+-- 'BigQueryTablesSetIamPolicy' request conforms to.+type BigQueryTablesSetIamPolicyResource =+  "bigquery"+    Core.:> "v2"+    Core.:> Core.CaptureMode "resource" "setIamPolicy" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.ReqBody '[Core.JSON] SetIamPolicyRequest+    Core.:> Core.Post '[Core.JSON] Policy++-- | Sets the access control policy on the specified resource. Replaces any existing policy. Can return @NOT_FOUND@, @INVALID_ARGUMENT@, and @PERMISSION_DENIED@ errors.+--+-- /See:/ 'newBigQueryTablesSetIamPolicy' smart constructor.+data BigQueryTablesSetIamPolicy = BigQueryTablesSetIamPolicy+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Multipart request metadata.+    payload :: SetIamPolicyRequest,+    -- | REQUIRED: The resource for which the policy is being specified. See <https://cloud.google.com/apis/design/resource_names Resource names> for the appropriate value for this field.+    resource :: Core.Text,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BigQueryTablesSetIamPolicy' with the minimum fields required to make a request.+newBigQueryTablesSetIamPolicy ::+  -- |  Multipart request metadata. See 'payload'.+  SetIamPolicyRequest ->+  -- |  REQUIRED: The resource for which the policy is being specified. See <https://cloud.google.com/apis/design/resource_names Resource names> for the appropriate value for this field. See 'resource'.+  Core.Text ->+  BigQueryTablesSetIamPolicy+newBigQueryTablesSetIamPolicy payload resource =+  BigQueryTablesSetIamPolicy+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      payload = payload,+      resource = resource,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest BigQueryTablesSetIamPolicy where+  type Rs BigQueryTablesSetIamPolicy = Policy+  type+    Scopes BigQueryTablesSetIamPolicy =+      '[Bigquery'FullControl, CloudPlatform'FullControl]+  requestClient BigQueryTablesSetIamPolicy {..} =+    go+      resource+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      payload+      bigQueryService+    where+      go =+        Core.buildClient+          (Core.Proxy :: Core.Proxy BigQueryTablesSetIamPolicyResource)+          Core.mempty
+ gen/Gogol/BigQuery/Tables/TestIamPermissions.hs view
@@ -0,0 +1,122 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.BigQuery.Tables.TestIamPermissions+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a @NOT_FOUND@ error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.+--+-- /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.tables.testIamPermissions@.+module Gogol.BigQuery.Tables.TestIamPermissions+  ( -- * Resource+    BigQueryTablesTestIamPermissionsResource,++    -- ** Constructing a Request+    BigQueryTablesTestIamPermissions (..),+    newBigQueryTablesTestIamPermissions,+  )+where++import Gogol.BigQuery.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquery.tables.testIamPermissions@ method which the+-- 'BigQueryTablesTestIamPermissions' request conforms to.+type BigQueryTablesTestIamPermissionsResource =+  "bigquery"+    Core.:> "v2"+    Core.:> Core.CaptureMode "resource" "testIamPermissions" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.ReqBody '[Core.JSON] TestIamPermissionsRequest+    Core.:> Core.Post '[Core.JSON] TestIamPermissionsResponse++-- | Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a @NOT_FOUND@ error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.+--+-- /See:/ 'newBigQueryTablesTestIamPermissions' smart constructor.+data BigQueryTablesTestIamPermissions = BigQueryTablesTestIamPermissions+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Multipart request metadata.+    payload :: TestIamPermissionsRequest,+    -- | REQUIRED: The resource for which the policy detail is being requested. See <https://cloud.google.com/apis/design/resource_names Resource names> for the appropriate value for this field.+    resource :: Core.Text,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BigQueryTablesTestIamPermissions' with the minimum fields required to make a request.+newBigQueryTablesTestIamPermissions ::+  -- |  Multipart request metadata. See 'payload'.+  TestIamPermissionsRequest ->+  -- |  REQUIRED: The resource for which the policy detail is being requested. See <https://cloud.google.com/apis/design/resource_names Resource names> for the appropriate value for this field. See 'resource'.+  Core.Text ->+  BigQueryTablesTestIamPermissions+newBigQueryTablesTestIamPermissions payload resource =+  BigQueryTablesTestIamPermissions+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      payload = payload,+      resource = resource,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest BigQueryTablesTestIamPermissions where+  type+    Rs BigQueryTablesTestIamPermissions =+      TestIamPermissionsResponse+  type+    Scopes BigQueryTablesTestIamPermissions =+      '[ Bigquery'FullControl,+         CloudPlatform'FullControl,+         CloudPlatform'ReadOnly+       ]+  requestClient BigQueryTablesTestIamPermissions {..} =+    go+      resource+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      payload+      bigQueryService+    where+      go =+        Core.buildClient+          (Core.Proxy :: Core.Proxy BigQueryTablesTestIamPermissionsResource)+          Core.mempty
+ gen/Gogol/BigQuery/Tables/Update.hs view
@@ -0,0 +1,139 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.BigQuery.Tables.Update+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Updates information in an existing table. The update method replaces the entire Table resource, whereas the patch method only replaces fields that are provided in the submitted Table resource.+--+-- /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.tables.update@.+module Gogol.BigQuery.Tables.Update+  ( -- * Resource+    BigQueryTablesUpdateResource,++    -- ** Constructing a Request+    BigQueryTablesUpdate (..),+    newBigQueryTablesUpdate,+  )+where++import Gogol.BigQuery.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @bigquery.tables.update@ method which the+-- 'BigQueryTablesUpdate' request conforms to.+type BigQueryTablesUpdateResource =+  "bigquery"+    Core.:> "v2"+    Core.:> "projects"+    Core.:> Core.Capture "projectId" Core.Text+    Core.:> "datasets"+    Core.:> Core.Capture "datasetId" Core.Text+    Core.:> "tables"+    Core.:> Core.Capture "tableId" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "autodetect_schema" Core.Bool+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.ReqBody '[Core.JSON] Table+    Core.:> Core.Put '[Core.JSON] Table++-- | Updates information in an existing table. The update method replaces the entire Table resource, whereas the patch method only replaces fields that are provided in the submitted Table resource.+--+-- /See:/ 'newBigQueryTablesUpdate' smart constructor.+data BigQueryTablesUpdate = BigQueryTablesUpdate+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | Optional. When true will autodetect schema, else will keep original schema+    autodetectSchema :: (Core.Maybe Core.Bool),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. Dataset ID of the table to update+    datasetId :: Core.Text,+    -- | Multipart request metadata.+    payload :: Table,+    -- | Required. Project ID of the table to update+    projectId :: Core.Text,+    -- | Required. Table ID of the table to update+    tableId :: Core.Text,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BigQueryTablesUpdate' with the minimum fields required to make a request.+newBigQueryTablesUpdate ::+  -- |  Required. Dataset ID of the table to update See 'datasetId'.+  Core.Text ->+  -- |  Multipart request metadata. See 'payload'.+  Table ->+  -- |  Required. Project ID of the table to update See 'projectId'.+  Core.Text ->+  -- |  Required. Table ID of the table to update See 'tableId'.+  Core.Text ->+  BigQueryTablesUpdate+newBigQueryTablesUpdate datasetId payload projectId tableId =+  BigQueryTablesUpdate+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      autodetectSchema = Core.Nothing,+      callback = Core.Nothing,+      datasetId = datasetId,+      payload = payload,+      projectId = projectId,+      tableId = tableId,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest BigQueryTablesUpdate where+  type Rs BigQueryTablesUpdate = Table+  type+    Scopes BigQueryTablesUpdate =+      '[Bigquery'FullControl, CloudPlatform'FullControl]+  requestClient BigQueryTablesUpdate {..} =+    go+      projectId+      datasetId+      tableId+      xgafv+      accessToken+      autodetectSchema+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      payload+      bigQueryService+    where+      go =+        Core.buildClient+          (Core.Proxy :: Core.Proxy BigQueryTablesUpdateResource)+          Core.mempty
+ gen/Gogol/BigQuery/Types.hs view
@@ -0,0 +1,1300 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.BigQuery.Types+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Gogol.BigQuery.Types+  ( -- * Configuration+    bigQueryService,++    -- * OAuth Scopes+    Bigquery'FullControl,+    Bigquery'Insertdata,+    CloudPlatform'FullControl,+    CloudPlatform'ReadOnly,+    Devstorage'FullControl,+    Devstorage'ReadOnly,+    Devstorage'ReadWrite,++    -- * Types++    -- ** Xgafv+    Xgafv (..),++    -- ** AggregateClassificationMetrics+    AggregateClassificationMetrics (..),+    newAggregateClassificationMetrics,++    -- ** AggregationThresholdPolicy+    AggregationThresholdPolicy (..),+    newAggregationThresholdPolicy,++    -- ** Argument+    Argument (..),+    newArgument,++    -- ** Argument_ArgumentKind+    Argument_ArgumentKind (..),++    -- ** Argument_Mode+    Argument_Mode (..),++    -- ** ArimaCoefficients+    ArimaCoefficients (..),+    newArimaCoefficients,++    -- ** ArimaFittingMetrics+    ArimaFittingMetrics (..),+    newArimaFittingMetrics,++    -- ** ArimaForecastingMetrics+    ArimaForecastingMetrics (..),+    newArimaForecastingMetrics,++    -- ** ArimaForecastingMetrics_SeasonalPeriodsItem+    ArimaForecastingMetrics_SeasonalPeriodsItem (..),++    -- ** ArimaModelInfo+    ArimaModelInfo (..),+    newArimaModelInfo,++    -- ** ArimaModelInfo_SeasonalPeriodsItem+    ArimaModelInfo_SeasonalPeriodsItem (..),++    -- ** ArimaOrder+    ArimaOrder (..),+    newArimaOrder,++    -- ** ArimaResult+    ArimaResult (..),+    newArimaResult,++    -- ** ArimaResult_SeasonalPeriodsItem+    ArimaResult_SeasonalPeriodsItem (..),++    -- ** ArimaSingleModelForecastingMetrics+    ArimaSingleModelForecastingMetrics (..),+    newArimaSingleModelForecastingMetrics,++    -- ** ArimaSingleModelForecastingMetrics_SeasonalPeriodsItem+    ArimaSingleModelForecastingMetrics_SeasonalPeriodsItem (..),++    -- ** AuditConfig+    AuditConfig (..),+    newAuditConfig,++    -- ** AuditLogConfig+    AuditLogConfig (..),+    newAuditLogConfig,++    -- ** AuditLogConfig_LogType+    AuditLogConfig_LogType (..),++    -- ** AvroOptions+    AvroOptions (..),+    newAvroOptions,++    -- ** BatchDeleteRowAccessPoliciesRequest+    BatchDeleteRowAccessPoliciesRequest (..),+    newBatchDeleteRowAccessPoliciesRequest,++    -- ** BiEngineReason+    BiEngineReason (..),+    newBiEngineReason,++    -- ** BiEngineReason_Code+    BiEngineReason_Code (..),++    -- ** BiEngineStatistics+    BiEngineStatistics (..),+    newBiEngineStatistics,++    -- ** BiEngineStatistics_AccelerationMode+    BiEngineStatistics_AccelerationMode (..),++    -- ** BiEngineStatistics_BiEngineMode+    BiEngineStatistics_BiEngineMode (..),++    -- ** BigLakeConfiguration+    BigLakeConfiguration (..),+    newBigLakeConfiguration,++    -- ** BigLakeConfiguration_FileFormat+    BigLakeConfiguration_FileFormat (..),++    -- ** BigLakeConfiguration_TableFormat+    BigLakeConfiguration_TableFormat (..),++    -- ** BigQueryModelTraining+    BigQueryModelTraining (..),+    newBigQueryModelTraining,++    -- ** BigtableColumn+    BigtableColumn (..),+    newBigtableColumn,++    -- ** BigtableColumnFamily+    BigtableColumnFamily (..),+    newBigtableColumnFamily,++    -- ** BigtableOptions+    BigtableOptions (..),+    newBigtableOptions,++    -- ** BinaryClassificationMetrics+    BinaryClassificationMetrics (..),+    newBinaryClassificationMetrics,++    -- ** BinaryConfusionMatrix+    BinaryConfusionMatrix (..),+    newBinaryConfusionMatrix,++    -- ** Binding+    Binding (..),+    newBinding,++    -- ** BqmlIterationResult+    BqmlIterationResult (..),+    newBqmlIterationResult,++    -- ** BqmlTrainingRun+    BqmlTrainingRun (..),+    newBqmlTrainingRun,++    -- ** BqmlTrainingRun_TrainingOptions+    BqmlTrainingRun_TrainingOptions (..),+    newBqmlTrainingRun_TrainingOptions,++    -- ** CategoricalValue+    CategoricalValue (..),+    newCategoricalValue,++    -- ** CategoryCount+    CategoryCount (..),+    newCategoryCount,++    -- ** CloneDefinition+    CloneDefinition (..),+    newCloneDefinition,++    -- ** Cluster+    Cluster (..),+    newCluster,++    -- ** ClusterInfo+    ClusterInfo (..),+    newClusterInfo,++    -- ** Clustering+    Clustering (..),+    newClustering,++    -- ** ClusteringMetrics+    ClusteringMetrics (..),+    newClusteringMetrics,++    -- ** ConfusionMatrix+    ConfusionMatrix (..),+    newConfusionMatrix,++    -- ** ConnectionProperty+    ConnectionProperty (..),+    newConnectionProperty,++    -- ** CsvOptions+    CsvOptions (..),+    newCsvOptions,++    -- ** DataFormatOptions+    DataFormatOptions (..),+    newDataFormatOptions,++    -- ** DataMaskingStatistics+    DataMaskingStatistics (..),+    newDataMaskingStatistics,++    -- ** DataPolicyOption+    DataPolicyOption (..),+    newDataPolicyOption,++    -- ** DataSplitResult+    DataSplitResult (..),+    newDataSplitResult,++    -- ** Dataset+    Dataset (..),+    newDataset,++    -- ** Dataset_AccessItem+    Dataset_AccessItem (..),+    newDataset_AccessItem,++    -- ** Dataset_DefaultRoundingMode+    Dataset_DefaultRoundingMode (..),++    -- ** Dataset_Labels+    Dataset_Labels (..),+    newDataset_Labels,++    -- ** Dataset_ResourceTags+    Dataset_ResourceTags (..),+    newDataset_ResourceTags,++    -- ** Dataset_StorageBillingModel+    Dataset_StorageBillingModel (..),++    -- ** Dataset_TagsItem+    Dataset_TagsItem (..),+    newDataset_TagsItem,++    -- ** DatasetAccessEntry+    DatasetAccessEntry (..),+    newDatasetAccessEntry,++    -- ** DatasetAccessEntry_TargetTypesItem+    DatasetAccessEntry_TargetTypesItem (..),++    -- ** DatasetList+    DatasetList (..),+    newDatasetList,++    -- ** DatasetList_DatasetsItem+    DatasetList_DatasetsItem (..),+    newDatasetList_DatasetsItem,++    -- ** DatasetList_DatasetsItem_Labels+    DatasetList_DatasetsItem_Labels (..),+    newDatasetList_DatasetsItem_Labels,++    -- ** DatasetReference+    DatasetReference (..),+    newDatasetReference,++    -- ** DestinationTableProperties+    DestinationTableProperties (..),+    newDestinationTableProperties,++    -- ** DestinationTableProperties_Labels+    DestinationTableProperties_Labels (..),+    newDestinationTableProperties_Labels,++    -- ** DifferentialPrivacyPolicy+    DifferentialPrivacyPolicy (..),+    newDifferentialPrivacyPolicy,++    -- ** DimensionalityReductionMetrics+    DimensionalityReductionMetrics (..),+    newDimensionalityReductionMetrics,++    -- ** DmlStatistics+    DmlStatistics (..),+    newDmlStatistics,++    -- ** DoubleCandidates+    DoubleCandidates (..),+    newDoubleCandidates,++    -- ** DoubleHparamSearchSpace+    DoubleHparamSearchSpace (..),+    newDoubleHparamSearchSpace,++    -- ** DoubleRange+    DoubleRange (..),+    newDoubleRange,++    -- ** EncryptionConfiguration+    EncryptionConfiguration (..),+    newEncryptionConfiguration,++    -- ** Entry+    Entry (..),+    newEntry,++    -- ** ErrorProto+    ErrorProto (..),+    newErrorProto,++    -- ** EvaluationMetrics+    EvaluationMetrics (..),+    newEvaluationMetrics,++    -- ** ExplainQueryStage+    ExplainQueryStage (..),+    newExplainQueryStage,++    -- ** ExplainQueryStage_ComputeMode+    ExplainQueryStage_ComputeMode (..),++    -- ** ExplainQueryStep+    ExplainQueryStep (..),+    newExplainQueryStep,++    -- ** Explanation+    Explanation (..),+    newExplanation,++    -- ** ExportDataStatistics+    ExportDataStatistics (..),+    newExportDataStatistics,++    -- ** Expr+    Expr (..),+    newExpr,++    -- ** ExternalCatalogDatasetOptions+    ExternalCatalogDatasetOptions (..),+    newExternalCatalogDatasetOptions,++    -- ** ExternalCatalogDatasetOptions_Parameters+    ExternalCatalogDatasetOptions_Parameters (..),+    newExternalCatalogDatasetOptions_Parameters,++    -- ** ExternalCatalogTableOptions+    ExternalCatalogTableOptions (..),+    newExternalCatalogTableOptions,++    -- ** ExternalCatalogTableOptions_Parameters+    ExternalCatalogTableOptions_Parameters (..),+    newExternalCatalogTableOptions_Parameters,++    -- ** ExternalDataConfiguration+    ExternalDataConfiguration (..),+    newExternalDataConfiguration,++    -- ** ExternalDataConfiguration_DecimalTargetTypesItem+    ExternalDataConfiguration_DecimalTargetTypesItem (..),++    -- ** ExternalDataConfiguration_FileSetSpecType+    ExternalDataConfiguration_FileSetSpecType (..),++    -- ** ExternalDataConfiguration_JsonExtension+    ExternalDataConfiguration_JsonExtension (..),++    -- ** ExternalDataConfiguration_MetadataCacheMode+    ExternalDataConfiguration_MetadataCacheMode (..),++    -- ** ExternalDataConfiguration_ObjectMetadata+    ExternalDataConfiguration_ObjectMetadata (..),++    -- ** ExternalDatasetReference+    ExternalDatasetReference (..),+    newExternalDatasetReference,++    -- ** ExternalServiceCost+    ExternalServiceCost (..),+    newExternalServiceCost,++    -- ** FeatureValue+    FeatureValue (..),+    newFeatureValue,++    -- ** ForeignTypeInfo+    ForeignTypeInfo (..),+    newForeignTypeInfo,++    -- ** ForeignTypeInfo_TypeSystem+    ForeignTypeInfo_TypeSystem (..),++    -- ** ForeignViewDefinition+    ForeignViewDefinition (..),+    newForeignViewDefinition,++    -- ** GetIamPolicyRequest+    GetIamPolicyRequest (..),+    newGetIamPolicyRequest,++    -- ** GetPolicyOptions+    GetPolicyOptions (..),+    newGetPolicyOptions,++    -- ** GetQueryResultsResponse+    GetQueryResultsResponse (..),+    newGetQueryResultsResponse,++    -- ** GetServiceAccountResponse+    GetServiceAccountResponse (..),+    newGetServiceAccountResponse,++    -- ** GlobalExplanation+    GlobalExplanation (..),+    newGlobalExplanation,++    -- ** GoogleSheetsOptions+    GoogleSheetsOptions (..),+    newGoogleSheetsOptions,++    -- ** HighCardinalityJoin+    HighCardinalityJoin (..),+    newHighCardinalityJoin,++    -- ** HivePartitioningOptions+    HivePartitioningOptions (..),+    newHivePartitioningOptions,++    -- ** HparamSearchSpaces+    HparamSearchSpaces (..),+    newHparamSearchSpaces,++    -- ** HparamTuningTrial+    HparamTuningTrial (..),+    newHparamTuningTrial,++    -- ** HparamTuningTrial_Status+    HparamTuningTrial_Status (..),++    -- ** IndexUnusedReason+    IndexUnusedReason (..),+    newIndexUnusedReason,++    -- ** IndexUnusedReason_Code+    IndexUnusedReason_Code (..),++    -- ** InputDataChange+    InputDataChange (..),+    newInputDataChange,++    -- ** IntArray+    IntArray (..),+    newIntArray,++    -- ** IntArrayHparamSearchSpace+    IntArrayHparamSearchSpace (..),+    newIntArrayHparamSearchSpace,++    -- ** IntCandidates+    IntCandidates (..),+    newIntCandidates,++    -- ** IntHparamSearchSpace+    IntHparamSearchSpace (..),+    newIntHparamSearchSpace,++    -- ** IntRange+    IntRange (..),+    newIntRange,++    -- ** IterationResult+    IterationResult (..),+    newIterationResult,++    -- ** Job+    Job (..),+    newJob,++    -- ** JobCancelResponse+    JobCancelResponse (..),+    newJobCancelResponse,++    -- ** JobConfiguration+    JobConfiguration (..),+    newJobConfiguration,++    -- ** JobConfiguration_Labels+    JobConfiguration_Labels (..),+    newJobConfiguration_Labels,++    -- ** JobConfigurationExtract+    JobConfigurationExtract (..),+    newJobConfigurationExtract,++    -- ** JobConfigurationLoad+    JobConfigurationLoad (..),+    newJobConfigurationLoad,++    -- ** JobConfigurationLoad_ColumnNameCharacterMap+    JobConfigurationLoad_ColumnNameCharacterMap (..),++    -- ** JobConfigurationLoad_DecimalTargetTypesItem+    JobConfigurationLoad_DecimalTargetTypesItem (..),++    -- ** JobConfigurationLoad_FileSetSpecType+    JobConfigurationLoad_FileSetSpecType (..),++    -- ** JobConfigurationLoad_JsonExtension+    JobConfigurationLoad_JsonExtension (..),++    -- ** JobConfigurationQuery+    JobConfigurationQuery (..),+    newJobConfigurationQuery,++    -- ** JobConfigurationQuery_TableDefinitions+    JobConfigurationQuery_TableDefinitions (..),+    newJobConfigurationQuery_TableDefinitions,++    -- ** JobConfigurationTableCopy+    JobConfigurationTableCopy (..),+    newJobConfigurationTableCopy,++    -- ** JobConfigurationTableCopy_OperationType+    JobConfigurationTableCopy_OperationType (..),++    -- ** JobCreationReason+    JobCreationReason (..),+    newJobCreationReason,++    -- ** JobCreationReason_Code+    JobCreationReason_Code (..),++    -- ** JobList+    JobList (..),+    newJobList,++    -- ** JobList_JobsItem+    JobList_JobsItem (..),+    newJobList_JobsItem,++    -- ** JobReference+    JobReference (..),+    newJobReference,++    -- ** JobStatistics+    JobStatistics (..),+    newJobStatistics,++    -- ** JobStatistics_Edition+    JobStatistics_Edition (..),++    -- ** JobStatistics_ReservationUsageItem+    JobStatistics_ReservationUsageItem (..),+    newJobStatistics_ReservationUsageItem,++    -- ** JobStatistics2+    JobStatistics2 (..),+    newJobStatistics2,++    -- ** JobStatistics2_ReservationUsageItem+    JobStatistics2_ReservationUsageItem (..),+    newJobStatistics2_ReservationUsageItem,++    -- ** JobStatistics3+    JobStatistics3 (..),+    newJobStatistics3,++    -- ** JobStatistics4+    JobStatistics4 (..),+    newJobStatistics4,++    -- ** JobStatistics5+    JobStatistics5 (..),+    newJobStatistics5,++    -- ** JobStatus+    JobStatus (..),+    newJobStatus,++    -- ** JoinRestrictionPolicy+    JoinRestrictionPolicy (..),+    newJoinRestrictionPolicy,++    -- ** JoinRestrictionPolicy_JoinCondition+    JoinRestrictionPolicy_JoinCondition (..),++    -- ** JsonObject+    JsonObject (..),+    newJsonObject,++    -- ** JsonOptions+    JsonOptions (..),+    newJsonOptions,++    -- ** LinkedDatasetMetadata+    LinkedDatasetMetadata (..),+    newLinkedDatasetMetadata,++    -- ** LinkedDatasetMetadata_LinkState+    LinkedDatasetMetadata_LinkState (..),++    -- ** LinkedDatasetSource+    LinkedDatasetSource (..),+    newLinkedDatasetSource,++    -- ** ListModelsResponse+    ListModelsResponse (..),+    newListModelsResponse,++    -- ** ListRoutinesResponse+    ListRoutinesResponse (..),+    newListRoutinesResponse,++    -- ** ListRowAccessPoliciesResponse+    ListRowAccessPoliciesResponse (..),+    newListRowAccessPoliciesResponse,++    -- ** LoadQueryStatistics+    LoadQueryStatistics (..),+    newLoadQueryStatistics,++    -- ** LocationMetadata+    LocationMetadata (..),+    newLocationMetadata,++    -- ** MaterializedView+    MaterializedView (..),+    newMaterializedView,++    -- ** MaterializedView_RejectedReason+    MaterializedView_RejectedReason (..),++    -- ** MaterializedViewDefinition+    MaterializedViewDefinition (..),+    newMaterializedViewDefinition,++    -- ** MaterializedViewStatistics+    MaterializedViewStatistics (..),+    newMaterializedViewStatistics,++    -- ** MaterializedViewStatus+    MaterializedViewStatus (..),+    newMaterializedViewStatus,++    -- ** MetadataCacheStatistics+    MetadataCacheStatistics (..),+    newMetadataCacheStatistics,++    -- ** MlStatistics+    MlStatistics (..),+    newMlStatistics,++    -- ** MlStatistics_ModelType+    MlStatistics_ModelType (..),++    -- ** MlStatistics_TrainingType+    MlStatistics_TrainingType (..),++    -- ** Model+    Model (..),+    newModel,++    -- ** Model_Labels+    Model_Labels (..),+    newModel_Labels,++    -- ** Model_ModelType+    Model_ModelType (..),++    -- ** ModelDefinition+    ModelDefinition (..),+    newModelDefinition,++    -- ** ModelDefinition_ModelOptions+    ModelDefinition_ModelOptions (..),+    newModelDefinition_ModelOptions,++    -- ** ModelExtractOptions+    ModelExtractOptions (..),+    newModelExtractOptions,++    -- ** ModelReference+    ModelReference (..),+    newModelReference,++    -- ** MultiClassClassificationMetrics+    MultiClassClassificationMetrics (..),+    newMultiClassClassificationMetrics,++    -- ** ParquetOptions+    ParquetOptions (..),+    newParquetOptions,++    -- ** ParquetOptions_MapTargetType+    ParquetOptions_MapTargetType (..),++    -- ** PartitionSkew+    PartitionSkew (..),+    newPartitionSkew,++    -- ** PartitionedColumn+    PartitionedColumn (..),+    newPartitionedColumn,++    -- ** PartitioningDefinition+    PartitioningDefinition (..),+    newPartitioningDefinition,++    -- ** PerformanceInsights+    PerformanceInsights (..),+    newPerformanceInsights,++    -- ** Policy+    Policy (..),+    newPolicy,++    -- ** PrincipalComponentInfo+    PrincipalComponentInfo (..),+    newPrincipalComponentInfo,++    -- ** PrivacyPolicy+    PrivacyPolicy (..),+    newPrivacyPolicy,++    -- ** ProjectList+    ProjectList (..),+    newProjectList,++    -- ** ProjectList_ProjectsItem+    ProjectList_ProjectsItem (..),+    newProjectList_ProjectsItem,++    -- ** ProjectReference+    ProjectReference (..),+    newProjectReference,++    -- ** QueryInfo+    QueryInfo (..),+    newQueryInfo,++    -- ** QueryInfo_OptimizationDetails+    QueryInfo_OptimizationDetails (..),+    newQueryInfo_OptimizationDetails,++    -- ** QueryParameter+    QueryParameter (..),+    newQueryParameter,++    -- ** QueryParameterType+    QueryParameterType (..),+    newQueryParameterType,++    -- ** QueryParameterType_StructTypesItem+    QueryParameterType_StructTypesItem (..),+    newQueryParameterType_StructTypesItem,++    -- ** QueryParameterValue+    QueryParameterValue (..),+    newQueryParameterValue,++    -- ** QueryParameterValue_StructValues+    QueryParameterValue_StructValues (..),+    newQueryParameterValue_StructValues,++    -- ** QueryRequest+    QueryRequest (..),+    newQueryRequest,++    -- ** QueryRequest_JobCreationMode+    QueryRequest_JobCreationMode (..),++    -- ** QueryRequest_Labels+    QueryRequest_Labels (..),+    newQueryRequest_Labels,++    -- ** QueryResponse+    QueryResponse (..),+    newQueryResponse,++    -- ** QueryTimelineSample+    QueryTimelineSample (..),+    newQueryTimelineSample,++    -- ** RangePartitioning+    RangePartitioning (..),+    newRangePartitioning,++    -- ** RangePartitioning_Range+    RangePartitioning_Range (..),+    newRangePartitioning_Range,++    -- ** RangeValue+    RangeValue (..),+    newRangeValue,++    -- ** RankingMetrics+    RankingMetrics (..),+    newRankingMetrics,++    -- ** RegressionMetrics+    RegressionMetrics (..),+    newRegressionMetrics,++    -- ** RemoteFunctionOptions+    RemoteFunctionOptions (..),+    newRemoteFunctionOptions,++    -- ** RemoteFunctionOptions_UserDefinedContext+    RemoteFunctionOptions_UserDefinedContext (..),+    newRemoteFunctionOptions_UserDefinedContext,++    -- ** RemoteModelInfo+    RemoteModelInfo (..),+    newRemoteModelInfo,++    -- ** RemoteModelInfo_RemoteServiceType+    RemoteModelInfo_RemoteServiceType (..),++    -- ** RestrictionConfig+    RestrictionConfig (..),+    newRestrictionConfig,++    -- ** RestrictionConfig_Type+    RestrictionConfig_Type (..),++    -- ** Routine+    Routine (..),+    newRoutine,++    -- ** Routine_DataGovernanceType+    Routine_DataGovernanceType (..),++    -- ** Routine_DeterminismLevel+    Routine_DeterminismLevel (..),++    -- ** Routine_Language+    Routine_Language (..),++    -- ** Routine_RoutineType+    Routine_RoutineType (..),++    -- ** Routine_SecurityMode+    Routine_SecurityMode (..),++    -- ** RoutineReference+    RoutineReference (..),+    newRoutineReference,++    -- ** Row+    Row (..),+    newRow,++    -- ** RowAccessPolicy+    RowAccessPolicy (..),+    newRowAccessPolicy,++    -- ** RowAccessPolicyReference+    RowAccessPolicyReference (..),+    newRowAccessPolicyReference,++    -- ** RowLevelSecurityStatistics+    RowLevelSecurityStatistics (..),+    newRowLevelSecurityStatistics,++    -- ** ScriptOptions+    ScriptOptions (..),+    newScriptOptions,++    -- ** ScriptOptions_KeyResultStatement+    ScriptOptions_KeyResultStatement (..),++    -- ** ScriptStackFrame+    ScriptStackFrame (..),+    newScriptStackFrame,++    -- ** ScriptStatistics+    ScriptStatistics (..),+    newScriptStatistics,++    -- ** ScriptStatistics_EvaluationKind+    ScriptStatistics_EvaluationKind (..),++    -- ** SearchStatistics+    SearchStatistics (..),+    newSearchStatistics,++    -- ** SearchStatistics_IndexUsageMode+    SearchStatistics_IndexUsageMode (..),++    -- ** SerDeInfo+    SerDeInfo (..),+    newSerDeInfo,++    -- ** SerDeInfo_Parameters+    SerDeInfo_Parameters (..),+    newSerDeInfo_Parameters,++    -- ** SessionInfo+    SessionInfo (..),+    newSessionInfo,++    -- ** SetIamPolicyRequest+    SetIamPolicyRequest (..),+    newSetIamPolicyRequest,++    -- ** SkewSource+    SkewSource (..),+    newSkewSource,++    -- ** SnapshotDefinition+    SnapshotDefinition (..),+    newSnapshotDefinition,++    -- ** SparkLoggingInfo+    SparkLoggingInfo (..),+    newSparkLoggingInfo,++    -- ** SparkOptions+    SparkOptions (..),+    newSparkOptions,++    -- ** SparkOptions_Properties+    SparkOptions_Properties (..),+    newSparkOptions_Properties,++    -- ** SparkStatistics+    SparkStatistics (..),+    newSparkStatistics,++    -- ** SparkStatistics_Endpoints+    SparkStatistics_Endpoints (..),+    newSparkStatistics_Endpoints,++    -- ** StagePerformanceChangeInsight+    StagePerformanceChangeInsight (..),+    newStagePerformanceChangeInsight,++    -- ** StagePerformanceStandaloneInsight+    StagePerformanceStandaloneInsight (..),+    newStagePerformanceStandaloneInsight,++    -- ** StandardSqlDataType+    StandardSqlDataType (..),+    newStandardSqlDataType,++    -- ** StandardSqlDataType_TypeKind+    StandardSqlDataType_TypeKind (..),++    -- ** StandardSqlField+    StandardSqlField (..),+    newStandardSqlField,++    -- ** StandardSqlStructType+    StandardSqlStructType (..),+    newStandardSqlStructType,++    -- ** StandardSqlTableType+    StandardSqlTableType (..),+    newStandardSqlTableType,++    -- ** StorageDescriptor+    StorageDescriptor (..),+    newStorageDescriptor,++    -- ** StoredColumnsUnusedReason+    StoredColumnsUnusedReason (..),+    newStoredColumnsUnusedReason,++    -- ** StoredColumnsUnusedReason_Code+    StoredColumnsUnusedReason_Code (..),++    -- ** StoredColumnsUsage+    StoredColumnsUsage (..),+    newStoredColumnsUsage,++    -- ** Streamingbuffer+    Streamingbuffer (..),+    newStreamingbuffer,++    -- ** StringHparamSearchSpace+    StringHparamSearchSpace (..),+    newStringHparamSearchSpace,++    -- ** SystemVariables+    SystemVariables (..),+    newSystemVariables,++    -- ** SystemVariables_Types+    SystemVariables_Types (..),+    newSystemVariables_Types,++    -- ** SystemVariables_Values+    SystemVariables_Values (..),+    newSystemVariables_Values,++    -- ** Table+    Table (..),+    newTable,++    -- ** Table_DefaultRoundingMode+    Table_DefaultRoundingMode (..),++    -- ** Table_Labels+    Table_Labels (..),+    newTable_Labels,++    -- ** Table_ManagedTableType+    Table_ManagedTableType (..),++    -- ** Table_ResourceTags+    Table_ResourceTags (..),+    newTable_ResourceTags,++    -- ** TableCell+    TableCell (..),+    newTableCell,++    -- ** TableConstraints+    TableConstraints (..),+    newTableConstraints,++    -- ** TableConstraints_ForeignKeysItem+    TableConstraints_ForeignKeysItem (..),+    newTableConstraints_ForeignKeysItem,++    -- ** TableConstraints_ForeignKeysItem_ColumnReferencesItem+    TableConstraints_ForeignKeysItem_ColumnReferencesItem (..),+    newTableConstraints_ForeignKeysItem_ColumnReferencesItem,++    -- ** TableConstraints_ForeignKeysItem_ReferencedTable+    TableConstraints_ForeignKeysItem_ReferencedTable (..),+    newTableConstraints_ForeignKeysItem_ReferencedTable,++    -- ** TableConstraints_PrimaryKey+    TableConstraints_PrimaryKey (..),+    newTableConstraints_PrimaryKey,++    -- ** TableDataInsertAllRequest+    TableDataInsertAllRequest (..),+    newTableDataInsertAllRequest,++    -- ** TableDataInsertAllRequest_RowsItem+    TableDataInsertAllRequest_RowsItem (..),+    newTableDataInsertAllRequest_RowsItem,++    -- ** TableDataInsertAllResponse+    TableDataInsertAllResponse (..),+    newTableDataInsertAllResponse,++    -- ** TableDataInsertAllResponse_InsertErrorsItem+    TableDataInsertAllResponse_InsertErrorsItem (..),+    newTableDataInsertAllResponse_InsertErrorsItem,++    -- ** TableDataList+    TableDataList (..),+    newTableDataList,++    -- ** TableFieldSchema+    TableFieldSchema (..),+    newTableFieldSchema,++    -- ** TableFieldSchema_Categories+    TableFieldSchema_Categories (..),+    newTableFieldSchema_Categories,++    -- ** TableFieldSchema_PolicyTags+    TableFieldSchema_PolicyTags (..),+    newTableFieldSchema_PolicyTags,++    -- ** TableFieldSchema_RangeElementType+    TableFieldSchema_RangeElementType (..),+    newTableFieldSchema_RangeElementType,++    -- ** TableFieldSchema_RoundingMode+    TableFieldSchema_RoundingMode (..),++    -- ** TableList+    TableList (..),+    newTableList,++    -- ** TableList_TablesItem+    TableList_TablesItem (..),+    newTableList_TablesItem,++    -- ** TableList_TablesItem_Labels+    TableList_TablesItem_Labels (..),+    newTableList_TablesItem_Labels,++    -- ** TableList_TablesItem_View+    TableList_TablesItem_View (..),+    newTableList_TablesItem_View,++    -- ** TableMetadataCacheUsage+    TableMetadataCacheUsage (..),+    newTableMetadataCacheUsage,++    -- ** TableMetadataCacheUsage_UnusedReason+    TableMetadataCacheUsage_UnusedReason (..),++    -- ** TableReference+    TableReference (..),+    newTableReference,++    -- ** TableReplicationInfo+    TableReplicationInfo (..),+    newTableReplicationInfo,++    -- ** TableReplicationInfo_ReplicationStatus+    TableReplicationInfo_ReplicationStatus (..),++    -- ** TableRow+    TableRow (..),+    newTableRow,++    -- ** TableSchema+    TableSchema (..),+    newTableSchema,++    -- ** TestIamPermissionsRequest+    TestIamPermissionsRequest (..),+    newTestIamPermissionsRequest,++    -- ** TestIamPermissionsResponse+    TestIamPermissionsResponse (..),+    newTestIamPermissionsResponse,++    -- ** TimePartitioning+    TimePartitioning (..),+    newTimePartitioning,++    -- ** TrainingOptions+    TrainingOptions (..),+    newTrainingOptions,++    -- ** TrainingOptions_BoosterType+    TrainingOptions_BoosterType (..),++    -- ** TrainingOptions_CategoryEncodingMethod+    TrainingOptions_CategoryEncodingMethod (..),++    -- ** TrainingOptions_ColorSpace+    TrainingOptions_ColorSpace (..),++    -- ** TrainingOptions_DartNormalizeType+    TrainingOptions_DartNormalizeType (..),++    -- ** TrainingOptions_DataFrequency+    TrainingOptions_DataFrequency (..),++    -- ** TrainingOptions_DataSplitMethod+    TrainingOptions_DataSplitMethod (..),++    -- ** TrainingOptions_DistanceType+    TrainingOptions_DistanceType (..),++    -- ** TrainingOptions_FeedbackType+    TrainingOptions_FeedbackType (..),++    -- ** TrainingOptions_HolidayRegion+    TrainingOptions_HolidayRegion (..),++    -- ** TrainingOptions_HolidayRegionsItem+    TrainingOptions_HolidayRegionsItem (..),++    -- ** TrainingOptions_HparamTuningObjectivesItem+    TrainingOptions_HparamTuningObjectivesItem (..),++    -- ** TrainingOptions_KmeansInitializationMethod+    TrainingOptions_KmeansInitializationMethod (..),++    -- ** TrainingOptions_LabelClassWeights+    TrainingOptions_LabelClassWeights (..),+    newTrainingOptions_LabelClassWeights,++    -- ** TrainingOptions_LearnRateStrategy+    TrainingOptions_LearnRateStrategy (..),++    -- ** TrainingOptions_LossType+    TrainingOptions_LossType (..),++    -- ** TrainingOptions_ModelRegistry+    TrainingOptions_ModelRegistry (..),++    -- ** TrainingOptions_OptimizationStrategy+    TrainingOptions_OptimizationStrategy (..),++    -- ** TrainingOptions_PcaSolver+    TrainingOptions_PcaSolver (..),++    -- ** TrainingOptions_TreeMethod+    TrainingOptions_TreeMethod (..),++    -- ** TrainingRun+    TrainingRun (..),+    newTrainingRun,++    -- ** TransactionInfo+    TransactionInfo (..),+    newTransactionInfo,++    -- ** TransformColumn+    TransformColumn (..),+    newTransformColumn,++    -- ** UndeleteDatasetRequest+    UndeleteDatasetRequest (..),+    newUndeleteDatasetRequest,++    -- ** UserDefinedFunctionResource+    UserDefinedFunctionResource (..),+    newUserDefinedFunctionResource,++    -- ** VectorSearchStatistics+    VectorSearchStatistics (..),+    newVectorSearchStatistics,++    -- ** VectorSearchStatistics_IndexUsageMode+    VectorSearchStatistics_IndexUsageMode (..),++    -- ** ViewDefinition+    ViewDefinition (..),+    newViewDefinition,++    -- ** DatasetsGetDatasetView+    DatasetsGetDatasetView (..),++    -- ** JobsListProjection+    JobsListProjection (..),++    -- ** JobsListStateFilter+    JobsListStateFilter (..),++    -- ** TablesGetView+    TablesGetView (..),+  )+where++import Gogol.BigQuery.Internal.Product+import Gogol.BigQuery.Internal.Sum+import Gogol.Prelude qualified as Core++-- | Default request referring to version @v2@ of the BigQuery API. This contains the host and root path used as a starting point for constructing service requests.+bigQueryService :: Core.ServiceConfig+bigQueryService =+  Core.defaultService+    (Core.ServiceId "bigquery:v2")+    "bigquery.googleapis.com"++-- | View and manage your data in Google BigQuery and see the email address for your Google Account+type Bigquery'FullControl =+  "https://www.googleapis.com/auth/bigquery"++-- | Insert data into Google BigQuery+type Bigquery'Insertdata =+  "https://www.googleapis.com/auth/bigquery.insertdata"++-- | See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.+type CloudPlatform'FullControl =+  "https://www.googleapis.com/auth/cloud-platform"++-- | View your data across Google Cloud services and see the email address of your Google Account+type CloudPlatform'ReadOnly =+  "https://www.googleapis.com/auth/cloud-platform.read-only"++-- | Manage your data and permissions in Cloud Storage and see the email address for your Google Account+type Devstorage'FullControl =+  "https://www.googleapis.com/auth/devstorage.full_control"++-- | View your data in Google Cloud Storage+type Devstorage'ReadOnly =+  "https://www.googleapis.com/auth/devstorage.read_only"++-- | Manage your data in Cloud Storage and see the email address of your Google Account+type Devstorage'ReadWrite =+  "https://www.googleapis.com/auth/devstorage.read_write"
− gen/Network/Google/BigQuery.hs
@@ -1,947 +0,0 @@-{-# LANGUAGE DataKinds         #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE TypeOperators     #-}--{-# OPTIONS_GHC -fno-warn-unused-imports    #-}-{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}---- |--- Module      : Network.Google.BigQuery--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ A data platform for customers to create, manage, share and query data.------ /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference>-module Network.Google.BigQuery-    (-    -- * Service Configuration-      bigQueryService--    -- * OAuth Scopes-    , cloudPlatformReadOnlyScope-    , cloudPlatformScope-    , storageReadOnlyScope-    , bigQueryInsertDataScope-    , storageReadWriteScope-    , bigQueryScope-    , storageFullControlScope--    -- * API Declaration-    , BigQueryAPI--    -- * Resources--    -- ** bigquery.datasets.delete-    , module Network.Google.Resource.BigQuery.DataSets.Delete--    -- ** bigquery.datasets.get-    , module Network.Google.Resource.BigQuery.DataSets.Get--    -- ** bigquery.datasets.insert-    , module Network.Google.Resource.BigQuery.DataSets.Insert--    -- ** bigquery.datasets.list-    , module Network.Google.Resource.BigQuery.DataSets.List--    -- ** bigquery.datasets.patch-    , module Network.Google.Resource.BigQuery.DataSets.Patch--    -- ** bigquery.datasets.update-    , module Network.Google.Resource.BigQuery.DataSets.Update--    -- ** bigquery.jobs.cancel-    , module Network.Google.Resource.BigQuery.Jobs.Cancel--    -- ** bigquery.jobs.get-    , module Network.Google.Resource.BigQuery.Jobs.Get--    -- ** bigquery.jobs.getQueryResults-    , module Network.Google.Resource.BigQuery.Jobs.GetQueryResults--    -- ** bigquery.jobs.insert-    , module Network.Google.Resource.BigQuery.Jobs.Insert--    -- ** bigquery.jobs.list-    , module Network.Google.Resource.BigQuery.Jobs.List--    -- ** bigquery.jobs.query-    , module Network.Google.Resource.BigQuery.Jobs.Query--    -- ** bigquery.projects.getServiceAccount-    , module Network.Google.Resource.BigQuery.Projects.GetServiceAccount--    -- ** bigquery.projects.list-    , module Network.Google.Resource.BigQuery.Projects.List--    -- ** bigquery.tabledata.insertAll-    , module Network.Google.Resource.BigQuery.TableData.InsertAll--    -- ** bigquery.tabledata.list-    , module Network.Google.Resource.BigQuery.TableData.List--    -- ** bigquery.tables.delete-    , module Network.Google.Resource.BigQuery.Tables.Delete--    -- ** bigquery.tables.get-    , module Network.Google.Resource.BigQuery.Tables.Get--    -- ** bigquery.tables.insert-    , module Network.Google.Resource.BigQuery.Tables.Insert--    -- ** bigquery.tables.list-    , module Network.Google.Resource.BigQuery.Tables.List--    -- ** bigquery.tables.patch-    , module Network.Google.Resource.BigQuery.Tables.Patch--    -- ** bigquery.tables.update-    , module Network.Google.Resource.BigQuery.Tables.Update--    -- * Types--    -- ** JobReference-    , JobReference-    , jobReference-    , jrJobId-    , jrLocation-    , jrProjectId--    -- ** TableList-    , TableList-    , tableList-    , tlTotalItems-    , tlEtag-    , tlNextPageToken-    , tlKind-    , tlTables--    -- ** DataSetListDataSetsItem-    , DataSetListDataSetsItem-    , dataSetListDataSetsItem-    , dsldsiLocation-    , dsldsiFriendlyName-    , dsldsiKind-    , dsldsiDataSetReference-    , dsldsiId-    , dsldsiLabels--    -- ** TableDataList-    , TableDataList-    , tableDataList-    , tdlEtag-    , tdlKind-    , tdlRows-    , tdlPageToken-    , tdlTotalRows--    -- ** JobConfigurationTableCopy-    , JobConfigurationTableCopy-    , jobConfigurationTableCopy-    , jctcDestinationTable-    , jctcWriteDisPosition-    , jctcSourceTables-    , jctcCreateDisPosition-    , jctcSourceTable-    , jctcDestinationEncryptionConfiguration--    -- ** TableListTablesItem-    , TableListTablesItem-    , tableListTablesItem-    , tltiCreationTime-    , tltiClustering-    , tltiTableReference-    , tltiFriendlyName-    , tltiKind-    , tltiTimePartitioning-    , tltiView-    , tltiId-    , tltiLabels-    , tltiType-    , tltiExpirationTime--    -- ** TableSchema-    , TableSchema-    , tableSchema-    , tsFields--    -- ** ProjectList-    , ProjectList-    , projectList-    , plTotalItems-    , plEtag-    , plNextPageToken-    , plKind-    , plProjects--    -- ** ExplainQueryStep-    , ExplainQueryStep-    , explainQueryStep-    , eqsSubsteps-    , eqsKind--    -- ** QueryTimelineSample-    , QueryTimelineSample-    , queryTimelineSample-    , qtsPendingUnits-    , qtsTotalSlotMs-    , qtsActiveUnits-    , qtsElapsedMs-    , qtsCompletedUnits--    -- ** QueryParameterTypeStructTypesItem-    , QueryParameterTypeStructTypesItem-    , queryParameterTypeStructTypesItem-    , qptstiName-    , qptstiType-    , qptstiDescription--    -- ** BigtableColumnFamily-    , BigtableColumnFamily-    , bigtableColumnFamily-    , bcfFamilyId-    , bcfColumns-    , bcfOnlyReadLatest-    , bcfType-    , bcfEncoding--    -- ** JobStatistics-    , JobStatistics-    , jobStatistics-    , jsCreationTime-    , jsStartTime-    , jsCompletionRatio-    , jsNumChildJobs-    , jsTotalSlotMs-    , jsLoad-    , jsTotalBytesProcessed-    , jsQuotaDeferments-    , jsEndTime-    , jsQuery-    , jsExtract-    , jsReservationUsage-    , jsParentJobId--    -- ** JobConfigurationLabels-    , JobConfigurationLabels-    , jobConfigurationLabels-    , jclAddtional--    -- ** DataSet-    , DataSet-    , dataSet-    , dsCreationTime-    , dsDefaultPartitionExpirationMs-    , dsAccess-    , dsEtag-    , dsLocation-    , dsFriendlyName-    , dsKind-    , dsLastModifiedTime-    , dsDataSetReference-    , dsSelfLink-    , dsId-    , dsLabels-    , dsDefaultTableExpirationMs-    , dsDescription--    -- ** RangePartitioningRange-    , RangePartitioningRange-    , rangePartitioningRange-    , rprStart-    , rprInterval-    , rprEnd--    -- ** JobStatisticsReservationUsageItem-    , JobStatisticsReservationUsageItem-    , jobStatisticsReservationUsageItem-    , jsruiName-    , jsruiSlotMs--    -- ** BigtableOptions-    , BigtableOptions-    , bigtableOptions-    , boReadRowkeyAsString-    , boIgnoreUnspecifiedColumnFamilies-    , boColumnFamilies--    -- ** Clustering-    , Clustering-    , clustering-    , cFields--    -- ** ExternalDataConfiguration-    , ExternalDataConfiguration-    , externalDataConfiguration-    , edcBigtableOptions-    , edcIgnoreUnknownValues-    , edcHivePartitioningMode-    , edcCompression-    , edcSourceFormat-    , edcSchema-    , edcMaxBadRecords-    , edcGoogleSheetsOptions-    , edcAutodetect-    , edcSourceURIs-    , edcCSVOptions--    -- ** TableReference-    , TableReference-    , tableReference-    , trDataSetId-    , trProjectId-    , trTableId--    -- ** ModelDefinitionModelOptions-    , ModelDefinitionModelOptions-    , modelDefinitionModelOptions-    , mdmoModelType-    , mdmoLabels-    , mdmoLossType--    -- ** RoutineReference-    , RoutineReference-    , routineReference-    , rrDataSetId-    , rrProjectId-    , rrRoutineId--    -- ** RangePartitioning-    , RangePartitioning-    , rangePartitioning-    , rpField-    , rpRange--    -- ** TableFieldSchema-    , TableFieldSchema-    , tableFieldSchema-    , tfsMode-    , tfsCategories-    , tfsName-    , tfsType-    , tfsDescription-    , tfsFields--    -- ** GetQueryResultsResponse-    , GetQueryResultsResponse-    , getQueryResultsResponse-    , gqrrJobReference-    , gqrrEtag-    , gqrrKind-    , gqrrSchema-    , gqrrTotalBytesProcessed-    , gqrrRows-    , gqrrPageToken-    , gqrrNumDmlAffectedRows-    , gqrrTotalRows-    , gqrrErrors-    , gqrrJobComplete-    , gqrrCacheHit--    -- ** DataSetList-    , DataSetList-    , dataSetList-    , dslEtag-    , dslNextPageToken-    , dslKind-    , dslDataSets--    -- ** QueryRequest-    , QueryRequest-    , queryRequest-    , qrLocation-    , qrUseQueryCache-    , qrPreserveNulls-    , qrKind-    , qrQueryParameters-    , qrQuery-    , qrParameterMode-    , qrTimeoutMs-    , qrUseLegacySQL-    , qrDryRun-    , qrMaxResults-    , qrDefaultDataSet--    -- ** JobsListProjection-    , JobsListProjection (..)--    -- ** BqmlTrainingRunTrainingOptions-    , BqmlTrainingRunTrainingOptions-    , bqmlTrainingRunTrainingOptions-    , btrtoLineSearchInitLearnRate-    , btrtoMinRelProgress-    , btrtoL1Reg-    , btrtoLearnRate-    , btrtoLearnRateStrategy-    , btrtoMaxIteration-    , btrtoEarlyStop-    , btrtoL2Reg-    , btrtoWarmStart--    -- ** QueryParameter-    , QueryParameter-    , queryParameter-    , qpParameterValue-    , qpParameterType-    , qpName--    -- ** JobStatistics4-    , JobStatistics4-    , jobStatistics4-    , jsInputBytes-    , jsDestinationURIFileCounts--    -- ** ProjectReference-    , ProjectReference-    , projectReference-    , prProjectId--    -- ** ExplainQueryStage-    , ExplainQueryStage-    , explainQueryStage-    , eqsReadMsAvg-    , eqsStatus-    , eqsShuffleOutputBytesSpilled-    , eqsReadMsMax-    , eqsCompletedParallelInputs-    , eqsWaitRatioMax-    , eqsParallelInputs-    , eqsShuffleOutputBytes-    , eqsRecordsWritten-    , eqsSteps-    , eqsInputStages-    , eqsWriteRatioAvg-    , eqsRecordsRead-    , eqsComputeRatioAvg-    , eqsName-    , eqsComputeMsMax-    , eqsReadRatioMax-    , eqsWriteMsMax-    , eqsWaitRatioAvg-    , eqsWaitMsAvg-    , eqsId-    , eqsComputeRatioMax-    , eqsWriteRatioMax-    , eqsComputeMsAvg-    , eqsReadRatioAvg-    , eqsWriteMsAvg-    , eqsStartMs-    , eqsEndMs-    , eqsWaitMsMax--    -- ** BigQueryModelTraining-    , BigQueryModelTraining-    , bigQueryModelTraining-    , bqmtExpectedTotalIterations-    , bqmtCurrentIteration--    -- ** JobConfigurationLoad-    , JobConfigurationLoad-    , jobConfigurationLoad-    , jclSkipLeadingRows-    , jclProjectionFields-    , jclDestinationTable-    , jclWriteDisPosition-    , jclAllowJaggedRows-    , jclClustering-    , jclRangePartitioning-    , jclSchemaInline-    , jclIgnoreUnknownValues-    , jclSchemaUpdateOptions-    , jclHivePartitioningMode-    , jclCreateDisPosition-    , jclSchemaInlineFormat-    , jclAllowQuotedNewlines-    , jclSourceFormat-    , jclUseAvroLogicalTypes-    , jclSchema-    , jclTimePartitioning-    , jclQuote-    , jclMaxBadRecords-    , jclAutodetect-    , jclSourceURIs-    , jclEncoding-    , jclDestinationTableProperties-    , jclDestinationEncryptionConfiguration-    , jclFieldDelimiter-    , jclNullMarker--    -- ** JobsListStateFilter-    , JobsListStateFilter (..)--    -- ** DataSetReference-    , DataSetReference-    , dataSetReference-    , dsrDataSetId-    , dsrProjectId--    -- ** MaterializedViewDefinition-    , MaterializedViewDefinition-    , materializedViewDefinition-    , mvdQuery-    , mvdLastRefreshTime--    -- ** TableDataInsertAllRequest-    , TableDataInsertAllRequest-    , tableDataInsertAllRequest-    , tdiarKind-    , tdiarIgnoreUnknownValues-    , tdiarRows-    , tdiarTemplateSuffix-    , tdiarSkipInvalidRows--    -- ** GetServiceAccountResponse-    , GetServiceAccountResponse-    , getServiceAccountResponse-    , gsarEmail-    , gsarKind--    -- ** ProjectListProjectsItem-    , ProjectListProjectsItem-    , projectListProjectsItem-    , plpiFriendlyName-    , plpiKind-    , plpiProjectReference-    , plpiId-    , plpiNumericId--    -- ** BqmlIterationResult-    , BqmlIterationResult-    , bqmlIterationResult-    , birDurationMs-    , birLearnRate-    , birEvalLoss-    , birTrainingLoss-    , birIndex--    -- ** BigtableColumn-    , BigtableColumn-    , bigtableColumn-    , bcQualifierEncoded-    , bcFieldName-    , bcQualifierString-    , bcOnlyReadLatest-    , bcType-    , bcEncoding--    -- ** Streamingbuffer-    , Streamingbuffer-    , streamingbuffer-    , sEstimatedBytes-    , sOldestEntryTime-    , sEstimatedRows--    -- ** TableRow-    , TableRow-    , tableRow-    , trF--    -- ** JobListJobsItem-    , JobListJobsItem-    , jobListJobsItem-    , jljiJobReference-    , jljiStatus-    , jljiState-    , jljiUserEmail-    , jljiKind-    , jljiErrorResult-    , jljiId-    , jljiStatistics-    , jljiConfiguration--    -- ** TimePartitioning-    , TimePartitioning-    , timePartitioning-    , tpField-    , tpExpirationMs-    , tpRequirePartitionFilter-    , tpType--    -- ** QueryParameterValueStructValues-    , QueryParameterValueStructValues-    , queryParameterValueStructValues-    , qpvsvAddtional--    -- ** DataSetLabels-    , DataSetLabels-    , dataSetLabels-    , dslAddtional--    -- ** JobConfiguration-    , JobConfiguration-    , jobConfiguration-    , jcJobType-    , jcCopy-    , jcLoad-    , jcQuery-    , jcJobTimeoutMs-    , jcExtract-    , jcLabels-    , jcDryRun--    -- ** Job-    , Job-    , job-    , jJobReference-    , jStatus-    , jEtag-    , jUserEmail-    , jKind-    , jSelfLink-    , jId-    , jStatistics-    , jConfiguration--    -- ** EncryptionConfiguration-    , EncryptionConfiguration-    , encryptionConfiguration-    , ecKmsKeyName--    -- ** TableDataInsertAllResponseInsertErrorsItem-    , TableDataInsertAllResponseInsertErrorsItem-    , tableDataInsertAllResponseInsertErrorsItem-    , tdiarieiErrors-    , tdiarieiIndex--    -- ** JobConfigurationExtract-    , JobConfigurationExtract-    , jobConfigurationExtract-    , jceDestinationFormat-    , jceSourceTable-    , jcePrintHeader-    , jceCompression-    , jceDestinationURIs-    , jceDestinationURI-    , jceFieldDelimiter--    -- ** ModelDefinition-    , ModelDefinition-    , modelDefinition-    , mdModelOptions-    , mdTrainingRuns--    -- ** JobCancelResponse-    , JobCancelResponse-    , jobCancelResponse-    , jcrKind-    , jcrJob--    -- ** JSONObject-    , JSONObject-    , jsonObject-    , joAddtional--    -- ** JobConfigurationQuery-    , JobConfigurationQuery-    , jobConfigurationQuery-    , jcqDestinationTable-    , jcqWriteDisPosition-    , jcqPriority-    , jcqClustering-    , jcqRangePartitioning-    , jcqUseQueryCache-    , jcqPreserveNulls-    , jcqTableDefinitions-    , jcqQueryParameters-    , jcqSchemaUpdateOptions-    , jcqMaximumBytesBilled-    , jcqCreateDisPosition-    , jcqUserDefinedFunctionResources-    , jcqAllowLargeResults-    , jcqMaximumBillingTier-    , jcqTimePartitioning-    , jcqQuery-    , jcqFlattenResults-    , jcqParameterMode-    , jcqUseLegacySQL-    , jcqDestinationEncryptionConfiguration-    , jcqDefaultDataSet--    -- ** GoogleSheetsOptions-    , GoogleSheetsOptions-    , googleSheetsOptions-    , gsoSkipLeadingRows-    , gsoRange--    -- ** TableDataInsertAllRequestRowsItem-    , TableDataInsertAllRequestRowsItem-    , tableDataInsertAllRequestRowsItem-    , tdiarriJSON-    , tdiarriInsertId--    -- ** JobList-    , JobList-    , jobList-    , jlEtag-    , jlNextPageToken-    , jlKind-    , jlJobs--    -- ** JobConfigurationQueryTableDefinitions-    , JobConfigurationQueryTableDefinitions-    , jobConfigurationQueryTableDefinitions-    , jcqtdAddtional--    -- ** TableCell-    , TableCell-    , tableCell-    , tcV--    -- ** JobStatistics2ReservationUsageItem-    , JobStatistics2ReservationUsageItem-    , jobStatistics2ReservationUsageItem-    , jName-    , jSlotMs--    -- ** QueryParameterValue-    , QueryParameterValue-    , queryParameterValue-    , qpvStructValues-    , qpvValue-    , qpvArrayValues--    -- ** ViewDefinition-    , ViewDefinition-    , viewDefinition-    , vdUserDefinedFunctionResources-    , vdQuery-    , vdUseLegacySQL--    -- ** UserDefinedFunctionResource-    , UserDefinedFunctionResource-    , userDefinedFunctionResource-    , udfrResourceURI-    , udfrInlineCode--    -- ** JobStatistics2-    , JobStatistics2-    , jobStatistics2-    , jModelTrainingExpectedTotalIteration-    , jModelTraining-    , jTotalSlotMs-    , jDdlTargetRoutine-    , jDdlTargetTable-    , jEstimatedBytesProcessed-    , jModelTrainingCurrentIteration-    , jSchema-    , jTotalBytesProcessed-    , jBillingTier-    , jTotalBytesProcessedAccuracy-    , jUndeclaredQueryParameters-    , jReferencedTables-    , jStatementType-    , jReservationUsage-    , jNumDmlAffectedRows-    , jTimeline-    , jQueryPlan-    , jCacheHit-    , jTotalBytesBilled-    , jDdlOperationPerformed-    , jTotalPartitionsProcessed--    -- ** TableFieldSchemaCategories-    , TableFieldSchemaCategories-    , tableFieldSchemaCategories-    , tfscNames--    -- ** JobStatus-    , JobStatus-    , jobStatus-    , jsState-    , jsErrorResult-    , jsErrors--    -- ** TableLabels-    , TableLabels-    , tableLabels-    , tlAddtional--    -- ** DestinationTableProperties-    , DestinationTableProperties-    , destinationTableProperties-    , dtpFriendlyName-    , dtpLabels-    , dtpDescription--    -- ** DataSetAccessItem-    , DataSetAccessItem-    , dataSetAccessItem-    , dsaiGroupByEmail-    , dsaiDomain-    , dsaiSpecialGroup-    , dsaiRole-    , dsaiIAMMember-    , dsaiView-    , dsaiUserByEmail--    -- ** BqmlTrainingRun-    , BqmlTrainingRun-    , bqmlTrainingRun-    , btrState-    , btrStartTime-    , btrIterationResults-    , btrTrainingOptions--    -- ** TableDataInsertAllResponse-    , TableDataInsertAllResponse-    , tableDataInsertAllResponse-    , tKind-    , tInsertErrors--    -- ** QueryParameterType-    , QueryParameterType-    , queryParameterType-    , qptStructTypes-    , qptType-    , qptArrayType--    -- ** Table-    , Table-    , table-    , tabMaterializedView-    , tabCreationTime-    , tabEtag-    , tabNumBytes-    , tabClustering-    , tabExternalDataConfiguration-    , tabRangePartitioning-    , tabLocation-    , tabTableReference-    , tabFriendlyName-    , tabKind-    , tabLastModifiedTime-    , tabSchema-    , tabStreamingBuffer-    , tabSelfLink-    , tabRequirePartitionFilter-    , tabEncryptionConfiguration-    , tabModel-    , tabTimePartitioning-    , tabNumRows-    , tabNumPhysicalBytes-    , tabView-    , tabId-    , tabLabels-    , tabType-    , tabNumLongTermBytes-    , tabExpirationTime-    , tabDescription--    -- ** ErrorProto-    , ErrorProto-    , errorProto-    , epDebugInfo-    , epLocation-    , epReason-    , epMessage--    -- ** CSVOptions-    , CSVOptions-    , csvOptions-    , coSkipLeadingRows-    , coAllowJaggedRows-    , coAllowQuotedNewlines-    , coQuote-    , coEncoding-    , coFieldDelimiter--    -- ** DestinationTablePropertiesLabels-    , DestinationTablePropertiesLabels-    , destinationTablePropertiesLabels-    , dtplAddtional--    -- ** JobStatistics3-    , JobStatistics3-    , jobStatistics3-    , jsInputFiles-    , jsOutputRows-    , jsOutputBytes-    , jsInputFileBytes-    , jsBadRecords--    -- ** QueryResponse-    , QueryResponse-    , queryResponse-    , qJobReference-    , qKind-    , qSchema-    , qTotalBytesProcessed-    , qRows-    , qPageToken-    , qNumDmlAffectedRows-    , qTotalRows-    , qErrors-    , qJobComplete-    , qCacheHit--    -- ** DataSetListDataSetsItemLabels-    , DataSetListDataSetsItemLabels-    , dataSetListDataSetsItemLabels-    , dsldsilAddtional--    -- ** TableListTablesItemView-    , TableListTablesItemView-    , tableListTablesItemView-    , tltivUseLegacySQL--    -- ** TableListTablesItemLabels-    , TableListTablesItemLabels-    , tableListTablesItemLabels-    , tltilAddtional-    ) where--import           Network.Google.BigQuery.Types-import           Network.Google.Prelude-import           Network.Google.Resource.BigQuery.DataSets.Delete-import           Network.Google.Resource.BigQuery.DataSets.Get-import           Network.Google.Resource.BigQuery.DataSets.Insert-import           Network.Google.Resource.BigQuery.DataSets.List-import           Network.Google.Resource.BigQuery.DataSets.Patch-import           Network.Google.Resource.BigQuery.DataSets.Update-import           Network.Google.Resource.BigQuery.Jobs.Cancel-import           Network.Google.Resource.BigQuery.Jobs.Get-import           Network.Google.Resource.BigQuery.Jobs.GetQueryResults-import           Network.Google.Resource.BigQuery.Jobs.Insert-import           Network.Google.Resource.BigQuery.Jobs.List-import           Network.Google.Resource.BigQuery.Jobs.Query-import           Network.Google.Resource.BigQuery.Projects.GetServiceAccount-import           Network.Google.Resource.BigQuery.Projects.List-import           Network.Google.Resource.BigQuery.TableData.InsertAll-import           Network.Google.Resource.BigQuery.TableData.List-import           Network.Google.Resource.BigQuery.Tables.Delete-import           Network.Google.Resource.BigQuery.Tables.Get-import           Network.Google.Resource.BigQuery.Tables.Insert-import           Network.Google.Resource.BigQuery.Tables.List-import           Network.Google.Resource.BigQuery.Tables.Patch-import           Network.Google.Resource.BigQuery.Tables.Update--{- $resources-TODO--}---- | Represents the entirety of the methods and resources available for the BigQuery API service.-type BigQueryAPI =-     JobsInsertResource :<|> JobsListResource :<|>-       JobsGetResource-       :<|> JobsQueryResource-       :<|> JobsCancelResource-       :<|> JobsGetQueryResultsResource-       :<|> TablesInsertResource-       :<|> TablesListResource-       :<|> TablesPatchResource-       :<|> TablesGetResource-       :<|> TablesDeleteResource-       :<|> TablesUpdateResource-       :<|> TableDataListResource-       :<|> TableDataInsertAllResource-       :<|> ProjectsGetServiceAccountResource-       :<|> ProjectsListResource-       :<|> DataSetsInsertResource-       :<|> DataSetsListResource-       :<|> DataSetsPatchResource-       :<|> DataSetsGetResource-       :<|> DataSetsDeleteResource-       :<|> DataSetsUpdateResource
− gen/Network/Google/BigQuery/Types.hs
@@ -1,857 +0,0 @@-{-# LANGUAGE DataKinds          #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module      : Network.Google.BigQuery.Types--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)----module Network.Google.BigQuery.Types-    (-    -- * Service Configuration-      bigQueryService--    -- * OAuth Scopes-    , cloudPlatformReadOnlyScope-    , cloudPlatformScope-    , storageReadOnlyScope-    , bigQueryInsertDataScope-    , storageReadWriteScope-    , bigQueryScope-    , storageFullControlScope--    -- * JobReference-    , JobReference-    , jobReference-    , jrJobId-    , jrLocation-    , jrProjectId--    -- * TableList-    , TableList-    , tableList-    , tlTotalItems-    , tlEtag-    , tlNextPageToken-    , tlKind-    , tlTables--    -- * DataSetListDataSetsItem-    , DataSetListDataSetsItem-    , dataSetListDataSetsItem-    , dsldsiLocation-    , dsldsiFriendlyName-    , dsldsiKind-    , dsldsiDataSetReference-    , dsldsiId-    , dsldsiLabels--    -- * TableDataList-    , TableDataList-    , tableDataList-    , tdlEtag-    , tdlKind-    , tdlRows-    , tdlPageToken-    , tdlTotalRows--    -- * JobConfigurationTableCopy-    , JobConfigurationTableCopy-    , jobConfigurationTableCopy-    , jctcDestinationTable-    , jctcWriteDisPosition-    , jctcSourceTables-    , jctcCreateDisPosition-    , jctcSourceTable-    , jctcDestinationEncryptionConfiguration--    -- * TableListTablesItem-    , TableListTablesItem-    , tableListTablesItem-    , tltiCreationTime-    , tltiClustering-    , tltiTableReference-    , tltiFriendlyName-    , tltiKind-    , tltiTimePartitioning-    , tltiView-    , tltiId-    , tltiLabels-    , tltiType-    , tltiExpirationTime--    -- * TableSchema-    , TableSchema-    , tableSchema-    , tsFields--    -- * ProjectList-    , ProjectList-    , projectList-    , plTotalItems-    , plEtag-    , plNextPageToken-    , plKind-    , plProjects--    -- * ExplainQueryStep-    , ExplainQueryStep-    , explainQueryStep-    , eqsSubsteps-    , eqsKind--    -- * QueryTimelineSample-    , QueryTimelineSample-    , queryTimelineSample-    , qtsPendingUnits-    , qtsTotalSlotMs-    , qtsActiveUnits-    , qtsElapsedMs-    , qtsCompletedUnits--    -- * QueryParameterTypeStructTypesItem-    , QueryParameterTypeStructTypesItem-    , queryParameterTypeStructTypesItem-    , qptstiName-    , qptstiType-    , qptstiDescription--    -- * BigtableColumnFamily-    , BigtableColumnFamily-    , bigtableColumnFamily-    , bcfFamilyId-    , bcfColumns-    , bcfOnlyReadLatest-    , bcfType-    , bcfEncoding--    -- * JobStatistics-    , JobStatistics-    , jobStatistics-    , jsCreationTime-    , jsStartTime-    , jsCompletionRatio-    , jsNumChildJobs-    , jsTotalSlotMs-    , jsLoad-    , jsTotalBytesProcessed-    , jsQuotaDeferments-    , jsEndTime-    , jsQuery-    , jsExtract-    , jsReservationUsage-    , jsParentJobId--    -- * JobConfigurationLabels-    , JobConfigurationLabels-    , jobConfigurationLabels-    , jclAddtional--    -- * DataSet-    , DataSet-    , dataSet-    , dsCreationTime-    , dsDefaultPartitionExpirationMs-    , dsAccess-    , dsEtag-    , dsLocation-    , dsFriendlyName-    , dsKind-    , dsLastModifiedTime-    , dsDataSetReference-    , dsSelfLink-    , dsId-    , dsLabels-    , dsDefaultTableExpirationMs-    , dsDescription--    -- * RangePartitioningRange-    , RangePartitioningRange-    , rangePartitioningRange-    , rprStart-    , rprInterval-    , rprEnd--    -- * JobStatisticsReservationUsageItem-    , JobStatisticsReservationUsageItem-    , jobStatisticsReservationUsageItem-    , jsruiName-    , jsruiSlotMs--    -- * BigtableOptions-    , BigtableOptions-    , bigtableOptions-    , boReadRowkeyAsString-    , boIgnoreUnspecifiedColumnFamilies-    , boColumnFamilies--    -- * Clustering-    , Clustering-    , clustering-    , cFields--    -- * ExternalDataConfiguration-    , ExternalDataConfiguration-    , externalDataConfiguration-    , edcBigtableOptions-    , edcIgnoreUnknownValues-    , edcHivePartitioningMode-    , edcCompression-    , edcSourceFormat-    , edcSchema-    , edcMaxBadRecords-    , edcGoogleSheetsOptions-    , edcAutodetect-    , edcSourceURIs-    , edcCSVOptions--    -- * TableReference-    , TableReference-    , tableReference-    , trDataSetId-    , trProjectId-    , trTableId--    -- * ModelDefinitionModelOptions-    , ModelDefinitionModelOptions-    , modelDefinitionModelOptions-    , mdmoModelType-    , mdmoLabels-    , mdmoLossType--    -- * RoutineReference-    , RoutineReference-    , routineReference-    , rrDataSetId-    , rrProjectId-    , rrRoutineId--    -- * RangePartitioning-    , RangePartitioning-    , rangePartitioning-    , rpField-    , rpRange--    -- * TableFieldSchema-    , TableFieldSchema-    , tableFieldSchema-    , tfsMode-    , tfsCategories-    , tfsName-    , tfsType-    , tfsDescription-    , tfsFields--    -- * GetQueryResultsResponse-    , GetQueryResultsResponse-    , getQueryResultsResponse-    , gqrrJobReference-    , gqrrEtag-    , gqrrKind-    , gqrrSchema-    , gqrrTotalBytesProcessed-    , gqrrRows-    , gqrrPageToken-    , gqrrNumDmlAffectedRows-    , gqrrTotalRows-    , gqrrErrors-    , gqrrJobComplete-    , gqrrCacheHit--    -- * DataSetList-    , DataSetList-    , dataSetList-    , dslEtag-    , dslNextPageToken-    , dslKind-    , dslDataSets--    -- * QueryRequest-    , QueryRequest-    , queryRequest-    , qrLocation-    , qrUseQueryCache-    , qrPreserveNulls-    , qrKind-    , qrQueryParameters-    , qrQuery-    , qrParameterMode-    , qrTimeoutMs-    , qrUseLegacySQL-    , qrDryRun-    , qrMaxResults-    , qrDefaultDataSet--    -- * JobsListProjection-    , JobsListProjection (..)--    -- * BqmlTrainingRunTrainingOptions-    , BqmlTrainingRunTrainingOptions-    , bqmlTrainingRunTrainingOptions-    , btrtoLineSearchInitLearnRate-    , btrtoMinRelProgress-    , btrtoL1Reg-    , btrtoLearnRate-    , btrtoLearnRateStrategy-    , btrtoMaxIteration-    , btrtoEarlyStop-    , btrtoL2Reg-    , btrtoWarmStart--    -- * QueryParameter-    , QueryParameter-    , queryParameter-    , qpParameterValue-    , qpParameterType-    , qpName--    -- * JobStatistics4-    , JobStatistics4-    , jobStatistics4-    , jsInputBytes-    , jsDestinationURIFileCounts--    -- * ProjectReference-    , ProjectReference-    , projectReference-    , prProjectId--    -- * ExplainQueryStage-    , ExplainQueryStage-    , explainQueryStage-    , eqsReadMsAvg-    , eqsStatus-    , eqsShuffleOutputBytesSpilled-    , eqsReadMsMax-    , eqsCompletedParallelInputs-    , eqsWaitRatioMax-    , eqsParallelInputs-    , eqsShuffleOutputBytes-    , eqsRecordsWritten-    , eqsSteps-    , eqsInputStages-    , eqsWriteRatioAvg-    , eqsRecordsRead-    , eqsComputeRatioAvg-    , eqsName-    , eqsComputeMsMax-    , eqsReadRatioMax-    , eqsWriteMsMax-    , eqsWaitRatioAvg-    , eqsWaitMsAvg-    , eqsId-    , eqsComputeRatioMax-    , eqsWriteRatioMax-    , eqsComputeMsAvg-    , eqsReadRatioAvg-    , eqsWriteMsAvg-    , eqsStartMs-    , eqsEndMs-    , eqsWaitMsMax--    -- * BigQueryModelTraining-    , BigQueryModelTraining-    , bigQueryModelTraining-    , bqmtExpectedTotalIterations-    , bqmtCurrentIteration--    -- * JobConfigurationLoad-    , JobConfigurationLoad-    , jobConfigurationLoad-    , jclSkipLeadingRows-    , jclProjectionFields-    , jclDestinationTable-    , jclWriteDisPosition-    , jclAllowJaggedRows-    , jclClustering-    , jclRangePartitioning-    , jclSchemaInline-    , jclIgnoreUnknownValues-    , jclSchemaUpdateOptions-    , jclHivePartitioningMode-    , jclCreateDisPosition-    , jclSchemaInlineFormat-    , jclAllowQuotedNewlines-    , jclSourceFormat-    , jclUseAvroLogicalTypes-    , jclSchema-    , jclTimePartitioning-    , jclQuote-    , jclMaxBadRecords-    , jclAutodetect-    , jclSourceURIs-    , jclEncoding-    , jclDestinationTableProperties-    , jclDestinationEncryptionConfiguration-    , jclFieldDelimiter-    , jclNullMarker--    -- * JobsListStateFilter-    , JobsListStateFilter (..)--    -- * DataSetReference-    , DataSetReference-    , dataSetReference-    , dsrDataSetId-    , dsrProjectId--    -- * MaterializedViewDefinition-    , MaterializedViewDefinition-    , materializedViewDefinition-    , mvdQuery-    , mvdLastRefreshTime--    -- * TableDataInsertAllRequest-    , TableDataInsertAllRequest-    , tableDataInsertAllRequest-    , tdiarKind-    , tdiarIgnoreUnknownValues-    , tdiarRows-    , tdiarTemplateSuffix-    , tdiarSkipInvalidRows--    -- * GetServiceAccountResponse-    , GetServiceAccountResponse-    , getServiceAccountResponse-    , gsarEmail-    , gsarKind--    -- * ProjectListProjectsItem-    , ProjectListProjectsItem-    , projectListProjectsItem-    , plpiFriendlyName-    , plpiKind-    , plpiProjectReference-    , plpiId-    , plpiNumericId--    -- * BqmlIterationResult-    , BqmlIterationResult-    , bqmlIterationResult-    , birDurationMs-    , birLearnRate-    , birEvalLoss-    , birTrainingLoss-    , birIndex--    -- * BigtableColumn-    , BigtableColumn-    , bigtableColumn-    , bcQualifierEncoded-    , bcFieldName-    , bcQualifierString-    , bcOnlyReadLatest-    , bcType-    , bcEncoding--    -- * Streamingbuffer-    , Streamingbuffer-    , streamingbuffer-    , sEstimatedBytes-    , sOldestEntryTime-    , sEstimatedRows--    -- * TableRow-    , TableRow-    , tableRow-    , trF--    -- * JobListJobsItem-    , JobListJobsItem-    , jobListJobsItem-    , jljiJobReference-    , jljiStatus-    , jljiState-    , jljiUserEmail-    , jljiKind-    , jljiErrorResult-    , jljiId-    , jljiStatistics-    , jljiConfiguration--    -- * TimePartitioning-    , TimePartitioning-    , timePartitioning-    , tpField-    , tpExpirationMs-    , tpRequirePartitionFilter-    , tpType--    -- * QueryParameterValueStructValues-    , QueryParameterValueStructValues-    , queryParameterValueStructValues-    , qpvsvAddtional--    -- * DataSetLabels-    , DataSetLabels-    , dataSetLabels-    , dslAddtional--    -- * JobConfiguration-    , JobConfiguration-    , jobConfiguration-    , jcJobType-    , jcCopy-    , jcLoad-    , jcQuery-    , jcJobTimeoutMs-    , jcExtract-    , jcLabels-    , jcDryRun--    -- * Job-    , Job-    , job-    , jJobReference-    , jStatus-    , jEtag-    , jUserEmail-    , jKind-    , jSelfLink-    , jId-    , jStatistics-    , jConfiguration--    -- * EncryptionConfiguration-    , EncryptionConfiguration-    , encryptionConfiguration-    , ecKmsKeyName--    -- * TableDataInsertAllResponseInsertErrorsItem-    , TableDataInsertAllResponseInsertErrorsItem-    , tableDataInsertAllResponseInsertErrorsItem-    , tdiarieiErrors-    , tdiarieiIndex--    -- * JobConfigurationExtract-    , JobConfigurationExtract-    , jobConfigurationExtract-    , jceDestinationFormat-    , jceSourceTable-    , jcePrintHeader-    , jceCompression-    , jceDestinationURIs-    , jceDestinationURI-    , jceFieldDelimiter--    -- * ModelDefinition-    , ModelDefinition-    , modelDefinition-    , mdModelOptions-    , mdTrainingRuns--    -- * JobCancelResponse-    , JobCancelResponse-    , jobCancelResponse-    , jcrKind-    , jcrJob--    -- * JSONObject-    , JSONObject-    , jsonObject-    , joAddtional--    -- * JobConfigurationQuery-    , JobConfigurationQuery-    , jobConfigurationQuery-    , jcqDestinationTable-    , jcqWriteDisPosition-    , jcqPriority-    , jcqClustering-    , jcqRangePartitioning-    , jcqUseQueryCache-    , jcqPreserveNulls-    , jcqTableDefinitions-    , jcqQueryParameters-    , jcqSchemaUpdateOptions-    , jcqMaximumBytesBilled-    , jcqCreateDisPosition-    , jcqUserDefinedFunctionResources-    , jcqAllowLargeResults-    , jcqMaximumBillingTier-    , jcqTimePartitioning-    , jcqQuery-    , jcqFlattenResults-    , jcqParameterMode-    , jcqUseLegacySQL-    , jcqDestinationEncryptionConfiguration-    , jcqDefaultDataSet--    -- * GoogleSheetsOptions-    , GoogleSheetsOptions-    , googleSheetsOptions-    , gsoSkipLeadingRows-    , gsoRange--    -- * TableDataInsertAllRequestRowsItem-    , TableDataInsertAllRequestRowsItem-    , tableDataInsertAllRequestRowsItem-    , tdiarriJSON-    , tdiarriInsertId--    -- * JobList-    , JobList-    , jobList-    , jlEtag-    , jlNextPageToken-    , jlKind-    , jlJobs--    -- * JobConfigurationQueryTableDefinitions-    , JobConfigurationQueryTableDefinitions-    , jobConfigurationQueryTableDefinitions-    , jcqtdAddtional--    -- * TableCell-    , TableCell-    , tableCell-    , tcV--    -- * JobStatistics2ReservationUsageItem-    , JobStatistics2ReservationUsageItem-    , jobStatistics2ReservationUsageItem-    , jName-    , jSlotMs--    -- * QueryParameterValue-    , QueryParameterValue-    , queryParameterValue-    , qpvStructValues-    , qpvValue-    , qpvArrayValues--    -- * ViewDefinition-    , ViewDefinition-    , viewDefinition-    , vdUserDefinedFunctionResources-    , vdQuery-    , vdUseLegacySQL--    -- * UserDefinedFunctionResource-    , UserDefinedFunctionResource-    , userDefinedFunctionResource-    , udfrResourceURI-    , udfrInlineCode--    -- * JobStatistics2-    , JobStatistics2-    , jobStatistics2-    , jModelTrainingExpectedTotalIteration-    , jModelTraining-    , jTotalSlotMs-    , jDdlTargetRoutine-    , jDdlTargetTable-    , jEstimatedBytesProcessed-    , jModelTrainingCurrentIteration-    , jSchema-    , jTotalBytesProcessed-    , jBillingTier-    , jTotalBytesProcessedAccuracy-    , jUndeclaredQueryParameters-    , jReferencedTables-    , jStatementType-    , jReservationUsage-    , jNumDmlAffectedRows-    , jTimeline-    , jQueryPlan-    , jCacheHit-    , jTotalBytesBilled-    , jDdlOperationPerformed-    , jTotalPartitionsProcessed--    -- * TableFieldSchemaCategories-    , TableFieldSchemaCategories-    , tableFieldSchemaCategories-    , tfscNames--    -- * JobStatus-    , JobStatus-    , jobStatus-    , jsState-    , jsErrorResult-    , jsErrors--    -- * TableLabels-    , TableLabels-    , tableLabels-    , tlAddtional--    -- * DestinationTableProperties-    , DestinationTableProperties-    , destinationTableProperties-    , dtpFriendlyName-    , dtpLabels-    , dtpDescription--    -- * DataSetAccessItem-    , DataSetAccessItem-    , dataSetAccessItem-    , dsaiGroupByEmail-    , dsaiDomain-    , dsaiSpecialGroup-    , dsaiRole-    , dsaiIAMMember-    , dsaiView-    , dsaiUserByEmail--    -- * BqmlTrainingRun-    , BqmlTrainingRun-    , bqmlTrainingRun-    , btrState-    , btrStartTime-    , btrIterationResults-    , btrTrainingOptions--    -- * TableDataInsertAllResponse-    , TableDataInsertAllResponse-    , tableDataInsertAllResponse-    , tKind-    , tInsertErrors--    -- * QueryParameterType-    , QueryParameterType-    , queryParameterType-    , qptStructTypes-    , qptType-    , qptArrayType--    -- * Table-    , Table-    , table-    , tabMaterializedView-    , tabCreationTime-    , tabEtag-    , tabNumBytes-    , tabClustering-    , tabExternalDataConfiguration-    , tabRangePartitioning-    , tabLocation-    , tabTableReference-    , tabFriendlyName-    , tabKind-    , tabLastModifiedTime-    , tabSchema-    , tabStreamingBuffer-    , tabSelfLink-    , tabRequirePartitionFilter-    , tabEncryptionConfiguration-    , tabModel-    , tabTimePartitioning-    , tabNumRows-    , tabNumPhysicalBytes-    , tabView-    , tabId-    , tabLabels-    , tabType-    , tabNumLongTermBytes-    , tabExpirationTime-    , tabDescription--    -- * ErrorProto-    , ErrorProto-    , errorProto-    , epDebugInfo-    , epLocation-    , epReason-    , epMessage--    -- * CSVOptions-    , CSVOptions-    , csvOptions-    , coSkipLeadingRows-    , coAllowJaggedRows-    , coAllowQuotedNewlines-    , coQuote-    , coEncoding-    , coFieldDelimiter--    -- * DestinationTablePropertiesLabels-    , DestinationTablePropertiesLabels-    , destinationTablePropertiesLabels-    , dtplAddtional--    -- * JobStatistics3-    , JobStatistics3-    , jobStatistics3-    , jsInputFiles-    , jsOutputRows-    , jsOutputBytes-    , jsInputFileBytes-    , jsBadRecords--    -- * QueryResponse-    , QueryResponse-    , queryResponse-    , qJobReference-    , qKind-    , qSchema-    , qTotalBytesProcessed-    , qRows-    , qPageToken-    , qNumDmlAffectedRows-    , qTotalRows-    , qErrors-    , qJobComplete-    , qCacheHit--    -- * DataSetListDataSetsItemLabels-    , DataSetListDataSetsItemLabels-    , dataSetListDataSetsItemLabels-    , dsldsilAddtional--    -- * TableListTablesItemView-    , TableListTablesItemView-    , tableListTablesItemView-    , tltivUseLegacySQL--    -- * TableListTablesItemLabels-    , TableListTablesItemLabels-    , tableListTablesItemLabels-    , tltilAddtional-    ) where--import           Network.Google.BigQuery.Types.Product-import           Network.Google.BigQuery.Types.Sum-import           Network.Google.Prelude---- | Default request referring to version 'v2' of the BigQuery API. This contains the host and root path used as a starting point for constructing service requests.-bigQueryService :: ServiceConfig-bigQueryService-  = defaultService (ServiceId "bigquery:v2")-      "www.googleapis.com"---- | View your data across Google Cloud Platform services-cloudPlatformReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform.read-only"]-cloudPlatformReadOnlyScope = Proxy---- | View and manage your data across Google Cloud Platform services-cloudPlatformScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform"]-cloudPlatformScope = Proxy---- | View your data in Google Cloud Storage-storageReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/devstorage.read_only"]-storageReadOnlyScope = Proxy---- | Insert data into Google BigQuery-bigQueryInsertDataScope :: Proxy '["https://www.googleapis.com/auth/bigquery.insertdata"]-bigQueryInsertDataScope = Proxy---- | Manage your data in Google Cloud Storage-storageReadWriteScope :: Proxy '["https://www.googleapis.com/auth/devstorage.read_write"]-storageReadWriteScope = Proxy---- | View and manage your data in Google BigQuery-bigQueryScope :: Proxy '["https://www.googleapis.com/auth/bigquery"]-bigQueryScope = Proxy---- | Manage your data and permissions in Google Cloud Storage-storageFullControlScope :: Proxy '["https://www.googleapis.com/auth/devstorage.full_control"]-storageFullControlScope = Proxy
− gen/Network/Google/BigQuery/Types/Product.hs
@@ -1,8257 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}--{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module      : Network.Google.BigQuery.Types.Product--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)----module Network.Google.BigQuery.Types.Product where--import           Network.Google.BigQuery.Types.Sum-import           Network.Google.Prelude------- /See:/ 'jobReference' smart constructor.-data JobReference =-  JobReference'-    { _jrJobId     :: !(Maybe Text)-    , _jrLocation  :: !(Maybe Text)-    , _jrProjectId :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'JobReference' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'jrJobId'------ * 'jrLocation'------ * 'jrProjectId'-jobReference-    :: JobReference-jobReference =-  JobReference'-    {_jrJobId = Nothing, _jrLocation = Nothing, _jrProjectId = Nothing}----- | [Required] The ID of the job. The ID must contain only letters (a-z,--- A-Z), numbers (0-9), underscores (_), or dashes (-). The maximum length--- is 1,024 characters.-jrJobId :: Lens' JobReference (Maybe Text)-jrJobId = lens _jrJobId (\ s a -> s{_jrJobId = a})---- | The geographic location of the job. See details at--- https:\/\/cloud.google.com\/bigquery\/docs\/locations#specifying_your_location.-jrLocation :: Lens' JobReference (Maybe Text)-jrLocation-  = lens _jrLocation (\ s a -> s{_jrLocation = a})---- | [Required] The ID of the project containing this job.-jrProjectId :: Lens' JobReference (Maybe Text)-jrProjectId-  = lens _jrProjectId (\ s a -> s{_jrProjectId = a})--instance FromJSON JobReference where-        parseJSON-          = withObject "JobReference"-              (\ o ->-                 JobReference' <$>-                   (o .:? "jobId") <*> (o .:? "location") <*>-                     (o .:? "projectId"))--instance ToJSON JobReference where-        toJSON JobReference'{..}-          = object-              (catMaybes-                 [("jobId" .=) <$> _jrJobId,-                  ("location" .=) <$> _jrLocation,-                  ("projectId" .=) <$> _jrProjectId])------- /See:/ 'tableList' smart constructor.-data TableList =-  TableList'-    { _tlTotalItems    :: !(Maybe (Textual Int32))-    , _tlEtag          :: !(Maybe Text)-    , _tlNextPageToken :: !(Maybe Text)-    , _tlKind          :: !Text-    , _tlTables        :: !(Maybe [TableListTablesItem])-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'TableList' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'tlTotalItems'------ * 'tlEtag'------ * 'tlNextPageToken'------ * 'tlKind'------ * 'tlTables'-tableList-    :: TableList-tableList =-  TableList'-    { _tlTotalItems = Nothing-    , _tlEtag = Nothing-    , _tlNextPageToken = Nothing-    , _tlKind = "bigquery#tableList"-    , _tlTables = Nothing-    }----- | The total number of tables in the dataset.-tlTotalItems :: Lens' TableList (Maybe Int32)-tlTotalItems-  = lens _tlTotalItems (\ s a -> s{_tlTotalItems = a})-      . mapping _Coerce---- | A hash of this page of results.-tlEtag :: Lens' TableList (Maybe Text)-tlEtag = lens _tlEtag (\ s a -> s{_tlEtag = a})---- | A token to request the next page of results.-tlNextPageToken :: Lens' TableList (Maybe Text)-tlNextPageToken-  = lens _tlNextPageToken-      (\ s a -> s{_tlNextPageToken = a})---- | The type of list.-tlKind :: Lens' TableList Text-tlKind = lens _tlKind (\ s a -> s{_tlKind = a})---- | Tables in the requested dataset.-tlTables :: Lens' TableList [TableListTablesItem]-tlTables-  = lens _tlTables (\ s a -> s{_tlTables = a}) .-      _Default-      . _Coerce--instance FromJSON TableList where-        parseJSON-          = withObject "TableList"-              (\ o ->-                 TableList' <$>-                   (o .:? "totalItems") <*> (o .:? "etag") <*>-                     (o .:? "nextPageToken")-                     <*> (o .:? "kind" .!= "bigquery#tableList")-                     <*> (o .:? "tables" .!= mempty))--instance ToJSON TableList where-        toJSON TableList'{..}-          = object-              (catMaybes-                 [("totalItems" .=) <$> _tlTotalItems,-                  ("etag" .=) <$> _tlEtag,-                  ("nextPageToken" .=) <$> _tlNextPageToken,-                  Just ("kind" .= _tlKind),-                  ("tables" .=) <$> _tlTables])------- /See:/ 'dataSetListDataSetsItem' smart constructor.-data DataSetListDataSetsItem =-  DataSetListDataSetsItem'-    { _dsldsiLocation         :: !(Maybe Text)-    , _dsldsiFriendlyName     :: !(Maybe Text)-    , _dsldsiKind             :: !Text-    , _dsldsiDataSetReference :: !(Maybe DataSetReference)-    , _dsldsiId               :: !(Maybe Text)-    , _dsldsiLabels           :: !(Maybe DataSetListDataSetsItemLabels)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'DataSetListDataSetsItem' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dsldsiLocation'------ * 'dsldsiFriendlyName'------ * 'dsldsiKind'------ * 'dsldsiDataSetReference'------ * 'dsldsiId'------ * 'dsldsiLabels'-dataSetListDataSetsItem-    :: DataSetListDataSetsItem-dataSetListDataSetsItem =-  DataSetListDataSetsItem'-    { _dsldsiLocation = Nothing-    , _dsldsiFriendlyName = Nothing-    , _dsldsiKind = "bigquery#dataset"-    , _dsldsiDataSetReference = Nothing-    , _dsldsiId = Nothing-    , _dsldsiLabels = Nothing-    }----- | The geographic location where the data resides.-dsldsiLocation :: Lens' DataSetListDataSetsItem (Maybe Text)-dsldsiLocation-  = lens _dsldsiLocation-      (\ s a -> s{_dsldsiLocation = a})---- | A descriptive name for the dataset, if one exists.-dsldsiFriendlyName :: Lens' DataSetListDataSetsItem (Maybe Text)-dsldsiFriendlyName-  = lens _dsldsiFriendlyName-      (\ s a -> s{_dsldsiFriendlyName = a})---- | The resource type. This property always returns the value--- \"bigquery#dataset\".-dsldsiKind :: Lens' DataSetListDataSetsItem Text-dsldsiKind-  = lens _dsldsiKind (\ s a -> s{_dsldsiKind = a})---- | The dataset reference. Use this property to access specific parts of the--- dataset\'s ID, such as project ID or dataset ID.-dsldsiDataSetReference :: Lens' DataSetListDataSetsItem (Maybe DataSetReference)-dsldsiDataSetReference-  = lens _dsldsiDataSetReference-      (\ s a -> s{_dsldsiDataSetReference = a})---- | The fully-qualified, unique, opaque ID of the dataset.-dsldsiId :: Lens' DataSetListDataSetsItem (Maybe Text)-dsldsiId = lens _dsldsiId (\ s a -> s{_dsldsiId = a})---- | The labels associated with this dataset. You can use these to organize--- and group your datasets.-dsldsiLabels :: Lens' DataSetListDataSetsItem (Maybe DataSetListDataSetsItemLabels)-dsldsiLabels-  = lens _dsldsiLabels (\ s a -> s{_dsldsiLabels = a})--instance FromJSON DataSetListDataSetsItem where-        parseJSON-          = withObject "DataSetListDataSetsItem"-              (\ o ->-                 DataSetListDataSetsItem' <$>-                   (o .:? "location") <*> (o .:? "friendlyName") <*>-                     (o .:? "kind" .!= "bigquery#dataset")-                     <*> (o .:? "datasetReference")-                     <*> (o .:? "id")-                     <*> (o .:? "labels"))--instance ToJSON DataSetListDataSetsItem where-        toJSON DataSetListDataSetsItem'{..}-          = object-              (catMaybes-                 [("location" .=) <$> _dsldsiLocation,-                  ("friendlyName" .=) <$> _dsldsiFriendlyName,-                  Just ("kind" .= _dsldsiKind),-                  ("datasetReference" .=) <$> _dsldsiDataSetReference,-                  ("id" .=) <$> _dsldsiId,-                  ("labels" .=) <$> _dsldsiLabels])------- /See:/ 'tableDataList' smart constructor.-data TableDataList =-  TableDataList'-    { _tdlEtag      :: !(Maybe Text)-    , _tdlKind      :: !Text-    , _tdlRows      :: !(Maybe [TableRow])-    , _tdlPageToken :: !(Maybe Text)-    , _tdlTotalRows :: !(Maybe (Textual Int64))-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'TableDataList' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'tdlEtag'------ * 'tdlKind'------ * 'tdlRows'------ * 'tdlPageToken'------ * 'tdlTotalRows'-tableDataList-    :: TableDataList-tableDataList =-  TableDataList'-    { _tdlEtag = Nothing-    , _tdlKind = "bigquery#tableDataList"-    , _tdlRows = Nothing-    , _tdlPageToken = Nothing-    , _tdlTotalRows = Nothing-    }----- | A hash of this page of results.-tdlEtag :: Lens' TableDataList (Maybe Text)-tdlEtag = lens _tdlEtag (\ s a -> s{_tdlEtag = a})---- | The resource type of the response.-tdlKind :: Lens' TableDataList Text-tdlKind = lens _tdlKind (\ s a -> s{_tdlKind = a})---- | Rows of results.-tdlRows :: Lens' TableDataList [TableRow]-tdlRows-  = lens _tdlRows (\ s a -> s{_tdlRows = a}) . _Default-      . _Coerce---- | A token used for paging results. Providing this token instead of the--- startIndex parameter can help you retrieve stable results when an--- underlying table is changing.-tdlPageToken :: Lens' TableDataList (Maybe Text)-tdlPageToken-  = lens _tdlPageToken (\ s a -> s{_tdlPageToken = a})---- | The total number of rows in the complete table.-tdlTotalRows :: Lens' TableDataList (Maybe Int64)-tdlTotalRows-  = lens _tdlTotalRows (\ s a -> s{_tdlTotalRows = a})-      . mapping _Coerce--instance FromJSON TableDataList where-        parseJSON-          = withObject "TableDataList"-              (\ o ->-                 TableDataList' <$>-                   (o .:? "etag") <*>-                     (o .:? "kind" .!= "bigquery#tableDataList")-                     <*> (o .:? "rows" .!= mempty)-                     <*> (o .:? "pageToken")-                     <*> (o .:? "totalRows"))--instance ToJSON TableDataList where-        toJSON TableDataList'{..}-          = object-              (catMaybes-                 [("etag" .=) <$> _tdlEtag, Just ("kind" .= _tdlKind),-                  ("rows" .=) <$> _tdlRows,-                  ("pageToken" .=) <$> _tdlPageToken,-                  ("totalRows" .=) <$> _tdlTotalRows])------- /See:/ 'jobConfigurationTableCopy' smart constructor.-data JobConfigurationTableCopy =-  JobConfigurationTableCopy'-    { _jctcDestinationTable                   :: !(Maybe TableReference)-    , _jctcWriteDisPosition                   :: !(Maybe Text)-    , _jctcSourceTables                       :: !(Maybe [TableReference])-    , _jctcCreateDisPosition                  :: !(Maybe Text)-    , _jctcSourceTable                        :: !(Maybe TableReference)-    , _jctcDestinationEncryptionConfiguration :: !(Maybe EncryptionConfiguration)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'JobConfigurationTableCopy' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'jctcDestinationTable'------ * 'jctcWriteDisPosition'------ * 'jctcSourceTables'------ * 'jctcCreateDisPosition'------ * 'jctcSourceTable'------ * 'jctcDestinationEncryptionConfiguration'-jobConfigurationTableCopy-    :: JobConfigurationTableCopy-jobConfigurationTableCopy =-  JobConfigurationTableCopy'-    { _jctcDestinationTable = Nothing-    , _jctcWriteDisPosition = Nothing-    , _jctcSourceTables = Nothing-    , _jctcCreateDisPosition = Nothing-    , _jctcSourceTable = Nothing-    , _jctcDestinationEncryptionConfiguration = Nothing-    }----- | [Required] The destination table-jctcDestinationTable :: Lens' JobConfigurationTableCopy (Maybe TableReference)-jctcDestinationTable-  = lens _jctcDestinationTable-      (\ s a -> s{_jctcDestinationTable = a})---- | [Optional] Specifies the action that occurs if the destination table--- already exists. The following values are supported: WRITE_TRUNCATE: If--- the table already exists, BigQuery overwrites the table data.--- WRITE_APPEND: If the table already exists, BigQuery appends the data to--- the table. WRITE_EMPTY: If the table already exists and contains data, a--- \'duplicate\' error is returned in the job result. The default value is--- WRITE_EMPTY. Each action is atomic and only occurs if BigQuery is able--- to complete the job successfully. Creation, truncation and append--- actions occur as one atomic update upon job completion.-jctcWriteDisPosition :: Lens' JobConfigurationTableCopy (Maybe Text)-jctcWriteDisPosition-  = lens _jctcWriteDisPosition-      (\ s a -> s{_jctcWriteDisPosition = a})---- | [Pick one] Source tables to copy.-jctcSourceTables :: Lens' JobConfigurationTableCopy [TableReference]-jctcSourceTables-  = lens _jctcSourceTables-      (\ s a -> s{_jctcSourceTables = a})-      . _Default-      . _Coerce---- | [Optional] Specifies whether the job is allowed to create new tables.--- The following values are supported: CREATE_IF_NEEDED: If the table does--- not exist, BigQuery creates the table. CREATE_NEVER: The table must--- already exist. If it does not, a \'notFound\' error is returned in the--- job result. The default value is CREATE_IF_NEEDED. Creation, truncation--- and append actions occur as one atomic update upon job completion.-jctcCreateDisPosition :: Lens' JobConfigurationTableCopy (Maybe Text)-jctcCreateDisPosition-  = lens _jctcCreateDisPosition-      (\ s a -> s{_jctcCreateDisPosition = a})---- | [Pick one] Source table to copy.-jctcSourceTable :: Lens' JobConfigurationTableCopy (Maybe TableReference)-jctcSourceTable-  = lens _jctcSourceTable-      (\ s a -> s{_jctcSourceTable = a})---- | Custom encryption configuration (e.g., Cloud KMS keys).-jctcDestinationEncryptionConfiguration :: Lens' JobConfigurationTableCopy (Maybe EncryptionConfiguration)-jctcDestinationEncryptionConfiguration-  = lens _jctcDestinationEncryptionConfiguration-      (\ s a ->-         s{_jctcDestinationEncryptionConfiguration = a})--instance FromJSON JobConfigurationTableCopy where-        parseJSON-          = withObject "JobConfigurationTableCopy"-              (\ o ->-                 JobConfigurationTableCopy' <$>-                   (o .:? "destinationTable") <*>-                     (o .:? "writeDisposition")-                     <*> (o .:? "sourceTables" .!= mempty)-                     <*> (o .:? "createDisposition")-                     <*> (o .:? "sourceTable")-                     <*> (o .:? "destinationEncryptionConfiguration"))--instance ToJSON JobConfigurationTableCopy where-        toJSON JobConfigurationTableCopy'{..}-          = object-              (catMaybes-                 [("destinationTable" .=) <$> _jctcDestinationTable,-                  ("writeDisposition" .=) <$> _jctcWriteDisPosition,-                  ("sourceTables" .=) <$> _jctcSourceTables,-                  ("createDisposition" .=) <$> _jctcCreateDisPosition,-                  ("sourceTable" .=) <$> _jctcSourceTable,-                  ("destinationEncryptionConfiguration" .=) <$>-                    _jctcDestinationEncryptionConfiguration])------- /See:/ 'tableListTablesItem' smart constructor.-data TableListTablesItem =-  TableListTablesItem'-    { _tltiCreationTime     :: !(Maybe (Textual Int64))-    , _tltiClustering       :: !(Maybe Clustering)-    , _tltiTableReference   :: !(Maybe TableReference)-    , _tltiFriendlyName     :: !(Maybe Text)-    , _tltiKind             :: !Text-    , _tltiTimePartitioning :: !(Maybe TimePartitioning)-    , _tltiView             :: !(Maybe TableListTablesItemView)-    , _tltiId               :: !(Maybe Text)-    , _tltiLabels           :: !(Maybe TableListTablesItemLabels)-    , _tltiType             :: !(Maybe Text)-    , _tltiExpirationTime   :: !(Maybe (Textual Int64))-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'TableListTablesItem' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'tltiCreationTime'------ * 'tltiClustering'------ * 'tltiTableReference'------ * 'tltiFriendlyName'------ * 'tltiKind'------ * 'tltiTimePartitioning'------ * 'tltiView'------ * 'tltiId'------ * 'tltiLabels'------ * 'tltiType'------ * 'tltiExpirationTime'-tableListTablesItem-    :: TableListTablesItem-tableListTablesItem =-  TableListTablesItem'-    { _tltiCreationTime = Nothing-    , _tltiClustering = Nothing-    , _tltiTableReference = Nothing-    , _tltiFriendlyName = Nothing-    , _tltiKind = "bigquery#table"-    , _tltiTimePartitioning = Nothing-    , _tltiView = Nothing-    , _tltiId = Nothing-    , _tltiLabels = Nothing-    , _tltiType = Nothing-    , _tltiExpirationTime = Nothing-    }----- | The time when this table was created, in milliseconds since the epoch.-tltiCreationTime :: Lens' TableListTablesItem (Maybe Int64)-tltiCreationTime-  = lens _tltiCreationTime-      (\ s a -> s{_tltiCreationTime = a})-      . mapping _Coerce---- | [Beta] Clustering specification for this table, if configured.-tltiClustering :: Lens' TableListTablesItem (Maybe Clustering)-tltiClustering-  = lens _tltiClustering-      (\ s a -> s{_tltiClustering = a})---- | A reference uniquely identifying the table.-tltiTableReference :: Lens' TableListTablesItem (Maybe TableReference)-tltiTableReference-  = lens _tltiTableReference-      (\ s a -> s{_tltiTableReference = a})---- | The user-friendly name for this table.-tltiFriendlyName :: Lens' TableListTablesItem (Maybe Text)-tltiFriendlyName-  = lens _tltiFriendlyName-      (\ s a -> s{_tltiFriendlyName = a})---- | The resource type.-tltiKind :: Lens' TableListTablesItem Text-tltiKind = lens _tltiKind (\ s a -> s{_tltiKind = a})---- | The time-based partitioning specification for this table, if configured.-tltiTimePartitioning :: Lens' TableListTablesItem (Maybe TimePartitioning)-tltiTimePartitioning-  = lens _tltiTimePartitioning-      (\ s a -> s{_tltiTimePartitioning = a})---- | Additional details for a view.-tltiView :: Lens' TableListTablesItem (Maybe TableListTablesItemView)-tltiView = lens _tltiView (\ s a -> s{_tltiView = a})---- | An opaque ID of the table-tltiId :: Lens' TableListTablesItem (Maybe Text)-tltiId = lens _tltiId (\ s a -> s{_tltiId = a})---- | The labels associated with this table. You can use these to organize and--- group your tables.-tltiLabels :: Lens' TableListTablesItem (Maybe TableListTablesItemLabels)-tltiLabels-  = lens _tltiLabels (\ s a -> s{_tltiLabels = a})---- | The type of table. Possible values are: TABLE, VIEW.-tltiType :: Lens' TableListTablesItem (Maybe Text)-tltiType = lens _tltiType (\ s a -> s{_tltiType = a})---- | [Optional] The time when this table expires, in milliseconds since the--- epoch. If not present, the table will persist indefinitely. Expired--- tables will be deleted and their storage reclaimed.-tltiExpirationTime :: Lens' TableListTablesItem (Maybe Int64)-tltiExpirationTime-  = lens _tltiExpirationTime-      (\ s a -> s{_tltiExpirationTime = a})-      . mapping _Coerce--instance FromJSON TableListTablesItem where-        parseJSON-          = withObject "TableListTablesItem"-              (\ o ->-                 TableListTablesItem' <$>-                   (o .:? "creationTime") <*> (o .:? "clustering") <*>-                     (o .:? "tableReference")-                     <*> (o .:? "friendlyName")-                     <*> (o .:? "kind" .!= "bigquery#table")-                     <*> (o .:? "timePartitioning")-                     <*> (o .:? "view")-                     <*> (o .:? "id")-                     <*> (o .:? "labels")-                     <*> (o .:? "type")-                     <*> (o .:? "expirationTime"))--instance ToJSON TableListTablesItem where-        toJSON TableListTablesItem'{..}-          = object-              (catMaybes-                 [("creationTime" .=) <$> _tltiCreationTime,-                  ("clustering" .=) <$> _tltiClustering,-                  ("tableReference" .=) <$> _tltiTableReference,-                  ("friendlyName" .=) <$> _tltiFriendlyName,-                  Just ("kind" .= _tltiKind),-                  ("timePartitioning" .=) <$> _tltiTimePartitioning,-                  ("view" .=) <$> _tltiView, ("id" .=) <$> _tltiId,-                  ("labels" .=) <$> _tltiLabels,-                  ("type" .=) <$> _tltiType,-                  ("expirationTime" .=) <$> _tltiExpirationTime])------- /See:/ 'tableSchema' smart constructor.-newtype TableSchema =-  TableSchema'-    { _tsFields :: Maybe [TableFieldSchema]-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'TableSchema' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'tsFields'-tableSchema-    :: TableSchema-tableSchema = TableSchema' {_tsFields = Nothing}----- | Describes the fields in a table.-tsFields :: Lens' TableSchema [TableFieldSchema]-tsFields-  = lens _tsFields (\ s a -> s{_tsFields = a}) .-      _Default-      . _Coerce--instance FromJSON TableSchema where-        parseJSON-          = withObject "TableSchema"-              (\ o -> TableSchema' <$> (o .:? "fields" .!= mempty))--instance ToJSON TableSchema where-        toJSON TableSchema'{..}-          = object (catMaybes [("fields" .=) <$> _tsFields])------- /See:/ 'projectList' smart constructor.-data ProjectList =-  ProjectList'-    { _plTotalItems    :: !(Maybe (Textual Int32))-    , _plEtag          :: !(Maybe Text)-    , _plNextPageToken :: !(Maybe Text)-    , _plKind          :: !Text-    , _plProjects      :: !(Maybe [ProjectListProjectsItem])-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectList' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'plTotalItems'------ * 'plEtag'------ * 'plNextPageToken'------ * 'plKind'------ * 'plProjects'-projectList-    :: ProjectList-projectList =-  ProjectList'-    { _plTotalItems = Nothing-    , _plEtag = Nothing-    , _plNextPageToken = Nothing-    , _plKind = "bigquery#projectList"-    , _plProjects = Nothing-    }----- | The total number of projects in the list.-plTotalItems :: Lens' ProjectList (Maybe Int32)-plTotalItems-  = lens _plTotalItems (\ s a -> s{_plTotalItems = a})-      . mapping _Coerce---- | A hash of the page of results-plEtag :: Lens' ProjectList (Maybe Text)-plEtag = lens _plEtag (\ s a -> s{_plEtag = a})---- | A token to request the next page of results.-plNextPageToken :: Lens' ProjectList (Maybe Text)-plNextPageToken-  = lens _plNextPageToken-      (\ s a -> s{_plNextPageToken = a})---- | The type of list.-plKind :: Lens' ProjectList Text-plKind = lens _plKind (\ s a -> s{_plKind = a})---- | Projects to which you have at least READ access.-plProjects :: Lens' ProjectList [ProjectListProjectsItem]-plProjects-  = lens _plProjects (\ s a -> s{_plProjects = a}) .-      _Default-      . _Coerce--instance FromJSON ProjectList where-        parseJSON-          = withObject "ProjectList"-              (\ o ->-                 ProjectList' <$>-                   (o .:? "totalItems") <*> (o .:? "etag") <*>-                     (o .:? "nextPageToken")-                     <*> (o .:? "kind" .!= "bigquery#projectList")-                     <*> (o .:? "projects" .!= mempty))--instance ToJSON ProjectList where-        toJSON ProjectList'{..}-          = object-              (catMaybes-                 [("totalItems" .=) <$> _plTotalItems,-                  ("etag" .=) <$> _plEtag,-                  ("nextPageToken" .=) <$> _plNextPageToken,-                  Just ("kind" .= _plKind),-                  ("projects" .=) <$> _plProjects])------- /See:/ 'explainQueryStep' smart constructor.-data ExplainQueryStep =-  ExplainQueryStep'-    { _eqsSubsteps :: !(Maybe [Text])-    , _eqsKind     :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ExplainQueryStep' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'eqsSubsteps'------ * 'eqsKind'-explainQueryStep-    :: ExplainQueryStep-explainQueryStep =-  ExplainQueryStep' {_eqsSubsteps = Nothing, _eqsKind = Nothing}----- | Human-readable stage descriptions.-eqsSubsteps :: Lens' ExplainQueryStep [Text]-eqsSubsteps-  = lens _eqsSubsteps (\ s a -> s{_eqsSubsteps = a}) .-      _Default-      . _Coerce---- | Machine-readable operation type.-eqsKind :: Lens' ExplainQueryStep (Maybe Text)-eqsKind = lens _eqsKind (\ s a -> s{_eqsKind = a})--instance FromJSON ExplainQueryStep where-        parseJSON-          = withObject "ExplainQueryStep"-              (\ o ->-                 ExplainQueryStep' <$>-                   (o .:? "substeps" .!= mempty) <*> (o .:? "kind"))--instance ToJSON ExplainQueryStep where-        toJSON ExplainQueryStep'{..}-          = object-              (catMaybes-                 [("substeps" .=) <$> _eqsSubsteps,-                  ("kind" .=) <$> _eqsKind])------- /See:/ 'queryTimelineSample' smart constructor.-data QueryTimelineSample =-  QueryTimelineSample'-    { _qtsPendingUnits   :: !(Maybe (Textual Int64))-    , _qtsTotalSlotMs    :: !(Maybe (Textual Int64))-    , _qtsActiveUnits    :: !(Maybe (Textual Int64))-    , _qtsElapsedMs      :: !(Maybe (Textual Int64))-    , _qtsCompletedUnits :: !(Maybe (Textual Int64))-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'QueryTimelineSample' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'qtsPendingUnits'------ * 'qtsTotalSlotMs'------ * 'qtsActiveUnits'------ * 'qtsElapsedMs'------ * 'qtsCompletedUnits'-queryTimelineSample-    :: QueryTimelineSample-queryTimelineSample =-  QueryTimelineSample'-    { _qtsPendingUnits = Nothing-    , _qtsTotalSlotMs = Nothing-    , _qtsActiveUnits = Nothing-    , _qtsElapsedMs = Nothing-    , _qtsCompletedUnits = Nothing-    }----- | Total parallel units of work remaining for the active stages.-qtsPendingUnits :: Lens' QueryTimelineSample (Maybe Int64)-qtsPendingUnits-  = lens _qtsPendingUnits-      (\ s a -> s{_qtsPendingUnits = a})-      . mapping _Coerce---- | Cumulative slot-ms consumed by the query.-qtsTotalSlotMs :: Lens' QueryTimelineSample (Maybe Int64)-qtsTotalSlotMs-  = lens _qtsTotalSlotMs-      (\ s a -> s{_qtsTotalSlotMs = a})-      . mapping _Coerce---- | Total number of units currently being processed by workers. This does--- not correspond directly to slot usage. This is the largest value--- observed since the last sample.-qtsActiveUnits :: Lens' QueryTimelineSample (Maybe Int64)-qtsActiveUnits-  = lens _qtsActiveUnits-      (\ s a -> s{_qtsActiveUnits = a})-      . mapping _Coerce---- | Milliseconds elapsed since the start of query execution.-qtsElapsedMs :: Lens' QueryTimelineSample (Maybe Int64)-qtsElapsedMs-  = lens _qtsElapsedMs (\ s a -> s{_qtsElapsedMs = a})-      . mapping _Coerce---- | Total parallel units of work completed by this query.-qtsCompletedUnits :: Lens' QueryTimelineSample (Maybe Int64)-qtsCompletedUnits-  = lens _qtsCompletedUnits-      (\ s a -> s{_qtsCompletedUnits = a})-      . mapping _Coerce--instance FromJSON QueryTimelineSample where-        parseJSON-          = withObject "QueryTimelineSample"-              (\ o ->-                 QueryTimelineSample' <$>-                   (o .:? "pendingUnits") <*> (o .:? "totalSlotMs") <*>-                     (o .:? "activeUnits")-                     <*> (o .:? "elapsedMs")-                     <*> (o .:? "completedUnits"))--instance ToJSON QueryTimelineSample where-        toJSON QueryTimelineSample'{..}-          = object-              (catMaybes-                 [("pendingUnits" .=) <$> _qtsPendingUnits,-                  ("totalSlotMs" .=) <$> _qtsTotalSlotMs,-                  ("activeUnits" .=) <$> _qtsActiveUnits,-                  ("elapsedMs" .=) <$> _qtsElapsedMs,-                  ("completedUnits" .=) <$> _qtsCompletedUnits])------- /See:/ 'queryParameterTypeStructTypesItem' smart constructor.-data QueryParameterTypeStructTypesItem =-  QueryParameterTypeStructTypesItem'-    { _qptstiName        :: !(Maybe Text)-    , _qptstiType        :: !(Maybe QueryParameterType)-    , _qptstiDescription :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'QueryParameterTypeStructTypesItem' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'qptstiName'------ * 'qptstiType'------ * 'qptstiDescription'-queryParameterTypeStructTypesItem-    :: QueryParameterTypeStructTypesItem-queryParameterTypeStructTypesItem =-  QueryParameterTypeStructTypesItem'-    {_qptstiName = Nothing, _qptstiType = Nothing, _qptstiDescription = Nothing}----- | [Optional] The name of this field.-qptstiName :: Lens' QueryParameterTypeStructTypesItem (Maybe Text)-qptstiName-  = lens _qptstiName (\ s a -> s{_qptstiName = a})---- | [Required] The type of this field.-qptstiType :: Lens' QueryParameterTypeStructTypesItem (Maybe QueryParameterType)-qptstiType-  = lens _qptstiType (\ s a -> s{_qptstiType = a})---- | [Optional] Human-oriented description of the field.-qptstiDescription :: Lens' QueryParameterTypeStructTypesItem (Maybe Text)-qptstiDescription-  = lens _qptstiDescription-      (\ s a -> s{_qptstiDescription = a})--instance FromJSON QueryParameterTypeStructTypesItem-         where-        parseJSON-          = withObject "QueryParameterTypeStructTypesItem"-              (\ o ->-                 QueryParameterTypeStructTypesItem' <$>-                   (o .:? "name") <*> (o .:? "type") <*>-                     (o .:? "description"))--instance ToJSON QueryParameterTypeStructTypesItem-         where-        toJSON QueryParameterTypeStructTypesItem'{..}-          = object-              (catMaybes-                 [("name" .=) <$> _qptstiName,-                  ("type" .=) <$> _qptstiType,-                  ("description" .=) <$> _qptstiDescription])------- /See:/ 'bigtableColumnFamily' smart constructor.-data BigtableColumnFamily =-  BigtableColumnFamily'-    { _bcfFamilyId       :: !(Maybe Text)-    , _bcfColumns        :: !(Maybe [BigtableColumn])-    , _bcfOnlyReadLatest :: !(Maybe Bool)-    , _bcfType           :: !(Maybe Text)-    , _bcfEncoding       :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'BigtableColumnFamily' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'bcfFamilyId'------ * 'bcfColumns'------ * 'bcfOnlyReadLatest'------ * 'bcfType'------ * 'bcfEncoding'-bigtableColumnFamily-    :: BigtableColumnFamily-bigtableColumnFamily =-  BigtableColumnFamily'-    { _bcfFamilyId = Nothing-    , _bcfColumns = Nothing-    , _bcfOnlyReadLatest = Nothing-    , _bcfType = Nothing-    , _bcfEncoding = Nothing-    }----- | Identifier of the column family.-bcfFamilyId :: Lens' BigtableColumnFamily (Maybe Text)-bcfFamilyId-  = lens _bcfFamilyId (\ s a -> s{_bcfFamilyId = a})---- | [Optional] Lists of columns that should be exposed as individual fields--- as opposed to a list of (column name, value) pairs. All columns whose--- qualifier matches a qualifier in this list can be accessed as .. Other--- columns can be accessed as a list through .Column field.-bcfColumns :: Lens' BigtableColumnFamily [BigtableColumn]-bcfColumns-  = lens _bcfColumns (\ s a -> s{_bcfColumns = a}) .-      _Default-      . _Coerce---- | [Optional] If this is set only the latest version of value are exposed--- for all columns in this column family. This can be overridden for a--- specific column by listing that column in \'columns\' and specifying a--- different setting for that column.-bcfOnlyReadLatest :: Lens' BigtableColumnFamily (Maybe Bool)-bcfOnlyReadLatest-  = lens _bcfOnlyReadLatest-      (\ s a -> s{_bcfOnlyReadLatest = a})---- | [Optional] The type to convert the value in cells of this column family.--- The values are expected to be encoded using HBase Bytes.toBytes function--- when using the BINARY encoding value. Following BigQuery types are--- allowed (case-sensitive) - BYTES STRING INTEGER FLOAT BOOLEAN Default--- type is BYTES. This can be overridden for a specific column by listing--- that column in \'columns\' and specifying a type for it.-bcfType :: Lens' BigtableColumnFamily (Maybe Text)-bcfType = lens _bcfType (\ s a -> s{_bcfType = a})---- | [Optional] The encoding of the values when the type is not STRING.--- Acceptable encoding values are: TEXT - indicates values are alphanumeric--- text strings. BINARY - indicates values are encoded using HBase--- Bytes.toBytes family of functions. This can be overridden for a specific--- column by listing that column in \'columns\' and specifying an encoding--- for it.-bcfEncoding :: Lens' BigtableColumnFamily (Maybe Text)-bcfEncoding-  = lens _bcfEncoding (\ s a -> s{_bcfEncoding = a})--instance FromJSON BigtableColumnFamily where-        parseJSON-          = withObject "BigtableColumnFamily"-              (\ o ->-                 BigtableColumnFamily' <$>-                   (o .:? "familyId") <*> (o .:? "columns" .!= mempty)-                     <*> (o .:? "onlyReadLatest")-                     <*> (o .:? "type")-                     <*> (o .:? "encoding"))--instance ToJSON BigtableColumnFamily where-        toJSON BigtableColumnFamily'{..}-          = object-              (catMaybes-                 [("familyId" .=) <$> _bcfFamilyId,-                  ("columns" .=) <$> _bcfColumns,-                  ("onlyReadLatest" .=) <$> _bcfOnlyReadLatest,-                  ("type" .=) <$> _bcfType,-                  ("encoding" .=) <$> _bcfEncoding])------- /See:/ 'jobStatistics' smart constructor.-data JobStatistics =-  JobStatistics'-    { _jsCreationTime        :: !(Maybe (Textual Int64))-    , _jsStartTime           :: !(Maybe (Textual Int64))-    , _jsCompletionRatio     :: !(Maybe (Textual Double))-    , _jsNumChildJobs        :: !(Maybe (Textual Int64))-    , _jsTotalSlotMs         :: !(Maybe (Textual Int64))-    , _jsLoad                :: !(Maybe JobStatistics3)-    , _jsTotalBytesProcessed :: !(Maybe (Textual Int64))-    , _jsQuotaDeferments     :: !(Maybe [Text])-    , _jsEndTime             :: !(Maybe (Textual Int64))-    , _jsQuery               :: !(Maybe JobStatistics2)-    , _jsExtract             :: !(Maybe JobStatistics4)-    , _jsReservationUsage    :: !(Maybe [JobStatisticsReservationUsageItem])-    , _jsParentJobId         :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'JobStatistics' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'jsCreationTime'------ * 'jsStartTime'------ * 'jsCompletionRatio'------ * 'jsNumChildJobs'------ * 'jsTotalSlotMs'------ * 'jsLoad'------ * 'jsTotalBytesProcessed'------ * 'jsQuotaDeferments'------ * 'jsEndTime'------ * 'jsQuery'------ * 'jsExtract'------ * 'jsReservationUsage'------ * 'jsParentJobId'-jobStatistics-    :: JobStatistics-jobStatistics =-  JobStatistics'-    { _jsCreationTime = Nothing-    , _jsStartTime = Nothing-    , _jsCompletionRatio = Nothing-    , _jsNumChildJobs = Nothing-    , _jsTotalSlotMs = Nothing-    , _jsLoad = Nothing-    , _jsTotalBytesProcessed = Nothing-    , _jsQuotaDeferments = Nothing-    , _jsEndTime = Nothing-    , _jsQuery = Nothing-    , _jsExtract = Nothing-    , _jsReservationUsage = Nothing-    , _jsParentJobId = Nothing-    }----- | [Output-only] Creation time of this job, in milliseconds since the--- epoch. This field will be present on all jobs.-jsCreationTime :: Lens' JobStatistics (Maybe Int64)-jsCreationTime-  = lens _jsCreationTime-      (\ s a -> s{_jsCreationTime = a})-      . mapping _Coerce---- | [Output-only] Start time of this job, in milliseconds since the epoch.--- This field will be present when the job transitions from the PENDING--- state to either RUNNING or DONE.-jsStartTime :: Lens' JobStatistics (Maybe Int64)-jsStartTime-  = lens _jsStartTime (\ s a -> s{_jsStartTime = a}) .-      mapping _Coerce---- | [TrustedTester] [Output-only] Job progress (0.0 -> 1.0) for LOAD and--- EXTRACT jobs.-jsCompletionRatio :: Lens' JobStatistics (Maybe Double)-jsCompletionRatio-  = lens _jsCompletionRatio-      (\ s a -> s{_jsCompletionRatio = a})-      . mapping _Coerce---- | [Output-only] Number of child jobs executed.-jsNumChildJobs :: Lens' JobStatistics (Maybe Int64)-jsNumChildJobs-  = lens _jsNumChildJobs-      (\ s a -> s{_jsNumChildJobs = a})-      . mapping _Coerce---- | [Output-only] Slot-milliseconds for the job.-jsTotalSlotMs :: Lens' JobStatistics (Maybe Int64)-jsTotalSlotMs-  = lens _jsTotalSlotMs-      (\ s a -> s{_jsTotalSlotMs = a})-      . mapping _Coerce---- | [Output-only] Statistics for a load job.-jsLoad :: Lens' JobStatistics (Maybe JobStatistics3)-jsLoad = lens _jsLoad (\ s a -> s{_jsLoad = a})---- | [Output-only] [Deprecated] Use the bytes processed in the query--- statistics instead.-jsTotalBytesProcessed :: Lens' JobStatistics (Maybe Int64)-jsTotalBytesProcessed-  = lens _jsTotalBytesProcessed-      (\ s a -> s{_jsTotalBytesProcessed = a})-      . mapping _Coerce---- | [Output-only] Quotas which delayed this job\'s start time.-jsQuotaDeferments :: Lens' JobStatistics [Text]-jsQuotaDeferments-  = lens _jsQuotaDeferments-      (\ s a -> s{_jsQuotaDeferments = a})-      . _Default-      . _Coerce---- | [Output-only] End time of this job, in milliseconds since the epoch.--- This field will be present whenever a job is in the DONE state.-jsEndTime :: Lens' JobStatistics (Maybe Int64)-jsEndTime-  = lens _jsEndTime (\ s a -> s{_jsEndTime = a}) .-      mapping _Coerce---- | [Output-only] Statistics for a query job.-jsQuery :: Lens' JobStatistics (Maybe JobStatistics2)-jsQuery = lens _jsQuery (\ s a -> s{_jsQuery = a})---- | [Output-only] Statistics for an extract job.-jsExtract :: Lens' JobStatistics (Maybe JobStatistics4)-jsExtract-  = lens _jsExtract (\ s a -> s{_jsExtract = a})---- | [Output-only] Job resource usage breakdown by reservation.-jsReservationUsage :: Lens' JobStatistics [JobStatisticsReservationUsageItem]-jsReservationUsage-  = lens _jsReservationUsage-      (\ s a -> s{_jsReservationUsage = a})-      . _Default-      . _Coerce---- | [Output-only] If this is a child job, the id of the parent.-jsParentJobId :: Lens' JobStatistics (Maybe Text)-jsParentJobId-  = lens _jsParentJobId-      (\ s a -> s{_jsParentJobId = a})--instance FromJSON JobStatistics where-        parseJSON-          = withObject "JobStatistics"-              (\ o ->-                 JobStatistics' <$>-                   (o .:? "creationTime") <*> (o .:? "startTime") <*>-                     (o .:? "completionRatio")-                     <*> (o .:? "numChildJobs")-                     <*> (o .:? "totalSlotMs")-                     <*> (o .:? "load")-                     <*> (o .:? "totalBytesProcessed")-                     <*> (o .:? "quotaDeferments" .!= mempty)-                     <*> (o .:? "endTime")-                     <*> (o .:? "query")-                     <*> (o .:? "extract")-                     <*> (o .:? "reservationUsage" .!= mempty)-                     <*> (o .:? "parentJobId"))--instance ToJSON JobStatistics where-        toJSON JobStatistics'{..}-          = object-              (catMaybes-                 [("creationTime" .=) <$> _jsCreationTime,-                  ("startTime" .=) <$> _jsStartTime,-                  ("completionRatio" .=) <$> _jsCompletionRatio,-                  ("numChildJobs" .=) <$> _jsNumChildJobs,-                  ("totalSlotMs" .=) <$> _jsTotalSlotMs,-                  ("load" .=) <$> _jsLoad,-                  ("totalBytesProcessed" .=) <$>-                    _jsTotalBytesProcessed,-                  ("quotaDeferments" .=) <$> _jsQuotaDeferments,-                  ("endTime" .=) <$> _jsEndTime,-                  ("query" .=) <$> _jsQuery,-                  ("extract" .=) <$> _jsExtract,-                  ("reservationUsage" .=) <$> _jsReservationUsage,-                  ("parentJobId" .=) <$> _jsParentJobId])---- | The labels associated with this job. You can use these to organize and--- group your jobs. Label keys and values can be no longer than 63--- characters, can only contain lowercase letters, numeric characters,--- underscores and dashes. International characters are allowed. Label--- values are optional. Label keys must start with a letter and each label--- in the list must have a different key.------ /See:/ 'jobConfigurationLabels' smart constructor.-newtype JobConfigurationLabels =-  JobConfigurationLabels'-    { _jclAddtional :: HashMap Text Text-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'JobConfigurationLabels' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'jclAddtional'-jobConfigurationLabels-    :: HashMap Text Text -- ^ 'jclAddtional'-    -> JobConfigurationLabels-jobConfigurationLabels pJclAddtional_ =-  JobConfigurationLabels' {_jclAddtional = _Coerce # pJclAddtional_}---jclAddtional :: Lens' JobConfigurationLabels (HashMap Text Text)-jclAddtional-  = lens _jclAddtional (\ s a -> s{_jclAddtional = a})-      . _Coerce--instance FromJSON JobConfigurationLabels where-        parseJSON-          = withObject "JobConfigurationLabels"-              (\ o ->-                 JobConfigurationLabels' <$> (parseJSONObject o))--instance ToJSON JobConfigurationLabels where-        toJSON = toJSON . _jclAddtional------- /See:/ 'dataSet' smart constructor.-data DataSet =-  DataSet'-    { _dsCreationTime                 :: !(Maybe (Textual Int64))-    , _dsDefaultPartitionExpirationMs :: !(Maybe (Textual Int64))-    , _dsAccess                       :: !(Maybe [DataSetAccessItem])-    , _dsEtag                         :: !(Maybe Text)-    , _dsLocation                     :: !(Maybe Text)-    , _dsFriendlyName                 :: !(Maybe Text)-    , _dsKind                         :: !Text-    , _dsLastModifiedTime             :: !(Maybe (Textual Int64))-    , _dsDataSetReference             :: !(Maybe DataSetReference)-    , _dsSelfLink                     :: !(Maybe Text)-    , _dsId                           :: !(Maybe Text)-    , _dsLabels                       :: !(Maybe DataSetLabels)-    , _dsDefaultTableExpirationMs     :: !(Maybe (Textual Int64))-    , _dsDescription                  :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'DataSet' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dsCreationTime'------ * 'dsDefaultPartitionExpirationMs'------ * 'dsAccess'------ * 'dsEtag'------ * 'dsLocation'------ * 'dsFriendlyName'------ * 'dsKind'------ * 'dsLastModifiedTime'------ * 'dsDataSetReference'------ * 'dsSelfLink'------ * 'dsId'------ * 'dsLabels'------ * 'dsDefaultTableExpirationMs'------ * 'dsDescription'-dataSet-    :: DataSet-dataSet =-  DataSet'-    { _dsCreationTime = Nothing-    , _dsDefaultPartitionExpirationMs = Nothing-    , _dsAccess = Nothing-    , _dsEtag = Nothing-    , _dsLocation = Nothing-    , _dsFriendlyName = Nothing-    , _dsKind = "bigquery#dataset"-    , _dsLastModifiedTime = Nothing-    , _dsDataSetReference = Nothing-    , _dsSelfLink = Nothing-    , _dsId = Nothing-    , _dsLabels = Nothing-    , _dsDefaultTableExpirationMs = Nothing-    , _dsDescription = Nothing-    }----- | [Output-only] The time when this dataset was created, in milliseconds--- since the epoch.-dsCreationTime :: Lens' DataSet (Maybe Int64)-dsCreationTime-  = lens _dsCreationTime-      (\ s a -> s{_dsCreationTime = a})-      . mapping _Coerce---- | [Optional] The default partition expiration for all partitioned tables--- in the dataset, in milliseconds. Once this property is set, all--- newly-created partitioned tables in the dataset will have an--- expirationMs property in the timePartitioning settings set to this--- value, and changing the value will only affect new tables, not existing--- ones. The storage in a partition will have an expiration time of its--- partition time plus this value. Setting this property overrides the use--- of defaultTableExpirationMs for partitioned tables: only one of--- defaultTableExpirationMs and defaultPartitionExpirationMs will be used--- for any new partitioned table. If you provide an explicit--- timePartitioning.expirationMs when creating or updating a partitioned--- table, that value takes precedence over the default partition expiration--- time indicated by this property.-dsDefaultPartitionExpirationMs :: Lens' DataSet (Maybe Int64)-dsDefaultPartitionExpirationMs-  = lens _dsDefaultPartitionExpirationMs-      (\ s a -> s{_dsDefaultPartitionExpirationMs = a})-      . mapping _Coerce---- | [Optional] An array of objects that define dataset access for one or--- more entities. You can set this property when inserting or updating a--- dataset in order to control who is allowed to access the data. If--- unspecified at dataset creation time, BigQuery adds default dataset--- access for the following entities: access.specialGroup: projectReaders;--- access.role: READER; access.specialGroup: projectWriters; access.role:--- WRITER; access.specialGroup: projectOwners; access.role: OWNER;--- access.userByEmail: [dataset creator email]; access.role: OWNER;-dsAccess :: Lens' DataSet [DataSetAccessItem]-dsAccess-  = lens _dsAccess (\ s a -> s{_dsAccess = a}) .-      _Default-      . _Coerce---- | [Output-only] A hash of the resource.-dsEtag :: Lens' DataSet (Maybe Text)-dsEtag = lens _dsEtag (\ s a -> s{_dsEtag = a})---- | The geographic location where the dataset should reside. The default--- value is US. See details at--- https:\/\/cloud.google.com\/bigquery\/docs\/locations.-dsLocation :: Lens' DataSet (Maybe Text)-dsLocation-  = lens _dsLocation (\ s a -> s{_dsLocation = a})---- | [Optional] A descriptive name for the dataset.-dsFriendlyName :: Lens' DataSet (Maybe Text)-dsFriendlyName-  = lens _dsFriendlyName-      (\ s a -> s{_dsFriendlyName = a})---- | [Output-only] The resource type.-dsKind :: Lens' DataSet Text-dsKind = lens _dsKind (\ s a -> s{_dsKind = a})---- | [Output-only] The date when this dataset or any of its tables was last--- modified, in milliseconds since the epoch.-dsLastModifiedTime :: Lens' DataSet (Maybe Int64)-dsLastModifiedTime-  = lens _dsLastModifiedTime-      (\ s a -> s{_dsLastModifiedTime = a})-      . mapping _Coerce---- | [Required] A reference that identifies the dataset.-dsDataSetReference :: Lens' DataSet (Maybe DataSetReference)-dsDataSetReference-  = lens _dsDataSetReference-      (\ s a -> s{_dsDataSetReference = a})---- | [Output-only] A URL that can be used to access the resource again. You--- can use this URL in Get or Update requests to the resource.-dsSelfLink :: Lens' DataSet (Maybe Text)-dsSelfLink-  = lens _dsSelfLink (\ s a -> s{_dsSelfLink = a})---- | [Output-only] The fully-qualified unique name of the dataset in the--- format projectId:datasetId. The dataset name without the project name is--- given in the datasetId field. When creating a new dataset, leave this--- field blank, and instead specify the datasetId field.-dsId :: Lens' DataSet (Maybe Text)-dsId = lens _dsId (\ s a -> s{_dsId = a})---- | The labels associated with this dataset. You can use these to organize--- and group your datasets. You can set this property when inserting or--- updating a dataset. See Creating and Updating Dataset Labels for more--- information.-dsLabels :: Lens' DataSet (Maybe DataSetLabels)-dsLabels = lens _dsLabels (\ s a -> s{_dsLabels = a})---- | [Optional] The default lifetime of all tables in the dataset, in--- milliseconds. The minimum value is 3600000 milliseconds (one hour). Once--- this property is set, all newly-created tables in the dataset will have--- an expirationTime property set to the creation time plus the value in--- this property, and changing the value will only affect new tables, not--- existing ones. When the expirationTime for a given table is reached,--- that table will be deleted automatically. If a table\'s expirationTime--- is modified or removed before the table expires, or if you provide an--- explicit expirationTime when creating a table, that value takes--- precedence over the default expiration time indicated by this property.-dsDefaultTableExpirationMs :: Lens' DataSet (Maybe Int64)-dsDefaultTableExpirationMs-  = lens _dsDefaultTableExpirationMs-      (\ s a -> s{_dsDefaultTableExpirationMs = a})-      . mapping _Coerce---- | [Optional] A user-friendly description of the dataset.-dsDescription :: Lens' DataSet (Maybe Text)-dsDescription-  = lens _dsDescription-      (\ s a -> s{_dsDescription = a})--instance FromJSON DataSet where-        parseJSON-          = withObject "DataSet"-              (\ o ->-                 DataSet' <$>-                   (o .:? "creationTime") <*>-                     (o .:? "defaultPartitionExpirationMs")-                     <*> (o .:? "access" .!= mempty)-                     <*> (o .:? "etag")-                     <*> (o .:? "location")-                     <*> (o .:? "friendlyName")-                     <*> (o .:? "kind" .!= "bigquery#dataset")-                     <*> (o .:? "lastModifiedTime")-                     <*> (o .:? "datasetReference")-                     <*> (o .:? "selfLink")-                     <*> (o .:? "id")-                     <*> (o .:? "labels")-                     <*> (o .:? "defaultTableExpirationMs")-                     <*> (o .:? "description"))--instance ToJSON DataSet where-        toJSON DataSet'{..}-          = object-              (catMaybes-                 [("creationTime" .=) <$> _dsCreationTime,-                  ("defaultPartitionExpirationMs" .=) <$>-                    _dsDefaultPartitionExpirationMs,-                  ("access" .=) <$> _dsAccess, ("etag" .=) <$> _dsEtag,-                  ("location" .=) <$> _dsLocation,-                  ("friendlyName" .=) <$> _dsFriendlyName,-                  Just ("kind" .= _dsKind),-                  ("lastModifiedTime" .=) <$> _dsLastModifiedTime,-                  ("datasetReference" .=) <$> _dsDataSetReference,-                  ("selfLink" .=) <$> _dsSelfLink, ("id" .=) <$> _dsId,-                  ("labels" .=) <$> _dsLabels,-                  ("defaultTableExpirationMs" .=) <$>-                    _dsDefaultTableExpirationMs,-                  ("description" .=) <$> _dsDescription])---- | [TrustedTester] [Required] Defines the ranges for range partitioning.------ /See:/ 'rangePartitioningRange' smart constructor.-data RangePartitioningRange =-  RangePartitioningRange'-    { _rprStart    :: !(Maybe (Textual Int64))-    , _rprInterval :: !(Maybe (Textual Int64))-    , _rprEnd      :: !(Maybe (Textual Int64))-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'RangePartitioningRange' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'rprStart'------ * 'rprInterval'------ * 'rprEnd'-rangePartitioningRange-    :: RangePartitioningRange-rangePartitioningRange =-  RangePartitioningRange'-    {_rprStart = Nothing, _rprInterval = Nothing, _rprEnd = Nothing}----- | [TrustedTester] [Required] The start of range partitioning, inclusive.-rprStart :: Lens' RangePartitioningRange (Maybe Int64)-rprStart-  = lens _rprStart (\ s a -> s{_rprStart = a}) .-      mapping _Coerce---- | [TrustedTester] [Required] The width of each interval.-rprInterval :: Lens' RangePartitioningRange (Maybe Int64)-rprInterval-  = lens _rprInterval (\ s a -> s{_rprInterval = a}) .-      mapping _Coerce---- | [TrustedTester] [Required] The end of range partitioning, exclusive.-rprEnd :: Lens' RangePartitioningRange (Maybe Int64)-rprEnd-  = lens _rprEnd (\ s a -> s{_rprEnd = a}) .-      mapping _Coerce--instance FromJSON RangePartitioningRange where-        parseJSON-          = withObject "RangePartitioningRange"-              (\ o ->-                 RangePartitioningRange' <$>-                   (o .:? "start") <*> (o .:? "interval") <*>-                     (o .:? "end"))--instance ToJSON RangePartitioningRange where-        toJSON RangePartitioningRange'{..}-          = object-              (catMaybes-                 [("start" .=) <$> _rprStart,-                  ("interval" .=) <$> _rprInterval,-                  ("end" .=) <$> _rprEnd])------- /See:/ 'jobStatisticsReservationUsageItem' smart constructor.-data JobStatisticsReservationUsageItem =-  JobStatisticsReservationUsageItem'-    { _jsruiName   :: !(Maybe Text)-    , _jsruiSlotMs :: !(Maybe (Textual Int64))-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'JobStatisticsReservationUsageItem' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'jsruiName'------ * 'jsruiSlotMs'-jobStatisticsReservationUsageItem-    :: JobStatisticsReservationUsageItem-jobStatisticsReservationUsageItem =-  JobStatisticsReservationUsageItem'-    {_jsruiName = Nothing, _jsruiSlotMs = Nothing}----- | [Output-only] Reservation name or \"unreserved\" for on-demand resources--- usage.-jsruiName :: Lens' JobStatisticsReservationUsageItem (Maybe Text)-jsruiName-  = lens _jsruiName (\ s a -> s{_jsruiName = a})---- | [Output-only] Slot-milliseconds the job spent in the given reservation.-jsruiSlotMs :: Lens' JobStatisticsReservationUsageItem (Maybe Int64)-jsruiSlotMs-  = lens _jsruiSlotMs (\ s a -> s{_jsruiSlotMs = a}) .-      mapping _Coerce--instance FromJSON JobStatisticsReservationUsageItem-         where-        parseJSON-          = withObject "JobStatisticsReservationUsageItem"-              (\ o ->-                 JobStatisticsReservationUsageItem' <$>-                   (o .:? "name") <*> (o .:? "slotMs"))--instance ToJSON JobStatisticsReservationUsageItem-         where-        toJSON JobStatisticsReservationUsageItem'{..}-          = object-              (catMaybes-                 [("name" .=) <$> _jsruiName,-                  ("slotMs" .=) <$> _jsruiSlotMs])------- /See:/ 'bigtableOptions' smart constructor.-data BigtableOptions =-  BigtableOptions'-    { _boReadRowkeyAsString              :: !(Maybe Bool)-    , _boIgnoreUnspecifiedColumnFamilies :: !(Maybe Bool)-    , _boColumnFamilies                  :: !(Maybe [BigtableColumnFamily])-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'BigtableOptions' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'boReadRowkeyAsString'------ * 'boIgnoreUnspecifiedColumnFamilies'------ * 'boColumnFamilies'-bigtableOptions-    :: BigtableOptions-bigtableOptions =-  BigtableOptions'-    { _boReadRowkeyAsString = Nothing-    , _boIgnoreUnspecifiedColumnFamilies = Nothing-    , _boColumnFamilies = Nothing-    }----- | [Optional] If field is true, then the rowkey column families will be--- read and converted to string. Otherwise they are read with BYTES type--- values and users need to manually cast them with CAST if necessary. The--- default value is false.-boReadRowkeyAsString :: Lens' BigtableOptions (Maybe Bool)-boReadRowkeyAsString-  = lens _boReadRowkeyAsString-      (\ s a -> s{_boReadRowkeyAsString = a})---- | [Optional] If field is true, then the column families that are not--- specified in columnFamilies list are not exposed in the table schema.--- Otherwise, they are read with BYTES type values. The default value is--- false.-boIgnoreUnspecifiedColumnFamilies :: Lens' BigtableOptions (Maybe Bool)-boIgnoreUnspecifiedColumnFamilies-  = lens _boIgnoreUnspecifiedColumnFamilies-      (\ s a -> s{_boIgnoreUnspecifiedColumnFamilies = a})---- | [Optional] List of column families to expose in the table schema along--- with their types. This list restricts the column families that can be--- referenced in queries and specifies their value types. You can use this--- list to do type conversions - see the \'type\' field for more details.--- If you leave this list empty, all column families are present in the--- table schema and their values are read as BYTES. During a query only the--- column families referenced in that query are read from Bigtable.-boColumnFamilies :: Lens' BigtableOptions [BigtableColumnFamily]-boColumnFamilies-  = lens _boColumnFamilies-      (\ s a -> s{_boColumnFamilies = a})-      . _Default-      . _Coerce--instance FromJSON BigtableOptions where-        parseJSON-          = withObject "BigtableOptions"-              (\ o ->-                 BigtableOptions' <$>-                   (o .:? "readRowkeyAsString") <*>-                     (o .:? "ignoreUnspecifiedColumnFamilies")-                     <*> (o .:? "columnFamilies" .!= mempty))--instance ToJSON BigtableOptions where-        toJSON BigtableOptions'{..}-          = object-              (catMaybes-                 [("readRowkeyAsString" .=) <$> _boReadRowkeyAsString,-                  ("ignoreUnspecifiedColumnFamilies" .=) <$>-                    _boIgnoreUnspecifiedColumnFamilies,-                  ("columnFamilies" .=) <$> _boColumnFamilies])------- /See:/ 'clustering' smart constructor.-newtype Clustering =-  Clustering'-    { _cFields :: Maybe [Text]-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'Clustering' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cFields'-clustering-    :: Clustering-clustering = Clustering' {_cFields = Nothing}----- | [Repeated] One or more fields on which data should be clustered. Only--- top-level, non-repeated, simple-type fields are supported. When you--- cluster a table using multiple columns, the order of columns you specify--- is important. The order of the specified columns determines the sort--- order of the data.-cFields :: Lens' Clustering [Text]-cFields-  = lens _cFields (\ s a -> s{_cFields = a}) . _Default-      . _Coerce--instance FromJSON Clustering where-        parseJSON-          = withObject "Clustering"-              (\ o -> Clustering' <$> (o .:? "fields" .!= mempty))--instance ToJSON Clustering where-        toJSON Clustering'{..}-          = object (catMaybes [("fields" .=) <$> _cFields])------- /See:/ 'externalDataConfiguration' smart constructor.-data ExternalDataConfiguration =-  ExternalDataConfiguration'-    { _edcBigtableOptions      :: !(Maybe BigtableOptions)-    , _edcIgnoreUnknownValues  :: !(Maybe Bool)-    , _edcHivePartitioningMode :: !(Maybe Text)-    , _edcCompression          :: !(Maybe Text)-    , _edcSourceFormat         :: !(Maybe Text)-    , _edcSchema               :: !(Maybe TableSchema)-    , _edcMaxBadRecords        :: !(Maybe (Textual Int32))-    , _edcGoogleSheetsOptions  :: !(Maybe GoogleSheetsOptions)-    , _edcAutodetect           :: !(Maybe Bool)-    , _edcSourceURIs           :: !(Maybe [Text])-    , _edcCSVOptions           :: !(Maybe CSVOptions)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ExternalDataConfiguration' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'edcBigtableOptions'------ * 'edcIgnoreUnknownValues'------ * 'edcHivePartitioningMode'------ * 'edcCompression'------ * 'edcSourceFormat'------ * 'edcSchema'------ * 'edcMaxBadRecords'------ * 'edcGoogleSheetsOptions'------ * 'edcAutodetect'------ * 'edcSourceURIs'------ * 'edcCSVOptions'-externalDataConfiguration-    :: ExternalDataConfiguration-externalDataConfiguration =-  ExternalDataConfiguration'-    { _edcBigtableOptions = Nothing-    , _edcIgnoreUnknownValues = Nothing-    , _edcHivePartitioningMode = Nothing-    , _edcCompression = Nothing-    , _edcSourceFormat = Nothing-    , _edcSchema = Nothing-    , _edcMaxBadRecords = Nothing-    , _edcGoogleSheetsOptions = Nothing-    , _edcAutodetect = Nothing-    , _edcSourceURIs = Nothing-    , _edcCSVOptions = Nothing-    }----- | [Optional] Additional options if sourceFormat is set to BIGTABLE.-edcBigtableOptions :: Lens' ExternalDataConfiguration (Maybe BigtableOptions)-edcBigtableOptions-  = lens _edcBigtableOptions-      (\ s a -> s{_edcBigtableOptions = a})---- | [Optional] Indicates if BigQuery should allow extra values that are not--- represented in the table schema. If true, the extra values are ignored.--- If false, records with extra columns are treated as bad records, and if--- there are too many bad records, an invalid error is returned in the job--- result. The default value is false. The sourceFormat property determines--- what BigQuery treats as an extra value: CSV: Trailing columns JSON:--- Named values that don\'t match any column names Google Cloud Bigtable:--- This setting is ignored. Google Cloud Datastore backups: This setting is--- ignored. Avro: This setting is ignored.-edcIgnoreUnknownValues :: Lens' ExternalDataConfiguration (Maybe Bool)-edcIgnoreUnknownValues-  = lens _edcIgnoreUnknownValues-      (\ s a -> s{_edcIgnoreUnknownValues = a})---- | [Optional, Experimental] If hive partitioning is enabled, which mode to--- use. Two modes are supported: - AUTO: automatically infer partition key--- name(s) and type(s). - STRINGS: automatic infer partition key name(s).--- All types are strings. Not all storage formats support hive partitioning--- -- requesting hive partitioning on an unsupported format will lead to an--- error.-edcHivePartitioningMode :: Lens' ExternalDataConfiguration (Maybe Text)-edcHivePartitioningMode-  = lens _edcHivePartitioningMode-      (\ s a -> s{_edcHivePartitioningMode = a})---- | [Optional] The compression type of the data source. Possible values--- include GZIP and NONE. The default value is NONE. This setting is--- ignored for Google Cloud Bigtable, Google Cloud Datastore backups and--- Avro formats.-edcCompression :: Lens' ExternalDataConfiguration (Maybe Text)-edcCompression-  = lens _edcCompression-      (\ s a -> s{_edcCompression = a})---- | [Required] The data format. For CSV files, specify \"CSV\". For Google--- sheets, specify \"GOOGLE_SHEETS\". For newline-delimited JSON, specify--- \"NEWLINE_DELIMITED_JSON\". For Avro files, specify \"AVRO\". For Google--- Cloud Datastore backups, specify \"DATASTORE_BACKUP\". [Beta] For Google--- Cloud Bigtable, specify \"BIGTABLE\".-edcSourceFormat :: Lens' ExternalDataConfiguration (Maybe Text)-edcSourceFormat-  = lens _edcSourceFormat-      (\ s a -> s{_edcSourceFormat = a})---- | [Optional] The schema for the data. Schema is required for CSV and JSON--- formats. Schema is disallowed for Google Cloud Bigtable, Cloud Datastore--- backups, and Avro formats.-edcSchema :: Lens' ExternalDataConfiguration (Maybe TableSchema)-edcSchema-  = lens _edcSchema (\ s a -> s{_edcSchema = a})---- | [Optional] The maximum number of bad records that BigQuery can ignore--- when reading data. If the number of bad records exceeds this value, an--- invalid error is returned in the job result. This is only valid for CSV,--- JSON, and Google Sheets. The default value is 0, which requires that all--- records are valid. This setting is ignored for Google Cloud Bigtable,--- Google Cloud Datastore backups and Avro formats.-edcMaxBadRecords :: Lens' ExternalDataConfiguration (Maybe Int32)-edcMaxBadRecords-  = lens _edcMaxBadRecords-      (\ s a -> s{_edcMaxBadRecords = a})-      . mapping _Coerce---- | [Optional] Additional options if sourceFormat is set to GOOGLE_SHEETS.-edcGoogleSheetsOptions :: Lens' ExternalDataConfiguration (Maybe GoogleSheetsOptions)-edcGoogleSheetsOptions-  = lens _edcGoogleSheetsOptions-      (\ s a -> s{_edcGoogleSheetsOptions = a})---- | Try to detect schema and format options automatically. Any option--- specified explicitly will be honored.-edcAutodetect :: Lens' ExternalDataConfiguration (Maybe Bool)-edcAutodetect-  = lens _edcAutodetect-      (\ s a -> s{_edcAutodetect = a})---- | [Required] The fully-qualified URIs that point to your data in Google--- Cloud. For Google Cloud Storage URIs: Each URI can contain one \'*\'--- wildcard character and it must come after the \'bucket\' name. Size--- limits related to load jobs apply to external data sources. For Google--- Cloud Bigtable URIs: Exactly one URI can be specified and it has be a--- fully specified and valid HTTPS URL for a Google Cloud Bigtable table.--- For Google Cloud Datastore backups, exactly one URI can be specified.--- Also, the \'*\' wildcard character is not allowed.-edcSourceURIs :: Lens' ExternalDataConfiguration [Text]-edcSourceURIs-  = lens _edcSourceURIs-      (\ s a -> s{_edcSourceURIs = a})-      . _Default-      . _Coerce---- | Additional properties to set if sourceFormat is set to CSV.-edcCSVOptions :: Lens' ExternalDataConfiguration (Maybe CSVOptions)-edcCSVOptions-  = lens _edcCSVOptions-      (\ s a -> s{_edcCSVOptions = a})--instance FromJSON ExternalDataConfiguration where-        parseJSON-          = withObject "ExternalDataConfiguration"-              (\ o ->-                 ExternalDataConfiguration' <$>-                   (o .:? "bigtableOptions") <*>-                     (o .:? "ignoreUnknownValues")-                     <*> (o .:? "hivePartitioningMode")-                     <*> (o .:? "compression")-                     <*> (o .:? "sourceFormat")-                     <*> (o .:? "schema")-                     <*> (o .:? "maxBadRecords")-                     <*> (o .:? "googleSheetsOptions")-                     <*> (o .:? "autodetect")-                     <*> (o .:? "sourceUris" .!= mempty)-                     <*> (o .:? "csvOptions"))--instance ToJSON ExternalDataConfiguration where-        toJSON ExternalDataConfiguration'{..}-          = object-              (catMaybes-                 [("bigtableOptions" .=) <$> _edcBigtableOptions,-                  ("ignoreUnknownValues" .=) <$>-                    _edcIgnoreUnknownValues,-                  ("hivePartitioningMode" .=) <$>-                    _edcHivePartitioningMode,-                  ("compression" .=) <$> _edcCompression,-                  ("sourceFormat" .=) <$> _edcSourceFormat,-                  ("schema" .=) <$> _edcSchema,-                  ("maxBadRecords" .=) <$> _edcMaxBadRecords,-                  ("googleSheetsOptions" .=) <$>-                    _edcGoogleSheetsOptions,-                  ("autodetect" .=) <$> _edcAutodetect,-                  ("sourceUris" .=) <$> _edcSourceURIs,-                  ("csvOptions" .=) <$> _edcCSVOptions])------- /See:/ 'tableReference' smart constructor.-data TableReference =-  TableReference'-    { _trDataSetId :: !(Maybe Text)-    , _trProjectId :: !(Maybe Text)-    , _trTableId   :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'TableReference' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'trDataSetId'------ * 'trProjectId'------ * 'trTableId'-tableReference-    :: TableReference-tableReference =-  TableReference'-    {_trDataSetId = Nothing, _trProjectId = Nothing, _trTableId = Nothing}----- | [Required] The ID of the dataset containing this table.-trDataSetId :: Lens' TableReference (Maybe Text)-trDataSetId-  = lens _trDataSetId (\ s a -> s{_trDataSetId = a})---- | [Required] The ID of the project containing this table.-trProjectId :: Lens' TableReference (Maybe Text)-trProjectId-  = lens _trProjectId (\ s a -> s{_trProjectId = a})---- | [Required] The ID of the table. The ID must contain only letters (a-z,--- A-Z), numbers (0-9), or underscores (_). The maximum length is 1,024--- characters.-trTableId :: Lens' TableReference (Maybe Text)-trTableId-  = lens _trTableId (\ s a -> s{_trTableId = a})--instance FromJSON TableReference where-        parseJSON-          = withObject "TableReference"-              (\ o ->-                 TableReference' <$>-                   (o .:? "datasetId") <*> (o .:? "projectId") <*>-                     (o .:? "tableId"))--instance ToJSON TableReference where-        toJSON TableReference'{..}-          = object-              (catMaybes-                 [("datasetId" .=) <$> _trDataSetId,-                  ("projectId" .=) <$> _trProjectId,-                  ("tableId" .=) <$> _trTableId])---- | [Output-only, Beta] Model options used for the first training run. These--- options are immutable for subsequent training runs. Default values are--- used for any options not specified in the input query.------ /See:/ 'modelDefinitionModelOptions' smart constructor.-data ModelDefinitionModelOptions =-  ModelDefinitionModelOptions'-    { _mdmoModelType :: !(Maybe Text)-    , _mdmoLabels    :: !(Maybe [Text])-    , _mdmoLossType  :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ModelDefinitionModelOptions' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'mdmoModelType'------ * 'mdmoLabels'------ * 'mdmoLossType'-modelDefinitionModelOptions-    :: ModelDefinitionModelOptions-modelDefinitionModelOptions =-  ModelDefinitionModelOptions'-    {_mdmoModelType = Nothing, _mdmoLabels = Nothing, _mdmoLossType = Nothing}---mdmoModelType :: Lens' ModelDefinitionModelOptions (Maybe Text)-mdmoModelType-  = lens _mdmoModelType-      (\ s a -> s{_mdmoModelType = a})--mdmoLabels :: Lens' ModelDefinitionModelOptions [Text]-mdmoLabels-  = lens _mdmoLabels (\ s a -> s{_mdmoLabels = a}) .-      _Default-      . _Coerce--mdmoLossType :: Lens' ModelDefinitionModelOptions (Maybe Text)-mdmoLossType-  = lens _mdmoLossType (\ s a -> s{_mdmoLossType = a})--instance FromJSON ModelDefinitionModelOptions where-        parseJSON-          = withObject "ModelDefinitionModelOptions"-              (\ o ->-                 ModelDefinitionModelOptions' <$>-                   (o .:? "modelType") <*> (o .:? "labels" .!= mempty)-                     <*> (o .:? "lossType"))--instance ToJSON ModelDefinitionModelOptions where-        toJSON ModelDefinitionModelOptions'{..}-          = object-              (catMaybes-                 [("modelType" .=) <$> _mdmoModelType,-                  ("labels" .=) <$> _mdmoLabels,-                  ("lossType" .=) <$> _mdmoLossType])------- /See:/ 'routineReference' smart constructor.-data RoutineReference =-  RoutineReference'-    { _rrDataSetId :: !(Maybe Text)-    , _rrProjectId :: !(Maybe Text)-    , _rrRoutineId :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'RoutineReference' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'rrDataSetId'------ * 'rrProjectId'------ * 'rrRoutineId'-routineReference-    :: RoutineReference-routineReference =-  RoutineReference'-    {_rrDataSetId = Nothing, _rrProjectId = Nothing, _rrRoutineId = Nothing}----- | [Required] The ID of the dataset containing this routine.-rrDataSetId :: Lens' RoutineReference (Maybe Text)-rrDataSetId-  = lens _rrDataSetId (\ s a -> s{_rrDataSetId = a})---- | [Required] The ID of the project containing this routine.-rrProjectId :: Lens' RoutineReference (Maybe Text)-rrProjectId-  = lens _rrProjectId (\ s a -> s{_rrProjectId = a})---- | [Required] The ID of the routine. The ID must contain only letters (a-z,--- A-Z), numbers (0-9), or underscores (_). The maximum length is 256--- characters.-rrRoutineId :: Lens' RoutineReference (Maybe Text)-rrRoutineId-  = lens _rrRoutineId (\ s a -> s{_rrRoutineId = a})--instance FromJSON RoutineReference where-        parseJSON-          = withObject "RoutineReference"-              (\ o ->-                 RoutineReference' <$>-                   (o .:? "datasetId") <*> (o .:? "projectId") <*>-                     (o .:? "routineId"))--instance ToJSON RoutineReference where-        toJSON RoutineReference'{..}-          = object-              (catMaybes-                 [("datasetId" .=) <$> _rrDataSetId,-                  ("projectId" .=) <$> _rrProjectId,-                  ("routineId" .=) <$> _rrRoutineId])------- /See:/ 'rangePartitioning' smart constructor.-data RangePartitioning =-  RangePartitioning'-    { _rpField :: !(Maybe Text)-    , _rpRange :: !(Maybe RangePartitioningRange)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'RangePartitioning' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'rpField'------ * 'rpRange'-rangePartitioning-    :: RangePartitioning-rangePartitioning = RangePartitioning' {_rpField = Nothing, _rpRange = Nothing}----- | [TrustedTester] [Required] The table is partitioned by this field. The--- field must be a top-level NULLABLE\/REQUIRED field. The only supported--- type is INTEGER\/INT64.-rpField :: Lens' RangePartitioning (Maybe Text)-rpField = lens _rpField (\ s a -> s{_rpField = a})---- | [TrustedTester] [Required] Defines the ranges for range partitioning.-rpRange :: Lens' RangePartitioning (Maybe RangePartitioningRange)-rpRange = lens _rpRange (\ s a -> s{_rpRange = a})--instance FromJSON RangePartitioning where-        parseJSON-          = withObject "RangePartitioning"-              (\ o ->-                 RangePartitioning' <$>-                   (o .:? "field") <*> (o .:? "range"))--instance ToJSON RangePartitioning where-        toJSON RangePartitioning'{..}-          = object-              (catMaybes-                 [("field" .=) <$> _rpField,-                  ("range" .=) <$> _rpRange])------- /See:/ 'tableFieldSchema' smart constructor.-data TableFieldSchema =-  TableFieldSchema'-    { _tfsMode        :: !(Maybe Text)-    , _tfsCategories  :: !(Maybe TableFieldSchemaCategories)-    , _tfsName        :: !(Maybe Text)-    , _tfsType        :: !(Maybe Text)-    , _tfsDescription :: !(Maybe Text)-    , _tfsFields      :: !(Maybe [TableFieldSchema])-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'TableFieldSchema' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'tfsMode'------ * 'tfsCategories'------ * 'tfsName'------ * 'tfsType'------ * 'tfsDescription'------ * 'tfsFields'-tableFieldSchema-    :: TableFieldSchema-tableFieldSchema =-  TableFieldSchema'-    { _tfsMode = Nothing-    , _tfsCategories = Nothing-    , _tfsName = Nothing-    , _tfsType = Nothing-    , _tfsDescription = Nothing-    , _tfsFields = Nothing-    }----- | [Optional] The field mode. Possible values include NULLABLE, REQUIRED--- and REPEATED. The default value is NULLABLE.-tfsMode :: Lens' TableFieldSchema (Maybe Text)-tfsMode = lens _tfsMode (\ s a -> s{_tfsMode = a})---- | [Optional] The categories attached to this field, used for field-level--- access control.-tfsCategories :: Lens' TableFieldSchema (Maybe TableFieldSchemaCategories)-tfsCategories-  = lens _tfsCategories-      (\ s a -> s{_tfsCategories = a})---- | [Required] The field name. The name must contain only letters (a-z,--- A-Z), numbers (0-9), or underscores (_), and must start with a letter or--- underscore. The maximum length is 128 characters.-tfsName :: Lens' TableFieldSchema (Maybe Text)-tfsName = lens _tfsName (\ s a -> s{_tfsName = a})---- | [Required] The field data type. Possible values include STRING, BYTES,--- INTEGER, INT64 (same as INTEGER), FLOAT, FLOAT64 (same as FLOAT),--- BOOLEAN, BOOL (same as BOOLEAN), TIMESTAMP, DATE, TIME, DATETIME, RECORD--- (where RECORD indicates that the field contains a nested schema) or--- STRUCT (same as RECORD).-tfsType :: Lens' TableFieldSchema (Maybe Text)-tfsType = lens _tfsType (\ s a -> s{_tfsType = a})---- | [Optional] The field description. The maximum length is 1,024--- characters.-tfsDescription :: Lens' TableFieldSchema (Maybe Text)-tfsDescription-  = lens _tfsDescription-      (\ s a -> s{_tfsDescription = a})---- | [Optional] Describes the nested schema fields if the type property is--- set to RECORD.-tfsFields :: Lens' TableFieldSchema [TableFieldSchema]-tfsFields-  = lens _tfsFields (\ s a -> s{_tfsFields = a}) .-      _Default-      . _Coerce--instance FromJSON TableFieldSchema where-        parseJSON-          = withObject "TableFieldSchema"-              (\ o ->-                 TableFieldSchema' <$>-                   (o .:? "mode") <*> (o .:? "categories") <*>-                     (o .:? "name")-                     <*> (o .:? "type")-                     <*> (o .:? "description")-                     <*> (o .:? "fields" .!= mempty))--instance ToJSON TableFieldSchema where-        toJSON TableFieldSchema'{..}-          = object-              (catMaybes-                 [("mode" .=) <$> _tfsMode,-                  ("categories" .=) <$> _tfsCategories,-                  ("name" .=) <$> _tfsName, ("type" .=) <$> _tfsType,-                  ("description" .=) <$> _tfsDescription,-                  ("fields" .=) <$> _tfsFields])------- /See:/ 'getQueryResultsResponse' smart constructor.-data GetQueryResultsResponse =-  GetQueryResultsResponse'-    { _gqrrJobReference        :: !(Maybe JobReference)-    , _gqrrEtag                :: !(Maybe Text)-    , _gqrrKind                :: !Text-    , _gqrrSchema              :: !(Maybe TableSchema)-    , _gqrrTotalBytesProcessed :: !(Maybe (Textual Int64))-    , _gqrrRows                :: !(Maybe [TableRow])-    , _gqrrPageToken           :: !(Maybe Text)-    , _gqrrNumDmlAffectedRows  :: !(Maybe (Textual Int64))-    , _gqrrTotalRows           :: !(Maybe (Textual Word64))-    , _gqrrErrors              :: !(Maybe [ErrorProto])-    , _gqrrJobComplete         :: !(Maybe Bool)-    , _gqrrCacheHit            :: !(Maybe Bool)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GetQueryResultsResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gqrrJobReference'------ * 'gqrrEtag'------ * 'gqrrKind'------ * 'gqrrSchema'------ * 'gqrrTotalBytesProcessed'------ * 'gqrrRows'------ * 'gqrrPageToken'------ * 'gqrrNumDmlAffectedRows'------ * 'gqrrTotalRows'------ * 'gqrrErrors'------ * 'gqrrJobComplete'------ * 'gqrrCacheHit'-getQueryResultsResponse-    :: GetQueryResultsResponse-getQueryResultsResponse =-  GetQueryResultsResponse'-    { _gqrrJobReference = Nothing-    , _gqrrEtag = Nothing-    , _gqrrKind = "bigquery#getQueryResultsResponse"-    , _gqrrSchema = Nothing-    , _gqrrTotalBytesProcessed = Nothing-    , _gqrrRows = Nothing-    , _gqrrPageToken = Nothing-    , _gqrrNumDmlAffectedRows = Nothing-    , _gqrrTotalRows = Nothing-    , _gqrrErrors = Nothing-    , _gqrrJobComplete = Nothing-    , _gqrrCacheHit = Nothing-    }----- | Reference to the BigQuery Job that was created to run the query. This--- field will be present even if the original request timed out, in which--- case GetQueryResults can be used to read the results once the query has--- completed. Since this API only returns the first page of results,--- subsequent pages can be fetched via the same mechanism--- (GetQueryResults).-gqrrJobReference :: Lens' GetQueryResultsResponse (Maybe JobReference)-gqrrJobReference-  = lens _gqrrJobReference-      (\ s a -> s{_gqrrJobReference = a})---- | A hash of this response.-gqrrEtag :: Lens' GetQueryResultsResponse (Maybe Text)-gqrrEtag = lens _gqrrEtag (\ s a -> s{_gqrrEtag = a})---- | The resource type of the response.-gqrrKind :: Lens' GetQueryResultsResponse Text-gqrrKind = lens _gqrrKind (\ s a -> s{_gqrrKind = a})---- | The schema of the results. Present only when the query completes--- successfully.-gqrrSchema :: Lens' GetQueryResultsResponse (Maybe TableSchema)-gqrrSchema-  = lens _gqrrSchema (\ s a -> s{_gqrrSchema = a})---- | The total number of bytes processed for this query.-gqrrTotalBytesProcessed :: Lens' GetQueryResultsResponse (Maybe Int64)-gqrrTotalBytesProcessed-  = lens _gqrrTotalBytesProcessed-      (\ s a -> s{_gqrrTotalBytesProcessed = a})-      . mapping _Coerce---- | An object with as many results as can be contained within the maximum--- permitted reply size. To get any additional rows, you can call--- GetQueryResults and specify the jobReference returned above. Present--- only when the query completes successfully.-gqrrRows :: Lens' GetQueryResultsResponse [TableRow]-gqrrRows-  = lens _gqrrRows (\ s a -> s{_gqrrRows = a}) .-      _Default-      . _Coerce---- | A token used for paging results.-gqrrPageToken :: Lens' GetQueryResultsResponse (Maybe Text)-gqrrPageToken-  = lens _gqrrPageToken-      (\ s a -> s{_gqrrPageToken = a})---- | [Output-only] The number of rows affected by a DML statement. Present--- only for DML statements INSERT, UPDATE or DELETE.-gqrrNumDmlAffectedRows :: Lens' GetQueryResultsResponse (Maybe Int64)-gqrrNumDmlAffectedRows-  = lens _gqrrNumDmlAffectedRows-      (\ s a -> s{_gqrrNumDmlAffectedRows = a})-      . mapping _Coerce---- | The total number of rows in the complete query result set, which can be--- more than the number of rows in this single page of results. Present--- only when the query completes successfully.-gqrrTotalRows :: Lens' GetQueryResultsResponse (Maybe Word64)-gqrrTotalRows-  = lens _gqrrTotalRows-      (\ s a -> s{_gqrrTotalRows = a})-      . mapping _Coerce---- | [Output-only] The first errors or warnings encountered during the--- running of the job. The final message includes the number of errors that--- caused the process to stop. Errors here do not necessarily mean that the--- job has completed or was unsuccessful.-gqrrErrors :: Lens' GetQueryResultsResponse [ErrorProto]-gqrrErrors-  = lens _gqrrErrors (\ s a -> s{_gqrrErrors = a}) .-      _Default-      . _Coerce---- | Whether the query has completed or not. If rows or totalRows are--- present, this will always be true. If this is false, totalRows will not--- be available.-gqrrJobComplete :: Lens' GetQueryResultsResponse (Maybe Bool)-gqrrJobComplete-  = lens _gqrrJobComplete-      (\ s a -> s{_gqrrJobComplete = a})---- | Whether the query result was fetched from the query cache.-gqrrCacheHit :: Lens' GetQueryResultsResponse (Maybe Bool)-gqrrCacheHit-  = lens _gqrrCacheHit (\ s a -> s{_gqrrCacheHit = a})--instance FromJSON GetQueryResultsResponse where-        parseJSON-          = withObject "GetQueryResultsResponse"-              (\ o ->-                 GetQueryResultsResponse' <$>-                   (o .:? "jobReference") <*> (o .:? "etag") <*>-                     (o .:? "kind" .!= "bigquery#getQueryResultsResponse")-                     <*> (o .:? "schema")-                     <*> (o .:? "totalBytesProcessed")-                     <*> (o .:? "rows" .!= mempty)-                     <*> (o .:? "pageToken")-                     <*> (o .:? "numDmlAffectedRows")-                     <*> (o .:? "totalRows")-                     <*> (o .:? "errors" .!= mempty)-                     <*> (o .:? "jobComplete")-                     <*> (o .:? "cacheHit"))--instance ToJSON GetQueryResultsResponse where-        toJSON GetQueryResultsResponse'{..}-          = object-              (catMaybes-                 [("jobReference" .=) <$> _gqrrJobReference,-                  ("etag" .=) <$> _gqrrEtag,-                  Just ("kind" .= _gqrrKind),-                  ("schema" .=) <$> _gqrrSchema,-                  ("totalBytesProcessed" .=) <$>-                    _gqrrTotalBytesProcessed,-                  ("rows" .=) <$> _gqrrRows,-                  ("pageToken" .=) <$> _gqrrPageToken,-                  ("numDmlAffectedRows" .=) <$>-                    _gqrrNumDmlAffectedRows,-                  ("totalRows" .=) <$> _gqrrTotalRows,-                  ("errors" .=) <$> _gqrrErrors,-                  ("jobComplete" .=) <$> _gqrrJobComplete,-                  ("cacheHit" .=) <$> _gqrrCacheHit])------- /See:/ 'dataSetList' smart constructor.-data DataSetList =-  DataSetList'-    { _dslEtag          :: !(Maybe Text)-    , _dslNextPageToken :: !(Maybe Text)-    , _dslKind          :: !Text-    , _dslDataSets      :: !(Maybe [DataSetListDataSetsItem])-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'DataSetList' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dslEtag'------ * 'dslNextPageToken'------ * 'dslKind'------ * 'dslDataSets'-dataSetList-    :: DataSetList-dataSetList =-  DataSetList'-    { _dslEtag = Nothing-    , _dslNextPageToken = Nothing-    , _dslKind = "bigquery#datasetList"-    , _dslDataSets = Nothing-    }----- | A hash value of the results page. You can use this property to determine--- if the page has changed since the last request.-dslEtag :: Lens' DataSetList (Maybe Text)-dslEtag = lens _dslEtag (\ s a -> s{_dslEtag = a})---- | A token that can be used to request the next results page. This property--- is omitted on the final results page.-dslNextPageToken :: Lens' DataSetList (Maybe Text)-dslNextPageToken-  = lens _dslNextPageToken-      (\ s a -> s{_dslNextPageToken = a})---- | The list type. This property always returns the value--- \"bigquery#datasetList\".-dslKind :: Lens' DataSetList Text-dslKind = lens _dslKind (\ s a -> s{_dslKind = a})---- | An array of the dataset resources in the project. Each resource contains--- basic information. For full information about a particular dataset--- resource, use the Datasets: get method. This property is omitted when--- there are no datasets in the project.-dslDataSets :: Lens' DataSetList [DataSetListDataSetsItem]-dslDataSets-  = lens _dslDataSets (\ s a -> s{_dslDataSets = a}) .-      _Default-      . _Coerce--instance FromJSON DataSetList where-        parseJSON-          = withObject "DataSetList"-              (\ o ->-                 DataSetList' <$>-                   (o .:? "etag") <*> (o .:? "nextPageToken") <*>-                     (o .:? "kind" .!= "bigquery#datasetList")-                     <*> (o .:? "datasets" .!= mempty))--instance ToJSON DataSetList where-        toJSON DataSetList'{..}-          = object-              (catMaybes-                 [("etag" .=) <$> _dslEtag,-                  ("nextPageToken" .=) <$> _dslNextPageToken,-                  Just ("kind" .= _dslKind),-                  ("datasets" .=) <$> _dslDataSets])------- /See:/ 'queryRequest' smart constructor.-data QueryRequest =-  QueryRequest'-    { _qrLocation        :: !(Maybe Text)-    , _qrUseQueryCache   :: !Bool-    , _qrPreserveNulls   :: !(Maybe Bool)-    , _qrKind            :: !Text-    , _qrQueryParameters :: !(Maybe [QueryParameter])-    , _qrQuery           :: !(Maybe Text)-    , _qrParameterMode   :: !(Maybe Text)-    , _qrTimeoutMs       :: !(Maybe (Textual Word32))-    , _qrUseLegacySQL    :: !Bool-    , _qrDryRun          :: !(Maybe Bool)-    , _qrMaxResults      :: !(Maybe (Textual Word32))-    , _qrDefaultDataSet  :: !(Maybe DataSetReference)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'QueryRequest' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'qrLocation'------ * 'qrUseQueryCache'------ * 'qrPreserveNulls'------ * 'qrKind'------ * 'qrQueryParameters'------ * 'qrQuery'------ * 'qrParameterMode'------ * 'qrTimeoutMs'------ * 'qrUseLegacySQL'------ * 'qrDryRun'------ * 'qrMaxResults'------ * 'qrDefaultDataSet'-queryRequest-    :: QueryRequest-queryRequest =-  QueryRequest'-    { _qrLocation = Nothing-    , _qrUseQueryCache = True-    , _qrPreserveNulls = Nothing-    , _qrKind = "bigquery#queryRequest"-    , _qrQueryParameters = Nothing-    , _qrQuery = Nothing-    , _qrParameterMode = Nothing-    , _qrTimeoutMs = Nothing-    , _qrUseLegacySQL = True-    , _qrDryRun = Nothing-    , _qrMaxResults = Nothing-    , _qrDefaultDataSet = Nothing-    }----- | The geographic location where the job should run. See details at--- https:\/\/cloud.google.com\/bigquery\/docs\/locations#specifying_your_location.-qrLocation :: Lens' QueryRequest (Maybe Text)-qrLocation-  = lens _qrLocation (\ s a -> s{_qrLocation = a})---- | [Optional] Whether to look for the result in the query cache. The query--- cache is a best-effort cache that will be flushed whenever tables in the--- query are modified. The default value is true.-qrUseQueryCache :: Lens' QueryRequest Bool-qrUseQueryCache-  = lens _qrUseQueryCache-      (\ s a -> s{_qrUseQueryCache = a})---- | [Deprecated] This property is deprecated.-qrPreserveNulls :: Lens' QueryRequest (Maybe Bool)-qrPreserveNulls-  = lens _qrPreserveNulls-      (\ s a -> s{_qrPreserveNulls = a})---- | The resource type of the request.-qrKind :: Lens' QueryRequest Text-qrKind = lens _qrKind (\ s a -> s{_qrKind = a})---- | Query parameters for Standard SQL queries.-qrQueryParameters :: Lens' QueryRequest [QueryParameter]-qrQueryParameters-  = lens _qrQueryParameters-      (\ s a -> s{_qrQueryParameters = a})-      . _Default-      . _Coerce---- | [Required] A query string, following the BigQuery query syntax, of the--- query to execute. Example: \"SELECT count(f1) FROM--- [myProjectId:myDatasetId.myTableId]\".-qrQuery :: Lens' QueryRequest (Maybe Text)-qrQuery = lens _qrQuery (\ s a -> s{_qrQuery = a})---- | Standard SQL only. Set to POSITIONAL to use positional (?) query--- parameters or to NAMED to use named (\'myparam) query parameters in this--- query.-qrParameterMode :: Lens' QueryRequest (Maybe Text)-qrParameterMode-  = lens _qrParameterMode-      (\ s a -> s{_qrParameterMode = a})---- | [Optional] How long to wait for the query to complete, in milliseconds,--- before the request times out and returns. Note that this is only a--- timeout for the request, not the query. If the query takes longer to run--- than the timeout value, the call returns without any results and with--- the \'jobComplete\' flag set to false. You can call GetQueryResults() to--- wait for the query to complete and read the results. The default value--- is 10000 milliseconds (10 seconds).-qrTimeoutMs :: Lens' QueryRequest (Maybe Word32)-qrTimeoutMs-  = lens _qrTimeoutMs (\ s a -> s{_qrTimeoutMs = a}) .-      mapping _Coerce---- | Specifies whether to use BigQuery\'s legacy SQL dialect for this query.--- The default value is true. If set to false, the query will use--- BigQuery\'s standard SQL:--- https:\/\/cloud.google.com\/bigquery\/sql-reference\/ When useLegacySql--- is set to false, the value of flattenResults is ignored; query will be--- run as if flattenResults is false.-qrUseLegacySQL :: Lens' QueryRequest Bool-qrUseLegacySQL-  = lens _qrUseLegacySQL-      (\ s a -> s{_qrUseLegacySQL = a})---- | [Optional] If set to true, BigQuery doesn\'t run the job. Instead, if--- the query is valid, BigQuery returns statistics about the job such as--- how many bytes would be processed. If the query is invalid, an error--- returns. The default value is false.-qrDryRun :: Lens' QueryRequest (Maybe Bool)-qrDryRun = lens _qrDryRun (\ s a -> s{_qrDryRun = a})---- | [Optional] The maximum number of rows of data to return per page of--- results. Setting this flag to a small value such as 1000 and then paging--- through results might improve reliability when the query result set is--- large. In addition to this limit, responses are also limited to 10 MB.--- By default, there is no maximum row count, and only the byte limit--- applies.-qrMaxResults :: Lens' QueryRequest (Maybe Word32)-qrMaxResults-  = lens _qrMaxResults (\ s a -> s{_qrMaxResults = a})-      . mapping _Coerce---- | [Optional] Specifies the default datasetId and projectId to assume for--- any unqualified table names in the query. If not set, all table names in--- the query string must be qualified in the format \'datasetId.tableId\'.-qrDefaultDataSet :: Lens' QueryRequest (Maybe DataSetReference)-qrDefaultDataSet-  = lens _qrDefaultDataSet-      (\ s a -> s{_qrDefaultDataSet = a})--instance FromJSON QueryRequest where-        parseJSON-          = withObject "QueryRequest"-              (\ o ->-                 QueryRequest' <$>-                   (o .:? "location") <*>-                     (o .:? "useQueryCache" .!= True)-                     <*> (o .:? "preserveNulls")-                     <*> (o .:? "kind" .!= "bigquery#queryRequest")-                     <*> (o .:? "queryParameters" .!= mempty)-                     <*> (o .:? "query")-                     <*> (o .:? "parameterMode")-                     <*> (o .:? "timeoutMs")-                     <*> (o .:? "useLegacySql" .!= True)-                     <*> (o .:? "dryRun")-                     <*> (o .:? "maxResults")-                     <*> (o .:? "defaultDataset"))--instance ToJSON QueryRequest where-        toJSON QueryRequest'{..}-          = object-              (catMaybes-                 [("location" .=) <$> _qrLocation,-                  Just ("useQueryCache" .= _qrUseQueryCache),-                  ("preserveNulls" .=) <$> _qrPreserveNulls,-                  Just ("kind" .= _qrKind),-                  ("queryParameters" .=) <$> _qrQueryParameters,-                  ("query" .=) <$> _qrQuery,-                  ("parameterMode" .=) <$> _qrParameterMode,-                  ("timeoutMs" .=) <$> _qrTimeoutMs,-                  Just ("useLegacySql" .= _qrUseLegacySQL),-                  ("dryRun" .=) <$> _qrDryRun,-                  ("maxResults" .=) <$> _qrMaxResults,-                  ("defaultDataset" .=) <$> _qrDefaultDataSet])---- | [Output-only, Beta] Training options used by this training run. These--- options are mutable for subsequent training runs. Default values are--- explicitly stored for options not specified in the input query of the--- first training run. For subsequent training runs, any option not--- explicitly specified in the input query will be copied from the previous--- training run.------ /See:/ 'bqmlTrainingRunTrainingOptions' smart constructor.-data BqmlTrainingRunTrainingOptions =-  BqmlTrainingRunTrainingOptions'-    { _btrtoLineSearchInitLearnRate :: !(Maybe (Textual Double))-    , _btrtoMinRelProgress          :: !(Maybe (Textual Double))-    , _btrtoL1Reg                   :: !(Maybe (Textual Double))-    , _btrtoLearnRate               :: !(Maybe (Textual Double))-    , _btrtoLearnRateStrategy       :: !(Maybe Text)-    , _btrtoMaxIteration            :: !(Maybe (Textual Int64))-    , _btrtoEarlyStop               :: !(Maybe Bool)-    , _btrtoL2Reg                   :: !(Maybe (Textual Double))-    , _btrtoWarmStart               :: !(Maybe Bool)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'BqmlTrainingRunTrainingOptions' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'btrtoLineSearchInitLearnRate'------ * 'btrtoMinRelProgress'------ * 'btrtoL1Reg'------ * 'btrtoLearnRate'------ * 'btrtoLearnRateStrategy'------ * 'btrtoMaxIteration'------ * 'btrtoEarlyStop'------ * 'btrtoL2Reg'------ * 'btrtoWarmStart'-bqmlTrainingRunTrainingOptions-    :: BqmlTrainingRunTrainingOptions-bqmlTrainingRunTrainingOptions =-  BqmlTrainingRunTrainingOptions'-    { _btrtoLineSearchInitLearnRate = Nothing-    , _btrtoMinRelProgress = Nothing-    , _btrtoL1Reg = Nothing-    , _btrtoLearnRate = Nothing-    , _btrtoLearnRateStrategy = Nothing-    , _btrtoMaxIteration = Nothing-    , _btrtoEarlyStop = Nothing-    , _btrtoL2Reg = Nothing-    , _btrtoWarmStart = Nothing-    }---btrtoLineSearchInitLearnRate :: Lens' BqmlTrainingRunTrainingOptions (Maybe Double)-btrtoLineSearchInitLearnRate-  = lens _btrtoLineSearchInitLearnRate-      (\ s a -> s{_btrtoLineSearchInitLearnRate = a})-      . mapping _Coerce--btrtoMinRelProgress :: Lens' BqmlTrainingRunTrainingOptions (Maybe Double)-btrtoMinRelProgress-  = lens _btrtoMinRelProgress-      (\ s a -> s{_btrtoMinRelProgress = a})-      . mapping _Coerce--btrtoL1Reg :: Lens' BqmlTrainingRunTrainingOptions (Maybe Double)-btrtoL1Reg-  = lens _btrtoL1Reg (\ s a -> s{_btrtoL1Reg = a}) .-      mapping _Coerce--btrtoLearnRate :: Lens' BqmlTrainingRunTrainingOptions (Maybe Double)-btrtoLearnRate-  = lens _btrtoLearnRate-      (\ s a -> s{_btrtoLearnRate = a})-      . mapping _Coerce--btrtoLearnRateStrategy :: Lens' BqmlTrainingRunTrainingOptions (Maybe Text)-btrtoLearnRateStrategy-  = lens _btrtoLearnRateStrategy-      (\ s a -> s{_btrtoLearnRateStrategy = a})--btrtoMaxIteration :: Lens' BqmlTrainingRunTrainingOptions (Maybe Int64)-btrtoMaxIteration-  = lens _btrtoMaxIteration-      (\ s a -> s{_btrtoMaxIteration = a})-      . mapping _Coerce--btrtoEarlyStop :: Lens' BqmlTrainingRunTrainingOptions (Maybe Bool)-btrtoEarlyStop-  = lens _btrtoEarlyStop-      (\ s a -> s{_btrtoEarlyStop = a})--btrtoL2Reg :: Lens' BqmlTrainingRunTrainingOptions (Maybe Double)-btrtoL2Reg-  = lens _btrtoL2Reg (\ s a -> s{_btrtoL2Reg = a}) .-      mapping _Coerce--btrtoWarmStart :: Lens' BqmlTrainingRunTrainingOptions (Maybe Bool)-btrtoWarmStart-  = lens _btrtoWarmStart-      (\ s a -> s{_btrtoWarmStart = a})--instance FromJSON BqmlTrainingRunTrainingOptions-         where-        parseJSON-          = withObject "BqmlTrainingRunTrainingOptions"-              (\ o ->-                 BqmlTrainingRunTrainingOptions' <$>-                   (o .:? "lineSearchInitLearnRate") <*>-                     (o .:? "minRelProgress")-                     <*> (o .:? "l1Reg")-                     <*> (o .:? "learnRate")-                     <*> (o .:? "learnRateStrategy")-                     <*> (o .:? "maxIteration")-                     <*> (o .:? "earlyStop")-                     <*> (o .:? "l2Reg")-                     <*> (o .:? "warmStart"))--instance ToJSON BqmlTrainingRunTrainingOptions where-        toJSON BqmlTrainingRunTrainingOptions'{..}-          = object-              (catMaybes-                 [("lineSearchInitLearnRate" .=) <$>-                    _btrtoLineSearchInitLearnRate,-                  ("minRelProgress" .=) <$> _btrtoMinRelProgress,-                  ("l1Reg" .=) <$> _btrtoL1Reg,-                  ("learnRate" .=) <$> _btrtoLearnRate,-                  ("learnRateStrategy" .=) <$> _btrtoLearnRateStrategy,-                  ("maxIteration" .=) <$> _btrtoMaxIteration,-                  ("earlyStop" .=) <$> _btrtoEarlyStop,-                  ("l2Reg" .=) <$> _btrtoL2Reg,-                  ("warmStart" .=) <$> _btrtoWarmStart])------- /See:/ 'queryParameter' smart constructor.-data QueryParameter =-  QueryParameter'-    { _qpParameterValue :: !(Maybe QueryParameterValue)-    , _qpParameterType  :: !(Maybe QueryParameterType)-    , _qpName           :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'QueryParameter' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'qpParameterValue'------ * 'qpParameterType'------ * 'qpName'-queryParameter-    :: QueryParameter-queryParameter =-  QueryParameter'-    {_qpParameterValue = Nothing, _qpParameterType = Nothing, _qpName = Nothing}----- | [Required] The value of this parameter.-qpParameterValue :: Lens' QueryParameter (Maybe QueryParameterValue)-qpParameterValue-  = lens _qpParameterValue-      (\ s a -> s{_qpParameterValue = a})---- | [Required] The type of this parameter.-qpParameterType :: Lens' QueryParameter (Maybe QueryParameterType)-qpParameterType-  = lens _qpParameterType-      (\ s a -> s{_qpParameterType = a})---- | [Optional] If unset, this is a positional parameter. Otherwise, should--- be unique within a query.-qpName :: Lens' QueryParameter (Maybe Text)-qpName = lens _qpName (\ s a -> s{_qpName = a})--instance FromJSON QueryParameter where-        parseJSON-          = withObject "QueryParameter"-              (\ o ->-                 QueryParameter' <$>-                   (o .:? "parameterValue") <*> (o .:? "parameterType")-                     <*> (o .:? "name"))--instance ToJSON QueryParameter where-        toJSON QueryParameter'{..}-          = object-              (catMaybes-                 [("parameterValue" .=) <$> _qpParameterValue,-                  ("parameterType" .=) <$> _qpParameterType,-                  ("name" .=) <$> _qpName])------- /See:/ 'jobStatistics4' smart constructor.-data JobStatistics4 =-  JobStatistics4'-    { _jsInputBytes               :: !(Maybe (Textual Int64))-    , _jsDestinationURIFileCounts :: !(Maybe [Textual Int64])-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'JobStatistics4' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'jsInputBytes'------ * 'jsDestinationURIFileCounts'-jobStatistics4-    :: JobStatistics4-jobStatistics4 =-  JobStatistics4'-    {_jsInputBytes = Nothing, _jsDestinationURIFileCounts = Nothing}----- | [Output-only] Number of user bytes extracted into the result. This is--- the byte count as computed by BigQuery for billing purposes.-jsInputBytes :: Lens' JobStatistics4 (Maybe Int64)-jsInputBytes-  = lens _jsInputBytes (\ s a -> s{_jsInputBytes = a})-      . mapping _Coerce---- | [Output-only] Number of files per destination URI or URI pattern--- specified in the extract configuration. These values will be in the same--- order as the URIs specified in the \'destinationUris\' field.-jsDestinationURIFileCounts :: Lens' JobStatistics4 [Int64]-jsDestinationURIFileCounts-  = lens _jsDestinationURIFileCounts-      (\ s a -> s{_jsDestinationURIFileCounts = a})-      . _Default-      . _Coerce--instance FromJSON JobStatistics4 where-        parseJSON-          = withObject "JobStatistics4"-              (\ o ->-                 JobStatistics4' <$>-                   (o .:? "inputBytes") <*>-                     (o .:? "destinationUriFileCounts" .!= mempty))--instance ToJSON JobStatistics4 where-        toJSON JobStatistics4'{..}-          = object-              (catMaybes-                 [("inputBytes" .=) <$> _jsInputBytes,-                  ("destinationUriFileCounts" .=) <$>-                    _jsDestinationURIFileCounts])------- /See:/ 'projectReference' smart constructor.-newtype ProjectReference =-  ProjectReference'-    { _prProjectId :: Maybe Text-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectReference' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'prProjectId'-projectReference-    :: ProjectReference-projectReference = ProjectReference' {_prProjectId = Nothing}----- | [Required] ID of the project. Can be either the numeric ID or the--- assigned ID of the project.-prProjectId :: Lens' ProjectReference (Maybe Text)-prProjectId-  = lens _prProjectId (\ s a -> s{_prProjectId = a})--instance FromJSON ProjectReference where-        parseJSON-          = withObject "ProjectReference"-              (\ o -> ProjectReference' <$> (o .:? "projectId"))--instance ToJSON ProjectReference where-        toJSON ProjectReference'{..}-          = object-              (catMaybes [("projectId" .=) <$> _prProjectId])------- /See:/ 'explainQueryStage' smart constructor.-data ExplainQueryStage =-  ExplainQueryStage'-    { _eqsReadMsAvg                 :: !(Maybe (Textual Int64))-    , _eqsStatus                    :: !(Maybe Text)-    , _eqsShuffleOutputBytesSpilled :: !(Maybe (Textual Int64))-    , _eqsReadMsMax                 :: !(Maybe (Textual Int64))-    , _eqsCompletedParallelInputs   :: !(Maybe (Textual Int64))-    , _eqsWaitRatioMax              :: !(Maybe (Textual Double))-    , _eqsParallelInputs            :: !(Maybe (Textual Int64))-    , _eqsShuffleOutputBytes        :: !(Maybe (Textual Int64))-    , _eqsRecordsWritten            :: !(Maybe (Textual Int64))-    , _eqsSteps                     :: !(Maybe [ExplainQueryStep])-    , _eqsInputStages               :: !(Maybe [Textual Int64])-    , _eqsWriteRatioAvg             :: !(Maybe (Textual Double))-    , _eqsRecordsRead               :: !(Maybe (Textual Int64))-    , _eqsComputeRatioAvg           :: !(Maybe (Textual Double))-    , _eqsName                      :: !(Maybe Text)-    , _eqsComputeMsMax              :: !(Maybe (Textual Int64))-    , _eqsReadRatioMax              :: !(Maybe (Textual Double))-    , _eqsWriteMsMax                :: !(Maybe (Textual Int64))-    , _eqsWaitRatioAvg              :: !(Maybe (Textual Double))-    , _eqsWaitMsAvg                 :: !(Maybe (Textual Int64))-    , _eqsId                        :: !(Maybe (Textual Int64))-    , _eqsComputeRatioMax           :: !(Maybe (Textual Double))-    , _eqsWriteRatioMax             :: !(Maybe (Textual Double))-    , _eqsComputeMsAvg              :: !(Maybe (Textual Int64))-    , _eqsReadRatioAvg              :: !(Maybe (Textual Double))-    , _eqsWriteMsAvg                :: !(Maybe (Textual Int64))-    , _eqsStartMs                   :: !(Maybe (Textual Int64))-    , _eqsEndMs                     :: !(Maybe (Textual Int64))-    , _eqsWaitMsMax                 :: !(Maybe (Textual Int64))-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ExplainQueryStage' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'eqsReadMsAvg'------ * 'eqsStatus'------ * 'eqsShuffleOutputBytesSpilled'------ * 'eqsReadMsMax'------ * 'eqsCompletedParallelInputs'------ * 'eqsWaitRatioMax'------ * 'eqsParallelInputs'------ * 'eqsShuffleOutputBytes'------ * 'eqsRecordsWritten'------ * 'eqsSteps'------ * 'eqsInputStages'------ * 'eqsWriteRatioAvg'------ * 'eqsRecordsRead'------ * 'eqsComputeRatioAvg'------ * 'eqsName'------ * 'eqsComputeMsMax'------ * 'eqsReadRatioMax'------ * 'eqsWriteMsMax'------ * 'eqsWaitRatioAvg'------ * 'eqsWaitMsAvg'------ * 'eqsId'------ * 'eqsComputeRatioMax'------ * 'eqsWriteRatioMax'------ * 'eqsComputeMsAvg'------ * 'eqsReadRatioAvg'------ * 'eqsWriteMsAvg'------ * 'eqsStartMs'------ * 'eqsEndMs'------ * 'eqsWaitMsMax'-explainQueryStage-    :: ExplainQueryStage-explainQueryStage =-  ExplainQueryStage'-    { _eqsReadMsAvg = Nothing-    , _eqsStatus = Nothing-    , _eqsShuffleOutputBytesSpilled = Nothing-    , _eqsReadMsMax = Nothing-    , _eqsCompletedParallelInputs = Nothing-    , _eqsWaitRatioMax = Nothing-    , _eqsParallelInputs = Nothing-    , _eqsShuffleOutputBytes = Nothing-    , _eqsRecordsWritten = Nothing-    , _eqsSteps = Nothing-    , _eqsInputStages = Nothing-    , _eqsWriteRatioAvg = Nothing-    , _eqsRecordsRead = Nothing-    , _eqsComputeRatioAvg = Nothing-    , _eqsName = Nothing-    , _eqsComputeMsMax = Nothing-    , _eqsReadRatioMax = Nothing-    , _eqsWriteMsMax = Nothing-    , _eqsWaitRatioAvg = Nothing-    , _eqsWaitMsAvg = Nothing-    , _eqsId = Nothing-    , _eqsComputeRatioMax = Nothing-    , _eqsWriteRatioMax = Nothing-    , _eqsComputeMsAvg = Nothing-    , _eqsReadRatioAvg = Nothing-    , _eqsWriteMsAvg = Nothing-    , _eqsStartMs = Nothing-    , _eqsEndMs = Nothing-    , _eqsWaitMsMax = Nothing-    }----- | Milliseconds the average shard spent reading input.-eqsReadMsAvg :: Lens' ExplainQueryStage (Maybe Int64)-eqsReadMsAvg-  = lens _eqsReadMsAvg (\ s a -> s{_eqsReadMsAvg = a})-      . mapping _Coerce---- | Current status for the stage.-eqsStatus :: Lens' ExplainQueryStage (Maybe Text)-eqsStatus-  = lens _eqsStatus (\ s a -> s{_eqsStatus = a})---- | Total number of bytes written to shuffle and spilled to disk.-eqsShuffleOutputBytesSpilled :: Lens' ExplainQueryStage (Maybe Int64)-eqsShuffleOutputBytesSpilled-  = lens _eqsShuffleOutputBytesSpilled-      (\ s a -> s{_eqsShuffleOutputBytesSpilled = a})-      . mapping _Coerce---- | Milliseconds the slowest shard spent reading input.-eqsReadMsMax :: Lens' ExplainQueryStage (Maybe Int64)-eqsReadMsMax-  = lens _eqsReadMsMax (\ s a -> s{_eqsReadMsMax = a})-      . mapping _Coerce---- | Number of parallel input segments completed.-eqsCompletedParallelInputs :: Lens' ExplainQueryStage (Maybe Int64)-eqsCompletedParallelInputs-  = lens _eqsCompletedParallelInputs-      (\ s a -> s{_eqsCompletedParallelInputs = a})-      . mapping _Coerce---- | Relative amount of time the slowest shard spent waiting to be scheduled.-eqsWaitRatioMax :: Lens' ExplainQueryStage (Maybe Double)-eqsWaitRatioMax-  = lens _eqsWaitRatioMax-      (\ s a -> s{_eqsWaitRatioMax = a})-      . mapping _Coerce---- | Number of parallel input segments to be processed.-eqsParallelInputs :: Lens' ExplainQueryStage (Maybe Int64)-eqsParallelInputs-  = lens _eqsParallelInputs-      (\ s a -> s{_eqsParallelInputs = a})-      . mapping _Coerce---- | Total number of bytes written to shuffle.-eqsShuffleOutputBytes :: Lens' ExplainQueryStage (Maybe Int64)-eqsShuffleOutputBytes-  = lens _eqsShuffleOutputBytes-      (\ s a -> s{_eqsShuffleOutputBytes = a})-      . mapping _Coerce---- | Number of records written by the stage.-eqsRecordsWritten :: Lens' ExplainQueryStage (Maybe Int64)-eqsRecordsWritten-  = lens _eqsRecordsWritten-      (\ s a -> s{_eqsRecordsWritten = a})-      . mapping _Coerce---- | List of operations within the stage in dependency order (approximately--- chronological).-eqsSteps :: Lens' ExplainQueryStage [ExplainQueryStep]-eqsSteps-  = lens _eqsSteps (\ s a -> s{_eqsSteps = a}) .-      _Default-      . _Coerce---- | IDs for stages that are inputs to this stage.-eqsInputStages :: Lens' ExplainQueryStage [Int64]-eqsInputStages-  = lens _eqsInputStages-      (\ s a -> s{_eqsInputStages = a})-      . _Default-      . _Coerce---- | Relative amount of time the average shard spent on writing output.-eqsWriteRatioAvg :: Lens' ExplainQueryStage (Maybe Double)-eqsWriteRatioAvg-  = lens _eqsWriteRatioAvg-      (\ s a -> s{_eqsWriteRatioAvg = a})-      . mapping _Coerce---- | Number of records read into the stage.-eqsRecordsRead :: Lens' ExplainQueryStage (Maybe Int64)-eqsRecordsRead-  = lens _eqsRecordsRead-      (\ s a -> s{_eqsRecordsRead = a})-      . mapping _Coerce---- | Relative amount of time the average shard spent on CPU-bound tasks.-eqsComputeRatioAvg :: Lens' ExplainQueryStage (Maybe Double)-eqsComputeRatioAvg-  = lens _eqsComputeRatioAvg-      (\ s a -> s{_eqsComputeRatioAvg = a})-      . mapping _Coerce---- | Human-readable name for stage.-eqsName :: Lens' ExplainQueryStage (Maybe Text)-eqsName = lens _eqsName (\ s a -> s{_eqsName = a})---- | Milliseconds the slowest shard spent on CPU-bound tasks.-eqsComputeMsMax :: Lens' ExplainQueryStage (Maybe Int64)-eqsComputeMsMax-  = lens _eqsComputeMsMax-      (\ s a -> s{_eqsComputeMsMax = a})-      . mapping _Coerce---- | Relative amount of time the slowest shard spent reading input.-eqsReadRatioMax :: Lens' ExplainQueryStage (Maybe Double)-eqsReadRatioMax-  = lens _eqsReadRatioMax-      (\ s a -> s{_eqsReadRatioMax = a})-      . mapping _Coerce---- | Milliseconds the slowest shard spent on writing output.-eqsWriteMsMax :: Lens' ExplainQueryStage (Maybe Int64)-eqsWriteMsMax-  = lens _eqsWriteMsMax-      (\ s a -> s{_eqsWriteMsMax = a})-      . mapping _Coerce---- | Relative amount of time the average shard spent waiting to be scheduled.-eqsWaitRatioAvg :: Lens' ExplainQueryStage (Maybe Double)-eqsWaitRatioAvg-  = lens _eqsWaitRatioAvg-      (\ s a -> s{_eqsWaitRatioAvg = a})-      . mapping _Coerce---- | Milliseconds the average shard spent waiting to be scheduled.-eqsWaitMsAvg :: Lens' ExplainQueryStage (Maybe Int64)-eqsWaitMsAvg-  = lens _eqsWaitMsAvg (\ s a -> s{_eqsWaitMsAvg = a})-      . mapping _Coerce---- | Unique ID for stage within plan.-eqsId :: Lens' ExplainQueryStage (Maybe Int64)-eqsId-  = lens _eqsId (\ s a -> s{_eqsId = a}) .-      mapping _Coerce---- | Relative amount of time the slowest shard spent on CPU-bound tasks.-eqsComputeRatioMax :: Lens' ExplainQueryStage (Maybe Double)-eqsComputeRatioMax-  = lens _eqsComputeRatioMax-      (\ s a -> s{_eqsComputeRatioMax = a})-      . mapping _Coerce---- | Relative amount of time the slowest shard spent on writing output.-eqsWriteRatioMax :: Lens' ExplainQueryStage (Maybe Double)-eqsWriteRatioMax-  = lens _eqsWriteRatioMax-      (\ s a -> s{_eqsWriteRatioMax = a})-      . mapping _Coerce---- | Milliseconds the average shard spent on CPU-bound tasks.-eqsComputeMsAvg :: Lens' ExplainQueryStage (Maybe Int64)-eqsComputeMsAvg-  = lens _eqsComputeMsAvg-      (\ s a -> s{_eqsComputeMsAvg = a})-      . mapping _Coerce---- | Relative amount of time the average shard spent reading input.-eqsReadRatioAvg :: Lens' ExplainQueryStage (Maybe Double)-eqsReadRatioAvg-  = lens _eqsReadRatioAvg-      (\ s a -> s{_eqsReadRatioAvg = a})-      . mapping _Coerce---- | Milliseconds the average shard spent on writing output.-eqsWriteMsAvg :: Lens' ExplainQueryStage (Maybe Int64)-eqsWriteMsAvg-  = lens _eqsWriteMsAvg-      (\ s a -> s{_eqsWriteMsAvg = a})-      . mapping _Coerce---- | Stage start time represented as milliseconds since epoch.-eqsStartMs :: Lens' ExplainQueryStage (Maybe Int64)-eqsStartMs-  = lens _eqsStartMs (\ s a -> s{_eqsStartMs = a}) .-      mapping _Coerce---- | Stage end time represented as milliseconds since epoch.-eqsEndMs :: Lens' ExplainQueryStage (Maybe Int64)-eqsEndMs-  = lens _eqsEndMs (\ s a -> s{_eqsEndMs = a}) .-      mapping _Coerce---- | Milliseconds the slowest shard spent waiting to be scheduled.-eqsWaitMsMax :: Lens' ExplainQueryStage (Maybe Int64)-eqsWaitMsMax-  = lens _eqsWaitMsMax (\ s a -> s{_eqsWaitMsMax = a})-      . mapping _Coerce--instance FromJSON ExplainQueryStage where-        parseJSON-          = withObject "ExplainQueryStage"-              (\ o ->-                 ExplainQueryStage' <$>-                   (o .:? "readMsAvg") <*> (o .:? "status") <*>-                     (o .:? "shuffleOutputBytesSpilled")-                     <*> (o .:? "readMsMax")-                     <*> (o .:? "completedParallelInputs")-                     <*> (o .:? "waitRatioMax")-                     <*> (o .:? "parallelInputs")-                     <*> (o .:? "shuffleOutputBytes")-                     <*> (o .:? "recordsWritten")-                     <*> (o .:? "steps" .!= mempty)-                     <*> (o .:? "inputStages" .!= mempty)-                     <*> (o .:? "writeRatioAvg")-                     <*> (o .:? "recordsRead")-                     <*> (o .:? "computeRatioAvg")-                     <*> (o .:? "name")-                     <*> (o .:? "computeMsMax")-                     <*> (o .:? "readRatioMax")-                     <*> (o .:? "writeMsMax")-                     <*> (o .:? "waitRatioAvg")-                     <*> (o .:? "waitMsAvg")-                     <*> (o .:? "id")-                     <*> (o .:? "computeRatioMax")-                     <*> (o .:? "writeRatioMax")-                     <*> (o .:? "computeMsAvg")-                     <*> (o .:? "readRatioAvg")-                     <*> (o .:? "writeMsAvg")-                     <*> (o .:? "startMs")-                     <*> (o .:? "endMs")-                     <*> (o .:? "waitMsMax"))--instance ToJSON ExplainQueryStage where-        toJSON ExplainQueryStage'{..}-          = object-              (catMaybes-                 [("readMsAvg" .=) <$> _eqsReadMsAvg,-                  ("status" .=) <$> _eqsStatus,-                  ("shuffleOutputBytesSpilled" .=) <$>-                    _eqsShuffleOutputBytesSpilled,-                  ("readMsMax" .=) <$> _eqsReadMsMax,-                  ("completedParallelInputs" .=) <$>-                    _eqsCompletedParallelInputs,-                  ("waitRatioMax" .=) <$> _eqsWaitRatioMax,-                  ("parallelInputs" .=) <$> _eqsParallelInputs,-                  ("shuffleOutputBytes" .=) <$> _eqsShuffleOutputBytes,-                  ("recordsWritten" .=) <$> _eqsRecordsWritten,-                  ("steps" .=) <$> _eqsSteps,-                  ("inputStages" .=) <$> _eqsInputStages,-                  ("writeRatioAvg" .=) <$> _eqsWriteRatioAvg,-                  ("recordsRead" .=) <$> _eqsRecordsRead,-                  ("computeRatioAvg" .=) <$> _eqsComputeRatioAvg,-                  ("name" .=) <$> _eqsName,-                  ("computeMsMax" .=) <$> _eqsComputeMsMax,-                  ("readRatioMax" .=) <$> _eqsReadRatioMax,-                  ("writeMsMax" .=) <$> _eqsWriteMsMax,-                  ("waitRatioAvg" .=) <$> _eqsWaitRatioAvg,-                  ("waitMsAvg" .=) <$> _eqsWaitMsAvg,-                  ("id" .=) <$> _eqsId,-                  ("computeRatioMax" .=) <$> _eqsComputeRatioMax,-                  ("writeRatioMax" .=) <$> _eqsWriteRatioMax,-                  ("computeMsAvg" .=) <$> _eqsComputeMsAvg,-                  ("readRatioAvg" .=) <$> _eqsReadRatioAvg,-                  ("writeMsAvg" .=) <$> _eqsWriteMsAvg,-                  ("startMs" .=) <$> _eqsStartMs,-                  ("endMs" .=) <$> _eqsEndMs,-                  ("waitMsMax" .=) <$> _eqsWaitMsMax])------- /See:/ 'bigQueryModelTraining' smart constructor.-data BigQueryModelTraining =-  BigQueryModelTraining'-    { _bqmtExpectedTotalIterations :: !(Maybe (Textual Int64))-    , _bqmtCurrentIteration        :: !(Maybe (Textual Int32))-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'BigQueryModelTraining' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'bqmtExpectedTotalIterations'------ * 'bqmtCurrentIteration'-bigQueryModelTraining-    :: BigQueryModelTraining-bigQueryModelTraining =-  BigQueryModelTraining'-    {_bqmtExpectedTotalIterations = Nothing, _bqmtCurrentIteration = Nothing}----- | [Output-only, Beta] Expected number of iterations for the create model--- query job specified as num_iterations in the input query. The actual--- total number of iterations may be less than this number due to early--- stop.-bqmtExpectedTotalIterations :: Lens' BigQueryModelTraining (Maybe Int64)-bqmtExpectedTotalIterations-  = lens _bqmtExpectedTotalIterations-      (\ s a -> s{_bqmtExpectedTotalIterations = a})-      . mapping _Coerce---- | [Output-only, Beta] Index of current ML training iteration. Updated--- during create model query job to show job progress.-bqmtCurrentIteration :: Lens' BigQueryModelTraining (Maybe Int32)-bqmtCurrentIteration-  = lens _bqmtCurrentIteration-      (\ s a -> s{_bqmtCurrentIteration = a})-      . mapping _Coerce--instance FromJSON BigQueryModelTraining where-        parseJSON-          = withObject "BigQueryModelTraining"-              (\ o ->-                 BigQueryModelTraining' <$>-                   (o .:? "expectedTotalIterations") <*>-                     (o .:? "currentIteration"))--instance ToJSON BigQueryModelTraining where-        toJSON BigQueryModelTraining'{..}-          = object-              (catMaybes-                 [("expectedTotalIterations" .=) <$>-                    _bqmtExpectedTotalIterations,-                  ("currentIteration" .=) <$> _bqmtCurrentIteration])------- /See:/ 'jobConfigurationLoad' smart constructor.-data JobConfigurationLoad =-  JobConfigurationLoad'-    { _jclSkipLeadingRows                    :: !(Maybe (Textual Int32))-    , _jclProjectionFields                   :: !(Maybe [Text])-    , _jclDestinationTable                   :: !(Maybe TableReference)-    , _jclWriteDisPosition                   :: !(Maybe Text)-    , _jclAllowJaggedRows                    :: !(Maybe Bool)-    , _jclClustering                         :: !(Maybe Clustering)-    , _jclRangePartitioning                  :: !(Maybe RangePartitioning)-    , _jclSchemaInline                       :: !(Maybe Text)-    , _jclIgnoreUnknownValues                :: !(Maybe Bool)-    , _jclSchemaUpdateOptions                :: !(Maybe [Text])-    , _jclHivePartitioningMode               :: !(Maybe Text)-    , _jclCreateDisPosition                  :: !(Maybe Text)-    , _jclSchemaInlineFormat                 :: !(Maybe Text)-    , _jclAllowQuotedNewlines                :: !(Maybe Bool)-    , _jclSourceFormat                       :: !(Maybe Text)-    , _jclUseAvroLogicalTypes                :: !(Maybe Bool)-    , _jclSchema                             :: !(Maybe TableSchema)-    , _jclTimePartitioning                   :: !(Maybe TimePartitioning)-    , _jclQuote                              :: !(Maybe Text)-    , _jclMaxBadRecords                      :: !(Maybe (Textual Int32))-    , _jclAutodetect                         :: !(Maybe Bool)-    , _jclSourceURIs                         :: !(Maybe [Text])-    , _jclEncoding                           :: !(Maybe Text)-    , _jclDestinationTableProperties         :: !(Maybe DestinationTableProperties)-    , _jclDestinationEncryptionConfiguration :: !(Maybe EncryptionConfiguration)-    , _jclFieldDelimiter                     :: !(Maybe Text)-    , _jclNullMarker                         :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'JobConfigurationLoad' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'jclSkipLeadingRows'------ * 'jclProjectionFields'------ * 'jclDestinationTable'------ * 'jclWriteDisPosition'------ * 'jclAllowJaggedRows'------ * 'jclClustering'------ * 'jclRangePartitioning'------ * 'jclSchemaInline'------ * 'jclIgnoreUnknownValues'------ * 'jclSchemaUpdateOptions'------ * 'jclHivePartitioningMode'------ * 'jclCreateDisPosition'------ * 'jclSchemaInlineFormat'------ * 'jclAllowQuotedNewlines'------ * 'jclSourceFormat'------ * 'jclUseAvroLogicalTypes'------ * 'jclSchema'------ * 'jclTimePartitioning'------ * 'jclQuote'------ * 'jclMaxBadRecords'------ * 'jclAutodetect'------ * 'jclSourceURIs'------ * 'jclEncoding'------ * 'jclDestinationTableProperties'------ * 'jclDestinationEncryptionConfiguration'------ * 'jclFieldDelimiter'------ * 'jclNullMarker'-jobConfigurationLoad-    :: JobConfigurationLoad-jobConfigurationLoad =-  JobConfigurationLoad'-    { _jclSkipLeadingRows = Nothing-    , _jclProjectionFields = Nothing-    , _jclDestinationTable = Nothing-    , _jclWriteDisPosition = Nothing-    , _jclAllowJaggedRows = Nothing-    , _jclClustering = Nothing-    , _jclRangePartitioning = Nothing-    , _jclSchemaInline = Nothing-    , _jclIgnoreUnknownValues = Nothing-    , _jclSchemaUpdateOptions = Nothing-    , _jclHivePartitioningMode = Nothing-    , _jclCreateDisPosition = Nothing-    , _jclSchemaInlineFormat = Nothing-    , _jclAllowQuotedNewlines = Nothing-    , _jclSourceFormat = Nothing-    , _jclUseAvroLogicalTypes = Nothing-    , _jclSchema = Nothing-    , _jclTimePartitioning = Nothing-    , _jclQuote = Nothing-    , _jclMaxBadRecords = Nothing-    , _jclAutodetect = Nothing-    , _jclSourceURIs = Nothing-    , _jclEncoding = Nothing-    , _jclDestinationTableProperties = Nothing-    , _jclDestinationEncryptionConfiguration = Nothing-    , _jclFieldDelimiter = Nothing-    , _jclNullMarker = Nothing-    }----- | [Optional] The number of rows at the top of a CSV file that BigQuery--- will skip when loading the data. The default value is 0. This property--- is useful if you have header rows in the file that should be skipped.-jclSkipLeadingRows :: Lens' JobConfigurationLoad (Maybe Int32)-jclSkipLeadingRows-  = lens _jclSkipLeadingRows-      (\ s a -> s{_jclSkipLeadingRows = a})-      . mapping _Coerce---- | If sourceFormat is set to \"DATASTORE_BACKUP\", indicates which entity--- properties to load into BigQuery from a Cloud Datastore backup. Property--- names are case sensitive and must be top-level properties. If no--- properties are specified, BigQuery loads all properties. If any named--- property isn\'t found in the Cloud Datastore backup, an invalid error is--- returned in the job result.-jclProjectionFields :: Lens' JobConfigurationLoad [Text]-jclProjectionFields-  = lens _jclProjectionFields-      (\ s a -> s{_jclProjectionFields = a})-      . _Default-      . _Coerce---- | [Required] The destination table to load the data into.-jclDestinationTable :: Lens' JobConfigurationLoad (Maybe TableReference)-jclDestinationTable-  = lens _jclDestinationTable-      (\ s a -> s{_jclDestinationTable = a})---- | [Optional] Specifies the action that occurs if the destination table--- already exists. The following values are supported: WRITE_TRUNCATE: If--- the table already exists, BigQuery overwrites the table data.--- WRITE_APPEND: If the table already exists, BigQuery appends the data to--- the table. WRITE_EMPTY: If the table already exists and contains data, a--- \'duplicate\' error is returned in the job result. The default value is--- WRITE_APPEND. Each action is atomic and only occurs if BigQuery is able--- to complete the job successfully. Creation, truncation and append--- actions occur as one atomic update upon job completion.-jclWriteDisPosition :: Lens' JobConfigurationLoad (Maybe Text)-jclWriteDisPosition-  = lens _jclWriteDisPosition-      (\ s a -> s{_jclWriteDisPosition = a})---- | [Optional] Accept rows that are missing trailing optional columns. The--- missing values are treated as nulls. If false, records with missing--- trailing columns are treated as bad records, and if there are too many--- bad records, an invalid error is returned in the job result. The default--- value is false. Only applicable to CSV, ignored for other formats.-jclAllowJaggedRows :: Lens' JobConfigurationLoad (Maybe Bool)-jclAllowJaggedRows-  = lens _jclAllowJaggedRows-      (\ s a -> s{_jclAllowJaggedRows = a})---- | [Beta] Clustering specification for the destination table. Must be--- specified with time-based partitioning, data in the table will be first--- partitioned and subsequently clustered.-jclClustering :: Lens' JobConfigurationLoad (Maybe Clustering)-jclClustering-  = lens _jclClustering-      (\ s a -> s{_jclClustering = a})---- | [TrustedTester] Range partitioning specification for this table. Only--- one of timePartitioning and rangePartitioning should be specified.-jclRangePartitioning :: Lens' JobConfigurationLoad (Maybe RangePartitioning)-jclRangePartitioning-  = lens _jclRangePartitioning-      (\ s a -> s{_jclRangePartitioning = a})---- | [Deprecated] The inline schema. For CSV schemas, specify as--- \"Field1:Type1[,Field2:Type2]*\". For example, \"foo:STRING,--- bar:INTEGER, baz:FLOAT\".-jclSchemaInline :: Lens' JobConfigurationLoad (Maybe Text)-jclSchemaInline-  = lens _jclSchemaInline-      (\ s a -> s{_jclSchemaInline = a})---- | [Optional] Indicates if BigQuery should allow extra values that are not--- represented in the table schema. If true, the extra values are ignored.--- If false, records with extra columns are treated as bad records, and if--- there are too many bad records, an invalid error is returned in the job--- result. The default value is false. The sourceFormat property determines--- what BigQuery treats as an extra value: CSV: Trailing columns JSON:--- Named values that don\'t match any column names-jclIgnoreUnknownValues :: Lens' JobConfigurationLoad (Maybe Bool)-jclIgnoreUnknownValues-  = lens _jclIgnoreUnknownValues-      (\ s a -> s{_jclIgnoreUnknownValues = a})---- | Allows the schema of the destination table to be updated as a side--- effect of the load job if a schema is autodetected or supplied in the--- job configuration. Schema update options are supported in two cases:--- when writeDisposition is WRITE_APPEND; when writeDisposition is--- WRITE_TRUNCATE and the destination table is a partition of a table,--- specified by partition decorators. For normal tables, WRITE_TRUNCATE--- will always overwrite the schema. One or more of the following values--- are specified: ALLOW_FIELD_ADDITION: allow adding a nullable field to--- the schema. ALLOW_FIELD_RELAXATION: allow relaxing a required field in--- the original schema to nullable.-jclSchemaUpdateOptions :: Lens' JobConfigurationLoad [Text]-jclSchemaUpdateOptions-  = lens _jclSchemaUpdateOptions-      (\ s a -> s{_jclSchemaUpdateOptions = a})-      . _Default-      . _Coerce---- | [Optional, Experimental] If hive partitioning is enabled, which mode to--- use. Two modes are supported: - AUTO: automatically infer partition key--- name(s) and type(s). - STRINGS: automatic infer partition key name(s).--- All types are strings. Not all storage formats support hive partitioning--- -- requesting hive partitioning on an unsupported format will lead to an--- error.-jclHivePartitioningMode :: Lens' JobConfigurationLoad (Maybe Text)-jclHivePartitioningMode-  = lens _jclHivePartitioningMode-      (\ s a -> s{_jclHivePartitioningMode = a})---- | [Optional] Specifies whether the job is allowed to create new tables.--- The following values are supported: CREATE_IF_NEEDED: If the table does--- not exist, BigQuery creates the table. CREATE_NEVER: The table must--- already exist. If it does not, a \'notFound\' error is returned in the--- job result. The default value is CREATE_IF_NEEDED. Creation, truncation--- and append actions occur as one atomic update upon job completion.-jclCreateDisPosition :: Lens' JobConfigurationLoad (Maybe Text)-jclCreateDisPosition-  = lens _jclCreateDisPosition-      (\ s a -> s{_jclCreateDisPosition = a})---- | [Deprecated] The format of the schemaInline property.-jclSchemaInlineFormat :: Lens' JobConfigurationLoad (Maybe Text)-jclSchemaInlineFormat-  = lens _jclSchemaInlineFormat-      (\ s a -> s{_jclSchemaInlineFormat = a})---- | Indicates if BigQuery should allow quoted data sections that contain--- newline characters in a CSV file. The default value is false.-jclAllowQuotedNewlines :: Lens' JobConfigurationLoad (Maybe Bool)-jclAllowQuotedNewlines-  = lens _jclAllowQuotedNewlines-      (\ s a -> s{_jclAllowQuotedNewlines = a})---- | [Optional] The format of the data files. For CSV files, specify \"CSV\".--- For datastore backups, specify \"DATASTORE_BACKUP\". For--- newline-delimited JSON, specify \"NEWLINE_DELIMITED_JSON\". For Avro,--- specify \"AVRO\". For parquet, specify \"PARQUET\". For orc, specify--- \"ORC\". The default value is CSV.-jclSourceFormat :: Lens' JobConfigurationLoad (Maybe Text)-jclSourceFormat-  = lens _jclSourceFormat-      (\ s a -> s{_jclSourceFormat = a})---- | [Optional] If sourceFormat is set to \"AVRO\", indicates whether to--- enable interpreting logical types into their corresponding types (ie.--- TIMESTAMP), instead of only using their raw types (ie. INTEGER).-jclUseAvroLogicalTypes :: Lens' JobConfigurationLoad (Maybe Bool)-jclUseAvroLogicalTypes-  = lens _jclUseAvroLogicalTypes-      (\ s a -> s{_jclUseAvroLogicalTypes = a})---- | [Optional] The schema for the destination table. The schema can be--- omitted if the destination table already exists, or if you\'re loading--- data from Google Cloud Datastore.-jclSchema :: Lens' JobConfigurationLoad (Maybe TableSchema)-jclSchema-  = lens _jclSchema (\ s a -> s{_jclSchema = a})---- | Time-based partitioning specification for the destination table. Only--- one of timePartitioning and rangePartitioning should be specified.-jclTimePartitioning :: Lens' JobConfigurationLoad (Maybe TimePartitioning)-jclTimePartitioning-  = lens _jclTimePartitioning-      (\ s a -> s{_jclTimePartitioning = a})---- | [Optional] The value that is used to quote data sections in a CSV file.--- BigQuery converts the string to ISO-8859-1 encoding, and then uses the--- first byte of the encoded string to split the data in its raw, binary--- state. The default value is a double-quote (\'\"\'). If your data does--- not contain quoted sections, set the property value to an empty string.--- If your data contains quoted newline characters, you must also set the--- allowQuotedNewlines property to true.-jclQuote :: Lens' JobConfigurationLoad (Maybe Text)-jclQuote = lens _jclQuote (\ s a -> s{_jclQuote = a})---- | [Optional] The maximum number of bad records that BigQuery can ignore--- when running the job. If the number of bad records exceeds this value,--- an invalid error is returned in the job result. This is only valid for--- CSV and JSON. The default value is 0, which requires that all records--- are valid.-jclMaxBadRecords :: Lens' JobConfigurationLoad (Maybe Int32)-jclMaxBadRecords-  = lens _jclMaxBadRecords-      (\ s a -> s{_jclMaxBadRecords = a})-      . mapping _Coerce---- | [Optional] Indicates if we should automatically infer the options and--- schema for CSV and JSON sources.-jclAutodetect :: Lens' JobConfigurationLoad (Maybe Bool)-jclAutodetect-  = lens _jclAutodetect-      (\ s a -> s{_jclAutodetect = a})---- | [Required] The fully-qualified URIs that point to your data in Google--- Cloud. For Google Cloud Storage URIs: Each URI can contain one \'*\'--- wildcard character and it must come after the \'bucket\' name. Size--- limits related to load jobs apply to external data sources. For Google--- Cloud Bigtable URIs: Exactly one URI can be specified and it has be a--- fully specified and valid HTTPS URL for a Google Cloud Bigtable table.--- For Google Cloud Datastore backups: Exactly one URI can be specified.--- Also, the \'*\' wildcard character is not allowed.-jclSourceURIs :: Lens' JobConfigurationLoad [Text]-jclSourceURIs-  = lens _jclSourceURIs-      (\ s a -> s{_jclSourceURIs = a})-      . _Default-      . _Coerce---- | [Optional] The character encoding of the data. The supported values are--- UTF-8 or ISO-8859-1. The default value is UTF-8. BigQuery decodes the--- data after the raw, binary data has been split using the values of the--- quote and fieldDelimiter properties.-jclEncoding :: Lens' JobConfigurationLoad (Maybe Text)-jclEncoding-  = lens _jclEncoding (\ s a -> s{_jclEncoding = a})---- | [Beta] [Optional] Properties with which to create the destination table--- if it is new.-jclDestinationTableProperties :: Lens' JobConfigurationLoad (Maybe DestinationTableProperties)-jclDestinationTableProperties-  = lens _jclDestinationTableProperties-      (\ s a -> s{_jclDestinationTableProperties = a})---- | Custom encryption configuration (e.g., Cloud KMS keys).-jclDestinationEncryptionConfiguration :: Lens' JobConfigurationLoad (Maybe EncryptionConfiguration)-jclDestinationEncryptionConfiguration-  = lens _jclDestinationEncryptionConfiguration-      (\ s a ->-         s{_jclDestinationEncryptionConfiguration = a})---- | [Optional] The separator for fields in a CSV file. The separator can be--- any ISO-8859-1 single-byte character. To use a character in the range--- 128-255, you must encode the character as UTF8. BigQuery converts the--- string to ISO-8859-1 encoding, and then uses the first byte of the--- encoded string to split the data in its raw, binary state. BigQuery also--- supports the escape sequence \"\\t\" to specify a tab separator. The--- default value is a comma (\',\').-jclFieldDelimiter :: Lens' JobConfigurationLoad (Maybe Text)-jclFieldDelimiter-  = lens _jclFieldDelimiter-      (\ s a -> s{_jclFieldDelimiter = a})---- | [Optional] Specifies a string that represents a null value in a CSV--- file. For example, if you specify \"\\N\", BigQuery interprets \"\\N\"--- as a null value when loading a CSV file. The default value is the empty--- string. If you set this property to a custom value, BigQuery throws an--- error if an empty string is present for all data types except for STRING--- and BYTE. For STRING and BYTE columns, BigQuery interprets the empty--- string as an empty value.-jclNullMarker :: Lens' JobConfigurationLoad (Maybe Text)-jclNullMarker-  = lens _jclNullMarker-      (\ s a -> s{_jclNullMarker = a})--instance FromJSON JobConfigurationLoad where-        parseJSON-          = withObject "JobConfigurationLoad"-              (\ o ->-                 JobConfigurationLoad' <$>-                   (o .:? "skipLeadingRows") <*>-                     (o .:? "projectionFields" .!= mempty)-                     <*> (o .:? "destinationTable")-                     <*> (o .:? "writeDisposition")-                     <*> (o .:? "allowJaggedRows")-                     <*> (o .:? "clustering")-                     <*> (o .:? "rangePartitioning")-                     <*> (o .:? "schemaInline")-                     <*> (o .:? "ignoreUnknownValues")-                     <*> (o .:? "schemaUpdateOptions" .!= mempty)-                     <*> (o .:? "hivePartitioningMode")-                     <*> (o .:? "createDisposition")-                     <*> (o .:? "schemaInlineFormat")-                     <*> (o .:? "allowQuotedNewlines")-                     <*> (o .:? "sourceFormat")-                     <*> (o .:? "useAvroLogicalTypes")-                     <*> (o .:? "schema")-                     <*> (o .:? "timePartitioning")-                     <*> (o .:? "quote")-                     <*> (o .:? "maxBadRecords")-                     <*> (o .:? "autodetect")-                     <*> (o .:? "sourceUris" .!= mempty)-                     <*> (o .:? "encoding")-                     <*> (o .:? "destinationTableProperties")-                     <*> (o .:? "destinationEncryptionConfiguration")-                     <*> (o .:? "fieldDelimiter")-                     <*> (o .:? "nullMarker"))--instance ToJSON JobConfigurationLoad where-        toJSON JobConfigurationLoad'{..}-          = object-              (catMaybes-                 [("skipLeadingRows" .=) <$> _jclSkipLeadingRows,-                  ("projectionFields" .=) <$> _jclProjectionFields,-                  ("destinationTable" .=) <$> _jclDestinationTable,-                  ("writeDisposition" .=) <$> _jclWriteDisPosition,-                  ("allowJaggedRows" .=) <$> _jclAllowJaggedRows,-                  ("clustering" .=) <$> _jclClustering,-                  ("rangePartitioning" .=) <$> _jclRangePartitioning,-                  ("schemaInline" .=) <$> _jclSchemaInline,-                  ("ignoreUnknownValues" .=) <$>-                    _jclIgnoreUnknownValues,-                  ("schemaUpdateOptions" .=) <$>-                    _jclSchemaUpdateOptions,-                  ("hivePartitioningMode" .=) <$>-                    _jclHivePartitioningMode,-                  ("createDisposition" .=) <$> _jclCreateDisPosition,-                  ("schemaInlineFormat" .=) <$> _jclSchemaInlineFormat,-                  ("allowQuotedNewlines" .=) <$>-                    _jclAllowQuotedNewlines,-                  ("sourceFormat" .=) <$> _jclSourceFormat,-                  ("useAvroLogicalTypes" .=) <$>-                    _jclUseAvroLogicalTypes,-                  ("schema" .=) <$> _jclSchema,-                  ("timePartitioning" .=) <$> _jclTimePartitioning,-                  ("quote" .=) <$> _jclQuote,-                  ("maxBadRecords" .=) <$> _jclMaxBadRecords,-                  ("autodetect" .=) <$> _jclAutodetect,-                  ("sourceUris" .=) <$> _jclSourceURIs,-                  ("encoding" .=) <$> _jclEncoding,-                  ("destinationTableProperties" .=) <$>-                    _jclDestinationTableProperties,-                  ("destinationEncryptionConfiguration" .=) <$>-                    _jclDestinationEncryptionConfiguration,-                  ("fieldDelimiter" .=) <$> _jclFieldDelimiter,-                  ("nullMarker" .=) <$> _jclNullMarker])------- /See:/ 'dataSetReference' smart constructor.-data DataSetReference =-  DataSetReference'-    { _dsrDataSetId :: !(Maybe Text)-    , _dsrProjectId :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'DataSetReference' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dsrDataSetId'------ * 'dsrProjectId'-dataSetReference-    :: DataSetReference-dataSetReference =-  DataSetReference' {_dsrDataSetId = Nothing, _dsrProjectId = Nothing}----- | [Required] A unique ID for this dataset, without the project name. The--- ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores--- (_). The maximum length is 1,024 characters.-dsrDataSetId :: Lens' DataSetReference (Maybe Text)-dsrDataSetId-  = lens _dsrDataSetId (\ s a -> s{_dsrDataSetId = a})---- | [Optional] The ID of the project containing this dataset.-dsrProjectId :: Lens' DataSetReference (Maybe Text)-dsrProjectId-  = lens _dsrProjectId (\ s a -> s{_dsrProjectId = a})--instance FromJSON DataSetReference where-        parseJSON-          = withObject "DataSetReference"-              (\ o ->-                 DataSetReference' <$>-                   (o .:? "datasetId") <*> (o .:? "projectId"))--instance ToJSON DataSetReference where-        toJSON DataSetReference'{..}-          = object-              (catMaybes-                 [("datasetId" .=) <$> _dsrDataSetId,-                  ("projectId" .=) <$> _dsrProjectId])------- /See:/ 'materializedViewDefinition' smart constructor.-data MaterializedViewDefinition =-  MaterializedViewDefinition'-    { _mvdQuery           :: !(Maybe Text)-    , _mvdLastRefreshTime :: !(Maybe (Textual Int64))-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'MaterializedViewDefinition' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'mvdQuery'------ * 'mvdLastRefreshTime'-materializedViewDefinition-    :: MaterializedViewDefinition-materializedViewDefinition =-  MaterializedViewDefinition'-    {_mvdQuery = Nothing, _mvdLastRefreshTime = Nothing}----- | [Required] A query whose result is persisted.-mvdQuery :: Lens' MaterializedViewDefinition (Maybe Text)-mvdQuery = lens _mvdQuery (\ s a -> s{_mvdQuery = a})---- | [Output-only] [TrustedTester] The time when this materialized view was--- last modified, in milliseconds since the epoch.-mvdLastRefreshTime :: Lens' MaterializedViewDefinition (Maybe Int64)-mvdLastRefreshTime-  = lens _mvdLastRefreshTime-      (\ s a -> s{_mvdLastRefreshTime = a})-      . mapping _Coerce--instance FromJSON MaterializedViewDefinition where-        parseJSON-          = withObject "MaterializedViewDefinition"-              (\ o ->-                 MaterializedViewDefinition' <$>-                   (o .:? "query") <*> (o .:? "lastRefreshTime"))--instance ToJSON MaterializedViewDefinition where-        toJSON MaterializedViewDefinition'{..}-          = object-              (catMaybes-                 [("query" .=) <$> _mvdQuery,-                  ("lastRefreshTime" .=) <$> _mvdLastRefreshTime])------- /See:/ 'tableDataInsertAllRequest' smart constructor.-data TableDataInsertAllRequest =-  TableDataInsertAllRequest'-    { _tdiarKind                :: !Text-    , _tdiarIgnoreUnknownValues :: !(Maybe Bool)-    , _tdiarRows                :: !(Maybe [TableDataInsertAllRequestRowsItem])-    , _tdiarTemplateSuffix      :: !(Maybe Text)-    , _tdiarSkipInvalidRows     :: !(Maybe Bool)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'TableDataInsertAllRequest' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'tdiarKind'------ * 'tdiarIgnoreUnknownValues'------ * 'tdiarRows'------ * 'tdiarTemplateSuffix'------ * 'tdiarSkipInvalidRows'-tableDataInsertAllRequest-    :: TableDataInsertAllRequest-tableDataInsertAllRequest =-  TableDataInsertAllRequest'-    { _tdiarKind = "bigquery#tableDataInsertAllRequest"-    , _tdiarIgnoreUnknownValues = Nothing-    , _tdiarRows = Nothing-    , _tdiarTemplateSuffix = Nothing-    , _tdiarSkipInvalidRows = Nothing-    }----- | The resource type of the response.-tdiarKind :: Lens' TableDataInsertAllRequest Text-tdiarKind-  = lens _tdiarKind (\ s a -> s{_tdiarKind = a})---- | [Optional] Accept rows that contain values that do not match the schema.--- The unknown values are ignored. Default is false, which treats unknown--- values as errors.-tdiarIgnoreUnknownValues :: Lens' TableDataInsertAllRequest (Maybe Bool)-tdiarIgnoreUnknownValues-  = lens _tdiarIgnoreUnknownValues-      (\ s a -> s{_tdiarIgnoreUnknownValues = a})---- | The rows to insert.-tdiarRows :: Lens' TableDataInsertAllRequest [TableDataInsertAllRequestRowsItem]-tdiarRows-  = lens _tdiarRows (\ s a -> s{_tdiarRows = a}) .-      _Default-      . _Coerce---- | If specified, treats the destination table as a base template, and--- inserts the rows into an instance table named--- \"{destination}{templateSuffix}\". BigQuery will manage creation of the--- instance table, using the schema of the base template table. See--- https:\/\/cloud.google.com\/bigquery\/streaming-data-into-bigquery#template-tables--- for considerations when working with templates tables.-tdiarTemplateSuffix :: Lens' TableDataInsertAllRequest (Maybe Text)-tdiarTemplateSuffix-  = lens _tdiarTemplateSuffix-      (\ s a -> s{_tdiarTemplateSuffix = a})---- | [Optional] Insert all valid rows of a request, even if invalid rows--- exist. The default value is false, which causes the entire request to--- fail if any invalid rows exist.-tdiarSkipInvalidRows :: Lens' TableDataInsertAllRequest (Maybe Bool)-tdiarSkipInvalidRows-  = lens _tdiarSkipInvalidRows-      (\ s a -> s{_tdiarSkipInvalidRows = a})--instance FromJSON TableDataInsertAllRequest where-        parseJSON-          = withObject "TableDataInsertAllRequest"-              (\ o ->-                 TableDataInsertAllRequest' <$>-                   (o .:? "kind" .!=-                      "bigquery#tableDataInsertAllRequest")-                     <*> (o .:? "ignoreUnknownValues")-                     <*> (o .:? "rows" .!= mempty)-                     <*> (o .:? "templateSuffix")-                     <*> (o .:? "skipInvalidRows"))--instance ToJSON TableDataInsertAllRequest where-        toJSON TableDataInsertAllRequest'{..}-          = object-              (catMaybes-                 [Just ("kind" .= _tdiarKind),-                  ("ignoreUnknownValues" .=) <$>-                    _tdiarIgnoreUnknownValues,-                  ("rows" .=) <$> _tdiarRows,-                  ("templateSuffix" .=) <$> _tdiarTemplateSuffix,-                  ("skipInvalidRows" .=) <$> _tdiarSkipInvalidRows])------- /See:/ 'getServiceAccountResponse' smart constructor.-data GetServiceAccountResponse =-  GetServiceAccountResponse'-    { _gsarEmail :: !(Maybe Text)-    , _gsarKind  :: !Text-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GetServiceAccountResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gsarEmail'------ * 'gsarKind'-getServiceAccountResponse-    :: GetServiceAccountResponse-getServiceAccountResponse =-  GetServiceAccountResponse'-    {_gsarEmail = Nothing, _gsarKind = "bigquery#getServiceAccountResponse"}----- | The service account email address.-gsarEmail :: Lens' GetServiceAccountResponse (Maybe Text)-gsarEmail-  = lens _gsarEmail (\ s a -> s{_gsarEmail = a})---- | The resource type of the response.-gsarKind :: Lens' GetServiceAccountResponse Text-gsarKind = lens _gsarKind (\ s a -> s{_gsarKind = a})--instance FromJSON GetServiceAccountResponse where-        parseJSON-          = withObject "GetServiceAccountResponse"-              (\ o ->-                 GetServiceAccountResponse' <$>-                   (o .:? "email") <*>-                     (o .:? "kind" .!=-                        "bigquery#getServiceAccountResponse"))--instance ToJSON GetServiceAccountResponse where-        toJSON GetServiceAccountResponse'{..}-          = object-              (catMaybes-                 [("email" .=) <$> _gsarEmail,-                  Just ("kind" .= _gsarKind)])------- /See:/ 'projectListProjectsItem' smart constructor.-data ProjectListProjectsItem =-  ProjectListProjectsItem'-    { _plpiFriendlyName     :: !(Maybe Text)-    , _plpiKind             :: !Text-    , _plpiProjectReference :: !(Maybe ProjectReference)-    , _plpiId               :: !(Maybe Text)-    , _plpiNumericId        :: !(Maybe (Textual Word64))-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectListProjectsItem' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'plpiFriendlyName'------ * 'plpiKind'------ * 'plpiProjectReference'------ * 'plpiId'------ * 'plpiNumericId'-projectListProjectsItem-    :: ProjectListProjectsItem-projectListProjectsItem =-  ProjectListProjectsItem'-    { _plpiFriendlyName = Nothing-    , _plpiKind = "bigquery#project"-    , _plpiProjectReference = Nothing-    , _plpiId = Nothing-    , _plpiNumericId = Nothing-    }----- | A descriptive name for this project.-plpiFriendlyName :: Lens' ProjectListProjectsItem (Maybe Text)-plpiFriendlyName-  = lens _plpiFriendlyName-      (\ s a -> s{_plpiFriendlyName = a})---- | The resource type.-plpiKind :: Lens' ProjectListProjectsItem Text-plpiKind = lens _plpiKind (\ s a -> s{_plpiKind = a})---- | A unique reference to this project.-plpiProjectReference :: Lens' ProjectListProjectsItem (Maybe ProjectReference)-plpiProjectReference-  = lens _plpiProjectReference-      (\ s a -> s{_plpiProjectReference = a})---- | An opaque ID of this project.-plpiId :: Lens' ProjectListProjectsItem (Maybe Text)-plpiId = lens _plpiId (\ s a -> s{_plpiId = a})---- | The numeric ID of this project.-plpiNumericId :: Lens' ProjectListProjectsItem (Maybe Word64)-plpiNumericId-  = lens _plpiNumericId-      (\ s a -> s{_plpiNumericId = a})-      . mapping _Coerce--instance FromJSON ProjectListProjectsItem where-        parseJSON-          = withObject "ProjectListProjectsItem"-              (\ o ->-                 ProjectListProjectsItem' <$>-                   (o .:? "friendlyName") <*>-                     (o .:? "kind" .!= "bigquery#project")-                     <*> (o .:? "projectReference")-                     <*> (o .:? "id")-                     <*> (o .:? "numericId"))--instance ToJSON ProjectListProjectsItem where-        toJSON ProjectListProjectsItem'{..}-          = object-              (catMaybes-                 [("friendlyName" .=) <$> _plpiFriendlyName,-                  Just ("kind" .= _plpiKind),-                  ("projectReference" .=) <$> _plpiProjectReference,-                  ("id" .=) <$> _plpiId,-                  ("numericId" .=) <$> _plpiNumericId])------- /See:/ 'bqmlIterationResult' smart constructor.-data BqmlIterationResult =-  BqmlIterationResult'-    { _birDurationMs   :: !(Maybe (Textual Int64))-    , _birLearnRate    :: !(Maybe (Textual Double))-    , _birEvalLoss     :: !(Maybe (Textual Double))-    , _birTrainingLoss :: !(Maybe (Textual Double))-    , _birIndex        :: !(Maybe (Textual Int32))-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'BqmlIterationResult' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'birDurationMs'------ * 'birLearnRate'------ * 'birEvalLoss'------ * 'birTrainingLoss'------ * 'birIndex'-bqmlIterationResult-    :: BqmlIterationResult-bqmlIterationResult =-  BqmlIterationResult'-    { _birDurationMs = Nothing-    , _birLearnRate = Nothing-    , _birEvalLoss = Nothing-    , _birTrainingLoss = Nothing-    , _birIndex = Nothing-    }----- | [Output-only, Beta] Time taken to run the training iteration in--- milliseconds.-birDurationMs :: Lens' BqmlIterationResult (Maybe Int64)-birDurationMs-  = lens _birDurationMs-      (\ s a -> s{_birDurationMs = a})-      . mapping _Coerce---- | [Output-only, Beta] Learning rate used for this iteration, it varies for--- different training iterations if learn_rate_strategy option is not--- constant.-birLearnRate :: Lens' BqmlIterationResult (Maybe Double)-birLearnRate-  = lens _birLearnRate (\ s a -> s{_birLearnRate = a})-      . mapping _Coerce---- | [Output-only, Beta] Eval loss computed on the eval data at the end of--- the iteration. The eval loss is used for early stopping to avoid--- overfitting. No eval loss if eval_split_method option is specified as--- no_split or auto_split with input data size less than 500 rows.-birEvalLoss :: Lens' BqmlIterationResult (Maybe Double)-birEvalLoss-  = lens _birEvalLoss (\ s a -> s{_birEvalLoss = a}) .-      mapping _Coerce---- | [Output-only, Beta] Training loss computed on the training data at the--- end of the iteration. The training loss function is defined by model--- type.-birTrainingLoss :: Lens' BqmlIterationResult (Maybe Double)-birTrainingLoss-  = lens _birTrainingLoss-      (\ s a -> s{_birTrainingLoss = a})-      . mapping _Coerce---- | [Output-only, Beta] Index of the ML training iteration, starting from--- zero for each training run.-birIndex :: Lens' BqmlIterationResult (Maybe Int32)-birIndex-  = lens _birIndex (\ s a -> s{_birIndex = a}) .-      mapping _Coerce--instance FromJSON BqmlIterationResult where-        parseJSON-          = withObject "BqmlIterationResult"-              (\ o ->-                 BqmlIterationResult' <$>-                   (o .:? "durationMs") <*> (o .:? "learnRate") <*>-                     (o .:? "evalLoss")-                     <*> (o .:? "trainingLoss")-                     <*> (o .:? "index"))--instance ToJSON BqmlIterationResult where-        toJSON BqmlIterationResult'{..}-          = object-              (catMaybes-                 [("durationMs" .=) <$> _birDurationMs,-                  ("learnRate" .=) <$> _birLearnRate,-                  ("evalLoss" .=) <$> _birEvalLoss,-                  ("trainingLoss" .=) <$> _birTrainingLoss,-                  ("index" .=) <$> _birIndex])------- /See:/ 'bigtableColumn' smart constructor.-data BigtableColumn =-  BigtableColumn'-    { _bcQualifierEncoded :: !(Maybe Bytes)-    , _bcFieldName        :: !(Maybe Text)-    , _bcQualifierString  :: !(Maybe Text)-    , _bcOnlyReadLatest   :: !(Maybe Bool)-    , _bcType             :: !(Maybe Text)-    , _bcEncoding         :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'BigtableColumn' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'bcQualifierEncoded'------ * 'bcFieldName'------ * 'bcQualifierString'------ * 'bcOnlyReadLatest'------ * 'bcType'------ * 'bcEncoding'-bigtableColumn-    :: BigtableColumn-bigtableColumn =-  BigtableColumn'-    { _bcQualifierEncoded = Nothing-    , _bcFieldName = Nothing-    , _bcQualifierString = Nothing-    , _bcOnlyReadLatest = Nothing-    , _bcType = Nothing-    , _bcEncoding = Nothing-    }----- | [Required] Qualifier of the column. Columns in the parent column family--- that has this exact qualifier are exposed as . field. If the qualifier--- is valid UTF-8 string, it can be specified in the qualifier_string--- field. Otherwise, a base-64 encoded value must be set to--- qualifier_encoded. The column field name is the same as the column--- qualifier. However, if the qualifier is not a valid BigQuery field--- identifier i.e. does not match [a-zA-Z][a-zA-Z0-9_]*, a valid identifier--- must be provided as field_name.-bcQualifierEncoded :: Lens' BigtableColumn (Maybe ByteString)-bcQualifierEncoded-  = lens _bcQualifierEncoded-      (\ s a -> s{_bcQualifierEncoded = a})-      . mapping _Bytes---- | [Optional] If the qualifier is not a valid BigQuery field identifier--- i.e. does not match [a-zA-Z][a-zA-Z0-9_]*, a valid identifier must be--- provided as the column field name and is used as field name in queries.-bcFieldName :: Lens' BigtableColumn (Maybe Text)-bcFieldName-  = lens _bcFieldName (\ s a -> s{_bcFieldName = a})--bcQualifierString :: Lens' BigtableColumn (Maybe Text)-bcQualifierString-  = lens _bcQualifierString-      (\ s a -> s{_bcQualifierString = a})---- | [Optional] If this is set, only the latest version of value in this--- column are exposed. \'onlyReadLatest\' can also be set at the column--- family level. However, the setting at this level takes precedence if--- \'onlyReadLatest\' is set at both levels.-bcOnlyReadLatest :: Lens' BigtableColumn (Maybe Bool)-bcOnlyReadLatest-  = lens _bcOnlyReadLatest-      (\ s a -> s{_bcOnlyReadLatest = a})---- | [Optional] The type to convert the value in cells of this column. The--- values are expected to be encoded using HBase Bytes.toBytes function--- when using the BINARY encoding value. Following BigQuery types are--- allowed (case-sensitive) - BYTES STRING INTEGER FLOAT BOOLEAN Default--- type is BYTES. \'type\' can also be set at the column family level.--- However, the setting at this level takes precedence if \'type\' is set--- at both levels.-bcType :: Lens' BigtableColumn (Maybe Text)-bcType = lens _bcType (\ s a -> s{_bcType = a})---- | [Optional] The encoding of the values when the type is not STRING.--- Acceptable encoding values are: TEXT - indicates values are alphanumeric--- text strings. BINARY - indicates values are encoded using HBase--- Bytes.toBytes family of functions. \'encoding\' can also be set at the--- column family level. However, the setting at this level takes precedence--- if \'encoding\' is set at both levels.-bcEncoding :: Lens' BigtableColumn (Maybe Text)-bcEncoding-  = lens _bcEncoding (\ s a -> s{_bcEncoding = a})--instance FromJSON BigtableColumn where-        parseJSON-          = withObject "BigtableColumn"-              (\ o ->-                 BigtableColumn' <$>-                   (o .:? "qualifierEncoded") <*> (o .:? "fieldName")-                     <*> (o .:? "qualifierString")-                     <*> (o .:? "onlyReadLatest")-                     <*> (o .:? "type")-                     <*> (o .:? "encoding"))--instance ToJSON BigtableColumn where-        toJSON BigtableColumn'{..}-          = object-              (catMaybes-                 [("qualifierEncoded" .=) <$> _bcQualifierEncoded,-                  ("fieldName" .=) <$> _bcFieldName,-                  ("qualifierString" .=) <$> _bcQualifierString,-                  ("onlyReadLatest" .=) <$> _bcOnlyReadLatest,-                  ("type" .=) <$> _bcType,-                  ("encoding" .=) <$> _bcEncoding])------- /See:/ 'streamingbuffer' smart constructor.-data Streamingbuffer =-  Streamingbuffer'-    { _sEstimatedBytes  :: !(Maybe (Textual Word64))-    , _sOldestEntryTime :: !(Maybe (Textual Word64))-    , _sEstimatedRows   :: !(Maybe (Textual Word64))-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'Streamingbuffer' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'sEstimatedBytes'------ * 'sOldestEntryTime'------ * 'sEstimatedRows'-streamingbuffer-    :: Streamingbuffer-streamingbuffer =-  Streamingbuffer'-    { _sEstimatedBytes = Nothing-    , _sOldestEntryTime = Nothing-    , _sEstimatedRows = Nothing-    }----- | [Output-only] A lower-bound estimate of the number of bytes currently in--- the streaming buffer.-sEstimatedBytes :: Lens' Streamingbuffer (Maybe Word64)-sEstimatedBytes-  = lens _sEstimatedBytes-      (\ s a -> s{_sEstimatedBytes = a})-      . mapping _Coerce---- | [Output-only] Contains the timestamp of the oldest entry in the--- streaming buffer, in milliseconds since the epoch, if the streaming--- buffer is available.-sOldestEntryTime :: Lens' Streamingbuffer (Maybe Word64)-sOldestEntryTime-  = lens _sOldestEntryTime-      (\ s a -> s{_sOldestEntryTime = a})-      . mapping _Coerce---- | [Output-only] A lower-bound estimate of the number of rows currently in--- the streaming buffer.-sEstimatedRows :: Lens' Streamingbuffer (Maybe Word64)-sEstimatedRows-  = lens _sEstimatedRows-      (\ s a -> s{_sEstimatedRows = a})-      . mapping _Coerce--instance FromJSON Streamingbuffer where-        parseJSON-          = withObject "Streamingbuffer"-              (\ o ->-                 Streamingbuffer' <$>-                   (o .:? "estimatedBytes") <*>-                     (o .:? "oldestEntryTime")-                     <*> (o .:? "estimatedRows"))--instance ToJSON Streamingbuffer where-        toJSON Streamingbuffer'{..}-          = object-              (catMaybes-                 [("estimatedBytes" .=) <$> _sEstimatedBytes,-                  ("oldestEntryTime" .=) <$> _sOldestEntryTime,-                  ("estimatedRows" .=) <$> _sEstimatedRows])------- /See:/ 'tableRow' smart constructor.-newtype TableRow =-  TableRow'-    { _trF :: Maybe [TableCell]-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'TableRow' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'trF'-tableRow-    :: TableRow-tableRow = TableRow' {_trF = Nothing}----- | Represents a single row in the result set, consisting of one or more--- fields.-trF :: Lens' TableRow [TableCell]-trF-  = lens _trF (\ s a -> s{_trF = a}) . _Default .-      _Coerce--instance FromJSON TableRow where-        parseJSON-          = withObject "TableRow"-              (\ o -> TableRow' <$> (o .:? "f" .!= mempty))--instance ToJSON TableRow where-        toJSON TableRow'{..}-          = object (catMaybes [("f" .=) <$> _trF])------- /See:/ 'jobListJobsItem' smart constructor.-data JobListJobsItem =-  JobListJobsItem'-    { _jljiJobReference  :: !(Maybe JobReference)-    , _jljiStatus        :: !(Maybe JobStatus)-    , _jljiState         :: !(Maybe Text)-    , _jljiUserEmail     :: !(Maybe Text)-    , _jljiKind          :: !Text-    , _jljiErrorResult   :: !(Maybe ErrorProto)-    , _jljiId            :: !(Maybe Text)-    , _jljiStatistics    :: !(Maybe JobStatistics)-    , _jljiConfiguration :: !(Maybe JobConfiguration)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'JobListJobsItem' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'jljiJobReference'------ * 'jljiStatus'------ * 'jljiState'------ * 'jljiUserEmail'------ * 'jljiKind'------ * 'jljiErrorResult'------ * 'jljiId'------ * 'jljiStatistics'------ * 'jljiConfiguration'-jobListJobsItem-    :: JobListJobsItem-jobListJobsItem =-  JobListJobsItem'-    { _jljiJobReference = Nothing-    , _jljiStatus = Nothing-    , _jljiState = Nothing-    , _jljiUserEmail = Nothing-    , _jljiKind = "bigquery#job"-    , _jljiErrorResult = Nothing-    , _jljiId = Nothing-    , _jljiStatistics = Nothing-    , _jljiConfiguration = Nothing-    }----- | Job reference uniquely identifying the job.-jljiJobReference :: Lens' JobListJobsItem (Maybe JobReference)-jljiJobReference-  = lens _jljiJobReference-      (\ s a -> s{_jljiJobReference = a})---- | [Full-projection-only] Describes the state of the job.-jljiStatus :: Lens' JobListJobsItem (Maybe JobStatus)-jljiStatus-  = lens _jljiStatus (\ s a -> s{_jljiStatus = a})---- | Running state of the job. When the state is DONE, errorResult can be--- checked to determine whether the job succeeded or failed.-jljiState :: Lens' JobListJobsItem (Maybe Text)-jljiState-  = lens _jljiState (\ s a -> s{_jljiState = a})---- | [Full-projection-only] Email address of the user who ran the job.-jljiUserEmail :: Lens' JobListJobsItem (Maybe Text)-jljiUserEmail-  = lens _jljiUserEmail-      (\ s a -> s{_jljiUserEmail = a})---- | The resource type.-jljiKind :: Lens' JobListJobsItem Text-jljiKind = lens _jljiKind (\ s a -> s{_jljiKind = a})---- | A result object that will be present only if the job has failed.-jljiErrorResult :: Lens' JobListJobsItem (Maybe ErrorProto)-jljiErrorResult-  = lens _jljiErrorResult-      (\ s a -> s{_jljiErrorResult = a})---- | Unique opaque ID of the job.-jljiId :: Lens' JobListJobsItem (Maybe Text)-jljiId = lens _jljiId (\ s a -> s{_jljiId = a})---- | [Output-only] Information about the job, including starting time and--- ending time of the job.-jljiStatistics :: Lens' JobListJobsItem (Maybe JobStatistics)-jljiStatistics-  = lens _jljiStatistics-      (\ s a -> s{_jljiStatistics = a})---- | [Full-projection-only] Specifies the job configuration.-jljiConfiguration :: Lens' JobListJobsItem (Maybe JobConfiguration)-jljiConfiguration-  = lens _jljiConfiguration-      (\ s a -> s{_jljiConfiguration = a})--instance FromJSON JobListJobsItem where-        parseJSON-          = withObject "JobListJobsItem"-              (\ o ->-                 JobListJobsItem' <$>-                   (o .:? "jobReference") <*> (o .:? "status") <*>-                     (o .:? "state")-                     <*> (o .:? "user_email")-                     <*> (o .:? "kind" .!= "bigquery#job")-                     <*> (o .:? "errorResult")-                     <*> (o .:? "id")-                     <*> (o .:? "statistics")-                     <*> (o .:? "configuration"))--instance ToJSON JobListJobsItem where-        toJSON JobListJobsItem'{..}-          = object-              (catMaybes-                 [("jobReference" .=) <$> _jljiJobReference,-                  ("status" .=) <$> _jljiStatus,-                  ("state" .=) <$> _jljiState,-                  ("user_email" .=) <$> _jljiUserEmail,-                  Just ("kind" .= _jljiKind),-                  ("errorResult" .=) <$> _jljiErrorResult,-                  ("id" .=) <$> _jljiId,-                  ("statistics" .=) <$> _jljiStatistics,-                  ("configuration" .=) <$> _jljiConfiguration])------- /See:/ 'timePartitioning' smart constructor.-data TimePartitioning =-  TimePartitioning'-    { _tpField                  :: !(Maybe Text)-    , _tpExpirationMs           :: !(Maybe (Textual Int64))-    , _tpRequirePartitionFilter :: !(Maybe Bool)-    , _tpType                   :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'TimePartitioning' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'tpField'------ * 'tpExpirationMs'------ * 'tpRequirePartitionFilter'------ * 'tpType'-timePartitioning-    :: TimePartitioning-timePartitioning =-  TimePartitioning'-    { _tpField = Nothing-    , _tpExpirationMs = Nothing-    , _tpRequirePartitionFilter = Nothing-    , _tpType = Nothing-    }----- | [Beta] [Optional] If not set, the table is partitioned by pseudo column,--- referenced via either \'_PARTITIONTIME\' as TIMESTAMP type, or--- \'_PARTITIONDATE\' as DATE type. If field is specified, the table is--- instead partitioned by this field. The field must be a top-level--- TIMESTAMP or DATE field. Its mode must be NULLABLE or REQUIRED.-tpField :: Lens' TimePartitioning (Maybe Text)-tpField = lens _tpField (\ s a -> s{_tpField = a})---- | [Optional] Number of milliseconds for which to keep the storage for--- partitions in the table. The storage in a partition will have an--- expiration time of its partition time plus this value.-tpExpirationMs :: Lens' TimePartitioning (Maybe Int64)-tpExpirationMs-  = lens _tpExpirationMs-      (\ s a -> s{_tpExpirationMs = a})-      . mapping _Coerce--tpRequirePartitionFilter :: Lens' TimePartitioning (Maybe Bool)-tpRequirePartitionFilter-  = lens _tpRequirePartitionFilter-      (\ s a -> s{_tpRequirePartitionFilter = a})---- | [Required] The only type supported is DAY, which will generate one--- partition per day.-tpType :: Lens' TimePartitioning (Maybe Text)-tpType = lens _tpType (\ s a -> s{_tpType = a})--instance FromJSON TimePartitioning where-        parseJSON-          = withObject "TimePartitioning"-              (\ o ->-                 TimePartitioning' <$>-                   (o .:? "field") <*> (o .:? "expirationMs") <*>-                     (o .:? "requirePartitionFilter")-                     <*> (o .:? "type"))--instance ToJSON TimePartitioning where-        toJSON TimePartitioning'{..}-          = object-              (catMaybes-                 [("field" .=) <$> _tpField,-                  ("expirationMs" .=) <$> _tpExpirationMs,-                  ("requirePartitionFilter" .=) <$>-                    _tpRequirePartitionFilter,-                  ("type" .=) <$> _tpType])---- | [Optional] The struct field values, in order of the struct type\'s--- declaration.------ /See:/ 'queryParameterValueStructValues' smart constructor.-newtype QueryParameterValueStructValues =-  QueryParameterValueStructValues'-    { _qpvsvAddtional :: HashMap Text QueryParameterValue-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'QueryParameterValueStructValues' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'qpvsvAddtional'-queryParameterValueStructValues-    :: HashMap Text QueryParameterValue -- ^ 'qpvsvAddtional'-    -> QueryParameterValueStructValues-queryParameterValueStructValues pQpvsvAddtional_ =-  QueryParameterValueStructValues'-    {_qpvsvAddtional = _Coerce # pQpvsvAddtional_}---qpvsvAddtional :: Lens' QueryParameterValueStructValues (HashMap Text QueryParameterValue)-qpvsvAddtional-  = lens _qpvsvAddtional-      (\ s a -> s{_qpvsvAddtional = a})-      . _Coerce--instance FromJSON QueryParameterValueStructValues-         where-        parseJSON-          = withObject "QueryParameterValueStructValues"-              (\ o ->-                 QueryParameterValueStructValues' <$>-                   (parseJSONObject o))--instance ToJSON QueryParameterValueStructValues where-        toJSON = toJSON . _qpvsvAddtional---- | The labels associated with this dataset. You can use these to organize--- and group your datasets. You can set this property when inserting or--- updating a dataset. See Creating and Updating Dataset Labels for more--- information.------ /See:/ 'dataSetLabels' smart constructor.-newtype DataSetLabels =-  DataSetLabels'-    { _dslAddtional :: HashMap Text Text-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'DataSetLabels' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dslAddtional'-dataSetLabels-    :: HashMap Text Text -- ^ 'dslAddtional'-    -> DataSetLabels-dataSetLabels pDslAddtional_ =-  DataSetLabels' {_dslAddtional = _Coerce # pDslAddtional_}---dslAddtional :: Lens' DataSetLabels (HashMap Text Text)-dslAddtional-  = lens _dslAddtional (\ s a -> s{_dslAddtional = a})-      . _Coerce--instance FromJSON DataSetLabels where-        parseJSON-          = withObject "DataSetLabels"-              (\ o -> DataSetLabels' <$> (parseJSONObject o))--instance ToJSON DataSetLabels where-        toJSON = toJSON . _dslAddtional------- /See:/ 'jobConfiguration' smart constructor.-data JobConfiguration =-  JobConfiguration'-    { _jcJobType      :: !(Maybe Text)-    , _jcCopy         :: !(Maybe JobConfigurationTableCopy)-    , _jcLoad         :: !(Maybe JobConfigurationLoad)-    , _jcQuery        :: !(Maybe JobConfigurationQuery)-    , _jcJobTimeoutMs :: !(Maybe (Textual Int64))-    , _jcExtract      :: !(Maybe JobConfigurationExtract)-    , _jcLabels       :: !(Maybe JobConfigurationLabels)-    , _jcDryRun       :: !(Maybe Bool)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'JobConfiguration' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'jcJobType'------ * 'jcCopy'------ * 'jcLoad'------ * 'jcQuery'------ * 'jcJobTimeoutMs'------ * 'jcExtract'------ * 'jcLabels'------ * 'jcDryRun'-jobConfiguration-    :: JobConfiguration-jobConfiguration =-  JobConfiguration'-    { _jcJobType = Nothing-    , _jcCopy = Nothing-    , _jcLoad = Nothing-    , _jcQuery = Nothing-    , _jcJobTimeoutMs = Nothing-    , _jcExtract = Nothing-    , _jcLabels = Nothing-    , _jcDryRun = Nothing-    }----- | [Output-only] The type of the job. Can be QUERY, LOAD, EXTRACT, COPY or--- UNKNOWN.-jcJobType :: Lens' JobConfiguration (Maybe Text)-jcJobType-  = lens _jcJobType (\ s a -> s{_jcJobType = a})---- | [Pick one] Copies a table.-jcCopy :: Lens' JobConfiguration (Maybe JobConfigurationTableCopy)-jcCopy = lens _jcCopy (\ s a -> s{_jcCopy = a})---- | [Pick one] Configures a load job.-jcLoad :: Lens' JobConfiguration (Maybe JobConfigurationLoad)-jcLoad = lens _jcLoad (\ s a -> s{_jcLoad = a})---- | [Pick one] Configures a query job.-jcQuery :: Lens' JobConfiguration (Maybe JobConfigurationQuery)-jcQuery = lens _jcQuery (\ s a -> s{_jcQuery = a})---- | [Optional] Job timeout in milliseconds. If this time limit is exceeded,--- BigQuery may attempt to terminate the job.-jcJobTimeoutMs :: Lens' JobConfiguration (Maybe Int64)-jcJobTimeoutMs-  = lens _jcJobTimeoutMs-      (\ s a -> s{_jcJobTimeoutMs = a})-      . mapping _Coerce---- | [Pick one] Configures an extract job.-jcExtract :: Lens' JobConfiguration (Maybe JobConfigurationExtract)-jcExtract-  = lens _jcExtract (\ s a -> s{_jcExtract = a})---- | The labels associated with this job. You can use these to organize and--- group your jobs. Label keys and values can be no longer than 63--- characters, can only contain lowercase letters, numeric characters,--- underscores and dashes. International characters are allowed. Label--- values are optional. Label keys must start with a letter and each label--- in the list must have a different key.-jcLabels :: Lens' JobConfiguration (Maybe JobConfigurationLabels)-jcLabels = lens _jcLabels (\ s a -> s{_jcLabels = a})---- | [Optional] If set, don\'t actually run this job. A valid query will--- return a mostly empty response with some processing statistics, while an--- invalid query will return the same error it would if it wasn\'t a dry--- run. Behavior of non-query jobs is undefined.-jcDryRun :: Lens' JobConfiguration (Maybe Bool)-jcDryRun = lens _jcDryRun (\ s a -> s{_jcDryRun = a})--instance FromJSON JobConfiguration where-        parseJSON-          = withObject "JobConfiguration"-              (\ o ->-                 JobConfiguration' <$>-                   (o .:? "jobType") <*> (o .:? "copy") <*>-                     (o .:? "load")-                     <*> (o .:? "query")-                     <*> (o .:? "jobTimeoutMs")-                     <*> (o .:? "extract")-                     <*> (o .:? "labels")-                     <*> (o .:? "dryRun"))--instance ToJSON JobConfiguration where-        toJSON JobConfiguration'{..}-          = object-              (catMaybes-                 [("jobType" .=) <$> _jcJobType,-                  ("copy" .=) <$> _jcCopy, ("load" .=) <$> _jcLoad,-                  ("query" .=) <$> _jcQuery,-                  ("jobTimeoutMs" .=) <$> _jcJobTimeoutMs,-                  ("extract" .=) <$> _jcExtract,-                  ("labels" .=) <$> _jcLabels,-                  ("dryRun" .=) <$> _jcDryRun])------- /See:/ 'job' smart constructor.-data Job =-  Job'-    { _jJobReference  :: !(Maybe JobReference)-    , _jStatus        :: !(Maybe JobStatus)-    , _jEtag          :: !(Maybe Text)-    , _jUserEmail     :: !(Maybe Text)-    , _jKind          :: !Text-    , _jSelfLink      :: !(Maybe Text)-    , _jId            :: !(Maybe Text)-    , _jStatistics    :: !(Maybe JobStatistics)-    , _jConfiguration :: !(Maybe JobConfiguration)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'Job' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'jJobReference'------ * 'jStatus'------ * 'jEtag'------ * 'jUserEmail'------ * 'jKind'------ * 'jSelfLink'------ * 'jId'------ * 'jStatistics'------ * 'jConfiguration'-job-    :: Job-job =-  Job'-    { _jJobReference = Nothing-    , _jStatus = Nothing-    , _jEtag = Nothing-    , _jUserEmail = Nothing-    , _jKind = "bigquery#job"-    , _jSelfLink = Nothing-    , _jId = Nothing-    , _jStatistics = Nothing-    , _jConfiguration = Nothing-    }----- | [Optional] Reference describing the unique-per-user name of the job.-jJobReference :: Lens' Job (Maybe JobReference)-jJobReference-  = lens _jJobReference-      (\ s a -> s{_jJobReference = a})---- | [Output-only] The status of this job. Examine this value when polling an--- asynchronous job to see if the job is complete.-jStatus :: Lens' Job (Maybe JobStatus)-jStatus = lens _jStatus (\ s a -> s{_jStatus = a})---- | [Output-only] A hash of this resource.-jEtag :: Lens' Job (Maybe Text)-jEtag = lens _jEtag (\ s a -> s{_jEtag = a})---- | [Output-only] Email address of the user who ran the job.-jUserEmail :: Lens' Job (Maybe Text)-jUserEmail-  = lens _jUserEmail (\ s a -> s{_jUserEmail = a})---- | [Output-only] The type of the resource.-jKind :: Lens' Job Text-jKind = lens _jKind (\ s a -> s{_jKind = a})---- | [Output-only] A URL that can be used to access this resource again.-jSelfLink :: Lens' Job (Maybe Text)-jSelfLink-  = lens _jSelfLink (\ s a -> s{_jSelfLink = a})---- | [Output-only] Opaque ID field of the job-jId :: Lens' Job (Maybe Text)-jId = lens _jId (\ s a -> s{_jId = a})---- | [Output-only] Information about the job, including starting time and--- ending time of the job.-jStatistics :: Lens' Job (Maybe JobStatistics)-jStatistics-  = lens _jStatistics (\ s a -> s{_jStatistics = a})---- | [Required] Describes the job configuration.-jConfiguration :: Lens' Job (Maybe JobConfiguration)-jConfiguration-  = lens _jConfiguration-      (\ s a -> s{_jConfiguration = a})--instance FromJSON Job where-        parseJSON-          = withObject "Job"-              (\ o ->-                 Job' <$>-                   (o .:? "jobReference") <*> (o .:? "status") <*>-                     (o .:? "etag")-                     <*> (o .:? "user_email")-                     <*> (o .:? "kind" .!= "bigquery#job")-                     <*> (o .:? "selfLink")-                     <*> (o .:? "id")-                     <*> (o .:? "statistics")-                     <*> (o .:? "configuration"))--instance ToJSON Job where-        toJSON Job'{..}-          = object-              (catMaybes-                 [("jobReference" .=) <$> _jJobReference,-                  ("status" .=) <$> _jStatus, ("etag" .=) <$> _jEtag,-                  ("user_email" .=) <$> _jUserEmail,-                  Just ("kind" .= _jKind),-                  ("selfLink" .=) <$> _jSelfLink, ("id" .=) <$> _jId,-                  ("statistics" .=) <$> _jStatistics,-                  ("configuration" .=) <$> _jConfiguration])------- /See:/ 'encryptionConfiguration' smart constructor.-newtype EncryptionConfiguration =-  EncryptionConfiguration'-    { _ecKmsKeyName :: Maybe Text-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'EncryptionConfiguration' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ecKmsKeyName'-encryptionConfiguration-    :: EncryptionConfiguration-encryptionConfiguration = EncryptionConfiguration' {_ecKmsKeyName = Nothing}----- | [Optional] Describes the Cloud KMS encryption key that will be used to--- protect destination BigQuery table. The BigQuery Service Account--- associated with your project requires access to this encryption key.-ecKmsKeyName :: Lens' EncryptionConfiguration (Maybe Text)-ecKmsKeyName-  = lens _ecKmsKeyName (\ s a -> s{_ecKmsKeyName = a})--instance FromJSON EncryptionConfiguration where-        parseJSON-          = withObject "EncryptionConfiguration"-              (\ o ->-                 EncryptionConfiguration' <$> (o .:? "kmsKeyName"))--instance ToJSON EncryptionConfiguration where-        toJSON EncryptionConfiguration'{..}-          = object-              (catMaybes [("kmsKeyName" .=) <$> _ecKmsKeyName])------- /See:/ 'tableDataInsertAllResponseInsertErrorsItem' smart constructor.-data TableDataInsertAllResponseInsertErrorsItem =-  TableDataInsertAllResponseInsertErrorsItem'-    { _tdiarieiErrors :: !(Maybe [ErrorProto])-    , _tdiarieiIndex  :: !(Maybe (Textual Word32))-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'TableDataInsertAllResponseInsertErrorsItem' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'tdiarieiErrors'------ * 'tdiarieiIndex'-tableDataInsertAllResponseInsertErrorsItem-    :: TableDataInsertAllResponseInsertErrorsItem-tableDataInsertAllResponseInsertErrorsItem =-  TableDataInsertAllResponseInsertErrorsItem'-    {_tdiarieiErrors = Nothing, _tdiarieiIndex = Nothing}----- | Error information for the row indicated by the index property.-tdiarieiErrors :: Lens' TableDataInsertAllResponseInsertErrorsItem [ErrorProto]-tdiarieiErrors-  = lens _tdiarieiErrors-      (\ s a -> s{_tdiarieiErrors = a})-      . _Default-      . _Coerce---- | The index of the row that error applies to.-tdiarieiIndex :: Lens' TableDataInsertAllResponseInsertErrorsItem (Maybe Word32)-tdiarieiIndex-  = lens _tdiarieiIndex-      (\ s a -> s{_tdiarieiIndex = a})-      . mapping _Coerce--instance FromJSON-           TableDataInsertAllResponseInsertErrorsItem-         where-        parseJSON-          = withObject-              "TableDataInsertAllResponseInsertErrorsItem"-              (\ o ->-                 TableDataInsertAllResponseInsertErrorsItem' <$>-                   (o .:? "errors" .!= mempty) <*> (o .:? "index"))--instance ToJSON-           TableDataInsertAllResponseInsertErrorsItem-         where-        toJSON-          TableDataInsertAllResponseInsertErrorsItem'{..}-          = object-              (catMaybes-                 [("errors" .=) <$> _tdiarieiErrors,-                  ("index" .=) <$> _tdiarieiIndex])------- /See:/ 'jobConfigurationExtract' smart constructor.-data JobConfigurationExtract =-  JobConfigurationExtract'-    { _jceDestinationFormat :: !(Maybe Text)-    , _jceSourceTable       :: !(Maybe TableReference)-    , _jcePrintHeader       :: !Bool-    , _jceCompression       :: !(Maybe Text)-    , _jceDestinationURIs   :: !(Maybe [Text])-    , _jceDestinationURI    :: !(Maybe Text)-    , _jceFieldDelimiter    :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'JobConfigurationExtract' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'jceDestinationFormat'------ * 'jceSourceTable'------ * 'jcePrintHeader'------ * 'jceCompression'------ * 'jceDestinationURIs'------ * 'jceDestinationURI'------ * 'jceFieldDelimiter'-jobConfigurationExtract-    :: JobConfigurationExtract-jobConfigurationExtract =-  JobConfigurationExtract'-    { _jceDestinationFormat = Nothing-    , _jceSourceTable = Nothing-    , _jcePrintHeader = True-    , _jceCompression = Nothing-    , _jceDestinationURIs = Nothing-    , _jceDestinationURI = Nothing-    , _jceFieldDelimiter = Nothing-    }----- | [Optional] The exported file format. Possible values include CSV,--- NEWLINE_DELIMITED_JSON and AVRO. The default value is CSV. Tables with--- nested or repeated fields cannot be exported as CSV.-jceDestinationFormat :: Lens' JobConfigurationExtract (Maybe Text)-jceDestinationFormat-  = lens _jceDestinationFormat-      (\ s a -> s{_jceDestinationFormat = a})---- | [Required] A reference to the table being exported.-jceSourceTable :: Lens' JobConfigurationExtract (Maybe TableReference)-jceSourceTable-  = lens _jceSourceTable-      (\ s a -> s{_jceSourceTable = a})---- | [Optional] Whether to print out a header row in the results. Default is--- true.-jcePrintHeader :: Lens' JobConfigurationExtract Bool-jcePrintHeader-  = lens _jcePrintHeader-      (\ s a -> s{_jcePrintHeader = a})---- | [Optional] The compression type to use for exported files. Possible--- values include GZIP, DEFLATE, SNAPPY, and NONE. The default value is--- NONE. DEFLATE and SNAPPY are only supported for Avro.-jceCompression :: Lens' JobConfigurationExtract (Maybe Text)-jceCompression-  = lens _jceCompression-      (\ s a -> s{_jceCompression = a})---- | [Pick one] A list of fully-qualified Google Cloud Storage URIs where the--- extracted table should be written.-jceDestinationURIs :: Lens' JobConfigurationExtract [Text]-jceDestinationURIs-  = lens _jceDestinationURIs-      (\ s a -> s{_jceDestinationURIs = a})-      . _Default-      . _Coerce---- | [Pick one] DEPRECATED: Use destinationUris instead, passing only one URI--- as necessary. The fully-qualified Google Cloud Storage URI where the--- extracted table should be written.-jceDestinationURI :: Lens' JobConfigurationExtract (Maybe Text)-jceDestinationURI-  = lens _jceDestinationURI-      (\ s a -> s{_jceDestinationURI = a})---- | [Optional] Delimiter to use between fields in the exported data. Default--- is \',\'-jceFieldDelimiter :: Lens' JobConfigurationExtract (Maybe Text)-jceFieldDelimiter-  = lens _jceFieldDelimiter-      (\ s a -> s{_jceFieldDelimiter = a})--instance FromJSON JobConfigurationExtract where-        parseJSON-          = withObject "JobConfigurationExtract"-              (\ o ->-                 JobConfigurationExtract' <$>-                   (o .:? "destinationFormat") <*> (o .:? "sourceTable")-                     <*> (o .:? "printHeader" .!= True)-                     <*> (o .:? "compression")-                     <*> (o .:? "destinationUris" .!= mempty)-                     <*> (o .:? "destinationUri")-                     <*> (o .:? "fieldDelimiter"))--instance ToJSON JobConfigurationExtract where-        toJSON JobConfigurationExtract'{..}-          = object-              (catMaybes-                 [("destinationFormat" .=) <$> _jceDestinationFormat,-                  ("sourceTable" .=) <$> _jceSourceTable,-                  Just ("printHeader" .= _jcePrintHeader),-                  ("compression" .=) <$> _jceCompression,-                  ("destinationUris" .=) <$> _jceDestinationURIs,-                  ("destinationUri" .=) <$> _jceDestinationURI,-                  ("fieldDelimiter" .=) <$> _jceFieldDelimiter])------- /See:/ 'modelDefinition' smart constructor.-data ModelDefinition =-  ModelDefinition'-    { _mdModelOptions :: !(Maybe ModelDefinitionModelOptions)-    , _mdTrainingRuns :: !(Maybe [BqmlTrainingRun])-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ModelDefinition' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'mdModelOptions'------ * 'mdTrainingRuns'-modelDefinition-    :: ModelDefinition-modelDefinition =-  ModelDefinition' {_mdModelOptions = Nothing, _mdTrainingRuns = Nothing}----- | [Output-only, Beta] Model options used for the first training run. These--- options are immutable for subsequent training runs. Default values are--- used for any options not specified in the input query.-mdModelOptions :: Lens' ModelDefinition (Maybe ModelDefinitionModelOptions)-mdModelOptions-  = lens _mdModelOptions-      (\ s a -> s{_mdModelOptions = a})---- | [Output-only, Beta] Information about ml training runs, each training--- run comprises of multiple iterations and there may be multiple training--- runs for the model if warm start is used or if a user decides to--- continue a previously cancelled query.-mdTrainingRuns :: Lens' ModelDefinition [BqmlTrainingRun]-mdTrainingRuns-  = lens _mdTrainingRuns-      (\ s a -> s{_mdTrainingRuns = a})-      . _Default-      . _Coerce--instance FromJSON ModelDefinition where-        parseJSON-          = withObject "ModelDefinition"-              (\ o ->-                 ModelDefinition' <$>-                   (o .:? "modelOptions") <*>-                     (o .:? "trainingRuns" .!= mempty))--instance ToJSON ModelDefinition where-        toJSON ModelDefinition'{..}-          = object-              (catMaybes-                 [("modelOptions" .=) <$> _mdModelOptions,-                  ("trainingRuns" .=) <$> _mdTrainingRuns])------- /See:/ 'jobCancelResponse' smart constructor.-data JobCancelResponse =-  JobCancelResponse'-    { _jcrKind :: !Text-    , _jcrJob  :: !(Maybe Job)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'JobCancelResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'jcrKind'------ * 'jcrJob'-jobCancelResponse-    :: JobCancelResponse-jobCancelResponse =-  JobCancelResponse'-    {_jcrKind = "bigquery#jobCancelResponse", _jcrJob = Nothing}----- | The resource type of the response.-jcrKind :: Lens' JobCancelResponse Text-jcrKind = lens _jcrKind (\ s a -> s{_jcrKind = a})---- | The final state of the job.-jcrJob :: Lens' JobCancelResponse (Maybe Job)-jcrJob = lens _jcrJob (\ s a -> s{_jcrJob = a})--instance FromJSON JobCancelResponse where-        parseJSON-          = withObject "JobCancelResponse"-              (\ o ->-                 JobCancelResponse' <$>-                   (o .:? "kind" .!= "bigquery#jobCancelResponse") <*>-                     (o .:? "job"))--instance ToJSON JobCancelResponse where-        toJSON JobCancelResponse'{..}-          = object-              (catMaybes-                 [Just ("kind" .= _jcrKind), ("job" .=) <$> _jcrJob])---- | Represents a single JSON object.------ /See:/ 'jsonObject' smart constructor.-newtype JSONObject =-  JSONObject'-    { _joAddtional :: HashMap Text JSONValue-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'JSONObject' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'joAddtional'-jsonObject-    :: HashMap Text JSONValue -- ^ 'joAddtional'-    -> JSONObject-jsonObject pJoAddtional_ = JSONObject' {_joAddtional = _Coerce # pJoAddtional_}---joAddtional :: Lens' JSONObject (HashMap Text JSONValue)-joAddtional-  = lens _joAddtional (\ s a -> s{_joAddtional = a}) .-      _Coerce--instance FromJSON JSONObject where-        parseJSON-          = withObject "JSONObject"-              (\ o -> JSONObject' <$> (parseJSONObject o))--instance ToJSON JSONObject where-        toJSON = toJSON . _joAddtional------- /See:/ 'jobConfigurationQuery' smart constructor.-data JobConfigurationQuery =-  JobConfigurationQuery'-    { _jcqDestinationTable                   :: !(Maybe TableReference)-    , _jcqWriteDisPosition                   :: !(Maybe Text)-    , _jcqPriority                           :: !(Maybe Text)-    , _jcqClustering                         :: !(Maybe Clustering)-    , _jcqRangePartitioning                  :: !(Maybe RangePartitioning)-    , _jcqUseQueryCache                      :: !Bool-    , _jcqPreserveNulls                      :: !(Maybe Bool)-    , _jcqTableDefinitions                   :: !(Maybe JobConfigurationQueryTableDefinitions)-    , _jcqQueryParameters                    :: !(Maybe [QueryParameter])-    , _jcqSchemaUpdateOptions                :: !(Maybe [Text])-    , _jcqMaximumBytesBilled                 :: !(Maybe (Textual Int64))-    , _jcqCreateDisPosition                  :: !(Maybe Text)-    , _jcqUserDefinedFunctionResources       :: !(Maybe [UserDefinedFunctionResource])-    , _jcqAllowLargeResults                  :: !Bool-    , _jcqMaximumBillingTier                 :: !(Textual Int32)-    , _jcqTimePartitioning                   :: !(Maybe TimePartitioning)-    , _jcqQuery                              :: !(Maybe Text)-    , _jcqFlattenResults                     :: !Bool-    , _jcqParameterMode                      :: !(Maybe Text)-    , _jcqUseLegacySQL                       :: !Bool-    , _jcqDestinationEncryptionConfiguration :: !(Maybe EncryptionConfiguration)-    , _jcqDefaultDataSet                     :: !(Maybe DataSetReference)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'JobConfigurationQuery' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'jcqDestinationTable'------ * 'jcqWriteDisPosition'------ * 'jcqPriority'------ * 'jcqClustering'------ * 'jcqRangePartitioning'------ * 'jcqUseQueryCache'------ * 'jcqPreserveNulls'------ * 'jcqTableDefinitions'------ * 'jcqQueryParameters'------ * 'jcqSchemaUpdateOptions'------ * 'jcqMaximumBytesBilled'------ * 'jcqCreateDisPosition'------ * 'jcqUserDefinedFunctionResources'------ * 'jcqAllowLargeResults'------ * 'jcqMaximumBillingTier'------ * 'jcqTimePartitioning'------ * 'jcqQuery'------ * 'jcqFlattenResults'------ * 'jcqParameterMode'------ * 'jcqUseLegacySQL'------ * 'jcqDestinationEncryptionConfiguration'------ * 'jcqDefaultDataSet'-jobConfigurationQuery-    :: JobConfigurationQuery-jobConfigurationQuery =-  JobConfigurationQuery'-    { _jcqDestinationTable = Nothing-    , _jcqWriteDisPosition = Nothing-    , _jcqPriority = Nothing-    , _jcqClustering = Nothing-    , _jcqRangePartitioning = Nothing-    , _jcqUseQueryCache = True-    , _jcqPreserveNulls = Nothing-    , _jcqTableDefinitions = Nothing-    , _jcqQueryParameters = Nothing-    , _jcqSchemaUpdateOptions = Nothing-    , _jcqMaximumBytesBilled = Nothing-    , _jcqCreateDisPosition = Nothing-    , _jcqUserDefinedFunctionResources = Nothing-    , _jcqAllowLargeResults = False-    , _jcqMaximumBillingTier = 1-    , _jcqTimePartitioning = Nothing-    , _jcqQuery = Nothing-    , _jcqFlattenResults = True-    , _jcqParameterMode = Nothing-    , _jcqUseLegacySQL = True-    , _jcqDestinationEncryptionConfiguration = Nothing-    , _jcqDefaultDataSet = Nothing-    }----- | [Optional] Describes the table where the query results should be stored.--- If not present, a new table will be created to store the results. This--- property must be set for large results that exceed the maximum response--- size.-jcqDestinationTable :: Lens' JobConfigurationQuery (Maybe TableReference)-jcqDestinationTable-  = lens _jcqDestinationTable-      (\ s a -> s{_jcqDestinationTable = a})---- | [Optional] Specifies the action that occurs if the destination table--- already exists. The following values are supported: WRITE_TRUNCATE: If--- the table already exists, BigQuery overwrites the table data and uses--- the schema from the query result. WRITE_APPEND: If the table already--- exists, BigQuery appends the data to the table. WRITE_EMPTY: If the--- table already exists and contains data, a \'duplicate\' error is--- returned in the job result. The default value is WRITE_EMPTY. Each--- action is atomic and only occurs if BigQuery is able to complete the job--- successfully. Creation, truncation and append actions occur as one--- atomic update upon job completion.-jcqWriteDisPosition :: Lens' JobConfigurationQuery (Maybe Text)-jcqWriteDisPosition-  = lens _jcqWriteDisPosition-      (\ s a -> s{_jcqWriteDisPosition = a})---- | [Optional] Specifies a priority for the query. Possible values include--- INTERACTIVE and BATCH. The default value is INTERACTIVE.-jcqPriority :: Lens' JobConfigurationQuery (Maybe Text)-jcqPriority-  = lens _jcqPriority (\ s a -> s{_jcqPriority = a})---- | [Beta] Clustering specification for the destination table. Must be--- specified with time-based partitioning, data in the table will be first--- partitioned and subsequently clustered.-jcqClustering :: Lens' JobConfigurationQuery (Maybe Clustering)-jcqClustering-  = lens _jcqClustering-      (\ s a -> s{_jcqClustering = a})---- | [TrustedTester] Range partitioning specification for this table. Only--- one of timePartitioning and rangePartitioning should be specified.-jcqRangePartitioning :: Lens' JobConfigurationQuery (Maybe RangePartitioning)-jcqRangePartitioning-  = lens _jcqRangePartitioning-      (\ s a -> s{_jcqRangePartitioning = a})---- | [Optional] Whether to look for the result in the query cache. The query--- cache is a best-effort cache that will be flushed whenever tables in the--- query are modified. Moreover, the query cache is only available when a--- query does not have a destination table specified. The default value is--- true.-jcqUseQueryCache :: Lens' JobConfigurationQuery Bool-jcqUseQueryCache-  = lens _jcqUseQueryCache-      (\ s a -> s{_jcqUseQueryCache = a})---- | [Deprecated] This property is deprecated.-jcqPreserveNulls :: Lens' JobConfigurationQuery (Maybe Bool)-jcqPreserveNulls-  = lens _jcqPreserveNulls-      (\ s a -> s{_jcqPreserveNulls = a})---- | [Optional] If querying an external data source outside of BigQuery,--- describes the data format, location and other properties of the data--- source. By defining these properties, the data source can then be--- queried as if it were a standard BigQuery table.-jcqTableDefinitions :: Lens' JobConfigurationQuery (Maybe JobConfigurationQueryTableDefinitions)-jcqTableDefinitions-  = lens _jcqTableDefinitions-      (\ s a -> s{_jcqTableDefinitions = a})---- | Query parameters for standard SQL queries.-jcqQueryParameters :: Lens' JobConfigurationQuery [QueryParameter]-jcqQueryParameters-  = lens _jcqQueryParameters-      (\ s a -> s{_jcqQueryParameters = a})-      . _Default-      . _Coerce---- | Allows the schema of the destination table to be updated as a side--- effect of the query job. Schema update options are supported in two--- cases: when writeDisposition is WRITE_APPEND; when writeDisposition is--- WRITE_TRUNCATE and the destination table is a partition of a table,--- specified by partition decorators. For normal tables, WRITE_TRUNCATE--- will always overwrite the schema. One or more of the following values--- are specified: ALLOW_FIELD_ADDITION: allow adding a nullable field to--- the schema. ALLOW_FIELD_RELAXATION: allow relaxing a required field in--- the original schema to nullable.-jcqSchemaUpdateOptions :: Lens' JobConfigurationQuery [Text]-jcqSchemaUpdateOptions-  = lens _jcqSchemaUpdateOptions-      (\ s a -> s{_jcqSchemaUpdateOptions = a})-      . _Default-      . _Coerce---- | [Optional] Limits the bytes billed for this job. Queries that will have--- bytes billed beyond this limit will fail (without incurring a charge).--- If unspecified, this will be set to your project default.-jcqMaximumBytesBilled :: Lens' JobConfigurationQuery (Maybe Int64)-jcqMaximumBytesBilled-  = lens _jcqMaximumBytesBilled-      (\ s a -> s{_jcqMaximumBytesBilled = a})-      . mapping _Coerce---- | [Optional] Specifies whether the job is allowed to create new tables.--- The following values are supported: CREATE_IF_NEEDED: If the table does--- not exist, BigQuery creates the table. CREATE_NEVER: The table must--- already exist. If it does not, a \'notFound\' error is returned in the--- job result. The default value is CREATE_IF_NEEDED. Creation, truncation--- and append actions occur as one atomic update upon job completion.-jcqCreateDisPosition :: Lens' JobConfigurationQuery (Maybe Text)-jcqCreateDisPosition-  = lens _jcqCreateDisPosition-      (\ s a -> s{_jcqCreateDisPosition = a})---- | Describes user-defined function resources used in the query.-jcqUserDefinedFunctionResources :: Lens' JobConfigurationQuery [UserDefinedFunctionResource]-jcqUserDefinedFunctionResources-  = lens _jcqUserDefinedFunctionResources-      (\ s a -> s{_jcqUserDefinedFunctionResources = a})-      . _Default-      . _Coerce---- | [Optional] If true and query uses legacy SQL dialect, allows the query--- to produce arbitrarily large result tables at a slight cost in--- performance. Requires destinationTable to be set. For standard SQL--- queries, this flag is ignored and large results are always allowed.--- However, you must still set destinationTable when result size exceeds--- the allowed maximum response size.-jcqAllowLargeResults :: Lens' JobConfigurationQuery Bool-jcqAllowLargeResults-  = lens _jcqAllowLargeResults-      (\ s a -> s{_jcqAllowLargeResults = a})---- | [Optional] Limits the billing tier for this job. Queries that have--- resource usage beyond this tier will fail (without incurring a charge).--- If unspecified, this will be set to your project default.-jcqMaximumBillingTier :: Lens' JobConfigurationQuery Int32-jcqMaximumBillingTier-  = lens _jcqMaximumBillingTier-      (\ s a -> s{_jcqMaximumBillingTier = a})-      . _Coerce---- | Time-based partitioning specification for the destination table. Only--- one of timePartitioning and rangePartitioning should be specified.-jcqTimePartitioning :: Lens' JobConfigurationQuery (Maybe TimePartitioning)-jcqTimePartitioning-  = lens _jcqTimePartitioning-      (\ s a -> s{_jcqTimePartitioning = a})---- | [Required] SQL query text to execute. The useLegacySql field can be used--- to indicate whether the query uses legacy SQL or standard SQL.-jcqQuery :: Lens' JobConfigurationQuery (Maybe Text)-jcqQuery = lens _jcqQuery (\ s a -> s{_jcqQuery = a})---- | [Optional] If true and query uses legacy SQL dialect, flattens all--- nested and repeated fields in the query results. allowLargeResults must--- be true if this is set to false. For standard SQL queries, this flag is--- ignored and results are never flattened.-jcqFlattenResults :: Lens' JobConfigurationQuery Bool-jcqFlattenResults-  = lens _jcqFlattenResults-      (\ s a -> s{_jcqFlattenResults = a})---- | Standard SQL only. Set to POSITIONAL to use positional (?) query--- parameters or to NAMED to use named (\'myparam) query parameters in this--- query.-jcqParameterMode :: Lens' JobConfigurationQuery (Maybe Text)-jcqParameterMode-  = lens _jcqParameterMode-      (\ s a -> s{_jcqParameterMode = a})---- | Specifies whether to use BigQuery\'s legacy SQL dialect for this query.--- The default value is true. If set to false, the query will use--- BigQuery\'s standard SQL:--- https:\/\/cloud.google.com\/bigquery\/sql-reference\/ When useLegacySql--- is set to false, the value of flattenResults is ignored; query will be--- run as if flattenResults is false.-jcqUseLegacySQL :: Lens' JobConfigurationQuery Bool-jcqUseLegacySQL-  = lens _jcqUseLegacySQL-      (\ s a -> s{_jcqUseLegacySQL = a})---- | Custom encryption configuration (e.g., Cloud KMS keys).-jcqDestinationEncryptionConfiguration :: Lens' JobConfigurationQuery (Maybe EncryptionConfiguration)-jcqDestinationEncryptionConfiguration-  = lens _jcqDestinationEncryptionConfiguration-      (\ s a ->-         s{_jcqDestinationEncryptionConfiguration = a})---- | [Optional] Specifies the default dataset to use for unqualified table--- names in the query. Note that this does not alter behavior of--- unqualified dataset names.-jcqDefaultDataSet :: Lens' JobConfigurationQuery (Maybe DataSetReference)-jcqDefaultDataSet-  = lens _jcqDefaultDataSet-      (\ s a -> s{_jcqDefaultDataSet = a})--instance FromJSON JobConfigurationQuery where-        parseJSON-          = withObject "JobConfigurationQuery"-              (\ o ->-                 JobConfigurationQuery' <$>-                   (o .:? "destinationTable") <*>-                     (o .:? "writeDisposition")-                     <*> (o .:? "priority")-                     <*> (o .:? "clustering")-                     <*> (o .:? "rangePartitioning")-                     <*> (o .:? "useQueryCache" .!= True)-                     <*> (o .:? "preserveNulls")-                     <*> (o .:? "tableDefinitions")-                     <*> (o .:? "queryParameters" .!= mempty)-                     <*> (o .:? "schemaUpdateOptions" .!= mempty)-                     <*> (o .:? "maximumBytesBilled")-                     <*> (o .:? "createDisposition")-                     <*> (o .:? "userDefinedFunctionResources" .!= mempty)-                     <*> (o .:? "allowLargeResults" .!= False)-                     <*> (o .:? "maximumBillingTier" .!= 1)-                     <*> (o .:? "timePartitioning")-                     <*> (o .:? "query")-                     <*> (o .:? "flattenResults" .!= True)-                     <*> (o .:? "parameterMode")-                     <*> (o .:? "useLegacySql" .!= True)-                     <*> (o .:? "destinationEncryptionConfiguration")-                     <*> (o .:? "defaultDataset"))--instance ToJSON JobConfigurationQuery where-        toJSON JobConfigurationQuery'{..}-          = object-              (catMaybes-                 [("destinationTable" .=) <$> _jcqDestinationTable,-                  ("writeDisposition" .=) <$> _jcqWriteDisPosition,-                  ("priority" .=) <$> _jcqPriority,-                  ("clustering" .=) <$> _jcqClustering,-                  ("rangePartitioning" .=) <$> _jcqRangePartitioning,-                  Just ("useQueryCache" .= _jcqUseQueryCache),-                  ("preserveNulls" .=) <$> _jcqPreserveNulls,-                  ("tableDefinitions" .=) <$> _jcqTableDefinitions,-                  ("queryParameters" .=) <$> _jcqQueryParameters,-                  ("schemaUpdateOptions" .=) <$>-                    _jcqSchemaUpdateOptions,-                  ("maximumBytesBilled" .=) <$> _jcqMaximumBytesBilled,-                  ("createDisposition" .=) <$> _jcqCreateDisPosition,-                  ("userDefinedFunctionResources" .=) <$>-                    _jcqUserDefinedFunctionResources,-                  Just ("allowLargeResults" .= _jcqAllowLargeResults),-                  Just-                    ("maximumBillingTier" .= _jcqMaximumBillingTier),-                  ("timePartitioning" .=) <$> _jcqTimePartitioning,-                  ("query" .=) <$> _jcqQuery,-                  Just ("flattenResults" .= _jcqFlattenResults),-                  ("parameterMode" .=) <$> _jcqParameterMode,-                  Just ("useLegacySql" .= _jcqUseLegacySQL),-                  ("destinationEncryptionConfiguration" .=) <$>-                    _jcqDestinationEncryptionConfiguration,-                  ("defaultDataset" .=) <$> _jcqDefaultDataSet])------- /See:/ 'googleSheetsOptions' smart constructor.-data GoogleSheetsOptions =-  GoogleSheetsOptions'-    { _gsoSkipLeadingRows :: !(Maybe (Textual Int64))-    , _gsoRange           :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GoogleSheetsOptions' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gsoSkipLeadingRows'------ * 'gsoRange'-googleSheetsOptions-    :: GoogleSheetsOptions-googleSheetsOptions =-  GoogleSheetsOptions' {_gsoSkipLeadingRows = Nothing, _gsoRange = Nothing}----- | [Optional] The number of rows at the top of a sheet that BigQuery will--- skip when reading the data. The default value is 0. This property is--- useful if you have header rows that should be skipped. When autodetect--- is on, behavior is the following: * skipLeadingRows unspecified ---- Autodetect tries to detect headers in the first row. If they are not--- detected, the row is read as data. Otherwise data is read starting from--- the second row. * skipLeadingRows is 0 - Instructs autodetect that there--- are no headers and data should be read starting from the first row. *--- skipLeadingRows = N > 0 - Autodetect skips N-1 rows and tries to detect--- headers in row N. If headers are not detected, row N is just skipped.--- Otherwise row N is used to extract column names for the detected schema.-gsoSkipLeadingRows :: Lens' GoogleSheetsOptions (Maybe Int64)-gsoSkipLeadingRows-  = lens _gsoSkipLeadingRows-      (\ s a -> s{_gsoSkipLeadingRows = a})-      . mapping _Coerce---- | [Beta] [Optional] Range of a sheet to query from. Only used when--- non-empty. Typical format:--- sheet_name!top_left_cell_id:bottom_right_cell_id For example:--- sheet1!A1:B20-gsoRange :: Lens' GoogleSheetsOptions (Maybe Text)-gsoRange = lens _gsoRange (\ s a -> s{_gsoRange = a})--instance FromJSON GoogleSheetsOptions where-        parseJSON-          = withObject "GoogleSheetsOptions"-              (\ o ->-                 GoogleSheetsOptions' <$>-                   (o .:? "skipLeadingRows") <*> (o .:? "range"))--instance ToJSON GoogleSheetsOptions where-        toJSON GoogleSheetsOptions'{..}-          = object-              (catMaybes-                 [("skipLeadingRows" .=) <$> _gsoSkipLeadingRows,-                  ("range" .=) <$> _gsoRange])------- /See:/ 'tableDataInsertAllRequestRowsItem' smart constructor.-data TableDataInsertAllRequestRowsItem =-  TableDataInsertAllRequestRowsItem'-    { _tdiarriJSON     :: !(Maybe JSONObject)-    , _tdiarriInsertId :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'TableDataInsertAllRequestRowsItem' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'tdiarriJSON'------ * 'tdiarriInsertId'-tableDataInsertAllRequestRowsItem-    :: TableDataInsertAllRequestRowsItem-tableDataInsertAllRequestRowsItem =-  TableDataInsertAllRequestRowsItem'-    {_tdiarriJSON = Nothing, _tdiarriInsertId = Nothing}----- | [Required] A JSON object that contains a row of data. The object\'s--- properties and values must match the destination table\'s schema.-tdiarriJSON :: Lens' TableDataInsertAllRequestRowsItem (Maybe JSONObject)-tdiarriJSON-  = lens _tdiarriJSON (\ s a -> s{_tdiarriJSON = a})---- | [Optional] A unique ID for each row. BigQuery uses this property to--- detect duplicate insertion requests on a best-effort basis.-tdiarriInsertId :: Lens' TableDataInsertAllRequestRowsItem (Maybe Text)-tdiarriInsertId-  = lens _tdiarriInsertId-      (\ s a -> s{_tdiarriInsertId = a})--instance FromJSON TableDataInsertAllRequestRowsItem-         where-        parseJSON-          = withObject "TableDataInsertAllRequestRowsItem"-              (\ o ->-                 TableDataInsertAllRequestRowsItem' <$>-                   (o .:? "json") <*> (o .:? "insertId"))--instance ToJSON TableDataInsertAllRequestRowsItem-         where-        toJSON TableDataInsertAllRequestRowsItem'{..}-          = object-              (catMaybes-                 [("json" .=) <$> _tdiarriJSON,-                  ("insertId" .=) <$> _tdiarriInsertId])------- /See:/ 'jobList' smart constructor.-data JobList =-  JobList'-    { _jlEtag          :: !(Maybe Text)-    , _jlNextPageToken :: !(Maybe Text)-    , _jlKind          :: !Text-    , _jlJobs          :: !(Maybe [JobListJobsItem])-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'JobList' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'jlEtag'------ * 'jlNextPageToken'------ * 'jlKind'------ * 'jlJobs'-jobList-    :: JobList-jobList =-  JobList'-    { _jlEtag = Nothing-    , _jlNextPageToken = Nothing-    , _jlKind = "bigquery#jobList"-    , _jlJobs = Nothing-    }----- | A hash of this page of results.-jlEtag :: Lens' JobList (Maybe Text)-jlEtag = lens _jlEtag (\ s a -> s{_jlEtag = a})---- | A token to request the next page of results.-jlNextPageToken :: Lens' JobList (Maybe Text)-jlNextPageToken-  = lens _jlNextPageToken-      (\ s a -> s{_jlNextPageToken = a})---- | The resource type of the response.-jlKind :: Lens' JobList Text-jlKind = lens _jlKind (\ s a -> s{_jlKind = a})---- | List of jobs that were requested.-jlJobs :: Lens' JobList [JobListJobsItem]-jlJobs-  = lens _jlJobs (\ s a -> s{_jlJobs = a}) . _Default .-      _Coerce--instance FromJSON JobList where-        parseJSON-          = withObject "JobList"-              (\ o ->-                 JobList' <$>-                   (o .:? "etag") <*> (o .:? "nextPageToken") <*>-                     (o .:? "kind" .!= "bigquery#jobList")-                     <*> (o .:? "jobs" .!= mempty))--instance ToJSON JobList where-        toJSON JobList'{..}-          = object-              (catMaybes-                 [("etag" .=) <$> _jlEtag,-                  ("nextPageToken" .=) <$> _jlNextPageToken,-                  Just ("kind" .= _jlKind), ("jobs" .=) <$> _jlJobs])---- | [Optional] If querying an external data source outside of BigQuery,--- describes the data format, location and other properties of the data--- source. By defining these properties, the data source can then be--- queried as if it were a standard BigQuery table.------ /See:/ 'jobConfigurationQueryTableDefinitions' smart constructor.-newtype JobConfigurationQueryTableDefinitions =-  JobConfigurationQueryTableDefinitions'-    { _jcqtdAddtional :: HashMap Text ExternalDataConfiguration-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'JobConfigurationQueryTableDefinitions' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'jcqtdAddtional'-jobConfigurationQueryTableDefinitions-    :: HashMap Text ExternalDataConfiguration -- ^ 'jcqtdAddtional'-    -> JobConfigurationQueryTableDefinitions-jobConfigurationQueryTableDefinitions pJcqtdAddtional_ =-  JobConfigurationQueryTableDefinitions'-    {_jcqtdAddtional = _Coerce # pJcqtdAddtional_}---jcqtdAddtional :: Lens' JobConfigurationQueryTableDefinitions (HashMap Text ExternalDataConfiguration)-jcqtdAddtional-  = lens _jcqtdAddtional-      (\ s a -> s{_jcqtdAddtional = a})-      . _Coerce--instance FromJSON-           JobConfigurationQueryTableDefinitions-         where-        parseJSON-          = withObject "JobConfigurationQueryTableDefinitions"-              (\ o ->-                 JobConfigurationQueryTableDefinitions' <$>-                   (parseJSONObject o))--instance ToJSON JobConfigurationQueryTableDefinitions-         where-        toJSON = toJSON . _jcqtdAddtional------- /See:/ 'tableCell' smart constructor.-newtype TableCell =-  TableCell'-    { _tcV :: Maybe JSONValue-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'TableCell' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'tcV'-tableCell-    :: TableCell-tableCell = TableCell' {_tcV = Nothing}---tcV :: Lens' TableCell (Maybe JSONValue)-tcV = lens _tcV (\ s a -> s{_tcV = a})--instance FromJSON TableCell where-        parseJSON-          = withObject "TableCell"-              (\ o -> TableCell' <$> (o .:? "v"))--instance ToJSON TableCell where-        toJSON TableCell'{..}-          = object (catMaybes [("v" .=) <$> _tcV])------- /See:/ 'jobStatistics2ReservationUsageItem' smart constructor.-data JobStatistics2ReservationUsageItem =-  JobStatistics2ReservationUsageItem'-    { _jName   :: !(Maybe Text)-    , _jSlotMs :: !(Maybe (Textual Int64))-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'JobStatistics2ReservationUsageItem' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'jName'------ * 'jSlotMs'-jobStatistics2ReservationUsageItem-    :: JobStatistics2ReservationUsageItem-jobStatistics2ReservationUsageItem =-  JobStatistics2ReservationUsageItem' {_jName = Nothing, _jSlotMs = Nothing}----- | [Output-only] Reservation name or \"unreserved\" for on-demand resources--- usage.-jName :: Lens' JobStatistics2ReservationUsageItem (Maybe Text)-jName = lens _jName (\ s a -> s{_jName = a})---- | [Output-only] Slot-milliseconds the job spent in the given reservation.-jSlotMs :: Lens' JobStatistics2ReservationUsageItem (Maybe Int64)-jSlotMs-  = lens _jSlotMs (\ s a -> s{_jSlotMs = a}) .-      mapping _Coerce--instance FromJSON JobStatistics2ReservationUsageItem-         where-        parseJSON-          = withObject "JobStatistics2ReservationUsageItem"-              (\ o ->-                 JobStatistics2ReservationUsageItem' <$>-                   (o .:? "name") <*> (o .:? "slotMs"))--instance ToJSON JobStatistics2ReservationUsageItem-         where-        toJSON JobStatistics2ReservationUsageItem'{..}-          = object-              (catMaybes-                 [("name" .=) <$> _jName, ("slotMs" .=) <$> _jSlotMs])------- /See:/ 'queryParameterValue' smart constructor.-data QueryParameterValue =-  QueryParameterValue'-    { _qpvStructValues :: !(Maybe QueryParameterValueStructValues)-    , _qpvValue        :: !(Maybe Text)-    , _qpvArrayValues  :: !(Maybe [QueryParameterValue])-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'QueryParameterValue' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'qpvStructValues'------ * 'qpvValue'------ * 'qpvArrayValues'-queryParameterValue-    :: QueryParameterValue-queryParameterValue =-  QueryParameterValue'-    {_qpvStructValues = Nothing, _qpvValue = Nothing, _qpvArrayValues = Nothing}----- | [Optional] The struct field values, in order of the struct type\'s--- declaration.-qpvStructValues :: Lens' QueryParameterValue (Maybe QueryParameterValueStructValues)-qpvStructValues-  = lens _qpvStructValues-      (\ s a -> s{_qpvStructValues = a})---- | [Optional] The value of this value, if a simple scalar type.-qpvValue :: Lens' QueryParameterValue (Maybe Text)-qpvValue = lens _qpvValue (\ s a -> s{_qpvValue = a})---- | [Optional] The array values, if this is an array type.-qpvArrayValues :: Lens' QueryParameterValue [QueryParameterValue]-qpvArrayValues-  = lens _qpvArrayValues-      (\ s a -> s{_qpvArrayValues = a})-      . _Default-      . _Coerce--instance FromJSON QueryParameterValue where-        parseJSON-          = withObject "QueryParameterValue"-              (\ o ->-                 QueryParameterValue' <$>-                   (o .:? "structValues") <*> (o .:? "value") <*>-                     (o .:? "arrayValues" .!= mempty))--instance ToJSON QueryParameterValue where-        toJSON QueryParameterValue'{..}-          = object-              (catMaybes-                 [("structValues" .=) <$> _qpvStructValues,-                  ("value" .=) <$> _qpvValue,-                  ("arrayValues" .=) <$> _qpvArrayValues])------- /See:/ 'viewDefinition' smart constructor.-data ViewDefinition =-  ViewDefinition'-    { _vdUserDefinedFunctionResources :: !(Maybe [UserDefinedFunctionResource])-    , _vdQuery                        :: !(Maybe Text)-    , _vdUseLegacySQL                 :: !(Maybe Bool)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ViewDefinition' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'vdUserDefinedFunctionResources'------ * 'vdQuery'------ * 'vdUseLegacySQL'-viewDefinition-    :: ViewDefinition-viewDefinition =-  ViewDefinition'-    { _vdUserDefinedFunctionResources = Nothing-    , _vdQuery = Nothing-    , _vdUseLegacySQL = Nothing-    }----- | Describes user-defined function resources used in the query.-vdUserDefinedFunctionResources :: Lens' ViewDefinition [UserDefinedFunctionResource]-vdUserDefinedFunctionResources-  = lens _vdUserDefinedFunctionResources-      (\ s a -> s{_vdUserDefinedFunctionResources = a})-      . _Default-      . _Coerce---- | [Required] A query that BigQuery executes when the view is referenced.-vdQuery :: Lens' ViewDefinition (Maybe Text)-vdQuery = lens _vdQuery (\ s a -> s{_vdQuery = a})---- | Specifies whether to use BigQuery\'s legacy SQL for this view. The--- default value is true. If set to false, the view will use BigQuery\'s--- standard SQL: https:\/\/cloud.google.com\/bigquery\/sql-reference\/--- Queries and views that reference this view must use the same flag value.-vdUseLegacySQL :: Lens' ViewDefinition (Maybe Bool)-vdUseLegacySQL-  = lens _vdUseLegacySQL-      (\ s a -> s{_vdUseLegacySQL = a})--instance FromJSON ViewDefinition where-        parseJSON-          = withObject "ViewDefinition"-              (\ o ->-                 ViewDefinition' <$>-                   (o .:? "userDefinedFunctionResources" .!= mempty) <*>-                     (o .:? "query")-                     <*> (o .:? "useLegacySql"))--instance ToJSON ViewDefinition where-        toJSON ViewDefinition'{..}-          = object-              (catMaybes-                 [("userDefinedFunctionResources" .=) <$>-                    _vdUserDefinedFunctionResources,-                  ("query" .=) <$> _vdQuery,-                  ("useLegacySql" .=) <$> _vdUseLegacySQL])------- /See:/ 'userDefinedFunctionResource' smart constructor.-data UserDefinedFunctionResource =-  UserDefinedFunctionResource'-    { _udfrResourceURI :: !(Maybe Text)-    , _udfrInlineCode  :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'UserDefinedFunctionResource' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'udfrResourceURI'------ * 'udfrInlineCode'-userDefinedFunctionResource-    :: UserDefinedFunctionResource-userDefinedFunctionResource =-  UserDefinedFunctionResource'-    {_udfrResourceURI = Nothing, _udfrInlineCode = Nothing}----- | [Pick one] A code resource to load from a Google Cloud Storage URI--- (gs:\/\/bucket\/path).-udfrResourceURI :: Lens' UserDefinedFunctionResource (Maybe Text)-udfrResourceURI-  = lens _udfrResourceURI-      (\ s a -> s{_udfrResourceURI = a})---- | [Pick one] An inline resource that contains code for a user-defined--- function (UDF). Providing a inline code resource is equivalent to--- providing a URI for a file containing the same code.-udfrInlineCode :: Lens' UserDefinedFunctionResource (Maybe Text)-udfrInlineCode-  = lens _udfrInlineCode-      (\ s a -> s{_udfrInlineCode = a})--instance FromJSON UserDefinedFunctionResource where-        parseJSON-          = withObject "UserDefinedFunctionResource"-              (\ o ->-                 UserDefinedFunctionResource' <$>-                   (o .:? "resourceUri") <*> (o .:? "inlineCode"))--instance ToJSON UserDefinedFunctionResource where-        toJSON UserDefinedFunctionResource'{..}-          = object-              (catMaybes-                 [("resourceUri" .=) <$> _udfrResourceURI,-                  ("inlineCode" .=) <$> _udfrInlineCode])------- /See:/ 'jobStatistics2' smart constructor.-data JobStatistics2 =-  JobStatistics2'-    { _jModelTrainingExpectedTotalIteration :: !(Maybe (Textual Int64))-    , _jModelTraining                       :: !(Maybe BigQueryModelTraining)-    , _jTotalSlotMs                         :: !(Maybe (Textual Int64))-    , _jDdlTargetRoutine                    :: !(Maybe RoutineReference)-    , _jDdlTargetTable                      :: !(Maybe TableReference)-    , _jEstimatedBytesProcessed             :: !(Maybe (Textual Int64))-    , _jModelTrainingCurrentIteration       :: !(Maybe (Textual Int32))-    , _jSchema                              :: !(Maybe TableSchema)-    , _jTotalBytesProcessed                 :: !(Maybe (Textual Int64))-    , _jBillingTier                         :: !(Maybe (Textual Int32))-    , _jTotalBytesProcessedAccuracy         :: !(Maybe Text)-    , _jUndeclaredQueryParameters           :: !(Maybe [QueryParameter])-    , _jReferencedTables                    :: !(Maybe [TableReference])-    , _jStatementType                       :: !(Maybe Text)-    , _jReservationUsage                    :: !(Maybe [JobStatistics2ReservationUsageItem])-    , _jNumDmlAffectedRows                  :: !(Maybe (Textual Int64))-    , _jTimeline                            :: !(Maybe [QueryTimelineSample])-    , _jQueryPlan                           :: !(Maybe [ExplainQueryStage])-    , _jCacheHit                            :: !(Maybe Bool)-    , _jTotalBytesBilled                    :: !(Maybe (Textual Int64))-    , _jDdlOperationPerformed               :: !(Maybe Text)-    , _jTotalPartitionsProcessed            :: !(Maybe (Textual Int64))-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'JobStatistics2' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'jModelTrainingExpectedTotalIteration'------ * 'jModelTraining'------ * 'jTotalSlotMs'------ * 'jDdlTargetRoutine'------ * 'jDdlTargetTable'------ * 'jEstimatedBytesProcessed'------ * 'jModelTrainingCurrentIteration'------ * 'jSchema'------ * 'jTotalBytesProcessed'------ * 'jBillingTier'------ * 'jTotalBytesProcessedAccuracy'------ * 'jUndeclaredQueryParameters'------ * 'jReferencedTables'------ * 'jStatementType'------ * 'jReservationUsage'------ * 'jNumDmlAffectedRows'------ * 'jTimeline'------ * 'jQueryPlan'------ * 'jCacheHit'------ * 'jTotalBytesBilled'------ * 'jDdlOperationPerformed'------ * 'jTotalPartitionsProcessed'-jobStatistics2-    :: JobStatistics2-jobStatistics2 =-  JobStatistics2'-    { _jModelTrainingExpectedTotalIteration = Nothing-    , _jModelTraining = Nothing-    , _jTotalSlotMs = Nothing-    , _jDdlTargetRoutine = Nothing-    , _jDdlTargetTable = Nothing-    , _jEstimatedBytesProcessed = Nothing-    , _jModelTrainingCurrentIteration = Nothing-    , _jSchema = Nothing-    , _jTotalBytesProcessed = Nothing-    , _jBillingTier = Nothing-    , _jTotalBytesProcessedAccuracy = Nothing-    , _jUndeclaredQueryParameters = Nothing-    , _jReferencedTables = Nothing-    , _jStatementType = Nothing-    , _jReservationUsage = Nothing-    , _jNumDmlAffectedRows = Nothing-    , _jTimeline = Nothing-    , _jQueryPlan = Nothing-    , _jCacheHit = Nothing-    , _jTotalBytesBilled = Nothing-    , _jDdlOperationPerformed = Nothing-    , _jTotalPartitionsProcessed = Nothing-    }----- | [Output-only, Beta] Deprecated; do not use.-jModelTrainingExpectedTotalIteration :: Lens' JobStatistics2 (Maybe Int64)-jModelTrainingExpectedTotalIteration-  = lens _jModelTrainingExpectedTotalIteration-      (\ s a ->-         s{_jModelTrainingExpectedTotalIteration = a})-      . mapping _Coerce---- | [Output-only, Beta] Information about create model query job progress.-jModelTraining :: Lens' JobStatistics2 (Maybe BigQueryModelTraining)-jModelTraining-  = lens _jModelTraining-      (\ s a -> s{_jModelTraining = a})---- | [Output-only] Slot-milliseconds for the job.-jTotalSlotMs :: Lens' JobStatistics2 (Maybe Int64)-jTotalSlotMs-  = lens _jTotalSlotMs (\ s a -> s{_jTotalSlotMs = a})-      . mapping _Coerce---- | The DDL target routine. Present only for CREATE\/DROP--- FUNCTION\/PROCEDURE queries.-jDdlTargetRoutine :: Lens' JobStatistics2 (Maybe RoutineReference)-jDdlTargetRoutine-  = lens _jDdlTargetRoutine-      (\ s a -> s{_jDdlTargetRoutine = a})---- | The DDL target table. Present only for CREATE\/DROP TABLE\/VIEW queries.-jDdlTargetTable :: Lens' JobStatistics2 (Maybe TableReference)-jDdlTargetTable-  = lens _jDdlTargetTable-      (\ s a -> s{_jDdlTargetTable = a})---- | [Output-only] The original estimate of bytes processed for the job.-jEstimatedBytesProcessed :: Lens' JobStatistics2 (Maybe Int64)-jEstimatedBytesProcessed-  = lens _jEstimatedBytesProcessed-      (\ s a -> s{_jEstimatedBytesProcessed = a})-      . mapping _Coerce---- | [Output-only, Beta] Deprecated; do not use.-jModelTrainingCurrentIteration :: Lens' JobStatistics2 (Maybe Int32)-jModelTrainingCurrentIteration-  = lens _jModelTrainingCurrentIteration-      (\ s a -> s{_jModelTrainingCurrentIteration = a})-      . mapping _Coerce---- | [Output-only] The schema of the results. Present only for successful dry--- run of non-legacy SQL queries.-jSchema :: Lens' JobStatistics2 (Maybe TableSchema)-jSchema = lens _jSchema (\ s a -> s{_jSchema = a})---- | [Output-only] Total bytes processed for the job.-jTotalBytesProcessed :: Lens' JobStatistics2 (Maybe Int64)-jTotalBytesProcessed-  = lens _jTotalBytesProcessed-      (\ s a -> s{_jTotalBytesProcessed = a})-      . mapping _Coerce---- | [Output-only] Billing tier for the job.-jBillingTier :: Lens' JobStatistics2 (Maybe Int32)-jBillingTier-  = lens _jBillingTier (\ s a -> s{_jBillingTier = a})-      . mapping _Coerce---- | [Output-only] For dry-run jobs, totalBytesProcessed is an estimate and--- this field specifies the accuracy of the estimate. Possible values can--- be: UNKNOWN: accuracy of the estimate is unknown. PRECISE: estimate is--- precise. LOWER_BOUND: estimate is lower bound of what the query would--- cost. UPPER_BOUND: estimate is upper bound of what the query would cost.-jTotalBytesProcessedAccuracy :: Lens' JobStatistics2 (Maybe Text)-jTotalBytesProcessedAccuracy-  = lens _jTotalBytesProcessedAccuracy-      (\ s a -> s{_jTotalBytesProcessedAccuracy = a})---- | Standard SQL only: list of undeclared query parameters detected during a--- dry run validation.-jUndeclaredQueryParameters :: Lens' JobStatistics2 [QueryParameter]-jUndeclaredQueryParameters-  = lens _jUndeclaredQueryParameters-      (\ s a -> s{_jUndeclaredQueryParameters = a})-      . _Default-      . _Coerce---- | [Output-only] Referenced tables for the job. Queries that reference more--- than 50 tables will not have a complete list.-jReferencedTables :: Lens' JobStatistics2 [TableReference]-jReferencedTables-  = lens _jReferencedTables-      (\ s a -> s{_jReferencedTables = a})-      . _Default-      . _Coerce---- | The type of query statement, if valid. Possible values (new values might--- be added in the future): \"SELECT\": SELECT query. \"INSERT\": INSERT--- query; see--- https:\/\/cloud.google.com\/bigquery\/docs\/reference\/standard-sql\/data-manipulation-language.--- \"UPDATE\": UPDATE query; see--- https:\/\/cloud.google.com\/bigquery\/docs\/reference\/standard-sql\/data-manipulation-language.--- \"DELETE\": DELETE query; see--- https:\/\/cloud.google.com\/bigquery\/docs\/reference\/standard-sql\/data-manipulation-language.--- \"MERGE\": MERGE query; see--- https:\/\/cloud.google.com\/bigquery\/docs\/reference\/standard-sql\/data-manipulation-language.--- \"CREATE_TABLE\": CREATE [OR REPLACE] TABLE without AS SELECT.--- \"CREATE_TABLE_AS_SELECT\": CREATE [OR REPLACE] TABLE ... AS SELECT ...--- . \"DROP_TABLE\": DROP TABLE query. \"CREATE_VIEW\": CREATE [OR REPLACE]--- VIEW ... AS SELECT ... . \"DROP_VIEW\": DROP VIEW query.--- \"CREATE_FUNCTION\": CREATE FUNCTION query. \"DROP_FUNCTION\" : DROP--- FUNCTION query. \"ALTER_TABLE\": ALTER TABLE query. \"ALTER_VIEW\":--- ALTER VIEW query.-jStatementType :: Lens' JobStatistics2 (Maybe Text)-jStatementType-  = lens _jStatementType-      (\ s a -> s{_jStatementType = a})---- | [Output-only] Job resource usage breakdown by reservation.-jReservationUsage :: Lens' JobStatistics2 [JobStatistics2ReservationUsageItem]-jReservationUsage-  = lens _jReservationUsage-      (\ s a -> s{_jReservationUsage = a})-      . _Default-      . _Coerce---- | [Output-only] The number of rows affected by a DML statement. Present--- only for DML statements INSERT, UPDATE or DELETE.-jNumDmlAffectedRows :: Lens' JobStatistics2 (Maybe Int64)-jNumDmlAffectedRows-  = lens _jNumDmlAffectedRows-      (\ s a -> s{_jNumDmlAffectedRows = a})-      . mapping _Coerce---- | [Output-only] [Beta] Describes a timeline of job execution.-jTimeline :: Lens' JobStatistics2 [QueryTimelineSample]-jTimeline-  = lens _jTimeline (\ s a -> s{_jTimeline = a}) .-      _Default-      . _Coerce---- | [Output-only] Describes execution plan for the query.-jQueryPlan :: Lens' JobStatistics2 [ExplainQueryStage]-jQueryPlan-  = lens _jQueryPlan (\ s a -> s{_jQueryPlan = a}) .-      _Default-      . _Coerce---- | [Output-only] Whether the query result was fetched from the query cache.-jCacheHit :: Lens' JobStatistics2 (Maybe Bool)-jCacheHit-  = lens _jCacheHit (\ s a -> s{_jCacheHit = a})---- | [Output-only] Total bytes billed for the job.-jTotalBytesBilled :: Lens' JobStatistics2 (Maybe Int64)-jTotalBytesBilled-  = lens _jTotalBytesBilled-      (\ s a -> s{_jTotalBytesBilled = a})-      . mapping _Coerce---- | The DDL operation performed, possibly dependent on the pre-existence of--- the DDL target. Possible values (new values might be added in the--- future): \"CREATE\": The query created the DDL target. \"SKIP\": No-op.--- Example cases: the query is CREATE TABLE IF NOT EXISTS while the table--- already exists, or the query is DROP TABLE IF EXISTS while the table--- does not exist. \"REPLACE\": The query replaced the DDL target. Example--- case: the query is CREATE OR REPLACE TABLE, and the table already--- exists. \"DROP\": The query deleted the DDL target.-jDdlOperationPerformed :: Lens' JobStatistics2 (Maybe Text)-jDdlOperationPerformed-  = lens _jDdlOperationPerformed-      (\ s a -> s{_jDdlOperationPerformed = a})---- | [Output-only] Total number of partitions processed from all partitioned--- tables referenced in the job.-jTotalPartitionsProcessed :: Lens' JobStatistics2 (Maybe Int64)-jTotalPartitionsProcessed-  = lens _jTotalPartitionsProcessed-      (\ s a -> s{_jTotalPartitionsProcessed = a})-      . mapping _Coerce--instance FromJSON JobStatistics2 where-        parseJSON-          = withObject "JobStatistics2"-              (\ o ->-                 JobStatistics2' <$>-                   (o .:? "modelTrainingExpectedTotalIteration") <*>-                     (o .:? "modelTraining")-                     <*> (o .:? "totalSlotMs")-                     <*> (o .:? "ddlTargetRoutine")-                     <*> (o .:? "ddlTargetTable")-                     <*> (o .:? "estimatedBytesProcessed")-                     <*> (o .:? "modelTrainingCurrentIteration")-                     <*> (o .:? "schema")-                     <*> (o .:? "totalBytesProcessed")-                     <*> (o .:? "billingTier")-                     <*> (o .:? "totalBytesProcessedAccuracy")-                     <*> (o .:? "undeclaredQueryParameters" .!= mempty)-                     <*> (o .:? "referencedTables" .!= mempty)-                     <*> (o .:? "statementType")-                     <*> (o .:? "reservationUsage" .!= mempty)-                     <*> (o .:? "numDmlAffectedRows")-                     <*> (o .:? "timeline" .!= mempty)-                     <*> (o .:? "queryPlan" .!= mempty)-                     <*> (o .:? "cacheHit")-                     <*> (o .:? "totalBytesBilled")-                     <*> (o .:? "ddlOperationPerformed")-                     <*> (o .:? "totalPartitionsProcessed"))--instance ToJSON JobStatistics2 where-        toJSON JobStatistics2'{..}-          = object-              (catMaybes-                 [("modelTrainingExpectedTotalIteration" .=) <$>-                    _jModelTrainingExpectedTotalIteration,-                  ("modelTraining" .=) <$> _jModelTraining,-                  ("totalSlotMs" .=) <$> _jTotalSlotMs,-                  ("ddlTargetRoutine" .=) <$> _jDdlTargetRoutine,-                  ("ddlTargetTable" .=) <$> _jDdlTargetTable,-                  ("estimatedBytesProcessed" .=) <$>-                    _jEstimatedBytesProcessed,-                  ("modelTrainingCurrentIteration" .=) <$>-                    _jModelTrainingCurrentIteration,-                  ("schema" .=) <$> _jSchema,-                  ("totalBytesProcessed" .=) <$> _jTotalBytesProcessed,-                  ("billingTier" .=) <$> _jBillingTier,-                  ("totalBytesProcessedAccuracy" .=) <$>-                    _jTotalBytesProcessedAccuracy,-                  ("undeclaredQueryParameters" .=) <$>-                    _jUndeclaredQueryParameters,-                  ("referencedTables" .=) <$> _jReferencedTables,-                  ("statementType" .=) <$> _jStatementType,-                  ("reservationUsage" .=) <$> _jReservationUsage,-                  ("numDmlAffectedRows" .=) <$> _jNumDmlAffectedRows,-                  ("timeline" .=) <$> _jTimeline,-                  ("queryPlan" .=) <$> _jQueryPlan,-                  ("cacheHit" .=) <$> _jCacheHit,-                  ("totalBytesBilled" .=) <$> _jTotalBytesBilled,-                  ("ddlOperationPerformed" .=) <$>-                    _jDdlOperationPerformed,-                  ("totalPartitionsProcessed" .=) <$>-                    _jTotalPartitionsProcessed])---- | [Optional] The categories attached to this field, used for field-level--- access control.------ /See:/ 'tableFieldSchemaCategories' smart constructor.-newtype TableFieldSchemaCategories =-  TableFieldSchemaCategories'-    { _tfscNames :: Maybe [Text]-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'TableFieldSchemaCategories' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'tfscNames'-tableFieldSchemaCategories-    :: TableFieldSchemaCategories-tableFieldSchemaCategories = TableFieldSchemaCategories' {_tfscNames = Nothing}----- | A list of category resource names. For example,--- \"projects\/1\/taxonomies\/2\/categories\/3\". At most 5 categories are--- allowed.-tfscNames :: Lens' TableFieldSchemaCategories [Text]-tfscNames-  = lens _tfscNames (\ s a -> s{_tfscNames = a}) .-      _Default-      . _Coerce--instance FromJSON TableFieldSchemaCategories where-        parseJSON-          = withObject "TableFieldSchemaCategories"-              (\ o ->-                 TableFieldSchemaCategories' <$>-                   (o .:? "names" .!= mempty))--instance ToJSON TableFieldSchemaCategories where-        toJSON TableFieldSchemaCategories'{..}-          = object (catMaybes [("names" .=) <$> _tfscNames])------- /See:/ 'jobStatus' smart constructor.-data JobStatus =-  JobStatus'-    { _jsState       :: !(Maybe Text)-    , _jsErrorResult :: !(Maybe ErrorProto)-    , _jsErrors      :: !(Maybe [ErrorProto])-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'JobStatus' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'jsState'------ * 'jsErrorResult'------ * 'jsErrors'-jobStatus-    :: JobStatus-jobStatus =-  JobStatus' {_jsState = Nothing, _jsErrorResult = Nothing, _jsErrors = Nothing}----- | [Output-only] Running state of the job.-jsState :: Lens' JobStatus (Maybe Text)-jsState = lens _jsState (\ s a -> s{_jsState = a})---- | [Output-only] Final error result of the job. If present, indicates that--- the job has completed and was unsuccessful.-jsErrorResult :: Lens' JobStatus (Maybe ErrorProto)-jsErrorResult-  = lens _jsErrorResult-      (\ s a -> s{_jsErrorResult = a})---- | [Output-only] The first errors encountered during the running of the--- job. The final message includes the number of errors that caused the--- process to stop. Errors here do not necessarily mean that the job has--- completed or was unsuccessful.-jsErrors :: Lens' JobStatus [ErrorProto]-jsErrors-  = lens _jsErrors (\ s a -> s{_jsErrors = a}) .-      _Default-      . _Coerce--instance FromJSON JobStatus where-        parseJSON-          = withObject "JobStatus"-              (\ o ->-                 JobStatus' <$>-                   (o .:? "state") <*> (o .:? "errorResult") <*>-                     (o .:? "errors" .!= mempty))--instance ToJSON JobStatus where-        toJSON JobStatus'{..}-          = object-              (catMaybes-                 [("state" .=) <$> _jsState,-                  ("errorResult" .=) <$> _jsErrorResult,-                  ("errors" .=) <$> _jsErrors])---- | The labels associated with this table. You can use these to organize and--- group your tables. Label keys and values can be no longer than 63--- characters, can only contain lowercase letters, numeric characters,--- underscores and dashes. International characters are allowed. Label--- values are optional. Label keys must start with a letter and each label--- in the list must have a different key.------ /See:/ 'tableLabels' smart constructor.-newtype TableLabels =-  TableLabels'-    { _tlAddtional :: HashMap Text Text-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'TableLabels' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'tlAddtional'-tableLabels-    :: HashMap Text Text -- ^ 'tlAddtional'-    -> TableLabels-tableLabels pTlAddtional_ =-  TableLabels' {_tlAddtional = _Coerce # pTlAddtional_}---tlAddtional :: Lens' TableLabels (HashMap Text Text)-tlAddtional-  = lens _tlAddtional (\ s a -> s{_tlAddtional = a}) .-      _Coerce--instance FromJSON TableLabels where-        parseJSON-          = withObject "TableLabels"-              (\ o -> TableLabels' <$> (parseJSONObject o))--instance ToJSON TableLabels where-        toJSON = toJSON . _tlAddtional------- /See:/ 'destinationTableProperties' smart constructor.-data DestinationTableProperties =-  DestinationTableProperties'-    { _dtpFriendlyName :: !(Maybe Text)-    , _dtpLabels       :: !(Maybe DestinationTablePropertiesLabels)-    , _dtpDescription  :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'DestinationTableProperties' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dtpFriendlyName'------ * 'dtpLabels'------ * 'dtpDescription'-destinationTableProperties-    :: DestinationTableProperties-destinationTableProperties =-  DestinationTableProperties'-    { _dtpFriendlyName = Nothing-    , _dtpLabels = Nothing-    , _dtpDescription = Nothing-    }----- | [Optional] The friendly name for the destination table. This will only--- be used if the destination table is newly created. If the table already--- exists and a value different than the current friendly name is provided,--- the job will fail.-dtpFriendlyName :: Lens' DestinationTableProperties (Maybe Text)-dtpFriendlyName-  = lens _dtpFriendlyName-      (\ s a -> s{_dtpFriendlyName = a})---- | [Optional] The labels associated with this table. You can use these to--- organize and group your tables. This will only be used if the--- destination table is newly created. If the table already exists and--- labels are different than the current labels are provided, the job will--- fail.-dtpLabels :: Lens' DestinationTableProperties (Maybe DestinationTablePropertiesLabels)-dtpLabels-  = lens _dtpLabels (\ s a -> s{_dtpLabels = a})---- | [Optional] The description for the destination table. This will only be--- used if the destination table is newly created. If the table already--- exists and a value different than the current description is provided,--- the job will fail.-dtpDescription :: Lens' DestinationTableProperties (Maybe Text)-dtpDescription-  = lens _dtpDescription-      (\ s a -> s{_dtpDescription = a})--instance FromJSON DestinationTableProperties where-        parseJSON-          = withObject "DestinationTableProperties"-              (\ o ->-                 DestinationTableProperties' <$>-                   (o .:? "friendlyName") <*> (o .:? "labels") <*>-                     (o .:? "description"))--instance ToJSON DestinationTableProperties where-        toJSON DestinationTableProperties'{..}-          = object-              (catMaybes-                 [("friendlyName" .=) <$> _dtpFriendlyName,-                  ("labels" .=) <$> _dtpLabels,-                  ("description" .=) <$> _dtpDescription])------- /See:/ 'dataSetAccessItem' smart constructor.-data DataSetAccessItem =-  DataSetAccessItem'-    { _dsaiGroupByEmail :: !(Maybe Text)-    , _dsaiDomain       :: !(Maybe Text)-    , _dsaiSpecialGroup :: !(Maybe Text)-    , _dsaiRole         :: !(Maybe Text)-    , _dsaiIAMMember    :: !(Maybe Text)-    , _dsaiView         :: !(Maybe TableReference)-    , _dsaiUserByEmail  :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'DataSetAccessItem' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dsaiGroupByEmail'------ * 'dsaiDomain'------ * 'dsaiSpecialGroup'------ * 'dsaiRole'------ * 'dsaiIAMMember'------ * 'dsaiView'------ * 'dsaiUserByEmail'-dataSetAccessItem-    :: DataSetAccessItem-dataSetAccessItem =-  DataSetAccessItem'-    { _dsaiGroupByEmail = Nothing-    , _dsaiDomain = Nothing-    , _dsaiSpecialGroup = Nothing-    , _dsaiRole = Nothing-    , _dsaiIAMMember = Nothing-    , _dsaiView = Nothing-    , _dsaiUserByEmail = Nothing-    }----- | [Pick one] An email address of a Google Group to grant access to. Maps--- to IAM policy member \"group:GROUP\".-dsaiGroupByEmail :: Lens' DataSetAccessItem (Maybe Text)-dsaiGroupByEmail-  = lens _dsaiGroupByEmail-      (\ s a -> s{_dsaiGroupByEmail = a})---- | [Pick one] A domain to grant access to. Any users signed in with the--- domain specified will be granted the specified access. Example:--- \"example.com\". Maps to IAM policy member \"domain:DOMAIN\".-dsaiDomain :: Lens' DataSetAccessItem (Maybe Text)-dsaiDomain-  = lens _dsaiDomain (\ s a -> s{_dsaiDomain = a})---- | [Pick one] A special group to grant access to. Possible values include:--- projectOwners: Owners of the enclosing project. projectReaders: Readers--- of the enclosing project. projectWriters: Writers of the enclosing--- project. allAuthenticatedUsers: All authenticated BigQuery users. Maps--- to similarly-named IAM members.-dsaiSpecialGroup :: Lens' DataSetAccessItem (Maybe Text)-dsaiSpecialGroup-  = lens _dsaiSpecialGroup-      (\ s a -> s{_dsaiSpecialGroup = a})---- | [Required] An IAM role ID that should be granted to the user, group, or--- domain specified in this access entry. The following legacy mappings--- will be applied: OWNER roles\/bigquery.dataOwner WRITER--- roles\/bigquery.dataEditor READER roles\/bigquery.dataViewer This field--- will accept any of the above formats, but will return only the legacy--- format. For example, if you set this field to--- \"roles\/bigquery.dataOwner\", it will be returned back as \"OWNER\".-dsaiRole :: Lens' DataSetAccessItem (Maybe Text)-dsaiRole = lens _dsaiRole (\ s a -> s{_dsaiRole = a})---- | [Pick one] Some other type of member that appears in the IAM Policy but--- isn\'t a user, group, domain, or special group.-dsaiIAMMember :: Lens' DataSetAccessItem (Maybe Text)-dsaiIAMMember-  = lens _dsaiIAMMember-      (\ s a -> s{_dsaiIAMMember = a})---- | [Pick one] A view from a different dataset to grant access to. Queries--- executed against that view will have read access to tables in this--- dataset. The role field is not required when this field is set. If that--- view is updated by any user, access to the view needs to be granted--- again via an update operation.-dsaiView :: Lens' DataSetAccessItem (Maybe TableReference)-dsaiView = lens _dsaiView (\ s a -> s{_dsaiView = a})---- | [Pick one] An email address of a user to grant access to. For example:--- fred\'example.com. Maps to IAM policy member \"user:EMAIL\" or--- \"serviceAccount:EMAIL\".-dsaiUserByEmail :: Lens' DataSetAccessItem (Maybe Text)-dsaiUserByEmail-  = lens _dsaiUserByEmail-      (\ s a -> s{_dsaiUserByEmail = a})--instance FromJSON DataSetAccessItem where-        parseJSON-          = withObject "DataSetAccessItem"-              (\ o ->-                 DataSetAccessItem' <$>-                   (o .:? "groupByEmail") <*> (o .:? "domain") <*>-                     (o .:? "specialGroup")-                     <*> (o .:? "role")-                     <*> (o .:? "iamMember")-                     <*> (o .:? "view")-                     <*> (o .:? "userByEmail"))--instance ToJSON DataSetAccessItem where-        toJSON DataSetAccessItem'{..}-          = object-              (catMaybes-                 [("groupByEmail" .=) <$> _dsaiGroupByEmail,-                  ("domain" .=) <$> _dsaiDomain,-                  ("specialGroup" .=) <$> _dsaiSpecialGroup,-                  ("role" .=) <$> _dsaiRole,-                  ("iamMember" .=) <$> _dsaiIAMMember,-                  ("view" .=) <$> _dsaiView,-                  ("userByEmail" .=) <$> _dsaiUserByEmail])------- /See:/ 'bqmlTrainingRun' smart constructor.-data BqmlTrainingRun =-  BqmlTrainingRun'-    { _btrState            :: !(Maybe Text)-    , _btrStartTime        :: !(Maybe DateTime')-    , _btrIterationResults :: !(Maybe [BqmlIterationResult])-    , _btrTrainingOptions  :: !(Maybe BqmlTrainingRunTrainingOptions)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'BqmlTrainingRun' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'btrState'------ * 'btrStartTime'------ * 'btrIterationResults'------ * 'btrTrainingOptions'-bqmlTrainingRun-    :: BqmlTrainingRun-bqmlTrainingRun =-  BqmlTrainingRun'-    { _btrState = Nothing-    , _btrStartTime = Nothing-    , _btrIterationResults = Nothing-    , _btrTrainingOptions = Nothing-    }----- | [Output-only, Beta] Different state applicable for a training run. IN--- PROGRESS: Training run is in progress. FAILED: Training run ended due to--- a non-retryable failure. SUCCEEDED: Training run successfully completed.--- CANCELLED: Training run cancelled by the user.-btrState :: Lens' BqmlTrainingRun (Maybe Text)-btrState = lens _btrState (\ s a -> s{_btrState = a})---- | [Output-only, Beta] Training run start time in milliseconds since the--- epoch.-btrStartTime :: Lens' BqmlTrainingRun (Maybe UTCTime)-btrStartTime-  = lens _btrStartTime (\ s a -> s{_btrStartTime = a})-      . mapping _DateTime---- | [Output-only, Beta] List of each iteration results.-btrIterationResults :: Lens' BqmlTrainingRun [BqmlIterationResult]-btrIterationResults-  = lens _btrIterationResults-      (\ s a -> s{_btrIterationResults = a})-      . _Default-      . _Coerce---- | [Output-only, Beta] Training options used by this training run. These--- options are mutable for subsequent training runs. Default values are--- explicitly stored for options not specified in the input query of the--- first training run. For subsequent training runs, any option not--- explicitly specified in the input query will be copied from the previous--- training run.-btrTrainingOptions :: Lens' BqmlTrainingRun (Maybe BqmlTrainingRunTrainingOptions)-btrTrainingOptions-  = lens _btrTrainingOptions-      (\ s a -> s{_btrTrainingOptions = a})--instance FromJSON BqmlTrainingRun where-        parseJSON-          = withObject "BqmlTrainingRun"-              (\ o ->-                 BqmlTrainingRun' <$>-                   (o .:? "state") <*> (o .:? "startTime") <*>-                     (o .:? "iterationResults" .!= mempty)-                     <*> (o .:? "trainingOptions"))--instance ToJSON BqmlTrainingRun where-        toJSON BqmlTrainingRun'{..}-          = object-              (catMaybes-                 [("state" .=) <$> _btrState,-                  ("startTime" .=) <$> _btrStartTime,-                  ("iterationResults" .=) <$> _btrIterationResults,-                  ("trainingOptions" .=) <$> _btrTrainingOptions])------- /See:/ 'tableDataInsertAllResponse' smart constructor.-data TableDataInsertAllResponse =-  TableDataInsertAllResponse'-    { _tKind         :: !Text-    , _tInsertErrors :: !(Maybe [TableDataInsertAllResponseInsertErrorsItem])-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'TableDataInsertAllResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'tKind'------ * 'tInsertErrors'-tableDataInsertAllResponse-    :: TableDataInsertAllResponse-tableDataInsertAllResponse =-  TableDataInsertAllResponse'-    {_tKind = "bigquery#tableDataInsertAllResponse", _tInsertErrors = Nothing}----- | The resource type of the response.-tKind :: Lens' TableDataInsertAllResponse Text-tKind = lens _tKind (\ s a -> s{_tKind = a})---- | An array of errors for rows that were not inserted.-tInsertErrors :: Lens' TableDataInsertAllResponse [TableDataInsertAllResponseInsertErrorsItem]-tInsertErrors-  = lens _tInsertErrors-      (\ s a -> s{_tInsertErrors = a})-      . _Default-      . _Coerce--instance FromJSON TableDataInsertAllResponse where-        parseJSON-          = withObject "TableDataInsertAllResponse"-              (\ o ->-                 TableDataInsertAllResponse' <$>-                   (o .:? "kind" .!=-                      "bigquery#tableDataInsertAllResponse")-                     <*> (o .:? "insertErrors" .!= mempty))--instance ToJSON TableDataInsertAllResponse where-        toJSON TableDataInsertAllResponse'{..}-          = object-              (catMaybes-                 [Just ("kind" .= _tKind),-                  ("insertErrors" .=) <$> _tInsertErrors])------- /See:/ 'queryParameterType' smart constructor.-data QueryParameterType =-  QueryParameterType'-    { _qptStructTypes :: !(Maybe [QueryParameterTypeStructTypesItem])-    , _qptType        :: !(Maybe Text)-    , _qptArrayType   :: !(Maybe QueryParameterType)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'QueryParameterType' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'qptStructTypes'------ * 'qptType'------ * 'qptArrayType'-queryParameterType-    :: QueryParameterType-queryParameterType =-  QueryParameterType'-    {_qptStructTypes = Nothing, _qptType = Nothing, _qptArrayType = Nothing}----- | [Optional] The types of the fields of this struct, in order, if this is--- a struct.-qptStructTypes :: Lens' QueryParameterType [QueryParameterTypeStructTypesItem]-qptStructTypes-  = lens _qptStructTypes-      (\ s a -> s{_qptStructTypes = a})-      . _Default-      . _Coerce---- | [Required] The top level type of this field.-qptType :: Lens' QueryParameterType (Maybe Text)-qptType = lens _qptType (\ s a -> s{_qptType = a})---- | [Optional] The type of the array\'s elements, if this is an array.-qptArrayType :: Lens' QueryParameterType (Maybe QueryParameterType)-qptArrayType-  = lens _qptArrayType (\ s a -> s{_qptArrayType = a})--instance FromJSON QueryParameterType where-        parseJSON-          = withObject "QueryParameterType"-              (\ o ->-                 QueryParameterType' <$>-                   (o .:? "structTypes" .!= mempty) <*> (o .:? "type")-                     <*> (o .:? "arrayType"))--instance ToJSON QueryParameterType where-        toJSON QueryParameterType'{..}-          = object-              (catMaybes-                 [("structTypes" .=) <$> _qptStructTypes,-                  ("type" .=) <$> _qptType,-                  ("arrayType" .=) <$> _qptArrayType])------- /See:/ 'table' smart constructor.-data Table =-  Table'-    { _tabMaterializedView          :: !(Maybe MaterializedViewDefinition)-    , _tabCreationTime              :: !(Maybe (Textual Int64))-    , _tabEtag                      :: !(Maybe Text)-    , _tabNumBytes                  :: !(Maybe (Textual Int64))-    , _tabClustering                :: !(Maybe Clustering)-    , _tabExternalDataConfiguration :: !(Maybe ExternalDataConfiguration)-    , _tabRangePartitioning         :: !(Maybe RangePartitioning)-    , _tabLocation                  :: !(Maybe Text)-    , _tabTableReference            :: !(Maybe TableReference)-    , _tabFriendlyName              :: !(Maybe Text)-    , _tabKind                      :: !Text-    , _tabLastModifiedTime          :: !(Maybe (Textual Word64))-    , _tabSchema                    :: !(Maybe TableSchema)-    , _tabStreamingBuffer           :: !(Maybe Streamingbuffer)-    , _tabSelfLink                  :: !(Maybe Text)-    , _tabRequirePartitionFilter    :: !(Maybe Bool)-    , _tabEncryptionConfiguration   :: !(Maybe EncryptionConfiguration)-    , _tabModel                     :: !(Maybe ModelDefinition)-    , _tabTimePartitioning          :: !(Maybe TimePartitioning)-    , _tabNumRows                   :: !(Maybe (Textual Word64))-    , _tabNumPhysicalBytes          :: !(Maybe (Textual Int64))-    , _tabView                      :: !(Maybe ViewDefinition)-    , _tabId                        :: !(Maybe Text)-    , _tabLabels                    :: !(Maybe TableLabels)-    , _tabType                      :: !(Maybe Text)-    , _tabNumLongTermBytes          :: !(Maybe (Textual Int64))-    , _tabExpirationTime            :: !(Maybe (Textual Int64))-    , _tabDescription               :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'Table' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'tabMaterializedView'------ * 'tabCreationTime'------ * 'tabEtag'------ * 'tabNumBytes'------ * 'tabClustering'------ * 'tabExternalDataConfiguration'------ * 'tabRangePartitioning'------ * 'tabLocation'------ * 'tabTableReference'------ * 'tabFriendlyName'------ * 'tabKind'------ * 'tabLastModifiedTime'------ * 'tabSchema'------ * 'tabStreamingBuffer'------ * 'tabSelfLink'------ * 'tabRequirePartitionFilter'------ * 'tabEncryptionConfiguration'------ * 'tabModel'------ * 'tabTimePartitioning'------ * 'tabNumRows'------ * 'tabNumPhysicalBytes'------ * 'tabView'------ * 'tabId'------ * 'tabLabels'------ * 'tabType'------ * 'tabNumLongTermBytes'------ * 'tabExpirationTime'------ * 'tabDescription'-table-    :: Table-table =-  Table'-    { _tabMaterializedView = Nothing-    , _tabCreationTime = Nothing-    , _tabEtag = Nothing-    , _tabNumBytes = Nothing-    , _tabClustering = Nothing-    , _tabExternalDataConfiguration = Nothing-    , _tabRangePartitioning = Nothing-    , _tabLocation = Nothing-    , _tabTableReference = Nothing-    , _tabFriendlyName = Nothing-    , _tabKind = "bigquery#table"-    , _tabLastModifiedTime = Nothing-    , _tabSchema = Nothing-    , _tabStreamingBuffer = Nothing-    , _tabSelfLink = Nothing-    , _tabRequirePartitionFilter = Nothing-    , _tabEncryptionConfiguration = Nothing-    , _tabModel = Nothing-    , _tabTimePartitioning = Nothing-    , _tabNumRows = Nothing-    , _tabNumPhysicalBytes = Nothing-    , _tabView = Nothing-    , _tabId = Nothing-    , _tabLabels = Nothing-    , _tabType = Nothing-    , _tabNumLongTermBytes = Nothing-    , _tabExpirationTime = Nothing-    , _tabDescription = Nothing-    }----- | [Optional] Materialized view definition.-tabMaterializedView :: Lens' Table (Maybe MaterializedViewDefinition)-tabMaterializedView-  = lens _tabMaterializedView-      (\ s a -> s{_tabMaterializedView = a})---- | [Output-only] The time when this table was created, in milliseconds--- since the epoch.-tabCreationTime :: Lens' Table (Maybe Int64)-tabCreationTime-  = lens _tabCreationTime-      (\ s a -> s{_tabCreationTime = a})-      . mapping _Coerce---- | [Output-only] A hash of the table metadata. Used to ensure there were no--- concurrent modifications to the resource when attempting an update. Not--- guaranteed to change when the table contents or the fields numRows,--- numBytes, numLongTermBytes or lastModifiedTime change.-tabEtag :: Lens' Table (Maybe Text)-tabEtag = lens _tabEtag (\ s a -> s{_tabEtag = a})---- | [Output-only] The size of this table in bytes, excluding any data in the--- streaming buffer.-tabNumBytes :: Lens' Table (Maybe Int64)-tabNumBytes-  = lens _tabNumBytes (\ s a -> s{_tabNumBytes = a}) .-      mapping _Coerce---- | [Beta] Clustering specification for the table. Must be specified with--- partitioning, data in the table will be first partitioned and--- subsequently clustered.-tabClustering :: Lens' Table (Maybe Clustering)-tabClustering-  = lens _tabClustering-      (\ s a -> s{_tabClustering = a})---- | [Optional] Describes the data format, location, and other properties of--- a table stored outside of BigQuery. By defining these properties, the--- data source can then be queried as if it were a standard BigQuery table.-tabExternalDataConfiguration :: Lens' Table (Maybe ExternalDataConfiguration)-tabExternalDataConfiguration-  = lens _tabExternalDataConfiguration-      (\ s a -> s{_tabExternalDataConfiguration = a})---- | [TrustedTester] Range partitioning specification for this table. Only--- one of timePartitioning and rangePartitioning should be specified.-tabRangePartitioning :: Lens' Table (Maybe RangePartitioning)-tabRangePartitioning-  = lens _tabRangePartitioning-      (\ s a -> s{_tabRangePartitioning = a})---- | [Output-only] The geographic location where the table resides. This--- value is inherited from the dataset.-tabLocation :: Lens' Table (Maybe Text)-tabLocation-  = lens _tabLocation (\ s a -> s{_tabLocation = a})---- | [Required] Reference describing the ID of this table.-tabTableReference :: Lens' Table (Maybe TableReference)-tabTableReference-  = lens _tabTableReference-      (\ s a -> s{_tabTableReference = a})---- | [Optional] A descriptive name for this table.-tabFriendlyName :: Lens' Table (Maybe Text)-tabFriendlyName-  = lens _tabFriendlyName-      (\ s a -> s{_tabFriendlyName = a})---- | [Output-only] The type of the resource.-tabKind :: Lens' Table Text-tabKind = lens _tabKind (\ s a -> s{_tabKind = a})---- | [Output-only] The time when this table was last modified, in--- milliseconds since the epoch.-tabLastModifiedTime :: Lens' Table (Maybe Word64)-tabLastModifiedTime-  = lens _tabLastModifiedTime-      (\ s a -> s{_tabLastModifiedTime = a})-      . mapping _Coerce---- | [Optional] Describes the schema of this table.-tabSchema :: Lens' Table (Maybe TableSchema)-tabSchema-  = lens _tabSchema (\ s a -> s{_tabSchema = a})---- | [Output-only] Contains information regarding this table\'s streaming--- buffer, if one is present. This field will be absent if the table is not--- being streamed to or if there is no data in the streaming buffer.-tabStreamingBuffer :: Lens' Table (Maybe Streamingbuffer)-tabStreamingBuffer-  = lens _tabStreamingBuffer-      (\ s a -> s{_tabStreamingBuffer = a})---- | [Output-only] A URL that can be used to access this resource again.-tabSelfLink :: Lens' Table (Maybe Text)-tabSelfLink-  = lens _tabSelfLink (\ s a -> s{_tabSelfLink = a})---- | [Beta] [Optional] If set to true, queries over this table require a--- partition filter that can be used for partition elimination to be--- specified.-tabRequirePartitionFilter :: Lens' Table (Maybe Bool)-tabRequirePartitionFilter-  = lens _tabRequirePartitionFilter-      (\ s a -> s{_tabRequirePartitionFilter = a})---- | Custom encryption configuration (e.g., Cloud KMS keys).-tabEncryptionConfiguration :: Lens' Table (Maybe EncryptionConfiguration)-tabEncryptionConfiguration-  = lens _tabEncryptionConfiguration-      (\ s a -> s{_tabEncryptionConfiguration = a})---- | [Output-only, Beta] Present iff this table represents a ML model.--- Describes the training information for the model, and it is required to--- run \'PREDICT\' queries.-tabModel :: Lens' Table (Maybe ModelDefinition)-tabModel = lens _tabModel (\ s a -> s{_tabModel = a})---- | Time-based partitioning specification for this table. Only one of--- timePartitioning and rangePartitioning should be specified.-tabTimePartitioning :: Lens' Table (Maybe TimePartitioning)-tabTimePartitioning-  = lens _tabTimePartitioning-      (\ s a -> s{_tabTimePartitioning = a})---- | [Output-only] The number of rows of data in this table, excluding any--- data in the streaming buffer.-tabNumRows :: Lens' Table (Maybe Word64)-tabNumRows-  = lens _tabNumRows (\ s a -> s{_tabNumRows = a}) .-      mapping _Coerce---- | [Output-only] [TrustedTester] The physical size of this table in bytes,--- excluding any data in the streaming buffer. This includes compression--- and storage used for time travel.-tabNumPhysicalBytes :: Lens' Table (Maybe Int64)-tabNumPhysicalBytes-  = lens _tabNumPhysicalBytes-      (\ s a -> s{_tabNumPhysicalBytes = a})-      . mapping _Coerce---- | [Optional] The view definition.-tabView :: Lens' Table (Maybe ViewDefinition)-tabView = lens _tabView (\ s a -> s{_tabView = a})---- | [Output-only] An opaque ID uniquely identifying the table.-tabId :: Lens' Table (Maybe Text)-tabId = lens _tabId (\ s a -> s{_tabId = a})---- | The labels associated with this table. You can use these to organize and--- group your tables. Label keys and values can be no longer than 63--- characters, can only contain lowercase letters, numeric characters,--- underscores and dashes. International characters are allowed. Label--- values are optional. Label keys must start with a letter and each label--- in the list must have a different key.-tabLabels :: Lens' Table (Maybe TableLabels)-tabLabels-  = lens _tabLabels (\ s a -> s{_tabLabels = a})---- | [Output-only] Describes the table type. The following values are--- supported: TABLE: A normal BigQuery table. VIEW: A virtual table defined--- by a SQL query. [TrustedTester] MATERIALIZED_VIEW: SQL query whose--- result is persisted. EXTERNAL: A table that references data stored in an--- external storage system, such as Google Cloud Storage. The default value--- is TABLE.-tabType :: Lens' Table (Maybe Text)-tabType = lens _tabType (\ s a -> s{_tabType = a})---- | [Output-only] The number of bytes in the table that are considered--- \"long-term storage\".-tabNumLongTermBytes :: Lens' Table (Maybe Int64)-tabNumLongTermBytes-  = lens _tabNumLongTermBytes-      (\ s a -> s{_tabNumLongTermBytes = a})-      . mapping _Coerce---- | [Optional] The time when this table expires, in milliseconds since the--- epoch. If not present, the table will persist indefinitely. Expired--- tables will be deleted and their storage reclaimed. The--- defaultTableExpirationMs property of the encapsulating dataset can be--- used to set a default expirationTime on newly created tables.-tabExpirationTime :: Lens' Table (Maybe Int64)-tabExpirationTime-  = lens _tabExpirationTime-      (\ s a -> s{_tabExpirationTime = a})-      . mapping _Coerce---- | [Optional] A user-friendly description of this table.-tabDescription :: Lens' Table (Maybe Text)-tabDescription-  = lens _tabDescription-      (\ s a -> s{_tabDescription = a})--instance FromJSON Table where-        parseJSON-          = withObject "Table"-              (\ o ->-                 Table' <$>-                   (o .:? "materializedView") <*> (o .:? "creationTime")-                     <*> (o .:? "etag")-                     <*> (o .:? "numBytes")-                     <*> (o .:? "clustering")-                     <*> (o .:? "externalDataConfiguration")-                     <*> (o .:? "rangePartitioning")-                     <*> (o .:? "location")-                     <*> (o .:? "tableReference")-                     <*> (o .:? "friendlyName")-                     <*> (o .:? "kind" .!= "bigquery#table")-                     <*> (o .:? "lastModifiedTime")-                     <*> (o .:? "schema")-                     <*> (o .:? "streamingBuffer")-                     <*> (o .:? "selfLink")-                     <*> (o .:? "requirePartitionFilter")-                     <*> (o .:? "encryptionConfiguration")-                     <*> (o .:? "model")-                     <*> (o .:? "timePartitioning")-                     <*> (o .:? "numRows")-                     <*> (o .:? "numPhysicalBytes")-                     <*> (o .:? "view")-                     <*> (o .:? "id")-                     <*> (o .:? "labels")-                     <*> (o .:? "type")-                     <*> (o .:? "numLongTermBytes")-                     <*> (o .:? "expirationTime")-                     <*> (o .:? "description"))--instance ToJSON Table where-        toJSON Table'{..}-          = object-              (catMaybes-                 [("materializedView" .=) <$> _tabMaterializedView,-                  ("creationTime" .=) <$> _tabCreationTime,-                  ("etag" .=) <$> _tabEtag,-                  ("numBytes" .=) <$> _tabNumBytes,-                  ("clustering" .=) <$> _tabClustering,-                  ("externalDataConfiguration" .=) <$>-                    _tabExternalDataConfiguration,-                  ("rangePartitioning" .=) <$> _tabRangePartitioning,-                  ("location" .=) <$> _tabLocation,-                  ("tableReference" .=) <$> _tabTableReference,-                  ("friendlyName" .=) <$> _tabFriendlyName,-                  Just ("kind" .= _tabKind),-                  ("lastModifiedTime" .=) <$> _tabLastModifiedTime,-                  ("schema" .=) <$> _tabSchema,-                  ("streamingBuffer" .=) <$> _tabStreamingBuffer,-                  ("selfLink" .=) <$> _tabSelfLink,-                  ("requirePartitionFilter" .=) <$>-                    _tabRequirePartitionFilter,-                  ("encryptionConfiguration" .=) <$>-                    _tabEncryptionConfiguration,-                  ("model" .=) <$> _tabModel,-                  ("timePartitioning" .=) <$> _tabTimePartitioning,-                  ("numRows" .=) <$> _tabNumRows,-                  ("numPhysicalBytes" .=) <$> _tabNumPhysicalBytes,-                  ("view" .=) <$> _tabView, ("id" .=) <$> _tabId,-                  ("labels" .=) <$> _tabLabels,-                  ("type" .=) <$> _tabType,-                  ("numLongTermBytes" .=) <$> _tabNumLongTermBytes,-                  ("expirationTime" .=) <$> _tabExpirationTime,-                  ("description" .=) <$> _tabDescription])------- /See:/ 'errorProto' smart constructor.-data ErrorProto =-  ErrorProto'-    { _epDebugInfo :: !(Maybe Text)-    , _epLocation  :: !(Maybe Text)-    , _epReason    :: !(Maybe Text)-    , _epMessage   :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ErrorProto' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'epDebugInfo'------ * 'epLocation'------ * 'epReason'------ * 'epMessage'-errorProto-    :: ErrorProto-errorProto =-  ErrorProto'-    { _epDebugInfo = Nothing-    , _epLocation = Nothing-    , _epReason = Nothing-    , _epMessage = Nothing-    }----- | Debugging information. This property is internal to Google and should--- not be used.-epDebugInfo :: Lens' ErrorProto (Maybe Text)-epDebugInfo-  = lens _epDebugInfo (\ s a -> s{_epDebugInfo = a})---- | Specifies where the error occurred, if present.-epLocation :: Lens' ErrorProto (Maybe Text)-epLocation-  = lens _epLocation (\ s a -> s{_epLocation = a})---- | A short error code that summarizes the error.-epReason :: Lens' ErrorProto (Maybe Text)-epReason = lens _epReason (\ s a -> s{_epReason = a})---- | A human-readable description of the error.-epMessage :: Lens' ErrorProto (Maybe Text)-epMessage-  = lens _epMessage (\ s a -> s{_epMessage = a})--instance FromJSON ErrorProto where-        parseJSON-          = withObject "ErrorProto"-              (\ o ->-                 ErrorProto' <$>-                   (o .:? "debugInfo") <*> (o .:? "location") <*>-                     (o .:? "reason")-                     <*> (o .:? "message"))--instance ToJSON ErrorProto where-        toJSON ErrorProto'{..}-          = object-              (catMaybes-                 [("debugInfo" .=) <$> _epDebugInfo,-                  ("location" .=) <$> _epLocation,-                  ("reason" .=) <$> _epReason,-                  ("message" .=) <$> _epMessage])------- /See:/ 'csvOptions' smart constructor.-data CSVOptions =-  CSVOptions'-    { _coSkipLeadingRows     :: !(Maybe (Textual Int64))-    , _coAllowJaggedRows     :: !(Maybe Bool)-    , _coAllowQuotedNewlines :: !(Maybe Bool)-    , _coQuote               :: !Text-    , _coEncoding            :: !(Maybe Text)-    , _coFieldDelimiter      :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'CSVOptions' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'coSkipLeadingRows'------ * 'coAllowJaggedRows'------ * 'coAllowQuotedNewlines'------ * 'coQuote'------ * 'coEncoding'------ * 'coFieldDelimiter'-csvOptions-    :: CSVOptions-csvOptions =-  CSVOptions'-    { _coSkipLeadingRows = Nothing-    , _coAllowJaggedRows = Nothing-    , _coAllowQuotedNewlines = Nothing-    , _coQuote = "\""-    , _coEncoding = Nothing-    , _coFieldDelimiter = Nothing-    }----- | [Optional] The number of rows at the top of a CSV file that BigQuery--- will skip when reading the data. The default value is 0. This property--- is useful if you have header rows in the file that should be skipped.-coSkipLeadingRows :: Lens' CSVOptions (Maybe Int64)-coSkipLeadingRows-  = lens _coSkipLeadingRows-      (\ s a -> s{_coSkipLeadingRows = a})-      . mapping _Coerce---- | [Optional] Indicates if BigQuery should accept rows that are missing--- trailing optional columns. If true, BigQuery treats missing trailing--- columns as null values. If false, records with missing trailing columns--- are treated as bad records, and if there are too many bad records, an--- invalid error is returned in the job result. The default value is false.-coAllowJaggedRows :: Lens' CSVOptions (Maybe Bool)-coAllowJaggedRows-  = lens _coAllowJaggedRows-      (\ s a -> s{_coAllowJaggedRows = a})---- | [Optional] Indicates if BigQuery should allow quoted data sections that--- contain newline characters in a CSV file. The default value is false.-coAllowQuotedNewlines :: Lens' CSVOptions (Maybe Bool)-coAllowQuotedNewlines-  = lens _coAllowQuotedNewlines-      (\ s a -> s{_coAllowQuotedNewlines = a})---- | [Optional] The value that is used to quote data sections in a CSV file.--- BigQuery converts the string to ISO-8859-1 encoding, and then uses the--- first byte of the encoded string to split the data in its raw, binary--- state. The default value is a double-quote (\'\"\'). If your data does--- not contain quoted sections, set the property value to an empty string.--- If your data contains quoted newline characters, you must also set the--- allowQuotedNewlines property to true.-coQuote :: Lens' CSVOptions Text-coQuote = lens _coQuote (\ s a -> s{_coQuote = a})---- | [Optional] The character encoding of the data. The supported values are--- UTF-8 or ISO-8859-1. The default value is UTF-8. BigQuery decodes the--- data after the raw, binary data has been split using the values of the--- quote and fieldDelimiter properties.-coEncoding :: Lens' CSVOptions (Maybe Text)-coEncoding-  = lens _coEncoding (\ s a -> s{_coEncoding = a})---- | [Optional] The separator for fields in a CSV file. BigQuery converts the--- string to ISO-8859-1 encoding, and then uses the first byte of the--- encoded string to split the data in its raw, binary state. BigQuery also--- supports the escape sequence \"\\t\" to specify a tab separator. The--- default value is a comma (\',\').-coFieldDelimiter :: Lens' CSVOptions (Maybe Text)-coFieldDelimiter-  = lens _coFieldDelimiter-      (\ s a -> s{_coFieldDelimiter = a})--instance FromJSON CSVOptions where-        parseJSON-          = withObject "CSVOptions"-              (\ o ->-                 CSVOptions' <$>-                   (o .:? "skipLeadingRows") <*>-                     (o .:? "allowJaggedRows")-                     <*> (o .:? "allowQuotedNewlines")-                     <*> (o .:? "quote" .!= "\"")-                     <*> (o .:? "encoding")-                     <*> (o .:? "fieldDelimiter"))--instance ToJSON CSVOptions where-        toJSON CSVOptions'{..}-          = object-              (catMaybes-                 [("skipLeadingRows" .=) <$> _coSkipLeadingRows,-                  ("allowJaggedRows" .=) <$> _coAllowJaggedRows,-                  ("allowQuotedNewlines" .=) <$>-                    _coAllowQuotedNewlines,-                  Just ("quote" .= _coQuote),-                  ("encoding" .=) <$> _coEncoding,-                  ("fieldDelimiter" .=) <$> _coFieldDelimiter])---- | [Optional] The labels associated with this table. You can use these to--- organize and group your tables. This will only be used if the--- destination table is newly created. If the table already exists and--- labels are different than the current labels are provided, the job will--- fail.------ /See:/ 'destinationTablePropertiesLabels' smart constructor.-newtype DestinationTablePropertiesLabels =-  DestinationTablePropertiesLabels'-    { _dtplAddtional :: HashMap Text Text-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'DestinationTablePropertiesLabels' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dtplAddtional'-destinationTablePropertiesLabels-    :: HashMap Text Text -- ^ 'dtplAddtional'-    -> DestinationTablePropertiesLabels-destinationTablePropertiesLabels pDtplAddtional_ =-  DestinationTablePropertiesLabels' {_dtplAddtional = _Coerce # pDtplAddtional_}---dtplAddtional :: Lens' DestinationTablePropertiesLabels (HashMap Text Text)-dtplAddtional-  = lens _dtplAddtional-      (\ s a -> s{_dtplAddtional = a})-      . _Coerce--instance FromJSON DestinationTablePropertiesLabels-         where-        parseJSON-          = withObject "DestinationTablePropertiesLabels"-              (\ o ->-                 DestinationTablePropertiesLabels' <$>-                   (parseJSONObject o))--instance ToJSON DestinationTablePropertiesLabels-         where-        toJSON = toJSON . _dtplAddtional------- /See:/ 'jobStatistics3' smart constructor.-data JobStatistics3 =-  JobStatistics3'-    { _jsInputFiles     :: !(Maybe (Textual Int64))-    , _jsOutputRows     :: !(Maybe (Textual Int64))-    , _jsOutputBytes    :: !(Maybe (Textual Int64))-    , _jsInputFileBytes :: !(Maybe (Textual Int64))-    , _jsBadRecords     :: !(Maybe (Textual Int64))-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'JobStatistics3' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'jsInputFiles'------ * 'jsOutputRows'------ * 'jsOutputBytes'------ * 'jsInputFileBytes'------ * 'jsBadRecords'-jobStatistics3-    :: JobStatistics3-jobStatistics3 =-  JobStatistics3'-    { _jsInputFiles = Nothing-    , _jsOutputRows = Nothing-    , _jsOutputBytes = Nothing-    , _jsInputFileBytes = Nothing-    , _jsBadRecords = Nothing-    }----- | [Output-only] Number of source files in a load job.-jsInputFiles :: Lens' JobStatistics3 (Maybe Int64)-jsInputFiles-  = lens _jsInputFiles (\ s a -> s{_jsInputFiles = a})-      . mapping _Coerce---- | [Output-only] Number of rows imported in a load job. Note that while an--- import job is in the running state, this value may change.-jsOutputRows :: Lens' JobStatistics3 (Maybe Int64)-jsOutputRows-  = lens _jsOutputRows (\ s a -> s{_jsOutputRows = a})-      . mapping _Coerce---- | [Output-only] Size of the loaded data in bytes. Note that while a load--- job is in the running state, this value may change.-jsOutputBytes :: Lens' JobStatistics3 (Maybe Int64)-jsOutputBytes-  = lens _jsOutputBytes-      (\ s a -> s{_jsOutputBytes = a})-      . mapping _Coerce---- | [Output-only] Number of bytes of source data in a load job.-jsInputFileBytes :: Lens' JobStatistics3 (Maybe Int64)-jsInputFileBytes-  = lens _jsInputFileBytes-      (\ s a -> s{_jsInputFileBytes = a})-      . mapping _Coerce---- | [Output-only] The number of bad records encountered. Note that if the--- job has failed because of more bad records encountered than the maximum--- allowed in the load job configuration, then this number can be less than--- the total number of bad records present in the input data.-jsBadRecords :: Lens' JobStatistics3 (Maybe Int64)-jsBadRecords-  = lens _jsBadRecords (\ s a -> s{_jsBadRecords = a})-      . mapping _Coerce--instance FromJSON JobStatistics3 where-        parseJSON-          = withObject "JobStatistics3"-              (\ o ->-                 JobStatistics3' <$>-                   (o .:? "inputFiles") <*> (o .:? "outputRows") <*>-                     (o .:? "outputBytes")-                     <*> (o .:? "inputFileBytes")-                     <*> (o .:? "badRecords"))--instance ToJSON JobStatistics3 where-        toJSON JobStatistics3'{..}-          = object-              (catMaybes-                 [("inputFiles" .=) <$> _jsInputFiles,-                  ("outputRows" .=) <$> _jsOutputRows,-                  ("outputBytes" .=) <$> _jsOutputBytes,-                  ("inputFileBytes" .=) <$> _jsInputFileBytes,-                  ("badRecords" .=) <$> _jsBadRecords])------- /See:/ 'queryResponse' smart constructor.-data QueryResponse =-  QueryResponse'-    { _qJobReference        :: !(Maybe JobReference)-    , _qKind                :: !Text-    , _qSchema              :: !(Maybe TableSchema)-    , _qTotalBytesProcessed :: !(Maybe (Textual Int64))-    , _qRows                :: !(Maybe [TableRow])-    , _qPageToken           :: !(Maybe Text)-    , _qNumDmlAffectedRows  :: !(Maybe (Textual Int64))-    , _qTotalRows           :: !(Maybe (Textual Word64))-    , _qErrors              :: !(Maybe [ErrorProto])-    , _qJobComplete         :: !(Maybe Bool)-    , _qCacheHit            :: !(Maybe Bool)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'QueryResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'qJobReference'------ * 'qKind'------ * 'qSchema'------ * 'qTotalBytesProcessed'------ * 'qRows'------ * 'qPageToken'------ * 'qNumDmlAffectedRows'------ * 'qTotalRows'------ * 'qErrors'------ * 'qJobComplete'------ * 'qCacheHit'-queryResponse-    :: QueryResponse-queryResponse =-  QueryResponse'-    { _qJobReference = Nothing-    , _qKind = "bigquery#queryResponse"-    , _qSchema = Nothing-    , _qTotalBytesProcessed = Nothing-    , _qRows = Nothing-    , _qPageToken = Nothing-    , _qNumDmlAffectedRows = Nothing-    , _qTotalRows = Nothing-    , _qErrors = Nothing-    , _qJobComplete = Nothing-    , _qCacheHit = Nothing-    }----- | Reference to the Job that was created to run the query. This field will--- be present even if the original request timed out, in which case--- GetQueryResults can be used to read the results once the query has--- completed. Since this API only returns the first page of results,--- subsequent pages can be fetched via the same mechanism--- (GetQueryResults).-qJobReference :: Lens' QueryResponse (Maybe JobReference)-qJobReference-  = lens _qJobReference-      (\ s a -> s{_qJobReference = a})---- | The resource type.-qKind :: Lens' QueryResponse Text-qKind = lens _qKind (\ s a -> s{_qKind = a})---- | The schema of the results. Present only when the query completes--- successfully.-qSchema :: Lens' QueryResponse (Maybe TableSchema)-qSchema = lens _qSchema (\ s a -> s{_qSchema = a})---- | The total number of bytes processed for this query. If this query was a--- dry run, this is the number of bytes that would be processed if the--- query were run.-qTotalBytesProcessed :: Lens' QueryResponse (Maybe Int64)-qTotalBytesProcessed-  = lens _qTotalBytesProcessed-      (\ s a -> s{_qTotalBytesProcessed = a})-      . mapping _Coerce---- | An object with as many results as can be contained within the maximum--- permitted reply size. To get any additional rows, you can call--- GetQueryResults and specify the jobReference returned above.-qRows :: Lens' QueryResponse [TableRow]-qRows-  = lens _qRows (\ s a -> s{_qRows = a}) . _Default .-      _Coerce---- | A token used for paging results.-qPageToken :: Lens' QueryResponse (Maybe Text)-qPageToken-  = lens _qPageToken (\ s a -> s{_qPageToken = a})---- | [Output-only] The number of rows affected by a DML statement. Present--- only for DML statements INSERT, UPDATE or DELETE.-qNumDmlAffectedRows :: Lens' QueryResponse (Maybe Int64)-qNumDmlAffectedRows-  = lens _qNumDmlAffectedRows-      (\ s a -> s{_qNumDmlAffectedRows = a})-      . mapping _Coerce---- | The total number of rows in the complete query result set, which can be--- more than the number of rows in this single page of results.-qTotalRows :: Lens' QueryResponse (Maybe Word64)-qTotalRows-  = lens _qTotalRows (\ s a -> s{_qTotalRows = a}) .-      mapping _Coerce---- | [Output-only] The first errors or warnings encountered during the--- running of the job. The final message includes the number of errors that--- caused the process to stop. Errors here do not necessarily mean that the--- job has completed or was unsuccessful.-qErrors :: Lens' QueryResponse [ErrorProto]-qErrors-  = lens _qErrors (\ s a -> s{_qErrors = a}) . _Default-      . _Coerce---- | Whether the query has completed or not. If rows or totalRows are--- present, this will always be true. If this is false, totalRows will not--- be available.-qJobComplete :: Lens' QueryResponse (Maybe Bool)-qJobComplete-  = lens _qJobComplete (\ s a -> s{_qJobComplete = a})---- | Whether the query result was fetched from the query cache.-qCacheHit :: Lens' QueryResponse (Maybe Bool)-qCacheHit-  = lens _qCacheHit (\ s a -> s{_qCacheHit = a})--instance FromJSON QueryResponse where-        parseJSON-          = withObject "QueryResponse"-              (\ o ->-                 QueryResponse' <$>-                   (o .:? "jobReference") <*>-                     (o .:? "kind" .!= "bigquery#queryResponse")-                     <*> (o .:? "schema")-                     <*> (o .:? "totalBytesProcessed")-                     <*> (o .:? "rows" .!= mempty)-                     <*> (o .:? "pageToken")-                     <*> (o .:? "numDmlAffectedRows")-                     <*> (o .:? "totalRows")-                     <*> (o .:? "errors" .!= mempty)-                     <*> (o .:? "jobComplete")-                     <*> (o .:? "cacheHit"))--instance ToJSON QueryResponse where-        toJSON QueryResponse'{..}-          = object-              (catMaybes-                 [("jobReference" .=) <$> _qJobReference,-                  Just ("kind" .= _qKind), ("schema" .=) <$> _qSchema,-                  ("totalBytesProcessed" .=) <$> _qTotalBytesProcessed,-                  ("rows" .=) <$> _qRows,-                  ("pageToken" .=) <$> _qPageToken,-                  ("numDmlAffectedRows" .=) <$> _qNumDmlAffectedRows,-                  ("totalRows" .=) <$> _qTotalRows,-                  ("errors" .=) <$> _qErrors,-                  ("jobComplete" .=) <$> _qJobComplete,-                  ("cacheHit" .=) <$> _qCacheHit])---- | The labels associated with this dataset. You can use these to organize--- and group your datasets.------ /See:/ 'dataSetListDataSetsItemLabels' smart constructor.-newtype DataSetListDataSetsItemLabels =-  DataSetListDataSetsItemLabels'-    { _dsldsilAddtional :: HashMap Text Text-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'DataSetListDataSetsItemLabels' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dsldsilAddtional'-dataSetListDataSetsItemLabels-    :: HashMap Text Text -- ^ 'dsldsilAddtional'-    -> DataSetListDataSetsItemLabels-dataSetListDataSetsItemLabels pDsldsilAddtional_ =-  DataSetListDataSetsItemLabels'-    {_dsldsilAddtional = _Coerce # pDsldsilAddtional_}---dsldsilAddtional :: Lens' DataSetListDataSetsItemLabels (HashMap Text Text)-dsldsilAddtional-  = lens _dsldsilAddtional-      (\ s a -> s{_dsldsilAddtional = a})-      . _Coerce--instance FromJSON DataSetListDataSetsItemLabels where-        parseJSON-          = withObject "DataSetListDataSetsItemLabels"-              (\ o ->-                 DataSetListDataSetsItemLabels' <$>-                   (parseJSONObject o))--instance ToJSON DataSetListDataSetsItemLabels where-        toJSON = toJSON . _dsldsilAddtional---- | Additional details for a view.------ /See:/ 'tableListTablesItemView' smart constructor.-newtype TableListTablesItemView =-  TableListTablesItemView'-    { _tltivUseLegacySQL :: Maybe Bool-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'TableListTablesItemView' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'tltivUseLegacySQL'-tableListTablesItemView-    :: TableListTablesItemView-tableListTablesItemView =-  TableListTablesItemView' {_tltivUseLegacySQL = Nothing}----- | True if view is defined in legacy SQL dialect, false if in standard SQL.-tltivUseLegacySQL :: Lens' TableListTablesItemView (Maybe Bool)-tltivUseLegacySQL-  = lens _tltivUseLegacySQL-      (\ s a -> s{_tltivUseLegacySQL = a})--instance FromJSON TableListTablesItemView where-        parseJSON-          = withObject "TableListTablesItemView"-              (\ o ->-                 TableListTablesItemView' <$> (o .:? "useLegacySql"))--instance ToJSON TableListTablesItemView where-        toJSON TableListTablesItemView'{..}-          = object-              (catMaybes-                 [("useLegacySql" .=) <$> _tltivUseLegacySQL])---- | The labels associated with this table. You can use these to organize and--- group your tables.------ /See:/ 'tableListTablesItemLabels' smart constructor.-newtype TableListTablesItemLabels =-  TableListTablesItemLabels'-    { _tltilAddtional :: HashMap Text Text-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'TableListTablesItemLabels' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'tltilAddtional'-tableListTablesItemLabels-    :: HashMap Text Text -- ^ 'tltilAddtional'-    -> TableListTablesItemLabels-tableListTablesItemLabels pTltilAddtional_ =-  TableListTablesItemLabels' {_tltilAddtional = _Coerce # pTltilAddtional_}---tltilAddtional :: Lens' TableListTablesItemLabels (HashMap Text Text)-tltilAddtional-  = lens _tltilAddtional-      (\ s a -> s{_tltilAddtional = a})-      . _Coerce--instance FromJSON TableListTablesItemLabels where-        parseJSON-          = withObject "TableListTablesItemLabels"-              (\ o ->-                 TableListTablesItemLabels' <$> (parseJSONObject o))--instance ToJSON TableListTablesItemLabels where-        toJSON = toJSON . _tltilAddtional
− gen/Network/Google/BigQuery/Types/Sum.hs
@@ -1,82 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE LambdaCase         #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module      : Network.Google.BigQuery.Types.Sum--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)----module Network.Google.BigQuery.Types.Sum where--import           Network.Google.Prelude hiding (Bytes)---- | Restrict information returned to a set of selected fields-data JobsListProjection-    = Full-      -- ^ @full@-      -- Includes all job data-    | Minimal-      -- ^ @minimal@-      -- Does not include the job configuration-      deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable JobsListProjection--instance FromHttpApiData JobsListProjection where-    parseQueryParam = \case-        "full" -> Right Full-        "minimal" -> Right Minimal-        x -> Left ("Unable to parse JobsListProjection from: " <> x)--instance ToHttpApiData JobsListProjection where-    toQueryParam = \case-        Full -> "full"-        Minimal -> "minimal"--instance FromJSON JobsListProjection where-    parseJSON = parseJSONText "JobsListProjection"--instance ToJSON JobsListProjection where-    toJSON = toJSONText---- | Filter for job state-data JobsListStateFilter-    = Done-      -- ^ @done@-      -- Finished jobs-    | Pending-      -- ^ @pending@-      -- Pending jobs-    | Running-      -- ^ @running@-      -- Running jobs-      deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable JobsListStateFilter--instance FromHttpApiData JobsListStateFilter where-    parseQueryParam = \case-        "done" -> Right Done-        "pending" -> Right Pending-        "running" -> Right Running-        x -> Left ("Unable to parse JobsListStateFilter from: " <> x)--instance ToHttpApiData JobsListStateFilter where-    toQueryParam = \case-        Done -> "done"-        Pending -> "pending"-        Running -> "running"--instance FromJSON JobsListStateFilter where-    parseJSON = parseJSONText "JobsListStateFilter"--instance ToJSON JobsListStateFilter where-    toJSON = toJSONText
− gen/Network/Google/Resource/BigQuery/DataSets/Delete.hs
@@ -1,123 +0,0 @@-{-# LANGUAGE DataKinds          #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE FlexibleInstances  #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}-{-# LANGUAGE TypeOperators      #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds      #-}-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}---- |--- Module      : Network.Google.Resource.BigQuery.DataSets.Delete--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Deletes the dataset specified by the datasetId value. Before you can--- delete a dataset, you must delete all its tables, either manually or by--- specifying deleteContents. Immediately after deletion, you can create--- another dataset with the same name.------ /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.datasets.delete@.-module Network.Google.Resource.BigQuery.DataSets.Delete-    (-    -- * REST Resource-      DataSetsDeleteResource--    -- * Creating a Request-    , dataSetsDelete-    , DataSetsDelete--    -- * Request Lenses-    , dsdDataSetId-    , dsdProjectId-    , dsdDeleteContents-    ) where--import           Network.Google.BigQuery.Types-import           Network.Google.Prelude---- | A resource alias for @bigquery.datasets.delete@ method which the--- 'DataSetsDelete' request conforms to.-type DataSetsDeleteResource =-     "bigquery" :>-       "v2" :>-         "projects" :>-           Capture "projectId" Text :>-             "datasets" :>-               Capture "datasetId" Text :>-                 QueryParam "deleteContents" Bool :>-                   QueryParam "alt" AltJSON :> Delete '[JSON] ()---- | Deletes the dataset specified by the datasetId value. Before you can--- delete a dataset, you must delete all its tables, either manually or by--- specifying deleteContents. Immediately after deletion, you can create--- another dataset with the same name.------ /See:/ 'dataSetsDelete' smart constructor.-data DataSetsDelete =-  DataSetsDelete'-    { _dsdDataSetId      :: !Text-    , _dsdProjectId      :: !Text-    , _dsdDeleteContents :: !(Maybe Bool)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'DataSetsDelete' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dsdDataSetId'------ * 'dsdProjectId'------ * 'dsdDeleteContents'-dataSetsDelete-    :: Text -- ^ 'dsdDataSetId'-    -> Text -- ^ 'dsdProjectId'-    -> DataSetsDelete-dataSetsDelete pDsdDataSetId_ pDsdProjectId_ =-  DataSetsDelete'-    { _dsdDataSetId = pDsdDataSetId_-    , _dsdProjectId = pDsdProjectId_-    , _dsdDeleteContents = Nothing-    }----- | Dataset ID of dataset being deleted-dsdDataSetId :: Lens' DataSetsDelete Text-dsdDataSetId-  = lens _dsdDataSetId (\ s a -> s{_dsdDataSetId = a})---- | Project ID of the dataset being deleted-dsdProjectId :: Lens' DataSetsDelete Text-dsdProjectId-  = lens _dsdProjectId (\ s a -> s{_dsdProjectId = a})---- | If True, delete all the tables in the dataset. If False and the dataset--- contains tables, the request will fail. Default is False-dsdDeleteContents :: Lens' DataSetsDelete (Maybe Bool)-dsdDeleteContents-  = lens _dsdDeleteContents-      (\ s a -> s{_dsdDeleteContents = a})--instance GoogleRequest DataSetsDelete where-        type Rs DataSetsDelete = ()-        type Scopes DataSetsDelete =-             '["https://www.googleapis.com/auth/bigquery",-               "https://www.googleapis.com/auth/cloud-platform"]-        requestClient DataSetsDelete'{..}-          = go _dsdProjectId _dsdDataSetId _dsdDeleteContents-              (Just AltJSON)-              bigQueryService-          where go-                  = buildClient (Proxy :: Proxy DataSetsDeleteResource)-                      mempty
− gen/Network/Google/Resource/BigQuery/DataSets/Get.hs
@@ -1,101 +0,0 @@-{-# LANGUAGE DataKinds          #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE FlexibleInstances  #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}-{-# LANGUAGE TypeOperators      #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds      #-}-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}---- |--- Module      : Network.Google.Resource.BigQuery.DataSets.Get--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Returns the dataset specified by datasetID.------ /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.datasets.get@.-module Network.Google.Resource.BigQuery.DataSets.Get-    (-    -- * REST Resource-      DataSetsGetResource--    -- * Creating a Request-    , dataSetsGet-    , DataSetsGet--    -- * Request Lenses-    , dsgDataSetId-    , dsgProjectId-    ) where--import           Network.Google.BigQuery.Types-import           Network.Google.Prelude---- | A resource alias for @bigquery.datasets.get@ method which the--- 'DataSetsGet' request conforms to.-type DataSetsGetResource =-     "bigquery" :>-       "v2" :>-         "projects" :>-           Capture "projectId" Text :>-             "datasets" :>-               Capture "datasetId" Text :>-                 QueryParam "alt" AltJSON :> Get '[JSON] DataSet---- | Returns the dataset specified by datasetID.------ /See:/ 'dataSetsGet' smart constructor.-data DataSetsGet =-  DataSetsGet'-    { _dsgDataSetId :: !Text-    , _dsgProjectId :: !Text-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'DataSetsGet' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dsgDataSetId'------ * 'dsgProjectId'-dataSetsGet-    :: Text -- ^ 'dsgDataSetId'-    -> Text -- ^ 'dsgProjectId'-    -> DataSetsGet-dataSetsGet pDsgDataSetId_ pDsgProjectId_ =-  DataSetsGet' {_dsgDataSetId = pDsgDataSetId_, _dsgProjectId = pDsgProjectId_}----- | Dataset ID of the requested dataset-dsgDataSetId :: Lens' DataSetsGet Text-dsgDataSetId-  = lens _dsgDataSetId (\ s a -> s{_dsgDataSetId = a})---- | Project ID of the requested dataset-dsgProjectId :: Lens' DataSetsGet Text-dsgProjectId-  = lens _dsgProjectId (\ s a -> s{_dsgProjectId = a})--instance GoogleRequest DataSetsGet where-        type Rs DataSetsGet = DataSet-        type Scopes DataSetsGet =-             '["https://www.googleapis.com/auth/bigquery",-               "https://www.googleapis.com/auth/cloud-platform",-               "https://www.googleapis.com/auth/cloud-platform.read-only"]-        requestClient DataSetsGet'{..}-          = go _dsgProjectId _dsgDataSetId (Just AltJSON)-              bigQueryService-          where go-                  = buildClient (Proxy :: Proxy DataSetsGetResource)-                      mempty
− gen/Network/Google/Resource/BigQuery/DataSets/Insert.hs
@@ -1,100 +0,0 @@-{-# LANGUAGE DataKinds          #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE FlexibleInstances  #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}-{-# LANGUAGE TypeOperators      #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds      #-}-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}---- |--- Module      : Network.Google.Resource.BigQuery.DataSets.Insert--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Creates a new empty dataset.------ /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.datasets.insert@.-module Network.Google.Resource.BigQuery.DataSets.Insert-    (-    -- * REST Resource-      DataSetsInsertResource--    -- * Creating a Request-    , dataSetsInsert-    , DataSetsInsert--    -- * Request Lenses-    , dsiPayload-    , dsiProjectId-    ) where--import           Network.Google.BigQuery.Types-import           Network.Google.Prelude---- | A resource alias for @bigquery.datasets.insert@ method which the--- 'DataSetsInsert' request conforms to.-type DataSetsInsertResource =-     "bigquery" :>-       "v2" :>-         "projects" :>-           Capture "projectId" Text :>-             "datasets" :>-               QueryParam "alt" AltJSON :>-                 ReqBody '[JSON] DataSet :> Post '[JSON] DataSet---- | Creates a new empty dataset.------ /See:/ 'dataSetsInsert' smart constructor.-data DataSetsInsert =-  DataSetsInsert'-    { _dsiPayload   :: !DataSet-    , _dsiProjectId :: !Text-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'DataSetsInsert' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dsiPayload'------ * 'dsiProjectId'-dataSetsInsert-    :: DataSet -- ^ 'dsiPayload'-    -> Text -- ^ 'dsiProjectId'-    -> DataSetsInsert-dataSetsInsert pDsiPayload_ pDsiProjectId_ =-  DataSetsInsert' {_dsiPayload = pDsiPayload_, _dsiProjectId = pDsiProjectId_}----- | Multipart request metadata.-dsiPayload :: Lens' DataSetsInsert DataSet-dsiPayload-  = lens _dsiPayload (\ s a -> s{_dsiPayload = a})---- | Project ID of the new dataset-dsiProjectId :: Lens' DataSetsInsert Text-dsiProjectId-  = lens _dsiProjectId (\ s a -> s{_dsiProjectId = a})--instance GoogleRequest DataSetsInsert where-        type Rs DataSetsInsert = DataSet-        type Scopes DataSetsInsert =-             '["https://www.googleapis.com/auth/bigquery",-               "https://www.googleapis.com/auth/cloud-platform"]-        requestClient DataSetsInsert'{..}-          = go _dsiProjectId (Just AltJSON) _dsiPayload-              bigQueryService-          where go-                  = buildClient (Proxy :: Proxy DataSetsInsertResource)-                      mempty
− gen/Network/Google/Resource/BigQuery/DataSets/List.hs
@@ -1,145 +0,0 @@-{-# LANGUAGE DataKinds          #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE FlexibleInstances  #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}-{-# LANGUAGE TypeOperators      #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds      #-}-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}---- |--- Module      : Network.Google.Resource.BigQuery.DataSets.List--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Lists all datasets in the specified project to which you have been--- granted the READER dataset role.------ /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.datasets.list@.-module Network.Google.Resource.BigQuery.DataSets.List-    (-    -- * REST Resource-      DataSetsListResource--    -- * Creating a Request-    , dataSetsList-    , DataSetsList--    -- * Request Lenses-    , dslAll-    , dslFilter-    , dslPageToken-    , dslProjectId-    , dslMaxResults-    ) where--import           Network.Google.BigQuery.Types-import           Network.Google.Prelude---- | A resource alias for @bigquery.datasets.list@ method which the--- 'DataSetsList' request conforms to.-type DataSetsListResource =-     "bigquery" :>-       "v2" :>-         "projects" :>-           Capture "projectId" Text :>-             "datasets" :>-               QueryParam "all" Bool :>-                 QueryParam "filter" Text :>-                   QueryParam "pageToken" Text :>-                     QueryParam "maxResults" (Textual Word32) :>-                       QueryParam "alt" AltJSON :> Get '[JSON] DataSetList---- | Lists all datasets in the specified project to which you have been--- granted the READER dataset role.------ /See:/ 'dataSetsList' smart constructor.-data DataSetsList =-  DataSetsList'-    { _dslAll        :: !(Maybe Bool)-    , _dslFilter     :: !(Maybe Text)-    , _dslPageToken  :: !(Maybe Text)-    , _dslProjectId  :: !Text-    , _dslMaxResults :: !(Maybe (Textual Word32))-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'DataSetsList' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dslAll'------ * 'dslFilter'------ * 'dslPageToken'------ * 'dslProjectId'------ * 'dslMaxResults'-dataSetsList-    :: Text -- ^ 'dslProjectId'-    -> DataSetsList-dataSetsList pDslProjectId_ =-  DataSetsList'-    { _dslAll = Nothing-    , _dslFilter = Nothing-    , _dslPageToken = Nothing-    , _dslProjectId = pDslProjectId_-    , _dslMaxResults = Nothing-    }----- | Whether to list all datasets, including hidden ones-dslAll :: Lens' DataSetsList (Maybe Bool)-dslAll = lens _dslAll (\ s a -> s{_dslAll = a})---- | An expression for filtering the results of the request by label. The--- syntax is \"labels.[:]\". Multiple filters can be ANDed together by--- connecting with a space. Example: \"labels.department:receiving--- labels.active\". See Filtering datasets using labels for details.-dslFilter :: Lens' DataSetsList (Maybe Text)-dslFilter-  = lens _dslFilter (\ s a -> s{_dslFilter = a})---- | Page token, returned by a previous call, to request the next page of--- results-dslPageToken :: Lens' DataSetsList (Maybe Text)-dslPageToken-  = lens _dslPageToken (\ s a -> s{_dslPageToken = a})---- | Project ID of the datasets to be listed-dslProjectId :: Lens' DataSetsList Text-dslProjectId-  = lens _dslProjectId (\ s a -> s{_dslProjectId = a})---- | The maximum number of results to return-dslMaxResults :: Lens' DataSetsList (Maybe Word32)-dslMaxResults-  = lens _dslMaxResults-      (\ s a -> s{_dslMaxResults = a})-      . mapping _Coerce--instance GoogleRequest DataSetsList where-        type Rs DataSetsList = DataSetList-        type Scopes DataSetsList =-             '["https://www.googleapis.com/auth/bigquery",-               "https://www.googleapis.com/auth/cloud-platform",-               "https://www.googleapis.com/auth/cloud-platform.read-only"]-        requestClient DataSetsList'{..}-          = go _dslProjectId _dslAll _dslFilter _dslPageToken-              _dslMaxResults-              (Just AltJSON)-              bigQueryService-          where go-                  = buildClient (Proxy :: Proxy DataSetsListResource)-                      mempty
− gen/Network/Google/Resource/BigQuery/DataSets/Patch.hs
@@ -1,122 +0,0 @@-{-# LANGUAGE DataKinds          #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE FlexibleInstances  #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}-{-# LANGUAGE TypeOperators      #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds      #-}-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}---- |--- Module      : Network.Google.Resource.BigQuery.DataSets.Patch--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Updates information in an existing dataset. The update method replaces--- the entire dataset resource, whereas the patch method only replaces--- fields that are provided in the submitted dataset resource. This method--- supports patch semantics.------ /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.datasets.patch@.-module Network.Google.Resource.BigQuery.DataSets.Patch-    (-    -- * REST Resource-      DataSetsPatchResource--    -- * Creating a Request-    , dataSetsPatch-    , DataSetsPatch--    -- * Request Lenses-    , dspPayload-    , dspDataSetId-    , dspProjectId-    ) where--import           Network.Google.BigQuery.Types-import           Network.Google.Prelude---- | A resource alias for @bigquery.datasets.patch@ method which the--- 'DataSetsPatch' request conforms to.-type DataSetsPatchResource =-     "bigquery" :>-       "v2" :>-         "projects" :>-           Capture "projectId" Text :>-             "datasets" :>-               Capture "datasetId" Text :>-                 QueryParam "alt" AltJSON :>-                   ReqBody '[JSON] DataSet :> Patch '[JSON] DataSet---- | Updates information in an existing dataset. The update method replaces--- the entire dataset resource, whereas the patch method only replaces--- fields that are provided in the submitted dataset resource. This method--- supports patch semantics.------ /See:/ 'dataSetsPatch' smart constructor.-data DataSetsPatch =-  DataSetsPatch'-    { _dspPayload   :: !DataSet-    , _dspDataSetId :: !Text-    , _dspProjectId :: !Text-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'DataSetsPatch' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dspPayload'------ * 'dspDataSetId'------ * 'dspProjectId'-dataSetsPatch-    :: DataSet -- ^ 'dspPayload'-    -> Text -- ^ 'dspDataSetId'-    -> Text -- ^ 'dspProjectId'-    -> DataSetsPatch-dataSetsPatch pDspPayload_ pDspDataSetId_ pDspProjectId_ =-  DataSetsPatch'-    { _dspPayload = pDspPayload_-    , _dspDataSetId = pDspDataSetId_-    , _dspProjectId = pDspProjectId_-    }----- | Multipart request metadata.-dspPayload :: Lens' DataSetsPatch DataSet-dspPayload-  = lens _dspPayload (\ s a -> s{_dspPayload = a})---- | Dataset ID of the dataset being updated-dspDataSetId :: Lens' DataSetsPatch Text-dspDataSetId-  = lens _dspDataSetId (\ s a -> s{_dspDataSetId = a})---- | Project ID of the dataset being updated-dspProjectId :: Lens' DataSetsPatch Text-dspProjectId-  = lens _dspProjectId (\ s a -> s{_dspProjectId = a})--instance GoogleRequest DataSetsPatch where-        type Rs DataSetsPatch = DataSet-        type Scopes DataSetsPatch =-             '["https://www.googleapis.com/auth/bigquery",-               "https://www.googleapis.com/auth/cloud-platform"]-        requestClient DataSetsPatch'{..}-          = go _dspProjectId _dspDataSetId (Just AltJSON)-              _dspPayload-              bigQueryService-          where go-                  = buildClient (Proxy :: Proxy DataSetsPatchResource)-                      mempty
− gen/Network/Google/Resource/BigQuery/DataSets/Update.hs
@@ -1,120 +0,0 @@-{-# LANGUAGE DataKinds          #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE FlexibleInstances  #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}-{-# LANGUAGE TypeOperators      #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds      #-}-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}---- |--- Module      : Network.Google.Resource.BigQuery.DataSets.Update--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Updates information in an existing dataset. The update method replaces--- the entire dataset resource, whereas the patch method only replaces--- fields that are provided in the submitted dataset resource.------ /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.datasets.update@.-module Network.Google.Resource.BigQuery.DataSets.Update-    (-    -- * REST Resource-      DataSetsUpdateResource--    -- * Creating a Request-    , dataSetsUpdate-    , DataSetsUpdate--    -- * Request Lenses-    , dsuPayload-    , dsuDataSetId-    , dsuProjectId-    ) where--import           Network.Google.BigQuery.Types-import           Network.Google.Prelude---- | A resource alias for @bigquery.datasets.update@ method which the--- 'DataSetsUpdate' request conforms to.-type DataSetsUpdateResource =-     "bigquery" :>-       "v2" :>-         "projects" :>-           Capture "projectId" Text :>-             "datasets" :>-               Capture "datasetId" Text :>-                 QueryParam "alt" AltJSON :>-                   ReqBody '[JSON] DataSet :> Put '[JSON] DataSet---- | Updates information in an existing dataset. The update method replaces--- the entire dataset resource, whereas the patch method only replaces--- fields that are provided in the submitted dataset resource.------ /See:/ 'dataSetsUpdate' smart constructor.-data DataSetsUpdate =-  DataSetsUpdate'-    { _dsuPayload   :: !DataSet-    , _dsuDataSetId :: !Text-    , _dsuProjectId :: !Text-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'DataSetsUpdate' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dsuPayload'------ * 'dsuDataSetId'------ * 'dsuProjectId'-dataSetsUpdate-    :: DataSet -- ^ 'dsuPayload'-    -> Text -- ^ 'dsuDataSetId'-    -> Text -- ^ 'dsuProjectId'-    -> DataSetsUpdate-dataSetsUpdate pDsuPayload_ pDsuDataSetId_ pDsuProjectId_ =-  DataSetsUpdate'-    { _dsuPayload = pDsuPayload_-    , _dsuDataSetId = pDsuDataSetId_-    , _dsuProjectId = pDsuProjectId_-    }----- | Multipart request metadata.-dsuPayload :: Lens' DataSetsUpdate DataSet-dsuPayload-  = lens _dsuPayload (\ s a -> s{_dsuPayload = a})---- | Dataset ID of the dataset being updated-dsuDataSetId :: Lens' DataSetsUpdate Text-dsuDataSetId-  = lens _dsuDataSetId (\ s a -> s{_dsuDataSetId = a})---- | Project ID of the dataset being updated-dsuProjectId :: Lens' DataSetsUpdate Text-dsuProjectId-  = lens _dsuProjectId (\ s a -> s{_dsuProjectId = a})--instance GoogleRequest DataSetsUpdate where-        type Rs DataSetsUpdate = DataSet-        type Scopes DataSetsUpdate =-             '["https://www.googleapis.com/auth/bigquery",-               "https://www.googleapis.com/auth/cloud-platform"]-        requestClient DataSetsUpdate'{..}-          = go _dsuProjectId _dsuDataSetId (Just AltJSON)-              _dsuPayload-              bigQueryService-          where go-                  = buildClient (Proxy :: Proxy DataSetsUpdateResource)-                      mempty
− gen/Network/Google/Resource/BigQuery/Jobs/Cancel.hs
@@ -1,118 +0,0 @@-{-# LANGUAGE DataKinds          #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE FlexibleInstances  #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}-{-# LANGUAGE TypeOperators      #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds      #-}-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}---- |--- Module      : Network.Google.Resource.BigQuery.Jobs.Cancel--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Requests that a job be cancelled. This call will return immediately, and--- the client will need to poll for the job status to see if the cancel--- completed successfully. Cancelled jobs may still incur costs.------ /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.jobs.cancel@.-module Network.Google.Resource.BigQuery.Jobs.Cancel-    (-    -- * REST Resource-      JobsCancelResource--    -- * Creating a Request-    , jobsCancel-    , JobsCancel--    -- * Request Lenses-    , jcJobId-    , jcLocation-    , jcProjectId-    ) where--import           Network.Google.BigQuery.Types-import           Network.Google.Prelude---- | A resource alias for @bigquery.jobs.cancel@ method which the--- 'JobsCancel' request conforms to.-type JobsCancelResource =-     "bigquery" :>-       "v2" :>-         "projects" :>-           Capture "projectId" Text :>-             "jobs" :>-               Capture "jobId" Text :>-                 "cancel" :>-                   QueryParam "location" Text :>-                     QueryParam "alt" AltJSON :>-                       Post '[JSON] JobCancelResponse---- | Requests that a job be cancelled. This call will return immediately, and--- the client will need to poll for the job status to see if the cancel--- completed successfully. Cancelled jobs may still incur costs.------ /See:/ 'jobsCancel' smart constructor.-data JobsCancel =-  JobsCancel'-    { _jcJobId     :: !Text-    , _jcLocation  :: !(Maybe Text)-    , _jcProjectId :: !Text-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'JobsCancel' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'jcJobId'------ * 'jcLocation'------ * 'jcProjectId'-jobsCancel-    :: Text -- ^ 'jcJobId'-    -> Text -- ^ 'jcProjectId'-    -> JobsCancel-jobsCancel pJcJobId_ pJcProjectId_ =-  JobsCancel'-    {_jcJobId = pJcJobId_, _jcLocation = Nothing, _jcProjectId = pJcProjectId_}----- | [Required] Job ID of the job to cancel-jcJobId :: Lens' JobsCancel Text-jcJobId = lens _jcJobId (\ s a -> s{_jcJobId = a})---- | The geographic location of the job. Required except for US and EU. See--- details at--- https:\/\/cloud.google.com\/bigquery\/docs\/locations#specifying_your_location.-jcLocation :: Lens' JobsCancel (Maybe Text)-jcLocation-  = lens _jcLocation (\ s a -> s{_jcLocation = a})---- | [Required] Project ID of the job to cancel-jcProjectId :: Lens' JobsCancel Text-jcProjectId-  = lens _jcProjectId (\ s a -> s{_jcProjectId = a})--instance GoogleRequest JobsCancel where-        type Rs JobsCancel = JobCancelResponse-        type Scopes JobsCancel =-             '["https://www.googleapis.com/auth/bigquery",-               "https://www.googleapis.com/auth/cloud-platform"]-        requestClient JobsCancel'{..}-          = go _jcProjectId _jcJobId _jcLocation (Just AltJSON)-              bigQueryService-          where go-                  = buildClient (Proxy :: Proxy JobsCancelResource)-                      mempty
− gen/Network/Google/Resource/BigQuery/Jobs/Get.hs
@@ -1,116 +0,0 @@-{-# LANGUAGE DataKinds          #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE FlexibleInstances  #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}-{-# LANGUAGE TypeOperators      #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds      #-}-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}---- |--- Module      : Network.Google.Resource.BigQuery.Jobs.Get--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Returns information about a specific job. Job information is available--- for a six month period after creation. Requires that you\'re the person--- who ran the job, or have the Is Owner project role.------ /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.jobs.get@.-module Network.Google.Resource.BigQuery.Jobs.Get-    (-    -- * REST Resource-      JobsGetResource--    -- * Creating a Request-    , jobsGet-    , JobsGet--    -- * Request Lenses-    , jgJobId-    , jgLocation-    , jgProjectId-    ) where--import           Network.Google.BigQuery.Types-import           Network.Google.Prelude---- | A resource alias for @bigquery.jobs.get@ method which the--- 'JobsGet' request conforms to.-type JobsGetResource =-     "bigquery" :>-       "v2" :>-         "projects" :>-           Capture "projectId" Text :>-             "jobs" :>-               Capture "jobId" Text :>-                 QueryParam "location" Text :>-                   QueryParam "alt" AltJSON :> Get '[JSON] Job---- | Returns information about a specific job. Job information is available--- for a six month period after creation. Requires that you\'re the person--- who ran the job, or have the Is Owner project role.------ /See:/ 'jobsGet' smart constructor.-data JobsGet =-  JobsGet'-    { _jgJobId     :: !Text-    , _jgLocation  :: !(Maybe Text)-    , _jgProjectId :: !Text-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'JobsGet' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'jgJobId'------ * 'jgLocation'------ * 'jgProjectId'-jobsGet-    :: Text -- ^ 'jgJobId'-    -> Text -- ^ 'jgProjectId'-    -> JobsGet-jobsGet pJgJobId_ pJgProjectId_ =-  JobsGet'-    {_jgJobId = pJgJobId_, _jgLocation = Nothing, _jgProjectId = pJgProjectId_}----- | [Required] Job ID of the requested job-jgJobId :: Lens' JobsGet Text-jgJobId = lens _jgJobId (\ s a -> s{_jgJobId = a})---- | The geographic location of the job. Required except for US and EU. See--- details at--- https:\/\/cloud.google.com\/bigquery\/docs\/locations#specifying_your_location.-jgLocation :: Lens' JobsGet (Maybe Text)-jgLocation-  = lens _jgLocation (\ s a -> s{_jgLocation = a})---- | [Required] Project ID of the requested job-jgProjectId :: Lens' JobsGet Text-jgProjectId-  = lens _jgProjectId (\ s a -> s{_jgProjectId = a})--instance GoogleRequest JobsGet where-        type Rs JobsGet = Job-        type Scopes JobsGet =-             '["https://www.googleapis.com/auth/bigquery",-               "https://www.googleapis.com/auth/cloud-platform",-               "https://www.googleapis.com/auth/cloud-platform.read-only"]-        requestClient JobsGet'{..}-          = go _jgProjectId _jgJobId _jgLocation (Just AltJSON)-              bigQueryService-          where go-                  = buildClient (Proxy :: Proxy JobsGetResource) mempty
− gen/Network/Google/Resource/BigQuery/Jobs/GetQueryResults.hs
@@ -1,179 +0,0 @@-{-# LANGUAGE DataKinds          #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE FlexibleInstances  #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}-{-# LANGUAGE TypeOperators      #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds      #-}-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}---- |--- Module      : Network.Google.Resource.BigQuery.Jobs.GetQueryResults--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Retrieves the results of a query job.------ /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.jobs.getQueryResults@.-module Network.Google.Resource.BigQuery.Jobs.GetQueryResults-    (-    -- * REST Resource-      JobsGetQueryResultsResource--    -- * Creating a Request-    , jobsGetQueryResults-    , JobsGetQueryResults--    -- * Request Lenses-    , jgqrJobId-    , jgqrLocation-    , jgqrTimeoutMs-    , jgqrPageToken-    , jgqrProjectId-    , jgqrStartIndex-    , jgqrMaxResults-    ) where--import           Network.Google.BigQuery.Types-import           Network.Google.Prelude---- | A resource alias for @bigquery.jobs.getQueryResults@ method which the--- 'JobsGetQueryResults' request conforms to.-type JobsGetQueryResultsResource =-     "bigquery" :>-       "v2" :>-         "projects" :>-           Capture "projectId" Text :>-             "queries" :>-               Capture "jobId" Text :>-                 QueryParam "location" Text :>-                   QueryParam "timeoutMs" (Textual Word32) :>-                     QueryParam "pageToken" Text :>-                       QueryParam "startIndex" (Textual Word64) :>-                         QueryParam "maxResults" (Textual Word32) :>-                           QueryParam "alt" AltJSON :>-                             Get '[JSON] GetQueryResultsResponse---- | Retrieves the results of a query job.------ /See:/ 'jobsGetQueryResults' smart constructor.-data JobsGetQueryResults =-  JobsGetQueryResults'-    { _jgqrJobId      :: !Text-    , _jgqrLocation   :: !(Maybe Text)-    , _jgqrTimeoutMs  :: !(Maybe (Textual Word32))-    , _jgqrPageToken  :: !(Maybe Text)-    , _jgqrProjectId  :: !Text-    , _jgqrStartIndex :: !(Maybe (Textual Word64))-    , _jgqrMaxResults :: !(Maybe (Textual Word32))-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'JobsGetQueryResults' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'jgqrJobId'------ * 'jgqrLocation'------ * 'jgqrTimeoutMs'------ * 'jgqrPageToken'------ * 'jgqrProjectId'------ * 'jgqrStartIndex'------ * 'jgqrMaxResults'-jobsGetQueryResults-    :: Text -- ^ 'jgqrJobId'-    -> Text -- ^ 'jgqrProjectId'-    -> JobsGetQueryResults-jobsGetQueryResults pJgqrJobId_ pJgqrProjectId_ =-  JobsGetQueryResults'-    { _jgqrJobId = pJgqrJobId_-    , _jgqrLocation = Nothing-    , _jgqrTimeoutMs = Nothing-    , _jgqrPageToken = Nothing-    , _jgqrProjectId = pJgqrProjectId_-    , _jgqrStartIndex = Nothing-    , _jgqrMaxResults = Nothing-    }----- | [Required] Job ID of the query job-jgqrJobId :: Lens' JobsGetQueryResults Text-jgqrJobId-  = lens _jgqrJobId (\ s a -> s{_jgqrJobId = a})---- | The geographic location where the job should run. Required except for US--- and EU. See details at--- https:\/\/cloud.google.com\/bigquery\/docs\/locations#specifying_your_location.-jgqrLocation :: Lens' JobsGetQueryResults (Maybe Text)-jgqrLocation-  = lens _jgqrLocation (\ s a -> s{_jgqrLocation = a})---- | How long to wait for the query to complete, in milliseconds, before--- returning. Default is 10 seconds. If the timeout passes before the job--- completes, the \'jobComplete\' field in the response will be false-jgqrTimeoutMs :: Lens' JobsGetQueryResults (Maybe Word32)-jgqrTimeoutMs-  = lens _jgqrTimeoutMs-      (\ s a -> s{_jgqrTimeoutMs = a})-      . mapping _Coerce---- | Page token, returned by a previous call, to request the next page of--- results-jgqrPageToken :: Lens' JobsGetQueryResults (Maybe Text)-jgqrPageToken-  = lens _jgqrPageToken-      (\ s a -> s{_jgqrPageToken = a})---- | [Required] Project ID of the query job-jgqrProjectId :: Lens' JobsGetQueryResults Text-jgqrProjectId-  = lens _jgqrProjectId-      (\ s a -> s{_jgqrProjectId = a})---- | Zero-based index of the starting row-jgqrStartIndex :: Lens' JobsGetQueryResults (Maybe Word64)-jgqrStartIndex-  = lens _jgqrStartIndex-      (\ s a -> s{_jgqrStartIndex = a})-      . mapping _Coerce---- | Maximum number of results to read-jgqrMaxResults :: Lens' JobsGetQueryResults (Maybe Word32)-jgqrMaxResults-  = lens _jgqrMaxResults-      (\ s a -> s{_jgqrMaxResults = a})-      . mapping _Coerce--instance GoogleRequest JobsGetQueryResults where-        type Rs JobsGetQueryResults = GetQueryResultsResponse-        type Scopes JobsGetQueryResults =-             '["https://www.googleapis.com/auth/bigquery",-               "https://www.googleapis.com/auth/cloud-platform",-               "https://www.googleapis.com/auth/cloud-platform.read-only"]-        requestClient JobsGetQueryResults'{..}-          = go _jgqrProjectId _jgqrJobId _jgqrLocation-              _jgqrTimeoutMs-              _jgqrPageToken-              _jgqrStartIndex-              _jgqrMaxResults-              (Just AltJSON)-              bigQueryService-          where go-                  = buildClient-                      (Proxy :: Proxy JobsGetQueryResultsResource)-                      mempty
− gen/Network/Google/Resource/BigQuery/Jobs/Insert.hs
@@ -1,126 +0,0 @@-{-# LANGUAGE DataKinds          #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE FlexibleInstances  #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}-{-# LANGUAGE TypeOperators      #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds      #-}-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}---- |--- Module      : Network.Google.Resource.BigQuery.Jobs.Insert--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Starts a new asynchronous job. Requires the Can View project role.------ /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.jobs.insert@.-module Network.Google.Resource.BigQuery.Jobs.Insert-    (-    -- * REST Resource-      JobsInsertResource--    -- * Creating a Request-    , jobsInsert-    , JobsInsert--    -- * Request Lenses-    , jiPayload-    , jiProjectId-    ) where--import           Network.Google.BigQuery.Types-import           Network.Google.Prelude---- | A resource alias for @bigquery.jobs.insert@ method which the--- 'JobsInsert' request conforms to.-type JobsInsertResource =-     "bigquery" :>-       "v2" :>-         "projects" :>-           Capture "projectId" Text :>-             "jobs" :>-               QueryParam "alt" AltJSON :>-                 ReqBody '[JSON] Job :> Post '[JSON] Job-       :<|>-       "upload" :>-         "bigquery" :>-           "v2" :>-             "projects" :>-               Capture "projectId" Text :>-                 "jobs" :>-                   QueryParam "alt" AltJSON :>-                     QueryParam "uploadType" Multipart :>-                       MultipartRelated '[JSON] Job :> Post '[JSON] Job---- | Starts a new asynchronous job. Requires the Can View project role.------ /See:/ 'jobsInsert' smart constructor.-data JobsInsert =-  JobsInsert'-    { _jiPayload   :: !Job-    , _jiProjectId :: !Text-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'JobsInsert' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'jiPayload'------ * 'jiProjectId'-jobsInsert-    :: Job -- ^ 'jiPayload'-    -> Text -- ^ 'jiProjectId'-    -> JobsInsert-jobsInsert pJiPayload_ pJiProjectId_ =-  JobsInsert' {_jiPayload = pJiPayload_, _jiProjectId = pJiProjectId_}----- | Multipart request metadata.-jiPayload :: Lens' JobsInsert Job-jiPayload-  = lens _jiPayload (\ s a -> s{_jiPayload = a})---- | Project ID of the project that will be billed for the job-jiProjectId :: Lens' JobsInsert Text-jiProjectId-  = lens _jiProjectId (\ s a -> s{_jiProjectId = a})--instance GoogleRequest JobsInsert where-        type Rs JobsInsert = Job-        type Scopes JobsInsert =-             '["https://www.googleapis.com/auth/bigquery",-               "https://www.googleapis.com/auth/cloud-platform",-               "https://www.googleapis.com/auth/devstorage.full_control",-               "https://www.googleapis.com/auth/devstorage.read_only",-               "https://www.googleapis.com/auth/devstorage.read_write"]-        requestClient JobsInsert'{..}-          = go _jiProjectId (Just AltJSON) _jiPayload-              bigQueryService-          where go :<|> _-                  = buildClient (Proxy :: Proxy JobsInsertResource)-                      mempty--instance GoogleRequest (MediaUpload JobsInsert) where-        type Rs (MediaUpload JobsInsert) = Job-        type Scopes (MediaUpload JobsInsert) =-             Scopes JobsInsert-        requestClient (MediaUpload JobsInsert'{..} body)-          = go _jiProjectId (Just AltJSON) (Just Multipart)-              _jiPayload-              body-              bigQueryService-          where _ :<|> go-                  = buildClient (Proxy :: Proxy JobsInsertResource)-                      mempty
− gen/Network/Google/Resource/BigQuery/Jobs/List.hs
@@ -1,195 +0,0 @@-{-# LANGUAGE DataKinds          #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE FlexibleInstances  #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}-{-# LANGUAGE TypeOperators      #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds      #-}-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}---- |--- Module      : Network.Google.Resource.BigQuery.Jobs.List--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Lists all jobs that you started in the specified project. Job--- information is available for a six month period after creation. The job--- list is sorted in reverse chronological order, by job creation time.--- Requires the Can View project role, or the Is Owner project role if you--- set the allUsers property.------ /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.jobs.list@.-module Network.Google.Resource.BigQuery.Jobs.List-    (-    -- * REST Resource-      JobsListResource--    -- * Creating a Request-    , jobsList-    , JobsList--    -- * Request Lenses-    , jlMaxCreationTime-    , jlMinCreationTime-    , jlStateFilter-    , jlProjection-    , jlPageToken-    , jlProjectId-    , jlAllUsers-    , jlMaxResults-    ) where--import           Network.Google.BigQuery.Types-import           Network.Google.Prelude---- | A resource alias for @bigquery.jobs.list@ method which the--- 'JobsList' request conforms to.-type JobsListResource =-     "bigquery" :>-       "v2" :>-         "projects" :>-           Capture "projectId" Text :>-             "jobs" :>-               QueryParam "maxCreationTime" (Textual Word64) :>-                 QueryParam "minCreationTime" (Textual Word64) :>-                   QueryParams "stateFilter" JobsListStateFilter :>-                     QueryParam "projection" JobsListProjection :>-                       QueryParam "pageToken" Text :>-                         QueryParam "allUsers" Bool :>-                           QueryParam "maxResults" (Textual Word32) :>-                             QueryParam "alt" AltJSON :> Get '[JSON] JobList---- | Lists all jobs that you started in the specified project. Job--- information is available for a six month period after creation. The job--- list is sorted in reverse chronological order, by job creation time.--- Requires the Can View project role, or the Is Owner project role if you--- set the allUsers property.------ /See:/ 'jobsList' smart constructor.-data JobsList =-  JobsList'-    { _jlMaxCreationTime :: !(Maybe (Textual Word64))-    , _jlMinCreationTime :: !(Maybe (Textual Word64))-    , _jlStateFilter     :: !(Maybe [JobsListStateFilter])-    , _jlProjection      :: !(Maybe JobsListProjection)-    , _jlPageToken       :: !(Maybe Text)-    , _jlProjectId       :: !Text-    , _jlAllUsers        :: !(Maybe Bool)-    , _jlMaxResults      :: !(Maybe (Textual Word32))-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'JobsList' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'jlMaxCreationTime'------ * 'jlMinCreationTime'------ * 'jlStateFilter'------ * 'jlProjection'------ * 'jlPageToken'------ * 'jlProjectId'------ * 'jlAllUsers'------ * 'jlMaxResults'-jobsList-    :: Text -- ^ 'jlProjectId'-    -> JobsList-jobsList pJlProjectId_ =-  JobsList'-    { _jlMaxCreationTime = Nothing-    , _jlMinCreationTime = Nothing-    , _jlStateFilter = Nothing-    , _jlProjection = Nothing-    , _jlPageToken = Nothing-    , _jlProjectId = pJlProjectId_-    , _jlAllUsers = Nothing-    , _jlMaxResults = Nothing-    }----- | Max value for job creation time, in milliseconds since the POSIX epoch.--- If set, only jobs created before or at this timestamp are returned-jlMaxCreationTime :: Lens' JobsList (Maybe Word64)-jlMaxCreationTime-  = lens _jlMaxCreationTime-      (\ s a -> s{_jlMaxCreationTime = a})-      . mapping _Coerce---- | Min value for job creation time, in milliseconds since the POSIX epoch.--- If set, only jobs created after or at this timestamp are returned-jlMinCreationTime :: Lens' JobsList (Maybe Word64)-jlMinCreationTime-  = lens _jlMinCreationTime-      (\ s a -> s{_jlMinCreationTime = a})-      . mapping _Coerce---- | Filter for job state-jlStateFilter :: Lens' JobsList [JobsListStateFilter]-jlStateFilter-  = lens _jlStateFilter-      (\ s a -> s{_jlStateFilter = a})-      . _Default-      . _Coerce---- | Restrict information returned to a set of selected fields-jlProjection :: Lens' JobsList (Maybe JobsListProjection)-jlProjection-  = lens _jlProjection (\ s a -> s{_jlProjection = a})---- | Page token, returned by a previous call, to request the next page of--- results-jlPageToken :: Lens' JobsList (Maybe Text)-jlPageToken-  = lens _jlPageToken (\ s a -> s{_jlPageToken = a})---- | Project ID of the jobs to list-jlProjectId :: Lens' JobsList Text-jlProjectId-  = lens _jlProjectId (\ s a -> s{_jlProjectId = a})---- | Whether to display jobs owned by all users in the project. Default false-jlAllUsers :: Lens' JobsList (Maybe Bool)-jlAllUsers-  = lens _jlAllUsers (\ s a -> s{_jlAllUsers = a})---- | Maximum number of results to return-jlMaxResults :: Lens' JobsList (Maybe Word32)-jlMaxResults-  = lens _jlMaxResults (\ s a -> s{_jlMaxResults = a})-      . mapping _Coerce--instance GoogleRequest JobsList where-        type Rs JobsList = JobList-        type Scopes JobsList =-             '["https://www.googleapis.com/auth/bigquery",-               "https://www.googleapis.com/auth/cloud-platform",-               "https://www.googleapis.com/auth/cloud-platform.read-only"]-        requestClient JobsList'{..}-          = go _jlProjectId _jlMaxCreationTime-              _jlMinCreationTime-              (_jlStateFilter ^. _Default)-              _jlProjection-              _jlPageToken-              _jlAllUsers-              _jlMaxResults-              (Just AltJSON)-              bigQueryService-          where go-                  = buildClient (Proxy :: Proxy JobsListResource)-                      mempty
− gen/Network/Google/Resource/BigQuery/Jobs/Query.hs
@@ -1,104 +0,0 @@-{-# LANGUAGE DataKinds          #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE FlexibleInstances  #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}-{-# LANGUAGE TypeOperators      #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds      #-}-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}---- |--- Module      : Network.Google.Resource.BigQuery.Jobs.Query--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Runs a BigQuery SQL query synchronously and returns query results if the--- query completes within a specified timeout.------ /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.jobs.query@.-module Network.Google.Resource.BigQuery.Jobs.Query-    (-    -- * REST Resource-      JobsQueryResource--    -- * Creating a Request-    , jobsQuery-    , JobsQuery--    -- * Request Lenses-    , jqPayload-    , jqProjectId-    ) where--import           Network.Google.BigQuery.Types-import           Network.Google.Prelude---- | A resource alias for @bigquery.jobs.query@ method which the--- 'JobsQuery' request conforms to.-type JobsQueryResource =-     "bigquery" :>-       "v2" :>-         "projects" :>-           Capture "projectId" Text :>-             "queries" :>-               QueryParam "alt" AltJSON :>-                 ReqBody '[JSON] QueryRequest :>-                   Post '[JSON] QueryResponse---- | Runs a BigQuery SQL query synchronously and returns query results if the--- query completes within a specified timeout.------ /See:/ 'jobsQuery' smart constructor.-data JobsQuery =-  JobsQuery'-    { _jqPayload   :: !QueryRequest-    , _jqProjectId :: !Text-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'JobsQuery' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'jqPayload'------ * 'jqProjectId'-jobsQuery-    :: QueryRequest -- ^ 'jqPayload'-    -> Text -- ^ 'jqProjectId'-    -> JobsQuery-jobsQuery pJqPayload_ pJqProjectId_ =-  JobsQuery' {_jqPayload = pJqPayload_, _jqProjectId = pJqProjectId_}----- | Multipart request metadata.-jqPayload :: Lens' JobsQuery QueryRequest-jqPayload-  = lens _jqPayload (\ s a -> s{_jqPayload = a})---- | Project ID of the project billed for the query-jqProjectId :: Lens' JobsQuery Text-jqProjectId-  = lens _jqProjectId (\ s a -> s{_jqProjectId = a})--instance GoogleRequest JobsQuery where-        type Rs JobsQuery = QueryResponse-        type Scopes JobsQuery =-             '["https://www.googleapis.com/auth/bigquery",-               "https://www.googleapis.com/auth/cloud-platform",-               "https://www.googleapis.com/auth/cloud-platform.read-only"]-        requestClient JobsQuery'{..}-          = go _jqProjectId (Just AltJSON) _jqPayload-              bigQueryService-          where go-                  = buildClient (Proxy :: Proxy JobsQueryResource)-                      mempty
− gen/Network/Google/Resource/BigQuery/Projects/GetServiceAccount.hs
@@ -1,96 +0,0 @@-{-# LANGUAGE DataKinds          #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE FlexibleInstances  #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}-{-# LANGUAGE TypeOperators      #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds      #-}-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}---- |--- Module      : Network.Google.Resource.BigQuery.Projects.GetServiceAccount--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Returns the email address of the service account for your project used--- for interactions with Google Cloud KMS.------ /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.projects.getServiceAccount@.-module Network.Google.Resource.BigQuery.Projects.GetServiceAccount-    (-    -- * REST Resource-      ProjectsGetServiceAccountResource--    -- * Creating a Request-    , projectsGetServiceAccount-    , ProjectsGetServiceAccount--    -- * Request Lenses-    , pgsaProjectId-    ) where--import           Network.Google.BigQuery.Types-import           Network.Google.Prelude---- | A resource alias for @bigquery.projects.getServiceAccount@ method which the--- 'ProjectsGetServiceAccount' request conforms to.-type ProjectsGetServiceAccountResource =-     "bigquery" :>-       "v2" :>-         "projects" :>-           Capture "projectId" Text :>-             "serviceAccount" :>-               QueryParam "alt" AltJSON :>-                 Get '[JSON] GetServiceAccountResponse---- | Returns the email address of the service account for your project used--- for interactions with Google Cloud KMS.------ /See:/ 'projectsGetServiceAccount' smart constructor.-newtype ProjectsGetServiceAccount =-  ProjectsGetServiceAccount'-    { _pgsaProjectId :: Text-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsGetServiceAccount' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pgsaProjectId'-projectsGetServiceAccount-    :: Text -- ^ 'pgsaProjectId'-    -> ProjectsGetServiceAccount-projectsGetServiceAccount pPgsaProjectId_ =-  ProjectsGetServiceAccount' {_pgsaProjectId = pPgsaProjectId_}----- | Project ID for which the service account is requested.-pgsaProjectId :: Lens' ProjectsGetServiceAccount Text-pgsaProjectId-  = lens _pgsaProjectId-      (\ s a -> s{_pgsaProjectId = a})--instance GoogleRequest ProjectsGetServiceAccount-         where-        type Rs ProjectsGetServiceAccount =-             GetServiceAccountResponse-        type Scopes ProjectsGetServiceAccount =-             '["https://www.googleapis.com/auth/bigquery",-               "https://www.googleapis.com/auth/cloud-platform",-               "https://www.googleapis.com/auth/cloud-platform.read-only"]-        requestClient ProjectsGetServiceAccount'{..}-          = go _pgsaProjectId (Just AltJSON) bigQueryService-          where go-                  = buildClient-                      (Proxy :: Proxy ProjectsGetServiceAccountResource)-                      mempty
− gen/Network/Google/Resource/BigQuery/Projects/List.hs
@@ -1,99 +0,0 @@-{-# LANGUAGE DataKinds          #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE FlexibleInstances  #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}-{-# LANGUAGE TypeOperators      #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds      #-}-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}---- |--- Module      : Network.Google.Resource.BigQuery.Projects.List--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Lists all projects to which you have been granted any project role.------ /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.projects.list@.-module Network.Google.Resource.BigQuery.Projects.List-    (-    -- * REST Resource-      ProjectsListResource--    -- * Creating a Request-    , projectsList-    , ProjectsList--    -- * Request Lenses-    , plPageToken-    , plMaxResults-    ) where--import           Network.Google.BigQuery.Types-import           Network.Google.Prelude---- | A resource alias for @bigquery.projects.list@ method which the--- 'ProjectsList' request conforms to.-type ProjectsListResource =-     "bigquery" :>-       "v2" :>-         "projects" :>-           QueryParam "pageToken" Text :>-             QueryParam "maxResults" (Textual Word32) :>-               QueryParam "alt" AltJSON :> Get '[JSON] ProjectList---- | Lists all projects to which you have been granted any project role.------ /See:/ 'projectsList' smart constructor.-data ProjectsList =-  ProjectsList'-    { _plPageToken  :: !(Maybe Text)-    , _plMaxResults :: !(Maybe (Textual Word32))-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsList' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'plPageToken'------ * 'plMaxResults'-projectsList-    :: ProjectsList-projectsList = ProjectsList' {_plPageToken = Nothing, _plMaxResults = Nothing}----- | Page token, returned by a previous call, to request the next page of--- results-plPageToken :: Lens' ProjectsList (Maybe Text)-plPageToken-  = lens _plPageToken (\ s a -> s{_plPageToken = a})---- | Maximum number of results to return-plMaxResults :: Lens' ProjectsList (Maybe Word32)-plMaxResults-  = lens _plMaxResults (\ s a -> s{_plMaxResults = a})-      . mapping _Coerce--instance GoogleRequest ProjectsList where-        type Rs ProjectsList = ProjectList-        type Scopes ProjectsList =-             '["https://www.googleapis.com/auth/bigquery",-               "https://www.googleapis.com/auth/cloud-platform",-               "https://www.googleapis.com/auth/cloud-platform.read-only"]-        requestClient ProjectsList'{..}-          = go _plPageToken _plMaxResults (Just AltJSON)-              bigQueryService-          where go-                  = buildClient (Proxy :: Proxy ProjectsListResource)-                      mempty
− gen/Network/Google/Resource/BigQuery/TableData/InsertAll.hs
@@ -1,139 +0,0 @@-{-# LANGUAGE DataKinds          #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE FlexibleInstances  #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}-{-# LANGUAGE TypeOperators      #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds      #-}-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}---- |--- Module      : Network.Google.Resource.BigQuery.TableData.InsertAll--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Streams data into BigQuery one record at a time without needing to run a--- load job. Requires the WRITER dataset role.------ /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.tabledata.insertAll@.-module Network.Google.Resource.BigQuery.TableData.InsertAll-    (-    -- * REST Resource-      TableDataInsertAllResource--    -- * Creating a Request-    , tableDataInsertAll-    , TableDataInsertAll--    -- * Request Lenses-    , tdiaPayload-    , tdiaDataSetId-    , tdiaProjectId-    , tdiaTableId-    ) where--import           Network.Google.BigQuery.Types-import           Network.Google.Prelude---- | A resource alias for @bigquery.tabledata.insertAll@ method which the--- 'TableDataInsertAll' request conforms to.-type TableDataInsertAllResource =-     "bigquery" :>-       "v2" :>-         "projects" :>-           Capture "projectId" Text :>-             "datasets" :>-               Capture "datasetId" Text :>-                 "tables" :>-                   Capture "tableId" Text :>-                     "insertAll" :>-                       QueryParam "alt" AltJSON :>-                         ReqBody '[JSON] TableDataInsertAllRequest :>-                           Post '[JSON] TableDataInsertAllResponse---- | Streams data into BigQuery one record at a time without needing to run a--- load job. Requires the WRITER dataset role.------ /See:/ 'tableDataInsertAll' smart constructor.-data TableDataInsertAll =-  TableDataInsertAll'-    { _tdiaPayload   :: !TableDataInsertAllRequest-    , _tdiaDataSetId :: !Text-    , _tdiaProjectId :: !Text-    , _tdiaTableId   :: !Text-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'TableDataInsertAll' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'tdiaPayload'------ * 'tdiaDataSetId'------ * 'tdiaProjectId'------ * 'tdiaTableId'-tableDataInsertAll-    :: TableDataInsertAllRequest -- ^ 'tdiaPayload'-    -> Text -- ^ 'tdiaDataSetId'-    -> Text -- ^ 'tdiaProjectId'-    -> Text -- ^ 'tdiaTableId'-    -> TableDataInsertAll-tableDataInsertAll pTdiaPayload_ pTdiaDataSetId_ pTdiaProjectId_ pTdiaTableId_ =-  TableDataInsertAll'-    { _tdiaPayload = pTdiaPayload_-    , _tdiaDataSetId = pTdiaDataSetId_-    , _tdiaProjectId = pTdiaProjectId_-    , _tdiaTableId = pTdiaTableId_-    }----- | Multipart request metadata.-tdiaPayload :: Lens' TableDataInsertAll TableDataInsertAllRequest-tdiaPayload-  = lens _tdiaPayload (\ s a -> s{_tdiaPayload = a})---- | Dataset ID of the destination table.-tdiaDataSetId :: Lens' TableDataInsertAll Text-tdiaDataSetId-  = lens _tdiaDataSetId-      (\ s a -> s{_tdiaDataSetId = a})---- | Project ID of the destination table.-tdiaProjectId :: Lens' TableDataInsertAll Text-tdiaProjectId-  = lens _tdiaProjectId-      (\ s a -> s{_tdiaProjectId = a})---- | Table ID of the destination table.-tdiaTableId :: Lens' TableDataInsertAll Text-tdiaTableId-  = lens _tdiaTableId (\ s a -> s{_tdiaTableId = a})--instance GoogleRequest TableDataInsertAll where-        type Rs TableDataInsertAll =-             TableDataInsertAllResponse-        type Scopes TableDataInsertAll =-             '["https://www.googleapis.com/auth/bigquery",-               "https://www.googleapis.com/auth/bigquery.insertdata",-               "https://www.googleapis.com/auth/cloud-platform"]-        requestClient TableDataInsertAll'{..}-          = go _tdiaProjectId _tdiaDataSetId _tdiaTableId-              (Just AltJSON)-              _tdiaPayload-              bigQueryService-          where go-                  = buildClient-                      (Proxy :: Proxy TableDataInsertAllResource)-                      mempty
− gen/Network/Google/Resource/BigQuery/TableData/List.hs
@@ -1,174 +0,0 @@-{-# LANGUAGE DataKinds          #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE FlexibleInstances  #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}-{-# LANGUAGE TypeOperators      #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds      #-}-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}---- |--- Module      : Network.Google.Resource.BigQuery.TableData.List--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Retrieves table data from a specified set of rows. Requires the READER--- dataset role.------ /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.tabledata.list@.-module Network.Google.Resource.BigQuery.TableData.List-    (-    -- * REST Resource-      TableDataListResource--    -- * Creating a Request-    , tableDataList'-    , TableDataList'--    -- * Request Lenses-    , tDataSetId-    , tPageToken-    , tProjectId-    , tSelectedFields-    , tTableId-    , tStartIndex-    , tMaxResults-    ) where--import           Network.Google.BigQuery.Types-import           Network.Google.Prelude---- | A resource alias for @bigquery.tabledata.list@ method which the--- 'TableDataList'' request conforms to.-type TableDataListResource =-     "bigquery" :>-       "v2" :>-         "projects" :>-           Capture "projectId" Text :>-             "datasets" :>-               Capture "datasetId" Text :>-                 "tables" :>-                   Capture "tableId" Text :>-                     "data" :>-                       QueryParam "pageToken" Text :>-                         QueryParam "selectedFields" Text :>-                           QueryParam "startIndex" (Textual Word64) :>-                             QueryParam "maxResults" (Textual Word32) :>-                               QueryParam "alt" AltJSON :>-                                 Get '[JSON] TableDataList---- | Retrieves table data from a specified set of rows. Requires the READER--- dataset role.------ /See:/ 'tableDataList'' smart constructor.-data TableDataList' =-  TableDataList''-    { _tDataSetId      :: !Text-    , _tPageToken      :: !(Maybe Text)-    , _tProjectId      :: !Text-    , _tSelectedFields :: !(Maybe Text)-    , _tTableId        :: !Text-    , _tStartIndex     :: !(Maybe (Textual Word64))-    , _tMaxResults     :: !(Maybe (Textual Word32))-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'TableDataList'' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'tDataSetId'------ * 'tPageToken'------ * 'tProjectId'------ * 'tSelectedFields'------ * 'tTableId'------ * 'tStartIndex'------ * 'tMaxResults'-tableDataList'-    :: Text -- ^ 'tDataSetId'-    -> Text -- ^ 'tProjectId'-    -> Text -- ^ 'tTableId'-    -> TableDataList'-tableDataList' pTDataSetId_ pTProjectId_ pTTableId_ =-  TableDataList''-    { _tDataSetId = pTDataSetId_-    , _tPageToken = Nothing-    , _tProjectId = pTProjectId_-    , _tSelectedFields = Nothing-    , _tTableId = pTTableId_-    , _tStartIndex = Nothing-    , _tMaxResults = Nothing-    }----- | Dataset ID of the table to read-tDataSetId :: Lens' TableDataList' Text-tDataSetId-  = lens _tDataSetId (\ s a -> s{_tDataSetId = a})---- | A token used for paging results. Providing this token instead of the--- startIndex parameter can help you retrieve stable results when an--- underlying table is changing.-tPageToken :: Lens' TableDataList' (Maybe Text)-tPageToken-  = lens _tPageToken (\ s a -> s{_tPageToken = a})---- | Project ID of the table to read-tProjectId :: Lens' TableDataList' Text-tProjectId-  = lens _tProjectId (\ s a -> s{_tProjectId = a})---- | List of fields to return (comma-separated). If unspecified, all fields--- are returned-tSelectedFields :: Lens' TableDataList' (Maybe Text)-tSelectedFields-  = lens _tSelectedFields-      (\ s a -> s{_tSelectedFields = a})---- | Table ID of the table to read-tTableId :: Lens' TableDataList' Text-tTableId = lens _tTableId (\ s a -> s{_tTableId = a})---- | Zero-based index of the starting row to read-tStartIndex :: Lens' TableDataList' (Maybe Word64)-tStartIndex-  = lens _tStartIndex (\ s a -> s{_tStartIndex = a}) .-      mapping _Coerce---- | Maximum number of results to return-tMaxResults :: Lens' TableDataList' (Maybe Word32)-tMaxResults-  = lens _tMaxResults (\ s a -> s{_tMaxResults = a}) .-      mapping _Coerce--instance GoogleRequest TableDataList' where-        type Rs TableDataList' = TableDataList-        type Scopes TableDataList' =-             '["https://www.googleapis.com/auth/bigquery",-               "https://www.googleapis.com/auth/cloud-platform",-               "https://www.googleapis.com/auth/cloud-platform.read-only"]-        requestClient TableDataList''{..}-          = go _tProjectId _tDataSetId _tTableId _tPageToken-              _tSelectedFields-              _tStartIndex-              _tMaxResults-              (Just AltJSON)-              bigQueryService-          where go-                  = buildClient (Proxy :: Proxy TableDataListResource)-                      mempty
− gen/Network/Google/Resource/BigQuery/Tables/Delete.hs
@@ -1,119 +0,0 @@-{-# LANGUAGE DataKinds          #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE FlexibleInstances  #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}-{-# LANGUAGE TypeOperators      #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds      #-}-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}---- |--- Module      : Network.Google.Resource.BigQuery.Tables.Delete--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Deletes the table specified by tableId from the dataset. If the table--- contains data, all the data will be deleted.------ /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.tables.delete@.-module Network.Google.Resource.BigQuery.Tables.Delete-    (-    -- * REST Resource-      TablesDeleteResource--    -- * Creating a Request-    , tablesDelete-    , TablesDelete--    -- * Request Lenses-    , tdDataSetId-    , tdProjectId-    , tdTableId-    ) where--import           Network.Google.BigQuery.Types-import           Network.Google.Prelude---- | A resource alias for @bigquery.tables.delete@ method which the--- 'TablesDelete' request conforms to.-type TablesDeleteResource =-     "bigquery" :>-       "v2" :>-         "projects" :>-           Capture "projectId" Text :>-             "datasets" :>-               Capture "datasetId" Text :>-                 "tables" :>-                   Capture "tableId" Text :>-                     QueryParam "alt" AltJSON :> Delete '[JSON] ()---- | Deletes the table specified by tableId from the dataset. If the table--- contains data, all the data will be deleted.------ /See:/ 'tablesDelete' smart constructor.-data TablesDelete =-  TablesDelete'-    { _tdDataSetId :: !Text-    , _tdProjectId :: !Text-    , _tdTableId   :: !Text-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'TablesDelete' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'tdDataSetId'------ * 'tdProjectId'------ * 'tdTableId'-tablesDelete-    :: Text -- ^ 'tdDataSetId'-    -> Text -- ^ 'tdProjectId'-    -> Text -- ^ 'tdTableId'-    -> TablesDelete-tablesDelete pTdDataSetId_ pTdProjectId_ pTdTableId_ =-  TablesDelete'-    { _tdDataSetId = pTdDataSetId_-    , _tdProjectId = pTdProjectId_-    , _tdTableId = pTdTableId_-    }----- | Dataset ID of the table to delete-tdDataSetId :: Lens' TablesDelete Text-tdDataSetId-  = lens _tdDataSetId (\ s a -> s{_tdDataSetId = a})---- | Project ID of the table to delete-tdProjectId :: Lens' TablesDelete Text-tdProjectId-  = lens _tdProjectId (\ s a -> s{_tdProjectId = a})---- | Table ID of the table to delete-tdTableId :: Lens' TablesDelete Text-tdTableId-  = lens _tdTableId (\ s a -> s{_tdTableId = a})--instance GoogleRequest TablesDelete where-        type Rs TablesDelete = ()-        type Scopes TablesDelete =-             '["https://www.googleapis.com/auth/bigquery",-               "https://www.googleapis.com/auth/cloud-platform"]-        requestClient TablesDelete'{..}-          = go _tdProjectId _tdDataSetId _tdTableId-              (Just AltJSON)-              bigQueryService-          where go-                  = buildClient (Proxy :: Proxy TablesDeleteResource)-                      mempty
− gen/Network/Google/Resource/BigQuery/Tables/Get.hs
@@ -1,136 +0,0 @@-{-# LANGUAGE DataKinds          #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE FlexibleInstances  #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}-{-# LANGUAGE TypeOperators      #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds      #-}-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}---- |--- Module      : Network.Google.Resource.BigQuery.Tables.Get--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Gets the specified table resource by table ID. This method does not--- return the data in the table, it only returns the table resource, which--- describes the structure of this table.------ /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.tables.get@.-module Network.Google.Resource.BigQuery.Tables.Get-    (-    -- * REST Resource-      TablesGetResource--    -- * Creating a Request-    , tablesGet-    , TablesGet--    -- * Request Lenses-    , tgDataSetId-    , tgProjectId-    , tgSelectedFields-    , tgTableId-    ) where--import           Network.Google.BigQuery.Types-import           Network.Google.Prelude---- | A resource alias for @bigquery.tables.get@ method which the--- 'TablesGet' request conforms to.-type TablesGetResource =-     "bigquery" :>-       "v2" :>-         "projects" :>-           Capture "projectId" Text :>-             "datasets" :>-               Capture "datasetId" Text :>-                 "tables" :>-                   Capture "tableId" Text :>-                     QueryParam "selectedFields" Text :>-                       QueryParam "alt" AltJSON :> Get '[JSON] Table---- | Gets the specified table resource by table ID. This method does not--- return the data in the table, it only returns the table resource, which--- describes the structure of this table.------ /See:/ 'tablesGet' smart constructor.-data TablesGet =-  TablesGet'-    { _tgDataSetId      :: !Text-    , _tgProjectId      :: !Text-    , _tgSelectedFields :: !(Maybe Text)-    , _tgTableId        :: !Text-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'TablesGet' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'tgDataSetId'------ * 'tgProjectId'------ * 'tgSelectedFields'------ * 'tgTableId'-tablesGet-    :: Text -- ^ 'tgDataSetId'-    -> Text -- ^ 'tgProjectId'-    -> Text -- ^ 'tgTableId'-    -> TablesGet-tablesGet pTgDataSetId_ pTgProjectId_ pTgTableId_ =-  TablesGet'-    { _tgDataSetId = pTgDataSetId_-    , _tgProjectId = pTgProjectId_-    , _tgSelectedFields = Nothing-    , _tgTableId = pTgTableId_-    }----- | Dataset ID of the requested table-tgDataSetId :: Lens' TablesGet Text-tgDataSetId-  = lens _tgDataSetId (\ s a -> s{_tgDataSetId = a})---- | Project ID of the requested table-tgProjectId :: Lens' TablesGet Text-tgProjectId-  = lens _tgProjectId (\ s a -> s{_tgProjectId = a})---- | List of fields to return (comma-separated). If unspecified, all fields--- are returned-tgSelectedFields :: Lens' TablesGet (Maybe Text)-tgSelectedFields-  = lens _tgSelectedFields-      (\ s a -> s{_tgSelectedFields = a})---- | Table ID of the requested table-tgTableId :: Lens' TablesGet Text-tgTableId-  = lens _tgTableId (\ s a -> s{_tgTableId = a})--instance GoogleRequest TablesGet where-        type Rs TablesGet = Table-        type Scopes TablesGet =-             '["https://www.googleapis.com/auth/bigquery",-               "https://www.googleapis.com/auth/cloud-platform",-               "https://www.googleapis.com/auth/cloud-platform.read-only"]-        requestClient TablesGet'{..}-          = go _tgProjectId _tgDataSetId _tgTableId-              _tgSelectedFields-              (Just AltJSON)-              bigQueryService-          where go-                  = buildClient (Proxy :: Proxy TablesGetResource)-                      mempty
− gen/Network/Google/Resource/BigQuery/Tables/Insert.hs
@@ -1,117 +0,0 @@-{-# LANGUAGE DataKinds          #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE FlexibleInstances  #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}-{-# LANGUAGE TypeOperators      #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds      #-}-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}---- |--- Module      : Network.Google.Resource.BigQuery.Tables.Insert--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Creates a new, empty table in the dataset.------ /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.tables.insert@.-module Network.Google.Resource.BigQuery.Tables.Insert-    (-    -- * REST Resource-      TablesInsertResource--    -- * Creating a Request-    , tablesInsert-    , TablesInsert--    -- * Request Lenses-    , tiPayload-    , tiDataSetId-    , tiProjectId-    ) where--import           Network.Google.BigQuery.Types-import           Network.Google.Prelude---- | A resource alias for @bigquery.tables.insert@ method which the--- 'TablesInsert' request conforms to.-type TablesInsertResource =-     "bigquery" :>-       "v2" :>-         "projects" :>-           Capture "projectId" Text :>-             "datasets" :>-               Capture "datasetId" Text :>-                 "tables" :>-                   QueryParam "alt" AltJSON :>-                     ReqBody '[JSON] Table :> Post '[JSON] Table---- | Creates a new, empty table in the dataset.------ /See:/ 'tablesInsert' smart constructor.-data TablesInsert =-  TablesInsert'-    { _tiPayload   :: !Table-    , _tiDataSetId :: !Text-    , _tiProjectId :: !Text-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'TablesInsert' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'tiPayload'------ * 'tiDataSetId'------ * 'tiProjectId'-tablesInsert-    :: Table -- ^ 'tiPayload'-    -> Text -- ^ 'tiDataSetId'-    -> Text -- ^ 'tiProjectId'-    -> TablesInsert-tablesInsert pTiPayload_ pTiDataSetId_ pTiProjectId_ =-  TablesInsert'-    { _tiPayload = pTiPayload_-    , _tiDataSetId = pTiDataSetId_-    , _tiProjectId = pTiProjectId_-    }----- | Multipart request metadata.-tiPayload :: Lens' TablesInsert Table-tiPayload-  = lens _tiPayload (\ s a -> s{_tiPayload = a})---- | Dataset ID of the new table-tiDataSetId :: Lens' TablesInsert Text-tiDataSetId-  = lens _tiDataSetId (\ s a -> s{_tiDataSetId = a})---- | Project ID of the new table-tiProjectId :: Lens' TablesInsert Text-tiProjectId-  = lens _tiProjectId (\ s a -> s{_tiProjectId = a})--instance GoogleRequest TablesInsert where-        type Rs TablesInsert = Table-        type Scopes TablesInsert =-             '["https://www.googleapis.com/auth/bigquery",-               "https://www.googleapis.com/auth/cloud-platform"]-        requestClient TablesInsert'{..}-          = go _tiProjectId _tiDataSetId (Just AltJSON)-              _tiPayload-              bigQueryService-          where go-                  = buildClient (Proxy :: Proxy TablesInsertResource)-                      mempty
− gen/Network/Google/Resource/BigQuery/Tables/List.hs
@@ -1,133 +0,0 @@-{-# LANGUAGE DataKinds          #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE FlexibleInstances  #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}-{-# LANGUAGE TypeOperators      #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds      #-}-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}---- |--- Module      : Network.Google.Resource.BigQuery.Tables.List--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Lists all tables in the specified dataset. Requires the READER dataset--- role.------ /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.tables.list@.-module Network.Google.Resource.BigQuery.Tables.List-    (-    -- * REST Resource-      TablesListResource--    -- * Creating a Request-    , tablesList-    , TablesList--    -- * Request Lenses-    , tlDataSetId-    , tlPageToken-    , tlProjectId-    , tlMaxResults-    ) where--import           Network.Google.BigQuery.Types-import           Network.Google.Prelude---- | A resource alias for @bigquery.tables.list@ method which the--- 'TablesList' request conforms to.-type TablesListResource =-     "bigquery" :>-       "v2" :>-         "projects" :>-           Capture "projectId" Text :>-             "datasets" :>-               Capture "datasetId" Text :>-                 "tables" :>-                   QueryParam "pageToken" Text :>-                     QueryParam "maxResults" (Textual Word32) :>-                       QueryParam "alt" AltJSON :> Get '[JSON] TableList---- | Lists all tables in the specified dataset. Requires the READER dataset--- role.------ /See:/ 'tablesList' smart constructor.-data TablesList =-  TablesList'-    { _tlDataSetId  :: !Text-    , _tlPageToken  :: !(Maybe Text)-    , _tlProjectId  :: !Text-    , _tlMaxResults :: !(Maybe (Textual Word32))-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'TablesList' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'tlDataSetId'------ * 'tlPageToken'------ * 'tlProjectId'------ * 'tlMaxResults'-tablesList-    :: Text -- ^ 'tlDataSetId'-    -> Text -- ^ 'tlProjectId'-    -> TablesList-tablesList pTlDataSetId_ pTlProjectId_ =-  TablesList'-    { _tlDataSetId = pTlDataSetId_-    , _tlPageToken = Nothing-    , _tlProjectId = pTlProjectId_-    , _tlMaxResults = Nothing-    }----- | Dataset ID of the tables to list-tlDataSetId :: Lens' TablesList Text-tlDataSetId-  = lens _tlDataSetId (\ s a -> s{_tlDataSetId = a})---- | Page token, returned by a previous call, to request the next page of--- results-tlPageToken :: Lens' TablesList (Maybe Text)-tlPageToken-  = lens _tlPageToken (\ s a -> s{_tlPageToken = a})---- | Project ID of the tables to list-tlProjectId :: Lens' TablesList Text-tlProjectId-  = lens _tlProjectId (\ s a -> s{_tlProjectId = a})---- | Maximum number of results to return-tlMaxResults :: Lens' TablesList (Maybe Word32)-tlMaxResults-  = lens _tlMaxResults (\ s a -> s{_tlMaxResults = a})-      . mapping _Coerce--instance GoogleRequest TablesList where-        type Rs TablesList = TableList-        type Scopes TablesList =-             '["https://www.googleapis.com/auth/bigquery",-               "https://www.googleapis.com/auth/cloud-platform",-               "https://www.googleapis.com/auth/cloud-platform.read-only"]-        requestClient TablesList'{..}-          = go _tlProjectId _tlDataSetId _tlPageToken-              _tlMaxResults-              (Just AltJSON)-              bigQueryService-          where go-                  = buildClient (Proxy :: Proxy TablesListResource)-                      mempty
− gen/Network/Google/Resource/BigQuery/Tables/Patch.hs
@@ -1,136 +0,0 @@-{-# LANGUAGE DataKinds          #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE FlexibleInstances  #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}-{-# LANGUAGE TypeOperators      #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds      #-}-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}---- |--- Module      : Network.Google.Resource.BigQuery.Tables.Patch--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Updates information in an existing table. The update method replaces the--- entire table resource, whereas the patch method only replaces fields--- that are provided in the submitted table resource. This method supports--- patch semantics.------ /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.tables.patch@.-module Network.Google.Resource.BigQuery.Tables.Patch-    (-    -- * REST Resource-      TablesPatchResource--    -- * Creating a Request-    , tablesPatch-    , TablesPatch--    -- * Request Lenses-    , tpPayload-    , tpDataSetId-    , tpProjectId-    , tpTableId-    ) where--import           Network.Google.BigQuery.Types-import           Network.Google.Prelude---- | A resource alias for @bigquery.tables.patch@ method which the--- 'TablesPatch' request conforms to.-type TablesPatchResource =-     "bigquery" :>-       "v2" :>-         "projects" :>-           Capture "projectId" Text :>-             "datasets" :>-               Capture "datasetId" Text :>-                 "tables" :>-                   Capture "tableId" Text :>-                     QueryParam "alt" AltJSON :>-                       ReqBody '[JSON] Table :> Patch '[JSON] Table---- | Updates information in an existing table. The update method replaces the--- entire table resource, whereas the patch method only replaces fields--- that are provided in the submitted table resource. This method supports--- patch semantics.------ /See:/ 'tablesPatch' smart constructor.-data TablesPatch =-  TablesPatch'-    { _tpPayload   :: !Table-    , _tpDataSetId :: !Text-    , _tpProjectId :: !Text-    , _tpTableId   :: !Text-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'TablesPatch' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'tpPayload'------ * 'tpDataSetId'------ * 'tpProjectId'------ * 'tpTableId'-tablesPatch-    :: Table -- ^ 'tpPayload'-    -> Text -- ^ 'tpDataSetId'-    -> Text -- ^ 'tpProjectId'-    -> Text -- ^ 'tpTableId'-    -> TablesPatch-tablesPatch pTpPayload_ pTpDataSetId_ pTpProjectId_ pTpTableId_ =-  TablesPatch'-    { _tpPayload = pTpPayload_-    , _tpDataSetId = pTpDataSetId_-    , _tpProjectId = pTpProjectId_-    , _tpTableId = pTpTableId_-    }----- | Multipart request metadata.-tpPayload :: Lens' TablesPatch Table-tpPayload-  = lens _tpPayload (\ s a -> s{_tpPayload = a})---- | Dataset ID of the table to update-tpDataSetId :: Lens' TablesPatch Text-tpDataSetId-  = lens _tpDataSetId (\ s a -> s{_tpDataSetId = a})---- | Project ID of the table to update-tpProjectId :: Lens' TablesPatch Text-tpProjectId-  = lens _tpProjectId (\ s a -> s{_tpProjectId = a})---- | Table ID of the table to update-tpTableId :: Lens' TablesPatch Text-tpTableId-  = lens _tpTableId (\ s a -> s{_tpTableId = a})--instance GoogleRequest TablesPatch where-        type Rs TablesPatch = Table-        type Scopes TablesPatch =-             '["https://www.googleapis.com/auth/bigquery",-               "https://www.googleapis.com/auth/cloud-platform"]-        requestClient TablesPatch'{..}-          = go _tpProjectId _tpDataSetId _tpTableId-              (Just AltJSON)-              _tpPayload-              bigQueryService-          where go-                  = buildClient (Proxy :: Proxy TablesPatchResource)-                      mempty
− gen/Network/Google/Resource/BigQuery/Tables/Update.hs
@@ -1,134 +0,0 @@-{-# LANGUAGE DataKinds          #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE FlexibleInstances  #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}-{-# LANGUAGE TypeOperators      #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds      #-}-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}---- |--- Module      : Network.Google.Resource.BigQuery.Tables.Update--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Updates information in an existing table. The update method replaces the--- entire table resource, whereas the patch method only replaces fields--- that are provided in the submitted table resource.------ /See:/ <https://cloud.google.com/bigquery/ BigQuery API Reference> for @bigquery.tables.update@.-module Network.Google.Resource.BigQuery.Tables.Update-    (-    -- * REST Resource-      TablesUpdateResource--    -- * Creating a Request-    , tablesUpdate-    , TablesUpdate--    -- * Request Lenses-    , tuPayload-    , tuDataSetId-    , tuProjectId-    , tuTableId-    ) where--import           Network.Google.BigQuery.Types-import           Network.Google.Prelude---- | A resource alias for @bigquery.tables.update@ method which the--- 'TablesUpdate' request conforms to.-type TablesUpdateResource =-     "bigquery" :>-       "v2" :>-         "projects" :>-           Capture "projectId" Text :>-             "datasets" :>-               Capture "datasetId" Text :>-                 "tables" :>-                   Capture "tableId" Text :>-                     QueryParam "alt" AltJSON :>-                       ReqBody '[JSON] Table :> Put '[JSON] Table---- | Updates information in an existing table. The update method replaces the--- entire table resource, whereas the patch method only replaces fields--- that are provided in the submitted table resource.------ /See:/ 'tablesUpdate' smart constructor.-data TablesUpdate =-  TablesUpdate'-    { _tuPayload   :: !Table-    , _tuDataSetId :: !Text-    , _tuProjectId :: !Text-    , _tuTableId   :: !Text-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'TablesUpdate' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'tuPayload'------ * 'tuDataSetId'------ * 'tuProjectId'------ * 'tuTableId'-tablesUpdate-    :: Table -- ^ 'tuPayload'-    -> Text -- ^ 'tuDataSetId'-    -> Text -- ^ 'tuProjectId'-    -> Text -- ^ 'tuTableId'-    -> TablesUpdate-tablesUpdate pTuPayload_ pTuDataSetId_ pTuProjectId_ pTuTableId_ =-  TablesUpdate'-    { _tuPayload = pTuPayload_-    , _tuDataSetId = pTuDataSetId_-    , _tuProjectId = pTuProjectId_-    , _tuTableId = pTuTableId_-    }----- | Multipart request metadata.-tuPayload :: Lens' TablesUpdate Table-tuPayload-  = lens _tuPayload (\ s a -> s{_tuPayload = a})---- | Dataset ID of the table to update-tuDataSetId :: Lens' TablesUpdate Text-tuDataSetId-  = lens _tuDataSetId (\ s a -> s{_tuDataSetId = a})---- | Project ID of the table to update-tuProjectId :: Lens' TablesUpdate Text-tuProjectId-  = lens _tuProjectId (\ s a -> s{_tuProjectId = a})---- | Table ID of the table to update-tuTableId :: Lens' TablesUpdate Text-tuTableId-  = lens _tuTableId (\ s a -> s{_tuTableId = a})--instance GoogleRequest TablesUpdate where-        type Rs TablesUpdate = Table-        type Scopes TablesUpdate =-             '["https://www.googleapis.com/auth/bigquery",-               "https://www.googleapis.com/auth/cloud-platform"]-        requestClient TablesUpdate'{..}-          = go _tuProjectId _tuDataSetId _tuTableId-              (Just AltJSON)-              _tuPayload-              bigQueryService-          where go-                  = buildClient (Proxy :: Proxy TablesUpdateResource)-                      mempty
gogol-bigquery.cabal view
@@ -1,67 +1,106 @@-name:                  gogol-bigquery-version:               0.5.0-synopsis:              Google BigQuery SDK.-homepage:              https://github.com/brendanhay/gogol-bug-reports:           https://github.com/brendanhay/gogol/issues-license:               OtherLicense-license-file:          LICENSE-author:                Brendan Hay-maintainer:            Brendan Hay <brendan.g.hay@gmail.com>-copyright:             Copyright (c) 2015-2016 Brendan Hay-category:              Network, Google, Cloud-build-type:            Simple-cabal-version:         >= 1.10-extra-source-files:    README.md src/.gitkeep+cabal-version:      2.2+name:               gogol-bigquery+version:            1.0.0+synopsis:           Google BigQuery SDK.+homepage:           https://github.com/brendanhay/gogol+bug-reports:        https://github.com/brendanhay/gogol/issues+license:            MPL-2.0+license-file:       LICENSE+author:             Brendan Hay+maintainer:+  Brendan Hay <brendan.g.hay+gogol@gmail.com>, Toni Cebrián <toni@tonicebrian.com> +copyright:          Copyright (c) 2015-2025 Brendan Hay+category:           Google+build-type:         Simple+extra-source-files:+  README.md+  src/.gitkeep+ description:-    A data platform for customers to create, manage, share and query data.-    .-    /Warning:/ This is an experimental prototype/preview release which is still-    under exploratory development and not intended for public use, caveat emptor!-    .-    This library is compatible with version @v2@-    of the API.+  A data platform for customers to create, manage, share and query data.+  .+  /Warning:/ This is an experimental prototype/preview release which is still+  under exploratory development and not intended for public use, caveat emptor!+  .+  This library is compatible with version @v2@+  of the API.  source-repository head-    type:     git-    location: git://github.com/brendanhay/gogol.git+  type:     git+  location: git://github.com/brendanhay/gogol.git+  subdir:   gogol-bigquery +flag field-selectors+  description:+    If record field selectors should be enabled. Disabling this requires GHC >=9.2 and the NoFieldSelectors extension.++  default:     False+  manual:      True+ library-    default-language:  Haskell2010-    hs-source-dirs:    src gen+  default-language: GHC2021+  hs-source-dirs:   src gen+  ghc-options:+    -Wall -fwarn-incomplete-uni-patterns+    -fwarn-incomplete-record-updates -funbox-strict-fields+    -fwarn-unused-packages -    ghc-options:       -Wall+  if (!flag(field-selectors) && impl(ghc >=9.2))+    default-extensions: NoFieldSelectors -    exposed-modules:-          Network.Google.BigQuery-        , Network.Google.BigQuery.Types-        , Network.Google.Resource.BigQuery.DataSets.Delete-        , Network.Google.Resource.BigQuery.DataSets.Get-        , Network.Google.Resource.BigQuery.DataSets.Insert-        , Network.Google.Resource.BigQuery.DataSets.List-        , Network.Google.Resource.BigQuery.DataSets.Patch-        , Network.Google.Resource.BigQuery.DataSets.Update-        , Network.Google.Resource.BigQuery.Jobs.Cancel-        , Network.Google.Resource.BigQuery.Jobs.Get-        , Network.Google.Resource.BigQuery.Jobs.GetQueryResults-        , Network.Google.Resource.BigQuery.Jobs.Insert-        , Network.Google.Resource.BigQuery.Jobs.List-        , Network.Google.Resource.BigQuery.Jobs.Query-        , Network.Google.Resource.BigQuery.Projects.GetServiceAccount-        , Network.Google.Resource.BigQuery.Projects.List-        , Network.Google.Resource.BigQuery.TableData.InsertAll-        , Network.Google.Resource.BigQuery.TableData.List-        , Network.Google.Resource.BigQuery.Tables.Delete-        , Network.Google.Resource.BigQuery.Tables.Get-        , Network.Google.Resource.BigQuery.Tables.Insert-        , Network.Google.Resource.BigQuery.Tables.List-        , Network.Google.Resource.BigQuery.Tables.Patch-        , Network.Google.Resource.BigQuery.Tables.Update+  exposed-modules:+    Gogol.BigQuery+    Gogol.BigQuery.Datasets.Delete+    Gogol.BigQuery.Datasets.Get+    Gogol.BigQuery.Datasets.Insert+    Gogol.BigQuery.Datasets.List+    Gogol.BigQuery.Datasets.Patch+    Gogol.BigQuery.Datasets.Undelete+    Gogol.BigQuery.Datasets.Update+    Gogol.BigQuery.Jobs.Cancel+    Gogol.BigQuery.Jobs.Delete+    Gogol.BigQuery.Jobs.Get+    Gogol.BigQuery.Jobs.GetQueryResults+    Gogol.BigQuery.Jobs.Insert+    Gogol.BigQuery.Jobs.List+    Gogol.BigQuery.Jobs.Query+    Gogol.BigQuery.Models.Delete+    Gogol.BigQuery.Models.Get+    Gogol.BigQuery.Models.List+    Gogol.BigQuery.Models.Patch+    Gogol.BigQuery.Projects.GetServiceAccount+    Gogol.BigQuery.Projects.List+    Gogol.BigQuery.Routines.Delete+    Gogol.BigQuery.Routines.Get+    Gogol.BigQuery.Routines.GetIamPolicy+    Gogol.BigQuery.Routines.Insert+    Gogol.BigQuery.Routines.List+    Gogol.BigQuery.Routines.SetIamPolicy+    Gogol.BigQuery.Routines.Update+    Gogol.BigQuery.RowAccessPolicies.BatchDelete+    Gogol.BigQuery.RowAccessPolicies.Delete+    Gogol.BigQuery.RowAccessPolicies.Get+    Gogol.BigQuery.RowAccessPolicies.GetIamPolicy+    Gogol.BigQuery.RowAccessPolicies.Insert+    Gogol.BigQuery.RowAccessPolicies.List+    Gogol.BigQuery.RowAccessPolicies.TestIamPermissions+    Gogol.BigQuery.RowAccessPolicies.Update+    Gogol.BigQuery.Tabledata.InsertAll+    Gogol.BigQuery.Tabledata.List+    Gogol.BigQuery.Tables.Delete+    Gogol.BigQuery.Tables.Get+    Gogol.BigQuery.Tables.GetIamPolicy+    Gogol.BigQuery.Tables.Insert+    Gogol.BigQuery.Tables.List+    Gogol.BigQuery.Tables.Patch+    Gogol.BigQuery.Tables.SetIamPolicy+    Gogol.BigQuery.Tables.TestIamPermissions+    Gogol.BigQuery.Tables.Update+    Gogol.BigQuery.Types -    other-modules:-          Network.Google.BigQuery.Types.Product-        , Network.Google.BigQuery.Types.Sum+  other-modules:+    Gogol.BigQuery.Internal.Product+    Gogol.BigQuery.Internal.Sum -    build-depends:-          gogol-core == 0.5.0.*-        , base       >= 4.7 && < 5+  build-depends:    gogol-core ^>=1.0.0