packages feed

gogol-dataproc 0.5.0 → 1.0.0

raw patch · 185 files changed

+40139/−16302 lines, 185 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/Dataproc.hs view
@@ -0,0 +1,2300 @@+{-# 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.Dataproc+-- 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)+--+-- Manages Hadoop-based clusters and jobs on Google Cloud Platform.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference>+module Gogol.Dataproc+  ( -- * Configuration+    dataprocService,++    -- * OAuth Scopes+    CloudPlatform'FullControl,++    -- * Resources++    -- ** dataproc.projects.locations.autoscalingPolicies.create+    DataprocProjectsLocationsAutoscalingPoliciesCreateResource,+    DataprocProjectsLocationsAutoscalingPoliciesCreate (..),+    newDataprocProjectsLocationsAutoscalingPoliciesCreate,++    -- ** dataproc.projects.locations.autoscalingPolicies.delete+    DataprocProjectsLocationsAutoscalingPoliciesDeleteResource,+    DataprocProjectsLocationsAutoscalingPoliciesDelete (..),+    newDataprocProjectsLocationsAutoscalingPoliciesDelete,++    -- ** dataproc.projects.locations.autoscalingPolicies.get+    DataprocProjectsLocationsAutoscalingPoliciesGetResource,+    DataprocProjectsLocationsAutoscalingPoliciesGet (..),+    newDataprocProjectsLocationsAutoscalingPoliciesGet,++    -- ** dataproc.projects.locations.autoscalingPolicies.getIamPolicy+    DataprocProjectsLocationsAutoscalingPoliciesGetIamPolicyResource,+    DataprocProjectsLocationsAutoscalingPoliciesGetIamPolicy (..),+    newDataprocProjectsLocationsAutoscalingPoliciesGetIamPolicy,++    -- ** dataproc.projects.locations.autoscalingPolicies.list+    DataprocProjectsLocationsAutoscalingPoliciesListResource,+    DataprocProjectsLocationsAutoscalingPoliciesList (..),+    newDataprocProjectsLocationsAutoscalingPoliciesList,++    -- ** dataproc.projects.locations.autoscalingPolicies.setIamPolicy+    DataprocProjectsLocationsAutoscalingPoliciesSetIamPolicyResource,+    DataprocProjectsLocationsAutoscalingPoliciesSetIamPolicy (..),+    newDataprocProjectsLocationsAutoscalingPoliciesSetIamPolicy,++    -- ** dataproc.projects.locations.autoscalingPolicies.testIamPermissions+    DataprocProjectsLocationsAutoscalingPoliciesTestIamPermissionsResource,+    DataprocProjectsLocationsAutoscalingPoliciesTestIamPermissions (..),+    newDataprocProjectsLocationsAutoscalingPoliciesTestIamPermissions,++    -- ** dataproc.projects.locations.autoscalingPolicies.update+    DataprocProjectsLocationsAutoscalingPoliciesUpdateResource,+    DataprocProjectsLocationsAutoscalingPoliciesUpdate (..),+    newDataprocProjectsLocationsAutoscalingPoliciesUpdate,++    -- ** dataproc.projects.locations.batches.analyze+    DataprocProjectsLocationsBatchesAnalyzeResource,+    DataprocProjectsLocationsBatchesAnalyze (..),+    newDataprocProjectsLocationsBatchesAnalyze,++    -- ** dataproc.projects.locations.batches.create+    DataprocProjectsLocationsBatchesCreateResource,+    DataprocProjectsLocationsBatchesCreate (..),+    newDataprocProjectsLocationsBatchesCreate,++    -- ** dataproc.projects.locations.batches.delete+    DataprocProjectsLocationsBatchesDeleteResource,+    DataprocProjectsLocationsBatchesDelete (..),+    newDataprocProjectsLocationsBatchesDelete,++    -- ** dataproc.projects.locations.batches.get+    DataprocProjectsLocationsBatchesGetResource,+    DataprocProjectsLocationsBatchesGet (..),+    newDataprocProjectsLocationsBatchesGet,++    -- ** dataproc.projects.locations.batches.list+    DataprocProjectsLocationsBatchesListResource,+    DataprocProjectsLocationsBatchesList (..),+    newDataprocProjectsLocationsBatchesList,++    -- ** dataproc.projects.locations.batches.sparkApplications.access+    DataprocProjectsLocationsBatchesSparkApplicationsAccessResource,+    DataprocProjectsLocationsBatchesSparkApplicationsAccess (..),+    newDataprocProjectsLocationsBatchesSparkApplicationsAccess,++    -- ** dataproc.projects.locations.batches.sparkApplications.accessEnvironmentInfo+    DataprocProjectsLocationsBatchesSparkApplicationsAccessEnvironmentInfoResource,+    DataprocProjectsLocationsBatchesSparkApplicationsAccessEnvironmentInfo (..),+    newDataprocProjectsLocationsBatchesSparkApplicationsAccessEnvironmentInfo,++    -- ** dataproc.projects.locations.batches.sparkApplications.accessJob+    DataprocProjectsLocationsBatchesSparkApplicationsAccessJobResource,+    DataprocProjectsLocationsBatchesSparkApplicationsAccessJob (..),+    newDataprocProjectsLocationsBatchesSparkApplicationsAccessJob,++    -- ** dataproc.projects.locations.batches.sparkApplications.accessSqlPlan+    DataprocProjectsLocationsBatchesSparkApplicationsAccessSqlPlanResource,+    DataprocProjectsLocationsBatchesSparkApplicationsAccessSqlPlan (..),+    newDataprocProjectsLocationsBatchesSparkApplicationsAccessSqlPlan,++    -- ** dataproc.projects.locations.batches.sparkApplications.accessSqlQuery+    DataprocProjectsLocationsBatchesSparkApplicationsAccessSqlQueryResource,+    DataprocProjectsLocationsBatchesSparkApplicationsAccessSqlQuery (..),+    newDataprocProjectsLocationsBatchesSparkApplicationsAccessSqlQuery,++    -- ** dataproc.projects.locations.batches.sparkApplications.accessStageAttempt+    DataprocProjectsLocationsBatchesSparkApplicationsAccessStageAttemptResource,+    DataprocProjectsLocationsBatchesSparkApplicationsAccessStageAttempt (..),+    newDataprocProjectsLocationsBatchesSparkApplicationsAccessStageAttempt,++    -- ** dataproc.projects.locations.batches.sparkApplications.accessStageRddGraph+    DataprocProjectsLocationsBatchesSparkApplicationsAccessStageRddGraphResource,+    DataprocProjectsLocationsBatchesSparkApplicationsAccessStageRddGraph (..),+    newDataprocProjectsLocationsBatchesSparkApplicationsAccessStageRddGraph,++    -- ** dataproc.projects.locations.batches.sparkApplications.search+    DataprocProjectsLocationsBatchesSparkApplicationsSearchResource,+    DataprocProjectsLocationsBatchesSparkApplicationsSearch (..),+    newDataprocProjectsLocationsBatchesSparkApplicationsSearch,++    -- ** dataproc.projects.locations.batches.sparkApplications.searchExecutorStageSummary+    DataprocProjectsLocationsBatchesSparkApplicationsSearchExecutorStageSummaryResource,+    DataprocProjectsLocationsBatchesSparkApplicationsSearchExecutorStageSummary (..),+    newDataprocProjectsLocationsBatchesSparkApplicationsSearchExecutorStageSummary,++    -- ** dataproc.projects.locations.batches.sparkApplications.searchExecutors+    DataprocProjectsLocationsBatchesSparkApplicationsSearchExecutorsResource,+    DataprocProjectsLocationsBatchesSparkApplicationsSearchExecutors (..),+    newDataprocProjectsLocationsBatchesSparkApplicationsSearchExecutors,++    -- ** dataproc.projects.locations.batches.sparkApplications.searchJobs+    DataprocProjectsLocationsBatchesSparkApplicationsSearchJobsResource,+    DataprocProjectsLocationsBatchesSparkApplicationsSearchJobs (..),+    newDataprocProjectsLocationsBatchesSparkApplicationsSearchJobs,++    -- ** dataproc.projects.locations.batches.sparkApplications.searchSqlQueries+    DataprocProjectsLocationsBatchesSparkApplicationsSearchSqlQueriesResource,+    DataprocProjectsLocationsBatchesSparkApplicationsSearchSqlQueries (..),+    newDataprocProjectsLocationsBatchesSparkApplicationsSearchSqlQueries,++    -- ** dataproc.projects.locations.batches.sparkApplications.searchStageAttemptTasks+    DataprocProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasksResource,+    DataprocProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasks (..),+    newDataprocProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasks,++    -- ** dataproc.projects.locations.batches.sparkApplications.searchStageAttempts+    DataprocProjectsLocationsBatchesSparkApplicationsSearchStageAttemptsResource,+    DataprocProjectsLocationsBatchesSparkApplicationsSearchStageAttempts (..),+    newDataprocProjectsLocationsBatchesSparkApplicationsSearchStageAttempts,++    -- ** dataproc.projects.locations.batches.sparkApplications.searchStages+    DataprocProjectsLocationsBatchesSparkApplicationsSearchStagesResource,+    DataprocProjectsLocationsBatchesSparkApplicationsSearchStages (..),+    newDataprocProjectsLocationsBatchesSparkApplicationsSearchStages,++    -- ** dataproc.projects.locations.batches.sparkApplications.summarizeExecutors+    DataprocProjectsLocationsBatchesSparkApplicationsSummarizeExecutorsResource,+    DataprocProjectsLocationsBatchesSparkApplicationsSummarizeExecutors (..),+    newDataprocProjectsLocationsBatchesSparkApplicationsSummarizeExecutors,++    -- ** dataproc.projects.locations.batches.sparkApplications.summarizeJobs+    DataprocProjectsLocationsBatchesSparkApplicationsSummarizeJobsResource,+    DataprocProjectsLocationsBatchesSparkApplicationsSummarizeJobs (..),+    newDataprocProjectsLocationsBatchesSparkApplicationsSummarizeJobs,++    -- ** dataproc.projects.locations.batches.sparkApplications.summarizeStageAttemptTasks+    DataprocProjectsLocationsBatchesSparkApplicationsSummarizeStageAttemptTasksResource,+    DataprocProjectsLocationsBatchesSparkApplicationsSummarizeStageAttemptTasks (..),+    newDataprocProjectsLocationsBatchesSparkApplicationsSummarizeStageAttemptTasks,++    -- ** dataproc.projects.locations.batches.sparkApplications.summarizeStages+    DataprocProjectsLocationsBatchesSparkApplicationsSummarizeStagesResource,+    DataprocProjectsLocationsBatchesSparkApplicationsSummarizeStages (..),+    newDataprocProjectsLocationsBatchesSparkApplicationsSummarizeStages,++    -- ** dataproc.projects.locations.batches.sparkApplications.write+    DataprocProjectsLocationsBatchesSparkApplicationsWriteResource,+    DataprocProjectsLocationsBatchesSparkApplicationsWrite (..),+    newDataprocProjectsLocationsBatchesSparkApplicationsWrite,++    -- ** dataproc.projects.locations.operations.cancel+    DataprocProjectsLocationsOperationsCancelResource,+    DataprocProjectsLocationsOperationsCancel (..),+    newDataprocProjectsLocationsOperationsCancel,++    -- ** dataproc.projects.locations.operations.delete+    DataprocProjectsLocationsOperationsDeleteResource,+    DataprocProjectsLocationsOperationsDelete (..),+    newDataprocProjectsLocationsOperationsDelete,++    -- ** dataproc.projects.locations.operations.get+    DataprocProjectsLocationsOperationsGetResource,+    DataprocProjectsLocationsOperationsGet (..),+    newDataprocProjectsLocationsOperationsGet,++    -- ** dataproc.projects.locations.operations.list+    DataprocProjectsLocationsOperationsListResource,+    DataprocProjectsLocationsOperationsList (..),+    newDataprocProjectsLocationsOperationsList,++    -- ** dataproc.projects.locations.sessionTemplates.create+    DataprocProjectsLocationsSessionTemplatesCreateResource,+    DataprocProjectsLocationsSessionTemplatesCreate (..),+    newDataprocProjectsLocationsSessionTemplatesCreate,++    -- ** dataproc.projects.locations.sessionTemplates.delete+    DataprocProjectsLocationsSessionTemplatesDeleteResource,+    DataprocProjectsLocationsSessionTemplatesDelete (..),+    newDataprocProjectsLocationsSessionTemplatesDelete,++    -- ** dataproc.projects.locations.sessionTemplates.get+    DataprocProjectsLocationsSessionTemplatesGetResource,+    DataprocProjectsLocationsSessionTemplatesGet (..),+    newDataprocProjectsLocationsSessionTemplatesGet,++    -- ** dataproc.projects.locations.sessionTemplates.list+    DataprocProjectsLocationsSessionTemplatesListResource,+    DataprocProjectsLocationsSessionTemplatesList (..),+    newDataprocProjectsLocationsSessionTemplatesList,++    -- ** dataproc.projects.locations.sessionTemplates.patch+    DataprocProjectsLocationsSessionTemplatesPatchResource,+    DataprocProjectsLocationsSessionTemplatesPatch (..),+    newDataprocProjectsLocationsSessionTemplatesPatch,++    -- ** dataproc.projects.locations.sessions.create+    DataprocProjectsLocationsSessionsCreateResource,+    DataprocProjectsLocationsSessionsCreate (..),+    newDataprocProjectsLocationsSessionsCreate,++    -- ** dataproc.projects.locations.sessions.delete+    DataprocProjectsLocationsSessionsDeleteResource,+    DataprocProjectsLocationsSessionsDelete (..),+    newDataprocProjectsLocationsSessionsDelete,++    -- ** dataproc.projects.locations.sessions.get+    DataprocProjectsLocationsSessionsGetResource,+    DataprocProjectsLocationsSessionsGet (..),+    newDataprocProjectsLocationsSessionsGet,++    -- ** dataproc.projects.locations.sessions.list+    DataprocProjectsLocationsSessionsListResource,+    DataprocProjectsLocationsSessionsList (..),+    newDataprocProjectsLocationsSessionsList,++    -- ** dataproc.projects.locations.sessions.sparkApplications.access+    DataprocProjectsLocationsSessionsSparkApplicationsAccessResource,+    DataprocProjectsLocationsSessionsSparkApplicationsAccess (..),+    newDataprocProjectsLocationsSessionsSparkApplicationsAccess,++    -- ** dataproc.projects.locations.sessions.sparkApplications.accessEnvironmentInfo+    DataprocProjectsLocationsSessionsSparkApplicationsAccessEnvironmentInfoResource,+    DataprocProjectsLocationsSessionsSparkApplicationsAccessEnvironmentInfo (..),+    newDataprocProjectsLocationsSessionsSparkApplicationsAccessEnvironmentInfo,++    -- ** dataproc.projects.locations.sessions.sparkApplications.accessJob+    DataprocProjectsLocationsSessionsSparkApplicationsAccessJobResource,+    DataprocProjectsLocationsSessionsSparkApplicationsAccessJob (..),+    newDataprocProjectsLocationsSessionsSparkApplicationsAccessJob,++    -- ** dataproc.projects.locations.sessions.sparkApplications.accessSqlPlan+    DataprocProjectsLocationsSessionsSparkApplicationsAccessSqlPlanResource,+    DataprocProjectsLocationsSessionsSparkApplicationsAccessSqlPlan (..),+    newDataprocProjectsLocationsSessionsSparkApplicationsAccessSqlPlan,++    -- ** dataproc.projects.locations.sessions.sparkApplications.accessSqlQuery+    DataprocProjectsLocationsSessionsSparkApplicationsAccessSqlQueryResource,+    DataprocProjectsLocationsSessionsSparkApplicationsAccessSqlQuery (..),+    newDataprocProjectsLocationsSessionsSparkApplicationsAccessSqlQuery,++    -- ** dataproc.projects.locations.sessions.sparkApplications.accessStageAttempt+    DataprocProjectsLocationsSessionsSparkApplicationsAccessStageAttemptResource,+    DataprocProjectsLocationsSessionsSparkApplicationsAccessStageAttempt (..),+    newDataprocProjectsLocationsSessionsSparkApplicationsAccessStageAttempt,++    -- ** dataproc.projects.locations.sessions.sparkApplications.accessStageRddGraph+    DataprocProjectsLocationsSessionsSparkApplicationsAccessStageRddGraphResource,+    DataprocProjectsLocationsSessionsSparkApplicationsAccessStageRddGraph (..),+    newDataprocProjectsLocationsSessionsSparkApplicationsAccessStageRddGraph,++    -- ** dataproc.projects.locations.sessions.sparkApplications.search+    DataprocProjectsLocationsSessionsSparkApplicationsSearchResource,+    DataprocProjectsLocationsSessionsSparkApplicationsSearch (..),+    newDataprocProjectsLocationsSessionsSparkApplicationsSearch,++    -- ** dataproc.projects.locations.sessions.sparkApplications.searchExecutorStageSummary+    DataprocProjectsLocationsSessionsSparkApplicationsSearchExecutorStageSummaryResource,+    DataprocProjectsLocationsSessionsSparkApplicationsSearchExecutorStageSummary (..),+    newDataprocProjectsLocationsSessionsSparkApplicationsSearchExecutorStageSummary,++    -- ** dataproc.projects.locations.sessions.sparkApplications.searchExecutors+    DataprocProjectsLocationsSessionsSparkApplicationsSearchExecutorsResource,+    DataprocProjectsLocationsSessionsSparkApplicationsSearchExecutors (..),+    newDataprocProjectsLocationsSessionsSparkApplicationsSearchExecutors,++    -- ** dataproc.projects.locations.sessions.sparkApplications.searchJobs+    DataprocProjectsLocationsSessionsSparkApplicationsSearchJobsResource,+    DataprocProjectsLocationsSessionsSparkApplicationsSearchJobs (..),+    newDataprocProjectsLocationsSessionsSparkApplicationsSearchJobs,++    -- ** dataproc.projects.locations.sessions.sparkApplications.searchSqlQueries+    DataprocProjectsLocationsSessionsSparkApplicationsSearchSqlQueriesResource,+    DataprocProjectsLocationsSessionsSparkApplicationsSearchSqlQueries (..),+    newDataprocProjectsLocationsSessionsSparkApplicationsSearchSqlQueries,++    -- ** dataproc.projects.locations.sessions.sparkApplications.searchStageAttemptTasks+    DataprocProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasksResource,+    DataprocProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasks (..),+    newDataprocProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasks,++    -- ** dataproc.projects.locations.sessions.sparkApplications.searchStageAttempts+    DataprocProjectsLocationsSessionsSparkApplicationsSearchStageAttemptsResource,+    DataprocProjectsLocationsSessionsSparkApplicationsSearchStageAttempts (..),+    newDataprocProjectsLocationsSessionsSparkApplicationsSearchStageAttempts,++    -- ** dataproc.projects.locations.sessions.sparkApplications.searchStages+    DataprocProjectsLocationsSessionsSparkApplicationsSearchStagesResource,+    DataprocProjectsLocationsSessionsSparkApplicationsSearchStages (..),+    newDataprocProjectsLocationsSessionsSparkApplicationsSearchStages,++    -- ** dataproc.projects.locations.sessions.sparkApplications.summarizeExecutors+    DataprocProjectsLocationsSessionsSparkApplicationsSummarizeExecutorsResource,+    DataprocProjectsLocationsSessionsSparkApplicationsSummarizeExecutors (..),+    newDataprocProjectsLocationsSessionsSparkApplicationsSummarizeExecutors,++    -- ** dataproc.projects.locations.sessions.sparkApplications.summarizeJobs+    DataprocProjectsLocationsSessionsSparkApplicationsSummarizeJobsResource,+    DataprocProjectsLocationsSessionsSparkApplicationsSummarizeJobs (..),+    newDataprocProjectsLocationsSessionsSparkApplicationsSummarizeJobs,++    -- ** dataproc.projects.locations.sessions.sparkApplications.summarizeStageAttemptTasks+    DataprocProjectsLocationsSessionsSparkApplicationsSummarizeStageAttemptTasksResource,+    DataprocProjectsLocationsSessionsSparkApplicationsSummarizeStageAttemptTasks (..),+    newDataprocProjectsLocationsSessionsSparkApplicationsSummarizeStageAttemptTasks,++    -- ** dataproc.projects.locations.sessions.sparkApplications.summarizeStages+    DataprocProjectsLocationsSessionsSparkApplicationsSummarizeStagesResource,+    DataprocProjectsLocationsSessionsSparkApplicationsSummarizeStages (..),+    newDataprocProjectsLocationsSessionsSparkApplicationsSummarizeStages,++    -- ** dataproc.projects.locations.sessions.sparkApplications.write+    DataprocProjectsLocationsSessionsSparkApplicationsWriteResource,+    DataprocProjectsLocationsSessionsSparkApplicationsWrite (..),+    newDataprocProjectsLocationsSessionsSparkApplicationsWrite,++    -- ** dataproc.projects.locations.sessions.terminate+    DataprocProjectsLocationsSessionsTerminateResource,+    DataprocProjectsLocationsSessionsTerminate (..),+    newDataprocProjectsLocationsSessionsTerminate,++    -- ** dataproc.projects.locations.workflowTemplates.create+    DataprocProjectsLocationsWorkflowTemplatesCreateResource,+    DataprocProjectsLocationsWorkflowTemplatesCreate (..),+    newDataprocProjectsLocationsWorkflowTemplatesCreate,++    -- ** dataproc.projects.locations.workflowTemplates.delete+    DataprocProjectsLocationsWorkflowTemplatesDeleteResource,+    DataprocProjectsLocationsWorkflowTemplatesDelete (..),+    newDataprocProjectsLocationsWorkflowTemplatesDelete,++    -- ** dataproc.projects.locations.workflowTemplates.get+    DataprocProjectsLocationsWorkflowTemplatesGetResource,+    DataprocProjectsLocationsWorkflowTemplatesGet (..),+    newDataprocProjectsLocationsWorkflowTemplatesGet,++    -- ** dataproc.projects.locations.workflowTemplates.getIamPolicy+    DataprocProjectsLocationsWorkflowTemplatesGetIamPolicyResource,+    DataprocProjectsLocationsWorkflowTemplatesGetIamPolicy (..),+    newDataprocProjectsLocationsWorkflowTemplatesGetIamPolicy,++    -- ** dataproc.projects.locations.workflowTemplates.instantiate+    DataprocProjectsLocationsWorkflowTemplatesInstantiateResource,+    DataprocProjectsLocationsWorkflowTemplatesInstantiate (..),+    newDataprocProjectsLocationsWorkflowTemplatesInstantiate,++    -- ** dataproc.projects.locations.workflowTemplates.instantiateInline+    DataprocProjectsLocationsWorkflowTemplatesInstantiateInlineResource,+    DataprocProjectsLocationsWorkflowTemplatesInstantiateInline (..),+    newDataprocProjectsLocationsWorkflowTemplatesInstantiateInline,++    -- ** dataproc.projects.locations.workflowTemplates.list+    DataprocProjectsLocationsWorkflowTemplatesListResource,+    DataprocProjectsLocationsWorkflowTemplatesList (..),+    newDataprocProjectsLocationsWorkflowTemplatesList,++    -- ** dataproc.projects.locations.workflowTemplates.setIamPolicy+    DataprocProjectsLocationsWorkflowTemplatesSetIamPolicyResource,+    DataprocProjectsLocationsWorkflowTemplatesSetIamPolicy (..),+    newDataprocProjectsLocationsWorkflowTemplatesSetIamPolicy,++    -- ** dataproc.projects.locations.workflowTemplates.testIamPermissions+    DataprocProjectsLocationsWorkflowTemplatesTestIamPermissionsResource,+    DataprocProjectsLocationsWorkflowTemplatesTestIamPermissions (..),+    newDataprocProjectsLocationsWorkflowTemplatesTestIamPermissions,++    -- ** dataproc.projects.locations.workflowTemplates.update+    DataprocProjectsLocationsWorkflowTemplatesUpdateResource,+    DataprocProjectsLocationsWorkflowTemplatesUpdate (..),+    newDataprocProjectsLocationsWorkflowTemplatesUpdate,++    -- ** dataproc.projects.regions.autoscalingPolicies.create+    DataprocProjectsRegionsAutoscalingPoliciesCreateResource,+    DataprocProjectsRegionsAutoscalingPoliciesCreate (..),+    newDataprocProjectsRegionsAutoscalingPoliciesCreate,++    -- ** dataproc.projects.regions.autoscalingPolicies.delete+    DataprocProjectsRegionsAutoscalingPoliciesDeleteResource,+    DataprocProjectsRegionsAutoscalingPoliciesDelete (..),+    newDataprocProjectsRegionsAutoscalingPoliciesDelete,++    -- ** dataproc.projects.regions.autoscalingPolicies.get+    DataprocProjectsRegionsAutoscalingPoliciesGetResource,+    DataprocProjectsRegionsAutoscalingPoliciesGet (..),+    newDataprocProjectsRegionsAutoscalingPoliciesGet,++    -- ** dataproc.projects.regions.autoscalingPolicies.getIamPolicy+    DataprocProjectsRegionsAutoscalingPoliciesGetIamPolicyResource,+    DataprocProjectsRegionsAutoscalingPoliciesGetIamPolicy (..),+    newDataprocProjectsRegionsAutoscalingPoliciesGetIamPolicy,++    -- ** dataproc.projects.regions.autoscalingPolicies.list+    DataprocProjectsRegionsAutoscalingPoliciesListResource,+    DataprocProjectsRegionsAutoscalingPoliciesList (..),+    newDataprocProjectsRegionsAutoscalingPoliciesList,++    -- ** dataproc.projects.regions.autoscalingPolicies.setIamPolicy+    DataprocProjectsRegionsAutoscalingPoliciesSetIamPolicyResource,+    DataprocProjectsRegionsAutoscalingPoliciesSetIamPolicy (..),+    newDataprocProjectsRegionsAutoscalingPoliciesSetIamPolicy,++    -- ** dataproc.projects.regions.autoscalingPolicies.testIamPermissions+    DataprocProjectsRegionsAutoscalingPoliciesTestIamPermissionsResource,+    DataprocProjectsRegionsAutoscalingPoliciesTestIamPermissions (..),+    newDataprocProjectsRegionsAutoscalingPoliciesTestIamPermissions,++    -- ** dataproc.projects.regions.autoscalingPolicies.update+    DataprocProjectsRegionsAutoscalingPoliciesUpdateResource,+    DataprocProjectsRegionsAutoscalingPoliciesUpdate (..),+    newDataprocProjectsRegionsAutoscalingPoliciesUpdate,++    -- ** dataproc.projects.regions.clusters.create+    DataprocProjectsRegionsClustersCreateResource,+    DataprocProjectsRegionsClustersCreate (..),+    newDataprocProjectsRegionsClustersCreate,++    -- ** dataproc.projects.regions.clusters.delete+    DataprocProjectsRegionsClustersDeleteResource,+    DataprocProjectsRegionsClustersDelete (..),+    newDataprocProjectsRegionsClustersDelete,++    -- ** dataproc.projects.regions.clusters.diagnose+    DataprocProjectsRegionsClustersDiagnoseResource,+    DataprocProjectsRegionsClustersDiagnose (..),+    newDataprocProjectsRegionsClustersDiagnose,++    -- ** dataproc.projects.regions.clusters.get+    DataprocProjectsRegionsClustersGetResource,+    DataprocProjectsRegionsClustersGet (..),+    newDataprocProjectsRegionsClustersGet,++    -- ** dataproc.projects.regions.clusters.getIamPolicy+    DataprocProjectsRegionsClustersGetIamPolicyResource,+    DataprocProjectsRegionsClustersGetIamPolicy (..),+    newDataprocProjectsRegionsClustersGetIamPolicy,++    -- ** dataproc.projects.regions.clusters.injectCredentials+    DataprocProjectsRegionsClustersInjectCredentialsResource,+    DataprocProjectsRegionsClustersInjectCredentials (..),+    newDataprocProjectsRegionsClustersInjectCredentials,++    -- ** dataproc.projects.regions.clusters.list+    DataprocProjectsRegionsClustersListResource,+    DataprocProjectsRegionsClustersList (..),+    newDataprocProjectsRegionsClustersList,++    -- ** dataproc.projects.regions.clusters.nodeGroups.create+    DataprocProjectsRegionsClustersNodeGroupsCreateResource,+    DataprocProjectsRegionsClustersNodeGroupsCreate (..),+    newDataprocProjectsRegionsClustersNodeGroupsCreate,++    -- ** dataproc.projects.regions.clusters.nodeGroups.get+    DataprocProjectsRegionsClustersNodeGroupsGetResource,+    DataprocProjectsRegionsClustersNodeGroupsGet (..),+    newDataprocProjectsRegionsClustersNodeGroupsGet,++    -- ** dataproc.projects.regions.clusters.nodeGroups.repair+    DataprocProjectsRegionsClustersNodeGroupsRepairResource,+    DataprocProjectsRegionsClustersNodeGroupsRepair (..),+    newDataprocProjectsRegionsClustersNodeGroupsRepair,++    -- ** dataproc.projects.regions.clusters.nodeGroups.resize+    DataprocProjectsRegionsClustersNodeGroupsResizeResource,+    DataprocProjectsRegionsClustersNodeGroupsResize (..),+    newDataprocProjectsRegionsClustersNodeGroupsResize,++    -- ** dataproc.projects.regions.clusters.patch+    DataprocProjectsRegionsClustersPatchResource,+    DataprocProjectsRegionsClustersPatch (..),+    newDataprocProjectsRegionsClustersPatch,++    -- ** dataproc.projects.regions.clusters.repair+    DataprocProjectsRegionsClustersRepairResource,+    DataprocProjectsRegionsClustersRepair (..),+    newDataprocProjectsRegionsClustersRepair,++    -- ** dataproc.projects.regions.clusters.setIamPolicy+    DataprocProjectsRegionsClustersSetIamPolicyResource,+    DataprocProjectsRegionsClustersSetIamPolicy (..),+    newDataprocProjectsRegionsClustersSetIamPolicy,++    -- ** dataproc.projects.regions.clusters.start+    DataprocProjectsRegionsClustersStartResource,+    DataprocProjectsRegionsClustersStart (..),+    newDataprocProjectsRegionsClustersStart,++    -- ** dataproc.projects.regions.clusters.stop+    DataprocProjectsRegionsClustersStopResource,+    DataprocProjectsRegionsClustersStop (..),+    newDataprocProjectsRegionsClustersStop,++    -- ** dataproc.projects.regions.clusters.testIamPermissions+    DataprocProjectsRegionsClustersTestIamPermissionsResource,+    DataprocProjectsRegionsClustersTestIamPermissions (..),+    newDataprocProjectsRegionsClustersTestIamPermissions,++    -- ** dataproc.projects.regions.jobs.cancel+    DataprocProjectsRegionsJobsCancelResource,+    DataprocProjectsRegionsJobsCancel (..),+    newDataprocProjectsRegionsJobsCancel,++    -- ** dataproc.projects.regions.jobs.delete+    DataprocProjectsRegionsJobsDeleteResource,+    DataprocProjectsRegionsJobsDelete (..),+    newDataprocProjectsRegionsJobsDelete,++    -- ** dataproc.projects.regions.jobs.get+    DataprocProjectsRegionsJobsGetResource,+    DataprocProjectsRegionsJobsGet (..),+    newDataprocProjectsRegionsJobsGet,++    -- ** dataproc.projects.regions.jobs.getIamPolicy+    DataprocProjectsRegionsJobsGetIamPolicyResource,+    DataprocProjectsRegionsJobsGetIamPolicy (..),+    newDataprocProjectsRegionsJobsGetIamPolicy,++    -- ** dataproc.projects.regions.jobs.list+    DataprocProjectsRegionsJobsListResource,+    DataprocProjectsRegionsJobsList (..),+    newDataprocProjectsRegionsJobsList,++    -- ** dataproc.projects.regions.jobs.patch+    DataprocProjectsRegionsJobsPatchResource,+    DataprocProjectsRegionsJobsPatch (..),+    newDataprocProjectsRegionsJobsPatch,++    -- ** dataproc.projects.regions.jobs.setIamPolicy+    DataprocProjectsRegionsJobsSetIamPolicyResource,+    DataprocProjectsRegionsJobsSetIamPolicy (..),+    newDataprocProjectsRegionsJobsSetIamPolicy,++    -- ** dataproc.projects.regions.jobs.submit+    DataprocProjectsRegionsJobsSubmitResource,+    DataprocProjectsRegionsJobsSubmit (..),+    newDataprocProjectsRegionsJobsSubmit,++    -- ** dataproc.projects.regions.jobs.submitAsOperation+    DataprocProjectsRegionsJobsSubmitAsOperationResource,+    DataprocProjectsRegionsJobsSubmitAsOperation (..),+    newDataprocProjectsRegionsJobsSubmitAsOperation,++    -- ** dataproc.projects.regions.jobs.testIamPermissions+    DataprocProjectsRegionsJobsTestIamPermissionsResource,+    DataprocProjectsRegionsJobsTestIamPermissions (..),+    newDataprocProjectsRegionsJobsTestIamPermissions,++    -- ** dataproc.projects.regions.operations.cancel+    DataprocProjectsRegionsOperationsCancelResource,+    DataprocProjectsRegionsOperationsCancel (..),+    newDataprocProjectsRegionsOperationsCancel,++    -- ** dataproc.projects.regions.operations.delete+    DataprocProjectsRegionsOperationsDeleteResource,+    DataprocProjectsRegionsOperationsDelete (..),+    newDataprocProjectsRegionsOperationsDelete,++    -- ** dataproc.projects.regions.operations.get+    DataprocProjectsRegionsOperationsGetResource,+    DataprocProjectsRegionsOperationsGet (..),+    newDataprocProjectsRegionsOperationsGet,++    -- ** dataproc.projects.regions.operations.getIamPolicy+    DataprocProjectsRegionsOperationsGetIamPolicyResource,+    DataprocProjectsRegionsOperationsGetIamPolicy (..),+    newDataprocProjectsRegionsOperationsGetIamPolicy,++    -- ** dataproc.projects.regions.operations.list+    DataprocProjectsRegionsOperationsListResource,+    DataprocProjectsRegionsOperationsList (..),+    newDataprocProjectsRegionsOperationsList,++    -- ** dataproc.projects.regions.operations.setIamPolicy+    DataprocProjectsRegionsOperationsSetIamPolicyResource,+    DataprocProjectsRegionsOperationsSetIamPolicy (..),+    newDataprocProjectsRegionsOperationsSetIamPolicy,++    -- ** dataproc.projects.regions.operations.testIamPermissions+    DataprocProjectsRegionsOperationsTestIamPermissionsResource,+    DataprocProjectsRegionsOperationsTestIamPermissions (..),+    newDataprocProjectsRegionsOperationsTestIamPermissions,++    -- ** dataproc.projects.regions.workflowTemplates.create+    DataprocProjectsRegionsWorkflowTemplatesCreateResource,+    DataprocProjectsRegionsWorkflowTemplatesCreate (..),+    newDataprocProjectsRegionsWorkflowTemplatesCreate,++    -- ** dataproc.projects.regions.workflowTemplates.delete+    DataprocProjectsRegionsWorkflowTemplatesDeleteResource,+    DataprocProjectsRegionsWorkflowTemplatesDelete (..),+    newDataprocProjectsRegionsWorkflowTemplatesDelete,++    -- ** dataproc.projects.regions.workflowTemplates.get+    DataprocProjectsRegionsWorkflowTemplatesGetResource,+    DataprocProjectsRegionsWorkflowTemplatesGet (..),+    newDataprocProjectsRegionsWorkflowTemplatesGet,++    -- ** dataproc.projects.regions.workflowTemplates.getIamPolicy+    DataprocProjectsRegionsWorkflowTemplatesGetIamPolicyResource,+    DataprocProjectsRegionsWorkflowTemplatesGetIamPolicy (..),+    newDataprocProjectsRegionsWorkflowTemplatesGetIamPolicy,++    -- ** dataproc.projects.regions.workflowTemplates.instantiate+    DataprocProjectsRegionsWorkflowTemplatesInstantiateResource,+    DataprocProjectsRegionsWorkflowTemplatesInstantiate (..),+    newDataprocProjectsRegionsWorkflowTemplatesInstantiate,++    -- ** dataproc.projects.regions.workflowTemplates.instantiateInline+    DataprocProjectsRegionsWorkflowTemplatesInstantiateInlineResource,+    DataprocProjectsRegionsWorkflowTemplatesInstantiateInline (..),+    newDataprocProjectsRegionsWorkflowTemplatesInstantiateInline,++    -- ** dataproc.projects.regions.workflowTemplates.list+    DataprocProjectsRegionsWorkflowTemplatesListResource,+    DataprocProjectsRegionsWorkflowTemplatesList (..),+    newDataprocProjectsRegionsWorkflowTemplatesList,++    -- ** dataproc.projects.regions.workflowTemplates.setIamPolicy+    DataprocProjectsRegionsWorkflowTemplatesSetIamPolicyResource,+    DataprocProjectsRegionsWorkflowTemplatesSetIamPolicy (..),+    newDataprocProjectsRegionsWorkflowTemplatesSetIamPolicy,++    -- ** dataproc.projects.regions.workflowTemplates.testIamPermissions+    DataprocProjectsRegionsWorkflowTemplatesTestIamPermissionsResource,+    DataprocProjectsRegionsWorkflowTemplatesTestIamPermissions (..),+    newDataprocProjectsRegionsWorkflowTemplatesTestIamPermissions,++    -- ** dataproc.projects.regions.workflowTemplates.update+    DataprocProjectsRegionsWorkflowTemplatesUpdateResource,+    DataprocProjectsRegionsWorkflowTemplatesUpdate (..),+    newDataprocProjectsRegionsWorkflowTemplatesUpdate,++    -- * Types++    -- ** Xgafv+    Xgafv (..),++    -- ** AcceleratorConfig+    AcceleratorConfig (..),+    newAcceleratorConfig,++    -- ** AccessSessionSparkApplicationEnvironmentInfoResponse+    AccessSessionSparkApplicationEnvironmentInfoResponse (..),+    newAccessSessionSparkApplicationEnvironmentInfoResponse,++    -- ** AccessSessionSparkApplicationJobResponse+    AccessSessionSparkApplicationJobResponse (..),+    newAccessSessionSparkApplicationJobResponse,++    -- ** AccessSessionSparkApplicationResponse+    AccessSessionSparkApplicationResponse (..),+    newAccessSessionSparkApplicationResponse,++    -- ** AccessSessionSparkApplicationSqlQueryResponse+    AccessSessionSparkApplicationSqlQueryResponse (..),+    newAccessSessionSparkApplicationSqlQueryResponse,++    -- ** AccessSessionSparkApplicationSqlSparkPlanGraphResponse+    AccessSessionSparkApplicationSqlSparkPlanGraphResponse (..),+    newAccessSessionSparkApplicationSqlSparkPlanGraphResponse,++    -- ** AccessSessionSparkApplicationStageAttemptResponse+    AccessSessionSparkApplicationStageAttemptResponse (..),+    newAccessSessionSparkApplicationStageAttemptResponse,++    -- ** AccessSessionSparkApplicationStageRddOperationGraphResponse+    AccessSessionSparkApplicationStageRddOperationGraphResponse (..),+    newAccessSessionSparkApplicationStageRddOperationGraphResponse,++    -- ** AccessSparkApplicationEnvironmentInfoResponse+    AccessSparkApplicationEnvironmentInfoResponse (..),+    newAccessSparkApplicationEnvironmentInfoResponse,++    -- ** AccessSparkApplicationJobResponse+    AccessSparkApplicationJobResponse (..),+    newAccessSparkApplicationJobResponse,++    -- ** AccessSparkApplicationResponse+    AccessSparkApplicationResponse (..),+    newAccessSparkApplicationResponse,++    -- ** AccessSparkApplicationSqlQueryResponse+    AccessSparkApplicationSqlQueryResponse (..),+    newAccessSparkApplicationSqlQueryResponse,++    -- ** AccessSparkApplicationSqlSparkPlanGraphResponse+    AccessSparkApplicationSqlSparkPlanGraphResponse (..),+    newAccessSparkApplicationSqlSparkPlanGraphResponse,++    -- ** AccessSparkApplicationStageAttemptResponse+    AccessSparkApplicationStageAttemptResponse (..),+    newAccessSparkApplicationStageAttemptResponse,++    -- ** AccessSparkApplicationStageRddOperationGraphResponse+    AccessSparkApplicationStageRddOperationGraphResponse (..),+    newAccessSparkApplicationStageRddOperationGraphResponse,++    -- ** AccumulableInfo+    AccumulableInfo (..),+    newAccumulableInfo,++    -- ** AnalyzeBatchRequest+    AnalyzeBatchRequest (..),+    newAnalyzeBatchRequest,++    -- ** AnalyzeOperationMetadata+    AnalyzeOperationMetadata (..),+    newAnalyzeOperationMetadata,++    -- ** AnalyzeOperationMetadata_AnalyzedWorkloadType+    AnalyzeOperationMetadata_AnalyzedWorkloadType (..),++    -- ** AnalyzeOperationMetadata_Labels+    AnalyzeOperationMetadata_Labels (..),+    newAnalyzeOperationMetadata_Labels,++    -- ** AppSummary+    AppSummary (..),+    newAppSummary,++    -- ** ApplicationAttemptInfo+    ApplicationAttemptInfo (..),+    newApplicationAttemptInfo,++    -- ** ApplicationEnvironmentInfo+    ApplicationEnvironmentInfo (..),+    newApplicationEnvironmentInfo,++    -- ** ApplicationEnvironmentInfo_ClasspathEntries+    ApplicationEnvironmentInfo_ClasspathEntries (..),+    newApplicationEnvironmentInfo_ClasspathEntries,++    -- ** ApplicationEnvironmentInfo_HadoopProperties+    ApplicationEnvironmentInfo_HadoopProperties (..),+    newApplicationEnvironmentInfo_HadoopProperties,++    -- ** ApplicationEnvironmentInfo_MetricsProperties+    ApplicationEnvironmentInfo_MetricsProperties (..),+    newApplicationEnvironmentInfo_MetricsProperties,++    -- ** ApplicationEnvironmentInfo_SparkProperties+    ApplicationEnvironmentInfo_SparkProperties (..),+    newApplicationEnvironmentInfo_SparkProperties,++    -- ** ApplicationEnvironmentInfo_SystemProperties+    ApplicationEnvironmentInfo_SystemProperties (..),+    newApplicationEnvironmentInfo_SystemProperties,++    -- ** ApplicationInfo+    ApplicationInfo (..),+    newApplicationInfo,++    -- ** ApplicationInfo_ApplicationContextIngestionStatus+    ApplicationInfo_ApplicationContextIngestionStatus (..),++    -- ** ApplicationInfo_QuantileDataStatus+    ApplicationInfo_QuantileDataStatus (..),++    -- ** AutoscalingConfig+    AutoscalingConfig (..),+    newAutoscalingConfig,++    -- ** AutoscalingPolicy+    AutoscalingPolicy (..),+    newAutoscalingPolicy,++    -- ** AutoscalingPolicy_Labels+    AutoscalingPolicy_Labels (..),+    newAutoscalingPolicy_Labels,++    -- ** AutotuningConfig+    AutotuningConfig (..),+    newAutotuningConfig,++    -- ** AutotuningConfig_ScenariosItem+    AutotuningConfig_ScenariosItem (..),++    -- ** AuxiliaryNodeGroup+    AuxiliaryNodeGroup (..),+    newAuxiliaryNodeGroup,++    -- ** AuxiliaryServicesConfig+    AuxiliaryServicesConfig (..),+    newAuxiliaryServicesConfig,++    -- ** BasicAutoscalingAlgorithm+    BasicAutoscalingAlgorithm (..),+    newBasicAutoscalingAlgorithm,++    -- ** BasicYarnAutoscalingConfig+    BasicYarnAutoscalingConfig (..),+    newBasicYarnAutoscalingConfig,++    -- ** Batch+    Batch (..),+    newBatch,++    -- ** Batch_Labels+    Batch_Labels (..),+    newBatch_Labels,++    -- ** Batch_State+    Batch_State (..),++    -- ** BatchOperationMetadata+    BatchOperationMetadata (..),+    newBatchOperationMetadata,++    -- ** BatchOperationMetadata_Labels+    BatchOperationMetadata_Labels (..),+    newBatchOperationMetadata_Labels,++    -- ** BatchOperationMetadata_OperationType+    BatchOperationMetadata_OperationType (..),++    -- ** Binding+    Binding (..),+    newBinding,++    -- ** BuildInfo+    BuildInfo (..),+    newBuildInfo,++    -- ** CancelJobRequest+    CancelJobRequest (..),+    newCancelJobRequest,++    -- ** Cluster+    Cluster (..),+    newCluster,++    -- ** Cluster_Labels+    Cluster_Labels (..),+    newCluster_Labels,++    -- ** ClusterConfig+    ClusterConfig (..),+    newClusterConfig,++    -- ** ClusterMetrics+    ClusterMetrics (..),+    newClusterMetrics,++    -- ** ClusterMetrics_HdfsMetrics+    ClusterMetrics_HdfsMetrics (..),+    newClusterMetrics_HdfsMetrics,++    -- ** ClusterMetrics_YarnMetrics+    ClusterMetrics_YarnMetrics (..),+    newClusterMetrics_YarnMetrics,++    -- ** ClusterOperation+    ClusterOperation (..),+    newClusterOperation,++    -- ** ClusterOperationMetadata+    ClusterOperationMetadata (..),+    newClusterOperationMetadata,++    -- ** ClusterOperationMetadata_Labels+    ClusterOperationMetadata_Labels (..),+    newClusterOperationMetadata_Labels,++    -- ** ClusterOperationStatus+    ClusterOperationStatus (..),+    newClusterOperationStatus,++    -- ** ClusterOperationStatus_State+    ClusterOperationStatus_State (..),++    -- ** ClusterSelector+    ClusterSelector (..),+    newClusterSelector,++    -- ** ClusterSelector_ClusterLabels+    ClusterSelector_ClusterLabels (..),+    newClusterSelector_ClusterLabels,++    -- ** ClusterStatus+    ClusterStatus (..),+    newClusterStatus,++    -- ** ClusterStatus_State+    ClusterStatus_State (..),++    -- ** ClusterStatus_Substate+    ClusterStatus_Substate (..),++    -- ** ClusterToRepair+    ClusterToRepair (..),+    newClusterToRepair,++    -- ** ClusterToRepair_ClusterRepairAction+    ClusterToRepair_ClusterRepairAction (..),++    -- ** ConfidentialInstanceConfig+    ConfidentialInstanceConfig (..),+    newConfidentialInstanceConfig,++    -- ** ConsolidatedExecutorSummary+    ConsolidatedExecutorSummary (..),+    newConsolidatedExecutorSummary,++    -- ** DataprocMetricConfig+    DataprocMetricConfig (..),+    newDataprocMetricConfig,++    -- ** DiagnoseClusterRequest+    DiagnoseClusterRequest (..),+    newDiagnoseClusterRequest,++    -- ** DiagnoseClusterRequest_TarballAccess+    DiagnoseClusterRequest_TarballAccess (..),++    -- ** DiagnoseClusterResults+    DiagnoseClusterResults (..),+    newDiagnoseClusterResults,++    -- ** DiskConfig+    DiskConfig (..),+    newDiskConfig,++    -- ** DriverSchedulingConfig+    DriverSchedulingConfig (..),+    newDriverSchedulingConfig,++    -- ** Empty+    Empty (..),+    newEmpty,++    -- ** EncryptionConfig+    EncryptionConfig (..),+    newEncryptionConfig,++    -- ** EndpointConfig+    EndpointConfig (..),+    newEndpointConfig,++    -- ** EndpointConfig_HttpPorts+    EndpointConfig_HttpPorts (..),+    newEndpointConfig_HttpPorts,++    -- ** EnvironmentConfig+    EnvironmentConfig (..),+    newEnvironmentConfig,++    -- ** ExecutionConfig+    ExecutionConfig (..),+    newExecutionConfig,++    -- ** ExecutorMetrics+    ExecutorMetrics (..),+    newExecutorMetrics,++    -- ** ExecutorMetrics_Metrics+    ExecutorMetrics_Metrics (..),+    newExecutorMetrics_Metrics,++    -- ** ExecutorMetricsDistributions+    ExecutorMetricsDistributions (..),+    newExecutorMetricsDistributions,++    -- ** ExecutorPeakMetricsDistributions+    ExecutorPeakMetricsDistributions (..),+    newExecutorPeakMetricsDistributions,++    -- ** ExecutorResourceRequest+    ExecutorResourceRequest (..),+    newExecutorResourceRequest,++    -- ** ExecutorStageSummary+    ExecutorStageSummary (..),+    newExecutorStageSummary,++    -- ** ExecutorSummary+    ExecutorSummary (..),+    newExecutorSummary,++    -- ** ExecutorSummary_Attributes+    ExecutorSummary_Attributes (..),+    newExecutorSummary_Attributes,++    -- ** ExecutorSummary_ExecutorLogs+    ExecutorSummary_ExecutorLogs (..),+    newExecutorSummary_ExecutorLogs,++    -- ** ExecutorSummary_Resources+    ExecutorSummary_Resources (..),+    newExecutorSummary_Resources,++    -- ** Expr+    Expr (..),+    newExpr,++    -- ** FallbackReason+    FallbackReason (..),+    newFallbackReason,++    -- ** FlinkJob+    FlinkJob (..),+    newFlinkJob,++    -- ** FlinkJob_Properties+    FlinkJob_Properties (..),+    newFlinkJob_Properties,++    -- ** GceClusterConfig+    GceClusterConfig (..),+    newGceClusterConfig,++    -- ** GceClusterConfig_Metadata+    GceClusterConfig_Metadata (..),+    newGceClusterConfig_Metadata,++    -- ** GceClusterConfig_PrivateIpv6GoogleAccess+    GceClusterConfig_PrivateIpv6GoogleAccess (..),++    -- ** GceClusterConfig_ResourceManagerTags+    GceClusterConfig_ResourceManagerTags (..),+    newGceClusterConfig_ResourceManagerTags,++    -- ** GetIamPolicyRequest+    GetIamPolicyRequest (..),+    newGetIamPolicyRequest,++    -- ** GetPolicyOptions+    GetPolicyOptions (..),+    newGetPolicyOptions,++    -- ** GkeClusterConfig+    GkeClusterConfig (..),+    newGkeClusterConfig,++    -- ** GkeNodeConfig+    GkeNodeConfig (..),+    newGkeNodeConfig,++    -- ** GkeNodePoolAcceleratorConfig+    GkeNodePoolAcceleratorConfig (..),+    newGkeNodePoolAcceleratorConfig,++    -- ** GkeNodePoolAutoscalingConfig+    GkeNodePoolAutoscalingConfig (..),+    newGkeNodePoolAutoscalingConfig,++    -- ** GkeNodePoolConfig+    GkeNodePoolConfig (..),+    newGkeNodePoolConfig,++    -- ** GkeNodePoolTarget+    GkeNodePoolTarget (..),+    newGkeNodePoolTarget,++    -- ** GkeNodePoolTarget_RolesItem+    GkeNodePoolTarget_RolesItem (..),++    -- ** GoogleCloudDataprocV1WorkflowTemplateEncryptionConfig+    GoogleCloudDataprocV1WorkflowTemplateEncryptionConfig (..),+    newGoogleCloudDataprocV1WorkflowTemplateEncryptionConfig,++    -- ** HadoopJob+    HadoopJob (..),+    newHadoopJob,++    -- ** HadoopJob_Properties+    HadoopJob_Properties (..),+    newHadoopJob_Properties,++    -- ** HiveJob+    HiveJob (..),+    newHiveJob,++    -- ** HiveJob_Properties+    HiveJob_Properties (..),+    newHiveJob_Properties,++    -- ** HiveJob_ScriptVariables+    HiveJob_ScriptVariables (..),+    newHiveJob_ScriptVariables,++    -- ** IdentityConfig+    IdentityConfig (..),+    newIdentityConfig,++    -- ** IdentityConfig_UserServiceAccountMapping+    IdentityConfig_UserServiceAccountMapping (..),+    newIdentityConfig_UserServiceAccountMapping,++    -- ** InjectCredentialsRequest+    InjectCredentialsRequest (..),+    newInjectCredentialsRequest,++    -- ** InputMetrics+    InputMetrics (..),+    newInputMetrics,++    -- ** InputQuantileMetrics+    InputQuantileMetrics (..),+    newInputQuantileMetrics,++    -- ** InstanceFlexibilityPolicy+    InstanceFlexibilityPolicy (..),+    newInstanceFlexibilityPolicy,++    -- ** InstanceGroupAutoscalingPolicyConfig+    InstanceGroupAutoscalingPolicyConfig (..),+    newInstanceGroupAutoscalingPolicyConfig,++    -- ** InstanceGroupConfig+    InstanceGroupConfig (..),+    newInstanceGroupConfig,++    -- ** InstanceGroupConfig_Preemptibility+    InstanceGroupConfig_Preemptibility (..),++    -- ** InstanceReference+    InstanceReference (..),+    newInstanceReference,++    -- ** InstanceSelection+    InstanceSelection (..),+    newInstanceSelection,++    -- ** InstanceSelectionResult+    InstanceSelectionResult (..),+    newInstanceSelectionResult,++    -- ** InstantiateWorkflowTemplateRequest+    InstantiateWorkflowTemplateRequest (..),+    newInstantiateWorkflowTemplateRequest,++    -- ** InstantiateWorkflowTemplateRequest_Parameters+    InstantiateWorkflowTemplateRequest_Parameters (..),+    newInstantiateWorkflowTemplateRequest_Parameters,++    -- ** Interval+    Interval (..),+    newInterval,++    -- ** Job+    Job (..),+    newJob,++    -- ** Job_Labels+    Job_Labels (..),+    newJob_Labels,++    -- ** JobData+    JobData (..),+    newJobData,++    -- ** JobData_KillTasksSummary+    JobData_KillTasksSummary (..),+    newJobData_KillTasksSummary,++    -- ** JobData_Status+    JobData_Status (..),++    -- ** JobMetadata+    JobMetadata (..),+    newJobMetadata,++    -- ** JobPlacement+    JobPlacement (..),+    newJobPlacement,++    -- ** JobPlacement_ClusterLabels+    JobPlacement_ClusterLabels (..),+    newJobPlacement_ClusterLabels,++    -- ** JobReference+    JobReference (..),+    newJobReference,++    -- ** JobScheduling+    JobScheduling (..),+    newJobScheduling,++    -- ** JobStatus+    JobStatus (..),+    newJobStatus,++    -- ** JobStatus_State+    JobStatus_State (..),++    -- ** JobStatus_Substate+    JobStatus_Substate (..),++    -- ** JobsSummary+    JobsSummary (..),+    newJobsSummary,++    -- ** JupyterConfig+    JupyterConfig (..),+    newJupyterConfig,++    -- ** JupyterConfig_Kernel+    JupyterConfig_Kernel (..),++    -- ** KerberosConfig+    KerberosConfig (..),+    newKerberosConfig,++    -- ** KubernetesClusterConfig+    KubernetesClusterConfig (..),+    newKubernetesClusterConfig,++    -- ** KubernetesSoftwareConfig+    KubernetesSoftwareConfig (..),+    newKubernetesSoftwareConfig,++    -- ** KubernetesSoftwareConfig_ComponentVersion+    KubernetesSoftwareConfig_ComponentVersion (..),+    newKubernetesSoftwareConfig_ComponentVersion,++    -- ** KubernetesSoftwareConfig_Properties+    KubernetesSoftwareConfig_Properties (..),+    newKubernetesSoftwareConfig_Properties,++    -- ** LifecycleConfig+    LifecycleConfig (..),+    newLifecycleConfig,++    -- ** ListAutoscalingPoliciesResponse+    ListAutoscalingPoliciesResponse (..),+    newListAutoscalingPoliciesResponse,++    -- ** ListBatchesResponse+    ListBatchesResponse (..),+    newListBatchesResponse,++    -- ** ListClustersResponse+    ListClustersResponse (..),+    newListClustersResponse,++    -- ** ListJobsResponse+    ListJobsResponse (..),+    newListJobsResponse,++    -- ** ListOperationsResponse+    ListOperationsResponse (..),+    newListOperationsResponse,++    -- ** ListSessionTemplatesResponse+    ListSessionTemplatesResponse (..),+    newListSessionTemplatesResponse,++    -- ** ListSessionsResponse+    ListSessionsResponse (..),+    newListSessionsResponse,++    -- ** ListWorkflowTemplatesResponse+    ListWorkflowTemplatesResponse (..),+    newListWorkflowTemplatesResponse,++    -- ** LoggingConfig+    LoggingConfig (..),+    newLoggingConfig,++    -- ** LoggingConfig_DriverLogLevels+    LoggingConfig_DriverLogLevels (..),+    newLoggingConfig_DriverLogLevels,++    -- ** LoggingConfig_DriverLogLevelsAdditional+    LoggingConfig_DriverLogLevelsAdditional (..),++    -- ** ManagedCluster+    ManagedCluster (..),+    newManagedCluster,++    -- ** ManagedCluster_Labels+    ManagedCluster_Labels (..),+    newManagedCluster_Labels,++    -- ** ManagedGroupConfig+    ManagedGroupConfig (..),+    newManagedGroupConfig,++    -- ** MemoryMetrics+    MemoryMetrics (..),+    newMemoryMetrics,++    -- ** MetastoreConfig+    MetastoreConfig (..),+    newMetastoreConfig,++    -- ** Metric+    Metric (..),+    newMetric,++    -- ** Metric_MetricSource+    Metric_MetricSource (..),++    -- ** NamespacedGkeDeploymentTarget+    NamespacedGkeDeploymentTarget (..),+    newNamespacedGkeDeploymentTarget,++    -- ** NativeBuildInfoUiData+    NativeBuildInfoUiData (..),+    newNativeBuildInfoUiData,++    -- ** NativeSqlExecutionUiData+    NativeSqlExecutionUiData (..),+    newNativeSqlExecutionUiData,++    -- ** NodeGroup+    NodeGroup (..),+    newNodeGroup,++    -- ** NodeGroup_Labels+    NodeGroup_Labels (..),+    newNodeGroup_Labels,++    -- ** NodeGroup_RolesItem+    NodeGroup_RolesItem (..),++    -- ** NodeGroupAffinity+    NodeGroupAffinity (..),+    newNodeGroupAffinity,++    -- ** NodeGroupOperationMetadata+    NodeGroupOperationMetadata (..),+    newNodeGroupOperationMetadata,++    -- ** NodeGroupOperationMetadata_Labels+    NodeGroupOperationMetadata_Labels (..),+    newNodeGroupOperationMetadata_Labels,++    -- ** NodeGroupOperationMetadata_OperationType+    NodeGroupOperationMetadata_OperationType (..),++    -- ** NodeInitializationAction+    NodeInitializationAction (..),+    newNodeInitializationAction,++    -- ** NodePool+    NodePool (..),+    newNodePool,++    -- ** NodePool_RepairAction+    NodePool_RepairAction (..),++    -- ** Operation+    Operation (..),+    newOperation,++    -- ** Operation_Metadata+    Operation_Metadata (..),+    newOperation_Metadata,++    -- ** Operation_Response+    Operation_Response (..),+    newOperation_Response,++    -- ** OrderedJob+    OrderedJob (..),+    newOrderedJob,++    -- ** OrderedJob_Labels+    OrderedJob_Labels (..),+    newOrderedJob_Labels,++    -- ** OutputMetrics+    OutputMetrics (..),+    newOutputMetrics,++    -- ** OutputQuantileMetrics+    OutputQuantileMetrics (..),+    newOutputQuantileMetrics,++    -- ** ParameterValidation+    ParameterValidation (..),+    newParameterValidation,++    -- ** PeripheralsConfig+    PeripheralsConfig (..),+    newPeripheralsConfig,++    -- ** PigJob+    PigJob (..),+    newPigJob,++    -- ** PigJob_Properties+    PigJob_Properties (..),+    newPigJob_Properties,++    -- ** PigJob_ScriptVariables+    PigJob_ScriptVariables (..),+    newPigJob_ScriptVariables,++    -- ** Policy+    Policy (..),+    newPolicy,++    -- ** PoolData+    PoolData (..),+    newPoolData,++    -- ** PrestoJob+    PrestoJob (..),+    newPrestoJob,++    -- ** PrestoJob_Properties+    PrestoJob_Properties (..),+    newPrestoJob_Properties,++    -- ** ProcessSummary+    ProcessSummary (..),+    newProcessSummary,++    -- ** ProcessSummary_ProcessLogs+    ProcessSummary_ProcessLogs (..),+    newProcessSummary_ProcessLogs,++    -- ** ProvisioningModelMix+    ProvisioningModelMix (..),+    newProvisioningModelMix,++    -- ** PyPiRepositoryConfig+    PyPiRepositoryConfig (..),+    newPyPiRepositoryConfig,++    -- ** PySparkBatch+    PySparkBatch (..),+    newPySparkBatch,++    -- ** PySparkJob+    PySparkJob (..),+    newPySparkJob,++    -- ** PySparkJob_Properties+    PySparkJob_Properties (..),+    newPySparkJob_Properties,++    -- ** Quantiles+    Quantiles (..),+    newQuantiles,++    -- ** QueryList+    QueryList (..),+    newQueryList,++    -- ** RddDataDistribution+    RddDataDistribution (..),+    newRddDataDistribution,++    -- ** RddOperationCluster+    RddOperationCluster (..),+    newRddOperationCluster,++    -- ** RddOperationEdge+    RddOperationEdge (..),+    newRddOperationEdge,++    -- ** RddOperationGraph+    RddOperationGraph (..),+    newRddOperationGraph,++    -- ** RddOperationNode+    RddOperationNode (..),+    newRddOperationNode,++    -- ** RddOperationNode_OutputDeterministicLevel+    RddOperationNode_OutputDeterministicLevel (..),++    -- ** RddPartitionInfo+    RddPartitionInfo (..),+    newRddPartitionInfo,++    -- ** RddStorageInfo+    RddStorageInfo (..),+    newRddStorageInfo,++    -- ** RegexValidation+    RegexValidation (..),+    newRegexValidation,++    -- ** RepairClusterRequest+    RepairClusterRequest (..),+    newRepairClusterRequest,++    -- ** RepairNodeGroupRequest+    RepairNodeGroupRequest (..),+    newRepairNodeGroupRequest,++    -- ** RepairNodeGroupRequest_RepairAction+    RepairNodeGroupRequest_RepairAction (..),++    -- ** RepositoryConfig+    RepositoryConfig (..),+    newRepositoryConfig,++    -- ** ReservationAffinity+    ReservationAffinity (..),+    newReservationAffinity,++    -- ** ReservationAffinity_ConsumeReservationType+    ReservationAffinity_ConsumeReservationType (..),++    -- ** ResizeNodeGroupRequest+    ResizeNodeGroupRequest (..),+    newResizeNodeGroupRequest,++    -- ** ResourceInformation+    ResourceInformation (..),+    newResourceInformation,++    -- ** ResourceProfileInfo+    ResourceProfileInfo (..),+    newResourceProfileInfo,++    -- ** ResourceProfileInfo_ExecutorResources+    ResourceProfileInfo_ExecutorResources (..),+    newResourceProfileInfo_ExecutorResources,++    -- ** ResourceProfileInfo_TaskResources+    ResourceProfileInfo_TaskResources (..),+    newResourceProfileInfo_TaskResources,++    -- ** RuntimeConfig+    RuntimeConfig (..),+    newRuntimeConfig,++    -- ** RuntimeConfig_Properties+    RuntimeConfig_Properties (..),+    newRuntimeConfig_Properties,++    -- ** RuntimeInfo+    RuntimeInfo (..),+    newRuntimeInfo,++    -- ** RuntimeInfo_Endpoints+    RuntimeInfo_Endpoints (..),+    newRuntimeInfo_Endpoints,++    -- ** SearchSessionSparkApplicationExecutorStageSummaryResponse+    SearchSessionSparkApplicationExecutorStageSummaryResponse (..),+    newSearchSessionSparkApplicationExecutorStageSummaryResponse,++    -- ** SearchSessionSparkApplicationExecutorsResponse+    SearchSessionSparkApplicationExecutorsResponse (..),+    newSearchSessionSparkApplicationExecutorsResponse,++    -- ** SearchSessionSparkApplicationJobsResponse+    SearchSessionSparkApplicationJobsResponse (..),+    newSearchSessionSparkApplicationJobsResponse,++    -- ** SearchSessionSparkApplicationSqlQueriesResponse+    SearchSessionSparkApplicationSqlQueriesResponse (..),+    newSearchSessionSparkApplicationSqlQueriesResponse,++    -- ** SearchSessionSparkApplicationStageAttemptTasksResponse+    SearchSessionSparkApplicationStageAttemptTasksResponse (..),+    newSearchSessionSparkApplicationStageAttemptTasksResponse,++    -- ** SearchSessionSparkApplicationStageAttemptsResponse+    SearchSessionSparkApplicationStageAttemptsResponse (..),+    newSearchSessionSparkApplicationStageAttemptsResponse,++    -- ** SearchSessionSparkApplicationStagesResponse+    SearchSessionSparkApplicationStagesResponse (..),+    newSearchSessionSparkApplicationStagesResponse,++    -- ** SearchSessionSparkApplicationsResponse+    SearchSessionSparkApplicationsResponse (..),+    newSearchSessionSparkApplicationsResponse,++    -- ** SearchSparkApplicationExecutorStageSummaryResponse+    SearchSparkApplicationExecutorStageSummaryResponse (..),+    newSearchSparkApplicationExecutorStageSummaryResponse,++    -- ** SearchSparkApplicationExecutorsResponse+    SearchSparkApplicationExecutorsResponse (..),+    newSearchSparkApplicationExecutorsResponse,++    -- ** SearchSparkApplicationJobsResponse+    SearchSparkApplicationJobsResponse (..),+    newSearchSparkApplicationJobsResponse,++    -- ** SearchSparkApplicationSqlQueriesResponse+    SearchSparkApplicationSqlQueriesResponse (..),+    newSearchSparkApplicationSqlQueriesResponse,++    -- ** SearchSparkApplicationStageAttemptTasksResponse+    SearchSparkApplicationStageAttemptTasksResponse (..),+    newSearchSparkApplicationStageAttemptTasksResponse,++    -- ** SearchSparkApplicationStageAttemptsResponse+    SearchSparkApplicationStageAttemptsResponse (..),+    newSearchSparkApplicationStageAttemptsResponse,++    -- ** SearchSparkApplicationStagesResponse+    SearchSparkApplicationStagesResponse (..),+    newSearchSparkApplicationStagesResponse,++    -- ** SearchSparkApplicationsResponse+    SearchSparkApplicationsResponse (..),+    newSearchSparkApplicationsResponse,++    -- ** SecurityConfig+    SecurityConfig (..),+    newSecurityConfig,++    -- ** Session+    Session (..),+    newSession,++    -- ** Session_Labels+    Session_Labels (..),+    newSession_Labels,++    -- ** Session_State+    Session_State (..),++    -- ** SessionOperationMetadata+    SessionOperationMetadata (..),+    newSessionOperationMetadata,++    -- ** SessionOperationMetadata_Labels+    SessionOperationMetadata_Labels (..),+    newSessionOperationMetadata_Labels,++    -- ** SessionOperationMetadata_OperationType+    SessionOperationMetadata_OperationType (..),++    -- ** SessionStateHistory+    SessionStateHistory (..),+    newSessionStateHistory,++    -- ** SessionStateHistory_State+    SessionStateHistory_State (..),++    -- ** SessionTemplate+    SessionTemplate (..),+    newSessionTemplate,++    -- ** SessionTemplate_Labels+    SessionTemplate_Labels (..),+    newSessionTemplate_Labels,++    -- ** SetIamPolicyRequest+    SetIamPolicyRequest (..),+    newSetIamPolicyRequest,++    -- ** ShieldedInstanceConfig+    ShieldedInstanceConfig (..),+    newShieldedInstanceConfig,++    -- ** ShufflePushReadMetrics+    ShufflePushReadMetrics (..),+    newShufflePushReadMetrics,++    -- ** ShufflePushReadQuantileMetrics+    ShufflePushReadQuantileMetrics (..),+    newShufflePushReadQuantileMetrics,++    -- ** ShuffleReadMetrics+    ShuffleReadMetrics (..),+    newShuffleReadMetrics,++    -- ** ShuffleReadQuantileMetrics+    ShuffleReadQuantileMetrics (..),+    newShuffleReadQuantileMetrics,++    -- ** ShuffleWriteMetrics+    ShuffleWriteMetrics (..),+    newShuffleWriteMetrics,++    -- ** ShuffleWriteQuantileMetrics+    ShuffleWriteQuantileMetrics (..),+    newShuffleWriteQuantileMetrics,++    -- ** SinkProgress+    SinkProgress (..),+    newSinkProgress,++    -- ** SinkProgress_Metrics+    SinkProgress_Metrics (..),+    newSinkProgress_Metrics,++    -- ** SoftwareConfig+    SoftwareConfig (..),+    newSoftwareConfig,++    -- ** SoftwareConfig_OptionalComponentsItem+    SoftwareConfig_OptionalComponentsItem (..),++    -- ** SoftwareConfig_Properties+    SoftwareConfig_Properties (..),+    newSoftwareConfig_Properties,++    -- ** SourceProgress+    SourceProgress (..),+    newSourceProgress,++    -- ** SourceProgress_Metrics+    SourceProgress_Metrics (..),+    newSourceProgress_Metrics,++    -- ** SparkApplication+    SparkApplication (..),+    newSparkApplication,++    -- ** SparkBatch+    SparkBatch (..),+    newSparkBatch,++    -- ** SparkConnectConfig+    SparkConnectConfig (..),+    newSparkConnectConfig,++    -- ** SparkHistoryServerConfig+    SparkHistoryServerConfig (..),+    newSparkHistoryServerConfig,++    -- ** SparkJob+    SparkJob (..),+    newSparkJob,++    -- ** SparkJob_Properties+    SparkJob_Properties (..),+    newSparkJob_Properties,++    -- ** SparkPlanGraph+    SparkPlanGraph (..),+    newSparkPlanGraph,++    -- ** SparkPlanGraphCluster+    SparkPlanGraphCluster (..),+    newSparkPlanGraphCluster,++    -- ** SparkPlanGraphEdge+    SparkPlanGraphEdge (..),+    newSparkPlanGraphEdge,++    -- ** SparkPlanGraphNode+    SparkPlanGraphNode (..),+    newSparkPlanGraphNode,++    -- ** SparkPlanGraphNodeWrapper+    SparkPlanGraphNodeWrapper (..),+    newSparkPlanGraphNodeWrapper,++    -- ** SparkRBatch+    SparkRBatch (..),+    newSparkRBatch,++    -- ** SparkRJob+    SparkRJob (..),+    newSparkRJob,++    -- ** SparkRJob_Properties+    SparkRJob_Properties (..),+    newSparkRJob_Properties,++    -- ** SparkRuntimeInfo+    SparkRuntimeInfo (..),+    newSparkRuntimeInfo,++    -- ** SparkSqlBatch+    SparkSqlBatch (..),+    newSparkSqlBatch,++    -- ** SparkSqlBatch_QueryVariables+    SparkSqlBatch_QueryVariables (..),+    newSparkSqlBatch_QueryVariables,++    -- ** SparkSqlJob+    SparkSqlJob (..),+    newSparkSqlJob,++    -- ** SparkSqlJob_Properties+    SparkSqlJob_Properties (..),+    newSparkSqlJob_Properties,++    -- ** SparkSqlJob_ScriptVariables+    SparkSqlJob_ScriptVariables (..),+    newSparkSqlJob_ScriptVariables,++    -- ** SparkStandaloneAutoscalingConfig+    SparkStandaloneAutoscalingConfig (..),+    newSparkStandaloneAutoscalingConfig,++    -- ** SparkWrapperObject+    SparkWrapperObject (..),+    newSparkWrapperObject,++    -- ** SpeculationStageSummary+    SpeculationStageSummary (..),+    newSpeculationStageSummary,++    -- ** SqlExecutionUiData+    SqlExecutionUiData (..),+    newSqlExecutionUiData,++    -- ** SqlExecutionUiData_Jobs+    SqlExecutionUiData_Jobs (..),+    newSqlExecutionUiData_Jobs,++    -- ** SqlExecutionUiData_JobsAdditional+    SqlExecutionUiData_JobsAdditional (..),++    -- ** SqlExecutionUiData_MetricValues+    SqlExecutionUiData_MetricValues (..),+    newSqlExecutionUiData_MetricValues,++    -- ** SqlExecutionUiData_ModifiedConfigs+    SqlExecutionUiData_ModifiedConfigs (..),+    newSqlExecutionUiData_ModifiedConfigs,++    -- ** SqlPlanMetric+    SqlPlanMetric (..),+    newSqlPlanMetric,++    -- ** StageAttemptTasksSummary+    StageAttemptTasksSummary (..),+    newStageAttemptTasksSummary,++    -- ** StageData+    StageData (..),+    newStageData,++    -- ** StageData_ExecutorSummary+    StageData_ExecutorSummary (..),+    newStageData_ExecutorSummary,++    -- ** StageData_KilledTasksSummary+    StageData_KilledTasksSummary (..),+    newStageData_KilledTasksSummary,++    -- ** StageData_Locality+    StageData_Locality (..),+    newStageData_Locality,++    -- ** StageData_Status+    StageData_Status (..),++    -- ** StageData_Tasks+    StageData_Tasks (..),+    newStageData_Tasks,++    -- ** StageInputMetrics+    StageInputMetrics (..),+    newStageInputMetrics,++    -- ** StageMetrics+    StageMetrics (..),+    newStageMetrics,++    -- ** StageOutputMetrics+    StageOutputMetrics (..),+    newStageOutputMetrics,++    -- ** StageShufflePushReadMetrics+    StageShufflePushReadMetrics (..),+    newStageShufflePushReadMetrics,++    -- ** StageShuffleReadMetrics+    StageShuffleReadMetrics (..),+    newStageShuffleReadMetrics,++    -- ** StageShuffleWriteMetrics+    StageShuffleWriteMetrics (..),+    newStageShuffleWriteMetrics,++    -- ** StagesSummary+    StagesSummary (..),+    newStagesSummary,++    -- ** StartClusterRequest+    StartClusterRequest (..),+    newStartClusterRequest,++    -- ** StartupConfig+    StartupConfig (..),+    newStartupConfig,++    -- ** StateHistory+    StateHistory (..),+    newStateHistory,++    -- ** StateHistory_State+    StateHistory_State (..),++    -- ** StateOperatorProgress+    StateOperatorProgress (..),+    newStateOperatorProgress,++    -- ** StateOperatorProgress_CustomMetrics+    StateOperatorProgress_CustomMetrics (..),+    newStateOperatorProgress_CustomMetrics,++    -- ** Status+    Status (..),+    newStatus,++    -- ** Status_DetailsItem+    Status_DetailsItem (..),+    newStatus_DetailsItem,++    -- ** StopClusterRequest+    StopClusterRequest (..),+    newStopClusterRequest,++    -- ** StreamBlockData+    StreamBlockData (..),+    newStreamBlockData,++    -- ** StreamingQueryData+    StreamingQueryData (..),+    newStreamingQueryData,++    -- ** StreamingQueryProgress+    StreamingQueryProgress (..),+    newStreamingQueryProgress,++    -- ** StreamingQueryProgress_DurationMillis+    StreamingQueryProgress_DurationMillis (..),+    newStreamingQueryProgress_DurationMillis,++    -- ** StreamingQueryProgress_EventTime+    StreamingQueryProgress_EventTime (..),+    newStreamingQueryProgress_EventTime,++    -- ** StreamingQueryProgress_ObservedMetrics+    StreamingQueryProgress_ObservedMetrics (..),+    newStreamingQueryProgress_ObservedMetrics,++    -- ** SubmitJobRequest+    SubmitJobRequest (..),+    newSubmitJobRequest,++    -- ** SummarizeSessionSparkApplicationExecutorsResponse+    SummarizeSessionSparkApplicationExecutorsResponse (..),+    newSummarizeSessionSparkApplicationExecutorsResponse,++    -- ** SummarizeSessionSparkApplicationJobsResponse+    SummarizeSessionSparkApplicationJobsResponse (..),+    newSummarizeSessionSparkApplicationJobsResponse,++    -- ** SummarizeSessionSparkApplicationStageAttemptTasksResponse+    SummarizeSessionSparkApplicationStageAttemptTasksResponse (..),+    newSummarizeSessionSparkApplicationStageAttemptTasksResponse,++    -- ** SummarizeSessionSparkApplicationStagesResponse+    SummarizeSessionSparkApplicationStagesResponse (..),+    newSummarizeSessionSparkApplicationStagesResponse,++    -- ** SummarizeSparkApplicationExecutorsResponse+    SummarizeSparkApplicationExecutorsResponse (..),+    newSummarizeSparkApplicationExecutorsResponse,++    -- ** SummarizeSparkApplicationJobsResponse+    SummarizeSparkApplicationJobsResponse (..),+    newSummarizeSparkApplicationJobsResponse,++    -- ** SummarizeSparkApplicationStageAttemptTasksResponse+    SummarizeSparkApplicationStageAttemptTasksResponse (..),+    newSummarizeSparkApplicationStageAttemptTasksResponse,++    -- ** SummarizeSparkApplicationStagesResponse+    SummarizeSparkApplicationStagesResponse (..),+    newSummarizeSparkApplicationStagesResponse,++    -- ** TaskData+    TaskData (..),+    newTaskData,++    -- ** TaskData_ExecutorLogs+    TaskData_ExecutorLogs (..),+    newTaskData_ExecutorLogs,++    -- ** TaskMetrics+    TaskMetrics (..),+    newTaskMetrics,++    -- ** TaskQuantileMetrics+    TaskQuantileMetrics (..),+    newTaskQuantileMetrics,++    -- ** TaskResourceRequest+    TaskResourceRequest (..),+    newTaskResourceRequest,++    -- ** TemplateParameter+    TemplateParameter (..),+    newTemplateParameter,++    -- ** TerminateSessionRequest+    TerminateSessionRequest (..),+    newTerminateSessionRequest,++    -- ** TestIamPermissionsRequest+    TestIamPermissionsRequest (..),+    newTestIamPermissionsRequest,++    -- ** TestIamPermissionsResponse+    TestIamPermissionsResponse (..),+    newTestIamPermissionsResponse,++    -- ** TrinoJob+    TrinoJob (..),+    newTrinoJob,++    -- ** TrinoJob_Properties+    TrinoJob_Properties (..),+    newTrinoJob_Properties,++    -- ** UsageMetrics+    UsageMetrics (..),+    newUsageMetrics,++    -- ** UsageSnapshot+    UsageSnapshot (..),+    newUsageSnapshot,++    -- ** ValueValidation+    ValueValidation (..),+    newValueValidation,++    -- ** VirtualClusterConfig+    VirtualClusterConfig (..),+    newVirtualClusterConfig,++    -- ** WorkflowGraph+    WorkflowGraph (..),+    newWorkflowGraph,++    -- ** WorkflowMetadata+    WorkflowMetadata (..),+    newWorkflowMetadata,++    -- ** WorkflowMetadata_Parameters+    WorkflowMetadata_Parameters (..),+    newWorkflowMetadata_Parameters,++    -- ** WorkflowMetadata_State+    WorkflowMetadata_State (..),++    -- ** WorkflowNode+    WorkflowNode (..),+    newWorkflowNode,++    -- ** WorkflowNode_State+    WorkflowNode_State (..),++    -- ** WorkflowTemplate+    WorkflowTemplate (..),+    newWorkflowTemplate,++    -- ** WorkflowTemplate_Labels+    WorkflowTemplate_Labels (..),+    newWorkflowTemplate_Labels,++    -- ** WorkflowTemplatePlacement+    WorkflowTemplatePlacement (..),+    newWorkflowTemplatePlacement,++    -- ** WriteSessionSparkApplicationContextRequest+    WriteSessionSparkApplicationContextRequest (..),+    newWriteSessionSparkApplicationContextRequest,++    -- ** WriteSessionSparkApplicationContextResponse+    WriteSessionSparkApplicationContextResponse (..),+    newWriteSessionSparkApplicationContextResponse,++    -- ** WriteSparkApplicationContextRequest+    WriteSparkApplicationContextRequest (..),+    newWriteSparkApplicationContextRequest,++    -- ** WriteSparkApplicationContextResponse+    WriteSparkApplicationContextResponse (..),+    newWriteSparkApplicationContextResponse,++    -- ** YarnApplication+    YarnApplication (..),+    newYarnApplication,++    -- ** YarnApplication_State+    YarnApplication_State (..),++    -- ** ProjectsLocationsBatchesSparkApplicationsSearchApplicationStatus+    ProjectsLocationsBatchesSparkApplicationsSearchApplicationStatus (..),++    -- ** ProjectsLocationsBatchesSparkApplicationsSearchExecutorsExecutorStatus+    ProjectsLocationsBatchesSparkApplicationsSearchExecutorsExecutorStatus (..),++    -- ** ProjectsLocationsBatchesSparkApplicationsSearchJobsJobStatus+    ProjectsLocationsBatchesSparkApplicationsSearchJobsJobStatus (..),++    -- ** ProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasksTaskStatus+    ProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasksTaskStatus (..),++    -- ** ProjectsLocationsBatchesSparkApplicationsSearchStagesStageStatus+    ProjectsLocationsBatchesSparkApplicationsSearchStagesStageStatus (..),++    -- ** ProjectsLocationsSessionsSparkApplicationsSearchApplicationStatus+    ProjectsLocationsSessionsSparkApplicationsSearchApplicationStatus (..),++    -- ** ProjectsLocationsSessionsSparkApplicationsSearchExecutorsExecutorStatus+    ProjectsLocationsSessionsSparkApplicationsSearchExecutorsExecutorStatus (..),++    -- ** ProjectsLocationsSessionsSparkApplicationsSearchJobsJobStatus+    ProjectsLocationsSessionsSparkApplicationsSearchJobsJobStatus (..),++    -- ** ProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasksTaskStatus+    ProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasksTaskStatus (..),++    -- ** ProjectsLocationsSessionsSparkApplicationsSearchStagesStageStatus+    ProjectsLocationsSessionsSparkApplicationsSearchStagesStageStatus (..),++    -- ** ProjectsRegionsClustersCreateActionOnFailedPrimaryWorkers+    ProjectsRegionsClustersCreateActionOnFailedPrimaryWorkers (..),++    -- ** ProjectsRegionsJobsListJobStateMatcher+    ProjectsRegionsJobsListJobStateMatcher (..),+  )+where++import Gogol.Dataproc.Projects.Locations.AutoscalingPolicies.Create+import Gogol.Dataproc.Projects.Locations.AutoscalingPolicies.Delete+import Gogol.Dataproc.Projects.Locations.AutoscalingPolicies.Get+import Gogol.Dataproc.Projects.Locations.AutoscalingPolicies.GetIamPolicy+import Gogol.Dataproc.Projects.Locations.AutoscalingPolicies.List+import Gogol.Dataproc.Projects.Locations.AutoscalingPolicies.SetIamPolicy+import Gogol.Dataproc.Projects.Locations.AutoscalingPolicies.TestIamPermissions+import Gogol.Dataproc.Projects.Locations.AutoscalingPolicies.Update+import Gogol.Dataproc.Projects.Locations.Batches.Analyze+import Gogol.Dataproc.Projects.Locations.Batches.Create+import Gogol.Dataproc.Projects.Locations.Batches.Delete+import Gogol.Dataproc.Projects.Locations.Batches.Get+import Gogol.Dataproc.Projects.Locations.Batches.List+import Gogol.Dataproc.Projects.Locations.Batches.SparkApplications.Access+import Gogol.Dataproc.Projects.Locations.Batches.SparkApplications.AccessEnvironmentInfo+import Gogol.Dataproc.Projects.Locations.Batches.SparkApplications.AccessJob+import Gogol.Dataproc.Projects.Locations.Batches.SparkApplications.AccessSqlPlan+import Gogol.Dataproc.Projects.Locations.Batches.SparkApplications.AccessSqlQuery+import Gogol.Dataproc.Projects.Locations.Batches.SparkApplications.AccessStageAttempt+import Gogol.Dataproc.Projects.Locations.Batches.SparkApplications.AccessStageRddGraph+import Gogol.Dataproc.Projects.Locations.Batches.SparkApplications.Search+import Gogol.Dataproc.Projects.Locations.Batches.SparkApplications.SearchExecutorStageSummary+import Gogol.Dataproc.Projects.Locations.Batches.SparkApplications.SearchExecutors+import Gogol.Dataproc.Projects.Locations.Batches.SparkApplications.SearchJobs+import Gogol.Dataproc.Projects.Locations.Batches.SparkApplications.SearchSqlQueries+import Gogol.Dataproc.Projects.Locations.Batches.SparkApplications.SearchStageAttemptTasks+import Gogol.Dataproc.Projects.Locations.Batches.SparkApplications.SearchStageAttempts+import Gogol.Dataproc.Projects.Locations.Batches.SparkApplications.SearchStages+import Gogol.Dataproc.Projects.Locations.Batches.SparkApplications.SummarizeExecutors+import Gogol.Dataproc.Projects.Locations.Batches.SparkApplications.SummarizeJobs+import Gogol.Dataproc.Projects.Locations.Batches.SparkApplications.SummarizeStageAttemptTasks+import Gogol.Dataproc.Projects.Locations.Batches.SparkApplications.SummarizeStages+import Gogol.Dataproc.Projects.Locations.Batches.SparkApplications.Write+import Gogol.Dataproc.Projects.Locations.Operations.Cancel+import Gogol.Dataproc.Projects.Locations.Operations.Delete+import Gogol.Dataproc.Projects.Locations.Operations.Get+import Gogol.Dataproc.Projects.Locations.Operations.List+import Gogol.Dataproc.Projects.Locations.SessionTemplates.Create+import Gogol.Dataproc.Projects.Locations.SessionTemplates.Delete+import Gogol.Dataproc.Projects.Locations.SessionTemplates.Get+import Gogol.Dataproc.Projects.Locations.SessionTemplates.List+import Gogol.Dataproc.Projects.Locations.SessionTemplates.Patch+import Gogol.Dataproc.Projects.Locations.Sessions.Create+import Gogol.Dataproc.Projects.Locations.Sessions.Delete+import Gogol.Dataproc.Projects.Locations.Sessions.Get+import Gogol.Dataproc.Projects.Locations.Sessions.List+import Gogol.Dataproc.Projects.Locations.Sessions.SparkApplications.Access+import Gogol.Dataproc.Projects.Locations.Sessions.SparkApplications.AccessEnvironmentInfo+import Gogol.Dataproc.Projects.Locations.Sessions.SparkApplications.AccessJob+import Gogol.Dataproc.Projects.Locations.Sessions.SparkApplications.AccessSqlPlan+import Gogol.Dataproc.Projects.Locations.Sessions.SparkApplications.AccessSqlQuery+import Gogol.Dataproc.Projects.Locations.Sessions.SparkApplications.AccessStageAttempt+import Gogol.Dataproc.Projects.Locations.Sessions.SparkApplications.AccessStageRddGraph+import Gogol.Dataproc.Projects.Locations.Sessions.SparkApplications.Search+import Gogol.Dataproc.Projects.Locations.Sessions.SparkApplications.SearchExecutorStageSummary+import Gogol.Dataproc.Projects.Locations.Sessions.SparkApplications.SearchExecutors+import Gogol.Dataproc.Projects.Locations.Sessions.SparkApplications.SearchJobs+import Gogol.Dataproc.Projects.Locations.Sessions.SparkApplications.SearchSqlQueries+import Gogol.Dataproc.Projects.Locations.Sessions.SparkApplications.SearchStageAttemptTasks+import Gogol.Dataproc.Projects.Locations.Sessions.SparkApplications.SearchStageAttempts+import Gogol.Dataproc.Projects.Locations.Sessions.SparkApplications.SearchStages+import Gogol.Dataproc.Projects.Locations.Sessions.SparkApplications.SummarizeExecutors+import Gogol.Dataproc.Projects.Locations.Sessions.SparkApplications.SummarizeJobs+import Gogol.Dataproc.Projects.Locations.Sessions.SparkApplications.SummarizeStageAttemptTasks+import Gogol.Dataproc.Projects.Locations.Sessions.SparkApplications.SummarizeStages+import Gogol.Dataproc.Projects.Locations.Sessions.SparkApplications.Write+import Gogol.Dataproc.Projects.Locations.Sessions.Terminate+import Gogol.Dataproc.Projects.Locations.WorkflowTemplates.Create+import Gogol.Dataproc.Projects.Locations.WorkflowTemplates.Delete+import Gogol.Dataproc.Projects.Locations.WorkflowTemplates.Get+import Gogol.Dataproc.Projects.Locations.WorkflowTemplates.GetIamPolicy+import Gogol.Dataproc.Projects.Locations.WorkflowTemplates.Instantiate+import Gogol.Dataproc.Projects.Locations.WorkflowTemplates.InstantiateInline+import Gogol.Dataproc.Projects.Locations.WorkflowTemplates.List+import Gogol.Dataproc.Projects.Locations.WorkflowTemplates.SetIamPolicy+import Gogol.Dataproc.Projects.Locations.WorkflowTemplates.TestIamPermissions+import Gogol.Dataproc.Projects.Locations.WorkflowTemplates.Update+import Gogol.Dataproc.Projects.Regions.AutoscalingPolicies.Create+import Gogol.Dataproc.Projects.Regions.AutoscalingPolicies.Delete+import Gogol.Dataproc.Projects.Regions.AutoscalingPolicies.Get+import Gogol.Dataproc.Projects.Regions.AutoscalingPolicies.GetIamPolicy+import Gogol.Dataproc.Projects.Regions.AutoscalingPolicies.List+import Gogol.Dataproc.Projects.Regions.AutoscalingPolicies.SetIamPolicy+import Gogol.Dataproc.Projects.Regions.AutoscalingPolicies.TestIamPermissions+import Gogol.Dataproc.Projects.Regions.AutoscalingPolicies.Update+import Gogol.Dataproc.Projects.Regions.Clusters.Create+import Gogol.Dataproc.Projects.Regions.Clusters.Delete+import Gogol.Dataproc.Projects.Regions.Clusters.Diagnose+import Gogol.Dataproc.Projects.Regions.Clusters.Get+import Gogol.Dataproc.Projects.Regions.Clusters.GetIamPolicy+import Gogol.Dataproc.Projects.Regions.Clusters.InjectCredentials+import Gogol.Dataproc.Projects.Regions.Clusters.List+import Gogol.Dataproc.Projects.Regions.Clusters.NodeGroups.Create+import Gogol.Dataproc.Projects.Regions.Clusters.NodeGroups.Get+import Gogol.Dataproc.Projects.Regions.Clusters.NodeGroups.Repair+import Gogol.Dataproc.Projects.Regions.Clusters.NodeGroups.Resize+import Gogol.Dataproc.Projects.Regions.Clusters.Patch+import Gogol.Dataproc.Projects.Regions.Clusters.Repair+import Gogol.Dataproc.Projects.Regions.Clusters.SetIamPolicy+import Gogol.Dataproc.Projects.Regions.Clusters.Start+import Gogol.Dataproc.Projects.Regions.Clusters.Stop+import Gogol.Dataproc.Projects.Regions.Clusters.TestIamPermissions+import Gogol.Dataproc.Projects.Regions.Jobs.Cancel+import Gogol.Dataproc.Projects.Regions.Jobs.Delete+import Gogol.Dataproc.Projects.Regions.Jobs.Get+import Gogol.Dataproc.Projects.Regions.Jobs.GetIamPolicy+import Gogol.Dataproc.Projects.Regions.Jobs.List+import Gogol.Dataproc.Projects.Regions.Jobs.Patch+import Gogol.Dataproc.Projects.Regions.Jobs.SetIamPolicy+import Gogol.Dataproc.Projects.Regions.Jobs.Submit+import Gogol.Dataproc.Projects.Regions.Jobs.SubmitAsOperation+import Gogol.Dataproc.Projects.Regions.Jobs.TestIamPermissions+import Gogol.Dataproc.Projects.Regions.Operations.Cancel+import Gogol.Dataproc.Projects.Regions.Operations.Delete+import Gogol.Dataproc.Projects.Regions.Operations.Get+import Gogol.Dataproc.Projects.Regions.Operations.GetIamPolicy+import Gogol.Dataproc.Projects.Regions.Operations.List+import Gogol.Dataproc.Projects.Regions.Operations.SetIamPolicy+import Gogol.Dataproc.Projects.Regions.Operations.TestIamPermissions+import Gogol.Dataproc.Projects.Regions.WorkflowTemplates.Create+import Gogol.Dataproc.Projects.Regions.WorkflowTemplates.Delete+import Gogol.Dataproc.Projects.Regions.WorkflowTemplates.Get+import Gogol.Dataproc.Projects.Regions.WorkflowTemplates.GetIamPolicy+import Gogol.Dataproc.Projects.Regions.WorkflowTemplates.Instantiate+import Gogol.Dataproc.Projects.Regions.WorkflowTemplates.InstantiateInline+import Gogol.Dataproc.Projects.Regions.WorkflowTemplates.List+import Gogol.Dataproc.Projects.Regions.WorkflowTemplates.SetIamPolicy+import Gogol.Dataproc.Projects.Regions.WorkflowTemplates.TestIamPermissions+import Gogol.Dataproc.Projects.Regions.WorkflowTemplates.Update+import Gogol.Dataproc.Types
+ gen/Gogol/Dataproc/Internal/Product.hs view
@@ -0,0 +1,16733 @@+{-# 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.Dataproc.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.Dataproc.Internal.Product+  ( -- * AcceleratorConfig+    AcceleratorConfig (..),+    newAcceleratorConfig,++    -- * AccessSessionSparkApplicationEnvironmentInfoResponse+    AccessSessionSparkApplicationEnvironmentInfoResponse (..),+    newAccessSessionSparkApplicationEnvironmentInfoResponse,++    -- * AccessSessionSparkApplicationJobResponse+    AccessSessionSparkApplicationJobResponse (..),+    newAccessSessionSparkApplicationJobResponse,++    -- * AccessSessionSparkApplicationResponse+    AccessSessionSparkApplicationResponse (..),+    newAccessSessionSparkApplicationResponse,++    -- * AccessSessionSparkApplicationSqlQueryResponse+    AccessSessionSparkApplicationSqlQueryResponse (..),+    newAccessSessionSparkApplicationSqlQueryResponse,++    -- * AccessSessionSparkApplicationSqlSparkPlanGraphResponse+    AccessSessionSparkApplicationSqlSparkPlanGraphResponse (..),+    newAccessSessionSparkApplicationSqlSparkPlanGraphResponse,++    -- * AccessSessionSparkApplicationStageAttemptResponse+    AccessSessionSparkApplicationStageAttemptResponse (..),+    newAccessSessionSparkApplicationStageAttemptResponse,++    -- * AccessSessionSparkApplicationStageRddOperationGraphResponse+    AccessSessionSparkApplicationStageRddOperationGraphResponse (..),+    newAccessSessionSparkApplicationStageRddOperationGraphResponse,++    -- * AccessSparkApplicationEnvironmentInfoResponse+    AccessSparkApplicationEnvironmentInfoResponse (..),+    newAccessSparkApplicationEnvironmentInfoResponse,++    -- * AccessSparkApplicationJobResponse+    AccessSparkApplicationJobResponse (..),+    newAccessSparkApplicationJobResponse,++    -- * AccessSparkApplicationResponse+    AccessSparkApplicationResponse (..),+    newAccessSparkApplicationResponse,++    -- * AccessSparkApplicationSqlQueryResponse+    AccessSparkApplicationSqlQueryResponse (..),+    newAccessSparkApplicationSqlQueryResponse,++    -- * AccessSparkApplicationSqlSparkPlanGraphResponse+    AccessSparkApplicationSqlSparkPlanGraphResponse (..),+    newAccessSparkApplicationSqlSparkPlanGraphResponse,++    -- * AccessSparkApplicationStageAttemptResponse+    AccessSparkApplicationStageAttemptResponse (..),+    newAccessSparkApplicationStageAttemptResponse,++    -- * AccessSparkApplicationStageRddOperationGraphResponse+    AccessSparkApplicationStageRddOperationGraphResponse (..),+    newAccessSparkApplicationStageRddOperationGraphResponse,++    -- * AccumulableInfo+    AccumulableInfo (..),+    newAccumulableInfo,++    -- * AnalyzeBatchRequest+    AnalyzeBatchRequest (..),+    newAnalyzeBatchRequest,++    -- * AnalyzeOperationMetadata+    AnalyzeOperationMetadata (..),+    newAnalyzeOperationMetadata,++    -- * AnalyzeOperationMetadata_Labels+    AnalyzeOperationMetadata_Labels (..),+    newAnalyzeOperationMetadata_Labels,++    -- * AppSummary+    AppSummary (..),+    newAppSummary,++    -- * ApplicationAttemptInfo+    ApplicationAttemptInfo (..),+    newApplicationAttemptInfo,++    -- * ApplicationEnvironmentInfo+    ApplicationEnvironmentInfo (..),+    newApplicationEnvironmentInfo,++    -- * ApplicationEnvironmentInfo_ClasspathEntries+    ApplicationEnvironmentInfo_ClasspathEntries (..),+    newApplicationEnvironmentInfo_ClasspathEntries,++    -- * ApplicationEnvironmentInfo_HadoopProperties+    ApplicationEnvironmentInfo_HadoopProperties (..),+    newApplicationEnvironmentInfo_HadoopProperties,++    -- * ApplicationEnvironmentInfo_MetricsProperties+    ApplicationEnvironmentInfo_MetricsProperties (..),+    newApplicationEnvironmentInfo_MetricsProperties,++    -- * ApplicationEnvironmentInfo_SparkProperties+    ApplicationEnvironmentInfo_SparkProperties (..),+    newApplicationEnvironmentInfo_SparkProperties,++    -- * ApplicationEnvironmentInfo_SystemProperties+    ApplicationEnvironmentInfo_SystemProperties (..),+    newApplicationEnvironmentInfo_SystemProperties,++    -- * ApplicationInfo+    ApplicationInfo (..),+    newApplicationInfo,++    -- * AutoscalingConfig+    AutoscalingConfig (..),+    newAutoscalingConfig,++    -- * AutoscalingPolicy+    AutoscalingPolicy (..),+    newAutoscalingPolicy,++    -- * AutoscalingPolicy_Labels+    AutoscalingPolicy_Labels (..),+    newAutoscalingPolicy_Labels,++    -- * AutotuningConfig+    AutotuningConfig (..),+    newAutotuningConfig,++    -- * AuxiliaryNodeGroup+    AuxiliaryNodeGroup (..),+    newAuxiliaryNodeGroup,++    -- * AuxiliaryServicesConfig+    AuxiliaryServicesConfig (..),+    newAuxiliaryServicesConfig,++    -- * BasicAutoscalingAlgorithm+    BasicAutoscalingAlgorithm (..),+    newBasicAutoscalingAlgorithm,++    -- * BasicYarnAutoscalingConfig+    BasicYarnAutoscalingConfig (..),+    newBasicYarnAutoscalingConfig,++    -- * Batch+    Batch (..),+    newBatch,++    -- * Batch_Labels+    Batch_Labels (..),+    newBatch_Labels,++    -- * BatchOperationMetadata+    BatchOperationMetadata (..),+    newBatchOperationMetadata,++    -- * BatchOperationMetadata_Labels+    BatchOperationMetadata_Labels (..),+    newBatchOperationMetadata_Labels,++    -- * Binding+    Binding (..),+    newBinding,++    -- * BuildInfo+    BuildInfo (..),+    newBuildInfo,++    -- * CancelJobRequest+    CancelJobRequest (..),+    newCancelJobRequest,++    -- * Cluster+    Cluster (..),+    newCluster,++    -- * Cluster_Labels+    Cluster_Labels (..),+    newCluster_Labels,++    -- * ClusterConfig+    ClusterConfig (..),+    newClusterConfig,++    -- * ClusterMetrics+    ClusterMetrics (..),+    newClusterMetrics,++    -- * ClusterMetrics_HdfsMetrics+    ClusterMetrics_HdfsMetrics (..),+    newClusterMetrics_HdfsMetrics,++    -- * ClusterMetrics_YarnMetrics+    ClusterMetrics_YarnMetrics (..),+    newClusterMetrics_YarnMetrics,++    -- * ClusterOperation+    ClusterOperation (..),+    newClusterOperation,++    -- * ClusterOperationMetadata+    ClusterOperationMetadata (..),+    newClusterOperationMetadata,++    -- * ClusterOperationMetadata_Labels+    ClusterOperationMetadata_Labels (..),+    newClusterOperationMetadata_Labels,++    -- * ClusterOperationStatus+    ClusterOperationStatus (..),+    newClusterOperationStatus,++    -- * ClusterSelector+    ClusterSelector (..),+    newClusterSelector,++    -- * ClusterSelector_ClusterLabels+    ClusterSelector_ClusterLabels (..),+    newClusterSelector_ClusterLabels,++    -- * ClusterStatus+    ClusterStatus (..),+    newClusterStatus,++    -- * ClusterToRepair+    ClusterToRepair (..),+    newClusterToRepair,++    -- * ConfidentialInstanceConfig+    ConfidentialInstanceConfig (..),+    newConfidentialInstanceConfig,++    -- * ConsolidatedExecutorSummary+    ConsolidatedExecutorSummary (..),+    newConsolidatedExecutorSummary,++    -- * DataprocMetricConfig+    DataprocMetricConfig (..),+    newDataprocMetricConfig,++    -- * DiagnoseClusterRequest+    DiagnoseClusterRequest (..),+    newDiagnoseClusterRequest,++    -- * DiagnoseClusterResults+    DiagnoseClusterResults (..),+    newDiagnoseClusterResults,++    -- * DiskConfig+    DiskConfig (..),+    newDiskConfig,++    -- * DriverSchedulingConfig+    DriverSchedulingConfig (..),+    newDriverSchedulingConfig,++    -- * Empty+    Empty (..),+    newEmpty,++    -- * EncryptionConfig+    EncryptionConfig (..),+    newEncryptionConfig,++    -- * EndpointConfig+    EndpointConfig (..),+    newEndpointConfig,++    -- * EndpointConfig_HttpPorts+    EndpointConfig_HttpPorts (..),+    newEndpointConfig_HttpPorts,++    -- * EnvironmentConfig+    EnvironmentConfig (..),+    newEnvironmentConfig,++    -- * ExecutionConfig+    ExecutionConfig (..),+    newExecutionConfig,++    -- * ExecutorMetrics+    ExecutorMetrics (..),+    newExecutorMetrics,++    -- * ExecutorMetrics_Metrics+    ExecutorMetrics_Metrics (..),+    newExecutorMetrics_Metrics,++    -- * ExecutorMetricsDistributions+    ExecutorMetricsDistributions (..),+    newExecutorMetricsDistributions,++    -- * ExecutorPeakMetricsDistributions+    ExecutorPeakMetricsDistributions (..),+    newExecutorPeakMetricsDistributions,++    -- * ExecutorResourceRequest+    ExecutorResourceRequest (..),+    newExecutorResourceRequest,++    -- * ExecutorStageSummary+    ExecutorStageSummary (..),+    newExecutorStageSummary,++    -- * ExecutorSummary+    ExecutorSummary (..),+    newExecutorSummary,++    -- * ExecutorSummary_Attributes+    ExecutorSummary_Attributes (..),+    newExecutorSummary_Attributes,++    -- * ExecutorSummary_ExecutorLogs+    ExecutorSummary_ExecutorLogs (..),+    newExecutorSummary_ExecutorLogs,++    -- * ExecutorSummary_Resources+    ExecutorSummary_Resources (..),+    newExecutorSummary_Resources,++    -- * Expr+    Expr (..),+    newExpr,++    -- * FallbackReason+    FallbackReason (..),+    newFallbackReason,++    -- * FlinkJob+    FlinkJob (..),+    newFlinkJob,++    -- * FlinkJob_Properties+    FlinkJob_Properties (..),+    newFlinkJob_Properties,++    -- * GceClusterConfig+    GceClusterConfig (..),+    newGceClusterConfig,++    -- * GceClusterConfig_Metadata+    GceClusterConfig_Metadata (..),+    newGceClusterConfig_Metadata,++    -- * GceClusterConfig_ResourceManagerTags+    GceClusterConfig_ResourceManagerTags (..),+    newGceClusterConfig_ResourceManagerTags,++    -- * GetIamPolicyRequest+    GetIamPolicyRequest (..),+    newGetIamPolicyRequest,++    -- * GetPolicyOptions+    GetPolicyOptions (..),+    newGetPolicyOptions,++    -- * GkeClusterConfig+    GkeClusterConfig (..),+    newGkeClusterConfig,++    -- * GkeNodeConfig+    GkeNodeConfig (..),+    newGkeNodeConfig,++    -- * GkeNodePoolAcceleratorConfig+    GkeNodePoolAcceleratorConfig (..),+    newGkeNodePoolAcceleratorConfig,++    -- * GkeNodePoolAutoscalingConfig+    GkeNodePoolAutoscalingConfig (..),+    newGkeNodePoolAutoscalingConfig,++    -- * GkeNodePoolConfig+    GkeNodePoolConfig (..),+    newGkeNodePoolConfig,++    -- * GkeNodePoolTarget+    GkeNodePoolTarget (..),+    newGkeNodePoolTarget,++    -- * GoogleCloudDataprocV1WorkflowTemplateEncryptionConfig+    GoogleCloudDataprocV1WorkflowTemplateEncryptionConfig (..),+    newGoogleCloudDataprocV1WorkflowTemplateEncryptionConfig,++    -- * HadoopJob+    HadoopJob (..),+    newHadoopJob,++    -- * HadoopJob_Properties+    HadoopJob_Properties (..),+    newHadoopJob_Properties,++    -- * HiveJob+    HiveJob (..),+    newHiveJob,++    -- * HiveJob_Properties+    HiveJob_Properties (..),+    newHiveJob_Properties,++    -- * HiveJob_ScriptVariables+    HiveJob_ScriptVariables (..),+    newHiveJob_ScriptVariables,++    -- * IdentityConfig+    IdentityConfig (..),+    newIdentityConfig,++    -- * IdentityConfig_UserServiceAccountMapping+    IdentityConfig_UserServiceAccountMapping (..),+    newIdentityConfig_UserServiceAccountMapping,++    -- * InjectCredentialsRequest+    InjectCredentialsRequest (..),+    newInjectCredentialsRequest,++    -- * InputMetrics+    InputMetrics (..),+    newInputMetrics,++    -- * InputQuantileMetrics+    InputQuantileMetrics (..),+    newInputQuantileMetrics,++    -- * InstanceFlexibilityPolicy+    InstanceFlexibilityPolicy (..),+    newInstanceFlexibilityPolicy,++    -- * InstanceGroupAutoscalingPolicyConfig+    InstanceGroupAutoscalingPolicyConfig (..),+    newInstanceGroupAutoscalingPolicyConfig,++    -- * InstanceGroupConfig+    InstanceGroupConfig (..),+    newInstanceGroupConfig,++    -- * InstanceReference+    InstanceReference (..),+    newInstanceReference,++    -- * InstanceSelection+    InstanceSelection (..),+    newInstanceSelection,++    -- * InstanceSelectionResult+    InstanceSelectionResult (..),+    newInstanceSelectionResult,++    -- * InstantiateWorkflowTemplateRequest+    InstantiateWorkflowTemplateRequest (..),+    newInstantiateWorkflowTemplateRequest,++    -- * InstantiateWorkflowTemplateRequest_Parameters+    InstantiateWorkflowTemplateRequest_Parameters (..),+    newInstantiateWorkflowTemplateRequest_Parameters,++    -- * Interval+    Interval (..),+    newInterval,++    -- * Job+    Job (..),+    newJob,++    -- * Job_Labels+    Job_Labels (..),+    newJob_Labels,++    -- * JobData+    JobData (..),+    newJobData,++    -- * JobData_KillTasksSummary+    JobData_KillTasksSummary (..),+    newJobData_KillTasksSummary,++    -- * JobMetadata+    JobMetadata (..),+    newJobMetadata,++    -- * JobPlacement+    JobPlacement (..),+    newJobPlacement,++    -- * JobPlacement_ClusterLabels+    JobPlacement_ClusterLabels (..),+    newJobPlacement_ClusterLabels,++    -- * JobReference+    JobReference (..),+    newJobReference,++    -- * JobScheduling+    JobScheduling (..),+    newJobScheduling,++    -- * JobStatus+    JobStatus (..),+    newJobStatus,++    -- * JobsSummary+    JobsSummary (..),+    newJobsSummary,++    -- * JupyterConfig+    JupyterConfig (..),+    newJupyterConfig,++    -- * KerberosConfig+    KerberosConfig (..),+    newKerberosConfig,++    -- * KubernetesClusterConfig+    KubernetesClusterConfig (..),+    newKubernetesClusterConfig,++    -- * KubernetesSoftwareConfig+    KubernetesSoftwareConfig (..),+    newKubernetesSoftwareConfig,++    -- * KubernetesSoftwareConfig_ComponentVersion+    KubernetesSoftwareConfig_ComponentVersion (..),+    newKubernetesSoftwareConfig_ComponentVersion,++    -- * KubernetesSoftwareConfig_Properties+    KubernetesSoftwareConfig_Properties (..),+    newKubernetesSoftwareConfig_Properties,++    -- * LifecycleConfig+    LifecycleConfig (..),+    newLifecycleConfig,++    -- * ListAutoscalingPoliciesResponse+    ListAutoscalingPoliciesResponse (..),+    newListAutoscalingPoliciesResponse,++    -- * ListBatchesResponse+    ListBatchesResponse (..),+    newListBatchesResponse,++    -- * ListClustersResponse+    ListClustersResponse (..),+    newListClustersResponse,++    -- * ListJobsResponse+    ListJobsResponse (..),+    newListJobsResponse,++    -- * ListOperationsResponse+    ListOperationsResponse (..),+    newListOperationsResponse,++    -- * ListSessionTemplatesResponse+    ListSessionTemplatesResponse (..),+    newListSessionTemplatesResponse,++    -- * ListSessionsResponse+    ListSessionsResponse (..),+    newListSessionsResponse,++    -- * ListWorkflowTemplatesResponse+    ListWorkflowTemplatesResponse (..),+    newListWorkflowTemplatesResponse,++    -- * LoggingConfig+    LoggingConfig (..),+    newLoggingConfig,++    -- * LoggingConfig_DriverLogLevels+    LoggingConfig_DriverLogLevels (..),+    newLoggingConfig_DriverLogLevels,++    -- * ManagedCluster+    ManagedCluster (..),+    newManagedCluster,++    -- * ManagedCluster_Labels+    ManagedCluster_Labels (..),+    newManagedCluster_Labels,++    -- * ManagedGroupConfig+    ManagedGroupConfig (..),+    newManagedGroupConfig,++    -- * MemoryMetrics+    MemoryMetrics (..),+    newMemoryMetrics,++    -- * MetastoreConfig+    MetastoreConfig (..),+    newMetastoreConfig,++    -- * Metric+    Metric (..),+    newMetric,++    -- * NamespacedGkeDeploymentTarget+    NamespacedGkeDeploymentTarget (..),+    newNamespacedGkeDeploymentTarget,++    -- * NativeBuildInfoUiData+    NativeBuildInfoUiData (..),+    newNativeBuildInfoUiData,++    -- * NativeSqlExecutionUiData+    NativeSqlExecutionUiData (..),+    newNativeSqlExecutionUiData,++    -- * NodeGroup+    NodeGroup (..),+    newNodeGroup,++    -- * NodeGroup_Labels+    NodeGroup_Labels (..),+    newNodeGroup_Labels,++    -- * NodeGroupAffinity+    NodeGroupAffinity (..),+    newNodeGroupAffinity,++    -- * NodeGroupOperationMetadata+    NodeGroupOperationMetadata (..),+    newNodeGroupOperationMetadata,++    -- * NodeGroupOperationMetadata_Labels+    NodeGroupOperationMetadata_Labels (..),+    newNodeGroupOperationMetadata_Labels,++    -- * NodeInitializationAction+    NodeInitializationAction (..),+    newNodeInitializationAction,++    -- * NodePool+    NodePool (..),+    newNodePool,++    -- * Operation+    Operation (..),+    newOperation,++    -- * Operation_Metadata+    Operation_Metadata (..),+    newOperation_Metadata,++    -- * Operation_Response+    Operation_Response (..),+    newOperation_Response,++    -- * OrderedJob+    OrderedJob (..),+    newOrderedJob,++    -- * OrderedJob_Labels+    OrderedJob_Labels (..),+    newOrderedJob_Labels,++    -- * OutputMetrics+    OutputMetrics (..),+    newOutputMetrics,++    -- * OutputQuantileMetrics+    OutputQuantileMetrics (..),+    newOutputQuantileMetrics,++    -- * ParameterValidation+    ParameterValidation (..),+    newParameterValidation,++    -- * PeripheralsConfig+    PeripheralsConfig (..),+    newPeripheralsConfig,++    -- * PigJob+    PigJob (..),+    newPigJob,++    -- * PigJob_Properties+    PigJob_Properties (..),+    newPigJob_Properties,++    -- * PigJob_ScriptVariables+    PigJob_ScriptVariables (..),+    newPigJob_ScriptVariables,++    -- * Policy+    Policy (..),+    newPolicy,++    -- * PoolData+    PoolData (..),+    newPoolData,++    -- * PrestoJob+    PrestoJob (..),+    newPrestoJob,++    -- * PrestoJob_Properties+    PrestoJob_Properties (..),+    newPrestoJob_Properties,++    -- * ProcessSummary+    ProcessSummary (..),+    newProcessSummary,++    -- * ProcessSummary_ProcessLogs+    ProcessSummary_ProcessLogs (..),+    newProcessSummary_ProcessLogs,++    -- * ProvisioningModelMix+    ProvisioningModelMix (..),+    newProvisioningModelMix,++    -- * PyPiRepositoryConfig+    PyPiRepositoryConfig (..),+    newPyPiRepositoryConfig,++    -- * PySparkBatch+    PySparkBatch (..),+    newPySparkBatch,++    -- * PySparkJob+    PySparkJob (..),+    newPySparkJob,++    -- * PySparkJob_Properties+    PySparkJob_Properties (..),+    newPySparkJob_Properties,++    -- * Quantiles+    Quantiles (..),+    newQuantiles,++    -- * QueryList+    QueryList (..),+    newQueryList,++    -- * RddDataDistribution+    RddDataDistribution (..),+    newRddDataDistribution,++    -- * RddOperationCluster+    RddOperationCluster (..),+    newRddOperationCluster,++    -- * RddOperationEdge+    RddOperationEdge (..),+    newRddOperationEdge,++    -- * RddOperationGraph+    RddOperationGraph (..),+    newRddOperationGraph,++    -- * RddOperationNode+    RddOperationNode (..),+    newRddOperationNode,++    -- * RddPartitionInfo+    RddPartitionInfo (..),+    newRddPartitionInfo,++    -- * RddStorageInfo+    RddStorageInfo (..),+    newRddStorageInfo,++    -- * RegexValidation+    RegexValidation (..),+    newRegexValidation,++    -- * RepairClusterRequest+    RepairClusterRequest (..),+    newRepairClusterRequest,++    -- * RepairNodeGroupRequest+    RepairNodeGroupRequest (..),+    newRepairNodeGroupRequest,++    -- * RepositoryConfig+    RepositoryConfig (..),+    newRepositoryConfig,++    -- * ReservationAffinity+    ReservationAffinity (..),+    newReservationAffinity,++    -- * ResizeNodeGroupRequest+    ResizeNodeGroupRequest (..),+    newResizeNodeGroupRequest,++    -- * ResourceInformation+    ResourceInformation (..),+    newResourceInformation,++    -- * ResourceProfileInfo+    ResourceProfileInfo (..),+    newResourceProfileInfo,++    -- * ResourceProfileInfo_ExecutorResources+    ResourceProfileInfo_ExecutorResources (..),+    newResourceProfileInfo_ExecutorResources,++    -- * ResourceProfileInfo_TaskResources+    ResourceProfileInfo_TaskResources (..),+    newResourceProfileInfo_TaskResources,++    -- * RuntimeConfig+    RuntimeConfig (..),+    newRuntimeConfig,++    -- * RuntimeConfig_Properties+    RuntimeConfig_Properties (..),+    newRuntimeConfig_Properties,++    -- * RuntimeInfo+    RuntimeInfo (..),+    newRuntimeInfo,++    -- * RuntimeInfo_Endpoints+    RuntimeInfo_Endpoints (..),+    newRuntimeInfo_Endpoints,++    -- * SearchSessionSparkApplicationExecutorStageSummaryResponse+    SearchSessionSparkApplicationExecutorStageSummaryResponse (..),+    newSearchSessionSparkApplicationExecutorStageSummaryResponse,++    -- * SearchSessionSparkApplicationExecutorsResponse+    SearchSessionSparkApplicationExecutorsResponse (..),+    newSearchSessionSparkApplicationExecutorsResponse,++    -- * SearchSessionSparkApplicationJobsResponse+    SearchSessionSparkApplicationJobsResponse (..),+    newSearchSessionSparkApplicationJobsResponse,++    -- * SearchSessionSparkApplicationSqlQueriesResponse+    SearchSessionSparkApplicationSqlQueriesResponse (..),+    newSearchSessionSparkApplicationSqlQueriesResponse,++    -- * SearchSessionSparkApplicationStageAttemptTasksResponse+    SearchSessionSparkApplicationStageAttemptTasksResponse (..),+    newSearchSessionSparkApplicationStageAttemptTasksResponse,++    -- * SearchSessionSparkApplicationStageAttemptsResponse+    SearchSessionSparkApplicationStageAttemptsResponse (..),+    newSearchSessionSparkApplicationStageAttemptsResponse,++    -- * SearchSessionSparkApplicationStagesResponse+    SearchSessionSparkApplicationStagesResponse (..),+    newSearchSessionSparkApplicationStagesResponse,++    -- * SearchSessionSparkApplicationsResponse+    SearchSessionSparkApplicationsResponse (..),+    newSearchSessionSparkApplicationsResponse,++    -- * SearchSparkApplicationExecutorStageSummaryResponse+    SearchSparkApplicationExecutorStageSummaryResponse (..),+    newSearchSparkApplicationExecutorStageSummaryResponse,++    -- * SearchSparkApplicationExecutorsResponse+    SearchSparkApplicationExecutorsResponse (..),+    newSearchSparkApplicationExecutorsResponse,++    -- * SearchSparkApplicationJobsResponse+    SearchSparkApplicationJobsResponse (..),+    newSearchSparkApplicationJobsResponse,++    -- * SearchSparkApplicationSqlQueriesResponse+    SearchSparkApplicationSqlQueriesResponse (..),+    newSearchSparkApplicationSqlQueriesResponse,++    -- * SearchSparkApplicationStageAttemptTasksResponse+    SearchSparkApplicationStageAttemptTasksResponse (..),+    newSearchSparkApplicationStageAttemptTasksResponse,++    -- * SearchSparkApplicationStageAttemptsResponse+    SearchSparkApplicationStageAttemptsResponse (..),+    newSearchSparkApplicationStageAttemptsResponse,++    -- * SearchSparkApplicationStagesResponse+    SearchSparkApplicationStagesResponse (..),+    newSearchSparkApplicationStagesResponse,++    -- * SearchSparkApplicationsResponse+    SearchSparkApplicationsResponse (..),+    newSearchSparkApplicationsResponse,++    -- * SecurityConfig+    SecurityConfig (..),+    newSecurityConfig,++    -- * Session+    Session (..),+    newSession,++    -- * Session_Labels+    Session_Labels (..),+    newSession_Labels,++    -- * SessionOperationMetadata+    SessionOperationMetadata (..),+    newSessionOperationMetadata,++    -- * SessionOperationMetadata_Labels+    SessionOperationMetadata_Labels (..),+    newSessionOperationMetadata_Labels,++    -- * SessionStateHistory+    SessionStateHistory (..),+    newSessionStateHistory,++    -- * SessionTemplate+    SessionTemplate (..),+    newSessionTemplate,++    -- * SessionTemplate_Labels+    SessionTemplate_Labels (..),+    newSessionTemplate_Labels,++    -- * SetIamPolicyRequest+    SetIamPolicyRequest (..),+    newSetIamPolicyRequest,++    -- * ShieldedInstanceConfig+    ShieldedInstanceConfig (..),+    newShieldedInstanceConfig,++    -- * ShufflePushReadMetrics+    ShufflePushReadMetrics (..),+    newShufflePushReadMetrics,++    -- * ShufflePushReadQuantileMetrics+    ShufflePushReadQuantileMetrics (..),+    newShufflePushReadQuantileMetrics,++    -- * ShuffleReadMetrics+    ShuffleReadMetrics (..),+    newShuffleReadMetrics,++    -- * ShuffleReadQuantileMetrics+    ShuffleReadQuantileMetrics (..),+    newShuffleReadQuantileMetrics,++    -- * ShuffleWriteMetrics+    ShuffleWriteMetrics (..),+    newShuffleWriteMetrics,++    -- * ShuffleWriteQuantileMetrics+    ShuffleWriteQuantileMetrics (..),+    newShuffleWriteQuantileMetrics,++    -- * SinkProgress+    SinkProgress (..),+    newSinkProgress,++    -- * SinkProgress_Metrics+    SinkProgress_Metrics (..),+    newSinkProgress_Metrics,++    -- * SoftwareConfig+    SoftwareConfig (..),+    newSoftwareConfig,++    -- * SoftwareConfig_Properties+    SoftwareConfig_Properties (..),+    newSoftwareConfig_Properties,++    -- * SourceProgress+    SourceProgress (..),+    newSourceProgress,++    -- * SourceProgress_Metrics+    SourceProgress_Metrics (..),+    newSourceProgress_Metrics,++    -- * SparkApplication+    SparkApplication (..),+    newSparkApplication,++    -- * SparkBatch+    SparkBatch (..),+    newSparkBatch,++    -- * SparkConnectConfig+    SparkConnectConfig (..),+    newSparkConnectConfig,++    -- * SparkHistoryServerConfig+    SparkHistoryServerConfig (..),+    newSparkHistoryServerConfig,++    -- * SparkJob+    SparkJob (..),+    newSparkJob,++    -- * SparkJob_Properties+    SparkJob_Properties (..),+    newSparkJob_Properties,++    -- * SparkPlanGraph+    SparkPlanGraph (..),+    newSparkPlanGraph,++    -- * SparkPlanGraphCluster+    SparkPlanGraphCluster (..),+    newSparkPlanGraphCluster,++    -- * SparkPlanGraphEdge+    SparkPlanGraphEdge (..),+    newSparkPlanGraphEdge,++    -- * SparkPlanGraphNode+    SparkPlanGraphNode (..),+    newSparkPlanGraphNode,++    -- * SparkPlanGraphNodeWrapper+    SparkPlanGraphNodeWrapper (..),+    newSparkPlanGraphNodeWrapper,++    -- * SparkRBatch+    SparkRBatch (..),+    newSparkRBatch,++    -- * SparkRJob+    SparkRJob (..),+    newSparkRJob,++    -- * SparkRJob_Properties+    SparkRJob_Properties (..),+    newSparkRJob_Properties,++    -- * SparkRuntimeInfo+    SparkRuntimeInfo (..),+    newSparkRuntimeInfo,++    -- * SparkSqlBatch+    SparkSqlBatch (..),+    newSparkSqlBatch,++    -- * SparkSqlBatch_QueryVariables+    SparkSqlBatch_QueryVariables (..),+    newSparkSqlBatch_QueryVariables,++    -- * SparkSqlJob+    SparkSqlJob (..),+    newSparkSqlJob,++    -- * SparkSqlJob_Properties+    SparkSqlJob_Properties (..),+    newSparkSqlJob_Properties,++    -- * SparkSqlJob_ScriptVariables+    SparkSqlJob_ScriptVariables (..),+    newSparkSqlJob_ScriptVariables,++    -- * SparkStandaloneAutoscalingConfig+    SparkStandaloneAutoscalingConfig (..),+    newSparkStandaloneAutoscalingConfig,++    -- * SparkWrapperObject+    SparkWrapperObject (..),+    newSparkWrapperObject,++    -- * SpeculationStageSummary+    SpeculationStageSummary (..),+    newSpeculationStageSummary,++    -- * SqlExecutionUiData+    SqlExecutionUiData (..),+    newSqlExecutionUiData,++    -- * SqlExecutionUiData_Jobs+    SqlExecutionUiData_Jobs (..),+    newSqlExecutionUiData_Jobs,++    -- * SqlExecutionUiData_MetricValues+    SqlExecutionUiData_MetricValues (..),+    newSqlExecutionUiData_MetricValues,++    -- * SqlExecutionUiData_ModifiedConfigs+    SqlExecutionUiData_ModifiedConfigs (..),+    newSqlExecutionUiData_ModifiedConfigs,++    -- * SqlPlanMetric+    SqlPlanMetric (..),+    newSqlPlanMetric,++    -- * StageAttemptTasksSummary+    StageAttemptTasksSummary (..),+    newStageAttemptTasksSummary,++    -- * StageData+    StageData (..),+    newStageData,++    -- * StageData_ExecutorSummary+    StageData_ExecutorSummary (..),+    newStageData_ExecutorSummary,++    -- * StageData_KilledTasksSummary+    StageData_KilledTasksSummary (..),+    newStageData_KilledTasksSummary,++    -- * StageData_Locality+    StageData_Locality (..),+    newStageData_Locality,++    -- * StageData_Tasks+    StageData_Tasks (..),+    newStageData_Tasks,++    -- * StageInputMetrics+    StageInputMetrics (..),+    newStageInputMetrics,++    -- * StageMetrics+    StageMetrics (..),+    newStageMetrics,++    -- * StageOutputMetrics+    StageOutputMetrics (..),+    newStageOutputMetrics,++    -- * StageShufflePushReadMetrics+    StageShufflePushReadMetrics (..),+    newStageShufflePushReadMetrics,++    -- * StageShuffleReadMetrics+    StageShuffleReadMetrics (..),+    newStageShuffleReadMetrics,++    -- * StageShuffleWriteMetrics+    StageShuffleWriteMetrics (..),+    newStageShuffleWriteMetrics,++    -- * StagesSummary+    StagesSummary (..),+    newStagesSummary,++    -- * StartClusterRequest+    StartClusterRequest (..),+    newStartClusterRequest,++    -- * StartupConfig+    StartupConfig (..),+    newStartupConfig,++    -- * StateHistory+    StateHistory (..),+    newStateHistory,++    -- * StateOperatorProgress+    StateOperatorProgress (..),+    newStateOperatorProgress,++    -- * StateOperatorProgress_CustomMetrics+    StateOperatorProgress_CustomMetrics (..),+    newStateOperatorProgress_CustomMetrics,++    -- * Status+    Status (..),+    newStatus,++    -- * Status_DetailsItem+    Status_DetailsItem (..),+    newStatus_DetailsItem,++    -- * StopClusterRequest+    StopClusterRequest (..),+    newStopClusterRequest,++    -- * StreamBlockData+    StreamBlockData (..),+    newStreamBlockData,++    -- * StreamingQueryData+    StreamingQueryData (..),+    newStreamingQueryData,++    -- * StreamingQueryProgress+    StreamingQueryProgress (..),+    newStreamingQueryProgress,++    -- * StreamingQueryProgress_DurationMillis+    StreamingQueryProgress_DurationMillis (..),+    newStreamingQueryProgress_DurationMillis,++    -- * StreamingQueryProgress_EventTime+    StreamingQueryProgress_EventTime (..),+    newStreamingQueryProgress_EventTime,++    -- * StreamingQueryProgress_ObservedMetrics+    StreamingQueryProgress_ObservedMetrics (..),+    newStreamingQueryProgress_ObservedMetrics,++    -- * SubmitJobRequest+    SubmitJobRequest (..),+    newSubmitJobRequest,++    -- * SummarizeSessionSparkApplicationExecutorsResponse+    SummarizeSessionSparkApplicationExecutorsResponse (..),+    newSummarizeSessionSparkApplicationExecutorsResponse,++    -- * SummarizeSessionSparkApplicationJobsResponse+    SummarizeSessionSparkApplicationJobsResponse (..),+    newSummarizeSessionSparkApplicationJobsResponse,++    -- * SummarizeSessionSparkApplicationStageAttemptTasksResponse+    SummarizeSessionSparkApplicationStageAttemptTasksResponse (..),+    newSummarizeSessionSparkApplicationStageAttemptTasksResponse,++    -- * SummarizeSessionSparkApplicationStagesResponse+    SummarizeSessionSparkApplicationStagesResponse (..),+    newSummarizeSessionSparkApplicationStagesResponse,++    -- * SummarizeSparkApplicationExecutorsResponse+    SummarizeSparkApplicationExecutorsResponse (..),+    newSummarizeSparkApplicationExecutorsResponse,++    -- * SummarizeSparkApplicationJobsResponse+    SummarizeSparkApplicationJobsResponse (..),+    newSummarizeSparkApplicationJobsResponse,++    -- * SummarizeSparkApplicationStageAttemptTasksResponse+    SummarizeSparkApplicationStageAttemptTasksResponse (..),+    newSummarizeSparkApplicationStageAttemptTasksResponse,++    -- * SummarizeSparkApplicationStagesResponse+    SummarizeSparkApplicationStagesResponse (..),+    newSummarizeSparkApplicationStagesResponse,++    -- * TaskData+    TaskData (..),+    newTaskData,++    -- * TaskData_ExecutorLogs+    TaskData_ExecutorLogs (..),+    newTaskData_ExecutorLogs,++    -- * TaskMetrics+    TaskMetrics (..),+    newTaskMetrics,++    -- * TaskQuantileMetrics+    TaskQuantileMetrics (..),+    newTaskQuantileMetrics,++    -- * TaskResourceRequest+    TaskResourceRequest (..),+    newTaskResourceRequest,++    -- * TemplateParameter+    TemplateParameter (..),+    newTemplateParameter,++    -- * TerminateSessionRequest+    TerminateSessionRequest (..),+    newTerminateSessionRequest,++    -- * TestIamPermissionsRequest+    TestIamPermissionsRequest (..),+    newTestIamPermissionsRequest,++    -- * TestIamPermissionsResponse+    TestIamPermissionsResponse (..),+    newTestIamPermissionsResponse,++    -- * TrinoJob+    TrinoJob (..),+    newTrinoJob,++    -- * TrinoJob_Properties+    TrinoJob_Properties (..),+    newTrinoJob_Properties,++    -- * UsageMetrics+    UsageMetrics (..),+    newUsageMetrics,++    -- * UsageSnapshot+    UsageSnapshot (..),+    newUsageSnapshot,++    -- * ValueValidation+    ValueValidation (..),+    newValueValidation,++    -- * VirtualClusterConfig+    VirtualClusterConfig (..),+    newVirtualClusterConfig,++    -- * WorkflowGraph+    WorkflowGraph (..),+    newWorkflowGraph,++    -- * WorkflowMetadata+    WorkflowMetadata (..),+    newWorkflowMetadata,++    -- * WorkflowMetadata_Parameters+    WorkflowMetadata_Parameters (..),+    newWorkflowMetadata_Parameters,++    -- * WorkflowNode+    WorkflowNode (..),+    newWorkflowNode,++    -- * WorkflowTemplate+    WorkflowTemplate (..),+    newWorkflowTemplate,++    -- * WorkflowTemplate_Labels+    WorkflowTemplate_Labels (..),+    newWorkflowTemplate_Labels,++    -- * WorkflowTemplatePlacement+    WorkflowTemplatePlacement (..),+    newWorkflowTemplatePlacement,++    -- * WriteSessionSparkApplicationContextRequest+    WriteSessionSparkApplicationContextRequest (..),+    newWriteSessionSparkApplicationContextRequest,++    -- * WriteSessionSparkApplicationContextResponse+    WriteSessionSparkApplicationContextResponse (..),+    newWriteSessionSparkApplicationContextResponse,++    -- * WriteSparkApplicationContextRequest+    WriteSparkApplicationContextRequest (..),+    newWriteSparkApplicationContextRequest,++    -- * WriteSparkApplicationContextResponse+    WriteSparkApplicationContextResponse (..),+    newWriteSparkApplicationContextResponse,++    -- * YarnApplication+    YarnApplication (..),+    newYarnApplication,+  )+where++import Gogol.Dataproc.Internal.Sum+import Gogol.Prelude qualified as Core++-- | Specifies the type and number of accelerator cards attached to the instances of an instance. See GPUs on Compute Engine (https:\/\/cloud.google.com\/compute\/docs\/gpus\/).+--+-- /See:/ 'newAcceleratorConfig' smart constructor.+data AcceleratorConfig = AcceleratorConfig+  { -- | The number of the accelerator cards of this type exposed to this instance.+    acceleratorCount :: (Core.Maybe Core.Int32),+    -- | Full URL, partial URI, or short name of the accelerator type resource to expose to this instance. See Compute Engine AcceleratorTypes (https:\/\/cloud.google.com\/compute\/docs\/reference\/v1\/acceleratorTypes).Examples: https:\/\/www.googleapis.com\/compute\/v1\/projects\/[project/id]\/zones\/[zone]\/acceleratorTypes\/nvidia-tesla-t4 projects\/[project/id]\/zones\/[zone]\/acceleratorTypes\/nvidia-tesla-t4 nvidia-tesla-t4Auto Zone Exception: If you are using the Dataproc Auto Zone Placement (https:\/\/cloud.google.com\/dataproc\/docs\/concepts\/configuring-clusters\/auto-zone#using/auto/zone_placement) feature, you must use the short name of the accelerator type resource, for example, nvidia-tesla-t4.+    acceleratorTypeUri :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AcceleratorConfig' with the minimum fields required to make a request.+newAcceleratorConfig ::+  AcceleratorConfig+newAcceleratorConfig =+  AcceleratorConfig+    { acceleratorCount = Core.Nothing,+      acceleratorTypeUri = Core.Nothing+    }++instance Core.FromJSON AcceleratorConfig where+  parseJSON =+    Core.withObject+      "AcceleratorConfig"+      ( \o ->+          AcceleratorConfig+            Core.<$> (o Core..:? "acceleratorCount")+            Core.<*> (o Core..:? "acceleratorTypeUri")+      )++instance Core.ToJSON AcceleratorConfig where+  toJSON AcceleratorConfig {..} =+    Core.object+      ( Core.catMaybes+          [ ("acceleratorCount" Core..=) Core.<$> acceleratorCount,+            ("acceleratorTypeUri" Core..=) Core.<$> acceleratorTypeUri+          ]+      )++-- | Environment details of a Saprk Application.+--+-- /See:/ 'newAccessSessionSparkApplicationEnvironmentInfoResponse' smart constructor.+newtype AccessSessionSparkApplicationEnvironmentInfoResponse = AccessSessionSparkApplicationEnvironmentInfoResponse+  { -- | Details about the Environment that the application is running in.+    applicationEnvironmentInfo :: (Core.Maybe ApplicationEnvironmentInfo)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AccessSessionSparkApplicationEnvironmentInfoResponse' with the minimum fields required to make a request.+newAccessSessionSparkApplicationEnvironmentInfoResponse ::+  AccessSessionSparkApplicationEnvironmentInfoResponse+newAccessSessionSparkApplicationEnvironmentInfoResponse =+  AccessSessionSparkApplicationEnvironmentInfoResponse+    { applicationEnvironmentInfo =+        Core.Nothing+    }++instance+  Core.FromJSON+    AccessSessionSparkApplicationEnvironmentInfoResponse+  where+  parseJSON =+    Core.withObject+      "AccessSessionSparkApplicationEnvironmentInfoResponse"+      ( \o ->+          AccessSessionSparkApplicationEnvironmentInfoResponse+            Core.<$> (o Core..:? "applicationEnvironmentInfo")+      )++instance+  Core.ToJSON+    AccessSessionSparkApplicationEnvironmentInfoResponse+  where+  toJSON AccessSessionSparkApplicationEnvironmentInfoResponse {..} =+    Core.object+      ( Core.catMaybes+          [ ("applicationEnvironmentInfo" Core..=)+              Core.<$> applicationEnvironmentInfo+          ]+      )++-- | Details of a particular job associated with Spark Application+--+-- /See:/ 'newAccessSessionSparkApplicationJobResponse' smart constructor.+newtype AccessSessionSparkApplicationJobResponse = AccessSessionSparkApplicationJobResponse+  { -- | Output only. Data corresponding to a spark job.+    jobData :: (Core.Maybe JobData)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AccessSessionSparkApplicationJobResponse' with the minimum fields required to make a request.+newAccessSessionSparkApplicationJobResponse ::+  AccessSessionSparkApplicationJobResponse+newAccessSessionSparkApplicationJobResponse =+  AccessSessionSparkApplicationJobResponse {jobData = Core.Nothing}++instance Core.FromJSON AccessSessionSparkApplicationJobResponse where+  parseJSON =+    Core.withObject+      "AccessSessionSparkApplicationJobResponse"+      ( \o ->+          AccessSessionSparkApplicationJobResponse+            Core.<$> (o Core..:? "jobData")+      )++instance Core.ToJSON AccessSessionSparkApplicationJobResponse where+  toJSON AccessSessionSparkApplicationJobResponse {..} =+    Core.object+      (Core.catMaybes [("jobData" Core..=) Core.<$> jobData])++-- | A summary of Spark Application+--+-- /See:/ 'newAccessSessionSparkApplicationResponse' smart constructor.+newtype AccessSessionSparkApplicationResponse = AccessSessionSparkApplicationResponse+  { -- | Output only. High level information corresponding to an application.+    application :: (Core.Maybe ApplicationInfo)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AccessSessionSparkApplicationResponse' with the minimum fields required to make a request.+newAccessSessionSparkApplicationResponse ::+  AccessSessionSparkApplicationResponse+newAccessSessionSparkApplicationResponse =+  AccessSessionSparkApplicationResponse {application = Core.Nothing}++instance Core.FromJSON AccessSessionSparkApplicationResponse where+  parseJSON =+    Core.withObject+      "AccessSessionSparkApplicationResponse"+      ( \o ->+          AccessSessionSparkApplicationResponse+            Core.<$> (o Core..:? "application")+      )++instance Core.ToJSON AccessSessionSparkApplicationResponse where+  toJSON AccessSessionSparkApplicationResponse {..} =+    Core.object+      (Core.catMaybes [("application" Core..=) Core.<$> application])++-- | Details of a query for a Spark Application+--+-- /See:/ 'newAccessSessionSparkApplicationSqlQueryResponse' smart constructor.+newtype AccessSessionSparkApplicationSqlQueryResponse = AccessSessionSparkApplicationSqlQueryResponse+  { -- | SQL Execution Data+    executionData :: (Core.Maybe SqlExecutionUiData)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AccessSessionSparkApplicationSqlQueryResponse' with the minimum fields required to make a request.+newAccessSessionSparkApplicationSqlQueryResponse ::+  AccessSessionSparkApplicationSqlQueryResponse+newAccessSessionSparkApplicationSqlQueryResponse =+  AccessSessionSparkApplicationSqlQueryResponse+    { executionData =+        Core.Nothing+    }++instance+  Core.FromJSON+    AccessSessionSparkApplicationSqlQueryResponse+  where+  parseJSON =+    Core.withObject+      "AccessSessionSparkApplicationSqlQueryResponse"+      ( \o ->+          AccessSessionSparkApplicationSqlQueryResponse+            Core.<$> (o Core..:? "executionData")+      )++instance Core.ToJSON AccessSessionSparkApplicationSqlQueryResponse where+  toJSON AccessSessionSparkApplicationSqlQueryResponse {..} =+    Core.object+      (Core.catMaybes [("executionData" Core..=) Core.<$> executionData])++-- | SparkPlanGraph for a Spark Application execution limited to maximum 10000 clusters.+--+-- /See:/ 'newAccessSessionSparkApplicationSqlSparkPlanGraphResponse' smart constructor.+newtype AccessSessionSparkApplicationSqlSparkPlanGraphResponse = AccessSessionSparkApplicationSqlSparkPlanGraphResponse+  { -- | SparkPlanGraph for a Spark Application execution.+    sparkPlanGraph :: (Core.Maybe SparkPlanGraph)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AccessSessionSparkApplicationSqlSparkPlanGraphResponse' with the minimum fields required to make a request.+newAccessSessionSparkApplicationSqlSparkPlanGraphResponse ::+  AccessSessionSparkApplicationSqlSparkPlanGraphResponse+newAccessSessionSparkApplicationSqlSparkPlanGraphResponse =+  AccessSessionSparkApplicationSqlSparkPlanGraphResponse+    { sparkPlanGraph =+        Core.Nothing+    }++instance+  Core.FromJSON+    AccessSessionSparkApplicationSqlSparkPlanGraphResponse+  where+  parseJSON =+    Core.withObject+      "AccessSessionSparkApplicationSqlSparkPlanGraphResponse"+      ( \o ->+          AccessSessionSparkApplicationSqlSparkPlanGraphResponse+            Core.<$> (o Core..:? "sparkPlanGraph")+      )++instance+  Core.ToJSON+    AccessSessionSparkApplicationSqlSparkPlanGraphResponse+  where+  toJSON AccessSessionSparkApplicationSqlSparkPlanGraphResponse {..} =+    Core.object+      ( Core.catMaybes+          [("sparkPlanGraph" Core..=) Core.<$> sparkPlanGraph]+      )++-- | Stage Attempt for a Stage of a Spark Application+--+-- /See:/ 'newAccessSessionSparkApplicationStageAttemptResponse' smart constructor.+newtype AccessSessionSparkApplicationStageAttemptResponse = AccessSessionSparkApplicationStageAttemptResponse+  { -- | Output only. Data corresponding to a stage.+    stageData :: (Core.Maybe StageData)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AccessSessionSparkApplicationStageAttemptResponse' with the minimum fields required to make a request.+newAccessSessionSparkApplicationStageAttemptResponse ::+  AccessSessionSparkApplicationStageAttemptResponse+newAccessSessionSparkApplicationStageAttemptResponse =+  AccessSessionSparkApplicationStageAttemptResponse+    { stageData =+        Core.Nothing+    }++instance+  Core.FromJSON+    AccessSessionSparkApplicationStageAttemptResponse+  where+  parseJSON =+    Core.withObject+      "AccessSessionSparkApplicationStageAttemptResponse"+      ( \o ->+          AccessSessionSparkApplicationStageAttemptResponse+            Core.<$> (o Core..:? "stageData")+      )++instance+  Core.ToJSON+    AccessSessionSparkApplicationStageAttemptResponse+  where+  toJSON AccessSessionSparkApplicationStageAttemptResponse {..} =+    Core.object+      (Core.catMaybes [("stageData" Core..=) Core.<$> stageData])++-- | RDD operation graph for a Spark Application Stage limited to maximum 10000 clusters.+--+-- /See:/ 'newAccessSessionSparkApplicationStageRddOperationGraphResponse' smart constructor.+newtype AccessSessionSparkApplicationStageRddOperationGraphResponse = AccessSessionSparkApplicationStageRddOperationGraphResponse+  { -- | RDD operation graph for a Spark Application Stage.+    rddOperationGraph :: (Core.Maybe RddOperationGraph)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AccessSessionSparkApplicationStageRddOperationGraphResponse' with the minimum fields required to make a request.+newAccessSessionSparkApplicationStageRddOperationGraphResponse ::+  AccessSessionSparkApplicationStageRddOperationGraphResponse+newAccessSessionSparkApplicationStageRddOperationGraphResponse =+  AccessSessionSparkApplicationStageRddOperationGraphResponse+    { rddOperationGraph =+        Core.Nothing+    }++instance+  Core.FromJSON+    AccessSessionSparkApplicationStageRddOperationGraphResponse+  where+  parseJSON =+    Core.withObject+      "AccessSessionSparkApplicationStageRddOperationGraphResponse"+      ( \o ->+          AccessSessionSparkApplicationStageRddOperationGraphResponse+            Core.<$> (o Core..:? "rddOperationGraph")+      )++instance+  Core.ToJSON+    AccessSessionSparkApplicationStageRddOperationGraphResponse+  where+  toJSON+    AccessSessionSparkApplicationStageRddOperationGraphResponse {..} =+      Core.object+        ( Core.catMaybes+            [("rddOperationGraph" Core..=) Core.<$> rddOperationGraph]+        )++-- | Environment details of a Saprk Application.+--+-- /See:/ 'newAccessSparkApplicationEnvironmentInfoResponse' smart constructor.+newtype AccessSparkApplicationEnvironmentInfoResponse = AccessSparkApplicationEnvironmentInfoResponse+  { -- | Details about the Environment that the application is running in.+    applicationEnvironmentInfo :: (Core.Maybe ApplicationEnvironmentInfo)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AccessSparkApplicationEnvironmentInfoResponse' with the minimum fields required to make a request.+newAccessSparkApplicationEnvironmentInfoResponse ::+  AccessSparkApplicationEnvironmentInfoResponse+newAccessSparkApplicationEnvironmentInfoResponse =+  AccessSparkApplicationEnvironmentInfoResponse+    { applicationEnvironmentInfo =+        Core.Nothing+    }++instance+  Core.FromJSON+    AccessSparkApplicationEnvironmentInfoResponse+  where+  parseJSON =+    Core.withObject+      "AccessSparkApplicationEnvironmentInfoResponse"+      ( \o ->+          AccessSparkApplicationEnvironmentInfoResponse+            Core.<$> (o Core..:? "applicationEnvironmentInfo")+      )++instance Core.ToJSON AccessSparkApplicationEnvironmentInfoResponse where+  toJSON AccessSparkApplicationEnvironmentInfoResponse {..} =+    Core.object+      ( Core.catMaybes+          [ ("applicationEnvironmentInfo" Core..=)+              Core.<$> applicationEnvironmentInfo+          ]+      )++-- | Details of a particular job associated with Spark Application+--+-- /See:/ 'newAccessSparkApplicationJobResponse' smart constructor.+newtype AccessSparkApplicationJobResponse = AccessSparkApplicationJobResponse+  { -- | Output only. Data corresponding to a spark job.+    jobData :: (Core.Maybe JobData)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AccessSparkApplicationJobResponse' with the minimum fields required to make a request.+newAccessSparkApplicationJobResponse ::+  AccessSparkApplicationJobResponse+newAccessSparkApplicationJobResponse =+  AccessSparkApplicationJobResponse {jobData = Core.Nothing}++instance Core.FromJSON AccessSparkApplicationJobResponse where+  parseJSON =+    Core.withObject+      "AccessSparkApplicationJobResponse"+      ( \o ->+          AccessSparkApplicationJobResponse Core.<$> (o Core..:? "jobData")+      )++instance Core.ToJSON AccessSparkApplicationJobResponse where+  toJSON AccessSparkApplicationJobResponse {..} =+    Core.object+      (Core.catMaybes [("jobData" Core..=) Core.<$> jobData])++-- | A summary of Spark Application+--+-- /See:/ 'newAccessSparkApplicationResponse' smart constructor.+newtype AccessSparkApplicationResponse = AccessSparkApplicationResponse+  { -- | Output only. High level information corresponding to an application.+    application :: (Core.Maybe ApplicationInfo)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AccessSparkApplicationResponse' with the minimum fields required to make a request.+newAccessSparkApplicationResponse ::+  AccessSparkApplicationResponse+newAccessSparkApplicationResponse =+  AccessSparkApplicationResponse {application = Core.Nothing}++instance Core.FromJSON AccessSparkApplicationResponse where+  parseJSON =+    Core.withObject+      "AccessSparkApplicationResponse"+      ( \o ->+          AccessSparkApplicationResponse Core.<$> (o Core..:? "application")+      )++instance Core.ToJSON AccessSparkApplicationResponse where+  toJSON AccessSparkApplicationResponse {..} =+    Core.object+      (Core.catMaybes [("application" Core..=) Core.<$> application])++-- | Details of a query for a Spark Application+--+-- /See:/ 'newAccessSparkApplicationSqlQueryResponse' smart constructor.+newtype AccessSparkApplicationSqlQueryResponse = AccessSparkApplicationSqlQueryResponse+  { -- | SQL Execution Data+    executionData :: (Core.Maybe SqlExecutionUiData)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AccessSparkApplicationSqlQueryResponse' with the minimum fields required to make a request.+newAccessSparkApplicationSqlQueryResponse ::+  AccessSparkApplicationSqlQueryResponse+newAccessSparkApplicationSqlQueryResponse =+  AccessSparkApplicationSqlQueryResponse+    { executionData =+        Core.Nothing+    }++instance Core.FromJSON AccessSparkApplicationSqlQueryResponse where+  parseJSON =+    Core.withObject+      "AccessSparkApplicationSqlQueryResponse"+      ( \o ->+          AccessSparkApplicationSqlQueryResponse+            Core.<$> (o Core..:? "executionData")+      )++instance Core.ToJSON AccessSparkApplicationSqlQueryResponse where+  toJSON AccessSparkApplicationSqlQueryResponse {..} =+    Core.object+      (Core.catMaybes [("executionData" Core..=) Core.<$> executionData])++-- | SparkPlanGraph for a Spark Application execution limited to maximum 10000 clusters.+--+-- /See:/ 'newAccessSparkApplicationSqlSparkPlanGraphResponse' smart constructor.+newtype AccessSparkApplicationSqlSparkPlanGraphResponse = AccessSparkApplicationSqlSparkPlanGraphResponse+  { -- | SparkPlanGraph for a Spark Application execution.+    sparkPlanGraph :: (Core.Maybe SparkPlanGraph)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AccessSparkApplicationSqlSparkPlanGraphResponse' with the minimum fields required to make a request.+newAccessSparkApplicationSqlSparkPlanGraphResponse ::+  AccessSparkApplicationSqlSparkPlanGraphResponse+newAccessSparkApplicationSqlSparkPlanGraphResponse =+  AccessSparkApplicationSqlSparkPlanGraphResponse+    { sparkPlanGraph =+        Core.Nothing+    }++instance+  Core.FromJSON+    AccessSparkApplicationSqlSparkPlanGraphResponse+  where+  parseJSON =+    Core.withObject+      "AccessSparkApplicationSqlSparkPlanGraphResponse"+      ( \o ->+          AccessSparkApplicationSqlSparkPlanGraphResponse+            Core.<$> (o Core..:? "sparkPlanGraph")+      )++instance+  Core.ToJSON+    AccessSparkApplicationSqlSparkPlanGraphResponse+  where+  toJSON AccessSparkApplicationSqlSparkPlanGraphResponse {..} =+    Core.object+      ( Core.catMaybes+          [("sparkPlanGraph" Core..=) Core.<$> sparkPlanGraph]+      )++-- | Stage Attempt for a Stage of a Spark Application+--+-- /See:/ 'newAccessSparkApplicationStageAttemptResponse' smart constructor.+newtype AccessSparkApplicationStageAttemptResponse = AccessSparkApplicationStageAttemptResponse+  { -- | Output only. Data corresponding to a stage.+    stageData :: (Core.Maybe StageData)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AccessSparkApplicationStageAttemptResponse' with the minimum fields required to make a request.+newAccessSparkApplicationStageAttemptResponse ::+  AccessSparkApplicationStageAttemptResponse+newAccessSparkApplicationStageAttemptResponse =+  AccessSparkApplicationStageAttemptResponse+    { stageData =+        Core.Nothing+    }++instance Core.FromJSON AccessSparkApplicationStageAttemptResponse where+  parseJSON =+    Core.withObject+      "AccessSparkApplicationStageAttemptResponse"+      ( \o ->+          AccessSparkApplicationStageAttemptResponse+            Core.<$> (o Core..:? "stageData")+      )++instance Core.ToJSON AccessSparkApplicationStageAttemptResponse where+  toJSON AccessSparkApplicationStageAttemptResponse {..} =+    Core.object+      (Core.catMaybes [("stageData" Core..=) Core.<$> stageData])++-- | RDD operation graph for a Spark Application Stage limited to maximum 10000 clusters.+--+-- /See:/ 'newAccessSparkApplicationStageRddOperationGraphResponse' smart constructor.+newtype AccessSparkApplicationStageRddOperationGraphResponse = AccessSparkApplicationStageRddOperationGraphResponse+  { -- | RDD operation graph for a Spark Application Stage.+    rddOperationGraph :: (Core.Maybe RddOperationGraph)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AccessSparkApplicationStageRddOperationGraphResponse' with the minimum fields required to make a request.+newAccessSparkApplicationStageRddOperationGraphResponse ::+  AccessSparkApplicationStageRddOperationGraphResponse+newAccessSparkApplicationStageRddOperationGraphResponse =+  AccessSparkApplicationStageRddOperationGraphResponse+    { rddOperationGraph =+        Core.Nothing+    }++instance+  Core.FromJSON+    AccessSparkApplicationStageRddOperationGraphResponse+  where+  parseJSON =+    Core.withObject+      "AccessSparkApplicationStageRddOperationGraphResponse"+      ( \o ->+          AccessSparkApplicationStageRddOperationGraphResponse+            Core.<$> (o Core..:? "rddOperationGraph")+      )++instance+  Core.ToJSON+    AccessSparkApplicationStageRddOperationGraphResponse+  where+  toJSON AccessSparkApplicationStageRddOperationGraphResponse {..} =+    Core.object+      ( Core.catMaybes+          [("rddOperationGraph" Core..=) Core.<$> rddOperationGraph]+      )++--+-- /See:/ 'newAccumulableInfo' smart constructor.+data AccumulableInfo = AccumulableInfo+  { accumullableInfoId :: (Core.Maybe Core.Int64),+    name :: (Core.Maybe Core.Text),+    update :: (Core.Maybe Core.Text),+    value :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AccumulableInfo' with the minimum fields required to make a request.+newAccumulableInfo ::+  AccumulableInfo+newAccumulableInfo =+  AccumulableInfo+    { accumullableInfoId = Core.Nothing,+      name = Core.Nothing,+      update = Core.Nothing,+      value = Core.Nothing+    }++instance Core.FromJSON AccumulableInfo where+  parseJSON =+    Core.withObject+      "AccumulableInfo"+      ( \o ->+          AccumulableInfo+            Core.<$> ( o+                         Core..:? "accumullableInfoId"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> (o Core..:? "name")+            Core.<*> (o Core..:? "update")+            Core.<*> (o Core..:? "value")+      )++instance Core.ToJSON AccumulableInfo where+  toJSON AccumulableInfo {..} =+    Core.object+      ( Core.catMaybes+          [ ("accumullableInfoId" Core..=)+              Core.. Core.AsText+              Core.<$> accumullableInfoId,+            ("name" Core..=) Core.<$> name,+            ("update" Core..=) Core.<$> update,+            ("value" Core..=) Core.<$> value+          ]+      )++-- | A request to analyze a batch workload.+--+-- /See:/ 'newAnalyzeBatchRequest' smart constructor.+newtype AnalyzeBatchRequest = AnalyzeBatchRequest+  { -- | Optional. A unique ID used to identify the request. If the service receives two AnalyzeBatchRequest (http:\/\/cloud\/dataproc\/docs\/reference\/rpc\/google.cloud.dataproc.v1#google.cloud.dataproc.v1.AnalyzeBatchRequest)s with the same request/id, the second request is ignored and the Operation that corresponds to the first request created and stored in the backend is returned.Recommendation: Set this value to a UUID (https:\/\/en.wikipedia.org\/wiki\/Universally/unique/identifier).The value must contain only letters (a-z, A-Z), numbers (0-9), underscores (/), and hyphens (-). The maximum length is 40 characters.+    requestId :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AnalyzeBatchRequest' with the minimum fields required to make a request.+newAnalyzeBatchRequest ::+  AnalyzeBatchRequest+newAnalyzeBatchRequest =+  AnalyzeBatchRequest {requestId = Core.Nothing}++instance Core.FromJSON AnalyzeBatchRequest where+  parseJSON =+    Core.withObject+      "AnalyzeBatchRequest"+      (\o -> AnalyzeBatchRequest Core.<$> (o Core..:? "requestId"))++instance Core.ToJSON AnalyzeBatchRequest where+  toJSON AnalyzeBatchRequest {..} =+    Core.object+      (Core.catMaybes [("requestId" Core..=) Core.<$> requestId])++-- | Metadata describing the Analyze operation.+--+-- /See:/ 'newAnalyzeOperationMetadata' smart constructor.+data AnalyzeOperationMetadata = AnalyzeOperationMetadata+  { -- | Output only. name of the workload being analyzed.+    analyzedWorkloadName :: (Core.Maybe Core.Text),+    -- | Output only. Type of the workload being analyzed.+    analyzedWorkloadType :: (Core.Maybe AnalyzeOperationMetadata_AnalyzedWorkloadType),+    -- | Output only. unique identifier of the workload typically generated by control plane. E.g. batch uuid.+    analyzedWorkloadUuid :: (Core.Maybe Core.Text),+    -- | Output only. The time when the operation was created.+    createTime :: (Core.Maybe Core.DateTime),+    -- | Output only. Short description of the operation.+    description :: (Core.Maybe Core.Text),+    -- | Output only. The time when the operation finished.+    doneTime :: (Core.Maybe Core.DateTime),+    -- | Output only. Labels associated with the operation.+    labels :: (Core.Maybe AnalyzeOperationMetadata_Labels),+    -- | Output only. Warnings encountered during operation execution.+    warnings :: (Core.Maybe [Core.Text])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AnalyzeOperationMetadata' with the minimum fields required to make a request.+newAnalyzeOperationMetadata ::+  AnalyzeOperationMetadata+newAnalyzeOperationMetadata =+  AnalyzeOperationMetadata+    { analyzedWorkloadName = Core.Nothing,+      analyzedWorkloadType = Core.Nothing,+      analyzedWorkloadUuid = Core.Nothing,+      createTime = Core.Nothing,+      description = Core.Nothing,+      doneTime = Core.Nothing,+      labels = Core.Nothing,+      warnings = Core.Nothing+    }++instance Core.FromJSON AnalyzeOperationMetadata where+  parseJSON =+    Core.withObject+      "AnalyzeOperationMetadata"+      ( \o ->+          AnalyzeOperationMetadata+            Core.<$> (o Core..:? "analyzedWorkloadName")+            Core.<*> (o Core..:? "analyzedWorkloadType")+            Core.<*> (o Core..:? "analyzedWorkloadUuid")+            Core.<*> (o Core..:? "createTime")+            Core.<*> (o Core..:? "description")+            Core.<*> (o Core..:? "doneTime")+            Core.<*> (o Core..:? "labels")+            Core.<*> (o Core..:? "warnings")+      )++instance Core.ToJSON AnalyzeOperationMetadata where+  toJSON AnalyzeOperationMetadata {..} =+    Core.object+      ( Core.catMaybes+          [ ("analyzedWorkloadName" Core..=) Core.<$> analyzedWorkloadName,+            ("analyzedWorkloadType" Core..=) Core.<$> analyzedWorkloadType,+            ("analyzedWorkloadUuid" Core..=) Core.<$> analyzedWorkloadUuid,+            ("createTime" Core..=) Core.<$> createTime,+            ("description" Core..=) Core.<$> description,+            ("doneTime" Core..=) Core.<$> doneTime,+            ("labels" Core..=) Core.<$> labels,+            ("warnings" Core..=) Core.<$> warnings+          ]+      )++-- | Output only. Labels associated with the operation.+--+-- /See:/ 'newAnalyzeOperationMetadata_Labels' smart constructor.+newtype AnalyzeOperationMetadata_Labels = AnalyzeOperationMetadata_Labels+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AnalyzeOperationMetadata_Labels' with the minimum fields required to make a request.+newAnalyzeOperationMetadata_Labels ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  AnalyzeOperationMetadata_Labels+newAnalyzeOperationMetadata_Labels additional =+  AnalyzeOperationMetadata_Labels {additional = additional}++instance Core.FromJSON AnalyzeOperationMetadata_Labels where+  parseJSON =+    Core.withObject+      "AnalyzeOperationMetadata_Labels"+      ( \o ->+          AnalyzeOperationMetadata_Labels Core.<$> (Core.parseJSONObject o)+      )++instance Core.ToJSON AnalyzeOperationMetadata_Labels where+  toJSON AnalyzeOperationMetadata_Labels {..} = Core.toJSON additional++--+-- /See:/ 'newAppSummary' smart constructor.+data AppSummary = AppSummary+  { numCompletedJobs :: (Core.Maybe Core.Int32),+    numCompletedStages :: (Core.Maybe Core.Int32)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AppSummary' with the minimum fields required to make a request.+newAppSummary ::+  AppSummary+newAppSummary =+  AppSummary+    { numCompletedJobs = Core.Nothing,+      numCompletedStages = Core.Nothing+    }++instance Core.FromJSON AppSummary where+  parseJSON =+    Core.withObject+      "AppSummary"+      ( \o ->+          AppSummary+            Core.<$> (o Core..:? "numCompletedJobs")+            Core.<*> (o Core..:? "numCompletedStages")+      )++instance Core.ToJSON AppSummary where+  toJSON AppSummary {..} =+    Core.object+      ( Core.catMaybes+          [ ("numCompletedJobs" Core..=) Core.<$> numCompletedJobs,+            ("numCompletedStages" Core..=) Core.<$> numCompletedStages+          ]+      )++-- | Specific attempt of an application.+--+-- /See:/ 'newApplicationAttemptInfo' smart constructor.+data ApplicationAttemptInfo = ApplicationAttemptInfo+  { appSparkVersion :: (Core.Maybe Core.Text),+    attemptId :: (Core.Maybe Core.Text),+    completed :: (Core.Maybe Core.Bool),+    durationMillis :: (Core.Maybe Core.Int64),+    endTime :: (Core.Maybe Core.DateTime),+    lastUpdated :: (Core.Maybe Core.DateTime),+    sparkUser :: (Core.Maybe Core.Text),+    startTime :: (Core.Maybe Core.DateTime)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ApplicationAttemptInfo' with the minimum fields required to make a request.+newApplicationAttemptInfo ::+  ApplicationAttemptInfo+newApplicationAttemptInfo =+  ApplicationAttemptInfo+    { appSparkVersion = Core.Nothing,+      attemptId = Core.Nothing,+      completed = Core.Nothing,+      durationMillis = Core.Nothing,+      endTime = Core.Nothing,+      lastUpdated = Core.Nothing,+      sparkUser = Core.Nothing,+      startTime = Core.Nothing+    }++instance Core.FromJSON ApplicationAttemptInfo where+  parseJSON =+    Core.withObject+      "ApplicationAttemptInfo"+      ( \o ->+          ApplicationAttemptInfo+            Core.<$> (o Core..:? "appSparkVersion")+            Core.<*> (o Core..:? "attemptId")+            Core.<*> (o Core..:? "completed")+            Core.<*> (o Core..:? "durationMillis" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "endTime")+            Core.<*> (o Core..:? "lastUpdated")+            Core.<*> (o Core..:? "sparkUser")+            Core.<*> (o Core..:? "startTime")+      )++instance Core.ToJSON ApplicationAttemptInfo where+  toJSON ApplicationAttemptInfo {..} =+    Core.object+      ( Core.catMaybes+          [ ("appSparkVersion" Core..=) Core.<$> appSparkVersion,+            ("attemptId" Core..=) Core.<$> attemptId,+            ("completed" Core..=) Core.<$> completed,+            ("durationMillis" Core..=)+              Core.. Core.AsText+              Core.<$> durationMillis,+            ("endTime" Core..=) Core.<$> endTime,+            ("lastUpdated" Core..=) Core.<$> lastUpdated,+            ("sparkUser" Core..=) Core.<$> sparkUser,+            ("startTime" Core..=) Core.<$> startTime+          ]+      )++-- | Details about the Environment that the application is running in.+--+-- /See:/ 'newApplicationEnvironmentInfo' smart constructor.+data ApplicationEnvironmentInfo = ApplicationEnvironmentInfo+  { classpathEntries :: (Core.Maybe ApplicationEnvironmentInfo_ClasspathEntries),+    hadoopProperties :: (Core.Maybe ApplicationEnvironmentInfo_HadoopProperties),+    metricsProperties :: (Core.Maybe ApplicationEnvironmentInfo_MetricsProperties),+    resourceProfiles :: (Core.Maybe [ResourceProfileInfo]),+    runtime :: (Core.Maybe SparkRuntimeInfo),+    sparkProperties :: (Core.Maybe ApplicationEnvironmentInfo_SparkProperties),+    systemProperties :: (Core.Maybe ApplicationEnvironmentInfo_SystemProperties)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ApplicationEnvironmentInfo' with the minimum fields required to make a request.+newApplicationEnvironmentInfo ::+  ApplicationEnvironmentInfo+newApplicationEnvironmentInfo =+  ApplicationEnvironmentInfo+    { classpathEntries = Core.Nothing,+      hadoopProperties = Core.Nothing,+      metricsProperties = Core.Nothing,+      resourceProfiles = Core.Nothing,+      runtime = Core.Nothing,+      sparkProperties = Core.Nothing,+      systemProperties = Core.Nothing+    }++instance Core.FromJSON ApplicationEnvironmentInfo where+  parseJSON =+    Core.withObject+      "ApplicationEnvironmentInfo"+      ( \o ->+          ApplicationEnvironmentInfo+            Core.<$> (o Core..:? "classpathEntries")+            Core.<*> (o Core..:? "hadoopProperties")+            Core.<*> (o Core..:? "metricsProperties")+            Core.<*> (o Core..:? "resourceProfiles")+            Core.<*> (o Core..:? "runtime")+            Core.<*> (o Core..:? "sparkProperties")+            Core.<*> (o Core..:? "systemProperties")+      )++instance Core.ToJSON ApplicationEnvironmentInfo where+  toJSON ApplicationEnvironmentInfo {..} =+    Core.object+      ( Core.catMaybes+          [ ("classpathEntries" Core..=) Core.<$> classpathEntries,+            ("hadoopProperties" Core..=) Core.<$> hadoopProperties,+            ("metricsProperties" Core..=) Core.<$> metricsProperties,+            ("resourceProfiles" Core..=) Core.<$> resourceProfiles,+            ("runtime" Core..=) Core.<$> runtime,+            ("sparkProperties" Core..=) Core.<$> sparkProperties,+            ("systemProperties" Core..=) Core.<$> systemProperties+          ]+      )++--+-- /See:/ 'newApplicationEnvironmentInfo_ClasspathEntries' smart constructor.+newtype ApplicationEnvironmentInfo_ClasspathEntries = ApplicationEnvironmentInfo_ClasspathEntries+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ApplicationEnvironmentInfo_ClasspathEntries' with the minimum fields required to make a request.+newApplicationEnvironmentInfo_ClasspathEntries ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  ApplicationEnvironmentInfo_ClasspathEntries+newApplicationEnvironmentInfo_ClasspathEntries additional =+  ApplicationEnvironmentInfo_ClasspathEntries+    { additional =+        additional+    }++instance Core.FromJSON ApplicationEnvironmentInfo_ClasspathEntries where+  parseJSON =+    Core.withObject+      "ApplicationEnvironmentInfo_ClasspathEntries"+      ( \o ->+          ApplicationEnvironmentInfo_ClasspathEntries+            Core.<$> (Core.parseJSONObject o)+      )++instance Core.ToJSON ApplicationEnvironmentInfo_ClasspathEntries where+  toJSON ApplicationEnvironmentInfo_ClasspathEntries {..} =+    Core.toJSON additional++--+-- /See:/ 'newApplicationEnvironmentInfo_HadoopProperties' smart constructor.+newtype ApplicationEnvironmentInfo_HadoopProperties = ApplicationEnvironmentInfo_HadoopProperties+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ApplicationEnvironmentInfo_HadoopProperties' with the minimum fields required to make a request.+newApplicationEnvironmentInfo_HadoopProperties ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  ApplicationEnvironmentInfo_HadoopProperties+newApplicationEnvironmentInfo_HadoopProperties additional =+  ApplicationEnvironmentInfo_HadoopProperties+    { additional =+        additional+    }++instance Core.FromJSON ApplicationEnvironmentInfo_HadoopProperties where+  parseJSON =+    Core.withObject+      "ApplicationEnvironmentInfo_HadoopProperties"+      ( \o ->+          ApplicationEnvironmentInfo_HadoopProperties+            Core.<$> (Core.parseJSONObject o)+      )++instance Core.ToJSON ApplicationEnvironmentInfo_HadoopProperties where+  toJSON ApplicationEnvironmentInfo_HadoopProperties {..} =+    Core.toJSON additional++--+-- /See:/ 'newApplicationEnvironmentInfo_MetricsProperties' smart constructor.+newtype ApplicationEnvironmentInfo_MetricsProperties = ApplicationEnvironmentInfo_MetricsProperties+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ApplicationEnvironmentInfo_MetricsProperties' with the minimum fields required to make a request.+newApplicationEnvironmentInfo_MetricsProperties ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  ApplicationEnvironmentInfo_MetricsProperties+newApplicationEnvironmentInfo_MetricsProperties additional =+  ApplicationEnvironmentInfo_MetricsProperties+    { additional =+        additional+    }++instance Core.FromJSON ApplicationEnvironmentInfo_MetricsProperties where+  parseJSON =+    Core.withObject+      "ApplicationEnvironmentInfo_MetricsProperties"+      ( \o ->+          ApplicationEnvironmentInfo_MetricsProperties+            Core.<$> (Core.parseJSONObject o)+      )++instance Core.ToJSON ApplicationEnvironmentInfo_MetricsProperties where+  toJSON ApplicationEnvironmentInfo_MetricsProperties {..} =+    Core.toJSON additional++--+-- /See:/ 'newApplicationEnvironmentInfo_SparkProperties' smart constructor.+newtype ApplicationEnvironmentInfo_SparkProperties = ApplicationEnvironmentInfo_SparkProperties+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ApplicationEnvironmentInfo_SparkProperties' with the minimum fields required to make a request.+newApplicationEnvironmentInfo_SparkProperties ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  ApplicationEnvironmentInfo_SparkProperties+newApplicationEnvironmentInfo_SparkProperties additional =+  ApplicationEnvironmentInfo_SparkProperties+    { additional =+        additional+    }++instance Core.FromJSON ApplicationEnvironmentInfo_SparkProperties where+  parseJSON =+    Core.withObject+      "ApplicationEnvironmentInfo_SparkProperties"+      ( \o ->+          ApplicationEnvironmentInfo_SparkProperties+            Core.<$> (Core.parseJSONObject o)+      )++instance Core.ToJSON ApplicationEnvironmentInfo_SparkProperties where+  toJSON ApplicationEnvironmentInfo_SparkProperties {..} =+    Core.toJSON additional++--+-- /See:/ 'newApplicationEnvironmentInfo_SystemProperties' smart constructor.+newtype ApplicationEnvironmentInfo_SystemProperties = ApplicationEnvironmentInfo_SystemProperties+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ApplicationEnvironmentInfo_SystemProperties' with the minimum fields required to make a request.+newApplicationEnvironmentInfo_SystemProperties ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  ApplicationEnvironmentInfo_SystemProperties+newApplicationEnvironmentInfo_SystemProperties additional =+  ApplicationEnvironmentInfo_SystemProperties+    { additional =+        additional+    }++instance Core.FromJSON ApplicationEnvironmentInfo_SystemProperties where+  parseJSON =+    Core.withObject+      "ApplicationEnvironmentInfo_SystemProperties"+      ( \o ->+          ApplicationEnvironmentInfo_SystemProperties+            Core.<$> (Core.parseJSONObject o)+      )++instance Core.ToJSON ApplicationEnvironmentInfo_SystemProperties where+  toJSON ApplicationEnvironmentInfo_SystemProperties {..} =+    Core.toJSON additional++-- | High level information corresponding to an application.+--+-- /See:/ 'newApplicationInfo' smart constructor.+data ApplicationInfo = ApplicationInfo+  { applicationContextIngestionStatus :: (Core.Maybe ApplicationInfo_ApplicationContextIngestionStatus),+    applicationId :: (Core.Maybe Core.Text),+    attempts :: (Core.Maybe [ApplicationAttemptInfo]),+    coresGranted :: (Core.Maybe Core.Int32),+    coresPerExecutor :: (Core.Maybe Core.Int32),+    maxCores :: (Core.Maybe Core.Int32),+    memoryPerExecutorMb :: (Core.Maybe Core.Int32),+    name :: (Core.Maybe Core.Text),+    quantileDataStatus :: (Core.Maybe ApplicationInfo_QuantileDataStatus)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ApplicationInfo' with the minimum fields required to make a request.+newApplicationInfo ::+  ApplicationInfo+newApplicationInfo =+  ApplicationInfo+    { applicationContextIngestionStatus = Core.Nothing,+      applicationId = Core.Nothing,+      attempts = Core.Nothing,+      coresGranted = Core.Nothing,+      coresPerExecutor = Core.Nothing,+      maxCores = Core.Nothing,+      memoryPerExecutorMb = Core.Nothing,+      name = Core.Nothing,+      quantileDataStatus = Core.Nothing+    }++instance Core.FromJSON ApplicationInfo where+  parseJSON =+    Core.withObject+      "ApplicationInfo"+      ( \o ->+          ApplicationInfo+            Core.<$> (o Core..:? "applicationContextIngestionStatus")+            Core.<*> (o Core..:? "applicationId")+            Core.<*> (o Core..:? "attempts")+            Core.<*> (o Core..:? "coresGranted")+            Core.<*> (o Core..:? "coresPerExecutor")+            Core.<*> (o Core..:? "maxCores")+            Core.<*> (o Core..:? "memoryPerExecutorMb")+            Core.<*> (o Core..:? "name")+            Core.<*> (o Core..:? "quantileDataStatus")+      )++instance Core.ToJSON ApplicationInfo where+  toJSON ApplicationInfo {..} =+    Core.object+      ( Core.catMaybes+          [ ("applicationContextIngestionStatus" Core..=)+              Core.<$> applicationContextIngestionStatus,+            ("applicationId" Core..=) Core.<$> applicationId,+            ("attempts" Core..=) Core.<$> attempts,+            ("coresGranted" Core..=) Core.<$> coresGranted,+            ("coresPerExecutor" Core..=) Core.<$> coresPerExecutor,+            ("maxCores" Core..=) Core.<$> maxCores,+            ("memoryPerExecutorMb" Core..=) Core.<$> memoryPerExecutorMb,+            ("name" Core..=) Core.<$> name,+            ("quantileDataStatus" Core..=) Core.<$> quantileDataStatus+          ]+      )++-- | Autoscaling Policy config associated with the cluster.+--+-- /See:/ 'newAutoscalingConfig' smart constructor.+newtype AutoscalingConfig = AutoscalingConfig+  { -- | Optional. The autoscaling policy used by the cluster.Only resource names including projectid and location (region) are valid. Examples: https:\/\/www.googleapis.com\/compute\/v1\/projects\/[project/id]\/locations\/[dataproc/region]\/autoscalingPolicies\/[policy/id] projects\/[project/id]\/locations\/[dataproc/region]\/autoscalingPolicies\/[policy/id]Note that the policy must be in the same project and Dataproc region.+    policyUri :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AutoscalingConfig' with the minimum fields required to make a request.+newAutoscalingConfig ::+  AutoscalingConfig+newAutoscalingConfig = AutoscalingConfig {policyUri = Core.Nothing}++instance Core.FromJSON AutoscalingConfig where+  parseJSON =+    Core.withObject+      "AutoscalingConfig"+      (\o -> AutoscalingConfig Core.<$> (o Core..:? "policyUri"))++instance Core.ToJSON AutoscalingConfig where+  toJSON AutoscalingConfig {..} =+    Core.object+      (Core.catMaybes [("policyUri" Core..=) Core.<$> policyUri])++-- | Describes an autoscaling policy for Dataproc cluster autoscaler.+--+-- /See:/ 'newAutoscalingPolicy' smart constructor.+data AutoscalingPolicy = AutoscalingPolicy+  { basicAlgorithm :: (Core.Maybe BasicAutoscalingAlgorithm),+    -- | Required. The policy id.The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of between 3 and 50 characters.+    id :: (Core.Maybe Core.Text),+    -- | Optional. The labels to associate with this autoscaling policy. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https:\/\/www.ietf.org\/rfc\/rfc1035.txt). Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 (https:\/\/www.ietf.org\/rfc\/rfc1035.txt). No more than 32 labels can be associated with an autoscaling policy.+    labels :: (Core.Maybe AutoscalingPolicy_Labels),+    -- | Output only. The \"resource name\" of the autoscaling policy, as described in https:\/\/cloud.google.com\/apis\/design\/resource/names. For projects.regions.autoscalingPolicies, the resource name of the policy has the following format: projects\/{project/id}\/regions\/{region}\/autoscalingPolicies\/{policy/id} For projects.locations.autoscalingPolicies, the resource name of the policy has the following format: projects\/{project/id}\/locations\/{location}\/autoscalingPolicies\/{policy_id}+    name :: (Core.Maybe Core.Text),+    -- | Optional. Describes how the autoscaler will operate for secondary workers.+    secondaryWorkerConfig :: (Core.Maybe InstanceGroupAutoscalingPolicyConfig),+    -- | Required. Describes how the autoscaler will operate for primary workers.+    workerConfig :: (Core.Maybe InstanceGroupAutoscalingPolicyConfig)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AutoscalingPolicy' with the minimum fields required to make a request.+newAutoscalingPolicy ::+  AutoscalingPolicy+newAutoscalingPolicy =+  AutoscalingPolicy+    { basicAlgorithm = Core.Nothing,+      id = Core.Nothing,+      labels = Core.Nothing,+      name = Core.Nothing,+      secondaryWorkerConfig = Core.Nothing,+      workerConfig = Core.Nothing+    }++instance Core.FromJSON AutoscalingPolicy where+  parseJSON =+    Core.withObject+      "AutoscalingPolicy"+      ( \o ->+          AutoscalingPolicy+            Core.<$> (o Core..:? "basicAlgorithm")+            Core.<*> (o Core..:? "id")+            Core.<*> (o Core..:? "labels")+            Core.<*> (o Core..:? "name")+            Core.<*> (o Core..:? "secondaryWorkerConfig")+            Core.<*> (o Core..:? "workerConfig")+      )++instance Core.ToJSON AutoscalingPolicy where+  toJSON AutoscalingPolicy {..} =+    Core.object+      ( Core.catMaybes+          [ ("basicAlgorithm" Core..=) Core.<$> basicAlgorithm,+            ("id" Core..=) Core.<$> id,+            ("labels" Core..=) Core.<$> labels,+            ("name" Core..=) Core.<$> name,+            ("secondaryWorkerConfig" Core..=) Core.<$> secondaryWorkerConfig,+            ("workerConfig" Core..=) Core.<$> workerConfig+          ]+      )++-- | Optional. The labels to associate with this autoscaling policy. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https:\/\/www.ietf.org\/rfc\/rfc1035.txt). Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 (https:\/\/www.ietf.org\/rfc\/rfc1035.txt). No more than 32 labels can be associated with an autoscaling policy.+--+-- /See:/ 'newAutoscalingPolicy_Labels' smart constructor.+newtype AutoscalingPolicy_Labels = AutoscalingPolicy_Labels+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AutoscalingPolicy_Labels' with the minimum fields required to make a request.+newAutoscalingPolicy_Labels ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  AutoscalingPolicy_Labels+newAutoscalingPolicy_Labels additional =+  AutoscalingPolicy_Labels {additional = additional}++instance Core.FromJSON AutoscalingPolicy_Labels where+  parseJSON =+    Core.withObject+      "AutoscalingPolicy_Labels"+      (\o -> AutoscalingPolicy_Labels Core.<$> (Core.parseJSONObject o))++instance Core.ToJSON AutoscalingPolicy_Labels where+  toJSON AutoscalingPolicy_Labels {..} = Core.toJSON additional++-- | Autotuning configuration of the workload.+--+-- /See:/ 'newAutotuningConfig' smart constructor.+newtype AutotuningConfig = AutotuningConfig+  { -- | Optional. Scenarios for which tunings are applied.+    scenarios :: (Core.Maybe [AutotuningConfig_ScenariosItem])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AutotuningConfig' with the minimum fields required to make a request.+newAutotuningConfig ::+  AutotuningConfig+newAutotuningConfig = AutotuningConfig {scenarios = Core.Nothing}++instance Core.FromJSON AutotuningConfig where+  parseJSON =+    Core.withObject+      "AutotuningConfig"+      (\o -> AutotuningConfig Core.<$> (o Core..:? "scenarios"))++instance Core.ToJSON AutotuningConfig where+  toJSON AutotuningConfig {..} =+    Core.object+      (Core.catMaybes [("scenarios" Core..=) Core.<$> scenarios])++-- | Node group identification and configuration information.+--+-- /See:/ 'newAuxiliaryNodeGroup' smart constructor.+data AuxiliaryNodeGroup = AuxiliaryNodeGroup+  { -- | Required. Node group configuration.+    nodeGroup :: (Core.Maybe NodeGroup),+    -- | Optional. A node group ID. Generated if not specified.The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of from 3 to 33 characters.+    nodeGroupId :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AuxiliaryNodeGroup' with the minimum fields required to make a request.+newAuxiliaryNodeGroup ::+  AuxiliaryNodeGroup+newAuxiliaryNodeGroup =+  AuxiliaryNodeGroup+    { nodeGroup = Core.Nothing,+      nodeGroupId = Core.Nothing+    }++instance Core.FromJSON AuxiliaryNodeGroup where+  parseJSON =+    Core.withObject+      "AuxiliaryNodeGroup"+      ( \o ->+          AuxiliaryNodeGroup+            Core.<$> (o Core..:? "nodeGroup")+            Core.<*> (o Core..:? "nodeGroupId")+      )++instance Core.ToJSON AuxiliaryNodeGroup where+  toJSON AuxiliaryNodeGroup {..} =+    Core.object+      ( Core.catMaybes+          [ ("nodeGroup" Core..=) Core.<$> nodeGroup,+            ("nodeGroupId" Core..=) Core.<$> nodeGroupId+          ]+      )++-- | Auxiliary services configuration for a Cluster.+--+-- /See:/ 'newAuxiliaryServicesConfig' smart constructor.+data AuxiliaryServicesConfig = AuxiliaryServicesConfig+  { -- | Optional. The Hive Metastore configuration for this workload.+    metastoreConfig :: (Core.Maybe MetastoreConfig),+    -- | Optional. The Spark History Server configuration for the workload.+    sparkHistoryServerConfig :: (Core.Maybe SparkHistoryServerConfig)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AuxiliaryServicesConfig' with the minimum fields required to make a request.+newAuxiliaryServicesConfig ::+  AuxiliaryServicesConfig+newAuxiliaryServicesConfig =+  AuxiliaryServicesConfig+    { metastoreConfig = Core.Nothing,+      sparkHistoryServerConfig = Core.Nothing+    }++instance Core.FromJSON AuxiliaryServicesConfig where+  parseJSON =+    Core.withObject+      "AuxiliaryServicesConfig"+      ( \o ->+          AuxiliaryServicesConfig+            Core.<$> (o Core..:? "metastoreConfig")+            Core.<*> (o Core..:? "sparkHistoryServerConfig")+      )++instance Core.ToJSON AuxiliaryServicesConfig where+  toJSON AuxiliaryServicesConfig {..} =+    Core.object+      ( Core.catMaybes+          [ ("metastoreConfig" Core..=) Core.<$> metastoreConfig,+            ("sparkHistoryServerConfig" Core..=)+              Core.<$> sparkHistoryServerConfig+          ]+      )++-- | Basic algorithm for autoscaling.+--+-- /See:/ 'newBasicAutoscalingAlgorithm' smart constructor.+data BasicAutoscalingAlgorithm = BasicAutoscalingAlgorithm+  { -- | Optional. Duration between scaling events. A scaling period starts after the update operation from the previous event has completed.Bounds: 2m, 1d. Default: 2m.+    cooldownPeriod :: (Core.Maybe Core.Duration),+    -- | Optional. Spark Standalone autoscaling configuration+    sparkStandaloneConfig :: (Core.Maybe SparkStandaloneAutoscalingConfig),+    -- | Optional. YARN autoscaling configuration.+    yarnConfig :: (Core.Maybe BasicYarnAutoscalingConfig)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BasicAutoscalingAlgorithm' with the minimum fields required to make a request.+newBasicAutoscalingAlgorithm ::+  BasicAutoscalingAlgorithm+newBasicAutoscalingAlgorithm =+  BasicAutoscalingAlgorithm+    { cooldownPeriod = Core.Nothing,+      sparkStandaloneConfig = Core.Nothing,+      yarnConfig = Core.Nothing+    }++instance Core.FromJSON BasicAutoscalingAlgorithm where+  parseJSON =+    Core.withObject+      "BasicAutoscalingAlgorithm"+      ( \o ->+          BasicAutoscalingAlgorithm+            Core.<$> (o Core..:? "cooldownPeriod")+            Core.<*> (o Core..:? "sparkStandaloneConfig")+            Core.<*> (o Core..:? "yarnConfig")+      )++instance Core.ToJSON BasicAutoscalingAlgorithm where+  toJSON BasicAutoscalingAlgorithm {..} =+    Core.object+      ( Core.catMaybes+          [ ("cooldownPeriod" Core..=) Core.<$> cooldownPeriod,+            ("sparkStandaloneConfig" Core..=) Core.<$> sparkStandaloneConfig,+            ("yarnConfig" Core..=) Core.<$> yarnConfig+          ]+      )++-- | Basic autoscaling configurations for YARN.+--+-- /See:/ 'newBasicYarnAutoscalingConfig' smart constructor.+data BasicYarnAutoscalingConfig = BasicYarnAutoscalingConfig+  { -- | Required. Timeout for YARN graceful decommissioning of Node Managers. Specifies the duration to wait for jobs to complete before forcefully removing workers (and potentially interrupting jobs). Only applicable to downscaling operations.Bounds: 0s, 1d.+    gracefulDecommissionTimeout :: (Core.Maybe Core.Duration),+    -- | Required. Fraction of average YARN pending memory in the last cooldown period for which to remove workers. A scale-down factor of 1 will result in scaling down so that there is no available memory remaining after the update (more aggressive scaling). A scale-down factor of 0 disables removing workers, which can be beneficial for autoscaling a single job. See How autoscaling works (https:\/\/cloud.google.com\/dataproc\/docs\/concepts\/configuring-clusters\/autoscaling#how/autoscaling/works) for more information.Bounds: 0.0, 1.0.+    scaleDownFactor :: (Core.Maybe Core.Double),+    -- | Optional. Minimum scale-down threshold as a fraction of total cluster size before scaling occurs. For example, in a 20-worker cluster, a threshold of 0.1 means the autoscaler must recommend at least a 2 worker scale-down for the cluster to scale. A threshold of 0 means the autoscaler will scale down on any recommended change.Bounds: 0.0, 1.0. Default: 0.0.+    scaleDownMinWorkerFraction :: (Core.Maybe Core.Double),+    -- | Required. Fraction of average YARN pending memory in the last cooldown period for which to add workers. A scale-up factor of 1.0 will result in scaling up so that there is no pending memory remaining after the update (more aggressive scaling). A scale-up factor closer to 0 will result in a smaller magnitude of scaling up (less aggressive scaling). See How autoscaling works (https:\/\/cloud.google.com\/dataproc\/docs\/concepts\/configuring-clusters\/autoscaling#how/autoscaling/works) for more information.Bounds: 0.0, 1.0.+    scaleUpFactor :: (Core.Maybe Core.Double),+    -- | Optional. Minimum scale-up threshold as a fraction of total cluster size before scaling occurs. For example, in a 20-worker cluster, a threshold of 0.1 means the autoscaler must recommend at least a 2-worker scale-up for the cluster to scale. A threshold of 0 means the autoscaler will scale up on any recommended change.Bounds: 0.0, 1.0. Default: 0.0.+    scaleUpMinWorkerFraction :: (Core.Maybe Core.Double)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BasicYarnAutoscalingConfig' with the minimum fields required to make a request.+newBasicYarnAutoscalingConfig ::+  BasicYarnAutoscalingConfig+newBasicYarnAutoscalingConfig =+  BasicYarnAutoscalingConfig+    { gracefulDecommissionTimeout =+        Core.Nothing,+      scaleDownFactor = Core.Nothing,+      scaleDownMinWorkerFraction = Core.Nothing,+      scaleUpFactor = Core.Nothing,+      scaleUpMinWorkerFraction = Core.Nothing+    }++instance Core.FromJSON BasicYarnAutoscalingConfig where+  parseJSON =+    Core.withObject+      "BasicYarnAutoscalingConfig"+      ( \o ->+          BasicYarnAutoscalingConfig+            Core.<$> (o Core..:? "gracefulDecommissionTimeout")+            Core.<*> (o Core..:? "scaleDownFactor")+            Core.<*> (o Core..:? "scaleDownMinWorkerFraction")+            Core.<*> (o Core..:? "scaleUpFactor")+            Core.<*> (o Core..:? "scaleUpMinWorkerFraction")+      )++instance Core.ToJSON BasicYarnAutoscalingConfig where+  toJSON BasicYarnAutoscalingConfig {..} =+    Core.object+      ( Core.catMaybes+          [ ("gracefulDecommissionTimeout" Core..=)+              Core.<$> gracefulDecommissionTimeout,+            ("scaleDownFactor" Core..=) Core.<$> scaleDownFactor,+            ("scaleDownMinWorkerFraction" Core..=)+              Core.<$> scaleDownMinWorkerFraction,+            ("scaleUpFactor" Core..=) Core.<$> scaleUpFactor,+            ("scaleUpMinWorkerFraction" Core..=)+              Core.<$> scaleUpMinWorkerFraction+          ]+      )++-- | A representation of a batch workload in the service.+--+-- /See:/ 'newBatch' smart constructor.+data Batch = Batch+  { -- | Output only. The time when the batch was created.+    createTime :: (Core.Maybe Core.DateTime),+    -- | Output only. The email address of the user who created the batch.+    creator :: (Core.Maybe Core.Text),+    -- | Optional. Environment configuration for the batch execution.+    environmentConfig :: (Core.Maybe EnvironmentConfig),+    -- | Optional. The labels to associate with this batch. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https:\/\/www.ietf.org\/rfc\/rfc1035.txt). Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 (https:\/\/www.ietf.org\/rfc\/rfc1035.txt). No more than 32 labels can be associated with a batch.+    labels :: (Core.Maybe Batch_Labels),+    -- | Output only. The resource name of the batch.+    name :: (Core.Maybe Core.Text),+    -- | Output only. The resource name of the operation associated with this batch.+    operation :: (Core.Maybe Core.Text),+    -- | Optional. PySpark batch config.+    pysparkBatch :: (Core.Maybe PySparkBatch),+    -- | Optional. Runtime configuration for the batch execution.+    runtimeConfig :: (Core.Maybe RuntimeConfig),+    -- | Output only. Runtime information about batch execution.+    runtimeInfo :: (Core.Maybe RuntimeInfo),+    -- | Optional. Spark batch config.+    sparkBatch :: (Core.Maybe SparkBatch),+    -- | Optional. SparkR batch config.+    sparkRBatch :: (Core.Maybe SparkRBatch),+    -- | Optional. SparkSql batch config.+    sparkSqlBatch :: (Core.Maybe SparkSqlBatch),+    -- | Output only. The state of the batch.+    state :: (Core.Maybe Batch_State),+    -- | Output only. Historical state information for the batch.+    stateHistory :: (Core.Maybe [StateHistory]),+    -- | Output only. Batch state details, such as a failure description if the state is FAILED.+    stateMessage :: (Core.Maybe Core.Text),+    -- | Output only. The time when the batch entered a current state.+    stateTime :: (Core.Maybe Core.DateTime),+    -- | Output only. A batch UUID (Unique Universal Identifier). The service generates this value when it creates the batch.+    uuid :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Batch' with the minimum fields required to make a request.+newBatch ::+  Batch+newBatch =+  Batch+    { createTime = Core.Nothing,+      creator = Core.Nothing,+      environmentConfig = Core.Nothing,+      labels = Core.Nothing,+      name = Core.Nothing,+      operation = Core.Nothing,+      pysparkBatch = Core.Nothing,+      runtimeConfig = Core.Nothing,+      runtimeInfo = Core.Nothing,+      sparkBatch = Core.Nothing,+      sparkRBatch = Core.Nothing,+      sparkSqlBatch = Core.Nothing,+      state = Core.Nothing,+      stateHistory = Core.Nothing,+      stateMessage = Core.Nothing,+      stateTime = Core.Nothing,+      uuid = Core.Nothing+    }++instance Core.FromJSON Batch where+  parseJSON =+    Core.withObject+      "Batch"+      ( \o ->+          Batch+            Core.<$> (o Core..:? "createTime")+            Core.<*> (o Core..:? "creator")+            Core.<*> (o Core..:? "environmentConfig")+            Core.<*> (o Core..:? "labels")+            Core.<*> (o Core..:? "name")+            Core.<*> (o Core..:? "operation")+            Core.<*> (o Core..:? "pysparkBatch")+            Core.<*> (o Core..:? "runtimeConfig")+            Core.<*> (o Core..:? "runtimeInfo")+            Core.<*> (o Core..:? "sparkBatch")+            Core.<*> (o Core..:? "sparkRBatch")+            Core.<*> (o Core..:? "sparkSqlBatch")+            Core.<*> (o Core..:? "state")+            Core.<*> (o Core..:? "stateHistory")+            Core.<*> (o Core..:? "stateMessage")+            Core.<*> (o Core..:? "stateTime")+            Core.<*> (o Core..:? "uuid")+      )++instance Core.ToJSON Batch where+  toJSON Batch {..} =+    Core.object+      ( Core.catMaybes+          [ ("createTime" Core..=) Core.<$> createTime,+            ("creator" Core..=) Core.<$> creator,+            ("environmentConfig" Core..=) Core.<$> environmentConfig,+            ("labels" Core..=) Core.<$> labels,+            ("name" Core..=) Core.<$> name,+            ("operation" Core..=) Core.<$> operation,+            ("pysparkBatch" Core..=) Core.<$> pysparkBatch,+            ("runtimeConfig" Core..=) Core.<$> runtimeConfig,+            ("runtimeInfo" Core..=) Core.<$> runtimeInfo,+            ("sparkBatch" Core..=) Core.<$> sparkBatch,+            ("sparkRBatch" Core..=) Core.<$> sparkRBatch,+            ("sparkSqlBatch" Core..=) Core.<$> sparkSqlBatch,+            ("state" Core..=) Core.<$> state,+            ("stateHistory" Core..=) Core.<$> stateHistory,+            ("stateMessage" Core..=) Core.<$> stateMessage,+            ("stateTime" Core..=) Core.<$> stateTime,+            ("uuid" Core..=) Core.<$> uuid+          ]+      )++-- | Optional. The labels to associate with this batch. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https:\/\/www.ietf.org\/rfc\/rfc1035.txt). Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 (https:\/\/www.ietf.org\/rfc\/rfc1035.txt). No more than 32 labels can be associated with a batch.+--+-- /See:/ 'newBatch_Labels' smart constructor.+newtype Batch_Labels = Batch_Labels+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Batch_Labels' with the minimum fields required to make a request.+newBatch_Labels ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  Batch_Labels+newBatch_Labels additional = Batch_Labels {additional = additional}++instance Core.FromJSON Batch_Labels where+  parseJSON =+    Core.withObject+      "Batch_Labels"+      (\o -> Batch_Labels Core.<$> (Core.parseJSONObject o))++instance Core.ToJSON Batch_Labels where+  toJSON Batch_Labels {..} = Core.toJSON additional++-- | Metadata describing the Batch operation.+--+-- /See:/ 'newBatchOperationMetadata' smart constructor.+data BatchOperationMetadata = BatchOperationMetadata+  { -- | Name of the batch for the operation.+    batch :: (Core.Maybe Core.Text),+    -- | Batch UUID for the operation.+    batchUuid :: (Core.Maybe Core.Text),+    -- | The time when the operation was created.+    createTime :: (Core.Maybe Core.DateTime),+    -- | Short description of the operation.+    description :: (Core.Maybe Core.Text),+    -- | The time when the operation finished.+    doneTime :: (Core.Maybe Core.DateTime),+    -- | Labels associated with the operation.+    labels :: (Core.Maybe BatchOperationMetadata_Labels),+    -- | The operation type.+    operationType :: (Core.Maybe BatchOperationMetadata_OperationType),+    -- | Warnings encountered during operation execution.+    warnings :: (Core.Maybe [Core.Text])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BatchOperationMetadata' with the minimum fields required to make a request.+newBatchOperationMetadata ::+  BatchOperationMetadata+newBatchOperationMetadata =+  BatchOperationMetadata+    { batch = Core.Nothing,+      batchUuid = Core.Nothing,+      createTime = Core.Nothing,+      description = Core.Nothing,+      doneTime = Core.Nothing,+      labels = Core.Nothing,+      operationType = Core.Nothing,+      warnings = Core.Nothing+    }++instance Core.FromJSON BatchOperationMetadata where+  parseJSON =+    Core.withObject+      "BatchOperationMetadata"+      ( \o ->+          BatchOperationMetadata+            Core.<$> (o Core..:? "batch")+            Core.<*> (o Core..:? "batchUuid")+            Core.<*> (o Core..:? "createTime")+            Core.<*> (o Core..:? "description")+            Core.<*> (o Core..:? "doneTime")+            Core.<*> (o Core..:? "labels")+            Core.<*> (o Core..:? "operationType")+            Core.<*> (o Core..:? "warnings")+      )++instance Core.ToJSON BatchOperationMetadata where+  toJSON BatchOperationMetadata {..} =+    Core.object+      ( Core.catMaybes+          [ ("batch" Core..=) Core.<$> batch,+            ("batchUuid" Core..=) Core.<$> batchUuid,+            ("createTime" Core..=) Core.<$> createTime,+            ("description" Core..=) Core.<$> description,+            ("doneTime" Core..=) Core.<$> doneTime,+            ("labels" Core..=) Core.<$> labels,+            ("operationType" Core..=) Core.<$> operationType,+            ("warnings" Core..=) Core.<$> warnings+          ]+      )++-- | Labels associated with the operation.+--+-- /See:/ 'newBatchOperationMetadata_Labels' smart constructor.+newtype BatchOperationMetadata_Labels = BatchOperationMetadata_Labels+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BatchOperationMetadata_Labels' with the minimum fields required to make a request.+newBatchOperationMetadata_Labels ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  BatchOperationMetadata_Labels+newBatchOperationMetadata_Labels additional =+  BatchOperationMetadata_Labels {additional = additional}++instance Core.FromJSON BatchOperationMetadata_Labels where+  parseJSON =+    Core.withObject+      "BatchOperationMetadata_Labels"+      ( \o ->+          BatchOperationMetadata_Labels Core.<$> (Core.parseJSONObject o)+      )++instance Core.ToJSON BatchOperationMetadata_Labels where+  toJSON BatchOperationMetadata_Labels {..} = Core.toJSON additional++-- | 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 IAM documentation (https:\/\/cloud.google.com\/iam\/help\/conditions\/resource-policies).+    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 Kubernetes service account (https:\/\/cloud.google.com\/kubernetes-engine\/docs\/how-to\/kubernetes-service-accounts). 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 IAM documentation (https:\/\/cloud.google.com\/iam\/docs\/roles-overview). For a list of the available pre-defined roles, see here (https:\/\/cloud.google.com\/iam\/docs\/understanding-roles).+    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'+          ]+      )++-- | Native Build Info+--+-- /See:/ 'newBuildInfo' smart constructor.+data BuildInfo = BuildInfo+  { -- | Optional. Build key.+    buildKey :: (Core.Maybe Core.Text),+    -- | Optional. Build value.+    buildValue :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'BuildInfo' with the minimum fields required to make a request.+newBuildInfo ::+  BuildInfo+newBuildInfo =+  BuildInfo {buildKey = Core.Nothing, buildValue = Core.Nothing}++instance Core.FromJSON BuildInfo where+  parseJSON =+    Core.withObject+      "BuildInfo"+      ( \o ->+          BuildInfo+            Core.<$> (o Core..:? "buildKey")+            Core.<*> (o Core..:? "buildValue")+      )++instance Core.ToJSON BuildInfo where+  toJSON BuildInfo {..} =+    Core.object+      ( Core.catMaybes+          [ ("buildKey" Core..=) Core.<$> buildKey,+            ("buildValue" Core..=) Core.<$> buildValue+          ]+      )++-- | A request to cancel a job.+--+-- /See:/ 'newCancelJobRequest' smart constructor.+data CancelJobRequest = CancelJobRequest+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'CancelJobRequest' with the minimum fields required to make a request.+newCancelJobRequest ::+  CancelJobRequest+newCancelJobRequest = CancelJobRequest++instance Core.FromJSON CancelJobRequest where+  parseJSON =+    Core.withObject+      "CancelJobRequest"+      (\o -> Core.pure CancelJobRequest)++instance Core.ToJSON CancelJobRequest where+  toJSON = Core.const Core.emptyObject++-- | Describes the identifying information, config, and status of a Dataproc cluster+--+-- /See:/ 'newCluster' smart constructor.+data Cluster = Cluster+  { -- | Required. The cluster name, which must be unique within a project. The name must start with a lowercase letter, and can contain up to 51 lowercase letters, numbers, and hyphens. It cannot end with a hyphen. The name of a deleted cluster can be reused.+    clusterName :: (Core.Maybe Core.Text),+    -- | Output only. A cluster UUID (Unique Universal Identifier). Dataproc generates this value when it creates the cluster.+    clusterUuid :: (Core.Maybe Core.Text),+    -- | Optional. The cluster config for a cluster of Compute Engine Instances. Note that Dataproc may set default values, and values may change when clusters are updated.Exactly one of ClusterConfig or VirtualClusterConfig must be specified.+    config :: (Core.Maybe ClusterConfig),+    -- | Optional. The labels to associate with this cluster. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https:\/\/www.ietf.org\/rfc\/rfc1035.txt). Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 (https:\/\/www.ietf.org\/rfc\/rfc1035.txt). No more than 32 labels can be associated with a cluster.+    labels :: (Core.Maybe Cluster_Labels),+    -- | Output only. Contains cluster daemon metrics such as HDFS and YARN stats.Beta Feature: This report is available for testing purposes only. It may be changed before final release.+    metrics :: (Core.Maybe ClusterMetrics),+    -- | Required. The Google Cloud Platform project ID that the cluster belongs to.+    projectId :: (Core.Maybe Core.Text),+    -- | Output only. Cluster status.+    status :: (Core.Maybe ClusterStatus),+    -- | Output only. The previous cluster status.+    statusHistory :: (Core.Maybe [ClusterStatus]),+    -- | Optional. The virtual cluster config is used when creating a Dataproc cluster that does not directly control the underlying compute resources, for example, when creating a Dataproc-on-GKE cluster (https:\/\/cloud.google.com\/dataproc\/docs\/guides\/dpgke\/dataproc-gke-overview). Dataproc may set default values, and values may change when clusters are updated. Exactly one of config or virtual/cluster/config must be specified.+    virtualClusterConfig :: (Core.Maybe VirtualClusterConfig)+  }+  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+    { clusterName = Core.Nothing,+      clusterUuid = Core.Nothing,+      config = Core.Nothing,+      labels = Core.Nothing,+      metrics = Core.Nothing,+      projectId = Core.Nothing,+      status = Core.Nothing,+      statusHistory = Core.Nothing,+      virtualClusterConfig = Core.Nothing+    }++instance Core.FromJSON Cluster where+  parseJSON =+    Core.withObject+      "Cluster"+      ( \o ->+          Cluster+            Core.<$> (o Core..:? "clusterName")+            Core.<*> (o Core..:? "clusterUuid")+            Core.<*> (o Core..:? "config")+            Core.<*> (o Core..:? "labels")+            Core.<*> (o Core..:? "metrics")+            Core.<*> (o Core..:? "projectId")+            Core.<*> (o Core..:? "status")+            Core.<*> (o Core..:? "statusHistory")+            Core.<*> (o Core..:? "virtualClusterConfig")+      )++instance Core.ToJSON Cluster where+  toJSON Cluster {..} =+    Core.object+      ( Core.catMaybes+          [ ("clusterName" Core..=) Core.<$> clusterName,+            ("clusterUuid" Core..=) Core.<$> clusterUuid,+            ("config" Core..=) Core.<$> config,+            ("labels" Core..=) Core.<$> labels,+            ("metrics" Core..=) Core.<$> metrics,+            ("projectId" Core..=) Core.<$> projectId,+            ("status" Core..=) Core.<$> status,+            ("statusHistory" Core..=) Core.<$> statusHistory,+            ("virtualClusterConfig" Core..=) Core.<$> virtualClusterConfig+          ]+      )++-- | Optional. The labels to associate with this cluster. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https:\/\/www.ietf.org\/rfc\/rfc1035.txt). Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 (https:\/\/www.ietf.org\/rfc\/rfc1035.txt). No more than 32 labels can be associated with a cluster.+--+-- /See:/ 'newCluster_Labels' smart constructor.+newtype Cluster_Labels = Cluster_Labels+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Cluster_Labels' with the minimum fields required to make a request.+newCluster_Labels ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  Cluster_Labels+newCluster_Labels additional =+  Cluster_Labels {additional = additional}++instance Core.FromJSON Cluster_Labels where+  parseJSON =+    Core.withObject+      "Cluster_Labels"+      (\o -> Cluster_Labels Core.<$> (Core.parseJSONObject o))++instance Core.ToJSON Cluster_Labels where+  toJSON Cluster_Labels {..} = Core.toJSON additional++-- | The cluster config.+--+-- /See:/ 'newClusterConfig' smart constructor.+data ClusterConfig = ClusterConfig+  { -- | Optional. Autoscaling config for the policy associated with the cluster. Cluster does not autoscale if this field is unset.+    autoscalingConfig :: (Core.Maybe AutoscalingConfig),+    -- | Optional. The node group settings.+    auxiliaryNodeGroups :: (Core.Maybe [AuxiliaryNodeGroup]),+    -- | Optional. A Cloud Storage bucket used to stage job dependencies, config files, and job driver console output. If you do not specify a staging bucket, Cloud Dataproc will determine a Cloud Storage location (US, ASIA, or EU) for your cluster\'s staging bucket according to the Compute Engine zone where your cluster is deployed, and then create and manage this project-level, per-location bucket (see Dataproc staging and temp buckets (https:\/\/cloud.google.com\/dataproc\/docs\/concepts\/configuring-clusters\/staging-bucket)). This field requires a Cloud Storage bucket name, not a gs:\/\/... URI to a Cloud Storage bucket.+    configBucket :: (Core.Maybe Core.Text),+    -- | Optional. The config for Dataproc metrics.+    dataprocMetricConfig :: (Core.Maybe DataprocMetricConfig),+    -- | Optional. Encryption settings for the cluster.+    encryptionConfig :: (Core.Maybe EncryptionConfig),+    -- | Optional. Port\/endpoint configuration for this cluster+    endpointConfig :: (Core.Maybe EndpointConfig),+    -- | Optional. The shared Compute Engine config settings for all instances in a cluster.+    gceClusterConfig :: (Core.Maybe GceClusterConfig),+    -- | Optional. BETA. The Kubernetes Engine config for Dataproc clusters deployed to The Kubernetes Engine config for Dataproc clusters deployed to Kubernetes. These config settings are mutually exclusive with Compute Engine-based options, such as gce/cluster/config, master/config, worker/config, secondary/worker/config, and autoscaling_config.+    gkeClusterConfig :: (Core.Maybe GkeClusterConfig),+    -- | Optional. Commands to execute on each node after config is completed. By default, executables are run on master and all worker nodes. You can test a node\'s role metadata to run an executable on a master or worker node, as shown below using curl (you can also use wget): ROLE=$(curl -H Metadata-Flavor:Google http:\/\/metadata\/computeMetadata\/v1\/instance\/attributes\/dataproc-role) if [[ \"${ROLE}\" == \'Master\' ]]; then ... master specific actions ... else ... worker specific actions ... fi+    initializationActions :: (Core.Maybe [NodeInitializationAction]),+    -- | Optional. Lifecycle setting for the cluster.+    lifecycleConfig :: (Core.Maybe LifecycleConfig),+    -- | Optional. The Compute Engine config settings for the cluster\'s master instance.+    masterConfig :: (Core.Maybe InstanceGroupConfig),+    -- | Optional. Metastore configuration.+    metastoreConfig :: (Core.Maybe MetastoreConfig),+    -- | Optional. The Compute Engine config settings for a cluster\'s secondary worker instances+    secondaryWorkerConfig :: (Core.Maybe InstanceGroupConfig),+    -- | Optional. Security settings for the cluster.+    securityConfig :: (Core.Maybe SecurityConfig),+    -- | Optional. The config settings for cluster software.+    softwareConfig :: (Core.Maybe SoftwareConfig),+    -- | Optional. A Cloud Storage bucket used to store ephemeral cluster and jobs data, such as Spark and MapReduce history files. If you do not specify a temp bucket, Dataproc will determine a Cloud Storage location (US, ASIA, or EU) for your cluster\'s temp bucket according to the Compute Engine zone where your cluster is deployed, and then create and manage this project-level, per-location bucket. The default bucket has a TTL of 90 days, but you can use any TTL (or none) if you specify a bucket (see Dataproc staging and temp buckets (https:\/\/cloud.google.com\/dataproc\/docs\/concepts\/configuring-clusters\/staging-bucket)). This field requires a Cloud Storage bucket name, not a gs:\/\/... URI to a Cloud Storage bucket.+    tempBucket :: (Core.Maybe Core.Text),+    -- | Optional. The Compute Engine config settings for the cluster\'s worker instances.+    workerConfig :: (Core.Maybe InstanceGroupConfig)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ClusterConfig' with the minimum fields required to make a request.+newClusterConfig ::+  ClusterConfig+newClusterConfig =+  ClusterConfig+    { autoscalingConfig = Core.Nothing,+      auxiliaryNodeGroups = Core.Nothing,+      configBucket = Core.Nothing,+      dataprocMetricConfig = Core.Nothing,+      encryptionConfig = Core.Nothing,+      endpointConfig = Core.Nothing,+      gceClusterConfig = Core.Nothing,+      gkeClusterConfig = Core.Nothing,+      initializationActions = Core.Nothing,+      lifecycleConfig = Core.Nothing,+      masterConfig = Core.Nothing,+      metastoreConfig = Core.Nothing,+      secondaryWorkerConfig = Core.Nothing,+      securityConfig = Core.Nothing,+      softwareConfig = Core.Nothing,+      tempBucket = Core.Nothing,+      workerConfig = Core.Nothing+    }++instance Core.FromJSON ClusterConfig where+  parseJSON =+    Core.withObject+      "ClusterConfig"+      ( \o ->+          ClusterConfig+            Core.<$> (o Core..:? "autoscalingConfig")+            Core.<*> (o Core..:? "auxiliaryNodeGroups")+            Core.<*> (o Core..:? "configBucket")+            Core.<*> (o Core..:? "dataprocMetricConfig")+            Core.<*> (o Core..:? "encryptionConfig")+            Core.<*> (o Core..:? "endpointConfig")+            Core.<*> (o Core..:? "gceClusterConfig")+            Core.<*> (o Core..:? "gkeClusterConfig")+            Core.<*> (o Core..:? "initializationActions")+            Core.<*> (o Core..:? "lifecycleConfig")+            Core.<*> (o Core..:? "masterConfig")+            Core.<*> (o Core..:? "metastoreConfig")+            Core.<*> (o Core..:? "secondaryWorkerConfig")+            Core.<*> (o Core..:? "securityConfig")+            Core.<*> (o Core..:? "softwareConfig")+            Core.<*> (o Core..:? "tempBucket")+            Core.<*> (o Core..:? "workerConfig")+      )++instance Core.ToJSON ClusterConfig where+  toJSON ClusterConfig {..} =+    Core.object+      ( Core.catMaybes+          [ ("autoscalingConfig" Core..=) Core.<$> autoscalingConfig,+            ("auxiliaryNodeGroups" Core..=) Core.<$> auxiliaryNodeGroups,+            ("configBucket" Core..=) Core.<$> configBucket,+            ("dataprocMetricConfig" Core..=) Core.<$> dataprocMetricConfig,+            ("encryptionConfig" Core..=) Core.<$> encryptionConfig,+            ("endpointConfig" Core..=) Core.<$> endpointConfig,+            ("gceClusterConfig" Core..=) Core.<$> gceClusterConfig,+            ("gkeClusterConfig" Core..=) Core.<$> gkeClusterConfig,+            ("initializationActions" Core..=) Core.<$> initializationActions,+            ("lifecycleConfig" Core..=) Core.<$> lifecycleConfig,+            ("masterConfig" Core..=) Core.<$> masterConfig,+            ("metastoreConfig" Core..=) Core.<$> metastoreConfig,+            ("secondaryWorkerConfig" Core..=) Core.<$> secondaryWorkerConfig,+            ("securityConfig" Core..=) Core.<$> securityConfig,+            ("softwareConfig" Core..=) Core.<$> softwareConfig,+            ("tempBucket" Core..=) Core.<$> tempBucket,+            ("workerConfig" Core..=) Core.<$> workerConfig+          ]+      )++-- | Contains cluster daemon metrics, such as HDFS and YARN stats.Beta Feature: This report is available for testing purposes only. It may be changed before final release.+--+-- /See:/ 'newClusterMetrics' smart constructor.+data ClusterMetrics = ClusterMetrics+  { -- | The HDFS metrics.+    hdfsMetrics :: (Core.Maybe ClusterMetrics_HdfsMetrics),+    -- | YARN metrics.+    yarnMetrics :: (Core.Maybe ClusterMetrics_YarnMetrics)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ClusterMetrics' with the minimum fields required to make a request.+newClusterMetrics ::+  ClusterMetrics+newClusterMetrics =+  ClusterMetrics+    { hdfsMetrics = Core.Nothing,+      yarnMetrics = Core.Nothing+    }++instance Core.FromJSON ClusterMetrics where+  parseJSON =+    Core.withObject+      "ClusterMetrics"+      ( \o ->+          ClusterMetrics+            Core.<$> (o Core..:? "hdfsMetrics")+            Core.<*> (o Core..:? "yarnMetrics")+      )++instance Core.ToJSON ClusterMetrics where+  toJSON ClusterMetrics {..} =+    Core.object+      ( Core.catMaybes+          [ ("hdfsMetrics" Core..=) Core.<$> hdfsMetrics,+            ("yarnMetrics" Core..=) Core.<$> yarnMetrics+          ]+      )++-- | The HDFS metrics.+--+-- /See:/ 'newClusterMetrics_HdfsMetrics' smart constructor.+newtype ClusterMetrics_HdfsMetrics = ClusterMetrics_HdfsMetrics+  { additional :: (Core.HashMap Core.Text Core.Int64)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ClusterMetrics_HdfsMetrics' with the minimum fields required to make a request.+newClusterMetrics_HdfsMetrics ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Int64 ->+  ClusterMetrics_HdfsMetrics+newClusterMetrics_HdfsMetrics additional =+  ClusterMetrics_HdfsMetrics {additional = additional}++instance Core.FromJSON ClusterMetrics_HdfsMetrics where+  parseJSON =+    Core.withObject+      "ClusterMetrics_HdfsMetrics"+      ( \o ->+          ClusterMetrics_HdfsMetrics Core.<$> (Core.parseJSONObject o)+      )++instance Core.ToJSON ClusterMetrics_HdfsMetrics where+  toJSON ClusterMetrics_HdfsMetrics {..} = Core.toJSON additional++-- | YARN metrics.+--+-- /See:/ 'newClusterMetrics_YarnMetrics' smart constructor.+newtype ClusterMetrics_YarnMetrics = ClusterMetrics_YarnMetrics+  { additional :: (Core.HashMap Core.Text Core.Int64)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ClusterMetrics_YarnMetrics' with the minimum fields required to make a request.+newClusterMetrics_YarnMetrics ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Int64 ->+  ClusterMetrics_YarnMetrics+newClusterMetrics_YarnMetrics additional =+  ClusterMetrics_YarnMetrics {additional = additional}++instance Core.FromJSON ClusterMetrics_YarnMetrics where+  parseJSON =+    Core.withObject+      "ClusterMetrics_YarnMetrics"+      ( \o ->+          ClusterMetrics_YarnMetrics Core.<$> (Core.parseJSONObject o)+      )++instance Core.ToJSON ClusterMetrics_YarnMetrics where+  toJSON ClusterMetrics_YarnMetrics {..} = Core.toJSON additional++-- | The cluster operation triggered by a workflow.+--+-- /See:/ 'newClusterOperation' smart constructor.+data ClusterOperation = ClusterOperation+  { -- | Output only. Indicates the operation is done.+    done :: (Core.Maybe Core.Bool),+    -- | Output only. Error, if operation failed.+    error :: (Core.Maybe Core.Text),+    -- | Output only. The id of the cluster operation.+    operationId :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ClusterOperation' with the minimum fields required to make a request.+newClusterOperation ::+  ClusterOperation+newClusterOperation =+  ClusterOperation+    { done = Core.Nothing,+      error = Core.Nothing,+      operationId = Core.Nothing+    }++instance Core.FromJSON ClusterOperation where+  parseJSON =+    Core.withObject+      "ClusterOperation"+      ( \o ->+          ClusterOperation+            Core.<$> (o Core..:? "done")+            Core.<*> (o Core..:? "error")+            Core.<*> (o Core..:? "operationId")+      )++instance Core.ToJSON ClusterOperation where+  toJSON ClusterOperation {..} =+    Core.object+      ( Core.catMaybes+          [ ("done" Core..=) Core.<$> done,+            ("error" Core..=) Core.<$> error,+            ("operationId" Core..=) Core.<$> operationId+          ]+      )++-- | Metadata describing the operation.+--+-- /See:/ 'newClusterOperationMetadata' smart constructor.+data ClusterOperationMetadata = ClusterOperationMetadata+  { -- | Output only. Child operation ids+    childOperationIds :: (Core.Maybe [Core.Text]),+    -- | Output only. Name of the cluster for the operation.+    clusterName :: (Core.Maybe Core.Text),+    -- | Output only. Cluster UUID for the operation.+    clusterUuid :: (Core.Maybe Core.Text),+    -- | Output only. Short description of operation.+    description :: (Core.Maybe Core.Text),+    -- | Output only. Labels associated with the operation+    labels :: (Core.Maybe ClusterOperationMetadata_Labels),+    -- | Output only. The operation type.+    operationType :: (Core.Maybe Core.Text),+    -- | Output only. Current operation status.+    status :: (Core.Maybe ClusterOperationStatus),+    -- | Output only. The previous operation status.+    statusHistory :: (Core.Maybe [ClusterOperationStatus]),+    -- | Output only. Errors encountered during operation execution.+    warnings :: (Core.Maybe [Core.Text])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ClusterOperationMetadata' with the minimum fields required to make a request.+newClusterOperationMetadata ::+  ClusterOperationMetadata+newClusterOperationMetadata =+  ClusterOperationMetadata+    { childOperationIds = Core.Nothing,+      clusterName = Core.Nothing,+      clusterUuid = Core.Nothing,+      description = Core.Nothing,+      labels = Core.Nothing,+      operationType = Core.Nothing,+      status = Core.Nothing,+      statusHistory = Core.Nothing,+      warnings = Core.Nothing+    }++instance Core.FromJSON ClusterOperationMetadata where+  parseJSON =+    Core.withObject+      "ClusterOperationMetadata"+      ( \o ->+          ClusterOperationMetadata+            Core.<$> (o Core..:? "childOperationIds")+            Core.<*> (o Core..:? "clusterName")+            Core.<*> (o Core..:? "clusterUuid")+            Core.<*> (o Core..:? "description")+            Core.<*> (o Core..:? "labels")+            Core.<*> (o Core..:? "operationType")+            Core.<*> (o Core..:? "status")+            Core.<*> (o Core..:? "statusHistory")+            Core.<*> (o Core..:? "warnings")+      )++instance Core.ToJSON ClusterOperationMetadata where+  toJSON ClusterOperationMetadata {..} =+    Core.object+      ( Core.catMaybes+          [ ("childOperationIds" Core..=) Core.<$> childOperationIds,+            ("clusterName" Core..=) Core.<$> clusterName,+            ("clusterUuid" Core..=) Core.<$> clusterUuid,+            ("description" Core..=) Core.<$> description,+            ("labels" Core..=) Core.<$> labels,+            ("operationType" Core..=) Core.<$> operationType,+            ("status" Core..=) Core.<$> status,+            ("statusHistory" Core..=) Core.<$> statusHistory,+            ("warnings" Core..=) Core.<$> warnings+          ]+      )++-- | Output only. Labels associated with the operation+--+-- /See:/ 'newClusterOperationMetadata_Labels' smart constructor.+newtype ClusterOperationMetadata_Labels = ClusterOperationMetadata_Labels+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ClusterOperationMetadata_Labels' with the minimum fields required to make a request.+newClusterOperationMetadata_Labels ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  ClusterOperationMetadata_Labels+newClusterOperationMetadata_Labels additional =+  ClusterOperationMetadata_Labels {additional = additional}++instance Core.FromJSON ClusterOperationMetadata_Labels where+  parseJSON =+    Core.withObject+      "ClusterOperationMetadata_Labels"+      ( \o ->+          ClusterOperationMetadata_Labels Core.<$> (Core.parseJSONObject o)+      )++instance Core.ToJSON ClusterOperationMetadata_Labels where+  toJSON ClusterOperationMetadata_Labels {..} = Core.toJSON additional++-- | The status of the operation.+--+-- /See:/ 'newClusterOperationStatus' smart constructor.+data ClusterOperationStatus = ClusterOperationStatus+  { -- | Output only. A message containing any operation metadata details.+    details :: (Core.Maybe Core.Text),+    -- | Output only. A message containing the detailed operation state.+    innerState :: (Core.Maybe Core.Text),+    -- | Output only. A message containing the operation state.+    state :: (Core.Maybe ClusterOperationStatus_State),+    -- | Output only. The time this state was entered.+    stateStartTime :: (Core.Maybe Core.DateTime)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ClusterOperationStatus' with the minimum fields required to make a request.+newClusterOperationStatus ::+  ClusterOperationStatus+newClusterOperationStatus =+  ClusterOperationStatus+    { details = Core.Nothing,+      innerState = Core.Nothing,+      state = Core.Nothing,+      stateStartTime = Core.Nothing+    }++instance Core.FromJSON ClusterOperationStatus where+  parseJSON =+    Core.withObject+      "ClusterOperationStatus"+      ( \o ->+          ClusterOperationStatus+            Core.<$> (o Core..:? "details")+            Core.<*> (o Core..:? "innerState")+            Core.<*> (o Core..:? "state")+            Core.<*> (o Core..:? "stateStartTime")+      )++instance Core.ToJSON ClusterOperationStatus where+  toJSON ClusterOperationStatus {..} =+    Core.object+      ( Core.catMaybes+          [ ("details" Core..=) Core.<$> details,+            ("innerState" Core..=) Core.<$> innerState,+            ("state" Core..=) Core.<$> state,+            ("stateStartTime" Core..=) Core.<$> stateStartTime+          ]+      )++-- | A selector that chooses target cluster for jobs based on metadata.+--+-- /See:/ 'newClusterSelector' smart constructor.+data ClusterSelector = ClusterSelector+  { -- | Required. The cluster labels. Cluster must have all labels to match.+    clusterLabels :: (Core.Maybe ClusterSelector_ClusterLabels),+    -- | Optional. The zone where workflow process executes. This parameter does not affect the selection of the cluster.If unspecified, the zone of the first cluster matching the selector is used.+    zone :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ClusterSelector' with the minimum fields required to make a request.+newClusterSelector ::+  ClusterSelector+newClusterSelector =+  ClusterSelector+    { clusterLabels = Core.Nothing,+      zone = Core.Nothing+    }++instance Core.FromJSON ClusterSelector where+  parseJSON =+    Core.withObject+      "ClusterSelector"+      ( \o ->+          ClusterSelector+            Core.<$> (o Core..:? "clusterLabels")+            Core.<*> (o Core..:? "zone")+      )++instance Core.ToJSON ClusterSelector where+  toJSON ClusterSelector {..} =+    Core.object+      ( Core.catMaybes+          [ ("clusterLabels" Core..=) Core.<$> clusterLabels,+            ("zone" Core..=) Core.<$> zone+          ]+      )++-- | Required. The cluster labels. Cluster must have all labels to match.+--+-- /See:/ 'newClusterSelector_ClusterLabels' smart constructor.+newtype ClusterSelector_ClusterLabels = ClusterSelector_ClusterLabels+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ClusterSelector_ClusterLabels' with the minimum fields required to make a request.+newClusterSelector_ClusterLabels ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  ClusterSelector_ClusterLabels+newClusterSelector_ClusterLabels additional =+  ClusterSelector_ClusterLabels {additional = additional}++instance Core.FromJSON ClusterSelector_ClusterLabels where+  parseJSON =+    Core.withObject+      "ClusterSelector_ClusterLabels"+      ( \o ->+          ClusterSelector_ClusterLabels Core.<$> (Core.parseJSONObject o)+      )++instance Core.ToJSON ClusterSelector_ClusterLabels where+  toJSON ClusterSelector_ClusterLabels {..} = Core.toJSON additional++-- | The status of a cluster and its instances.+--+-- /See:/ 'newClusterStatus' smart constructor.+data ClusterStatus = ClusterStatus+  { -- | Optional. Output only. Details of cluster\'s state.+    detail :: (Core.Maybe Core.Text),+    -- | Output only. The cluster\'s state.+    state :: (Core.Maybe ClusterStatus_State),+    -- | Output only. Time when this state was entered (see JSON representation of Timestamp (https:\/\/developers.google.com\/protocol-buffers\/docs\/proto3#json)).+    stateStartTime :: (Core.Maybe Core.DateTime),+    -- | Output only. Additional state information that includes status reported by the agent.+    substate :: (Core.Maybe ClusterStatus_Substate)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ClusterStatus' with the minimum fields required to make a request.+newClusterStatus ::+  ClusterStatus+newClusterStatus =+  ClusterStatus+    { detail = Core.Nothing,+      state = Core.Nothing,+      stateStartTime = Core.Nothing,+      substate = Core.Nothing+    }++instance Core.FromJSON ClusterStatus where+  parseJSON =+    Core.withObject+      "ClusterStatus"+      ( \o ->+          ClusterStatus+            Core.<$> (o Core..:? "detail")+            Core.<*> (o Core..:? "state")+            Core.<*> (o Core..:? "stateStartTime")+            Core.<*> (o Core..:? "substate")+      )++instance Core.ToJSON ClusterStatus where+  toJSON ClusterStatus {..} =+    Core.object+      ( Core.catMaybes+          [ ("detail" Core..=) Core.<$> detail,+            ("state" Core..=) Core.<$> state,+            ("stateStartTime" Core..=) Core.<$> stateStartTime,+            ("substate" Core..=) Core.<$> substate+          ]+      )++-- | Cluster to be repaired+--+-- /See:/ 'newClusterToRepair' smart constructor.+newtype ClusterToRepair = ClusterToRepair+  { -- | Required. Repair action to take on the cluster resource.+    clusterRepairAction :: (Core.Maybe ClusterToRepair_ClusterRepairAction)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ClusterToRepair' with the minimum fields required to make a request.+newClusterToRepair ::+  ClusterToRepair+newClusterToRepair =+  ClusterToRepair {clusterRepairAction = Core.Nothing}++instance Core.FromJSON ClusterToRepair where+  parseJSON =+    Core.withObject+      "ClusterToRepair"+      ( \o ->+          ClusterToRepair Core.<$> (o Core..:? "clusterRepairAction")+      )++instance Core.ToJSON ClusterToRepair where+  toJSON ClusterToRepair {..} =+    Core.object+      ( Core.catMaybes+          [("clusterRepairAction" Core..=) Core.<$> clusterRepairAction]+      )++-- | Confidential Instance Config for clusters using Confidential VMs (https:\/\/cloud.google.com\/compute\/confidential-vm\/docs)+--+-- /See:/ 'newConfidentialInstanceConfig' smart constructor.+newtype ConfidentialInstanceConfig = ConfidentialInstanceConfig+  { -- | Optional. Defines whether the instance should have confidential compute enabled.+    enableConfidentialCompute :: (Core.Maybe Core.Bool)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ConfidentialInstanceConfig' with the minimum fields required to make a request.+newConfidentialInstanceConfig ::+  ConfidentialInstanceConfig+newConfidentialInstanceConfig =+  ConfidentialInstanceConfig+    { enableConfidentialCompute =+        Core.Nothing+    }++instance Core.FromJSON ConfidentialInstanceConfig where+  parseJSON =+    Core.withObject+      "ConfidentialInstanceConfig"+      ( \o ->+          ConfidentialInstanceConfig+            Core.<$> (o Core..:? "enableConfidentialCompute")+      )++instance Core.ToJSON ConfidentialInstanceConfig where+  toJSON ConfidentialInstanceConfig {..} =+    Core.object+      ( Core.catMaybes+          [ ("enableConfidentialCompute" Core..=)+              Core.<$> enableConfidentialCompute+          ]+      )++-- | Consolidated summary about executors used by the application.+--+-- /See:/ 'newConsolidatedExecutorSummary' smart constructor.+data ConsolidatedExecutorSummary = ConsolidatedExecutorSummary+  { activeTasks :: (Core.Maybe Core.Int32),+    completedTasks :: (Core.Maybe Core.Int32),+    count :: (Core.Maybe Core.Int32),+    diskUsed :: (Core.Maybe Core.Int64),+    failedTasks :: (Core.Maybe Core.Int32),+    isExcluded :: (Core.Maybe Core.Int32),+    maxMemory :: (Core.Maybe Core.Int64),+    memoryMetrics :: (Core.Maybe MemoryMetrics),+    memoryUsed :: (Core.Maybe Core.Int64),+    rddBlocks :: (Core.Maybe Core.Int32),+    totalCores :: (Core.Maybe Core.Int32),+    totalDurationMillis :: (Core.Maybe Core.Int64),+    totalGcTimeMillis :: (Core.Maybe Core.Int64),+    totalInputBytes :: (Core.Maybe Core.Int64),+    totalShuffleRead :: (Core.Maybe Core.Int64),+    totalShuffleWrite :: (Core.Maybe Core.Int64),+    totalTasks :: (Core.Maybe Core.Int32)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ConsolidatedExecutorSummary' with the minimum fields required to make a request.+newConsolidatedExecutorSummary ::+  ConsolidatedExecutorSummary+newConsolidatedExecutorSummary =+  ConsolidatedExecutorSummary+    { activeTasks = Core.Nothing,+      completedTasks = Core.Nothing,+      count = Core.Nothing,+      diskUsed = Core.Nothing,+      failedTasks = Core.Nothing,+      isExcluded = Core.Nothing,+      maxMemory = Core.Nothing,+      memoryMetrics = Core.Nothing,+      memoryUsed = Core.Nothing,+      rddBlocks = Core.Nothing,+      totalCores = Core.Nothing,+      totalDurationMillis = Core.Nothing,+      totalGcTimeMillis = Core.Nothing,+      totalInputBytes = Core.Nothing,+      totalShuffleRead = Core.Nothing,+      totalShuffleWrite = Core.Nothing,+      totalTasks = Core.Nothing+    }++instance Core.FromJSON ConsolidatedExecutorSummary where+  parseJSON =+    Core.withObject+      "ConsolidatedExecutorSummary"+      ( \o ->+          ConsolidatedExecutorSummary+            Core.<$> (o Core..:? "activeTasks")+            Core.<*> (o Core..:? "completedTasks")+            Core.<*> (o Core..:? "count")+            Core.<*> (o Core..:? "diskUsed" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "failedTasks")+            Core.<*> (o Core..:? "isExcluded")+            Core.<*> (o Core..:? "maxMemory" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "memoryMetrics")+            Core.<*> (o Core..:? "memoryUsed" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "rddBlocks")+            Core.<*> (o Core..:? "totalCores")+            Core.<*> ( o+                         Core..:? "totalDurationMillis"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> (o Core..:? "totalGcTimeMillis" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "totalInputBytes" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "totalShuffleRead" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "totalShuffleWrite" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "totalTasks")+      )++instance Core.ToJSON ConsolidatedExecutorSummary where+  toJSON ConsolidatedExecutorSummary {..} =+    Core.object+      ( Core.catMaybes+          [ ("activeTasks" Core..=) Core.<$> activeTasks,+            ("completedTasks" Core..=) Core.<$> completedTasks,+            ("count" Core..=) Core.<$> count,+            ("diskUsed" Core..=) Core.. Core.AsText Core.<$> diskUsed,+            ("failedTasks" Core..=) Core.<$> failedTasks,+            ("isExcluded" Core..=) Core.<$> isExcluded,+            ("maxMemory" Core..=) Core.. Core.AsText Core.<$> maxMemory,+            ("memoryMetrics" Core..=) Core.<$> memoryMetrics,+            ("memoryUsed" Core..=) Core.. Core.AsText Core.<$> memoryUsed,+            ("rddBlocks" Core..=) Core.<$> rddBlocks,+            ("totalCores" Core..=) Core.<$> totalCores,+            ("totalDurationMillis" Core..=)+              Core.. Core.AsText+              Core.<$> totalDurationMillis,+            ("totalGcTimeMillis" Core..=)+              Core.. Core.AsText+              Core.<$> totalGcTimeMillis,+            ("totalInputBytes" Core..=)+              Core.. Core.AsText+              Core.<$> totalInputBytes,+            ("totalShuffleRead" Core..=)+              Core.. Core.AsText+              Core.<$> totalShuffleRead,+            ("totalShuffleWrite" Core..=)+              Core.. Core.AsText+              Core.<$> totalShuffleWrite,+            ("totalTasks" Core..=) Core.<$> totalTasks+          ]+      )++-- | Dataproc metric config.+--+-- /See:/ 'newDataprocMetricConfig' smart constructor.+newtype DataprocMetricConfig = DataprocMetricConfig+  { -- | Required. Metrics sources to enable.+    metrics :: (Core.Maybe [Metric])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DataprocMetricConfig' with the minimum fields required to make a request.+newDataprocMetricConfig ::+  DataprocMetricConfig+newDataprocMetricConfig =+  DataprocMetricConfig {metrics = Core.Nothing}++instance Core.FromJSON DataprocMetricConfig where+  parseJSON =+    Core.withObject+      "DataprocMetricConfig"+      (\o -> DataprocMetricConfig Core.<$> (o Core..:? "metrics"))++instance Core.ToJSON DataprocMetricConfig where+  toJSON DataprocMetricConfig {..} =+    Core.object+      (Core.catMaybes [("metrics" Core..=) Core.<$> metrics])++-- | A request to collect cluster diagnostic information.+--+-- /See:/ 'newDiagnoseClusterRequest' smart constructor.+data DiagnoseClusterRequest = DiagnoseClusterRequest+  { -- | Optional. Time interval in which diagnosis should be carried out on the cluster.+    diagnosisInterval :: (Core.Maybe Interval),+    -- | Optional. DEPRECATED Specifies the job on which diagnosis is to be performed. Format: projects\/{project}\/regions\/{region}\/jobs\/{job}+    job :: (Core.Maybe Core.Text),+    -- | Optional. Specifies a list of jobs on which diagnosis is to be performed. Format: projects\/{project}\/regions\/{region}\/jobs\/{job}+    jobs :: (Core.Maybe [Core.Text]),+    -- | Optional. (Optional) The access type to the diagnostic tarball. If not specified, falls back to default access of the bucket+    tarballAccess :: (Core.Maybe DiagnoseClusterRequest_TarballAccess),+    -- | Optional. (Optional) The output Cloud Storage directory for the diagnostic tarball. If not specified, a task-specific directory in the cluster\'s staging bucket will be used.+    tarballGcsDir :: (Core.Maybe Core.Text),+    -- | Optional. DEPRECATED Specifies the yarn application on which diagnosis is to be performed.+    yarnApplicationId :: (Core.Maybe Core.Text),+    -- | Optional. Specifies a list of yarn applications on which diagnosis is to be performed.+    yarnApplicationIds :: (Core.Maybe [Core.Text])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DiagnoseClusterRequest' with the minimum fields required to make a request.+newDiagnoseClusterRequest ::+  DiagnoseClusterRequest+newDiagnoseClusterRequest =+  DiagnoseClusterRequest+    { diagnosisInterval = Core.Nothing,+      job = Core.Nothing,+      jobs = Core.Nothing,+      tarballAccess = Core.Nothing,+      tarballGcsDir = Core.Nothing,+      yarnApplicationId = Core.Nothing,+      yarnApplicationIds = Core.Nothing+    }++instance Core.FromJSON DiagnoseClusterRequest where+  parseJSON =+    Core.withObject+      "DiagnoseClusterRequest"+      ( \o ->+          DiagnoseClusterRequest+            Core.<$> (o Core..:? "diagnosisInterval")+            Core.<*> (o Core..:? "job")+            Core.<*> (o Core..:? "jobs")+            Core.<*> (o Core..:? "tarballAccess")+            Core.<*> (o Core..:? "tarballGcsDir")+            Core.<*> (o Core..:? "yarnApplicationId")+            Core.<*> (o Core..:? "yarnApplicationIds")+      )++instance Core.ToJSON DiagnoseClusterRequest where+  toJSON DiagnoseClusterRequest {..} =+    Core.object+      ( Core.catMaybes+          [ ("diagnosisInterval" Core..=) Core.<$> diagnosisInterval,+            ("job" Core..=) Core.<$> job,+            ("jobs" Core..=) Core.<$> jobs,+            ("tarballAccess" Core..=) Core.<$> tarballAccess,+            ("tarballGcsDir" Core..=) Core.<$> tarballGcsDir,+            ("yarnApplicationId" Core..=) Core.<$> yarnApplicationId,+            ("yarnApplicationIds" Core..=) Core.<$> yarnApplicationIds+          ]+      )++-- | The location of diagnostic output.+--+-- /See:/ 'newDiagnoseClusterResults' smart constructor.+newtype DiagnoseClusterResults = DiagnoseClusterResults+  { -- | Output only. The Cloud Storage URI of the diagnostic output. The output report is a plain text file with a summary of collected diagnostics.+    outputUri :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DiagnoseClusterResults' with the minimum fields required to make a request.+newDiagnoseClusterResults ::+  DiagnoseClusterResults+newDiagnoseClusterResults =+  DiagnoseClusterResults {outputUri = Core.Nothing}++instance Core.FromJSON DiagnoseClusterResults where+  parseJSON =+    Core.withObject+      "DiagnoseClusterResults"+      (\o -> DiagnoseClusterResults Core.<$> (o Core..:? "outputUri"))++instance Core.ToJSON DiagnoseClusterResults where+  toJSON DiagnoseClusterResults {..} =+    Core.object+      (Core.catMaybes [("outputUri" Core..=) Core.<$> outputUri])++-- | Specifies the config of disk options for a group of VM instances.+--+-- /See:/ 'newDiskConfig' smart constructor.+data DiskConfig = DiskConfig+  { -- | Optional. Indicates how many IOPS to provision for the disk. This sets the number of I\/O operations per second that the disk can handle. This field is supported only if boot/disk/type is hyperdisk-balanced.+    bootDiskProvisionedIops :: (Core.Maybe Core.Int64),+    -- | Optional. Indicates how much throughput to provision for the disk. This sets the number of throughput mb per second that the disk can handle. Values must be greater than or equal to 1. This field is supported only if boot/disk/type is hyperdisk-balanced.+    bootDiskProvisionedThroughput :: (Core.Maybe Core.Int64),+    -- | Optional. Size in GB of the boot disk (default is 500GB).+    bootDiskSizeGb :: (Core.Maybe Core.Int32),+    -- | Optional. Type of the boot disk (default is \"pd-standard\"). Valid values: \"pd-balanced\" (Persistent Disk Balanced Solid State Drive), \"pd-ssd\" (Persistent Disk Solid State Drive), or \"pd-standard\" (Persistent Disk Hard Disk Drive). See Disk types (https:\/\/cloud.google.com\/compute\/docs\/disks#disk-types).+    bootDiskType :: (Core.Maybe Core.Text),+    -- | Optional. Interface type of local SSDs (default is \"scsi\"). Valid values: \"scsi\" (Small Computer System Interface), \"nvme\" (Non-Volatile Memory Express). See local SSD performance (https:\/\/cloud.google.com\/compute\/docs\/disks\/local-ssd#performance).+    localSsdInterface :: (Core.Maybe Core.Text),+    -- | Optional. Number of attached SSDs, from 0 to 8 (default is 0). If SSDs are not attached, the boot disk is used to store runtime logs and HDFS (https:\/\/hadoop.apache.org\/docs\/r1.2.1\/hdfs/user/guide.html) data. If one or more SSDs are attached, this runtime bulk data is spread across them, and the boot disk contains only basic config and installed binaries.Note: Local SSD options may vary by machine type and number of vCPUs selected.+    numLocalSsds :: (Core.Maybe Core.Int32)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DiskConfig' with the minimum fields required to make a request.+newDiskConfig ::+  DiskConfig+newDiskConfig =+  DiskConfig+    { bootDiskProvisionedIops = Core.Nothing,+      bootDiskProvisionedThroughput = Core.Nothing,+      bootDiskSizeGb = Core.Nothing,+      bootDiskType = Core.Nothing,+      localSsdInterface = Core.Nothing,+      numLocalSsds = Core.Nothing+    }++instance Core.FromJSON DiskConfig where+  parseJSON =+    Core.withObject+      "DiskConfig"+      ( \o ->+          DiskConfig+            Core.<$> ( o+                         Core..:? "bootDiskProvisionedIops"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> ( o+                         Core..:? "bootDiskProvisionedThroughput"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> (o Core..:? "bootDiskSizeGb")+            Core.<*> (o Core..:? "bootDiskType")+            Core.<*> (o Core..:? "localSsdInterface")+            Core.<*> (o Core..:? "numLocalSsds")+      )++instance Core.ToJSON DiskConfig where+  toJSON DiskConfig {..} =+    Core.object+      ( Core.catMaybes+          [ ("bootDiskProvisionedIops" Core..=)+              Core.. Core.AsText+              Core.<$> bootDiskProvisionedIops,+            ("bootDiskProvisionedThroughput" Core..=)+              Core.. Core.AsText+              Core.<$> bootDiskProvisionedThroughput,+            ("bootDiskSizeGb" Core..=) Core.<$> bootDiskSizeGb,+            ("bootDiskType" Core..=) Core.<$> bootDiskType,+            ("localSsdInterface" Core..=) Core.<$> localSsdInterface,+            ("numLocalSsds" Core..=) Core.<$> numLocalSsds+          ]+      )++-- | Driver scheduling configuration.+--+-- /See:/ 'newDriverSchedulingConfig' smart constructor.+data DriverSchedulingConfig = DriverSchedulingConfig+  { -- | Required. The amount of memory in MB the driver is requesting.+    memoryMb :: (Core.Maybe Core.Int32),+    -- | Required. The number of vCPUs the driver is requesting.+    vcores :: (Core.Maybe Core.Int32)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DriverSchedulingConfig' with the minimum fields required to make a request.+newDriverSchedulingConfig ::+  DriverSchedulingConfig+newDriverSchedulingConfig =+  DriverSchedulingConfig+    { memoryMb = Core.Nothing,+      vcores = Core.Nothing+    }++instance Core.FromJSON DriverSchedulingConfig where+  parseJSON =+    Core.withObject+      "DriverSchedulingConfig"+      ( \o ->+          DriverSchedulingConfig+            Core.<$> (o Core..:? "memoryMb")+            Core.<*> (o Core..:? "vcores")+      )++instance Core.ToJSON DriverSchedulingConfig where+  toJSON DriverSchedulingConfig {..} =+    Core.object+      ( Core.catMaybes+          [ ("memoryMb" Core..=) Core.<$> memoryMb,+            ("vcores" Core..=) Core.<$> vcores+          ]+      )++-- | A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }+--+-- /See:/ 'newEmpty' smart constructor.+data Empty = Empty+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Empty' with the minimum fields required to make a request.+newEmpty ::+  Empty+newEmpty = Empty++instance Core.FromJSON Empty where+  parseJSON = Core.withObject "Empty" (\o -> Core.pure Empty)++instance Core.ToJSON Empty where+  toJSON = Core.const Core.emptyObject++-- | Encryption settings for the cluster.+--+-- /See:/ 'newEncryptionConfig' smart constructor.+data EncryptionConfig = EncryptionConfig+  { -- | Optional. The Cloud KMS key resource name to use for persistent disk encryption for all instances in the cluster. See Use CMEK with cluster data (https:\/\/cloud.google.com\/\/dataproc\/docs\/concepts\/configuring-clusters\/customer-managed-encryption#use/cmek/with/cluster/data) for more information.+    gcePdKmsKeyName :: (Core.Maybe Core.Text),+    -- | Optional. The Cloud KMS key resource name to use for cluster persistent disk and job argument encryption. See Use CMEK with cluster data (https:\/\/cloud.google.com\/\/dataproc\/docs\/concepts\/configuring-clusters\/customer-managed-encryption#use/cmek/with/cluster/data) for more information.When this key resource name is provided, the following job arguments of the following job types submitted to the cluster are encrypted using CMEK: FlinkJob args (https:\/\/cloud.google.com\/dataproc\/docs\/reference\/rest\/v1\/FlinkJob) HadoopJob args (https:\/\/cloud.google.com\/dataproc\/docs\/reference\/rest\/v1\/HadoopJob) SparkJob args (https:\/\/cloud.google.com\/dataproc\/docs\/reference\/rest\/v1\/SparkJob) SparkRJob args (https:\/\/cloud.google.com\/dataproc\/docs\/reference\/rest\/v1\/SparkRJob) PySparkJob args (https:\/\/cloud.google.com\/dataproc\/docs\/reference\/rest\/v1\/PySparkJob) SparkSqlJob (https:\/\/cloud.google.com\/dataproc\/docs\/reference\/rest\/v1\/SparkSqlJob) scriptVariables and+    -- queryList.queries HiveJob (https:\/\/cloud.google.com\/dataproc\/docs\/reference\/rest\/v1\/HiveJob) scriptVariables and queryList.queries PigJob (https:\/\/cloud.google.com\/dataproc\/docs\/reference\/rest\/v1\/PigJob) scriptVariables and queryList.queries PrestoJob (https:\/\/cloud.google.com\/dataproc\/docs\/reference\/rest\/v1\/PrestoJob) scriptVariables and queryList.queries+    kmsKey :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'EncryptionConfig' with the minimum fields required to make a request.+newEncryptionConfig ::+  EncryptionConfig+newEncryptionConfig =+  EncryptionConfig+    { gcePdKmsKeyName = Core.Nothing,+      kmsKey = Core.Nothing+    }++instance Core.FromJSON EncryptionConfig where+  parseJSON =+    Core.withObject+      "EncryptionConfig"+      ( \o ->+          EncryptionConfig+            Core.<$> (o Core..:? "gcePdKmsKeyName")+            Core.<*> (o Core..:? "kmsKey")+      )++instance Core.ToJSON EncryptionConfig where+  toJSON EncryptionConfig {..} =+    Core.object+      ( Core.catMaybes+          [ ("gcePdKmsKeyName" Core..=) Core.<$> gcePdKmsKeyName,+            ("kmsKey" Core..=) Core.<$> kmsKey+          ]+      )++-- | Endpoint config for this cluster+--+-- /See:/ 'newEndpointConfig' smart constructor.+data EndpointConfig = EndpointConfig+  { -- | Optional. If true, enable http access to specific ports on the cluster from external sources. Defaults to false.+    enableHttpPortAccess :: (Core.Maybe Core.Bool),+    -- | Output only. The map of port descriptions to URLs. Will only be populated if enable/http/port_access is true.+    httpPorts :: (Core.Maybe EndpointConfig_HttpPorts)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'EndpointConfig' with the minimum fields required to make a request.+newEndpointConfig ::+  EndpointConfig+newEndpointConfig =+  EndpointConfig+    { enableHttpPortAccess = Core.Nothing,+      httpPorts = Core.Nothing+    }++instance Core.FromJSON EndpointConfig where+  parseJSON =+    Core.withObject+      "EndpointConfig"+      ( \o ->+          EndpointConfig+            Core.<$> (o Core..:? "enableHttpPortAccess")+            Core.<*> (o Core..:? "httpPorts")+      )++instance Core.ToJSON EndpointConfig where+  toJSON EndpointConfig {..} =+    Core.object+      ( Core.catMaybes+          [ ("enableHttpPortAccess" Core..=) Core.<$> enableHttpPortAccess,+            ("httpPorts" Core..=) Core.<$> httpPorts+          ]+      )++-- | Output only. The map of port descriptions to URLs. Will only be populated if enable/http/port_access is true.+--+-- /See:/ 'newEndpointConfig_HttpPorts' smart constructor.+newtype EndpointConfig_HttpPorts = EndpointConfig_HttpPorts+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'EndpointConfig_HttpPorts' with the minimum fields required to make a request.+newEndpointConfig_HttpPorts ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  EndpointConfig_HttpPorts+newEndpointConfig_HttpPorts additional =+  EndpointConfig_HttpPorts {additional = additional}++instance Core.FromJSON EndpointConfig_HttpPorts where+  parseJSON =+    Core.withObject+      "EndpointConfig_HttpPorts"+      (\o -> EndpointConfig_HttpPorts Core.<$> (Core.parseJSONObject o))++instance Core.ToJSON EndpointConfig_HttpPorts where+  toJSON EndpointConfig_HttpPorts {..} = Core.toJSON additional++-- | Environment configuration for a workload.+--+-- /See:/ 'newEnvironmentConfig' smart constructor.+data EnvironmentConfig = EnvironmentConfig+  { -- | Optional. Execution configuration for a workload.+    executionConfig :: (Core.Maybe ExecutionConfig),+    -- | Optional. Peripherals configuration that workload has access to.+    peripheralsConfig :: (Core.Maybe PeripheralsConfig)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'EnvironmentConfig' with the minimum fields required to make a request.+newEnvironmentConfig ::+  EnvironmentConfig+newEnvironmentConfig =+  EnvironmentConfig+    { executionConfig = Core.Nothing,+      peripheralsConfig = Core.Nothing+    }++instance Core.FromJSON EnvironmentConfig where+  parseJSON =+    Core.withObject+      "EnvironmentConfig"+      ( \o ->+          EnvironmentConfig+            Core.<$> (o Core..:? "executionConfig")+            Core.<*> (o Core..:? "peripheralsConfig")+      )++instance Core.ToJSON EnvironmentConfig where+  toJSON EnvironmentConfig {..} =+    Core.object+      ( Core.catMaybes+          [ ("executionConfig" Core..=) Core.<$> executionConfig,+            ("peripheralsConfig" Core..=) Core.<$> peripheralsConfig+          ]+      )++-- | Execution configuration for a workload.+--+-- /See:/ 'newExecutionConfig' smart constructor.+data ExecutionConfig = ExecutionConfig+  { -- | Optional. Applies to sessions only. The duration to keep the session alive while it\'s idling. Exceeding this threshold causes the session to terminate. This field cannot be set on a batch workload. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of Duration (https:\/\/developers.google.com\/protocol-buffers\/docs\/proto3#json)). Defaults to 1 hour if not set. If both ttl and idle/ttl are specified for an interactive session, the conditions are treated as OR conditions: the workload will be terminated when it has been idle for idle/ttl or when ttl has been exceeded, whichever occurs first.+    idleTtl :: (Core.Maybe Core.Duration),+    -- | Optional. The Cloud KMS key to use for encryption.+    kmsKey :: (Core.Maybe Core.Text),+    -- | Optional. Tags used for network traffic control.+    networkTags :: (Core.Maybe [Core.Text]),+    -- | Optional. Network URI to connect workload to.+    networkUri :: (Core.Maybe Core.Text),+    -- | Optional. Service account that used to execute workload.+    serviceAccount :: (Core.Maybe Core.Text),+    -- | Optional. A Cloud Storage bucket used to stage workload dependencies, config files, and store workload output and other ephemeral data, such as Spark history files. If you do not specify a staging bucket, Cloud Dataproc will determine a Cloud Storage location according to the region where your workload is running, and then create and manage project-level, per-location staging and temporary buckets. This field requires a Cloud Storage bucket name, not a gs:\/\/... URI to a Cloud Storage bucket.+    stagingBucket :: (Core.Maybe Core.Text),+    -- | Optional. Subnetwork URI to connect workload to.+    subnetworkUri :: (Core.Maybe Core.Text),+    -- | Optional. The duration after which the workload will be terminated, specified as the JSON representation for Duration (https:\/\/protobuf.dev\/programming-guides\/proto3\/#json). When the workload exceeds this duration, it will be unconditionally terminated without waiting for ongoing work to finish. If ttl is not specified for a batch workload, the workload will be allowed to run until it exits naturally (or run forever without exiting). If ttl is not specified for an interactive session, it defaults to 24 hours. If ttl is not specified for a batch that uses 2.1+ runtime version, it defaults to 4 hours. Minimum value is 10 minutes; maximum value is 14 days. If both ttl and idle/ttl are specified (for an interactive session), the conditions are treated as OR conditions: the workload will be terminated when it has been idle for idle/ttl or when ttl has been exceeded, whichever occurs first.+    ttl :: (Core.Maybe Core.Duration)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ExecutionConfig' with the minimum fields required to make a request.+newExecutionConfig ::+  ExecutionConfig+newExecutionConfig =+  ExecutionConfig+    { idleTtl = Core.Nothing,+      kmsKey = Core.Nothing,+      networkTags = Core.Nothing,+      networkUri = Core.Nothing,+      serviceAccount = Core.Nothing,+      stagingBucket = Core.Nothing,+      subnetworkUri = Core.Nothing,+      ttl = Core.Nothing+    }++instance Core.FromJSON ExecutionConfig where+  parseJSON =+    Core.withObject+      "ExecutionConfig"+      ( \o ->+          ExecutionConfig+            Core.<$> (o Core..:? "idleTtl")+            Core.<*> (o Core..:? "kmsKey")+            Core.<*> (o Core..:? "networkTags")+            Core.<*> (o Core..:? "networkUri")+            Core.<*> (o Core..:? "serviceAccount")+            Core.<*> (o Core..:? "stagingBucket")+            Core.<*> (o Core..:? "subnetworkUri")+            Core.<*> (o Core..:? "ttl")+      )++instance Core.ToJSON ExecutionConfig where+  toJSON ExecutionConfig {..} =+    Core.object+      ( Core.catMaybes+          [ ("idleTtl" Core..=) Core.<$> idleTtl,+            ("kmsKey" Core..=) Core.<$> kmsKey,+            ("networkTags" Core..=) Core.<$> networkTags,+            ("networkUri" Core..=) Core.<$> networkUri,+            ("serviceAccount" Core..=) Core.<$> serviceAccount,+            ("stagingBucket" Core..=) Core.<$> stagingBucket,+            ("subnetworkUri" Core..=) Core.<$> subnetworkUri,+            ("ttl" Core..=) Core.<$> ttl+          ]+      )++--+-- /See:/ 'newExecutorMetrics' smart constructor.+newtype ExecutorMetrics = ExecutorMetrics+  { metrics :: (Core.Maybe ExecutorMetrics_Metrics)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ExecutorMetrics' with the minimum fields required to make a request.+newExecutorMetrics ::+  ExecutorMetrics+newExecutorMetrics = ExecutorMetrics {metrics = Core.Nothing}++instance Core.FromJSON ExecutorMetrics where+  parseJSON =+    Core.withObject+      "ExecutorMetrics"+      (\o -> ExecutorMetrics Core.<$> (o Core..:? "metrics"))++instance Core.ToJSON ExecutorMetrics where+  toJSON ExecutorMetrics {..} =+    Core.object+      (Core.catMaybes [("metrics" Core..=) Core.<$> metrics])++--+-- /See:/ 'newExecutorMetrics_Metrics' smart constructor.+newtype ExecutorMetrics_Metrics = ExecutorMetrics_Metrics+  { additional :: (Core.HashMap Core.Text Core.Int64)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ExecutorMetrics_Metrics' with the minimum fields required to make a request.+newExecutorMetrics_Metrics ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Int64 ->+  ExecutorMetrics_Metrics+newExecutorMetrics_Metrics additional =+  ExecutorMetrics_Metrics {additional = additional}++instance Core.FromJSON ExecutorMetrics_Metrics where+  parseJSON =+    Core.withObject+      "ExecutorMetrics_Metrics"+      (\o -> ExecutorMetrics_Metrics Core.<$> (Core.parseJSONObject o))++instance Core.ToJSON ExecutorMetrics_Metrics where+  toJSON ExecutorMetrics_Metrics {..} = Core.toJSON additional++--+-- /See:/ 'newExecutorMetricsDistributions' smart constructor.+data ExecutorMetricsDistributions = ExecutorMetricsDistributions+  { diskBytesSpilled :: (Core.Maybe [Core.Double]),+    failedTasks :: (Core.Maybe [Core.Double]),+    inputBytes :: (Core.Maybe [Core.Double]),+    inputRecords :: (Core.Maybe [Core.Double]),+    killedTasks :: (Core.Maybe [Core.Double]),+    memoryBytesSpilled :: (Core.Maybe [Core.Double]),+    outputBytes :: (Core.Maybe [Core.Double]),+    outputRecords :: (Core.Maybe [Core.Double]),+    peakMemoryMetrics :: (Core.Maybe ExecutorPeakMetricsDistributions),+    quantiles :: (Core.Maybe [Core.Double]),+    shuffleRead :: (Core.Maybe [Core.Double]),+    shuffleReadRecords :: (Core.Maybe [Core.Double]),+    shuffleWrite :: (Core.Maybe [Core.Double]),+    shuffleWriteRecords :: (Core.Maybe [Core.Double]),+    succeededTasks :: (Core.Maybe [Core.Double]),+    taskTimeMillis :: (Core.Maybe [Core.Double])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ExecutorMetricsDistributions' with the minimum fields required to make a request.+newExecutorMetricsDistributions ::+  ExecutorMetricsDistributions+newExecutorMetricsDistributions =+  ExecutorMetricsDistributions+    { diskBytesSpilled = Core.Nothing,+      failedTasks = Core.Nothing,+      inputBytes = Core.Nothing,+      inputRecords = Core.Nothing,+      killedTasks = Core.Nothing,+      memoryBytesSpilled = Core.Nothing,+      outputBytes = Core.Nothing,+      outputRecords = Core.Nothing,+      peakMemoryMetrics = Core.Nothing,+      quantiles = Core.Nothing,+      shuffleRead = Core.Nothing,+      shuffleReadRecords = Core.Nothing,+      shuffleWrite = Core.Nothing,+      shuffleWriteRecords = Core.Nothing,+      succeededTasks = Core.Nothing,+      taskTimeMillis = Core.Nothing+    }++instance Core.FromJSON ExecutorMetricsDistributions where+  parseJSON =+    Core.withObject+      "ExecutorMetricsDistributions"+      ( \o ->+          ExecutorMetricsDistributions+            Core.<$> (o Core..:? "diskBytesSpilled")+            Core.<*> (o Core..:? "failedTasks")+            Core.<*> (o Core..:? "inputBytes")+            Core.<*> (o Core..:? "inputRecords")+            Core.<*> (o Core..:? "killedTasks")+            Core.<*> (o Core..:? "memoryBytesSpilled")+            Core.<*> (o Core..:? "outputBytes")+            Core.<*> (o Core..:? "outputRecords")+            Core.<*> (o Core..:? "peakMemoryMetrics")+            Core.<*> (o Core..:? "quantiles")+            Core.<*> (o Core..:? "shuffleRead")+            Core.<*> (o Core..:? "shuffleReadRecords")+            Core.<*> (o Core..:? "shuffleWrite")+            Core.<*> (o Core..:? "shuffleWriteRecords")+            Core.<*> (o Core..:? "succeededTasks")+            Core.<*> (o Core..:? "taskTimeMillis")+      )++instance Core.ToJSON ExecutorMetricsDistributions where+  toJSON ExecutorMetricsDistributions {..} =+    Core.object+      ( Core.catMaybes+          [ ("diskBytesSpilled" Core..=) Core.<$> diskBytesSpilled,+            ("failedTasks" Core..=) Core.<$> failedTasks,+            ("inputBytes" Core..=) Core.<$> inputBytes,+            ("inputRecords" Core..=) Core.<$> inputRecords,+            ("killedTasks" Core..=) Core.<$> killedTasks,+            ("memoryBytesSpilled" Core..=) Core.<$> memoryBytesSpilled,+            ("outputBytes" Core..=) Core.<$> outputBytes,+            ("outputRecords" Core..=) Core.<$> outputRecords,+            ("peakMemoryMetrics" Core..=) Core.<$> peakMemoryMetrics,+            ("quantiles" Core..=) Core.<$> quantiles,+            ("shuffleRead" Core..=) Core.<$> shuffleRead,+            ("shuffleReadRecords" Core..=) Core.<$> shuffleReadRecords,+            ("shuffleWrite" Core..=) Core.<$> shuffleWrite,+            ("shuffleWriteRecords" Core..=) Core.<$> shuffleWriteRecords,+            ("succeededTasks" Core..=) Core.<$> succeededTasks,+            ("taskTimeMillis" Core..=) Core.<$> taskTimeMillis+          ]+      )++--+-- /See:/ 'newExecutorPeakMetricsDistributions' smart constructor.+data ExecutorPeakMetricsDistributions = ExecutorPeakMetricsDistributions+  { executorMetrics :: (Core.Maybe [ExecutorMetrics]),+    quantiles :: (Core.Maybe [Core.Double])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ExecutorPeakMetricsDistributions' with the minimum fields required to make a request.+newExecutorPeakMetricsDistributions ::+  ExecutorPeakMetricsDistributions+newExecutorPeakMetricsDistributions =+  ExecutorPeakMetricsDistributions+    { executorMetrics = Core.Nothing,+      quantiles = Core.Nothing+    }++instance Core.FromJSON ExecutorPeakMetricsDistributions where+  parseJSON =+    Core.withObject+      "ExecutorPeakMetricsDistributions"+      ( \o ->+          ExecutorPeakMetricsDistributions+            Core.<$> (o Core..:? "executorMetrics")+            Core.<*> (o Core..:? "quantiles")+      )++instance Core.ToJSON ExecutorPeakMetricsDistributions where+  toJSON ExecutorPeakMetricsDistributions {..} =+    Core.object+      ( Core.catMaybes+          [ ("executorMetrics" Core..=) Core.<$> executorMetrics,+            ("quantiles" Core..=) Core.<$> quantiles+          ]+      )++-- | Resources used per executor used by the application.+--+-- /See:/ 'newExecutorResourceRequest' smart constructor.+data ExecutorResourceRequest = ExecutorResourceRequest+  { amount :: (Core.Maybe Core.Int64),+    discoveryScript :: (Core.Maybe Core.Text),+    resourceName :: (Core.Maybe Core.Text),+    vendor :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ExecutorResourceRequest' with the minimum fields required to make a request.+newExecutorResourceRequest ::+  ExecutorResourceRequest+newExecutorResourceRequest =+  ExecutorResourceRequest+    { amount = Core.Nothing,+      discoveryScript = Core.Nothing,+      resourceName = Core.Nothing,+      vendor = Core.Nothing+    }++instance Core.FromJSON ExecutorResourceRequest where+  parseJSON =+    Core.withObject+      "ExecutorResourceRequest"+      ( \o ->+          ExecutorResourceRequest+            Core.<$> (o Core..:? "amount" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "discoveryScript")+            Core.<*> (o Core..:? "resourceName")+            Core.<*> (o Core..:? "vendor")+      )++instance Core.ToJSON ExecutorResourceRequest where+  toJSON ExecutorResourceRequest {..} =+    Core.object+      ( Core.catMaybes+          [ ("amount" Core..=) Core.. Core.AsText Core.<$> amount,+            ("discoveryScript" Core..=) Core.<$> discoveryScript,+            ("resourceName" Core..=) Core.<$> resourceName,+            ("vendor" Core..=) Core.<$> vendor+          ]+      )++-- | Executor resources consumed by a stage.+--+-- /See:/ 'newExecutorStageSummary' smart constructor.+data ExecutorStageSummary = ExecutorStageSummary+  { diskBytesSpilled :: (Core.Maybe Core.Int64),+    executorId :: (Core.Maybe Core.Text),+    failedTasks :: (Core.Maybe Core.Int32),+    inputBytes :: (Core.Maybe Core.Int64),+    inputRecords :: (Core.Maybe Core.Int64),+    isExcludedForStage :: (Core.Maybe Core.Bool),+    killedTasks :: (Core.Maybe Core.Int32),+    memoryBytesSpilled :: (Core.Maybe Core.Int64),+    outputBytes :: (Core.Maybe Core.Int64),+    outputRecords :: (Core.Maybe Core.Int64),+    peakMemoryMetrics :: (Core.Maybe ExecutorMetrics),+    shuffleRead :: (Core.Maybe Core.Int64),+    shuffleReadRecords :: (Core.Maybe Core.Int64),+    shuffleWrite :: (Core.Maybe Core.Int64),+    shuffleWriteRecords :: (Core.Maybe Core.Int64),+    stageAttemptId :: (Core.Maybe Core.Int32),+    stageId :: (Core.Maybe Core.Int64),+    succeededTasks :: (Core.Maybe Core.Int32),+    taskTimeMillis :: (Core.Maybe Core.Int64)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ExecutorStageSummary' with the minimum fields required to make a request.+newExecutorStageSummary ::+  ExecutorStageSummary+newExecutorStageSummary =+  ExecutorStageSummary+    { diskBytesSpilled = Core.Nothing,+      executorId = Core.Nothing,+      failedTasks = Core.Nothing,+      inputBytes = Core.Nothing,+      inputRecords = Core.Nothing,+      isExcludedForStage = Core.Nothing,+      killedTasks = Core.Nothing,+      memoryBytesSpilled = Core.Nothing,+      outputBytes = Core.Nothing,+      outputRecords = Core.Nothing,+      peakMemoryMetrics = Core.Nothing,+      shuffleRead = Core.Nothing,+      shuffleReadRecords = Core.Nothing,+      shuffleWrite = Core.Nothing,+      shuffleWriteRecords = Core.Nothing,+      stageAttemptId = Core.Nothing,+      stageId = Core.Nothing,+      succeededTasks = Core.Nothing,+      taskTimeMillis = Core.Nothing+    }++instance Core.FromJSON ExecutorStageSummary where+  parseJSON =+    Core.withObject+      "ExecutorStageSummary"+      ( \o ->+          ExecutorStageSummary+            Core.<$> (o Core..:? "diskBytesSpilled" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "executorId")+            Core.<*> (o Core..:? "failedTasks")+            Core.<*> (o Core..:? "inputBytes" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "inputRecords" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "isExcludedForStage")+            Core.<*> (o Core..:? "killedTasks")+            Core.<*> ( o+                         Core..:? "memoryBytesSpilled"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> (o Core..:? "outputBytes" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "outputRecords" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "peakMemoryMetrics")+            Core.<*> (o Core..:? "shuffleRead" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> ( o+                         Core..:? "shuffleReadRecords"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> (o Core..:? "shuffleWrite" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> ( o+                         Core..:? "shuffleWriteRecords"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> (o Core..:? "stageAttemptId")+            Core.<*> (o Core..:? "stageId" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "succeededTasks")+            Core.<*> (o Core..:? "taskTimeMillis" Core.<&> Core.fmap Core.fromAsText)+      )++instance Core.ToJSON ExecutorStageSummary where+  toJSON ExecutorStageSummary {..} =+    Core.object+      ( Core.catMaybes+          [ ("diskBytesSpilled" Core..=)+              Core.. Core.AsText+              Core.<$> diskBytesSpilled,+            ("executorId" Core..=) Core.<$> executorId,+            ("failedTasks" Core..=) Core.<$> failedTasks,+            ("inputBytes" Core..=) Core.. Core.AsText Core.<$> inputBytes,+            ("inputRecords" Core..=) Core.. Core.AsText Core.<$> inputRecords,+            ("isExcludedForStage" Core..=) Core.<$> isExcludedForStage,+            ("killedTasks" Core..=) Core.<$> killedTasks,+            ("memoryBytesSpilled" Core..=)+              Core.. Core.AsText+              Core.<$> memoryBytesSpilled,+            ("outputBytes" Core..=) Core.. Core.AsText Core.<$> outputBytes,+            ("outputRecords" Core..=)+              Core.. Core.AsText+              Core.<$> outputRecords,+            ("peakMemoryMetrics" Core..=) Core.<$> peakMemoryMetrics,+            ("shuffleRead" Core..=) Core.. Core.AsText Core.<$> shuffleRead,+            ("shuffleReadRecords" Core..=)+              Core.. Core.AsText+              Core.<$> shuffleReadRecords,+            ("shuffleWrite" Core..=) Core.. Core.AsText Core.<$> shuffleWrite,+            ("shuffleWriteRecords" Core..=)+              Core.. Core.AsText+              Core.<$> shuffleWriteRecords,+            ("stageAttemptId" Core..=) Core.<$> stageAttemptId,+            ("stageId" Core..=) Core.. Core.AsText Core.<$> stageId,+            ("succeededTasks" Core..=) Core.<$> succeededTasks,+            ("taskTimeMillis" Core..=)+              Core.. Core.AsText+              Core.<$> taskTimeMillis+          ]+      )++-- | Details about executors used by the application.+--+-- /See:/ 'newExecutorSummary' smart constructor.+data ExecutorSummary = ExecutorSummary+  { activeTasks :: (Core.Maybe Core.Int32),+    addTime :: (Core.Maybe Core.DateTime),+    attributes :: (Core.Maybe ExecutorSummary_Attributes),+    completedTasks :: (Core.Maybe Core.Int32),+    diskUsed :: (Core.Maybe Core.Int64),+    excludedInStages :: (Core.Maybe [Core.Int64]),+    executorId :: (Core.Maybe Core.Text),+    executorLogs :: (Core.Maybe ExecutorSummary_ExecutorLogs),+    failedTasks :: (Core.Maybe Core.Int32),+    hostPort :: (Core.Maybe Core.Text),+    isActive :: (Core.Maybe Core.Bool),+    isExcluded :: (Core.Maybe Core.Bool),+    maxMemory :: (Core.Maybe Core.Int64),+    maxTasks :: (Core.Maybe Core.Int32),+    memoryMetrics :: (Core.Maybe MemoryMetrics),+    memoryUsed :: (Core.Maybe Core.Int64),+    peakMemoryMetrics :: (Core.Maybe ExecutorMetrics),+    rddBlocks :: (Core.Maybe Core.Int32),+    removeReason :: (Core.Maybe Core.Text),+    removeTime :: (Core.Maybe Core.DateTime),+    resourceProfileId :: (Core.Maybe Core.Int32),+    resources :: (Core.Maybe ExecutorSummary_Resources),+    totalCores :: (Core.Maybe Core.Int32),+    totalDurationMillis :: (Core.Maybe Core.Int64),+    totalGcTimeMillis :: (Core.Maybe Core.Int64),+    totalInputBytes :: (Core.Maybe Core.Int64),+    totalShuffleRead :: (Core.Maybe Core.Int64),+    totalShuffleWrite :: (Core.Maybe Core.Int64),+    totalTasks :: (Core.Maybe Core.Int32)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ExecutorSummary' with the minimum fields required to make a request.+newExecutorSummary ::+  ExecutorSummary+newExecutorSummary =+  ExecutorSummary+    { activeTasks = Core.Nothing,+      addTime = Core.Nothing,+      attributes = Core.Nothing,+      completedTasks = Core.Nothing,+      diskUsed = Core.Nothing,+      excludedInStages = Core.Nothing,+      executorId = Core.Nothing,+      executorLogs = Core.Nothing,+      failedTasks = Core.Nothing,+      hostPort = Core.Nothing,+      isActive = Core.Nothing,+      isExcluded = Core.Nothing,+      maxMemory = Core.Nothing,+      maxTasks = Core.Nothing,+      memoryMetrics = Core.Nothing,+      memoryUsed = Core.Nothing,+      peakMemoryMetrics = Core.Nothing,+      rddBlocks = Core.Nothing,+      removeReason = Core.Nothing,+      removeTime = Core.Nothing,+      resourceProfileId = Core.Nothing,+      resources = Core.Nothing,+      totalCores = Core.Nothing,+      totalDurationMillis = Core.Nothing,+      totalGcTimeMillis = Core.Nothing,+      totalInputBytes = Core.Nothing,+      totalShuffleRead = Core.Nothing,+      totalShuffleWrite = Core.Nothing,+      totalTasks = Core.Nothing+    }++instance Core.FromJSON ExecutorSummary where+  parseJSON =+    Core.withObject+      "ExecutorSummary"+      ( \o ->+          ExecutorSummary+            Core.<$> (o Core..:? "activeTasks")+            Core.<*> (o Core..:? "addTime")+            Core.<*> (o Core..:? "attributes")+            Core.<*> (o Core..:? "completedTasks")+            Core.<*> (o Core..:? "diskUsed" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> ( o+                         Core..:? "excludedInStages"+                         Core.<&> Core.fmap (Core.fmap Core.fromAsText)+                     )+            Core.<*> (o Core..:? "executorId")+            Core.<*> (o Core..:? "executorLogs")+            Core.<*> (o Core..:? "failedTasks")+            Core.<*> (o Core..:? "hostPort")+            Core.<*> (o Core..:? "isActive")+            Core.<*> (o Core..:? "isExcluded")+            Core.<*> (o Core..:? "maxMemory" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "maxTasks")+            Core.<*> (o Core..:? "memoryMetrics")+            Core.<*> (o Core..:? "memoryUsed" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "peakMemoryMetrics")+            Core.<*> (o Core..:? "rddBlocks")+            Core.<*> (o Core..:? "removeReason")+            Core.<*> (o Core..:? "removeTime")+            Core.<*> (o Core..:? "resourceProfileId")+            Core.<*> (o Core..:? "resources")+            Core.<*> (o Core..:? "totalCores")+            Core.<*> ( o+                         Core..:? "totalDurationMillis"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> (o Core..:? "totalGcTimeMillis" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "totalInputBytes" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "totalShuffleRead" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "totalShuffleWrite" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "totalTasks")+      )++instance Core.ToJSON ExecutorSummary where+  toJSON ExecutorSummary {..} =+    Core.object+      ( Core.catMaybes+          [ ("activeTasks" Core..=) Core.<$> activeTasks,+            ("addTime" Core..=) Core.<$> addTime,+            ("attributes" Core..=) Core.<$> attributes,+            ("completedTasks" Core..=) Core.<$> completedTasks,+            ("diskUsed" Core..=) Core.. Core.AsText Core.<$> diskUsed,+            ("excludedInStages" Core..=)+              Core.. Core.fmap Core.AsText+              Core.<$> excludedInStages,+            ("executorId" Core..=) Core.<$> executorId,+            ("executorLogs" Core..=) Core.<$> executorLogs,+            ("failedTasks" Core..=) Core.<$> failedTasks,+            ("hostPort" Core..=) Core.<$> hostPort,+            ("isActive" Core..=) Core.<$> isActive,+            ("isExcluded" Core..=) Core.<$> isExcluded,+            ("maxMemory" Core..=) Core.. Core.AsText Core.<$> maxMemory,+            ("maxTasks" Core..=) Core.<$> maxTasks,+            ("memoryMetrics" Core..=) Core.<$> memoryMetrics,+            ("memoryUsed" Core..=) Core.. Core.AsText Core.<$> memoryUsed,+            ("peakMemoryMetrics" Core..=) Core.<$> peakMemoryMetrics,+            ("rddBlocks" Core..=) Core.<$> rddBlocks,+            ("removeReason" Core..=) Core.<$> removeReason,+            ("removeTime" Core..=) Core.<$> removeTime,+            ("resourceProfileId" Core..=) Core.<$> resourceProfileId,+            ("resources" Core..=) Core.<$> resources,+            ("totalCores" Core..=) Core.<$> totalCores,+            ("totalDurationMillis" Core..=)+              Core.. Core.AsText+              Core.<$> totalDurationMillis,+            ("totalGcTimeMillis" Core..=)+              Core.. Core.AsText+              Core.<$> totalGcTimeMillis,+            ("totalInputBytes" Core..=)+              Core.. Core.AsText+              Core.<$> totalInputBytes,+            ("totalShuffleRead" Core..=)+              Core.. Core.AsText+              Core.<$> totalShuffleRead,+            ("totalShuffleWrite" Core..=)+              Core.. Core.AsText+              Core.<$> totalShuffleWrite,+            ("totalTasks" Core..=) Core.<$> totalTasks+          ]+      )++--+-- /See:/ 'newExecutorSummary_Attributes' smart constructor.+newtype ExecutorSummary_Attributes = ExecutorSummary_Attributes+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ExecutorSummary_Attributes' with the minimum fields required to make a request.+newExecutorSummary_Attributes ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  ExecutorSummary_Attributes+newExecutorSummary_Attributes additional =+  ExecutorSummary_Attributes {additional = additional}++instance Core.FromJSON ExecutorSummary_Attributes where+  parseJSON =+    Core.withObject+      "ExecutorSummary_Attributes"+      ( \o ->+          ExecutorSummary_Attributes Core.<$> (Core.parseJSONObject o)+      )++instance Core.ToJSON ExecutorSummary_Attributes where+  toJSON ExecutorSummary_Attributes {..} = Core.toJSON additional++--+-- /See:/ 'newExecutorSummary_ExecutorLogs' smart constructor.+newtype ExecutorSummary_ExecutorLogs = ExecutorSummary_ExecutorLogs+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ExecutorSummary_ExecutorLogs' with the minimum fields required to make a request.+newExecutorSummary_ExecutorLogs ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  ExecutorSummary_ExecutorLogs+newExecutorSummary_ExecutorLogs additional =+  ExecutorSummary_ExecutorLogs {additional = additional}++instance Core.FromJSON ExecutorSummary_ExecutorLogs where+  parseJSON =+    Core.withObject+      "ExecutorSummary_ExecutorLogs"+      ( \o ->+          ExecutorSummary_ExecutorLogs Core.<$> (Core.parseJSONObject o)+      )++instance Core.ToJSON ExecutorSummary_ExecutorLogs where+  toJSON ExecutorSummary_ExecutorLogs {..} = Core.toJSON additional++--+-- /See:/ 'newExecutorSummary_Resources' smart constructor.+newtype ExecutorSummary_Resources = ExecutorSummary_Resources+  { additional :: (Core.HashMap Core.Text ResourceInformation)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ExecutorSummary_Resources' with the minimum fields required to make a request.+newExecutorSummary_Resources ::+  -- |  See 'additional'.+  Core.HashMap Core.Text ResourceInformation ->+  ExecutorSummary_Resources+newExecutorSummary_Resources additional =+  ExecutorSummary_Resources {additional = additional}++instance Core.FromJSON ExecutorSummary_Resources where+  parseJSON =+    Core.withObject+      "ExecutorSummary_Resources"+      ( \o ->+          ExecutorSummary_Resources Core.<$> (Core.parseJSONObject o)+      )++instance Core.ToJSON ExecutorSummary_Resources where+  toJSON ExecutorSummary_Resources {..} = Core.toJSON additional++-- | 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+          ]+      )++-- | Native SQL Execution Data+--+-- /See:/ 'newFallbackReason' smart constructor.+data FallbackReason = FallbackReason+  { -- | Optional. Fallback node information.+    fallbackNode :: (Core.Maybe Core.Text),+    -- | Optional. Fallback to Spark reason.+    fallbackReason :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'FallbackReason' with the minimum fields required to make a request.+newFallbackReason ::+  FallbackReason+newFallbackReason =+  FallbackReason+    { fallbackNode = Core.Nothing,+      fallbackReason = Core.Nothing+    }++instance Core.FromJSON FallbackReason where+  parseJSON =+    Core.withObject+      "FallbackReason"+      ( \o ->+          FallbackReason+            Core.<$> (o Core..:? "fallbackNode")+            Core.<*> (o Core..:? "fallbackReason")+      )++instance Core.ToJSON FallbackReason where+  toJSON FallbackReason {..} =+    Core.object+      ( Core.catMaybes+          [ ("fallbackNode" Core..=) Core.<$> fallbackNode,+            ("fallbackReason" Core..=) Core.<$> fallbackReason+          ]+      )++-- | A Dataproc job for running Apache Flink applications on YARN.+--+-- /See:/ 'newFlinkJob' smart constructor.+data FlinkJob = FlinkJob+  { -- | Optional. The arguments to pass to the driver. Do not include arguments, such as --conf, that can be set as job properties, since a collision might occur that causes an incorrect job submission.+    args :: (Core.Maybe [Core.Text]),+    -- | Optional. HCFS URIs of jar files to add to the CLASSPATHs of the Flink driver and tasks.+    jarFileUris :: (Core.Maybe [Core.Text]),+    -- | Optional. The runtime log config for job execution.+    loggingConfig :: (Core.Maybe LoggingConfig),+    -- | The name of the driver\'s main class. The jar file that contains the class must be in the default CLASSPATH or specified in jarFileUris.+    mainClass :: (Core.Maybe Core.Text),+    -- | The HCFS URI of the jar file that contains the main class.+    mainJarFileUri :: (Core.Maybe Core.Text),+    -- | Optional. A mapping of property names to values, used to configure Flink. Properties that conflict with values set by the Dataproc API might be overwritten. Can include properties set in \/etc\/flink\/conf\/flink-defaults.conf and classes in user code.+    properties :: (Core.Maybe FlinkJob_Properties),+    -- | Optional. HCFS URI of the savepoint, which contains the last saved progress for starting the current job.+    savepointUri :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'FlinkJob' with the minimum fields required to make a request.+newFlinkJob ::+  FlinkJob+newFlinkJob =+  FlinkJob+    { args = Core.Nothing,+      jarFileUris = Core.Nothing,+      loggingConfig = Core.Nothing,+      mainClass = Core.Nothing,+      mainJarFileUri = Core.Nothing,+      properties = Core.Nothing,+      savepointUri = Core.Nothing+    }++instance Core.FromJSON FlinkJob where+  parseJSON =+    Core.withObject+      "FlinkJob"+      ( \o ->+          FlinkJob+            Core.<$> (o Core..:? "args")+            Core.<*> (o Core..:? "jarFileUris")+            Core.<*> (o Core..:? "loggingConfig")+            Core.<*> (o Core..:? "mainClass")+            Core.<*> (o Core..:? "mainJarFileUri")+            Core.<*> (o Core..:? "properties")+            Core.<*> (o Core..:? "savepointUri")+      )++instance Core.ToJSON FlinkJob where+  toJSON FlinkJob {..} =+    Core.object+      ( Core.catMaybes+          [ ("args" Core..=) Core.<$> args,+            ("jarFileUris" Core..=) Core.<$> jarFileUris,+            ("loggingConfig" Core..=) Core.<$> loggingConfig,+            ("mainClass" Core..=) Core.<$> mainClass,+            ("mainJarFileUri" Core..=) Core.<$> mainJarFileUri,+            ("properties" Core..=) Core.<$> properties,+            ("savepointUri" Core..=) Core.<$> savepointUri+          ]+      )++-- | Optional. A mapping of property names to values, used to configure Flink. Properties that conflict with values set by the Dataproc API might be overwritten. Can include properties set in \/etc\/flink\/conf\/flink-defaults.conf and classes in user code.+--+-- /See:/ 'newFlinkJob_Properties' smart constructor.+newtype FlinkJob_Properties = FlinkJob_Properties+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'FlinkJob_Properties' with the minimum fields required to make a request.+newFlinkJob_Properties ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  FlinkJob_Properties+newFlinkJob_Properties additional =+  FlinkJob_Properties {additional = additional}++instance Core.FromJSON FlinkJob_Properties where+  parseJSON =+    Core.withObject+      "FlinkJob_Properties"+      (\o -> FlinkJob_Properties Core.<$> (Core.parseJSONObject o))++instance Core.ToJSON FlinkJob_Properties where+  toJSON FlinkJob_Properties {..} = Core.toJSON additional++-- | Common config settings for resources of Compute Engine cluster instances, applicable to all instances in the cluster.+--+-- /See:/ 'newGceClusterConfig' smart constructor.+data GceClusterConfig = GceClusterConfig+  { -- | Optional. Confidential Instance Config for clusters using Confidential VMs (https:\/\/cloud.google.com\/compute\/confidential-vm\/docs).+    confidentialInstanceConfig :: (Core.Maybe ConfidentialInstanceConfig),+    -- | Optional. This setting applies to subnetwork-enabled networks. It is set to true by default in clusters created with image versions 2.2.x.When set to true: All cluster VMs have internal IP addresses. Google Private Access (https:\/\/cloud.google.com\/vpc\/docs\/private-google-access) must be enabled to access Dataproc and other Google Cloud APIs. Off-cluster dependencies must be configured to be accessible without external IP addresses.When set to false: Cluster VMs are not restricted to internal IP addresses. Ephemeral external IP addresses are assigned to each cluster VM.+    internalIpOnly :: (Core.Maybe Core.Bool),+    -- | Optional. The Compute Engine metadata entries to add to all instances (see Project and instance metadata (https:\/\/cloud.google.com\/compute\/docs\/storing-retrieving-metadata#project/and/instance_metadata)).+    metadata :: (Core.Maybe GceClusterConfig_Metadata),+    -- | Optional. The Compute Engine network to be used for machine communications. Cannot be specified with subnetwork/uri. If neither network/uri nor subnetwork/uri is specified, the \"default\" network of the project is used, if it exists. Cannot be a \"Custom Subnet Network\" (see Using Subnetworks (https:\/\/cloud.google.com\/compute\/docs\/subnetworks) for more information).A full URL, partial URI, or short name are valid. Examples: https:\/\/www.googleapis.com\/compute\/v1\/projects\/[project/id]\/global\/networks\/default projects\/[project_id]\/global\/networks\/default default+    networkUri :: (Core.Maybe Core.Text),+    -- | Optional. Node Group Affinity for sole-tenant clusters.+    nodeGroupAffinity :: (Core.Maybe NodeGroupAffinity),+    -- | Optional. The type of IPv6 access for a cluster.+    privateIpv6GoogleAccess :: (Core.Maybe GceClusterConfig_PrivateIpv6GoogleAccess),+    -- | Optional. Reservation Affinity for consuming Zonal reservation.+    reservationAffinity :: (Core.Maybe ReservationAffinity),+    -- | Optional. Resource manager tags to add to all instances (see Resource manager tags resources (https:\/\/cloud.google.com\/resource-manager\/docs\/tags\/tags-creating-and-managing)).+    resourceManagerTags :: (Core.Maybe GceClusterConfig_ResourceManagerTags),+    -- | Optional. The Dataproc service account (https:\/\/cloud.google.com\/dataproc\/docs\/concepts\/configuring-clusters\/service-accounts#service/accounts/in/dataproc) (also see VM Data Plane identity (https:\/\/cloud.google.com\/dataproc\/docs\/concepts\/iam\/dataproc-principals#vm/service/account/data/plane/identity)) used by Dataproc cluster VM instances to access Google Cloud Platform services.If not specified, the Compute Engine default service account (https:\/\/cloud.google.com\/compute\/docs\/access\/service-accounts#default/service/account) is used.+    serviceAccount :: (Core.Maybe Core.Text),+    -- | Optional. The URIs of service account scopes to be included in Compute Engine instances. The following base set of scopes is always included: https:\/\/www.googleapis.com\/auth\/cloud.useraccounts.readonly https:\/\/www.googleapis.com\/auth\/devstorage.read/write https:\/\/www.googleapis.com\/auth\/logging.writeIf no scopes are specified, the following defaults are also provided: https:\/\/www.googleapis.com\/auth\/bigquery https:\/\/www.googleapis.com\/auth\/bigtable.admin.table https:\/\/www.googleapis.com\/auth\/bigtable.data https:\/\/www.googleapis.com\/auth\/devstorage.full/control+    serviceAccountScopes :: (Core.Maybe [Core.Text]),+    -- | Optional. Shielded Instance Config for clusters using Compute Engine Shielded VMs (https:\/\/cloud.google.com\/security\/shielded-cloud\/shielded-vm).+    shieldedInstanceConfig :: (Core.Maybe ShieldedInstanceConfig),+    -- | Optional. The Compute Engine subnetwork to be used for machine communications. Cannot be specified with network/uri.A full URL, partial URI, or short name are valid. Examples: https:\/\/www.googleapis.com\/compute\/v1\/projects\/[project/id]\/regions\/[region]\/subnetworks\/sub0 projects\/[project_id]\/regions\/[region]\/subnetworks\/sub0 sub0+    subnetworkUri :: (Core.Maybe Core.Text),+    -- | The Compute Engine network tags to add to all instances (see Tagging instances (https:\/\/cloud.google.com\/vpc\/docs\/add-remove-network-tags)).+    tags :: (Core.Maybe [Core.Text]),+    -- | Optional. The Compute Engine zone where the Dataproc cluster will be located. If omitted, the service will pick a zone in the cluster\'s Compute Engine region. On a get request, zone will always be present.A full URL, partial URI, or short name are valid. Examples: https:\/\/www.googleapis.com\/compute\/v1\/projects\/[project/id]\/zones\/[zone] projects\/[project/id]\/zones\/[zone] [zone]+    zoneUri :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GceClusterConfig' with the minimum fields required to make a request.+newGceClusterConfig ::+  GceClusterConfig+newGceClusterConfig =+  GceClusterConfig+    { confidentialInstanceConfig = Core.Nothing,+      internalIpOnly = Core.Nothing,+      metadata = Core.Nothing,+      networkUri = Core.Nothing,+      nodeGroupAffinity = Core.Nothing,+      privateIpv6GoogleAccess = Core.Nothing,+      reservationAffinity = Core.Nothing,+      resourceManagerTags = Core.Nothing,+      serviceAccount = Core.Nothing,+      serviceAccountScopes = Core.Nothing,+      shieldedInstanceConfig = Core.Nothing,+      subnetworkUri = Core.Nothing,+      tags = Core.Nothing,+      zoneUri = Core.Nothing+    }++instance Core.FromJSON GceClusterConfig where+  parseJSON =+    Core.withObject+      "GceClusterConfig"+      ( \o ->+          GceClusterConfig+            Core.<$> (o Core..:? "confidentialInstanceConfig")+            Core.<*> (o Core..:? "internalIpOnly")+            Core.<*> (o Core..:? "metadata")+            Core.<*> (o Core..:? "networkUri")+            Core.<*> (o Core..:? "nodeGroupAffinity")+            Core.<*> (o Core..:? "privateIpv6GoogleAccess")+            Core.<*> (o Core..:? "reservationAffinity")+            Core.<*> (o Core..:? "resourceManagerTags")+            Core.<*> (o Core..:? "serviceAccount")+            Core.<*> (o Core..:? "serviceAccountScopes")+            Core.<*> (o Core..:? "shieldedInstanceConfig")+            Core.<*> (o Core..:? "subnetworkUri")+            Core.<*> (o Core..:? "tags")+            Core.<*> (o Core..:? "zoneUri")+      )++instance Core.ToJSON GceClusterConfig where+  toJSON GceClusterConfig {..} =+    Core.object+      ( Core.catMaybes+          [ ("confidentialInstanceConfig" Core..=)+              Core.<$> confidentialInstanceConfig,+            ("internalIpOnly" Core..=) Core.<$> internalIpOnly,+            ("metadata" Core..=) Core.<$> metadata,+            ("networkUri" Core..=) Core.<$> networkUri,+            ("nodeGroupAffinity" Core..=) Core.<$> nodeGroupAffinity,+            ("privateIpv6GoogleAccess" Core..=)+              Core.<$> privateIpv6GoogleAccess,+            ("reservationAffinity" Core..=) Core.<$> reservationAffinity,+            ("resourceManagerTags" Core..=) Core.<$> resourceManagerTags,+            ("serviceAccount" Core..=) Core.<$> serviceAccount,+            ("serviceAccountScopes" Core..=) Core.<$> serviceAccountScopes,+            ("shieldedInstanceConfig" Core..=) Core.<$> shieldedInstanceConfig,+            ("subnetworkUri" Core..=) Core.<$> subnetworkUri,+            ("tags" Core..=) Core.<$> tags,+            ("zoneUri" Core..=) Core.<$> zoneUri+          ]+      )++-- | Optional. The Compute Engine metadata entries to add to all instances (see Project and instance metadata (https:\/\/cloud.google.com\/compute\/docs\/storing-retrieving-metadata#project/and/instance_metadata)).+--+-- /See:/ 'newGceClusterConfig_Metadata' smart constructor.+newtype GceClusterConfig_Metadata = GceClusterConfig_Metadata+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GceClusterConfig_Metadata' with the minimum fields required to make a request.+newGceClusterConfig_Metadata ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  GceClusterConfig_Metadata+newGceClusterConfig_Metadata additional =+  GceClusterConfig_Metadata {additional = additional}++instance Core.FromJSON GceClusterConfig_Metadata where+  parseJSON =+    Core.withObject+      "GceClusterConfig_Metadata"+      ( \o ->+          GceClusterConfig_Metadata Core.<$> (Core.parseJSONObject o)+      )++instance Core.ToJSON GceClusterConfig_Metadata where+  toJSON GceClusterConfig_Metadata {..} = Core.toJSON additional++-- | Optional. Resource manager tags to add to all instances (see Resource manager tags resources (https:\/\/cloud.google.com\/resource-manager\/docs\/tags\/tags-creating-and-managing)).+--+-- /See:/ 'newGceClusterConfig_ResourceManagerTags' smart constructor.+newtype GceClusterConfig_ResourceManagerTags = GceClusterConfig_ResourceManagerTags+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GceClusterConfig_ResourceManagerTags' with the minimum fields required to make a request.+newGceClusterConfig_ResourceManagerTags ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  GceClusterConfig_ResourceManagerTags+newGceClusterConfig_ResourceManagerTags additional =+  GceClusterConfig_ResourceManagerTags {additional = additional}++instance Core.FromJSON GceClusterConfig_ResourceManagerTags where+  parseJSON =+    Core.withObject+      "GceClusterConfig_ResourceManagerTags"+      ( \o ->+          GceClusterConfig_ResourceManagerTags+            Core.<$> (Core.parseJSONObject o)+      )++instance Core.ToJSON GceClusterConfig_ResourceManagerTags where+  toJSON GceClusterConfig_ResourceManagerTags {..} =+    Core.toJSON additional++-- | 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 IAM documentation (https:\/\/cloud.google.com\/iam\/help\/conditions\/resource-policies).+    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+          ]+      )++-- | The cluster\'s GKE config.+--+-- /See:/ 'newGkeClusterConfig' smart constructor.+data GkeClusterConfig = GkeClusterConfig+  { -- | Optional. A target GKE cluster to deploy to. It must be in the same project and region as the Dataproc cluster (the GKE cluster can be zonal or regional). Format: \'projects\/{project}\/locations\/{location}\/clusters\/{cluster_id}\'+    gkeClusterTarget :: (Core.Maybe Core.Text),+    -- | Optional. Deprecated. Use gkeClusterTarget. Used only for the deprecated beta. A target for the deployment.+    namespacedGkeDeploymentTarget :: (Core.Maybe NamespacedGkeDeploymentTarget),+    -- | Optional. GKE node pools where workloads will be scheduled. At least one node pool must be assigned the DEFAULT GkeNodePoolTarget.Role. If a GkeNodePoolTarget is not specified, Dataproc constructs a DEFAULT GkeNodePoolTarget. Each role can be given to only one GkeNodePoolTarget. All node pools must have the same location settings.+    nodePoolTarget :: (Core.Maybe [GkeNodePoolTarget])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GkeClusterConfig' with the minimum fields required to make a request.+newGkeClusterConfig ::+  GkeClusterConfig+newGkeClusterConfig =+  GkeClusterConfig+    { gkeClusterTarget = Core.Nothing,+      namespacedGkeDeploymentTarget = Core.Nothing,+      nodePoolTarget = Core.Nothing+    }++instance Core.FromJSON GkeClusterConfig where+  parseJSON =+    Core.withObject+      "GkeClusterConfig"+      ( \o ->+          GkeClusterConfig+            Core.<$> (o Core..:? "gkeClusterTarget")+            Core.<*> (o Core..:? "namespacedGkeDeploymentTarget")+            Core.<*> (o Core..:? "nodePoolTarget")+      )++instance Core.ToJSON GkeClusterConfig where+  toJSON GkeClusterConfig {..} =+    Core.object+      ( Core.catMaybes+          [ ("gkeClusterTarget" Core..=) Core.<$> gkeClusterTarget,+            ("namespacedGkeDeploymentTarget" Core..=)+              Core.<$> namespacedGkeDeploymentTarget,+            ("nodePoolTarget" Core..=) Core.<$> nodePoolTarget+          ]+      )++-- | Parameters that describe cluster nodes.+--+-- /See:/ 'newGkeNodeConfig' smart constructor.+data GkeNodeConfig = GkeNodeConfig+  { -- | Optional. A list of hardware accelerators (https:\/\/cloud.google.com\/compute\/docs\/gpus) to attach to each node.+    accelerators :: (Core.Maybe [GkeNodePoolAcceleratorConfig]),+    -- | Optional. The Customer Managed Encryption Key (CMEK) (https:\/\/cloud.google.com\/kubernetes-engine\/docs\/how-to\/using-cmek) used to encrypt the boot disk attached to each node in the node pool. Specify the key using the following format: projects\/{project}\/locations\/{location}\/keyRings\/{key/ring}\/cryptoKeys\/{crypto/key}+    bootDiskKmsKey :: (Core.Maybe Core.Text),+    -- | Optional. The number of local SSD disks to attach to the node, which is limited by the maximum number of disks allowable per zone (see Adding Local SSDs (https:\/\/cloud.google.com\/compute\/docs\/disks\/local-ssd)).+    localSsdCount :: (Core.Maybe Core.Int32),+    -- | Optional. The name of a Compute Engine machine type (https:\/\/cloud.google.com\/compute\/docs\/machine-types).+    machineType :: (Core.Maybe Core.Text),+    -- | Optional. Minimum CPU platform (https:\/\/cloud.google.com\/compute\/docs\/instances\/specify-min-cpu-platform) to be used by this instance. The instance may be scheduled on the specified or a newer CPU platform. Specify the friendly names of CPU platforms, such as \"Intel Haswell\"\` or Intel Sandy Bridge\".+    minCpuPlatform :: (Core.Maybe Core.Text),+    -- | Optional. Whether the nodes are created as legacy preemptible VM instances (https:\/\/cloud.google.com\/compute\/docs\/instances\/preemptible). Also see Spot VMs, preemptible VM instances without a maximum lifetime. Legacy and Spot preemptible nodes cannot be used in a node pool with the CONTROLLER role or in the DEFAULT node pool if the CONTROLLER role is not assigned (the DEFAULT node pool will assume the CONTROLLER role).+    preemptible :: (Core.Maybe Core.Bool),+    -- | Optional. Whether the nodes are created as Spot VM instances (https:\/\/cloud.google.com\/compute\/docs\/instances\/spot). Spot VMs are the latest update to legacy preemptible VMs. Spot VMs do not have a maximum lifetime. Legacy and Spot preemptible nodes cannot be used in a node pool with the CONTROLLER role or in the DEFAULT node pool if the CONTROLLER role is not assigned (the DEFAULT node pool will assume the CONTROLLER role).+    spot :: (Core.Maybe Core.Bool)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GkeNodeConfig' with the minimum fields required to make a request.+newGkeNodeConfig ::+  GkeNodeConfig+newGkeNodeConfig =+  GkeNodeConfig+    { accelerators = Core.Nothing,+      bootDiskKmsKey = Core.Nothing,+      localSsdCount = Core.Nothing,+      machineType = Core.Nothing,+      minCpuPlatform = Core.Nothing,+      preemptible = Core.Nothing,+      spot = Core.Nothing+    }++instance Core.FromJSON GkeNodeConfig where+  parseJSON =+    Core.withObject+      "GkeNodeConfig"+      ( \o ->+          GkeNodeConfig+            Core.<$> (o Core..:? "accelerators")+            Core.<*> (o Core..:? "bootDiskKmsKey")+            Core.<*> (o Core..:? "localSsdCount")+            Core.<*> (o Core..:? "machineType")+            Core.<*> (o Core..:? "minCpuPlatform")+            Core.<*> (o Core..:? "preemptible")+            Core.<*> (o Core..:? "spot")+      )++instance Core.ToJSON GkeNodeConfig where+  toJSON GkeNodeConfig {..} =+    Core.object+      ( Core.catMaybes+          [ ("accelerators" Core..=) Core.<$> accelerators,+            ("bootDiskKmsKey" Core..=) Core.<$> bootDiskKmsKey,+            ("localSsdCount" Core..=) Core.<$> localSsdCount,+            ("machineType" Core..=) Core.<$> machineType,+            ("minCpuPlatform" Core..=) Core.<$> minCpuPlatform,+            ("preemptible" Core..=) Core.<$> preemptible,+            ("spot" Core..=) Core.<$> spot+          ]+      )++-- | A GkeNodeConfigAcceleratorConfig represents a Hardware Accelerator request for a node pool.+--+-- /See:/ 'newGkeNodePoolAcceleratorConfig' smart constructor.+data GkeNodePoolAcceleratorConfig = GkeNodePoolAcceleratorConfig+  { -- | The number of accelerator cards exposed to an instance.+    acceleratorCount :: (Core.Maybe Core.Int64),+    -- | The accelerator type resource namename (see GPUs on Compute Engine).+    acceleratorType :: (Core.Maybe Core.Text),+    -- | Size of partitions to create on the GPU. Valid values are described in the NVIDIA mig user guide (https:\/\/docs.nvidia.com\/datacenter\/tesla\/mig-user-guide\/#partitioning).+    gpuPartitionSize :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GkeNodePoolAcceleratorConfig' with the minimum fields required to make a request.+newGkeNodePoolAcceleratorConfig ::+  GkeNodePoolAcceleratorConfig+newGkeNodePoolAcceleratorConfig =+  GkeNodePoolAcceleratorConfig+    { acceleratorCount = Core.Nothing,+      acceleratorType = Core.Nothing,+      gpuPartitionSize = Core.Nothing+    }++instance Core.FromJSON GkeNodePoolAcceleratorConfig where+  parseJSON =+    Core.withObject+      "GkeNodePoolAcceleratorConfig"+      ( \o ->+          GkeNodePoolAcceleratorConfig+            Core.<$> (o Core..:? "acceleratorCount" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "acceleratorType")+            Core.<*> (o Core..:? "gpuPartitionSize")+      )++instance Core.ToJSON GkeNodePoolAcceleratorConfig where+  toJSON GkeNodePoolAcceleratorConfig {..} =+    Core.object+      ( Core.catMaybes+          [ ("acceleratorCount" Core..=)+              Core.. Core.AsText+              Core.<$> acceleratorCount,+            ("acceleratorType" Core..=) Core.<$> acceleratorType,+            ("gpuPartitionSize" Core..=) Core.<$> gpuPartitionSize+          ]+      )++-- | GkeNodePoolAutoscaling contains information the cluster autoscaler needs to adjust the size of the node pool to the current cluster usage.+--+-- /See:/ 'newGkeNodePoolAutoscalingConfig' smart constructor.+data GkeNodePoolAutoscalingConfig = GkeNodePoolAutoscalingConfig+  { -- | The maximum number of nodes in the node pool. Must be >= min/node/count, and must be > 0. Note: Quota must be sufficient to scale up the cluster.+    maxNodeCount :: (Core.Maybe Core.Int32),+    -- | The minimum number of nodes in the node pool. Must be >= 0 and \<= max/node/count.+    minNodeCount :: (Core.Maybe Core.Int32)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GkeNodePoolAutoscalingConfig' with the minimum fields required to make a request.+newGkeNodePoolAutoscalingConfig ::+  GkeNodePoolAutoscalingConfig+newGkeNodePoolAutoscalingConfig =+  GkeNodePoolAutoscalingConfig+    { maxNodeCount = Core.Nothing,+      minNodeCount = Core.Nothing+    }++instance Core.FromJSON GkeNodePoolAutoscalingConfig where+  parseJSON =+    Core.withObject+      "GkeNodePoolAutoscalingConfig"+      ( \o ->+          GkeNodePoolAutoscalingConfig+            Core.<$> (o Core..:? "maxNodeCount")+            Core.<*> (o Core..:? "minNodeCount")+      )++instance Core.ToJSON GkeNodePoolAutoscalingConfig where+  toJSON GkeNodePoolAutoscalingConfig {..} =+    Core.object+      ( Core.catMaybes+          [ ("maxNodeCount" Core..=) Core.<$> maxNodeCount,+            ("minNodeCount" Core..=) Core.<$> minNodeCount+          ]+      )++-- | The configuration of a GKE node pool used by a Dataproc-on-GKE cluster (https:\/\/cloud.google.com\/dataproc\/docs\/concepts\/jobs\/dataproc-gke#create-a-dataproc-on-gke-cluster).+--+-- /See:/ 'newGkeNodePoolConfig' smart constructor.+data GkeNodePoolConfig = GkeNodePoolConfig+  { -- | Optional. The autoscaler configuration for this node pool. The autoscaler is enabled only when a valid configuration is present.+    autoscaling :: (Core.Maybe GkeNodePoolAutoscalingConfig),+    -- | Optional. The node pool configuration.+    config :: (Core.Maybe GkeNodeConfig),+    -- | Optional. The list of Compute Engine zones (https:\/\/cloud.google.com\/compute\/docs\/zones#available) where node pool nodes associated with a Dataproc on GKE virtual cluster will be located.Note: All node pools associated with a virtual cluster must be located in the same region as the virtual cluster, and they must be located in the same zone within that region.If a location is not specified during node pool creation, Dataproc on GKE will choose the zone.+    locations :: (Core.Maybe [Core.Text])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GkeNodePoolConfig' with the minimum fields required to make a request.+newGkeNodePoolConfig ::+  GkeNodePoolConfig+newGkeNodePoolConfig =+  GkeNodePoolConfig+    { autoscaling = Core.Nothing,+      config = Core.Nothing,+      locations = Core.Nothing+    }++instance Core.FromJSON GkeNodePoolConfig where+  parseJSON =+    Core.withObject+      "GkeNodePoolConfig"+      ( \o ->+          GkeNodePoolConfig+            Core.<$> (o Core..:? "autoscaling")+            Core.<*> (o Core..:? "config")+            Core.<*> (o Core..:? "locations")+      )++instance Core.ToJSON GkeNodePoolConfig where+  toJSON GkeNodePoolConfig {..} =+    Core.object+      ( Core.catMaybes+          [ ("autoscaling" Core..=) Core.<$> autoscaling,+            ("config" Core..=) Core.<$> config,+            ("locations" Core..=) Core.<$> locations+          ]+      )++-- | GKE node pools that Dataproc workloads run on.+--+-- /See:/ 'newGkeNodePoolTarget' smart constructor.+data GkeNodePoolTarget = GkeNodePoolTarget+  { -- | Required. The target GKE node pool. Format: \'projects\/{project}\/locations\/{location}\/clusters\/{cluster}\/nodePools\/{node_pool}\'+    nodePool :: (Core.Maybe Core.Text),+    -- | Input only. The configuration for the GKE node pool.If specified, Dataproc attempts to create a node pool with the specified shape. If one with the same name already exists, it is verified against all specified fields. If a field differs, the virtual cluster creation will fail.If omitted, any node pool with the specified name is used. If a node pool with the specified name does not exist, Dataproc create a node pool with default values.This is an input only field. It will not be returned by the API.+    nodePoolConfig :: (Core.Maybe GkeNodePoolConfig),+    -- | Required. The roles associated with the GKE node pool.+    roles :: (Core.Maybe [GkeNodePoolTarget_RolesItem])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GkeNodePoolTarget' with the minimum fields required to make a request.+newGkeNodePoolTarget ::+  GkeNodePoolTarget+newGkeNodePoolTarget =+  GkeNodePoolTarget+    { nodePool = Core.Nothing,+      nodePoolConfig = Core.Nothing,+      roles = Core.Nothing+    }++instance Core.FromJSON GkeNodePoolTarget where+  parseJSON =+    Core.withObject+      "GkeNodePoolTarget"+      ( \o ->+          GkeNodePoolTarget+            Core.<$> (o Core..:? "nodePool")+            Core.<*> (o Core..:? "nodePoolConfig")+            Core.<*> (o Core..:? "roles")+      )++instance Core.ToJSON GkeNodePoolTarget where+  toJSON GkeNodePoolTarget {..} =+    Core.object+      ( Core.catMaybes+          [ ("nodePool" Core..=) Core.<$> nodePool,+            ("nodePoolConfig" Core..=) Core.<$> nodePoolConfig,+            ("roles" Core..=) Core.<$> roles+          ]+      )++-- | Encryption settings for encrypting workflow template job arguments.+--+-- /See:/ 'newGoogleCloudDataprocV1WorkflowTemplateEncryptionConfig' smart constructor.+newtype GoogleCloudDataprocV1WorkflowTemplateEncryptionConfig = GoogleCloudDataprocV1WorkflowTemplateEncryptionConfig+  { -- | Optional. The Cloud KMS key name to use for encrypting workflow template job arguments.When this this key is provided, the following workflow template job arguments (https:\/\/cloud.google.com\/dataproc\/docs\/concepts\/workflows\/use-workflows#adding/jobs/to/a/template), if present, are CMEK encrypted (https:\/\/cloud.google.com\/dataproc\/docs\/concepts\/configuring-clusters\/customer-managed-encryption#use/cmek/with/workflow/template_data): FlinkJob args (https:\/\/cloud.google.com\/dataproc\/docs\/reference\/rest\/v1\/FlinkJob) HadoopJob args (https:\/\/cloud.google.com\/dataproc\/docs\/reference\/rest\/v1\/HadoopJob) SparkJob args (https:\/\/cloud.google.com\/dataproc\/docs\/reference\/rest\/v1\/SparkJob) SparkRJob args (https:\/\/cloud.google.com\/dataproc\/docs\/reference\/rest\/v1\/SparkRJob) PySparkJob args (https:\/\/cloud.google.com\/dataproc\/docs\/reference\/rest\/v1\/PySparkJob) SparkSqlJob (https:\/\/cloud.google.com\/dataproc\/docs\/reference\/rest\/v1\/SparkSqlJob) scriptVariables and+    -- queryList.queries HiveJob (https:\/\/cloud.google.com\/dataproc\/docs\/reference\/rest\/v1\/HiveJob) scriptVariables and queryList.queries PigJob (https:\/\/cloud.google.com\/dataproc\/docs\/reference\/rest\/v1\/PigJob) scriptVariables and queryList.queries PrestoJob (https:\/\/cloud.google.com\/dataproc\/docs\/reference\/rest\/v1\/PrestoJob) scriptVariables and queryList.queries+    kmsKey :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GoogleCloudDataprocV1WorkflowTemplateEncryptionConfig' with the minimum fields required to make a request.+newGoogleCloudDataprocV1WorkflowTemplateEncryptionConfig ::+  GoogleCloudDataprocV1WorkflowTemplateEncryptionConfig+newGoogleCloudDataprocV1WorkflowTemplateEncryptionConfig =+  GoogleCloudDataprocV1WorkflowTemplateEncryptionConfig+    { kmsKey =+        Core.Nothing+    }++instance+  Core.FromJSON+    GoogleCloudDataprocV1WorkflowTemplateEncryptionConfig+  where+  parseJSON =+    Core.withObject+      "GoogleCloudDataprocV1WorkflowTemplateEncryptionConfig"+      ( \o ->+          GoogleCloudDataprocV1WorkflowTemplateEncryptionConfig+            Core.<$> (o Core..:? "kmsKey")+      )++instance+  Core.ToJSON+    GoogleCloudDataprocV1WorkflowTemplateEncryptionConfig+  where+  toJSON GoogleCloudDataprocV1WorkflowTemplateEncryptionConfig {..} =+    Core.object (Core.catMaybes [("kmsKey" Core..=) Core.<$> kmsKey])++-- | A Dataproc job for running Apache Hadoop MapReduce (https:\/\/hadoop.apache.org\/docs\/current\/hadoop-mapreduce-client\/hadoop-mapreduce-client-core\/MapReduceTutorial.html) jobs on Apache Hadoop YARN (https:\/\/hadoop.apache.org\/docs\/r2.7.1\/hadoop-yarn\/hadoop-yarn-site\/YARN.html).+--+-- /See:/ 'newHadoopJob' smart constructor.+data HadoopJob = HadoopJob+  { -- | Optional. HCFS URIs of archives to be extracted in the working directory of Hadoop drivers and tasks. Supported file types: .jar, .tar, .tar.gz, .tgz, or .zip.+    archiveUris :: (Core.Maybe [Core.Text]),+    -- | Optional. The arguments to pass to the driver. Do not include arguments, such as -libjars or -Dfoo=bar, that can be set as job properties, since a collision might occur that causes an incorrect job submission.+    args :: (Core.Maybe [Core.Text]),+    -- | Optional. HCFS (Hadoop Compatible Filesystem) URIs of files to be copied to the working directory of Hadoop drivers and distributed tasks. Useful for naively parallel tasks.+    fileUris :: (Core.Maybe [Core.Text]),+    -- | Optional. Jar file URIs to add to the CLASSPATHs of the Hadoop driver and tasks.+    jarFileUris :: (Core.Maybe [Core.Text]),+    -- | Optional. The runtime log config for job execution.+    loggingConfig :: (Core.Maybe LoggingConfig),+    -- | The name of the driver\'s main class. The jar file containing the class must be in the default CLASSPATH or specified in jar/file/uris.+    mainClass :: (Core.Maybe Core.Text),+    -- | The HCFS URI of the jar file containing the main class. Examples: \'gs:\/\/foo-bucket\/analytics-binaries\/extract-useful-metrics-mr.jar\' \'hdfs:\/tmp\/test-samples\/custom-wordcount.jar\' \'file:\/\/\/home\/usr\/lib\/hadoop-mapreduce\/hadoop-mapreduce-examples.jar\'+    mainJarFileUri :: (Core.Maybe Core.Text),+    -- | Optional. A mapping of property names to values, used to configure Hadoop. Properties that conflict with values set by the Dataproc API might be overwritten. Can include properties set in \/etc\/hadoop\/conf\/*-site and classes in user code.+    properties :: (Core.Maybe HadoopJob_Properties)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'HadoopJob' with the minimum fields required to make a request.+newHadoopJob ::+  HadoopJob+newHadoopJob =+  HadoopJob+    { archiveUris = Core.Nothing,+      args = Core.Nothing,+      fileUris = Core.Nothing,+      jarFileUris = Core.Nothing,+      loggingConfig = Core.Nothing,+      mainClass = Core.Nothing,+      mainJarFileUri = Core.Nothing,+      properties = Core.Nothing+    }++instance Core.FromJSON HadoopJob where+  parseJSON =+    Core.withObject+      "HadoopJob"+      ( \o ->+          HadoopJob+            Core.<$> (o Core..:? "archiveUris")+            Core.<*> (o Core..:? "args")+            Core.<*> (o Core..:? "fileUris")+            Core.<*> (o Core..:? "jarFileUris")+            Core.<*> (o Core..:? "loggingConfig")+            Core.<*> (o Core..:? "mainClass")+            Core.<*> (o Core..:? "mainJarFileUri")+            Core.<*> (o Core..:? "properties")+      )++instance Core.ToJSON HadoopJob where+  toJSON HadoopJob {..} =+    Core.object+      ( Core.catMaybes+          [ ("archiveUris" Core..=) Core.<$> archiveUris,+            ("args" Core..=) Core.<$> args,+            ("fileUris" Core..=) Core.<$> fileUris,+            ("jarFileUris" Core..=) Core.<$> jarFileUris,+            ("loggingConfig" Core..=) Core.<$> loggingConfig,+            ("mainClass" Core..=) Core.<$> mainClass,+            ("mainJarFileUri" Core..=) Core.<$> mainJarFileUri,+            ("properties" Core..=) Core.<$> properties+          ]+      )++-- | Optional. A mapping of property names to values, used to configure Hadoop. Properties that conflict with values set by the Dataproc API might be overwritten. Can include properties set in \/etc\/hadoop\/conf\/*-site and classes in user code.+--+-- /See:/ 'newHadoopJob_Properties' smart constructor.+newtype HadoopJob_Properties = HadoopJob_Properties+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'HadoopJob_Properties' with the minimum fields required to make a request.+newHadoopJob_Properties ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  HadoopJob_Properties+newHadoopJob_Properties additional =+  HadoopJob_Properties {additional = additional}++instance Core.FromJSON HadoopJob_Properties where+  parseJSON =+    Core.withObject+      "HadoopJob_Properties"+      (\o -> HadoopJob_Properties Core.<$> (Core.parseJSONObject o))++instance Core.ToJSON HadoopJob_Properties where+  toJSON HadoopJob_Properties {..} = Core.toJSON additional++-- | A Dataproc job for running Apache Hive (https:\/\/hive.apache.org\/) queries on YARN.+--+-- /See:/ 'newHiveJob' smart constructor.+data HiveJob = HiveJob+  { -- | Optional. Whether to continue executing queries if a query fails. The default value is false. Setting to true can be useful when executing independent parallel queries.+    continueOnFailure :: (Core.Maybe Core.Bool),+    -- | Optional. HCFS URIs of jar files to add to the CLASSPATH of the Hive server and Hadoop MapReduce (MR) tasks. Can contain Hive SerDes and UDFs.+    jarFileUris :: (Core.Maybe [Core.Text]),+    -- | Optional. A mapping of property names and values, used to configure Hive. Properties that conflict with values set by the Dataproc API might be overwritten. Can include properties set in \/etc\/hadoop\/conf\/*-site.xml, \/etc\/hive\/conf\/hive-site.xml, and classes in user code.+    properties :: (Core.Maybe HiveJob_Properties),+    -- | The HCFS URI of the script that contains Hive queries.+    queryFileUri :: (Core.Maybe Core.Text),+    -- | A list of queries.+    queryList :: (Core.Maybe QueryList),+    -- | Optional. Mapping of query variable names to values (equivalent to the Hive command: SET name=\"value\";).+    scriptVariables :: (Core.Maybe HiveJob_ScriptVariables)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'HiveJob' with the minimum fields required to make a request.+newHiveJob ::+  HiveJob+newHiveJob =+  HiveJob+    { continueOnFailure = Core.Nothing,+      jarFileUris = Core.Nothing,+      properties = Core.Nothing,+      queryFileUri = Core.Nothing,+      queryList = Core.Nothing,+      scriptVariables = Core.Nothing+    }++instance Core.FromJSON HiveJob where+  parseJSON =+    Core.withObject+      "HiveJob"+      ( \o ->+          HiveJob+            Core.<$> (o Core..:? "continueOnFailure")+            Core.<*> (o Core..:? "jarFileUris")+            Core.<*> (o Core..:? "properties")+            Core.<*> (o Core..:? "queryFileUri")+            Core.<*> (o Core..:? "queryList")+            Core.<*> (o Core..:? "scriptVariables")+      )++instance Core.ToJSON HiveJob where+  toJSON HiveJob {..} =+    Core.object+      ( Core.catMaybes+          [ ("continueOnFailure" Core..=) Core.<$> continueOnFailure,+            ("jarFileUris" Core..=) Core.<$> jarFileUris,+            ("properties" Core..=) Core.<$> properties,+            ("queryFileUri" Core..=) Core.<$> queryFileUri,+            ("queryList" Core..=) Core.<$> queryList,+            ("scriptVariables" Core..=) Core.<$> scriptVariables+          ]+      )++-- | Optional. A mapping of property names and values, used to configure Hive. Properties that conflict with values set by the Dataproc API might be overwritten. Can include properties set in \/etc\/hadoop\/conf\/*-site.xml, \/etc\/hive\/conf\/hive-site.xml, and classes in user code.+--+-- /See:/ 'newHiveJob_Properties' smart constructor.+newtype HiveJob_Properties = HiveJob_Properties+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'HiveJob_Properties' with the minimum fields required to make a request.+newHiveJob_Properties ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  HiveJob_Properties+newHiveJob_Properties additional =+  HiveJob_Properties {additional = additional}++instance Core.FromJSON HiveJob_Properties where+  parseJSON =+    Core.withObject+      "HiveJob_Properties"+      (\o -> HiveJob_Properties Core.<$> (Core.parseJSONObject o))++instance Core.ToJSON HiveJob_Properties where+  toJSON HiveJob_Properties {..} = Core.toJSON additional++-- | Optional. Mapping of query variable names to values (equivalent to the Hive command: SET name=\"value\";).+--+-- /See:/ 'newHiveJob_ScriptVariables' smart constructor.+newtype HiveJob_ScriptVariables = HiveJob_ScriptVariables+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'HiveJob_ScriptVariables' with the minimum fields required to make a request.+newHiveJob_ScriptVariables ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  HiveJob_ScriptVariables+newHiveJob_ScriptVariables additional =+  HiveJob_ScriptVariables {additional = additional}++instance Core.FromJSON HiveJob_ScriptVariables where+  parseJSON =+    Core.withObject+      "HiveJob_ScriptVariables"+      (\o -> HiveJob_ScriptVariables Core.<$> (Core.parseJSONObject o))++instance Core.ToJSON HiveJob_ScriptVariables where+  toJSON HiveJob_ScriptVariables {..} = Core.toJSON additional++-- | Identity related configuration, including service account based secure multi-tenancy user mappings.+--+-- /See:/ 'newIdentityConfig' smart constructor.+newtype IdentityConfig = IdentityConfig+  { -- | Required. Map of user to service account.+    userServiceAccountMapping :: (Core.Maybe IdentityConfig_UserServiceAccountMapping)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'IdentityConfig' with the minimum fields required to make a request.+newIdentityConfig ::+  IdentityConfig+newIdentityConfig =+  IdentityConfig {userServiceAccountMapping = Core.Nothing}++instance Core.FromJSON IdentityConfig where+  parseJSON =+    Core.withObject+      "IdentityConfig"+      ( \o ->+          IdentityConfig Core.<$> (o Core..:? "userServiceAccountMapping")+      )++instance Core.ToJSON IdentityConfig where+  toJSON IdentityConfig {..} =+    Core.object+      ( Core.catMaybes+          [ ("userServiceAccountMapping" Core..=)+              Core.<$> userServiceAccountMapping+          ]+      )++-- | Required. Map of user to service account.+--+-- /See:/ 'newIdentityConfig_UserServiceAccountMapping' smart constructor.+newtype IdentityConfig_UserServiceAccountMapping = IdentityConfig_UserServiceAccountMapping+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'IdentityConfig_UserServiceAccountMapping' with the minimum fields required to make a request.+newIdentityConfig_UserServiceAccountMapping ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  IdentityConfig_UserServiceAccountMapping+newIdentityConfig_UserServiceAccountMapping additional =+  IdentityConfig_UserServiceAccountMapping {additional = additional}++instance Core.FromJSON IdentityConfig_UserServiceAccountMapping where+  parseJSON =+    Core.withObject+      "IdentityConfig_UserServiceAccountMapping"+      ( \o ->+          IdentityConfig_UserServiceAccountMapping+            Core.<$> (Core.parseJSONObject o)+      )++instance Core.ToJSON IdentityConfig_UserServiceAccountMapping where+  toJSON IdentityConfig_UserServiceAccountMapping {..} =+    Core.toJSON additional++-- | A request to inject credentials into a cluster.+--+-- /See:/ 'newInjectCredentialsRequest' smart constructor.+data InjectCredentialsRequest = InjectCredentialsRequest+  { -- | Required. The cluster UUID.+    clusterUuid :: (Core.Maybe Core.Text),+    -- | Required. The encrypted credentials being injected in to the cluster.The client is responsible for encrypting the credentials in a way that is supported by the cluster.A wrapped value is used here so that the actual contents of the encrypted credentials are not written to audit logs.+    credentialsCiphertext :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'InjectCredentialsRequest' with the minimum fields required to make a request.+newInjectCredentialsRequest ::+  InjectCredentialsRequest+newInjectCredentialsRequest =+  InjectCredentialsRequest+    { clusterUuid = Core.Nothing,+      credentialsCiphertext = Core.Nothing+    }++instance Core.FromJSON InjectCredentialsRequest where+  parseJSON =+    Core.withObject+      "InjectCredentialsRequest"+      ( \o ->+          InjectCredentialsRequest+            Core.<$> (o Core..:? "clusterUuid")+            Core.<*> (o Core..:? "credentialsCiphertext")+      )++instance Core.ToJSON InjectCredentialsRequest where+  toJSON InjectCredentialsRequest {..} =+    Core.object+      ( Core.catMaybes+          [ ("clusterUuid" Core..=) Core.<$> clusterUuid,+            ("credentialsCiphertext" Core..=) Core.<$> credentialsCiphertext+          ]+      )++-- | Metrics about the input data read by the task.+--+-- /See:/ 'newInputMetrics' smart constructor.+data InputMetrics = InputMetrics+  { bytesRead :: (Core.Maybe Core.Int64),+    recordsRead :: (Core.Maybe Core.Int64)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'InputMetrics' with the minimum fields required to make a request.+newInputMetrics ::+  InputMetrics+newInputMetrics =+  InputMetrics+    { bytesRead = Core.Nothing,+      recordsRead = Core.Nothing+    }++instance Core.FromJSON InputMetrics where+  parseJSON =+    Core.withObject+      "InputMetrics"+      ( \o ->+          InputMetrics+            Core.<$> (o Core..:? "bytesRead" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "recordsRead" Core.<&> Core.fmap Core.fromAsText)+      )++instance Core.ToJSON InputMetrics where+  toJSON InputMetrics {..} =+    Core.object+      ( Core.catMaybes+          [ ("bytesRead" Core..=) Core.. Core.AsText Core.<$> bytesRead,+            ("recordsRead" Core..=) Core.. Core.AsText Core.<$> recordsRead+          ]+      )++--+-- /See:/ 'newInputQuantileMetrics' smart constructor.+data InputQuantileMetrics = InputQuantileMetrics+  { bytesRead :: (Core.Maybe Quantiles),+    recordsRead :: (Core.Maybe Quantiles)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'InputQuantileMetrics' with the minimum fields required to make a request.+newInputQuantileMetrics ::+  InputQuantileMetrics+newInputQuantileMetrics =+  InputQuantileMetrics+    { bytesRead = Core.Nothing,+      recordsRead = Core.Nothing+    }++instance Core.FromJSON InputQuantileMetrics where+  parseJSON =+    Core.withObject+      "InputQuantileMetrics"+      ( \o ->+          InputQuantileMetrics+            Core.<$> (o Core..:? "bytesRead")+            Core.<*> (o Core..:? "recordsRead")+      )++instance Core.ToJSON InputQuantileMetrics where+  toJSON InputQuantileMetrics {..} =+    Core.object+      ( Core.catMaybes+          [ ("bytesRead" Core..=) Core.<$> bytesRead,+            ("recordsRead" Core..=) Core.<$> recordsRead+          ]+      )++-- | Instance flexibility Policy allowing a mixture of VM shapes and provisioning models.+--+-- /See:/ 'newInstanceFlexibilityPolicy' smart constructor.+data InstanceFlexibilityPolicy = InstanceFlexibilityPolicy+  { -- | Optional. List of instance selection options that the group will use when creating new VMs.+    instanceSelectionList :: (Core.Maybe [InstanceSelection]),+    -- | Output only. A list of instance selection results in the group.+    instanceSelectionResults :: (Core.Maybe [InstanceSelectionResult]),+    -- | Optional. Defines how the Group selects the provisioning model to ensure required reliability.+    provisioningModelMix :: (Core.Maybe ProvisioningModelMix)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'InstanceFlexibilityPolicy' with the minimum fields required to make a request.+newInstanceFlexibilityPolicy ::+  InstanceFlexibilityPolicy+newInstanceFlexibilityPolicy =+  InstanceFlexibilityPolicy+    { instanceSelectionList = Core.Nothing,+      instanceSelectionResults = Core.Nothing,+      provisioningModelMix = Core.Nothing+    }++instance Core.FromJSON InstanceFlexibilityPolicy where+  parseJSON =+    Core.withObject+      "InstanceFlexibilityPolicy"+      ( \o ->+          InstanceFlexibilityPolicy+            Core.<$> (o Core..:? "instanceSelectionList")+            Core.<*> (o Core..:? "instanceSelectionResults")+            Core.<*> (o Core..:? "provisioningModelMix")+      )++instance Core.ToJSON InstanceFlexibilityPolicy where+  toJSON InstanceFlexibilityPolicy {..} =+    Core.object+      ( Core.catMaybes+          [ ("instanceSelectionList" Core..=) Core.<$> instanceSelectionList,+            ("instanceSelectionResults" Core..=)+              Core.<$> instanceSelectionResults,+            ("provisioningModelMix" Core..=) Core.<$> provisioningModelMix+          ]+      )++-- | Configuration for the size bounds of an instance group, including its proportional size to other groups.+--+-- /See:/ 'newInstanceGroupAutoscalingPolicyConfig' smart constructor.+data InstanceGroupAutoscalingPolicyConfig = InstanceGroupAutoscalingPolicyConfig+  { -- | Required. Maximum number of instances for this group. Required for primary workers. Note that by default, clusters will not use secondary workers. Required for secondary workers if the minimum secondary instances is set.Primary workers - Bounds: [min/instances, ). Secondary workers - Bounds: [min/instances, ). Default: 0.+    maxInstances :: (Core.Maybe Core.Int32),+    -- | Optional. Minimum number of instances for this group.Primary workers - Bounds: 2, max/instances. Default: 2. Secondary workers - Bounds: 0, max/instances. Default: 0.+    minInstances :: (Core.Maybe Core.Int32),+    -- | Optional. Weight for the instance group, which is used to determine the fraction of total workers in the cluster from this instance group. For example, if primary workers have weight 2, and secondary workers have weight 1, the cluster will have approximately 2 primary workers for each secondary worker.The cluster may not reach the specified balance if constrained by min\/max bounds or other autoscaling settings. For example, if max_instances for secondary workers is 0, then only primary workers will be added. The cluster can also be out of balance when created.If weight is not set on any instance group, the cluster will default to equal weight for all groups: the cluster will attempt to maintain an equal number of workers in each group within the configured size bounds for each group. If weight is set for one group only, the cluster will default to zero weight on the unset group. For example if weight is set only on primary workers, the cluster will use primary workers only and no secondary workers.+    weight :: (Core.Maybe Core.Int32)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'InstanceGroupAutoscalingPolicyConfig' with the minimum fields required to make a request.+newInstanceGroupAutoscalingPolicyConfig ::+  InstanceGroupAutoscalingPolicyConfig+newInstanceGroupAutoscalingPolicyConfig =+  InstanceGroupAutoscalingPolicyConfig+    { maxInstances = Core.Nothing,+      minInstances = Core.Nothing,+      weight = Core.Nothing+    }++instance Core.FromJSON InstanceGroupAutoscalingPolicyConfig where+  parseJSON =+    Core.withObject+      "InstanceGroupAutoscalingPolicyConfig"+      ( \o ->+          InstanceGroupAutoscalingPolicyConfig+            Core.<$> (o Core..:? "maxInstances")+            Core.<*> (o Core..:? "minInstances")+            Core.<*> (o Core..:? "weight")+      )++instance Core.ToJSON InstanceGroupAutoscalingPolicyConfig where+  toJSON InstanceGroupAutoscalingPolicyConfig {..} =+    Core.object+      ( Core.catMaybes+          [ ("maxInstances" Core..=) Core.<$> maxInstances,+            ("minInstances" Core..=) Core.<$> minInstances,+            ("weight" Core..=) Core.<$> weight+          ]+      )++-- | The config settings for Compute Engine resources in an instance group, such as a master or worker group.+--+-- /See:/ 'newInstanceGroupConfig' smart constructor.+data InstanceGroupConfig = InstanceGroupConfig+  { -- | Optional. The Compute Engine accelerator configuration for these instances.+    accelerators :: (Core.Maybe [AcceleratorConfig]),+    -- | Optional. Disk option config settings.+    diskConfig :: (Core.Maybe DiskConfig),+    -- | Optional. The Compute Engine image resource used for cluster instances.The URI can represent an image or image family.Image examples: https:\/\/www.googleapis.com\/compute\/v1\/projects\/[project/id]\/global\/images\/[image-id] projects\/[project/id]\/global\/images\/[image-id] image-idImage family examples. Dataproc will use the most recent image from the family: https:\/\/www.googleapis.com\/compute\/v1\/projects\/[project/id]\/global\/images\/family\/[custom-image-family-name] projects\/[project/id]\/global\/images\/family\/[custom-image-family-name]If the URI is unspecified, it will be inferred from SoftwareConfig.image_version or the system default.+    imageUri :: (Core.Maybe Core.Text),+    -- | Optional. Instance flexibility Policy allowing a mixture of VM shapes and provisioning models.+    instanceFlexibilityPolicy :: (Core.Maybe InstanceFlexibilityPolicy),+    -- | Output only. The list of instance names. Dataproc derives the names from cluster/name, num/instances, and the instance group.+    instanceNames :: (Core.Maybe [Core.Text]),+    -- | Output only. List of references to Compute Engine instances.+    instanceReferences :: (Core.Maybe [InstanceReference]),+    -- | Output only. Specifies that this instance group contains preemptible instances.+    isPreemptible :: (Core.Maybe Core.Bool),+    -- | Optional. The Compute Engine machine type used for cluster instances.A full URL, partial URI, or short name are valid. Examples: https:\/\/www.googleapis.com\/compute\/v1\/projects\/[project/id]\/zones\/[zone]\/machineTypes\/n1-standard-2 projects\/[project/id]\/zones\/[zone]\/machineTypes\/n1-standard-2 n1-standard-2Auto Zone Exception: If you are using the Dataproc Auto Zone Placement (https:\/\/cloud.google.com\/dataproc\/docs\/concepts\/configuring-clusters\/auto-zone#using/auto/zone_placement) feature, you must use the short name of the machine type resource, for example, n1-standard-2.+    machineTypeUri :: (Core.Maybe Core.Text),+    -- | Output only. The config for Compute Engine Instance Group Manager that manages this group. This is only used for preemptible instance groups.+    managedGroupConfig :: (Core.Maybe ManagedGroupConfig),+    -- | Optional. Specifies the minimum cpu platform for the Instance Group. See Dataproc -> Minimum CPU Platform (https:\/\/cloud.google.com\/dataproc\/docs\/concepts\/compute\/dataproc-min-cpu).+    minCpuPlatform :: (Core.Maybe Core.Text),+    -- | Optional. The minimum number of primary worker instances to create. If min/num/instances is set, cluster creation will succeed if the number of primary workers created is at least equal to the min/num/instances number.Example: Cluster creation request with num/instances = 5 and min/num_instances = 3: If 4 VMs are created and 1 instance fails, the failed VM is deleted. The cluster is resized to 4 instances and placed in a RUNNING state. If 2 instances are created and 3 instances fail, the cluster in placed in an ERROR state. The failed VMs are not deleted.+    minNumInstances :: (Core.Maybe Core.Int32),+    -- | Optional. The number of VM instances in the instance group. For HA cluster master/config groups, must be set to 3. For standard cluster master/config groups, must be set to 1.+    numInstances :: (Core.Maybe Core.Int32),+    -- | Optional. Specifies the preemptibility of the instance group.The default value for master and worker groups is NON_PREEMPTIBLE. This default cannot be changed.The default value for secondary instances is PREEMPTIBLE.+    preemptibility :: (Core.Maybe InstanceGroupConfig_Preemptibility),+    -- | Optional. Configuration to handle the startup of instances during cluster create and update process.+    startupConfig :: (Core.Maybe StartupConfig)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'InstanceGroupConfig' with the minimum fields required to make a request.+newInstanceGroupConfig ::+  InstanceGroupConfig+newInstanceGroupConfig =+  InstanceGroupConfig+    { accelerators = Core.Nothing,+      diskConfig = Core.Nothing,+      imageUri = Core.Nothing,+      instanceFlexibilityPolicy = Core.Nothing,+      instanceNames = Core.Nothing,+      instanceReferences = Core.Nothing,+      isPreemptible = Core.Nothing,+      machineTypeUri = Core.Nothing,+      managedGroupConfig = Core.Nothing,+      minCpuPlatform = Core.Nothing,+      minNumInstances = Core.Nothing,+      numInstances = Core.Nothing,+      preemptibility = Core.Nothing,+      startupConfig = Core.Nothing+    }++instance Core.FromJSON InstanceGroupConfig where+  parseJSON =+    Core.withObject+      "InstanceGroupConfig"+      ( \o ->+          InstanceGroupConfig+            Core.<$> (o Core..:? "accelerators")+            Core.<*> (o Core..:? "diskConfig")+            Core.<*> (o Core..:? "imageUri")+            Core.<*> (o Core..:? "instanceFlexibilityPolicy")+            Core.<*> (o Core..:? "instanceNames")+            Core.<*> (o Core..:? "instanceReferences")+            Core.<*> (o Core..:? "isPreemptible")+            Core.<*> (o Core..:? "machineTypeUri")+            Core.<*> (o Core..:? "managedGroupConfig")+            Core.<*> (o Core..:? "minCpuPlatform")+            Core.<*> (o Core..:? "minNumInstances")+            Core.<*> (o Core..:? "numInstances")+            Core.<*> (o Core..:? "preemptibility")+            Core.<*> (o Core..:? "startupConfig")+      )++instance Core.ToJSON InstanceGroupConfig where+  toJSON InstanceGroupConfig {..} =+    Core.object+      ( Core.catMaybes+          [ ("accelerators" Core..=) Core.<$> accelerators,+            ("diskConfig" Core..=) Core.<$> diskConfig,+            ("imageUri" Core..=) Core.<$> imageUri,+            ("instanceFlexibilityPolicy" Core..=)+              Core.<$> instanceFlexibilityPolicy,+            ("instanceNames" Core..=) Core.<$> instanceNames,+            ("instanceReferences" Core..=) Core.<$> instanceReferences,+            ("isPreemptible" Core..=) Core.<$> isPreemptible,+            ("machineTypeUri" Core..=) Core.<$> machineTypeUri,+            ("managedGroupConfig" Core..=) Core.<$> managedGroupConfig,+            ("minCpuPlatform" Core..=) Core.<$> minCpuPlatform,+            ("minNumInstances" Core..=) Core.<$> minNumInstances,+            ("numInstances" Core..=) Core.<$> numInstances,+            ("preemptibility" Core..=) Core.<$> preemptibility,+            ("startupConfig" Core..=) Core.<$> startupConfig+          ]+      )++-- | A reference to a Compute Engine instance.+--+-- /See:/ 'newInstanceReference' smart constructor.+data InstanceReference = InstanceReference+  { -- | The unique identifier of the Compute Engine instance.+    instanceId :: (Core.Maybe Core.Text),+    -- | The user-friendly name of the Compute Engine instance.+    instanceName :: (Core.Maybe Core.Text),+    -- | The public ECIES key used for sharing data with this instance.+    publicEciesKey :: (Core.Maybe Core.Text),+    -- | The public RSA key used for sharing data with this instance.+    publicKey :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'InstanceReference' with the minimum fields required to make a request.+newInstanceReference ::+  InstanceReference+newInstanceReference =+  InstanceReference+    { instanceId = Core.Nothing,+      instanceName = Core.Nothing,+      publicEciesKey = Core.Nothing,+      publicKey = Core.Nothing+    }++instance Core.FromJSON InstanceReference where+  parseJSON =+    Core.withObject+      "InstanceReference"+      ( \o ->+          InstanceReference+            Core.<$> (o Core..:? "instanceId")+            Core.<*> (o Core..:? "instanceName")+            Core.<*> (o Core..:? "publicEciesKey")+            Core.<*> (o Core..:? "publicKey")+      )++instance Core.ToJSON InstanceReference where+  toJSON InstanceReference {..} =+    Core.object+      ( Core.catMaybes+          [ ("instanceId" Core..=) Core.<$> instanceId,+            ("instanceName" Core..=) Core.<$> instanceName,+            ("publicEciesKey" Core..=) Core.<$> publicEciesKey,+            ("publicKey" Core..=) Core.<$> publicKey+          ]+      )++-- | Defines machines types and a rank to which the machines types belong.+--+-- /See:/ 'newInstanceSelection' smart constructor.+data InstanceSelection = InstanceSelection+  { -- | Optional. Full machine-type names, e.g. \"n1-standard-16\".+    machineTypes :: (Core.Maybe [Core.Text]),+    -- | Optional. Preference of this instance selection. Lower number means higher preference. Dataproc will first try to create a VM based on the machine-type with priority rank and fallback to next rank based on availability. Machine types and instance selections with the same priority have the same preference.+    rank :: (Core.Maybe Core.Int32)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'InstanceSelection' with the minimum fields required to make a request.+newInstanceSelection ::+  InstanceSelection+newInstanceSelection =+  InstanceSelection+    { machineTypes = Core.Nothing,+      rank = Core.Nothing+    }++instance Core.FromJSON InstanceSelection where+  parseJSON =+    Core.withObject+      "InstanceSelection"+      ( \o ->+          InstanceSelection+            Core.<$> (o Core..:? "machineTypes")+            Core.<*> (o Core..:? "rank")+      )++instance Core.ToJSON InstanceSelection where+  toJSON InstanceSelection {..} =+    Core.object+      ( Core.catMaybes+          [ ("machineTypes" Core..=) Core.<$> machineTypes,+            ("rank" Core..=) Core.<$> rank+          ]+      )++-- | Defines a mapping from machine types to the number of VMs that are created with each machine type.+--+-- /See:/ 'newInstanceSelectionResult' smart constructor.+data InstanceSelectionResult = InstanceSelectionResult+  { -- | Output only. Full machine-type names, e.g. \"n1-standard-16\".+    machineType :: (Core.Maybe Core.Text),+    -- | Output only. Number of VM provisioned with the machine_type.+    vmCount :: (Core.Maybe Core.Int32)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'InstanceSelectionResult' with the minimum fields required to make a request.+newInstanceSelectionResult ::+  InstanceSelectionResult+newInstanceSelectionResult =+  InstanceSelectionResult+    { machineType = Core.Nothing,+      vmCount = Core.Nothing+    }++instance Core.FromJSON InstanceSelectionResult where+  parseJSON =+    Core.withObject+      "InstanceSelectionResult"+      ( \o ->+          InstanceSelectionResult+            Core.<$> (o Core..:? "machineType")+            Core.<*> (o Core..:? "vmCount")+      )++instance Core.ToJSON InstanceSelectionResult where+  toJSON InstanceSelectionResult {..} =+    Core.object+      ( Core.catMaybes+          [ ("machineType" Core..=) Core.<$> machineType,+            ("vmCount" Core..=) Core.<$> vmCount+          ]+      )++-- | A request to instantiate a workflow template.+--+-- /See:/ 'newInstantiateWorkflowTemplateRequest' smart constructor.+data InstantiateWorkflowTemplateRequest = InstantiateWorkflowTemplateRequest+  { -- | Optional. Map from parameter names to values that should be used for those parameters. Values may not exceed 1000 characters.+    parameters :: (Core.Maybe InstantiateWorkflowTemplateRequest_Parameters),+    -- | Optional. A tag that prevents multiple concurrent workflow instances with the same tag from running. This mitigates risk of concurrent instances started due to retries.It is recommended to always set this value to a UUID (https:\/\/en.wikipedia.org\/wiki\/Universally/unique/identifier).The tag must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.+    requestId :: (Core.Maybe Core.Text),+    -- | Optional. The version of workflow template to instantiate. If specified, the workflow will be instantiated only if the current version of the workflow template has the supplied version.This option cannot be used to instantiate a previous version of workflow template.+    version :: (Core.Maybe Core.Int32)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'InstantiateWorkflowTemplateRequest' with the minimum fields required to make a request.+newInstantiateWorkflowTemplateRequest ::+  InstantiateWorkflowTemplateRequest+newInstantiateWorkflowTemplateRequest =+  InstantiateWorkflowTemplateRequest+    { parameters = Core.Nothing,+      requestId = Core.Nothing,+      version = Core.Nothing+    }++instance Core.FromJSON InstantiateWorkflowTemplateRequest where+  parseJSON =+    Core.withObject+      "InstantiateWorkflowTemplateRequest"+      ( \o ->+          InstantiateWorkflowTemplateRequest+            Core.<$> (o Core..:? "parameters")+            Core.<*> (o Core..:? "requestId")+            Core.<*> (o Core..:? "version")+      )++instance Core.ToJSON InstantiateWorkflowTemplateRequest where+  toJSON InstantiateWorkflowTemplateRequest {..} =+    Core.object+      ( Core.catMaybes+          [ ("parameters" Core..=) Core.<$> parameters,+            ("requestId" Core..=) Core.<$> requestId,+            ("version" Core..=) Core.<$> version+          ]+      )++-- | Optional. Map from parameter names to values that should be used for those parameters. Values may not exceed 1000 characters.+--+-- /See:/ 'newInstantiateWorkflowTemplateRequest_Parameters' smart constructor.+newtype InstantiateWorkflowTemplateRequest_Parameters = InstantiateWorkflowTemplateRequest_Parameters+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'InstantiateWorkflowTemplateRequest_Parameters' with the minimum fields required to make a request.+newInstantiateWorkflowTemplateRequest_Parameters ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  InstantiateWorkflowTemplateRequest_Parameters+newInstantiateWorkflowTemplateRequest_Parameters additional =+  InstantiateWorkflowTemplateRequest_Parameters+    { additional =+        additional+    }++instance+  Core.FromJSON+    InstantiateWorkflowTemplateRequest_Parameters+  where+  parseJSON =+    Core.withObject+      "InstantiateWorkflowTemplateRequest_Parameters"+      ( \o ->+          InstantiateWorkflowTemplateRequest_Parameters+            Core.<$> (Core.parseJSONObject o)+      )++instance Core.ToJSON InstantiateWorkflowTemplateRequest_Parameters where+  toJSON InstantiateWorkflowTemplateRequest_Parameters {..} =+    Core.toJSON additional++-- | Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive).The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time.+--+-- /See:/ 'newInterval' smart constructor.+data Interval = Interval+  { -- | Optional. Exclusive end of the interval.If specified, a Timestamp matching this interval will have to be before the end.+    endTime :: (Core.Maybe Core.DateTime),+    -- | Optional. Inclusive start of the interval.If specified, a Timestamp matching this interval will have to be the same or after the start.+    startTime :: (Core.Maybe Core.DateTime)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Interval' with the minimum fields required to make a request.+newInterval ::+  Interval+newInterval =+  Interval {endTime = Core.Nothing, startTime = Core.Nothing}++instance Core.FromJSON Interval where+  parseJSON =+    Core.withObject+      "Interval"+      ( \o ->+          Interval+            Core.<$> (o Core..:? "endTime")+            Core.<*> (o Core..:? "startTime")+      )++instance Core.ToJSON Interval where+  toJSON Interval {..} =+    Core.object+      ( Core.catMaybes+          [ ("endTime" Core..=) Core.<$> endTime,+            ("startTime" Core..=) Core.<$> startTime+          ]+      )++-- | A Dataproc job resource.+--+-- /See:/ 'newJob' smart constructor.+data Job = Job+  { -- | Output only. Indicates whether the job is completed. If the value is false, the job is still in progress. If true, the job is completed, and status.state field will indicate if it was successful, failed, or cancelled.+    done :: (Core.Maybe Core.Bool),+    -- | Output only. If present, the location of miscellaneous control files which can be used as part of job setup and handling. If not present, control files might be placed in the same location as driver/output/uri.+    driverControlFilesUri :: (Core.Maybe Core.Text),+    -- | Output only. A URI pointing to the location of the stdout of the job\'s driver program.+    driverOutputResourceUri :: (Core.Maybe Core.Text),+    -- | Optional. Driver scheduling configuration.+    driverSchedulingConfig :: (Core.Maybe DriverSchedulingConfig),+    -- | Optional. Job is a Flink job.+    flinkJob :: (Core.Maybe FlinkJob),+    -- | Optional. Job is a Hadoop job.+    hadoopJob :: (Core.Maybe HadoopJob),+    -- | Optional. Job is a Hive job.+    hiveJob :: (Core.Maybe HiveJob),+    -- | Output only. A UUID that uniquely identifies a job within the project over time. This is in contrast to a user-settable reference.job_id that might be reused over time.+    jobUuid :: (Core.Maybe Core.Text),+    -- | Optional. The labels to associate with this job. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https:\/\/www.ietf.org\/rfc\/rfc1035.txt). Label values can be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 (https:\/\/www.ietf.org\/rfc\/rfc1035.txt). No more than 32 labels can be associated with a job.+    labels :: (Core.Maybe Job_Labels),+    -- | Optional. Job is a Pig job.+    pigJob :: (Core.Maybe PigJob),+    -- | Required. Job information, including how, when, and where to run the job.+    placement :: (Core.Maybe JobPlacement),+    -- | Optional. Job is a Presto job.+    prestoJob :: (Core.Maybe PrestoJob),+    -- | Optional. Job is a PySpark job.+    pysparkJob :: (Core.Maybe PySparkJob),+    -- | Optional. The fully qualified reference to the job, which can be used to obtain the equivalent REST path of the job resource. If this property is not specified when a job is created, the server generates a job_id.+    reference :: (Core.Maybe JobReference),+    -- | Optional. Job scheduling configuration.+    scheduling :: (Core.Maybe JobScheduling),+    -- | Optional. Job is a Spark job.+    sparkJob :: (Core.Maybe SparkJob),+    -- | Optional. Job is a SparkR job.+    sparkRJob :: (Core.Maybe SparkRJob),+    -- | Optional. Job is a SparkSql job.+    sparkSqlJob :: (Core.Maybe SparkSqlJob),+    -- | Output only. The job status. Additional application-specific status information might be contained in the type/job and yarn/applications fields.+    status :: (Core.Maybe JobStatus),+    -- | Output only. The previous job status.+    statusHistory :: (Core.Maybe [JobStatus]),+    -- | Optional. Job is a Trino job.+    trinoJob :: (Core.Maybe TrinoJob),+    -- | Output only. The collection of YARN applications spun up by this job.Beta Feature: This report is available for testing purposes only. It might be changed before final release.+    yarnApplications :: (Core.Maybe [YarnApplication])+  }+  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+    { done = Core.Nothing,+      driverControlFilesUri = Core.Nothing,+      driverOutputResourceUri = Core.Nothing,+      driverSchedulingConfig = Core.Nothing,+      flinkJob = Core.Nothing,+      hadoopJob = Core.Nothing,+      hiveJob = Core.Nothing,+      jobUuid = Core.Nothing,+      labels = Core.Nothing,+      pigJob = Core.Nothing,+      placement = Core.Nothing,+      prestoJob = Core.Nothing,+      pysparkJob = Core.Nothing,+      reference = Core.Nothing,+      scheduling = Core.Nothing,+      sparkJob = Core.Nothing,+      sparkRJob = Core.Nothing,+      sparkSqlJob = Core.Nothing,+      status = Core.Nothing,+      statusHistory = Core.Nothing,+      trinoJob = Core.Nothing,+      yarnApplications = Core.Nothing+    }++instance Core.FromJSON Job where+  parseJSON =+    Core.withObject+      "Job"+      ( \o ->+          Job+            Core.<$> (o Core..:? "done")+            Core.<*> (o Core..:? "driverControlFilesUri")+            Core.<*> (o Core..:? "driverOutputResourceUri")+            Core.<*> (o Core..:? "driverSchedulingConfig")+            Core.<*> (o Core..:? "flinkJob")+            Core.<*> (o Core..:? "hadoopJob")+            Core.<*> (o Core..:? "hiveJob")+            Core.<*> (o Core..:? "jobUuid")+            Core.<*> (o Core..:? "labels")+            Core.<*> (o Core..:? "pigJob")+            Core.<*> (o Core..:? "placement")+            Core.<*> (o Core..:? "prestoJob")+            Core.<*> (o Core..:? "pysparkJob")+            Core.<*> (o Core..:? "reference")+            Core.<*> (o Core..:? "scheduling")+            Core.<*> (o Core..:? "sparkJob")+            Core.<*> (o Core..:? "sparkRJob")+            Core.<*> (o Core..:? "sparkSqlJob")+            Core.<*> (o Core..:? "status")+            Core.<*> (o Core..:? "statusHistory")+            Core.<*> (o Core..:? "trinoJob")+            Core.<*> (o Core..:? "yarnApplications")+      )++instance Core.ToJSON Job where+  toJSON Job {..} =+    Core.object+      ( Core.catMaybes+          [ ("done" Core..=) Core.<$> done,+            ("driverControlFilesUri" Core..=) Core.<$> driverControlFilesUri,+            ("driverOutputResourceUri" Core..=)+              Core.<$> driverOutputResourceUri,+            ("driverSchedulingConfig" Core..=) Core.<$> driverSchedulingConfig,+            ("flinkJob" Core..=) Core.<$> flinkJob,+            ("hadoopJob" Core..=) Core.<$> hadoopJob,+            ("hiveJob" Core..=) Core.<$> hiveJob,+            ("jobUuid" Core..=) Core.<$> jobUuid,+            ("labels" Core..=) Core.<$> labels,+            ("pigJob" Core..=) Core.<$> pigJob,+            ("placement" Core..=) Core.<$> placement,+            ("prestoJob" Core..=) Core.<$> prestoJob,+            ("pysparkJob" Core..=) Core.<$> pysparkJob,+            ("reference" Core..=) Core.<$> reference,+            ("scheduling" Core..=) Core.<$> scheduling,+            ("sparkJob" Core..=) Core.<$> sparkJob,+            ("sparkRJob" Core..=) Core.<$> sparkRJob,+            ("sparkSqlJob" Core..=) Core.<$> sparkSqlJob,+            ("status" Core..=) Core.<$> status,+            ("statusHistory" Core..=) Core.<$> statusHistory,+            ("trinoJob" Core..=) Core.<$> trinoJob,+            ("yarnApplications" Core..=) Core.<$> yarnApplications+          ]+      )++-- | Optional. The labels to associate with this job. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https:\/\/www.ietf.org\/rfc\/rfc1035.txt). Label values can be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 (https:\/\/www.ietf.org\/rfc\/rfc1035.txt). No more than 32 labels can be associated with a job.+--+-- /See:/ 'newJob_Labels' smart constructor.+newtype Job_Labels = Job_Labels+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Job_Labels' with the minimum fields required to make a request.+newJob_Labels ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  Job_Labels+newJob_Labels additional = Job_Labels {additional = additional}++instance Core.FromJSON Job_Labels where+  parseJSON =+    Core.withObject+      "Job_Labels"+      (\o -> Job_Labels Core.<$> (Core.parseJSONObject o))++instance Core.ToJSON Job_Labels where+  toJSON Job_Labels {..} = Core.toJSON additional++-- | Data corresponding to a spark job.+--+-- /See:/ 'newJobData' smart constructor.+data JobData = JobData+  { completionTime :: (Core.Maybe Core.DateTime),+    description :: (Core.Maybe Core.Text),+    jobGroup :: (Core.Maybe Core.Text),+    jobId :: (Core.Maybe Core.Int64),+    killTasksSummary :: (Core.Maybe JobData_KillTasksSummary),+    name :: (Core.Maybe Core.Text),+    numActiveStages :: (Core.Maybe Core.Int32),+    numActiveTasks :: (Core.Maybe Core.Int32),+    numCompletedIndices :: (Core.Maybe Core.Int32),+    numCompletedStages :: (Core.Maybe Core.Int32),+    numCompletedTasks :: (Core.Maybe Core.Int32),+    numFailedStages :: (Core.Maybe Core.Int32),+    numFailedTasks :: (Core.Maybe Core.Int32),+    numKilledTasks :: (Core.Maybe Core.Int32),+    numSkippedStages :: (Core.Maybe Core.Int32),+    numSkippedTasks :: (Core.Maybe Core.Int32),+    numTasks :: (Core.Maybe Core.Int32),+    skippedStages :: (Core.Maybe [Core.Int32]),+    sqlExecutionId :: (Core.Maybe Core.Int64),+    stageIds :: (Core.Maybe [Core.Int64]),+    status :: (Core.Maybe JobData_Status),+    submissionTime :: (Core.Maybe Core.DateTime)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'JobData' with the minimum fields required to make a request.+newJobData ::+  JobData+newJobData =+  JobData+    { completionTime = Core.Nothing,+      description = Core.Nothing,+      jobGroup = Core.Nothing,+      jobId = Core.Nothing,+      killTasksSummary = Core.Nothing,+      name = Core.Nothing,+      numActiveStages = Core.Nothing,+      numActiveTasks = Core.Nothing,+      numCompletedIndices = Core.Nothing,+      numCompletedStages = Core.Nothing,+      numCompletedTasks = Core.Nothing,+      numFailedStages = Core.Nothing,+      numFailedTasks = Core.Nothing,+      numKilledTasks = Core.Nothing,+      numSkippedStages = Core.Nothing,+      numSkippedTasks = Core.Nothing,+      numTasks = Core.Nothing,+      skippedStages = Core.Nothing,+      sqlExecutionId = Core.Nothing,+      stageIds = Core.Nothing,+      status = Core.Nothing,+      submissionTime = Core.Nothing+    }++instance Core.FromJSON JobData where+  parseJSON =+    Core.withObject+      "JobData"+      ( \o ->+          JobData+            Core.<$> (o Core..:? "completionTime")+            Core.<*> (o Core..:? "description")+            Core.<*> (o Core..:? "jobGroup")+            Core.<*> (o Core..:? "jobId" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "killTasksSummary")+            Core.<*> (o Core..:? "name")+            Core.<*> (o Core..:? "numActiveStages")+            Core.<*> (o Core..:? "numActiveTasks")+            Core.<*> (o Core..:? "numCompletedIndices")+            Core.<*> (o Core..:? "numCompletedStages")+            Core.<*> (o Core..:? "numCompletedTasks")+            Core.<*> (o Core..:? "numFailedStages")+            Core.<*> (o Core..:? "numFailedTasks")+            Core.<*> (o Core..:? "numKilledTasks")+            Core.<*> (o Core..:? "numSkippedStages")+            Core.<*> (o Core..:? "numSkippedTasks")+            Core.<*> (o Core..:? "numTasks")+            Core.<*> (o Core..:? "skippedStages")+            Core.<*> (o Core..:? "sqlExecutionId" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> ( o+                         Core..:? "stageIds"+                         Core.<&> Core.fmap (Core.fmap Core.fromAsText)+                     )+            Core.<*> (o Core..:? "status")+            Core.<*> (o Core..:? "submissionTime")+      )++instance Core.ToJSON JobData where+  toJSON JobData {..} =+    Core.object+      ( Core.catMaybes+          [ ("completionTime" Core..=) Core.<$> completionTime,+            ("description" Core..=) Core.<$> description,+            ("jobGroup" Core..=) Core.<$> jobGroup,+            ("jobId" Core..=) Core.. Core.AsText Core.<$> jobId,+            ("killTasksSummary" Core..=) Core.<$> killTasksSummary,+            ("name" Core..=) Core.<$> name,+            ("numActiveStages" Core..=) Core.<$> numActiveStages,+            ("numActiveTasks" Core..=) Core.<$> numActiveTasks,+            ("numCompletedIndices" Core..=) Core.<$> numCompletedIndices,+            ("numCompletedStages" Core..=) Core.<$> numCompletedStages,+            ("numCompletedTasks" Core..=) Core.<$> numCompletedTasks,+            ("numFailedStages" Core..=) Core.<$> numFailedStages,+            ("numFailedTasks" Core..=) Core.<$> numFailedTasks,+            ("numKilledTasks" Core..=) Core.<$> numKilledTasks,+            ("numSkippedStages" Core..=) Core.<$> numSkippedStages,+            ("numSkippedTasks" Core..=) Core.<$> numSkippedTasks,+            ("numTasks" Core..=) Core.<$> numTasks,+            ("skippedStages" Core..=) Core.<$> skippedStages,+            ("sqlExecutionId" Core..=)+              Core.. Core.AsText+              Core.<$> sqlExecutionId,+            ("stageIds" Core..=)+              Core.. Core.fmap Core.AsText+              Core.<$> stageIds,+            ("status" Core..=) Core.<$> status,+            ("submissionTime" Core..=) Core.<$> submissionTime+          ]+      )++--+-- /See:/ 'newJobData_KillTasksSummary' smart constructor.+newtype JobData_KillTasksSummary = JobData_KillTasksSummary+  { additional :: (Core.HashMap Core.Text Core.Int32)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'JobData_KillTasksSummary' with the minimum fields required to make a request.+newJobData_KillTasksSummary ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Int32 ->+  JobData_KillTasksSummary+newJobData_KillTasksSummary additional =+  JobData_KillTasksSummary {additional = additional}++instance Core.FromJSON JobData_KillTasksSummary where+  parseJSON =+    Core.withObject+      "JobData_KillTasksSummary"+      (\o -> JobData_KillTasksSummary Core.<$> (Core.parseJSONObject o))++instance Core.ToJSON JobData_KillTasksSummary where+  toJSON JobData_KillTasksSummary {..} = Core.toJSON additional++-- | Job Operation metadata.+--+-- /See:/ 'newJobMetadata' smart constructor.+data JobMetadata = JobMetadata+  { -- | Output only. The job id.+    jobId :: (Core.Maybe Core.Text),+    -- | Output only. Operation type.+    operationType :: (Core.Maybe Core.Text),+    -- | Output only. Job submission time.+    startTime :: (Core.Maybe Core.DateTime),+    -- | Output only. Most recent job status.+    status :: (Core.Maybe JobStatus)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'JobMetadata' with the minimum fields required to make a request.+newJobMetadata ::+  JobMetadata+newJobMetadata =+  JobMetadata+    { jobId = Core.Nothing,+      operationType = Core.Nothing,+      startTime = Core.Nothing,+      status = Core.Nothing+    }++instance Core.FromJSON JobMetadata where+  parseJSON =+    Core.withObject+      "JobMetadata"+      ( \o ->+          JobMetadata+            Core.<$> (o Core..:? "jobId")+            Core.<*> (o Core..:? "operationType")+            Core.<*> (o Core..:? "startTime")+            Core.<*> (o Core..:? "status")+      )++instance Core.ToJSON JobMetadata where+  toJSON JobMetadata {..} =+    Core.object+      ( Core.catMaybes+          [ ("jobId" Core..=) Core.<$> jobId,+            ("operationType" Core..=) Core.<$> operationType,+            ("startTime" Core..=) Core.<$> startTime,+            ("status" Core..=) Core.<$> status+          ]+      )++-- | Dataproc job config.+--+-- /See:/ 'newJobPlacement' smart constructor.+data JobPlacement = JobPlacement+  { -- | Optional. Cluster labels to identify a cluster where the job will be submitted.+    clusterLabels :: (Core.Maybe JobPlacement_ClusterLabels),+    -- | Required. The name of the cluster where the job will be submitted.+    clusterName :: (Core.Maybe Core.Text),+    -- | Output only. A cluster UUID generated by the Dataproc service when the job is submitted.+    clusterUuid :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'JobPlacement' with the minimum fields required to make a request.+newJobPlacement ::+  JobPlacement+newJobPlacement =+  JobPlacement+    { clusterLabels = Core.Nothing,+      clusterName = Core.Nothing,+      clusterUuid = Core.Nothing+    }++instance Core.FromJSON JobPlacement where+  parseJSON =+    Core.withObject+      "JobPlacement"+      ( \o ->+          JobPlacement+            Core.<$> (o Core..:? "clusterLabels")+            Core.<*> (o Core..:? "clusterName")+            Core.<*> (o Core..:? "clusterUuid")+      )++instance Core.ToJSON JobPlacement where+  toJSON JobPlacement {..} =+    Core.object+      ( Core.catMaybes+          [ ("clusterLabels" Core..=) Core.<$> clusterLabels,+            ("clusterName" Core..=) Core.<$> clusterName,+            ("clusterUuid" Core..=) Core.<$> clusterUuid+          ]+      )++-- | Optional. Cluster labels to identify a cluster where the job will be submitted.+--+-- /See:/ 'newJobPlacement_ClusterLabels' smart constructor.+newtype JobPlacement_ClusterLabels = JobPlacement_ClusterLabels+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'JobPlacement_ClusterLabels' with the minimum fields required to make a request.+newJobPlacement_ClusterLabels ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  JobPlacement_ClusterLabels+newJobPlacement_ClusterLabels additional =+  JobPlacement_ClusterLabels {additional = additional}++instance Core.FromJSON JobPlacement_ClusterLabels where+  parseJSON =+    Core.withObject+      "JobPlacement_ClusterLabels"+      ( \o ->+          JobPlacement_ClusterLabels Core.<$> (Core.parseJSONObject o)+      )++instance Core.ToJSON JobPlacement_ClusterLabels where+  toJSON JobPlacement_ClusterLabels {..} = Core.toJSON additional++-- | Encapsulates the full scoping used to reference a job.+--+-- /See:/ 'newJobReference' smart constructor.+data JobReference = JobReference+  { -- | Optional. The job ID, which must be unique within the project.The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), or hyphens (-). The maximum length is 100 characters.If not specified by the caller, the job ID will be provided by the server.+    jobId :: (Core.Maybe Core.Text),+    -- | Optional. The ID of the Google Cloud Platform project that the job belongs to. If specified, must match the request project ID.+    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, projectId = Core.Nothing}++instance Core.FromJSON JobReference where+  parseJSON =+    Core.withObject+      "JobReference"+      ( \o ->+          JobReference+            Core.<$> (o Core..:? "jobId")+            Core.<*> (o Core..:? "projectId")+      )++instance Core.ToJSON JobReference where+  toJSON JobReference {..} =+    Core.object+      ( Core.catMaybes+          [ ("jobId" Core..=) Core.<$> jobId,+            ("projectId" Core..=) Core.<$> projectId+          ]+      )++-- | Job scheduling options.+--+-- /See:/ 'newJobScheduling' smart constructor.+data JobScheduling = JobScheduling+  { -- | Optional. Maximum number of times per hour a driver can be restarted as a result of driver exiting with non-zero code before job is reported failed.A job might be reported as thrashing if the driver exits with a non-zero code four times within a 10-minute window.Maximum value is 10.Note: This restartable job option is not supported in Dataproc workflow templates (https:\/\/cloud.google.com\/dataproc\/docs\/concepts\/workflows\/using-workflows#adding/jobs/to/a/template).+    maxFailuresPerHour :: (Core.Maybe Core.Int32),+    -- | Optional. Maximum total number of times a driver can be restarted as a result of the driver exiting with a non-zero code. After the maximum number is reached, the job will be reported as failed.Maximum value is 240.Note: Currently, this restartable job option is not supported in Dataproc workflow templates (https:\/\/cloud.google.com\/dataproc\/docs\/concepts\/workflows\/using-workflows#adding/jobs/to/a/template).+    maxFailuresTotal :: (Core.Maybe Core.Int32)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'JobScheduling' with the minimum fields required to make a request.+newJobScheduling ::+  JobScheduling+newJobScheduling =+  JobScheduling+    { maxFailuresPerHour = Core.Nothing,+      maxFailuresTotal = Core.Nothing+    }++instance Core.FromJSON JobScheduling where+  parseJSON =+    Core.withObject+      "JobScheduling"+      ( \o ->+          JobScheduling+            Core.<$> (o Core..:? "maxFailuresPerHour")+            Core.<*> (o Core..:? "maxFailuresTotal")+      )++instance Core.ToJSON JobScheduling where+  toJSON JobScheduling {..} =+    Core.object+      ( Core.catMaybes+          [ ("maxFailuresPerHour" Core..=) Core.<$> maxFailuresPerHour,+            ("maxFailuresTotal" Core..=) Core.<$> maxFailuresTotal+          ]+      )++-- | Dataproc job status.+--+-- /See:/ 'newJobStatus' smart constructor.+data JobStatus = JobStatus+  { -- | Optional. Output only. Job state details, such as an error description if the state is ERROR.+    details :: (Core.Maybe Core.Text),+    -- | Output only. A state message specifying the overall job state.+    state :: (Core.Maybe JobStatus_State),+    -- | Output only. The time when this state was entered.+    stateStartTime :: (Core.Maybe Core.DateTime),+    -- | Output only. Additional state information, which includes status reported by the agent.+    substate :: (Core.Maybe JobStatus_Substate)+  }+  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+    { details = Core.Nothing,+      state = Core.Nothing,+      stateStartTime = Core.Nothing,+      substate = Core.Nothing+    }++instance Core.FromJSON JobStatus where+  parseJSON =+    Core.withObject+      "JobStatus"+      ( \o ->+          JobStatus+            Core.<$> (o Core..:? "details")+            Core.<*> (o Core..:? "state")+            Core.<*> (o Core..:? "stateStartTime")+            Core.<*> (o Core..:? "substate")+      )++instance Core.ToJSON JobStatus where+  toJSON JobStatus {..} =+    Core.object+      ( Core.catMaybes+          [ ("details" Core..=) Core.<$> details,+            ("state" Core..=) Core.<$> state,+            ("stateStartTime" Core..=) Core.<$> stateStartTime,+            ("substate" Core..=) Core.<$> substate+          ]+      )++-- | Data related to Jobs page summary+--+-- /See:/ 'newJobsSummary' smart constructor.+data JobsSummary = JobsSummary+  { -- | Number of active jobs+    activeJobs :: (Core.Maybe Core.Int32),+    -- | Spark Application Id+    applicationId :: (Core.Maybe Core.Text),+    -- | Attempts info+    attempts :: (Core.Maybe [ApplicationAttemptInfo]),+    -- | Number of completed jobs+    completedJobs :: (Core.Maybe Core.Int32),+    -- | Number of failed jobs+    failedJobs :: (Core.Maybe Core.Int32),+    -- | Spark Scheduling mode+    schedulingMode :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'JobsSummary' with the minimum fields required to make a request.+newJobsSummary ::+  JobsSummary+newJobsSummary =+  JobsSummary+    { activeJobs = Core.Nothing,+      applicationId = Core.Nothing,+      attempts = Core.Nothing,+      completedJobs = Core.Nothing,+      failedJobs = Core.Nothing,+      schedulingMode = Core.Nothing+    }++instance Core.FromJSON JobsSummary where+  parseJSON =+    Core.withObject+      "JobsSummary"+      ( \o ->+          JobsSummary+            Core.<$> (o Core..:? "activeJobs")+            Core.<*> (o Core..:? "applicationId")+            Core.<*> (o Core..:? "attempts")+            Core.<*> (o Core..:? "completedJobs")+            Core.<*> (o Core..:? "failedJobs")+            Core.<*> (o Core..:? "schedulingMode")+      )++instance Core.ToJSON JobsSummary where+  toJSON JobsSummary {..} =+    Core.object+      ( Core.catMaybes+          [ ("activeJobs" Core..=) Core.<$> activeJobs,+            ("applicationId" Core..=) Core.<$> applicationId,+            ("attempts" Core..=) Core.<$> attempts,+            ("completedJobs" Core..=) Core.<$> completedJobs,+            ("failedJobs" Core..=) Core.<$> failedJobs,+            ("schedulingMode" Core..=) Core.<$> schedulingMode+          ]+      )++-- | Jupyter configuration for an interactive session.+--+-- /See:/ 'newJupyterConfig' smart constructor.+data JupyterConfig = JupyterConfig+  { -- | Optional. Display name, shown in the Jupyter kernelspec card.+    displayName :: (Core.Maybe Core.Text),+    -- | Optional. Kernel+    kernel :: (Core.Maybe JupyterConfig_Kernel)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'JupyterConfig' with the minimum fields required to make a request.+newJupyterConfig ::+  JupyterConfig+newJupyterConfig =+  JupyterConfig {displayName = Core.Nothing, kernel = Core.Nothing}++instance Core.FromJSON JupyterConfig where+  parseJSON =+    Core.withObject+      "JupyterConfig"+      ( \o ->+          JupyterConfig+            Core.<$> (o Core..:? "displayName")+            Core.<*> (o Core..:? "kernel")+      )++instance Core.ToJSON JupyterConfig where+  toJSON JupyterConfig {..} =+    Core.object+      ( Core.catMaybes+          [ ("displayName" Core..=) Core.<$> displayName,+            ("kernel" Core..=) Core.<$> kernel+          ]+      )++-- | Specifies Kerberos related configuration.+--+-- /See:/ 'newKerberosConfig' smart constructor.+data KerberosConfig = KerberosConfig+  { -- | Optional. The admin server (IP or hostname) for the remote trusted realm in a cross realm trust relationship.+    crossRealmTrustAdminServer :: (Core.Maybe Core.Text),+    -- | Optional. The KDC (IP or hostname) for the remote trusted realm in a cross realm trust relationship.+    crossRealmTrustKdc :: (Core.Maybe Core.Text),+    -- | Optional. The remote realm the Dataproc on-cluster KDC will trust, should the user enable cross realm trust.+    crossRealmTrustRealm :: (Core.Maybe Core.Text),+    -- | Optional. The Cloud Storage URI of a KMS encrypted file containing the shared password between the on-cluster Kerberos realm and the remote trusted realm, in a cross realm trust relationship.+    crossRealmTrustSharedPasswordUri :: (Core.Maybe Core.Text),+    -- | Optional. Flag to indicate whether to Kerberize the cluster (default: false). Set this field to true to enable Kerberos on a cluster.+    enableKerberos :: (Core.Maybe Core.Bool),+    -- | Optional. The Cloud Storage URI of a KMS encrypted file containing the master key of the KDC database.+    kdcDbKeyUri :: (Core.Maybe Core.Text),+    -- | Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided key. For the self-signed certificate, this password is generated by Dataproc.+    keyPasswordUri :: (Core.Maybe Core.Text),+    -- | Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided keystore. For the self-signed certificate, this password is generated by Dataproc.+    keystorePasswordUri :: (Core.Maybe Core.Text),+    -- | Optional. The Cloud Storage URI of the keystore file used for SSL encryption. If not provided, Dataproc will provide a self-signed certificate.+    keystoreUri :: (Core.Maybe Core.Text),+    -- | Optional. The URI of the KMS key used to encrypt sensitive files.+    kmsKeyUri :: (Core.Maybe Core.Text),+    -- | Optional. The name of the on-cluster Kerberos realm. If not specified, the uppercased domain of hostnames will be the realm.+    realm :: (Core.Maybe Core.Text),+    -- | Optional. The Cloud Storage URI of a KMS encrypted file containing the root principal password.+    rootPrincipalPasswordUri :: (Core.Maybe Core.Text),+    -- | Optional. The lifetime of the ticket granting ticket, in hours. If not specified, or user specifies 0, then default value 10 will be used.+    tgtLifetimeHours :: (Core.Maybe Core.Int32),+    -- | Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided truststore. For the self-signed certificate, this password is generated by Dataproc.+    truststorePasswordUri :: (Core.Maybe Core.Text),+    -- | Optional. The Cloud Storage URI of the truststore file used for SSL encryption. If not provided, Dataproc will provide a self-signed certificate.+    truststoreUri :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'KerberosConfig' with the minimum fields required to make a request.+newKerberosConfig ::+  KerberosConfig+newKerberosConfig =+  KerberosConfig+    { crossRealmTrustAdminServer = Core.Nothing,+      crossRealmTrustKdc = Core.Nothing,+      crossRealmTrustRealm = Core.Nothing,+      crossRealmTrustSharedPasswordUri = Core.Nothing,+      enableKerberos = Core.Nothing,+      kdcDbKeyUri = Core.Nothing,+      keyPasswordUri = Core.Nothing,+      keystorePasswordUri = Core.Nothing,+      keystoreUri = Core.Nothing,+      kmsKeyUri = Core.Nothing,+      realm = Core.Nothing,+      rootPrincipalPasswordUri = Core.Nothing,+      tgtLifetimeHours = Core.Nothing,+      truststorePasswordUri = Core.Nothing,+      truststoreUri = Core.Nothing+    }++instance Core.FromJSON KerberosConfig where+  parseJSON =+    Core.withObject+      "KerberosConfig"+      ( \o ->+          KerberosConfig+            Core.<$> (o Core..:? "crossRealmTrustAdminServer")+            Core.<*> (o Core..:? "crossRealmTrustKdc")+            Core.<*> (o Core..:? "crossRealmTrustRealm")+            Core.<*> (o Core..:? "crossRealmTrustSharedPasswordUri")+            Core.<*> (o Core..:? "enableKerberos")+            Core.<*> (o Core..:? "kdcDbKeyUri")+            Core.<*> (o Core..:? "keyPasswordUri")+            Core.<*> (o Core..:? "keystorePasswordUri")+            Core.<*> (o Core..:? "keystoreUri")+            Core.<*> (o Core..:? "kmsKeyUri")+            Core.<*> (o Core..:? "realm")+            Core.<*> (o Core..:? "rootPrincipalPasswordUri")+            Core.<*> (o Core..:? "tgtLifetimeHours")+            Core.<*> (o Core..:? "truststorePasswordUri")+            Core.<*> (o Core..:? "truststoreUri")+      )++instance Core.ToJSON KerberosConfig where+  toJSON KerberosConfig {..} =+    Core.object+      ( Core.catMaybes+          [ ("crossRealmTrustAdminServer" Core..=)+              Core.<$> crossRealmTrustAdminServer,+            ("crossRealmTrustKdc" Core..=) Core.<$> crossRealmTrustKdc,+            ("crossRealmTrustRealm" Core..=) Core.<$> crossRealmTrustRealm,+            ("crossRealmTrustSharedPasswordUri" Core..=)+              Core.<$> crossRealmTrustSharedPasswordUri,+            ("enableKerberos" Core..=) Core.<$> enableKerberos,+            ("kdcDbKeyUri" Core..=) Core.<$> kdcDbKeyUri,+            ("keyPasswordUri" Core..=) Core.<$> keyPasswordUri,+            ("keystorePasswordUri" Core..=) Core.<$> keystorePasswordUri,+            ("keystoreUri" Core..=) Core.<$> keystoreUri,+            ("kmsKeyUri" Core..=) Core.<$> kmsKeyUri,+            ("realm" Core..=) Core.<$> realm,+            ("rootPrincipalPasswordUri" Core..=)+              Core.<$> rootPrincipalPasswordUri,+            ("tgtLifetimeHours" Core..=) Core.<$> tgtLifetimeHours,+            ("truststorePasswordUri" Core..=) Core.<$> truststorePasswordUri,+            ("truststoreUri" Core..=) Core.<$> truststoreUri+          ]+      )++-- | The configuration for running the Dataproc cluster on Kubernetes.+--+-- /See:/ 'newKubernetesClusterConfig' smart constructor.+data KubernetesClusterConfig = KubernetesClusterConfig+  { -- | Required. The configuration for running the Dataproc cluster on GKE.+    gkeClusterConfig :: (Core.Maybe GkeClusterConfig),+    -- | Optional. A namespace within the Kubernetes cluster to deploy into. If this namespace does not exist, it is created. If it exists, Dataproc verifies that another Dataproc VirtualCluster is not installed into it. If not specified, the name of the Dataproc Cluster is used.+    kubernetesNamespace :: (Core.Maybe Core.Text),+    -- | Optional. The software configuration for this Dataproc cluster running on Kubernetes.+    kubernetesSoftwareConfig :: (Core.Maybe KubernetesSoftwareConfig)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'KubernetesClusterConfig' with the minimum fields required to make a request.+newKubernetesClusterConfig ::+  KubernetesClusterConfig+newKubernetesClusterConfig =+  KubernetesClusterConfig+    { gkeClusterConfig = Core.Nothing,+      kubernetesNamespace = Core.Nothing,+      kubernetesSoftwareConfig = Core.Nothing+    }++instance Core.FromJSON KubernetesClusterConfig where+  parseJSON =+    Core.withObject+      "KubernetesClusterConfig"+      ( \o ->+          KubernetesClusterConfig+            Core.<$> (o Core..:? "gkeClusterConfig")+            Core.<*> (o Core..:? "kubernetesNamespace")+            Core.<*> (o Core..:? "kubernetesSoftwareConfig")+      )++instance Core.ToJSON KubernetesClusterConfig where+  toJSON KubernetesClusterConfig {..} =+    Core.object+      ( Core.catMaybes+          [ ("gkeClusterConfig" Core..=) Core.<$> gkeClusterConfig,+            ("kubernetesNamespace" Core..=) Core.<$> kubernetesNamespace,+            ("kubernetesSoftwareConfig" Core..=)+              Core.<$> kubernetesSoftwareConfig+          ]+      )++-- | The software configuration for this Dataproc cluster running on Kubernetes.+--+-- /See:/ 'newKubernetesSoftwareConfig' smart constructor.+data KubernetesSoftwareConfig = KubernetesSoftwareConfig+  { -- | The components that should be installed in this Dataproc cluster. The key must be a string from the KubernetesComponent enumeration. The value is the version of the software to be installed. At least one entry must be specified.+    componentVersion :: (Core.Maybe KubernetesSoftwareConfig_ComponentVersion),+    -- | The properties to set on daemon config files.Property keys are specified in prefix:property format, for example spark:spark.kubernetes.container.image. The following are supported prefixes and their mappings: spark: spark-defaults.confFor more information, see Cluster properties (https:\/\/cloud.google.com\/dataproc\/docs\/concepts\/cluster-properties).+    properties :: (Core.Maybe KubernetesSoftwareConfig_Properties)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'KubernetesSoftwareConfig' with the minimum fields required to make a request.+newKubernetesSoftwareConfig ::+  KubernetesSoftwareConfig+newKubernetesSoftwareConfig =+  KubernetesSoftwareConfig+    { componentVersion = Core.Nothing,+      properties = Core.Nothing+    }++instance Core.FromJSON KubernetesSoftwareConfig where+  parseJSON =+    Core.withObject+      "KubernetesSoftwareConfig"+      ( \o ->+          KubernetesSoftwareConfig+            Core.<$> (o Core..:? "componentVersion")+            Core.<*> (o Core..:? "properties")+      )++instance Core.ToJSON KubernetesSoftwareConfig where+  toJSON KubernetesSoftwareConfig {..} =+    Core.object+      ( Core.catMaybes+          [ ("componentVersion" Core..=) Core.<$> componentVersion,+            ("properties" Core..=) Core.<$> properties+          ]+      )++-- | The components that should be installed in this Dataproc cluster. The key must be a string from the KubernetesComponent enumeration. The value is the version of the software to be installed. At least one entry must be specified.+--+-- /See:/ 'newKubernetesSoftwareConfig_ComponentVersion' smart constructor.+newtype KubernetesSoftwareConfig_ComponentVersion = KubernetesSoftwareConfig_ComponentVersion+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'KubernetesSoftwareConfig_ComponentVersion' with the minimum fields required to make a request.+newKubernetesSoftwareConfig_ComponentVersion ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  KubernetesSoftwareConfig_ComponentVersion+newKubernetesSoftwareConfig_ComponentVersion additional =+  KubernetesSoftwareConfig_ComponentVersion+    { additional =+        additional+    }++instance Core.FromJSON KubernetesSoftwareConfig_ComponentVersion where+  parseJSON =+    Core.withObject+      "KubernetesSoftwareConfig_ComponentVersion"+      ( \o ->+          KubernetesSoftwareConfig_ComponentVersion+            Core.<$> (Core.parseJSONObject o)+      )++instance Core.ToJSON KubernetesSoftwareConfig_ComponentVersion where+  toJSON KubernetesSoftwareConfig_ComponentVersion {..} =+    Core.toJSON additional++-- | The properties to set on daemon config files.Property keys are specified in prefix:property format, for example spark:spark.kubernetes.container.image. The following are supported prefixes and their mappings: spark: spark-defaults.confFor more information, see Cluster properties (https:\/\/cloud.google.com\/dataproc\/docs\/concepts\/cluster-properties).+--+-- /See:/ 'newKubernetesSoftwareConfig_Properties' smart constructor.+newtype KubernetesSoftwareConfig_Properties = KubernetesSoftwareConfig_Properties+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'KubernetesSoftwareConfig_Properties' with the minimum fields required to make a request.+newKubernetesSoftwareConfig_Properties ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  KubernetesSoftwareConfig_Properties+newKubernetesSoftwareConfig_Properties additional =+  KubernetesSoftwareConfig_Properties {additional = additional}++instance Core.FromJSON KubernetesSoftwareConfig_Properties where+  parseJSON =+    Core.withObject+      "KubernetesSoftwareConfig_Properties"+      ( \o ->+          KubernetesSoftwareConfig_Properties+            Core.<$> (Core.parseJSONObject o)+      )++instance Core.ToJSON KubernetesSoftwareConfig_Properties where+  toJSON KubernetesSoftwareConfig_Properties {..} =+    Core.toJSON additional++-- | Specifies the cluster auto-delete schedule configuration.+--+-- /See:/ 'newLifecycleConfig' smart constructor.+data LifecycleConfig = LifecycleConfig+  { -- | Optional. The time when cluster will be auto-deleted (see JSON representation of Timestamp (https:\/\/developers.google.com\/protocol-buffers\/docs\/proto3#json)).+    autoDeleteTime :: (Core.Maybe Core.DateTime),+    -- | Optional. The lifetime duration of cluster. The cluster will be auto-deleted at the end of this period. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of Duration (https:\/\/developers.google.com\/protocol-buffers\/docs\/proto3#json)).+    autoDeleteTtl :: (Core.Maybe Core.Duration),+    -- | Optional. The duration to keep the cluster alive while idling (when no jobs are running). Passing this threshold will cause the cluster to be deleted. Minimum value is 5 minutes; maximum value is 14 days (see JSON representation of Duration (https:\/\/developers.google.com\/protocol-buffers\/docs\/proto3#json)).+    idleDeleteTtl :: (Core.Maybe Core.Duration),+    -- | Output only. The time when cluster became idle (most recent job finished) and became eligible for deletion due to idleness (see JSON representation of Timestamp (https:\/\/developers.google.com\/protocol-buffers\/docs\/proto3#json)).+    idleStartTime :: (Core.Maybe Core.DateTime)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'LifecycleConfig' with the minimum fields required to make a request.+newLifecycleConfig ::+  LifecycleConfig+newLifecycleConfig =+  LifecycleConfig+    { autoDeleteTime = Core.Nothing,+      autoDeleteTtl = Core.Nothing,+      idleDeleteTtl = Core.Nothing,+      idleStartTime = Core.Nothing+    }++instance Core.FromJSON LifecycleConfig where+  parseJSON =+    Core.withObject+      "LifecycleConfig"+      ( \o ->+          LifecycleConfig+            Core.<$> (o Core..:? "autoDeleteTime")+            Core.<*> (o Core..:? "autoDeleteTtl")+            Core.<*> (o Core..:? "idleDeleteTtl")+            Core.<*> (o Core..:? "idleStartTime")+      )++instance Core.ToJSON LifecycleConfig where+  toJSON LifecycleConfig {..} =+    Core.object+      ( Core.catMaybes+          [ ("autoDeleteTime" Core..=) Core.<$> autoDeleteTime,+            ("autoDeleteTtl" Core..=) Core.<$> autoDeleteTtl,+            ("idleDeleteTtl" Core..=) Core.<$> idleDeleteTtl,+            ("idleStartTime" Core..=) Core.<$> idleStartTime+          ]+      )++-- | A response to a request to list autoscaling policies in a project.+--+-- /See:/ 'newListAutoscalingPoliciesResponse' smart constructor.+data ListAutoscalingPoliciesResponse = ListAutoscalingPoliciesResponse+  { -- | Output only. This token is included in the response if there are more results to fetch.+    nextPageToken :: (Core.Maybe Core.Text),+    -- | Output only. Autoscaling policies list.+    policies :: (Core.Maybe [AutoscalingPolicy])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ListAutoscalingPoliciesResponse' with the minimum fields required to make a request.+newListAutoscalingPoliciesResponse ::+  ListAutoscalingPoliciesResponse+newListAutoscalingPoliciesResponse =+  ListAutoscalingPoliciesResponse+    { nextPageToken = Core.Nothing,+      policies = Core.Nothing+    }++instance Core.FromJSON ListAutoscalingPoliciesResponse where+  parseJSON =+    Core.withObject+      "ListAutoscalingPoliciesResponse"+      ( \o ->+          ListAutoscalingPoliciesResponse+            Core.<$> (o Core..:? "nextPageToken")+            Core.<*> (o Core..:? "policies")+      )++instance Core.ToJSON ListAutoscalingPoliciesResponse where+  toJSON ListAutoscalingPoliciesResponse {..} =+    Core.object+      ( Core.catMaybes+          [ ("nextPageToken" Core..=) Core.<$> nextPageToken,+            ("policies" Core..=) Core.<$> policies+          ]+      )++-- | A list of batch workloads.+--+-- /See:/ 'newListBatchesResponse' smart constructor.+data ListBatchesResponse = ListBatchesResponse+  { -- | Output only. The batches from the specified collection.+    batches :: (Core.Maybe [Batch]),+    -- | A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.+    nextPageToken :: (Core.Maybe Core.Text),+    -- | Output only. List of Batches that could not be included in the response. Attempting to get one of these resources may indicate why it was not included in the list response.+    unreachable :: (Core.Maybe [Core.Text])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ListBatchesResponse' with the minimum fields required to make a request.+newListBatchesResponse ::+  ListBatchesResponse+newListBatchesResponse =+  ListBatchesResponse+    { batches = Core.Nothing,+      nextPageToken = Core.Nothing,+      unreachable = Core.Nothing+    }++instance Core.FromJSON ListBatchesResponse where+  parseJSON =+    Core.withObject+      "ListBatchesResponse"+      ( \o ->+          ListBatchesResponse+            Core.<$> (o Core..:? "batches")+            Core.<*> (o Core..:? "nextPageToken")+            Core.<*> (o Core..:? "unreachable")+      )++instance Core.ToJSON ListBatchesResponse where+  toJSON ListBatchesResponse {..} =+    Core.object+      ( Core.catMaybes+          [ ("batches" Core..=) Core.<$> batches,+            ("nextPageToken" Core..=) Core.<$> nextPageToken,+            ("unreachable" Core..=) Core.<$> unreachable+          ]+      )++-- | The list of all clusters in a project.+--+-- /See:/ 'newListClustersResponse' smart constructor.+data ListClustersResponse = ListClustersResponse+  { -- | Output only. The clusters in the project.+    clusters :: (Core.Maybe [Cluster]),+    -- | Output only. This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent ListClustersRequest.+    nextPageToken :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ListClustersResponse' with the minimum fields required to make a request.+newListClustersResponse ::+  ListClustersResponse+newListClustersResponse =+  ListClustersResponse+    { clusters = Core.Nothing,+      nextPageToken = Core.Nothing+    }++instance Core.FromJSON ListClustersResponse where+  parseJSON =+    Core.withObject+      "ListClustersResponse"+      ( \o ->+          ListClustersResponse+            Core.<$> (o Core..:? "clusters")+            Core.<*> (o Core..:? "nextPageToken")+      )++instance Core.ToJSON ListClustersResponse where+  toJSON ListClustersResponse {..} =+    Core.object+      ( Core.catMaybes+          [ ("clusters" Core..=) Core.<$> clusters,+            ("nextPageToken" Core..=) Core.<$> nextPageToken+          ]+      )++-- | A list of jobs in a project.+--+-- /See:/ 'newListJobsResponse' smart constructor.+data ListJobsResponse = ListJobsResponse+  { -- | Output only. Jobs list.+    jobs :: (Core.Maybe [Job]),+    -- | Optional. This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent ListJobsRequest.+    nextPageToken :: (Core.Maybe Core.Text),+    -- | Output only. List of jobs with kms_key-encrypted parameters that could not be decrypted. A response to a jobs.get request may indicate the reason for the decryption failure for a specific job.+    unreachable :: (Core.Maybe [Core.Text])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ListJobsResponse' with the minimum fields required to make a request.+newListJobsResponse ::+  ListJobsResponse+newListJobsResponse =+  ListJobsResponse+    { jobs = Core.Nothing,+      nextPageToken = Core.Nothing,+      unreachable = Core.Nothing+    }++instance Core.FromJSON ListJobsResponse where+  parseJSON =+    Core.withObject+      "ListJobsResponse"+      ( \o ->+          ListJobsResponse+            Core.<$> (o Core..:? "jobs")+            Core.<*> (o Core..:? "nextPageToken")+            Core.<*> (o Core..:? "unreachable")+      )++instance Core.ToJSON ListJobsResponse where+  toJSON ListJobsResponse {..} =+    Core.object+      ( Core.catMaybes+          [ ("jobs" Core..=) Core.<$> jobs,+            ("nextPageToken" Core..=) Core.<$> nextPageToken,+            ("unreachable" Core..=) Core.<$> unreachable+          ]+      )++-- | The response message for Operations.ListOperations.+--+-- /See:/ 'newListOperationsResponse' smart constructor.+data ListOperationsResponse = ListOperationsResponse+  { -- | The standard List next-page token.+    nextPageToken :: (Core.Maybe Core.Text),+    -- | A list of operations that matches the specified filter in the request.+    operations :: (Core.Maybe [Operation])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ListOperationsResponse' with the minimum fields required to make a request.+newListOperationsResponse ::+  ListOperationsResponse+newListOperationsResponse =+  ListOperationsResponse+    { nextPageToken = Core.Nothing,+      operations = Core.Nothing+    }++instance Core.FromJSON ListOperationsResponse where+  parseJSON =+    Core.withObject+      "ListOperationsResponse"+      ( \o ->+          ListOperationsResponse+            Core.<$> (o Core..:? "nextPageToken")+            Core.<*> (o Core..:? "operations")+      )++instance Core.ToJSON ListOperationsResponse where+  toJSON ListOperationsResponse {..} =+    Core.object+      ( Core.catMaybes+          [ ("nextPageToken" Core..=) Core.<$> nextPageToken,+            ("operations" Core..=) Core.<$> operations+          ]+      )++-- | A list of session templates.+--+-- /See:/ 'newListSessionTemplatesResponse' smart constructor.+data ListSessionTemplatesResponse = ListSessionTemplatesResponse+  { -- | A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.+    nextPageToken :: (Core.Maybe Core.Text),+    -- | Output only. Session template list+    sessionTemplates :: (Core.Maybe [SessionTemplate])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ListSessionTemplatesResponse' with the minimum fields required to make a request.+newListSessionTemplatesResponse ::+  ListSessionTemplatesResponse+newListSessionTemplatesResponse =+  ListSessionTemplatesResponse+    { nextPageToken = Core.Nothing,+      sessionTemplates = Core.Nothing+    }++instance Core.FromJSON ListSessionTemplatesResponse where+  parseJSON =+    Core.withObject+      "ListSessionTemplatesResponse"+      ( \o ->+          ListSessionTemplatesResponse+            Core.<$> (o Core..:? "nextPageToken")+            Core.<*> (o Core..:? "sessionTemplates")+      )++instance Core.ToJSON ListSessionTemplatesResponse where+  toJSON ListSessionTemplatesResponse {..} =+    Core.object+      ( Core.catMaybes+          [ ("nextPageToken" Core..=) Core.<$> nextPageToken,+            ("sessionTemplates" Core..=) Core.<$> sessionTemplates+          ]+      )++-- | A list of interactive sessions.+--+-- /See:/ 'newListSessionsResponse' smart constructor.+data ListSessionsResponse = ListSessionsResponse+  { -- | A token, which can be sent as page_token, to retrieve the next page. If this field is omitted, there are no subsequent pages.+    nextPageToken :: (Core.Maybe Core.Text),+    -- | Output only. The sessions from the specified collection.+    sessions :: (Core.Maybe [Session])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ListSessionsResponse' with the minimum fields required to make a request.+newListSessionsResponse ::+  ListSessionsResponse+newListSessionsResponse =+  ListSessionsResponse+    { nextPageToken = Core.Nothing,+      sessions = Core.Nothing+    }++instance Core.FromJSON ListSessionsResponse where+  parseJSON =+    Core.withObject+      "ListSessionsResponse"+      ( \o ->+          ListSessionsResponse+            Core.<$> (o Core..:? "nextPageToken")+            Core.<*> (o Core..:? "sessions")+      )++instance Core.ToJSON ListSessionsResponse where+  toJSON ListSessionsResponse {..} =+    Core.object+      ( Core.catMaybes+          [ ("nextPageToken" Core..=) Core.<$> nextPageToken,+            ("sessions" Core..=) Core.<$> sessions+          ]+      )++-- | A response to a request to list workflow templates in a project.+--+-- /See:/ 'newListWorkflowTemplatesResponse' smart constructor.+data ListWorkflowTemplatesResponse = ListWorkflowTemplatesResponse+  { -- | Output only. This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent ListWorkflowTemplatesRequest.+    nextPageToken :: (Core.Maybe Core.Text),+    -- | Output only. WorkflowTemplates list.+    templates :: (Core.Maybe [WorkflowTemplate]),+    -- | Output only. List of workflow templates that could not be included in the response. Attempting to get one of these resources may indicate why it was not included in the list response.+    unreachable :: (Core.Maybe [Core.Text])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ListWorkflowTemplatesResponse' with the minimum fields required to make a request.+newListWorkflowTemplatesResponse ::+  ListWorkflowTemplatesResponse+newListWorkflowTemplatesResponse =+  ListWorkflowTemplatesResponse+    { nextPageToken = Core.Nothing,+      templates = Core.Nothing,+      unreachable = Core.Nothing+    }++instance Core.FromJSON ListWorkflowTemplatesResponse where+  parseJSON =+    Core.withObject+      "ListWorkflowTemplatesResponse"+      ( \o ->+          ListWorkflowTemplatesResponse+            Core.<$> (o Core..:? "nextPageToken")+            Core.<*> (o Core..:? "templates")+            Core.<*> (o Core..:? "unreachable")+      )++instance Core.ToJSON ListWorkflowTemplatesResponse where+  toJSON ListWorkflowTemplatesResponse {..} =+    Core.object+      ( Core.catMaybes+          [ ("nextPageToken" Core..=) Core.<$> nextPageToken,+            ("templates" Core..=) Core.<$> templates,+            ("unreachable" Core..=) Core.<$> unreachable+          ]+      )++-- | The runtime logging config of the job.+--+-- /See:/ 'newLoggingConfig' smart constructor.+newtype LoggingConfig = LoggingConfig+  { -- | The per-package log levels for the driver. This can include \"root\" package name to configure rootLogger. Examples: - \'com.google = FATAL\' - \'root = INFO\' - \'org.apache = DEBUG\'+    driverLogLevels :: (Core.Maybe LoggingConfig_DriverLogLevels)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'LoggingConfig' with the minimum fields required to make a request.+newLoggingConfig ::+  LoggingConfig+newLoggingConfig = LoggingConfig {driverLogLevels = Core.Nothing}++instance Core.FromJSON LoggingConfig where+  parseJSON =+    Core.withObject+      "LoggingConfig"+      (\o -> LoggingConfig Core.<$> (o Core..:? "driverLogLevels"))++instance Core.ToJSON LoggingConfig where+  toJSON LoggingConfig {..} =+    Core.object+      ( Core.catMaybes+          [("driverLogLevels" Core..=) Core.<$> driverLogLevels]+      )++-- | The per-package log levels for the driver. This can include \"root\" package name to configure rootLogger. Examples: - \'com.google = FATAL\' - \'root = INFO\' - \'org.apache = DEBUG\'+--+-- /See:/ 'newLoggingConfig_DriverLogLevels' smart constructor.+newtype LoggingConfig_DriverLogLevels = LoggingConfig_DriverLogLevels+  { additional :: (Core.HashMap Core.Text LoggingConfig_DriverLogLevelsAdditional)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'LoggingConfig_DriverLogLevels' with the minimum fields required to make a request.+newLoggingConfig_DriverLogLevels ::+  -- |  See 'additional'.+  Core.HashMap Core.Text LoggingConfig_DriverLogLevelsAdditional ->+  LoggingConfig_DriverLogLevels+newLoggingConfig_DriverLogLevels additional =+  LoggingConfig_DriverLogLevels {additional = additional}++instance Core.FromJSON LoggingConfig_DriverLogLevels where+  parseJSON =+    Core.withObject+      "LoggingConfig_DriverLogLevels"+      ( \o ->+          LoggingConfig_DriverLogLevels Core.<$> (Core.parseJSONObject o)+      )++instance Core.ToJSON LoggingConfig_DriverLogLevels where+  toJSON LoggingConfig_DriverLogLevels {..} = Core.toJSON additional++-- | Cluster that is managed by the workflow.+--+-- /See:/ 'newManagedCluster' smart constructor.+data ManagedCluster = ManagedCluster+  { -- | Required. The cluster name prefix. A unique cluster name will be formed by appending a random suffix.The name must contain only lower-case letters (a-z), numbers (0-9), and hyphens (-). Must begin with a letter. Cannot begin or end with hyphen. Must consist of between 2 and 35 characters.+    clusterName :: (Core.Maybe Core.Text),+    -- | Required. The cluster configuration.+    config :: (Core.Maybe ClusterConfig),+    -- | Optional. The labels to associate with this cluster.Label keys must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: \\p{Ll}\\p{Lo}{0,62}Label values must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: \\p{Ll}\\p{Lo}\\p{N}_-{0,63}No more than 32 labels can be associated with a given cluster.+    labels :: (Core.Maybe ManagedCluster_Labels)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ManagedCluster' with the minimum fields required to make a request.+newManagedCluster ::+  ManagedCluster+newManagedCluster =+  ManagedCluster+    { clusterName = Core.Nothing,+      config = Core.Nothing,+      labels = Core.Nothing+    }++instance Core.FromJSON ManagedCluster where+  parseJSON =+    Core.withObject+      "ManagedCluster"+      ( \o ->+          ManagedCluster+            Core.<$> (o Core..:? "clusterName")+            Core.<*> (o Core..:? "config")+            Core.<*> (o Core..:? "labels")+      )++instance Core.ToJSON ManagedCluster where+  toJSON ManagedCluster {..} =+    Core.object+      ( Core.catMaybes+          [ ("clusterName" Core..=) Core.<$> clusterName,+            ("config" Core..=) Core.<$> config,+            ("labels" Core..=) Core.<$> labels+          ]+      )++-- | Optional. The labels to associate with this cluster.Label keys must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: \\p{Ll}\\p{Lo}{0,62}Label values must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: \\p{Ll}\\p{Lo}\\p{N}_-{0,63}No more than 32 labels can be associated with a given cluster.+--+-- /See:/ 'newManagedCluster_Labels' smart constructor.+newtype ManagedCluster_Labels = ManagedCluster_Labels+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ManagedCluster_Labels' with the minimum fields required to make a request.+newManagedCluster_Labels ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  ManagedCluster_Labels+newManagedCluster_Labels additional =+  ManagedCluster_Labels {additional = additional}++instance Core.FromJSON ManagedCluster_Labels where+  parseJSON =+    Core.withObject+      "ManagedCluster_Labels"+      (\o -> ManagedCluster_Labels Core.<$> (Core.parseJSONObject o))++instance Core.ToJSON ManagedCluster_Labels where+  toJSON ManagedCluster_Labels {..} = Core.toJSON additional++-- | Specifies the resources used to actively manage an instance group.+--+-- /See:/ 'newManagedGroupConfig' smart constructor.+data ManagedGroupConfig = ManagedGroupConfig+  { -- | Output only. The name of the Instance Group Manager for this group.+    instanceGroupManagerName :: (Core.Maybe Core.Text),+    -- | Output only. The partial URI to the instance group manager for this group. E.g. projects\/my-project\/regions\/us-central1\/instanceGroupManagers\/my-igm.+    instanceGroupManagerUri :: (Core.Maybe Core.Text),+    -- | Output only. The name of the Instance Template used for the Managed Instance Group.+    instanceTemplateName :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ManagedGroupConfig' with the minimum fields required to make a request.+newManagedGroupConfig ::+  ManagedGroupConfig+newManagedGroupConfig =+  ManagedGroupConfig+    { instanceGroupManagerName = Core.Nothing,+      instanceGroupManagerUri = Core.Nothing,+      instanceTemplateName = Core.Nothing+    }++instance Core.FromJSON ManagedGroupConfig where+  parseJSON =+    Core.withObject+      "ManagedGroupConfig"+      ( \o ->+          ManagedGroupConfig+            Core.<$> (o Core..:? "instanceGroupManagerName")+            Core.<*> (o Core..:? "instanceGroupManagerUri")+            Core.<*> (o Core..:? "instanceTemplateName")+      )++instance Core.ToJSON ManagedGroupConfig where+  toJSON ManagedGroupConfig {..} =+    Core.object+      ( Core.catMaybes+          [ ("instanceGroupManagerName" Core..=)+              Core.<$> instanceGroupManagerName,+            ("instanceGroupManagerUri" Core..=)+              Core.<$> instanceGroupManagerUri,+            ("instanceTemplateName" Core..=) Core.<$> instanceTemplateName+          ]+      )++--+-- /See:/ 'newMemoryMetrics' smart constructor.+data MemoryMetrics = MemoryMetrics+  { totalOffHeapStorageMemory :: (Core.Maybe Core.Int64),+    totalOnHeapStorageMemory :: (Core.Maybe Core.Int64),+    usedOffHeapStorageMemory :: (Core.Maybe Core.Int64),+    usedOnHeapStorageMemory :: (Core.Maybe Core.Int64)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'MemoryMetrics' with the minimum fields required to make a request.+newMemoryMetrics ::+  MemoryMetrics+newMemoryMetrics =+  MemoryMetrics+    { totalOffHeapStorageMemory = Core.Nothing,+      totalOnHeapStorageMemory = Core.Nothing,+      usedOffHeapStorageMemory = Core.Nothing,+      usedOnHeapStorageMemory = Core.Nothing+    }++instance Core.FromJSON MemoryMetrics where+  parseJSON =+    Core.withObject+      "MemoryMetrics"+      ( \o ->+          MemoryMetrics+            Core.<$> ( o+                         Core..:? "totalOffHeapStorageMemory"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> ( o+                         Core..:? "totalOnHeapStorageMemory"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> ( o+                         Core..:? "usedOffHeapStorageMemory"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> ( o+                         Core..:? "usedOnHeapStorageMemory"+                         Core.<&> Core.fmap Core.fromAsText+                     )+      )++instance Core.ToJSON MemoryMetrics where+  toJSON MemoryMetrics {..} =+    Core.object+      ( Core.catMaybes+          [ ("totalOffHeapStorageMemory" Core..=)+              Core.. Core.AsText+              Core.<$> totalOffHeapStorageMemory,+            ("totalOnHeapStorageMemory" Core..=)+              Core.. Core.AsText+              Core.<$> totalOnHeapStorageMemory,+            ("usedOffHeapStorageMemory" Core..=)+              Core.. Core.AsText+              Core.<$> usedOffHeapStorageMemory,+            ("usedOnHeapStorageMemory" Core..=)+              Core.. Core.AsText+              Core.<$> usedOnHeapStorageMemory+          ]+      )++-- | Specifies a Metastore configuration.+--+-- /See:/ 'newMetastoreConfig' smart constructor.+newtype MetastoreConfig = MetastoreConfig+  { -- | Required. Resource name of an existing Dataproc Metastore service.Example: projects\/[project/id]\/locations\/[dataproc/region]\/services\/[service-name]+    dataprocMetastoreService :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'MetastoreConfig' with the minimum fields required to make a request.+newMetastoreConfig ::+  MetastoreConfig+newMetastoreConfig =+  MetastoreConfig {dataprocMetastoreService = Core.Nothing}++instance Core.FromJSON MetastoreConfig where+  parseJSON =+    Core.withObject+      "MetastoreConfig"+      ( \o ->+          MetastoreConfig Core.<$> (o Core..:? "dataprocMetastoreService")+      )++instance Core.ToJSON MetastoreConfig where+  toJSON MetastoreConfig {..} =+    Core.object+      ( Core.catMaybes+          [ ("dataprocMetastoreService" Core..=)+              Core.<$> dataprocMetastoreService+          ]+      )++-- | A Dataproc custom metric.+--+-- /See:/ 'newMetric' smart constructor.+data Metric = Metric+  { -- | Optional. Specify one or more Custom metrics (https:\/\/cloud.google.com\/dataproc\/docs\/guides\/dataproc-metrics#custom/metrics) to collect for the metric course (for the SPARK metric source (any Spark metric (https:\/\/spark.apache.org\/docs\/latest\/monitoring.html#metrics) can be specified).Provide metrics in the following format: METRIC/SOURCE: INSTANCE:GROUP:METRIC Use camelcase as appropriate.Examples: yarn:ResourceManager:QueueMetrics:AppsCompleted spark:driver:DAGScheduler:job.allJobs sparkHistoryServer:JVM:Memory:NonHeapMemoryUsage.committed hiveserver2:JVM:Memory:NonHeapMemoryUsage.used Notes: Only the specified overridden metrics are collected for the metric source. For example, if one or more spark:executive metrics are listed as metric overrides, other SPARK metrics are not collected. The collection of the metrics for other enabled custom metric sources is unaffected. For example, if both SPARK andd YARN metric sources are enabled, and overrides are provided for Spark metrics only, all YARN+    -- metrics are collected.+    metricOverrides :: (Core.Maybe [Core.Text]),+    -- | Required. A standard set of metrics is collected unless metricOverrides are specified for the metric source (see Custom metrics (https:\/\/cloud.google.com\/dataproc\/docs\/guides\/dataproc-metrics#custom_metrics) for more information).+    metricSource :: (Core.Maybe Metric_MetricSource)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Metric' with the minimum fields required to make a request.+newMetric ::+  Metric+newMetric =+  Metric+    { metricOverrides = Core.Nothing,+      metricSource = Core.Nothing+    }++instance Core.FromJSON Metric where+  parseJSON =+    Core.withObject+      "Metric"+      ( \o ->+          Metric+            Core.<$> (o Core..:? "metricOverrides")+            Core.<*> (o Core..:? "metricSource")+      )++instance Core.ToJSON Metric where+  toJSON Metric {..} =+    Core.object+      ( Core.catMaybes+          [ ("metricOverrides" Core..=) Core.<$> metricOverrides,+            ("metricSource" Core..=) Core.<$> metricSource+          ]+      )++-- | Deprecated. Used only for the deprecated beta. A full, namespace-isolated deployment target for an existing GKE cluster.+--+-- /See:/ 'newNamespacedGkeDeploymentTarget' smart constructor.+data NamespacedGkeDeploymentTarget = NamespacedGkeDeploymentTarget+  { -- | Optional. A namespace within the GKE cluster to deploy into.+    clusterNamespace :: (Core.Maybe Core.Text),+    -- | Optional. The target GKE cluster to deploy to. Format: \'projects\/{project}\/locations\/{location}\/clusters\/{cluster_id}\'+    targetGkeCluster :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'NamespacedGkeDeploymentTarget' with the minimum fields required to make a request.+newNamespacedGkeDeploymentTarget ::+  NamespacedGkeDeploymentTarget+newNamespacedGkeDeploymentTarget =+  NamespacedGkeDeploymentTarget+    { clusterNamespace = Core.Nothing,+      targetGkeCluster = Core.Nothing+    }++instance Core.FromJSON NamespacedGkeDeploymentTarget where+  parseJSON =+    Core.withObject+      "NamespacedGkeDeploymentTarget"+      ( \o ->+          NamespacedGkeDeploymentTarget+            Core.<$> (o Core..:? "clusterNamespace")+            Core.<*> (o Core..:? "targetGkeCluster")+      )++instance Core.ToJSON NamespacedGkeDeploymentTarget where+  toJSON NamespacedGkeDeploymentTarget {..} =+    Core.object+      ( Core.catMaybes+          [ ("clusterNamespace" Core..=) Core.<$> clusterNamespace,+            ("targetGkeCluster" Core..=) Core.<$> targetGkeCluster+          ]+      )++--+-- /See:/ 'newNativeBuildInfoUiData' smart constructor.+data NativeBuildInfoUiData = NativeBuildInfoUiData+  { -- | Optional. Build class of Native.+    buildClass :: (Core.Maybe Core.Text),+    -- | Optional. Build related details.+    buildInfo :: (Core.Maybe [BuildInfo])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'NativeBuildInfoUiData' with the minimum fields required to make a request.+newNativeBuildInfoUiData ::+  NativeBuildInfoUiData+newNativeBuildInfoUiData =+  NativeBuildInfoUiData+    { buildClass = Core.Nothing,+      buildInfo = Core.Nothing+    }++instance Core.FromJSON NativeBuildInfoUiData where+  parseJSON =+    Core.withObject+      "NativeBuildInfoUiData"+      ( \o ->+          NativeBuildInfoUiData+            Core.<$> (o Core..:? "buildClass")+            Core.<*> (o Core..:? "buildInfo")+      )++instance Core.ToJSON NativeBuildInfoUiData where+  toJSON NativeBuildInfoUiData {..} =+    Core.object+      ( Core.catMaybes+          [ ("buildClass" Core..=) Core.<$> buildClass,+            ("buildInfo" Core..=) Core.<$> buildInfo+          ]+      )++-- | Native SQL Execution Data+--+-- /See:/ 'newNativeSqlExecutionUiData' smart constructor.+data NativeSqlExecutionUiData = NativeSqlExecutionUiData+  { -- | Optional. Description of the execution.+    description :: (Core.Maybe Core.Text),+    -- | Required. Execution ID of the Native SQL Execution.+    executionId :: (Core.Maybe Core.Int64),+    -- | Optional. Description of the fallback.+    fallbackDescription :: (Core.Maybe Core.Text),+    -- | Optional. Fallback node to reason.+    fallbackNodeToReason :: (Core.Maybe [FallbackReason]),+    -- | Optional. Number of nodes fallen back to Spark.+    numFallbackNodes :: (Core.Maybe Core.Int32),+    -- | Optional. Number of nodes in Native.+    numNativeNodes :: (Core.Maybe Core.Int32)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'NativeSqlExecutionUiData' with the minimum fields required to make a request.+newNativeSqlExecutionUiData ::+  NativeSqlExecutionUiData+newNativeSqlExecutionUiData =+  NativeSqlExecutionUiData+    { description = Core.Nothing,+      executionId = Core.Nothing,+      fallbackDescription = Core.Nothing,+      fallbackNodeToReason = Core.Nothing,+      numFallbackNodes = Core.Nothing,+      numNativeNodes = Core.Nothing+    }++instance Core.FromJSON NativeSqlExecutionUiData where+  parseJSON =+    Core.withObject+      "NativeSqlExecutionUiData"+      ( \o ->+          NativeSqlExecutionUiData+            Core.<$> (o Core..:? "description")+            Core.<*> (o Core..:? "executionId" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "fallbackDescription")+            Core.<*> (o Core..:? "fallbackNodeToReason")+            Core.<*> (o Core..:? "numFallbackNodes")+            Core.<*> (o Core..:? "numNativeNodes")+      )++instance Core.ToJSON NativeSqlExecutionUiData where+  toJSON NativeSqlExecutionUiData {..} =+    Core.object+      ( Core.catMaybes+          [ ("description" Core..=) Core.<$> description,+            ("executionId" Core..=) Core.. Core.AsText Core.<$> executionId,+            ("fallbackDescription" Core..=) Core.<$> fallbackDescription,+            ("fallbackNodeToReason" Core..=) Core.<$> fallbackNodeToReason,+            ("numFallbackNodes" Core..=) Core.<$> numFallbackNodes,+            ("numNativeNodes" Core..=) Core.<$> numNativeNodes+          ]+      )++-- | Dataproc Node Group. The Dataproc NodeGroup resource is not related to the Dataproc NodeGroupAffinity resource.+--+-- /See:/ 'newNodeGroup' smart constructor.+data NodeGroup = NodeGroup+  { -- | Optional. Node group labels. Label keys must consist of from 1 to 63 characters and conform to RFC 1035 (https:\/\/www.ietf.org\/rfc\/rfc1035.txt). Label values can be empty. If specified, they must consist of from 1 to 63 characters and conform to RFC 1035 (https:\/\/www.ietf.org\/rfc\/rfc1035.txt). The node group must have no more than 32 labels.+    labels :: (Core.Maybe NodeGroup_Labels),+    -- | The Node group resource name (https:\/\/aip.dev\/122).+    name :: (Core.Maybe Core.Text),+    -- | Optional. The node group instance group configuration.+    nodeGroupConfig :: (Core.Maybe InstanceGroupConfig),+    -- | Required. Node group roles.+    roles :: (Core.Maybe [NodeGroup_RolesItem])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'NodeGroup' with the minimum fields required to make a request.+newNodeGroup ::+  NodeGroup+newNodeGroup =+  NodeGroup+    { labels = Core.Nothing,+      name = Core.Nothing,+      nodeGroupConfig = Core.Nothing,+      roles = Core.Nothing+    }++instance Core.FromJSON NodeGroup where+  parseJSON =+    Core.withObject+      "NodeGroup"+      ( \o ->+          NodeGroup+            Core.<$> (o Core..:? "labels")+            Core.<*> (o Core..:? "name")+            Core.<*> (o Core..:? "nodeGroupConfig")+            Core.<*> (o Core..:? "roles")+      )++instance Core.ToJSON NodeGroup where+  toJSON NodeGroup {..} =+    Core.object+      ( Core.catMaybes+          [ ("labels" Core..=) Core.<$> labels,+            ("name" Core..=) Core.<$> name,+            ("nodeGroupConfig" Core..=) Core.<$> nodeGroupConfig,+            ("roles" Core..=) Core.<$> roles+          ]+      )++-- | Optional. Node group labels. Label keys must consist of from 1 to 63 characters and conform to RFC 1035 (https:\/\/www.ietf.org\/rfc\/rfc1035.txt). Label values can be empty. If specified, they must consist of from 1 to 63 characters and conform to RFC 1035 (https:\/\/www.ietf.org\/rfc\/rfc1035.txt). The node group must have no more than 32 labels.+--+-- /See:/ 'newNodeGroup_Labels' smart constructor.+newtype NodeGroup_Labels = NodeGroup_Labels+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'NodeGroup_Labels' with the minimum fields required to make a request.+newNodeGroup_Labels ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  NodeGroup_Labels+newNodeGroup_Labels additional =+  NodeGroup_Labels {additional = additional}++instance Core.FromJSON NodeGroup_Labels where+  parseJSON =+    Core.withObject+      "NodeGroup_Labels"+      (\o -> NodeGroup_Labels Core.<$> (Core.parseJSONObject o))++instance Core.ToJSON NodeGroup_Labels where+  toJSON NodeGroup_Labels {..} = Core.toJSON additional++-- | Node Group Affinity for clusters using sole-tenant node groups. The Dataproc NodeGroupAffinity resource is not related to the Dataproc NodeGroup resource.+--+-- /See:/ 'newNodeGroupAffinity' smart constructor.+newtype NodeGroupAffinity = NodeGroupAffinity+  { -- | Required. The URI of a sole-tenant node group resource (https:\/\/cloud.google.com\/compute\/docs\/reference\/rest\/v1\/nodeGroups) that the cluster will be created on.A full URL, partial URI, or node group name are valid. Examples: https:\/\/www.googleapis.com\/compute\/v1\/projects\/[project/id]\/zones\/[zone]\/nodeGroups\/node-group-1 projects\/[project/id]\/zones\/[zone]\/nodeGroups\/node-group-1 node-group-1+    nodeGroupUri :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'NodeGroupAffinity' with the minimum fields required to make a request.+newNodeGroupAffinity ::+  NodeGroupAffinity+newNodeGroupAffinity =+  NodeGroupAffinity {nodeGroupUri = Core.Nothing}++instance Core.FromJSON NodeGroupAffinity where+  parseJSON =+    Core.withObject+      "NodeGroupAffinity"+      (\o -> NodeGroupAffinity Core.<$> (o Core..:? "nodeGroupUri"))++instance Core.ToJSON NodeGroupAffinity where+  toJSON NodeGroupAffinity {..} =+    Core.object+      (Core.catMaybes [("nodeGroupUri" Core..=) Core.<$> nodeGroupUri])++-- | Metadata describing the node group operation.+--+-- /See:/ 'newNodeGroupOperationMetadata' smart constructor.+data NodeGroupOperationMetadata = NodeGroupOperationMetadata+  { -- | Output only. Cluster UUID associated with the node group operation.+    clusterUuid :: (Core.Maybe Core.Text),+    -- | Output only. Short description of operation.+    description :: (Core.Maybe Core.Text),+    -- | Output only. Labels associated with the operation.+    labels :: (Core.Maybe NodeGroupOperationMetadata_Labels),+    -- | Output only. Node group ID for the operation.+    nodeGroupId :: (Core.Maybe Core.Text),+    -- | The operation type.+    operationType :: (Core.Maybe NodeGroupOperationMetadata_OperationType),+    -- | Output only. Current operation status.+    status :: (Core.Maybe ClusterOperationStatus),+    -- | Output only. The previous operation status.+    statusHistory :: (Core.Maybe [ClusterOperationStatus]),+    -- | Output only. Errors encountered during operation execution.+    warnings :: (Core.Maybe [Core.Text])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'NodeGroupOperationMetadata' with the minimum fields required to make a request.+newNodeGroupOperationMetadata ::+  NodeGroupOperationMetadata+newNodeGroupOperationMetadata =+  NodeGroupOperationMetadata+    { clusterUuid = Core.Nothing,+      description = Core.Nothing,+      labels = Core.Nothing,+      nodeGroupId = Core.Nothing,+      operationType = Core.Nothing,+      status = Core.Nothing,+      statusHistory = Core.Nothing,+      warnings = Core.Nothing+    }++instance Core.FromJSON NodeGroupOperationMetadata where+  parseJSON =+    Core.withObject+      "NodeGroupOperationMetadata"+      ( \o ->+          NodeGroupOperationMetadata+            Core.<$> (o Core..:? "clusterUuid")+            Core.<*> (o Core..:? "description")+            Core.<*> (o Core..:? "labels")+            Core.<*> (o Core..:? "nodeGroupId")+            Core.<*> (o Core..:? "operationType")+            Core.<*> (o Core..:? "status")+            Core.<*> (o Core..:? "statusHistory")+            Core.<*> (o Core..:? "warnings")+      )++instance Core.ToJSON NodeGroupOperationMetadata where+  toJSON NodeGroupOperationMetadata {..} =+    Core.object+      ( Core.catMaybes+          [ ("clusterUuid" Core..=) Core.<$> clusterUuid,+            ("description" Core..=) Core.<$> description,+            ("labels" Core..=) Core.<$> labels,+            ("nodeGroupId" Core..=) Core.<$> nodeGroupId,+            ("operationType" Core..=) Core.<$> operationType,+            ("status" Core..=) Core.<$> status,+            ("statusHistory" Core..=) Core.<$> statusHistory,+            ("warnings" Core..=) Core.<$> warnings+          ]+      )++-- | Output only. Labels associated with the operation.+--+-- /See:/ 'newNodeGroupOperationMetadata_Labels' smart constructor.+newtype NodeGroupOperationMetadata_Labels = NodeGroupOperationMetadata_Labels+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'NodeGroupOperationMetadata_Labels' with the minimum fields required to make a request.+newNodeGroupOperationMetadata_Labels ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  NodeGroupOperationMetadata_Labels+newNodeGroupOperationMetadata_Labels additional =+  NodeGroupOperationMetadata_Labels {additional = additional}++instance Core.FromJSON NodeGroupOperationMetadata_Labels where+  parseJSON =+    Core.withObject+      "NodeGroupOperationMetadata_Labels"+      ( \o ->+          NodeGroupOperationMetadata_Labels+            Core.<$> (Core.parseJSONObject o)+      )++instance Core.ToJSON NodeGroupOperationMetadata_Labels where+  toJSON NodeGroupOperationMetadata_Labels {..} =+    Core.toJSON additional++-- | Specifies an executable to run on a fully configured node and a timeout period for executable completion.+--+-- /See:/ 'newNodeInitializationAction' smart constructor.+data NodeInitializationAction = NodeInitializationAction+  { -- | Required. Cloud Storage URI of executable file.+    executableFile :: (Core.Maybe Core.Text),+    -- | Optional. Amount of time executable has to complete. Default is 10 minutes (see JSON representation of Duration (https:\/\/developers.google.com\/protocol-buffers\/docs\/proto3#json)).Cluster creation fails with an explanatory error message (the name of the executable that caused the error and the exceeded timeout period) if the executable is not completed at end of the timeout period.+    executionTimeout :: (Core.Maybe Core.Duration)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'NodeInitializationAction' with the minimum fields required to make a request.+newNodeInitializationAction ::+  NodeInitializationAction+newNodeInitializationAction =+  NodeInitializationAction+    { executableFile = Core.Nothing,+      executionTimeout = Core.Nothing+    }++instance Core.FromJSON NodeInitializationAction where+  parseJSON =+    Core.withObject+      "NodeInitializationAction"+      ( \o ->+          NodeInitializationAction+            Core.<$> (o Core..:? "executableFile")+            Core.<*> (o Core..:? "executionTimeout")+      )++instance Core.ToJSON NodeInitializationAction where+  toJSON NodeInitializationAction {..} =+    Core.object+      ( Core.catMaybes+          [ ("executableFile" Core..=) Core.<$> executableFile,+            ("executionTimeout" Core..=) Core.<$> executionTimeout+          ]+      )++-- | indicating a list of workers of same type+--+-- /See:/ 'newNodePool' smart constructor.+data NodePool = NodePool+  { -- | Required. A unique id of the node pool. Primary and Secondary workers can be specified using special reserved ids PRIMARY/WORKER/POOL and SECONDARY/WORKER/POOL respectively. Aux node pools can be referenced using corresponding pool id.+    id :: (Core.Maybe Core.Text),+    -- | Name of instances to be repaired. These instances must belong to specified node pool.+    instanceNames :: (Core.Maybe [Core.Text]),+    -- | Required. Repair action to take on specified resources of the node pool.+    repairAction :: (Core.Maybe NodePool_RepairAction)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'NodePool' with the minimum fields required to make a request.+newNodePool ::+  NodePool+newNodePool =+  NodePool+    { id = Core.Nothing,+      instanceNames = Core.Nothing,+      repairAction = Core.Nothing+    }++instance Core.FromJSON NodePool where+  parseJSON =+    Core.withObject+      "NodePool"+      ( \o ->+          NodePool+            Core.<$> (o Core..:? "id")+            Core.<*> (o Core..:? "instanceNames")+            Core.<*> (o Core..:? "repairAction")+      )++instance Core.ToJSON NodePool where+  toJSON NodePool {..} =+    Core.object+      ( Core.catMaybes+          [ ("id" Core..=) Core.<$> id,+            ("instanceNames" Core..=) Core.<$> instanceNames,+            ("repairAction" Core..=) Core.<$> repairAction+          ]+      )++-- | This resource represents a long-running operation that is the result of a network API call.+--+-- /See:/ 'newOperation' smart constructor.+data Operation = Operation+  { -- | If the value is false, it means the operation is still in progress. If true, the operation is completed, and either error or response is available.+    done :: (Core.Maybe Core.Bool),+    -- | The error result of the operation in case of failure or cancellation.+    error :: (Core.Maybe Status),+    -- | Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.+    metadata :: (Core.Maybe Operation_Metadata),+    -- | The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the name should be a resource name ending with operations\/{unique_id}.+    name :: (Core.Maybe Core.Text),+    -- | The normal, successful response of the operation. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is standard Get\/Create\/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name. For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse.+    response :: (Core.Maybe Operation_Response)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Operation' with the minimum fields required to make a request.+newOperation ::+  Operation+newOperation =+  Operation+    { done = Core.Nothing,+      error = Core.Nothing,+      metadata = Core.Nothing,+      name = Core.Nothing,+      response = Core.Nothing+    }++instance Core.FromJSON Operation where+  parseJSON =+    Core.withObject+      "Operation"+      ( \o ->+          Operation+            Core.<$> (o Core..:? "done")+            Core.<*> (o Core..:? "error")+            Core.<*> (o Core..:? "metadata")+            Core.<*> (o Core..:? "name")+            Core.<*> (o Core..:? "response")+      )++instance Core.ToJSON Operation where+  toJSON Operation {..} =+    Core.object+      ( Core.catMaybes+          [ ("done" Core..=) Core.<$> done,+            ("error" Core..=) Core.<$> error,+            ("metadata" Core..=) Core.<$> metadata,+            ("name" Core..=) Core.<$> name,+            ("response" Core..=) Core.<$> response+          ]+      )++-- | Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.+--+-- /See:/ 'newOperation_Metadata' smart constructor.+newtype Operation_Metadata = Operation_Metadata+  { -- | Properties of the object. Contains field \@type with type URL.+    additional :: (Core.HashMap Core.Text Core.Value)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Operation_Metadata' with the minimum fields required to make a request.+newOperation_Metadata ::+  -- |  Properties of the object. Contains field \@type with type URL. See 'additional'.+  Core.HashMap Core.Text Core.Value ->+  Operation_Metadata+newOperation_Metadata additional =+  Operation_Metadata {additional = additional}++instance Core.FromJSON Operation_Metadata where+  parseJSON =+    Core.withObject+      "Operation_Metadata"+      (\o -> Operation_Metadata Core.<$> (Core.parseJSONObject o))++instance Core.ToJSON Operation_Metadata where+  toJSON Operation_Metadata {..} = Core.toJSON additional++-- | The normal, successful response of the operation. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is standard Get\/Create\/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name. For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse.+--+-- /See:/ 'newOperation_Response' smart constructor.+newtype Operation_Response = Operation_Response+  { -- | Properties of the object. Contains field \@type with type URL.+    additional :: (Core.HashMap Core.Text Core.Value)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Operation_Response' with the minimum fields required to make a request.+newOperation_Response ::+  -- |  Properties of the object. Contains field \@type with type URL. See 'additional'.+  Core.HashMap Core.Text Core.Value ->+  Operation_Response+newOperation_Response additional =+  Operation_Response {additional = additional}++instance Core.FromJSON Operation_Response where+  parseJSON =+    Core.withObject+      "Operation_Response"+      (\o -> Operation_Response Core.<$> (Core.parseJSONObject o))++instance Core.ToJSON Operation_Response where+  toJSON Operation_Response {..} = Core.toJSON additional++-- | A job executed by the workflow.+--+-- /See:/ 'newOrderedJob' smart constructor.+data OrderedJob = OrderedJob+  { -- | Optional. Job is a Flink job.+    flinkJob :: (Core.Maybe FlinkJob),+    -- | Optional. Job is a Hadoop job.+    hadoopJob :: (Core.Maybe HadoopJob),+    -- | Optional. Job is a Hive job.+    hiveJob :: (Core.Maybe HiveJob),+    -- | Optional. The labels to associate with this job.Label keys must be between 1 and 63 characters long, and must conform to the following regular expression: \\p{Ll}\\p{Lo}{0,62}Label values must be between 1 and 63 characters long, and must conform to the following regular expression: \\p{Ll}\\p{Lo}\\p{N}_-{0,63}No more than 32 labels can be associated with a given job.+    labels :: (Core.Maybe OrderedJob_Labels),+    -- | Optional. Job is a Pig job.+    pigJob :: (Core.Maybe PigJob),+    -- | Optional. The optional list of prerequisite job step_ids. If not specified, the job will start at the beginning of workflow.+    prerequisiteStepIds :: (Core.Maybe [Core.Text]),+    -- | Optional. Job is a Presto job.+    prestoJob :: (Core.Maybe PrestoJob),+    -- | Optional. Job is a PySpark job.+    pysparkJob :: (Core.Maybe PySparkJob),+    -- | Optional. Job scheduling configuration.+    scheduling :: (Core.Maybe JobScheduling),+    -- | Optional. Job is a Spark job.+    sparkJob :: (Core.Maybe SparkJob),+    -- | Optional. Job is a SparkR job.+    sparkRJob :: (Core.Maybe SparkRJob),+    -- | Optional. Job is a SparkSql job.+    sparkSqlJob :: (Core.Maybe SparkSqlJob),+    -- | Required. The step id. The id must be unique among all jobs within the template.The step id is used as prefix for job id, as job goog-dataproc-workflow-step-id label, and in prerequisiteStepIds field from other steps.The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of between 3 and 50 characters.+    stepId :: (Core.Maybe Core.Text),+    -- | Optional. Job is a Trino job.+    trinoJob :: (Core.Maybe TrinoJob)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'OrderedJob' with the minimum fields required to make a request.+newOrderedJob ::+  OrderedJob+newOrderedJob =+  OrderedJob+    { flinkJob = Core.Nothing,+      hadoopJob = Core.Nothing,+      hiveJob = Core.Nothing,+      labels = Core.Nothing,+      pigJob = Core.Nothing,+      prerequisiteStepIds = Core.Nothing,+      prestoJob = Core.Nothing,+      pysparkJob = Core.Nothing,+      scheduling = Core.Nothing,+      sparkJob = Core.Nothing,+      sparkRJob = Core.Nothing,+      sparkSqlJob = Core.Nothing,+      stepId = Core.Nothing,+      trinoJob = Core.Nothing+    }++instance Core.FromJSON OrderedJob where+  parseJSON =+    Core.withObject+      "OrderedJob"+      ( \o ->+          OrderedJob+            Core.<$> (o Core..:? "flinkJob")+            Core.<*> (o Core..:? "hadoopJob")+            Core.<*> (o Core..:? "hiveJob")+            Core.<*> (o Core..:? "labels")+            Core.<*> (o Core..:? "pigJob")+            Core.<*> (o Core..:? "prerequisiteStepIds")+            Core.<*> (o Core..:? "prestoJob")+            Core.<*> (o Core..:? "pysparkJob")+            Core.<*> (o Core..:? "scheduling")+            Core.<*> (o Core..:? "sparkJob")+            Core.<*> (o Core..:? "sparkRJob")+            Core.<*> (o Core..:? "sparkSqlJob")+            Core.<*> (o Core..:? "stepId")+            Core.<*> (o Core..:? "trinoJob")+      )++instance Core.ToJSON OrderedJob where+  toJSON OrderedJob {..} =+    Core.object+      ( Core.catMaybes+          [ ("flinkJob" Core..=) Core.<$> flinkJob,+            ("hadoopJob" Core..=) Core.<$> hadoopJob,+            ("hiveJob" Core..=) Core.<$> hiveJob,+            ("labels" Core..=) Core.<$> labels,+            ("pigJob" Core..=) Core.<$> pigJob,+            ("prerequisiteStepIds" Core..=) Core.<$> prerequisiteStepIds,+            ("prestoJob" Core..=) Core.<$> prestoJob,+            ("pysparkJob" Core..=) Core.<$> pysparkJob,+            ("scheduling" Core..=) Core.<$> scheduling,+            ("sparkJob" Core..=) Core.<$> sparkJob,+            ("sparkRJob" Core..=) Core.<$> sparkRJob,+            ("sparkSqlJob" Core..=) Core.<$> sparkSqlJob,+            ("stepId" Core..=) Core.<$> stepId,+            ("trinoJob" Core..=) Core.<$> trinoJob+          ]+      )++-- | Optional. The labels to associate with this job.Label keys must be between 1 and 63 characters long, and must conform to the following regular expression: \\p{Ll}\\p{Lo}{0,62}Label values must be between 1 and 63 characters long, and must conform to the following regular expression: \\p{Ll}\\p{Lo}\\p{N}_-{0,63}No more than 32 labels can be associated with a given job.+--+-- /See:/ 'newOrderedJob_Labels' smart constructor.+newtype OrderedJob_Labels = OrderedJob_Labels+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'OrderedJob_Labels' with the minimum fields required to make a request.+newOrderedJob_Labels ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  OrderedJob_Labels+newOrderedJob_Labels additional =+  OrderedJob_Labels {additional = additional}++instance Core.FromJSON OrderedJob_Labels where+  parseJSON =+    Core.withObject+      "OrderedJob_Labels"+      (\o -> OrderedJob_Labels Core.<$> (Core.parseJSONObject o))++instance Core.ToJSON OrderedJob_Labels where+  toJSON OrderedJob_Labels {..} = Core.toJSON additional++-- | Metrics about the data written by the task.+--+-- /See:/ 'newOutputMetrics' smart constructor.+data OutputMetrics = OutputMetrics+  { bytesWritten :: (Core.Maybe Core.Int64),+    recordsWritten :: (Core.Maybe Core.Int64)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'OutputMetrics' with the minimum fields required to make a request.+newOutputMetrics ::+  OutputMetrics+newOutputMetrics =+  OutputMetrics+    { bytesWritten = Core.Nothing,+      recordsWritten = Core.Nothing+    }++instance Core.FromJSON OutputMetrics where+  parseJSON =+    Core.withObject+      "OutputMetrics"+      ( \o ->+          OutputMetrics+            Core.<$> (o Core..:? "bytesWritten" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "recordsWritten" Core.<&> Core.fmap Core.fromAsText)+      )++instance Core.ToJSON OutputMetrics where+  toJSON OutputMetrics {..} =+    Core.object+      ( Core.catMaybes+          [ ("bytesWritten" Core..=) Core.. Core.AsText Core.<$> bytesWritten,+            ("recordsWritten" Core..=)+              Core.. Core.AsText+              Core.<$> recordsWritten+          ]+      )++--+-- /See:/ 'newOutputQuantileMetrics' smart constructor.+data OutputQuantileMetrics = OutputQuantileMetrics+  { bytesWritten :: (Core.Maybe Quantiles),+    recordsWritten :: (Core.Maybe Quantiles)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'OutputQuantileMetrics' with the minimum fields required to make a request.+newOutputQuantileMetrics ::+  OutputQuantileMetrics+newOutputQuantileMetrics =+  OutputQuantileMetrics+    { bytesWritten = Core.Nothing,+      recordsWritten = Core.Nothing+    }++instance Core.FromJSON OutputQuantileMetrics where+  parseJSON =+    Core.withObject+      "OutputQuantileMetrics"+      ( \o ->+          OutputQuantileMetrics+            Core.<$> (o Core..:? "bytesWritten")+            Core.<*> (o Core..:? "recordsWritten")+      )++instance Core.ToJSON OutputQuantileMetrics where+  toJSON OutputQuantileMetrics {..} =+    Core.object+      ( Core.catMaybes+          [ ("bytesWritten" Core..=) Core.<$> bytesWritten,+            ("recordsWritten" Core..=) Core.<$> recordsWritten+          ]+      )++-- | Configuration for parameter validation.+--+-- /See:/ 'newParameterValidation' smart constructor.+data ParameterValidation = ParameterValidation+  { -- | Validation based on regular expressions.+    regex :: (Core.Maybe RegexValidation),+    -- | Validation based on a list of allowed values.+    values :: (Core.Maybe ValueValidation)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ParameterValidation' with the minimum fields required to make a request.+newParameterValidation ::+  ParameterValidation+newParameterValidation =+  ParameterValidation {regex = Core.Nothing, values = Core.Nothing}++instance Core.FromJSON ParameterValidation where+  parseJSON =+    Core.withObject+      "ParameterValidation"+      ( \o ->+          ParameterValidation+            Core.<$> (o Core..:? "regex")+            Core.<*> (o Core..:? "values")+      )++instance Core.ToJSON ParameterValidation where+  toJSON ParameterValidation {..} =+    Core.object+      ( Core.catMaybes+          [ ("regex" Core..=) Core.<$> regex,+            ("values" Core..=) Core.<$> values+          ]+      )++-- | Auxiliary services configuration for a workload.+--+-- /See:/ 'newPeripheralsConfig' smart constructor.+data PeripheralsConfig = PeripheralsConfig+  { -- | Optional. Resource name of an existing Dataproc Metastore service.Example: projects\/[project/id]\/locations\/[region]\/services\/[service/id]+    metastoreService :: (Core.Maybe Core.Text),+    -- | Optional. The Spark History Server configuration for the workload.+    sparkHistoryServerConfig :: (Core.Maybe SparkHistoryServerConfig)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'PeripheralsConfig' with the minimum fields required to make a request.+newPeripheralsConfig ::+  PeripheralsConfig+newPeripheralsConfig =+  PeripheralsConfig+    { metastoreService = Core.Nothing,+      sparkHistoryServerConfig = Core.Nothing+    }++instance Core.FromJSON PeripheralsConfig where+  parseJSON =+    Core.withObject+      "PeripheralsConfig"+      ( \o ->+          PeripheralsConfig+            Core.<$> (o Core..:? "metastoreService")+            Core.<*> (o Core..:? "sparkHistoryServerConfig")+      )++instance Core.ToJSON PeripheralsConfig where+  toJSON PeripheralsConfig {..} =+    Core.object+      ( Core.catMaybes+          [ ("metastoreService" Core..=) Core.<$> metastoreService,+            ("sparkHistoryServerConfig" Core..=)+              Core.<$> sparkHistoryServerConfig+          ]+      )++-- | A Dataproc job for running Apache Pig (https:\/\/pig.apache.org\/) queries on YARN.+--+-- /See:/ 'newPigJob' smart constructor.+data PigJob = PigJob+  { -- | Optional. Whether to continue executing queries if a query fails. The default value is false. Setting to true can be useful when executing independent parallel queries.+    continueOnFailure :: (Core.Maybe Core.Bool),+    -- | Optional. HCFS URIs of jar files to add to the CLASSPATH of the Pig Client and Hadoop MapReduce (MR) tasks. Can contain Pig UDFs.+    jarFileUris :: (Core.Maybe [Core.Text]),+    -- | Optional. The runtime log config for job execution.+    loggingConfig :: (Core.Maybe LoggingConfig),+    -- | Optional. A mapping of property names to values, used to configure Pig. Properties that conflict with values set by the Dataproc API might be overwritten. Can include properties set in \/etc\/hadoop\/conf\/*-site.xml, \/etc\/pig\/conf\/pig.properties, and classes in user code.+    properties :: (Core.Maybe PigJob_Properties),+    -- | The HCFS URI of the script that contains the Pig queries.+    queryFileUri :: (Core.Maybe Core.Text),+    -- | A list of queries.+    queryList :: (Core.Maybe QueryList),+    -- | Optional. Mapping of query variable names to values (equivalent to the Pig command: name=[value]).+    scriptVariables :: (Core.Maybe PigJob_ScriptVariables)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'PigJob' with the minimum fields required to make a request.+newPigJob ::+  PigJob+newPigJob =+  PigJob+    { continueOnFailure = Core.Nothing,+      jarFileUris = Core.Nothing,+      loggingConfig = Core.Nothing,+      properties = Core.Nothing,+      queryFileUri = Core.Nothing,+      queryList = Core.Nothing,+      scriptVariables = Core.Nothing+    }++instance Core.FromJSON PigJob where+  parseJSON =+    Core.withObject+      "PigJob"+      ( \o ->+          PigJob+            Core.<$> (o Core..:? "continueOnFailure")+            Core.<*> (o Core..:? "jarFileUris")+            Core.<*> (o Core..:? "loggingConfig")+            Core.<*> (o Core..:? "properties")+            Core.<*> (o Core..:? "queryFileUri")+            Core.<*> (o Core..:? "queryList")+            Core.<*> (o Core..:? "scriptVariables")+      )++instance Core.ToJSON PigJob where+  toJSON PigJob {..} =+    Core.object+      ( Core.catMaybes+          [ ("continueOnFailure" Core..=) Core.<$> continueOnFailure,+            ("jarFileUris" Core..=) Core.<$> jarFileUris,+            ("loggingConfig" Core..=) Core.<$> loggingConfig,+            ("properties" Core..=) Core.<$> properties,+            ("queryFileUri" Core..=) Core.<$> queryFileUri,+            ("queryList" Core..=) Core.<$> queryList,+            ("scriptVariables" Core..=) Core.<$> scriptVariables+          ]+      )++-- | Optional. A mapping of property names to values, used to configure Pig. Properties that conflict with values set by the Dataproc API might be overwritten. Can include properties set in \/etc\/hadoop\/conf\/*-site.xml, \/etc\/pig\/conf\/pig.properties, and classes in user code.+--+-- /See:/ 'newPigJob_Properties' smart constructor.+newtype PigJob_Properties = PigJob_Properties+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'PigJob_Properties' with the minimum fields required to make a request.+newPigJob_Properties ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  PigJob_Properties+newPigJob_Properties additional =+  PigJob_Properties {additional = additional}++instance Core.FromJSON PigJob_Properties where+  parseJSON =+    Core.withObject+      "PigJob_Properties"+      (\o -> PigJob_Properties Core.<$> (Core.parseJSONObject o))++instance Core.ToJSON PigJob_Properties where+  toJSON PigJob_Properties {..} = Core.toJSON additional++-- | Optional. Mapping of query variable names to values (equivalent to the Pig command: name=[value]).+--+-- /See:/ 'newPigJob_ScriptVariables' smart constructor.+newtype PigJob_ScriptVariables = PigJob_ScriptVariables+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'PigJob_ScriptVariables' with the minimum fields required to make a request.+newPigJob_ScriptVariables ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  PigJob_ScriptVariables+newPigJob_ScriptVariables additional =+  PigJob_ScriptVariables {additional = additional}++instance Core.FromJSON PigJob_ScriptVariables where+  parseJSON =+    Core.withObject+      "PigJob_ScriptVariables"+      (\o -> PigJob_ScriptVariables Core.<$> (Core.parseJSONObject o))++instance Core.ToJSON PigJob_ScriptVariables where+  toJSON PigJob_ScriptVariables {..} = Core.toJSON additional++-- | 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 IAM documentation (https:\/\/cloud.google.com\/iam\/help\/conditions\/resource-policies).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 IAM documentation+-- (https:\/\/cloud.google.com\/iam\/docs\/).+--+-- /See:/ 'newPolicy' smart constructor.+data Policy = Policy+  { -- | 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 conditionsImportant: 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 IAM documentation+    -- (https:\/\/cloud.google.com\/iam\/help\/conditions\/resource-policies).+    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+    { bindings = Core.Nothing,+      etag = Core.Nothing,+      version = Core.Nothing+    }++instance Core.FromJSON Policy where+  parseJSON =+    Core.withObject+      "Policy"+      ( \o ->+          Policy+            Core.<$> (o Core..:? "bindings")+            Core.<*> (o Core..:? "etag")+            Core.<*> (o Core..:? "version")+      )++instance Core.ToJSON Policy where+  toJSON Policy {..} =+    Core.object+      ( Core.catMaybes+          [ ("bindings" Core..=) Core.<$> bindings,+            ("etag" Core..=) Core.<$> etag,+            ("version" Core..=) Core.<$> version+          ]+      )++-- | Pool Data+--+-- /See:/ 'newPoolData' smart constructor.+data PoolData = PoolData+  { name :: (Core.Maybe Core.Text),+    stageIds :: (Core.Maybe [Core.Int64])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'PoolData' with the minimum fields required to make a request.+newPoolData ::+  PoolData+newPoolData =+  PoolData {name = Core.Nothing, stageIds = Core.Nothing}++instance Core.FromJSON PoolData where+  parseJSON =+    Core.withObject+      "PoolData"+      ( \o ->+          PoolData+            Core.<$> (o Core..:? "name")+            Core.<*> ( o+                         Core..:? "stageIds"+                         Core.<&> Core.fmap (Core.fmap Core.fromAsText)+                     )+      )++instance Core.ToJSON PoolData where+  toJSON PoolData {..} =+    Core.object+      ( Core.catMaybes+          [ ("name" Core..=) Core.<$> name,+            ("stageIds" Core..=)+              Core.. Core.fmap Core.AsText+              Core.<$> stageIds+          ]+      )++-- | A Dataproc job for running Presto (https:\/\/prestosql.io\/) queries. IMPORTANT: The Dataproc Presto Optional Component (https:\/\/cloud.google.com\/dataproc\/docs\/concepts\/components\/presto) must be enabled when the cluster is created to submit a Presto job to the cluster.+--+-- /See:/ 'newPrestoJob' smart constructor.+data PrestoJob = PrestoJob+  { -- | Optional. Presto client tags to attach to this query+    clientTags :: (Core.Maybe [Core.Text]),+    -- | Optional. Whether to continue executing queries if a query fails. The default value is false. Setting to true can be useful when executing independent parallel queries.+    continueOnFailure :: (Core.Maybe Core.Bool),+    -- | Optional. The runtime log config for job execution.+    loggingConfig :: (Core.Maybe LoggingConfig),+    -- | Optional. The format in which query output will be displayed. See the Presto documentation for supported output formats+    outputFormat :: (Core.Maybe Core.Text),+    -- | Optional. A mapping of property names to values. Used to set Presto session properties (https:\/\/prestodb.io\/docs\/current\/sql\/set-session.html) Equivalent to using the --session flag in the Presto CLI+    properties :: (Core.Maybe PrestoJob_Properties),+    -- | The HCFS URI of the script that contains SQL queries.+    queryFileUri :: (Core.Maybe Core.Text),+    -- | A list of queries.+    queryList :: (Core.Maybe QueryList)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'PrestoJob' with the minimum fields required to make a request.+newPrestoJob ::+  PrestoJob+newPrestoJob =+  PrestoJob+    { clientTags = Core.Nothing,+      continueOnFailure = Core.Nothing,+      loggingConfig = Core.Nothing,+      outputFormat = Core.Nothing,+      properties = Core.Nothing,+      queryFileUri = Core.Nothing,+      queryList = Core.Nothing+    }++instance Core.FromJSON PrestoJob where+  parseJSON =+    Core.withObject+      "PrestoJob"+      ( \o ->+          PrestoJob+            Core.<$> (o Core..:? "clientTags")+            Core.<*> (o Core..:? "continueOnFailure")+            Core.<*> (o Core..:? "loggingConfig")+            Core.<*> (o Core..:? "outputFormat")+            Core.<*> (o Core..:? "properties")+            Core.<*> (o Core..:? "queryFileUri")+            Core.<*> (o Core..:? "queryList")+      )++instance Core.ToJSON PrestoJob where+  toJSON PrestoJob {..} =+    Core.object+      ( Core.catMaybes+          [ ("clientTags" Core..=) Core.<$> clientTags,+            ("continueOnFailure" Core..=) Core.<$> continueOnFailure,+            ("loggingConfig" Core..=) Core.<$> loggingConfig,+            ("outputFormat" Core..=) Core.<$> outputFormat,+            ("properties" Core..=) Core.<$> properties,+            ("queryFileUri" Core..=) Core.<$> queryFileUri,+            ("queryList" Core..=) Core.<$> queryList+          ]+      )++-- | Optional. A mapping of property names to values. Used to set Presto session properties (https:\/\/prestodb.io\/docs\/current\/sql\/set-session.html) Equivalent to using the --session flag in the Presto CLI+--+-- /See:/ 'newPrestoJob_Properties' smart constructor.+newtype PrestoJob_Properties = PrestoJob_Properties+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'PrestoJob_Properties' with the minimum fields required to make a request.+newPrestoJob_Properties ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  PrestoJob_Properties+newPrestoJob_Properties additional =+  PrestoJob_Properties {additional = additional}++instance Core.FromJSON PrestoJob_Properties where+  parseJSON =+    Core.withObject+      "PrestoJob_Properties"+      (\o -> PrestoJob_Properties Core.<$> (Core.parseJSONObject o))++instance Core.ToJSON PrestoJob_Properties where+  toJSON PrestoJob_Properties {..} = Core.toJSON additional++-- | Process Summary+--+-- /See:/ 'newProcessSummary' smart constructor.+data ProcessSummary = ProcessSummary+  { addTime :: (Core.Maybe Core.DateTime),+    hostPort :: (Core.Maybe Core.Text),+    isActive :: (Core.Maybe Core.Bool),+    processId :: (Core.Maybe Core.Text),+    processLogs :: (Core.Maybe ProcessSummary_ProcessLogs),+    removeTime :: (Core.Maybe Core.DateTime),+    totalCores :: (Core.Maybe Core.Int32)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ProcessSummary' with the minimum fields required to make a request.+newProcessSummary ::+  ProcessSummary+newProcessSummary =+  ProcessSummary+    { addTime = Core.Nothing,+      hostPort = Core.Nothing,+      isActive = Core.Nothing,+      processId = Core.Nothing,+      processLogs = Core.Nothing,+      removeTime = Core.Nothing,+      totalCores = Core.Nothing+    }++instance Core.FromJSON ProcessSummary where+  parseJSON =+    Core.withObject+      "ProcessSummary"+      ( \o ->+          ProcessSummary+            Core.<$> (o Core..:? "addTime")+            Core.<*> (o Core..:? "hostPort")+            Core.<*> (o Core..:? "isActive")+            Core.<*> (o Core..:? "processId")+            Core.<*> (o Core..:? "processLogs")+            Core.<*> (o Core..:? "removeTime")+            Core.<*> (o Core..:? "totalCores")+      )++instance Core.ToJSON ProcessSummary where+  toJSON ProcessSummary {..} =+    Core.object+      ( Core.catMaybes+          [ ("addTime" Core..=) Core.<$> addTime,+            ("hostPort" Core..=) Core.<$> hostPort,+            ("isActive" Core..=) Core.<$> isActive,+            ("processId" Core..=) Core.<$> processId,+            ("processLogs" Core..=) Core.<$> processLogs,+            ("removeTime" Core..=) Core.<$> removeTime,+            ("totalCores" Core..=) Core.<$> totalCores+          ]+      )++--+-- /See:/ 'newProcessSummary_ProcessLogs' smart constructor.+newtype ProcessSummary_ProcessLogs = ProcessSummary_ProcessLogs+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ProcessSummary_ProcessLogs' with the minimum fields required to make a request.+newProcessSummary_ProcessLogs ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  ProcessSummary_ProcessLogs+newProcessSummary_ProcessLogs additional =+  ProcessSummary_ProcessLogs {additional = additional}++instance Core.FromJSON ProcessSummary_ProcessLogs where+  parseJSON =+    Core.withObject+      "ProcessSummary_ProcessLogs"+      ( \o ->+          ProcessSummary_ProcessLogs Core.<$> (Core.parseJSONObject o)+      )++instance Core.ToJSON ProcessSummary_ProcessLogs where+  toJSON ProcessSummary_ProcessLogs {..} = Core.toJSON additional++-- | Defines how Dataproc should create VMs with a mixture of provisioning models.+--+-- /See:/ 'newProvisioningModelMix' smart constructor.+data ProvisioningModelMix = ProvisioningModelMix+  { -- | Optional. The base capacity that will always use Standard VMs to avoid risk of more preemption than the minimum capacity you need. Dataproc will create only standard VMs until it reaches standard/capacity/base, then it will start using standard/capacity/percent/above/base to mix Spot with Standard VMs. eg. If 15 instances are requested and standard/capacity/base is 5, Dataproc will create 5 standard VMs and then start mixing spot and standard VMs for remaining 10 instances.+    standardCapacityBase :: (Core.Maybe Core.Int32),+    -- | Optional. The percentage of target capacity that should use Standard VM. The remaining percentage will use Spot VMs. The percentage applies only to the capacity above standard/capacity/base. eg. If 15 instances are requested and standard/capacity/base is 5 and standard/capacity/percent/above/base is 30, Dataproc will create 5 standard VMs and then start mixing spot and standard VMs for remaining 10 instances. The mix will be 30% standard and 70% spot.+    standardCapacityPercentAboveBase :: (Core.Maybe Core.Int32)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ProvisioningModelMix' with the minimum fields required to make a request.+newProvisioningModelMix ::+  ProvisioningModelMix+newProvisioningModelMix =+  ProvisioningModelMix+    { standardCapacityBase = Core.Nothing,+      standardCapacityPercentAboveBase = Core.Nothing+    }++instance Core.FromJSON ProvisioningModelMix where+  parseJSON =+    Core.withObject+      "ProvisioningModelMix"+      ( \o ->+          ProvisioningModelMix+            Core.<$> (o Core..:? "standardCapacityBase")+            Core.<*> (o Core..:? "standardCapacityPercentAboveBase")+      )++instance Core.ToJSON ProvisioningModelMix where+  toJSON ProvisioningModelMix {..} =+    Core.object+      ( Core.catMaybes+          [ ("standardCapacityBase" Core..=) Core.<$> standardCapacityBase,+            ("standardCapacityPercentAboveBase" Core..=)+              Core.<$> standardCapacityPercentAboveBase+          ]+      )++-- | Configuration for PyPi repository+--+-- /See:/ 'newPyPiRepositoryConfig' smart constructor.+newtype PyPiRepositoryConfig = PyPiRepositoryConfig+  { -- | Optional. PyPi repository address+    pypiRepository :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'PyPiRepositoryConfig' with the minimum fields required to make a request.+newPyPiRepositoryConfig ::+  PyPiRepositoryConfig+newPyPiRepositoryConfig =+  PyPiRepositoryConfig {pypiRepository = Core.Nothing}++instance Core.FromJSON PyPiRepositoryConfig where+  parseJSON =+    Core.withObject+      "PyPiRepositoryConfig"+      ( \o ->+          PyPiRepositoryConfig Core.<$> (o Core..:? "pypiRepository")+      )++instance Core.ToJSON PyPiRepositoryConfig where+  toJSON PyPiRepositoryConfig {..} =+    Core.object+      ( Core.catMaybes+          [("pypiRepository" Core..=) Core.<$> pypiRepository]+      )++-- | A configuration for running an Apache PySpark (https:\/\/spark.apache.org\/docs\/latest\/api\/python\/getting_started\/quickstart.html) batch workload.+--+-- /See:/ 'newPySparkBatch' smart constructor.+data PySparkBatch = PySparkBatch+  { -- | Optional. HCFS URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.+    archiveUris :: (Core.Maybe [Core.Text]),+    -- | Optional. The arguments to pass to the driver. Do not include arguments that can be set as batch properties, such as --conf, since a collision can occur that causes an incorrect batch submission.+    args :: (Core.Maybe [Core.Text]),+    -- | Optional. HCFS URIs of files to be placed in the working directory of each executor.+    fileUris :: (Core.Maybe [Core.Text]),+    -- | Optional. HCFS URIs of jar files to add to the classpath of the Spark driver and tasks.+    jarFileUris :: (Core.Maybe [Core.Text]),+    -- | Required. The HCFS URI of the main Python file to use as the Spark driver. Must be a .py file.+    mainPythonFileUri :: (Core.Maybe Core.Text),+    -- | Optional. HCFS file URIs of Python files to pass to the PySpark framework. Supported file types: .py, .egg, and .zip.+    pythonFileUris :: (Core.Maybe [Core.Text])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'PySparkBatch' with the minimum fields required to make a request.+newPySparkBatch ::+  PySparkBatch+newPySparkBatch =+  PySparkBatch+    { archiveUris = Core.Nothing,+      args = Core.Nothing,+      fileUris = Core.Nothing,+      jarFileUris = Core.Nothing,+      mainPythonFileUri = Core.Nothing,+      pythonFileUris = Core.Nothing+    }++instance Core.FromJSON PySparkBatch where+  parseJSON =+    Core.withObject+      "PySparkBatch"+      ( \o ->+          PySparkBatch+            Core.<$> (o Core..:? "archiveUris")+            Core.<*> (o Core..:? "args")+            Core.<*> (o Core..:? "fileUris")+            Core.<*> (o Core..:? "jarFileUris")+            Core.<*> (o Core..:? "mainPythonFileUri")+            Core.<*> (o Core..:? "pythonFileUris")+      )++instance Core.ToJSON PySparkBatch where+  toJSON PySparkBatch {..} =+    Core.object+      ( Core.catMaybes+          [ ("archiveUris" Core..=) Core.<$> archiveUris,+            ("args" Core..=) Core.<$> args,+            ("fileUris" Core..=) Core.<$> fileUris,+            ("jarFileUris" Core..=) Core.<$> jarFileUris,+            ("mainPythonFileUri" Core..=) Core.<$> mainPythonFileUri,+            ("pythonFileUris" Core..=) Core.<$> pythonFileUris+          ]+      )++-- | A Dataproc job for running Apache PySpark (https:\/\/spark.apache.org\/docs\/latest\/api\/python\/index.html#pyspark-overview) applications on YARN.+--+-- /See:/ 'newPySparkJob' smart constructor.+data PySparkJob = PySparkJob+  { -- | Optional. HCFS URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.+    archiveUris :: (Core.Maybe [Core.Text]),+    -- | Optional. The arguments to pass to the driver. Do not include arguments, such as --conf, that can be set as job properties, since a collision may occur that causes an incorrect job submission.+    args :: (Core.Maybe [Core.Text]),+    -- | Optional. HCFS URIs of files to be placed in the working directory of each executor. Useful for naively parallel tasks.+    fileUris :: (Core.Maybe [Core.Text]),+    -- | Optional. HCFS URIs of jar files to add to the CLASSPATHs of the Python driver and tasks.+    jarFileUris :: (Core.Maybe [Core.Text]),+    -- | Optional. The runtime log config for job execution.+    loggingConfig :: (Core.Maybe LoggingConfig),+    -- | Required. The HCFS URI of the main Python file to use as the driver. Must be a .py file.+    mainPythonFileUri :: (Core.Maybe Core.Text),+    -- | Optional. A mapping of property names to values, used to configure PySpark. Properties that conflict with values set by the Dataproc API might be overwritten. Can include properties set in \/etc\/spark\/conf\/spark-defaults.conf and classes in user code.+    properties :: (Core.Maybe PySparkJob_Properties),+    -- | Optional. HCFS file URIs of Python files to pass to the PySpark framework. Supported file types: .py, .egg, and .zip.+    pythonFileUris :: (Core.Maybe [Core.Text])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'PySparkJob' with the minimum fields required to make a request.+newPySparkJob ::+  PySparkJob+newPySparkJob =+  PySparkJob+    { archiveUris = Core.Nothing,+      args = Core.Nothing,+      fileUris = Core.Nothing,+      jarFileUris = Core.Nothing,+      loggingConfig = Core.Nothing,+      mainPythonFileUri = Core.Nothing,+      properties = Core.Nothing,+      pythonFileUris = Core.Nothing+    }++instance Core.FromJSON PySparkJob where+  parseJSON =+    Core.withObject+      "PySparkJob"+      ( \o ->+          PySparkJob+            Core.<$> (o Core..:? "archiveUris")+            Core.<*> (o Core..:? "args")+            Core.<*> (o Core..:? "fileUris")+            Core.<*> (o Core..:? "jarFileUris")+            Core.<*> (o Core..:? "loggingConfig")+            Core.<*> (o Core..:? "mainPythonFileUri")+            Core.<*> (o Core..:? "properties")+            Core.<*> (o Core..:? "pythonFileUris")+      )++instance Core.ToJSON PySparkJob where+  toJSON PySparkJob {..} =+    Core.object+      ( Core.catMaybes+          [ ("archiveUris" Core..=) Core.<$> archiveUris,+            ("args" Core..=) Core.<$> args,+            ("fileUris" Core..=) Core.<$> fileUris,+            ("jarFileUris" Core..=) Core.<$> jarFileUris,+            ("loggingConfig" Core..=) Core.<$> loggingConfig,+            ("mainPythonFileUri" Core..=) Core.<$> mainPythonFileUri,+            ("properties" Core..=) Core.<$> properties,+            ("pythonFileUris" Core..=) Core.<$> pythonFileUris+          ]+      )++-- | Optional. A mapping of property names to values, used to configure PySpark. Properties that conflict with values set by the Dataproc API might be overwritten. Can include properties set in \/etc\/spark\/conf\/spark-defaults.conf and classes in user code.+--+-- /See:/ 'newPySparkJob_Properties' smart constructor.+newtype PySparkJob_Properties = PySparkJob_Properties+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'PySparkJob_Properties' with the minimum fields required to make a request.+newPySparkJob_Properties ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  PySparkJob_Properties+newPySparkJob_Properties additional =+  PySparkJob_Properties {additional = additional}++instance Core.FromJSON PySparkJob_Properties where+  parseJSON =+    Core.withObject+      "PySparkJob_Properties"+      (\o -> PySparkJob_Properties Core.<$> (Core.parseJSONObject o))++instance Core.ToJSON PySparkJob_Properties where+  toJSON PySparkJob_Properties {..} = Core.toJSON additional++-- | Quantile metrics data related to Tasks. Units can be seconds, bytes, milliseconds, etc depending on the message type.+--+-- /See:/ 'newQuantiles' smart constructor.+data Quantiles = Quantiles+  { count :: (Core.Maybe Core.Int64),+    maximum :: (Core.Maybe Core.Int64),+    minimum :: (Core.Maybe Core.Int64),+    percentile25 :: (Core.Maybe Core.Int64),+    percentile50 :: (Core.Maybe Core.Int64),+    percentile75 :: (Core.Maybe Core.Int64),+    sum :: (Core.Maybe Core.Int64)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Quantiles' with the minimum fields required to make a request.+newQuantiles ::+  Quantiles+newQuantiles =+  Quantiles+    { count = Core.Nothing,+      maximum = Core.Nothing,+      minimum = Core.Nothing,+      percentile25 = Core.Nothing,+      percentile50 = Core.Nothing,+      percentile75 = Core.Nothing,+      sum = Core.Nothing+    }++instance Core.FromJSON Quantiles where+  parseJSON =+    Core.withObject+      "Quantiles"+      ( \o ->+          Quantiles+            Core.<$> (o Core..:? "count" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "maximum" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "minimum" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "percentile25" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "percentile50" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "percentile75" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "sum" Core.<&> Core.fmap Core.fromAsText)+      )++instance Core.ToJSON Quantiles where+  toJSON Quantiles {..} =+    Core.object+      ( Core.catMaybes+          [ ("count" Core..=) Core.. Core.AsText Core.<$> count,+            ("maximum" Core..=) Core.. Core.AsText Core.<$> maximum,+            ("minimum" Core..=) Core.. Core.AsText Core.<$> minimum,+            ("percentile25" Core..=) Core.. Core.AsText Core.<$> percentile25,+            ("percentile50" Core..=) Core.. Core.AsText Core.<$> percentile50,+            ("percentile75" Core..=) Core.. Core.AsText Core.<$> percentile75,+            ("sum" Core..=) Core.. Core.AsText Core.<$> sum+          ]+      )++-- | A list of queries to run on a cluster.+--+-- /See:/ 'newQueryList' smart constructor.+newtype QueryList = QueryList+  { -- | Required. The queries to execute. You do not need to end a query expression with a semicolon. Multiple queries can be specified in one string by separating each with a semicolon. Here is an example of a Dataproc API snippet that uses a QueryList to specify a HiveJob: \"hiveJob\": { \"queryList\": { \"queries\": [ \"query1\", \"query2\", \"query3;query4\", ] } }+    queries :: (Core.Maybe [Core.Text])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'QueryList' with the minimum fields required to make a request.+newQueryList ::+  QueryList+newQueryList = QueryList {queries = Core.Nothing}++instance Core.FromJSON QueryList where+  parseJSON =+    Core.withObject+      "QueryList"+      (\o -> QueryList Core.<$> (o Core..:? "queries"))++instance Core.ToJSON QueryList where+  toJSON QueryList {..} =+    Core.object+      (Core.catMaybes [("queries" Core..=) Core.<$> queries])++-- | Details about RDD usage.+--+-- /See:/ 'newRddDataDistribution' smart constructor.+data RddDataDistribution = RddDataDistribution+  { address :: (Core.Maybe Core.Text),+    diskUsed :: (Core.Maybe Core.Int64),+    memoryRemaining :: (Core.Maybe Core.Int64),+    memoryUsed :: (Core.Maybe Core.Int64),+    offHeapMemoryRemaining :: (Core.Maybe Core.Int64),+    offHeapMemoryUsed :: (Core.Maybe Core.Int64),+    onHeapMemoryRemaining :: (Core.Maybe Core.Int64),+    onHeapMemoryUsed :: (Core.Maybe Core.Int64)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'RddDataDistribution' with the minimum fields required to make a request.+newRddDataDistribution ::+  RddDataDistribution+newRddDataDistribution =+  RddDataDistribution+    { address = Core.Nothing,+      diskUsed = Core.Nothing,+      memoryRemaining = Core.Nothing,+      memoryUsed = Core.Nothing,+      offHeapMemoryRemaining = Core.Nothing,+      offHeapMemoryUsed = Core.Nothing,+      onHeapMemoryRemaining = Core.Nothing,+      onHeapMemoryUsed = Core.Nothing+    }++instance Core.FromJSON RddDataDistribution where+  parseJSON =+    Core.withObject+      "RddDataDistribution"+      ( \o ->+          RddDataDistribution+            Core.<$> (o Core..:? "address")+            Core.<*> (o Core..:? "diskUsed" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "memoryRemaining" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "memoryUsed" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> ( o+                         Core..:? "offHeapMemoryRemaining"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> (o Core..:? "offHeapMemoryUsed" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> ( o+                         Core..:? "onHeapMemoryRemaining"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> (o Core..:? "onHeapMemoryUsed" Core.<&> Core.fmap Core.fromAsText)+      )++instance Core.ToJSON RddDataDistribution where+  toJSON RddDataDistribution {..} =+    Core.object+      ( Core.catMaybes+          [ ("address" Core..=) Core.<$> address,+            ("diskUsed" Core..=) Core.. Core.AsText Core.<$> diskUsed,+            ("memoryRemaining" Core..=)+              Core.. Core.AsText+              Core.<$> memoryRemaining,+            ("memoryUsed" Core..=) Core.. Core.AsText Core.<$> memoryUsed,+            ("offHeapMemoryRemaining" Core..=)+              Core.. Core.AsText+              Core.<$> offHeapMemoryRemaining,+            ("offHeapMemoryUsed" Core..=)+              Core.. Core.AsText+              Core.<$> offHeapMemoryUsed,+            ("onHeapMemoryRemaining" Core..=)+              Core.. Core.AsText+              Core.<$> onHeapMemoryRemaining,+            ("onHeapMemoryUsed" Core..=)+              Core.. Core.AsText+              Core.<$> onHeapMemoryUsed+          ]+      )++-- | A grouping of nodes representing higher level constructs (stage, job etc.).+--+-- /See:/ 'newRddOperationCluster' smart constructor.+data RddOperationCluster = RddOperationCluster+  { childClusters :: (Core.Maybe [RddOperationCluster]),+    childNodes :: (Core.Maybe [RddOperationNode]),+    name :: (Core.Maybe Core.Text),+    rddClusterId :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'RddOperationCluster' with the minimum fields required to make a request.+newRddOperationCluster ::+  RddOperationCluster+newRddOperationCluster =+  RddOperationCluster+    { childClusters = Core.Nothing,+      childNodes = Core.Nothing,+      name = Core.Nothing,+      rddClusterId = Core.Nothing+    }++instance Core.FromJSON RddOperationCluster where+  parseJSON =+    Core.withObject+      "RddOperationCluster"+      ( \o ->+          RddOperationCluster+            Core.<$> (o Core..:? "childClusters")+            Core.<*> (o Core..:? "childNodes")+            Core.<*> (o Core..:? "name")+            Core.<*> (o Core..:? "rddClusterId")+      )++instance Core.ToJSON RddOperationCluster where+  toJSON RddOperationCluster {..} =+    Core.object+      ( Core.catMaybes+          [ ("childClusters" Core..=) Core.<$> childClusters,+            ("childNodes" Core..=) Core.<$> childNodes,+            ("name" Core..=) Core.<$> name,+            ("rddClusterId" Core..=) Core.<$> rddClusterId+          ]+      )++-- | A directed edge representing dependency between two RDDs.+--+-- /See:/ 'newRddOperationEdge' smart constructor.+data RddOperationEdge = RddOperationEdge+  { fromId :: (Core.Maybe Core.Int32),+    toId :: (Core.Maybe Core.Int32)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'RddOperationEdge' with the minimum fields required to make a request.+newRddOperationEdge ::+  RddOperationEdge+newRddOperationEdge =+  RddOperationEdge {fromId = Core.Nothing, toId = Core.Nothing}++instance Core.FromJSON RddOperationEdge where+  parseJSON =+    Core.withObject+      "RddOperationEdge"+      ( \o ->+          RddOperationEdge+            Core.<$> (o Core..:? "fromId")+            Core.<*> (o Core..:? "toId")+      )++instance Core.ToJSON RddOperationEdge where+  toJSON RddOperationEdge {..} =+    Core.object+      ( Core.catMaybes+          [ ("fromId" Core..=) Core.<$> fromId,+            ("toId" Core..=) Core.<$> toId+          ]+      )++-- | Graph representing RDD dependencies. Consists of edges and a root cluster.+--+-- /See:/ 'newRddOperationGraph' smart constructor.+data RddOperationGraph = RddOperationGraph+  { edges :: (Core.Maybe [RddOperationEdge]),+    incomingEdges :: (Core.Maybe [RddOperationEdge]),+    outgoingEdges :: (Core.Maybe [RddOperationEdge]),+    rootCluster :: (Core.Maybe RddOperationCluster),+    stageId :: (Core.Maybe Core.Int64)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'RddOperationGraph' with the minimum fields required to make a request.+newRddOperationGraph ::+  RddOperationGraph+newRddOperationGraph =+  RddOperationGraph+    { edges = Core.Nothing,+      incomingEdges = Core.Nothing,+      outgoingEdges = Core.Nothing,+      rootCluster = Core.Nothing,+      stageId = Core.Nothing+    }++instance Core.FromJSON RddOperationGraph where+  parseJSON =+    Core.withObject+      "RddOperationGraph"+      ( \o ->+          RddOperationGraph+            Core.<$> (o Core..:? "edges")+            Core.<*> (o Core..:? "incomingEdges")+            Core.<*> (o Core..:? "outgoingEdges")+            Core.<*> (o Core..:? "rootCluster")+            Core.<*> (o Core..:? "stageId" Core.<&> Core.fmap Core.fromAsText)+      )++instance Core.ToJSON RddOperationGraph where+  toJSON RddOperationGraph {..} =+    Core.object+      ( Core.catMaybes+          [ ("edges" Core..=) Core.<$> edges,+            ("incomingEdges" Core..=) Core.<$> incomingEdges,+            ("outgoingEdges" Core..=) Core.<$> outgoingEdges,+            ("rootCluster" Core..=) Core.<$> rootCluster,+            ("stageId" Core..=) Core.. Core.AsText Core.<$> stageId+          ]+      )++-- | A node in the RDD operation graph. Corresponds to a single RDD.+--+-- /See:/ 'newRddOperationNode' smart constructor.+data RddOperationNode = RddOperationNode+  { barrier :: (Core.Maybe Core.Bool),+    cached :: (Core.Maybe Core.Bool),+    callsite :: (Core.Maybe Core.Text),+    name :: (Core.Maybe Core.Text),+    nodeId :: (Core.Maybe Core.Int32),+    outputDeterministicLevel :: (Core.Maybe RddOperationNode_OutputDeterministicLevel)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'RddOperationNode' with the minimum fields required to make a request.+newRddOperationNode ::+  RddOperationNode+newRddOperationNode =+  RddOperationNode+    { barrier = Core.Nothing,+      cached = Core.Nothing,+      callsite = Core.Nothing,+      name = Core.Nothing,+      nodeId = Core.Nothing,+      outputDeterministicLevel = Core.Nothing+    }++instance Core.FromJSON RddOperationNode where+  parseJSON =+    Core.withObject+      "RddOperationNode"+      ( \o ->+          RddOperationNode+            Core.<$> (o Core..:? "barrier")+            Core.<*> (o Core..:? "cached")+            Core.<*> (o Core..:? "callsite")+            Core.<*> (o Core..:? "name")+            Core.<*> (o Core..:? "nodeId")+            Core.<*> (o Core..:? "outputDeterministicLevel")+      )++instance Core.ToJSON RddOperationNode where+  toJSON RddOperationNode {..} =+    Core.object+      ( Core.catMaybes+          [ ("barrier" Core..=) Core.<$> barrier,+            ("cached" Core..=) Core.<$> cached,+            ("callsite" Core..=) Core.<$> callsite,+            ("name" Core..=) Core.<$> name,+            ("nodeId" Core..=) Core.<$> nodeId,+            ("outputDeterministicLevel" Core..=)+              Core.<$> outputDeterministicLevel+          ]+      )++-- | Information about RDD partitions.+--+-- /See:/ 'newRddPartitionInfo' smart constructor.+data RddPartitionInfo = RddPartitionInfo+  { blockName :: (Core.Maybe Core.Text),+    diskUsed :: (Core.Maybe Core.Int64),+    executors :: (Core.Maybe [Core.Text]),+    memoryUsed :: (Core.Maybe Core.Int64),+    storageLevel :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'RddPartitionInfo' with the minimum fields required to make a request.+newRddPartitionInfo ::+  RddPartitionInfo+newRddPartitionInfo =+  RddPartitionInfo+    { blockName = Core.Nothing,+      diskUsed = Core.Nothing,+      executors = Core.Nothing,+      memoryUsed = Core.Nothing,+      storageLevel = Core.Nothing+    }++instance Core.FromJSON RddPartitionInfo where+  parseJSON =+    Core.withObject+      "RddPartitionInfo"+      ( \o ->+          RddPartitionInfo+            Core.<$> (o Core..:? "blockName")+            Core.<*> (o Core..:? "diskUsed" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "executors")+            Core.<*> (o Core..:? "memoryUsed" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "storageLevel")+      )++instance Core.ToJSON RddPartitionInfo where+  toJSON RddPartitionInfo {..} =+    Core.object+      ( Core.catMaybes+          [ ("blockName" Core..=) Core.<$> blockName,+            ("diskUsed" Core..=) Core.. Core.AsText Core.<$> diskUsed,+            ("executors" Core..=) Core.<$> executors,+            ("memoryUsed" Core..=) Core.. Core.AsText Core.<$> memoryUsed,+            ("storageLevel" Core..=) Core.<$> storageLevel+          ]+      )++-- | Overall data about RDD storage.+--+-- /See:/ 'newRddStorageInfo' smart constructor.+data RddStorageInfo = RddStorageInfo+  { dataDistribution :: (Core.Maybe [RddDataDistribution]),+    diskUsed :: (Core.Maybe Core.Int64),+    memoryUsed :: (Core.Maybe Core.Int64),+    name :: (Core.Maybe Core.Text),+    numCachedPartitions :: (Core.Maybe Core.Int32),+    numPartitions :: (Core.Maybe Core.Int32),+    partitions :: (Core.Maybe [RddPartitionInfo]),+    rddStorageId :: (Core.Maybe Core.Int32),+    storageLevel :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'RddStorageInfo' with the minimum fields required to make a request.+newRddStorageInfo ::+  RddStorageInfo+newRddStorageInfo =+  RddStorageInfo+    { dataDistribution = Core.Nothing,+      diskUsed = Core.Nothing,+      memoryUsed = Core.Nothing,+      name = Core.Nothing,+      numCachedPartitions = Core.Nothing,+      numPartitions = Core.Nothing,+      partitions = Core.Nothing,+      rddStorageId = Core.Nothing,+      storageLevel = Core.Nothing+    }++instance Core.FromJSON RddStorageInfo where+  parseJSON =+    Core.withObject+      "RddStorageInfo"+      ( \o ->+          RddStorageInfo+            Core.<$> (o Core..:? "dataDistribution")+            Core.<*> (o Core..:? "diskUsed" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "memoryUsed" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "name")+            Core.<*> (o Core..:? "numCachedPartitions")+            Core.<*> (o Core..:? "numPartitions")+            Core.<*> (o Core..:? "partitions")+            Core.<*> (o Core..:? "rddStorageId")+            Core.<*> (o Core..:? "storageLevel")+      )++instance Core.ToJSON RddStorageInfo where+  toJSON RddStorageInfo {..} =+    Core.object+      ( Core.catMaybes+          [ ("dataDistribution" Core..=) Core.<$> dataDistribution,+            ("diskUsed" Core..=) Core.. Core.AsText Core.<$> diskUsed,+            ("memoryUsed" Core..=) Core.. Core.AsText Core.<$> memoryUsed,+            ("name" Core..=) Core.<$> name,+            ("numCachedPartitions" Core..=) Core.<$> numCachedPartitions,+            ("numPartitions" Core..=) Core.<$> numPartitions,+            ("partitions" Core..=) Core.<$> partitions,+            ("rddStorageId" Core..=) Core.<$> rddStorageId,+            ("storageLevel" Core..=) Core.<$> storageLevel+          ]+      )++-- | Validation based on regular expressions.+--+-- /See:/ 'newRegexValidation' smart constructor.+newtype RegexValidation = RegexValidation+  { -- | Required. RE2 regular expressions used to validate the parameter\'s value. The value must match the regex in its entirety (substring matches are not sufficient).+    regexes :: (Core.Maybe [Core.Text])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'RegexValidation' with the minimum fields required to make a request.+newRegexValidation ::+  RegexValidation+newRegexValidation = RegexValidation {regexes = Core.Nothing}++instance Core.FromJSON RegexValidation where+  parseJSON =+    Core.withObject+      "RegexValidation"+      (\o -> RegexValidation Core.<$> (o Core..:? "regexes"))++instance Core.ToJSON RegexValidation where+  toJSON RegexValidation {..} =+    Core.object+      (Core.catMaybes [("regexes" Core..=) Core.<$> regexes])++-- | A request to repair a cluster.+--+-- /See:/ 'newRepairClusterRequest' smart constructor.+data RepairClusterRequest = RepairClusterRequest+  { -- | Optional. Cluster to be repaired+    cluster :: (Core.Maybe ClusterToRepair),+    -- | Optional. Specifying the cluster/uuid means the RPC will fail (with error NOT/FOUND) if a cluster with the specified UUID does not exist.+    clusterUuid :: (Core.Maybe Core.Text),+    -- | Optional. Timeout for graceful YARN decommissioning. Graceful decommissioning facilitates the removal of cluster nodes without interrupting jobs in progress. The timeout specifies the amount of time to wait for jobs finish before forcefully removing nodes. The default timeout is 0 for forceful decommissioning, and the maximum timeout period is 1 day. (see JSON Mapping—Duration (https:\/\/developers.google.com\/protocol-buffers\/docs\/proto3#json)).graceful/decommission/timeout is supported in Dataproc image versions 1.2+.+    gracefulDecommissionTimeout :: (Core.Maybe Core.Duration),+    -- | Optional. Node pools and corresponding repair action to be taken. All node pools should be unique in this request. i.e. Multiple entries for the same node pool id are not allowed.+    nodePools :: (Core.Maybe [NodePool]),+    -- | Optional. operation id of the parent operation sending the repair request+    parentOperationId :: (Core.Maybe Core.Text),+    -- | Optional. A unique ID used to identify the request. If the server receives two RepairClusterRequests with the same ID, the second request is ignored, and the first google.longrunning.Operation created and stored in the backend is returned.Recommendation: Set this value to a UUID (https:\/\/en.wikipedia.org\/wiki\/Universally/unique/identifier).The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.+    requestId :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'RepairClusterRequest' with the minimum fields required to make a request.+newRepairClusterRequest ::+  RepairClusterRequest+newRepairClusterRequest =+  RepairClusterRequest+    { cluster = Core.Nothing,+      clusterUuid = Core.Nothing,+      gracefulDecommissionTimeout = Core.Nothing,+      nodePools = Core.Nothing,+      parentOperationId = Core.Nothing,+      requestId = Core.Nothing+    }++instance Core.FromJSON RepairClusterRequest where+  parseJSON =+    Core.withObject+      "RepairClusterRequest"+      ( \o ->+          RepairClusterRequest+            Core.<$> (o Core..:? "cluster")+            Core.<*> (o Core..:? "clusterUuid")+            Core.<*> (o Core..:? "gracefulDecommissionTimeout")+            Core.<*> (o Core..:? "nodePools")+            Core.<*> (o Core..:? "parentOperationId")+            Core.<*> (o Core..:? "requestId")+      )++instance Core.ToJSON RepairClusterRequest where+  toJSON RepairClusterRequest {..} =+    Core.object+      ( Core.catMaybes+          [ ("cluster" Core..=) Core.<$> cluster,+            ("clusterUuid" Core..=) Core.<$> clusterUuid,+            ("gracefulDecommissionTimeout" Core..=)+              Core.<$> gracefulDecommissionTimeout,+            ("nodePools" Core..=) Core.<$> nodePools,+            ("parentOperationId" Core..=) Core.<$> parentOperationId,+            ("requestId" Core..=) Core.<$> requestId+          ]+      )++--+-- /See:/ 'newRepairNodeGroupRequest' smart constructor.+data RepairNodeGroupRequest = RepairNodeGroupRequest+  { -- | Required. Name of instances to be repaired. These instances must belong to specified node pool.+    instanceNames :: (Core.Maybe [Core.Text]),+    -- | Required. Repair action to take on specified resources of the node pool.+    repairAction :: (Core.Maybe RepairNodeGroupRequest_RepairAction),+    -- | Optional. A unique ID used to identify the request. If the server receives two RepairNodeGroupRequest with the same ID, the second request is ignored and the first google.longrunning.Operation created and stored in the backend is returned.Recommendation: Set this value to a UUID (https:\/\/en.wikipedia.org\/wiki\/Universally/unique/identifier).The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.+    requestId :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'RepairNodeGroupRequest' with the minimum fields required to make a request.+newRepairNodeGroupRequest ::+  RepairNodeGroupRequest+newRepairNodeGroupRequest =+  RepairNodeGroupRequest+    { instanceNames = Core.Nothing,+      repairAction = Core.Nothing,+      requestId = Core.Nothing+    }++instance Core.FromJSON RepairNodeGroupRequest where+  parseJSON =+    Core.withObject+      "RepairNodeGroupRequest"+      ( \o ->+          RepairNodeGroupRequest+            Core.<$> (o Core..:? "instanceNames")+            Core.<*> (o Core..:? "repairAction")+            Core.<*> (o Core..:? "requestId")+      )++instance Core.ToJSON RepairNodeGroupRequest where+  toJSON RepairNodeGroupRequest {..} =+    Core.object+      ( Core.catMaybes+          [ ("instanceNames" Core..=) Core.<$> instanceNames,+            ("repairAction" Core..=) Core.<$> repairAction,+            ("requestId" Core..=) Core.<$> requestId+          ]+      )++-- | Configuration for dependency repositories+--+-- /See:/ 'newRepositoryConfig' smart constructor.+newtype RepositoryConfig = RepositoryConfig+  { -- | Optional. Configuration for PyPi repository.+    pypiRepositoryConfig :: (Core.Maybe PyPiRepositoryConfig)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'RepositoryConfig' with the minimum fields required to make a request.+newRepositoryConfig ::+  RepositoryConfig+newRepositoryConfig =+  RepositoryConfig {pypiRepositoryConfig = Core.Nothing}++instance Core.FromJSON RepositoryConfig where+  parseJSON =+    Core.withObject+      "RepositoryConfig"+      ( \o ->+          RepositoryConfig Core.<$> (o Core..:? "pypiRepositoryConfig")+      )++instance Core.ToJSON RepositoryConfig where+  toJSON RepositoryConfig {..} =+    Core.object+      ( Core.catMaybes+          [("pypiRepositoryConfig" Core..=) Core.<$> pypiRepositoryConfig]+      )++-- | Reservation Affinity for consuming Zonal reservation.+--+-- /See:/ 'newReservationAffinity' smart constructor.+data ReservationAffinity = ReservationAffinity+  { -- | Optional. Type of reservation to consume+    consumeReservationType :: (Core.Maybe ReservationAffinity_ConsumeReservationType),+    -- | Optional. Corresponds to the label key of reservation resource.+    key :: (Core.Maybe Core.Text),+    -- | Optional. Corresponds to the label values of reservation resource.+    values :: (Core.Maybe [Core.Text])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ReservationAffinity' with the minimum fields required to make a request.+newReservationAffinity ::+  ReservationAffinity+newReservationAffinity =+  ReservationAffinity+    { consumeReservationType = Core.Nothing,+      key = Core.Nothing,+      values = Core.Nothing+    }++instance Core.FromJSON ReservationAffinity where+  parseJSON =+    Core.withObject+      "ReservationAffinity"+      ( \o ->+          ReservationAffinity+            Core.<$> (o Core..:? "consumeReservationType")+            Core.<*> (o Core..:? "key")+            Core.<*> (o Core..:? "values")+      )++instance Core.ToJSON ReservationAffinity where+  toJSON ReservationAffinity {..} =+    Core.object+      ( Core.catMaybes+          [ ("consumeReservationType" Core..=)+              Core.<$> consumeReservationType,+            ("key" Core..=) Core.<$> key,+            ("values" Core..=) Core.<$> values+          ]+      )++-- | A request to resize a node group.+--+-- /See:/ 'newResizeNodeGroupRequest' smart constructor.+data ResizeNodeGroupRequest = ResizeNodeGroupRequest+  { -- | Optional. Timeout for graceful YARN decommissioning. Graceful decommissioning (https:\/\/cloud.google.com\/dataproc\/docs\/concepts\/configuring-clusters\/scaling-clusters#graceful_decommissioning) allows the removal of nodes from the Compute Engine node group without interrupting jobs in progress. This timeout specifies how long to wait for jobs in progress to finish before forcefully removing nodes (and potentially interrupting jobs). Default timeout is 0 (for forceful decommission), and the maximum allowed timeout is 1 day. (see JSON representation of Duration (https:\/\/developers.google.com\/protocol-buffers\/docs\/proto3#json)).Only supported on Dataproc image versions 1.2 and higher.+    gracefulDecommissionTimeout :: (Core.Maybe Core.Duration),+    -- | Optional. operation id of the parent operation sending the resize request+    parentOperationId :: (Core.Maybe Core.Text),+    -- | Optional. A unique ID used to identify the request. If the server receives two ResizeNodeGroupRequest (https:\/\/cloud.google.com\/dataproc\/docs\/reference\/rpc\/google.cloud.dataproc.v1#google.cloud.dataproc.v1.ResizeNodeGroupRequests) with the same ID, the second request is ignored and the first google.longrunning.Operation created and stored in the backend is returned.Recommendation: Set this value to a UUID (https:\/\/en.wikipedia.org\/wiki\/Universally/unique/identifier).The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.+    requestId :: (Core.Maybe Core.Text),+    -- | Required. The number of running instances for the node group to maintain. The group adds or removes instances to maintain the number of instances specified by this parameter.+    size :: (Core.Maybe Core.Int32)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ResizeNodeGroupRequest' with the minimum fields required to make a request.+newResizeNodeGroupRequest ::+  ResizeNodeGroupRequest+newResizeNodeGroupRequest =+  ResizeNodeGroupRequest+    { gracefulDecommissionTimeout =+        Core.Nothing,+      parentOperationId = Core.Nothing,+      requestId = Core.Nothing,+      size = Core.Nothing+    }++instance Core.FromJSON ResizeNodeGroupRequest where+  parseJSON =+    Core.withObject+      "ResizeNodeGroupRequest"+      ( \o ->+          ResizeNodeGroupRequest+            Core.<$> (o Core..:? "gracefulDecommissionTimeout")+            Core.<*> (o Core..:? "parentOperationId")+            Core.<*> (o Core..:? "requestId")+            Core.<*> (o Core..:? "size")+      )++instance Core.ToJSON ResizeNodeGroupRequest where+  toJSON ResizeNodeGroupRequest {..} =+    Core.object+      ( Core.catMaybes+          [ ("gracefulDecommissionTimeout" Core..=)+              Core.<$> gracefulDecommissionTimeout,+            ("parentOperationId" Core..=) Core.<$> parentOperationId,+            ("requestId" Core..=) Core.<$> requestId,+            ("size" Core..=) Core.<$> size+          ]+      )++--+-- /See:/ 'newResourceInformation' smart constructor.+data ResourceInformation = ResourceInformation+  { addresses :: (Core.Maybe [Core.Text]),+    name :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ResourceInformation' with the minimum fields required to make a request.+newResourceInformation ::+  ResourceInformation+newResourceInformation =+  ResourceInformation+    { addresses = Core.Nothing,+      name = Core.Nothing+    }++instance Core.FromJSON ResourceInformation where+  parseJSON =+    Core.withObject+      "ResourceInformation"+      ( \o ->+          ResourceInformation+            Core.<$> (o Core..:? "addresses")+            Core.<*> (o Core..:? "name")+      )++instance Core.ToJSON ResourceInformation where+  toJSON ResourceInformation {..} =+    Core.object+      ( Core.catMaybes+          [ ("addresses" Core..=) Core.<$> addresses,+            ("name" Core..=) Core.<$> name+          ]+      )++-- | Resource profile that contains information about all the resources required by executors and tasks.+--+-- /See:/ 'newResourceProfileInfo' smart constructor.+data ResourceProfileInfo = ResourceProfileInfo+  { executorResources :: (Core.Maybe ResourceProfileInfo_ExecutorResources),+    resourceProfileId :: (Core.Maybe Core.Int32),+    taskResources :: (Core.Maybe ResourceProfileInfo_TaskResources)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ResourceProfileInfo' with the minimum fields required to make a request.+newResourceProfileInfo ::+  ResourceProfileInfo+newResourceProfileInfo =+  ResourceProfileInfo+    { executorResources = Core.Nothing,+      resourceProfileId = Core.Nothing,+      taskResources = Core.Nothing+    }++instance Core.FromJSON ResourceProfileInfo where+  parseJSON =+    Core.withObject+      "ResourceProfileInfo"+      ( \o ->+          ResourceProfileInfo+            Core.<$> (o Core..:? "executorResources")+            Core.<*> (o Core..:? "resourceProfileId")+            Core.<*> (o Core..:? "taskResources")+      )++instance Core.ToJSON ResourceProfileInfo where+  toJSON ResourceProfileInfo {..} =+    Core.object+      ( Core.catMaybes+          [ ("executorResources" Core..=) Core.<$> executorResources,+            ("resourceProfileId" Core..=) Core.<$> resourceProfileId,+            ("taskResources" Core..=) Core.<$> taskResources+          ]+      )++--+-- /See:/ 'newResourceProfileInfo_ExecutorResources' smart constructor.+newtype ResourceProfileInfo_ExecutorResources = ResourceProfileInfo_ExecutorResources+  { additional :: (Core.HashMap Core.Text ExecutorResourceRequest)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ResourceProfileInfo_ExecutorResources' with the minimum fields required to make a request.+newResourceProfileInfo_ExecutorResources ::+  -- |  See 'additional'.+  Core.HashMap Core.Text ExecutorResourceRequest ->+  ResourceProfileInfo_ExecutorResources+newResourceProfileInfo_ExecutorResources additional =+  ResourceProfileInfo_ExecutorResources {additional = additional}++instance Core.FromJSON ResourceProfileInfo_ExecutorResources where+  parseJSON =+    Core.withObject+      "ResourceProfileInfo_ExecutorResources"+      ( \o ->+          ResourceProfileInfo_ExecutorResources+            Core.<$> (Core.parseJSONObject o)+      )++instance Core.ToJSON ResourceProfileInfo_ExecutorResources where+  toJSON ResourceProfileInfo_ExecutorResources {..} =+    Core.toJSON additional++--+-- /See:/ 'newResourceProfileInfo_TaskResources' smart constructor.+newtype ResourceProfileInfo_TaskResources = ResourceProfileInfo_TaskResources+  { additional :: (Core.HashMap Core.Text TaskResourceRequest)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ResourceProfileInfo_TaskResources' with the minimum fields required to make a request.+newResourceProfileInfo_TaskResources ::+  -- |  See 'additional'.+  Core.HashMap Core.Text TaskResourceRequest ->+  ResourceProfileInfo_TaskResources+newResourceProfileInfo_TaskResources additional =+  ResourceProfileInfo_TaskResources {additional = additional}++instance Core.FromJSON ResourceProfileInfo_TaskResources where+  parseJSON =+    Core.withObject+      "ResourceProfileInfo_TaskResources"+      ( \o ->+          ResourceProfileInfo_TaskResources+            Core.<$> (Core.parseJSONObject o)+      )++instance Core.ToJSON ResourceProfileInfo_TaskResources where+  toJSON ResourceProfileInfo_TaskResources {..} =+    Core.toJSON additional++-- | Runtime configuration for a workload.+--+-- /See:/ 'newRuntimeConfig' smart constructor.+data RuntimeConfig = RuntimeConfig+  { -- | Optional. Autotuning configuration of the workload.+    autotuningConfig :: (Core.Maybe AutotuningConfig),+    -- | Optional. Cohort identifier. Identifies families of the workloads having the same shape, e.g. daily ETL jobs.+    cohort :: (Core.Maybe Core.Text),+    -- | Optional. Optional custom container image for the job runtime environment. If not specified, a default container image will be used.+    containerImage :: (Core.Maybe Core.Text),+    -- | Optional. A mapping of property names to values, which are used to configure workload execution.+    properties :: (Core.Maybe RuntimeConfig_Properties),+    -- | Optional. Dependency repository configuration.+    repositoryConfig :: (Core.Maybe RepositoryConfig),+    -- | Optional. Version of the batch runtime.+    version :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'RuntimeConfig' with the minimum fields required to make a request.+newRuntimeConfig ::+  RuntimeConfig+newRuntimeConfig =+  RuntimeConfig+    { autotuningConfig = Core.Nothing,+      cohort = Core.Nothing,+      containerImage = Core.Nothing,+      properties = Core.Nothing,+      repositoryConfig = Core.Nothing,+      version = Core.Nothing+    }++instance Core.FromJSON RuntimeConfig where+  parseJSON =+    Core.withObject+      "RuntimeConfig"+      ( \o ->+          RuntimeConfig+            Core.<$> (o Core..:? "autotuningConfig")+            Core.<*> (o Core..:? "cohort")+            Core.<*> (o Core..:? "containerImage")+            Core.<*> (o Core..:? "properties")+            Core.<*> (o Core..:? "repositoryConfig")+            Core.<*> (o Core..:? "version")+      )++instance Core.ToJSON RuntimeConfig where+  toJSON RuntimeConfig {..} =+    Core.object+      ( Core.catMaybes+          [ ("autotuningConfig" Core..=) Core.<$> autotuningConfig,+            ("cohort" Core..=) Core.<$> cohort,+            ("containerImage" Core..=) Core.<$> containerImage,+            ("properties" Core..=) Core.<$> properties,+            ("repositoryConfig" Core..=) Core.<$> repositoryConfig,+            ("version" Core..=) Core.<$> version+          ]+      )++-- | Optional. A mapping of property names to values, which are used to configure workload execution.+--+-- /See:/ 'newRuntimeConfig_Properties' smart constructor.+newtype RuntimeConfig_Properties = RuntimeConfig_Properties+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'RuntimeConfig_Properties' with the minimum fields required to make a request.+newRuntimeConfig_Properties ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  RuntimeConfig_Properties+newRuntimeConfig_Properties additional =+  RuntimeConfig_Properties {additional = additional}++instance Core.FromJSON RuntimeConfig_Properties where+  parseJSON =+    Core.withObject+      "RuntimeConfig_Properties"+      (\o -> RuntimeConfig_Properties Core.<$> (Core.parseJSONObject o))++instance Core.ToJSON RuntimeConfig_Properties where+  toJSON RuntimeConfig_Properties {..} = Core.toJSON additional++-- | Runtime information about workload execution.+--+-- /See:/ 'newRuntimeInfo' smart constructor.+data RuntimeInfo = RuntimeInfo+  { -- | Output only. Approximate workload resource usage, calculated when the workload completes (see Dataproc Serverless pricing (https:\/\/cloud.google.com\/dataproc-serverless\/pricing)).Note: This metric calculation may change in the future, for example, to capture cumulative workload resource consumption during workload execution (see the Dataproc Serverless release notes (https:\/\/cloud.google.com\/dataproc-serverless\/docs\/release-notes) for announcements, changes, fixes and other Dataproc developments).+    approximateUsage :: (Core.Maybe UsageMetrics),+    -- | Output only. Snapshot of current workload resource usage.+    currentUsage :: (Core.Maybe UsageSnapshot),+    -- | Output only. A URI pointing to the location of the diagnostics tarball.+    diagnosticOutputUri :: (Core.Maybe Core.Text),+    -- | Output only. Map of remote access endpoints (such as web interfaces and APIs) to their URIs.+    endpoints :: (Core.Maybe RuntimeInfo_Endpoints),+    -- | Output only. A URI pointing to the location of the stdout and stderr of the workload.+    outputUri :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'RuntimeInfo' with the minimum fields required to make a request.+newRuntimeInfo ::+  RuntimeInfo+newRuntimeInfo =+  RuntimeInfo+    { approximateUsage = Core.Nothing,+      currentUsage = Core.Nothing,+      diagnosticOutputUri = Core.Nothing,+      endpoints = Core.Nothing,+      outputUri = Core.Nothing+    }++instance Core.FromJSON RuntimeInfo where+  parseJSON =+    Core.withObject+      "RuntimeInfo"+      ( \o ->+          RuntimeInfo+            Core.<$> (o Core..:? "approximateUsage")+            Core.<*> (o Core..:? "currentUsage")+            Core.<*> (o Core..:? "diagnosticOutputUri")+            Core.<*> (o Core..:? "endpoints")+            Core.<*> (o Core..:? "outputUri")+      )++instance Core.ToJSON RuntimeInfo where+  toJSON RuntimeInfo {..} =+    Core.object+      ( Core.catMaybes+          [ ("approximateUsage" Core..=) Core.<$> approximateUsage,+            ("currentUsage" Core..=) Core.<$> currentUsage,+            ("diagnosticOutputUri" Core..=) Core.<$> diagnosticOutputUri,+            ("endpoints" Core..=) Core.<$> endpoints,+            ("outputUri" Core..=) Core.<$> outputUri+          ]+      )++-- | Output only. Map of remote access endpoints (such as web interfaces and APIs) to their URIs.+--+-- /See:/ 'newRuntimeInfo_Endpoints' smart constructor.+newtype RuntimeInfo_Endpoints = RuntimeInfo_Endpoints+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'RuntimeInfo_Endpoints' with the minimum fields required to make a request.+newRuntimeInfo_Endpoints ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  RuntimeInfo_Endpoints+newRuntimeInfo_Endpoints additional =+  RuntimeInfo_Endpoints {additional = additional}++instance Core.FromJSON RuntimeInfo_Endpoints where+  parseJSON =+    Core.withObject+      "RuntimeInfo_Endpoints"+      (\o -> RuntimeInfo_Endpoints Core.<$> (Core.parseJSONObject o))++instance Core.ToJSON RuntimeInfo_Endpoints where+  toJSON RuntimeInfo_Endpoints {..} = Core.toJSON additional++-- | List of Executors associated with a Spark Application Stage.+--+-- /See:/ 'newSearchSessionSparkApplicationExecutorStageSummaryResponse' smart constructor.+data SearchSessionSparkApplicationExecutorStageSummaryResponse = SearchSessionSparkApplicationExecutorStageSummaryResponse+  { -- | This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent SearchSessionSparkApplicationExecutorStageSummaryRequest.+    nextPageToken :: (Core.Maybe Core.Text),+    -- | Details about executors used by the application stage.+    sparkApplicationStageExecutors :: (Core.Maybe [ExecutorStageSummary])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SearchSessionSparkApplicationExecutorStageSummaryResponse' with the minimum fields required to make a request.+newSearchSessionSparkApplicationExecutorStageSummaryResponse ::+  SearchSessionSparkApplicationExecutorStageSummaryResponse+newSearchSessionSparkApplicationExecutorStageSummaryResponse =+  SearchSessionSparkApplicationExecutorStageSummaryResponse+    { nextPageToken =+        Core.Nothing,+      sparkApplicationStageExecutors =+        Core.Nothing+    }++instance+  Core.FromJSON+    SearchSessionSparkApplicationExecutorStageSummaryResponse+  where+  parseJSON =+    Core.withObject+      "SearchSessionSparkApplicationExecutorStageSummaryResponse"+      ( \o ->+          SearchSessionSparkApplicationExecutorStageSummaryResponse+            Core.<$> (o Core..:? "nextPageToken")+            Core.<*> (o Core..:? "sparkApplicationStageExecutors")+      )++instance+  Core.ToJSON+    SearchSessionSparkApplicationExecutorStageSummaryResponse+  where+  toJSON+    SearchSessionSparkApplicationExecutorStageSummaryResponse {..} =+      Core.object+        ( Core.catMaybes+            [ ("nextPageToken" Core..=) Core.<$> nextPageToken,+              ("sparkApplicationStageExecutors" Core..=)+                Core.<$> sparkApplicationStageExecutors+            ]+        )++-- | List of Executors associated with a Spark Application.+--+-- /See:/ 'newSearchSessionSparkApplicationExecutorsResponse' smart constructor.+data SearchSessionSparkApplicationExecutorsResponse = SearchSessionSparkApplicationExecutorsResponse+  { -- | This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent SearchSessionSparkApplicationExecutorsRequest.+    nextPageToken :: (Core.Maybe Core.Text),+    -- | Details about executors used by the application.+    sparkApplicationExecutors :: (Core.Maybe [ExecutorSummary])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SearchSessionSparkApplicationExecutorsResponse' with the minimum fields required to make a request.+newSearchSessionSparkApplicationExecutorsResponse ::+  SearchSessionSparkApplicationExecutorsResponse+newSearchSessionSparkApplicationExecutorsResponse =+  SearchSessionSparkApplicationExecutorsResponse+    { nextPageToken =+        Core.Nothing,+      sparkApplicationExecutors = Core.Nothing+    }++instance+  Core.FromJSON+    SearchSessionSparkApplicationExecutorsResponse+  where+  parseJSON =+    Core.withObject+      "SearchSessionSparkApplicationExecutorsResponse"+      ( \o ->+          SearchSessionSparkApplicationExecutorsResponse+            Core.<$> (o Core..:? "nextPageToken")+            Core.<*> (o Core..:? "sparkApplicationExecutors")+      )++instance Core.ToJSON SearchSessionSparkApplicationExecutorsResponse where+  toJSON SearchSessionSparkApplicationExecutorsResponse {..} =+    Core.object+      ( Core.catMaybes+          [ ("nextPageToken" Core..=) Core.<$> nextPageToken,+            ("sparkApplicationExecutors" Core..=)+              Core.<$> sparkApplicationExecutors+          ]+      )++-- | A list of Jobs associated with a Spark Application.+--+-- /See:/ 'newSearchSessionSparkApplicationJobsResponse' smart constructor.+data SearchSessionSparkApplicationJobsResponse = SearchSessionSparkApplicationJobsResponse+  { -- | This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent SearchSessionSparkApplicationJobsRequest.+    nextPageToken :: (Core.Maybe Core.Text),+    -- | Output only. Data corresponding to a spark job.+    sparkApplicationJobs :: (Core.Maybe [JobData])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SearchSessionSparkApplicationJobsResponse' with the minimum fields required to make a request.+newSearchSessionSparkApplicationJobsResponse ::+  SearchSessionSparkApplicationJobsResponse+newSearchSessionSparkApplicationJobsResponse =+  SearchSessionSparkApplicationJobsResponse+    { nextPageToken =+        Core.Nothing,+      sparkApplicationJobs = Core.Nothing+    }++instance Core.FromJSON SearchSessionSparkApplicationJobsResponse where+  parseJSON =+    Core.withObject+      "SearchSessionSparkApplicationJobsResponse"+      ( \o ->+          SearchSessionSparkApplicationJobsResponse+            Core.<$> (o Core..:? "nextPageToken")+            Core.<*> (o Core..:? "sparkApplicationJobs")+      )++instance Core.ToJSON SearchSessionSparkApplicationJobsResponse where+  toJSON SearchSessionSparkApplicationJobsResponse {..} =+    Core.object+      ( Core.catMaybes+          [ ("nextPageToken" Core..=) Core.<$> nextPageToken,+            ("sparkApplicationJobs" Core..=) Core.<$> sparkApplicationJobs+          ]+      )++-- | List of all queries for a Spark Application.+--+-- /See:/ 'newSearchSessionSparkApplicationSqlQueriesResponse' smart constructor.+data SearchSessionSparkApplicationSqlQueriesResponse = SearchSessionSparkApplicationSqlQueriesResponse+  { -- | This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent SearchSessionSparkApplicationSqlQueriesRequest.+    nextPageToken :: (Core.Maybe Core.Text),+    -- | Output only. SQL Execution Data+    sparkApplicationSqlQueries :: (Core.Maybe [SqlExecutionUiData])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SearchSessionSparkApplicationSqlQueriesResponse' with the minimum fields required to make a request.+newSearchSessionSparkApplicationSqlQueriesResponse ::+  SearchSessionSparkApplicationSqlQueriesResponse+newSearchSessionSparkApplicationSqlQueriesResponse =+  SearchSessionSparkApplicationSqlQueriesResponse+    { nextPageToken =+        Core.Nothing,+      sparkApplicationSqlQueries = Core.Nothing+    }++instance+  Core.FromJSON+    SearchSessionSparkApplicationSqlQueriesResponse+  where+  parseJSON =+    Core.withObject+      "SearchSessionSparkApplicationSqlQueriesResponse"+      ( \o ->+          SearchSessionSparkApplicationSqlQueriesResponse+            Core.<$> (o Core..:? "nextPageToken")+            Core.<*> (o Core..:? "sparkApplicationSqlQueries")+      )++instance+  Core.ToJSON+    SearchSessionSparkApplicationSqlQueriesResponse+  where+  toJSON SearchSessionSparkApplicationSqlQueriesResponse {..} =+    Core.object+      ( Core.catMaybes+          [ ("nextPageToken" Core..=) Core.<$> nextPageToken,+            ("sparkApplicationSqlQueries" Core..=)+              Core.<$> sparkApplicationSqlQueries+          ]+      )++-- | List of tasks for a stage of a Spark Application+--+-- /See:/ 'newSearchSessionSparkApplicationStageAttemptTasksResponse' smart constructor.+data SearchSessionSparkApplicationStageAttemptTasksResponse = SearchSessionSparkApplicationStageAttemptTasksResponse+  { -- | This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent SearchSessionSparkApplicationStageAttemptTasksRequest.+    nextPageToken :: (Core.Maybe Core.Text),+    -- | Output only. Data corresponding to tasks created by spark.+    sparkApplicationStageAttemptTasks :: (Core.Maybe [TaskData])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SearchSessionSparkApplicationStageAttemptTasksResponse' with the minimum fields required to make a request.+newSearchSessionSparkApplicationStageAttemptTasksResponse ::+  SearchSessionSparkApplicationStageAttemptTasksResponse+newSearchSessionSparkApplicationStageAttemptTasksResponse =+  SearchSessionSparkApplicationStageAttemptTasksResponse+    { nextPageToken =+        Core.Nothing,+      sparkApplicationStageAttemptTasks =+        Core.Nothing+    }++instance+  Core.FromJSON+    SearchSessionSparkApplicationStageAttemptTasksResponse+  where+  parseJSON =+    Core.withObject+      "SearchSessionSparkApplicationStageAttemptTasksResponse"+      ( \o ->+          SearchSessionSparkApplicationStageAttemptTasksResponse+            Core.<$> (o Core..:? "nextPageToken")+            Core.<*> (o Core..:? "sparkApplicationStageAttemptTasks")+      )++instance+  Core.ToJSON+    SearchSessionSparkApplicationStageAttemptTasksResponse+  where+  toJSON SearchSessionSparkApplicationStageAttemptTasksResponse {..} =+    Core.object+      ( Core.catMaybes+          [ ("nextPageToken" Core..=) Core.<$> nextPageToken,+            ("sparkApplicationStageAttemptTasks" Core..=)+              Core.<$> sparkApplicationStageAttemptTasks+          ]+      )++-- | A list of Stage Attempts for a Stage of a Spark Application.+--+-- /See:/ 'newSearchSessionSparkApplicationStageAttemptsResponse' smart constructor.+data SearchSessionSparkApplicationStageAttemptsResponse = SearchSessionSparkApplicationStageAttemptsResponse+  { -- | This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent SearchSessionSparkApplicationStageAttemptsRequest.+    nextPageToken :: (Core.Maybe Core.Text),+    -- | Output only. Data corresponding to a stage attempts+    sparkApplicationStageAttempts :: (Core.Maybe [StageData])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SearchSessionSparkApplicationStageAttemptsResponse' with the minimum fields required to make a request.+newSearchSessionSparkApplicationStageAttemptsResponse ::+  SearchSessionSparkApplicationStageAttemptsResponse+newSearchSessionSparkApplicationStageAttemptsResponse =+  SearchSessionSparkApplicationStageAttemptsResponse+    { nextPageToken =+        Core.Nothing,+      sparkApplicationStageAttempts = Core.Nothing+    }++instance+  Core.FromJSON+    SearchSessionSparkApplicationStageAttemptsResponse+  where+  parseJSON =+    Core.withObject+      "SearchSessionSparkApplicationStageAttemptsResponse"+      ( \o ->+          SearchSessionSparkApplicationStageAttemptsResponse+            Core.<$> (o Core..:? "nextPageToken")+            Core.<*> (o Core..:? "sparkApplicationStageAttempts")+      )++instance+  Core.ToJSON+    SearchSessionSparkApplicationStageAttemptsResponse+  where+  toJSON SearchSessionSparkApplicationStageAttemptsResponse {..} =+    Core.object+      ( Core.catMaybes+          [ ("nextPageToken" Core..=) Core.<$> nextPageToken,+            ("sparkApplicationStageAttempts" Core..=)+              Core.<$> sparkApplicationStageAttempts+          ]+      )++-- | A list of stages associated with a Spark Application.+--+-- /See:/ 'newSearchSessionSparkApplicationStagesResponse' smart constructor.+data SearchSessionSparkApplicationStagesResponse = SearchSessionSparkApplicationStagesResponse+  { -- | This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent SearchSessionSparkApplicationStages.+    nextPageToken :: (Core.Maybe Core.Text),+    -- | Output only. Data corresponding to a stage.+    sparkApplicationStages :: (Core.Maybe [StageData])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SearchSessionSparkApplicationStagesResponse' with the minimum fields required to make a request.+newSearchSessionSparkApplicationStagesResponse ::+  SearchSessionSparkApplicationStagesResponse+newSearchSessionSparkApplicationStagesResponse =+  SearchSessionSparkApplicationStagesResponse+    { nextPageToken =+        Core.Nothing,+      sparkApplicationStages = Core.Nothing+    }++instance Core.FromJSON SearchSessionSparkApplicationStagesResponse where+  parseJSON =+    Core.withObject+      "SearchSessionSparkApplicationStagesResponse"+      ( \o ->+          SearchSessionSparkApplicationStagesResponse+            Core.<$> (o Core..:? "nextPageToken")+            Core.<*> (o Core..:? "sparkApplicationStages")+      )++instance Core.ToJSON SearchSessionSparkApplicationStagesResponse where+  toJSON SearchSessionSparkApplicationStagesResponse {..} =+    Core.object+      ( Core.catMaybes+          [ ("nextPageToken" Core..=) Core.<$> nextPageToken,+            ("sparkApplicationStages" Core..=)+              Core.<$> sparkApplicationStages+          ]+      )++-- | A list of summary of Spark Applications+--+-- /See:/ 'newSearchSessionSparkApplicationsResponse' smart constructor.+data SearchSessionSparkApplicationsResponse = SearchSessionSparkApplicationsResponse+  { -- | This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent SearchSessionSparkApplicationsRequest.+    nextPageToken :: (Core.Maybe Core.Text),+    -- | Output only. High level information corresponding to an application.+    sparkApplications :: (Core.Maybe [SparkApplication])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SearchSessionSparkApplicationsResponse' with the minimum fields required to make a request.+newSearchSessionSparkApplicationsResponse ::+  SearchSessionSparkApplicationsResponse+newSearchSessionSparkApplicationsResponse =+  SearchSessionSparkApplicationsResponse+    { nextPageToken =+        Core.Nothing,+      sparkApplications = Core.Nothing+    }++instance Core.FromJSON SearchSessionSparkApplicationsResponse where+  parseJSON =+    Core.withObject+      "SearchSessionSparkApplicationsResponse"+      ( \o ->+          SearchSessionSparkApplicationsResponse+            Core.<$> (o Core..:? "nextPageToken")+            Core.<*> (o Core..:? "sparkApplications")+      )++instance Core.ToJSON SearchSessionSparkApplicationsResponse where+  toJSON SearchSessionSparkApplicationsResponse {..} =+    Core.object+      ( Core.catMaybes+          [ ("nextPageToken" Core..=) Core.<$> nextPageToken,+            ("sparkApplications" Core..=) Core.<$> sparkApplications+          ]+      )++-- | List of Executors associated with a Spark Application Stage.+--+-- /See:/ 'newSearchSparkApplicationExecutorStageSummaryResponse' smart constructor.+data SearchSparkApplicationExecutorStageSummaryResponse = SearchSparkApplicationExecutorStageSummaryResponse+  { -- | This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent SearchSparkApplicationExecutorsListRequest.+    nextPageToken :: (Core.Maybe Core.Text),+    -- | Details about executors used by the application stage.+    sparkApplicationStageExecutors :: (Core.Maybe [ExecutorStageSummary])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SearchSparkApplicationExecutorStageSummaryResponse' with the minimum fields required to make a request.+newSearchSparkApplicationExecutorStageSummaryResponse ::+  SearchSparkApplicationExecutorStageSummaryResponse+newSearchSparkApplicationExecutorStageSummaryResponse =+  SearchSparkApplicationExecutorStageSummaryResponse+    { nextPageToken =+        Core.Nothing,+      sparkApplicationStageExecutors =+        Core.Nothing+    }++instance+  Core.FromJSON+    SearchSparkApplicationExecutorStageSummaryResponse+  where+  parseJSON =+    Core.withObject+      "SearchSparkApplicationExecutorStageSummaryResponse"+      ( \o ->+          SearchSparkApplicationExecutorStageSummaryResponse+            Core.<$> (o Core..:? "nextPageToken")+            Core.<*> (o Core..:? "sparkApplicationStageExecutors")+      )++instance+  Core.ToJSON+    SearchSparkApplicationExecutorStageSummaryResponse+  where+  toJSON SearchSparkApplicationExecutorStageSummaryResponse {..} =+    Core.object+      ( Core.catMaybes+          [ ("nextPageToken" Core..=) Core.<$> nextPageToken,+            ("sparkApplicationStageExecutors" Core..=)+              Core.<$> sparkApplicationStageExecutors+          ]+      )++-- | List of Executors associated with a Spark Application.+--+-- /See:/ 'newSearchSparkApplicationExecutorsResponse' smart constructor.+data SearchSparkApplicationExecutorsResponse = SearchSparkApplicationExecutorsResponse+  { -- | This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent SearchSparkApplicationExecutorsListRequest.+    nextPageToken :: (Core.Maybe Core.Text),+    -- | Details about executors used by the application.+    sparkApplicationExecutors :: (Core.Maybe [ExecutorSummary])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SearchSparkApplicationExecutorsResponse' with the minimum fields required to make a request.+newSearchSparkApplicationExecutorsResponse ::+  SearchSparkApplicationExecutorsResponse+newSearchSparkApplicationExecutorsResponse =+  SearchSparkApplicationExecutorsResponse+    { nextPageToken =+        Core.Nothing,+      sparkApplicationExecutors = Core.Nothing+    }++instance Core.FromJSON SearchSparkApplicationExecutorsResponse where+  parseJSON =+    Core.withObject+      "SearchSparkApplicationExecutorsResponse"+      ( \o ->+          SearchSparkApplicationExecutorsResponse+            Core.<$> (o Core..:? "nextPageToken")+            Core.<*> (o Core..:? "sparkApplicationExecutors")+      )++instance Core.ToJSON SearchSparkApplicationExecutorsResponse where+  toJSON SearchSparkApplicationExecutorsResponse {..} =+    Core.object+      ( Core.catMaybes+          [ ("nextPageToken" Core..=) Core.<$> nextPageToken,+            ("sparkApplicationExecutors" Core..=)+              Core.<$> sparkApplicationExecutors+          ]+      )++-- | A list of Jobs associated with a Spark Application.+--+-- /See:/ 'newSearchSparkApplicationJobsResponse' smart constructor.+data SearchSparkApplicationJobsResponse = SearchSparkApplicationJobsResponse+  { -- | This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent SearchSparkApplicationJobsRequest.+    nextPageToken :: (Core.Maybe Core.Text),+    -- | Output only. Data corresponding to a spark job.+    sparkApplicationJobs :: (Core.Maybe [JobData])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SearchSparkApplicationJobsResponse' with the minimum fields required to make a request.+newSearchSparkApplicationJobsResponse ::+  SearchSparkApplicationJobsResponse+newSearchSparkApplicationJobsResponse =+  SearchSparkApplicationJobsResponse+    { nextPageToken = Core.Nothing,+      sparkApplicationJobs = Core.Nothing+    }++instance Core.FromJSON SearchSparkApplicationJobsResponse where+  parseJSON =+    Core.withObject+      "SearchSparkApplicationJobsResponse"+      ( \o ->+          SearchSparkApplicationJobsResponse+            Core.<$> (o Core..:? "nextPageToken")+            Core.<*> (o Core..:? "sparkApplicationJobs")+      )++instance Core.ToJSON SearchSparkApplicationJobsResponse where+  toJSON SearchSparkApplicationJobsResponse {..} =+    Core.object+      ( Core.catMaybes+          [ ("nextPageToken" Core..=) Core.<$> nextPageToken,+            ("sparkApplicationJobs" Core..=) Core.<$> sparkApplicationJobs+          ]+      )++-- | List of all queries for a Spark Application.+--+-- /See:/ 'newSearchSparkApplicationSqlQueriesResponse' smart constructor.+data SearchSparkApplicationSqlQueriesResponse = SearchSparkApplicationSqlQueriesResponse+  { -- | This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent SearchSparkApplicationSqlQueriesRequest.+    nextPageToken :: (Core.Maybe Core.Text),+    -- | Output only. SQL Execution Data+    sparkApplicationSqlQueries :: (Core.Maybe [SqlExecutionUiData])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SearchSparkApplicationSqlQueriesResponse' with the minimum fields required to make a request.+newSearchSparkApplicationSqlQueriesResponse ::+  SearchSparkApplicationSqlQueriesResponse+newSearchSparkApplicationSqlQueriesResponse =+  SearchSparkApplicationSqlQueriesResponse+    { nextPageToken =+        Core.Nothing,+      sparkApplicationSqlQueries = Core.Nothing+    }++instance Core.FromJSON SearchSparkApplicationSqlQueriesResponse where+  parseJSON =+    Core.withObject+      "SearchSparkApplicationSqlQueriesResponse"+      ( \o ->+          SearchSparkApplicationSqlQueriesResponse+            Core.<$> (o Core..:? "nextPageToken")+            Core.<*> (o Core..:? "sparkApplicationSqlQueries")+      )++instance Core.ToJSON SearchSparkApplicationSqlQueriesResponse where+  toJSON SearchSparkApplicationSqlQueriesResponse {..} =+    Core.object+      ( Core.catMaybes+          [ ("nextPageToken" Core..=) Core.<$> nextPageToken,+            ("sparkApplicationSqlQueries" Core..=)+              Core.<$> sparkApplicationSqlQueries+          ]+      )++-- | List of tasks for a stage of a Spark Application+--+-- /See:/ 'newSearchSparkApplicationStageAttemptTasksResponse' smart constructor.+data SearchSparkApplicationStageAttemptTasksResponse = SearchSparkApplicationStageAttemptTasksResponse+  { -- | This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent ListSparkApplicationStageAttemptTasksRequest.+    nextPageToken :: (Core.Maybe Core.Text),+    -- | Output only. Data corresponding to tasks created by spark.+    sparkApplicationStageAttemptTasks :: (Core.Maybe [TaskData])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SearchSparkApplicationStageAttemptTasksResponse' with the minimum fields required to make a request.+newSearchSparkApplicationStageAttemptTasksResponse ::+  SearchSparkApplicationStageAttemptTasksResponse+newSearchSparkApplicationStageAttemptTasksResponse =+  SearchSparkApplicationStageAttemptTasksResponse+    { nextPageToken =+        Core.Nothing,+      sparkApplicationStageAttemptTasks =+        Core.Nothing+    }++instance+  Core.FromJSON+    SearchSparkApplicationStageAttemptTasksResponse+  where+  parseJSON =+    Core.withObject+      "SearchSparkApplicationStageAttemptTasksResponse"+      ( \o ->+          SearchSparkApplicationStageAttemptTasksResponse+            Core.<$> (o Core..:? "nextPageToken")+            Core.<*> (o Core..:? "sparkApplicationStageAttemptTasks")+      )++instance+  Core.ToJSON+    SearchSparkApplicationStageAttemptTasksResponse+  where+  toJSON SearchSparkApplicationStageAttemptTasksResponse {..} =+    Core.object+      ( Core.catMaybes+          [ ("nextPageToken" Core..=) Core.<$> nextPageToken,+            ("sparkApplicationStageAttemptTasks" Core..=)+              Core.<$> sparkApplicationStageAttemptTasks+          ]+      )++-- | A list of Stage Attempts for a Stage of a Spark Application.+--+-- /See:/ 'newSearchSparkApplicationStageAttemptsResponse' smart constructor.+data SearchSparkApplicationStageAttemptsResponse = SearchSparkApplicationStageAttemptsResponse+  { -- | This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent ListSparkApplicationStageAttemptsRequest.+    nextPageToken :: (Core.Maybe Core.Text),+    -- | Output only. Data corresponding to a stage attempts+    sparkApplicationStageAttempts :: (Core.Maybe [StageData])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SearchSparkApplicationStageAttemptsResponse' with the minimum fields required to make a request.+newSearchSparkApplicationStageAttemptsResponse ::+  SearchSparkApplicationStageAttemptsResponse+newSearchSparkApplicationStageAttemptsResponse =+  SearchSparkApplicationStageAttemptsResponse+    { nextPageToken =+        Core.Nothing,+      sparkApplicationStageAttempts = Core.Nothing+    }++instance Core.FromJSON SearchSparkApplicationStageAttemptsResponse where+  parseJSON =+    Core.withObject+      "SearchSparkApplicationStageAttemptsResponse"+      ( \o ->+          SearchSparkApplicationStageAttemptsResponse+            Core.<$> (o Core..:? "nextPageToken")+            Core.<*> (o Core..:? "sparkApplicationStageAttempts")+      )++instance Core.ToJSON SearchSparkApplicationStageAttemptsResponse where+  toJSON SearchSparkApplicationStageAttemptsResponse {..} =+    Core.object+      ( Core.catMaybes+          [ ("nextPageToken" Core..=) Core.<$> nextPageToken,+            ("sparkApplicationStageAttempts" Core..=)+              Core.<$> sparkApplicationStageAttempts+          ]+      )++-- | A list of stages associated with a Spark Application.+--+-- /See:/ 'newSearchSparkApplicationStagesResponse' smart constructor.+data SearchSparkApplicationStagesResponse = SearchSparkApplicationStagesResponse+  { -- | This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent SearchSparkApplicationStages.+    nextPageToken :: (Core.Maybe Core.Text),+    -- | Output only. Data corresponding to a stage.+    sparkApplicationStages :: (Core.Maybe [StageData])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SearchSparkApplicationStagesResponse' with the minimum fields required to make a request.+newSearchSparkApplicationStagesResponse ::+  SearchSparkApplicationStagesResponse+newSearchSparkApplicationStagesResponse =+  SearchSparkApplicationStagesResponse+    { nextPageToken =+        Core.Nothing,+      sparkApplicationStages = Core.Nothing+    }++instance Core.FromJSON SearchSparkApplicationStagesResponse where+  parseJSON =+    Core.withObject+      "SearchSparkApplicationStagesResponse"+      ( \o ->+          SearchSparkApplicationStagesResponse+            Core.<$> (o Core..:? "nextPageToken")+            Core.<*> (o Core..:? "sparkApplicationStages")+      )++instance Core.ToJSON SearchSparkApplicationStagesResponse where+  toJSON SearchSparkApplicationStagesResponse {..} =+    Core.object+      ( Core.catMaybes+          [ ("nextPageToken" Core..=) Core.<$> nextPageToken,+            ("sparkApplicationStages" Core..=)+              Core.<$> sparkApplicationStages+          ]+      )++-- | A list of summary of Spark Applications+--+-- /See:/ 'newSearchSparkApplicationsResponse' smart constructor.+data SearchSparkApplicationsResponse = SearchSparkApplicationsResponse+  { -- | This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent SearchSparkApplicationsRequest.+    nextPageToken :: (Core.Maybe Core.Text),+    -- | Output only. High level information corresponding to an application.+    sparkApplications :: (Core.Maybe [SparkApplication])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SearchSparkApplicationsResponse' with the minimum fields required to make a request.+newSearchSparkApplicationsResponse ::+  SearchSparkApplicationsResponse+newSearchSparkApplicationsResponse =+  SearchSparkApplicationsResponse+    { nextPageToken = Core.Nothing,+      sparkApplications = Core.Nothing+    }++instance Core.FromJSON SearchSparkApplicationsResponse where+  parseJSON =+    Core.withObject+      "SearchSparkApplicationsResponse"+      ( \o ->+          SearchSparkApplicationsResponse+            Core.<$> (o Core..:? "nextPageToken")+            Core.<*> (o Core..:? "sparkApplications")+      )++instance Core.ToJSON SearchSparkApplicationsResponse where+  toJSON SearchSparkApplicationsResponse {..} =+    Core.object+      ( Core.catMaybes+          [ ("nextPageToken" Core..=) Core.<$> nextPageToken,+            ("sparkApplications" Core..=) Core.<$> sparkApplications+          ]+      )++-- | Security related configuration, including encryption, Kerberos, etc.+--+-- /See:/ 'newSecurityConfig' smart constructor.+data SecurityConfig = SecurityConfig+  { -- | Optional. Identity related configuration, including service account based secure multi-tenancy user mappings.+    identityConfig :: (Core.Maybe IdentityConfig),+    -- | Optional. Kerberos related configuration.+    kerberosConfig :: (Core.Maybe KerberosConfig)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SecurityConfig' with the minimum fields required to make a request.+newSecurityConfig ::+  SecurityConfig+newSecurityConfig =+  SecurityConfig+    { identityConfig = Core.Nothing,+      kerberosConfig = Core.Nothing+    }++instance Core.FromJSON SecurityConfig where+  parseJSON =+    Core.withObject+      "SecurityConfig"+      ( \o ->+          SecurityConfig+            Core.<$> (o Core..:? "identityConfig")+            Core.<*> (o Core..:? "kerberosConfig")+      )++instance Core.ToJSON SecurityConfig where+  toJSON SecurityConfig {..} =+    Core.object+      ( Core.catMaybes+          [ ("identityConfig" Core..=) Core.<$> identityConfig,+            ("kerberosConfig" Core..=) Core.<$> kerberosConfig+          ]+      )++-- | A representation of a session.+--+-- /See:/ 'newSession' smart constructor.+data Session = Session+  { -- | Output only. The time when the session was created.+    createTime :: (Core.Maybe Core.DateTime),+    -- | Output only. The email address of the user who created the session.+    creator :: (Core.Maybe Core.Text),+    -- | Optional. Environment configuration for the session execution.+    environmentConfig :: (Core.Maybe EnvironmentConfig),+    -- | Optional. Jupyter session config.+    jupyterSession :: (Core.Maybe JupyterConfig),+    -- | Optional. The labels to associate with the session. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https:\/\/www.ietf.org\/rfc\/rfc1035.txt). Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 (https:\/\/www.ietf.org\/rfc\/rfc1035.txt). No more than 32 labels can be associated with a session.+    labels :: (Core.Maybe Session_Labels),+    -- | Identifier. The resource name of the session.+    name :: (Core.Maybe Core.Text),+    -- | Optional. Runtime configuration for the session execution.+    runtimeConfig :: (Core.Maybe RuntimeConfig),+    -- | Output only. Runtime information about session execution.+    runtimeInfo :: (Core.Maybe RuntimeInfo),+    -- | Optional. The session template used by the session.Only resource names, including project ID and location, are valid.Example: * https:\/\/www.googleapis.com\/compute\/v1\/projects\/[project/id]\/locations\/[dataproc/region]\/sessionTemplates\/[template/id] * projects\/[project/id]\/locations\/[dataproc/region]\/sessionTemplates\/[template/id]The template must be in the same project and Dataproc region as the session.+    sessionTemplate :: (Core.Maybe Core.Text),+    -- | Optional. Spark connect session config.+    sparkConnectSession :: (Core.Maybe SparkConnectConfig),+    -- | Output only. A state of the session.+    state :: (Core.Maybe Session_State),+    -- | Output only. Historical state information for the session.+    stateHistory :: (Core.Maybe [SessionStateHistory]),+    -- | Output only. Session state details, such as the failure description if the state is FAILED.+    stateMessage :: (Core.Maybe Core.Text),+    -- | Output only. The time when the session entered the current state.+    stateTime :: (Core.Maybe Core.DateTime),+    -- | Optional. The email address of the user who owns the session.+    user :: (Core.Maybe Core.Text),+    -- | Output only. A session UUID (Unique Universal Identifier). The service generates this value when it creates the session.+    uuid :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Session' with the minimum fields required to make a request.+newSession ::+  Session+newSession =+  Session+    { createTime = Core.Nothing,+      creator = Core.Nothing,+      environmentConfig = Core.Nothing,+      jupyterSession = Core.Nothing,+      labels = Core.Nothing,+      name = Core.Nothing,+      runtimeConfig = Core.Nothing,+      runtimeInfo = Core.Nothing,+      sessionTemplate = Core.Nothing,+      sparkConnectSession = Core.Nothing,+      state = Core.Nothing,+      stateHistory = Core.Nothing,+      stateMessage = Core.Nothing,+      stateTime = Core.Nothing,+      user = Core.Nothing,+      uuid = Core.Nothing+    }++instance Core.FromJSON Session where+  parseJSON =+    Core.withObject+      "Session"+      ( \o ->+          Session+            Core.<$> (o Core..:? "createTime")+            Core.<*> (o Core..:? "creator")+            Core.<*> (o Core..:? "environmentConfig")+            Core.<*> (o Core..:? "jupyterSession")+            Core.<*> (o Core..:? "labels")+            Core.<*> (o Core..:? "name")+            Core.<*> (o Core..:? "runtimeConfig")+            Core.<*> (o Core..:? "runtimeInfo")+            Core.<*> (o Core..:? "sessionTemplate")+            Core.<*> (o Core..:? "sparkConnectSession")+            Core.<*> (o Core..:? "state")+            Core.<*> (o Core..:? "stateHistory")+            Core.<*> (o Core..:? "stateMessage")+            Core.<*> (o Core..:? "stateTime")+            Core.<*> (o Core..:? "user")+            Core.<*> (o Core..:? "uuid")+      )++instance Core.ToJSON Session where+  toJSON Session {..} =+    Core.object+      ( Core.catMaybes+          [ ("createTime" Core..=) Core.<$> createTime,+            ("creator" Core..=) Core.<$> creator,+            ("environmentConfig" Core..=) Core.<$> environmentConfig,+            ("jupyterSession" Core..=) Core.<$> jupyterSession,+            ("labels" Core..=) Core.<$> labels,+            ("name" Core..=) Core.<$> name,+            ("runtimeConfig" Core..=) Core.<$> runtimeConfig,+            ("runtimeInfo" Core..=) Core.<$> runtimeInfo,+            ("sessionTemplate" Core..=) Core.<$> sessionTemplate,+            ("sparkConnectSession" Core..=) Core.<$> sparkConnectSession,+            ("state" Core..=) Core.<$> state,+            ("stateHistory" Core..=) Core.<$> stateHistory,+            ("stateMessage" Core..=) Core.<$> stateMessage,+            ("stateTime" Core..=) Core.<$> stateTime,+            ("user" Core..=) Core.<$> user,+            ("uuid" Core..=) Core.<$> uuid+          ]+      )++-- | Optional. The labels to associate with the session. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https:\/\/www.ietf.org\/rfc\/rfc1035.txt). Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 (https:\/\/www.ietf.org\/rfc\/rfc1035.txt). No more than 32 labels can be associated with a session.+--+-- /See:/ 'newSession_Labels' smart constructor.+newtype Session_Labels = Session_Labels+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Session_Labels' with the minimum fields required to make a request.+newSession_Labels ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  Session_Labels+newSession_Labels additional =+  Session_Labels {additional = additional}++instance Core.FromJSON Session_Labels where+  parseJSON =+    Core.withObject+      "Session_Labels"+      (\o -> Session_Labels Core.<$> (Core.parseJSONObject o))++instance Core.ToJSON Session_Labels where+  toJSON Session_Labels {..} = Core.toJSON additional++-- | Metadata describing the Session operation.+--+-- /See:/ 'newSessionOperationMetadata' smart constructor.+data SessionOperationMetadata = SessionOperationMetadata+  { -- | The time when the operation was created.+    createTime :: (Core.Maybe Core.DateTime),+    -- | Short description of the operation.+    description :: (Core.Maybe Core.Text),+    -- | The time when the operation was finished.+    doneTime :: (Core.Maybe Core.DateTime),+    -- | Labels associated with the operation.+    labels :: (Core.Maybe SessionOperationMetadata_Labels),+    -- | The operation type.+    operationType :: (Core.Maybe SessionOperationMetadata_OperationType),+    -- | Name of the session for the operation.+    session :: (Core.Maybe Core.Text),+    -- | Session UUID for the operation.+    sessionUuid :: (Core.Maybe Core.Text),+    -- | Warnings encountered during operation execution.+    warnings :: (Core.Maybe [Core.Text])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SessionOperationMetadata' with the minimum fields required to make a request.+newSessionOperationMetadata ::+  SessionOperationMetadata+newSessionOperationMetadata =+  SessionOperationMetadata+    { createTime = Core.Nothing,+      description = Core.Nothing,+      doneTime = Core.Nothing,+      labels = Core.Nothing,+      operationType = Core.Nothing,+      session = Core.Nothing,+      sessionUuid = Core.Nothing,+      warnings = Core.Nothing+    }++instance Core.FromJSON SessionOperationMetadata where+  parseJSON =+    Core.withObject+      "SessionOperationMetadata"+      ( \o ->+          SessionOperationMetadata+            Core.<$> (o Core..:? "createTime")+            Core.<*> (o Core..:? "description")+            Core.<*> (o Core..:? "doneTime")+            Core.<*> (o Core..:? "labels")+            Core.<*> (o Core..:? "operationType")+            Core.<*> (o Core..:? "session")+            Core.<*> (o Core..:? "sessionUuid")+            Core.<*> (o Core..:? "warnings")+      )++instance Core.ToJSON SessionOperationMetadata where+  toJSON SessionOperationMetadata {..} =+    Core.object+      ( Core.catMaybes+          [ ("createTime" Core..=) Core.<$> createTime,+            ("description" Core..=) Core.<$> description,+            ("doneTime" Core..=) Core.<$> doneTime,+            ("labels" Core..=) Core.<$> labels,+            ("operationType" Core..=) Core.<$> operationType,+            ("session" Core..=) Core.<$> session,+            ("sessionUuid" Core..=) Core.<$> sessionUuid,+            ("warnings" Core..=) Core.<$> warnings+          ]+      )++-- | Labels associated with the operation.+--+-- /See:/ 'newSessionOperationMetadata_Labels' smart constructor.+newtype SessionOperationMetadata_Labels = SessionOperationMetadata_Labels+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SessionOperationMetadata_Labels' with the minimum fields required to make a request.+newSessionOperationMetadata_Labels ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  SessionOperationMetadata_Labels+newSessionOperationMetadata_Labels additional =+  SessionOperationMetadata_Labels {additional = additional}++instance Core.FromJSON SessionOperationMetadata_Labels where+  parseJSON =+    Core.withObject+      "SessionOperationMetadata_Labels"+      ( \o ->+          SessionOperationMetadata_Labels Core.<$> (Core.parseJSONObject o)+      )++instance Core.ToJSON SessionOperationMetadata_Labels where+  toJSON SessionOperationMetadata_Labels {..} = Core.toJSON additional++-- | Historical state information.+--+-- /See:/ 'newSessionStateHistory' smart constructor.+data SessionStateHistory = SessionStateHistory+  { -- | Output only. The state of the session at this point in the session history.+    state :: (Core.Maybe SessionStateHistory_State),+    -- | Output only. Details about the state at this point in the session history.+    stateMessage :: (Core.Maybe Core.Text),+    -- | Output only. The time when the session entered the historical state.+    stateStartTime :: (Core.Maybe Core.DateTime)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SessionStateHistory' with the minimum fields required to make a request.+newSessionStateHistory ::+  SessionStateHistory+newSessionStateHistory =+  SessionStateHistory+    { state = Core.Nothing,+      stateMessage = Core.Nothing,+      stateStartTime = Core.Nothing+    }++instance Core.FromJSON SessionStateHistory where+  parseJSON =+    Core.withObject+      "SessionStateHistory"+      ( \o ->+          SessionStateHistory+            Core.<$> (o Core..:? "state")+            Core.<*> (o Core..:? "stateMessage")+            Core.<*> (o Core..:? "stateStartTime")+      )++instance Core.ToJSON SessionStateHistory where+  toJSON SessionStateHistory {..} =+    Core.object+      ( Core.catMaybes+          [ ("state" Core..=) Core.<$> state,+            ("stateMessage" Core..=) Core.<$> stateMessage,+            ("stateStartTime" Core..=) Core.<$> stateStartTime+          ]+      )++-- | A representation of a session template.+--+-- /See:/ 'newSessionTemplate' smart constructor.+data SessionTemplate = SessionTemplate+  { -- | Output only. The time when the template was created.+    createTime :: (Core.Maybe Core.DateTime),+    -- | Output only. The email address of the user who created the template.+    creator :: (Core.Maybe Core.Text),+    -- | Optional. Brief description of the template.+    description :: (Core.Maybe Core.Text),+    -- | Optional. Environment configuration for session execution.+    environmentConfig :: (Core.Maybe EnvironmentConfig),+    -- | Optional. Jupyter session config.+    jupyterSession :: (Core.Maybe JupyterConfig),+    -- | Optional. Labels to associate with sessions created using this template. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https:\/\/www.ietf.org\/rfc\/rfc1035.txt). Label values can be empty, but, if present, must contain 1 to 63 characters and conform to RFC 1035 (https:\/\/www.ietf.org\/rfc\/rfc1035.txt). No more than 32 labels can be associated with a session.+    labels :: (Core.Maybe SessionTemplate_Labels),+    -- | Required. The resource name of the session template.+    name :: (Core.Maybe Core.Text),+    -- | Optional. Runtime configuration for session execution.+    runtimeConfig :: (Core.Maybe RuntimeConfig),+    -- | Optional. Spark connect session config.+    sparkConnectSession :: (Core.Maybe SparkConnectConfig),+    -- | Output only. The time the template was last updated.+    updateTime :: (Core.Maybe Core.DateTime),+    -- | Output only. A session template UUID (Unique Universal Identifier). The service generates this value when it creates the session template.+    uuid :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SessionTemplate' with the minimum fields required to make a request.+newSessionTemplate ::+  SessionTemplate+newSessionTemplate =+  SessionTemplate+    { createTime = Core.Nothing,+      creator = Core.Nothing,+      description = Core.Nothing,+      environmentConfig = Core.Nothing,+      jupyterSession = Core.Nothing,+      labels = Core.Nothing,+      name = Core.Nothing,+      runtimeConfig = Core.Nothing,+      sparkConnectSession = Core.Nothing,+      updateTime = Core.Nothing,+      uuid = Core.Nothing+    }++instance Core.FromJSON SessionTemplate where+  parseJSON =+    Core.withObject+      "SessionTemplate"+      ( \o ->+          SessionTemplate+            Core.<$> (o Core..:? "createTime")+            Core.<*> (o Core..:? "creator")+            Core.<*> (o Core..:? "description")+            Core.<*> (o Core..:? "environmentConfig")+            Core.<*> (o Core..:? "jupyterSession")+            Core.<*> (o Core..:? "labels")+            Core.<*> (o Core..:? "name")+            Core.<*> (o Core..:? "runtimeConfig")+            Core.<*> (o Core..:? "sparkConnectSession")+            Core.<*> (o Core..:? "updateTime")+            Core.<*> (o Core..:? "uuid")+      )++instance Core.ToJSON SessionTemplate where+  toJSON SessionTemplate {..} =+    Core.object+      ( Core.catMaybes+          [ ("createTime" Core..=) Core.<$> createTime,+            ("creator" Core..=) Core.<$> creator,+            ("description" Core..=) Core.<$> description,+            ("environmentConfig" Core..=) Core.<$> environmentConfig,+            ("jupyterSession" Core..=) Core.<$> jupyterSession,+            ("labels" Core..=) Core.<$> labels,+            ("name" Core..=) Core.<$> name,+            ("runtimeConfig" Core..=) Core.<$> runtimeConfig,+            ("sparkConnectSession" Core..=) Core.<$> sparkConnectSession,+            ("updateTime" Core..=) Core.<$> updateTime,+            ("uuid" Core..=) Core.<$> uuid+          ]+      )++-- | Optional. Labels to associate with sessions created using this template. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https:\/\/www.ietf.org\/rfc\/rfc1035.txt). Label values can be empty, but, if present, must contain 1 to 63 characters and conform to RFC 1035 (https:\/\/www.ietf.org\/rfc\/rfc1035.txt). No more than 32 labels can be associated with a session.+--+-- /See:/ 'newSessionTemplate_Labels' smart constructor.+newtype SessionTemplate_Labels = SessionTemplate_Labels+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SessionTemplate_Labels' with the minimum fields required to make a request.+newSessionTemplate_Labels ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  SessionTemplate_Labels+newSessionTemplate_Labels additional =+  SessionTemplate_Labels {additional = additional}++instance Core.FromJSON SessionTemplate_Labels where+  parseJSON =+    Core.withObject+      "SessionTemplate_Labels"+      (\o -> SessionTemplate_Labels Core.<$> (Core.parseJSONObject o))++instance Core.ToJSON SessionTemplate_Labels where+  toJSON SessionTemplate_Labels {..} = Core.toJSON additional++-- | Request message for SetIamPolicy method.+--+-- /See:/ 'newSetIamPolicyRequest' smart constructor.+newtype 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)+  }+  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}++instance Core.FromJSON SetIamPolicyRequest where+  parseJSON =+    Core.withObject+      "SetIamPolicyRequest"+      (\o -> SetIamPolicyRequest Core.<$> (o Core..:? "policy"))++instance Core.ToJSON SetIamPolicyRequest where+  toJSON SetIamPolicyRequest {..} =+    Core.object (Core.catMaybes [("policy" Core..=) Core.<$> policy])++-- | Shielded Instance Config for clusters using Compute Engine Shielded VMs (https:\/\/cloud.google.com\/security\/shielded-cloud\/shielded-vm).+--+-- /See:/ 'newShieldedInstanceConfig' smart constructor.+data ShieldedInstanceConfig = ShieldedInstanceConfig+  { -- | Optional. Defines whether instances have integrity monitoring enabled.+    enableIntegrityMonitoring :: (Core.Maybe Core.Bool),+    -- | Optional. Defines whether instances have Secure Boot enabled.+    enableSecureBoot :: (Core.Maybe Core.Bool),+    -- | Optional. Defines whether instances have the vTPM enabled.+    enableVtpm :: (Core.Maybe Core.Bool)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ShieldedInstanceConfig' with the minimum fields required to make a request.+newShieldedInstanceConfig ::+  ShieldedInstanceConfig+newShieldedInstanceConfig =+  ShieldedInstanceConfig+    { enableIntegrityMonitoring = Core.Nothing,+      enableSecureBoot = Core.Nothing,+      enableVtpm = Core.Nothing+    }++instance Core.FromJSON ShieldedInstanceConfig where+  parseJSON =+    Core.withObject+      "ShieldedInstanceConfig"+      ( \o ->+          ShieldedInstanceConfig+            Core.<$> (o Core..:? "enableIntegrityMonitoring")+            Core.<*> (o Core..:? "enableSecureBoot")+            Core.<*> (o Core..:? "enableVtpm")+      )++instance Core.ToJSON ShieldedInstanceConfig where+  toJSON ShieldedInstanceConfig {..} =+    Core.object+      ( Core.catMaybes+          [ ("enableIntegrityMonitoring" Core..=)+              Core.<$> enableIntegrityMonitoring,+            ("enableSecureBoot" Core..=) Core.<$> enableSecureBoot,+            ("enableVtpm" Core..=) Core.<$> enableVtpm+          ]+      )++--+-- /See:/ 'newShufflePushReadMetrics' smart constructor.+data ShufflePushReadMetrics = ShufflePushReadMetrics+  { corruptMergedBlockChunks :: (Core.Maybe Core.Int64),+    localMergedBlocksFetched :: (Core.Maybe Core.Int64),+    localMergedBytesRead :: (Core.Maybe Core.Int64),+    localMergedChunksFetched :: (Core.Maybe Core.Int64),+    mergedFetchFallbackCount :: (Core.Maybe Core.Int64),+    remoteMergedBlocksFetched :: (Core.Maybe Core.Int64),+    remoteMergedBytesRead :: (Core.Maybe Core.Int64),+    remoteMergedChunksFetched :: (Core.Maybe Core.Int64),+    remoteMergedReqsDuration :: (Core.Maybe Core.Int64)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ShufflePushReadMetrics' with the minimum fields required to make a request.+newShufflePushReadMetrics ::+  ShufflePushReadMetrics+newShufflePushReadMetrics =+  ShufflePushReadMetrics+    { corruptMergedBlockChunks = Core.Nothing,+      localMergedBlocksFetched = Core.Nothing,+      localMergedBytesRead = Core.Nothing,+      localMergedChunksFetched = Core.Nothing,+      mergedFetchFallbackCount = Core.Nothing,+      remoteMergedBlocksFetched = Core.Nothing,+      remoteMergedBytesRead = Core.Nothing,+      remoteMergedChunksFetched = Core.Nothing,+      remoteMergedReqsDuration = Core.Nothing+    }++instance Core.FromJSON ShufflePushReadMetrics where+  parseJSON =+    Core.withObject+      "ShufflePushReadMetrics"+      ( \o ->+          ShufflePushReadMetrics+            Core.<$> ( o+                         Core..:? "corruptMergedBlockChunks"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> ( o+                         Core..:? "localMergedBlocksFetched"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> ( o+                         Core..:? "localMergedBytesRead"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> ( o+                         Core..:? "localMergedChunksFetched"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> ( o+                         Core..:? "mergedFetchFallbackCount"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> ( o+                         Core..:? "remoteMergedBlocksFetched"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> ( o+                         Core..:? "remoteMergedBytesRead"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> ( o+                         Core..:? "remoteMergedChunksFetched"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> ( o+                         Core..:? "remoteMergedReqsDuration"+                         Core.<&> Core.fmap Core.fromAsText+                     )+      )++instance Core.ToJSON ShufflePushReadMetrics where+  toJSON ShufflePushReadMetrics {..} =+    Core.object+      ( Core.catMaybes+          [ ("corruptMergedBlockChunks" Core..=)+              Core.. Core.AsText+              Core.<$> corruptMergedBlockChunks,+            ("localMergedBlocksFetched" Core..=)+              Core.. Core.AsText+              Core.<$> localMergedBlocksFetched,+            ("localMergedBytesRead" Core..=)+              Core.. Core.AsText+              Core.<$> localMergedBytesRead,+            ("localMergedChunksFetched" Core..=)+              Core.. Core.AsText+              Core.<$> localMergedChunksFetched,+            ("mergedFetchFallbackCount" Core..=)+              Core.. Core.AsText+              Core.<$> mergedFetchFallbackCount,+            ("remoteMergedBlocksFetched" Core..=)+              Core.. Core.AsText+              Core.<$> remoteMergedBlocksFetched,+            ("remoteMergedBytesRead" Core..=)+              Core.. Core.AsText+              Core.<$> remoteMergedBytesRead,+            ("remoteMergedChunksFetched" Core..=)+              Core.. Core.AsText+              Core.<$> remoteMergedChunksFetched,+            ("remoteMergedReqsDuration" Core..=)+              Core.. Core.AsText+              Core.<$> remoteMergedReqsDuration+          ]+      )++--+-- /See:/ 'newShufflePushReadQuantileMetrics' smart constructor.+data ShufflePushReadQuantileMetrics = ShufflePushReadQuantileMetrics+  { corruptMergedBlockChunks :: (Core.Maybe Quantiles),+    localMergedBlocksFetched :: (Core.Maybe Quantiles),+    localMergedBytesRead :: (Core.Maybe Quantiles),+    localMergedChunksFetched :: (Core.Maybe Quantiles),+    mergedFetchFallbackCount :: (Core.Maybe Quantiles),+    remoteMergedBlocksFetched :: (Core.Maybe Quantiles),+    remoteMergedBytesRead :: (Core.Maybe Quantiles),+    remoteMergedChunksFetched :: (Core.Maybe Quantiles),+    remoteMergedReqsDuration :: (Core.Maybe Quantiles)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ShufflePushReadQuantileMetrics' with the minimum fields required to make a request.+newShufflePushReadQuantileMetrics ::+  ShufflePushReadQuantileMetrics+newShufflePushReadQuantileMetrics =+  ShufflePushReadQuantileMetrics+    { corruptMergedBlockChunks =+        Core.Nothing,+      localMergedBlocksFetched = Core.Nothing,+      localMergedBytesRead = Core.Nothing,+      localMergedChunksFetched = Core.Nothing,+      mergedFetchFallbackCount = Core.Nothing,+      remoteMergedBlocksFetched = Core.Nothing,+      remoteMergedBytesRead = Core.Nothing,+      remoteMergedChunksFetched = Core.Nothing,+      remoteMergedReqsDuration = Core.Nothing+    }++instance Core.FromJSON ShufflePushReadQuantileMetrics where+  parseJSON =+    Core.withObject+      "ShufflePushReadQuantileMetrics"+      ( \o ->+          ShufflePushReadQuantileMetrics+            Core.<$> (o Core..:? "corruptMergedBlockChunks")+            Core.<*> (o Core..:? "localMergedBlocksFetched")+            Core.<*> (o Core..:? "localMergedBytesRead")+            Core.<*> (o Core..:? "localMergedChunksFetched")+            Core.<*> (o Core..:? "mergedFetchFallbackCount")+            Core.<*> (o Core..:? "remoteMergedBlocksFetched")+            Core.<*> (o Core..:? "remoteMergedBytesRead")+            Core.<*> (o Core..:? "remoteMergedChunksFetched")+            Core.<*> (o Core..:? "remoteMergedReqsDuration")+      )++instance Core.ToJSON ShufflePushReadQuantileMetrics where+  toJSON ShufflePushReadQuantileMetrics {..} =+    Core.object+      ( Core.catMaybes+          [ ("corruptMergedBlockChunks" Core..=)+              Core.<$> corruptMergedBlockChunks,+            ("localMergedBlocksFetched" Core..=)+              Core.<$> localMergedBlocksFetched,+            ("localMergedBytesRead" Core..=) Core.<$> localMergedBytesRead,+            ("localMergedChunksFetched" Core..=)+              Core.<$> localMergedChunksFetched,+            ("mergedFetchFallbackCount" Core..=)+              Core.<$> mergedFetchFallbackCount,+            ("remoteMergedBlocksFetched" Core..=)+              Core.<$> remoteMergedBlocksFetched,+            ("remoteMergedBytesRead" Core..=) Core.<$> remoteMergedBytesRead,+            ("remoteMergedChunksFetched" Core..=)+              Core.<$> remoteMergedChunksFetched,+            ("remoteMergedReqsDuration" Core..=)+              Core.<$> remoteMergedReqsDuration+          ]+      )++-- | Shuffle data read by the task.+--+-- /See:/ 'newShuffleReadMetrics' smart constructor.+data ShuffleReadMetrics = ShuffleReadMetrics+  { fetchWaitTimeMillis :: (Core.Maybe Core.Int64),+    localBlocksFetched :: (Core.Maybe Core.Int64),+    localBytesRead :: (Core.Maybe Core.Int64),+    recordsRead :: (Core.Maybe Core.Int64),+    remoteBlocksFetched :: (Core.Maybe Core.Int64),+    remoteBytesRead :: (Core.Maybe Core.Int64),+    remoteBytesReadToDisk :: (Core.Maybe Core.Int64),+    remoteReqsDuration :: (Core.Maybe Core.Int64),+    shufflePushReadMetrics :: (Core.Maybe ShufflePushReadMetrics)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ShuffleReadMetrics' with the minimum fields required to make a request.+newShuffleReadMetrics ::+  ShuffleReadMetrics+newShuffleReadMetrics =+  ShuffleReadMetrics+    { fetchWaitTimeMillis = Core.Nothing,+      localBlocksFetched = Core.Nothing,+      localBytesRead = Core.Nothing,+      recordsRead = Core.Nothing,+      remoteBlocksFetched = Core.Nothing,+      remoteBytesRead = Core.Nothing,+      remoteBytesReadToDisk = Core.Nothing,+      remoteReqsDuration = Core.Nothing,+      shufflePushReadMetrics = Core.Nothing+    }++instance Core.FromJSON ShuffleReadMetrics where+  parseJSON =+    Core.withObject+      "ShuffleReadMetrics"+      ( \o ->+          ShuffleReadMetrics+            Core.<$> ( o+                         Core..:? "fetchWaitTimeMillis"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> ( o+                         Core..:? "localBlocksFetched"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> (o Core..:? "localBytesRead" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "recordsRead" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> ( o+                         Core..:? "remoteBlocksFetched"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> (o Core..:? "remoteBytesRead" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> ( o+                         Core..:? "remoteBytesReadToDisk"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> ( o+                         Core..:? "remoteReqsDuration"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> (o Core..:? "shufflePushReadMetrics")+      )++instance Core.ToJSON ShuffleReadMetrics where+  toJSON ShuffleReadMetrics {..} =+    Core.object+      ( Core.catMaybes+          [ ("fetchWaitTimeMillis" Core..=)+              Core.. Core.AsText+              Core.<$> fetchWaitTimeMillis,+            ("localBlocksFetched" Core..=)+              Core.. Core.AsText+              Core.<$> localBlocksFetched,+            ("localBytesRead" Core..=)+              Core.. Core.AsText+              Core.<$> localBytesRead,+            ("recordsRead" Core..=) Core.. Core.AsText Core.<$> recordsRead,+            ("remoteBlocksFetched" Core..=)+              Core.. Core.AsText+              Core.<$> remoteBlocksFetched,+            ("remoteBytesRead" Core..=)+              Core.. Core.AsText+              Core.<$> remoteBytesRead,+            ("remoteBytesReadToDisk" Core..=)+              Core.. Core.AsText+              Core.<$> remoteBytesReadToDisk,+            ("remoteReqsDuration" Core..=)+              Core.. Core.AsText+              Core.<$> remoteReqsDuration,+            ("shufflePushReadMetrics" Core..=)+              Core.<$> shufflePushReadMetrics+          ]+      )++--+-- /See:/ 'newShuffleReadQuantileMetrics' smart constructor.+data ShuffleReadQuantileMetrics = ShuffleReadQuantileMetrics+  { fetchWaitTimeMillis :: (Core.Maybe Quantiles),+    localBlocksFetched :: (Core.Maybe Quantiles),+    readBytes :: (Core.Maybe Quantiles),+    readRecords :: (Core.Maybe Quantiles),+    remoteBlocksFetched :: (Core.Maybe Quantiles),+    remoteBytesRead :: (Core.Maybe Quantiles),+    remoteBytesReadToDisk :: (Core.Maybe Quantiles),+    remoteReqsDuration :: (Core.Maybe Quantiles),+    shufflePushReadMetrics :: (Core.Maybe ShufflePushReadQuantileMetrics),+    totalBlocksFetched :: (Core.Maybe Quantiles)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ShuffleReadQuantileMetrics' with the minimum fields required to make a request.+newShuffleReadQuantileMetrics ::+  ShuffleReadQuantileMetrics+newShuffleReadQuantileMetrics =+  ShuffleReadQuantileMetrics+    { fetchWaitTimeMillis = Core.Nothing,+      localBlocksFetched = Core.Nothing,+      readBytes = Core.Nothing,+      readRecords = Core.Nothing,+      remoteBlocksFetched = Core.Nothing,+      remoteBytesRead = Core.Nothing,+      remoteBytesReadToDisk = Core.Nothing,+      remoteReqsDuration = Core.Nothing,+      shufflePushReadMetrics = Core.Nothing,+      totalBlocksFetched = Core.Nothing+    }++instance Core.FromJSON ShuffleReadQuantileMetrics where+  parseJSON =+    Core.withObject+      "ShuffleReadQuantileMetrics"+      ( \o ->+          ShuffleReadQuantileMetrics+            Core.<$> (o Core..:? "fetchWaitTimeMillis")+            Core.<*> (o Core..:? "localBlocksFetched")+            Core.<*> (o Core..:? "readBytes")+            Core.<*> (o Core..:? "readRecords")+            Core.<*> (o Core..:? "remoteBlocksFetched")+            Core.<*> (o Core..:? "remoteBytesRead")+            Core.<*> (o Core..:? "remoteBytesReadToDisk")+            Core.<*> (o Core..:? "remoteReqsDuration")+            Core.<*> (o Core..:? "shufflePushReadMetrics")+            Core.<*> (o Core..:? "totalBlocksFetched")+      )++instance Core.ToJSON ShuffleReadQuantileMetrics where+  toJSON ShuffleReadQuantileMetrics {..} =+    Core.object+      ( Core.catMaybes+          [ ("fetchWaitTimeMillis" Core..=) Core.<$> fetchWaitTimeMillis,+            ("localBlocksFetched" Core..=) Core.<$> localBlocksFetched,+            ("readBytes" Core..=) Core.<$> readBytes,+            ("readRecords" Core..=) Core.<$> readRecords,+            ("remoteBlocksFetched" Core..=) Core.<$> remoteBlocksFetched,+            ("remoteBytesRead" Core..=) Core.<$> remoteBytesRead,+            ("remoteBytesReadToDisk" Core..=) Core.<$> remoteBytesReadToDisk,+            ("remoteReqsDuration" Core..=) Core.<$> remoteReqsDuration,+            ("shufflePushReadMetrics" Core..=) Core.<$> shufflePushReadMetrics,+            ("totalBlocksFetched" Core..=) Core.<$> totalBlocksFetched+          ]+      )++-- | Shuffle data written by task.+--+-- /See:/ 'newShuffleWriteMetrics' smart constructor.+data ShuffleWriteMetrics = ShuffleWriteMetrics+  { bytesWritten :: (Core.Maybe Core.Int64),+    recordsWritten :: (Core.Maybe Core.Int64),+    writeTimeNanos :: (Core.Maybe Core.Int64)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ShuffleWriteMetrics' with the minimum fields required to make a request.+newShuffleWriteMetrics ::+  ShuffleWriteMetrics+newShuffleWriteMetrics =+  ShuffleWriteMetrics+    { bytesWritten = Core.Nothing,+      recordsWritten = Core.Nothing,+      writeTimeNanos = Core.Nothing+    }++instance Core.FromJSON ShuffleWriteMetrics where+  parseJSON =+    Core.withObject+      "ShuffleWriteMetrics"+      ( \o ->+          ShuffleWriteMetrics+            Core.<$> (o Core..:? "bytesWritten" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "recordsWritten" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "writeTimeNanos" Core.<&> Core.fmap Core.fromAsText)+      )++instance Core.ToJSON ShuffleWriteMetrics where+  toJSON ShuffleWriteMetrics {..} =+    Core.object+      ( Core.catMaybes+          [ ("bytesWritten" Core..=) Core.. Core.AsText Core.<$> bytesWritten,+            ("recordsWritten" Core..=)+              Core.. Core.AsText+              Core.<$> recordsWritten,+            ("writeTimeNanos" Core..=)+              Core.. Core.AsText+              Core.<$> writeTimeNanos+          ]+      )++--+-- /See:/ 'newShuffleWriteQuantileMetrics' smart constructor.+data ShuffleWriteQuantileMetrics = ShuffleWriteQuantileMetrics+  { writeBytes :: (Core.Maybe Quantiles),+    writeRecords :: (Core.Maybe Quantiles),+    writeTimeNanos :: (Core.Maybe Quantiles)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ShuffleWriteQuantileMetrics' with the minimum fields required to make a request.+newShuffleWriteQuantileMetrics ::+  ShuffleWriteQuantileMetrics+newShuffleWriteQuantileMetrics =+  ShuffleWriteQuantileMetrics+    { writeBytes = Core.Nothing,+      writeRecords = Core.Nothing,+      writeTimeNanos = Core.Nothing+    }++instance Core.FromJSON ShuffleWriteQuantileMetrics where+  parseJSON =+    Core.withObject+      "ShuffleWriteQuantileMetrics"+      ( \o ->+          ShuffleWriteQuantileMetrics+            Core.<$> (o Core..:? "writeBytes")+            Core.<*> (o Core..:? "writeRecords")+            Core.<*> (o Core..:? "writeTimeNanos")+      )++instance Core.ToJSON ShuffleWriteQuantileMetrics where+  toJSON ShuffleWriteQuantileMetrics {..} =+    Core.object+      ( Core.catMaybes+          [ ("writeBytes" Core..=) Core.<$> writeBytes,+            ("writeRecords" Core..=) Core.<$> writeRecords,+            ("writeTimeNanos" Core..=) Core.<$> writeTimeNanos+          ]+      )++--+-- /See:/ 'newSinkProgress' smart constructor.+data SinkProgress = SinkProgress+  { description :: (Core.Maybe Core.Text),+    metrics :: (Core.Maybe SinkProgress_Metrics),+    numOutputRows :: (Core.Maybe Core.Int64)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SinkProgress' with the minimum fields required to make a request.+newSinkProgress ::+  SinkProgress+newSinkProgress =+  SinkProgress+    { description = Core.Nothing,+      metrics = Core.Nothing,+      numOutputRows = Core.Nothing+    }++instance Core.FromJSON SinkProgress where+  parseJSON =+    Core.withObject+      "SinkProgress"+      ( \o ->+          SinkProgress+            Core.<$> (o Core..:? "description")+            Core.<*> (o Core..:? "metrics")+            Core.<*> (o Core..:? "numOutputRows" Core.<&> Core.fmap Core.fromAsText)+      )++instance Core.ToJSON SinkProgress where+  toJSON SinkProgress {..} =+    Core.object+      ( Core.catMaybes+          [ ("description" Core..=) Core.<$> description,+            ("metrics" Core..=) Core.<$> metrics,+            ("numOutputRows" Core..=)+              Core.. Core.AsText+              Core.<$> numOutputRows+          ]+      )++--+-- /See:/ 'newSinkProgress_Metrics' smart constructor.+newtype SinkProgress_Metrics = SinkProgress_Metrics+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SinkProgress_Metrics' with the minimum fields required to make a request.+newSinkProgress_Metrics ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  SinkProgress_Metrics+newSinkProgress_Metrics additional =+  SinkProgress_Metrics {additional = additional}++instance Core.FromJSON SinkProgress_Metrics where+  parseJSON =+    Core.withObject+      "SinkProgress_Metrics"+      (\o -> SinkProgress_Metrics Core.<$> (Core.parseJSONObject o))++instance Core.ToJSON SinkProgress_Metrics where+  toJSON SinkProgress_Metrics {..} = Core.toJSON additional++-- | Specifies the selection and config of software inside the cluster.+--+-- /See:/ 'newSoftwareConfig' smart constructor.+data SoftwareConfig = SoftwareConfig+  { -- | Optional. The version of software inside the cluster. It must be one of the supported Dataproc Versions (https:\/\/cloud.google.com\/dataproc\/docs\/concepts\/versioning\/dataproc-versions#supported-dataproc-image-versions), such as \"1.2\" (including a subminor version, such as \"1.2.29\"), or the \"preview\" version (https:\/\/cloud.google.com\/dataproc\/docs\/concepts\/versioning\/dataproc-versions#other_versions). If unspecified, it defaults to the latest Debian version.+    imageVersion :: (Core.Maybe Core.Text),+    -- | Optional. The set of components to activate on the cluster.+    optionalComponents :: (Core.Maybe [SoftwareConfig_OptionalComponentsItem]),+    -- | Optional. The properties to set on daemon config files.Property keys are specified in prefix:property format, for example core:hadoop.tmp.dir. The following are supported prefixes and their mappings: capacity-scheduler: capacity-scheduler.xml core: core-site.xml distcp: distcp-default.xml hdfs: hdfs-site.xml hive: hive-site.xml mapred: mapred-site.xml pig: pig.properties spark: spark-defaults.conf yarn: yarn-site.xmlFor more information, see Cluster properties (https:\/\/cloud.google.com\/dataproc\/docs\/concepts\/cluster-properties).+    properties :: (Core.Maybe SoftwareConfig_Properties)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SoftwareConfig' with the minimum fields required to make a request.+newSoftwareConfig ::+  SoftwareConfig+newSoftwareConfig =+  SoftwareConfig+    { imageVersion = Core.Nothing,+      optionalComponents = Core.Nothing,+      properties = Core.Nothing+    }++instance Core.FromJSON SoftwareConfig where+  parseJSON =+    Core.withObject+      "SoftwareConfig"+      ( \o ->+          SoftwareConfig+            Core.<$> (o Core..:? "imageVersion")+            Core.<*> (o Core..:? "optionalComponents")+            Core.<*> (o Core..:? "properties")+      )++instance Core.ToJSON SoftwareConfig where+  toJSON SoftwareConfig {..} =+    Core.object+      ( Core.catMaybes+          [ ("imageVersion" Core..=) Core.<$> imageVersion,+            ("optionalComponents" Core..=) Core.<$> optionalComponents,+            ("properties" Core..=) Core.<$> properties+          ]+      )++-- | Optional. The properties to set on daemon config files.Property keys are specified in prefix:property format, for example core:hadoop.tmp.dir. The following are supported prefixes and their mappings: capacity-scheduler: capacity-scheduler.xml core: core-site.xml distcp: distcp-default.xml hdfs: hdfs-site.xml hive: hive-site.xml mapred: mapred-site.xml pig: pig.properties spark: spark-defaults.conf yarn: yarn-site.xmlFor more information, see Cluster properties (https:\/\/cloud.google.com\/dataproc\/docs\/concepts\/cluster-properties).+--+-- /See:/ 'newSoftwareConfig_Properties' smart constructor.+newtype SoftwareConfig_Properties = SoftwareConfig_Properties+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SoftwareConfig_Properties' with the minimum fields required to make a request.+newSoftwareConfig_Properties ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  SoftwareConfig_Properties+newSoftwareConfig_Properties additional =+  SoftwareConfig_Properties {additional = additional}++instance Core.FromJSON SoftwareConfig_Properties where+  parseJSON =+    Core.withObject+      "SoftwareConfig_Properties"+      ( \o ->+          SoftwareConfig_Properties Core.<$> (Core.parseJSONObject o)+      )++instance Core.ToJSON SoftwareConfig_Properties where+  toJSON SoftwareConfig_Properties {..} = Core.toJSON additional++--+-- /See:/ 'newSourceProgress' smart constructor.+data SourceProgress = SourceProgress+  { description :: (Core.Maybe Core.Text),+    endOffset :: (Core.Maybe Core.Text),+    inputRowsPerSecond :: (Core.Maybe Core.Double),+    latestOffset :: (Core.Maybe Core.Text),+    metrics :: (Core.Maybe SourceProgress_Metrics),+    numInputRows :: (Core.Maybe Core.Int64),+    processedRowsPerSecond :: (Core.Maybe Core.Double),+    startOffset :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SourceProgress' with the minimum fields required to make a request.+newSourceProgress ::+  SourceProgress+newSourceProgress =+  SourceProgress+    { description = Core.Nothing,+      endOffset = Core.Nothing,+      inputRowsPerSecond = Core.Nothing,+      latestOffset = Core.Nothing,+      metrics = Core.Nothing,+      numInputRows = Core.Nothing,+      processedRowsPerSecond = Core.Nothing,+      startOffset = Core.Nothing+    }++instance Core.FromJSON SourceProgress where+  parseJSON =+    Core.withObject+      "SourceProgress"+      ( \o ->+          SourceProgress+            Core.<$> (o Core..:? "description")+            Core.<*> (o Core..:? "endOffset")+            Core.<*> (o Core..:? "inputRowsPerSecond")+            Core.<*> (o Core..:? "latestOffset")+            Core.<*> (o Core..:? "metrics")+            Core.<*> (o Core..:? "numInputRows" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "processedRowsPerSecond")+            Core.<*> (o Core..:? "startOffset")+      )++instance Core.ToJSON SourceProgress where+  toJSON SourceProgress {..} =+    Core.object+      ( Core.catMaybes+          [ ("description" Core..=) Core.<$> description,+            ("endOffset" Core..=) Core.<$> endOffset,+            ("inputRowsPerSecond" Core..=) Core.<$> inputRowsPerSecond,+            ("latestOffset" Core..=) Core.<$> latestOffset,+            ("metrics" Core..=) Core.<$> metrics,+            ("numInputRows" Core..=) Core.. Core.AsText Core.<$> numInputRows,+            ("processedRowsPerSecond" Core..=) Core.<$> processedRowsPerSecond,+            ("startOffset" Core..=) Core.<$> startOffset+          ]+      )++--+-- /See:/ 'newSourceProgress_Metrics' smart constructor.+newtype SourceProgress_Metrics = SourceProgress_Metrics+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SourceProgress_Metrics' with the minimum fields required to make a request.+newSourceProgress_Metrics ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  SourceProgress_Metrics+newSourceProgress_Metrics additional =+  SourceProgress_Metrics {additional = additional}++instance Core.FromJSON SourceProgress_Metrics where+  parseJSON =+    Core.withObject+      "SourceProgress_Metrics"+      (\o -> SourceProgress_Metrics Core.<$> (Core.parseJSONObject o))++instance Core.ToJSON SourceProgress_Metrics where+  toJSON SourceProgress_Metrics {..} = Core.toJSON additional++-- | A summary of Spark Application+--+-- /See:/ 'newSparkApplication' smart constructor.+data SparkApplication = SparkApplication+  { -- | Output only. High level information corresponding to an application.+    application :: (Core.Maybe ApplicationInfo),+    -- | Identifier. Name of the spark application+    name :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SparkApplication' with the minimum fields required to make a request.+newSparkApplication ::+  SparkApplication+newSparkApplication =+  SparkApplication {application = Core.Nothing, name = Core.Nothing}++instance Core.FromJSON SparkApplication where+  parseJSON =+    Core.withObject+      "SparkApplication"+      ( \o ->+          SparkApplication+            Core.<$> (o Core..:? "application")+            Core.<*> (o Core..:? "name")+      )++instance Core.ToJSON SparkApplication where+  toJSON SparkApplication {..} =+    Core.object+      ( Core.catMaybes+          [ ("application" Core..=) Core.<$> application,+            ("name" Core..=) Core.<$> name+          ]+      )++-- | A configuration for running an Apache Spark (https:\/\/spark.apache.org\/) batch workload.+--+-- /See:/ 'newSparkBatch' smart constructor.+data SparkBatch = SparkBatch+  { -- | Optional. HCFS URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.+    archiveUris :: (Core.Maybe [Core.Text]),+    -- | Optional. The arguments to pass to the driver. Do not include arguments that can be set as batch properties, such as --conf, since a collision can occur that causes an incorrect batch submission.+    args :: (Core.Maybe [Core.Text]),+    -- | Optional. HCFS URIs of files to be placed in the working directory of each executor.+    fileUris :: (Core.Maybe [Core.Text]),+    -- | Optional. HCFS URIs of jar files to add to the classpath of the Spark driver and tasks.+    jarFileUris :: (Core.Maybe [Core.Text]),+    -- | Optional. The name of the driver main class. The jar file that contains the class must be in the classpath or specified in jar/file/uris.+    mainClass :: (Core.Maybe Core.Text),+    -- | Optional. The HCFS URI of the jar file that contains the main class.+    mainJarFileUri :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SparkBatch' with the minimum fields required to make a request.+newSparkBatch ::+  SparkBatch+newSparkBatch =+  SparkBatch+    { archiveUris = Core.Nothing,+      args = Core.Nothing,+      fileUris = Core.Nothing,+      jarFileUris = Core.Nothing,+      mainClass = Core.Nothing,+      mainJarFileUri = Core.Nothing+    }++instance Core.FromJSON SparkBatch where+  parseJSON =+    Core.withObject+      "SparkBatch"+      ( \o ->+          SparkBatch+            Core.<$> (o Core..:? "archiveUris")+            Core.<*> (o Core..:? "args")+            Core.<*> (o Core..:? "fileUris")+            Core.<*> (o Core..:? "jarFileUris")+            Core.<*> (o Core..:? "mainClass")+            Core.<*> (o Core..:? "mainJarFileUri")+      )++instance Core.ToJSON SparkBatch where+  toJSON SparkBatch {..} =+    Core.object+      ( Core.catMaybes+          [ ("archiveUris" Core..=) Core.<$> archiveUris,+            ("args" Core..=) Core.<$> args,+            ("fileUris" Core..=) Core.<$> fileUris,+            ("jarFileUris" Core..=) Core.<$> jarFileUris,+            ("mainClass" Core..=) Core.<$> mainClass,+            ("mainJarFileUri" Core..=) Core.<$> mainJarFileUri+          ]+      )++-- | Spark connect configuration for an interactive session.+--+-- /See:/ 'newSparkConnectConfig' smart constructor.+data SparkConnectConfig = SparkConnectConfig+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SparkConnectConfig' with the minimum fields required to make a request.+newSparkConnectConfig ::+  SparkConnectConfig+newSparkConnectConfig = SparkConnectConfig++instance Core.FromJSON SparkConnectConfig where+  parseJSON =+    Core.withObject+      "SparkConnectConfig"+      (\o -> Core.pure SparkConnectConfig)++instance Core.ToJSON SparkConnectConfig where+  toJSON = Core.const Core.emptyObject++-- | Spark History Server configuration for the workload.+--+-- /See:/ 'newSparkHistoryServerConfig' smart constructor.+newtype SparkHistoryServerConfig = SparkHistoryServerConfig+  { -- | Optional. Resource name of an existing Dataproc Cluster to act as a Spark History Server for the workload.Example: projects\/[project/id]\/regions\/[region]\/clusters\/[cluster/name]+    dataprocCluster :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SparkHistoryServerConfig' with the minimum fields required to make a request.+newSparkHistoryServerConfig ::+  SparkHistoryServerConfig+newSparkHistoryServerConfig =+  SparkHistoryServerConfig {dataprocCluster = Core.Nothing}++instance Core.FromJSON SparkHistoryServerConfig where+  parseJSON =+    Core.withObject+      "SparkHistoryServerConfig"+      ( \o ->+          SparkHistoryServerConfig Core.<$> (o Core..:? "dataprocCluster")+      )++instance Core.ToJSON SparkHistoryServerConfig where+  toJSON SparkHistoryServerConfig {..} =+    Core.object+      ( Core.catMaybes+          [("dataprocCluster" Core..=) Core.<$> dataprocCluster]+      )++-- | A Dataproc job for running Apache Spark (https:\/\/spark.apache.org\/) applications on YARN.+--+-- /See:/ 'newSparkJob' smart constructor.+data SparkJob = SparkJob+  { -- | Optional. HCFS URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.+    archiveUris :: (Core.Maybe [Core.Text]),+    -- | Optional. The arguments to pass to the driver. Do not include arguments, such as --conf, that can be set as job properties, since a collision may occur that causes an incorrect job submission.+    args :: (Core.Maybe [Core.Text]),+    -- | Optional. HCFS URIs of files to be placed in the working directory of each executor. Useful for naively parallel tasks.+    fileUris :: (Core.Maybe [Core.Text]),+    -- | Optional. HCFS URIs of jar files to add to the CLASSPATHs of the Spark driver and tasks.+    jarFileUris :: (Core.Maybe [Core.Text]),+    -- | Optional. The runtime log config for job execution.+    loggingConfig :: (Core.Maybe LoggingConfig),+    -- | The name of the driver\'s main class. The jar file that contains the class must be in the default CLASSPATH or specified in SparkJob.jar/file/uris.+    mainClass :: (Core.Maybe Core.Text),+    -- | The HCFS URI of the jar file that contains the main class.+    mainJarFileUri :: (Core.Maybe Core.Text),+    -- | Optional. A mapping of property names to values, used to configure Spark. Properties that conflict with values set by the Dataproc API might be overwritten. Can include properties set in \/etc\/spark\/conf\/spark-defaults.conf and classes in user code.+    properties :: (Core.Maybe SparkJob_Properties)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SparkJob' with the minimum fields required to make a request.+newSparkJob ::+  SparkJob+newSparkJob =+  SparkJob+    { archiveUris = Core.Nothing,+      args = Core.Nothing,+      fileUris = Core.Nothing,+      jarFileUris = Core.Nothing,+      loggingConfig = Core.Nothing,+      mainClass = Core.Nothing,+      mainJarFileUri = Core.Nothing,+      properties = Core.Nothing+    }++instance Core.FromJSON SparkJob where+  parseJSON =+    Core.withObject+      "SparkJob"+      ( \o ->+          SparkJob+            Core.<$> (o Core..:? "archiveUris")+            Core.<*> (o Core..:? "args")+            Core.<*> (o Core..:? "fileUris")+            Core.<*> (o Core..:? "jarFileUris")+            Core.<*> (o Core..:? "loggingConfig")+            Core.<*> (o Core..:? "mainClass")+            Core.<*> (o Core..:? "mainJarFileUri")+            Core.<*> (o Core..:? "properties")+      )++instance Core.ToJSON SparkJob where+  toJSON SparkJob {..} =+    Core.object+      ( Core.catMaybes+          [ ("archiveUris" Core..=) Core.<$> archiveUris,+            ("args" Core..=) Core.<$> args,+            ("fileUris" Core..=) Core.<$> fileUris,+            ("jarFileUris" Core..=) Core.<$> jarFileUris,+            ("loggingConfig" Core..=) Core.<$> loggingConfig,+            ("mainClass" Core..=) Core.<$> mainClass,+            ("mainJarFileUri" Core..=) Core.<$> mainJarFileUri,+            ("properties" Core..=) Core.<$> properties+          ]+      )++-- | Optional. A mapping of property names to values, used to configure Spark. Properties that conflict with values set by the Dataproc API might be overwritten. Can include properties set in \/etc\/spark\/conf\/spark-defaults.conf and classes in user code.+--+-- /See:/ 'newSparkJob_Properties' smart constructor.+newtype SparkJob_Properties = SparkJob_Properties+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SparkJob_Properties' with the minimum fields required to make a request.+newSparkJob_Properties ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  SparkJob_Properties+newSparkJob_Properties additional =+  SparkJob_Properties {additional = additional}++instance Core.FromJSON SparkJob_Properties where+  parseJSON =+    Core.withObject+      "SparkJob_Properties"+      (\o -> SparkJob_Properties Core.<$> (Core.parseJSONObject o))++instance Core.ToJSON SparkJob_Properties where+  toJSON SparkJob_Properties {..} = Core.toJSON additional++-- | A graph used for storing information of an executionPlan of DataFrame.+--+-- /See:/ 'newSparkPlanGraph' smart constructor.+data SparkPlanGraph = SparkPlanGraph+  { edges :: (Core.Maybe [SparkPlanGraphEdge]),+    executionId :: (Core.Maybe Core.Int64),+    nodes :: (Core.Maybe [SparkPlanGraphNodeWrapper])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SparkPlanGraph' with the minimum fields required to make a request.+newSparkPlanGraph ::+  SparkPlanGraph+newSparkPlanGraph =+  SparkPlanGraph+    { edges = Core.Nothing,+      executionId = Core.Nothing,+      nodes = Core.Nothing+    }++instance Core.FromJSON SparkPlanGraph where+  parseJSON =+    Core.withObject+      "SparkPlanGraph"+      ( \o ->+          SparkPlanGraph+            Core.<$> (o Core..:? "edges")+            Core.<*> (o Core..:? "executionId" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "nodes")+      )++instance Core.ToJSON SparkPlanGraph where+  toJSON SparkPlanGraph {..} =+    Core.object+      ( Core.catMaybes+          [ ("edges" Core..=) Core.<$> edges,+            ("executionId" Core..=) Core.. Core.AsText Core.<$> executionId,+            ("nodes" Core..=) Core.<$> nodes+          ]+      )++-- | Represents a tree of spark plan.+--+-- /See:/ 'newSparkPlanGraphCluster' smart constructor.+data SparkPlanGraphCluster = SparkPlanGraphCluster+  { desc :: (Core.Maybe Core.Text),+    metrics :: (Core.Maybe [SqlPlanMetric]),+    name :: (Core.Maybe Core.Text),+    nodes :: (Core.Maybe [SparkPlanGraphNodeWrapper]),+    sparkPlanGraphClusterId :: (Core.Maybe Core.Int64)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SparkPlanGraphCluster' with the minimum fields required to make a request.+newSparkPlanGraphCluster ::+  SparkPlanGraphCluster+newSparkPlanGraphCluster =+  SparkPlanGraphCluster+    { desc = Core.Nothing,+      metrics = Core.Nothing,+      name = Core.Nothing,+      nodes = Core.Nothing,+      sparkPlanGraphClusterId = Core.Nothing+    }++instance Core.FromJSON SparkPlanGraphCluster where+  parseJSON =+    Core.withObject+      "SparkPlanGraphCluster"+      ( \o ->+          SparkPlanGraphCluster+            Core.<$> (o Core..:? "desc")+            Core.<*> (o Core..:? "metrics")+            Core.<*> (o Core..:? "name")+            Core.<*> (o Core..:? "nodes")+            Core.<*> ( o+                         Core..:? "sparkPlanGraphClusterId"+                         Core.<&> Core.fmap Core.fromAsText+                     )+      )++instance Core.ToJSON SparkPlanGraphCluster where+  toJSON SparkPlanGraphCluster {..} =+    Core.object+      ( Core.catMaybes+          [ ("desc" Core..=) Core.<$> desc,+            ("metrics" Core..=) Core.<$> metrics,+            ("name" Core..=) Core.<$> name,+            ("nodes" Core..=) Core.<$> nodes,+            ("sparkPlanGraphClusterId" Core..=)+              Core.. Core.AsText+              Core.<$> sparkPlanGraphClusterId+          ]+      )++-- | Represents a directed edge in the spark plan tree from child to parent.+--+-- /See:/ 'newSparkPlanGraphEdge' smart constructor.+data SparkPlanGraphEdge = SparkPlanGraphEdge+  { fromId :: (Core.Maybe Core.Int64),+    toId :: (Core.Maybe Core.Int64)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SparkPlanGraphEdge' with the minimum fields required to make a request.+newSparkPlanGraphEdge ::+  SparkPlanGraphEdge+newSparkPlanGraphEdge =+  SparkPlanGraphEdge {fromId = Core.Nothing, toId = Core.Nothing}++instance Core.FromJSON SparkPlanGraphEdge where+  parseJSON =+    Core.withObject+      "SparkPlanGraphEdge"+      ( \o ->+          SparkPlanGraphEdge+            Core.<$> (o Core..:? "fromId" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "toId" Core.<&> Core.fmap Core.fromAsText)+      )++instance Core.ToJSON SparkPlanGraphEdge where+  toJSON SparkPlanGraphEdge {..} =+    Core.object+      ( Core.catMaybes+          [ ("fromId" Core..=) Core.. Core.AsText Core.<$> fromId,+            ("toId" Core..=) Core.. Core.AsText Core.<$> toId+          ]+      )++-- | Represents a node in the spark plan tree.+--+-- /See:/ 'newSparkPlanGraphNode' smart constructor.+data SparkPlanGraphNode = SparkPlanGraphNode+  { desc :: (Core.Maybe Core.Text),+    metrics :: (Core.Maybe [SqlPlanMetric]),+    name :: (Core.Maybe Core.Text),+    sparkPlanGraphNodeId :: (Core.Maybe Core.Int64)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SparkPlanGraphNode' with the minimum fields required to make a request.+newSparkPlanGraphNode ::+  SparkPlanGraphNode+newSparkPlanGraphNode =+  SparkPlanGraphNode+    { desc = Core.Nothing,+      metrics = Core.Nothing,+      name = Core.Nothing,+      sparkPlanGraphNodeId = Core.Nothing+    }++instance Core.FromJSON SparkPlanGraphNode where+  parseJSON =+    Core.withObject+      "SparkPlanGraphNode"+      ( \o ->+          SparkPlanGraphNode+            Core.<$> (o Core..:? "desc")+            Core.<*> (o Core..:? "metrics")+            Core.<*> (o Core..:? "name")+            Core.<*> ( o+                         Core..:? "sparkPlanGraphNodeId"+                         Core.<&> Core.fmap Core.fromAsText+                     )+      )++instance Core.ToJSON SparkPlanGraphNode where+  toJSON SparkPlanGraphNode {..} =+    Core.object+      ( Core.catMaybes+          [ ("desc" Core..=) Core.<$> desc,+            ("metrics" Core..=) Core.<$> metrics,+            ("name" Core..=) Core.<$> name,+            ("sparkPlanGraphNodeId" Core..=)+              Core.. Core.AsText+              Core.<$> sparkPlanGraphNodeId+          ]+      )++-- | Wrapper user to represent either a node or a cluster.+--+-- /See:/ 'newSparkPlanGraphNodeWrapper' smart constructor.+data SparkPlanGraphNodeWrapper = SparkPlanGraphNodeWrapper+  { cluster :: (Core.Maybe SparkPlanGraphCluster),+    node :: (Core.Maybe SparkPlanGraphNode)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SparkPlanGraphNodeWrapper' with the minimum fields required to make a request.+newSparkPlanGraphNodeWrapper ::+  SparkPlanGraphNodeWrapper+newSparkPlanGraphNodeWrapper =+  SparkPlanGraphNodeWrapper+    { cluster = Core.Nothing,+      node = Core.Nothing+    }++instance Core.FromJSON SparkPlanGraphNodeWrapper where+  parseJSON =+    Core.withObject+      "SparkPlanGraphNodeWrapper"+      ( \o ->+          SparkPlanGraphNodeWrapper+            Core.<$> (o Core..:? "cluster")+            Core.<*> (o Core..:? "node")+      )++instance Core.ToJSON SparkPlanGraphNodeWrapper where+  toJSON SparkPlanGraphNodeWrapper {..} =+    Core.object+      ( Core.catMaybes+          [ ("cluster" Core..=) Core.<$> cluster,+            ("node" Core..=) Core.<$> node+          ]+      )++-- | A configuration for running an Apache SparkR (https:\/\/spark.apache.org\/docs\/latest\/sparkr.html) batch workload.+--+-- /See:/ 'newSparkRBatch' smart constructor.+data SparkRBatch = SparkRBatch+  { -- | Optional. HCFS URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.+    archiveUris :: (Core.Maybe [Core.Text]),+    -- | Optional. The arguments to pass to the Spark driver. Do not include arguments that can be set as batch properties, such as --conf, since a collision can occur that causes an incorrect batch submission.+    args :: (Core.Maybe [Core.Text]),+    -- | Optional. HCFS URIs of files to be placed in the working directory of each executor.+    fileUris :: (Core.Maybe [Core.Text]),+    -- | Required. The HCFS URI of the main R file to use as the driver. Must be a .R or .r file.+    mainRFileUri :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SparkRBatch' with the minimum fields required to make a request.+newSparkRBatch ::+  SparkRBatch+newSparkRBatch =+  SparkRBatch+    { archiveUris = Core.Nothing,+      args = Core.Nothing,+      fileUris = Core.Nothing,+      mainRFileUri = Core.Nothing+    }++instance Core.FromJSON SparkRBatch where+  parseJSON =+    Core.withObject+      "SparkRBatch"+      ( \o ->+          SparkRBatch+            Core.<$> (o Core..:? "archiveUris")+            Core.<*> (o Core..:? "args")+            Core.<*> (o Core..:? "fileUris")+            Core.<*> (o Core..:? "mainRFileUri")+      )++instance Core.ToJSON SparkRBatch where+  toJSON SparkRBatch {..} =+    Core.object+      ( Core.catMaybes+          [ ("archiveUris" Core..=) Core.<$> archiveUris,+            ("args" Core..=) Core.<$> args,+            ("fileUris" Core..=) Core.<$> fileUris,+            ("mainRFileUri" Core..=) Core.<$> mainRFileUri+          ]+      )++-- | A Dataproc job for running Apache SparkR (https:\/\/spark.apache.org\/docs\/latest\/sparkr.html) applications on YARN.+--+-- /See:/ 'newSparkRJob' smart constructor.+data SparkRJob = SparkRJob+  { -- | Optional. HCFS URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.+    archiveUris :: (Core.Maybe [Core.Text]),+    -- | Optional. The arguments to pass to the driver. Do not include arguments, such as --conf, that can be set as job properties, since a collision may occur that causes an incorrect job submission.+    args :: (Core.Maybe [Core.Text]),+    -- | Optional. HCFS URIs of files to be placed in the working directory of each executor. Useful for naively parallel tasks.+    fileUris :: (Core.Maybe [Core.Text]),+    -- | Optional. The runtime log config for job execution.+    loggingConfig :: (Core.Maybe LoggingConfig),+    -- | Required. The HCFS URI of the main R file to use as the driver. Must be a .R file.+    mainRFileUri :: (Core.Maybe Core.Text),+    -- | Optional. A mapping of property names to values, used to configure SparkR. Properties that conflict with values set by the Dataproc API might be overwritten. Can include properties set in \/etc\/spark\/conf\/spark-defaults.conf and classes in user code.+    properties :: (Core.Maybe SparkRJob_Properties)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SparkRJob' with the minimum fields required to make a request.+newSparkRJob ::+  SparkRJob+newSparkRJob =+  SparkRJob+    { archiveUris = Core.Nothing,+      args = Core.Nothing,+      fileUris = Core.Nothing,+      loggingConfig = Core.Nothing,+      mainRFileUri = Core.Nothing,+      properties = Core.Nothing+    }++instance Core.FromJSON SparkRJob where+  parseJSON =+    Core.withObject+      "SparkRJob"+      ( \o ->+          SparkRJob+            Core.<$> (o Core..:? "archiveUris")+            Core.<*> (o Core..:? "args")+            Core.<*> (o Core..:? "fileUris")+            Core.<*> (o Core..:? "loggingConfig")+            Core.<*> (o Core..:? "mainRFileUri")+            Core.<*> (o Core..:? "properties")+      )++instance Core.ToJSON SparkRJob where+  toJSON SparkRJob {..} =+    Core.object+      ( Core.catMaybes+          [ ("archiveUris" Core..=) Core.<$> archiveUris,+            ("args" Core..=) Core.<$> args,+            ("fileUris" Core..=) Core.<$> fileUris,+            ("loggingConfig" Core..=) Core.<$> loggingConfig,+            ("mainRFileUri" Core..=) Core.<$> mainRFileUri,+            ("properties" Core..=) Core.<$> properties+          ]+      )++-- | Optional. A mapping of property names to values, used to configure SparkR. Properties that conflict with values set by the Dataproc API might be overwritten. Can include properties set in \/etc\/spark\/conf\/spark-defaults.conf and classes in user code.+--+-- /See:/ 'newSparkRJob_Properties' smart constructor.+newtype SparkRJob_Properties = SparkRJob_Properties+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SparkRJob_Properties' with the minimum fields required to make a request.+newSparkRJob_Properties ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  SparkRJob_Properties+newSparkRJob_Properties additional =+  SparkRJob_Properties {additional = additional}++instance Core.FromJSON SparkRJob_Properties where+  parseJSON =+    Core.withObject+      "SparkRJob_Properties"+      (\o -> SparkRJob_Properties Core.<$> (Core.parseJSONObject o))++instance Core.ToJSON SparkRJob_Properties where+  toJSON SparkRJob_Properties {..} = Core.toJSON additional++--+-- /See:/ 'newSparkRuntimeInfo' smart constructor.+data SparkRuntimeInfo = SparkRuntimeInfo+  { javaHome :: (Core.Maybe Core.Text),+    javaVersion :: (Core.Maybe Core.Text),+    scalaVersion :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SparkRuntimeInfo' with the minimum fields required to make a request.+newSparkRuntimeInfo ::+  SparkRuntimeInfo+newSparkRuntimeInfo =+  SparkRuntimeInfo+    { javaHome = Core.Nothing,+      javaVersion = Core.Nothing,+      scalaVersion = Core.Nothing+    }++instance Core.FromJSON SparkRuntimeInfo where+  parseJSON =+    Core.withObject+      "SparkRuntimeInfo"+      ( \o ->+          SparkRuntimeInfo+            Core.<$> (o Core..:? "javaHome")+            Core.<*> (o Core..:? "javaVersion")+            Core.<*> (o Core..:? "scalaVersion")+      )++instance Core.ToJSON SparkRuntimeInfo where+  toJSON SparkRuntimeInfo {..} =+    Core.object+      ( Core.catMaybes+          [ ("javaHome" Core..=) Core.<$> javaHome,+            ("javaVersion" Core..=) Core.<$> javaVersion,+            ("scalaVersion" Core..=) Core.<$> scalaVersion+          ]+      )++-- | A configuration for running Apache Spark SQL (https:\/\/spark.apache.org\/sql\/) queries as a batch workload.+--+-- /See:/ 'newSparkSqlBatch' smart constructor.+data SparkSqlBatch = SparkSqlBatch+  { -- | Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH.+    jarFileUris :: (Core.Maybe [Core.Text]),+    -- | Required. The HCFS URI of the script that contains Spark SQL queries to execute.+    queryFileUri :: (Core.Maybe Core.Text),+    -- | Optional. Mapping of query variable names to values (equivalent to the Spark SQL command: SET name=\"value\";).+    queryVariables :: (Core.Maybe SparkSqlBatch_QueryVariables)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SparkSqlBatch' with the minimum fields required to make a request.+newSparkSqlBatch ::+  SparkSqlBatch+newSparkSqlBatch =+  SparkSqlBatch+    { jarFileUris = Core.Nothing,+      queryFileUri = Core.Nothing,+      queryVariables = Core.Nothing+    }++instance Core.FromJSON SparkSqlBatch where+  parseJSON =+    Core.withObject+      "SparkSqlBatch"+      ( \o ->+          SparkSqlBatch+            Core.<$> (o Core..:? "jarFileUris")+            Core.<*> (o Core..:? "queryFileUri")+            Core.<*> (o Core..:? "queryVariables")+      )++instance Core.ToJSON SparkSqlBatch where+  toJSON SparkSqlBatch {..} =+    Core.object+      ( Core.catMaybes+          [ ("jarFileUris" Core..=) Core.<$> jarFileUris,+            ("queryFileUri" Core..=) Core.<$> queryFileUri,+            ("queryVariables" Core..=) Core.<$> queryVariables+          ]+      )++-- | Optional. Mapping of query variable names to values (equivalent to the Spark SQL command: SET name=\"value\";).+--+-- /See:/ 'newSparkSqlBatch_QueryVariables' smart constructor.+newtype SparkSqlBatch_QueryVariables = SparkSqlBatch_QueryVariables+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SparkSqlBatch_QueryVariables' with the minimum fields required to make a request.+newSparkSqlBatch_QueryVariables ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  SparkSqlBatch_QueryVariables+newSparkSqlBatch_QueryVariables additional =+  SparkSqlBatch_QueryVariables {additional = additional}++instance Core.FromJSON SparkSqlBatch_QueryVariables where+  parseJSON =+    Core.withObject+      "SparkSqlBatch_QueryVariables"+      ( \o ->+          SparkSqlBatch_QueryVariables Core.<$> (Core.parseJSONObject o)+      )++instance Core.ToJSON SparkSqlBatch_QueryVariables where+  toJSON SparkSqlBatch_QueryVariables {..} = Core.toJSON additional++-- | A Dataproc job for running Apache Spark SQL (https:\/\/spark.apache.org\/sql\/) queries.+--+-- /See:/ 'newSparkSqlJob' smart constructor.+data SparkSqlJob = SparkSqlJob+  { -- | Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH.+    jarFileUris :: (Core.Maybe [Core.Text]),+    -- | Optional. The runtime log config for job execution.+    loggingConfig :: (Core.Maybe LoggingConfig),+    -- | Optional. A mapping of property names to values, used to configure Spark SQL\'s SparkConf. Properties that conflict with values set by the Dataproc API might be overwritten.+    properties :: (Core.Maybe SparkSqlJob_Properties),+    -- | The HCFS URI of the script that contains SQL queries.+    queryFileUri :: (Core.Maybe Core.Text),+    -- | A list of queries.+    queryList :: (Core.Maybe QueryList),+    -- | Optional. Mapping of query variable names to values (equivalent to the Spark SQL command: SET name=\"value\";).+    scriptVariables :: (Core.Maybe SparkSqlJob_ScriptVariables)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SparkSqlJob' with the minimum fields required to make a request.+newSparkSqlJob ::+  SparkSqlJob+newSparkSqlJob =+  SparkSqlJob+    { jarFileUris = Core.Nothing,+      loggingConfig = Core.Nothing,+      properties = Core.Nothing,+      queryFileUri = Core.Nothing,+      queryList = Core.Nothing,+      scriptVariables = Core.Nothing+    }++instance Core.FromJSON SparkSqlJob where+  parseJSON =+    Core.withObject+      "SparkSqlJob"+      ( \o ->+          SparkSqlJob+            Core.<$> (o Core..:? "jarFileUris")+            Core.<*> (o Core..:? "loggingConfig")+            Core.<*> (o Core..:? "properties")+            Core.<*> (o Core..:? "queryFileUri")+            Core.<*> (o Core..:? "queryList")+            Core.<*> (o Core..:? "scriptVariables")+      )++instance Core.ToJSON SparkSqlJob where+  toJSON SparkSqlJob {..} =+    Core.object+      ( Core.catMaybes+          [ ("jarFileUris" Core..=) Core.<$> jarFileUris,+            ("loggingConfig" Core..=) Core.<$> loggingConfig,+            ("properties" Core..=) Core.<$> properties,+            ("queryFileUri" Core..=) Core.<$> queryFileUri,+            ("queryList" Core..=) Core.<$> queryList,+            ("scriptVariables" Core..=) Core.<$> scriptVariables+          ]+      )++-- | Optional. A mapping of property names to values, used to configure Spark SQL\'s SparkConf. Properties that conflict with values set by the Dataproc API might be overwritten.+--+-- /See:/ 'newSparkSqlJob_Properties' smart constructor.+newtype SparkSqlJob_Properties = SparkSqlJob_Properties+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SparkSqlJob_Properties' with the minimum fields required to make a request.+newSparkSqlJob_Properties ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  SparkSqlJob_Properties+newSparkSqlJob_Properties additional =+  SparkSqlJob_Properties {additional = additional}++instance Core.FromJSON SparkSqlJob_Properties where+  parseJSON =+    Core.withObject+      "SparkSqlJob_Properties"+      (\o -> SparkSqlJob_Properties Core.<$> (Core.parseJSONObject o))++instance Core.ToJSON SparkSqlJob_Properties where+  toJSON SparkSqlJob_Properties {..} = Core.toJSON additional++-- | Optional. Mapping of query variable names to values (equivalent to the Spark SQL command: SET name=\"value\";).+--+-- /See:/ 'newSparkSqlJob_ScriptVariables' smart constructor.+newtype SparkSqlJob_ScriptVariables = SparkSqlJob_ScriptVariables+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SparkSqlJob_ScriptVariables' with the minimum fields required to make a request.+newSparkSqlJob_ScriptVariables ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  SparkSqlJob_ScriptVariables+newSparkSqlJob_ScriptVariables additional =+  SparkSqlJob_ScriptVariables {additional = additional}++instance Core.FromJSON SparkSqlJob_ScriptVariables where+  parseJSON =+    Core.withObject+      "SparkSqlJob_ScriptVariables"+      ( \o ->+          SparkSqlJob_ScriptVariables Core.<$> (Core.parseJSONObject o)+      )++instance Core.ToJSON SparkSqlJob_ScriptVariables where+  toJSON SparkSqlJob_ScriptVariables {..} = Core.toJSON additional++-- | Basic autoscaling configurations for Spark Standalone.+--+-- /See:/ 'newSparkStandaloneAutoscalingConfig' smart constructor.+data SparkStandaloneAutoscalingConfig = SparkStandaloneAutoscalingConfig+  { -- | Required. Timeout for Spark graceful decommissioning of spark workers. Specifies the duration to wait for spark worker to complete spark decommissioning tasks before forcefully removing workers. Only applicable to downscaling operations.Bounds: 0s, 1d.+    gracefulDecommissionTimeout :: (Core.Maybe Core.Duration),+    -- | Optional. Remove only idle workers when scaling down cluster+    removeOnlyIdleWorkers :: (Core.Maybe Core.Bool),+    -- | Required. Fraction of required executors to remove from Spark Serverless clusters. A scale-down factor of 1.0 will result in scaling down so that there are no more executors for the Spark Job.(more aggressive scaling). A scale-down factor closer to 0 will result in a smaller magnitude of scaling donw (less aggressive scaling).Bounds: 0.0, 1.0.+    scaleDownFactor :: (Core.Maybe Core.Double),+    -- | Optional. Minimum scale-down threshold as a fraction of total cluster size before scaling occurs. For example, in a 20-worker cluster, a threshold of 0.1 means the autoscaler must recommend at least a 2 worker scale-down for the cluster to scale. A threshold of 0 means the autoscaler will scale down on any recommended change.Bounds: 0.0, 1.0. Default: 0.0.+    scaleDownMinWorkerFraction :: (Core.Maybe Core.Double),+    -- | Required. Fraction of required workers to add to Spark Standalone clusters. A scale-up factor of 1.0 will result in scaling up so that there are no more required workers for the Spark Job (more aggressive scaling). A scale-up factor closer to 0 will result in a smaller magnitude of scaling up (less aggressive scaling).Bounds: 0.0, 1.0.+    scaleUpFactor :: (Core.Maybe Core.Double),+    -- | Optional. Minimum scale-up threshold as a fraction of total cluster size before scaling occurs. For example, in a 20-worker cluster, a threshold of 0.1 means the autoscaler must recommend at least a 2-worker scale-up for the cluster to scale. A threshold of 0 means the autoscaler will scale up on any recommended change.Bounds: 0.0, 1.0. Default: 0.0.+    scaleUpMinWorkerFraction :: (Core.Maybe Core.Double)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SparkStandaloneAutoscalingConfig' with the minimum fields required to make a request.+newSparkStandaloneAutoscalingConfig ::+  SparkStandaloneAutoscalingConfig+newSparkStandaloneAutoscalingConfig =+  SparkStandaloneAutoscalingConfig+    { gracefulDecommissionTimeout =+        Core.Nothing,+      removeOnlyIdleWorkers = Core.Nothing,+      scaleDownFactor = Core.Nothing,+      scaleDownMinWorkerFraction = Core.Nothing,+      scaleUpFactor = Core.Nothing,+      scaleUpMinWorkerFraction = Core.Nothing+    }++instance Core.FromJSON SparkStandaloneAutoscalingConfig where+  parseJSON =+    Core.withObject+      "SparkStandaloneAutoscalingConfig"+      ( \o ->+          SparkStandaloneAutoscalingConfig+            Core.<$> (o Core..:? "gracefulDecommissionTimeout")+            Core.<*> (o Core..:? "removeOnlyIdleWorkers")+            Core.<*> (o Core..:? "scaleDownFactor")+            Core.<*> (o Core..:? "scaleDownMinWorkerFraction")+            Core.<*> (o Core..:? "scaleUpFactor")+            Core.<*> (o Core..:? "scaleUpMinWorkerFraction")+      )++instance Core.ToJSON SparkStandaloneAutoscalingConfig where+  toJSON SparkStandaloneAutoscalingConfig {..} =+    Core.object+      ( Core.catMaybes+          [ ("gracefulDecommissionTimeout" Core..=)+              Core.<$> gracefulDecommissionTimeout,+            ("removeOnlyIdleWorkers" Core..=) Core.<$> removeOnlyIdleWorkers,+            ("scaleDownFactor" Core..=) Core.<$> scaleDownFactor,+            ("scaleDownMinWorkerFraction" Core..=)+              Core.<$> scaleDownMinWorkerFraction,+            ("scaleUpFactor" Core..=) Core.<$> scaleUpFactor,+            ("scaleUpMinWorkerFraction" Core..=)+              Core.<$> scaleUpMinWorkerFraction+          ]+      )++-- | Outer message that contains the data obtained from spark listener, packaged with information that is required to process it.+--+-- /See:/ 'newSparkWrapperObject' smart constructor.+data SparkWrapperObject = SparkWrapperObject+  { appSummary :: (Core.Maybe AppSummary),+    applicationEnvironmentInfo :: (Core.Maybe ApplicationEnvironmentInfo),+    -- | Application Id created by Spark.+    applicationId :: (Core.Maybe Core.Text),+    applicationInfo :: (Core.Maybe ApplicationInfo),+    -- | VM Timestamp associated with the data object.+    eventTimestamp :: (Core.Maybe Core.DateTime),+    executorStageSummary :: (Core.Maybe ExecutorStageSummary),+    executorSummary :: (Core.Maybe ExecutorSummary),+    jobData :: (Core.Maybe JobData),+    -- | Native Build Info+    nativeBuildInfoUiData :: (Core.Maybe NativeBuildInfoUiData),+    -- | Native SQL Execution Info+    nativeSqlExecutionUiData :: (Core.Maybe NativeSqlExecutionUiData),+    poolData :: (Core.Maybe PoolData),+    processSummary :: (Core.Maybe ProcessSummary),+    rddOperationGraph :: (Core.Maybe RddOperationGraph),+    rddStorageInfo :: (Core.Maybe RddStorageInfo),+    resourceProfileInfo :: (Core.Maybe ResourceProfileInfo),+    sparkPlanGraph :: (Core.Maybe SparkPlanGraph),+    speculationStageSummary :: (Core.Maybe SpeculationStageSummary),+    sqlExecutionUiData :: (Core.Maybe SqlExecutionUiData),+    stageData :: (Core.Maybe StageData),+    streamBlockData :: (Core.Maybe StreamBlockData),+    streamingQueryData :: (Core.Maybe StreamingQueryData),+    streamingQueryProgress :: (Core.Maybe StreamingQueryProgress),+    taskData :: (Core.Maybe TaskData)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SparkWrapperObject' with the minimum fields required to make a request.+newSparkWrapperObject ::+  SparkWrapperObject+newSparkWrapperObject =+  SparkWrapperObject+    { appSummary = Core.Nothing,+      applicationEnvironmentInfo = Core.Nothing,+      applicationId = Core.Nothing,+      applicationInfo = Core.Nothing,+      eventTimestamp = Core.Nothing,+      executorStageSummary = Core.Nothing,+      executorSummary = Core.Nothing,+      jobData = Core.Nothing,+      nativeBuildInfoUiData = Core.Nothing,+      nativeSqlExecutionUiData = Core.Nothing,+      poolData = Core.Nothing,+      processSummary = Core.Nothing,+      rddOperationGraph = Core.Nothing,+      rddStorageInfo = Core.Nothing,+      resourceProfileInfo = Core.Nothing,+      sparkPlanGraph = Core.Nothing,+      speculationStageSummary = Core.Nothing,+      sqlExecutionUiData = Core.Nothing,+      stageData = Core.Nothing,+      streamBlockData = Core.Nothing,+      streamingQueryData = Core.Nothing,+      streamingQueryProgress = Core.Nothing,+      taskData = Core.Nothing+    }++instance Core.FromJSON SparkWrapperObject where+  parseJSON =+    Core.withObject+      "SparkWrapperObject"+      ( \o ->+          SparkWrapperObject+            Core.<$> (o Core..:? "appSummary")+            Core.<*> (o Core..:? "applicationEnvironmentInfo")+            Core.<*> (o Core..:? "applicationId")+            Core.<*> (o Core..:? "applicationInfo")+            Core.<*> (o Core..:? "eventTimestamp")+            Core.<*> (o Core..:? "executorStageSummary")+            Core.<*> (o Core..:? "executorSummary")+            Core.<*> (o Core..:? "jobData")+            Core.<*> (o Core..:? "nativeBuildInfoUiData")+            Core.<*> (o Core..:? "nativeSqlExecutionUiData")+            Core.<*> (o Core..:? "poolData")+            Core.<*> (o Core..:? "processSummary")+            Core.<*> (o Core..:? "rddOperationGraph")+            Core.<*> (o Core..:? "rddStorageInfo")+            Core.<*> (o Core..:? "resourceProfileInfo")+            Core.<*> (o Core..:? "sparkPlanGraph")+            Core.<*> (o Core..:? "speculationStageSummary")+            Core.<*> (o Core..:? "sqlExecutionUiData")+            Core.<*> (o Core..:? "stageData")+            Core.<*> (o Core..:? "streamBlockData")+            Core.<*> (o Core..:? "streamingQueryData")+            Core.<*> (o Core..:? "streamingQueryProgress")+            Core.<*> (o Core..:? "taskData")+      )++instance Core.ToJSON SparkWrapperObject where+  toJSON SparkWrapperObject {..} =+    Core.object+      ( Core.catMaybes+          [ ("appSummary" Core..=) Core.<$> appSummary,+            ("applicationEnvironmentInfo" Core..=)+              Core.<$> applicationEnvironmentInfo,+            ("applicationId" Core..=) Core.<$> applicationId,+            ("applicationInfo" Core..=) Core.<$> applicationInfo,+            ("eventTimestamp" Core..=) Core.<$> eventTimestamp,+            ("executorStageSummary" Core..=) Core.<$> executorStageSummary,+            ("executorSummary" Core..=) Core.<$> executorSummary,+            ("jobData" Core..=) Core.<$> jobData,+            ("nativeBuildInfoUiData" Core..=) Core.<$> nativeBuildInfoUiData,+            ("nativeSqlExecutionUiData" Core..=)+              Core.<$> nativeSqlExecutionUiData,+            ("poolData" Core..=) Core.<$> poolData,+            ("processSummary" Core..=) Core.<$> processSummary,+            ("rddOperationGraph" Core..=) Core.<$> rddOperationGraph,+            ("rddStorageInfo" Core..=) Core.<$> rddStorageInfo,+            ("resourceProfileInfo" Core..=) Core.<$> resourceProfileInfo,+            ("sparkPlanGraph" Core..=) Core.<$> sparkPlanGraph,+            ("speculationStageSummary" Core..=)+              Core.<$> speculationStageSummary,+            ("sqlExecutionUiData" Core..=) Core.<$> sqlExecutionUiData,+            ("stageData" Core..=) Core.<$> stageData,+            ("streamBlockData" Core..=) Core.<$> streamBlockData,+            ("streamingQueryData" Core..=) Core.<$> streamingQueryData,+            ("streamingQueryProgress" Core..=) Core.<$> streamingQueryProgress,+            ("taskData" Core..=) Core.<$> taskData+          ]+      )++-- | Details of the speculation task when speculative execution is enabled.+--+-- /See:/ 'newSpeculationStageSummary' smart constructor.+data SpeculationStageSummary = SpeculationStageSummary+  { numActiveTasks :: (Core.Maybe Core.Int32),+    numCompletedTasks :: (Core.Maybe Core.Int32),+    numFailedTasks :: (Core.Maybe Core.Int32),+    numKilledTasks :: (Core.Maybe Core.Int32),+    numTasks :: (Core.Maybe Core.Int32),+    stageAttemptId :: (Core.Maybe Core.Int32),+    stageId :: (Core.Maybe Core.Int64)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SpeculationStageSummary' with the minimum fields required to make a request.+newSpeculationStageSummary ::+  SpeculationStageSummary+newSpeculationStageSummary =+  SpeculationStageSummary+    { numActiveTasks = Core.Nothing,+      numCompletedTasks = Core.Nothing,+      numFailedTasks = Core.Nothing,+      numKilledTasks = Core.Nothing,+      numTasks = Core.Nothing,+      stageAttemptId = Core.Nothing,+      stageId = Core.Nothing+    }++instance Core.FromJSON SpeculationStageSummary where+  parseJSON =+    Core.withObject+      "SpeculationStageSummary"+      ( \o ->+          SpeculationStageSummary+            Core.<$> (o Core..:? "numActiveTasks")+            Core.<*> (o Core..:? "numCompletedTasks")+            Core.<*> (o Core..:? "numFailedTasks")+            Core.<*> (o Core..:? "numKilledTasks")+            Core.<*> (o Core..:? "numTasks")+            Core.<*> (o Core..:? "stageAttemptId")+            Core.<*> (o Core..:? "stageId" Core.<&> Core.fmap Core.fromAsText)+      )++instance Core.ToJSON SpeculationStageSummary where+  toJSON SpeculationStageSummary {..} =+    Core.object+      ( Core.catMaybes+          [ ("numActiveTasks" Core..=) Core.<$> numActiveTasks,+            ("numCompletedTasks" Core..=) Core.<$> numCompletedTasks,+            ("numFailedTasks" Core..=) Core.<$> numFailedTasks,+            ("numKilledTasks" Core..=) Core.<$> numKilledTasks,+            ("numTasks" Core..=) Core.<$> numTasks,+            ("stageAttemptId" Core..=) Core.<$> stageAttemptId,+            ("stageId" Core..=) Core.. Core.AsText Core.<$> stageId+          ]+      )++-- | SQL Execution Data+--+-- /See:/ 'newSqlExecutionUiData' smart constructor.+data SqlExecutionUiData = SqlExecutionUiData+  { completionTime :: (Core.Maybe Core.DateTime),+    description :: (Core.Maybe Core.Text),+    details :: (Core.Maybe Core.Text),+    errorMessage :: (Core.Maybe Core.Text),+    executionId :: (Core.Maybe Core.Int64),+    jobs :: (Core.Maybe SqlExecutionUiData_Jobs),+    metricValues :: (Core.Maybe SqlExecutionUiData_MetricValues),+    metricValuesIsNull :: (Core.Maybe Core.Bool),+    metrics :: (Core.Maybe [SqlPlanMetric]),+    modifiedConfigs :: (Core.Maybe SqlExecutionUiData_ModifiedConfigs),+    physicalPlanDescription :: (Core.Maybe Core.Text),+    rootExecutionId :: (Core.Maybe Core.Int64),+    stages :: (Core.Maybe [Core.Int64]),+    submissionTime :: (Core.Maybe Core.DateTime)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SqlExecutionUiData' with the minimum fields required to make a request.+newSqlExecutionUiData ::+  SqlExecutionUiData+newSqlExecutionUiData =+  SqlExecutionUiData+    { completionTime = Core.Nothing,+      description = Core.Nothing,+      details = Core.Nothing,+      errorMessage = Core.Nothing,+      executionId = Core.Nothing,+      jobs = Core.Nothing,+      metricValues = Core.Nothing,+      metricValuesIsNull = Core.Nothing,+      metrics = Core.Nothing,+      modifiedConfigs = Core.Nothing,+      physicalPlanDescription = Core.Nothing,+      rootExecutionId = Core.Nothing,+      stages = Core.Nothing,+      submissionTime = Core.Nothing+    }++instance Core.FromJSON SqlExecutionUiData where+  parseJSON =+    Core.withObject+      "SqlExecutionUiData"+      ( \o ->+          SqlExecutionUiData+            Core.<$> (o Core..:? "completionTime")+            Core.<*> (o Core..:? "description")+            Core.<*> (o Core..:? "details")+            Core.<*> (o Core..:? "errorMessage")+            Core.<*> (o Core..:? "executionId" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "jobs")+            Core.<*> (o Core..:? "metricValues")+            Core.<*> (o Core..:? "metricValuesIsNull")+            Core.<*> (o Core..:? "metrics")+            Core.<*> (o Core..:? "modifiedConfigs")+            Core.<*> (o Core..:? "physicalPlanDescription")+            Core.<*> (o Core..:? "rootExecutionId" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> ( o+                         Core..:? "stages"+                         Core.<&> Core.fmap (Core.fmap Core.fromAsText)+                     )+            Core.<*> (o Core..:? "submissionTime")+      )++instance Core.ToJSON SqlExecutionUiData where+  toJSON SqlExecutionUiData {..} =+    Core.object+      ( Core.catMaybes+          [ ("completionTime" Core..=) Core.<$> completionTime,+            ("description" Core..=) Core.<$> description,+            ("details" Core..=) Core.<$> details,+            ("errorMessage" Core..=) Core.<$> errorMessage,+            ("executionId" Core..=) Core.. Core.AsText Core.<$> executionId,+            ("jobs" Core..=) Core.<$> jobs,+            ("metricValues" Core..=) Core.<$> metricValues,+            ("metricValuesIsNull" Core..=) Core.<$> metricValuesIsNull,+            ("metrics" Core..=) Core.<$> metrics,+            ("modifiedConfigs" Core..=) Core.<$> modifiedConfigs,+            ("physicalPlanDescription" Core..=)+              Core.<$> physicalPlanDescription,+            ("rootExecutionId" Core..=)+              Core.. Core.AsText+              Core.<$> rootExecutionId,+            ("stages" Core..=) Core.. Core.fmap Core.AsText Core.<$> stages,+            ("submissionTime" Core..=) Core.<$> submissionTime+          ]+      )++--+-- /See:/ 'newSqlExecutionUiData_Jobs' smart constructor.+newtype SqlExecutionUiData_Jobs = SqlExecutionUiData_Jobs+  { additional :: (Core.HashMap Core.Text SqlExecutionUiData_JobsAdditional)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SqlExecutionUiData_Jobs' with the minimum fields required to make a request.+newSqlExecutionUiData_Jobs ::+  -- |  See 'additional'.+  Core.HashMap Core.Text SqlExecutionUiData_JobsAdditional ->+  SqlExecutionUiData_Jobs+newSqlExecutionUiData_Jobs additional =+  SqlExecutionUiData_Jobs {additional = additional}++instance Core.FromJSON SqlExecutionUiData_Jobs where+  parseJSON =+    Core.withObject+      "SqlExecutionUiData_Jobs"+      (\o -> SqlExecutionUiData_Jobs Core.<$> (Core.parseJSONObject o))++instance Core.ToJSON SqlExecutionUiData_Jobs where+  toJSON SqlExecutionUiData_Jobs {..} = Core.toJSON additional++--+-- /See:/ 'newSqlExecutionUiData_MetricValues' smart constructor.+newtype SqlExecutionUiData_MetricValues = SqlExecutionUiData_MetricValues+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SqlExecutionUiData_MetricValues' with the minimum fields required to make a request.+newSqlExecutionUiData_MetricValues ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  SqlExecutionUiData_MetricValues+newSqlExecutionUiData_MetricValues additional =+  SqlExecutionUiData_MetricValues {additional = additional}++instance Core.FromJSON SqlExecutionUiData_MetricValues where+  parseJSON =+    Core.withObject+      "SqlExecutionUiData_MetricValues"+      ( \o ->+          SqlExecutionUiData_MetricValues Core.<$> (Core.parseJSONObject o)+      )++instance Core.ToJSON SqlExecutionUiData_MetricValues where+  toJSON SqlExecutionUiData_MetricValues {..} = Core.toJSON additional++--+-- /See:/ 'newSqlExecutionUiData_ModifiedConfigs' smart constructor.+newtype SqlExecutionUiData_ModifiedConfigs = SqlExecutionUiData_ModifiedConfigs+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SqlExecutionUiData_ModifiedConfigs' with the minimum fields required to make a request.+newSqlExecutionUiData_ModifiedConfigs ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  SqlExecutionUiData_ModifiedConfigs+newSqlExecutionUiData_ModifiedConfigs additional =+  SqlExecutionUiData_ModifiedConfigs {additional = additional}++instance Core.FromJSON SqlExecutionUiData_ModifiedConfigs where+  parseJSON =+    Core.withObject+      "SqlExecutionUiData_ModifiedConfigs"+      ( \o ->+          SqlExecutionUiData_ModifiedConfigs+            Core.<$> (Core.parseJSONObject o)+      )++instance Core.ToJSON SqlExecutionUiData_ModifiedConfigs where+  toJSON SqlExecutionUiData_ModifiedConfigs {..} =+    Core.toJSON additional++-- | Metrics related to SQL execution.+--+-- /See:/ 'newSqlPlanMetric' smart constructor.+data SqlPlanMetric = SqlPlanMetric+  { accumulatorId :: (Core.Maybe Core.Int64),+    metricType :: (Core.Maybe Core.Text),+    name :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SqlPlanMetric' with the minimum fields required to make a request.+newSqlPlanMetric ::+  SqlPlanMetric+newSqlPlanMetric =+  SqlPlanMetric+    { accumulatorId = Core.Nothing,+      metricType = Core.Nothing,+      name = Core.Nothing+    }++instance Core.FromJSON SqlPlanMetric where+  parseJSON =+    Core.withObject+      "SqlPlanMetric"+      ( \o ->+          SqlPlanMetric+            Core.<$> (o Core..:? "accumulatorId" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "metricType")+            Core.<*> (o Core..:? "name")+      )++instance Core.ToJSON SqlPlanMetric where+  toJSON SqlPlanMetric {..} =+    Core.object+      ( Core.catMaybes+          [ ("accumulatorId" Core..=)+              Core.. Core.AsText+              Core.<$> accumulatorId,+            ("metricType" Core..=) Core.<$> metricType,+            ("name" Core..=) Core.<$> name+          ]+      )++-- | Data related to tasks summary for a Spark Stage Attempt+--+-- /See:/ 'newStageAttemptTasksSummary' smart constructor.+data StageAttemptTasksSummary = StageAttemptTasksSummary+  { applicationId :: (Core.Maybe Core.Text),+    numFailedTasks :: (Core.Maybe Core.Int32),+    numKilledTasks :: (Core.Maybe Core.Int32),+    numPendingTasks :: (Core.Maybe Core.Int32),+    numRunningTasks :: (Core.Maybe Core.Int32),+    numSuccessTasks :: (Core.Maybe Core.Int32),+    numTasks :: (Core.Maybe Core.Int32),+    stageAttemptId :: (Core.Maybe Core.Int32),+    stageId :: (Core.Maybe Core.Int64)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'StageAttemptTasksSummary' with the minimum fields required to make a request.+newStageAttemptTasksSummary ::+  StageAttemptTasksSummary+newStageAttemptTasksSummary =+  StageAttemptTasksSummary+    { applicationId = Core.Nothing,+      numFailedTasks = Core.Nothing,+      numKilledTasks = Core.Nothing,+      numPendingTasks = Core.Nothing,+      numRunningTasks = Core.Nothing,+      numSuccessTasks = Core.Nothing,+      numTasks = Core.Nothing,+      stageAttemptId = Core.Nothing,+      stageId = Core.Nothing+    }++instance Core.FromJSON StageAttemptTasksSummary where+  parseJSON =+    Core.withObject+      "StageAttemptTasksSummary"+      ( \o ->+          StageAttemptTasksSummary+            Core.<$> (o Core..:? "applicationId")+            Core.<*> (o Core..:? "numFailedTasks")+            Core.<*> (o Core..:? "numKilledTasks")+            Core.<*> (o Core..:? "numPendingTasks")+            Core.<*> (o Core..:? "numRunningTasks")+            Core.<*> (o Core..:? "numSuccessTasks")+            Core.<*> (o Core..:? "numTasks")+            Core.<*> (o Core..:? "stageAttemptId")+            Core.<*> (o Core..:? "stageId" Core.<&> Core.fmap Core.fromAsText)+      )++instance Core.ToJSON StageAttemptTasksSummary where+  toJSON StageAttemptTasksSummary {..} =+    Core.object+      ( Core.catMaybes+          [ ("applicationId" Core..=) Core.<$> applicationId,+            ("numFailedTasks" Core..=) Core.<$> numFailedTasks,+            ("numKilledTasks" Core..=) Core.<$> numKilledTasks,+            ("numPendingTasks" Core..=) Core.<$> numPendingTasks,+            ("numRunningTasks" Core..=) Core.<$> numRunningTasks,+            ("numSuccessTasks" Core..=) Core.<$> numSuccessTasks,+            ("numTasks" Core..=) Core.<$> numTasks,+            ("stageAttemptId" Core..=) Core.<$> stageAttemptId,+            ("stageId" Core..=) Core.. Core.AsText Core.<$> stageId+          ]+      )++-- | Data corresponding to a stage.+--+-- /See:/ 'newStageData' smart constructor.+data StageData = StageData+  { accumulatorUpdates :: (Core.Maybe [AccumulableInfo]),+    completionTime :: (Core.Maybe Core.DateTime),+    description :: (Core.Maybe Core.Text),+    details :: (Core.Maybe Core.Text),+    executorMetricsDistributions :: (Core.Maybe ExecutorMetricsDistributions),+    executorSummary :: (Core.Maybe StageData_ExecutorSummary),+    failureReason :: (Core.Maybe Core.Text),+    firstTaskLaunchedTime :: (Core.Maybe Core.DateTime),+    isShufflePushEnabled :: (Core.Maybe Core.Bool),+    jobIds :: (Core.Maybe [Core.Int64]),+    killedTasksSummary :: (Core.Maybe StageData_KilledTasksSummary),+    locality :: (Core.Maybe StageData_Locality),+    name :: (Core.Maybe Core.Text),+    numActiveTasks :: (Core.Maybe Core.Int32),+    numCompleteTasks :: (Core.Maybe Core.Int32),+    numCompletedIndices :: (Core.Maybe Core.Int32),+    numFailedTasks :: (Core.Maybe Core.Int32),+    numKilledTasks :: (Core.Maybe Core.Int32),+    numTasks :: (Core.Maybe Core.Int32),+    parentStageIds :: (Core.Maybe [Core.Int64]),+    peakExecutorMetrics :: (Core.Maybe ExecutorMetrics),+    rddIds :: (Core.Maybe [Core.Int64]),+    resourceProfileId :: (Core.Maybe Core.Int32),+    schedulingPool :: (Core.Maybe Core.Text),+    shuffleMergersCount :: (Core.Maybe Core.Int32),+    speculationSummary :: (Core.Maybe SpeculationStageSummary),+    stageAttemptId :: (Core.Maybe Core.Int32),+    stageId :: (Core.Maybe Core.Int64),+    stageMetrics :: (Core.Maybe StageMetrics),+    status :: (Core.Maybe StageData_Status),+    submissionTime :: (Core.Maybe Core.DateTime),+    -- | Summary metrics fields. These are included in response only if present in summary/metrics/mask field in request+    taskQuantileMetrics :: (Core.Maybe TaskQuantileMetrics),+    tasks :: (Core.Maybe StageData_Tasks)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'StageData' with the minimum fields required to make a request.+newStageData ::+  StageData+newStageData =+  StageData+    { accumulatorUpdates = Core.Nothing,+      completionTime = Core.Nothing,+      description = Core.Nothing,+      details = Core.Nothing,+      executorMetricsDistributions = Core.Nothing,+      executorSummary = Core.Nothing,+      failureReason = Core.Nothing,+      firstTaskLaunchedTime = Core.Nothing,+      isShufflePushEnabled = Core.Nothing,+      jobIds = Core.Nothing,+      killedTasksSummary = Core.Nothing,+      locality = Core.Nothing,+      name = Core.Nothing,+      numActiveTasks = Core.Nothing,+      numCompleteTasks = Core.Nothing,+      numCompletedIndices = Core.Nothing,+      numFailedTasks = Core.Nothing,+      numKilledTasks = Core.Nothing,+      numTasks = Core.Nothing,+      parentStageIds = Core.Nothing,+      peakExecutorMetrics = Core.Nothing,+      rddIds = Core.Nothing,+      resourceProfileId = Core.Nothing,+      schedulingPool = Core.Nothing,+      shuffleMergersCount = Core.Nothing,+      speculationSummary = Core.Nothing,+      stageAttemptId = Core.Nothing,+      stageId = Core.Nothing,+      stageMetrics = Core.Nothing,+      status = Core.Nothing,+      submissionTime = Core.Nothing,+      taskQuantileMetrics = Core.Nothing,+      tasks = Core.Nothing+    }++instance Core.FromJSON StageData where+  parseJSON =+    Core.withObject+      "StageData"+      ( \o ->+          StageData+            Core.<$> (o Core..:? "accumulatorUpdates")+            Core.<*> (o Core..:? "completionTime")+            Core.<*> (o Core..:? "description")+            Core.<*> (o Core..:? "details")+            Core.<*> (o Core..:? "executorMetricsDistributions")+            Core.<*> (o Core..:? "executorSummary")+            Core.<*> (o Core..:? "failureReason")+            Core.<*> (o Core..:? "firstTaskLaunchedTime")+            Core.<*> (o Core..:? "isShufflePushEnabled")+            Core.<*> ( o+                         Core..:? "jobIds"+                         Core.<&> Core.fmap (Core.fmap Core.fromAsText)+                     )+            Core.<*> (o Core..:? "killedTasksSummary")+            Core.<*> (o Core..:? "locality")+            Core.<*> (o Core..:? "name")+            Core.<*> (o Core..:? "numActiveTasks")+            Core.<*> (o Core..:? "numCompleteTasks")+            Core.<*> (o Core..:? "numCompletedIndices")+            Core.<*> (o Core..:? "numFailedTasks")+            Core.<*> (o Core..:? "numKilledTasks")+            Core.<*> (o Core..:? "numTasks")+            Core.<*> ( o+                         Core..:? "parentStageIds"+                         Core.<&> Core.fmap (Core.fmap Core.fromAsText)+                     )+            Core.<*> (o Core..:? "peakExecutorMetrics")+            Core.<*> ( o+                         Core..:? "rddIds"+                         Core.<&> Core.fmap (Core.fmap Core.fromAsText)+                     )+            Core.<*> (o Core..:? "resourceProfileId")+            Core.<*> (o Core..:? "schedulingPool")+            Core.<*> (o Core..:? "shuffleMergersCount")+            Core.<*> (o Core..:? "speculationSummary")+            Core.<*> (o Core..:? "stageAttemptId")+            Core.<*> (o Core..:? "stageId" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "stageMetrics")+            Core.<*> (o Core..:? "status")+            Core.<*> (o Core..:? "submissionTime")+            Core.<*> (o Core..:? "taskQuantileMetrics")+            Core.<*> (o Core..:? "tasks")+      )++instance Core.ToJSON StageData where+  toJSON StageData {..} =+    Core.object+      ( Core.catMaybes+          [ ("accumulatorUpdates" Core..=) Core.<$> accumulatorUpdates,+            ("completionTime" Core..=) Core.<$> completionTime,+            ("description" Core..=) Core.<$> description,+            ("details" Core..=) Core.<$> details,+            ("executorMetricsDistributions" Core..=)+              Core.<$> executorMetricsDistributions,+            ("executorSummary" Core..=) Core.<$> executorSummary,+            ("failureReason" Core..=) Core.<$> failureReason,+            ("firstTaskLaunchedTime" Core..=) Core.<$> firstTaskLaunchedTime,+            ("isShufflePushEnabled" Core..=) Core.<$> isShufflePushEnabled,+            ("jobIds" Core..=) Core.. Core.fmap Core.AsText Core.<$> jobIds,+            ("killedTasksSummary" Core..=) Core.<$> killedTasksSummary,+            ("locality" Core..=) Core.<$> locality,+            ("name" Core..=) Core.<$> name,+            ("numActiveTasks" Core..=) Core.<$> numActiveTasks,+            ("numCompleteTasks" Core..=) Core.<$> numCompleteTasks,+            ("numCompletedIndices" Core..=) Core.<$> numCompletedIndices,+            ("numFailedTasks" Core..=) Core.<$> numFailedTasks,+            ("numKilledTasks" Core..=) Core.<$> numKilledTasks,+            ("numTasks" Core..=) Core.<$> numTasks,+            ("parentStageIds" Core..=)+              Core.. Core.fmap Core.AsText+              Core.<$> parentStageIds,+            ("peakExecutorMetrics" Core..=) Core.<$> peakExecutorMetrics,+            ("rddIds" Core..=) Core.. Core.fmap Core.AsText Core.<$> rddIds,+            ("resourceProfileId" Core..=) Core.<$> resourceProfileId,+            ("schedulingPool" Core..=) Core.<$> schedulingPool,+            ("shuffleMergersCount" Core..=) Core.<$> shuffleMergersCount,+            ("speculationSummary" Core..=) Core.<$> speculationSummary,+            ("stageAttemptId" Core..=) Core.<$> stageAttemptId,+            ("stageId" Core..=) Core.. Core.AsText Core.<$> stageId,+            ("stageMetrics" Core..=) Core.<$> stageMetrics,+            ("status" Core..=) Core.<$> status,+            ("submissionTime" Core..=) Core.<$> submissionTime,+            ("taskQuantileMetrics" Core..=) Core.<$> taskQuantileMetrics,+            ("tasks" Core..=) Core.<$> tasks+          ]+      )++--+-- /See:/ 'newStageData_ExecutorSummary' smart constructor.+newtype StageData_ExecutorSummary = StageData_ExecutorSummary+  { additional :: (Core.HashMap Core.Text ExecutorStageSummary)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'StageData_ExecutorSummary' with the minimum fields required to make a request.+newStageData_ExecutorSummary ::+  -- |  See 'additional'.+  Core.HashMap Core.Text ExecutorStageSummary ->+  StageData_ExecutorSummary+newStageData_ExecutorSummary additional =+  StageData_ExecutorSummary {additional = additional}++instance Core.FromJSON StageData_ExecutorSummary where+  parseJSON =+    Core.withObject+      "StageData_ExecutorSummary"+      ( \o ->+          StageData_ExecutorSummary Core.<$> (Core.parseJSONObject o)+      )++instance Core.ToJSON StageData_ExecutorSummary where+  toJSON StageData_ExecutorSummary {..} = Core.toJSON additional++--+-- /See:/ 'newStageData_KilledTasksSummary' smart constructor.+newtype StageData_KilledTasksSummary = StageData_KilledTasksSummary+  { additional :: (Core.HashMap Core.Text Core.Int32)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'StageData_KilledTasksSummary' with the minimum fields required to make a request.+newStageData_KilledTasksSummary ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Int32 ->+  StageData_KilledTasksSummary+newStageData_KilledTasksSummary additional =+  StageData_KilledTasksSummary {additional = additional}++instance Core.FromJSON StageData_KilledTasksSummary where+  parseJSON =+    Core.withObject+      "StageData_KilledTasksSummary"+      ( \o ->+          StageData_KilledTasksSummary Core.<$> (Core.parseJSONObject o)+      )++instance Core.ToJSON StageData_KilledTasksSummary where+  toJSON StageData_KilledTasksSummary {..} = Core.toJSON additional++--+-- /See:/ 'newStageData_Locality' smart constructor.+newtype StageData_Locality = StageData_Locality+  { additional :: (Core.HashMap Core.Text Core.Int64)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'StageData_Locality' with the minimum fields required to make a request.+newStageData_Locality ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Int64 ->+  StageData_Locality+newStageData_Locality additional =+  StageData_Locality {additional = additional}++instance Core.FromJSON StageData_Locality where+  parseJSON =+    Core.withObject+      "StageData_Locality"+      (\o -> StageData_Locality Core.<$> (Core.parseJSONObject o))++instance Core.ToJSON StageData_Locality where+  toJSON StageData_Locality {..} = Core.toJSON additional++--+-- /See:/ 'newStageData_Tasks' smart constructor.+newtype StageData_Tasks = StageData_Tasks+  { additional :: (Core.HashMap Core.Text TaskData)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'StageData_Tasks' with the minimum fields required to make a request.+newStageData_Tasks ::+  -- |  See 'additional'.+  Core.HashMap Core.Text TaskData ->+  StageData_Tasks+newStageData_Tasks additional =+  StageData_Tasks {additional = additional}++instance Core.FromJSON StageData_Tasks where+  parseJSON =+    Core.withObject+      "StageData_Tasks"+      (\o -> StageData_Tasks Core.<$> (Core.parseJSONObject o))++instance Core.ToJSON StageData_Tasks where+  toJSON StageData_Tasks {..} = Core.toJSON additional++-- | Metrics about the input read by the stage.+--+-- /See:/ 'newStageInputMetrics' smart constructor.+data StageInputMetrics = StageInputMetrics+  { bytesRead :: (Core.Maybe Core.Int64),+    recordsRead :: (Core.Maybe Core.Int64)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'StageInputMetrics' with the minimum fields required to make a request.+newStageInputMetrics ::+  StageInputMetrics+newStageInputMetrics =+  StageInputMetrics+    { bytesRead = Core.Nothing,+      recordsRead = Core.Nothing+    }++instance Core.FromJSON StageInputMetrics where+  parseJSON =+    Core.withObject+      "StageInputMetrics"+      ( \o ->+          StageInputMetrics+            Core.<$> (o Core..:? "bytesRead" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "recordsRead" Core.<&> Core.fmap Core.fromAsText)+      )++instance Core.ToJSON StageInputMetrics where+  toJSON StageInputMetrics {..} =+    Core.object+      ( Core.catMaybes+          [ ("bytesRead" Core..=) Core.. Core.AsText Core.<$> bytesRead,+            ("recordsRead" Core..=) Core.. Core.AsText Core.<$> recordsRead+          ]+      )++-- | Stage Level Aggregated Metrics+--+-- /See:/ 'newStageMetrics' smart constructor.+data StageMetrics = StageMetrics+  { diskBytesSpilled :: (Core.Maybe Core.Int64),+    executorCpuTimeNanos :: (Core.Maybe Core.Int64),+    executorDeserializeCpuTimeNanos :: (Core.Maybe Core.Int64),+    executorDeserializeTimeMillis :: (Core.Maybe Core.Int64),+    executorRunTimeMillis :: (Core.Maybe Core.Int64),+    jvmGcTimeMillis :: (Core.Maybe Core.Int64),+    memoryBytesSpilled :: (Core.Maybe Core.Int64),+    peakExecutionMemoryBytes :: (Core.Maybe Core.Int64),+    resultSerializationTimeMillis :: (Core.Maybe Core.Int64),+    resultSize :: (Core.Maybe Core.Int64),+    stageInputMetrics :: (Core.Maybe StageInputMetrics),+    stageOutputMetrics :: (Core.Maybe StageOutputMetrics),+    stageShuffleReadMetrics :: (Core.Maybe StageShuffleReadMetrics),+    stageShuffleWriteMetrics :: (Core.Maybe StageShuffleWriteMetrics)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'StageMetrics' with the minimum fields required to make a request.+newStageMetrics ::+  StageMetrics+newStageMetrics =+  StageMetrics+    { diskBytesSpilled = Core.Nothing,+      executorCpuTimeNanos = Core.Nothing,+      executorDeserializeCpuTimeNanos = Core.Nothing,+      executorDeserializeTimeMillis = Core.Nothing,+      executorRunTimeMillis = Core.Nothing,+      jvmGcTimeMillis = Core.Nothing,+      memoryBytesSpilled = Core.Nothing,+      peakExecutionMemoryBytes = Core.Nothing,+      resultSerializationTimeMillis = Core.Nothing,+      resultSize = Core.Nothing,+      stageInputMetrics = Core.Nothing,+      stageOutputMetrics = Core.Nothing,+      stageShuffleReadMetrics = Core.Nothing,+      stageShuffleWriteMetrics = Core.Nothing+    }++instance Core.FromJSON StageMetrics where+  parseJSON =+    Core.withObject+      "StageMetrics"+      ( \o ->+          StageMetrics+            Core.<$> (o Core..:? "diskBytesSpilled" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> ( o+                         Core..:? "executorCpuTimeNanos"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> ( o+                         Core..:? "executorDeserializeCpuTimeNanos"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> ( o+                         Core..:? "executorDeserializeTimeMillis"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> ( o+                         Core..:? "executorRunTimeMillis"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> (o Core..:? "jvmGcTimeMillis" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> ( o+                         Core..:? "memoryBytesSpilled"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> ( o+                         Core..:? "peakExecutionMemoryBytes"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> ( o+                         Core..:? "resultSerializationTimeMillis"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> (o Core..:? "resultSize" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "stageInputMetrics")+            Core.<*> (o Core..:? "stageOutputMetrics")+            Core.<*> (o Core..:? "stageShuffleReadMetrics")+            Core.<*> (o Core..:? "stageShuffleWriteMetrics")+      )++instance Core.ToJSON StageMetrics where+  toJSON StageMetrics {..} =+    Core.object+      ( Core.catMaybes+          [ ("diskBytesSpilled" Core..=)+              Core.. Core.AsText+              Core.<$> diskBytesSpilled,+            ("executorCpuTimeNanos" Core..=)+              Core.. Core.AsText+              Core.<$> executorCpuTimeNanos,+            ("executorDeserializeCpuTimeNanos" Core..=)+              Core.. Core.AsText+              Core.<$> executorDeserializeCpuTimeNanos,+            ("executorDeserializeTimeMillis" Core..=)+              Core.. Core.AsText+              Core.<$> executorDeserializeTimeMillis,+            ("executorRunTimeMillis" Core..=)+              Core.. Core.AsText+              Core.<$> executorRunTimeMillis,+            ("jvmGcTimeMillis" Core..=)+              Core.. Core.AsText+              Core.<$> jvmGcTimeMillis,+            ("memoryBytesSpilled" Core..=)+              Core.. Core.AsText+              Core.<$> memoryBytesSpilled,+            ("peakExecutionMemoryBytes" Core..=)+              Core.. Core.AsText+              Core.<$> peakExecutionMemoryBytes,+            ("resultSerializationTimeMillis" Core..=)+              Core.. Core.AsText+              Core.<$> resultSerializationTimeMillis,+            ("resultSize" Core..=) Core.. Core.AsText Core.<$> resultSize,+            ("stageInputMetrics" Core..=) Core.<$> stageInputMetrics,+            ("stageOutputMetrics" Core..=) Core.<$> stageOutputMetrics,+            ("stageShuffleReadMetrics" Core..=)+              Core.<$> stageShuffleReadMetrics,+            ("stageShuffleWriteMetrics" Core..=)+              Core.<$> stageShuffleWriteMetrics+          ]+      )++-- | Metrics about the output written by the stage.+--+-- /See:/ 'newStageOutputMetrics' smart constructor.+data StageOutputMetrics = StageOutputMetrics+  { bytesWritten :: (Core.Maybe Core.Int64),+    recordsWritten :: (Core.Maybe Core.Int64)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'StageOutputMetrics' with the minimum fields required to make a request.+newStageOutputMetrics ::+  StageOutputMetrics+newStageOutputMetrics =+  StageOutputMetrics+    { bytesWritten = Core.Nothing,+      recordsWritten = Core.Nothing+    }++instance Core.FromJSON StageOutputMetrics where+  parseJSON =+    Core.withObject+      "StageOutputMetrics"+      ( \o ->+          StageOutputMetrics+            Core.<$> (o Core..:? "bytesWritten" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "recordsWritten" Core.<&> Core.fmap Core.fromAsText)+      )++instance Core.ToJSON StageOutputMetrics where+  toJSON StageOutputMetrics {..} =+    Core.object+      ( Core.catMaybes+          [ ("bytesWritten" Core..=) Core.. Core.AsText Core.<$> bytesWritten,+            ("recordsWritten" Core..=)+              Core.. Core.AsText+              Core.<$> recordsWritten+          ]+      )++--+-- /See:/ 'newStageShufflePushReadMetrics' smart constructor.+data StageShufflePushReadMetrics = StageShufflePushReadMetrics+  { corruptMergedBlockChunks :: (Core.Maybe Core.Int64),+    localMergedBlocksFetched :: (Core.Maybe Core.Int64),+    localMergedBytesRead :: (Core.Maybe Core.Int64),+    localMergedChunksFetched :: (Core.Maybe Core.Int64),+    mergedFetchFallbackCount :: (Core.Maybe Core.Int64),+    remoteMergedBlocksFetched :: (Core.Maybe Core.Int64),+    remoteMergedBytesRead :: (Core.Maybe Core.Int64),+    remoteMergedChunksFetched :: (Core.Maybe Core.Int64),+    remoteMergedReqsDuration :: (Core.Maybe Core.Int64)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'StageShufflePushReadMetrics' with the minimum fields required to make a request.+newStageShufflePushReadMetrics ::+  StageShufflePushReadMetrics+newStageShufflePushReadMetrics =+  StageShufflePushReadMetrics+    { corruptMergedBlockChunks =+        Core.Nothing,+      localMergedBlocksFetched = Core.Nothing,+      localMergedBytesRead = Core.Nothing,+      localMergedChunksFetched = Core.Nothing,+      mergedFetchFallbackCount = Core.Nothing,+      remoteMergedBlocksFetched = Core.Nothing,+      remoteMergedBytesRead = Core.Nothing,+      remoteMergedChunksFetched = Core.Nothing,+      remoteMergedReqsDuration = Core.Nothing+    }++instance Core.FromJSON StageShufflePushReadMetrics where+  parseJSON =+    Core.withObject+      "StageShufflePushReadMetrics"+      ( \o ->+          StageShufflePushReadMetrics+            Core.<$> ( o+                         Core..:? "corruptMergedBlockChunks"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> ( o+                         Core..:? "localMergedBlocksFetched"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> ( o+                         Core..:? "localMergedBytesRead"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> ( o+                         Core..:? "localMergedChunksFetched"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> ( o+                         Core..:? "mergedFetchFallbackCount"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> ( o+                         Core..:? "remoteMergedBlocksFetched"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> ( o+                         Core..:? "remoteMergedBytesRead"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> ( o+                         Core..:? "remoteMergedChunksFetched"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> ( o+                         Core..:? "remoteMergedReqsDuration"+                         Core.<&> Core.fmap Core.fromAsText+                     )+      )++instance Core.ToJSON StageShufflePushReadMetrics where+  toJSON StageShufflePushReadMetrics {..} =+    Core.object+      ( Core.catMaybes+          [ ("corruptMergedBlockChunks" Core..=)+              Core.. Core.AsText+              Core.<$> corruptMergedBlockChunks,+            ("localMergedBlocksFetched" Core..=)+              Core.. Core.AsText+              Core.<$> localMergedBlocksFetched,+            ("localMergedBytesRead" Core..=)+              Core.. Core.AsText+              Core.<$> localMergedBytesRead,+            ("localMergedChunksFetched" Core..=)+              Core.. Core.AsText+              Core.<$> localMergedChunksFetched,+            ("mergedFetchFallbackCount" Core..=)+              Core.. Core.AsText+              Core.<$> mergedFetchFallbackCount,+            ("remoteMergedBlocksFetched" Core..=)+              Core.. Core.AsText+              Core.<$> remoteMergedBlocksFetched,+            ("remoteMergedBytesRead" Core..=)+              Core.. Core.AsText+              Core.<$> remoteMergedBytesRead,+            ("remoteMergedChunksFetched" Core..=)+              Core.. Core.AsText+              Core.<$> remoteMergedChunksFetched,+            ("remoteMergedReqsDuration" Core..=)+              Core.. Core.AsText+              Core.<$> remoteMergedReqsDuration+          ]+      )++-- | Shuffle data read for the stage.+--+-- /See:/ 'newStageShuffleReadMetrics' smart constructor.+data StageShuffleReadMetrics = StageShuffleReadMetrics+  { bytesRead :: (Core.Maybe Core.Int64),+    fetchWaitTimeMillis :: (Core.Maybe Core.Int64),+    localBlocksFetched :: (Core.Maybe Core.Int64),+    localBytesRead :: (Core.Maybe Core.Int64),+    recordsRead :: (Core.Maybe Core.Int64),+    remoteBlocksFetched :: (Core.Maybe Core.Int64),+    remoteBytesRead :: (Core.Maybe Core.Int64),+    remoteBytesReadToDisk :: (Core.Maybe Core.Int64),+    remoteReqsDuration :: (Core.Maybe Core.Int64),+    stageShufflePushReadMetrics :: (Core.Maybe StageShufflePushReadMetrics)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'StageShuffleReadMetrics' with the minimum fields required to make a request.+newStageShuffleReadMetrics ::+  StageShuffleReadMetrics+newStageShuffleReadMetrics =+  StageShuffleReadMetrics+    { bytesRead = Core.Nothing,+      fetchWaitTimeMillis = Core.Nothing,+      localBlocksFetched = Core.Nothing,+      localBytesRead = Core.Nothing,+      recordsRead = Core.Nothing,+      remoteBlocksFetched = Core.Nothing,+      remoteBytesRead = Core.Nothing,+      remoteBytesReadToDisk = Core.Nothing,+      remoteReqsDuration = Core.Nothing,+      stageShufflePushReadMetrics = Core.Nothing+    }++instance Core.FromJSON StageShuffleReadMetrics where+  parseJSON =+    Core.withObject+      "StageShuffleReadMetrics"+      ( \o ->+          StageShuffleReadMetrics+            Core.<$> (o Core..:? "bytesRead" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> ( o+                         Core..:? "fetchWaitTimeMillis"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> ( o+                         Core..:? "localBlocksFetched"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> (o Core..:? "localBytesRead" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "recordsRead" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> ( o+                         Core..:? "remoteBlocksFetched"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> (o Core..:? "remoteBytesRead" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> ( o+                         Core..:? "remoteBytesReadToDisk"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> ( o+                         Core..:? "remoteReqsDuration"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> (o Core..:? "stageShufflePushReadMetrics")+      )++instance Core.ToJSON StageShuffleReadMetrics where+  toJSON StageShuffleReadMetrics {..} =+    Core.object+      ( Core.catMaybes+          [ ("bytesRead" Core..=) Core.. Core.AsText Core.<$> bytesRead,+            ("fetchWaitTimeMillis" Core..=)+              Core.. Core.AsText+              Core.<$> fetchWaitTimeMillis,+            ("localBlocksFetched" Core..=)+              Core.. Core.AsText+              Core.<$> localBlocksFetched,+            ("localBytesRead" Core..=)+              Core.. Core.AsText+              Core.<$> localBytesRead,+            ("recordsRead" Core..=) Core.. Core.AsText Core.<$> recordsRead,+            ("remoteBlocksFetched" Core..=)+              Core.. Core.AsText+              Core.<$> remoteBlocksFetched,+            ("remoteBytesRead" Core..=)+              Core.. Core.AsText+              Core.<$> remoteBytesRead,+            ("remoteBytesReadToDisk" Core..=)+              Core.. Core.AsText+              Core.<$> remoteBytesReadToDisk,+            ("remoteReqsDuration" Core..=)+              Core.. Core.AsText+              Core.<$> remoteReqsDuration,+            ("stageShufflePushReadMetrics" Core..=)+              Core.<$> stageShufflePushReadMetrics+          ]+      )++-- | Shuffle data written for the stage.+--+-- /See:/ 'newStageShuffleWriteMetrics' smart constructor.+data StageShuffleWriteMetrics = StageShuffleWriteMetrics+  { bytesWritten :: (Core.Maybe Core.Int64),+    recordsWritten :: (Core.Maybe Core.Int64),+    writeTimeNanos :: (Core.Maybe Core.Int64)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'StageShuffleWriteMetrics' with the minimum fields required to make a request.+newStageShuffleWriteMetrics ::+  StageShuffleWriteMetrics+newStageShuffleWriteMetrics =+  StageShuffleWriteMetrics+    { bytesWritten = Core.Nothing,+      recordsWritten = Core.Nothing,+      writeTimeNanos = Core.Nothing+    }++instance Core.FromJSON StageShuffleWriteMetrics where+  parseJSON =+    Core.withObject+      "StageShuffleWriteMetrics"+      ( \o ->+          StageShuffleWriteMetrics+            Core.<$> (o Core..:? "bytesWritten" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "recordsWritten" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "writeTimeNanos" Core.<&> Core.fmap Core.fromAsText)+      )++instance Core.ToJSON StageShuffleWriteMetrics where+  toJSON StageShuffleWriteMetrics {..} =+    Core.object+      ( Core.catMaybes+          [ ("bytesWritten" Core..=) Core.. Core.AsText Core.<$> bytesWritten,+            ("recordsWritten" Core..=)+              Core.. Core.AsText+              Core.<$> recordsWritten,+            ("writeTimeNanos" Core..=)+              Core.. Core.AsText+              Core.<$> writeTimeNanos+          ]+      )++-- | Data related to Stages page summary+--+-- /See:/ 'newStagesSummary' smart constructor.+data StagesSummary = StagesSummary+  { applicationId :: (Core.Maybe Core.Text),+    numActiveStages :: (Core.Maybe Core.Int32),+    numCompletedStages :: (Core.Maybe Core.Int32),+    numFailedStages :: (Core.Maybe Core.Int32),+    numPendingStages :: (Core.Maybe Core.Int32),+    numSkippedStages :: (Core.Maybe Core.Int32)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'StagesSummary' with the minimum fields required to make a request.+newStagesSummary ::+  StagesSummary+newStagesSummary =+  StagesSummary+    { applicationId = Core.Nothing,+      numActiveStages = Core.Nothing,+      numCompletedStages = Core.Nothing,+      numFailedStages = Core.Nothing,+      numPendingStages = Core.Nothing,+      numSkippedStages = Core.Nothing+    }++instance Core.FromJSON StagesSummary where+  parseJSON =+    Core.withObject+      "StagesSummary"+      ( \o ->+          StagesSummary+            Core.<$> (o Core..:? "applicationId")+            Core.<*> (o Core..:? "numActiveStages")+            Core.<*> (o Core..:? "numCompletedStages")+            Core.<*> (o Core..:? "numFailedStages")+            Core.<*> (o Core..:? "numPendingStages")+            Core.<*> (o Core..:? "numSkippedStages")+      )++instance Core.ToJSON StagesSummary where+  toJSON StagesSummary {..} =+    Core.object+      ( Core.catMaybes+          [ ("applicationId" Core..=) Core.<$> applicationId,+            ("numActiveStages" Core..=) Core.<$> numActiveStages,+            ("numCompletedStages" Core..=) Core.<$> numCompletedStages,+            ("numFailedStages" Core..=) Core.<$> numFailedStages,+            ("numPendingStages" Core..=) Core.<$> numPendingStages,+            ("numSkippedStages" Core..=) Core.<$> numSkippedStages+          ]+      )++-- | A request to start a cluster.+--+-- /See:/ 'newStartClusterRequest' smart constructor.+data StartClusterRequest = StartClusterRequest+  { -- | Optional. Specifying the cluster/uuid means the RPC will fail (with error NOT/FOUND) if a cluster with the specified UUID does not exist.+    clusterUuid :: (Core.Maybe Core.Text),+    -- | Optional. A unique ID used to identify the request. If the server receives two StartClusterRequest (https:\/\/cloud.google.com\/dataproc\/docs\/reference\/rpc\/google.cloud.dataproc.v1#google.cloud.dataproc.v1.StartClusterRequest)s with the same id, then the second request will be ignored and the first google.longrunning.Operation created and stored in the backend is returned.Recommendation: Set this value to a UUID (https:\/\/en.wikipedia.org\/wiki\/Universally/unique/identifier).The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.+    requestId :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'StartClusterRequest' with the minimum fields required to make a request.+newStartClusterRequest ::+  StartClusterRequest+newStartClusterRequest =+  StartClusterRequest+    { clusterUuid = Core.Nothing,+      requestId = Core.Nothing+    }++instance Core.FromJSON StartClusterRequest where+  parseJSON =+    Core.withObject+      "StartClusterRequest"+      ( \o ->+          StartClusterRequest+            Core.<$> (o Core..:? "clusterUuid")+            Core.<*> (o Core..:? "requestId")+      )++instance Core.ToJSON StartClusterRequest where+  toJSON StartClusterRequest {..} =+    Core.object+      ( Core.catMaybes+          [ ("clusterUuid" Core..=) Core.<$> clusterUuid,+            ("requestId" Core..=) Core.<$> requestId+          ]+      )++-- | Configuration to handle the startup of instances during cluster create and update process.+--+-- /See:/ 'newStartupConfig' smart constructor.+newtype StartupConfig = StartupConfig+  { -- | Optional. The config setting to enable cluster creation\/ updation to be successful only after required/registration/fraction of instances are up and running. This configuration is applicable to only secondary workers for now. The cluster will fail if required/registration/fraction of instances are not available. This will include instance creation, agent registration, and service registration (if enabled).+    requiredRegistrationFraction :: (Core.Maybe Core.Double)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'StartupConfig' with the minimum fields required to make a request.+newStartupConfig ::+  StartupConfig+newStartupConfig =+  StartupConfig {requiredRegistrationFraction = Core.Nothing}++instance Core.FromJSON StartupConfig where+  parseJSON =+    Core.withObject+      "StartupConfig"+      ( \o ->+          StartupConfig Core.<$> (o Core..:? "requiredRegistrationFraction")+      )++instance Core.ToJSON StartupConfig where+  toJSON StartupConfig {..} =+    Core.object+      ( Core.catMaybes+          [ ("requiredRegistrationFraction" Core..=)+              Core.<$> requiredRegistrationFraction+          ]+      )++-- | Historical state information.+--+-- /See:/ 'newStateHistory' smart constructor.+data StateHistory = StateHistory+  { -- | Output only. The state of the batch at this point in history.+    state :: (Core.Maybe StateHistory_State),+    -- | Output only. Details about the state at this point in history.+    stateMessage :: (Core.Maybe Core.Text),+    -- | Output only. The time when the batch entered the historical state.+    stateStartTime :: (Core.Maybe Core.DateTime)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'StateHistory' with the minimum fields required to make a request.+newStateHistory ::+  StateHistory+newStateHistory =+  StateHistory+    { state = Core.Nothing,+      stateMessage = Core.Nothing,+      stateStartTime = Core.Nothing+    }++instance Core.FromJSON StateHistory where+  parseJSON =+    Core.withObject+      "StateHistory"+      ( \o ->+          StateHistory+            Core.<$> (o Core..:? "state")+            Core.<*> (o Core..:? "stateMessage")+            Core.<*> (o Core..:? "stateStartTime")+      )++instance Core.ToJSON StateHistory where+  toJSON StateHistory {..} =+    Core.object+      ( Core.catMaybes+          [ ("state" Core..=) Core.<$> state,+            ("stateMessage" Core..=) Core.<$> stateMessage,+            ("stateStartTime" Core..=) Core.<$> stateStartTime+          ]+      )++--+-- /See:/ 'newStateOperatorProgress' smart constructor.+data StateOperatorProgress = StateOperatorProgress+  { allRemovalsTimeMs :: (Core.Maybe Core.Int64),+    allUpdatesTimeMs :: (Core.Maybe Core.Int64),+    commitTimeMs :: (Core.Maybe Core.Int64),+    customMetrics :: (Core.Maybe StateOperatorProgress_CustomMetrics),+    memoryUsedBytes :: (Core.Maybe Core.Int64),+    numRowsDroppedByWatermark :: (Core.Maybe Core.Int64),+    numRowsRemoved :: (Core.Maybe Core.Int64),+    numRowsTotal :: (Core.Maybe Core.Int64),+    numRowsUpdated :: (Core.Maybe Core.Int64),+    numShufflePartitions :: (Core.Maybe Core.Int64),+    numStateStoreInstances :: (Core.Maybe Core.Int64),+    operatorName :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'StateOperatorProgress' with the minimum fields required to make a request.+newStateOperatorProgress ::+  StateOperatorProgress+newStateOperatorProgress =+  StateOperatorProgress+    { allRemovalsTimeMs = Core.Nothing,+      allUpdatesTimeMs = Core.Nothing,+      commitTimeMs = Core.Nothing,+      customMetrics = Core.Nothing,+      memoryUsedBytes = Core.Nothing,+      numRowsDroppedByWatermark = Core.Nothing,+      numRowsRemoved = Core.Nothing,+      numRowsTotal = Core.Nothing,+      numRowsUpdated = Core.Nothing,+      numShufflePartitions = Core.Nothing,+      numStateStoreInstances = Core.Nothing,+      operatorName = Core.Nothing+    }++instance Core.FromJSON StateOperatorProgress where+  parseJSON =+    Core.withObject+      "StateOperatorProgress"+      ( \o ->+          StateOperatorProgress+            Core.<$> (o Core..:? "allRemovalsTimeMs" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "allUpdatesTimeMs" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "commitTimeMs" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "customMetrics")+            Core.<*> (o Core..:? "memoryUsedBytes" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> ( o+                         Core..:? "numRowsDroppedByWatermark"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> (o Core..:? "numRowsRemoved" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "numRowsTotal" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "numRowsUpdated" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> ( o+                         Core..:? "numShufflePartitions"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> ( o+                         Core..:? "numStateStoreInstances"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> (o Core..:? "operatorName")+      )++instance Core.ToJSON StateOperatorProgress where+  toJSON StateOperatorProgress {..} =+    Core.object+      ( Core.catMaybes+          [ ("allRemovalsTimeMs" Core..=)+              Core.. Core.AsText+              Core.<$> allRemovalsTimeMs,+            ("allUpdatesTimeMs" Core..=)+              Core.. Core.AsText+              Core.<$> allUpdatesTimeMs,+            ("commitTimeMs" Core..=) Core.. Core.AsText Core.<$> commitTimeMs,+            ("customMetrics" Core..=) Core.<$> customMetrics,+            ("memoryUsedBytes" Core..=)+              Core.. Core.AsText+              Core.<$> memoryUsedBytes,+            ("numRowsDroppedByWatermark" Core..=)+              Core.. Core.AsText+              Core.<$> numRowsDroppedByWatermark,+            ("numRowsRemoved" Core..=)+              Core.. Core.AsText+              Core.<$> numRowsRemoved,+            ("numRowsTotal" Core..=) Core.. Core.AsText Core.<$> numRowsTotal,+            ("numRowsUpdated" Core..=)+              Core.. Core.AsText+              Core.<$> numRowsUpdated,+            ("numShufflePartitions" Core..=)+              Core.. Core.AsText+              Core.<$> numShufflePartitions,+            ("numStateStoreInstances" Core..=)+              Core.. Core.AsText+              Core.<$> numStateStoreInstances,+            ("operatorName" Core..=) Core.<$> operatorName+          ]+      )++--+-- /See:/ 'newStateOperatorProgress_CustomMetrics' smart constructor.+newtype StateOperatorProgress_CustomMetrics = StateOperatorProgress_CustomMetrics+  { additional :: (Core.HashMap Core.Text Core.Int64)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'StateOperatorProgress_CustomMetrics' with the minimum fields required to make a request.+newStateOperatorProgress_CustomMetrics ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Int64 ->+  StateOperatorProgress_CustomMetrics+newStateOperatorProgress_CustomMetrics additional =+  StateOperatorProgress_CustomMetrics {additional = additional}++instance Core.FromJSON StateOperatorProgress_CustomMetrics where+  parseJSON =+    Core.withObject+      "StateOperatorProgress_CustomMetrics"+      ( \o ->+          StateOperatorProgress_CustomMetrics+            Core.<$> (Core.parseJSONObject o)+      )++instance Core.ToJSON StateOperatorProgress_CustomMetrics where+  toJSON StateOperatorProgress_CustomMetrics {..} =+    Core.toJSON additional++-- | The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC (https:\/\/github.com\/grpc). Each Status message contains three pieces of data: error code, error message, and error details.You can find out more about this error model and how to work with it in the API Design Guide (https:\/\/cloud.google.com\/apis\/design\/errors).+--+-- /See:/ 'newStatus' smart constructor.+data Status = Status+  { -- | The status code, which should be an enum value of google.rpc.Code.+    code :: (Core.Maybe Core.Int32),+    -- | A list of messages that carry the error details. There is a common set of message types for APIs to use.+    details :: (Core.Maybe [Status_DetailsItem]),+    -- | A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.+    message :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Status' with the minimum fields required to make a request.+newStatus ::+  Status+newStatus =+  Status+    { code = Core.Nothing,+      details = Core.Nothing,+      message = Core.Nothing+    }++instance Core.FromJSON Status where+  parseJSON =+    Core.withObject+      "Status"+      ( \o ->+          Status+            Core.<$> (o Core..:? "code")+            Core.<*> (o Core..:? "details")+            Core.<*> (o Core..:? "message")+      )++instance Core.ToJSON Status where+  toJSON Status {..} =+    Core.object+      ( Core.catMaybes+          [ ("code" Core..=) Core.<$> code,+            ("details" Core..=) Core.<$> details,+            ("message" Core..=) Core.<$> message+          ]+      )++--+-- /See:/ 'newStatus_DetailsItem' smart constructor.+newtype Status_DetailsItem = Status_DetailsItem+  { -- | Properties of the object. Contains field \@type with type URL.+    additional :: (Core.HashMap Core.Text Core.Value)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Status_DetailsItem' with the minimum fields required to make a request.+newStatus_DetailsItem ::+  -- |  Properties of the object. Contains field \@type with type URL. See 'additional'.+  Core.HashMap Core.Text Core.Value ->+  Status_DetailsItem+newStatus_DetailsItem additional =+  Status_DetailsItem {additional = additional}++instance Core.FromJSON Status_DetailsItem where+  parseJSON =+    Core.withObject+      "Status_DetailsItem"+      (\o -> Status_DetailsItem Core.<$> (Core.parseJSONObject o))++instance Core.ToJSON Status_DetailsItem where+  toJSON Status_DetailsItem {..} = Core.toJSON additional++-- | A request to stop a cluster.+--+-- /See:/ 'newStopClusterRequest' smart constructor.+data StopClusterRequest = StopClusterRequest+  { -- | Optional. Specifying the cluster/uuid means the RPC will fail (with error NOT/FOUND) if a cluster with the specified UUID does not exist.+    clusterUuid :: (Core.Maybe Core.Text),+    -- | Optional. A unique ID used to identify the request. If the server receives two StopClusterRequest (https:\/\/cloud.google.com\/dataproc\/docs\/reference\/rpc\/google.cloud.dataproc.v1#google.cloud.dataproc.v1.StopClusterRequest)s with the same id, then the second request will be ignored and the first google.longrunning.Operation created and stored in the backend is returned.Recommendation: Set this value to a UUID (https:\/\/en.wikipedia.org\/wiki\/Universally/unique/identifier).The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.+    requestId :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'StopClusterRequest' with the minimum fields required to make a request.+newStopClusterRequest ::+  StopClusterRequest+newStopClusterRequest =+  StopClusterRequest+    { clusterUuid = Core.Nothing,+      requestId = Core.Nothing+    }++instance Core.FromJSON StopClusterRequest where+  parseJSON =+    Core.withObject+      "StopClusterRequest"+      ( \o ->+          StopClusterRequest+            Core.<$> (o Core..:? "clusterUuid")+            Core.<*> (o Core..:? "requestId")+      )++instance Core.ToJSON StopClusterRequest where+  toJSON StopClusterRequest {..} =+    Core.object+      ( Core.catMaybes+          [ ("clusterUuid" Core..=) Core.<$> clusterUuid,+            ("requestId" Core..=) Core.<$> requestId+          ]+      )++-- | Stream Block Data.+--+-- /See:/ 'newStreamBlockData' smart constructor.+data StreamBlockData = StreamBlockData+  { deserialized :: (Core.Maybe Core.Bool),+    diskSize :: (Core.Maybe Core.Int64),+    executorId :: (Core.Maybe Core.Text),+    hostPort :: (Core.Maybe Core.Text),+    memSize :: (Core.Maybe Core.Int64),+    name :: (Core.Maybe Core.Text),+    storageLevel :: (Core.Maybe Core.Text),+    useDisk :: (Core.Maybe Core.Bool),+    useMemory :: (Core.Maybe Core.Bool)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'StreamBlockData' with the minimum fields required to make a request.+newStreamBlockData ::+  StreamBlockData+newStreamBlockData =+  StreamBlockData+    { deserialized = Core.Nothing,+      diskSize = Core.Nothing,+      executorId = Core.Nothing,+      hostPort = Core.Nothing,+      memSize = Core.Nothing,+      name = Core.Nothing,+      storageLevel = Core.Nothing,+      useDisk = Core.Nothing,+      useMemory = Core.Nothing+    }++instance Core.FromJSON StreamBlockData where+  parseJSON =+    Core.withObject+      "StreamBlockData"+      ( \o ->+          StreamBlockData+            Core.<$> (o Core..:? "deserialized")+            Core.<*> (o Core..:? "diskSize" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "executorId")+            Core.<*> (o Core..:? "hostPort")+            Core.<*> (o Core..:? "memSize" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "name")+            Core.<*> (o Core..:? "storageLevel")+            Core.<*> (o Core..:? "useDisk")+            Core.<*> (o Core..:? "useMemory")+      )++instance Core.ToJSON StreamBlockData where+  toJSON StreamBlockData {..} =+    Core.object+      ( Core.catMaybes+          [ ("deserialized" Core..=) Core.<$> deserialized,+            ("diskSize" Core..=) Core.. Core.AsText Core.<$> diskSize,+            ("executorId" Core..=) Core.<$> executorId,+            ("hostPort" Core..=) Core.<$> hostPort,+            ("memSize" Core..=) Core.. Core.AsText Core.<$> memSize,+            ("name" Core..=) Core.<$> name,+            ("storageLevel" Core..=) Core.<$> storageLevel,+            ("useDisk" Core..=) Core.<$> useDisk,+            ("useMemory" Core..=) Core.<$> useMemory+          ]+      )++-- | Streaming+--+-- /See:/ 'newStreamingQueryData' smart constructor.+data StreamingQueryData = StreamingQueryData+  { endTimestamp :: (Core.Maybe Core.Int64),+    exception :: (Core.Maybe Core.Text),+    isActive :: (Core.Maybe Core.Bool),+    name :: (Core.Maybe Core.Text),+    runId :: (Core.Maybe Core.Text),+    startTimestamp :: (Core.Maybe Core.Int64),+    streamingQueryId :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'StreamingQueryData' with the minimum fields required to make a request.+newStreamingQueryData ::+  StreamingQueryData+newStreamingQueryData =+  StreamingQueryData+    { endTimestamp = Core.Nothing,+      exception = Core.Nothing,+      isActive = Core.Nothing,+      name = Core.Nothing,+      runId = Core.Nothing,+      startTimestamp = Core.Nothing,+      streamingQueryId = Core.Nothing+    }++instance Core.FromJSON StreamingQueryData where+  parseJSON =+    Core.withObject+      "StreamingQueryData"+      ( \o ->+          StreamingQueryData+            Core.<$> (o Core..:? "endTimestamp" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "exception")+            Core.<*> (o Core..:? "isActive")+            Core.<*> (o Core..:? "name")+            Core.<*> (o Core..:? "runId")+            Core.<*> (o Core..:? "startTimestamp" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "streamingQueryId")+      )++instance Core.ToJSON StreamingQueryData where+  toJSON StreamingQueryData {..} =+    Core.object+      ( Core.catMaybes+          [ ("endTimestamp" Core..=) Core.. Core.AsText Core.<$> endTimestamp,+            ("exception" Core..=) Core.<$> exception,+            ("isActive" Core..=) Core.<$> isActive,+            ("name" Core..=) Core.<$> name,+            ("runId" Core..=) Core.<$> runId,+            ("startTimestamp" Core..=)+              Core.. Core.AsText+              Core.<$> startTimestamp,+            ("streamingQueryId" Core..=) Core.<$> streamingQueryId+          ]+      )++--+-- /See:/ 'newStreamingQueryProgress' smart constructor.+data StreamingQueryProgress = StreamingQueryProgress+  { batchDuration :: (Core.Maybe Core.Int64),+    batchId :: (Core.Maybe Core.Int64),+    durationMillis :: (Core.Maybe StreamingQueryProgress_DurationMillis),+    eventTime :: (Core.Maybe StreamingQueryProgress_EventTime),+    name :: (Core.Maybe Core.Text),+    observedMetrics :: (Core.Maybe StreamingQueryProgress_ObservedMetrics),+    runId :: (Core.Maybe Core.Text),+    sink :: (Core.Maybe SinkProgress),+    sources :: (Core.Maybe [SourceProgress]),+    stateOperators :: (Core.Maybe [StateOperatorProgress]),+    streamingQueryProgressId :: (Core.Maybe Core.Text),+    timestamp :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'StreamingQueryProgress' with the minimum fields required to make a request.+newStreamingQueryProgress ::+  StreamingQueryProgress+newStreamingQueryProgress =+  StreamingQueryProgress+    { batchDuration = Core.Nothing,+      batchId = Core.Nothing,+      durationMillis = Core.Nothing,+      eventTime = Core.Nothing,+      name = Core.Nothing,+      observedMetrics = Core.Nothing,+      runId = Core.Nothing,+      sink = Core.Nothing,+      sources = Core.Nothing,+      stateOperators = Core.Nothing,+      streamingQueryProgressId = Core.Nothing,+      timestamp = Core.Nothing+    }++instance Core.FromJSON StreamingQueryProgress where+  parseJSON =+    Core.withObject+      "StreamingQueryProgress"+      ( \o ->+          StreamingQueryProgress+            Core.<$> (o Core..:? "batchDuration" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "batchId" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "durationMillis")+            Core.<*> (o Core..:? "eventTime")+            Core.<*> (o Core..:? "name")+            Core.<*> (o Core..:? "observedMetrics")+            Core.<*> (o Core..:? "runId")+            Core.<*> (o Core..:? "sink")+            Core.<*> (o Core..:? "sources")+            Core.<*> (o Core..:? "stateOperators")+            Core.<*> (o Core..:? "streamingQueryProgressId")+            Core.<*> (o Core..:? "timestamp")+      )++instance Core.ToJSON StreamingQueryProgress where+  toJSON StreamingQueryProgress {..} =+    Core.object+      ( Core.catMaybes+          [ ("batchDuration" Core..=)+              Core.. Core.AsText+              Core.<$> batchDuration,+            ("batchId" Core..=) Core.. Core.AsText Core.<$> batchId,+            ("durationMillis" Core..=) Core.<$> durationMillis,+            ("eventTime" Core..=) Core.<$> eventTime,+            ("name" Core..=) Core.<$> name,+            ("observedMetrics" Core..=) Core.<$> observedMetrics,+            ("runId" Core..=) Core.<$> runId,+            ("sink" Core..=) Core.<$> sink,+            ("sources" Core..=) Core.<$> sources,+            ("stateOperators" Core..=) Core.<$> stateOperators,+            ("streamingQueryProgressId" Core..=)+              Core.<$> streamingQueryProgressId,+            ("timestamp" Core..=) Core.<$> timestamp+          ]+      )++--+-- /See:/ 'newStreamingQueryProgress_DurationMillis' smart constructor.+newtype StreamingQueryProgress_DurationMillis = StreamingQueryProgress_DurationMillis+  { additional :: (Core.HashMap Core.Text Core.Int64)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'StreamingQueryProgress_DurationMillis' with the minimum fields required to make a request.+newStreamingQueryProgress_DurationMillis ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Int64 ->+  StreamingQueryProgress_DurationMillis+newStreamingQueryProgress_DurationMillis additional =+  StreamingQueryProgress_DurationMillis {additional = additional}++instance Core.FromJSON StreamingQueryProgress_DurationMillis where+  parseJSON =+    Core.withObject+      "StreamingQueryProgress_DurationMillis"+      ( \o ->+          StreamingQueryProgress_DurationMillis+            Core.<$> (Core.parseJSONObject o)+      )++instance Core.ToJSON StreamingQueryProgress_DurationMillis where+  toJSON StreamingQueryProgress_DurationMillis {..} =+    Core.toJSON additional++--+-- /See:/ 'newStreamingQueryProgress_EventTime' smart constructor.+newtype StreamingQueryProgress_EventTime = StreamingQueryProgress_EventTime+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'StreamingQueryProgress_EventTime' with the minimum fields required to make a request.+newStreamingQueryProgress_EventTime ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  StreamingQueryProgress_EventTime+newStreamingQueryProgress_EventTime additional =+  StreamingQueryProgress_EventTime {additional = additional}++instance Core.FromJSON StreamingQueryProgress_EventTime where+  parseJSON =+    Core.withObject+      "StreamingQueryProgress_EventTime"+      ( \o ->+          StreamingQueryProgress_EventTime Core.<$> (Core.parseJSONObject o)+      )++instance Core.ToJSON StreamingQueryProgress_EventTime where+  toJSON StreamingQueryProgress_EventTime {..} =+    Core.toJSON additional++--+-- /See:/ 'newStreamingQueryProgress_ObservedMetrics' smart constructor.+newtype StreamingQueryProgress_ObservedMetrics = StreamingQueryProgress_ObservedMetrics+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'StreamingQueryProgress_ObservedMetrics' with the minimum fields required to make a request.+newStreamingQueryProgress_ObservedMetrics ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  StreamingQueryProgress_ObservedMetrics+newStreamingQueryProgress_ObservedMetrics additional =+  StreamingQueryProgress_ObservedMetrics {additional = additional}++instance Core.FromJSON StreamingQueryProgress_ObservedMetrics where+  parseJSON =+    Core.withObject+      "StreamingQueryProgress_ObservedMetrics"+      ( \o ->+          StreamingQueryProgress_ObservedMetrics+            Core.<$> (Core.parseJSONObject o)+      )++instance Core.ToJSON StreamingQueryProgress_ObservedMetrics where+  toJSON StreamingQueryProgress_ObservedMetrics {..} =+    Core.toJSON additional++-- | A request to submit a job.+--+-- /See:/ 'newSubmitJobRequest' smart constructor.+data SubmitJobRequest = SubmitJobRequest+  { -- | Required. The job resource.+    job :: (Core.Maybe Job),+    -- | Optional. A unique id used to identify the request. If the server receives two SubmitJobRequest (https:\/\/cloud.google.com\/dataproc\/docs\/reference\/rpc\/google.cloud.dataproc.v1#google.cloud.dataproc.v1.SubmitJobRequest)s with the same id, then the second request will be ignored and the first Job created and stored in the backend is returned.It is recommended to always set this value to a UUID (https:\/\/en.wikipedia.org\/wiki\/Universally/unique/identifier).The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.+    requestId :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SubmitJobRequest' with the minimum fields required to make a request.+newSubmitJobRequest ::+  SubmitJobRequest+newSubmitJobRequest =+  SubmitJobRequest {job = Core.Nothing, requestId = Core.Nothing}++instance Core.FromJSON SubmitJobRequest where+  parseJSON =+    Core.withObject+      "SubmitJobRequest"+      ( \o ->+          SubmitJobRequest+            Core.<$> (o Core..:? "job")+            Core.<*> (o Core..:? "requestId")+      )++instance Core.ToJSON SubmitJobRequest where+  toJSON SubmitJobRequest {..} =+    Core.object+      ( Core.catMaybes+          [ ("job" Core..=) Core.<$> job,+            ("requestId" Core..=) Core.<$> requestId+          ]+      )++-- | Consolidated summary of executors for a Spark Application.+--+-- /See:/ 'newSummarizeSessionSparkApplicationExecutorsResponse' smart constructor.+data SummarizeSessionSparkApplicationExecutorsResponse = SummarizeSessionSparkApplicationExecutorsResponse+  { -- | Consolidated summary for active executors.+    activeExecutorSummary :: (Core.Maybe ConsolidatedExecutorSummary),+    -- | Spark Application Id+    applicationId :: (Core.Maybe Core.Text),+    -- | Consolidated summary for dead executors.+    deadExecutorSummary :: (Core.Maybe ConsolidatedExecutorSummary),+    -- | Overall consolidated summary for all executors.+    totalExecutorSummary :: (Core.Maybe ConsolidatedExecutorSummary)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SummarizeSessionSparkApplicationExecutorsResponse' with the minimum fields required to make a request.+newSummarizeSessionSparkApplicationExecutorsResponse ::+  SummarizeSessionSparkApplicationExecutorsResponse+newSummarizeSessionSparkApplicationExecutorsResponse =+  SummarizeSessionSparkApplicationExecutorsResponse+    { activeExecutorSummary =+        Core.Nothing,+      applicationId = Core.Nothing,+      deadExecutorSummary = Core.Nothing,+      totalExecutorSummary = Core.Nothing+    }++instance+  Core.FromJSON+    SummarizeSessionSparkApplicationExecutorsResponse+  where+  parseJSON =+    Core.withObject+      "SummarizeSessionSparkApplicationExecutorsResponse"+      ( \o ->+          SummarizeSessionSparkApplicationExecutorsResponse+            Core.<$> (o Core..:? "activeExecutorSummary")+            Core.<*> (o Core..:? "applicationId")+            Core.<*> (o Core..:? "deadExecutorSummary")+            Core.<*> (o Core..:? "totalExecutorSummary")+      )++instance+  Core.ToJSON+    SummarizeSessionSparkApplicationExecutorsResponse+  where+  toJSON SummarizeSessionSparkApplicationExecutorsResponse {..} =+    Core.object+      ( Core.catMaybes+          [ ("activeExecutorSummary" Core..=) Core.<$> activeExecutorSummary,+            ("applicationId" Core..=) Core.<$> applicationId,+            ("deadExecutorSummary" Core..=) Core.<$> deadExecutorSummary,+            ("totalExecutorSummary" Core..=) Core.<$> totalExecutorSummary+          ]+      )++-- | Summary of a Spark Application jobs.+--+-- /See:/ 'newSummarizeSessionSparkApplicationJobsResponse' smart constructor.+newtype SummarizeSessionSparkApplicationJobsResponse = SummarizeSessionSparkApplicationJobsResponse+  { -- | Summary of a Spark Application Jobs+    jobsSummary :: (Core.Maybe JobsSummary)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SummarizeSessionSparkApplicationJobsResponse' with the minimum fields required to make a request.+newSummarizeSessionSparkApplicationJobsResponse ::+  SummarizeSessionSparkApplicationJobsResponse+newSummarizeSessionSparkApplicationJobsResponse =+  SummarizeSessionSparkApplicationJobsResponse+    { jobsSummary =+        Core.Nothing+    }++instance Core.FromJSON SummarizeSessionSparkApplicationJobsResponse where+  parseJSON =+    Core.withObject+      "SummarizeSessionSparkApplicationJobsResponse"+      ( \o ->+          SummarizeSessionSparkApplicationJobsResponse+            Core.<$> (o Core..:? "jobsSummary")+      )++instance Core.ToJSON SummarizeSessionSparkApplicationJobsResponse where+  toJSON SummarizeSessionSparkApplicationJobsResponse {..} =+    Core.object+      (Core.catMaybes [("jobsSummary" Core..=) Core.<$> jobsSummary])++-- | Summary of tasks for a Spark Application stage attempt.+--+-- /See:/ 'newSummarizeSessionSparkApplicationStageAttemptTasksResponse' smart constructor.+newtype SummarizeSessionSparkApplicationStageAttemptTasksResponse = SummarizeSessionSparkApplicationStageAttemptTasksResponse+  { -- | Summary of tasks for a Spark Application Stage Attempt+    stageAttemptTasksSummary :: (Core.Maybe StageAttemptTasksSummary)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SummarizeSessionSparkApplicationStageAttemptTasksResponse' with the minimum fields required to make a request.+newSummarizeSessionSparkApplicationStageAttemptTasksResponse ::+  SummarizeSessionSparkApplicationStageAttemptTasksResponse+newSummarizeSessionSparkApplicationStageAttemptTasksResponse =+  SummarizeSessionSparkApplicationStageAttemptTasksResponse+    { stageAttemptTasksSummary =+        Core.Nothing+    }++instance+  Core.FromJSON+    SummarizeSessionSparkApplicationStageAttemptTasksResponse+  where+  parseJSON =+    Core.withObject+      "SummarizeSessionSparkApplicationStageAttemptTasksResponse"+      ( \o ->+          SummarizeSessionSparkApplicationStageAttemptTasksResponse+            Core.<$> (o Core..:? "stageAttemptTasksSummary")+      )++instance+  Core.ToJSON+    SummarizeSessionSparkApplicationStageAttemptTasksResponse+  where+  toJSON+    SummarizeSessionSparkApplicationStageAttemptTasksResponse {..} =+      Core.object+        ( Core.catMaybes+            [ ("stageAttemptTasksSummary" Core..=)+                Core.<$> stageAttemptTasksSummary+            ]+        )++-- | Summary of a Spark Application stages.+--+-- /See:/ 'newSummarizeSessionSparkApplicationStagesResponse' smart constructor.+newtype SummarizeSessionSparkApplicationStagesResponse = SummarizeSessionSparkApplicationStagesResponse+  { -- | Summary of a Spark Application Stages+    stagesSummary :: (Core.Maybe StagesSummary)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SummarizeSessionSparkApplicationStagesResponse' with the minimum fields required to make a request.+newSummarizeSessionSparkApplicationStagesResponse ::+  SummarizeSessionSparkApplicationStagesResponse+newSummarizeSessionSparkApplicationStagesResponse =+  SummarizeSessionSparkApplicationStagesResponse+    { stagesSummary =+        Core.Nothing+    }++instance+  Core.FromJSON+    SummarizeSessionSparkApplicationStagesResponse+  where+  parseJSON =+    Core.withObject+      "SummarizeSessionSparkApplicationStagesResponse"+      ( \o ->+          SummarizeSessionSparkApplicationStagesResponse+            Core.<$> (o Core..:? "stagesSummary")+      )++instance Core.ToJSON SummarizeSessionSparkApplicationStagesResponse where+  toJSON SummarizeSessionSparkApplicationStagesResponse {..} =+    Core.object+      (Core.catMaybes [("stagesSummary" Core..=) Core.<$> stagesSummary])++-- | Consolidated summary of executors for a Spark Application.+--+-- /See:/ 'newSummarizeSparkApplicationExecutorsResponse' smart constructor.+data SummarizeSparkApplicationExecutorsResponse = SummarizeSparkApplicationExecutorsResponse+  { -- | Consolidated summary for active executors.+    activeExecutorSummary :: (Core.Maybe ConsolidatedExecutorSummary),+    -- | Spark Application Id+    applicationId :: (Core.Maybe Core.Text),+    -- | Consolidated summary for dead executors.+    deadExecutorSummary :: (Core.Maybe ConsolidatedExecutorSummary),+    -- | Overall consolidated summary for all executors.+    totalExecutorSummary :: (Core.Maybe ConsolidatedExecutorSummary)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SummarizeSparkApplicationExecutorsResponse' with the minimum fields required to make a request.+newSummarizeSparkApplicationExecutorsResponse ::+  SummarizeSparkApplicationExecutorsResponse+newSummarizeSparkApplicationExecutorsResponse =+  SummarizeSparkApplicationExecutorsResponse+    { activeExecutorSummary =+        Core.Nothing,+      applicationId = Core.Nothing,+      deadExecutorSummary = Core.Nothing,+      totalExecutorSummary = Core.Nothing+    }++instance Core.FromJSON SummarizeSparkApplicationExecutorsResponse where+  parseJSON =+    Core.withObject+      "SummarizeSparkApplicationExecutorsResponse"+      ( \o ->+          SummarizeSparkApplicationExecutorsResponse+            Core.<$> (o Core..:? "activeExecutorSummary")+            Core.<*> (o Core..:? "applicationId")+            Core.<*> (o Core..:? "deadExecutorSummary")+            Core.<*> (o Core..:? "totalExecutorSummary")+      )++instance Core.ToJSON SummarizeSparkApplicationExecutorsResponse where+  toJSON SummarizeSparkApplicationExecutorsResponse {..} =+    Core.object+      ( Core.catMaybes+          [ ("activeExecutorSummary" Core..=) Core.<$> activeExecutorSummary,+            ("applicationId" Core..=) Core.<$> applicationId,+            ("deadExecutorSummary" Core..=) Core.<$> deadExecutorSummary,+            ("totalExecutorSummary" Core..=) Core.<$> totalExecutorSummary+          ]+      )++-- | Summary of a Spark Application jobs.+--+-- /See:/ 'newSummarizeSparkApplicationJobsResponse' smart constructor.+newtype SummarizeSparkApplicationJobsResponse = SummarizeSparkApplicationJobsResponse+  { -- | Summary of a Spark Application Jobs+    jobsSummary :: (Core.Maybe JobsSummary)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SummarizeSparkApplicationJobsResponse' with the minimum fields required to make a request.+newSummarizeSparkApplicationJobsResponse ::+  SummarizeSparkApplicationJobsResponse+newSummarizeSparkApplicationJobsResponse =+  SummarizeSparkApplicationJobsResponse {jobsSummary = Core.Nothing}++instance Core.FromJSON SummarizeSparkApplicationJobsResponse where+  parseJSON =+    Core.withObject+      "SummarizeSparkApplicationJobsResponse"+      ( \o ->+          SummarizeSparkApplicationJobsResponse+            Core.<$> (o Core..:? "jobsSummary")+      )++instance Core.ToJSON SummarizeSparkApplicationJobsResponse where+  toJSON SummarizeSparkApplicationJobsResponse {..} =+    Core.object+      (Core.catMaybes [("jobsSummary" Core..=) Core.<$> jobsSummary])++-- | Summary of tasks for a Spark Application stage attempt.+--+-- /See:/ 'newSummarizeSparkApplicationStageAttemptTasksResponse' smart constructor.+newtype SummarizeSparkApplicationStageAttemptTasksResponse = SummarizeSparkApplicationStageAttemptTasksResponse+  { -- | Summary of tasks for a Spark Application Stage Attempt+    stageAttemptTasksSummary :: (Core.Maybe StageAttemptTasksSummary)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SummarizeSparkApplicationStageAttemptTasksResponse' with the minimum fields required to make a request.+newSummarizeSparkApplicationStageAttemptTasksResponse ::+  SummarizeSparkApplicationStageAttemptTasksResponse+newSummarizeSparkApplicationStageAttemptTasksResponse =+  SummarizeSparkApplicationStageAttemptTasksResponse+    { stageAttemptTasksSummary =+        Core.Nothing+    }++instance+  Core.FromJSON+    SummarizeSparkApplicationStageAttemptTasksResponse+  where+  parseJSON =+    Core.withObject+      "SummarizeSparkApplicationStageAttemptTasksResponse"+      ( \o ->+          SummarizeSparkApplicationStageAttemptTasksResponse+            Core.<$> (o Core..:? "stageAttemptTasksSummary")+      )++instance+  Core.ToJSON+    SummarizeSparkApplicationStageAttemptTasksResponse+  where+  toJSON SummarizeSparkApplicationStageAttemptTasksResponse {..} =+    Core.object+      ( Core.catMaybes+          [ ("stageAttemptTasksSummary" Core..=)+              Core.<$> stageAttemptTasksSummary+          ]+      )++-- | Summary of a Spark Application stages.+--+-- /See:/ 'newSummarizeSparkApplicationStagesResponse' smart constructor.+newtype SummarizeSparkApplicationStagesResponse = SummarizeSparkApplicationStagesResponse+  { -- | Summary of a Spark Application Stages+    stagesSummary :: (Core.Maybe StagesSummary)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SummarizeSparkApplicationStagesResponse' with the minimum fields required to make a request.+newSummarizeSparkApplicationStagesResponse ::+  SummarizeSparkApplicationStagesResponse+newSummarizeSparkApplicationStagesResponse =+  SummarizeSparkApplicationStagesResponse+    { stagesSummary =+        Core.Nothing+    }++instance Core.FromJSON SummarizeSparkApplicationStagesResponse where+  parseJSON =+    Core.withObject+      "SummarizeSparkApplicationStagesResponse"+      ( \o ->+          SummarizeSparkApplicationStagesResponse+            Core.<$> (o Core..:? "stagesSummary")+      )++instance Core.ToJSON SummarizeSparkApplicationStagesResponse where+  toJSON SummarizeSparkApplicationStagesResponse {..} =+    Core.object+      (Core.catMaybes [("stagesSummary" Core..=) Core.<$> stagesSummary])++-- | Data corresponding to tasks created by spark.+--+-- /See:/ 'newTaskData' smart constructor.+data TaskData = TaskData+  { accumulatorUpdates :: (Core.Maybe [AccumulableInfo]),+    attempt :: (Core.Maybe Core.Int32),+    durationMillis :: (Core.Maybe Core.Int64),+    errorMessage :: (Core.Maybe Core.Text),+    executorId :: (Core.Maybe Core.Text),+    executorLogs :: (Core.Maybe TaskData_ExecutorLogs),+    gettingResultTimeMillis :: (Core.Maybe Core.Int64),+    hasMetrics :: (Core.Maybe Core.Bool),+    host :: (Core.Maybe Core.Text),+    index :: (Core.Maybe Core.Int32),+    launchTime :: (Core.Maybe Core.DateTime),+    partitionId :: (Core.Maybe Core.Int32),+    resultFetchStart :: (Core.Maybe Core.DateTime),+    schedulerDelayMillis :: (Core.Maybe Core.Int64),+    speculative :: (Core.Maybe Core.Bool),+    stageAttemptId :: (Core.Maybe Core.Int32),+    stageId :: (Core.Maybe Core.Int64),+    status :: (Core.Maybe Core.Text),+    taskId :: (Core.Maybe Core.Int64),+    taskLocality :: (Core.Maybe Core.Text),+    taskMetrics :: (Core.Maybe TaskMetrics)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'TaskData' with the minimum fields required to make a request.+newTaskData ::+  TaskData+newTaskData =+  TaskData+    { accumulatorUpdates = Core.Nothing,+      attempt = Core.Nothing,+      durationMillis = Core.Nothing,+      errorMessage = Core.Nothing,+      executorId = Core.Nothing,+      executorLogs = Core.Nothing,+      gettingResultTimeMillis = Core.Nothing,+      hasMetrics = Core.Nothing,+      host = Core.Nothing,+      index = Core.Nothing,+      launchTime = Core.Nothing,+      partitionId = Core.Nothing,+      resultFetchStart = Core.Nothing,+      schedulerDelayMillis = Core.Nothing,+      speculative = Core.Nothing,+      stageAttemptId = Core.Nothing,+      stageId = Core.Nothing,+      status = Core.Nothing,+      taskId = Core.Nothing,+      taskLocality = Core.Nothing,+      taskMetrics = Core.Nothing+    }++instance Core.FromJSON TaskData where+  parseJSON =+    Core.withObject+      "TaskData"+      ( \o ->+          TaskData+            Core.<$> (o Core..:? "accumulatorUpdates")+            Core.<*> (o Core..:? "attempt")+            Core.<*> (o Core..:? "durationMillis" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "errorMessage")+            Core.<*> (o Core..:? "executorId")+            Core.<*> (o Core..:? "executorLogs")+            Core.<*> ( o+                         Core..:? "gettingResultTimeMillis"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> (o Core..:? "hasMetrics")+            Core.<*> (o Core..:? "host")+            Core.<*> (o Core..:? "index")+            Core.<*> (o Core..:? "launchTime")+            Core.<*> (o Core..:? "partitionId")+            Core.<*> (o Core..:? "resultFetchStart")+            Core.<*> ( o+                         Core..:? "schedulerDelayMillis"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> (o Core..:? "speculative")+            Core.<*> (o Core..:? "stageAttemptId")+            Core.<*> (o Core..:? "stageId" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "status")+            Core.<*> (o Core..:? "taskId" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "taskLocality")+            Core.<*> (o Core..:? "taskMetrics")+      )++instance Core.ToJSON TaskData where+  toJSON TaskData {..} =+    Core.object+      ( Core.catMaybes+          [ ("accumulatorUpdates" Core..=) Core.<$> accumulatorUpdates,+            ("attempt" Core..=) Core.<$> attempt,+            ("durationMillis" Core..=)+              Core.. Core.AsText+              Core.<$> durationMillis,+            ("errorMessage" Core..=) Core.<$> errorMessage,+            ("executorId" Core..=) Core.<$> executorId,+            ("executorLogs" Core..=) Core.<$> executorLogs,+            ("gettingResultTimeMillis" Core..=)+              Core.. Core.AsText+              Core.<$> gettingResultTimeMillis,+            ("hasMetrics" Core..=) Core.<$> hasMetrics,+            ("host" Core..=) Core.<$> host,+            ("index" Core..=) Core.<$> index,+            ("launchTime" Core..=) Core.<$> launchTime,+            ("partitionId" Core..=) Core.<$> partitionId,+            ("resultFetchStart" Core..=) Core.<$> resultFetchStart,+            ("schedulerDelayMillis" Core..=)+              Core.. Core.AsText+              Core.<$> schedulerDelayMillis,+            ("speculative" Core..=) Core.<$> speculative,+            ("stageAttemptId" Core..=) Core.<$> stageAttemptId,+            ("stageId" Core..=) Core.. Core.AsText Core.<$> stageId,+            ("status" Core..=) Core.<$> status,+            ("taskId" Core..=) Core.. Core.AsText Core.<$> taskId,+            ("taskLocality" Core..=) Core.<$> taskLocality,+            ("taskMetrics" Core..=) Core.<$> taskMetrics+          ]+      )++--+-- /See:/ 'newTaskData_ExecutorLogs' smart constructor.+newtype TaskData_ExecutorLogs = TaskData_ExecutorLogs+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'TaskData_ExecutorLogs' with the minimum fields required to make a request.+newTaskData_ExecutorLogs ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  TaskData_ExecutorLogs+newTaskData_ExecutorLogs additional =+  TaskData_ExecutorLogs {additional = additional}++instance Core.FromJSON TaskData_ExecutorLogs where+  parseJSON =+    Core.withObject+      "TaskData_ExecutorLogs"+      (\o -> TaskData_ExecutorLogs Core.<$> (Core.parseJSONObject o))++instance Core.ToJSON TaskData_ExecutorLogs where+  toJSON TaskData_ExecutorLogs {..} = Core.toJSON additional++-- | Executor Task Metrics+--+-- /See:/ 'newTaskMetrics' smart constructor.+data TaskMetrics = TaskMetrics+  { diskBytesSpilled :: (Core.Maybe Core.Int64),+    executorCpuTimeNanos :: (Core.Maybe Core.Int64),+    executorDeserializeCpuTimeNanos :: (Core.Maybe Core.Int64),+    executorDeserializeTimeMillis :: (Core.Maybe Core.Int64),+    executorRunTimeMillis :: (Core.Maybe Core.Int64),+    inputMetrics :: (Core.Maybe InputMetrics),+    jvmGcTimeMillis :: (Core.Maybe Core.Int64),+    memoryBytesSpilled :: (Core.Maybe Core.Int64),+    outputMetrics :: (Core.Maybe OutputMetrics),+    peakExecutionMemoryBytes :: (Core.Maybe Core.Int64),+    resultSerializationTimeMillis :: (Core.Maybe Core.Int64),+    resultSize :: (Core.Maybe Core.Int64),+    shuffleReadMetrics :: (Core.Maybe ShuffleReadMetrics),+    shuffleWriteMetrics :: (Core.Maybe ShuffleWriteMetrics)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'TaskMetrics' with the minimum fields required to make a request.+newTaskMetrics ::+  TaskMetrics+newTaskMetrics =+  TaskMetrics+    { diskBytesSpilled = Core.Nothing,+      executorCpuTimeNanos = Core.Nothing,+      executorDeserializeCpuTimeNanos = Core.Nothing,+      executorDeserializeTimeMillis = Core.Nothing,+      executorRunTimeMillis = Core.Nothing,+      inputMetrics = Core.Nothing,+      jvmGcTimeMillis = Core.Nothing,+      memoryBytesSpilled = Core.Nothing,+      outputMetrics = Core.Nothing,+      peakExecutionMemoryBytes = Core.Nothing,+      resultSerializationTimeMillis = Core.Nothing,+      resultSize = Core.Nothing,+      shuffleReadMetrics = Core.Nothing,+      shuffleWriteMetrics = Core.Nothing+    }++instance Core.FromJSON TaskMetrics where+  parseJSON =+    Core.withObject+      "TaskMetrics"+      ( \o ->+          TaskMetrics+            Core.<$> (o Core..:? "diskBytesSpilled" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> ( o+                         Core..:? "executorCpuTimeNanos"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> ( o+                         Core..:? "executorDeserializeCpuTimeNanos"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> ( o+                         Core..:? "executorDeserializeTimeMillis"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> ( o+                         Core..:? "executorRunTimeMillis"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> (o Core..:? "inputMetrics")+            Core.<*> (o Core..:? "jvmGcTimeMillis" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> ( o+                         Core..:? "memoryBytesSpilled"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> (o Core..:? "outputMetrics")+            Core.<*> ( o+                         Core..:? "peakExecutionMemoryBytes"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> ( o+                         Core..:? "resultSerializationTimeMillis"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> (o Core..:? "resultSize" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "shuffleReadMetrics")+            Core.<*> (o Core..:? "shuffleWriteMetrics")+      )++instance Core.ToJSON TaskMetrics where+  toJSON TaskMetrics {..} =+    Core.object+      ( Core.catMaybes+          [ ("diskBytesSpilled" Core..=)+              Core.. Core.AsText+              Core.<$> diskBytesSpilled,+            ("executorCpuTimeNanos" Core..=)+              Core.. Core.AsText+              Core.<$> executorCpuTimeNanos,+            ("executorDeserializeCpuTimeNanos" Core..=)+              Core.. Core.AsText+              Core.<$> executorDeserializeCpuTimeNanos,+            ("executorDeserializeTimeMillis" Core..=)+              Core.. Core.AsText+              Core.<$> executorDeserializeTimeMillis,+            ("executorRunTimeMillis" Core..=)+              Core.. Core.AsText+              Core.<$> executorRunTimeMillis,+            ("inputMetrics" Core..=) Core.<$> inputMetrics,+            ("jvmGcTimeMillis" Core..=)+              Core.. Core.AsText+              Core.<$> jvmGcTimeMillis,+            ("memoryBytesSpilled" Core..=)+              Core.. Core.AsText+              Core.<$> memoryBytesSpilled,+            ("outputMetrics" Core..=) Core.<$> outputMetrics,+            ("peakExecutionMemoryBytes" Core..=)+              Core.. Core.AsText+              Core.<$> peakExecutionMemoryBytes,+            ("resultSerializationTimeMillis" Core..=)+              Core.. Core.AsText+              Core.<$> resultSerializationTimeMillis,+            ("resultSize" Core..=) Core.. Core.AsText Core.<$> resultSize,+            ("shuffleReadMetrics" Core..=) Core.<$> shuffleReadMetrics,+            ("shuffleWriteMetrics" Core..=) Core.<$> shuffleWriteMetrics+          ]+      )++--+-- /See:/ 'newTaskQuantileMetrics' smart constructor.+data TaskQuantileMetrics = TaskQuantileMetrics+  { diskBytesSpilled :: (Core.Maybe Quantiles),+    durationMillis :: (Core.Maybe Quantiles),+    executorCpuTimeNanos :: (Core.Maybe Quantiles),+    executorDeserializeCpuTimeNanos :: (Core.Maybe Quantiles),+    executorDeserializeTimeMillis :: (Core.Maybe Quantiles),+    executorRunTimeMillis :: (Core.Maybe Quantiles),+    gettingResultTimeMillis :: (Core.Maybe Quantiles),+    inputMetrics :: (Core.Maybe InputQuantileMetrics),+    jvmGcTimeMillis :: (Core.Maybe Quantiles),+    memoryBytesSpilled :: (Core.Maybe Quantiles),+    outputMetrics :: (Core.Maybe OutputQuantileMetrics),+    peakExecutionMemoryBytes :: (Core.Maybe Quantiles),+    resultSerializationTimeMillis :: (Core.Maybe Quantiles),+    resultSize :: (Core.Maybe Quantiles),+    schedulerDelayMillis :: (Core.Maybe Quantiles),+    shuffleReadMetrics :: (Core.Maybe ShuffleReadQuantileMetrics),+    shuffleWriteMetrics :: (Core.Maybe ShuffleWriteQuantileMetrics)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'TaskQuantileMetrics' with the minimum fields required to make a request.+newTaskQuantileMetrics ::+  TaskQuantileMetrics+newTaskQuantileMetrics =+  TaskQuantileMetrics+    { diskBytesSpilled = Core.Nothing,+      durationMillis = Core.Nothing,+      executorCpuTimeNanos = Core.Nothing,+      executorDeserializeCpuTimeNanos = Core.Nothing,+      executorDeserializeTimeMillis = Core.Nothing,+      executorRunTimeMillis = Core.Nothing,+      gettingResultTimeMillis = Core.Nothing,+      inputMetrics = Core.Nothing,+      jvmGcTimeMillis = Core.Nothing,+      memoryBytesSpilled = Core.Nothing,+      outputMetrics = Core.Nothing,+      peakExecutionMemoryBytes = Core.Nothing,+      resultSerializationTimeMillis = Core.Nothing,+      resultSize = Core.Nothing,+      schedulerDelayMillis = Core.Nothing,+      shuffleReadMetrics = Core.Nothing,+      shuffleWriteMetrics = Core.Nothing+    }++instance Core.FromJSON TaskQuantileMetrics where+  parseJSON =+    Core.withObject+      "TaskQuantileMetrics"+      ( \o ->+          TaskQuantileMetrics+            Core.<$> (o Core..:? "diskBytesSpilled")+            Core.<*> (o Core..:? "durationMillis")+            Core.<*> (o Core..:? "executorCpuTimeNanos")+            Core.<*> (o Core..:? "executorDeserializeCpuTimeNanos")+            Core.<*> (o Core..:? "executorDeserializeTimeMillis")+            Core.<*> (o Core..:? "executorRunTimeMillis")+            Core.<*> (o Core..:? "gettingResultTimeMillis")+            Core.<*> (o Core..:? "inputMetrics")+            Core.<*> (o Core..:? "jvmGcTimeMillis")+            Core.<*> (o Core..:? "memoryBytesSpilled")+            Core.<*> (o Core..:? "outputMetrics")+            Core.<*> (o Core..:? "peakExecutionMemoryBytes")+            Core.<*> (o Core..:? "resultSerializationTimeMillis")+            Core.<*> (o Core..:? "resultSize")+            Core.<*> (o Core..:? "schedulerDelayMillis")+            Core.<*> (o Core..:? "shuffleReadMetrics")+            Core.<*> (o Core..:? "shuffleWriteMetrics")+      )++instance Core.ToJSON TaskQuantileMetrics where+  toJSON TaskQuantileMetrics {..} =+    Core.object+      ( Core.catMaybes+          [ ("diskBytesSpilled" Core..=) Core.<$> diskBytesSpilled,+            ("durationMillis" Core..=) Core.<$> durationMillis,+            ("executorCpuTimeNanos" Core..=) Core.<$> executorCpuTimeNanos,+            ("executorDeserializeCpuTimeNanos" Core..=)+              Core.<$> executorDeserializeCpuTimeNanos,+            ("executorDeserializeTimeMillis" Core..=)+              Core.<$> executorDeserializeTimeMillis,+            ("executorRunTimeMillis" Core..=) Core.<$> executorRunTimeMillis,+            ("gettingResultTimeMillis" Core..=)+              Core.<$> gettingResultTimeMillis,+            ("inputMetrics" Core..=) Core.<$> inputMetrics,+            ("jvmGcTimeMillis" Core..=) Core.<$> jvmGcTimeMillis,+            ("memoryBytesSpilled" Core..=) Core.<$> memoryBytesSpilled,+            ("outputMetrics" Core..=) Core.<$> outputMetrics,+            ("peakExecutionMemoryBytes" Core..=)+              Core.<$> peakExecutionMemoryBytes,+            ("resultSerializationTimeMillis" Core..=)+              Core.<$> resultSerializationTimeMillis,+            ("resultSize" Core..=) Core.<$> resultSize,+            ("schedulerDelayMillis" Core..=) Core.<$> schedulerDelayMillis,+            ("shuffleReadMetrics" Core..=) Core.<$> shuffleReadMetrics,+            ("shuffleWriteMetrics" Core..=) Core.<$> shuffleWriteMetrics+          ]+      )++-- | Resources used per task created by the application.+--+-- /See:/ 'newTaskResourceRequest' smart constructor.+data TaskResourceRequest = TaskResourceRequest+  { amount :: (Core.Maybe Core.Double),+    resourceName :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'TaskResourceRequest' with the minimum fields required to make a request.+newTaskResourceRequest ::+  TaskResourceRequest+newTaskResourceRequest =+  TaskResourceRequest+    { amount = Core.Nothing,+      resourceName = Core.Nothing+    }++instance Core.FromJSON TaskResourceRequest where+  parseJSON =+    Core.withObject+      "TaskResourceRequest"+      ( \o ->+          TaskResourceRequest+            Core.<$> (o Core..:? "amount")+            Core.<*> (o Core..:? "resourceName")+      )++instance Core.ToJSON TaskResourceRequest where+  toJSON TaskResourceRequest {..} =+    Core.object+      ( Core.catMaybes+          [ ("amount" Core..=) Core.<$> amount,+            ("resourceName" Core..=) Core.<$> resourceName+          ]+      )++-- | A configurable parameter that replaces one or more fields in the template. Parameterizable fields: - Labels - File uris - Job properties - Job arguments - Script variables - Main class (in HadoopJob and SparkJob) - Zone (in ClusterSelector)+--+-- /See:/ 'newTemplateParameter' smart constructor.+data TemplateParameter = TemplateParameter+  { -- | Optional. Brief description of the parameter. Must not exceed 1024 characters.+    description :: (Core.Maybe Core.Text),+    -- | Required. Paths to all fields that the parameter replaces. A field is allowed to appear in at most one parameter\'s list of field paths.A field path is similar in syntax to a google.protobuf.FieldMask. For example, a field path that references the zone field of a workflow template\'s cluster selector would be specified as placement.clusterSelector.zone.Also, field paths can reference fields using the following syntax: Values in maps can be referenced by key: labels\'key\' placement.clusterSelector.clusterLabels\'key\' placement.managedCluster.labels\'key\' placement.clusterSelector.clusterLabels\'key\' jobs\'step-id\'.labels\'key\' Jobs in the jobs list can be referenced by step-id: jobs\'step-id\'.hadoopJob.mainJarFileUri jobs\'step-id\'.hiveJob.queryFileUri jobs\'step-id\'.pySparkJob.mainPythonFileUri jobs\'step-id\'.hadoopJob.jarFileUris0 jobs\'step-id\'.hadoopJob.archiveUris0 jobs\'step-id\'.hadoopJob.fileUris0 jobs\'step-id\'.pySparkJob.pythonFileUris0 Items in repeated fields can be referenced by a+    -- zero-based index: jobs\'step-id\'.sparkJob.args0 Other examples: jobs\'step-id\'.hadoopJob.properties\'key\' jobs\'step-id\'.hadoopJob.args0 jobs\'step-id\'.hiveJob.scriptVariables\'key\' jobs\'step-id\'.hadoopJob.mainJarFileUri placement.clusterSelector.zoneIt may not be possible to parameterize maps and repeated fields in their entirety since only individual map values and individual items in repeated fields can be referenced. For example, the following field paths are invalid: placement.clusterSelector.clusterLabels jobs\'step-id\'.sparkJob.args+    fields :: (Core.Maybe [Core.Text]),+    -- | Required. Parameter name. The parameter name is used as the key, and paired with the parameter value, which are passed to the template when the template is instantiated. The name must contain only capital letters (A-Z), numbers (0-9), and underscores (_), and must not start with a number. The maximum length is 40 characters.+    name :: (Core.Maybe Core.Text),+    -- | Optional. Validation rules to be applied to this parameter\'s value.+    validation :: (Core.Maybe ParameterValidation)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'TemplateParameter' with the minimum fields required to make a request.+newTemplateParameter ::+  TemplateParameter+newTemplateParameter =+  TemplateParameter+    { description = Core.Nothing,+      fields = Core.Nothing,+      name = Core.Nothing,+      validation = Core.Nothing+    }++instance Core.FromJSON TemplateParameter where+  parseJSON =+    Core.withObject+      "TemplateParameter"+      ( \o ->+          TemplateParameter+            Core.<$> (o Core..:? "description")+            Core.<*> (o Core..:? "fields")+            Core.<*> (o Core..:? "name")+            Core.<*> (o Core..:? "validation")+      )++instance Core.ToJSON TemplateParameter where+  toJSON TemplateParameter {..} =+    Core.object+      ( Core.catMaybes+          [ ("description" Core..=) Core.<$> description,+            ("fields" Core..=) Core.<$> fields,+            ("name" Core..=) Core.<$> name,+            ("validation" Core..=) Core.<$> validation+          ]+      )++-- | A request to terminate an interactive session.+--+-- /See:/ 'newTerminateSessionRequest' smart constructor.+newtype TerminateSessionRequest = TerminateSessionRequest+  { -- | Optional. A unique ID used to identify the request. If the service receives two TerminateSessionRequest (https:\/\/cloud.google.com\/dataproc\/docs\/reference\/rpc\/google.cloud.dataproc.v1#google.cloud.dataproc.v1.TerminateSessionRequest)s with the same ID, the second request is ignored.Recommendation: Set this value to a UUID (https:\/\/en.wikipedia.org\/wiki\/Universally/unique/identifier).The value must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.+    requestId :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'TerminateSessionRequest' with the minimum fields required to make a request.+newTerminateSessionRequest ::+  TerminateSessionRequest+newTerminateSessionRequest =+  TerminateSessionRequest {requestId = Core.Nothing}++instance Core.FromJSON TerminateSessionRequest where+  parseJSON =+    Core.withObject+      "TerminateSessionRequest"+      (\o -> TerminateSessionRequest Core.<$> (o Core..:? "requestId"))++instance Core.ToJSON TerminateSessionRequest where+  toJSON TerminateSessionRequest {..} =+    Core.object+      (Core.catMaybes [("requestId" Core..=) Core.<$> requestId])++-- | 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 IAM Overview (https:\/\/cloud.google.com\/iam\/docs\/overview#permissions).+    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])++-- | A Dataproc job for running Trino (https:\/\/trino.io\/) queries. IMPORTANT: The Dataproc Trino Optional Component (https:\/\/cloud.google.com\/dataproc\/docs\/concepts\/components\/trino) must be enabled when the cluster is created to submit a Trino job to the cluster.+--+-- /See:/ 'newTrinoJob' smart constructor.+data TrinoJob = TrinoJob+  { -- | Optional. Trino client tags to attach to this query+    clientTags :: (Core.Maybe [Core.Text]),+    -- | Optional. Whether to continue executing queries if a query fails. The default value is false. Setting to true can be useful when executing independent parallel queries.+    continueOnFailure :: (Core.Maybe Core.Bool),+    -- | Optional. The runtime log config for job execution.+    loggingConfig :: (Core.Maybe LoggingConfig),+    -- | Optional. The format in which query output will be displayed. See the Trino documentation for supported output formats+    outputFormat :: (Core.Maybe Core.Text),+    -- | Optional. A mapping of property names to values. Used to set Trino session properties (https:\/\/trino.io\/docs\/current\/sql\/set-session.html) Equivalent to using the --session flag in the Trino CLI+    properties :: (Core.Maybe TrinoJob_Properties),+    -- | The HCFS URI of the script that contains SQL queries.+    queryFileUri :: (Core.Maybe Core.Text),+    -- | A list of queries.+    queryList :: (Core.Maybe QueryList)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'TrinoJob' with the minimum fields required to make a request.+newTrinoJob ::+  TrinoJob+newTrinoJob =+  TrinoJob+    { clientTags = Core.Nothing,+      continueOnFailure = Core.Nothing,+      loggingConfig = Core.Nothing,+      outputFormat = Core.Nothing,+      properties = Core.Nothing,+      queryFileUri = Core.Nothing,+      queryList = Core.Nothing+    }++instance Core.FromJSON TrinoJob where+  parseJSON =+    Core.withObject+      "TrinoJob"+      ( \o ->+          TrinoJob+            Core.<$> (o Core..:? "clientTags")+            Core.<*> (o Core..:? "continueOnFailure")+            Core.<*> (o Core..:? "loggingConfig")+            Core.<*> (o Core..:? "outputFormat")+            Core.<*> (o Core..:? "properties")+            Core.<*> (o Core..:? "queryFileUri")+            Core.<*> (o Core..:? "queryList")+      )++instance Core.ToJSON TrinoJob where+  toJSON TrinoJob {..} =+    Core.object+      ( Core.catMaybes+          [ ("clientTags" Core..=) Core.<$> clientTags,+            ("continueOnFailure" Core..=) Core.<$> continueOnFailure,+            ("loggingConfig" Core..=) Core.<$> loggingConfig,+            ("outputFormat" Core..=) Core.<$> outputFormat,+            ("properties" Core..=) Core.<$> properties,+            ("queryFileUri" Core..=) Core.<$> queryFileUri,+            ("queryList" Core..=) Core.<$> queryList+          ]+      )++-- | Optional. A mapping of property names to values. Used to set Trino session properties (https:\/\/trino.io\/docs\/current\/sql\/set-session.html) Equivalent to using the --session flag in the Trino CLI+--+-- /See:/ 'newTrinoJob_Properties' smart constructor.+newtype TrinoJob_Properties = TrinoJob_Properties+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'TrinoJob_Properties' with the minimum fields required to make a request.+newTrinoJob_Properties ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  TrinoJob_Properties+newTrinoJob_Properties additional =+  TrinoJob_Properties {additional = additional}++instance Core.FromJSON TrinoJob_Properties where+  parseJSON =+    Core.withObject+      "TrinoJob_Properties"+      (\o -> TrinoJob_Properties Core.<$> (Core.parseJSONObject o))++instance Core.ToJSON TrinoJob_Properties where+  toJSON TrinoJob_Properties {..} = Core.toJSON additional++-- | Usage metrics represent approximate total resources consumed by a workload.+--+-- /See:/ 'newUsageMetrics' smart constructor.+data UsageMetrics = UsageMetrics+  { -- | Optional. Accelerator type being used, if any+    acceleratorType :: (Core.Maybe Core.Text),+    -- | Optional. Accelerator usage in (milliAccelerator x seconds) (see Dataproc Serverless pricing (https:\/\/cloud.google.com\/dataproc-serverless\/pricing)).+    milliAcceleratorSeconds :: (Core.Maybe Core.Int64),+    -- | Optional. DCU (Dataproc Compute Units) usage in (milliDCU x seconds) (see Dataproc Serverless pricing (https:\/\/cloud.google.com\/dataproc-serverless\/pricing)).+    milliDcuSeconds :: (Core.Maybe Core.Int64),+    -- | Optional. Shuffle storage usage in (GB x seconds) (see Dataproc Serverless pricing (https:\/\/cloud.google.com\/dataproc-serverless\/pricing)).+    shuffleStorageGbSeconds :: (Core.Maybe Core.Int64)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'UsageMetrics' with the minimum fields required to make a request.+newUsageMetrics ::+  UsageMetrics+newUsageMetrics =+  UsageMetrics+    { acceleratorType = Core.Nothing,+      milliAcceleratorSeconds = Core.Nothing,+      milliDcuSeconds = Core.Nothing,+      shuffleStorageGbSeconds = Core.Nothing+    }++instance Core.FromJSON UsageMetrics where+  parseJSON =+    Core.withObject+      "UsageMetrics"+      ( \o ->+          UsageMetrics+            Core.<$> (o Core..:? "acceleratorType")+            Core.<*> ( o+                         Core..:? "milliAcceleratorSeconds"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> (o Core..:? "milliDcuSeconds" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> ( o+                         Core..:? "shuffleStorageGbSeconds"+                         Core.<&> Core.fmap Core.fromAsText+                     )+      )++instance Core.ToJSON UsageMetrics where+  toJSON UsageMetrics {..} =+    Core.object+      ( Core.catMaybes+          [ ("acceleratorType" Core..=) Core.<$> acceleratorType,+            ("milliAcceleratorSeconds" Core..=)+              Core.. Core.AsText+              Core.<$> milliAcceleratorSeconds,+            ("milliDcuSeconds" Core..=)+              Core.. Core.AsText+              Core.<$> milliDcuSeconds,+            ("shuffleStorageGbSeconds" Core..=)+              Core.. Core.AsText+              Core.<$> shuffleStorageGbSeconds+          ]+      )++-- | The usage snapshot represents the resources consumed by a workload at a specified time.+--+-- /See:/ 'newUsageSnapshot' smart constructor.+data UsageSnapshot = UsageSnapshot+  { -- | Optional. Accelerator type being used, if any+    acceleratorType :: (Core.Maybe Core.Text),+    -- | Optional. Milli (one-thousandth) accelerator. (see Dataproc Serverless pricing (https:\/\/cloud.google.com\/dataproc-serverless\/pricing))+    milliAccelerator :: (Core.Maybe Core.Int64),+    -- | Optional. Milli (one-thousandth) Dataproc Compute Units (DCUs) (see Dataproc Serverless pricing (https:\/\/cloud.google.com\/dataproc-serverless\/pricing)).+    milliDcu :: (Core.Maybe Core.Int64),+    -- | Optional. Milli (one-thousandth) Dataproc Compute Units (DCUs) charged at premium tier (see Dataproc Serverless pricing (https:\/\/cloud.google.com\/dataproc-serverless\/pricing)).+    milliDcuPremium :: (Core.Maybe Core.Int64),+    -- | Optional. Shuffle Storage in gigabytes (GB). (see Dataproc Serverless pricing (https:\/\/cloud.google.com\/dataproc-serverless\/pricing))+    shuffleStorageGb :: (Core.Maybe Core.Int64),+    -- | Optional. Shuffle Storage in gigabytes (GB) charged at premium tier. (see Dataproc Serverless pricing (https:\/\/cloud.google.com\/dataproc-serverless\/pricing))+    shuffleStorageGbPremium :: (Core.Maybe Core.Int64),+    -- | Optional. The timestamp of the usage snapshot.+    snapshotTime :: (Core.Maybe Core.DateTime)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'UsageSnapshot' with the minimum fields required to make a request.+newUsageSnapshot ::+  UsageSnapshot+newUsageSnapshot =+  UsageSnapshot+    { acceleratorType = Core.Nothing,+      milliAccelerator = Core.Nothing,+      milliDcu = Core.Nothing,+      milliDcuPremium = Core.Nothing,+      shuffleStorageGb = Core.Nothing,+      shuffleStorageGbPremium = Core.Nothing,+      snapshotTime = Core.Nothing+    }++instance Core.FromJSON UsageSnapshot where+  parseJSON =+    Core.withObject+      "UsageSnapshot"+      ( \o ->+          UsageSnapshot+            Core.<$> (o Core..:? "acceleratorType")+            Core.<*> (o Core..:? "milliAccelerator" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "milliDcu" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "milliDcuPremium" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "shuffleStorageGb" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> ( o+                         Core..:? "shuffleStorageGbPremium"+                         Core.<&> Core.fmap Core.fromAsText+                     )+            Core.<*> (o Core..:? "snapshotTime")+      )++instance Core.ToJSON UsageSnapshot where+  toJSON UsageSnapshot {..} =+    Core.object+      ( Core.catMaybes+          [ ("acceleratorType" Core..=) Core.<$> acceleratorType,+            ("milliAccelerator" Core..=)+              Core.. Core.AsText+              Core.<$> milliAccelerator,+            ("milliDcu" Core..=) Core.. Core.AsText Core.<$> milliDcu,+            ("milliDcuPremium" Core..=)+              Core.. Core.AsText+              Core.<$> milliDcuPremium,+            ("shuffleStorageGb" Core..=)+              Core.. Core.AsText+              Core.<$> shuffleStorageGb,+            ("shuffleStorageGbPremium" Core..=)+              Core.. Core.AsText+              Core.<$> shuffleStorageGbPremium,+            ("snapshotTime" Core..=) Core.<$> snapshotTime+          ]+      )++-- | Validation based on a list of allowed values.+--+-- /See:/ 'newValueValidation' smart constructor.+newtype ValueValidation = ValueValidation+  { -- | Required. List of allowed values for the parameter.+    values :: (Core.Maybe [Core.Text])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ValueValidation' with the minimum fields required to make a request.+newValueValidation ::+  ValueValidation+newValueValidation = ValueValidation {values = Core.Nothing}++instance Core.FromJSON ValueValidation where+  parseJSON =+    Core.withObject+      "ValueValidation"+      (\o -> ValueValidation Core.<$> (o Core..:? "values"))++instance Core.ToJSON ValueValidation where+  toJSON ValueValidation {..} =+    Core.object (Core.catMaybes [("values" Core..=) Core.<$> values])++-- | The Dataproc cluster config for a cluster that does not directly control the underlying compute resources, such as a Dataproc-on-GKE cluster (https:\/\/cloud.google.com\/dataproc\/docs\/guides\/dpgke\/dataproc-gke-overview).+--+-- /See:/ 'newVirtualClusterConfig' smart constructor.+data VirtualClusterConfig = VirtualClusterConfig+  { -- | Optional. Configuration of auxiliary services used by this cluster.+    auxiliaryServicesConfig :: (Core.Maybe AuxiliaryServicesConfig),+    -- | Required. The configuration for running the Dataproc cluster on Kubernetes.+    kubernetesClusterConfig :: (Core.Maybe KubernetesClusterConfig),+    -- | Optional. A Cloud Storage bucket used to stage job dependencies, config files, and job driver console output. If you do not specify a staging bucket, Cloud Dataproc will determine a Cloud Storage location (US, ASIA, or EU) for your cluster\'s staging bucket according to the Compute Engine zone where your cluster is deployed, and then create and manage this project-level, per-location bucket (see Dataproc staging and temp buckets (https:\/\/cloud.google.com\/dataproc\/docs\/concepts\/configuring-clusters\/staging-bucket)). This field requires a Cloud Storage bucket name, not a gs:\/\/... URI to a Cloud Storage bucket.+    stagingBucket :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'VirtualClusterConfig' with the minimum fields required to make a request.+newVirtualClusterConfig ::+  VirtualClusterConfig+newVirtualClusterConfig =+  VirtualClusterConfig+    { auxiliaryServicesConfig = Core.Nothing,+      kubernetesClusterConfig = Core.Nothing,+      stagingBucket = Core.Nothing+    }++instance Core.FromJSON VirtualClusterConfig where+  parseJSON =+    Core.withObject+      "VirtualClusterConfig"+      ( \o ->+          VirtualClusterConfig+            Core.<$> (o Core..:? "auxiliaryServicesConfig")+            Core.<*> (o Core..:? "kubernetesClusterConfig")+            Core.<*> (o Core..:? "stagingBucket")+      )++instance Core.ToJSON VirtualClusterConfig where+  toJSON VirtualClusterConfig {..} =+    Core.object+      ( Core.catMaybes+          [ ("auxiliaryServicesConfig" Core..=)+              Core.<$> auxiliaryServicesConfig,+            ("kubernetesClusterConfig" Core..=)+              Core.<$> kubernetesClusterConfig,+            ("stagingBucket" Core..=) Core.<$> stagingBucket+          ]+      )++-- | The workflow graph.+--+-- /See:/ 'newWorkflowGraph' smart constructor.+newtype WorkflowGraph = WorkflowGraph+  { -- | Output only. The workflow nodes.+    nodes :: (Core.Maybe [WorkflowNode])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'WorkflowGraph' with the minimum fields required to make a request.+newWorkflowGraph ::+  WorkflowGraph+newWorkflowGraph = WorkflowGraph {nodes = Core.Nothing}++instance Core.FromJSON WorkflowGraph where+  parseJSON =+    Core.withObject+      "WorkflowGraph"+      (\o -> WorkflowGraph Core.<$> (o Core..:? "nodes"))++instance Core.ToJSON WorkflowGraph where+  toJSON WorkflowGraph {..} =+    Core.object (Core.catMaybes [("nodes" Core..=) Core.<$> nodes])++-- | A Dataproc workflow template resource.+--+-- /See:/ 'newWorkflowMetadata' smart constructor.+data WorkflowMetadata = WorkflowMetadata+  { -- | Output only. The name of the target cluster.+    clusterName :: (Core.Maybe Core.Text),+    -- | Output only. The UUID of target cluster.+    clusterUuid :: (Core.Maybe Core.Text),+    -- | Output only. The create cluster operation metadata.+    createCluster :: (Core.Maybe ClusterOperation),+    -- | Output only. DAG end time, only set for workflows with dag_timeout when DAG ends.+    dagEndTime :: (Core.Maybe Core.DateTime),+    -- | Output only. DAG start time, only set for workflows with dag_timeout when DAG begins.+    dagStartTime :: (Core.Maybe Core.DateTime),+    -- | Output only. The timeout duration for the DAG of jobs, expressed in seconds (see JSON representation of duration (https:\/\/developers.google.com\/protocol-buffers\/docs\/proto3#json)).+    dagTimeout :: (Core.Maybe Core.Duration),+    -- | Output only. The delete cluster operation metadata.+    deleteCluster :: (Core.Maybe ClusterOperation),+    -- | Output only. Workflow end time.+    endTime :: (Core.Maybe Core.DateTime),+    -- | Output only. The workflow graph.+    graph :: (Core.Maybe WorkflowGraph),+    -- | Map from parameter names to values that were used for those parameters.+    parameters :: (Core.Maybe WorkflowMetadata_Parameters),+    -- | Output only. Workflow start time.+    startTime :: (Core.Maybe Core.DateTime),+    -- | Output only. The workflow state.+    state :: (Core.Maybe WorkflowMetadata_State),+    -- | Output only. The resource name of the workflow template as described in https:\/\/cloud.google.com\/apis\/design\/resource/names. For projects.regions.workflowTemplates, the resource name of the template has the following format: projects\/{project/id}\/regions\/{region}\/workflowTemplates\/{template/id} For projects.locations.workflowTemplates, the resource name of the template has the following format: projects\/{project/id}\/locations\/{location}\/workflowTemplates\/{template_id}+    template :: (Core.Maybe Core.Text),+    -- | Output only. The version of template at the time of workflow instantiation.+    version :: (Core.Maybe Core.Int32)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'WorkflowMetadata' with the minimum fields required to make a request.+newWorkflowMetadata ::+  WorkflowMetadata+newWorkflowMetadata =+  WorkflowMetadata+    { clusterName = Core.Nothing,+      clusterUuid = Core.Nothing,+      createCluster = Core.Nothing,+      dagEndTime = Core.Nothing,+      dagStartTime = Core.Nothing,+      dagTimeout = Core.Nothing,+      deleteCluster = Core.Nothing,+      endTime = Core.Nothing,+      graph = Core.Nothing,+      parameters = Core.Nothing,+      startTime = Core.Nothing,+      state = Core.Nothing,+      template = Core.Nothing,+      version = Core.Nothing+    }++instance Core.FromJSON WorkflowMetadata where+  parseJSON =+    Core.withObject+      "WorkflowMetadata"+      ( \o ->+          WorkflowMetadata+            Core.<$> (o Core..:? "clusterName")+            Core.<*> (o Core..:? "clusterUuid")+            Core.<*> (o Core..:? "createCluster")+            Core.<*> (o Core..:? "dagEndTime")+            Core.<*> (o Core..:? "dagStartTime")+            Core.<*> (o Core..:? "dagTimeout")+            Core.<*> (o Core..:? "deleteCluster")+            Core.<*> (o Core..:? "endTime")+            Core.<*> (o Core..:? "graph")+            Core.<*> (o Core..:? "parameters")+            Core.<*> (o Core..:? "startTime")+            Core.<*> (o Core..:? "state")+            Core.<*> (o Core..:? "template")+            Core.<*> (o Core..:? "version")+      )++instance Core.ToJSON WorkflowMetadata where+  toJSON WorkflowMetadata {..} =+    Core.object+      ( Core.catMaybes+          [ ("clusterName" Core..=) Core.<$> clusterName,+            ("clusterUuid" Core..=) Core.<$> clusterUuid,+            ("createCluster" Core..=) Core.<$> createCluster,+            ("dagEndTime" Core..=) Core.<$> dagEndTime,+            ("dagStartTime" Core..=) Core.<$> dagStartTime,+            ("dagTimeout" Core..=) Core.<$> dagTimeout,+            ("deleteCluster" Core..=) Core.<$> deleteCluster,+            ("endTime" Core..=) Core.<$> endTime,+            ("graph" Core..=) Core.<$> graph,+            ("parameters" Core..=) Core.<$> parameters,+            ("startTime" Core..=) Core.<$> startTime,+            ("state" Core..=) Core.<$> state,+            ("template" Core..=) Core.<$> template,+            ("version" Core..=) Core.<$> version+          ]+      )++-- | Map from parameter names to values that were used for those parameters.+--+-- /See:/ 'newWorkflowMetadata_Parameters' smart constructor.+newtype WorkflowMetadata_Parameters = WorkflowMetadata_Parameters+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'WorkflowMetadata_Parameters' with the minimum fields required to make a request.+newWorkflowMetadata_Parameters ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  WorkflowMetadata_Parameters+newWorkflowMetadata_Parameters additional =+  WorkflowMetadata_Parameters {additional = additional}++instance Core.FromJSON WorkflowMetadata_Parameters where+  parseJSON =+    Core.withObject+      "WorkflowMetadata_Parameters"+      ( \o ->+          WorkflowMetadata_Parameters Core.<$> (Core.parseJSONObject o)+      )++instance Core.ToJSON WorkflowMetadata_Parameters where+  toJSON WorkflowMetadata_Parameters {..} = Core.toJSON additional++-- | The workflow node.+--+-- /See:/ 'newWorkflowNode' smart constructor.+data WorkflowNode = WorkflowNode+  { -- | Output only. The error detail.+    error :: (Core.Maybe Core.Text),+    -- | Output only. The job id; populated after the node enters RUNNING state.+    jobId :: (Core.Maybe Core.Text),+    -- | Output only. Node\'s prerequisite nodes.+    prerequisiteStepIds :: (Core.Maybe [Core.Text]),+    -- | Output only. The node state.+    state :: (Core.Maybe WorkflowNode_State),+    -- | Output only. The name of the node.+    stepId :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'WorkflowNode' with the minimum fields required to make a request.+newWorkflowNode ::+  WorkflowNode+newWorkflowNode =+  WorkflowNode+    { error = Core.Nothing,+      jobId = Core.Nothing,+      prerequisiteStepIds = Core.Nothing,+      state = Core.Nothing,+      stepId = Core.Nothing+    }++instance Core.FromJSON WorkflowNode where+  parseJSON =+    Core.withObject+      "WorkflowNode"+      ( \o ->+          WorkflowNode+            Core.<$> (o Core..:? "error")+            Core.<*> (o Core..:? "jobId")+            Core.<*> (o Core..:? "prerequisiteStepIds")+            Core.<*> (o Core..:? "state")+            Core.<*> (o Core..:? "stepId")+      )++instance Core.ToJSON WorkflowNode where+  toJSON WorkflowNode {..} =+    Core.object+      ( Core.catMaybes+          [ ("error" Core..=) Core.<$> error,+            ("jobId" Core..=) Core.<$> jobId,+            ("prerequisiteStepIds" Core..=) Core.<$> prerequisiteStepIds,+            ("state" Core..=) Core.<$> state,+            ("stepId" Core..=) Core.<$> stepId+          ]+      )++-- | A Dataproc workflow template resource.+--+-- /See:/ 'newWorkflowTemplate' smart constructor.+data WorkflowTemplate = WorkflowTemplate+  { -- | Output only. The time template was created.+    createTime :: (Core.Maybe Core.DateTime),+    -- | Optional. Timeout duration for the DAG of jobs, expressed in seconds (see JSON representation of duration (https:\/\/developers.google.com\/protocol-buffers\/docs\/proto3#json)). The timeout duration must be from 10 minutes (\"600s\") to 24 hours (\"86400s\"). The timer begins when the first job is submitted. If the workflow is running at the end of the timeout period, any remaining jobs are cancelled, the workflow is ended, and if the workflow was running on a managed cluster, the cluster is deleted.+    dagTimeout :: (Core.Maybe Core.Duration),+    -- | Optional. Encryption settings for encrypting workflow template job arguments.+    encryptionConfig :: (Core.Maybe GoogleCloudDataprocV1WorkflowTemplateEncryptionConfig),+    id :: (Core.Maybe Core.Text),+    -- | Required. The Directed Acyclic Graph of Jobs to submit.+    jobs :: (Core.Maybe [OrderedJob]),+    -- | Optional. The labels to associate with this template. These labels will be propagated to all jobs and clusters created by the workflow instance.Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https:\/\/www.ietf.org\/rfc\/rfc1035.txt).Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 (https:\/\/www.ietf.org\/rfc\/rfc1035.txt).No more than 32 labels can be associated with a template.+    labels :: (Core.Maybe WorkflowTemplate_Labels),+    -- | Output only. The resource name of the workflow template, as described in https:\/\/cloud.google.com\/apis\/design\/resource/names. For projects.regions.workflowTemplates, the resource name of the template has the following format: projects\/{project/id}\/regions\/{region}\/workflowTemplates\/{template/id} For projects.locations.workflowTemplates, the resource name of the template has the following format: projects\/{project/id}\/locations\/{location}\/workflowTemplates\/{template_id}+    name :: (Core.Maybe Core.Text),+    -- | Optional. Template parameters whose values are substituted into the template. Values for parameters must be provided when the template is instantiated.+    parameters :: (Core.Maybe [TemplateParameter]),+    -- | Required. WorkflowTemplate scheduling information.+    placement :: (Core.Maybe WorkflowTemplatePlacement),+    -- | Output only. The time template was last updated.+    updateTime :: (Core.Maybe Core.DateTime),+    -- | Optional. Used to perform a consistent read-modify-write.This field should be left blank for a CreateWorkflowTemplate request. It is required for an UpdateWorkflowTemplate request, and must match the current server version. A typical update template flow would fetch the current template with a GetWorkflowTemplate request, which will return the current template with the version field filled in with the current server version. The user updates other fields in the template, then returns it as part of the UpdateWorkflowTemplate request.+    version :: (Core.Maybe Core.Int32)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'WorkflowTemplate' with the minimum fields required to make a request.+newWorkflowTemplate ::+  WorkflowTemplate+newWorkflowTemplate =+  WorkflowTemplate+    { createTime = Core.Nothing,+      dagTimeout = Core.Nothing,+      encryptionConfig = Core.Nothing,+      id = Core.Nothing,+      jobs = Core.Nothing,+      labels = Core.Nothing,+      name = Core.Nothing,+      parameters = Core.Nothing,+      placement = Core.Nothing,+      updateTime = Core.Nothing,+      version = Core.Nothing+    }++instance Core.FromJSON WorkflowTemplate where+  parseJSON =+    Core.withObject+      "WorkflowTemplate"+      ( \o ->+          WorkflowTemplate+            Core.<$> (o Core..:? "createTime")+            Core.<*> (o Core..:? "dagTimeout")+            Core.<*> (o Core..:? "encryptionConfig")+            Core.<*> (o Core..:? "id")+            Core.<*> (o Core..:? "jobs")+            Core.<*> (o Core..:? "labels")+            Core.<*> (o Core..:? "name")+            Core.<*> (o Core..:? "parameters")+            Core.<*> (o Core..:? "placement")+            Core.<*> (o Core..:? "updateTime")+            Core.<*> (o Core..:? "version")+      )++instance Core.ToJSON WorkflowTemplate where+  toJSON WorkflowTemplate {..} =+    Core.object+      ( Core.catMaybes+          [ ("createTime" Core..=) Core.<$> createTime,+            ("dagTimeout" Core..=) Core.<$> dagTimeout,+            ("encryptionConfig" Core..=) Core.<$> encryptionConfig,+            ("id" Core..=) Core.<$> id,+            ("jobs" Core..=) Core.<$> jobs,+            ("labels" Core..=) Core.<$> labels,+            ("name" Core..=) Core.<$> name,+            ("parameters" Core..=) Core.<$> parameters,+            ("placement" Core..=) Core.<$> placement,+            ("updateTime" Core..=) Core.<$> updateTime,+            ("version" Core..=) Core.<$> version+          ]+      )++-- | Optional. The labels to associate with this template. These labels will be propagated to all jobs and clusters created by the workflow instance.Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https:\/\/www.ietf.org\/rfc\/rfc1035.txt).Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 (https:\/\/www.ietf.org\/rfc\/rfc1035.txt).No more than 32 labels can be associated with a template.+--+-- /See:/ 'newWorkflowTemplate_Labels' smart constructor.+newtype WorkflowTemplate_Labels = WorkflowTemplate_Labels+  { additional :: (Core.HashMap Core.Text Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'WorkflowTemplate_Labels' with the minimum fields required to make a request.+newWorkflowTemplate_Labels ::+  -- |  See 'additional'.+  Core.HashMap Core.Text Core.Text ->+  WorkflowTemplate_Labels+newWorkflowTemplate_Labels additional =+  WorkflowTemplate_Labels {additional = additional}++instance Core.FromJSON WorkflowTemplate_Labels where+  parseJSON =+    Core.withObject+      "WorkflowTemplate_Labels"+      (\o -> WorkflowTemplate_Labels Core.<$> (Core.parseJSONObject o))++instance Core.ToJSON WorkflowTemplate_Labels where+  toJSON WorkflowTemplate_Labels {..} = Core.toJSON additional++-- | Specifies workflow execution target.Either managed/cluster or cluster/selector is required.+--+-- /See:/ 'newWorkflowTemplatePlacement' smart constructor.+data WorkflowTemplatePlacement = WorkflowTemplatePlacement+  { -- | Optional. A selector that chooses target cluster for jobs based on metadata.The selector is evaluated at the time each job is submitted.+    clusterSelector :: (Core.Maybe ClusterSelector),+    -- | A cluster that is managed by the workflow.+    managedCluster :: (Core.Maybe ManagedCluster)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'WorkflowTemplatePlacement' with the minimum fields required to make a request.+newWorkflowTemplatePlacement ::+  WorkflowTemplatePlacement+newWorkflowTemplatePlacement =+  WorkflowTemplatePlacement+    { clusterSelector = Core.Nothing,+      managedCluster = Core.Nothing+    }++instance Core.FromJSON WorkflowTemplatePlacement where+  parseJSON =+    Core.withObject+      "WorkflowTemplatePlacement"+      ( \o ->+          WorkflowTemplatePlacement+            Core.<$> (o Core..:? "clusterSelector")+            Core.<*> (o Core..:? "managedCluster")+      )++instance Core.ToJSON WorkflowTemplatePlacement where+  toJSON WorkflowTemplatePlacement {..} =+    Core.object+      ( Core.catMaybes+          [ ("clusterSelector" Core..=) Core.<$> clusterSelector,+            ("managedCluster" Core..=) Core.<$> managedCluster+          ]+      )++-- | Write Spark Application data to internal storage systems+--+-- /See:/ 'newWriteSessionSparkApplicationContextRequest' smart constructor.+data WriteSessionSparkApplicationContextRequest = WriteSessionSparkApplicationContextRequest+  { -- | Required. Parent (Batch) resource reference.+    parent :: (Core.Maybe Core.Text),+    -- | Required. The batch of spark application context objects sent for ingestion.+    sparkWrapperObjects :: (Core.Maybe [SparkWrapperObject])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'WriteSessionSparkApplicationContextRequest' with the minimum fields required to make a request.+newWriteSessionSparkApplicationContextRequest ::+  WriteSessionSparkApplicationContextRequest+newWriteSessionSparkApplicationContextRequest =+  WriteSessionSparkApplicationContextRequest+    { parent = Core.Nothing,+      sparkWrapperObjects = Core.Nothing+    }++instance Core.FromJSON WriteSessionSparkApplicationContextRequest where+  parseJSON =+    Core.withObject+      "WriteSessionSparkApplicationContextRequest"+      ( \o ->+          WriteSessionSparkApplicationContextRequest+            Core.<$> (o Core..:? "parent")+            Core.<*> (o Core..:? "sparkWrapperObjects")+      )++instance Core.ToJSON WriteSessionSparkApplicationContextRequest where+  toJSON WriteSessionSparkApplicationContextRequest {..} =+    Core.object+      ( Core.catMaybes+          [ ("parent" Core..=) Core.<$> parent,+            ("sparkWrapperObjects" Core..=) Core.<$> sparkWrapperObjects+          ]+      )++-- | Response returned as an acknowledgement of receipt of data.+--+-- /See:/ 'newWriteSessionSparkApplicationContextResponse' smart constructor.+data WriteSessionSparkApplicationContextResponse = WriteSessionSparkApplicationContextResponse+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'WriteSessionSparkApplicationContextResponse' with the minimum fields required to make a request.+newWriteSessionSparkApplicationContextResponse ::+  WriteSessionSparkApplicationContextResponse+newWriteSessionSparkApplicationContextResponse =+  WriteSessionSparkApplicationContextResponse++instance Core.FromJSON WriteSessionSparkApplicationContextResponse where+  parseJSON =+    Core.withObject+      "WriteSessionSparkApplicationContextResponse"+      (\o -> Core.pure WriteSessionSparkApplicationContextResponse)++instance Core.ToJSON WriteSessionSparkApplicationContextResponse where+  toJSON = Core.const Core.emptyObject++-- | Write Spark Application data to internal storage systems+--+-- /See:/ 'newWriteSparkApplicationContextRequest' smart constructor.+data WriteSparkApplicationContextRequest = WriteSparkApplicationContextRequest+  { -- | Required. Parent (Batch) resource reference.+    parent :: (Core.Maybe Core.Text),+    sparkWrapperObjects :: (Core.Maybe [SparkWrapperObject])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'WriteSparkApplicationContextRequest' with the minimum fields required to make a request.+newWriteSparkApplicationContextRequest ::+  WriteSparkApplicationContextRequest+newWriteSparkApplicationContextRequest =+  WriteSparkApplicationContextRequest+    { parent = Core.Nothing,+      sparkWrapperObjects = Core.Nothing+    }++instance Core.FromJSON WriteSparkApplicationContextRequest where+  parseJSON =+    Core.withObject+      "WriteSparkApplicationContextRequest"+      ( \o ->+          WriteSparkApplicationContextRequest+            Core.<$> (o Core..:? "parent")+            Core.<*> (o Core..:? "sparkWrapperObjects")+      )++instance Core.ToJSON WriteSparkApplicationContextRequest where+  toJSON WriteSparkApplicationContextRequest {..} =+    Core.object+      ( Core.catMaybes+          [ ("parent" Core..=) Core.<$> parent,+            ("sparkWrapperObjects" Core..=) Core.<$> sparkWrapperObjects+          ]+      )++-- | Response returned as an acknowledgement of receipt of data.+--+-- /See:/ 'newWriteSparkApplicationContextResponse' smart constructor.+data WriteSparkApplicationContextResponse = WriteSparkApplicationContextResponse+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'WriteSparkApplicationContextResponse' with the minimum fields required to make a request.+newWriteSparkApplicationContextResponse ::+  WriteSparkApplicationContextResponse+newWriteSparkApplicationContextResponse =+  WriteSparkApplicationContextResponse++instance Core.FromJSON WriteSparkApplicationContextResponse where+  parseJSON =+    Core.withObject+      "WriteSparkApplicationContextResponse"+      (\o -> Core.pure WriteSparkApplicationContextResponse)++instance Core.ToJSON WriteSparkApplicationContextResponse where+  toJSON = Core.const Core.emptyObject++-- | A YARN application created by a job. Application information is a subset of org.apache.hadoop.yarn.proto.YarnProtos.ApplicationReportProto.Beta Feature: This report is available for testing purposes only. It may be changed before final release.+--+-- /See:/ 'newYarnApplication' smart constructor.+data YarnApplication = YarnApplication+  { -- | Required. The application name.+    name :: (Core.Maybe Core.Text),+    -- | Required. The numerical progress of the application, from 1 to 100.+    progress :: (Core.Maybe Core.Double),+    -- | Required. The application state.+    state :: (Core.Maybe YarnApplication_State),+    -- | Optional. The HTTP URL of the ApplicationMaster, HistoryServer, or TimelineServer that provides application-specific information. The URL uses the internal hostname, and requires a proxy server for resolution and, possibly, access.+    trackingUrl :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'YarnApplication' with the minimum fields required to make a request.+newYarnApplication ::+  YarnApplication+newYarnApplication =+  YarnApplication+    { name = Core.Nothing,+      progress = Core.Nothing,+      state = Core.Nothing,+      trackingUrl = Core.Nothing+    }++instance Core.FromJSON YarnApplication where+  parseJSON =+    Core.withObject+      "YarnApplication"+      ( \o ->+          YarnApplication+            Core.<$> (o Core..:? "name")+            Core.<*> (o Core..:? "progress")+            Core.<*> (o Core..:? "state")+            Core.<*> (o Core..:? "trackingUrl")+      )++instance Core.ToJSON YarnApplication where+  toJSON YarnApplication {..} =+    Core.object+      ( Core.catMaybes+          [ ("name" Core..=) Core.<$> name,+            ("progress" Core..=) Core.<$> progress,+            ("state" Core..=) Core.<$> state,+            ("trackingUrl" Core..=) Core.<$> trackingUrl+          ]+      )
+ gen/Gogol/Dataproc/Internal/Sum.hs view
@@ -0,0 +1,2482 @@+{-# 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.Dataproc.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.Dataproc.Internal.Sum+  ( -- * Xgafv+    Xgafv+      ( Xgafv_1,+        Xgafv_2,+        ..+      ),++    -- * AnalyzeOperationMetadata_AnalyzedWorkloadType+    AnalyzeOperationMetadata_AnalyzedWorkloadType+      ( AnalyzeOperationMetadata_AnalyzedWorkloadType_WORKLOADTYPEUNSPECIFIED,+        AnalyzeOperationMetadata_AnalyzedWorkloadType_Batch,+        ..+      ),++    -- * ApplicationInfo_ApplicationContextIngestionStatus+    ApplicationInfo_ApplicationContextIngestionStatus+      ( ApplicationInfo_ApplicationContextIngestionStatus_APPLICATIONCONTEXTINGESTIONSTATUSUNSPECIFIED,+        ApplicationInfo_ApplicationContextIngestionStatus_APPLICATIONCONTEXTINGESTIONSTATUSCOMPLETED,+        ..+      ),++    -- * ApplicationInfo_QuantileDataStatus+    ApplicationInfo_QuantileDataStatus+      ( ApplicationInfo_QuantileDataStatus_QUANTILEDATASTATUSUNSPECIFIED,+        ApplicationInfo_QuantileDataStatus_QUANTILEDATASTATUSCOMPLETED,+        ApplicationInfo_QuantileDataStatus_QUANTILEDATASTATUSFAILED,+        ..+      ),++    -- * AutotuningConfig_ScenariosItem+    AutotuningConfig_ScenariosItem+      ( AutotuningConfig_ScenariosItem_SCENARIOUNSPECIFIED,+        AutotuningConfig_ScenariosItem_Scaling,+        AutotuningConfig_ScenariosItem_BROADCASTHASHJOIN,+        AutotuningConfig_ScenariosItem_Memory,+        ..+      ),++    -- * Batch_State+    Batch_State+      ( Batch_State_STATEUNSPECIFIED,+        Batch_State_Pending,+        Batch_State_Running,+        Batch_State_Cancelling,+        Batch_State_Cancelled,+        Batch_State_Succeeded,+        Batch_State_Failed,+        ..+      ),++    -- * BatchOperationMetadata_OperationType+    BatchOperationMetadata_OperationType+      ( BatchOperationMetadata_OperationType_BATCHOPERATIONTYPEUNSPECIFIED,+        BatchOperationMetadata_OperationType_Batch,+        ..+      ),++    -- * ClusterOperationStatus_State+    ClusterOperationStatus_State+      ( ClusterOperationStatus_State_Unknown,+        ClusterOperationStatus_State_Pending,+        ClusterOperationStatus_State_Running,+        ClusterOperationStatus_State_Done,+        ..+      ),++    -- * ClusterStatus_State+    ClusterStatus_State+      ( ClusterStatus_State_Unknown,+        ClusterStatus_State_Creating,+        ClusterStatus_State_Running,+        ClusterStatus_State_Error',+        ClusterStatus_State_ERRORDUETOUPDATE,+        ClusterStatus_State_Deleting,+        ClusterStatus_State_Updating,+        ClusterStatus_State_Stopping,+        ClusterStatus_State_Stopped,+        ClusterStatus_State_Starting,+        ClusterStatus_State_Repairing,+        ClusterStatus_State_Scheduled,+        ..+      ),++    -- * ClusterStatus_Substate+    ClusterStatus_Substate+      ( ClusterStatus_Substate_Unspecified,+        ClusterStatus_Substate_Unhealthy,+        ClusterStatus_Substate_STALESTATUS,+        ..+      ),++    -- * ClusterToRepair_ClusterRepairAction+    ClusterToRepair_ClusterRepairAction+      ( ClusterToRepair_ClusterRepairAction_CLUSTERREPAIRACTIONUNSPECIFIED,+        ClusterToRepair_ClusterRepairAction_REPAIRERRORDUETOUPDATECLUSTER,+        ..+      ),++    -- * DiagnoseClusterRequest_TarballAccess+    DiagnoseClusterRequest_TarballAccess+      ( DiagnoseClusterRequest_TarballAccess_TARBALLACCESSUNSPECIFIED,+        DiagnoseClusterRequest_TarballAccess_GOOGLECLOUDSUPPORT,+        DiagnoseClusterRequest_TarballAccess_GOOGLEDATAPROCDIAGNOSE,+        ..+      ),++    -- * GceClusterConfig_PrivateIpv6GoogleAccess+    GceClusterConfig_PrivateIpv6GoogleAccess+      ( GceClusterConfig_PrivateIpv6GoogleAccess_PRIVATEIPV6GOOGLEACCESSUNSPECIFIED,+        GceClusterConfig_PrivateIpv6GoogleAccess_INHERITFROMSUBNETWORK,+        GceClusterConfig_PrivateIpv6GoogleAccess_Outbound,+        GceClusterConfig_PrivateIpv6GoogleAccess_Bidirectional,+        ..+      ),++    -- * GkeNodePoolTarget_RolesItem+    GkeNodePoolTarget_RolesItem+      ( GkeNodePoolTarget_RolesItem_ROLEUNSPECIFIED,+        GkeNodePoolTarget_RolesItem_Default,+        GkeNodePoolTarget_RolesItem_Controller,+        GkeNodePoolTarget_RolesItem_SPARKDRIVER,+        GkeNodePoolTarget_RolesItem_SPARKEXECUTOR,+        ..+      ),++    -- * InstanceGroupConfig_Preemptibility+    InstanceGroupConfig_Preemptibility+      ( InstanceGroupConfig_Preemptibility_PREEMPTIBILITYUNSPECIFIED,+        InstanceGroupConfig_Preemptibility_NONPREEMPTIBLE,+        InstanceGroupConfig_Preemptibility_Preemptible,+        InstanceGroupConfig_Preemptibility_Spot,+        ..+      ),++    -- * JobData_Status+    JobData_Status+      ( JobData_Status_JOBEXECUTIONSTATUSUNSPECIFIED,+        JobData_Status_JOBEXECUTIONSTATUSRUNNING,+        JobData_Status_JOBEXECUTIONSTATUSSUCCEEDED,+        JobData_Status_JOBEXECUTIONSTATUSFAILED,+        JobData_Status_JOBEXECUTIONSTATUSUNKNOWN,+        ..+      ),++    -- * JobStatus_State+    JobStatus_State+      ( JobStatus_State_STATEUNSPECIFIED,+        JobStatus_State_Pending,+        JobStatus_State_SETUPDONE,+        JobStatus_State_Running,+        JobStatus_State_CANCELPENDING,+        JobStatus_State_CANCELSTARTED,+        JobStatus_State_Cancelled,+        JobStatus_State_Done,+        JobStatus_State_Error',+        JobStatus_State_ATTEMPTFAILURE,+        ..+      ),++    -- * JobStatus_Substate+    JobStatus_Substate+      ( JobStatus_Substate_Unspecified,+        JobStatus_Substate_Submitted,+        JobStatus_Substate_Queued,+        JobStatus_Substate_STALESTATUS,+        ..+      ),++    -- * JupyterConfig_Kernel+    JupyterConfig_Kernel+      ( JupyterConfig_Kernel_KERNELUNSPECIFIED,+        JupyterConfig_Kernel_Python,+        JupyterConfig_Kernel_Scala,+        ..+      ),++    -- * LoggingConfig_DriverLogLevelsAdditional+    LoggingConfig_DriverLogLevelsAdditional+      ( LoggingConfig_DriverLogLevelsAdditional_LEVELUNSPECIFIED,+        LoggingConfig_DriverLogLevelsAdditional_All,+        LoggingConfig_DriverLogLevelsAdditional_Trace,+        LoggingConfig_DriverLogLevelsAdditional_Debug,+        LoggingConfig_DriverLogLevelsAdditional_Info,+        LoggingConfig_DriverLogLevelsAdditional_Warn,+        LoggingConfig_DriverLogLevelsAdditional_Error',+        LoggingConfig_DriverLogLevelsAdditional_Fatal,+        LoggingConfig_DriverLogLevelsAdditional_Off,+        ..+      ),++    -- * Metric_MetricSource+    Metric_MetricSource+      ( Metric_MetricSource_METRICSOURCEUNSPECIFIED,+        Metric_MetricSource_MONITORINGAGENTDEFAULTS,+        Metric_MetricSource_Hdfs,+        Metric_MetricSource_Spark,+        Metric_MetricSource_Yarn,+        Metric_MetricSource_SPARKHISTORYSERVER,+        Metric_MetricSource_HIVESERVER2,+        Metric_MetricSource_Hivemetastore,+        Metric_MetricSource_Flink,+        ..+      ),++    -- * NodeGroup_RolesItem+    NodeGroup_RolesItem+      ( NodeGroup_RolesItem_ROLEUNSPECIFIED,+        NodeGroup_RolesItem_Driver,+        ..+      ),++    -- * NodeGroupOperationMetadata_OperationType+    NodeGroupOperationMetadata_OperationType+      ( NodeGroupOperationMetadata_OperationType_NODEGROUPOPERATIONTYPEUNSPECIFIED,+        NodeGroupOperationMetadata_OperationType_Create,+        NodeGroupOperationMetadata_OperationType_Update,+        NodeGroupOperationMetadata_OperationType_Delete',+        NodeGroupOperationMetadata_OperationType_Resize,+        NodeGroupOperationMetadata_OperationType_Repair,+        NodeGroupOperationMetadata_OperationType_UPDATELABELS,+        NodeGroupOperationMetadata_OperationType_Start,+        NodeGroupOperationMetadata_OperationType_Stop,+        ..+      ),++    -- * NodePool_RepairAction+    NodePool_RepairAction+      ( NodePool_RepairAction_REPAIRACTIONUNSPECIFIED,+        NodePool_RepairAction_Delete',+        ..+      ),++    -- * RddOperationNode_OutputDeterministicLevel+    RddOperationNode_OutputDeterministicLevel+      ( RddOperationNode_OutputDeterministicLevel_DETERMINISTICLEVELUNSPECIFIED,+        RddOperationNode_OutputDeterministicLevel_DETERMINISTICLEVELDETERMINATE,+        RddOperationNode_OutputDeterministicLevel_DETERMINISTICLEVELUNORDERED,+        RddOperationNode_OutputDeterministicLevel_DETERMINISTICLEVELINDETERMINATE,+        ..+      ),++    -- * RepairNodeGroupRequest_RepairAction+    RepairNodeGroupRequest_RepairAction+      ( RepairNodeGroupRequest_RepairAction_REPAIRACTIONUNSPECIFIED,+        RepairNodeGroupRequest_RepairAction_Replace,+        ..+      ),++    -- * ReservationAffinity_ConsumeReservationType+    ReservationAffinity_ConsumeReservationType+      ( ReservationAffinity_ConsumeReservationType_TYPEUNSPECIFIED,+        ReservationAffinity_ConsumeReservationType_NORESERVATION,+        ReservationAffinity_ConsumeReservationType_ANYRESERVATION,+        ReservationAffinity_ConsumeReservationType_SPECIFICRESERVATION,+        ..+      ),++    -- * Session_State+    Session_State+      ( Session_State_STATEUNSPECIFIED,+        Session_State_Creating,+        Session_State_Active,+        Session_State_Terminating,+        Session_State_Terminated,+        Session_State_Failed,+        ..+      ),++    -- * SessionOperationMetadata_OperationType+    SessionOperationMetadata_OperationType+      ( SessionOperationMetadata_OperationType_SESSIONOPERATIONTYPEUNSPECIFIED,+        SessionOperationMetadata_OperationType_Create,+        SessionOperationMetadata_OperationType_Terminate,+        SessionOperationMetadata_OperationType_Delete',+        ..+      ),++    -- * SessionStateHistory_State+    SessionStateHistory_State+      ( SessionStateHistory_State_STATEUNSPECIFIED,+        SessionStateHistory_State_Creating,+        SessionStateHistory_State_Active,+        SessionStateHistory_State_Terminating,+        SessionStateHistory_State_Terminated,+        SessionStateHistory_State_Failed,+        ..+      ),++    -- * SoftwareConfig_OptionalComponentsItem+    SoftwareConfig_OptionalComponentsItem+      ( SoftwareConfig_OptionalComponentsItem_COMPONENTUNSPECIFIED,+        SoftwareConfig_OptionalComponentsItem_Anaconda,+        SoftwareConfig_OptionalComponentsItem_Docker,+        SoftwareConfig_OptionalComponentsItem_Druid,+        SoftwareConfig_OptionalComponentsItem_Flink,+        SoftwareConfig_OptionalComponentsItem_Hbase,+        SoftwareConfig_OptionalComponentsItem_HIVEWEBHCAT,+        SoftwareConfig_OptionalComponentsItem_Hudi,+        SoftwareConfig_OptionalComponentsItem_Jupyter,+        SoftwareConfig_OptionalComponentsItem_Pig,+        SoftwareConfig_OptionalComponentsItem_Presto,+        SoftwareConfig_OptionalComponentsItem_Trino,+        SoftwareConfig_OptionalComponentsItem_Ranger,+        SoftwareConfig_OptionalComponentsItem_Solr,+        SoftwareConfig_OptionalComponentsItem_Zeppelin,+        SoftwareConfig_OptionalComponentsItem_Zookeeper,+        ..+      ),++    -- * SqlExecutionUiData_JobsAdditional+    SqlExecutionUiData_JobsAdditional+      ( SqlExecutionUiData_JobsAdditional_JOBEXECUTIONSTATUSUNSPECIFIED,+        SqlExecutionUiData_JobsAdditional_JOBEXECUTIONSTATUSRUNNING,+        SqlExecutionUiData_JobsAdditional_JOBEXECUTIONSTATUSSUCCEEDED,+        SqlExecutionUiData_JobsAdditional_JOBEXECUTIONSTATUSFAILED,+        SqlExecutionUiData_JobsAdditional_JOBEXECUTIONSTATUSUNKNOWN,+        ..+      ),++    -- * StageData_Status+    StageData_Status+      ( StageData_Status_STAGESTATUSUNSPECIFIED,+        StageData_Status_STAGESTATUSACTIVE,+        StageData_Status_STAGESTATUSCOMPLETE,+        StageData_Status_STAGESTATUSFAILED,+        StageData_Status_STAGESTATUSPENDING,+        StageData_Status_STAGESTATUSSKIPPED,+        ..+      ),++    -- * StateHistory_State+    StateHistory_State+      ( StateHistory_State_STATEUNSPECIFIED,+        StateHistory_State_Pending,+        StateHistory_State_Running,+        StateHistory_State_Cancelling,+        StateHistory_State_Cancelled,+        StateHistory_State_Succeeded,+        StateHistory_State_Failed,+        ..+      ),++    -- * WorkflowMetadata_State+    WorkflowMetadata_State+      ( WorkflowMetadata_State_Unknown,+        WorkflowMetadata_State_Pending,+        WorkflowMetadata_State_Running,+        WorkflowMetadata_State_Done,+        ..+      ),++    -- * WorkflowNode_State+    WorkflowNode_State+      ( WorkflowNode_State_NODESTATEUNSPECIFIED,+        WorkflowNode_State_Blocked,+        WorkflowNode_State_Runnable,+        WorkflowNode_State_Running,+        WorkflowNode_State_Completed,+        WorkflowNode_State_Failed,+        ..+      ),++    -- * YarnApplication_State+    YarnApplication_State+      ( YarnApplication_State_STATEUNSPECIFIED,+        YarnApplication_State_New,+        YarnApplication_State_NEWSAVING,+        YarnApplication_State_Submitted,+        YarnApplication_State_Accepted,+        YarnApplication_State_Running,+        YarnApplication_State_Finished,+        YarnApplication_State_Failed,+        YarnApplication_State_Killed,+        ..+      ),++    -- * ProjectsLocationsBatchesSparkApplicationsSearchApplicationStatus+    ProjectsLocationsBatchesSparkApplicationsSearchApplicationStatus+      ( ProjectsLocationsBatchesSparkApplicationsSearchApplicationStatus_APPLICATIONSTATUSUNSPECIFIED,+        ProjectsLocationsBatchesSparkApplicationsSearchApplicationStatus_APPLICATIONSTATUSRUNNING,+        ProjectsLocationsBatchesSparkApplicationsSearchApplicationStatus_APPLICATIONSTATUSCOMPLETED,+        ..+      ),++    -- * ProjectsLocationsBatchesSparkApplicationsSearchExecutorsExecutorStatus+    ProjectsLocationsBatchesSparkApplicationsSearchExecutorsExecutorStatus+      ( ProjectsLocationsBatchesSparkApplicationsSearchExecutorsExecutorStatus_EXECUTORSTATUSUNSPECIFIED,+        ProjectsLocationsBatchesSparkApplicationsSearchExecutorsExecutorStatus_EXECUTORSTATUSACTIVE,+        ProjectsLocationsBatchesSparkApplicationsSearchExecutorsExecutorStatus_EXECUTORSTATUSDEAD,+        ..+      ),++    -- * ProjectsLocationsBatchesSparkApplicationsSearchJobsJobStatus+    ProjectsLocationsBatchesSparkApplicationsSearchJobsJobStatus+      ( ProjectsLocationsBatchesSparkApplicationsSearchJobsJobStatus_JOBEXECUTIONSTATUSUNSPECIFIED,+        ProjectsLocationsBatchesSparkApplicationsSearchJobsJobStatus_JOBEXECUTIONSTATUSRUNNING,+        ProjectsLocationsBatchesSparkApplicationsSearchJobsJobStatus_JOBEXECUTIONSTATUSSUCCEEDED,+        ProjectsLocationsBatchesSparkApplicationsSearchJobsJobStatus_JOBEXECUTIONSTATUSFAILED,+        ProjectsLocationsBatchesSparkApplicationsSearchJobsJobStatus_JOBEXECUTIONSTATUSUNKNOWN,+        ..+      ),++    -- * ProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasksTaskStatus+    ProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasksTaskStatus+      ( ProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasksTaskStatus_TASKSTATUSUNSPECIFIED,+        ProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasksTaskStatus_TASKSTATUSRUNNING,+        ProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasksTaskStatus_TASKSTATUSSUCCESS,+        ProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasksTaskStatus_TASKSTATUSFAILED,+        ProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasksTaskStatus_TASKSTATUSKILLED,+        ProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasksTaskStatus_TASKSTATUSPENDING,+        ..+      ),++    -- * ProjectsLocationsBatchesSparkApplicationsSearchStagesStageStatus+    ProjectsLocationsBatchesSparkApplicationsSearchStagesStageStatus+      ( ProjectsLocationsBatchesSparkApplicationsSearchStagesStageStatus_STAGESTATUSUNSPECIFIED,+        ProjectsLocationsBatchesSparkApplicationsSearchStagesStageStatus_STAGESTATUSACTIVE,+        ProjectsLocationsBatchesSparkApplicationsSearchStagesStageStatus_STAGESTATUSCOMPLETE,+        ProjectsLocationsBatchesSparkApplicationsSearchStagesStageStatus_STAGESTATUSFAILED,+        ProjectsLocationsBatchesSparkApplicationsSearchStagesStageStatus_STAGESTATUSPENDING,+        ProjectsLocationsBatchesSparkApplicationsSearchStagesStageStatus_STAGESTATUSSKIPPED,+        ..+      ),++    -- * ProjectsLocationsSessionsSparkApplicationsSearchApplicationStatus+    ProjectsLocationsSessionsSparkApplicationsSearchApplicationStatus+      ( ProjectsLocationsSessionsSparkApplicationsSearchApplicationStatus_APPLICATIONSTATUSUNSPECIFIED,+        ProjectsLocationsSessionsSparkApplicationsSearchApplicationStatus_APPLICATIONSTATUSRUNNING,+        ProjectsLocationsSessionsSparkApplicationsSearchApplicationStatus_APPLICATIONSTATUSCOMPLETED,+        ..+      ),++    -- * ProjectsLocationsSessionsSparkApplicationsSearchExecutorsExecutorStatus+    ProjectsLocationsSessionsSparkApplicationsSearchExecutorsExecutorStatus+      ( ProjectsLocationsSessionsSparkApplicationsSearchExecutorsExecutorStatus_EXECUTORSTATUSUNSPECIFIED,+        ProjectsLocationsSessionsSparkApplicationsSearchExecutorsExecutorStatus_EXECUTORSTATUSACTIVE,+        ProjectsLocationsSessionsSparkApplicationsSearchExecutorsExecutorStatus_EXECUTORSTATUSDEAD,+        ..+      ),++    -- * ProjectsLocationsSessionsSparkApplicationsSearchJobsJobStatus+    ProjectsLocationsSessionsSparkApplicationsSearchJobsJobStatus+      ( ProjectsLocationsSessionsSparkApplicationsSearchJobsJobStatus_JOBEXECUTIONSTATUSUNSPECIFIED,+        ProjectsLocationsSessionsSparkApplicationsSearchJobsJobStatus_JOBEXECUTIONSTATUSRUNNING,+        ProjectsLocationsSessionsSparkApplicationsSearchJobsJobStatus_JOBEXECUTIONSTATUSSUCCEEDED,+        ProjectsLocationsSessionsSparkApplicationsSearchJobsJobStatus_JOBEXECUTIONSTATUSFAILED,+        ProjectsLocationsSessionsSparkApplicationsSearchJobsJobStatus_JOBEXECUTIONSTATUSUNKNOWN,+        ..+      ),++    -- * ProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasksTaskStatus+    ProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasksTaskStatus+      ( ProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasksTaskStatus_TASKSTATUSUNSPECIFIED,+        ProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasksTaskStatus_TASKSTATUSRUNNING,+        ProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasksTaskStatus_TASKSTATUSSUCCESS,+        ProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasksTaskStatus_TASKSTATUSFAILED,+        ProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasksTaskStatus_TASKSTATUSKILLED,+        ProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasksTaskStatus_TASKSTATUSPENDING,+        ..+      ),++    -- * ProjectsLocationsSessionsSparkApplicationsSearchStagesStageStatus+    ProjectsLocationsSessionsSparkApplicationsSearchStagesStageStatus+      ( ProjectsLocationsSessionsSparkApplicationsSearchStagesStageStatus_STAGESTATUSUNSPECIFIED,+        ProjectsLocationsSessionsSparkApplicationsSearchStagesStageStatus_STAGESTATUSACTIVE,+        ProjectsLocationsSessionsSparkApplicationsSearchStagesStageStatus_STAGESTATUSCOMPLETE,+        ProjectsLocationsSessionsSparkApplicationsSearchStagesStageStatus_STAGESTATUSFAILED,+        ProjectsLocationsSessionsSparkApplicationsSearchStagesStageStatus_STAGESTATUSPENDING,+        ProjectsLocationsSessionsSparkApplicationsSearchStagesStageStatus_STAGESTATUSSKIPPED,+        ..+      ),++    -- * ProjectsRegionsClustersCreateActionOnFailedPrimaryWorkers+    ProjectsRegionsClustersCreateActionOnFailedPrimaryWorkers+      ( ProjectsRegionsClustersCreateActionOnFailedPrimaryWorkers_FAILUREACTIONUNSPECIFIED,+        ProjectsRegionsClustersCreateActionOnFailedPrimaryWorkers_NOACTION,+        ProjectsRegionsClustersCreateActionOnFailedPrimaryWorkers_Delete',+        ..+      ),++    -- * ProjectsRegionsJobsListJobStateMatcher+    ProjectsRegionsJobsListJobStateMatcher+      ( ProjectsRegionsJobsListJobStateMatcher_All,+        ProjectsRegionsJobsListJobStateMatcher_Active,+        ProjectsRegionsJobsListJobStateMatcher_NONACTIVE,+        ..+      ),+  )+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+  #-}++-- | Output only. Type of the workload being analyzed.+newtype AnalyzeOperationMetadata_AnalyzedWorkloadType = AnalyzeOperationMetadata_AnalyzedWorkloadType {fromAnalyzeOperationMetadata_AnalyzedWorkloadType :: 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+    )++-- | Undefined option+pattern AnalyzeOperationMetadata_AnalyzedWorkloadType_WORKLOADTYPEUNSPECIFIED :: AnalyzeOperationMetadata_AnalyzedWorkloadType+pattern AnalyzeOperationMetadata_AnalyzedWorkloadType_WORKLOADTYPEUNSPECIFIED = AnalyzeOperationMetadata_AnalyzedWorkloadType "WORKLOAD_TYPE_UNSPECIFIED"++-- | Serverless batch job+pattern AnalyzeOperationMetadata_AnalyzedWorkloadType_Batch :: AnalyzeOperationMetadata_AnalyzedWorkloadType+pattern AnalyzeOperationMetadata_AnalyzedWorkloadType_Batch = AnalyzeOperationMetadata_AnalyzedWorkloadType "BATCH"++{-# COMPLETE+  AnalyzeOperationMetadata_AnalyzedWorkloadType_WORKLOADTYPEUNSPECIFIED,+  AnalyzeOperationMetadata_AnalyzedWorkloadType_Batch,+  AnalyzeOperationMetadata_AnalyzedWorkloadType+  #-}++newtype ApplicationInfo_ApplicationContextIngestionStatus = ApplicationInfo_ApplicationContextIngestionStatus {fromApplicationInfo_ApplicationContextIngestionStatus :: 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+    )++pattern ApplicationInfo_ApplicationContextIngestionStatus_APPLICATIONCONTEXTINGESTIONSTATUSUNSPECIFIED :: ApplicationInfo_ApplicationContextIngestionStatus+pattern ApplicationInfo_ApplicationContextIngestionStatus_APPLICATIONCONTEXTINGESTIONSTATUSUNSPECIFIED = ApplicationInfo_ApplicationContextIngestionStatus "APPLICATION_CONTEXT_INGESTION_STATUS_UNSPECIFIED"++pattern ApplicationInfo_ApplicationContextIngestionStatus_APPLICATIONCONTEXTINGESTIONSTATUSCOMPLETED :: ApplicationInfo_ApplicationContextIngestionStatus+pattern ApplicationInfo_ApplicationContextIngestionStatus_APPLICATIONCONTEXTINGESTIONSTATUSCOMPLETED = ApplicationInfo_ApplicationContextIngestionStatus "APPLICATION_CONTEXT_INGESTION_STATUS_COMPLETED"++{-# COMPLETE+  ApplicationInfo_ApplicationContextIngestionStatus_APPLICATIONCONTEXTINGESTIONSTATUSUNSPECIFIED,+  ApplicationInfo_ApplicationContextIngestionStatus_APPLICATIONCONTEXTINGESTIONSTATUSCOMPLETED,+  ApplicationInfo_ApplicationContextIngestionStatus+  #-}++newtype ApplicationInfo_QuantileDataStatus = ApplicationInfo_QuantileDataStatus {fromApplicationInfo_QuantileDataStatus :: 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+    )++pattern ApplicationInfo_QuantileDataStatus_QUANTILEDATASTATUSUNSPECIFIED :: ApplicationInfo_QuantileDataStatus+pattern ApplicationInfo_QuantileDataStatus_QUANTILEDATASTATUSUNSPECIFIED = ApplicationInfo_QuantileDataStatus "QUANTILE_DATA_STATUS_UNSPECIFIED"++pattern ApplicationInfo_QuantileDataStatus_QUANTILEDATASTATUSCOMPLETED :: ApplicationInfo_QuantileDataStatus+pattern ApplicationInfo_QuantileDataStatus_QUANTILEDATASTATUSCOMPLETED = ApplicationInfo_QuantileDataStatus "QUANTILE_DATA_STATUS_COMPLETED"++pattern ApplicationInfo_QuantileDataStatus_QUANTILEDATASTATUSFAILED :: ApplicationInfo_QuantileDataStatus+pattern ApplicationInfo_QuantileDataStatus_QUANTILEDATASTATUSFAILED = ApplicationInfo_QuantileDataStatus "QUANTILE_DATA_STATUS_FAILED"++{-# COMPLETE+  ApplicationInfo_QuantileDataStatus_QUANTILEDATASTATUSUNSPECIFIED,+  ApplicationInfo_QuantileDataStatus_QUANTILEDATASTATUSCOMPLETED,+  ApplicationInfo_QuantileDataStatus_QUANTILEDATASTATUSFAILED,+  ApplicationInfo_QuantileDataStatus+  #-}++newtype AutotuningConfig_ScenariosItem = AutotuningConfig_ScenariosItem {fromAutotuningConfig_ScenariosItem :: 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 AutotuningConfig_ScenariosItem_SCENARIOUNSPECIFIED :: AutotuningConfig_ScenariosItem+pattern AutotuningConfig_ScenariosItem_SCENARIOUNSPECIFIED = AutotuningConfig_ScenariosItem "SCENARIO_UNSPECIFIED"++-- | Scaling recommendations such as initialExecutors.+pattern AutotuningConfig_ScenariosItem_Scaling :: AutotuningConfig_ScenariosItem+pattern AutotuningConfig_ScenariosItem_Scaling = AutotuningConfig_ScenariosItem "SCALING"++-- | Adding hints for potential relation broadcasts.+pattern AutotuningConfig_ScenariosItem_BROADCASTHASHJOIN :: AutotuningConfig_ScenariosItem+pattern AutotuningConfig_ScenariosItem_BROADCASTHASHJOIN = AutotuningConfig_ScenariosItem "BROADCAST_HASH_JOIN"++-- | Memory management for workloads.+pattern AutotuningConfig_ScenariosItem_Memory :: AutotuningConfig_ScenariosItem+pattern AutotuningConfig_ScenariosItem_Memory = AutotuningConfig_ScenariosItem "MEMORY"++{-# COMPLETE+  AutotuningConfig_ScenariosItem_SCENARIOUNSPECIFIED,+  AutotuningConfig_ScenariosItem_Scaling,+  AutotuningConfig_ScenariosItem_BROADCASTHASHJOIN,+  AutotuningConfig_ScenariosItem_Memory,+  AutotuningConfig_ScenariosItem+  #-}++-- | Output only. The state of the batch.+newtype Batch_State = Batch_State {fromBatch_State :: 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 batch state is unknown.+pattern Batch_State_STATEUNSPECIFIED :: Batch_State+pattern Batch_State_STATEUNSPECIFIED = Batch_State "STATE_UNSPECIFIED"++-- | The batch is created before running.+pattern Batch_State_Pending :: Batch_State+pattern Batch_State_Pending = Batch_State "PENDING"++-- | The batch is running.+pattern Batch_State_Running :: Batch_State+pattern Batch_State_Running = Batch_State "RUNNING"++-- | The batch is cancelling.+pattern Batch_State_Cancelling :: Batch_State+pattern Batch_State_Cancelling = Batch_State "CANCELLING"++-- | The batch cancellation was successful.+pattern Batch_State_Cancelled :: Batch_State+pattern Batch_State_Cancelled = Batch_State "CANCELLED"++-- | The batch completed successfully.+pattern Batch_State_Succeeded :: Batch_State+pattern Batch_State_Succeeded = Batch_State "SUCCEEDED"++-- | The batch is no longer running due to an error.+pattern Batch_State_Failed :: Batch_State+pattern Batch_State_Failed = Batch_State "FAILED"++{-# COMPLETE+  Batch_State_STATEUNSPECIFIED,+  Batch_State_Pending,+  Batch_State_Running,+  Batch_State_Cancelling,+  Batch_State_Cancelled,+  Batch_State_Succeeded,+  Batch_State_Failed,+  Batch_State+  #-}++-- | The operation type.+newtype BatchOperationMetadata_OperationType = BatchOperationMetadata_OperationType {fromBatchOperationMetadata_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+    )++-- | Batch operation type is unknown.+pattern BatchOperationMetadata_OperationType_BATCHOPERATIONTYPEUNSPECIFIED :: BatchOperationMetadata_OperationType+pattern BatchOperationMetadata_OperationType_BATCHOPERATIONTYPEUNSPECIFIED = BatchOperationMetadata_OperationType "BATCH_OPERATION_TYPE_UNSPECIFIED"++-- | Batch operation type.+pattern BatchOperationMetadata_OperationType_Batch :: BatchOperationMetadata_OperationType+pattern BatchOperationMetadata_OperationType_Batch = BatchOperationMetadata_OperationType "BATCH"++{-# COMPLETE+  BatchOperationMetadata_OperationType_BATCHOPERATIONTYPEUNSPECIFIED,+  BatchOperationMetadata_OperationType_Batch,+  BatchOperationMetadata_OperationType+  #-}++-- | Output only. A message containing the operation state.+newtype ClusterOperationStatus_State = ClusterOperationStatus_State {fromClusterOperationStatus_State :: 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.+pattern ClusterOperationStatus_State_Unknown :: ClusterOperationStatus_State+pattern ClusterOperationStatus_State_Unknown = ClusterOperationStatus_State "UNKNOWN"++-- | The operation has been created.+pattern ClusterOperationStatus_State_Pending :: ClusterOperationStatus_State+pattern ClusterOperationStatus_State_Pending = ClusterOperationStatus_State "PENDING"++-- | The operation is running.+pattern ClusterOperationStatus_State_Running :: ClusterOperationStatus_State+pattern ClusterOperationStatus_State_Running = ClusterOperationStatus_State "RUNNING"++-- | The operation is done; either cancelled or completed.+pattern ClusterOperationStatus_State_Done :: ClusterOperationStatus_State+pattern ClusterOperationStatus_State_Done = ClusterOperationStatus_State "DONE"++{-# COMPLETE+  ClusterOperationStatus_State_Unknown,+  ClusterOperationStatus_State_Pending,+  ClusterOperationStatus_State_Running,+  ClusterOperationStatus_State_Done,+  ClusterOperationStatus_State+  #-}++-- | Output only. The cluster\'s state.+newtype ClusterStatus_State = ClusterStatus_State {fromClusterStatus_State :: 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 cluster state is unknown.+pattern ClusterStatus_State_Unknown :: ClusterStatus_State+pattern ClusterStatus_State_Unknown = ClusterStatus_State "UNKNOWN"++-- | The cluster is being created and set up. It is not ready for use.+pattern ClusterStatus_State_Creating :: ClusterStatus_State+pattern ClusterStatus_State_Creating = ClusterStatus_State "CREATING"++-- | The cluster is currently running and healthy. It is ready for use.Note: The cluster state changes from \"creating\" to \"running\" status after the master node(s), first two primary worker nodes (and the last primary worker node if primary workers > 2) are running.+pattern ClusterStatus_State_Running :: ClusterStatus_State+pattern ClusterStatus_State_Running = ClusterStatus_State "RUNNING"++-- | The cluster encountered an error. It is not ready for use.+pattern ClusterStatus_State_Error' :: ClusterStatus_State+pattern ClusterStatus_State_Error' = ClusterStatus_State "ERROR"++-- | The cluster has encountered an error while being updated. Jobs can be submitted to the cluster, but the cluster cannot be updated.+pattern ClusterStatus_State_ERRORDUETOUPDATE :: ClusterStatus_State+pattern ClusterStatus_State_ERRORDUETOUPDATE = ClusterStatus_State "ERROR_DUE_TO_UPDATE"++-- | The cluster is being deleted. It cannot be used.+pattern ClusterStatus_State_Deleting :: ClusterStatus_State+pattern ClusterStatus_State_Deleting = ClusterStatus_State "DELETING"++-- | The cluster is being updated. It continues to accept and process jobs.+pattern ClusterStatus_State_Updating :: ClusterStatus_State+pattern ClusterStatus_State_Updating = ClusterStatus_State "UPDATING"++-- | The cluster is being stopped. It cannot be used.+pattern ClusterStatus_State_Stopping :: ClusterStatus_State+pattern ClusterStatus_State_Stopping = ClusterStatus_State "STOPPING"++-- | The cluster is currently stopped. It is not ready for use.+pattern ClusterStatus_State_Stopped :: ClusterStatus_State+pattern ClusterStatus_State_Stopped = ClusterStatus_State "STOPPED"++-- | The cluster is being started. It is not ready for use.+pattern ClusterStatus_State_Starting :: ClusterStatus_State+pattern ClusterStatus_State_Starting = ClusterStatus_State "STARTING"++-- | The cluster is being repaired. It is not ready for use.+pattern ClusterStatus_State_Repairing :: ClusterStatus_State+pattern ClusterStatus_State_Repairing = ClusterStatus_State "REPAIRING"++-- | Cluster creation is currently waiting for resources to be available. Once all resources are available, it will transition to CREATING and then RUNNING.+pattern ClusterStatus_State_Scheduled :: ClusterStatus_State+pattern ClusterStatus_State_Scheduled = ClusterStatus_State "SCHEDULED"++{-# COMPLETE+  ClusterStatus_State_Unknown,+  ClusterStatus_State_Creating,+  ClusterStatus_State_Running,+  ClusterStatus_State_Error',+  ClusterStatus_State_ERRORDUETOUPDATE,+  ClusterStatus_State_Deleting,+  ClusterStatus_State_Updating,+  ClusterStatus_State_Stopping,+  ClusterStatus_State_Stopped,+  ClusterStatus_State_Starting,+  ClusterStatus_State_Repairing,+  ClusterStatus_State_Scheduled,+  ClusterStatus_State+  #-}++-- | Output only. Additional state information that includes status reported by the agent.+newtype ClusterStatus_Substate = ClusterStatus_Substate {fromClusterStatus_Substate :: 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 cluster substate is unknown.+pattern ClusterStatus_Substate_Unspecified :: ClusterStatus_Substate+pattern ClusterStatus_Substate_Unspecified = ClusterStatus_Substate "UNSPECIFIED"++-- | The cluster is known to be in an unhealthy state (for example, critical daemons are not running or HDFS capacity is exhausted).Applies to RUNNING state.+pattern ClusterStatus_Substate_Unhealthy :: ClusterStatus_Substate+pattern ClusterStatus_Substate_Unhealthy = ClusterStatus_Substate "UNHEALTHY"++-- | The agent-reported status is out of date (may occur if Dataproc loses communication with Agent).Applies to RUNNING state.+pattern ClusterStatus_Substate_STALESTATUS :: ClusterStatus_Substate+pattern ClusterStatus_Substate_STALESTATUS = ClusterStatus_Substate "STALE_STATUS"++{-# COMPLETE+  ClusterStatus_Substate_Unspecified,+  ClusterStatus_Substate_Unhealthy,+  ClusterStatus_Substate_STALESTATUS,+  ClusterStatus_Substate+  #-}++-- | Required. Repair action to take on the cluster resource.+newtype ClusterToRepair_ClusterRepairAction = ClusterToRepair_ClusterRepairAction {fromClusterToRepair_ClusterRepairAction :: 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 action will be taken by default.+pattern ClusterToRepair_ClusterRepairAction_CLUSTERREPAIRACTIONUNSPECIFIED :: ClusterToRepair_ClusterRepairAction+pattern ClusterToRepair_ClusterRepairAction_CLUSTERREPAIRACTIONUNSPECIFIED = ClusterToRepair_ClusterRepairAction "CLUSTER_REPAIR_ACTION_UNSPECIFIED"++-- | Repair cluster in ERROR/DUE/TO_UPDATE states.+pattern ClusterToRepair_ClusterRepairAction_REPAIRERRORDUETOUPDATECLUSTER :: ClusterToRepair_ClusterRepairAction+pattern ClusterToRepair_ClusterRepairAction_REPAIRERRORDUETOUPDATECLUSTER = ClusterToRepair_ClusterRepairAction "REPAIR_ERROR_DUE_TO_UPDATE_CLUSTER"++{-# COMPLETE+  ClusterToRepair_ClusterRepairAction_CLUSTERREPAIRACTIONUNSPECIFIED,+  ClusterToRepair_ClusterRepairAction_REPAIRERRORDUETOUPDATECLUSTER,+  ClusterToRepair_ClusterRepairAction+  #-}++-- | Optional. (Optional) The access type to the diagnostic tarball. If not specified, falls back to default access of the bucket+newtype DiagnoseClusterRequest_TarballAccess = DiagnoseClusterRequest_TarballAccess {fromDiagnoseClusterRequest_TarballAccess :: 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+    )++-- | Tarball Access unspecified. Falls back to default access of the bucket+pattern DiagnoseClusterRequest_TarballAccess_TARBALLACCESSUNSPECIFIED :: DiagnoseClusterRequest_TarballAccess+pattern DiagnoseClusterRequest_TarballAccess_TARBALLACCESSUNSPECIFIED = DiagnoseClusterRequest_TarballAccess "TARBALL_ACCESS_UNSPECIFIED"++-- | Google Cloud Support group has read access to the diagnostic tarball+pattern DiagnoseClusterRequest_TarballAccess_GOOGLECLOUDSUPPORT :: DiagnoseClusterRequest_TarballAccess+pattern DiagnoseClusterRequest_TarballAccess_GOOGLECLOUDSUPPORT = DiagnoseClusterRequest_TarballAccess "GOOGLE_CLOUD_SUPPORT"++-- | Google Cloud Dataproc Diagnose service account has read access to the diagnostic tarball+pattern DiagnoseClusterRequest_TarballAccess_GOOGLEDATAPROCDIAGNOSE :: DiagnoseClusterRequest_TarballAccess+pattern DiagnoseClusterRequest_TarballAccess_GOOGLEDATAPROCDIAGNOSE = DiagnoseClusterRequest_TarballAccess "GOOGLE_DATAPROC_DIAGNOSE"++{-# COMPLETE+  DiagnoseClusterRequest_TarballAccess_TARBALLACCESSUNSPECIFIED,+  DiagnoseClusterRequest_TarballAccess_GOOGLECLOUDSUPPORT,+  DiagnoseClusterRequest_TarballAccess_GOOGLEDATAPROCDIAGNOSE,+  DiagnoseClusterRequest_TarballAccess+  #-}++-- | Optional. The type of IPv6 access for a cluster.+newtype GceClusterConfig_PrivateIpv6GoogleAccess = GceClusterConfig_PrivateIpv6GoogleAccess {fromGceClusterConfig_PrivateIpv6GoogleAccess :: 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, Compute Engine default behavior will apply, which is the same as INHERIT/FROM/SUBNETWORK.+pattern GceClusterConfig_PrivateIpv6GoogleAccess_PRIVATEIPV6GOOGLEACCESSUNSPECIFIED :: GceClusterConfig_PrivateIpv6GoogleAccess+pattern GceClusterConfig_PrivateIpv6GoogleAccess_PRIVATEIPV6GOOGLEACCESSUNSPECIFIED = GceClusterConfig_PrivateIpv6GoogleAccess "PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED"++-- | Private access to and from Google Services configuration inherited from the subnetwork configuration. This is the default Compute Engine behavior.+pattern GceClusterConfig_PrivateIpv6GoogleAccess_INHERITFROMSUBNETWORK :: GceClusterConfig_PrivateIpv6GoogleAccess+pattern GceClusterConfig_PrivateIpv6GoogleAccess_INHERITFROMSUBNETWORK = GceClusterConfig_PrivateIpv6GoogleAccess "INHERIT_FROM_SUBNETWORK"++-- | Enables outbound private IPv6 access to Google Services from the Dataproc cluster.+pattern GceClusterConfig_PrivateIpv6GoogleAccess_Outbound :: GceClusterConfig_PrivateIpv6GoogleAccess+pattern GceClusterConfig_PrivateIpv6GoogleAccess_Outbound = GceClusterConfig_PrivateIpv6GoogleAccess "OUTBOUND"++-- | Enables bidirectional private IPv6 access between Google Services and the Dataproc cluster.+pattern GceClusterConfig_PrivateIpv6GoogleAccess_Bidirectional :: GceClusterConfig_PrivateIpv6GoogleAccess+pattern GceClusterConfig_PrivateIpv6GoogleAccess_Bidirectional = GceClusterConfig_PrivateIpv6GoogleAccess "BIDIRECTIONAL"++{-# COMPLETE+  GceClusterConfig_PrivateIpv6GoogleAccess_PRIVATEIPV6GOOGLEACCESSUNSPECIFIED,+  GceClusterConfig_PrivateIpv6GoogleAccess_INHERITFROMSUBNETWORK,+  GceClusterConfig_PrivateIpv6GoogleAccess_Outbound,+  GceClusterConfig_PrivateIpv6GoogleAccess_Bidirectional,+  GceClusterConfig_PrivateIpv6GoogleAccess+  #-}++newtype GkeNodePoolTarget_RolesItem = GkeNodePoolTarget_RolesItem {fromGkeNodePoolTarget_RolesItem :: 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+    )++-- | Role is unspecified.+pattern GkeNodePoolTarget_RolesItem_ROLEUNSPECIFIED :: GkeNodePoolTarget_RolesItem+pattern GkeNodePoolTarget_RolesItem_ROLEUNSPECIFIED = GkeNodePoolTarget_RolesItem "ROLE_UNSPECIFIED"++-- | At least one node pool must have the DEFAULT role. Work assigned to a role that is not associated with a node pool is assigned to the node pool with the DEFAULT role. For example, work assigned to the CONTROLLER role will be assigned to the node pool with the DEFAULT role if no node pool has the CONTROLLER role.+pattern GkeNodePoolTarget_RolesItem_Default :: GkeNodePoolTarget_RolesItem+pattern GkeNodePoolTarget_RolesItem_Default = GkeNodePoolTarget_RolesItem "DEFAULT"++-- | Run work associated with the Dataproc control plane (for example, controllers and webhooks). Very low resource requirements.+pattern GkeNodePoolTarget_RolesItem_Controller :: GkeNodePoolTarget_RolesItem+pattern GkeNodePoolTarget_RolesItem_Controller = GkeNodePoolTarget_RolesItem "CONTROLLER"++-- | Run work associated with a Spark driver of a job.+pattern GkeNodePoolTarget_RolesItem_SPARKDRIVER :: GkeNodePoolTarget_RolesItem+pattern GkeNodePoolTarget_RolesItem_SPARKDRIVER = GkeNodePoolTarget_RolesItem "SPARK_DRIVER"++-- | Run work associated with a Spark executor of a job.+pattern GkeNodePoolTarget_RolesItem_SPARKEXECUTOR :: GkeNodePoolTarget_RolesItem+pattern GkeNodePoolTarget_RolesItem_SPARKEXECUTOR = GkeNodePoolTarget_RolesItem "SPARK_EXECUTOR"++{-# COMPLETE+  GkeNodePoolTarget_RolesItem_ROLEUNSPECIFIED,+  GkeNodePoolTarget_RolesItem_Default,+  GkeNodePoolTarget_RolesItem_Controller,+  GkeNodePoolTarget_RolesItem_SPARKDRIVER,+  GkeNodePoolTarget_RolesItem_SPARKEXECUTOR,+  GkeNodePoolTarget_RolesItem+  #-}++-- | Optional. Specifies the preemptibility of the instance group.The default value for master and worker groups is NON_PREEMPTIBLE. This default cannot be changed.The default value for secondary instances is PREEMPTIBLE.+newtype InstanceGroupConfig_Preemptibility = InstanceGroupConfig_Preemptibility {fromInstanceGroupConfig_Preemptibility :: 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+    )++-- | Preemptibility is unspecified, the system will choose the appropriate setting for each instance group.+pattern InstanceGroupConfig_Preemptibility_PREEMPTIBILITYUNSPECIFIED :: InstanceGroupConfig_Preemptibility+pattern InstanceGroupConfig_Preemptibility_PREEMPTIBILITYUNSPECIFIED = InstanceGroupConfig_Preemptibility "PREEMPTIBILITY_UNSPECIFIED"++-- | Instances are non-preemptible.This option is allowed for all instance groups and is the only valid value for Master and Worker instance groups.+pattern InstanceGroupConfig_Preemptibility_NONPREEMPTIBLE :: InstanceGroupConfig_Preemptibility+pattern InstanceGroupConfig_Preemptibility_NONPREEMPTIBLE = InstanceGroupConfig_Preemptibility "NON_PREEMPTIBLE"++-- | Instances are preemptible (https:\/\/cloud.google.com\/compute\/docs\/instances\/preemptible).This option is allowed only for secondary worker (https:\/\/cloud.google.com\/dataproc\/docs\/concepts\/compute\/secondary-vms) groups.+pattern InstanceGroupConfig_Preemptibility_Preemptible :: InstanceGroupConfig_Preemptibility+pattern InstanceGroupConfig_Preemptibility_Preemptible = InstanceGroupConfig_Preemptibility "PREEMPTIBLE"++-- | Instances are Spot VMs (https:\/\/cloud.google.com\/compute\/docs\/instances\/spot).This option is allowed only for secondary worker (https:\/\/cloud.google.com\/dataproc\/docs\/concepts\/compute\/secondary-vms) groups. Spot VMs are the latest version of preemptible VMs (https:\/\/cloud.google.com\/compute\/docs\/instances\/preemptible), and provide additional features.+pattern InstanceGroupConfig_Preemptibility_Spot :: InstanceGroupConfig_Preemptibility+pattern InstanceGroupConfig_Preemptibility_Spot = InstanceGroupConfig_Preemptibility "SPOT"++{-# COMPLETE+  InstanceGroupConfig_Preemptibility_PREEMPTIBILITYUNSPECIFIED,+  InstanceGroupConfig_Preemptibility_NONPREEMPTIBLE,+  InstanceGroupConfig_Preemptibility_Preemptible,+  InstanceGroupConfig_Preemptibility_Spot,+  InstanceGroupConfig_Preemptibility+  #-}++newtype JobData_Status = JobData_Status {fromJobData_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+    )++pattern JobData_Status_JOBEXECUTIONSTATUSUNSPECIFIED :: JobData_Status+pattern JobData_Status_JOBEXECUTIONSTATUSUNSPECIFIED = JobData_Status "JOB_EXECUTION_STATUS_UNSPECIFIED"++pattern JobData_Status_JOBEXECUTIONSTATUSRUNNING :: JobData_Status+pattern JobData_Status_JOBEXECUTIONSTATUSRUNNING = JobData_Status "JOB_EXECUTION_STATUS_RUNNING"++pattern JobData_Status_JOBEXECUTIONSTATUSSUCCEEDED :: JobData_Status+pattern JobData_Status_JOBEXECUTIONSTATUSSUCCEEDED = JobData_Status "JOB_EXECUTION_STATUS_SUCCEEDED"++pattern JobData_Status_JOBEXECUTIONSTATUSFAILED :: JobData_Status+pattern JobData_Status_JOBEXECUTIONSTATUSFAILED = JobData_Status "JOB_EXECUTION_STATUS_FAILED"++pattern JobData_Status_JOBEXECUTIONSTATUSUNKNOWN :: JobData_Status+pattern JobData_Status_JOBEXECUTIONSTATUSUNKNOWN = JobData_Status "JOB_EXECUTION_STATUS_UNKNOWN"++{-# COMPLETE+  JobData_Status_JOBEXECUTIONSTATUSUNSPECIFIED,+  JobData_Status_JOBEXECUTIONSTATUSRUNNING,+  JobData_Status_JOBEXECUTIONSTATUSSUCCEEDED,+  JobData_Status_JOBEXECUTIONSTATUSFAILED,+  JobData_Status_JOBEXECUTIONSTATUSUNKNOWN,+  JobData_Status+  #-}++-- | Output only. A state message specifying the overall job state.+newtype JobStatus_State = JobStatus_State {fromJobStatus_State :: 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 job state is unknown.+pattern JobStatus_State_STATEUNSPECIFIED :: JobStatus_State+pattern JobStatus_State_STATEUNSPECIFIED = JobStatus_State "STATE_UNSPECIFIED"++-- | The job is pending; it has been submitted, but is not yet running.+pattern JobStatus_State_Pending :: JobStatus_State+pattern JobStatus_State_Pending = JobStatus_State "PENDING"++-- | Job has been received by the service and completed initial setup; it will soon be submitted to the cluster.+pattern JobStatus_State_SETUPDONE :: JobStatus_State+pattern JobStatus_State_SETUPDONE = JobStatus_State "SETUP_DONE"++-- | The job is running on the cluster.+pattern JobStatus_State_Running :: JobStatus_State+pattern JobStatus_State_Running = JobStatus_State "RUNNING"++-- | A CancelJob request has been received, but is pending.+pattern JobStatus_State_CANCELPENDING :: JobStatus_State+pattern JobStatus_State_CANCELPENDING = JobStatus_State "CANCEL_PENDING"++-- | Transient in-flight resources have been canceled, and the request to cancel the running job has been issued to the cluster.+pattern JobStatus_State_CANCELSTARTED :: JobStatus_State+pattern JobStatus_State_CANCELSTARTED = JobStatus_State "CANCEL_STARTED"++-- | The job cancellation was successful.+pattern JobStatus_State_Cancelled :: JobStatus_State+pattern JobStatus_State_Cancelled = JobStatus_State "CANCELLED"++-- | The job has completed successfully.+pattern JobStatus_State_Done :: JobStatus_State+pattern JobStatus_State_Done = JobStatus_State "DONE"++-- | The job has completed, but encountered an error.+pattern JobStatus_State_Error' :: JobStatus_State+pattern JobStatus_State_Error' = JobStatus_State "ERROR"++-- | Job attempt has failed. The detail field contains failure details for this attempt.Applies to restartable jobs only.+pattern JobStatus_State_ATTEMPTFAILURE :: JobStatus_State+pattern JobStatus_State_ATTEMPTFAILURE = JobStatus_State "ATTEMPT_FAILURE"++{-# COMPLETE+  JobStatus_State_STATEUNSPECIFIED,+  JobStatus_State_Pending,+  JobStatus_State_SETUPDONE,+  JobStatus_State_Running,+  JobStatus_State_CANCELPENDING,+  JobStatus_State_CANCELSTARTED,+  JobStatus_State_Cancelled,+  JobStatus_State_Done,+  JobStatus_State_Error',+  JobStatus_State_ATTEMPTFAILURE,+  JobStatus_State+  #-}++-- | Output only. Additional state information, which includes status reported by the agent.+newtype JobStatus_Substate = JobStatus_Substate {fromJobStatus_Substate :: 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 job substate is unknown.+pattern JobStatus_Substate_Unspecified :: JobStatus_Substate+pattern JobStatus_Substate_Unspecified = JobStatus_Substate "UNSPECIFIED"++-- | The Job is submitted to the agent.Applies to RUNNING state.+pattern JobStatus_Substate_Submitted :: JobStatus_Substate+pattern JobStatus_Substate_Submitted = JobStatus_Substate "SUBMITTED"++-- | The Job has been received and is awaiting execution (it might be waiting for a condition to be met). See the \"details\" field for the reason for the delay.Applies to RUNNING state.+pattern JobStatus_Substate_Queued :: JobStatus_Substate+pattern JobStatus_Substate_Queued = JobStatus_Substate "QUEUED"++-- | The agent-reported status is out of date, which can be caused by a loss of communication between the agent and Dataproc. If the agent does not send a timely update, the job will fail.Applies to RUNNING state.+pattern JobStatus_Substate_STALESTATUS :: JobStatus_Substate+pattern JobStatus_Substate_STALESTATUS = JobStatus_Substate "STALE_STATUS"++{-# COMPLETE+  JobStatus_Substate_Unspecified,+  JobStatus_Substate_Submitted,+  JobStatus_Substate_Queued,+  JobStatus_Substate_STALESTATUS,+  JobStatus_Substate+  #-}++-- | Optional. Kernel+newtype JupyterConfig_Kernel = JupyterConfig_Kernel {fromJupyterConfig_Kernel :: 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 kernel is unknown.+pattern JupyterConfig_Kernel_KERNELUNSPECIFIED :: JupyterConfig_Kernel+pattern JupyterConfig_Kernel_KERNELUNSPECIFIED = JupyterConfig_Kernel "KERNEL_UNSPECIFIED"++-- | Python kernel.+pattern JupyterConfig_Kernel_Python :: JupyterConfig_Kernel+pattern JupyterConfig_Kernel_Python = JupyterConfig_Kernel "PYTHON"++-- | Scala kernel.+pattern JupyterConfig_Kernel_Scala :: JupyterConfig_Kernel+pattern JupyterConfig_Kernel_Scala = JupyterConfig_Kernel "SCALA"++{-# COMPLETE+  JupyterConfig_Kernel_KERNELUNSPECIFIED,+  JupyterConfig_Kernel_Python,+  JupyterConfig_Kernel_Scala,+  JupyterConfig_Kernel+  #-}++newtype LoggingConfig_DriverLogLevelsAdditional = LoggingConfig_DriverLogLevelsAdditional {fromLoggingConfig_DriverLogLevelsAdditional :: 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+    )++-- | Level is unspecified. Use default level for log4j.+pattern LoggingConfig_DriverLogLevelsAdditional_LEVELUNSPECIFIED :: LoggingConfig_DriverLogLevelsAdditional+pattern LoggingConfig_DriverLogLevelsAdditional_LEVELUNSPECIFIED = LoggingConfig_DriverLogLevelsAdditional "LEVEL_UNSPECIFIED"++-- | Use ALL level for log4j.+pattern LoggingConfig_DriverLogLevelsAdditional_All :: LoggingConfig_DriverLogLevelsAdditional+pattern LoggingConfig_DriverLogLevelsAdditional_All = LoggingConfig_DriverLogLevelsAdditional "ALL"++-- | Use TRACE level for log4j.+pattern LoggingConfig_DriverLogLevelsAdditional_Trace :: LoggingConfig_DriverLogLevelsAdditional+pattern LoggingConfig_DriverLogLevelsAdditional_Trace = LoggingConfig_DriverLogLevelsAdditional "TRACE"++-- | Use DEBUG level for log4j.+pattern LoggingConfig_DriverLogLevelsAdditional_Debug :: LoggingConfig_DriverLogLevelsAdditional+pattern LoggingConfig_DriverLogLevelsAdditional_Debug = LoggingConfig_DriverLogLevelsAdditional "DEBUG"++-- | Use INFO level for log4j.+pattern LoggingConfig_DriverLogLevelsAdditional_Info :: LoggingConfig_DriverLogLevelsAdditional+pattern LoggingConfig_DriverLogLevelsAdditional_Info = LoggingConfig_DriverLogLevelsAdditional "INFO"++-- | Use WARN level for log4j.+pattern LoggingConfig_DriverLogLevelsAdditional_Warn :: LoggingConfig_DriverLogLevelsAdditional+pattern LoggingConfig_DriverLogLevelsAdditional_Warn = LoggingConfig_DriverLogLevelsAdditional "WARN"++-- | Use ERROR level for log4j.+pattern LoggingConfig_DriverLogLevelsAdditional_Error' :: LoggingConfig_DriverLogLevelsAdditional+pattern LoggingConfig_DriverLogLevelsAdditional_Error' = LoggingConfig_DriverLogLevelsAdditional "ERROR"++-- | Use FATAL level for log4j.+pattern LoggingConfig_DriverLogLevelsAdditional_Fatal :: LoggingConfig_DriverLogLevelsAdditional+pattern LoggingConfig_DriverLogLevelsAdditional_Fatal = LoggingConfig_DriverLogLevelsAdditional "FATAL"++-- | Turn off log4j.+pattern LoggingConfig_DriverLogLevelsAdditional_Off :: LoggingConfig_DriverLogLevelsAdditional+pattern LoggingConfig_DriverLogLevelsAdditional_Off = LoggingConfig_DriverLogLevelsAdditional "OFF"++{-# COMPLETE+  LoggingConfig_DriverLogLevelsAdditional_LEVELUNSPECIFIED,+  LoggingConfig_DriverLogLevelsAdditional_All,+  LoggingConfig_DriverLogLevelsAdditional_Trace,+  LoggingConfig_DriverLogLevelsAdditional_Debug,+  LoggingConfig_DriverLogLevelsAdditional_Info,+  LoggingConfig_DriverLogLevelsAdditional_Warn,+  LoggingConfig_DriverLogLevelsAdditional_Error',+  LoggingConfig_DriverLogLevelsAdditional_Fatal,+  LoggingConfig_DriverLogLevelsAdditional_Off,+  LoggingConfig_DriverLogLevelsAdditional+  #-}++-- | Required. A standard set of metrics is collected unless metricOverrides are specified for the metric source (see Custom metrics (https:\/\/cloud.google.com\/dataproc\/docs\/guides\/dataproc-metrics#custom_metrics) for more information).+newtype Metric_MetricSource = Metric_MetricSource {fromMetric_MetricSource :: 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+    )++-- | Required unspecified metric source.+pattern Metric_MetricSource_METRICSOURCEUNSPECIFIED :: Metric_MetricSource+pattern Metric_MetricSource_METRICSOURCEUNSPECIFIED = Metric_MetricSource "METRIC_SOURCE_UNSPECIFIED"++-- | Monitoring agent metrics. If this source is enabled, Dataproc enables the monitoring agent in Compute Engine, and collects monitoring agent metrics, which are published with an agent.googleapis.com prefix.+pattern Metric_MetricSource_MONITORINGAGENTDEFAULTS :: Metric_MetricSource+pattern Metric_MetricSource_MONITORINGAGENTDEFAULTS = Metric_MetricSource "MONITORING_AGENT_DEFAULTS"++-- | HDFS metric source.+pattern Metric_MetricSource_Hdfs :: Metric_MetricSource+pattern Metric_MetricSource_Hdfs = Metric_MetricSource "HDFS"++-- | Spark metric source.+pattern Metric_MetricSource_Spark :: Metric_MetricSource+pattern Metric_MetricSource_Spark = Metric_MetricSource "SPARK"++-- | YARN metric source.+pattern Metric_MetricSource_Yarn :: Metric_MetricSource+pattern Metric_MetricSource_Yarn = Metric_MetricSource "YARN"++-- | Spark History Server metric source.+pattern Metric_MetricSource_SPARKHISTORYSERVER :: Metric_MetricSource+pattern Metric_MetricSource_SPARKHISTORYSERVER = Metric_MetricSource "SPARK_HISTORY_SERVER"++-- | Hiveserver2 metric source.+pattern Metric_MetricSource_HIVESERVER2 :: Metric_MetricSource+pattern Metric_MetricSource_HIVESERVER2 = Metric_MetricSource "HIVESERVER2"++-- | hivemetastore metric source+pattern Metric_MetricSource_Hivemetastore :: Metric_MetricSource+pattern Metric_MetricSource_Hivemetastore = Metric_MetricSource "HIVEMETASTORE"++-- | flink metric source+pattern Metric_MetricSource_Flink :: Metric_MetricSource+pattern Metric_MetricSource_Flink = Metric_MetricSource "FLINK"++{-# COMPLETE+  Metric_MetricSource_METRICSOURCEUNSPECIFIED,+  Metric_MetricSource_MONITORINGAGENTDEFAULTS,+  Metric_MetricSource_Hdfs,+  Metric_MetricSource_Spark,+  Metric_MetricSource_Yarn,+  Metric_MetricSource_SPARKHISTORYSERVER,+  Metric_MetricSource_HIVESERVER2,+  Metric_MetricSource_Hivemetastore,+  Metric_MetricSource_Flink,+  Metric_MetricSource+  #-}++newtype NodeGroup_RolesItem = NodeGroup_RolesItem {fromNodeGroup_RolesItem :: 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+    )++-- | Required unspecified role.+pattern NodeGroup_RolesItem_ROLEUNSPECIFIED :: NodeGroup_RolesItem+pattern NodeGroup_RolesItem_ROLEUNSPECIFIED = NodeGroup_RolesItem "ROLE_UNSPECIFIED"++-- | Job drivers run on the node pool.+pattern NodeGroup_RolesItem_Driver :: NodeGroup_RolesItem+pattern NodeGroup_RolesItem_Driver = NodeGroup_RolesItem "DRIVER"++{-# COMPLETE+  NodeGroup_RolesItem_ROLEUNSPECIFIED,+  NodeGroup_RolesItem_Driver,+  NodeGroup_RolesItem+  #-}++-- | The operation type.+newtype NodeGroupOperationMetadata_OperationType = NodeGroupOperationMetadata_OperationType {fromNodeGroupOperationMetadata_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+    )++-- | Node group operation type is unknown.+pattern NodeGroupOperationMetadata_OperationType_NODEGROUPOPERATIONTYPEUNSPECIFIED :: NodeGroupOperationMetadata_OperationType+pattern NodeGroupOperationMetadata_OperationType_NODEGROUPOPERATIONTYPEUNSPECIFIED = NodeGroupOperationMetadata_OperationType "NODE_GROUP_OPERATION_TYPE_UNSPECIFIED"++-- | Create node group operation type.+pattern NodeGroupOperationMetadata_OperationType_Create :: NodeGroupOperationMetadata_OperationType+pattern NodeGroupOperationMetadata_OperationType_Create = NodeGroupOperationMetadata_OperationType "CREATE"++-- | Update node group operation type.+pattern NodeGroupOperationMetadata_OperationType_Update :: NodeGroupOperationMetadata_OperationType+pattern NodeGroupOperationMetadata_OperationType_Update = NodeGroupOperationMetadata_OperationType "UPDATE"++-- | Delete node group operation type.+pattern NodeGroupOperationMetadata_OperationType_Delete' :: NodeGroupOperationMetadata_OperationType+pattern NodeGroupOperationMetadata_OperationType_Delete' = NodeGroupOperationMetadata_OperationType "DELETE"++-- | Resize node group operation type.+pattern NodeGroupOperationMetadata_OperationType_Resize :: NodeGroupOperationMetadata_OperationType+pattern NodeGroupOperationMetadata_OperationType_Resize = NodeGroupOperationMetadata_OperationType "RESIZE"++-- | Repair node group operation type.+pattern NodeGroupOperationMetadata_OperationType_Repair :: NodeGroupOperationMetadata_OperationType+pattern NodeGroupOperationMetadata_OperationType_Repair = NodeGroupOperationMetadata_OperationType "REPAIR"++-- | Update node group label operation type.+pattern NodeGroupOperationMetadata_OperationType_UPDATELABELS :: NodeGroupOperationMetadata_OperationType+pattern NodeGroupOperationMetadata_OperationType_UPDATELABELS = NodeGroupOperationMetadata_OperationType "UPDATE_LABELS"++-- | Start node group operation type.+pattern NodeGroupOperationMetadata_OperationType_Start :: NodeGroupOperationMetadata_OperationType+pattern NodeGroupOperationMetadata_OperationType_Start = NodeGroupOperationMetadata_OperationType "START"++-- | Stop node group operation type.+pattern NodeGroupOperationMetadata_OperationType_Stop :: NodeGroupOperationMetadata_OperationType+pattern NodeGroupOperationMetadata_OperationType_Stop = NodeGroupOperationMetadata_OperationType "STOP"++{-# COMPLETE+  NodeGroupOperationMetadata_OperationType_NODEGROUPOPERATIONTYPEUNSPECIFIED,+  NodeGroupOperationMetadata_OperationType_Create,+  NodeGroupOperationMetadata_OperationType_Update,+  NodeGroupOperationMetadata_OperationType_Delete',+  NodeGroupOperationMetadata_OperationType_Resize,+  NodeGroupOperationMetadata_OperationType_Repair,+  NodeGroupOperationMetadata_OperationType_UPDATELABELS,+  NodeGroupOperationMetadata_OperationType_Start,+  NodeGroupOperationMetadata_OperationType_Stop,+  NodeGroupOperationMetadata_OperationType+  #-}++-- | Required. Repair action to take on specified resources of the node pool.+newtype NodePool_RepairAction = NodePool_RepairAction {fromNodePool_RepairAction :: 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 action will be taken by default.+pattern NodePool_RepairAction_REPAIRACTIONUNSPECIFIED :: NodePool_RepairAction+pattern NodePool_RepairAction_REPAIRACTIONUNSPECIFIED = NodePool_RepairAction "REPAIR_ACTION_UNSPECIFIED"++-- | delete the specified list of nodes.+pattern NodePool_RepairAction_Delete' :: NodePool_RepairAction+pattern NodePool_RepairAction_Delete' = NodePool_RepairAction "DELETE"++{-# COMPLETE+  NodePool_RepairAction_REPAIRACTIONUNSPECIFIED,+  NodePool_RepairAction_Delete',+  NodePool_RepairAction+  #-}++newtype RddOperationNode_OutputDeterministicLevel = RddOperationNode_OutputDeterministicLevel {fromRddOperationNode_OutputDeterministicLevel :: 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+    )++pattern RddOperationNode_OutputDeterministicLevel_DETERMINISTICLEVELUNSPECIFIED :: RddOperationNode_OutputDeterministicLevel+pattern RddOperationNode_OutputDeterministicLevel_DETERMINISTICLEVELUNSPECIFIED = RddOperationNode_OutputDeterministicLevel "DETERMINISTIC_LEVEL_UNSPECIFIED"++pattern RddOperationNode_OutputDeterministicLevel_DETERMINISTICLEVELDETERMINATE :: RddOperationNode_OutputDeterministicLevel+pattern RddOperationNode_OutputDeterministicLevel_DETERMINISTICLEVELDETERMINATE = RddOperationNode_OutputDeterministicLevel "DETERMINISTIC_LEVEL_DETERMINATE"++pattern RddOperationNode_OutputDeterministicLevel_DETERMINISTICLEVELUNORDERED :: RddOperationNode_OutputDeterministicLevel+pattern RddOperationNode_OutputDeterministicLevel_DETERMINISTICLEVELUNORDERED = RddOperationNode_OutputDeterministicLevel "DETERMINISTIC_LEVEL_UNORDERED"++pattern RddOperationNode_OutputDeterministicLevel_DETERMINISTICLEVELINDETERMINATE :: RddOperationNode_OutputDeterministicLevel+pattern RddOperationNode_OutputDeterministicLevel_DETERMINISTICLEVELINDETERMINATE = RddOperationNode_OutputDeterministicLevel "DETERMINISTIC_LEVEL_INDETERMINATE"++{-# COMPLETE+  RddOperationNode_OutputDeterministicLevel_DETERMINISTICLEVELUNSPECIFIED,+  RddOperationNode_OutputDeterministicLevel_DETERMINISTICLEVELDETERMINATE,+  RddOperationNode_OutputDeterministicLevel_DETERMINISTICLEVELUNORDERED,+  RddOperationNode_OutputDeterministicLevel_DETERMINISTICLEVELINDETERMINATE,+  RddOperationNode_OutputDeterministicLevel+  #-}++-- | Required. Repair action to take on specified resources of the node pool.+newtype RepairNodeGroupRequest_RepairAction = RepairNodeGroupRequest_RepairAction {fromRepairNodeGroupRequest_RepairAction :: 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 action will be taken by default.+pattern RepairNodeGroupRequest_RepairAction_REPAIRACTIONUNSPECIFIED :: RepairNodeGroupRequest_RepairAction+pattern RepairNodeGroupRequest_RepairAction_REPAIRACTIONUNSPECIFIED = RepairNodeGroupRequest_RepairAction "REPAIR_ACTION_UNSPECIFIED"++-- | replace the specified list of nodes.+pattern RepairNodeGroupRequest_RepairAction_Replace :: RepairNodeGroupRequest_RepairAction+pattern RepairNodeGroupRequest_RepairAction_Replace = RepairNodeGroupRequest_RepairAction "REPLACE"++{-# COMPLETE+  RepairNodeGroupRequest_RepairAction_REPAIRACTIONUNSPECIFIED,+  RepairNodeGroupRequest_RepairAction_Replace,+  RepairNodeGroupRequest_RepairAction+  #-}++-- | Optional. Type of reservation to consume+newtype ReservationAffinity_ConsumeReservationType = ReservationAffinity_ConsumeReservationType {fromReservationAffinity_ConsumeReservationType :: 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+    )++pattern ReservationAffinity_ConsumeReservationType_TYPEUNSPECIFIED :: ReservationAffinity_ConsumeReservationType+pattern ReservationAffinity_ConsumeReservationType_TYPEUNSPECIFIED = ReservationAffinity_ConsumeReservationType "TYPE_UNSPECIFIED"++-- | Do not consume from any allocated capacity.+pattern ReservationAffinity_ConsumeReservationType_NORESERVATION :: ReservationAffinity_ConsumeReservationType+pattern ReservationAffinity_ConsumeReservationType_NORESERVATION = ReservationAffinity_ConsumeReservationType "NO_RESERVATION"++-- | Consume any reservation available.+pattern ReservationAffinity_ConsumeReservationType_ANYRESERVATION :: ReservationAffinity_ConsumeReservationType+pattern ReservationAffinity_ConsumeReservationType_ANYRESERVATION = ReservationAffinity_ConsumeReservationType "ANY_RESERVATION"++-- | Must consume from a specific reservation. Must specify key value fields for specifying the reservations.+pattern ReservationAffinity_ConsumeReservationType_SPECIFICRESERVATION :: ReservationAffinity_ConsumeReservationType+pattern ReservationAffinity_ConsumeReservationType_SPECIFICRESERVATION = ReservationAffinity_ConsumeReservationType "SPECIFIC_RESERVATION"++{-# COMPLETE+  ReservationAffinity_ConsumeReservationType_TYPEUNSPECIFIED,+  ReservationAffinity_ConsumeReservationType_NORESERVATION,+  ReservationAffinity_ConsumeReservationType_ANYRESERVATION,+  ReservationAffinity_ConsumeReservationType_SPECIFICRESERVATION,+  ReservationAffinity_ConsumeReservationType+  #-}++-- | Output only. A state of the session.+newtype Session_State = Session_State {fromSession_State :: 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 session state is unknown.+pattern Session_State_STATEUNSPECIFIED :: Session_State+pattern Session_State_STATEUNSPECIFIED = Session_State "STATE_UNSPECIFIED"++-- | The session is created prior to running.+pattern Session_State_Creating :: Session_State+pattern Session_State_Creating = Session_State "CREATING"++-- | The session is running.+pattern Session_State_Active :: Session_State+pattern Session_State_Active = Session_State "ACTIVE"++-- | The session is terminating.+pattern Session_State_Terminating :: Session_State+pattern Session_State_Terminating = Session_State "TERMINATING"++-- | The session is terminated successfully.+pattern Session_State_Terminated :: Session_State+pattern Session_State_Terminated = Session_State "TERMINATED"++-- | The session is no longer running due to an error.+pattern Session_State_Failed :: Session_State+pattern Session_State_Failed = Session_State "FAILED"++{-# COMPLETE+  Session_State_STATEUNSPECIFIED,+  Session_State_Creating,+  Session_State_Active,+  Session_State_Terminating,+  Session_State_Terminated,+  Session_State_Failed,+  Session_State+  #-}++-- | The operation type.+newtype SessionOperationMetadata_OperationType = SessionOperationMetadata_OperationType {fromSessionOperationMetadata_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+    )++-- | Session operation type is unknown.+pattern SessionOperationMetadata_OperationType_SESSIONOPERATIONTYPEUNSPECIFIED :: SessionOperationMetadata_OperationType+pattern SessionOperationMetadata_OperationType_SESSIONOPERATIONTYPEUNSPECIFIED = SessionOperationMetadata_OperationType "SESSION_OPERATION_TYPE_UNSPECIFIED"++-- | Create Session operation type.+pattern SessionOperationMetadata_OperationType_Create :: SessionOperationMetadata_OperationType+pattern SessionOperationMetadata_OperationType_Create = SessionOperationMetadata_OperationType "CREATE"++-- | Terminate Session operation type.+pattern SessionOperationMetadata_OperationType_Terminate :: SessionOperationMetadata_OperationType+pattern SessionOperationMetadata_OperationType_Terminate = SessionOperationMetadata_OperationType "TERMINATE"++-- | Delete Session operation type.+pattern SessionOperationMetadata_OperationType_Delete' :: SessionOperationMetadata_OperationType+pattern SessionOperationMetadata_OperationType_Delete' = SessionOperationMetadata_OperationType "DELETE"++{-# COMPLETE+  SessionOperationMetadata_OperationType_SESSIONOPERATIONTYPEUNSPECIFIED,+  SessionOperationMetadata_OperationType_Create,+  SessionOperationMetadata_OperationType_Terminate,+  SessionOperationMetadata_OperationType_Delete',+  SessionOperationMetadata_OperationType+  #-}++-- | Output only. The state of the session at this point in the session history.+newtype SessionStateHistory_State = SessionStateHistory_State {fromSessionStateHistory_State :: 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 session state is unknown.+pattern SessionStateHistory_State_STATEUNSPECIFIED :: SessionStateHistory_State+pattern SessionStateHistory_State_STATEUNSPECIFIED = SessionStateHistory_State "STATE_UNSPECIFIED"++-- | The session is created prior to running.+pattern SessionStateHistory_State_Creating :: SessionStateHistory_State+pattern SessionStateHistory_State_Creating = SessionStateHistory_State "CREATING"++-- | The session is running.+pattern SessionStateHistory_State_Active :: SessionStateHistory_State+pattern SessionStateHistory_State_Active = SessionStateHistory_State "ACTIVE"++-- | The session is terminating.+pattern SessionStateHistory_State_Terminating :: SessionStateHistory_State+pattern SessionStateHistory_State_Terminating = SessionStateHistory_State "TERMINATING"++-- | The session is terminated successfully.+pattern SessionStateHistory_State_Terminated :: SessionStateHistory_State+pattern SessionStateHistory_State_Terminated = SessionStateHistory_State "TERMINATED"++-- | The session is no longer running due to an error.+pattern SessionStateHistory_State_Failed :: SessionStateHistory_State+pattern SessionStateHistory_State_Failed = SessionStateHistory_State "FAILED"++{-# COMPLETE+  SessionStateHistory_State_STATEUNSPECIFIED,+  SessionStateHistory_State_Creating,+  SessionStateHistory_State_Active,+  SessionStateHistory_State_Terminating,+  SessionStateHistory_State_Terminated,+  SessionStateHistory_State_Failed,+  SessionStateHistory_State+  #-}++newtype SoftwareConfig_OptionalComponentsItem = SoftwareConfig_OptionalComponentsItem {fromSoftwareConfig_OptionalComponentsItem :: 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 component. Specifying this will cause Cluster creation to fail.+pattern SoftwareConfig_OptionalComponentsItem_COMPONENTUNSPECIFIED :: SoftwareConfig_OptionalComponentsItem+pattern SoftwareConfig_OptionalComponentsItem_COMPONENTUNSPECIFIED = SoftwareConfig_OptionalComponentsItem "COMPONENT_UNSPECIFIED"++-- | The Anaconda component is no longer supported or applicable to supported Dataproc on Compute Engine image versions (https:\/\/cloud.google.com\/dataproc\/docs\/concepts\/versioning\/dataproc-version-clusters#supported-dataproc-image-versions). It cannot be activated on clusters created with supported Dataproc on Compute Engine image versions.+pattern SoftwareConfig_OptionalComponentsItem_Anaconda :: SoftwareConfig_OptionalComponentsItem+pattern SoftwareConfig_OptionalComponentsItem_Anaconda = SoftwareConfig_OptionalComponentsItem "ANACONDA"++-- | Docker+pattern SoftwareConfig_OptionalComponentsItem_Docker :: SoftwareConfig_OptionalComponentsItem+pattern SoftwareConfig_OptionalComponentsItem_Docker = SoftwareConfig_OptionalComponentsItem "DOCKER"++-- | The Druid query engine. (alpha)+pattern SoftwareConfig_OptionalComponentsItem_Druid :: SoftwareConfig_OptionalComponentsItem+pattern SoftwareConfig_OptionalComponentsItem_Druid = SoftwareConfig_OptionalComponentsItem "DRUID"++-- | Flink+pattern SoftwareConfig_OptionalComponentsItem_Flink :: SoftwareConfig_OptionalComponentsItem+pattern SoftwareConfig_OptionalComponentsItem_Flink = SoftwareConfig_OptionalComponentsItem "FLINK"++-- | HBase. (beta)+pattern SoftwareConfig_OptionalComponentsItem_Hbase :: SoftwareConfig_OptionalComponentsItem+pattern SoftwareConfig_OptionalComponentsItem_Hbase = SoftwareConfig_OptionalComponentsItem "HBASE"++-- | The Hive Web HCatalog (the REST service for accessing HCatalog).+pattern SoftwareConfig_OptionalComponentsItem_HIVEWEBHCAT :: SoftwareConfig_OptionalComponentsItem+pattern SoftwareConfig_OptionalComponentsItem_HIVEWEBHCAT = SoftwareConfig_OptionalComponentsItem "HIVE_WEBHCAT"++-- | Hudi.+pattern SoftwareConfig_OptionalComponentsItem_Hudi :: SoftwareConfig_OptionalComponentsItem+pattern SoftwareConfig_OptionalComponentsItem_Hudi = SoftwareConfig_OptionalComponentsItem "HUDI"++-- | The Jupyter Notebook.+pattern SoftwareConfig_OptionalComponentsItem_Jupyter :: SoftwareConfig_OptionalComponentsItem+pattern SoftwareConfig_OptionalComponentsItem_Jupyter = SoftwareConfig_OptionalComponentsItem "JUPYTER"++-- | The Pig component.+pattern SoftwareConfig_OptionalComponentsItem_Pig :: SoftwareConfig_OptionalComponentsItem+pattern SoftwareConfig_OptionalComponentsItem_Pig = SoftwareConfig_OptionalComponentsItem "PIG"++-- | The Presto query engine.+pattern SoftwareConfig_OptionalComponentsItem_Presto :: SoftwareConfig_OptionalComponentsItem+pattern SoftwareConfig_OptionalComponentsItem_Presto = SoftwareConfig_OptionalComponentsItem "PRESTO"++-- | The Trino query engine.+pattern SoftwareConfig_OptionalComponentsItem_Trino :: SoftwareConfig_OptionalComponentsItem+pattern SoftwareConfig_OptionalComponentsItem_Trino = SoftwareConfig_OptionalComponentsItem "TRINO"++-- | The Ranger service.+pattern SoftwareConfig_OptionalComponentsItem_Ranger :: SoftwareConfig_OptionalComponentsItem+pattern SoftwareConfig_OptionalComponentsItem_Ranger = SoftwareConfig_OptionalComponentsItem "RANGER"++-- | The Solr service.+pattern SoftwareConfig_OptionalComponentsItem_Solr :: SoftwareConfig_OptionalComponentsItem+pattern SoftwareConfig_OptionalComponentsItem_Solr = SoftwareConfig_OptionalComponentsItem "SOLR"++-- | The Zeppelin notebook.+pattern SoftwareConfig_OptionalComponentsItem_Zeppelin :: SoftwareConfig_OptionalComponentsItem+pattern SoftwareConfig_OptionalComponentsItem_Zeppelin = SoftwareConfig_OptionalComponentsItem "ZEPPELIN"++-- | The Zookeeper service.+pattern SoftwareConfig_OptionalComponentsItem_Zookeeper :: SoftwareConfig_OptionalComponentsItem+pattern SoftwareConfig_OptionalComponentsItem_Zookeeper = SoftwareConfig_OptionalComponentsItem "ZOOKEEPER"++{-# COMPLETE+  SoftwareConfig_OptionalComponentsItem_COMPONENTUNSPECIFIED,+  SoftwareConfig_OptionalComponentsItem_Anaconda,+  SoftwareConfig_OptionalComponentsItem_Docker,+  SoftwareConfig_OptionalComponentsItem_Druid,+  SoftwareConfig_OptionalComponentsItem_Flink,+  SoftwareConfig_OptionalComponentsItem_Hbase,+  SoftwareConfig_OptionalComponentsItem_HIVEWEBHCAT,+  SoftwareConfig_OptionalComponentsItem_Hudi,+  SoftwareConfig_OptionalComponentsItem_Jupyter,+  SoftwareConfig_OptionalComponentsItem_Pig,+  SoftwareConfig_OptionalComponentsItem_Presto,+  SoftwareConfig_OptionalComponentsItem_Trino,+  SoftwareConfig_OptionalComponentsItem_Ranger,+  SoftwareConfig_OptionalComponentsItem_Solr,+  SoftwareConfig_OptionalComponentsItem_Zeppelin,+  SoftwareConfig_OptionalComponentsItem_Zookeeper,+  SoftwareConfig_OptionalComponentsItem+  #-}++newtype SqlExecutionUiData_JobsAdditional = SqlExecutionUiData_JobsAdditional {fromSqlExecutionUiData_JobsAdditional :: 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+    )++pattern SqlExecutionUiData_JobsAdditional_JOBEXECUTIONSTATUSUNSPECIFIED :: SqlExecutionUiData_JobsAdditional+pattern SqlExecutionUiData_JobsAdditional_JOBEXECUTIONSTATUSUNSPECIFIED = SqlExecutionUiData_JobsAdditional "JOB_EXECUTION_STATUS_UNSPECIFIED"++pattern SqlExecutionUiData_JobsAdditional_JOBEXECUTIONSTATUSRUNNING :: SqlExecutionUiData_JobsAdditional+pattern SqlExecutionUiData_JobsAdditional_JOBEXECUTIONSTATUSRUNNING = SqlExecutionUiData_JobsAdditional "JOB_EXECUTION_STATUS_RUNNING"++pattern SqlExecutionUiData_JobsAdditional_JOBEXECUTIONSTATUSSUCCEEDED :: SqlExecutionUiData_JobsAdditional+pattern SqlExecutionUiData_JobsAdditional_JOBEXECUTIONSTATUSSUCCEEDED = SqlExecutionUiData_JobsAdditional "JOB_EXECUTION_STATUS_SUCCEEDED"++pattern SqlExecutionUiData_JobsAdditional_JOBEXECUTIONSTATUSFAILED :: SqlExecutionUiData_JobsAdditional+pattern SqlExecutionUiData_JobsAdditional_JOBEXECUTIONSTATUSFAILED = SqlExecutionUiData_JobsAdditional "JOB_EXECUTION_STATUS_FAILED"++pattern SqlExecutionUiData_JobsAdditional_JOBEXECUTIONSTATUSUNKNOWN :: SqlExecutionUiData_JobsAdditional+pattern SqlExecutionUiData_JobsAdditional_JOBEXECUTIONSTATUSUNKNOWN = SqlExecutionUiData_JobsAdditional "JOB_EXECUTION_STATUS_UNKNOWN"++{-# COMPLETE+  SqlExecutionUiData_JobsAdditional_JOBEXECUTIONSTATUSUNSPECIFIED,+  SqlExecutionUiData_JobsAdditional_JOBEXECUTIONSTATUSRUNNING,+  SqlExecutionUiData_JobsAdditional_JOBEXECUTIONSTATUSSUCCEEDED,+  SqlExecutionUiData_JobsAdditional_JOBEXECUTIONSTATUSFAILED,+  SqlExecutionUiData_JobsAdditional_JOBEXECUTIONSTATUSUNKNOWN,+  SqlExecutionUiData_JobsAdditional+  #-}++newtype StageData_Status = StageData_Status {fromStageData_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+    )++pattern StageData_Status_STAGESTATUSUNSPECIFIED :: StageData_Status+pattern StageData_Status_STAGESTATUSUNSPECIFIED = StageData_Status "STAGE_STATUS_UNSPECIFIED"++pattern StageData_Status_STAGESTATUSACTIVE :: StageData_Status+pattern StageData_Status_STAGESTATUSACTIVE = StageData_Status "STAGE_STATUS_ACTIVE"++pattern StageData_Status_STAGESTATUSCOMPLETE :: StageData_Status+pattern StageData_Status_STAGESTATUSCOMPLETE = StageData_Status "STAGE_STATUS_COMPLETE"++pattern StageData_Status_STAGESTATUSFAILED :: StageData_Status+pattern StageData_Status_STAGESTATUSFAILED = StageData_Status "STAGE_STATUS_FAILED"++pattern StageData_Status_STAGESTATUSPENDING :: StageData_Status+pattern StageData_Status_STAGESTATUSPENDING = StageData_Status "STAGE_STATUS_PENDING"++pattern StageData_Status_STAGESTATUSSKIPPED :: StageData_Status+pattern StageData_Status_STAGESTATUSSKIPPED = StageData_Status "STAGE_STATUS_SKIPPED"++{-# COMPLETE+  StageData_Status_STAGESTATUSUNSPECIFIED,+  StageData_Status_STAGESTATUSACTIVE,+  StageData_Status_STAGESTATUSCOMPLETE,+  StageData_Status_STAGESTATUSFAILED,+  StageData_Status_STAGESTATUSPENDING,+  StageData_Status_STAGESTATUSSKIPPED,+  StageData_Status+  #-}++-- | Output only. The state of the batch at this point in history.+newtype StateHistory_State = StateHistory_State {fromStateHistory_State :: 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 batch state is unknown.+pattern StateHistory_State_STATEUNSPECIFIED :: StateHistory_State+pattern StateHistory_State_STATEUNSPECIFIED = StateHistory_State "STATE_UNSPECIFIED"++-- | The batch is created before running.+pattern StateHistory_State_Pending :: StateHistory_State+pattern StateHistory_State_Pending = StateHistory_State "PENDING"++-- | The batch is running.+pattern StateHistory_State_Running :: StateHistory_State+pattern StateHistory_State_Running = StateHistory_State "RUNNING"++-- | The batch is cancelling.+pattern StateHistory_State_Cancelling :: StateHistory_State+pattern StateHistory_State_Cancelling = StateHistory_State "CANCELLING"++-- | The batch cancellation was successful.+pattern StateHistory_State_Cancelled :: StateHistory_State+pattern StateHistory_State_Cancelled = StateHistory_State "CANCELLED"++-- | The batch completed successfully.+pattern StateHistory_State_Succeeded :: StateHistory_State+pattern StateHistory_State_Succeeded = StateHistory_State "SUCCEEDED"++-- | The batch is no longer running due to an error.+pattern StateHistory_State_Failed :: StateHistory_State+pattern StateHistory_State_Failed = StateHistory_State "FAILED"++{-# COMPLETE+  StateHistory_State_STATEUNSPECIFIED,+  StateHistory_State_Pending,+  StateHistory_State_Running,+  StateHistory_State_Cancelling,+  StateHistory_State_Cancelled,+  StateHistory_State_Succeeded,+  StateHistory_State_Failed,+  StateHistory_State+  #-}++-- | Output only. The workflow state.+newtype WorkflowMetadata_State = WorkflowMetadata_State {fromWorkflowMetadata_State :: 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.+pattern WorkflowMetadata_State_Unknown :: WorkflowMetadata_State+pattern WorkflowMetadata_State_Unknown = WorkflowMetadata_State "UNKNOWN"++-- | The operation has been created.+pattern WorkflowMetadata_State_Pending :: WorkflowMetadata_State+pattern WorkflowMetadata_State_Pending = WorkflowMetadata_State "PENDING"++-- | The operation is running.+pattern WorkflowMetadata_State_Running :: WorkflowMetadata_State+pattern WorkflowMetadata_State_Running = WorkflowMetadata_State "RUNNING"++-- | The operation is done; either cancelled or completed.+pattern WorkflowMetadata_State_Done :: WorkflowMetadata_State+pattern WorkflowMetadata_State_Done = WorkflowMetadata_State "DONE"++{-# COMPLETE+  WorkflowMetadata_State_Unknown,+  WorkflowMetadata_State_Pending,+  WorkflowMetadata_State_Running,+  WorkflowMetadata_State_Done,+  WorkflowMetadata_State+  #-}++-- | Output only. The node state.+newtype WorkflowNode_State = WorkflowNode_State {fromWorkflowNode_State :: 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+    )++-- | State is unspecified.+pattern WorkflowNode_State_NODESTATEUNSPECIFIED :: WorkflowNode_State+pattern WorkflowNode_State_NODESTATEUNSPECIFIED = WorkflowNode_State "NODE_STATE_UNSPECIFIED"++-- | The node is awaiting prerequisite node to finish.+pattern WorkflowNode_State_Blocked :: WorkflowNode_State+pattern WorkflowNode_State_Blocked = WorkflowNode_State "BLOCKED"++-- | The node is runnable but not running.+pattern WorkflowNode_State_Runnable :: WorkflowNode_State+pattern WorkflowNode_State_Runnable = WorkflowNode_State "RUNNABLE"++-- | The node is running.+pattern WorkflowNode_State_Running :: WorkflowNode_State+pattern WorkflowNode_State_Running = WorkflowNode_State "RUNNING"++-- | The node completed successfully.+pattern WorkflowNode_State_Completed :: WorkflowNode_State+pattern WorkflowNode_State_Completed = WorkflowNode_State "COMPLETED"++-- | The node failed. A node can be marked FAILED because its ancestor or peer failed.+pattern WorkflowNode_State_Failed :: WorkflowNode_State+pattern WorkflowNode_State_Failed = WorkflowNode_State "FAILED"++{-# COMPLETE+  WorkflowNode_State_NODESTATEUNSPECIFIED,+  WorkflowNode_State_Blocked,+  WorkflowNode_State_Runnable,+  WorkflowNode_State_Running,+  WorkflowNode_State_Completed,+  WorkflowNode_State_Failed,+  WorkflowNode_State+  #-}++-- | Required. The application state.+newtype YarnApplication_State = YarnApplication_State {fromYarnApplication_State :: 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+    )++-- | Status is unspecified.+pattern YarnApplication_State_STATEUNSPECIFIED :: YarnApplication_State+pattern YarnApplication_State_STATEUNSPECIFIED = YarnApplication_State "STATE_UNSPECIFIED"++-- | Status is NEW.+pattern YarnApplication_State_New :: YarnApplication_State+pattern YarnApplication_State_New = YarnApplication_State "NEW"++-- | Status is NEW_SAVING.+pattern YarnApplication_State_NEWSAVING :: YarnApplication_State+pattern YarnApplication_State_NEWSAVING = YarnApplication_State "NEW_SAVING"++-- | Status is SUBMITTED.+pattern YarnApplication_State_Submitted :: YarnApplication_State+pattern YarnApplication_State_Submitted = YarnApplication_State "SUBMITTED"++-- | Status is ACCEPTED.+pattern YarnApplication_State_Accepted :: YarnApplication_State+pattern YarnApplication_State_Accepted = YarnApplication_State "ACCEPTED"++-- | Status is RUNNING.+pattern YarnApplication_State_Running :: YarnApplication_State+pattern YarnApplication_State_Running = YarnApplication_State "RUNNING"++-- | Status is FINISHED.+pattern YarnApplication_State_Finished :: YarnApplication_State+pattern YarnApplication_State_Finished = YarnApplication_State "FINISHED"++-- | Status is FAILED.+pattern YarnApplication_State_Failed :: YarnApplication_State+pattern YarnApplication_State_Failed = YarnApplication_State "FAILED"++-- | Status is KILLED.+pattern YarnApplication_State_Killed :: YarnApplication_State+pattern YarnApplication_State_Killed = YarnApplication_State "KILLED"++{-# COMPLETE+  YarnApplication_State_STATEUNSPECIFIED,+  YarnApplication_State_New,+  YarnApplication_State_NEWSAVING,+  YarnApplication_State_Submitted,+  YarnApplication_State_Accepted,+  YarnApplication_State_Running,+  YarnApplication_State_Finished,+  YarnApplication_State_Failed,+  YarnApplication_State_Killed,+  YarnApplication_State+  #-}++-- | Optional. Search only applications in the chosen state.+newtype ProjectsLocationsBatchesSparkApplicationsSearchApplicationStatus = ProjectsLocationsBatchesSparkApplicationsSearchApplicationStatus {fromProjectsLocationsBatchesSparkApplicationsSearchApplicationStatus :: 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+    )++pattern ProjectsLocationsBatchesSparkApplicationsSearchApplicationStatus_APPLICATIONSTATUSUNSPECIFIED :: ProjectsLocationsBatchesSparkApplicationsSearchApplicationStatus+pattern ProjectsLocationsBatchesSparkApplicationsSearchApplicationStatus_APPLICATIONSTATUSUNSPECIFIED = ProjectsLocationsBatchesSparkApplicationsSearchApplicationStatus "APPLICATION_STATUS_UNSPECIFIED"++pattern ProjectsLocationsBatchesSparkApplicationsSearchApplicationStatus_APPLICATIONSTATUSRUNNING :: ProjectsLocationsBatchesSparkApplicationsSearchApplicationStatus+pattern ProjectsLocationsBatchesSparkApplicationsSearchApplicationStatus_APPLICATIONSTATUSRUNNING = ProjectsLocationsBatchesSparkApplicationsSearchApplicationStatus "APPLICATION_STATUS_RUNNING"++pattern ProjectsLocationsBatchesSparkApplicationsSearchApplicationStatus_APPLICATIONSTATUSCOMPLETED :: ProjectsLocationsBatchesSparkApplicationsSearchApplicationStatus+pattern ProjectsLocationsBatchesSparkApplicationsSearchApplicationStatus_APPLICATIONSTATUSCOMPLETED = ProjectsLocationsBatchesSparkApplicationsSearchApplicationStatus "APPLICATION_STATUS_COMPLETED"++{-# COMPLETE+  ProjectsLocationsBatchesSparkApplicationsSearchApplicationStatus_APPLICATIONSTATUSUNSPECIFIED,+  ProjectsLocationsBatchesSparkApplicationsSearchApplicationStatus_APPLICATIONSTATUSRUNNING,+  ProjectsLocationsBatchesSparkApplicationsSearchApplicationStatus_APPLICATIONSTATUSCOMPLETED,+  ProjectsLocationsBatchesSparkApplicationsSearchApplicationStatus+  #-}++-- | Optional. Filter to select whether active\/ dead or all executors should be selected.+newtype ProjectsLocationsBatchesSparkApplicationsSearchExecutorsExecutorStatus = ProjectsLocationsBatchesSparkApplicationsSearchExecutorsExecutorStatus {fromProjectsLocationsBatchesSparkApplicationsSearchExecutorsExecutorStatus :: 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+    )++pattern ProjectsLocationsBatchesSparkApplicationsSearchExecutorsExecutorStatus_EXECUTORSTATUSUNSPECIFIED :: ProjectsLocationsBatchesSparkApplicationsSearchExecutorsExecutorStatus+pattern ProjectsLocationsBatchesSparkApplicationsSearchExecutorsExecutorStatus_EXECUTORSTATUSUNSPECIFIED = ProjectsLocationsBatchesSparkApplicationsSearchExecutorsExecutorStatus "EXECUTOR_STATUS_UNSPECIFIED"++pattern ProjectsLocationsBatchesSparkApplicationsSearchExecutorsExecutorStatus_EXECUTORSTATUSACTIVE :: ProjectsLocationsBatchesSparkApplicationsSearchExecutorsExecutorStatus+pattern ProjectsLocationsBatchesSparkApplicationsSearchExecutorsExecutorStatus_EXECUTORSTATUSACTIVE = ProjectsLocationsBatchesSparkApplicationsSearchExecutorsExecutorStatus "EXECUTOR_STATUS_ACTIVE"++pattern ProjectsLocationsBatchesSparkApplicationsSearchExecutorsExecutorStatus_EXECUTORSTATUSDEAD :: ProjectsLocationsBatchesSparkApplicationsSearchExecutorsExecutorStatus+pattern ProjectsLocationsBatchesSparkApplicationsSearchExecutorsExecutorStatus_EXECUTORSTATUSDEAD = ProjectsLocationsBatchesSparkApplicationsSearchExecutorsExecutorStatus "EXECUTOR_STATUS_DEAD"++{-# COMPLETE+  ProjectsLocationsBatchesSparkApplicationsSearchExecutorsExecutorStatus_EXECUTORSTATUSUNSPECIFIED,+  ProjectsLocationsBatchesSparkApplicationsSearchExecutorsExecutorStatus_EXECUTORSTATUSACTIVE,+  ProjectsLocationsBatchesSparkApplicationsSearchExecutorsExecutorStatus_EXECUTORSTATUSDEAD,+  ProjectsLocationsBatchesSparkApplicationsSearchExecutorsExecutorStatus+  #-}++-- | Optional. List only jobs in the specific state.+newtype ProjectsLocationsBatchesSparkApplicationsSearchJobsJobStatus = ProjectsLocationsBatchesSparkApplicationsSearchJobsJobStatus {fromProjectsLocationsBatchesSparkApplicationsSearchJobsJobStatus :: 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+    )++pattern ProjectsLocationsBatchesSparkApplicationsSearchJobsJobStatus_JOBEXECUTIONSTATUSUNSPECIFIED :: ProjectsLocationsBatchesSparkApplicationsSearchJobsJobStatus+pattern ProjectsLocationsBatchesSparkApplicationsSearchJobsJobStatus_JOBEXECUTIONSTATUSUNSPECIFIED = ProjectsLocationsBatchesSparkApplicationsSearchJobsJobStatus "JOB_EXECUTION_STATUS_UNSPECIFIED"++pattern ProjectsLocationsBatchesSparkApplicationsSearchJobsJobStatus_JOBEXECUTIONSTATUSRUNNING :: ProjectsLocationsBatchesSparkApplicationsSearchJobsJobStatus+pattern ProjectsLocationsBatchesSparkApplicationsSearchJobsJobStatus_JOBEXECUTIONSTATUSRUNNING = ProjectsLocationsBatchesSparkApplicationsSearchJobsJobStatus "JOB_EXECUTION_STATUS_RUNNING"++pattern ProjectsLocationsBatchesSparkApplicationsSearchJobsJobStatus_JOBEXECUTIONSTATUSSUCCEEDED :: ProjectsLocationsBatchesSparkApplicationsSearchJobsJobStatus+pattern ProjectsLocationsBatchesSparkApplicationsSearchJobsJobStatus_JOBEXECUTIONSTATUSSUCCEEDED = ProjectsLocationsBatchesSparkApplicationsSearchJobsJobStatus "JOB_EXECUTION_STATUS_SUCCEEDED"++pattern ProjectsLocationsBatchesSparkApplicationsSearchJobsJobStatus_JOBEXECUTIONSTATUSFAILED :: ProjectsLocationsBatchesSparkApplicationsSearchJobsJobStatus+pattern ProjectsLocationsBatchesSparkApplicationsSearchJobsJobStatus_JOBEXECUTIONSTATUSFAILED = ProjectsLocationsBatchesSparkApplicationsSearchJobsJobStatus "JOB_EXECUTION_STATUS_FAILED"++pattern ProjectsLocationsBatchesSparkApplicationsSearchJobsJobStatus_JOBEXECUTIONSTATUSUNKNOWN :: ProjectsLocationsBatchesSparkApplicationsSearchJobsJobStatus+pattern ProjectsLocationsBatchesSparkApplicationsSearchJobsJobStatus_JOBEXECUTIONSTATUSUNKNOWN = ProjectsLocationsBatchesSparkApplicationsSearchJobsJobStatus "JOB_EXECUTION_STATUS_UNKNOWN"++{-# COMPLETE+  ProjectsLocationsBatchesSparkApplicationsSearchJobsJobStatus_JOBEXECUTIONSTATUSUNSPECIFIED,+  ProjectsLocationsBatchesSparkApplicationsSearchJobsJobStatus_JOBEXECUTIONSTATUSRUNNING,+  ProjectsLocationsBatchesSparkApplicationsSearchJobsJobStatus_JOBEXECUTIONSTATUSSUCCEEDED,+  ProjectsLocationsBatchesSparkApplicationsSearchJobsJobStatus_JOBEXECUTIONSTATUSFAILED,+  ProjectsLocationsBatchesSparkApplicationsSearchJobsJobStatus_JOBEXECUTIONSTATUSUNKNOWN,+  ProjectsLocationsBatchesSparkApplicationsSearchJobsJobStatus+  #-}++-- | Optional. List only tasks in the state.+newtype ProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasksTaskStatus = ProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasksTaskStatus {fromProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasksTaskStatus :: 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+    )++pattern ProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasksTaskStatus_TASKSTATUSUNSPECIFIED :: ProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasksTaskStatus+pattern ProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasksTaskStatus_TASKSTATUSUNSPECIFIED = ProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasksTaskStatus "TASK_STATUS_UNSPECIFIED"++pattern ProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasksTaskStatus_TASKSTATUSRUNNING :: ProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasksTaskStatus+pattern ProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasksTaskStatus_TASKSTATUSRUNNING = ProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasksTaskStatus "TASK_STATUS_RUNNING"++pattern ProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasksTaskStatus_TASKSTATUSSUCCESS :: ProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasksTaskStatus+pattern ProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasksTaskStatus_TASKSTATUSSUCCESS = ProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasksTaskStatus "TASK_STATUS_SUCCESS"++pattern ProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasksTaskStatus_TASKSTATUSFAILED :: ProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasksTaskStatus+pattern ProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasksTaskStatus_TASKSTATUSFAILED = ProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasksTaskStatus "TASK_STATUS_FAILED"++pattern ProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasksTaskStatus_TASKSTATUSKILLED :: ProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasksTaskStatus+pattern ProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasksTaskStatus_TASKSTATUSKILLED = ProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasksTaskStatus "TASK_STATUS_KILLED"++pattern ProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasksTaskStatus_TASKSTATUSPENDING :: ProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasksTaskStatus+pattern ProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasksTaskStatus_TASKSTATUSPENDING = ProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasksTaskStatus "TASK_STATUS_PENDING"++{-# COMPLETE+  ProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasksTaskStatus_TASKSTATUSUNSPECIFIED,+  ProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasksTaskStatus_TASKSTATUSRUNNING,+  ProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasksTaskStatus_TASKSTATUSSUCCESS,+  ProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasksTaskStatus_TASKSTATUSFAILED,+  ProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasksTaskStatus_TASKSTATUSKILLED,+  ProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasksTaskStatus_TASKSTATUSPENDING,+  ProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasksTaskStatus+  #-}++-- | Optional. List only stages in the given state.+newtype ProjectsLocationsBatchesSparkApplicationsSearchStagesStageStatus = ProjectsLocationsBatchesSparkApplicationsSearchStagesStageStatus {fromProjectsLocationsBatchesSparkApplicationsSearchStagesStageStatus :: 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+    )++pattern ProjectsLocationsBatchesSparkApplicationsSearchStagesStageStatus_STAGESTATUSUNSPECIFIED :: ProjectsLocationsBatchesSparkApplicationsSearchStagesStageStatus+pattern ProjectsLocationsBatchesSparkApplicationsSearchStagesStageStatus_STAGESTATUSUNSPECIFIED = ProjectsLocationsBatchesSparkApplicationsSearchStagesStageStatus "STAGE_STATUS_UNSPECIFIED"++pattern ProjectsLocationsBatchesSparkApplicationsSearchStagesStageStatus_STAGESTATUSACTIVE :: ProjectsLocationsBatchesSparkApplicationsSearchStagesStageStatus+pattern ProjectsLocationsBatchesSparkApplicationsSearchStagesStageStatus_STAGESTATUSACTIVE = ProjectsLocationsBatchesSparkApplicationsSearchStagesStageStatus "STAGE_STATUS_ACTIVE"++pattern ProjectsLocationsBatchesSparkApplicationsSearchStagesStageStatus_STAGESTATUSCOMPLETE :: ProjectsLocationsBatchesSparkApplicationsSearchStagesStageStatus+pattern ProjectsLocationsBatchesSparkApplicationsSearchStagesStageStatus_STAGESTATUSCOMPLETE = ProjectsLocationsBatchesSparkApplicationsSearchStagesStageStatus "STAGE_STATUS_COMPLETE"++pattern ProjectsLocationsBatchesSparkApplicationsSearchStagesStageStatus_STAGESTATUSFAILED :: ProjectsLocationsBatchesSparkApplicationsSearchStagesStageStatus+pattern ProjectsLocationsBatchesSparkApplicationsSearchStagesStageStatus_STAGESTATUSFAILED = ProjectsLocationsBatchesSparkApplicationsSearchStagesStageStatus "STAGE_STATUS_FAILED"++pattern ProjectsLocationsBatchesSparkApplicationsSearchStagesStageStatus_STAGESTATUSPENDING :: ProjectsLocationsBatchesSparkApplicationsSearchStagesStageStatus+pattern ProjectsLocationsBatchesSparkApplicationsSearchStagesStageStatus_STAGESTATUSPENDING = ProjectsLocationsBatchesSparkApplicationsSearchStagesStageStatus "STAGE_STATUS_PENDING"++pattern ProjectsLocationsBatchesSparkApplicationsSearchStagesStageStatus_STAGESTATUSSKIPPED :: ProjectsLocationsBatchesSparkApplicationsSearchStagesStageStatus+pattern ProjectsLocationsBatchesSparkApplicationsSearchStagesStageStatus_STAGESTATUSSKIPPED = ProjectsLocationsBatchesSparkApplicationsSearchStagesStageStatus "STAGE_STATUS_SKIPPED"++{-# COMPLETE+  ProjectsLocationsBatchesSparkApplicationsSearchStagesStageStatus_STAGESTATUSUNSPECIFIED,+  ProjectsLocationsBatchesSparkApplicationsSearchStagesStageStatus_STAGESTATUSACTIVE,+  ProjectsLocationsBatchesSparkApplicationsSearchStagesStageStatus_STAGESTATUSCOMPLETE,+  ProjectsLocationsBatchesSparkApplicationsSearchStagesStageStatus_STAGESTATUSFAILED,+  ProjectsLocationsBatchesSparkApplicationsSearchStagesStageStatus_STAGESTATUSPENDING,+  ProjectsLocationsBatchesSparkApplicationsSearchStagesStageStatus_STAGESTATUSSKIPPED,+  ProjectsLocationsBatchesSparkApplicationsSearchStagesStageStatus+  #-}++-- | Optional. Search only applications in the chosen state.+newtype ProjectsLocationsSessionsSparkApplicationsSearchApplicationStatus = ProjectsLocationsSessionsSparkApplicationsSearchApplicationStatus {fromProjectsLocationsSessionsSparkApplicationsSearchApplicationStatus :: 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+    )++pattern ProjectsLocationsSessionsSparkApplicationsSearchApplicationStatus_APPLICATIONSTATUSUNSPECIFIED :: ProjectsLocationsSessionsSparkApplicationsSearchApplicationStatus+pattern ProjectsLocationsSessionsSparkApplicationsSearchApplicationStatus_APPLICATIONSTATUSUNSPECIFIED = ProjectsLocationsSessionsSparkApplicationsSearchApplicationStatus "APPLICATION_STATUS_UNSPECIFIED"++pattern ProjectsLocationsSessionsSparkApplicationsSearchApplicationStatus_APPLICATIONSTATUSRUNNING :: ProjectsLocationsSessionsSparkApplicationsSearchApplicationStatus+pattern ProjectsLocationsSessionsSparkApplicationsSearchApplicationStatus_APPLICATIONSTATUSRUNNING = ProjectsLocationsSessionsSparkApplicationsSearchApplicationStatus "APPLICATION_STATUS_RUNNING"++pattern ProjectsLocationsSessionsSparkApplicationsSearchApplicationStatus_APPLICATIONSTATUSCOMPLETED :: ProjectsLocationsSessionsSparkApplicationsSearchApplicationStatus+pattern ProjectsLocationsSessionsSparkApplicationsSearchApplicationStatus_APPLICATIONSTATUSCOMPLETED = ProjectsLocationsSessionsSparkApplicationsSearchApplicationStatus "APPLICATION_STATUS_COMPLETED"++{-# COMPLETE+  ProjectsLocationsSessionsSparkApplicationsSearchApplicationStatus_APPLICATIONSTATUSUNSPECIFIED,+  ProjectsLocationsSessionsSparkApplicationsSearchApplicationStatus_APPLICATIONSTATUSRUNNING,+  ProjectsLocationsSessionsSparkApplicationsSearchApplicationStatus_APPLICATIONSTATUSCOMPLETED,+  ProjectsLocationsSessionsSparkApplicationsSearchApplicationStatus+  #-}++-- | Optional. Filter to select whether active\/ dead or all executors should be selected.+newtype ProjectsLocationsSessionsSparkApplicationsSearchExecutorsExecutorStatus = ProjectsLocationsSessionsSparkApplicationsSearchExecutorsExecutorStatus {fromProjectsLocationsSessionsSparkApplicationsSearchExecutorsExecutorStatus :: 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+    )++pattern ProjectsLocationsSessionsSparkApplicationsSearchExecutorsExecutorStatus_EXECUTORSTATUSUNSPECIFIED :: ProjectsLocationsSessionsSparkApplicationsSearchExecutorsExecutorStatus+pattern ProjectsLocationsSessionsSparkApplicationsSearchExecutorsExecutorStatus_EXECUTORSTATUSUNSPECIFIED = ProjectsLocationsSessionsSparkApplicationsSearchExecutorsExecutorStatus "EXECUTOR_STATUS_UNSPECIFIED"++pattern ProjectsLocationsSessionsSparkApplicationsSearchExecutorsExecutorStatus_EXECUTORSTATUSACTIVE :: ProjectsLocationsSessionsSparkApplicationsSearchExecutorsExecutorStatus+pattern ProjectsLocationsSessionsSparkApplicationsSearchExecutorsExecutorStatus_EXECUTORSTATUSACTIVE = ProjectsLocationsSessionsSparkApplicationsSearchExecutorsExecutorStatus "EXECUTOR_STATUS_ACTIVE"++pattern ProjectsLocationsSessionsSparkApplicationsSearchExecutorsExecutorStatus_EXECUTORSTATUSDEAD :: ProjectsLocationsSessionsSparkApplicationsSearchExecutorsExecutorStatus+pattern ProjectsLocationsSessionsSparkApplicationsSearchExecutorsExecutorStatus_EXECUTORSTATUSDEAD = ProjectsLocationsSessionsSparkApplicationsSearchExecutorsExecutorStatus "EXECUTOR_STATUS_DEAD"++{-# COMPLETE+  ProjectsLocationsSessionsSparkApplicationsSearchExecutorsExecutorStatus_EXECUTORSTATUSUNSPECIFIED,+  ProjectsLocationsSessionsSparkApplicationsSearchExecutorsExecutorStatus_EXECUTORSTATUSACTIVE,+  ProjectsLocationsSessionsSparkApplicationsSearchExecutorsExecutorStatus_EXECUTORSTATUSDEAD,+  ProjectsLocationsSessionsSparkApplicationsSearchExecutorsExecutorStatus+  #-}++-- | Optional. List only jobs in the specific state.+newtype ProjectsLocationsSessionsSparkApplicationsSearchJobsJobStatus = ProjectsLocationsSessionsSparkApplicationsSearchJobsJobStatus {fromProjectsLocationsSessionsSparkApplicationsSearchJobsJobStatus :: 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+    )++pattern ProjectsLocationsSessionsSparkApplicationsSearchJobsJobStatus_JOBEXECUTIONSTATUSUNSPECIFIED :: ProjectsLocationsSessionsSparkApplicationsSearchJobsJobStatus+pattern ProjectsLocationsSessionsSparkApplicationsSearchJobsJobStatus_JOBEXECUTIONSTATUSUNSPECIFIED = ProjectsLocationsSessionsSparkApplicationsSearchJobsJobStatus "JOB_EXECUTION_STATUS_UNSPECIFIED"++pattern ProjectsLocationsSessionsSparkApplicationsSearchJobsJobStatus_JOBEXECUTIONSTATUSRUNNING :: ProjectsLocationsSessionsSparkApplicationsSearchJobsJobStatus+pattern ProjectsLocationsSessionsSparkApplicationsSearchJobsJobStatus_JOBEXECUTIONSTATUSRUNNING = ProjectsLocationsSessionsSparkApplicationsSearchJobsJobStatus "JOB_EXECUTION_STATUS_RUNNING"++pattern ProjectsLocationsSessionsSparkApplicationsSearchJobsJobStatus_JOBEXECUTIONSTATUSSUCCEEDED :: ProjectsLocationsSessionsSparkApplicationsSearchJobsJobStatus+pattern ProjectsLocationsSessionsSparkApplicationsSearchJobsJobStatus_JOBEXECUTIONSTATUSSUCCEEDED = ProjectsLocationsSessionsSparkApplicationsSearchJobsJobStatus "JOB_EXECUTION_STATUS_SUCCEEDED"++pattern ProjectsLocationsSessionsSparkApplicationsSearchJobsJobStatus_JOBEXECUTIONSTATUSFAILED :: ProjectsLocationsSessionsSparkApplicationsSearchJobsJobStatus+pattern ProjectsLocationsSessionsSparkApplicationsSearchJobsJobStatus_JOBEXECUTIONSTATUSFAILED = ProjectsLocationsSessionsSparkApplicationsSearchJobsJobStatus "JOB_EXECUTION_STATUS_FAILED"++pattern ProjectsLocationsSessionsSparkApplicationsSearchJobsJobStatus_JOBEXECUTIONSTATUSUNKNOWN :: ProjectsLocationsSessionsSparkApplicationsSearchJobsJobStatus+pattern ProjectsLocationsSessionsSparkApplicationsSearchJobsJobStatus_JOBEXECUTIONSTATUSUNKNOWN = ProjectsLocationsSessionsSparkApplicationsSearchJobsJobStatus "JOB_EXECUTION_STATUS_UNKNOWN"++{-# COMPLETE+  ProjectsLocationsSessionsSparkApplicationsSearchJobsJobStatus_JOBEXECUTIONSTATUSUNSPECIFIED,+  ProjectsLocationsSessionsSparkApplicationsSearchJobsJobStatus_JOBEXECUTIONSTATUSRUNNING,+  ProjectsLocationsSessionsSparkApplicationsSearchJobsJobStatus_JOBEXECUTIONSTATUSSUCCEEDED,+  ProjectsLocationsSessionsSparkApplicationsSearchJobsJobStatus_JOBEXECUTIONSTATUSFAILED,+  ProjectsLocationsSessionsSparkApplicationsSearchJobsJobStatus_JOBEXECUTIONSTATUSUNKNOWN,+  ProjectsLocationsSessionsSparkApplicationsSearchJobsJobStatus+  #-}++-- | Optional. List only tasks in the state.+newtype ProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasksTaskStatus = ProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasksTaskStatus {fromProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasksTaskStatus :: 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+    )++pattern ProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasksTaskStatus_TASKSTATUSUNSPECIFIED :: ProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasksTaskStatus+pattern ProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasksTaskStatus_TASKSTATUSUNSPECIFIED = ProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasksTaskStatus "TASK_STATUS_UNSPECIFIED"++pattern ProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasksTaskStatus_TASKSTATUSRUNNING :: ProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasksTaskStatus+pattern ProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasksTaskStatus_TASKSTATUSRUNNING = ProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasksTaskStatus "TASK_STATUS_RUNNING"++pattern ProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasksTaskStatus_TASKSTATUSSUCCESS :: ProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasksTaskStatus+pattern ProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasksTaskStatus_TASKSTATUSSUCCESS = ProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasksTaskStatus "TASK_STATUS_SUCCESS"++pattern ProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasksTaskStatus_TASKSTATUSFAILED :: ProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasksTaskStatus+pattern ProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasksTaskStatus_TASKSTATUSFAILED = ProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasksTaskStatus "TASK_STATUS_FAILED"++pattern ProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasksTaskStatus_TASKSTATUSKILLED :: ProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasksTaskStatus+pattern ProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasksTaskStatus_TASKSTATUSKILLED = ProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasksTaskStatus "TASK_STATUS_KILLED"++pattern ProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasksTaskStatus_TASKSTATUSPENDING :: ProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasksTaskStatus+pattern ProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasksTaskStatus_TASKSTATUSPENDING = ProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasksTaskStatus "TASK_STATUS_PENDING"++{-# COMPLETE+  ProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasksTaskStatus_TASKSTATUSUNSPECIFIED,+  ProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasksTaskStatus_TASKSTATUSRUNNING,+  ProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasksTaskStatus_TASKSTATUSSUCCESS,+  ProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasksTaskStatus_TASKSTATUSFAILED,+  ProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasksTaskStatus_TASKSTATUSKILLED,+  ProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasksTaskStatus_TASKSTATUSPENDING,+  ProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasksTaskStatus+  #-}++-- | Optional. List only stages in the given state.+newtype ProjectsLocationsSessionsSparkApplicationsSearchStagesStageStatus = ProjectsLocationsSessionsSparkApplicationsSearchStagesStageStatus {fromProjectsLocationsSessionsSparkApplicationsSearchStagesStageStatus :: 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+    )++pattern ProjectsLocationsSessionsSparkApplicationsSearchStagesStageStatus_STAGESTATUSUNSPECIFIED :: ProjectsLocationsSessionsSparkApplicationsSearchStagesStageStatus+pattern ProjectsLocationsSessionsSparkApplicationsSearchStagesStageStatus_STAGESTATUSUNSPECIFIED = ProjectsLocationsSessionsSparkApplicationsSearchStagesStageStatus "STAGE_STATUS_UNSPECIFIED"++pattern ProjectsLocationsSessionsSparkApplicationsSearchStagesStageStatus_STAGESTATUSACTIVE :: ProjectsLocationsSessionsSparkApplicationsSearchStagesStageStatus+pattern ProjectsLocationsSessionsSparkApplicationsSearchStagesStageStatus_STAGESTATUSACTIVE = ProjectsLocationsSessionsSparkApplicationsSearchStagesStageStatus "STAGE_STATUS_ACTIVE"++pattern ProjectsLocationsSessionsSparkApplicationsSearchStagesStageStatus_STAGESTATUSCOMPLETE :: ProjectsLocationsSessionsSparkApplicationsSearchStagesStageStatus+pattern ProjectsLocationsSessionsSparkApplicationsSearchStagesStageStatus_STAGESTATUSCOMPLETE = ProjectsLocationsSessionsSparkApplicationsSearchStagesStageStatus "STAGE_STATUS_COMPLETE"++pattern ProjectsLocationsSessionsSparkApplicationsSearchStagesStageStatus_STAGESTATUSFAILED :: ProjectsLocationsSessionsSparkApplicationsSearchStagesStageStatus+pattern ProjectsLocationsSessionsSparkApplicationsSearchStagesStageStatus_STAGESTATUSFAILED = ProjectsLocationsSessionsSparkApplicationsSearchStagesStageStatus "STAGE_STATUS_FAILED"++pattern ProjectsLocationsSessionsSparkApplicationsSearchStagesStageStatus_STAGESTATUSPENDING :: ProjectsLocationsSessionsSparkApplicationsSearchStagesStageStatus+pattern ProjectsLocationsSessionsSparkApplicationsSearchStagesStageStatus_STAGESTATUSPENDING = ProjectsLocationsSessionsSparkApplicationsSearchStagesStageStatus "STAGE_STATUS_PENDING"++pattern ProjectsLocationsSessionsSparkApplicationsSearchStagesStageStatus_STAGESTATUSSKIPPED :: ProjectsLocationsSessionsSparkApplicationsSearchStagesStageStatus+pattern ProjectsLocationsSessionsSparkApplicationsSearchStagesStageStatus_STAGESTATUSSKIPPED = ProjectsLocationsSessionsSparkApplicationsSearchStagesStageStatus "STAGE_STATUS_SKIPPED"++{-# COMPLETE+  ProjectsLocationsSessionsSparkApplicationsSearchStagesStageStatus_STAGESTATUSUNSPECIFIED,+  ProjectsLocationsSessionsSparkApplicationsSearchStagesStageStatus_STAGESTATUSACTIVE,+  ProjectsLocationsSessionsSparkApplicationsSearchStagesStageStatus_STAGESTATUSCOMPLETE,+  ProjectsLocationsSessionsSparkApplicationsSearchStagesStageStatus_STAGESTATUSFAILED,+  ProjectsLocationsSessionsSparkApplicationsSearchStagesStageStatus_STAGESTATUSPENDING,+  ProjectsLocationsSessionsSparkApplicationsSearchStagesStageStatus_STAGESTATUSSKIPPED,+  ProjectsLocationsSessionsSparkApplicationsSearchStagesStageStatus+  #-}++-- | Optional. Failure action when primary worker creation fails.+newtype ProjectsRegionsClustersCreateActionOnFailedPrimaryWorkers = ProjectsRegionsClustersCreateActionOnFailedPrimaryWorkers {fromProjectsRegionsClustersCreateActionOnFailedPrimaryWorkers :: 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+    )++-- | When FailureAction is unspecified, failure action defaults to NO_ACTION.+pattern ProjectsRegionsClustersCreateActionOnFailedPrimaryWorkers_FAILUREACTIONUNSPECIFIED :: ProjectsRegionsClustersCreateActionOnFailedPrimaryWorkers+pattern ProjectsRegionsClustersCreateActionOnFailedPrimaryWorkers_FAILUREACTIONUNSPECIFIED = ProjectsRegionsClustersCreateActionOnFailedPrimaryWorkers "FAILURE_ACTION_UNSPECIFIED"++-- | Take no action on failure to create a cluster resource. NO_ACTION is the default.+pattern ProjectsRegionsClustersCreateActionOnFailedPrimaryWorkers_NOACTION :: ProjectsRegionsClustersCreateActionOnFailedPrimaryWorkers+pattern ProjectsRegionsClustersCreateActionOnFailedPrimaryWorkers_NOACTION = ProjectsRegionsClustersCreateActionOnFailedPrimaryWorkers "NO_ACTION"++-- | Delete the failed cluster resource.+pattern ProjectsRegionsClustersCreateActionOnFailedPrimaryWorkers_Delete' :: ProjectsRegionsClustersCreateActionOnFailedPrimaryWorkers+pattern ProjectsRegionsClustersCreateActionOnFailedPrimaryWorkers_Delete' = ProjectsRegionsClustersCreateActionOnFailedPrimaryWorkers "DELETE"++{-# COMPLETE+  ProjectsRegionsClustersCreateActionOnFailedPrimaryWorkers_FAILUREACTIONUNSPECIFIED,+  ProjectsRegionsClustersCreateActionOnFailedPrimaryWorkers_NOACTION,+  ProjectsRegionsClustersCreateActionOnFailedPrimaryWorkers_Delete',+  ProjectsRegionsClustersCreateActionOnFailedPrimaryWorkers+  #-}++-- | Optional. Specifies enumerated categories of jobs to list. (default = match ALL jobs).If filter is provided, jobStateMatcher will be ignored.+newtype ProjectsRegionsJobsListJobStateMatcher = ProjectsRegionsJobsListJobStateMatcher {fromProjectsRegionsJobsListJobStateMatcher :: 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+    )++-- | Match all jobs, regardless of state.+pattern ProjectsRegionsJobsListJobStateMatcher_All :: ProjectsRegionsJobsListJobStateMatcher+pattern ProjectsRegionsJobsListJobStateMatcher_All = ProjectsRegionsJobsListJobStateMatcher "ALL"++-- | Only match jobs in non-terminal states: PENDING, RUNNING, or CANCEL_PENDING.+pattern ProjectsRegionsJobsListJobStateMatcher_Active :: ProjectsRegionsJobsListJobStateMatcher+pattern ProjectsRegionsJobsListJobStateMatcher_Active = ProjectsRegionsJobsListJobStateMatcher "ACTIVE"++-- | Only match jobs in terminal states: CANCELLED, DONE, or ERROR.+pattern ProjectsRegionsJobsListJobStateMatcher_NONACTIVE :: ProjectsRegionsJobsListJobStateMatcher+pattern ProjectsRegionsJobsListJobStateMatcher_NONACTIVE = ProjectsRegionsJobsListJobStateMatcher "NON_ACTIVE"++{-# COMPLETE+  ProjectsRegionsJobsListJobStateMatcher_All,+  ProjectsRegionsJobsListJobStateMatcher_Active,+  ProjectsRegionsJobsListJobStateMatcher_NONACTIVE,+  ProjectsRegionsJobsListJobStateMatcher+  #-}
+ gen/Gogol/Dataproc/Projects/Locations/AutoscalingPolicies/Create.hs view
@@ -0,0 +1,129 @@+{-# 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.Dataproc.Projects.Locations.AutoscalingPolicies.Create+-- 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 new autoscaling policy.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.autoscalingPolicies.create@.+module Gogol.Dataproc.Projects.Locations.AutoscalingPolicies.Create+  ( -- * Resource+    DataprocProjectsLocationsAutoscalingPoliciesCreateResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsAutoscalingPoliciesCreate (..),+    newDataprocProjectsLocationsAutoscalingPoliciesCreate,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.autoscalingPolicies.create@ method which the+-- 'DataprocProjectsLocationsAutoscalingPoliciesCreate' request conforms to.+type DataprocProjectsLocationsAutoscalingPoliciesCreateResource =+  "v1"+    Core.:> Core.Capture "parent" Core.Text+    Core.:> "autoscalingPolicies"+    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] AutoscalingPolicy+    Core.:> Core.Post '[Core.JSON] AutoscalingPolicy++-- | Creates new autoscaling policy.+--+-- /See:/ 'newDataprocProjectsLocationsAutoscalingPoliciesCreate' smart constructor.+data DataprocProjectsLocationsAutoscalingPoliciesCreate = DataprocProjectsLocationsAutoscalingPoliciesCreate+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The \"resource name\" of the region or location, as described in https:\/\/cloud.google.com\/apis\/design\/resource/names. For projects.regions.autoscalingPolicies.create, the resource name of the region has the following format: projects\/{project/id}\/regions\/{region} For projects.locations.autoscalingPolicies.create, the resource name of the location has the following format: projects\/{project_id}\/locations\/{location}+    parent :: Core.Text,+    -- | Multipart request metadata.+    payload :: AutoscalingPolicy,+    -- | 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 'DataprocProjectsLocationsAutoscalingPoliciesCreate' with the minimum fields required to make a request.+newDataprocProjectsLocationsAutoscalingPoliciesCreate ::+  -- |  Required. The \"resource name\" of the region or location, as described in https:\/\/cloud.google.com\/apis\/design\/resource/names. For projects.regions.autoscalingPolicies.create, the resource name of the region has the following format: projects\/{project/id}\/regions\/{region} For projects.locations.autoscalingPolicies.create, the resource name of the location has the following format: projects\/{project_id}\/locations\/{location} See 'parent'.+  Core.Text ->+  -- |  Multipart request metadata. See 'payload'.+  AutoscalingPolicy ->+  DataprocProjectsLocationsAutoscalingPoliciesCreate+newDataprocProjectsLocationsAutoscalingPoliciesCreate+  parent+  payload =+    DataprocProjectsLocationsAutoscalingPoliciesCreate+      { xgafv =+          Core.Nothing,+        accessToken = Core.Nothing,+        callback = Core.Nothing,+        parent = parent,+        payload = payload,+        uploadType = Core.Nothing,+        uploadProtocol = Core.Nothing+      }++instance+  Core.GoogleRequest+    DataprocProjectsLocationsAutoscalingPoliciesCreate+  where+  type+    Rs DataprocProjectsLocationsAutoscalingPoliciesCreate =+      AutoscalingPolicy+  type+    Scopes DataprocProjectsLocationsAutoscalingPoliciesCreate =+      '[CloudPlatform'FullControl]+  requestClient+    DataprocProjectsLocationsAutoscalingPoliciesCreate {..} =+      go+        parent+        xgafv+        accessToken+        callback+        uploadType+        uploadProtocol+        (Core.Just Core.AltJSON)+        payload+        dataprocService+      where+        go =+          Core.buildClient+            ( Core.Proxy ::+                Core.Proxy+                  DataprocProjectsLocationsAutoscalingPoliciesCreateResource+            )+            Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/AutoscalingPolicies/Delete.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.Dataproc.Projects.Locations.AutoscalingPolicies.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 an autoscaling policy. It is an error to delete an autoscaling policy that is in use by one or more clusters.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.autoscalingPolicies.delete@.+module Gogol.Dataproc.Projects.Locations.AutoscalingPolicies.Delete+  ( -- * Resource+    DataprocProjectsLocationsAutoscalingPoliciesDeleteResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsAutoscalingPoliciesDelete (..),+    newDataprocProjectsLocationsAutoscalingPoliciesDelete,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.autoscalingPolicies.delete@ method which the+-- 'DataprocProjectsLocationsAutoscalingPoliciesDelete' request conforms to.+type DataprocProjectsLocationsAutoscalingPoliciesDeleteResource =+  "v1"+    Core.:> Core.Capture "name" 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] Empty++-- | Deletes an autoscaling policy. It is an error to delete an autoscaling policy that is in use by one or more clusters.+--+-- /See:/ 'newDataprocProjectsLocationsAutoscalingPoliciesDelete' smart constructor.+data DataprocProjectsLocationsAutoscalingPoliciesDelete = DataprocProjectsLocationsAutoscalingPoliciesDelete+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The \"resource name\" of the autoscaling policy, as described in https:\/\/cloud.google.com\/apis\/design\/resource/names. For projects.regions.autoscalingPolicies.delete, the resource name of the policy has the following format: projects\/{project/id}\/regions\/{region}\/autoscalingPolicies\/{policy/id} For projects.locations.autoscalingPolicies.delete, the resource name of the policy has the following format: projects\/{project/id}\/locations\/{location}\/autoscalingPolicies\/{policy_id}+    name :: 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 'DataprocProjectsLocationsAutoscalingPoliciesDelete' with the minimum fields required to make a request.+newDataprocProjectsLocationsAutoscalingPoliciesDelete ::+  -- |  Required. The \"resource name\" of the autoscaling policy, as described in https:\/\/cloud.google.com\/apis\/design\/resource/names. For projects.regions.autoscalingPolicies.delete, the resource name of the policy has the following format: projects\/{project/id}\/regions\/{region}\/autoscalingPolicies\/{policy/id} For projects.locations.autoscalingPolicies.delete, the resource name of the policy has the following format: projects\/{project/id}\/locations\/{location}\/autoscalingPolicies\/{policy_id} See 'name'.+  Core.Text ->+  DataprocProjectsLocationsAutoscalingPoliciesDelete+newDataprocProjectsLocationsAutoscalingPoliciesDelete name =+  DataprocProjectsLocationsAutoscalingPoliciesDelete+    { xgafv =+        Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      name = name,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance+  Core.GoogleRequest+    DataprocProjectsLocationsAutoscalingPoliciesDelete+  where+  type Rs DataprocProjectsLocationsAutoscalingPoliciesDelete = Empty+  type+    Scopes DataprocProjectsLocationsAutoscalingPoliciesDelete =+      '[CloudPlatform'FullControl]+  requestClient+    DataprocProjectsLocationsAutoscalingPoliciesDelete {..} =+      go+        name+        xgafv+        accessToken+        callback+        uploadType+        uploadProtocol+        (Core.Just Core.AltJSON)+        dataprocService+      where+        go =+          Core.buildClient+            ( Core.Proxy ::+                Core.Proxy+                  DataprocProjectsLocationsAutoscalingPoliciesDeleteResource+            )+            Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/AutoscalingPolicies/Get.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.Dataproc.Projects.Locations.AutoscalingPolicies.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)+--+-- Retrieves autoscaling policy.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.autoscalingPolicies.get@.+module Gogol.Dataproc.Projects.Locations.AutoscalingPolicies.Get+  ( -- * Resource+    DataprocProjectsLocationsAutoscalingPoliciesGetResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsAutoscalingPoliciesGet (..),+    newDataprocProjectsLocationsAutoscalingPoliciesGet,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.autoscalingPolicies.get@ method which the+-- 'DataprocProjectsLocationsAutoscalingPoliciesGet' request conforms to.+type DataprocProjectsLocationsAutoscalingPoliciesGetResource =+  "v1"+    Core.:> Core.Capture "name" 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] AutoscalingPolicy++-- | Retrieves autoscaling policy.+--+-- /See:/ 'newDataprocProjectsLocationsAutoscalingPoliciesGet' smart constructor.+data DataprocProjectsLocationsAutoscalingPoliciesGet = DataprocProjectsLocationsAutoscalingPoliciesGet+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The \"resource name\" of the autoscaling policy, as described in https:\/\/cloud.google.com\/apis\/design\/resource/names. For projects.regions.autoscalingPolicies.get, the resource name of the policy has the following format: projects\/{project/id}\/regions\/{region}\/autoscalingPolicies\/{policy/id} For projects.locations.autoscalingPolicies.get, the resource name of the policy has the following format: projects\/{project/id}\/locations\/{location}\/autoscalingPolicies\/{policy_id}+    name :: 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 'DataprocProjectsLocationsAutoscalingPoliciesGet' with the minimum fields required to make a request.+newDataprocProjectsLocationsAutoscalingPoliciesGet ::+  -- |  Required. The \"resource name\" of the autoscaling policy, as described in https:\/\/cloud.google.com\/apis\/design\/resource/names. For projects.regions.autoscalingPolicies.get, the resource name of the policy has the following format: projects\/{project/id}\/regions\/{region}\/autoscalingPolicies\/{policy/id} For projects.locations.autoscalingPolicies.get, the resource name of the policy has the following format: projects\/{project/id}\/locations\/{location}\/autoscalingPolicies\/{policy_id} See 'name'.+  Core.Text ->+  DataprocProjectsLocationsAutoscalingPoliciesGet+newDataprocProjectsLocationsAutoscalingPoliciesGet name =+  DataprocProjectsLocationsAutoscalingPoliciesGet+    { xgafv =+        Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      name = name,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance+  Core.GoogleRequest+    DataprocProjectsLocationsAutoscalingPoliciesGet+  where+  type+    Rs DataprocProjectsLocationsAutoscalingPoliciesGet =+      AutoscalingPolicy+  type+    Scopes DataprocProjectsLocationsAutoscalingPoliciesGet =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsLocationsAutoscalingPoliciesGet {..} =+    go+      name+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      dataprocService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy DataprocProjectsLocationsAutoscalingPoliciesGetResource+          )+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/AutoscalingPolicies/GetIamPolicy.hs view
@@ -0,0 +1,129 @@+{-# 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.Dataproc.Projects.Locations.AutoscalingPolicies.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/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.autoscalingPolicies.getIamPolicy@.+module Gogol.Dataproc.Projects.Locations.AutoscalingPolicies.GetIamPolicy+  ( -- * Resource+    DataprocProjectsLocationsAutoscalingPoliciesGetIamPolicyResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsAutoscalingPoliciesGetIamPolicy (..),+    newDataprocProjectsLocationsAutoscalingPoliciesGetIamPolicy,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.autoscalingPolicies.getIamPolicy@ method which the+-- 'DataprocProjectsLocationsAutoscalingPoliciesGetIamPolicy' request conforms to.+type DataprocProjectsLocationsAutoscalingPoliciesGetIamPolicyResource =+  "v1"+    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:/ 'newDataprocProjectsLocationsAutoscalingPoliciesGetIamPolicy' smart constructor.+data DataprocProjectsLocationsAutoscalingPoliciesGetIamPolicy = DataprocProjectsLocationsAutoscalingPoliciesGetIamPolicy+  { -- | 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 Resource names (https:\/\/cloud.google.com\/apis\/design\/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 'DataprocProjectsLocationsAutoscalingPoliciesGetIamPolicy' with the minimum fields required to make a request.+newDataprocProjectsLocationsAutoscalingPoliciesGetIamPolicy ::+  -- |  Multipart request metadata. See 'payload'.+  GetIamPolicyRequest ->+  -- |  REQUIRED: The resource for which the policy is being requested. See Resource names (https:\/\/cloud.google.com\/apis\/design\/resource_names) for the appropriate value for this field. See 'resource'.+  Core.Text ->+  DataprocProjectsLocationsAutoscalingPoliciesGetIamPolicy+newDataprocProjectsLocationsAutoscalingPoliciesGetIamPolicy+  payload+  resource =+    DataprocProjectsLocationsAutoscalingPoliciesGetIamPolicy+      { xgafv =+          Core.Nothing,+        accessToken = Core.Nothing,+        callback = Core.Nothing,+        payload = payload,+        resource = resource,+        uploadType = Core.Nothing,+        uploadProtocol = Core.Nothing+      }++instance+  Core.GoogleRequest+    DataprocProjectsLocationsAutoscalingPoliciesGetIamPolicy+  where+  type+    Rs DataprocProjectsLocationsAutoscalingPoliciesGetIamPolicy =+      Policy+  type+    Scopes+      DataprocProjectsLocationsAutoscalingPoliciesGetIamPolicy =+      '[CloudPlatform'FullControl]+  requestClient+    DataprocProjectsLocationsAutoscalingPoliciesGetIamPolicy {..} =+      go+        resource+        xgafv+        accessToken+        callback+        uploadType+        uploadProtocol+        (Core.Just Core.AltJSON)+        payload+        dataprocService+      where+        go =+          Core.buildClient+            ( Core.Proxy ::+                Core.Proxy+                  DataprocProjectsLocationsAutoscalingPoliciesGetIamPolicyResource+            )+            Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/AutoscalingPolicies/List.hs view
@@ -0,0 +1,129 @@+{-# 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.Dataproc.Projects.Locations.AutoscalingPolicies.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 autoscaling policies in the project.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.autoscalingPolicies.list@.+module Gogol.Dataproc.Projects.Locations.AutoscalingPolicies.List+  ( -- * Resource+    DataprocProjectsLocationsAutoscalingPoliciesListResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsAutoscalingPoliciesList (..),+    newDataprocProjectsLocationsAutoscalingPoliciesList,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.autoscalingPolicies.list@ method which the+-- 'DataprocProjectsLocationsAutoscalingPoliciesList' request conforms to.+type DataprocProjectsLocationsAutoscalingPoliciesListResource =+  "v1"+    Core.:> Core.Capture "parent" Core.Text+    Core.:> "autoscalingPolicies"+    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] ListAutoscalingPoliciesResponse++-- | Lists autoscaling policies in the project.+--+-- /See:/ 'newDataprocProjectsLocationsAutoscalingPoliciesList' smart constructor.+data DataprocProjectsLocationsAutoscalingPoliciesList = DataprocProjectsLocationsAutoscalingPoliciesList+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Optional. The maximum number of results to return in each response. Must be less than or equal to 1000. Defaults to 100.+    pageSize :: (Core.Maybe Core.Int32),+    -- | Optional. The page token, returned by a previous call, to request the next page of results.+    pageToken :: (Core.Maybe Core.Text),+    -- | Required. The \"resource name\" of the region or location, as described in https:\/\/cloud.google.com\/apis\/design\/resource/names. For projects.regions.autoscalingPolicies.list, the resource name of the region has the following format: projects\/{project/id}\/regions\/{region} For projects.locations.autoscalingPolicies.list, the resource name of the location has the following format: projects\/{project_id}\/locations\/{location}+    parent :: 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 'DataprocProjectsLocationsAutoscalingPoliciesList' with the minimum fields required to make a request.+newDataprocProjectsLocationsAutoscalingPoliciesList ::+  -- |  Required. The \"resource name\" of the region or location, as described in https:\/\/cloud.google.com\/apis\/design\/resource/names. For projects.regions.autoscalingPolicies.list, the resource name of the region has the following format: projects\/{project/id}\/regions\/{region} For projects.locations.autoscalingPolicies.list, the resource name of the location has the following format: projects\/{project_id}\/locations\/{location} See 'parent'.+  Core.Text ->+  DataprocProjectsLocationsAutoscalingPoliciesList+newDataprocProjectsLocationsAutoscalingPoliciesList parent =+  DataprocProjectsLocationsAutoscalingPoliciesList+    { xgafv =+        Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      pageSize = Core.Nothing,+      pageToken = Core.Nothing,+      parent = parent,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance+  Core.GoogleRequest+    DataprocProjectsLocationsAutoscalingPoliciesList+  where+  type+    Rs DataprocProjectsLocationsAutoscalingPoliciesList =+      ListAutoscalingPoliciesResponse+  type+    Scopes DataprocProjectsLocationsAutoscalingPoliciesList =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsLocationsAutoscalingPoliciesList {..} =+    go+      parent+      xgafv+      accessToken+      callback+      pageSize+      pageToken+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      dataprocService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy+                DataprocProjectsLocationsAutoscalingPoliciesListResource+          )+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/AutoscalingPolicies/SetIamPolicy.hs view
@@ -0,0 +1,129 @@+{-# 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.Dataproc.Projects.Locations.AutoscalingPolicies.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/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.autoscalingPolicies.setIamPolicy@.+module Gogol.Dataproc.Projects.Locations.AutoscalingPolicies.SetIamPolicy+  ( -- * Resource+    DataprocProjectsLocationsAutoscalingPoliciesSetIamPolicyResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsAutoscalingPoliciesSetIamPolicy (..),+    newDataprocProjectsLocationsAutoscalingPoliciesSetIamPolicy,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.autoscalingPolicies.setIamPolicy@ method which the+-- 'DataprocProjectsLocationsAutoscalingPoliciesSetIamPolicy' request conforms to.+type DataprocProjectsLocationsAutoscalingPoliciesSetIamPolicyResource =+  "v1"+    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:/ 'newDataprocProjectsLocationsAutoscalingPoliciesSetIamPolicy' smart constructor.+data DataprocProjectsLocationsAutoscalingPoliciesSetIamPolicy = DataprocProjectsLocationsAutoscalingPoliciesSetIamPolicy+  { -- | 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 Resource names (https:\/\/cloud.google.com\/apis\/design\/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 'DataprocProjectsLocationsAutoscalingPoliciesSetIamPolicy' with the minimum fields required to make a request.+newDataprocProjectsLocationsAutoscalingPoliciesSetIamPolicy ::+  -- |  Multipart request metadata. See 'payload'.+  SetIamPolicyRequest ->+  -- |  REQUIRED: The resource for which the policy is being specified. See Resource names (https:\/\/cloud.google.com\/apis\/design\/resource_names) for the appropriate value for this field. See 'resource'.+  Core.Text ->+  DataprocProjectsLocationsAutoscalingPoliciesSetIamPolicy+newDataprocProjectsLocationsAutoscalingPoliciesSetIamPolicy+  payload+  resource =+    DataprocProjectsLocationsAutoscalingPoliciesSetIamPolicy+      { xgafv =+          Core.Nothing,+        accessToken = Core.Nothing,+        callback = Core.Nothing,+        payload = payload,+        resource = resource,+        uploadType = Core.Nothing,+        uploadProtocol = Core.Nothing+      }++instance+  Core.GoogleRequest+    DataprocProjectsLocationsAutoscalingPoliciesSetIamPolicy+  where+  type+    Rs DataprocProjectsLocationsAutoscalingPoliciesSetIamPolicy =+      Policy+  type+    Scopes+      DataprocProjectsLocationsAutoscalingPoliciesSetIamPolicy =+      '[CloudPlatform'FullControl]+  requestClient+    DataprocProjectsLocationsAutoscalingPoliciesSetIamPolicy {..} =+      go+        resource+        xgafv+        accessToken+        callback+        uploadType+        uploadProtocol+        (Core.Just Core.AltJSON)+        payload+        dataprocService+      where+        go =+          Core.buildClient+            ( Core.Proxy ::+                Core.Proxy+                  DataprocProjectsLocationsAutoscalingPoliciesSetIamPolicyResource+            )+            Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/AutoscalingPolicies/TestIamPermissions.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.Dataproc.Projects.Locations.AutoscalingPolicies.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/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.autoscalingPolicies.testIamPermissions@.+module Gogol.Dataproc.Projects.Locations.AutoscalingPolicies.TestIamPermissions+  ( -- * Resource+    DataprocProjectsLocationsAutoscalingPoliciesTestIamPermissionsResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsAutoscalingPoliciesTestIamPermissions (..),+    newDataprocProjectsLocationsAutoscalingPoliciesTestIamPermissions,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.autoscalingPolicies.testIamPermissions@ method which the+-- 'DataprocProjectsLocationsAutoscalingPoliciesTestIamPermissions' request conforms to.+type DataprocProjectsLocationsAutoscalingPoliciesTestIamPermissionsResource =+  "v1"+    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:/ 'newDataprocProjectsLocationsAutoscalingPoliciesTestIamPermissions' smart constructor.+data DataprocProjectsLocationsAutoscalingPoliciesTestIamPermissions = DataprocProjectsLocationsAutoscalingPoliciesTestIamPermissions+  { -- | 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 Resource names (https:\/\/cloud.google.com\/apis\/design\/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 'DataprocProjectsLocationsAutoscalingPoliciesTestIamPermissions' with the minimum fields required to make a request.+newDataprocProjectsLocationsAutoscalingPoliciesTestIamPermissions ::+  -- |  Multipart request metadata. See 'payload'.+  TestIamPermissionsRequest ->+  -- |  REQUIRED: The resource for which the policy detail is being requested. See Resource names (https:\/\/cloud.google.com\/apis\/design\/resource_names) for the appropriate value for this field. See 'resource'.+  Core.Text ->+  DataprocProjectsLocationsAutoscalingPoliciesTestIamPermissions+newDataprocProjectsLocationsAutoscalingPoliciesTestIamPermissions+  payload+  resource =+    DataprocProjectsLocationsAutoscalingPoliciesTestIamPermissions+      { xgafv =+          Core.Nothing,+        accessToken = Core.Nothing,+        callback = Core.Nothing,+        payload = payload,+        resource = resource,+        uploadType = Core.Nothing,+        uploadProtocol = Core.Nothing+      }++instance+  Core.GoogleRequest+    DataprocProjectsLocationsAutoscalingPoliciesTestIamPermissions+  where+  type+    Rs+      DataprocProjectsLocationsAutoscalingPoliciesTestIamPermissions =+      TestIamPermissionsResponse+  type+    Scopes+      DataprocProjectsLocationsAutoscalingPoliciesTestIamPermissions =+      '[CloudPlatform'FullControl]+  requestClient+    DataprocProjectsLocationsAutoscalingPoliciesTestIamPermissions {..} =+      go+        resource+        xgafv+        accessToken+        callback+        uploadType+        uploadProtocol+        (Core.Just Core.AltJSON)+        payload+        dataprocService+      where+        go =+          Core.buildClient+            ( Core.Proxy ::+                Core.Proxy+                  DataprocProjectsLocationsAutoscalingPoliciesTestIamPermissionsResource+            )+            Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/AutoscalingPolicies/Update.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.Dataproc.Projects.Locations.AutoscalingPolicies.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 (replaces) autoscaling policy.Disabled check for update_mask, because all updates will be full replacements.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.autoscalingPolicies.update@.+module Gogol.Dataproc.Projects.Locations.AutoscalingPolicies.Update+  ( -- * Resource+    DataprocProjectsLocationsAutoscalingPoliciesUpdateResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsAutoscalingPoliciesUpdate (..),+    newDataprocProjectsLocationsAutoscalingPoliciesUpdate,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.autoscalingPolicies.update@ method which the+-- 'DataprocProjectsLocationsAutoscalingPoliciesUpdate' request conforms to.+type DataprocProjectsLocationsAutoscalingPoliciesUpdateResource =+  "v1"+    Core.:> Core.Capture "name" 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] AutoscalingPolicy+    Core.:> Core.Put '[Core.JSON] AutoscalingPolicy++-- | Updates (replaces) autoscaling policy.Disabled check for update_mask, because all updates will be full replacements.+--+-- /See:/ 'newDataprocProjectsLocationsAutoscalingPoliciesUpdate' smart constructor.+data DataprocProjectsLocationsAutoscalingPoliciesUpdate = DataprocProjectsLocationsAutoscalingPoliciesUpdate+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Output only. The \"resource name\" of the autoscaling policy, as described in https:\/\/cloud.google.com\/apis\/design\/resource/names. For projects.regions.autoscalingPolicies, the resource name of the policy has the following format: projects\/{project/id}\/regions\/{region}\/autoscalingPolicies\/{policy/id} For projects.locations.autoscalingPolicies, the resource name of the policy has the following format: projects\/{project/id}\/locations\/{location}\/autoscalingPolicies\/{policy_id}+    name :: Core.Text,+    -- | Multipart request metadata.+    payload :: AutoscalingPolicy,+    -- | 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 'DataprocProjectsLocationsAutoscalingPoliciesUpdate' with the minimum fields required to make a request.+newDataprocProjectsLocationsAutoscalingPoliciesUpdate ::+  -- |  Output only. The \"resource name\" of the autoscaling policy, as described in https:\/\/cloud.google.com\/apis\/design\/resource/names. For projects.regions.autoscalingPolicies, the resource name of the policy has the following format: projects\/{project/id}\/regions\/{region}\/autoscalingPolicies\/{policy/id} For projects.locations.autoscalingPolicies, the resource name of the policy has the following format: projects\/{project/id}\/locations\/{location}\/autoscalingPolicies\/{policy_id} See 'name'.+  Core.Text ->+  -- |  Multipart request metadata. See 'payload'.+  AutoscalingPolicy ->+  DataprocProjectsLocationsAutoscalingPoliciesUpdate+newDataprocProjectsLocationsAutoscalingPoliciesUpdate name payload =+  DataprocProjectsLocationsAutoscalingPoliciesUpdate+    { xgafv =+        Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      name = name,+      payload = payload,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance+  Core.GoogleRequest+    DataprocProjectsLocationsAutoscalingPoliciesUpdate+  where+  type+    Rs DataprocProjectsLocationsAutoscalingPoliciesUpdate =+      AutoscalingPolicy+  type+    Scopes DataprocProjectsLocationsAutoscalingPoliciesUpdate =+      '[CloudPlatform'FullControl]+  requestClient+    DataprocProjectsLocationsAutoscalingPoliciesUpdate {..} =+      go+        name+        xgafv+        accessToken+        callback+        uploadType+        uploadProtocol+        (Core.Just Core.AltJSON)+        payload+        dataprocService+      where+        go =+          Core.buildClient+            ( Core.Proxy ::+                Core.Proxy+                  DataprocProjectsLocationsAutoscalingPoliciesUpdateResource+            )+            Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/Batches/Analyze.hs view
@@ -0,0 +1,118 @@+{-# 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.Dataproc.Projects.Locations.Batches.Analyze+-- 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)+--+-- Analyze a Batch for possible recommendations and insights.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.batches.analyze@.+module Gogol.Dataproc.Projects.Locations.Batches.Analyze+  ( -- * Resource+    DataprocProjectsLocationsBatchesAnalyzeResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsBatchesAnalyze (..),+    newDataprocProjectsLocationsBatchesAnalyze,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.batches.analyze@ method which the+-- 'DataprocProjectsLocationsBatchesAnalyze' request conforms to.+type DataprocProjectsLocationsBatchesAnalyzeResource =+  "v1"+    Core.:> Core.CaptureMode "name" "analyze" 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] AnalyzeBatchRequest+    Core.:> Core.Post '[Core.JSON] Operation++-- | Analyze a Batch for possible recommendations and insights.+--+-- /See:/ 'newDataprocProjectsLocationsBatchesAnalyze' smart constructor.+data DataprocProjectsLocationsBatchesAnalyze = DataprocProjectsLocationsBatchesAnalyze+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The fully qualified name of the batch to analyze in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/batches\/BATCH_ID\"+    name :: Core.Text,+    -- | Multipart request metadata.+    payload :: AnalyzeBatchRequest,+    -- | 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 'DataprocProjectsLocationsBatchesAnalyze' with the minimum fields required to make a request.+newDataprocProjectsLocationsBatchesAnalyze ::+  -- |  Required. The fully qualified name of the batch to analyze in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/batches\/BATCH_ID\" See 'name'.+  Core.Text ->+  -- |  Multipart request metadata. See 'payload'.+  AnalyzeBatchRequest ->+  DataprocProjectsLocationsBatchesAnalyze+newDataprocProjectsLocationsBatchesAnalyze name payload =+  DataprocProjectsLocationsBatchesAnalyze+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      name = name,+      payload = payload,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest DataprocProjectsLocationsBatchesAnalyze where+  type Rs DataprocProjectsLocationsBatchesAnalyze = Operation+  type+    Scopes DataprocProjectsLocationsBatchesAnalyze =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsLocationsBatchesAnalyze {..} =+    go+      name+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      payload+      dataprocService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy DataprocProjectsLocationsBatchesAnalyzeResource+          )+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/Batches/Create.hs view
@@ -0,0 +1,129 @@+{-# 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.Dataproc.Projects.Locations.Batches.Create+-- 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 batch workload that executes asynchronously.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.batches.create@.+module Gogol.Dataproc.Projects.Locations.Batches.Create+  ( -- * Resource+    DataprocProjectsLocationsBatchesCreateResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsBatchesCreate (..),+    newDataprocProjectsLocationsBatchesCreate,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.batches.create@ method which the+-- 'DataprocProjectsLocationsBatchesCreate' request conforms to.+type DataprocProjectsLocationsBatchesCreateResource =+  "v1"+    Core.:> Core.Capture "parent" Core.Text+    Core.:> "batches"+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "batchId" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "requestId" 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] Batch+    Core.:> Core.Post '[Core.JSON] Operation++-- | Creates a batch workload that executes asynchronously.+--+-- /See:/ 'newDataprocProjectsLocationsBatchesCreate' smart constructor.+data DataprocProjectsLocationsBatchesCreate = DataprocProjectsLocationsBatchesCreate+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | Optional. The ID to use for the batch, which will become the final component of the batch\'s resource name.This value must be 4-63 characters. Valid characters are \/[a-z][0-9]-\/.+    batchId :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The parent resource where this batch will be created.+    parent :: Core.Text,+    -- | Multipart request metadata.+    payload :: Batch,+    -- | Optional. A unique ID used to identify the request. If the service receives two CreateBatchRequest (https:\/\/cloud.google.com\/dataproc\/docs\/reference\/rpc\/google.cloud.dataproc.v1#google.cloud.dataproc.v1.CreateBatchRequest)s with the same request/id, the second request is ignored and the Operation that corresponds to the first Batch created and stored in the backend is returned.Recommendation: Set this value to a UUID (https:\/\/en.wikipedia.org\/wiki\/Universally/unique/identifier).The value must contain only letters (a-z, A-Z), numbers (0-9), underscores (/), and hyphens (-). The maximum length is 40 characters.+    requestId :: (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 'DataprocProjectsLocationsBatchesCreate' with the minimum fields required to make a request.+newDataprocProjectsLocationsBatchesCreate ::+  -- |  Required. The parent resource where this batch will be created. See 'parent'.+  Core.Text ->+  -- |  Multipart request metadata. See 'payload'.+  Batch ->+  DataprocProjectsLocationsBatchesCreate+newDataprocProjectsLocationsBatchesCreate parent payload =+  DataprocProjectsLocationsBatchesCreate+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      batchId = Core.Nothing,+      callback = Core.Nothing,+      parent = parent,+      payload = payload,+      requestId = Core.Nothing,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest DataprocProjectsLocationsBatchesCreate where+  type Rs DataprocProjectsLocationsBatchesCreate = Operation+  type+    Scopes DataprocProjectsLocationsBatchesCreate =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsLocationsBatchesCreate {..} =+    go+      parent+      xgafv+      accessToken+      batchId+      callback+      requestId+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      payload+      dataprocService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy DataprocProjectsLocationsBatchesCreateResource+          )+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/Batches/Delete.hs view
@@ -0,0 +1,111 @@+{-# 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.Dataproc.Projects.Locations.Batches.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 batch workload resource. If the batch is not in a CANCELLED, SUCCEEDED or FAILED State, the delete operation fails and the response returns FAILED_PRECONDITION.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.batches.delete@.+module Gogol.Dataproc.Projects.Locations.Batches.Delete+  ( -- * Resource+    DataprocProjectsLocationsBatchesDeleteResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsBatchesDelete (..),+    newDataprocProjectsLocationsBatchesDelete,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.batches.delete@ method which the+-- 'DataprocProjectsLocationsBatchesDelete' request conforms to.+type DataprocProjectsLocationsBatchesDeleteResource =+  "v1"+    Core.:> Core.Capture "name" 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] Empty++-- | Deletes the batch workload resource. If the batch is not in a CANCELLED, SUCCEEDED or FAILED State, the delete operation fails and the response returns FAILED_PRECONDITION.+--+-- /See:/ 'newDataprocProjectsLocationsBatchesDelete' smart constructor.+data DataprocProjectsLocationsBatchesDelete = DataprocProjectsLocationsBatchesDelete+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The fully qualified name of the batch to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/batches\/BATCH_ID\"+    name :: 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 'DataprocProjectsLocationsBatchesDelete' with the minimum fields required to make a request.+newDataprocProjectsLocationsBatchesDelete ::+  -- |  Required. The fully qualified name of the batch to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/batches\/BATCH_ID\" See 'name'.+  Core.Text ->+  DataprocProjectsLocationsBatchesDelete+newDataprocProjectsLocationsBatchesDelete name =+  DataprocProjectsLocationsBatchesDelete+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      name = name,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest DataprocProjectsLocationsBatchesDelete where+  type Rs DataprocProjectsLocationsBatchesDelete = Empty+  type+    Scopes DataprocProjectsLocationsBatchesDelete =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsLocationsBatchesDelete {..} =+    go+      name+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      dataprocService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy DataprocProjectsLocationsBatchesDeleteResource+          )+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/Batches/Get.hs view
@@ -0,0 +1,111 @@+{-# 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.Dataproc.Projects.Locations.Batches.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 batch workload resource representation.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.batches.get@.+module Gogol.Dataproc.Projects.Locations.Batches.Get+  ( -- * Resource+    DataprocProjectsLocationsBatchesGetResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsBatchesGet (..),+    newDataprocProjectsLocationsBatchesGet,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.batches.get@ method which the+-- 'DataprocProjectsLocationsBatchesGet' request conforms to.+type DataprocProjectsLocationsBatchesGetResource =+  "v1"+    Core.:> Core.Capture "name" 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] Batch++-- | Gets the batch workload resource representation.+--+-- /See:/ 'newDataprocProjectsLocationsBatchesGet' smart constructor.+data DataprocProjectsLocationsBatchesGet = DataprocProjectsLocationsBatchesGet+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The fully qualified name of the batch to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/batches\/BATCH_ID\"+    name :: 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 'DataprocProjectsLocationsBatchesGet' with the minimum fields required to make a request.+newDataprocProjectsLocationsBatchesGet ::+  -- |  Required. The fully qualified name of the batch to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/batches\/BATCH_ID\" See 'name'.+  Core.Text ->+  DataprocProjectsLocationsBatchesGet+newDataprocProjectsLocationsBatchesGet name =+  DataprocProjectsLocationsBatchesGet+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      name = name,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest DataprocProjectsLocationsBatchesGet where+  type Rs DataprocProjectsLocationsBatchesGet = Batch+  type+    Scopes DataprocProjectsLocationsBatchesGet =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsLocationsBatchesGet {..} =+    go+      name+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      dataprocService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy DataprocProjectsLocationsBatchesGetResource+          )+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/Batches/List.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.Dataproc.Projects.Locations.Batches.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 batch workloads.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.batches.list@.+module Gogol.Dataproc.Projects.Locations.Batches.List+  ( -- * Resource+    DataprocProjectsLocationsBatchesListResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsBatchesList (..),+    newDataprocProjectsLocationsBatchesList,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.batches.list@ method which the+-- 'DataprocProjectsLocationsBatchesList' request conforms to.+type DataprocProjectsLocationsBatchesListResource =+  "v1"+    Core.:> Core.Capture "parent" Core.Text+    Core.:> "batches"+    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 "orderBy" 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] ListBatchesResponse++-- | Lists batch workloads.+--+-- /See:/ 'newDataprocProjectsLocationsBatchesList' smart constructor.+data DataprocProjectsLocationsBatchesList = DataprocProjectsLocationsBatchesList+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Optional. A filter for the batches to return in the response.A filter is a logical expression constraining the values of various fields in each batch resource. Filters are case sensitive, and may contain multiple clauses combined with logical operators (AND\/OR). Supported fields are batch/id, batch/uuid, state, create/time, and labels.e.g. state = RUNNING and create/time \< \"2023-01-01T00:00:00Z\" filters for batches in state RUNNING that were created before 2023-01-01. state = RUNNING and labels.environment=production filters for batches in state in a RUNNING state that have a production environment label.See https:\/\/google.aip.dev\/assets\/misc\/ebnf-filtering.txt for a detailed description of the filter syntax and a list of supported comparisons.+    filter :: (Core.Maybe Core.Text),+    -- | Optional. Field(s) on which to sort the list of batches.Currently the only supported sort orders are unspecified (empty) and create_time desc to sort by most recently created batches first.See https:\/\/google.aip.dev\/132#ordering for more details.+    orderBy :: (Core.Maybe Core.Text),+    -- | Optional. The maximum number of batches to return in each response. The service may return fewer than this value. The default page size is 20; the maximum page size is 1000.+    pageSize :: (Core.Maybe Core.Int32),+    -- | Optional. A page token received from a previous ListBatches call. Provide this token to retrieve the subsequent page.+    pageToken :: (Core.Maybe Core.Text),+    -- | Required. The parent, which owns this collection of batches.+    parent :: 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 'DataprocProjectsLocationsBatchesList' with the minimum fields required to make a request.+newDataprocProjectsLocationsBatchesList ::+  -- |  Required. The parent, which owns this collection of batches. See 'parent'.+  Core.Text ->+  DataprocProjectsLocationsBatchesList+newDataprocProjectsLocationsBatchesList parent =+  DataprocProjectsLocationsBatchesList+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      filter = Core.Nothing,+      orderBy = Core.Nothing,+      pageSize = Core.Nothing,+      pageToken = Core.Nothing,+      parent = parent,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest DataprocProjectsLocationsBatchesList where+  type Rs DataprocProjectsLocationsBatchesList = ListBatchesResponse+  type+    Scopes DataprocProjectsLocationsBatchesList =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsLocationsBatchesList {..} =+    go+      parent+      xgafv+      accessToken+      callback+      filter+      orderBy+      pageSize+      pageToken+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      dataprocService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy DataprocProjectsLocationsBatchesListResource+          )+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/Batches/SparkApplications/Access.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.Dataproc.Projects.Locations.Batches.SparkApplications.Access+-- 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)+--+-- Obtain high level information corresponding to a single Spark Application.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.batches.sparkApplications.access@.+module Gogol.Dataproc.Projects.Locations.Batches.SparkApplications.Access+  ( -- * Resource+    DataprocProjectsLocationsBatchesSparkApplicationsAccessResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsBatchesSparkApplicationsAccess (..),+    newDataprocProjectsLocationsBatchesSparkApplicationsAccess,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.batches.sparkApplications.access@ method which the+-- 'DataprocProjectsLocationsBatchesSparkApplicationsAccess' request conforms to.+type DataprocProjectsLocationsBatchesSparkApplicationsAccessResource =+  "v1"+    Core.:> Core.CaptureMode "name" "access" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "parent" 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] AccessSparkApplicationResponse++-- | Obtain high level information corresponding to a single Spark Application.+--+-- /See:/ 'newDataprocProjectsLocationsBatchesSparkApplicationsAccess' smart constructor.+data DataprocProjectsLocationsBatchesSparkApplicationsAccess = DataprocProjectsLocationsBatchesSparkApplicationsAccess+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The fully qualified name of the batch to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/batches\/BATCH/ID\/sparkApplications\/APPLICATION/ID\"+    name :: Core.Text,+    -- | Required. Parent (Batch) resource reference.+    parent :: (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 'DataprocProjectsLocationsBatchesSparkApplicationsAccess' with the minimum fields required to make a request.+newDataprocProjectsLocationsBatchesSparkApplicationsAccess ::+  -- |  Required. The fully qualified name of the batch to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/batches\/BATCH/ID\/sparkApplications\/APPLICATION/ID\" See 'name'.+  Core.Text ->+  DataprocProjectsLocationsBatchesSparkApplicationsAccess+newDataprocProjectsLocationsBatchesSparkApplicationsAccess name =+  DataprocProjectsLocationsBatchesSparkApplicationsAccess+    { xgafv =+        Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      name = name,+      parent = Core.Nothing,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance+  Core.GoogleRequest+    DataprocProjectsLocationsBatchesSparkApplicationsAccess+  where+  type+    Rs DataprocProjectsLocationsBatchesSparkApplicationsAccess =+      AccessSparkApplicationResponse+  type+    Scopes DataprocProjectsLocationsBatchesSparkApplicationsAccess =+      '[CloudPlatform'FullControl]+  requestClient+    DataprocProjectsLocationsBatchesSparkApplicationsAccess {..} =+      go+        name+        xgafv+        accessToken+        callback+        parent+        uploadType+        uploadProtocol+        (Core.Just Core.AltJSON)+        dataprocService+      where+        go =+          Core.buildClient+            ( Core.Proxy ::+                Core.Proxy+                  DataprocProjectsLocationsBatchesSparkApplicationsAccessResource+            )+            Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/Batches/SparkApplications/AccessEnvironmentInfo.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.Dataproc.Projects.Locations.Batches.SparkApplications.AccessEnvironmentInfo+-- 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)+--+-- Obtain environment details for a Spark Application+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.batches.sparkApplications.accessEnvironmentInfo@.+module Gogol.Dataproc.Projects.Locations.Batches.SparkApplications.AccessEnvironmentInfo+  ( -- * Resource+    DataprocProjectsLocationsBatchesSparkApplicationsAccessEnvironmentInfoResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsBatchesSparkApplicationsAccessEnvironmentInfo (..),+    newDataprocProjectsLocationsBatchesSparkApplicationsAccessEnvironmentInfo,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.batches.sparkApplications.accessEnvironmentInfo@ method which the+-- 'DataprocProjectsLocationsBatchesSparkApplicationsAccessEnvironmentInfo' request conforms to.+type DataprocProjectsLocationsBatchesSparkApplicationsAccessEnvironmentInfoResource =+  "v1"+    Core.:> Core.CaptureMode "name" "accessEnvironmentInfo" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "parent" 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] AccessSparkApplicationEnvironmentInfoResponse++-- | Obtain environment details for a Spark Application+--+-- /See:/ 'newDataprocProjectsLocationsBatchesSparkApplicationsAccessEnvironmentInfo' smart constructor.+data DataprocProjectsLocationsBatchesSparkApplicationsAccessEnvironmentInfo = DataprocProjectsLocationsBatchesSparkApplicationsAccessEnvironmentInfo+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The fully qualified name of the batch to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/batches\/BATCH/ID\/sparkApplications\/APPLICATION/ID\"+    name :: Core.Text,+    -- | Required. Parent (Batch) resource reference.+    parent :: (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 'DataprocProjectsLocationsBatchesSparkApplicationsAccessEnvironmentInfo' with the minimum fields required to make a request.+newDataprocProjectsLocationsBatchesSparkApplicationsAccessEnvironmentInfo ::+  -- |  Required. The fully qualified name of the batch to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/batches\/BATCH/ID\/sparkApplications\/APPLICATION/ID\" See 'name'.+  Core.Text ->+  DataprocProjectsLocationsBatchesSparkApplicationsAccessEnvironmentInfo+newDataprocProjectsLocationsBatchesSparkApplicationsAccessEnvironmentInfo+  name =+    DataprocProjectsLocationsBatchesSparkApplicationsAccessEnvironmentInfo+      { xgafv =+          Core.Nothing,+        accessToken =+          Core.Nothing,+        callback = Core.Nothing,+        name = name,+        parent = Core.Nothing,+        uploadType =+          Core.Nothing,+        uploadProtocol =+          Core.Nothing+      }++instance+  Core.GoogleRequest+    DataprocProjectsLocationsBatchesSparkApplicationsAccessEnvironmentInfo+  where+  type+    Rs+      DataprocProjectsLocationsBatchesSparkApplicationsAccessEnvironmentInfo =+      AccessSparkApplicationEnvironmentInfoResponse+  type+    Scopes+      DataprocProjectsLocationsBatchesSparkApplicationsAccessEnvironmentInfo =+      '[CloudPlatform'FullControl]+  requestClient+    DataprocProjectsLocationsBatchesSparkApplicationsAccessEnvironmentInfo {..} =+      go+        name+        xgafv+        accessToken+        callback+        parent+        uploadType+        uploadProtocol+        (Core.Just Core.AltJSON)+        dataprocService+      where+        go =+          Core.buildClient+            ( Core.Proxy ::+                Core.Proxy+                  DataprocProjectsLocationsBatchesSparkApplicationsAccessEnvironmentInfoResource+            )+            Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/Batches/SparkApplications/AccessJob.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.Dataproc.Projects.Locations.Batches.SparkApplications.AccessJob+-- 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)+--+-- Obtain data corresponding to a spark job for a Spark Application.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.batches.sparkApplications.accessJob@.+module Gogol.Dataproc.Projects.Locations.Batches.SparkApplications.AccessJob+  ( -- * Resource+    DataprocProjectsLocationsBatchesSparkApplicationsAccessJobResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsBatchesSparkApplicationsAccessJob (..),+    newDataprocProjectsLocationsBatchesSparkApplicationsAccessJob,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.batches.sparkApplications.accessJob@ method which the+-- 'DataprocProjectsLocationsBatchesSparkApplicationsAccessJob' request conforms to.+type DataprocProjectsLocationsBatchesSparkApplicationsAccessJobResource =+  "v1"+    Core.:> Core.CaptureMode "name" "accessJob" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "jobId" Core.Int64+    Core.:> Core.QueryParam "parent" 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] AccessSparkApplicationJobResponse++-- | Obtain data corresponding to a spark job for a Spark Application.+--+-- /See:/ 'newDataprocProjectsLocationsBatchesSparkApplicationsAccessJob' smart constructor.+data DataprocProjectsLocationsBatchesSparkApplicationsAccessJob = DataprocProjectsLocationsBatchesSparkApplicationsAccessJob+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. Job ID to fetch data for.+    jobId :: (Core.Maybe Core.Int64),+    -- | Required. The fully qualified name of the batch to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/batches\/BATCH/ID\/sparkApplications\/APPLICATION/ID\"+    name :: Core.Text,+    -- | Required. Parent (Batch) resource reference.+    parent :: (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 'DataprocProjectsLocationsBatchesSparkApplicationsAccessJob' with the minimum fields required to make a request.+newDataprocProjectsLocationsBatchesSparkApplicationsAccessJob ::+  -- |  Required. The fully qualified name of the batch to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/batches\/BATCH/ID\/sparkApplications\/APPLICATION/ID\" See 'name'.+  Core.Text ->+  DataprocProjectsLocationsBatchesSparkApplicationsAccessJob+newDataprocProjectsLocationsBatchesSparkApplicationsAccessJob name =+  DataprocProjectsLocationsBatchesSparkApplicationsAccessJob+    { xgafv =+        Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      jobId = Core.Nothing,+      name = name,+      parent = Core.Nothing,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance+  Core.GoogleRequest+    DataprocProjectsLocationsBatchesSparkApplicationsAccessJob+  where+  type+    Rs DataprocProjectsLocationsBatchesSparkApplicationsAccessJob =+      AccessSparkApplicationJobResponse+  type+    Scopes+      DataprocProjectsLocationsBatchesSparkApplicationsAccessJob =+      '[CloudPlatform'FullControl]+  requestClient+    DataprocProjectsLocationsBatchesSparkApplicationsAccessJob {..} =+      go+        name+        xgafv+        accessToken+        callback+        jobId+        parent+        uploadType+        uploadProtocol+        (Core.Just Core.AltJSON)+        dataprocService+      where+        go =+          Core.buildClient+            ( Core.Proxy ::+                Core.Proxy+                  DataprocProjectsLocationsBatchesSparkApplicationsAccessJobResource+            )+            Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/Batches/SparkApplications/AccessSqlPlan.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.Dataproc.Projects.Locations.Batches.SparkApplications.AccessSqlPlan+-- 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)+--+-- Obtain Spark Plan Graph for a Spark Application SQL execution. Limits the number of clusters returned as part of the graph to 10000.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.batches.sparkApplications.accessSqlPlan@.+module Gogol.Dataproc.Projects.Locations.Batches.SparkApplications.AccessSqlPlan+  ( -- * Resource+    DataprocProjectsLocationsBatchesSparkApplicationsAccessSqlPlanResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsBatchesSparkApplicationsAccessSqlPlan (..),+    newDataprocProjectsLocationsBatchesSparkApplicationsAccessSqlPlan,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.batches.sparkApplications.accessSqlPlan@ method which the+-- 'DataprocProjectsLocationsBatchesSparkApplicationsAccessSqlPlan' request conforms to.+type DataprocProjectsLocationsBatchesSparkApplicationsAccessSqlPlanResource =+  "v1"+    Core.:> Core.CaptureMode "name" "accessSqlPlan" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "executionId" Core.Int64+    Core.:> Core.QueryParam "parent" 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]+              AccessSparkApplicationSqlSparkPlanGraphResponse++-- | Obtain Spark Plan Graph for a Spark Application SQL execution. Limits the number of clusters returned as part of the graph to 10000.+--+-- /See:/ 'newDataprocProjectsLocationsBatchesSparkApplicationsAccessSqlPlan' smart constructor.+data DataprocProjectsLocationsBatchesSparkApplicationsAccessSqlPlan = DataprocProjectsLocationsBatchesSparkApplicationsAccessSqlPlan+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. Execution ID+    executionId :: (Core.Maybe Core.Int64),+    -- | Required. The fully qualified name of the batch to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/batches\/BATCH/ID\/sparkApplications\/APPLICATION/ID\"+    name :: Core.Text,+    -- | Required. Parent (Batch) resource reference.+    parent :: (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 'DataprocProjectsLocationsBatchesSparkApplicationsAccessSqlPlan' with the minimum fields required to make a request.+newDataprocProjectsLocationsBatchesSparkApplicationsAccessSqlPlan ::+  -- |  Required. The fully qualified name of the batch to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/batches\/BATCH/ID\/sparkApplications\/APPLICATION/ID\" See 'name'.+  Core.Text ->+  DataprocProjectsLocationsBatchesSparkApplicationsAccessSqlPlan+newDataprocProjectsLocationsBatchesSparkApplicationsAccessSqlPlan+  name =+    DataprocProjectsLocationsBatchesSparkApplicationsAccessSqlPlan+      { xgafv =+          Core.Nothing,+        accessToken = Core.Nothing,+        callback = Core.Nothing,+        executionId = Core.Nothing,+        name = name,+        parent = Core.Nothing,+        uploadType = Core.Nothing,+        uploadProtocol = Core.Nothing+      }++instance+  Core.GoogleRequest+    DataprocProjectsLocationsBatchesSparkApplicationsAccessSqlPlan+  where+  type+    Rs+      DataprocProjectsLocationsBatchesSparkApplicationsAccessSqlPlan =+      AccessSparkApplicationSqlSparkPlanGraphResponse+  type+    Scopes+      DataprocProjectsLocationsBatchesSparkApplicationsAccessSqlPlan =+      '[CloudPlatform'FullControl]+  requestClient+    DataprocProjectsLocationsBatchesSparkApplicationsAccessSqlPlan {..} =+      go+        name+        xgafv+        accessToken+        callback+        executionId+        parent+        uploadType+        uploadProtocol+        (Core.Just Core.AltJSON)+        dataprocService+      where+        go =+          Core.buildClient+            ( Core.Proxy ::+                Core.Proxy+                  DataprocProjectsLocationsBatchesSparkApplicationsAccessSqlPlanResource+            )+            Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/Batches/SparkApplications/AccessSqlQuery.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.Dataproc.Projects.Locations.Batches.SparkApplications.AccessSqlQuery+-- 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)+--+-- Obtain data corresponding to a particular SQL Query for a Spark Application.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.batches.sparkApplications.accessSqlQuery@.+module Gogol.Dataproc.Projects.Locations.Batches.SparkApplications.AccessSqlQuery+  ( -- * Resource+    DataprocProjectsLocationsBatchesSparkApplicationsAccessSqlQueryResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsBatchesSparkApplicationsAccessSqlQuery (..),+    newDataprocProjectsLocationsBatchesSparkApplicationsAccessSqlQuery,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.batches.sparkApplications.accessSqlQuery@ method which the+-- 'DataprocProjectsLocationsBatchesSparkApplicationsAccessSqlQuery' request conforms to.+type DataprocProjectsLocationsBatchesSparkApplicationsAccessSqlQueryResource =+  "v1"+    Core.:> Core.CaptureMode "name" "accessSqlQuery" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "details" Core.Bool+    Core.:> Core.QueryParam "executionId" Core.Int64+    Core.:> Core.QueryParam "parent" Core.Text+    Core.:> Core.QueryParam "planDescription" Core.Bool+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Get '[Core.JSON] AccessSparkApplicationSqlQueryResponse++-- | Obtain data corresponding to a particular SQL Query for a Spark Application.+--+-- /See:/ 'newDataprocProjectsLocationsBatchesSparkApplicationsAccessSqlQuery' smart constructor.+data DataprocProjectsLocationsBatchesSparkApplicationsAccessSqlQuery = DataprocProjectsLocationsBatchesSparkApplicationsAccessSqlQuery+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Optional. Lists\/ hides details of Spark plan nodes. True is set to list and false to hide.+    details :: (Core.Maybe Core.Bool),+    -- | Required. Execution ID+    executionId :: (Core.Maybe Core.Int64),+    -- | Required. The fully qualified name of the batch to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/batches\/BATCH/ID\/sparkApplications\/APPLICATION/ID\"+    name :: Core.Text,+    -- | Required. Parent (Batch) resource reference.+    parent :: (Core.Maybe Core.Text),+    -- | Optional. Enables\/ disables physical plan description on demand+    planDescription :: (Core.Maybe Core.Bool),+    -- | 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 'DataprocProjectsLocationsBatchesSparkApplicationsAccessSqlQuery' with the minimum fields required to make a request.+newDataprocProjectsLocationsBatchesSparkApplicationsAccessSqlQuery ::+  -- |  Required. The fully qualified name of the batch to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/batches\/BATCH/ID\/sparkApplications\/APPLICATION/ID\" See 'name'.+  Core.Text ->+  DataprocProjectsLocationsBatchesSparkApplicationsAccessSqlQuery+newDataprocProjectsLocationsBatchesSparkApplicationsAccessSqlQuery+  name =+    DataprocProjectsLocationsBatchesSparkApplicationsAccessSqlQuery+      { xgafv =+          Core.Nothing,+        accessToken = Core.Nothing,+        callback = Core.Nothing,+        details = Core.Nothing,+        executionId = Core.Nothing,+        name = name,+        parent = Core.Nothing,+        planDescription = Core.Nothing,+        uploadType = Core.Nothing,+        uploadProtocol = Core.Nothing+      }++instance+  Core.GoogleRequest+    DataprocProjectsLocationsBatchesSparkApplicationsAccessSqlQuery+  where+  type+    Rs+      DataprocProjectsLocationsBatchesSparkApplicationsAccessSqlQuery =+      AccessSparkApplicationSqlQueryResponse+  type+    Scopes+      DataprocProjectsLocationsBatchesSparkApplicationsAccessSqlQuery =+      '[CloudPlatform'FullControl]+  requestClient+    DataprocProjectsLocationsBatchesSparkApplicationsAccessSqlQuery {..} =+      go+        name+        xgafv+        accessToken+        callback+        details+        executionId+        parent+        planDescription+        uploadType+        uploadProtocol+        (Core.Just Core.AltJSON)+        dataprocService+      where+        go =+          Core.buildClient+            ( Core.Proxy ::+                Core.Proxy+                  DataprocProjectsLocationsBatchesSparkApplicationsAccessSqlQueryResource+            )+            Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/Batches/SparkApplications/AccessStageAttempt.hs view
@@ -0,0 +1,145 @@+{-# 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.Dataproc.Projects.Locations.Batches.SparkApplications.AccessStageAttempt+-- 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)+--+-- Obtain data corresponding to a spark stage attempt for a Spark Application.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.batches.sparkApplications.accessStageAttempt@.+module Gogol.Dataproc.Projects.Locations.Batches.SparkApplications.AccessStageAttempt+  ( -- * Resource+    DataprocProjectsLocationsBatchesSparkApplicationsAccessStageAttemptResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsBatchesSparkApplicationsAccessStageAttempt (..),+    newDataprocProjectsLocationsBatchesSparkApplicationsAccessStageAttempt,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.batches.sparkApplications.accessStageAttempt@ method which the+-- 'DataprocProjectsLocationsBatchesSparkApplicationsAccessStageAttempt' request conforms to.+type DataprocProjectsLocationsBatchesSparkApplicationsAccessStageAttemptResource =+  "v1"+    Core.:> Core.CaptureMode "name" "accessStageAttempt" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "parent" Core.Text+    Core.:> Core.QueryParam "stageAttemptId" Core.Int32+    Core.:> Core.QueryParam "stageId" Core.Int64+    Core.:> Core.QueryParam "summaryMetricsMask" 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] AccessSparkApplicationStageAttemptResponse++-- | Obtain data corresponding to a spark stage attempt for a Spark Application.+--+-- /See:/ 'newDataprocProjectsLocationsBatchesSparkApplicationsAccessStageAttempt' smart constructor.+data DataprocProjectsLocationsBatchesSparkApplicationsAccessStageAttempt = DataprocProjectsLocationsBatchesSparkApplicationsAccessStageAttempt+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The fully qualified name of the batch to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/batches\/BATCH/ID\/sparkApplications\/APPLICATION/ID\"+    name :: Core.Text,+    -- | Required. Parent (Batch) resource reference.+    parent :: (Core.Maybe Core.Text),+    -- | Required. Stage Attempt ID+    stageAttemptId :: (Core.Maybe Core.Int32),+    -- | Required. Stage ID+    stageId :: (Core.Maybe Core.Int64),+    -- | Optional. The list of summary metrics fields to include. Empty list will default to skip all summary metrics fields. Example, if the response should include TaskQuantileMetrics, the request should have task/quantile/metrics in summary/metrics/mask field+    summaryMetricsMask :: (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 'DataprocProjectsLocationsBatchesSparkApplicationsAccessStageAttempt' with the minimum fields required to make a request.+newDataprocProjectsLocationsBatchesSparkApplicationsAccessStageAttempt ::+  -- |  Required. The fully qualified name of the batch to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/batches\/BATCH/ID\/sparkApplications\/APPLICATION/ID\" See 'name'.+  Core.Text ->+  DataprocProjectsLocationsBatchesSparkApplicationsAccessStageAttempt+newDataprocProjectsLocationsBatchesSparkApplicationsAccessStageAttempt+  name =+    DataprocProjectsLocationsBatchesSparkApplicationsAccessStageAttempt+      { xgafv =+          Core.Nothing,+        accessToken = Core.Nothing,+        callback = Core.Nothing,+        name = name,+        parent = Core.Nothing,+        stageAttemptId =+          Core.Nothing,+        stageId = Core.Nothing,+        summaryMetricsMask =+          Core.Nothing,+        uploadType = Core.Nothing,+        uploadProtocol =+          Core.Nothing+      }++instance+  Core.GoogleRequest+    DataprocProjectsLocationsBatchesSparkApplicationsAccessStageAttempt+  where+  type+    Rs+      DataprocProjectsLocationsBatchesSparkApplicationsAccessStageAttempt =+      AccessSparkApplicationStageAttemptResponse+  type+    Scopes+      DataprocProjectsLocationsBatchesSparkApplicationsAccessStageAttempt =+      '[CloudPlatform'FullControl]+  requestClient+    DataprocProjectsLocationsBatchesSparkApplicationsAccessStageAttempt {..} =+      go+        name+        xgafv+        accessToken+        callback+        parent+        stageAttemptId+        stageId+        summaryMetricsMask+        uploadType+        uploadProtocol+        (Core.Just Core.AltJSON)+        dataprocService+      where+        go =+          Core.buildClient+            ( Core.Proxy ::+                Core.Proxy+                  DataprocProjectsLocationsBatchesSparkApplicationsAccessStageAttemptResource+            )+            Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/Batches/SparkApplications/AccessStageRddGraph.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.Dataproc.Projects.Locations.Batches.SparkApplications.AccessStageRddGraph+-- 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)+--+-- Obtain RDD operation graph for a Spark Application Stage. Limits the number of clusters returned as part of the graph to 10000.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.batches.sparkApplications.accessStageRddGraph@.+module Gogol.Dataproc.Projects.Locations.Batches.SparkApplications.AccessStageRddGraph+  ( -- * Resource+    DataprocProjectsLocationsBatchesSparkApplicationsAccessStageRddGraphResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsBatchesSparkApplicationsAccessStageRddGraph (..),+    newDataprocProjectsLocationsBatchesSparkApplicationsAccessStageRddGraph,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.batches.sparkApplications.accessStageRddGraph@ method which the+-- 'DataprocProjectsLocationsBatchesSparkApplicationsAccessStageRddGraph' request conforms to.+type DataprocProjectsLocationsBatchesSparkApplicationsAccessStageRddGraphResource =+  "v1"+    Core.:> Core.CaptureMode "name" "accessStageRddGraph" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "parent" Core.Text+    Core.:> Core.QueryParam "stageId" Core.Int64+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Get+              '[Core.JSON]+              AccessSparkApplicationStageRddOperationGraphResponse++-- | Obtain RDD operation graph for a Spark Application Stage. Limits the number of clusters returned as part of the graph to 10000.+--+-- /See:/ 'newDataprocProjectsLocationsBatchesSparkApplicationsAccessStageRddGraph' smart constructor.+data DataprocProjectsLocationsBatchesSparkApplicationsAccessStageRddGraph = DataprocProjectsLocationsBatchesSparkApplicationsAccessStageRddGraph+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The fully qualified name of the batch to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/batches\/BATCH/ID\/sparkApplications\/APPLICATION/ID\"+    name :: Core.Text,+    -- | Required. Parent (Batch) resource reference.+    parent :: (Core.Maybe Core.Text),+    -- | Required. Stage ID+    stageId :: (Core.Maybe Core.Int64),+    -- | 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 'DataprocProjectsLocationsBatchesSparkApplicationsAccessStageRddGraph' with the minimum fields required to make a request.+newDataprocProjectsLocationsBatchesSparkApplicationsAccessStageRddGraph ::+  -- |  Required. The fully qualified name of the batch to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/batches\/BATCH/ID\/sparkApplications\/APPLICATION/ID\" See 'name'.+  Core.Text ->+  DataprocProjectsLocationsBatchesSparkApplicationsAccessStageRddGraph+newDataprocProjectsLocationsBatchesSparkApplicationsAccessStageRddGraph+  name =+    DataprocProjectsLocationsBatchesSparkApplicationsAccessStageRddGraph+      { xgafv =+          Core.Nothing,+        accessToken = Core.Nothing,+        callback = Core.Nothing,+        name = name,+        parent = Core.Nothing,+        stageId = Core.Nothing,+        uploadType = Core.Nothing,+        uploadProtocol =+          Core.Nothing+      }++instance+  Core.GoogleRequest+    DataprocProjectsLocationsBatchesSparkApplicationsAccessStageRddGraph+  where+  type+    Rs+      DataprocProjectsLocationsBatchesSparkApplicationsAccessStageRddGraph =+      AccessSparkApplicationStageRddOperationGraphResponse+  type+    Scopes+      DataprocProjectsLocationsBatchesSparkApplicationsAccessStageRddGraph =+      '[CloudPlatform'FullControl]+  requestClient+    DataprocProjectsLocationsBatchesSparkApplicationsAccessStageRddGraph {..} =+      go+        name+        xgafv+        accessToken+        callback+        parent+        stageId+        uploadType+        uploadProtocol+        (Core.Just Core.AltJSON)+        dataprocService+      where+        go =+          Core.buildClient+            ( Core.Proxy ::+                Core.Proxy+                  DataprocProjectsLocationsBatchesSparkApplicationsAccessStageRddGraphResource+            )+            Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/Batches/SparkApplications/Search.hs view
@@ -0,0 +1,160 @@+{-# 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.Dataproc.Projects.Locations.Batches.SparkApplications.Search+-- 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)+--+-- Obtain high level information and list of Spark Applications corresponding to a batch+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.batches.sparkApplications.search@.+module Gogol.Dataproc.Projects.Locations.Batches.SparkApplications.Search+  ( -- * Resource+    DataprocProjectsLocationsBatchesSparkApplicationsSearchResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsBatchesSparkApplicationsSearch (..),+    newDataprocProjectsLocationsBatchesSparkApplicationsSearch,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.batches.sparkApplications.search@ method which the+-- 'DataprocProjectsLocationsBatchesSparkApplicationsSearch' request conforms to.+type DataprocProjectsLocationsBatchesSparkApplicationsSearchResource =+  "v1"+    Core.:> Core.Capture "parent" Core.Text+    Core.:> "sparkApplications:search"+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam+              "applicationStatus"+              ProjectsLocationsBatchesSparkApplicationsSearchApplicationStatus+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "maxEndTime" Core.DateTime+    Core.:> Core.QueryParam "maxTime" Core.DateTime+    Core.:> Core.QueryParam "minEndTime" Core.DateTime+    Core.:> Core.QueryParam "minTime" Core.DateTime+    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] SearchSparkApplicationsResponse++-- | Obtain high level information and list of Spark Applications corresponding to a batch+--+-- /See:/ 'newDataprocProjectsLocationsBatchesSparkApplicationsSearch' smart constructor.+data DataprocProjectsLocationsBatchesSparkApplicationsSearch = DataprocProjectsLocationsBatchesSparkApplicationsSearch+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | Optional. Search only applications in the chosen state.+    applicationStatus ::+      ( Core.Maybe+          ProjectsLocationsBatchesSparkApplicationsSearchApplicationStatus+      ),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Optional. Latest end timestamp to list.+    maxEndTime :: (Core.Maybe Core.DateTime),+    -- | Optional. Latest start timestamp to list.+    maxTime :: (Core.Maybe Core.DateTime),+    -- | Optional. Earliest end timestamp to list.+    minEndTime :: (Core.Maybe Core.DateTime),+    -- | Optional. Earliest start timestamp to list.+    minTime :: (Core.Maybe Core.DateTime),+    -- | Optional. Maximum number of applications to return in each response. The service may return fewer than this. The default page size is 10; the maximum page size is 100.+    pageSize :: (Core.Maybe Core.Int32),+    -- | Optional. A page token received from a previous SearchSparkApplications call. Provide this token to retrieve the subsequent page.+    pageToken :: (Core.Maybe Core.Text),+    -- | Required. The fully qualified name of the batch to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/batches\/BATCH_ID\"+    parent :: 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 'DataprocProjectsLocationsBatchesSparkApplicationsSearch' with the minimum fields required to make a request.+newDataprocProjectsLocationsBatchesSparkApplicationsSearch ::+  -- |  Required. The fully qualified name of the batch to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/batches\/BATCH_ID\" See 'parent'.+  Core.Text ->+  DataprocProjectsLocationsBatchesSparkApplicationsSearch+newDataprocProjectsLocationsBatchesSparkApplicationsSearch parent =+  DataprocProjectsLocationsBatchesSparkApplicationsSearch+    { xgafv =+        Core.Nothing,+      accessToken = Core.Nothing,+      applicationStatus = Core.Nothing,+      callback = Core.Nothing,+      maxEndTime = Core.Nothing,+      maxTime = Core.Nothing,+      minEndTime = Core.Nothing,+      minTime = Core.Nothing,+      pageSize = Core.Nothing,+      pageToken = Core.Nothing,+      parent = parent,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance+  Core.GoogleRequest+    DataprocProjectsLocationsBatchesSparkApplicationsSearch+  where+  type+    Rs DataprocProjectsLocationsBatchesSparkApplicationsSearch =+      SearchSparkApplicationsResponse+  type+    Scopes DataprocProjectsLocationsBatchesSparkApplicationsSearch =+      '[CloudPlatform'FullControl]+  requestClient+    DataprocProjectsLocationsBatchesSparkApplicationsSearch {..} =+      go+        parent+        xgafv+        accessToken+        applicationStatus+        callback+        maxEndTime+        maxTime+        minEndTime+        minTime+        pageSize+        pageToken+        uploadType+        uploadProtocol+        (Core.Just Core.AltJSON)+        dataprocService+      where+        go =+          Core.buildClient+            ( Core.Proxy ::+                Core.Proxy+                  DataprocProjectsLocationsBatchesSparkApplicationsSearchResource+            )+            Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/Batches/SparkApplications/SearchExecutorStageSummary.hs view
@@ -0,0 +1,158 @@+{-# 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.Dataproc.Projects.Locations.Batches.SparkApplications.SearchExecutorStageSummary+-- 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)+--+-- Obtain executor summary with respect to a spark stage attempt.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.batches.sparkApplications.searchExecutorStageSummary@.+module Gogol.Dataproc.Projects.Locations.Batches.SparkApplications.SearchExecutorStageSummary+  ( -- * Resource+    DataprocProjectsLocationsBatchesSparkApplicationsSearchExecutorStageSummaryResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsBatchesSparkApplicationsSearchExecutorStageSummary (..),+    newDataprocProjectsLocationsBatchesSparkApplicationsSearchExecutorStageSummary,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.batches.sparkApplications.searchExecutorStageSummary@ method which the+-- 'DataprocProjectsLocationsBatchesSparkApplicationsSearchExecutorStageSummary' request conforms to.+type DataprocProjectsLocationsBatchesSparkApplicationsSearchExecutorStageSummaryResource =+  "v1"+    Core.:> Core.CaptureMode "name" "searchExecutorStageSummary" Core.Text+    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 "parent" Core.Text+    Core.:> Core.QueryParam "stageAttemptId" Core.Int32+    Core.:> Core.QueryParam "stageId" Core.Int64+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Get+              '[Core.JSON]+              SearchSparkApplicationExecutorStageSummaryResponse++-- | Obtain executor summary with respect to a spark stage attempt.+--+-- /See:/ 'newDataprocProjectsLocationsBatchesSparkApplicationsSearchExecutorStageSummary' smart constructor.+data DataprocProjectsLocationsBatchesSparkApplicationsSearchExecutorStageSummary = DataprocProjectsLocationsBatchesSparkApplicationsSearchExecutorStageSummary+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The fully qualified name of the batch to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/batches\/BATCH/ID\/sparkApplications\/APPLICATION/ID\"+    name :: Core.Text,+    -- | Optional. Maximum number of executors to return in each response. The service may return fewer than this. The default page size is 10; the maximum page size is 100.+    pageSize :: (Core.Maybe Core.Int32),+    -- | Optional. A page token received from a previous AccessSparkApplicationExecutorsList call. Provide this token to retrieve the subsequent page.+    pageToken :: (Core.Maybe Core.Text),+    -- | Required. Parent (Batch) resource reference.+    parent :: (Core.Maybe Core.Text),+    -- | Required. Stage Attempt ID+    stageAttemptId :: (Core.Maybe Core.Int32),+    -- | Required. Stage ID+    stageId :: (Core.Maybe Core.Int64),+    -- | 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 'DataprocProjectsLocationsBatchesSparkApplicationsSearchExecutorStageSummary' with the minimum fields required to make a request.+newDataprocProjectsLocationsBatchesSparkApplicationsSearchExecutorStageSummary ::+  -- |  Required. The fully qualified name of the batch to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/batches\/BATCH/ID\/sparkApplications\/APPLICATION/ID\" See 'name'.+  Core.Text ->+  DataprocProjectsLocationsBatchesSparkApplicationsSearchExecutorStageSummary+newDataprocProjectsLocationsBatchesSparkApplicationsSearchExecutorStageSummary+  name =+    DataprocProjectsLocationsBatchesSparkApplicationsSearchExecutorStageSummary+      { xgafv =+          Core.Nothing,+        accessToken =+          Core.Nothing,+        callback =+          Core.Nothing,+        name = name,+        pageSize =+          Core.Nothing,+        pageToken =+          Core.Nothing,+        parent =+          Core.Nothing,+        stageAttemptId =+          Core.Nothing,+        stageId =+          Core.Nothing,+        uploadType =+          Core.Nothing,+        uploadProtocol =+          Core.Nothing+      }++instance+  Core.GoogleRequest+    DataprocProjectsLocationsBatchesSparkApplicationsSearchExecutorStageSummary+  where+  type+    Rs+      DataprocProjectsLocationsBatchesSparkApplicationsSearchExecutorStageSummary =+      SearchSparkApplicationExecutorStageSummaryResponse+  type+    Scopes+      DataprocProjectsLocationsBatchesSparkApplicationsSearchExecutorStageSummary =+      '[CloudPlatform'FullControl]+  requestClient+    DataprocProjectsLocationsBatchesSparkApplicationsSearchExecutorStageSummary {..} =+      go+        name+        xgafv+        accessToken+        callback+        pageSize+        pageToken+        parent+        stageAttemptId+        stageId+        uploadType+        uploadProtocol+        (Core.Just Core.AltJSON)+        dataprocService+      where+        go =+          Core.buildClient+            ( Core.Proxy ::+                Core.Proxy+                  DataprocProjectsLocationsBatchesSparkApplicationsSearchExecutorStageSummaryResource+            )+            Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/Batches/SparkApplications/SearchExecutors.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.Dataproc.Projects.Locations.Batches.SparkApplications.SearchExecutors+-- 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)+--+-- Obtain data corresponding to executors for a Spark Application.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.batches.sparkApplications.searchExecutors@.+module Gogol.Dataproc.Projects.Locations.Batches.SparkApplications.SearchExecutors+  ( -- * Resource+    DataprocProjectsLocationsBatchesSparkApplicationsSearchExecutorsResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsBatchesSparkApplicationsSearchExecutors (..),+    newDataprocProjectsLocationsBatchesSparkApplicationsSearchExecutors,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.batches.sparkApplications.searchExecutors@ method which the+-- 'DataprocProjectsLocationsBatchesSparkApplicationsSearchExecutors' request conforms to.+type DataprocProjectsLocationsBatchesSparkApplicationsSearchExecutorsResource =+  "v1"+    Core.:> Core.CaptureMode "name" "searchExecutors" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam+              "executorStatus"+              ProjectsLocationsBatchesSparkApplicationsSearchExecutorsExecutorStatus+    Core.:> Core.QueryParam "pageSize" Core.Int32+    Core.:> Core.QueryParam "pageToken" Core.Text+    Core.:> Core.QueryParam "parent" 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] SearchSparkApplicationExecutorsResponse++-- | Obtain data corresponding to executors for a Spark Application.+--+-- /See:/ 'newDataprocProjectsLocationsBatchesSparkApplicationsSearchExecutors' smart constructor.+data DataprocProjectsLocationsBatchesSparkApplicationsSearchExecutors = DataprocProjectsLocationsBatchesSparkApplicationsSearchExecutors+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Optional. Filter to select whether active\/ dead or all executors should be selected.+    executorStatus ::+      ( Core.Maybe+          ProjectsLocationsBatchesSparkApplicationsSearchExecutorsExecutorStatus+      ),+    -- | Required. The fully qualified name of the batch to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/batches\/BATCH/ID\/sparkApplications\/APPLICATION/ID\"+    name :: Core.Text,+    -- | Optional. Maximum number of executors to return in each response. The service may return fewer than this. The default page size is 10; the maximum page size is 100.+    pageSize :: (Core.Maybe Core.Int32),+    -- | Optional. A page token received from a previous AccessSparkApplicationExecutorsList call. Provide this token to retrieve the subsequent page.+    pageToken :: (Core.Maybe Core.Text),+    -- | Required. Parent (Batch) resource reference.+    parent :: (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 'DataprocProjectsLocationsBatchesSparkApplicationsSearchExecutors' with the minimum fields required to make a request.+newDataprocProjectsLocationsBatchesSparkApplicationsSearchExecutors ::+  -- |  Required. The fully qualified name of the batch to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/batches\/BATCH/ID\/sparkApplications\/APPLICATION/ID\" See 'name'.+  Core.Text ->+  DataprocProjectsLocationsBatchesSparkApplicationsSearchExecutors+newDataprocProjectsLocationsBatchesSparkApplicationsSearchExecutors+  name =+    DataprocProjectsLocationsBatchesSparkApplicationsSearchExecutors+      { xgafv =+          Core.Nothing,+        accessToken = Core.Nothing,+        callback = Core.Nothing,+        executorStatus = Core.Nothing,+        name = name,+        pageSize = Core.Nothing,+        pageToken = Core.Nothing,+        parent = Core.Nothing,+        uploadType = Core.Nothing,+        uploadProtocol = Core.Nothing+      }++instance+  Core.GoogleRequest+    DataprocProjectsLocationsBatchesSparkApplicationsSearchExecutors+  where+  type+    Rs+      DataprocProjectsLocationsBatchesSparkApplicationsSearchExecutors =+      SearchSparkApplicationExecutorsResponse+  type+    Scopes+      DataprocProjectsLocationsBatchesSparkApplicationsSearchExecutors =+      '[CloudPlatform'FullControl]+  requestClient+    DataprocProjectsLocationsBatchesSparkApplicationsSearchExecutors {..} =+      go+        name+        xgafv+        accessToken+        callback+        executorStatus+        pageSize+        pageToken+        parent+        uploadType+        uploadProtocol+        (Core.Just Core.AltJSON)+        dataprocService+      where+        go =+          Core.buildClient+            ( Core.Proxy ::+                Core.Proxy+                  DataprocProjectsLocationsBatchesSparkApplicationsSearchExecutorsResource+            )+            Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/Batches/SparkApplications/SearchJobs.hs view
@@ -0,0 +1,145 @@+{-# 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.Dataproc.Projects.Locations.Batches.SparkApplications.SearchJobs+-- 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)+--+-- Obtain list of spark jobs corresponding to a Spark Application.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.batches.sparkApplications.searchJobs@.+module Gogol.Dataproc.Projects.Locations.Batches.SparkApplications.SearchJobs+  ( -- * Resource+    DataprocProjectsLocationsBatchesSparkApplicationsSearchJobsResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsBatchesSparkApplicationsSearchJobs (..),+    newDataprocProjectsLocationsBatchesSparkApplicationsSearchJobs,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.batches.sparkApplications.searchJobs@ method which the+-- 'DataprocProjectsLocationsBatchesSparkApplicationsSearchJobs' request conforms to.+type DataprocProjectsLocationsBatchesSparkApplicationsSearchJobsResource =+  "v1"+    Core.:> Core.CaptureMode "name" "searchJobs" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam+              "jobStatus"+              ProjectsLocationsBatchesSparkApplicationsSearchJobsJobStatus+    Core.:> Core.QueryParam "pageSize" Core.Int32+    Core.:> Core.QueryParam "pageToken" Core.Text+    Core.:> Core.QueryParam "parent" 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] SearchSparkApplicationJobsResponse++-- | Obtain list of spark jobs corresponding to a Spark Application.+--+-- /See:/ 'newDataprocProjectsLocationsBatchesSparkApplicationsSearchJobs' smart constructor.+data DataprocProjectsLocationsBatchesSparkApplicationsSearchJobs = DataprocProjectsLocationsBatchesSparkApplicationsSearchJobs+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Optional. List only jobs in the specific state.+    jobStatus ::+      ( Core.Maybe+          ProjectsLocationsBatchesSparkApplicationsSearchJobsJobStatus+      ),+    -- | Required. The fully qualified name of the batch to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/batches\/BATCH/ID\/sparkApplications\/APPLICATION/ID\"+    name :: Core.Text,+    -- | Optional. Maximum number of jobs to return in each response. The service may return fewer than this. The default page size is 10; the maximum page size is 100.+    pageSize :: (Core.Maybe Core.Int32),+    -- | Optional. A page token received from a previous SearchSparkApplicationJobs call. Provide this token to retrieve the subsequent page.+    pageToken :: (Core.Maybe Core.Text),+    -- | Required. Parent (Batch) resource reference.+    parent :: (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 'DataprocProjectsLocationsBatchesSparkApplicationsSearchJobs' with the minimum fields required to make a request.+newDataprocProjectsLocationsBatchesSparkApplicationsSearchJobs ::+  -- |  Required. The fully qualified name of the batch to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/batches\/BATCH/ID\/sparkApplications\/APPLICATION/ID\" See 'name'.+  Core.Text ->+  DataprocProjectsLocationsBatchesSparkApplicationsSearchJobs+newDataprocProjectsLocationsBatchesSparkApplicationsSearchJobs name =+  DataprocProjectsLocationsBatchesSparkApplicationsSearchJobs+    { xgafv =+        Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      jobStatus = Core.Nothing,+      name = name,+      pageSize = Core.Nothing,+      pageToken = Core.Nothing,+      parent = Core.Nothing,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance+  Core.GoogleRequest+    DataprocProjectsLocationsBatchesSparkApplicationsSearchJobs+  where+  type+    Rs DataprocProjectsLocationsBatchesSparkApplicationsSearchJobs =+      SearchSparkApplicationJobsResponse+  type+    Scopes+      DataprocProjectsLocationsBatchesSparkApplicationsSearchJobs =+      '[CloudPlatform'FullControl]+  requestClient+    DataprocProjectsLocationsBatchesSparkApplicationsSearchJobs {..} =+      go+        name+        xgafv+        accessToken+        callback+        jobStatus+        pageSize+        pageToken+        parent+        uploadType+        uploadProtocol+        (Core.Just Core.AltJSON)+        dataprocService+      where+        go =+          Core.buildClient+            ( Core.Proxy ::+                Core.Proxy+                  DataprocProjectsLocationsBatchesSparkApplicationsSearchJobsResource+            )+            Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/Batches/SparkApplications/SearchSqlQueries.hs view
@@ -0,0 +1,148 @@+{-# 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.Dataproc.Projects.Locations.Batches.SparkApplications.SearchSqlQueries+-- 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)+--+-- Obtain data corresponding to SQL Queries for a Spark Application.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.batches.sparkApplications.searchSqlQueries@.+module Gogol.Dataproc.Projects.Locations.Batches.SparkApplications.SearchSqlQueries+  ( -- * Resource+    DataprocProjectsLocationsBatchesSparkApplicationsSearchSqlQueriesResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsBatchesSparkApplicationsSearchSqlQueries (..),+    newDataprocProjectsLocationsBatchesSparkApplicationsSearchSqlQueries,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.batches.sparkApplications.searchSqlQueries@ method which the+-- 'DataprocProjectsLocationsBatchesSparkApplicationsSearchSqlQueries' request conforms to.+type DataprocProjectsLocationsBatchesSparkApplicationsSearchSqlQueriesResource =+  "v1"+    Core.:> Core.CaptureMode "name" "searchSqlQueries" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "details" Core.Bool+    Core.:> Core.QueryParam "pageSize" Core.Int32+    Core.:> Core.QueryParam "pageToken" Core.Text+    Core.:> Core.QueryParam "parent" Core.Text+    Core.:> Core.QueryParam "planDescription" Core.Bool+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Get '[Core.JSON] SearchSparkApplicationSqlQueriesResponse++-- | Obtain data corresponding to SQL Queries for a Spark Application.+--+-- /See:/ 'newDataprocProjectsLocationsBatchesSparkApplicationsSearchSqlQueries' smart constructor.+data DataprocProjectsLocationsBatchesSparkApplicationsSearchSqlQueries = DataprocProjectsLocationsBatchesSparkApplicationsSearchSqlQueries+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Optional. Lists\/ hides details of Spark plan nodes. True is set to list and false to hide.+    details :: (Core.Maybe Core.Bool),+    -- | Required. The fully qualified name of the batch to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/batches\/BATCH/ID\/sparkApplications\/APPLICATION/ID\"+    name :: Core.Text,+    -- | Optional. Maximum number of queries to return in each response. The service may return fewer than this. The default page size is 10; the maximum page size is 100.+    pageSize :: (Core.Maybe Core.Int32),+    -- | Optional. A page token received from a previous SearchSparkApplicationSqlQueries call. Provide this token to retrieve the subsequent page.+    pageToken :: (Core.Maybe Core.Text),+    -- | Required. Parent (Batch) resource reference.+    parent :: (Core.Maybe Core.Text),+    -- | Optional. Enables\/ disables physical plan description on demand+    planDescription :: (Core.Maybe Core.Bool),+    -- | 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 'DataprocProjectsLocationsBatchesSparkApplicationsSearchSqlQueries' with the minimum fields required to make a request.+newDataprocProjectsLocationsBatchesSparkApplicationsSearchSqlQueries ::+  -- |  Required. The fully qualified name of the batch to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/batches\/BATCH/ID\/sparkApplications\/APPLICATION/ID\" See 'name'.+  Core.Text ->+  DataprocProjectsLocationsBatchesSparkApplicationsSearchSqlQueries+newDataprocProjectsLocationsBatchesSparkApplicationsSearchSqlQueries+  name =+    DataprocProjectsLocationsBatchesSparkApplicationsSearchSqlQueries+      { xgafv =+          Core.Nothing,+        accessToken = Core.Nothing,+        callback = Core.Nothing,+        details = Core.Nothing,+        name = name,+        pageSize = Core.Nothing,+        pageToken = Core.Nothing,+        parent = Core.Nothing,+        planDescription =+          Core.Nothing,+        uploadType = Core.Nothing,+        uploadProtocol = Core.Nothing+      }++instance+  Core.GoogleRequest+    DataprocProjectsLocationsBatchesSparkApplicationsSearchSqlQueries+  where+  type+    Rs+      DataprocProjectsLocationsBatchesSparkApplicationsSearchSqlQueries =+      SearchSparkApplicationSqlQueriesResponse+  type+    Scopes+      DataprocProjectsLocationsBatchesSparkApplicationsSearchSqlQueries =+      '[CloudPlatform'FullControl]+  requestClient+    DataprocProjectsLocationsBatchesSparkApplicationsSearchSqlQueries {..} =+      go+        name+        xgafv+        accessToken+        callback+        details+        pageSize+        pageToken+        parent+        planDescription+        uploadType+        uploadProtocol+        (Core.Just Core.AltJSON)+        dataprocService+      where+        go =+          Core.buildClient+            ( Core.Proxy ::+                Core.Proxy+                  DataprocProjectsLocationsBatchesSparkApplicationsSearchSqlQueriesResource+            )+            Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/Batches/SparkApplications/SearchStageAttemptTasks.hs view
@@ -0,0 +1,173 @@+{-# 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.Dataproc.Projects.Locations.Batches.SparkApplications.SearchStageAttemptTasks+-- 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)+--+-- Obtain data corresponding to tasks for a spark stage attempt for a Spark Application.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.batches.sparkApplications.searchStageAttemptTasks@.+module Gogol.Dataproc.Projects.Locations.Batches.SparkApplications.SearchStageAttemptTasks+  ( -- * Resource+    DataprocProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasksResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasks (..),+    newDataprocProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasks,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.batches.sparkApplications.searchStageAttemptTasks@ method which the+-- 'DataprocProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasks' request conforms to.+type DataprocProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasksResource =+  "v1"+    Core.:> Core.CaptureMode "name" "searchStageAttemptTasks" Core.Text+    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 "parent" Core.Text+    Core.:> Core.QueryParam "sortRuntime" Core.Bool+    Core.:> Core.QueryParam "stageAttemptId" Core.Int32+    Core.:> Core.QueryParam "stageId" Core.Int64+    Core.:> Core.QueryParam+              "taskStatus"+              ProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasksTaskStatus+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Get+              '[Core.JSON]+              SearchSparkApplicationStageAttemptTasksResponse++-- | Obtain data corresponding to tasks for a spark stage attempt for a Spark Application.+--+-- /See:/ 'newDataprocProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasks' smart constructor.+data DataprocProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasks = DataprocProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasks+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The fully qualified name of the batch to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/batches\/BATCH/ID\/sparkApplications\/APPLICATION/ID\"+    name :: Core.Text,+    -- | Optional. Maximum number of tasks to return in each response. The service may return fewer than this. The default page size is 10; the maximum page size is 100.+    pageSize :: (Core.Maybe Core.Int32),+    -- | Optional. A page token received from a previous ListSparkApplicationStageAttemptTasks call. Provide this token to retrieve the subsequent page.+    pageToken :: (Core.Maybe Core.Text),+    -- | Required. Parent (Batch) resource reference.+    parent :: (Core.Maybe Core.Text),+    -- | Optional. Sort the tasks by runtime.+    sortRuntime :: (Core.Maybe Core.Bool),+    -- | Optional. Stage Attempt ID+    stageAttemptId :: (Core.Maybe Core.Int32),+    -- | Optional. Stage ID+    stageId :: (Core.Maybe Core.Int64),+    -- | Optional. List only tasks in the state.+    taskStatus ::+      ( Core.Maybe+          ProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasksTaskStatus+      ),+    -- | 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 'DataprocProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasks' with the minimum fields required to make a request.+newDataprocProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasks ::+  -- |  Required. The fully qualified name of the batch to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/batches\/BATCH/ID\/sparkApplications\/APPLICATION/ID\" See 'name'.+  Core.Text ->+  DataprocProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasks+newDataprocProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasks+  name =+    DataprocProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasks+      { xgafv =+          Core.Nothing,+        accessToken =+          Core.Nothing,+        callback =+          Core.Nothing,+        name = name,+        pageSize =+          Core.Nothing,+        pageToken =+          Core.Nothing,+        parent = Core.Nothing,+        sortRuntime =+          Core.Nothing,+        stageAttemptId =+          Core.Nothing,+        stageId = Core.Nothing,+        taskStatus =+          Core.Nothing,+        uploadType =+          Core.Nothing,+        uploadProtocol =+          Core.Nothing+      }++instance+  Core.GoogleRequest+    DataprocProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasks+  where+  type+    Rs+      DataprocProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasks =+      SearchSparkApplicationStageAttemptTasksResponse+  type+    Scopes+      DataprocProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasks =+      '[CloudPlatform'FullControl]+  requestClient+    DataprocProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasks {..} =+      go+        name+        xgafv+        accessToken+        callback+        pageSize+        pageToken+        parent+        sortRuntime+        stageAttemptId+        stageId+        taskStatus+        uploadType+        uploadProtocol+        (Core.Just Core.AltJSON)+        dataprocService+      where+        go =+          Core.buildClient+            ( Core.Proxy ::+                Core.Proxy+                  DataprocProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasksResource+            )+            Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/Batches/SparkApplications/SearchStageAttempts.hs view
@@ -0,0 +1,149 @@+{-# 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.Dataproc.Projects.Locations.Batches.SparkApplications.SearchStageAttempts+-- 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)+--+-- Obtain data corresponding to a spark stage attempts for a Spark Application.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.batches.sparkApplications.searchStageAttempts@.+module Gogol.Dataproc.Projects.Locations.Batches.SparkApplications.SearchStageAttempts+  ( -- * Resource+    DataprocProjectsLocationsBatchesSparkApplicationsSearchStageAttemptsResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsBatchesSparkApplicationsSearchStageAttempts (..),+    newDataprocProjectsLocationsBatchesSparkApplicationsSearchStageAttempts,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.batches.sparkApplications.searchStageAttempts@ method which the+-- 'DataprocProjectsLocationsBatchesSparkApplicationsSearchStageAttempts' request conforms to.+type DataprocProjectsLocationsBatchesSparkApplicationsSearchStageAttemptsResource =+  "v1"+    Core.:> Core.CaptureMode "name" "searchStageAttempts" Core.Text+    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 "parent" Core.Text+    Core.:> Core.QueryParam "stageId" Core.Int64+    Core.:> Core.QueryParam "summaryMetricsMask" 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] SearchSparkApplicationStageAttemptsResponse++-- | Obtain data corresponding to a spark stage attempts for a Spark Application.+--+-- /See:/ 'newDataprocProjectsLocationsBatchesSparkApplicationsSearchStageAttempts' smart constructor.+data DataprocProjectsLocationsBatchesSparkApplicationsSearchStageAttempts = DataprocProjectsLocationsBatchesSparkApplicationsSearchStageAttempts+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The fully qualified name of the batch to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/batches\/BATCH/ID\/sparkApplications\/APPLICATION/ID\"+    name :: Core.Text,+    -- | Optional. Maximum number of stage attempts (paging based on stage/attempt/id) to return in each response. The service may return fewer than this. The default page size is 10; the maximum page size is 100.+    pageSize :: (Core.Maybe Core.Int32),+    -- | Optional. A page token received from a previous SearchSparkApplicationStageAttempts call. Provide this token to retrieve the subsequent page.+    pageToken :: (Core.Maybe Core.Text),+    -- | Required. Parent (Batch) resource reference.+    parent :: (Core.Maybe Core.Text),+    -- | Required. Stage ID for which attempts are to be fetched+    stageId :: (Core.Maybe Core.Int64),+    -- | Optional. The list of summary metrics fields to include. Empty list will default to skip all summary metrics fields. Example, if the response should include TaskQuantileMetrics, the request should have task/quantile/metrics in summary/metrics/mask field+    summaryMetricsMask :: (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 'DataprocProjectsLocationsBatchesSparkApplicationsSearchStageAttempts' with the minimum fields required to make a request.+newDataprocProjectsLocationsBatchesSparkApplicationsSearchStageAttempts ::+  -- |  Required. The fully qualified name of the batch to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/batches\/BATCH/ID\/sparkApplications\/APPLICATION/ID\" See 'name'.+  Core.Text ->+  DataprocProjectsLocationsBatchesSparkApplicationsSearchStageAttempts+newDataprocProjectsLocationsBatchesSparkApplicationsSearchStageAttempts+  name =+    DataprocProjectsLocationsBatchesSparkApplicationsSearchStageAttempts+      { xgafv =+          Core.Nothing,+        accessToken = Core.Nothing,+        callback = Core.Nothing,+        name = name,+        pageSize = Core.Nothing,+        pageToken = Core.Nothing,+        parent = Core.Nothing,+        stageId = Core.Nothing,+        summaryMetricsMask =+          Core.Nothing,+        uploadType = Core.Nothing,+        uploadProtocol =+          Core.Nothing+      }++instance+  Core.GoogleRequest+    DataprocProjectsLocationsBatchesSparkApplicationsSearchStageAttempts+  where+  type+    Rs+      DataprocProjectsLocationsBatchesSparkApplicationsSearchStageAttempts =+      SearchSparkApplicationStageAttemptsResponse+  type+    Scopes+      DataprocProjectsLocationsBatchesSparkApplicationsSearchStageAttempts =+      '[CloudPlatform'FullControl]+  requestClient+    DataprocProjectsLocationsBatchesSparkApplicationsSearchStageAttempts {..} =+      go+        name+        xgafv+        accessToken+        callback+        pageSize+        pageToken+        parent+        stageId+        summaryMetricsMask+        uploadType+        uploadProtocol+        (Core.Just Core.AltJSON)+        dataprocService+      where+        go =+          Core.buildClient+            ( Core.Proxy ::+                Core.Proxy+                  DataprocProjectsLocationsBatchesSparkApplicationsSearchStageAttemptsResource+            )+            Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/Batches/SparkApplications/SearchStages.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.Dataproc.Projects.Locations.Batches.SparkApplications.SearchStages+-- 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)+--+-- Obtain data corresponding to stages for a Spark Application.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.batches.sparkApplications.searchStages@.+module Gogol.Dataproc.Projects.Locations.Batches.SparkApplications.SearchStages+  ( -- * Resource+    DataprocProjectsLocationsBatchesSparkApplicationsSearchStagesResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsBatchesSparkApplicationsSearchStages (..),+    newDataprocProjectsLocationsBatchesSparkApplicationsSearchStages,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.batches.sparkApplications.searchStages@ method which the+-- 'DataprocProjectsLocationsBatchesSparkApplicationsSearchStages' request conforms to.+type DataprocProjectsLocationsBatchesSparkApplicationsSearchStagesResource =+  "v1"+    Core.:> Core.CaptureMode "name" "searchStages" Core.Text+    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 "parent" Core.Text+    Core.:> Core.QueryParam+              "stageStatus"+              ProjectsLocationsBatchesSparkApplicationsSearchStagesStageStatus+    Core.:> Core.QueryParam "summaryMetricsMask" 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] SearchSparkApplicationStagesResponse++-- | Obtain data corresponding to stages for a Spark Application.+--+-- /See:/ 'newDataprocProjectsLocationsBatchesSparkApplicationsSearchStages' smart constructor.+data DataprocProjectsLocationsBatchesSparkApplicationsSearchStages = DataprocProjectsLocationsBatchesSparkApplicationsSearchStages+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The fully qualified name of the batch to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/batches\/BATCH/ID\/sparkApplications\/APPLICATION/ID\"+    name :: Core.Text,+    -- | Optional. Maximum number of stages (paging based on stage_id) to return in each response. The service may return fewer than this. The default page size is 10; the maximum page size is 100.+    pageSize :: (Core.Maybe Core.Int32),+    -- | Optional. A page token received from a previous FetchSparkApplicationStagesList call. Provide this token to retrieve the subsequent page.+    pageToken :: (Core.Maybe Core.Text),+    -- | Required. Parent (Batch) resource reference.+    parent :: (Core.Maybe Core.Text),+    -- | Optional. List only stages in the given state.+    stageStatus ::+      ( Core.Maybe+          ProjectsLocationsBatchesSparkApplicationsSearchStagesStageStatus+      ),+    -- | Optional. The list of summary metrics fields to include. Empty list will default to skip all summary metrics fields. Example, if the response should include TaskQuantileMetrics, the request should have task/quantile/metrics in summary/metrics/mask field+    summaryMetricsMask :: (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 'DataprocProjectsLocationsBatchesSparkApplicationsSearchStages' with the minimum fields required to make a request.+newDataprocProjectsLocationsBatchesSparkApplicationsSearchStages ::+  -- |  Required. The fully qualified name of the batch to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/batches\/BATCH/ID\/sparkApplications\/APPLICATION/ID\" See 'name'.+  Core.Text ->+  DataprocProjectsLocationsBatchesSparkApplicationsSearchStages+newDataprocProjectsLocationsBatchesSparkApplicationsSearchStages+  name =+    DataprocProjectsLocationsBatchesSparkApplicationsSearchStages+      { xgafv =+          Core.Nothing,+        accessToken = Core.Nothing,+        callback = Core.Nothing,+        name = name,+        pageSize = Core.Nothing,+        pageToken = Core.Nothing,+        parent = Core.Nothing,+        stageStatus = Core.Nothing,+        summaryMetricsMask = Core.Nothing,+        uploadType = Core.Nothing,+        uploadProtocol = Core.Nothing+      }++instance+  Core.GoogleRequest+    DataprocProjectsLocationsBatchesSparkApplicationsSearchStages+  where+  type+    Rs+      DataprocProjectsLocationsBatchesSparkApplicationsSearchStages =+      SearchSparkApplicationStagesResponse+  type+    Scopes+      DataprocProjectsLocationsBatchesSparkApplicationsSearchStages =+      '[CloudPlatform'FullControl]+  requestClient+    DataprocProjectsLocationsBatchesSparkApplicationsSearchStages {..} =+      go+        name+        xgafv+        accessToken+        callback+        pageSize+        pageToken+        parent+        stageStatus+        summaryMetricsMask+        uploadType+        uploadProtocol+        (Core.Just Core.AltJSON)+        dataprocService+      where+        go =+          Core.buildClient+            ( Core.Proxy ::+                Core.Proxy+                  DataprocProjectsLocationsBatchesSparkApplicationsSearchStagesResource+            )+            Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/Batches/SparkApplications/SummarizeExecutors.hs view
@@ -0,0 +1,128 @@+{-# 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.Dataproc.Projects.Locations.Batches.SparkApplications.SummarizeExecutors+-- 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)+--+-- Obtain summary of Executor Summary for a Spark Application+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.batches.sparkApplications.summarizeExecutors@.+module Gogol.Dataproc.Projects.Locations.Batches.SparkApplications.SummarizeExecutors+  ( -- * Resource+    DataprocProjectsLocationsBatchesSparkApplicationsSummarizeExecutorsResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsBatchesSparkApplicationsSummarizeExecutors (..),+    newDataprocProjectsLocationsBatchesSparkApplicationsSummarizeExecutors,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.batches.sparkApplications.summarizeExecutors@ method which the+-- 'DataprocProjectsLocationsBatchesSparkApplicationsSummarizeExecutors' request conforms to.+type DataprocProjectsLocationsBatchesSparkApplicationsSummarizeExecutorsResource =+  "v1"+    Core.:> Core.CaptureMode "name" "summarizeExecutors" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "parent" 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] SummarizeSparkApplicationExecutorsResponse++-- | Obtain summary of Executor Summary for a Spark Application+--+-- /See:/ 'newDataprocProjectsLocationsBatchesSparkApplicationsSummarizeExecutors' smart constructor.+data DataprocProjectsLocationsBatchesSparkApplicationsSummarizeExecutors = DataprocProjectsLocationsBatchesSparkApplicationsSummarizeExecutors+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The fully qualified name of the batch to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/batches\/BATCH/ID\/sparkApplications\/APPLICATION/ID\"+    name :: Core.Text,+    -- | Required. Parent (Batch) resource reference.+    parent :: (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 'DataprocProjectsLocationsBatchesSparkApplicationsSummarizeExecutors' with the minimum fields required to make a request.+newDataprocProjectsLocationsBatchesSparkApplicationsSummarizeExecutors ::+  -- |  Required. The fully qualified name of the batch to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/batches\/BATCH/ID\/sparkApplications\/APPLICATION/ID\" See 'name'.+  Core.Text ->+  DataprocProjectsLocationsBatchesSparkApplicationsSummarizeExecutors+newDataprocProjectsLocationsBatchesSparkApplicationsSummarizeExecutors+  name =+    DataprocProjectsLocationsBatchesSparkApplicationsSummarizeExecutors+      { xgafv =+          Core.Nothing,+        accessToken = Core.Nothing,+        callback = Core.Nothing,+        name = name,+        parent = Core.Nothing,+        uploadType = Core.Nothing,+        uploadProtocol =+          Core.Nothing+      }++instance+  Core.GoogleRequest+    DataprocProjectsLocationsBatchesSparkApplicationsSummarizeExecutors+  where+  type+    Rs+      DataprocProjectsLocationsBatchesSparkApplicationsSummarizeExecutors =+      SummarizeSparkApplicationExecutorsResponse+  type+    Scopes+      DataprocProjectsLocationsBatchesSparkApplicationsSummarizeExecutors =+      '[CloudPlatform'FullControl]+  requestClient+    DataprocProjectsLocationsBatchesSparkApplicationsSummarizeExecutors {..} =+      go+        name+        xgafv+        accessToken+        callback+        parent+        uploadType+        uploadProtocol+        (Core.Just Core.AltJSON)+        dataprocService+      where+        go =+          Core.buildClient+            ( Core.Proxy ::+                Core.Proxy+                  DataprocProjectsLocationsBatchesSparkApplicationsSummarizeExecutorsResource+            )+            Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/Batches/SparkApplications/SummarizeJobs.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.Dataproc.Projects.Locations.Batches.SparkApplications.SummarizeJobs+-- 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)+--+-- Obtain summary of Jobs for a Spark Application+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.batches.sparkApplications.summarizeJobs@.+module Gogol.Dataproc.Projects.Locations.Batches.SparkApplications.SummarizeJobs+  ( -- * Resource+    DataprocProjectsLocationsBatchesSparkApplicationsSummarizeJobsResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsBatchesSparkApplicationsSummarizeJobs (..),+    newDataprocProjectsLocationsBatchesSparkApplicationsSummarizeJobs,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.batches.sparkApplications.summarizeJobs@ method which the+-- 'DataprocProjectsLocationsBatchesSparkApplicationsSummarizeJobs' request conforms to.+type DataprocProjectsLocationsBatchesSparkApplicationsSummarizeJobsResource =+  "v1"+    Core.:> Core.CaptureMode "name" "summarizeJobs" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "parent" 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] SummarizeSparkApplicationJobsResponse++-- | Obtain summary of Jobs for a Spark Application+--+-- /See:/ 'newDataprocProjectsLocationsBatchesSparkApplicationsSummarizeJobs' smart constructor.+data DataprocProjectsLocationsBatchesSparkApplicationsSummarizeJobs = DataprocProjectsLocationsBatchesSparkApplicationsSummarizeJobs+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The fully qualified name of the batch to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/batches\/BATCH/ID\/sparkApplications\/APPLICATION/ID\"+    name :: Core.Text,+    -- | Required. Parent (Batch) resource reference.+    parent :: (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 'DataprocProjectsLocationsBatchesSparkApplicationsSummarizeJobs' with the minimum fields required to make a request.+newDataprocProjectsLocationsBatchesSparkApplicationsSummarizeJobs ::+  -- |  Required. The fully qualified name of the batch to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/batches\/BATCH/ID\/sparkApplications\/APPLICATION/ID\" See 'name'.+  Core.Text ->+  DataprocProjectsLocationsBatchesSparkApplicationsSummarizeJobs+newDataprocProjectsLocationsBatchesSparkApplicationsSummarizeJobs+  name =+    DataprocProjectsLocationsBatchesSparkApplicationsSummarizeJobs+      { xgafv =+          Core.Nothing,+        accessToken = Core.Nothing,+        callback = Core.Nothing,+        name = name,+        parent = Core.Nothing,+        uploadType = Core.Nothing,+        uploadProtocol = Core.Nothing+      }++instance+  Core.GoogleRequest+    DataprocProjectsLocationsBatchesSparkApplicationsSummarizeJobs+  where+  type+    Rs+      DataprocProjectsLocationsBatchesSparkApplicationsSummarizeJobs =+      SummarizeSparkApplicationJobsResponse+  type+    Scopes+      DataprocProjectsLocationsBatchesSparkApplicationsSummarizeJobs =+      '[CloudPlatform'FullControl]+  requestClient+    DataprocProjectsLocationsBatchesSparkApplicationsSummarizeJobs {..} =+      go+        name+        xgafv+        accessToken+        callback+        parent+        uploadType+        uploadProtocol+        (Core.Just Core.AltJSON)+        dataprocService+      where+        go =+          Core.buildClient+            ( Core.Proxy ::+                Core.Proxy+                  DataprocProjectsLocationsBatchesSparkApplicationsSummarizeJobsResource+            )+            Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/Batches/SparkApplications/SummarizeStageAttemptTasks.hs view
@@ -0,0 +1,146 @@+{-# 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.Dataproc.Projects.Locations.Batches.SparkApplications.SummarizeStageAttemptTasks+-- 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)+--+-- Obtain summary of Tasks for a Spark Application Stage Attempt+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.batches.sparkApplications.summarizeStageAttemptTasks@.+module Gogol.Dataproc.Projects.Locations.Batches.SparkApplications.SummarizeStageAttemptTasks+  ( -- * Resource+    DataprocProjectsLocationsBatchesSparkApplicationsSummarizeStageAttemptTasksResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsBatchesSparkApplicationsSummarizeStageAttemptTasks (..),+    newDataprocProjectsLocationsBatchesSparkApplicationsSummarizeStageAttemptTasks,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.batches.sparkApplications.summarizeStageAttemptTasks@ method which the+-- 'DataprocProjectsLocationsBatchesSparkApplicationsSummarizeStageAttemptTasks' request conforms to.+type DataprocProjectsLocationsBatchesSparkApplicationsSummarizeStageAttemptTasksResource =+  "v1"+    Core.:> Core.CaptureMode "name" "summarizeStageAttemptTasks" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "parent" Core.Text+    Core.:> Core.QueryParam "stageAttemptId" Core.Int32+    Core.:> Core.QueryParam "stageId" Core.Int64+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Get+              '[Core.JSON]+              SummarizeSparkApplicationStageAttemptTasksResponse++-- | Obtain summary of Tasks for a Spark Application Stage Attempt+--+-- /See:/ 'newDataprocProjectsLocationsBatchesSparkApplicationsSummarizeStageAttemptTasks' smart constructor.+data DataprocProjectsLocationsBatchesSparkApplicationsSummarizeStageAttemptTasks = DataprocProjectsLocationsBatchesSparkApplicationsSummarizeStageAttemptTasks+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The fully qualified name of the batch to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/batches\/BATCH/ID\/sparkApplications\/APPLICATION/ID\"+    name :: Core.Text,+    -- | Required. Parent (Batch) resource reference.+    parent :: (Core.Maybe Core.Text),+    -- | Required. Stage Attempt ID+    stageAttemptId :: (Core.Maybe Core.Int32),+    -- | Required. Stage ID+    stageId :: (Core.Maybe Core.Int64),+    -- | 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 'DataprocProjectsLocationsBatchesSparkApplicationsSummarizeStageAttemptTasks' with the minimum fields required to make a request.+newDataprocProjectsLocationsBatchesSparkApplicationsSummarizeStageAttemptTasks ::+  -- |  Required. The fully qualified name of the batch to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/batches\/BATCH/ID\/sparkApplications\/APPLICATION/ID\" See 'name'.+  Core.Text ->+  DataprocProjectsLocationsBatchesSparkApplicationsSummarizeStageAttemptTasks+newDataprocProjectsLocationsBatchesSparkApplicationsSummarizeStageAttemptTasks+  name =+    DataprocProjectsLocationsBatchesSparkApplicationsSummarizeStageAttemptTasks+      { xgafv =+          Core.Nothing,+        accessToken =+          Core.Nothing,+        callback =+          Core.Nothing,+        name = name,+        parent =+          Core.Nothing,+        stageAttemptId =+          Core.Nothing,+        stageId =+          Core.Nothing,+        uploadType =+          Core.Nothing,+        uploadProtocol =+          Core.Nothing+      }++instance+  Core.GoogleRequest+    DataprocProjectsLocationsBatchesSparkApplicationsSummarizeStageAttemptTasks+  where+  type+    Rs+      DataprocProjectsLocationsBatchesSparkApplicationsSummarizeStageAttemptTasks =+      SummarizeSparkApplicationStageAttemptTasksResponse+  type+    Scopes+      DataprocProjectsLocationsBatchesSparkApplicationsSummarizeStageAttemptTasks =+      '[CloudPlatform'FullControl]+  requestClient+    DataprocProjectsLocationsBatchesSparkApplicationsSummarizeStageAttemptTasks {..} =+      go+        name+        xgafv+        accessToken+        callback+        parent+        stageAttemptId+        stageId+        uploadType+        uploadProtocol+        (Core.Just Core.AltJSON)+        dataprocService+      where+        go =+          Core.buildClient+            ( Core.Proxy ::+                Core.Proxy+                  DataprocProjectsLocationsBatchesSparkApplicationsSummarizeStageAttemptTasksResource+            )+            Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/Batches/SparkApplications/SummarizeStages.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.Dataproc.Projects.Locations.Batches.SparkApplications.SummarizeStages+-- 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)+--+-- Obtain summary of Stages for a Spark Application+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.batches.sparkApplications.summarizeStages@.+module Gogol.Dataproc.Projects.Locations.Batches.SparkApplications.SummarizeStages+  ( -- * Resource+    DataprocProjectsLocationsBatchesSparkApplicationsSummarizeStagesResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsBatchesSparkApplicationsSummarizeStages (..),+    newDataprocProjectsLocationsBatchesSparkApplicationsSummarizeStages,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.batches.sparkApplications.summarizeStages@ method which the+-- 'DataprocProjectsLocationsBatchesSparkApplicationsSummarizeStages' request conforms to.+type DataprocProjectsLocationsBatchesSparkApplicationsSummarizeStagesResource =+  "v1"+    Core.:> Core.CaptureMode "name" "summarizeStages" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "parent" 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] SummarizeSparkApplicationStagesResponse++-- | Obtain summary of Stages for a Spark Application+--+-- /See:/ 'newDataprocProjectsLocationsBatchesSparkApplicationsSummarizeStages' smart constructor.+data DataprocProjectsLocationsBatchesSparkApplicationsSummarizeStages = DataprocProjectsLocationsBatchesSparkApplicationsSummarizeStages+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The fully qualified name of the batch to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/batches\/BATCH/ID\/sparkApplications\/APPLICATION/ID\"+    name :: Core.Text,+    -- | Required. Parent (Batch) resource reference.+    parent :: (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 'DataprocProjectsLocationsBatchesSparkApplicationsSummarizeStages' with the minimum fields required to make a request.+newDataprocProjectsLocationsBatchesSparkApplicationsSummarizeStages ::+  -- |  Required. The fully qualified name of the batch to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/batches\/BATCH/ID\/sparkApplications\/APPLICATION/ID\" See 'name'.+  Core.Text ->+  DataprocProjectsLocationsBatchesSparkApplicationsSummarizeStages+newDataprocProjectsLocationsBatchesSparkApplicationsSummarizeStages+  name =+    DataprocProjectsLocationsBatchesSparkApplicationsSummarizeStages+      { xgafv =+          Core.Nothing,+        accessToken = Core.Nothing,+        callback = Core.Nothing,+        name = name,+        parent = Core.Nothing,+        uploadType = Core.Nothing,+        uploadProtocol = Core.Nothing+      }++instance+  Core.GoogleRequest+    DataprocProjectsLocationsBatchesSparkApplicationsSummarizeStages+  where+  type+    Rs+      DataprocProjectsLocationsBatchesSparkApplicationsSummarizeStages =+      SummarizeSparkApplicationStagesResponse+  type+    Scopes+      DataprocProjectsLocationsBatchesSparkApplicationsSummarizeStages =+      '[CloudPlatform'FullControl]+  requestClient+    DataprocProjectsLocationsBatchesSparkApplicationsSummarizeStages {..} =+      go+        name+        xgafv+        accessToken+        callback+        parent+        uploadType+        uploadProtocol+        (Core.Just Core.AltJSON)+        dataprocService+      where+        go =+          Core.buildClient+            ( Core.Proxy ::+                Core.Proxy+                  DataprocProjectsLocationsBatchesSparkApplicationsSummarizeStagesResource+            )+            Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/Batches/SparkApplications/Write.hs view
@@ -0,0 +1,128 @@+{-# 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.Dataproc.Projects.Locations.Batches.SparkApplications.Write+-- 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)+--+-- Write wrapper objects from dataplane to spanner+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.batches.sparkApplications.write@.+module Gogol.Dataproc.Projects.Locations.Batches.SparkApplications.Write+  ( -- * Resource+    DataprocProjectsLocationsBatchesSparkApplicationsWriteResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsBatchesSparkApplicationsWrite (..),+    newDataprocProjectsLocationsBatchesSparkApplicationsWrite,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.batches.sparkApplications.write@ method which the+-- 'DataprocProjectsLocationsBatchesSparkApplicationsWrite' request conforms to.+type DataprocProjectsLocationsBatchesSparkApplicationsWriteResource =+  "v1"+    Core.:> Core.CaptureMode "name" "write" 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] WriteSparkApplicationContextRequest+    Core.:> Core.Post '[Core.JSON] WriteSparkApplicationContextResponse++-- | Write wrapper objects from dataplane to spanner+--+-- /See:/ 'newDataprocProjectsLocationsBatchesSparkApplicationsWrite' smart constructor.+data DataprocProjectsLocationsBatchesSparkApplicationsWrite = DataprocProjectsLocationsBatchesSparkApplicationsWrite+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The fully qualified name of the spark application to write data about in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/batches\/BATCH/ID\/sparkApplications\/APPLICATION/ID\"+    name :: Core.Text,+    -- | Multipart request metadata.+    payload :: WriteSparkApplicationContextRequest,+    -- | 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 'DataprocProjectsLocationsBatchesSparkApplicationsWrite' with the minimum fields required to make a request.+newDataprocProjectsLocationsBatchesSparkApplicationsWrite ::+  -- |  Required. The fully qualified name of the spark application to write data about in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/batches\/BATCH/ID\/sparkApplications\/APPLICATION/ID\" See 'name'.+  Core.Text ->+  -- |  Multipart request metadata. See 'payload'.+  WriteSparkApplicationContextRequest ->+  DataprocProjectsLocationsBatchesSparkApplicationsWrite+newDataprocProjectsLocationsBatchesSparkApplicationsWrite+  name+  payload =+    DataprocProjectsLocationsBatchesSparkApplicationsWrite+      { xgafv =+          Core.Nothing,+        accessToken = Core.Nothing,+        callback = Core.Nothing,+        name = name,+        payload = payload,+        uploadType = Core.Nothing,+        uploadProtocol = Core.Nothing+      }++instance+  Core.GoogleRequest+    DataprocProjectsLocationsBatchesSparkApplicationsWrite+  where+  type+    Rs DataprocProjectsLocationsBatchesSparkApplicationsWrite =+      WriteSparkApplicationContextResponse+  type+    Scopes DataprocProjectsLocationsBatchesSparkApplicationsWrite =+      '[CloudPlatform'FullControl]+  requestClient+    DataprocProjectsLocationsBatchesSparkApplicationsWrite {..} =+      go+        name+        xgafv+        accessToken+        callback+        uploadType+        uploadProtocol+        (Core.Just Core.AltJSON)+        payload+        dataprocService+      where+        go =+          Core.buildClient+            ( Core.Proxy ::+                Core.Proxy+                  DataprocProjectsLocationsBatchesSparkApplicationsWriteResource+            )+            Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/Operations/Cancel.hs view
@@ -0,0 +1,114 @@+{-# 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.Dataproc.Projects.Locations.Operations.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)+--+-- Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn\'t support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.operations.cancel@.+module Gogol.Dataproc.Projects.Locations.Operations.Cancel+  ( -- * Resource+    DataprocProjectsLocationsOperationsCancelResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsOperationsCancel (..),+    newDataprocProjectsLocationsOperationsCancel,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.operations.cancel@ method which the+-- 'DataprocProjectsLocationsOperationsCancel' request conforms to.+type DataprocProjectsLocationsOperationsCancelResource =+  "v1"+    Core.:> Core.CaptureMode "name" "cancel" 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.Post '[Core.JSON] Empty++-- | Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn\'t support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.+--+-- /See:/ 'newDataprocProjectsLocationsOperationsCancel' smart constructor.+data DataprocProjectsLocationsOperationsCancel = DataprocProjectsLocationsOperationsCancel+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | The name of the operation resource to be cancelled.+    name :: 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 'DataprocProjectsLocationsOperationsCancel' with the minimum fields required to make a request.+newDataprocProjectsLocationsOperationsCancel ::+  -- |  The name of the operation resource to be cancelled. See 'name'.+  Core.Text ->+  DataprocProjectsLocationsOperationsCancel+newDataprocProjectsLocationsOperationsCancel name =+  DataprocProjectsLocationsOperationsCancel+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      name = name,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance+  Core.GoogleRequest+    DataprocProjectsLocationsOperationsCancel+  where+  type Rs DataprocProjectsLocationsOperationsCancel = Empty+  type+    Scopes DataprocProjectsLocationsOperationsCancel =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsLocationsOperationsCancel {..} =+    go+      name+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      dataprocService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy DataprocProjectsLocationsOperationsCancelResource+          )+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/Operations/Delete.hs view
@@ -0,0 +1,114 @@+{-# 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.Dataproc.Projects.Locations.Operations.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 long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn\'t support this method, it returns google.rpc.Code.UNIMPLEMENTED.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.operations.delete@.+module Gogol.Dataproc.Projects.Locations.Operations.Delete+  ( -- * Resource+    DataprocProjectsLocationsOperationsDeleteResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsOperationsDelete (..),+    newDataprocProjectsLocationsOperationsDelete,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.operations.delete@ method which the+-- 'DataprocProjectsLocationsOperationsDelete' request conforms to.+type DataprocProjectsLocationsOperationsDeleteResource =+  "v1"+    Core.:> Core.Capture "name" 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] Empty++-- | Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn\'t support this method, it returns google.rpc.Code.UNIMPLEMENTED.+--+-- /See:/ 'newDataprocProjectsLocationsOperationsDelete' smart constructor.+data DataprocProjectsLocationsOperationsDelete = DataprocProjectsLocationsOperationsDelete+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | The name of the operation resource to be deleted.+    name :: 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 'DataprocProjectsLocationsOperationsDelete' with the minimum fields required to make a request.+newDataprocProjectsLocationsOperationsDelete ::+  -- |  The name of the operation resource to be deleted. See 'name'.+  Core.Text ->+  DataprocProjectsLocationsOperationsDelete+newDataprocProjectsLocationsOperationsDelete name =+  DataprocProjectsLocationsOperationsDelete+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      name = name,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance+  Core.GoogleRequest+    DataprocProjectsLocationsOperationsDelete+  where+  type Rs DataprocProjectsLocationsOperationsDelete = Empty+  type+    Scopes DataprocProjectsLocationsOperationsDelete =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsLocationsOperationsDelete {..} =+    go+      name+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      dataprocService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy DataprocProjectsLocationsOperationsDeleteResource+          )+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/Operations/Get.hs view
@@ -0,0 +1,111 @@+{-# 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.Dataproc.Projects.Locations.Operations.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 latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.operations.get@.+module Gogol.Dataproc.Projects.Locations.Operations.Get+  ( -- * Resource+    DataprocProjectsLocationsOperationsGetResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsOperationsGet (..),+    newDataprocProjectsLocationsOperationsGet,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.operations.get@ method which the+-- 'DataprocProjectsLocationsOperationsGet' request conforms to.+type DataprocProjectsLocationsOperationsGetResource =+  "v1"+    Core.:> Core.Capture "name" 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] Operation++-- | Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.+--+-- /See:/ 'newDataprocProjectsLocationsOperationsGet' smart constructor.+data DataprocProjectsLocationsOperationsGet = DataprocProjectsLocationsOperationsGet+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | The name of the operation resource.+    name :: 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 'DataprocProjectsLocationsOperationsGet' with the minimum fields required to make a request.+newDataprocProjectsLocationsOperationsGet ::+  -- |  The name of the operation resource. See 'name'.+  Core.Text ->+  DataprocProjectsLocationsOperationsGet+newDataprocProjectsLocationsOperationsGet name =+  DataprocProjectsLocationsOperationsGet+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      name = name,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest DataprocProjectsLocationsOperationsGet where+  type Rs DataprocProjectsLocationsOperationsGet = Operation+  type+    Scopes DataprocProjectsLocationsOperationsGet =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsLocationsOperationsGet {..} =+    go+      name+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      dataprocService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy DataprocProjectsLocationsOperationsGetResource+          )+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/Operations/List.hs view
@@ -0,0 +1,128 @@+{-# 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.Dataproc.Projects.Locations.Operations.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 operations that match the specified filter in the request. If the server doesn\'t support this method, it returns UNIMPLEMENTED.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.operations.list@.+module Gogol.Dataproc.Projects.Locations.Operations.List+  ( -- * Resource+    DataprocProjectsLocationsOperationsListResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsOperationsList (..),+    newDataprocProjectsLocationsOperationsList,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.operations.list@ method which the+-- 'DataprocProjectsLocationsOperationsList' request conforms to.+type DataprocProjectsLocationsOperationsListResource =+  "v1"+    Core.:> Core.Capture "name" Core.Text+    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 "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] ListOperationsResponse++-- | Lists operations that match the specified filter in the request. If the server doesn\'t support this method, it returns UNIMPLEMENTED.+--+-- /See:/ 'newDataprocProjectsLocationsOperationsList' smart constructor.+data DataprocProjectsLocationsOperationsList = DataprocProjectsLocationsOperationsList+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | The standard list filter.+    filter :: (Core.Maybe Core.Text),+    -- | The name of the operation\'s parent resource.+    name :: Core.Text,+    -- | The standard list page size.+    pageSize :: (Core.Maybe Core.Int32),+    -- | The standard list page token.+    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 'DataprocProjectsLocationsOperationsList' with the minimum fields required to make a request.+newDataprocProjectsLocationsOperationsList ::+  -- |  The name of the operation\'s parent resource. See 'name'.+  Core.Text ->+  DataprocProjectsLocationsOperationsList+newDataprocProjectsLocationsOperationsList name =+  DataprocProjectsLocationsOperationsList+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      filter = Core.Nothing,+      name = name,+      pageSize = Core.Nothing,+      pageToken = Core.Nothing,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest DataprocProjectsLocationsOperationsList where+  type+    Rs DataprocProjectsLocationsOperationsList =+      ListOperationsResponse+  type+    Scopes DataprocProjectsLocationsOperationsList =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsLocationsOperationsList {..} =+    go+      name+      xgafv+      accessToken+      callback+      filter+      pageSize+      pageToken+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      dataprocService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy DataprocProjectsLocationsOperationsListResource+          )+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/SessionTemplates/Create.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.Dataproc.Projects.Locations.SessionTemplates.Create+-- 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)+--+-- Create a session template synchronously.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.sessionTemplates.create@.+module Gogol.Dataproc.Projects.Locations.SessionTemplates.Create+  ( -- * Resource+    DataprocProjectsLocationsSessionTemplatesCreateResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsSessionTemplatesCreate (..),+    newDataprocProjectsLocationsSessionTemplatesCreate,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.sessionTemplates.create@ method which the+-- 'DataprocProjectsLocationsSessionTemplatesCreate' request conforms to.+type DataprocProjectsLocationsSessionTemplatesCreateResource =+  "v1"+    Core.:> Core.Capture "parent" Core.Text+    Core.:> "sessionTemplates"+    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] SessionTemplate+    Core.:> Core.Post '[Core.JSON] SessionTemplate++-- | Create a session template synchronously.+--+-- /See:/ 'newDataprocProjectsLocationsSessionTemplatesCreate' smart constructor.+data DataprocProjectsLocationsSessionTemplatesCreate = DataprocProjectsLocationsSessionTemplatesCreate+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The parent resource where this session template will be created.+    parent :: Core.Text,+    -- | Multipart request metadata.+    payload :: SessionTemplate,+    -- | 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 'DataprocProjectsLocationsSessionTemplatesCreate' with the minimum fields required to make a request.+newDataprocProjectsLocationsSessionTemplatesCreate ::+  -- |  Required. The parent resource where this session template will be created. See 'parent'.+  Core.Text ->+  -- |  Multipart request metadata. See 'payload'.+  SessionTemplate ->+  DataprocProjectsLocationsSessionTemplatesCreate+newDataprocProjectsLocationsSessionTemplatesCreate parent payload =+  DataprocProjectsLocationsSessionTemplatesCreate+    { xgafv =+        Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      parent = parent,+      payload = payload,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance+  Core.GoogleRequest+    DataprocProjectsLocationsSessionTemplatesCreate+  where+  type+    Rs DataprocProjectsLocationsSessionTemplatesCreate =+      SessionTemplate+  type+    Scopes DataprocProjectsLocationsSessionTemplatesCreate =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsLocationsSessionTemplatesCreate {..} =+    go+      parent+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      payload+      dataprocService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy DataprocProjectsLocationsSessionTemplatesCreateResource+          )+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/SessionTemplates/Delete.hs view
@@ -0,0 +1,115 @@+{-# 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.Dataproc.Projects.Locations.SessionTemplates.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 session template.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.sessionTemplates.delete@.+module Gogol.Dataproc.Projects.Locations.SessionTemplates.Delete+  ( -- * Resource+    DataprocProjectsLocationsSessionTemplatesDeleteResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsSessionTemplatesDelete (..),+    newDataprocProjectsLocationsSessionTemplatesDelete,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.sessionTemplates.delete@ method which the+-- 'DataprocProjectsLocationsSessionTemplatesDelete' request conforms to.+type DataprocProjectsLocationsSessionTemplatesDeleteResource =+  "v1"+    Core.:> Core.Capture "name" 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] Empty++-- | Deletes a session template.+--+-- /See:/ 'newDataprocProjectsLocationsSessionTemplatesDelete' smart constructor.+data DataprocProjectsLocationsSessionTemplatesDelete = DataprocProjectsLocationsSessionTemplatesDelete+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The name of the session template resource to delete.+    name :: 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 'DataprocProjectsLocationsSessionTemplatesDelete' with the minimum fields required to make a request.+newDataprocProjectsLocationsSessionTemplatesDelete ::+  -- |  Required. The name of the session template resource to delete. See 'name'.+  Core.Text ->+  DataprocProjectsLocationsSessionTemplatesDelete+newDataprocProjectsLocationsSessionTemplatesDelete name =+  DataprocProjectsLocationsSessionTemplatesDelete+    { xgafv =+        Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      name = name,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance+  Core.GoogleRequest+    DataprocProjectsLocationsSessionTemplatesDelete+  where+  type Rs DataprocProjectsLocationsSessionTemplatesDelete = Empty+  type+    Scopes DataprocProjectsLocationsSessionTemplatesDelete =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsLocationsSessionTemplatesDelete {..} =+    go+      name+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      dataprocService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy DataprocProjectsLocationsSessionTemplatesDeleteResource+          )+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/SessionTemplates/Get.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.Dataproc.Projects.Locations.SessionTemplates.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 resource representation for a session template.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.sessionTemplates.get@.+module Gogol.Dataproc.Projects.Locations.SessionTemplates.Get+  ( -- * Resource+    DataprocProjectsLocationsSessionTemplatesGetResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsSessionTemplatesGet (..),+    newDataprocProjectsLocationsSessionTemplatesGet,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.sessionTemplates.get@ method which the+-- 'DataprocProjectsLocationsSessionTemplatesGet' request conforms to.+type DataprocProjectsLocationsSessionTemplatesGetResource =+  "v1"+    Core.:> Core.Capture "name" 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] SessionTemplate++-- | Gets the resource representation for a session template.+--+-- /See:/ 'newDataprocProjectsLocationsSessionTemplatesGet' smart constructor.+data DataprocProjectsLocationsSessionTemplatesGet = DataprocProjectsLocationsSessionTemplatesGet+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The name of the session template to retrieve.+    name :: 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 'DataprocProjectsLocationsSessionTemplatesGet' with the minimum fields required to make a request.+newDataprocProjectsLocationsSessionTemplatesGet ::+  -- |  Required. The name of the session template to retrieve. See 'name'.+  Core.Text ->+  DataprocProjectsLocationsSessionTemplatesGet+newDataprocProjectsLocationsSessionTemplatesGet name =+  DataprocProjectsLocationsSessionTemplatesGet+    { xgafv =+        Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      name = name,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance+  Core.GoogleRequest+    DataprocProjectsLocationsSessionTemplatesGet+  where+  type+    Rs DataprocProjectsLocationsSessionTemplatesGet =+      SessionTemplate+  type+    Scopes DataprocProjectsLocationsSessionTemplatesGet =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsLocationsSessionTemplatesGet {..} =+    go+      name+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      dataprocService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy DataprocProjectsLocationsSessionTemplatesGetResource+          )+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/SessionTemplates/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.Dataproc.Projects.Locations.SessionTemplates.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 session templates.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.sessionTemplates.list@.+module Gogol.Dataproc.Projects.Locations.SessionTemplates.List+  ( -- * Resource+    DataprocProjectsLocationsSessionTemplatesListResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsSessionTemplatesList (..),+    newDataprocProjectsLocationsSessionTemplatesList,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.sessionTemplates.list@ method which the+-- 'DataprocProjectsLocationsSessionTemplatesList' request conforms to.+type DataprocProjectsLocationsSessionTemplatesListResource =+  "v1"+    Core.:> Core.Capture "parent" Core.Text+    Core.:> "sessionTemplates"+    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 "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] ListSessionTemplatesResponse++-- | Lists session templates.+--+-- /See:/ 'newDataprocProjectsLocationsSessionTemplatesList' smart constructor.+data DataprocProjectsLocationsSessionTemplatesList = DataprocProjectsLocationsSessionTemplatesList+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Optional. A filter for the session templates to return in the response. Filters are case sensitive and have the following syntax:field = value AND field = value ...+    filter :: (Core.Maybe Core.Text),+    -- | Optional. The maximum number of sessions to return in each response. The service may return fewer than this value.+    pageSize :: (Core.Maybe Core.Int32),+    -- | Optional. A page token received from a previous ListSessions call. Provide this token to retrieve the subsequent page.+    pageToken :: (Core.Maybe Core.Text),+    -- | Required. The parent that owns this collection of session templates.+    parent :: 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 'DataprocProjectsLocationsSessionTemplatesList' with the minimum fields required to make a request.+newDataprocProjectsLocationsSessionTemplatesList ::+  -- |  Required. The parent that owns this collection of session templates. See 'parent'.+  Core.Text ->+  DataprocProjectsLocationsSessionTemplatesList+newDataprocProjectsLocationsSessionTemplatesList parent =+  DataprocProjectsLocationsSessionTemplatesList+    { xgafv =+        Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      filter = Core.Nothing,+      pageSize = Core.Nothing,+      pageToken = Core.Nothing,+      parent = parent,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance+  Core.GoogleRequest+    DataprocProjectsLocationsSessionTemplatesList+  where+  type+    Rs DataprocProjectsLocationsSessionTemplatesList =+      ListSessionTemplatesResponse+  type+    Scopes DataprocProjectsLocationsSessionTemplatesList =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsLocationsSessionTemplatesList {..} =+    go+      parent+      xgafv+      accessToken+      callback+      filter+      pageSize+      pageToken+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      dataprocService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy DataprocProjectsLocationsSessionTemplatesListResource+          )+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/SessionTemplates/Patch.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.Dataproc.Projects.Locations.SessionTemplates.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 the session template synchronously.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.sessionTemplates.patch@.+module Gogol.Dataproc.Projects.Locations.SessionTemplates.Patch+  ( -- * Resource+    DataprocProjectsLocationsSessionTemplatesPatchResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsSessionTemplatesPatch (..),+    newDataprocProjectsLocationsSessionTemplatesPatch,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.sessionTemplates.patch@ method which the+-- 'DataprocProjectsLocationsSessionTemplatesPatch' request conforms to.+type DataprocProjectsLocationsSessionTemplatesPatchResource =+  "v1"+    Core.:> Core.Capture "name" 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] SessionTemplate+    Core.:> Core.Patch '[Core.JSON] SessionTemplate++-- | Updates the session template synchronously.+--+-- /See:/ 'newDataprocProjectsLocationsSessionTemplatesPatch' smart constructor.+data DataprocProjectsLocationsSessionTemplatesPatch = DataprocProjectsLocationsSessionTemplatesPatch+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The resource name of the session template.+    name :: Core.Text,+    -- | Multipart request metadata.+    payload :: SessionTemplate,+    -- | 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 'DataprocProjectsLocationsSessionTemplatesPatch' with the minimum fields required to make a request.+newDataprocProjectsLocationsSessionTemplatesPatch ::+  -- |  Required. The resource name of the session template. See 'name'.+  Core.Text ->+  -- |  Multipart request metadata. See 'payload'.+  SessionTemplate ->+  DataprocProjectsLocationsSessionTemplatesPatch+newDataprocProjectsLocationsSessionTemplatesPatch name payload =+  DataprocProjectsLocationsSessionTemplatesPatch+    { xgafv =+        Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      name = name,+      payload = payload,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance+  Core.GoogleRequest+    DataprocProjectsLocationsSessionTemplatesPatch+  where+  type+    Rs DataprocProjectsLocationsSessionTemplatesPatch =+      SessionTemplate+  type+    Scopes DataprocProjectsLocationsSessionTemplatesPatch =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsLocationsSessionTemplatesPatch {..} =+    go+      name+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      payload+      dataprocService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy DataprocProjectsLocationsSessionTemplatesPatchResource+          )+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/Sessions/Create.hs view
@@ -0,0 +1,129 @@+{-# 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.Dataproc.Projects.Locations.Sessions.Create+-- 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)+--+-- Create an interactive session asynchronously.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.sessions.create@.+module Gogol.Dataproc.Projects.Locations.Sessions.Create+  ( -- * Resource+    DataprocProjectsLocationsSessionsCreateResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsSessionsCreate (..),+    newDataprocProjectsLocationsSessionsCreate,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.sessions.create@ method which the+-- 'DataprocProjectsLocationsSessionsCreate' request conforms to.+type DataprocProjectsLocationsSessionsCreateResource =+  "v1"+    Core.:> Core.Capture "parent" Core.Text+    Core.:> "sessions"+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "requestId" Core.Text+    Core.:> Core.QueryParam "sessionId" 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] Session+    Core.:> Core.Post '[Core.JSON] Operation++-- | Create an interactive session asynchronously.+--+-- /See:/ 'newDataprocProjectsLocationsSessionsCreate' smart constructor.+data DataprocProjectsLocationsSessionsCreate = DataprocProjectsLocationsSessionsCreate+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The parent resource where this session will be created.+    parent :: Core.Text,+    -- | Multipart request metadata.+    payload :: Session,+    -- | Optional. A unique ID used to identify the request. If the service receives two CreateSessionRequests (https:\/\/cloud.google.com\/dataproc\/docs\/reference\/rpc\/google.cloud.dataproc.v1#google.cloud.dataproc.v1.CreateSessionRequest)s with the same ID, the second request is ignored, and the first Session is created and stored in the backend.Recommendation: Set this value to a UUID (https:\/\/en.wikipedia.org\/wiki\/Universally/unique/identifier).The value must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.+    requestId :: (Core.Maybe Core.Text),+    -- | Required. The ID to use for the session, which becomes the final component of the session\'s resource name.This value must be 4-63 characters. Valid characters are \/a-z-\/.+    sessionId :: (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 'DataprocProjectsLocationsSessionsCreate' with the minimum fields required to make a request.+newDataprocProjectsLocationsSessionsCreate ::+  -- |  Required. The parent resource where this session will be created. See 'parent'.+  Core.Text ->+  -- |  Multipart request metadata. See 'payload'.+  Session ->+  DataprocProjectsLocationsSessionsCreate+newDataprocProjectsLocationsSessionsCreate parent payload =+  DataprocProjectsLocationsSessionsCreate+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      parent = parent,+      payload = payload,+      requestId = Core.Nothing,+      sessionId = Core.Nothing,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest DataprocProjectsLocationsSessionsCreate where+  type Rs DataprocProjectsLocationsSessionsCreate = Operation+  type+    Scopes DataprocProjectsLocationsSessionsCreate =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsLocationsSessionsCreate {..} =+    go+      parent+      xgafv+      accessToken+      callback+      requestId+      sessionId+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      payload+      dataprocService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy DataprocProjectsLocationsSessionsCreateResource+          )+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/Sessions/Delete.hs view
@@ -0,0 +1,116 @@+{-# 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.Dataproc.Projects.Locations.Sessions.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 interactive session resource. If the session is not in terminal state, it is terminated, and then deleted.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.sessions.delete@.+module Gogol.Dataproc.Projects.Locations.Sessions.Delete+  ( -- * Resource+    DataprocProjectsLocationsSessionsDeleteResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsSessionsDelete (..),+    newDataprocProjectsLocationsSessionsDelete,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.sessions.delete@ method which the+-- 'DataprocProjectsLocationsSessionsDelete' request conforms to.+type DataprocProjectsLocationsSessionsDeleteResource =+  "v1"+    Core.:> Core.Capture "name" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "requestId" 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] Operation++-- | Deletes the interactive session resource. If the session is not in terminal state, it is terminated, and then deleted.+--+-- /See:/ 'newDataprocProjectsLocationsSessionsDelete' smart constructor.+data DataprocProjectsLocationsSessionsDelete = DataprocProjectsLocationsSessionsDelete+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The name of the session resource to delete.+    name :: Core.Text,+    -- | Optional. A unique ID used to identify the request. If the service receives two DeleteSessionRequest (https:\/\/cloud.google.com\/dataproc\/docs\/reference\/rpc\/google.cloud.dataproc.v1#google.cloud.dataproc.v1.DeleteSessionRequest)s with the same ID, the second request is ignored.Recommendation: Set this value to a UUID (https:\/\/en.wikipedia.org\/wiki\/Universally/unique/identifier).The value must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.+    requestId :: (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 'DataprocProjectsLocationsSessionsDelete' with the minimum fields required to make a request.+newDataprocProjectsLocationsSessionsDelete ::+  -- |  Required. The name of the session resource to delete. See 'name'.+  Core.Text ->+  DataprocProjectsLocationsSessionsDelete+newDataprocProjectsLocationsSessionsDelete name =+  DataprocProjectsLocationsSessionsDelete+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      name = name,+      requestId = Core.Nothing,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest DataprocProjectsLocationsSessionsDelete where+  type Rs DataprocProjectsLocationsSessionsDelete = Operation+  type+    Scopes DataprocProjectsLocationsSessionsDelete =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsLocationsSessionsDelete {..} =+    go+      name+      xgafv+      accessToken+      callback+      requestId+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      dataprocService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy DataprocProjectsLocationsSessionsDeleteResource+          )+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/Sessions/Get.hs view
@@ -0,0 +1,111 @@+{-# 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.Dataproc.Projects.Locations.Sessions.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 resource representation for an interactive session.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.sessions.get@.+module Gogol.Dataproc.Projects.Locations.Sessions.Get+  ( -- * Resource+    DataprocProjectsLocationsSessionsGetResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsSessionsGet (..),+    newDataprocProjectsLocationsSessionsGet,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.sessions.get@ method which the+-- 'DataprocProjectsLocationsSessionsGet' request conforms to.+type DataprocProjectsLocationsSessionsGetResource =+  "v1"+    Core.:> Core.Capture "name" 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] Session++-- | Gets the resource representation for an interactive session.+--+-- /See:/ 'newDataprocProjectsLocationsSessionsGet' smart constructor.+data DataprocProjectsLocationsSessionsGet = DataprocProjectsLocationsSessionsGet+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The name of the session to retrieve.+    name :: 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 'DataprocProjectsLocationsSessionsGet' with the minimum fields required to make a request.+newDataprocProjectsLocationsSessionsGet ::+  -- |  Required. The name of the session to retrieve. See 'name'.+  Core.Text ->+  DataprocProjectsLocationsSessionsGet+newDataprocProjectsLocationsSessionsGet name =+  DataprocProjectsLocationsSessionsGet+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      name = name,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest DataprocProjectsLocationsSessionsGet where+  type Rs DataprocProjectsLocationsSessionsGet = Session+  type+    Scopes DataprocProjectsLocationsSessionsGet =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsLocationsSessionsGet {..} =+    go+      name+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      dataprocService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy DataprocProjectsLocationsSessionsGetResource+          )+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/Sessions/List.hs view
@@ -0,0 +1,129 @@+{-# 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.Dataproc.Projects.Locations.Sessions.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 interactive sessions.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.sessions.list@.+module Gogol.Dataproc.Projects.Locations.Sessions.List+  ( -- * Resource+    DataprocProjectsLocationsSessionsListResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsSessionsList (..),+    newDataprocProjectsLocationsSessionsList,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.sessions.list@ method which the+-- 'DataprocProjectsLocationsSessionsList' request conforms to.+type DataprocProjectsLocationsSessionsListResource =+  "v1"+    Core.:> Core.Capture "parent" Core.Text+    Core.:> "sessions"+    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 "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] ListSessionsResponse++-- | Lists interactive sessions.+--+-- /See:/ 'newDataprocProjectsLocationsSessionsList' smart constructor.+data DataprocProjectsLocationsSessionsList = DataprocProjectsLocationsSessionsList+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Optional. A filter for the sessions to return in the response.A filter is a logical expression constraining the values of various fields in each session resource. Filters are case sensitive, and may contain multiple clauses combined with logical operators (AND, OR). Supported fields are session/id, session/uuid, state, create/time, and labels.Example: state = ACTIVE and create/time \< \"2023-01-01T00:00:00Z\" is a filter for sessions in an ACTIVE state that were created before 2023-01-01. state = ACTIVE and labels.environment=production is a filter for sessions in an ACTIVE state that have a production environment label.See https:\/\/google.aip.dev\/assets\/misc\/ebnf-filtering.txt for a detailed description of the filter syntax and a list of supported comparators.+    filter :: (Core.Maybe Core.Text),+    -- | Optional. The maximum number of sessions to return in each response. The service may return fewer than this value.+    pageSize :: (Core.Maybe Core.Int32),+    -- | Optional. A page token received from a previous ListSessions call. Provide this token to retrieve the subsequent page.+    pageToken :: (Core.Maybe Core.Text),+    -- | Required. The parent, which owns this collection of sessions.+    parent :: 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 'DataprocProjectsLocationsSessionsList' with the minimum fields required to make a request.+newDataprocProjectsLocationsSessionsList ::+  -- |  Required. The parent, which owns this collection of sessions. See 'parent'.+  Core.Text ->+  DataprocProjectsLocationsSessionsList+newDataprocProjectsLocationsSessionsList parent =+  DataprocProjectsLocationsSessionsList+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      filter = Core.Nothing,+      pageSize = Core.Nothing,+      pageToken = Core.Nothing,+      parent = parent,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest DataprocProjectsLocationsSessionsList where+  type+    Rs DataprocProjectsLocationsSessionsList =+      ListSessionsResponse+  type+    Scopes DataprocProjectsLocationsSessionsList =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsLocationsSessionsList {..} =+    go+      parent+      xgafv+      accessToken+      callback+      filter+      pageSize+      pageToken+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      dataprocService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy DataprocProjectsLocationsSessionsListResource+          )+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/Sessions/SparkApplications/Access.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.Dataproc.Projects.Locations.Sessions.SparkApplications.Access+-- 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)+--+-- Obtain high level information corresponding to a single Spark Application.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.sessions.sparkApplications.access@.+module Gogol.Dataproc.Projects.Locations.Sessions.SparkApplications.Access+  ( -- * Resource+    DataprocProjectsLocationsSessionsSparkApplicationsAccessResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsSessionsSparkApplicationsAccess (..),+    newDataprocProjectsLocationsSessionsSparkApplicationsAccess,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.sessions.sparkApplications.access@ method which the+-- 'DataprocProjectsLocationsSessionsSparkApplicationsAccess' request conforms to.+type DataprocProjectsLocationsSessionsSparkApplicationsAccessResource =+  "v1"+    Core.:> Core.CaptureMode "name" "access" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "parent" 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] AccessSessionSparkApplicationResponse++-- | Obtain high level information corresponding to a single Spark Application.+--+-- /See:/ 'newDataprocProjectsLocationsSessionsSparkApplicationsAccess' smart constructor.+data DataprocProjectsLocationsSessionsSparkApplicationsAccess = DataprocProjectsLocationsSessionsSparkApplicationsAccess+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The fully qualified name of the session to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/sessions\/SESSION/ID\/sparkApplications\/APPLICATION/ID\"+    name :: Core.Text,+    -- | Required. Parent (Session) resource reference.+    parent :: (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 'DataprocProjectsLocationsSessionsSparkApplicationsAccess' with the minimum fields required to make a request.+newDataprocProjectsLocationsSessionsSparkApplicationsAccess ::+  -- |  Required. The fully qualified name of the session to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/sessions\/SESSION/ID\/sparkApplications\/APPLICATION/ID\" See 'name'.+  Core.Text ->+  DataprocProjectsLocationsSessionsSparkApplicationsAccess+newDataprocProjectsLocationsSessionsSparkApplicationsAccess name =+  DataprocProjectsLocationsSessionsSparkApplicationsAccess+    { xgafv =+        Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      name = name,+      parent = Core.Nothing,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance+  Core.GoogleRequest+    DataprocProjectsLocationsSessionsSparkApplicationsAccess+  where+  type+    Rs DataprocProjectsLocationsSessionsSparkApplicationsAccess =+      AccessSessionSparkApplicationResponse+  type+    Scopes+      DataprocProjectsLocationsSessionsSparkApplicationsAccess =+      '[CloudPlatform'FullControl]+  requestClient+    DataprocProjectsLocationsSessionsSparkApplicationsAccess {..} =+      go+        name+        xgafv+        accessToken+        callback+        parent+        uploadType+        uploadProtocol+        (Core.Just Core.AltJSON)+        dataprocService+      where+        go =+          Core.buildClient+            ( Core.Proxy ::+                Core.Proxy+                  DataprocProjectsLocationsSessionsSparkApplicationsAccessResource+            )+            Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/Sessions/SparkApplications/AccessEnvironmentInfo.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.Dataproc.Projects.Locations.Sessions.SparkApplications.AccessEnvironmentInfo+-- 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)+--+-- Obtain environment details for a Spark Application+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.sessions.sparkApplications.accessEnvironmentInfo@.+module Gogol.Dataproc.Projects.Locations.Sessions.SparkApplications.AccessEnvironmentInfo+  ( -- * Resource+    DataprocProjectsLocationsSessionsSparkApplicationsAccessEnvironmentInfoResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsSessionsSparkApplicationsAccessEnvironmentInfo (..),+    newDataprocProjectsLocationsSessionsSparkApplicationsAccessEnvironmentInfo,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.sessions.sparkApplications.accessEnvironmentInfo@ method which the+-- 'DataprocProjectsLocationsSessionsSparkApplicationsAccessEnvironmentInfo' request conforms to.+type DataprocProjectsLocationsSessionsSparkApplicationsAccessEnvironmentInfoResource =+  "v1"+    Core.:> Core.CaptureMode "name" "accessEnvironmentInfo" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "parent" 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]+              AccessSessionSparkApplicationEnvironmentInfoResponse++-- | Obtain environment details for a Spark Application+--+-- /See:/ 'newDataprocProjectsLocationsSessionsSparkApplicationsAccessEnvironmentInfo' smart constructor.+data DataprocProjectsLocationsSessionsSparkApplicationsAccessEnvironmentInfo = DataprocProjectsLocationsSessionsSparkApplicationsAccessEnvironmentInfo+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The fully qualified name of the session to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/sessions\/SESSION/ID\/sparkApplications\/APPLICATION/ID\"+    name :: Core.Text,+    -- | Required. Parent (Session) resource reference.+    parent :: (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 'DataprocProjectsLocationsSessionsSparkApplicationsAccessEnvironmentInfo' with the minimum fields required to make a request.+newDataprocProjectsLocationsSessionsSparkApplicationsAccessEnvironmentInfo ::+  -- |  Required. The fully qualified name of the session to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/sessions\/SESSION/ID\/sparkApplications\/APPLICATION/ID\" See 'name'.+  Core.Text ->+  DataprocProjectsLocationsSessionsSparkApplicationsAccessEnvironmentInfo+newDataprocProjectsLocationsSessionsSparkApplicationsAccessEnvironmentInfo+  name =+    DataprocProjectsLocationsSessionsSparkApplicationsAccessEnvironmentInfo+      { xgafv =+          Core.Nothing,+        accessToken =+          Core.Nothing,+        callback = Core.Nothing,+        name = name,+        parent = Core.Nothing,+        uploadType =+          Core.Nothing,+        uploadProtocol =+          Core.Nothing+      }++instance+  Core.GoogleRequest+    DataprocProjectsLocationsSessionsSparkApplicationsAccessEnvironmentInfo+  where+  type+    Rs+      DataprocProjectsLocationsSessionsSparkApplicationsAccessEnvironmentInfo =+      AccessSessionSparkApplicationEnvironmentInfoResponse+  type+    Scopes+      DataprocProjectsLocationsSessionsSparkApplicationsAccessEnvironmentInfo =+      '[CloudPlatform'FullControl]+  requestClient+    DataprocProjectsLocationsSessionsSparkApplicationsAccessEnvironmentInfo {..} =+      go+        name+        xgafv+        accessToken+        callback+        parent+        uploadType+        uploadProtocol+        (Core.Just Core.AltJSON)+        dataprocService+      where+        go =+          Core.buildClient+            ( Core.Proxy ::+                Core.Proxy+                  DataprocProjectsLocationsSessionsSparkApplicationsAccessEnvironmentInfoResource+            )+            Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/Sessions/SparkApplications/AccessJob.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.Dataproc.Projects.Locations.Sessions.SparkApplications.AccessJob+-- 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)+--+-- Obtain data corresponding to a spark job for a Spark Application.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.sessions.sparkApplications.accessJob@.+module Gogol.Dataproc.Projects.Locations.Sessions.SparkApplications.AccessJob+  ( -- * Resource+    DataprocProjectsLocationsSessionsSparkApplicationsAccessJobResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsSessionsSparkApplicationsAccessJob (..),+    newDataprocProjectsLocationsSessionsSparkApplicationsAccessJob,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.sessions.sparkApplications.accessJob@ method which the+-- 'DataprocProjectsLocationsSessionsSparkApplicationsAccessJob' request conforms to.+type DataprocProjectsLocationsSessionsSparkApplicationsAccessJobResource =+  "v1"+    Core.:> Core.CaptureMode "name" "accessJob" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "jobId" Core.Int64+    Core.:> Core.QueryParam "parent" 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] AccessSessionSparkApplicationJobResponse++-- | Obtain data corresponding to a spark job for a Spark Application.+--+-- /See:/ 'newDataprocProjectsLocationsSessionsSparkApplicationsAccessJob' smart constructor.+data DataprocProjectsLocationsSessionsSparkApplicationsAccessJob = DataprocProjectsLocationsSessionsSparkApplicationsAccessJob+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. Job ID to fetch data for.+    jobId :: (Core.Maybe Core.Int64),+    -- | Required. The fully qualified name of the session to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/sessions\/SESSION/ID\/sparkApplications\/APPLICATION/ID\"+    name :: Core.Text,+    -- | Required. Parent (Session) resource reference.+    parent :: (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 'DataprocProjectsLocationsSessionsSparkApplicationsAccessJob' with the minimum fields required to make a request.+newDataprocProjectsLocationsSessionsSparkApplicationsAccessJob ::+  -- |  Required. The fully qualified name of the session to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/sessions\/SESSION/ID\/sparkApplications\/APPLICATION/ID\" See 'name'.+  Core.Text ->+  DataprocProjectsLocationsSessionsSparkApplicationsAccessJob+newDataprocProjectsLocationsSessionsSparkApplicationsAccessJob name =+  DataprocProjectsLocationsSessionsSparkApplicationsAccessJob+    { xgafv =+        Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      jobId = Core.Nothing,+      name = name,+      parent = Core.Nothing,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance+  Core.GoogleRequest+    DataprocProjectsLocationsSessionsSparkApplicationsAccessJob+  where+  type+    Rs DataprocProjectsLocationsSessionsSparkApplicationsAccessJob =+      AccessSessionSparkApplicationJobResponse+  type+    Scopes+      DataprocProjectsLocationsSessionsSparkApplicationsAccessJob =+      '[CloudPlatform'FullControl]+  requestClient+    DataprocProjectsLocationsSessionsSparkApplicationsAccessJob {..} =+      go+        name+        xgafv+        accessToken+        callback+        jobId+        parent+        uploadType+        uploadProtocol+        (Core.Just Core.AltJSON)+        dataprocService+      where+        go =+          Core.buildClient+            ( Core.Proxy ::+                Core.Proxy+                  DataprocProjectsLocationsSessionsSparkApplicationsAccessJobResource+            )+            Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/Sessions/SparkApplications/AccessSqlPlan.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.Dataproc.Projects.Locations.Sessions.SparkApplications.AccessSqlPlan+-- 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)+--+-- Obtain Spark Plan Graph for a Spark Application SQL execution. Limits the number of clusters returned as part of the graph to 10000.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.sessions.sparkApplications.accessSqlPlan@.+module Gogol.Dataproc.Projects.Locations.Sessions.SparkApplications.AccessSqlPlan+  ( -- * Resource+    DataprocProjectsLocationsSessionsSparkApplicationsAccessSqlPlanResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsSessionsSparkApplicationsAccessSqlPlan (..),+    newDataprocProjectsLocationsSessionsSparkApplicationsAccessSqlPlan,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.sessions.sparkApplications.accessSqlPlan@ method which the+-- 'DataprocProjectsLocationsSessionsSparkApplicationsAccessSqlPlan' request conforms to.+type DataprocProjectsLocationsSessionsSparkApplicationsAccessSqlPlanResource =+  "v1"+    Core.:> Core.CaptureMode "name" "accessSqlPlan" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "executionId" Core.Int64+    Core.:> Core.QueryParam "parent" 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]+              AccessSessionSparkApplicationSqlSparkPlanGraphResponse++-- | Obtain Spark Plan Graph for a Spark Application SQL execution. Limits the number of clusters returned as part of the graph to 10000.+--+-- /See:/ 'newDataprocProjectsLocationsSessionsSparkApplicationsAccessSqlPlan' smart constructor.+data DataprocProjectsLocationsSessionsSparkApplicationsAccessSqlPlan = DataprocProjectsLocationsSessionsSparkApplicationsAccessSqlPlan+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. Execution ID+    executionId :: (Core.Maybe Core.Int64),+    -- | Required. The fully qualified name of the session to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/sessions\/SESSION/ID\/sparkApplications\/APPLICATION/ID\"+    name :: Core.Text,+    -- | Required. Parent (Session) resource reference.+    parent :: (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 'DataprocProjectsLocationsSessionsSparkApplicationsAccessSqlPlan' with the minimum fields required to make a request.+newDataprocProjectsLocationsSessionsSparkApplicationsAccessSqlPlan ::+  -- |  Required. The fully qualified name of the session to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/sessions\/SESSION/ID\/sparkApplications\/APPLICATION/ID\" See 'name'.+  Core.Text ->+  DataprocProjectsLocationsSessionsSparkApplicationsAccessSqlPlan+newDataprocProjectsLocationsSessionsSparkApplicationsAccessSqlPlan+  name =+    DataprocProjectsLocationsSessionsSparkApplicationsAccessSqlPlan+      { xgafv =+          Core.Nothing,+        accessToken = Core.Nothing,+        callback = Core.Nothing,+        executionId = Core.Nothing,+        name = name,+        parent = Core.Nothing,+        uploadType = Core.Nothing,+        uploadProtocol = Core.Nothing+      }++instance+  Core.GoogleRequest+    DataprocProjectsLocationsSessionsSparkApplicationsAccessSqlPlan+  where+  type+    Rs+      DataprocProjectsLocationsSessionsSparkApplicationsAccessSqlPlan =+      AccessSessionSparkApplicationSqlSparkPlanGraphResponse+  type+    Scopes+      DataprocProjectsLocationsSessionsSparkApplicationsAccessSqlPlan =+      '[CloudPlatform'FullControl]+  requestClient+    DataprocProjectsLocationsSessionsSparkApplicationsAccessSqlPlan {..} =+      go+        name+        xgafv+        accessToken+        callback+        executionId+        parent+        uploadType+        uploadProtocol+        (Core.Just Core.AltJSON)+        dataprocService+      where+        go =+          Core.buildClient+            ( Core.Proxy ::+                Core.Proxy+                  DataprocProjectsLocationsSessionsSparkApplicationsAccessSqlPlanResource+            )+            Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/Sessions/SparkApplications/AccessSqlQuery.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.Dataproc.Projects.Locations.Sessions.SparkApplications.AccessSqlQuery+-- 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)+--+-- Obtain data corresponding to a particular SQL Query for a Spark Application.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.sessions.sparkApplications.accessSqlQuery@.+module Gogol.Dataproc.Projects.Locations.Sessions.SparkApplications.AccessSqlQuery+  ( -- * Resource+    DataprocProjectsLocationsSessionsSparkApplicationsAccessSqlQueryResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsSessionsSparkApplicationsAccessSqlQuery (..),+    newDataprocProjectsLocationsSessionsSparkApplicationsAccessSqlQuery,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.sessions.sparkApplications.accessSqlQuery@ method which the+-- 'DataprocProjectsLocationsSessionsSparkApplicationsAccessSqlQuery' request conforms to.+type DataprocProjectsLocationsSessionsSparkApplicationsAccessSqlQueryResource =+  "v1"+    Core.:> Core.CaptureMode "name" "accessSqlQuery" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "details" Core.Bool+    Core.:> Core.QueryParam "executionId" Core.Int64+    Core.:> Core.QueryParam "parent" Core.Text+    Core.:> Core.QueryParam "planDescription" Core.Bool+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Get '[Core.JSON] AccessSessionSparkApplicationSqlQueryResponse++-- | Obtain data corresponding to a particular SQL Query for a Spark Application.+--+-- /See:/ 'newDataprocProjectsLocationsSessionsSparkApplicationsAccessSqlQuery' smart constructor.+data DataprocProjectsLocationsSessionsSparkApplicationsAccessSqlQuery = DataprocProjectsLocationsSessionsSparkApplicationsAccessSqlQuery+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Optional. Lists\/ hides details of Spark plan nodes. True is set to list and false to hide.+    details :: (Core.Maybe Core.Bool),+    -- | Required. Execution ID+    executionId :: (Core.Maybe Core.Int64),+    -- | Required. The fully qualified name of the session to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/sessions\/SESSION/ID\/sparkApplications\/APPLICATION/ID\"+    name :: Core.Text,+    -- | Required. Parent (Session) resource reference.+    parent :: (Core.Maybe Core.Text),+    -- | Optional. Enables\/ disables physical plan description on demand+    planDescription :: (Core.Maybe Core.Bool),+    -- | 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 'DataprocProjectsLocationsSessionsSparkApplicationsAccessSqlQuery' with the minimum fields required to make a request.+newDataprocProjectsLocationsSessionsSparkApplicationsAccessSqlQuery ::+  -- |  Required. The fully qualified name of the session to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/sessions\/SESSION/ID\/sparkApplications\/APPLICATION/ID\" See 'name'.+  Core.Text ->+  DataprocProjectsLocationsSessionsSparkApplicationsAccessSqlQuery+newDataprocProjectsLocationsSessionsSparkApplicationsAccessSqlQuery+  name =+    DataprocProjectsLocationsSessionsSparkApplicationsAccessSqlQuery+      { xgafv =+          Core.Nothing,+        accessToken = Core.Nothing,+        callback = Core.Nothing,+        details = Core.Nothing,+        executionId = Core.Nothing,+        name = name,+        parent = Core.Nothing,+        planDescription = Core.Nothing,+        uploadType = Core.Nothing,+        uploadProtocol = Core.Nothing+      }++instance+  Core.GoogleRequest+    DataprocProjectsLocationsSessionsSparkApplicationsAccessSqlQuery+  where+  type+    Rs+      DataprocProjectsLocationsSessionsSparkApplicationsAccessSqlQuery =+      AccessSessionSparkApplicationSqlQueryResponse+  type+    Scopes+      DataprocProjectsLocationsSessionsSparkApplicationsAccessSqlQuery =+      '[CloudPlatform'FullControl]+  requestClient+    DataprocProjectsLocationsSessionsSparkApplicationsAccessSqlQuery {..} =+      go+        name+        xgafv+        accessToken+        callback+        details+        executionId+        parent+        planDescription+        uploadType+        uploadProtocol+        (Core.Just Core.AltJSON)+        dataprocService+      where+        go =+          Core.buildClient+            ( Core.Proxy ::+                Core.Proxy+                  DataprocProjectsLocationsSessionsSparkApplicationsAccessSqlQueryResource+            )+            Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/Sessions/SparkApplications/AccessStageAttempt.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.Dataproc.Projects.Locations.Sessions.SparkApplications.AccessStageAttempt+-- 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)+--+-- Obtain data corresponding to a spark stage attempt for a Spark Application.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.sessions.sparkApplications.accessStageAttempt@.+module Gogol.Dataproc.Projects.Locations.Sessions.SparkApplications.AccessStageAttempt+  ( -- * Resource+    DataprocProjectsLocationsSessionsSparkApplicationsAccessStageAttemptResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsSessionsSparkApplicationsAccessStageAttempt (..),+    newDataprocProjectsLocationsSessionsSparkApplicationsAccessStageAttempt,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.sessions.sparkApplications.accessStageAttempt@ method which the+-- 'DataprocProjectsLocationsSessionsSparkApplicationsAccessStageAttempt' request conforms to.+type DataprocProjectsLocationsSessionsSparkApplicationsAccessStageAttemptResource =+  "v1"+    Core.:> Core.CaptureMode "name" "accessStageAttempt" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "parent" Core.Text+    Core.:> Core.QueryParam "stageAttemptId" Core.Int32+    Core.:> Core.QueryParam "stageId" Core.Int64+    Core.:> Core.QueryParam "summaryMetricsMask" 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]+              AccessSessionSparkApplicationStageAttemptResponse++-- | Obtain data corresponding to a spark stage attempt for a Spark Application.+--+-- /See:/ 'newDataprocProjectsLocationsSessionsSparkApplicationsAccessStageAttempt' smart constructor.+data DataprocProjectsLocationsSessionsSparkApplicationsAccessStageAttempt = DataprocProjectsLocationsSessionsSparkApplicationsAccessStageAttempt+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The fully qualified name of the session to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/sessions\/SESSION/ID\/sparkApplications\/APPLICATION/ID\"+    name :: Core.Text,+    -- | Required. Parent (Session) resource reference.+    parent :: (Core.Maybe Core.Text),+    -- | Required. Stage Attempt ID+    stageAttemptId :: (Core.Maybe Core.Int32),+    -- | Required. Stage ID+    stageId :: (Core.Maybe Core.Int64),+    -- | Optional. The list of summary metrics fields to include. Empty list will default to skip all summary metrics fields. Example, if the response should include TaskQuantileMetrics, the request should have task/quantile/metrics in summary/metrics/mask field+    summaryMetricsMask :: (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 'DataprocProjectsLocationsSessionsSparkApplicationsAccessStageAttempt' with the minimum fields required to make a request.+newDataprocProjectsLocationsSessionsSparkApplicationsAccessStageAttempt ::+  -- |  Required. The fully qualified name of the session to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/sessions\/SESSION/ID\/sparkApplications\/APPLICATION/ID\" See 'name'.+  Core.Text ->+  DataprocProjectsLocationsSessionsSparkApplicationsAccessStageAttempt+newDataprocProjectsLocationsSessionsSparkApplicationsAccessStageAttempt+  name =+    DataprocProjectsLocationsSessionsSparkApplicationsAccessStageAttempt+      { xgafv =+          Core.Nothing,+        accessToken = Core.Nothing,+        callback = Core.Nothing,+        name = name,+        parent = Core.Nothing,+        stageAttemptId =+          Core.Nothing,+        stageId = Core.Nothing,+        summaryMetricsMask =+          Core.Nothing,+        uploadType = Core.Nothing,+        uploadProtocol =+          Core.Nothing+      }++instance+  Core.GoogleRequest+    DataprocProjectsLocationsSessionsSparkApplicationsAccessStageAttempt+  where+  type+    Rs+      DataprocProjectsLocationsSessionsSparkApplicationsAccessStageAttempt =+      AccessSessionSparkApplicationStageAttemptResponse+  type+    Scopes+      DataprocProjectsLocationsSessionsSparkApplicationsAccessStageAttempt =+      '[CloudPlatform'FullControl]+  requestClient+    DataprocProjectsLocationsSessionsSparkApplicationsAccessStageAttempt {..} =+      go+        name+        xgafv+        accessToken+        callback+        parent+        stageAttemptId+        stageId+        summaryMetricsMask+        uploadType+        uploadProtocol+        (Core.Just Core.AltJSON)+        dataprocService+      where+        go =+          Core.buildClient+            ( Core.Proxy ::+                Core.Proxy+                  DataprocProjectsLocationsSessionsSparkApplicationsAccessStageAttemptResource+            )+            Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/Sessions/SparkApplications/AccessStageRddGraph.hs view
@@ -0,0 +1,136 @@+{-# 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.Dataproc.Projects.Locations.Sessions.SparkApplications.AccessStageRddGraph+-- 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)+--+-- Obtain RDD operation graph for a Spark Application Stage. Limits the number of clusters returned as part of the graph to 10000.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.sessions.sparkApplications.accessStageRddGraph@.+module Gogol.Dataproc.Projects.Locations.Sessions.SparkApplications.AccessStageRddGraph+  ( -- * Resource+    DataprocProjectsLocationsSessionsSparkApplicationsAccessStageRddGraphResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsSessionsSparkApplicationsAccessStageRddGraph (..),+    newDataprocProjectsLocationsSessionsSparkApplicationsAccessStageRddGraph,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.sessions.sparkApplications.accessStageRddGraph@ method which the+-- 'DataprocProjectsLocationsSessionsSparkApplicationsAccessStageRddGraph' request conforms to.+type DataprocProjectsLocationsSessionsSparkApplicationsAccessStageRddGraphResource =+  "v1"+    Core.:> Core.CaptureMode "name" "accessStageRddGraph" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "parent" Core.Text+    Core.:> Core.QueryParam "stageId" Core.Int64+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Get+              '[Core.JSON]+              AccessSessionSparkApplicationStageRddOperationGraphResponse++-- | Obtain RDD operation graph for a Spark Application Stage. Limits the number of clusters returned as part of the graph to 10000.+--+-- /See:/ 'newDataprocProjectsLocationsSessionsSparkApplicationsAccessStageRddGraph' smart constructor.+data DataprocProjectsLocationsSessionsSparkApplicationsAccessStageRddGraph = DataprocProjectsLocationsSessionsSparkApplicationsAccessStageRddGraph+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The fully qualified name of the session to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/sessions\/SESSION/ID\/sparkApplications\/APPLICATION/ID\"+    name :: Core.Text,+    -- | Required. Parent (Session) resource reference.+    parent :: (Core.Maybe Core.Text),+    -- | Required. Stage ID+    stageId :: (Core.Maybe Core.Int64),+    -- | 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 'DataprocProjectsLocationsSessionsSparkApplicationsAccessStageRddGraph' with the minimum fields required to make a request.+newDataprocProjectsLocationsSessionsSparkApplicationsAccessStageRddGraph ::+  -- |  Required. The fully qualified name of the session to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/sessions\/SESSION/ID\/sparkApplications\/APPLICATION/ID\" See 'name'.+  Core.Text ->+  DataprocProjectsLocationsSessionsSparkApplicationsAccessStageRddGraph+newDataprocProjectsLocationsSessionsSparkApplicationsAccessStageRddGraph+  name =+    DataprocProjectsLocationsSessionsSparkApplicationsAccessStageRddGraph+      { xgafv =+          Core.Nothing,+        accessToken =+          Core.Nothing,+        callback = Core.Nothing,+        name = name,+        parent = Core.Nothing,+        stageId = Core.Nothing,+        uploadType = Core.Nothing,+        uploadProtocol =+          Core.Nothing+      }++instance+  Core.GoogleRequest+    DataprocProjectsLocationsSessionsSparkApplicationsAccessStageRddGraph+  where+  type+    Rs+      DataprocProjectsLocationsSessionsSparkApplicationsAccessStageRddGraph =+      AccessSessionSparkApplicationStageRddOperationGraphResponse+  type+    Scopes+      DataprocProjectsLocationsSessionsSparkApplicationsAccessStageRddGraph =+      '[CloudPlatform'FullControl]+  requestClient+    DataprocProjectsLocationsSessionsSparkApplicationsAccessStageRddGraph {..} =+      go+        name+        xgafv+        accessToken+        callback+        parent+        stageId+        uploadType+        uploadProtocol+        (Core.Just Core.AltJSON)+        dataprocService+      where+        go =+          Core.buildClient+            ( Core.Proxy ::+                Core.Proxy+                  DataprocProjectsLocationsSessionsSparkApplicationsAccessStageRddGraphResource+            )+            Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/Sessions/SparkApplications/Search.hs view
@@ -0,0 +1,161 @@+{-# 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.Dataproc.Projects.Locations.Sessions.SparkApplications.Search+-- 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)+--+-- Obtain high level information and list of Spark Applications corresponding to a batch+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.sessions.sparkApplications.search@.+module Gogol.Dataproc.Projects.Locations.Sessions.SparkApplications.Search+  ( -- * Resource+    DataprocProjectsLocationsSessionsSparkApplicationsSearchResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsSessionsSparkApplicationsSearch (..),+    newDataprocProjectsLocationsSessionsSparkApplicationsSearch,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.sessions.sparkApplications.search@ method which the+-- 'DataprocProjectsLocationsSessionsSparkApplicationsSearch' request conforms to.+type DataprocProjectsLocationsSessionsSparkApplicationsSearchResource =+  "v1"+    Core.:> Core.Capture "parent" Core.Text+    Core.:> "sparkApplications:search"+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam+              "applicationStatus"+              ProjectsLocationsSessionsSparkApplicationsSearchApplicationStatus+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "maxEndTime" Core.DateTime+    Core.:> Core.QueryParam "maxTime" Core.DateTime+    Core.:> Core.QueryParam "minEndTime" Core.DateTime+    Core.:> Core.QueryParam "minTime" Core.DateTime+    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] SearchSessionSparkApplicationsResponse++-- | Obtain high level information and list of Spark Applications corresponding to a batch+--+-- /See:/ 'newDataprocProjectsLocationsSessionsSparkApplicationsSearch' smart constructor.+data DataprocProjectsLocationsSessionsSparkApplicationsSearch = DataprocProjectsLocationsSessionsSparkApplicationsSearch+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | Optional. Search only applications in the chosen state.+    applicationStatus ::+      ( Core.Maybe+          ProjectsLocationsSessionsSparkApplicationsSearchApplicationStatus+      ),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Optional. Latest end timestamp to list.+    maxEndTime :: (Core.Maybe Core.DateTime),+    -- | Optional. Latest start timestamp to list.+    maxTime :: (Core.Maybe Core.DateTime),+    -- | Optional. Earliest end timestamp to list.+    minEndTime :: (Core.Maybe Core.DateTime),+    -- | Optional. Earliest start timestamp to list.+    minTime :: (Core.Maybe Core.DateTime),+    -- | Optional. Maximum number of applications to return in each response. The service may return fewer than this. The default page size is 10; the maximum page size is 100.+    pageSize :: (Core.Maybe Core.Int32),+    -- | Optional. A page token received from a previous SearchSessionSparkApplications call. Provide this token to retrieve the subsequent page.+    pageToken :: (Core.Maybe Core.Text),+    -- | Required. The fully qualified name of the session to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/sessions\/SESSION_ID\"+    parent :: 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 'DataprocProjectsLocationsSessionsSparkApplicationsSearch' with the minimum fields required to make a request.+newDataprocProjectsLocationsSessionsSparkApplicationsSearch ::+  -- |  Required. The fully qualified name of the session to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/sessions\/SESSION_ID\" See 'parent'.+  Core.Text ->+  DataprocProjectsLocationsSessionsSparkApplicationsSearch+newDataprocProjectsLocationsSessionsSparkApplicationsSearch parent =+  DataprocProjectsLocationsSessionsSparkApplicationsSearch+    { xgafv =+        Core.Nothing,+      accessToken = Core.Nothing,+      applicationStatus = Core.Nothing,+      callback = Core.Nothing,+      maxEndTime = Core.Nothing,+      maxTime = Core.Nothing,+      minEndTime = Core.Nothing,+      minTime = Core.Nothing,+      pageSize = Core.Nothing,+      pageToken = Core.Nothing,+      parent = parent,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance+  Core.GoogleRequest+    DataprocProjectsLocationsSessionsSparkApplicationsSearch+  where+  type+    Rs DataprocProjectsLocationsSessionsSparkApplicationsSearch =+      SearchSessionSparkApplicationsResponse+  type+    Scopes+      DataprocProjectsLocationsSessionsSparkApplicationsSearch =+      '[CloudPlatform'FullControl]+  requestClient+    DataprocProjectsLocationsSessionsSparkApplicationsSearch {..} =+      go+        parent+        xgafv+        accessToken+        applicationStatus+        callback+        maxEndTime+        maxTime+        minEndTime+        minTime+        pageSize+        pageToken+        uploadType+        uploadProtocol+        (Core.Just Core.AltJSON)+        dataprocService+      where+        go =+          Core.buildClient+            ( Core.Proxy ::+                Core.Proxy+                  DataprocProjectsLocationsSessionsSparkApplicationsSearchResource+            )+            Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/Sessions/SparkApplications/SearchExecutorStageSummary.hs view
@@ -0,0 +1,158 @@+{-# 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.Dataproc.Projects.Locations.Sessions.SparkApplications.SearchExecutorStageSummary+-- 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)+--+-- Obtain executor summary with respect to a spark stage attempt.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.sessions.sparkApplications.searchExecutorStageSummary@.+module Gogol.Dataproc.Projects.Locations.Sessions.SparkApplications.SearchExecutorStageSummary+  ( -- * Resource+    DataprocProjectsLocationsSessionsSparkApplicationsSearchExecutorStageSummaryResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsSessionsSparkApplicationsSearchExecutorStageSummary (..),+    newDataprocProjectsLocationsSessionsSparkApplicationsSearchExecutorStageSummary,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.sessions.sparkApplications.searchExecutorStageSummary@ method which the+-- 'DataprocProjectsLocationsSessionsSparkApplicationsSearchExecutorStageSummary' request conforms to.+type DataprocProjectsLocationsSessionsSparkApplicationsSearchExecutorStageSummaryResource =+  "v1"+    Core.:> Core.CaptureMode "name" "searchExecutorStageSummary" Core.Text+    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 "parent" Core.Text+    Core.:> Core.QueryParam "stageAttemptId" Core.Int32+    Core.:> Core.QueryParam "stageId" Core.Int64+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Get+              '[Core.JSON]+              SearchSessionSparkApplicationExecutorStageSummaryResponse++-- | Obtain executor summary with respect to a spark stage attempt.+--+-- /See:/ 'newDataprocProjectsLocationsSessionsSparkApplicationsSearchExecutorStageSummary' smart constructor.+data DataprocProjectsLocationsSessionsSparkApplicationsSearchExecutorStageSummary = DataprocProjectsLocationsSessionsSparkApplicationsSearchExecutorStageSummary+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The fully qualified name of the session to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/sessions\/SESSION/ID\/sparkApplications\/APPLICATION/ID\"+    name :: Core.Text,+    -- | Optional. Maximum number of executors to return in each response. The service may return fewer than this. The default page size is 10; the maximum page size is 100.+    pageSize :: (Core.Maybe Core.Int32),+    -- | Optional. A page token received from a previous SearchSessionSparkApplicationExecutorStageSummary call. Provide this token to retrieve the subsequent page.+    pageToken :: (Core.Maybe Core.Text),+    -- | Required. Parent (Session) resource reference.+    parent :: (Core.Maybe Core.Text),+    -- | Required. Stage Attempt ID+    stageAttemptId :: (Core.Maybe Core.Int32),+    -- | Required. Stage ID+    stageId :: (Core.Maybe Core.Int64),+    -- | 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 'DataprocProjectsLocationsSessionsSparkApplicationsSearchExecutorStageSummary' with the minimum fields required to make a request.+newDataprocProjectsLocationsSessionsSparkApplicationsSearchExecutorStageSummary ::+  -- |  Required. The fully qualified name of the session to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/sessions\/SESSION/ID\/sparkApplications\/APPLICATION/ID\" See 'name'.+  Core.Text ->+  DataprocProjectsLocationsSessionsSparkApplicationsSearchExecutorStageSummary+newDataprocProjectsLocationsSessionsSparkApplicationsSearchExecutorStageSummary+  name =+    DataprocProjectsLocationsSessionsSparkApplicationsSearchExecutorStageSummary+      { xgafv =+          Core.Nothing,+        accessToken =+          Core.Nothing,+        callback =+          Core.Nothing,+        name = name,+        pageSize =+          Core.Nothing,+        pageToken =+          Core.Nothing,+        parent =+          Core.Nothing,+        stageAttemptId =+          Core.Nothing,+        stageId =+          Core.Nothing,+        uploadType =+          Core.Nothing,+        uploadProtocol =+          Core.Nothing+      }++instance+  Core.GoogleRequest+    DataprocProjectsLocationsSessionsSparkApplicationsSearchExecutorStageSummary+  where+  type+    Rs+      DataprocProjectsLocationsSessionsSparkApplicationsSearchExecutorStageSummary =+      SearchSessionSparkApplicationExecutorStageSummaryResponse+  type+    Scopes+      DataprocProjectsLocationsSessionsSparkApplicationsSearchExecutorStageSummary =+      '[CloudPlatform'FullControl]+  requestClient+    DataprocProjectsLocationsSessionsSparkApplicationsSearchExecutorStageSummary {..} =+      go+        name+        xgafv+        accessToken+        callback+        pageSize+        pageToken+        parent+        stageAttemptId+        stageId+        uploadType+        uploadProtocol+        (Core.Just Core.AltJSON)+        dataprocService+      where+        go =+          Core.buildClient+            ( Core.Proxy ::+                Core.Proxy+                  DataprocProjectsLocationsSessionsSparkApplicationsSearchExecutorStageSummaryResource+            )+            Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/Sessions/SparkApplications/SearchExecutors.hs view
@@ -0,0 +1,149 @@+{-# 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.Dataproc.Projects.Locations.Sessions.SparkApplications.SearchExecutors+-- 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)+--+-- Obtain data corresponding to executors for a Spark Application.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.sessions.sparkApplications.searchExecutors@.+module Gogol.Dataproc.Projects.Locations.Sessions.SparkApplications.SearchExecutors+  ( -- * Resource+    DataprocProjectsLocationsSessionsSparkApplicationsSearchExecutorsResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsSessionsSparkApplicationsSearchExecutors (..),+    newDataprocProjectsLocationsSessionsSparkApplicationsSearchExecutors,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.sessions.sparkApplications.searchExecutors@ method which the+-- 'DataprocProjectsLocationsSessionsSparkApplicationsSearchExecutors' request conforms to.+type DataprocProjectsLocationsSessionsSparkApplicationsSearchExecutorsResource =+  "v1"+    Core.:> Core.CaptureMode "name" "searchExecutors" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam+              "executorStatus"+              ProjectsLocationsSessionsSparkApplicationsSearchExecutorsExecutorStatus+    Core.:> Core.QueryParam "pageSize" Core.Int32+    Core.:> Core.QueryParam "pageToken" Core.Text+    Core.:> Core.QueryParam "parent" 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]+              SearchSessionSparkApplicationExecutorsResponse++-- | Obtain data corresponding to executors for a Spark Application.+--+-- /See:/ 'newDataprocProjectsLocationsSessionsSparkApplicationsSearchExecutors' smart constructor.+data DataprocProjectsLocationsSessionsSparkApplicationsSearchExecutors = DataprocProjectsLocationsSessionsSparkApplicationsSearchExecutors+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Optional. Filter to select whether active\/ dead or all executors should be selected.+    executorStatus ::+      ( Core.Maybe+          ProjectsLocationsSessionsSparkApplicationsSearchExecutorsExecutorStatus+      ),+    -- | Required. The fully qualified name of the session to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/sessions\/SESSION/ID\/sparkApplications\/APPLICATION/ID\"+    name :: Core.Text,+    -- | Optional. Maximum number of executors to return in each response. The service may return fewer than this. The default page size is 10; the maximum page size is 100.+    pageSize :: (Core.Maybe Core.Int32),+    -- | Optional. A page token received from a previous SearchSessionSparkApplicationExecutors call. Provide this token to retrieve the subsequent page.+    pageToken :: (Core.Maybe Core.Text),+    -- | Required. Parent (Session) resource reference.+    parent :: (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 'DataprocProjectsLocationsSessionsSparkApplicationsSearchExecutors' with the minimum fields required to make a request.+newDataprocProjectsLocationsSessionsSparkApplicationsSearchExecutors ::+  -- |  Required. The fully qualified name of the session to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/sessions\/SESSION/ID\/sparkApplications\/APPLICATION/ID\" See 'name'.+  Core.Text ->+  DataprocProjectsLocationsSessionsSparkApplicationsSearchExecutors+newDataprocProjectsLocationsSessionsSparkApplicationsSearchExecutors+  name =+    DataprocProjectsLocationsSessionsSparkApplicationsSearchExecutors+      { xgafv =+          Core.Nothing,+        accessToken = Core.Nothing,+        callback = Core.Nothing,+        executorStatus = Core.Nothing,+        name = name,+        pageSize = Core.Nothing,+        pageToken = Core.Nothing,+        parent = Core.Nothing,+        uploadType = Core.Nothing,+        uploadProtocol = Core.Nothing+      }++instance+  Core.GoogleRequest+    DataprocProjectsLocationsSessionsSparkApplicationsSearchExecutors+  where+  type+    Rs+      DataprocProjectsLocationsSessionsSparkApplicationsSearchExecutors =+      SearchSessionSparkApplicationExecutorsResponse+  type+    Scopes+      DataprocProjectsLocationsSessionsSparkApplicationsSearchExecutors =+      '[CloudPlatform'FullControl]+  requestClient+    DataprocProjectsLocationsSessionsSparkApplicationsSearchExecutors {..} =+      go+        name+        xgafv+        accessToken+        callback+        executorStatus+        pageSize+        pageToken+        parent+        uploadType+        uploadProtocol+        (Core.Just Core.AltJSON)+        dataprocService+      where+        go =+          Core.buildClient+            ( Core.Proxy ::+                Core.Proxy+                  DataprocProjectsLocationsSessionsSparkApplicationsSearchExecutorsResource+            )+            Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/Sessions/SparkApplications/SearchJobs.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.Dataproc.Projects.Locations.Sessions.SparkApplications.SearchJobs+-- 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)+--+-- Obtain list of spark jobs corresponding to a Spark Application.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.sessions.sparkApplications.searchJobs@.+module Gogol.Dataproc.Projects.Locations.Sessions.SparkApplications.SearchJobs+  ( -- * Resource+    DataprocProjectsLocationsSessionsSparkApplicationsSearchJobsResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsSessionsSparkApplicationsSearchJobs (..),+    newDataprocProjectsLocationsSessionsSparkApplicationsSearchJobs,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.sessions.sparkApplications.searchJobs@ method which the+-- 'DataprocProjectsLocationsSessionsSparkApplicationsSearchJobs' request conforms to.+type DataprocProjectsLocationsSessionsSparkApplicationsSearchJobsResource =+  "v1"+    Core.:> Core.CaptureMode "name" "searchJobs" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam+              "jobStatus"+              ProjectsLocationsSessionsSparkApplicationsSearchJobsJobStatus+    Core.:> Core.QueryParam "pageSize" Core.Int32+    Core.:> Core.QueryParam "pageToken" Core.Text+    Core.:> Core.QueryParam "parent" 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] SearchSessionSparkApplicationJobsResponse++-- | Obtain list of spark jobs corresponding to a Spark Application.+--+-- /See:/ 'newDataprocProjectsLocationsSessionsSparkApplicationsSearchJobs' smart constructor.+data DataprocProjectsLocationsSessionsSparkApplicationsSearchJobs = DataprocProjectsLocationsSessionsSparkApplicationsSearchJobs+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Optional. List only jobs in the specific state.+    jobStatus ::+      ( Core.Maybe+          ProjectsLocationsSessionsSparkApplicationsSearchJobsJobStatus+      ),+    -- | Required. The fully qualified name of the session to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/sessions\/SESSION/ID\/sparkApplications\/APPLICATION/ID\"+    name :: Core.Text,+    -- | Optional. Maximum number of jobs to return in each response. The service may return fewer than this. The default page size is 10; the maximum page size is 100.+    pageSize :: (Core.Maybe Core.Int32),+    -- | Optional. A page token received from a previous SearchSessionSparkApplicationJobs call. Provide this token to retrieve the subsequent page.+    pageToken :: (Core.Maybe Core.Text),+    -- | Required. Parent (Session) resource reference.+    parent :: (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 'DataprocProjectsLocationsSessionsSparkApplicationsSearchJobs' with the minimum fields required to make a request.+newDataprocProjectsLocationsSessionsSparkApplicationsSearchJobs ::+  -- |  Required. The fully qualified name of the session to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/sessions\/SESSION/ID\/sparkApplications\/APPLICATION/ID\" See 'name'.+  Core.Text ->+  DataprocProjectsLocationsSessionsSparkApplicationsSearchJobs+newDataprocProjectsLocationsSessionsSparkApplicationsSearchJobs+  name =+    DataprocProjectsLocationsSessionsSparkApplicationsSearchJobs+      { xgafv =+          Core.Nothing,+        accessToken = Core.Nothing,+        callback = Core.Nothing,+        jobStatus = Core.Nothing,+        name = name,+        pageSize = Core.Nothing,+        pageToken = Core.Nothing,+        parent = Core.Nothing,+        uploadType = Core.Nothing,+        uploadProtocol = Core.Nothing+      }++instance+  Core.GoogleRequest+    DataprocProjectsLocationsSessionsSparkApplicationsSearchJobs+  where+  type+    Rs+      DataprocProjectsLocationsSessionsSparkApplicationsSearchJobs =+      SearchSessionSparkApplicationJobsResponse+  type+    Scopes+      DataprocProjectsLocationsSessionsSparkApplicationsSearchJobs =+      '[CloudPlatform'FullControl]+  requestClient+    DataprocProjectsLocationsSessionsSparkApplicationsSearchJobs {..} =+      go+        name+        xgafv+        accessToken+        callback+        jobStatus+        pageSize+        pageToken+        parent+        uploadType+        uploadProtocol+        (Core.Just Core.AltJSON)+        dataprocService+      where+        go =+          Core.buildClient+            ( Core.Proxy ::+                Core.Proxy+                  DataprocProjectsLocationsSessionsSparkApplicationsSearchJobsResource+            )+            Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/Sessions/SparkApplications/SearchSqlQueries.hs view
@@ -0,0 +1,151 @@+{-# 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.Dataproc.Projects.Locations.Sessions.SparkApplications.SearchSqlQueries+-- 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)+--+-- Obtain data corresponding to SQL Queries for a Spark Application.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.sessions.sparkApplications.searchSqlQueries@.+module Gogol.Dataproc.Projects.Locations.Sessions.SparkApplications.SearchSqlQueries+  ( -- * Resource+    DataprocProjectsLocationsSessionsSparkApplicationsSearchSqlQueriesResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsSessionsSparkApplicationsSearchSqlQueries (..),+    newDataprocProjectsLocationsSessionsSparkApplicationsSearchSqlQueries,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.sessions.sparkApplications.searchSqlQueries@ method which the+-- 'DataprocProjectsLocationsSessionsSparkApplicationsSearchSqlQueries' request conforms to.+type DataprocProjectsLocationsSessionsSparkApplicationsSearchSqlQueriesResource =+  "v1"+    Core.:> Core.CaptureMode "name" "searchSqlQueries" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "details" Core.Bool+    Core.:> Core.QueryParam "pageSize" Core.Int32+    Core.:> Core.QueryParam "pageToken" Core.Text+    Core.:> Core.QueryParam "parent" Core.Text+    Core.:> Core.QueryParam "planDescription" Core.Bool+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Get+              '[Core.JSON]+              SearchSessionSparkApplicationSqlQueriesResponse++-- | Obtain data corresponding to SQL Queries for a Spark Application.+--+-- /See:/ 'newDataprocProjectsLocationsSessionsSparkApplicationsSearchSqlQueries' smart constructor.+data DataprocProjectsLocationsSessionsSparkApplicationsSearchSqlQueries = DataprocProjectsLocationsSessionsSparkApplicationsSearchSqlQueries+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Optional. Lists\/ hides details of Spark plan nodes. True is set to list and false to hide.+    details :: (Core.Maybe Core.Bool),+    -- | Required. The fully qualified name of the session to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/sessions\/SESSION/ID\/sparkApplications\/APPLICATION/ID\"+    name :: Core.Text,+    -- | Optional. Maximum number of queries to return in each response. The service may return fewer than this. The default page size is 10; the maximum page size is 100.+    pageSize :: (Core.Maybe Core.Int32),+    -- | Optional. A page token received from a previous SearchSessionSparkApplicationSqlQueries call. Provide this token to retrieve the subsequent page.+    pageToken :: (Core.Maybe Core.Text),+    -- | Required. Parent (Session) resource reference.+    parent :: (Core.Maybe Core.Text),+    -- | Optional. Enables\/ disables physical plan description on demand+    planDescription :: (Core.Maybe Core.Bool),+    -- | 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 'DataprocProjectsLocationsSessionsSparkApplicationsSearchSqlQueries' with the minimum fields required to make a request.+newDataprocProjectsLocationsSessionsSparkApplicationsSearchSqlQueries ::+  -- |  Required. The fully qualified name of the session to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/sessions\/SESSION/ID\/sparkApplications\/APPLICATION/ID\" See 'name'.+  Core.Text ->+  DataprocProjectsLocationsSessionsSparkApplicationsSearchSqlQueries+newDataprocProjectsLocationsSessionsSparkApplicationsSearchSqlQueries+  name =+    DataprocProjectsLocationsSessionsSparkApplicationsSearchSqlQueries+      { xgafv =+          Core.Nothing,+        accessToken = Core.Nothing,+        callback = Core.Nothing,+        details = Core.Nothing,+        name = name,+        pageSize = Core.Nothing,+        pageToken = Core.Nothing,+        parent = Core.Nothing,+        planDescription =+          Core.Nothing,+        uploadType = Core.Nothing,+        uploadProtocol =+          Core.Nothing+      }++instance+  Core.GoogleRequest+    DataprocProjectsLocationsSessionsSparkApplicationsSearchSqlQueries+  where+  type+    Rs+      DataprocProjectsLocationsSessionsSparkApplicationsSearchSqlQueries =+      SearchSessionSparkApplicationSqlQueriesResponse+  type+    Scopes+      DataprocProjectsLocationsSessionsSparkApplicationsSearchSqlQueries =+      '[CloudPlatform'FullControl]+  requestClient+    DataprocProjectsLocationsSessionsSparkApplicationsSearchSqlQueries {..} =+      go+        name+        xgafv+        accessToken+        callback+        details+        pageSize+        pageToken+        parent+        planDescription+        uploadType+        uploadProtocol+        (Core.Just Core.AltJSON)+        dataprocService+      where+        go =+          Core.buildClient+            ( Core.Proxy ::+                Core.Proxy+                  DataprocProjectsLocationsSessionsSparkApplicationsSearchSqlQueriesResource+            )+            Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/Sessions/SparkApplications/SearchStageAttemptTasks.hs view
@@ -0,0 +1,174 @@+{-# 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.Dataproc.Projects.Locations.Sessions.SparkApplications.SearchStageAttemptTasks+-- 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)+--+-- Obtain data corresponding to tasks for a spark stage attempt for a Spark Application.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.sessions.sparkApplications.searchStageAttemptTasks@.+module Gogol.Dataproc.Projects.Locations.Sessions.SparkApplications.SearchStageAttemptTasks+  ( -- * Resource+    DataprocProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasksResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasks (..),+    newDataprocProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasks,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.sessions.sparkApplications.searchStageAttemptTasks@ method which the+-- 'DataprocProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasks' request conforms to.+type DataprocProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasksResource =+  "v1"+    Core.:> Core.CaptureMode "name" "searchStageAttemptTasks" Core.Text+    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 "parent" Core.Text+    Core.:> Core.QueryParam "sortRuntime" Core.Bool+    Core.:> Core.QueryParam "stageAttemptId" Core.Int32+    Core.:> Core.QueryParam "stageId" Core.Int64+    Core.:> Core.QueryParam+              "taskStatus"+              ProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasksTaskStatus+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Get+              '[Core.JSON]+              SearchSessionSparkApplicationStageAttemptTasksResponse++-- | Obtain data corresponding to tasks for a spark stage attempt for a Spark Application.+--+-- /See:/ 'newDataprocProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasks' smart constructor.+data DataprocProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasks = DataprocProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasks+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The fully qualified name of the session to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/sessions\/SESSION/ID\/sparkApplications\/APPLICATION/ID\"+    name :: Core.Text,+    -- | Optional. Maximum number of tasks to return in each response. The service may return fewer than this. The default page size is 10; the maximum page size is 100.+    pageSize :: (Core.Maybe Core.Int32),+    -- | Optional. A page token received from a previous SearchSessionSparkApplicationStageAttemptTasks call. Provide this token to retrieve the subsequent page.+    pageToken :: (Core.Maybe Core.Text),+    -- | Required. Parent (Session) resource reference.+    parent :: (Core.Maybe Core.Text),+    -- | Optional. Sort the tasks by runtime.+    sortRuntime :: (Core.Maybe Core.Bool),+    -- | Optional. Stage Attempt ID+    stageAttemptId :: (Core.Maybe Core.Int32),+    -- | Optional. Stage ID+    stageId :: (Core.Maybe Core.Int64),+    -- | Optional. List only tasks in the state.+    taskStatus ::+      ( Core.Maybe+          ProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasksTaskStatus+      ),+    -- | 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 'DataprocProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasks' with the minimum fields required to make a request.+newDataprocProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasks ::+  -- |  Required. The fully qualified name of the session to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/sessions\/SESSION/ID\/sparkApplications\/APPLICATION/ID\" See 'name'.+  Core.Text ->+  DataprocProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasks+newDataprocProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasks+  name =+    DataprocProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasks+      { xgafv =+          Core.Nothing,+        accessToken =+          Core.Nothing,+        callback =+          Core.Nothing,+        name = name,+        pageSize =+          Core.Nothing,+        pageToken =+          Core.Nothing,+        parent = Core.Nothing,+        sortRuntime =+          Core.Nothing,+        stageAttemptId =+          Core.Nothing,+        stageId =+          Core.Nothing,+        taskStatus =+          Core.Nothing,+        uploadType =+          Core.Nothing,+        uploadProtocol =+          Core.Nothing+      }++instance+  Core.GoogleRequest+    DataprocProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasks+  where+  type+    Rs+      DataprocProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasks =+      SearchSessionSparkApplicationStageAttemptTasksResponse+  type+    Scopes+      DataprocProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasks =+      '[CloudPlatform'FullControl]+  requestClient+    DataprocProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasks {..} =+      go+        name+        xgafv+        accessToken+        callback+        pageSize+        pageToken+        parent+        sortRuntime+        stageAttemptId+        stageId+        taskStatus+        uploadType+        uploadProtocol+        (Core.Just Core.AltJSON)+        dataprocService+      where+        go =+          Core.buildClient+            ( Core.Proxy ::+                Core.Proxy+                  DataprocProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasksResource+            )+            Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/Sessions/SparkApplications/SearchStageAttempts.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.Dataproc.Projects.Locations.Sessions.SparkApplications.SearchStageAttempts+-- 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)+--+-- Obtain data corresponding to a spark stage attempts for a Spark Application.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.sessions.sparkApplications.searchStageAttempts@.+module Gogol.Dataproc.Projects.Locations.Sessions.SparkApplications.SearchStageAttempts+  ( -- * Resource+    DataprocProjectsLocationsSessionsSparkApplicationsSearchStageAttemptsResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsSessionsSparkApplicationsSearchStageAttempts (..),+    newDataprocProjectsLocationsSessionsSparkApplicationsSearchStageAttempts,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.sessions.sparkApplications.searchStageAttempts@ method which the+-- 'DataprocProjectsLocationsSessionsSparkApplicationsSearchStageAttempts' request conforms to.+type DataprocProjectsLocationsSessionsSparkApplicationsSearchStageAttemptsResource =+  "v1"+    Core.:> Core.CaptureMode "name" "searchStageAttempts" Core.Text+    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 "parent" Core.Text+    Core.:> Core.QueryParam "stageId" Core.Int64+    Core.:> Core.QueryParam "summaryMetricsMask" 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]+              SearchSessionSparkApplicationStageAttemptsResponse++-- | Obtain data corresponding to a spark stage attempts for a Spark Application.+--+-- /See:/ 'newDataprocProjectsLocationsSessionsSparkApplicationsSearchStageAttempts' smart constructor.+data DataprocProjectsLocationsSessionsSparkApplicationsSearchStageAttempts = DataprocProjectsLocationsSessionsSparkApplicationsSearchStageAttempts+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The fully qualified name of the session to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/sessions\/SESSION/ID\/sparkApplications\/APPLICATION/ID\"+    name :: Core.Text,+    -- | Optional. Maximum number of stage attempts (paging based on stage/attempt/id) to return in each response. The service may return fewer than this. The default page size is 10; the maximum page size is 100.+    pageSize :: (Core.Maybe Core.Int32),+    -- | Optional. A page token received from a previous SearchSessionSparkApplicationStageAttempts call. Provide this token to retrieve the subsequent page.+    pageToken :: (Core.Maybe Core.Text),+    -- | Required. Parent (Session) resource reference.+    parent :: (Core.Maybe Core.Text),+    -- | Required. Stage ID for which attempts are to be fetched+    stageId :: (Core.Maybe Core.Int64),+    -- | Optional. The list of summary metrics fields to include. Empty list will default to skip all summary metrics fields. Example, if the response should include TaskQuantileMetrics, the request should have task/quantile/metrics in summary/metrics/mask field+    summaryMetricsMask :: (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 'DataprocProjectsLocationsSessionsSparkApplicationsSearchStageAttempts' with the minimum fields required to make a request.+newDataprocProjectsLocationsSessionsSparkApplicationsSearchStageAttempts ::+  -- |  Required. The fully qualified name of the session to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/sessions\/SESSION/ID\/sparkApplications\/APPLICATION/ID\" See 'name'.+  Core.Text ->+  DataprocProjectsLocationsSessionsSparkApplicationsSearchStageAttempts+newDataprocProjectsLocationsSessionsSparkApplicationsSearchStageAttempts+  name =+    DataprocProjectsLocationsSessionsSparkApplicationsSearchStageAttempts+      { xgafv =+          Core.Nothing,+        accessToken =+          Core.Nothing,+        callback = Core.Nothing,+        name = name,+        pageSize = Core.Nothing,+        pageToken = Core.Nothing,+        parent = Core.Nothing,+        stageId = Core.Nothing,+        summaryMetricsMask =+          Core.Nothing,+        uploadType = Core.Nothing,+        uploadProtocol =+          Core.Nothing+      }++instance+  Core.GoogleRequest+    DataprocProjectsLocationsSessionsSparkApplicationsSearchStageAttempts+  where+  type+    Rs+      DataprocProjectsLocationsSessionsSparkApplicationsSearchStageAttempts =+      SearchSessionSparkApplicationStageAttemptsResponse+  type+    Scopes+      DataprocProjectsLocationsSessionsSparkApplicationsSearchStageAttempts =+      '[CloudPlatform'FullControl]+  requestClient+    DataprocProjectsLocationsSessionsSparkApplicationsSearchStageAttempts {..} =+      go+        name+        xgafv+        accessToken+        callback+        pageSize+        pageToken+        parent+        stageId+        summaryMetricsMask+        uploadType+        uploadProtocol+        (Core.Just Core.AltJSON)+        dataprocService+      where+        go =+          Core.buildClient+            ( Core.Proxy ::+                Core.Proxy+                  DataprocProjectsLocationsSessionsSparkApplicationsSearchStageAttemptsResource+            )+            Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/Sessions/SparkApplications/SearchStages.hs view
@@ -0,0 +1,153 @@+{-# 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.Dataproc.Projects.Locations.Sessions.SparkApplications.SearchStages+-- 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)+--+-- Obtain data corresponding to stages for a Spark Application.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.sessions.sparkApplications.searchStages@.+module Gogol.Dataproc.Projects.Locations.Sessions.SparkApplications.SearchStages+  ( -- * Resource+    DataprocProjectsLocationsSessionsSparkApplicationsSearchStagesResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsSessionsSparkApplicationsSearchStages (..),+    newDataprocProjectsLocationsSessionsSparkApplicationsSearchStages,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.sessions.sparkApplications.searchStages@ method which the+-- 'DataprocProjectsLocationsSessionsSparkApplicationsSearchStages' request conforms to.+type DataprocProjectsLocationsSessionsSparkApplicationsSearchStagesResource =+  "v1"+    Core.:> Core.CaptureMode "name" "searchStages" Core.Text+    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 "parent" Core.Text+    Core.:> Core.QueryParam+              "stageStatus"+              ProjectsLocationsSessionsSparkApplicationsSearchStagesStageStatus+    Core.:> Core.QueryParam "summaryMetricsMask" 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] SearchSessionSparkApplicationStagesResponse++-- | Obtain data corresponding to stages for a Spark Application.+--+-- /See:/ 'newDataprocProjectsLocationsSessionsSparkApplicationsSearchStages' smart constructor.+data DataprocProjectsLocationsSessionsSparkApplicationsSearchStages = DataprocProjectsLocationsSessionsSparkApplicationsSearchStages+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The fully qualified name of the session to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/sessions\/SESSION/ID\/sparkApplications\/APPLICATION/ID\"+    name :: Core.Text,+    -- | Optional. Maximum number of stages (paging based on stage_id) to return in each response. The service may return fewer than this. The default page size is 10; the maximum page size is 100.+    pageSize :: (Core.Maybe Core.Int32),+    -- | Optional. A page token received from a previous SearchSessionSparkApplicationStages call. Provide this token to retrieve the subsequent page.+    pageToken :: (Core.Maybe Core.Text),+    -- | Required. Parent (Session) resource reference.+    parent :: (Core.Maybe Core.Text),+    -- | Optional. List only stages in the given state.+    stageStatus ::+      ( Core.Maybe+          ProjectsLocationsSessionsSparkApplicationsSearchStagesStageStatus+      ),+    -- | Optional. The list of summary metrics fields to include. Empty list will default to skip all summary metrics fields. Example, if the response should include TaskQuantileMetrics, the request should have task/quantile/metrics in summary/metrics/mask field+    summaryMetricsMask :: (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 'DataprocProjectsLocationsSessionsSparkApplicationsSearchStages' with the minimum fields required to make a request.+newDataprocProjectsLocationsSessionsSparkApplicationsSearchStages ::+  -- |  Required. The fully qualified name of the session to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/sessions\/SESSION/ID\/sparkApplications\/APPLICATION/ID\" See 'name'.+  Core.Text ->+  DataprocProjectsLocationsSessionsSparkApplicationsSearchStages+newDataprocProjectsLocationsSessionsSparkApplicationsSearchStages+  name =+    DataprocProjectsLocationsSessionsSparkApplicationsSearchStages+      { xgafv =+          Core.Nothing,+        accessToken = Core.Nothing,+        callback = Core.Nothing,+        name = name,+        pageSize = Core.Nothing,+        pageToken = Core.Nothing,+        parent = Core.Nothing,+        stageStatus = Core.Nothing,+        summaryMetricsMask =+          Core.Nothing,+        uploadType = Core.Nothing,+        uploadProtocol = Core.Nothing+      }++instance+  Core.GoogleRequest+    DataprocProjectsLocationsSessionsSparkApplicationsSearchStages+  where+  type+    Rs+      DataprocProjectsLocationsSessionsSparkApplicationsSearchStages =+      SearchSessionSparkApplicationStagesResponse+  type+    Scopes+      DataprocProjectsLocationsSessionsSparkApplicationsSearchStages =+      '[CloudPlatform'FullControl]+  requestClient+    DataprocProjectsLocationsSessionsSparkApplicationsSearchStages {..} =+      go+        name+        xgafv+        accessToken+        callback+        pageSize+        pageToken+        parent+        stageStatus+        summaryMetricsMask+        uploadType+        uploadProtocol+        (Core.Just Core.AltJSON)+        dataprocService+      where+        go =+          Core.buildClient+            ( Core.Proxy ::+                Core.Proxy+                  DataprocProjectsLocationsSessionsSparkApplicationsSearchStagesResource+            )+            Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/Sessions/SparkApplications/SummarizeExecutors.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.Dataproc.Projects.Locations.Sessions.SparkApplications.SummarizeExecutors+-- 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)+--+-- Obtain summary of Executor Summary for a Spark Application+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.sessions.sparkApplications.summarizeExecutors@.+module Gogol.Dataproc.Projects.Locations.Sessions.SparkApplications.SummarizeExecutors+  ( -- * Resource+    DataprocProjectsLocationsSessionsSparkApplicationsSummarizeExecutorsResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsSessionsSparkApplicationsSummarizeExecutors (..),+    newDataprocProjectsLocationsSessionsSparkApplicationsSummarizeExecutors,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.sessions.sparkApplications.summarizeExecutors@ method which the+-- 'DataprocProjectsLocationsSessionsSparkApplicationsSummarizeExecutors' request conforms to.+type DataprocProjectsLocationsSessionsSparkApplicationsSummarizeExecutorsResource =+  "v1"+    Core.:> Core.CaptureMode "name" "summarizeExecutors" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "parent" 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]+              SummarizeSessionSparkApplicationExecutorsResponse++-- | Obtain summary of Executor Summary for a Spark Application+--+-- /See:/ 'newDataprocProjectsLocationsSessionsSparkApplicationsSummarizeExecutors' smart constructor.+data DataprocProjectsLocationsSessionsSparkApplicationsSummarizeExecutors = DataprocProjectsLocationsSessionsSparkApplicationsSummarizeExecutors+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The fully qualified name of the session to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/sessions\/SESSION/ID\/sparkApplications\/APPLICATION/ID\"+    name :: Core.Text,+    -- | Required. Parent (Session) resource reference.+    parent :: (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 'DataprocProjectsLocationsSessionsSparkApplicationsSummarizeExecutors' with the minimum fields required to make a request.+newDataprocProjectsLocationsSessionsSparkApplicationsSummarizeExecutors ::+  -- |  Required. The fully qualified name of the session to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/sessions\/SESSION/ID\/sparkApplications\/APPLICATION/ID\" See 'name'.+  Core.Text ->+  DataprocProjectsLocationsSessionsSparkApplicationsSummarizeExecutors+newDataprocProjectsLocationsSessionsSparkApplicationsSummarizeExecutors+  name =+    DataprocProjectsLocationsSessionsSparkApplicationsSummarizeExecutors+      { xgafv =+          Core.Nothing,+        accessToken = Core.Nothing,+        callback = Core.Nothing,+        name = name,+        parent = Core.Nothing,+        uploadType = Core.Nothing,+        uploadProtocol =+          Core.Nothing+      }++instance+  Core.GoogleRequest+    DataprocProjectsLocationsSessionsSparkApplicationsSummarizeExecutors+  where+  type+    Rs+      DataprocProjectsLocationsSessionsSparkApplicationsSummarizeExecutors =+      SummarizeSessionSparkApplicationExecutorsResponse+  type+    Scopes+      DataprocProjectsLocationsSessionsSparkApplicationsSummarizeExecutors =+      '[CloudPlatform'FullControl]+  requestClient+    DataprocProjectsLocationsSessionsSparkApplicationsSummarizeExecutors {..} =+      go+        name+        xgafv+        accessToken+        callback+        parent+        uploadType+        uploadProtocol+        (Core.Just Core.AltJSON)+        dataprocService+      where+        go =+          Core.buildClient+            ( Core.Proxy ::+                Core.Proxy+                  DataprocProjectsLocationsSessionsSparkApplicationsSummarizeExecutorsResource+            )+            Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/Sessions/SparkApplications/SummarizeJobs.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.Dataproc.Projects.Locations.Sessions.SparkApplications.SummarizeJobs+-- 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)+--+-- Obtain summary of Jobs for a Spark Application+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.sessions.sparkApplications.summarizeJobs@.+module Gogol.Dataproc.Projects.Locations.Sessions.SparkApplications.SummarizeJobs+  ( -- * Resource+    DataprocProjectsLocationsSessionsSparkApplicationsSummarizeJobsResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsSessionsSparkApplicationsSummarizeJobs (..),+    newDataprocProjectsLocationsSessionsSparkApplicationsSummarizeJobs,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.sessions.sparkApplications.summarizeJobs@ method which the+-- 'DataprocProjectsLocationsSessionsSparkApplicationsSummarizeJobs' request conforms to.+type DataprocProjectsLocationsSessionsSparkApplicationsSummarizeJobsResource =+  "v1"+    Core.:> Core.CaptureMode "name" "summarizeJobs" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "parent" 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] SummarizeSessionSparkApplicationJobsResponse++-- | Obtain summary of Jobs for a Spark Application+--+-- /See:/ 'newDataprocProjectsLocationsSessionsSparkApplicationsSummarizeJobs' smart constructor.+data DataprocProjectsLocationsSessionsSparkApplicationsSummarizeJobs = DataprocProjectsLocationsSessionsSparkApplicationsSummarizeJobs+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The fully qualified name of the session to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/sessions\/SESSION/ID\/sparkApplications\/APPLICATION/ID\"+    name :: Core.Text,+    -- | Required. Parent (Session) resource reference.+    parent :: (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 'DataprocProjectsLocationsSessionsSparkApplicationsSummarizeJobs' with the minimum fields required to make a request.+newDataprocProjectsLocationsSessionsSparkApplicationsSummarizeJobs ::+  -- |  Required. The fully qualified name of the session to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/sessions\/SESSION/ID\/sparkApplications\/APPLICATION/ID\" See 'name'.+  Core.Text ->+  DataprocProjectsLocationsSessionsSparkApplicationsSummarizeJobs+newDataprocProjectsLocationsSessionsSparkApplicationsSummarizeJobs+  name =+    DataprocProjectsLocationsSessionsSparkApplicationsSummarizeJobs+      { xgafv =+          Core.Nothing,+        accessToken = Core.Nothing,+        callback = Core.Nothing,+        name = name,+        parent = Core.Nothing,+        uploadType = Core.Nothing,+        uploadProtocol = Core.Nothing+      }++instance+  Core.GoogleRequest+    DataprocProjectsLocationsSessionsSparkApplicationsSummarizeJobs+  where+  type+    Rs+      DataprocProjectsLocationsSessionsSparkApplicationsSummarizeJobs =+      SummarizeSessionSparkApplicationJobsResponse+  type+    Scopes+      DataprocProjectsLocationsSessionsSparkApplicationsSummarizeJobs =+      '[CloudPlatform'FullControl]+  requestClient+    DataprocProjectsLocationsSessionsSparkApplicationsSummarizeJobs {..} =+      go+        name+        xgafv+        accessToken+        callback+        parent+        uploadType+        uploadProtocol+        (Core.Just Core.AltJSON)+        dataprocService+      where+        go =+          Core.buildClient+            ( Core.Proxy ::+                Core.Proxy+                  DataprocProjectsLocationsSessionsSparkApplicationsSummarizeJobsResource+            )+            Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/Sessions/SparkApplications/SummarizeStageAttemptTasks.hs view
@@ -0,0 +1,146 @@+{-# 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.Dataproc.Projects.Locations.Sessions.SparkApplications.SummarizeStageAttemptTasks+-- 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)+--+-- Obtain summary of Tasks for a Spark Application Stage Attempt+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.sessions.sparkApplications.summarizeStageAttemptTasks@.+module Gogol.Dataproc.Projects.Locations.Sessions.SparkApplications.SummarizeStageAttemptTasks+  ( -- * Resource+    DataprocProjectsLocationsSessionsSparkApplicationsSummarizeStageAttemptTasksResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsSessionsSparkApplicationsSummarizeStageAttemptTasks (..),+    newDataprocProjectsLocationsSessionsSparkApplicationsSummarizeStageAttemptTasks,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.sessions.sparkApplications.summarizeStageAttemptTasks@ method which the+-- 'DataprocProjectsLocationsSessionsSparkApplicationsSummarizeStageAttemptTasks' request conforms to.+type DataprocProjectsLocationsSessionsSparkApplicationsSummarizeStageAttemptTasksResource =+  "v1"+    Core.:> Core.CaptureMode "name" "summarizeStageAttemptTasks" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "parent" Core.Text+    Core.:> Core.QueryParam "stageAttemptId" Core.Int32+    Core.:> Core.QueryParam "stageId" Core.Int64+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Get+              '[Core.JSON]+              SummarizeSessionSparkApplicationStageAttemptTasksResponse++-- | Obtain summary of Tasks for a Spark Application Stage Attempt+--+-- /See:/ 'newDataprocProjectsLocationsSessionsSparkApplicationsSummarizeStageAttemptTasks' smart constructor.+data DataprocProjectsLocationsSessionsSparkApplicationsSummarizeStageAttemptTasks = DataprocProjectsLocationsSessionsSparkApplicationsSummarizeStageAttemptTasks+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The fully qualified name of the session to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/sessions\/SESSION/ID\/sparkApplications\/APPLICATION/ID\"+    name :: Core.Text,+    -- | Required. Parent (Session) resource reference.+    parent :: (Core.Maybe Core.Text),+    -- | Required. Stage Attempt ID+    stageAttemptId :: (Core.Maybe Core.Int32),+    -- | Required. Stage ID+    stageId :: (Core.Maybe Core.Int64),+    -- | 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 'DataprocProjectsLocationsSessionsSparkApplicationsSummarizeStageAttemptTasks' with the minimum fields required to make a request.+newDataprocProjectsLocationsSessionsSparkApplicationsSummarizeStageAttemptTasks ::+  -- |  Required. The fully qualified name of the session to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/sessions\/SESSION/ID\/sparkApplications\/APPLICATION/ID\" See 'name'.+  Core.Text ->+  DataprocProjectsLocationsSessionsSparkApplicationsSummarizeStageAttemptTasks+newDataprocProjectsLocationsSessionsSparkApplicationsSummarizeStageAttemptTasks+  name =+    DataprocProjectsLocationsSessionsSparkApplicationsSummarizeStageAttemptTasks+      { xgafv =+          Core.Nothing,+        accessToken =+          Core.Nothing,+        callback =+          Core.Nothing,+        name = name,+        parent =+          Core.Nothing,+        stageAttemptId =+          Core.Nothing,+        stageId =+          Core.Nothing,+        uploadType =+          Core.Nothing,+        uploadProtocol =+          Core.Nothing+      }++instance+  Core.GoogleRequest+    DataprocProjectsLocationsSessionsSparkApplicationsSummarizeStageAttemptTasks+  where+  type+    Rs+      DataprocProjectsLocationsSessionsSparkApplicationsSummarizeStageAttemptTasks =+      SummarizeSessionSparkApplicationStageAttemptTasksResponse+  type+    Scopes+      DataprocProjectsLocationsSessionsSparkApplicationsSummarizeStageAttemptTasks =+      '[CloudPlatform'FullControl]+  requestClient+    DataprocProjectsLocationsSessionsSparkApplicationsSummarizeStageAttemptTasks {..} =+      go+        name+        xgafv+        accessToken+        callback+        parent+        stageAttemptId+        stageId+        uploadType+        uploadProtocol+        (Core.Just Core.AltJSON)+        dataprocService+      where+        go =+          Core.buildClient+            ( Core.Proxy ::+                Core.Proxy+                  DataprocProjectsLocationsSessionsSparkApplicationsSummarizeStageAttemptTasksResource+            )+            Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/Sessions/SparkApplications/SummarizeStages.hs view
@@ -0,0 +1,129 @@+{-# 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.Dataproc.Projects.Locations.Sessions.SparkApplications.SummarizeStages+-- 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)+--+-- Obtain summary of Stages for a Spark Application+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.sessions.sparkApplications.summarizeStages@.+module Gogol.Dataproc.Projects.Locations.Sessions.SparkApplications.SummarizeStages+  ( -- * Resource+    DataprocProjectsLocationsSessionsSparkApplicationsSummarizeStagesResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsSessionsSparkApplicationsSummarizeStages (..),+    newDataprocProjectsLocationsSessionsSparkApplicationsSummarizeStages,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.sessions.sparkApplications.summarizeStages@ method which the+-- 'DataprocProjectsLocationsSessionsSparkApplicationsSummarizeStages' request conforms to.+type DataprocProjectsLocationsSessionsSparkApplicationsSummarizeStagesResource =+  "v1"+    Core.:> Core.CaptureMode "name" "summarizeStages" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "parent" 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]+              SummarizeSessionSparkApplicationStagesResponse++-- | Obtain summary of Stages for a Spark Application+--+-- /See:/ 'newDataprocProjectsLocationsSessionsSparkApplicationsSummarizeStages' smart constructor.+data DataprocProjectsLocationsSessionsSparkApplicationsSummarizeStages = DataprocProjectsLocationsSessionsSparkApplicationsSummarizeStages+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The fully qualified name of the session to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/sessions\/SESSION/ID\/sparkApplications\/APPLICATION/ID\"+    name :: Core.Text,+    -- | Required. Parent (Session) resource reference.+    parent :: (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 'DataprocProjectsLocationsSessionsSparkApplicationsSummarizeStages' with the minimum fields required to make a request.+newDataprocProjectsLocationsSessionsSparkApplicationsSummarizeStages ::+  -- |  Required. The fully qualified name of the session to retrieve in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/sessions\/SESSION/ID\/sparkApplications\/APPLICATION/ID\" See 'name'.+  Core.Text ->+  DataprocProjectsLocationsSessionsSparkApplicationsSummarizeStages+newDataprocProjectsLocationsSessionsSparkApplicationsSummarizeStages+  name =+    DataprocProjectsLocationsSessionsSparkApplicationsSummarizeStages+      { xgafv =+          Core.Nothing,+        accessToken = Core.Nothing,+        callback = Core.Nothing,+        name = name,+        parent = Core.Nothing,+        uploadType = Core.Nothing,+        uploadProtocol = Core.Nothing+      }++instance+  Core.GoogleRequest+    DataprocProjectsLocationsSessionsSparkApplicationsSummarizeStages+  where+  type+    Rs+      DataprocProjectsLocationsSessionsSparkApplicationsSummarizeStages =+      SummarizeSessionSparkApplicationStagesResponse+  type+    Scopes+      DataprocProjectsLocationsSessionsSparkApplicationsSummarizeStages =+      '[CloudPlatform'FullControl]+  requestClient+    DataprocProjectsLocationsSessionsSparkApplicationsSummarizeStages {..} =+      go+        name+        xgafv+        accessToken+        callback+        parent+        uploadType+        uploadProtocol+        (Core.Just Core.AltJSON)+        dataprocService+      where+        go =+          Core.buildClient+            ( Core.Proxy ::+                Core.Proxy+                  DataprocProjectsLocationsSessionsSparkApplicationsSummarizeStagesResource+            )+            Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/Sessions/SparkApplications/Write.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.Dataproc.Projects.Locations.Sessions.SparkApplications.Write+-- 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)+--+-- Write wrapper objects from dataplane to spanner+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.sessions.sparkApplications.write@.+module Gogol.Dataproc.Projects.Locations.Sessions.SparkApplications.Write+  ( -- * Resource+    DataprocProjectsLocationsSessionsSparkApplicationsWriteResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsSessionsSparkApplicationsWrite (..),+    newDataprocProjectsLocationsSessionsSparkApplicationsWrite,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.sessions.sparkApplications.write@ method which the+-- 'DataprocProjectsLocationsSessionsSparkApplicationsWrite' request conforms to.+type DataprocProjectsLocationsSessionsSparkApplicationsWriteResource =+  "v1"+    Core.:> Core.CaptureMode "name" "write" 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]+              WriteSessionSparkApplicationContextRequest+    Core.:> Core.Post '[Core.JSON] WriteSessionSparkApplicationContextResponse++-- | Write wrapper objects from dataplane to spanner+--+-- /See:/ 'newDataprocProjectsLocationsSessionsSparkApplicationsWrite' smart constructor.+data DataprocProjectsLocationsSessionsSparkApplicationsWrite = DataprocProjectsLocationsSessionsSparkApplicationsWrite+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The fully qualified name of the spark application to write data about in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/sessions\/SESSION/ID\/sparkApplications\/APPLICATION/ID\"+    name :: Core.Text,+    -- | Multipart request metadata.+    payload :: WriteSessionSparkApplicationContextRequest,+    -- | 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 'DataprocProjectsLocationsSessionsSparkApplicationsWrite' with the minimum fields required to make a request.+newDataprocProjectsLocationsSessionsSparkApplicationsWrite ::+  -- |  Required. The fully qualified name of the spark application to write data about in the format \"projects\/PROJECT/ID\/locations\/DATAPROC/REGION\/sessions\/SESSION/ID\/sparkApplications\/APPLICATION/ID\" See 'name'.+  Core.Text ->+  -- |  Multipart request metadata. See 'payload'.+  WriteSessionSparkApplicationContextRequest ->+  DataprocProjectsLocationsSessionsSparkApplicationsWrite+newDataprocProjectsLocationsSessionsSparkApplicationsWrite+  name+  payload =+    DataprocProjectsLocationsSessionsSparkApplicationsWrite+      { xgafv =+          Core.Nothing,+        accessToken = Core.Nothing,+        callback = Core.Nothing,+        name = name,+        payload = payload,+        uploadType = Core.Nothing,+        uploadProtocol = Core.Nothing+      }++instance+  Core.GoogleRequest+    DataprocProjectsLocationsSessionsSparkApplicationsWrite+  where+  type+    Rs DataprocProjectsLocationsSessionsSparkApplicationsWrite =+      WriteSessionSparkApplicationContextResponse+  type+    Scopes DataprocProjectsLocationsSessionsSparkApplicationsWrite =+      '[CloudPlatform'FullControl]+  requestClient+    DataprocProjectsLocationsSessionsSparkApplicationsWrite {..} =+      go+        name+        xgafv+        accessToken+        callback+        uploadType+        uploadProtocol+        (Core.Just Core.AltJSON)+        payload+        dataprocService+      where+        go =+          Core.buildClient+            ( Core.Proxy ::+                Core.Proxy+                  DataprocProjectsLocationsSessionsSparkApplicationsWriteResource+            )+            Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/Sessions/Terminate.hs view
@@ -0,0 +1,121 @@+{-# 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.Dataproc.Projects.Locations.Sessions.Terminate+-- 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)+--+-- Terminates the interactive session.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.sessions.terminate@.+module Gogol.Dataproc.Projects.Locations.Sessions.Terminate+  ( -- * Resource+    DataprocProjectsLocationsSessionsTerminateResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsSessionsTerminate (..),+    newDataprocProjectsLocationsSessionsTerminate,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.sessions.terminate@ method which the+-- 'DataprocProjectsLocationsSessionsTerminate' request conforms to.+type DataprocProjectsLocationsSessionsTerminateResource =+  "v1"+    Core.:> Core.CaptureMode "name" "terminate" 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] TerminateSessionRequest+    Core.:> Core.Post '[Core.JSON] Operation++-- | Terminates the interactive session.+--+-- /See:/ 'newDataprocProjectsLocationsSessionsTerminate' smart constructor.+data DataprocProjectsLocationsSessionsTerminate = DataprocProjectsLocationsSessionsTerminate+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The name of the session resource to terminate.+    name :: Core.Text,+    -- | Multipart request metadata.+    payload :: TerminateSessionRequest,+    -- | 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 'DataprocProjectsLocationsSessionsTerminate' with the minimum fields required to make a request.+newDataprocProjectsLocationsSessionsTerminate ::+  -- |  Required. The name of the session resource to terminate. See 'name'.+  Core.Text ->+  -- |  Multipart request metadata. See 'payload'.+  TerminateSessionRequest ->+  DataprocProjectsLocationsSessionsTerminate+newDataprocProjectsLocationsSessionsTerminate name payload =+  DataprocProjectsLocationsSessionsTerminate+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      name = name,+      payload = payload,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance+  Core.GoogleRequest+    DataprocProjectsLocationsSessionsTerminate+  where+  type Rs DataprocProjectsLocationsSessionsTerminate = Operation+  type+    Scopes DataprocProjectsLocationsSessionsTerminate =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsLocationsSessionsTerminate {..} =+    go+      name+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      payload+      dataprocService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy DataprocProjectsLocationsSessionsTerminateResource+          )+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/WorkflowTemplates/Create.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.Dataproc.Projects.Locations.WorkflowTemplates.Create+-- 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 new workflow template.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.workflowTemplates.create@.+module Gogol.Dataproc.Projects.Locations.WorkflowTemplates.Create+  ( -- * Resource+    DataprocProjectsLocationsWorkflowTemplatesCreateResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsWorkflowTemplatesCreate (..),+    newDataprocProjectsLocationsWorkflowTemplatesCreate,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.workflowTemplates.create@ method which the+-- 'DataprocProjectsLocationsWorkflowTemplatesCreate' request conforms to.+type DataprocProjectsLocationsWorkflowTemplatesCreateResource =+  "v1"+    Core.:> Core.Capture "parent" Core.Text+    Core.:> "workflowTemplates"+    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] WorkflowTemplate+    Core.:> Core.Post '[Core.JSON] WorkflowTemplate++-- | Creates new workflow template.+--+-- /See:/ 'newDataprocProjectsLocationsWorkflowTemplatesCreate' smart constructor.+data DataprocProjectsLocationsWorkflowTemplatesCreate = DataprocProjectsLocationsWorkflowTemplatesCreate+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The resource name of the region or location, as described in https:\/\/cloud.google.com\/apis\/design\/resource/names. For projects.regions.workflowTemplates.create, the resource name of the region has the following format: projects\/{project/id}\/regions\/{region} For projects.locations.workflowTemplates.create, the resource name of the location has the following format: projects\/{project_id}\/locations\/{location}+    parent :: Core.Text,+    -- | Multipart request metadata.+    payload :: WorkflowTemplate,+    -- | 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 'DataprocProjectsLocationsWorkflowTemplatesCreate' with the minimum fields required to make a request.+newDataprocProjectsLocationsWorkflowTemplatesCreate ::+  -- |  Required. The resource name of the region or location, as described in https:\/\/cloud.google.com\/apis\/design\/resource/names. For projects.regions.workflowTemplates.create, the resource name of the region has the following format: projects\/{project/id}\/regions\/{region} For projects.locations.workflowTemplates.create, the resource name of the location has the following format: projects\/{project_id}\/locations\/{location} See 'parent'.+  Core.Text ->+  -- |  Multipart request metadata. See 'payload'.+  WorkflowTemplate ->+  DataprocProjectsLocationsWorkflowTemplatesCreate+newDataprocProjectsLocationsWorkflowTemplatesCreate parent payload =+  DataprocProjectsLocationsWorkflowTemplatesCreate+    { xgafv =+        Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      parent = parent,+      payload = payload,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance+  Core.GoogleRequest+    DataprocProjectsLocationsWorkflowTemplatesCreate+  where+  type+    Rs DataprocProjectsLocationsWorkflowTemplatesCreate =+      WorkflowTemplate+  type+    Scopes DataprocProjectsLocationsWorkflowTemplatesCreate =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsLocationsWorkflowTemplatesCreate {..} =+    go+      parent+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      payload+      dataprocService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy+                DataprocProjectsLocationsWorkflowTemplatesCreateResource+          )+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/WorkflowTemplates/Delete.hs view
@@ -0,0 +1,121 @@+{-# 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.Dataproc.Projects.Locations.WorkflowTemplates.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 workflow template. It does not cancel in-progress workflows.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.workflowTemplates.delete@.+module Gogol.Dataproc.Projects.Locations.WorkflowTemplates.Delete+  ( -- * Resource+    DataprocProjectsLocationsWorkflowTemplatesDeleteResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsWorkflowTemplatesDelete (..),+    newDataprocProjectsLocationsWorkflowTemplatesDelete,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.workflowTemplates.delete@ method which the+-- 'DataprocProjectsLocationsWorkflowTemplatesDelete' request conforms to.+type DataprocProjectsLocationsWorkflowTemplatesDeleteResource =+  "v1"+    Core.:> Core.Capture "name" 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 "version" Core.Int32+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Delete '[Core.JSON] Empty++-- | Deletes a workflow template. It does not cancel in-progress workflows.+--+-- /See:/ 'newDataprocProjectsLocationsWorkflowTemplatesDelete' smart constructor.+data DataprocProjectsLocationsWorkflowTemplatesDelete = DataprocProjectsLocationsWorkflowTemplatesDelete+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The resource name of the workflow template, as described in https:\/\/cloud.google.com\/apis\/design\/resource/names. For projects.regions.workflowTemplates.delete, the resource name of the template has the following format: projects\/{project/id}\/regions\/{region}\/workflowTemplates\/{template/id} For projects.locations.workflowTemplates.instantiate, the resource name of the template has the following format: projects\/{project/id}\/locations\/{location}\/workflowTemplates\/{template_id}+    name :: 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. The version of workflow template to delete. If specified, will only delete the template if the current server version matches specified version.+    version :: (Core.Maybe Core.Int32)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DataprocProjectsLocationsWorkflowTemplatesDelete' with the minimum fields required to make a request.+newDataprocProjectsLocationsWorkflowTemplatesDelete ::+  -- |  Required. The resource name of the workflow template, as described in https:\/\/cloud.google.com\/apis\/design\/resource/names. For projects.regions.workflowTemplates.delete, the resource name of the template has the following format: projects\/{project/id}\/regions\/{region}\/workflowTemplates\/{template/id} For projects.locations.workflowTemplates.instantiate, the resource name of the template has the following format: projects\/{project/id}\/locations\/{location}\/workflowTemplates\/{template_id} See 'name'.+  Core.Text ->+  DataprocProjectsLocationsWorkflowTemplatesDelete+newDataprocProjectsLocationsWorkflowTemplatesDelete name =+  DataprocProjectsLocationsWorkflowTemplatesDelete+    { xgafv =+        Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      name = name,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing,+      version = Core.Nothing+    }++instance+  Core.GoogleRequest+    DataprocProjectsLocationsWorkflowTemplatesDelete+  where+  type Rs DataprocProjectsLocationsWorkflowTemplatesDelete = Empty+  type+    Scopes DataprocProjectsLocationsWorkflowTemplatesDelete =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsLocationsWorkflowTemplatesDelete {..} =+    go+      name+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      version+      (Core.Just Core.AltJSON)+      dataprocService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy+                DataprocProjectsLocationsWorkflowTemplatesDeleteResource+          )+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/WorkflowTemplates/Get.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.Dataproc.Projects.Locations.WorkflowTemplates.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)+--+-- Retrieves the latest workflow template.Can retrieve previously instantiated template by specifying optional version parameter.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.workflowTemplates.get@.+module Gogol.Dataproc.Projects.Locations.WorkflowTemplates.Get+  ( -- * Resource+    DataprocProjectsLocationsWorkflowTemplatesGetResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsWorkflowTemplatesGet (..),+    newDataprocProjectsLocationsWorkflowTemplatesGet,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.workflowTemplates.get@ method which the+-- 'DataprocProjectsLocationsWorkflowTemplatesGet' request conforms to.+type DataprocProjectsLocationsWorkflowTemplatesGetResource =+  "v1"+    Core.:> Core.Capture "name" 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 "version" Core.Int32+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Get '[Core.JSON] WorkflowTemplate++-- | Retrieves the latest workflow template.Can retrieve previously instantiated template by specifying optional version parameter.+--+-- /See:/ 'newDataprocProjectsLocationsWorkflowTemplatesGet' smart constructor.+data DataprocProjectsLocationsWorkflowTemplatesGet = DataprocProjectsLocationsWorkflowTemplatesGet+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The resource name of the workflow template, as described in https:\/\/cloud.google.com\/apis\/design\/resource/names. For projects.regions.workflowTemplates.get, the resource name of the template has the following format: projects\/{project/id}\/regions\/{region}\/workflowTemplates\/{template/id} For projects.locations.workflowTemplates.get, the resource name of the template has the following format: projects\/{project/id}\/locations\/{location}\/workflowTemplates\/{template_id}+    name :: 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. The version of workflow template to retrieve. Only previously instantiated versions can be retrieved.If unspecified, retrieves the current version.+    version :: (Core.Maybe Core.Int32)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DataprocProjectsLocationsWorkflowTemplatesGet' with the minimum fields required to make a request.+newDataprocProjectsLocationsWorkflowTemplatesGet ::+  -- |  Required. The resource name of the workflow template, as described in https:\/\/cloud.google.com\/apis\/design\/resource/names. For projects.regions.workflowTemplates.get, the resource name of the template has the following format: projects\/{project/id}\/regions\/{region}\/workflowTemplates\/{template/id} For projects.locations.workflowTemplates.get, the resource name of the template has the following format: projects\/{project/id}\/locations\/{location}\/workflowTemplates\/{template_id} See 'name'.+  Core.Text ->+  DataprocProjectsLocationsWorkflowTemplatesGet+newDataprocProjectsLocationsWorkflowTemplatesGet name =+  DataprocProjectsLocationsWorkflowTemplatesGet+    { xgafv =+        Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      name = name,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing,+      version = Core.Nothing+    }++instance+  Core.GoogleRequest+    DataprocProjectsLocationsWorkflowTemplatesGet+  where+  type+    Rs DataprocProjectsLocationsWorkflowTemplatesGet =+      WorkflowTemplate+  type+    Scopes DataprocProjectsLocationsWorkflowTemplatesGet =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsLocationsWorkflowTemplatesGet {..} =+    go+      name+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      version+      (Core.Just Core.AltJSON)+      dataprocService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy DataprocProjectsLocationsWorkflowTemplatesGetResource+          )+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/WorkflowTemplates/GetIamPolicy.hs view
@@ -0,0 +1,128 @@+{-# 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.Dataproc.Projects.Locations.WorkflowTemplates.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/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.workflowTemplates.getIamPolicy@.+module Gogol.Dataproc.Projects.Locations.WorkflowTemplates.GetIamPolicy+  ( -- * Resource+    DataprocProjectsLocationsWorkflowTemplatesGetIamPolicyResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsWorkflowTemplatesGetIamPolicy (..),+    newDataprocProjectsLocationsWorkflowTemplatesGetIamPolicy,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.workflowTemplates.getIamPolicy@ method which the+-- 'DataprocProjectsLocationsWorkflowTemplatesGetIamPolicy' request conforms to.+type DataprocProjectsLocationsWorkflowTemplatesGetIamPolicyResource =+  "v1"+    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:/ 'newDataprocProjectsLocationsWorkflowTemplatesGetIamPolicy' smart constructor.+data DataprocProjectsLocationsWorkflowTemplatesGetIamPolicy = DataprocProjectsLocationsWorkflowTemplatesGetIamPolicy+  { -- | 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 Resource names (https:\/\/cloud.google.com\/apis\/design\/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 'DataprocProjectsLocationsWorkflowTemplatesGetIamPolicy' with the minimum fields required to make a request.+newDataprocProjectsLocationsWorkflowTemplatesGetIamPolicy ::+  -- |  Multipart request metadata. See 'payload'.+  GetIamPolicyRequest ->+  -- |  REQUIRED: The resource for which the policy is being requested. See Resource names (https:\/\/cloud.google.com\/apis\/design\/resource_names) for the appropriate value for this field. See 'resource'.+  Core.Text ->+  DataprocProjectsLocationsWorkflowTemplatesGetIamPolicy+newDataprocProjectsLocationsWorkflowTemplatesGetIamPolicy+  payload+  resource =+    DataprocProjectsLocationsWorkflowTemplatesGetIamPolicy+      { xgafv =+          Core.Nothing,+        accessToken = Core.Nothing,+        callback = Core.Nothing,+        payload = payload,+        resource = resource,+        uploadType = Core.Nothing,+        uploadProtocol = Core.Nothing+      }++instance+  Core.GoogleRequest+    DataprocProjectsLocationsWorkflowTemplatesGetIamPolicy+  where+  type+    Rs DataprocProjectsLocationsWorkflowTemplatesGetIamPolicy =+      Policy+  type+    Scopes DataprocProjectsLocationsWorkflowTemplatesGetIamPolicy =+      '[CloudPlatform'FullControl]+  requestClient+    DataprocProjectsLocationsWorkflowTemplatesGetIamPolicy {..} =+      go+        resource+        xgafv+        accessToken+        callback+        uploadType+        uploadProtocol+        (Core.Just Core.AltJSON)+        payload+        dataprocService+      where+        go =+          Core.buildClient+            ( Core.Proxy ::+                Core.Proxy+                  DataprocProjectsLocationsWorkflowTemplatesGetIamPolicyResource+            )+            Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/WorkflowTemplates/Instantiate.hs view
@@ -0,0 +1,128 @@+{-# 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.Dataproc.Projects.Locations.WorkflowTemplates.Instantiate+-- 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)+--+-- Instantiates a template and begins execution.The returned Operation can be used to track execution of workflow by polling operations.get. The Operation will complete when entire workflow is finished.The running workflow can be aborted via operations.cancel. This will cause any inflight jobs to be cancelled and workflow-owned clusters to be deleted.The Operation.metadata will be WorkflowMetadata (https:\/\/cloud.google.com\/dataproc\/docs\/reference\/rpc\/google.cloud.dataproc.v1#workflowmetadata). Also see Using WorkflowMetadata (https:\/\/cloud.google.com\/dataproc\/docs\/concepts\/workflows\/debugging#using_workflowmetadata).On successful completion, Operation.response will be Empty.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.workflowTemplates.instantiate@.+module Gogol.Dataproc.Projects.Locations.WorkflowTemplates.Instantiate+  ( -- * Resource+    DataprocProjectsLocationsWorkflowTemplatesInstantiateResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsWorkflowTemplatesInstantiate (..),+    newDataprocProjectsLocationsWorkflowTemplatesInstantiate,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.workflowTemplates.instantiate@ method which the+-- 'DataprocProjectsLocationsWorkflowTemplatesInstantiate' request conforms to.+type DataprocProjectsLocationsWorkflowTemplatesInstantiateResource =+  "v1"+    Core.:> Core.CaptureMode "name" "instantiate" 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] InstantiateWorkflowTemplateRequest+    Core.:> Core.Post '[Core.JSON] Operation++-- | Instantiates a template and begins execution.The returned Operation can be used to track execution of workflow by polling operations.get. The Operation will complete when entire workflow is finished.The running workflow can be aborted via operations.cancel. This will cause any inflight jobs to be cancelled and workflow-owned clusters to be deleted.The Operation.metadata will be WorkflowMetadata (https:\/\/cloud.google.com\/dataproc\/docs\/reference\/rpc\/google.cloud.dataproc.v1#workflowmetadata). Also see Using WorkflowMetadata (https:\/\/cloud.google.com\/dataproc\/docs\/concepts\/workflows\/debugging#using_workflowmetadata).On successful completion, Operation.response will be Empty.+--+-- /See:/ 'newDataprocProjectsLocationsWorkflowTemplatesInstantiate' smart constructor.+data DataprocProjectsLocationsWorkflowTemplatesInstantiate = DataprocProjectsLocationsWorkflowTemplatesInstantiate+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The resource name of the workflow template, as described in https:\/\/cloud.google.com\/apis\/design\/resource/names. For projects.regions.workflowTemplates.instantiate, the resource name of the template has the following format: projects\/{project/id}\/regions\/{region}\/workflowTemplates\/{template/id} For projects.locations.workflowTemplates.instantiate, the resource name of the template has the following format: projects\/{project/id}\/locations\/{location}\/workflowTemplates\/{template_id}+    name :: Core.Text,+    -- | Multipart request metadata.+    payload :: InstantiateWorkflowTemplateRequest,+    -- | 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 'DataprocProjectsLocationsWorkflowTemplatesInstantiate' with the minimum fields required to make a request.+newDataprocProjectsLocationsWorkflowTemplatesInstantiate ::+  -- |  Required. The resource name of the workflow template, as described in https:\/\/cloud.google.com\/apis\/design\/resource/names. For projects.regions.workflowTemplates.instantiate, the resource name of the template has the following format: projects\/{project/id}\/regions\/{region}\/workflowTemplates\/{template/id} For projects.locations.workflowTemplates.instantiate, the resource name of the template has the following format: projects\/{project/id}\/locations\/{location}\/workflowTemplates\/{template_id} See 'name'.+  Core.Text ->+  -- |  Multipart request metadata. See 'payload'.+  InstantiateWorkflowTemplateRequest ->+  DataprocProjectsLocationsWorkflowTemplatesInstantiate+newDataprocProjectsLocationsWorkflowTemplatesInstantiate+  name+  payload =+    DataprocProjectsLocationsWorkflowTemplatesInstantiate+      { xgafv =+          Core.Nothing,+        accessToken = Core.Nothing,+        callback = Core.Nothing,+        name = name,+        payload = payload,+        uploadType = Core.Nothing,+        uploadProtocol = Core.Nothing+      }++instance+  Core.GoogleRequest+    DataprocProjectsLocationsWorkflowTemplatesInstantiate+  where+  type+    Rs DataprocProjectsLocationsWorkflowTemplatesInstantiate =+      Operation+  type+    Scopes DataprocProjectsLocationsWorkflowTemplatesInstantiate =+      '[CloudPlatform'FullControl]+  requestClient+    DataprocProjectsLocationsWorkflowTemplatesInstantiate {..} =+      go+        name+        xgafv+        accessToken+        callback+        uploadType+        uploadProtocol+        (Core.Just Core.AltJSON)+        payload+        dataprocService+      where+        go =+          Core.buildClient+            ( Core.Proxy ::+                Core.Proxy+                  DataprocProjectsLocationsWorkflowTemplatesInstantiateResource+            )+            Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/WorkflowTemplates/InstantiateInline.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.Dataproc.Projects.Locations.WorkflowTemplates.InstantiateInline+-- 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)+--+-- Instantiates a template and begins execution.This method is equivalent to executing the sequence CreateWorkflowTemplate, InstantiateWorkflowTemplate, DeleteWorkflowTemplate.The returned Operation can be used to track execution of workflow by polling operations.get. The Operation will complete when entire workflow is finished.The running workflow can be aborted via operations.cancel. This will cause any inflight jobs to be cancelled and workflow-owned clusters to be deleted.The Operation.metadata will be WorkflowMetadata (https:\/\/cloud.google.com\/dataproc\/docs\/reference\/rpc\/google.cloud.dataproc.v1#workflowmetadata). Also see Using WorkflowMetadata (https:\/\/cloud.google.com\/dataproc\/docs\/concepts\/workflows\/debugging#using_workflowmetadata).On successful completion, Operation.response will be Empty.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.workflowTemplates.instantiateInline@.+module Gogol.Dataproc.Projects.Locations.WorkflowTemplates.InstantiateInline+  ( -- * Resource+    DataprocProjectsLocationsWorkflowTemplatesInstantiateInlineResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsWorkflowTemplatesInstantiateInline (..),+    newDataprocProjectsLocationsWorkflowTemplatesInstantiateInline,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.workflowTemplates.instantiateInline@ method which the+-- 'DataprocProjectsLocationsWorkflowTemplatesInstantiateInline' request conforms to.+type DataprocProjectsLocationsWorkflowTemplatesInstantiateInlineResource =+  "v1"+    Core.:> Core.Capture "parent" Core.Text+    Core.:> "workflowTemplates:instantiateInline"+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "requestId" 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] WorkflowTemplate+    Core.:> Core.Post '[Core.JSON] Operation++-- | Instantiates a template and begins execution.This method is equivalent to executing the sequence CreateWorkflowTemplate, InstantiateWorkflowTemplate, DeleteWorkflowTemplate.The returned Operation can be used to track execution of workflow by polling operations.get. The Operation will complete when entire workflow is finished.The running workflow can be aborted via operations.cancel. This will cause any inflight jobs to be cancelled and workflow-owned clusters to be deleted.The Operation.metadata will be WorkflowMetadata (https:\/\/cloud.google.com\/dataproc\/docs\/reference\/rpc\/google.cloud.dataproc.v1#workflowmetadata). Also see Using WorkflowMetadata (https:\/\/cloud.google.com\/dataproc\/docs\/concepts\/workflows\/debugging#using_workflowmetadata).On successful completion, Operation.response will be Empty.+--+-- /See:/ 'newDataprocProjectsLocationsWorkflowTemplatesInstantiateInline' smart constructor.+data DataprocProjectsLocationsWorkflowTemplatesInstantiateInline = DataprocProjectsLocationsWorkflowTemplatesInstantiateInline+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The resource name of the region or location, as described in https:\/\/cloud.google.com\/apis\/design\/resource/names. For projects.regions.workflowTemplates,instantiateinline, the resource name of the region has the following format: projects\/{project/id}\/regions\/{region} For projects.locations.workflowTemplates.instantiateinline, the resource name of the location has the following format: projects\/{project_id}\/locations\/{location}+    parent :: Core.Text,+    -- | Multipart request metadata.+    payload :: WorkflowTemplate,+    -- | Optional. A tag that prevents multiple concurrent workflow instances with the same tag from running. This mitigates risk of concurrent instances started due to retries.It is recommended to always set this value to a UUID (https:\/\/en.wikipedia.org\/wiki\/Universally/unique/identifier).The tag must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.+    requestId :: (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 'DataprocProjectsLocationsWorkflowTemplatesInstantiateInline' with the minimum fields required to make a request.+newDataprocProjectsLocationsWorkflowTemplatesInstantiateInline ::+  -- |  Required. The resource name of the region or location, as described in https:\/\/cloud.google.com\/apis\/design\/resource/names. For projects.regions.workflowTemplates,instantiateinline, the resource name of the region has the following format: projects\/{project/id}\/regions\/{region} For projects.locations.workflowTemplates.instantiateinline, the resource name of the location has the following format: projects\/{project_id}\/locations\/{location} See 'parent'.+  Core.Text ->+  -- |  Multipart request metadata. See 'payload'.+  WorkflowTemplate ->+  DataprocProjectsLocationsWorkflowTemplatesInstantiateInline+newDataprocProjectsLocationsWorkflowTemplatesInstantiateInline+  parent+  payload =+    DataprocProjectsLocationsWorkflowTemplatesInstantiateInline+      { xgafv =+          Core.Nothing,+        accessToken = Core.Nothing,+        callback = Core.Nothing,+        parent = parent,+        payload = payload,+        requestId = Core.Nothing,+        uploadType = Core.Nothing,+        uploadProtocol = Core.Nothing+      }++instance+  Core.GoogleRequest+    DataprocProjectsLocationsWorkflowTemplatesInstantiateInline+  where+  type+    Rs DataprocProjectsLocationsWorkflowTemplatesInstantiateInline =+      Operation+  type+    Scopes+      DataprocProjectsLocationsWorkflowTemplatesInstantiateInline =+      '[CloudPlatform'FullControl]+  requestClient+    DataprocProjectsLocationsWorkflowTemplatesInstantiateInline {..} =+      go+        parent+        xgafv+        accessToken+        callback+        requestId+        uploadType+        uploadProtocol+        (Core.Just Core.AltJSON)+        payload+        dataprocService+      where+        go =+          Core.buildClient+            ( Core.Proxy ::+                Core.Proxy+                  DataprocProjectsLocationsWorkflowTemplatesInstantiateInlineResource+            )+            Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/WorkflowTemplates/List.hs view
@@ -0,0 +1,128 @@+{-# 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.Dataproc.Projects.Locations.WorkflowTemplates.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 workflows that match the specified filter in the request.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.workflowTemplates.list@.+module Gogol.Dataproc.Projects.Locations.WorkflowTemplates.List+  ( -- * Resource+    DataprocProjectsLocationsWorkflowTemplatesListResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsWorkflowTemplatesList (..),+    newDataprocProjectsLocationsWorkflowTemplatesList,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.workflowTemplates.list@ method which the+-- 'DataprocProjectsLocationsWorkflowTemplatesList' request conforms to.+type DataprocProjectsLocationsWorkflowTemplatesListResource =+  "v1"+    Core.:> Core.Capture "parent" Core.Text+    Core.:> "workflowTemplates"+    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] ListWorkflowTemplatesResponse++-- | Lists workflows that match the specified filter in the request.+--+-- /See:/ 'newDataprocProjectsLocationsWorkflowTemplatesList' smart constructor.+data DataprocProjectsLocationsWorkflowTemplatesList = DataprocProjectsLocationsWorkflowTemplatesList+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Optional. The maximum number of results to return in each response.+    pageSize :: (Core.Maybe Core.Int32),+    -- | Optional. The page token, returned by a previous call, to request the next page of results.+    pageToken :: (Core.Maybe Core.Text),+    -- | Required. The resource name of the region or location, as described in https:\/\/cloud.google.com\/apis\/design\/resource/names. For projects.regions.workflowTemplates,list, the resource name of the region has the following format: projects\/{project/id}\/regions\/{region} For projects.locations.workflowTemplates.list, the resource name of the location has the following format: projects\/{project_id}\/locations\/{location}+    parent :: 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 'DataprocProjectsLocationsWorkflowTemplatesList' with the minimum fields required to make a request.+newDataprocProjectsLocationsWorkflowTemplatesList ::+  -- |  Required. The resource name of the region or location, as described in https:\/\/cloud.google.com\/apis\/design\/resource/names. For projects.regions.workflowTemplates,list, the resource name of the region has the following format: projects\/{project/id}\/regions\/{region} For projects.locations.workflowTemplates.list, the resource name of the location has the following format: projects\/{project_id}\/locations\/{location} See 'parent'.+  Core.Text ->+  DataprocProjectsLocationsWorkflowTemplatesList+newDataprocProjectsLocationsWorkflowTemplatesList parent =+  DataprocProjectsLocationsWorkflowTemplatesList+    { xgafv =+        Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      pageSize = Core.Nothing,+      pageToken = Core.Nothing,+      parent = parent,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance+  Core.GoogleRequest+    DataprocProjectsLocationsWorkflowTemplatesList+  where+  type+    Rs DataprocProjectsLocationsWorkflowTemplatesList =+      ListWorkflowTemplatesResponse+  type+    Scopes DataprocProjectsLocationsWorkflowTemplatesList =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsLocationsWorkflowTemplatesList {..} =+    go+      parent+      xgafv+      accessToken+      callback+      pageSize+      pageToken+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      dataprocService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy DataprocProjectsLocationsWorkflowTemplatesListResource+          )+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/WorkflowTemplates/SetIamPolicy.hs view
@@ -0,0 +1,128 @@+{-# 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.Dataproc.Projects.Locations.WorkflowTemplates.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/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.workflowTemplates.setIamPolicy@.+module Gogol.Dataproc.Projects.Locations.WorkflowTemplates.SetIamPolicy+  ( -- * Resource+    DataprocProjectsLocationsWorkflowTemplatesSetIamPolicyResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsWorkflowTemplatesSetIamPolicy (..),+    newDataprocProjectsLocationsWorkflowTemplatesSetIamPolicy,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.workflowTemplates.setIamPolicy@ method which the+-- 'DataprocProjectsLocationsWorkflowTemplatesSetIamPolicy' request conforms to.+type DataprocProjectsLocationsWorkflowTemplatesSetIamPolicyResource =+  "v1"+    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:/ 'newDataprocProjectsLocationsWorkflowTemplatesSetIamPolicy' smart constructor.+data DataprocProjectsLocationsWorkflowTemplatesSetIamPolicy = DataprocProjectsLocationsWorkflowTemplatesSetIamPolicy+  { -- | 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 Resource names (https:\/\/cloud.google.com\/apis\/design\/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 'DataprocProjectsLocationsWorkflowTemplatesSetIamPolicy' with the minimum fields required to make a request.+newDataprocProjectsLocationsWorkflowTemplatesSetIamPolicy ::+  -- |  Multipart request metadata. See 'payload'.+  SetIamPolicyRequest ->+  -- |  REQUIRED: The resource for which the policy is being specified. See Resource names (https:\/\/cloud.google.com\/apis\/design\/resource_names) for the appropriate value for this field. See 'resource'.+  Core.Text ->+  DataprocProjectsLocationsWorkflowTemplatesSetIamPolicy+newDataprocProjectsLocationsWorkflowTemplatesSetIamPolicy+  payload+  resource =+    DataprocProjectsLocationsWorkflowTemplatesSetIamPolicy+      { xgafv =+          Core.Nothing,+        accessToken = Core.Nothing,+        callback = Core.Nothing,+        payload = payload,+        resource = resource,+        uploadType = Core.Nothing,+        uploadProtocol = Core.Nothing+      }++instance+  Core.GoogleRequest+    DataprocProjectsLocationsWorkflowTemplatesSetIamPolicy+  where+  type+    Rs DataprocProjectsLocationsWorkflowTemplatesSetIamPolicy =+      Policy+  type+    Scopes DataprocProjectsLocationsWorkflowTemplatesSetIamPolicy =+      '[CloudPlatform'FullControl]+  requestClient+    DataprocProjectsLocationsWorkflowTemplatesSetIamPolicy {..} =+      go+        resource+        xgafv+        accessToken+        callback+        uploadType+        uploadProtocol+        (Core.Just Core.AltJSON)+        payload+        dataprocService+      where+        go =+          Core.buildClient+            ( Core.Proxy ::+                Core.Proxy+                  DataprocProjectsLocationsWorkflowTemplatesSetIamPolicyResource+            )+            Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/WorkflowTemplates/TestIamPermissions.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.Dataproc.Projects.Locations.WorkflowTemplates.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/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.workflowTemplates.testIamPermissions@.+module Gogol.Dataproc.Projects.Locations.WorkflowTemplates.TestIamPermissions+  ( -- * Resource+    DataprocProjectsLocationsWorkflowTemplatesTestIamPermissionsResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsWorkflowTemplatesTestIamPermissions (..),+    newDataprocProjectsLocationsWorkflowTemplatesTestIamPermissions,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.workflowTemplates.testIamPermissions@ method which the+-- 'DataprocProjectsLocationsWorkflowTemplatesTestIamPermissions' request conforms to.+type DataprocProjectsLocationsWorkflowTemplatesTestIamPermissionsResource =+  "v1"+    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:/ 'newDataprocProjectsLocationsWorkflowTemplatesTestIamPermissions' smart constructor.+data DataprocProjectsLocationsWorkflowTemplatesTestIamPermissions = DataprocProjectsLocationsWorkflowTemplatesTestIamPermissions+  { -- | 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 Resource names (https:\/\/cloud.google.com\/apis\/design\/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 'DataprocProjectsLocationsWorkflowTemplatesTestIamPermissions' with the minimum fields required to make a request.+newDataprocProjectsLocationsWorkflowTemplatesTestIamPermissions ::+  -- |  Multipart request metadata. See 'payload'.+  TestIamPermissionsRequest ->+  -- |  REQUIRED: The resource for which the policy detail is being requested. See Resource names (https:\/\/cloud.google.com\/apis\/design\/resource_names) for the appropriate value for this field. See 'resource'.+  Core.Text ->+  DataprocProjectsLocationsWorkflowTemplatesTestIamPermissions+newDataprocProjectsLocationsWorkflowTemplatesTestIamPermissions+  payload+  resource =+    DataprocProjectsLocationsWorkflowTemplatesTestIamPermissions+      { xgafv =+          Core.Nothing,+        accessToken = Core.Nothing,+        callback = Core.Nothing,+        payload = payload,+        resource = resource,+        uploadType = Core.Nothing,+        uploadProtocol = Core.Nothing+      }++instance+  Core.GoogleRequest+    DataprocProjectsLocationsWorkflowTemplatesTestIamPermissions+  where+  type+    Rs+      DataprocProjectsLocationsWorkflowTemplatesTestIamPermissions =+      TestIamPermissionsResponse+  type+    Scopes+      DataprocProjectsLocationsWorkflowTemplatesTestIamPermissions =+      '[CloudPlatform'FullControl]+  requestClient+    DataprocProjectsLocationsWorkflowTemplatesTestIamPermissions {..} =+      go+        resource+        xgafv+        accessToken+        callback+        uploadType+        uploadProtocol+        (Core.Just Core.AltJSON)+        payload+        dataprocService+      where+        go =+          Core.buildClient+            ( Core.Proxy ::+                Core.Proxy+                  DataprocProjectsLocationsWorkflowTemplatesTestIamPermissionsResource+            )+            Core.mempty
+ gen/Gogol/Dataproc/Projects/Locations/WorkflowTemplates/Update.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.Dataproc.Projects.Locations.WorkflowTemplates.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 (replaces) workflow template. The updated template must contain version that matches the current server version.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.workflowTemplates.update@.+module Gogol.Dataproc.Projects.Locations.WorkflowTemplates.Update+  ( -- * Resource+    DataprocProjectsLocationsWorkflowTemplatesUpdateResource,++    -- ** Constructing a Request+    DataprocProjectsLocationsWorkflowTemplatesUpdate (..),+    newDataprocProjectsLocationsWorkflowTemplatesUpdate,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.locations.workflowTemplates.update@ method which the+-- 'DataprocProjectsLocationsWorkflowTemplatesUpdate' request conforms to.+type DataprocProjectsLocationsWorkflowTemplatesUpdateResource =+  "v1"+    Core.:> Core.Capture "name" 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] WorkflowTemplate+    Core.:> Core.Put '[Core.JSON] WorkflowTemplate++-- | Updates (replaces) workflow template. The updated template must contain version that matches the current server version.+--+-- /See:/ 'newDataprocProjectsLocationsWorkflowTemplatesUpdate' smart constructor.+data DataprocProjectsLocationsWorkflowTemplatesUpdate = DataprocProjectsLocationsWorkflowTemplatesUpdate+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Output only. The resource name of the workflow template, as described in https:\/\/cloud.google.com\/apis\/design\/resource/names. For projects.regions.workflowTemplates, the resource name of the template has the following format: projects\/{project/id}\/regions\/{region}\/workflowTemplates\/{template/id} For projects.locations.workflowTemplates, the resource name of the template has the following format: projects\/{project/id}\/locations\/{location}\/workflowTemplates\/{template_id}+    name :: Core.Text,+    -- | Multipart request metadata.+    payload :: WorkflowTemplate,+    -- | 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 'DataprocProjectsLocationsWorkflowTemplatesUpdate' with the minimum fields required to make a request.+newDataprocProjectsLocationsWorkflowTemplatesUpdate ::+  -- |  Output only. The resource name of the workflow template, as described in https:\/\/cloud.google.com\/apis\/design\/resource/names. For projects.regions.workflowTemplates, the resource name of the template has the following format: projects\/{project/id}\/regions\/{region}\/workflowTemplates\/{template/id} For projects.locations.workflowTemplates, the resource name of the template has the following format: projects\/{project/id}\/locations\/{location}\/workflowTemplates\/{template_id} See 'name'.+  Core.Text ->+  -- |  Multipart request metadata. See 'payload'.+  WorkflowTemplate ->+  DataprocProjectsLocationsWorkflowTemplatesUpdate+newDataprocProjectsLocationsWorkflowTemplatesUpdate name payload =+  DataprocProjectsLocationsWorkflowTemplatesUpdate+    { xgafv =+        Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      name = name,+      payload = payload,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance+  Core.GoogleRequest+    DataprocProjectsLocationsWorkflowTemplatesUpdate+  where+  type+    Rs DataprocProjectsLocationsWorkflowTemplatesUpdate =+      WorkflowTemplate+  type+    Scopes DataprocProjectsLocationsWorkflowTemplatesUpdate =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsLocationsWorkflowTemplatesUpdate {..} =+    go+      name+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      payload+      dataprocService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy+                DataprocProjectsLocationsWorkflowTemplatesUpdateResource+          )+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Regions/AutoscalingPolicies/Create.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.Dataproc.Projects.Regions.AutoscalingPolicies.Create+-- 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 new autoscaling policy.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.autoscalingPolicies.create@.+module Gogol.Dataproc.Projects.Regions.AutoscalingPolicies.Create+  ( -- * Resource+    DataprocProjectsRegionsAutoscalingPoliciesCreateResource,++    -- ** Constructing a Request+    DataprocProjectsRegionsAutoscalingPoliciesCreate (..),+    newDataprocProjectsRegionsAutoscalingPoliciesCreate,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.regions.autoscalingPolicies.create@ method which the+-- 'DataprocProjectsRegionsAutoscalingPoliciesCreate' request conforms to.+type DataprocProjectsRegionsAutoscalingPoliciesCreateResource =+  "v1"+    Core.:> Core.Capture "parent" Core.Text+    Core.:> "autoscalingPolicies"+    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] AutoscalingPolicy+    Core.:> Core.Post '[Core.JSON] AutoscalingPolicy++-- | Creates new autoscaling policy.+--+-- /See:/ 'newDataprocProjectsRegionsAutoscalingPoliciesCreate' smart constructor.+data DataprocProjectsRegionsAutoscalingPoliciesCreate = DataprocProjectsRegionsAutoscalingPoliciesCreate+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The \"resource name\" of the region or location, as described in https:\/\/cloud.google.com\/apis\/design\/resource/names. For projects.regions.autoscalingPolicies.create, the resource name of the region has the following format: projects\/{project/id}\/regions\/{region} For projects.locations.autoscalingPolicies.create, the resource name of the location has the following format: projects\/{project_id}\/locations\/{location}+    parent :: Core.Text,+    -- | Multipart request metadata.+    payload :: AutoscalingPolicy,+    -- | 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 'DataprocProjectsRegionsAutoscalingPoliciesCreate' with the minimum fields required to make a request.+newDataprocProjectsRegionsAutoscalingPoliciesCreate ::+  -- |  Required. The \"resource name\" of the region or location, as described in https:\/\/cloud.google.com\/apis\/design\/resource/names. For projects.regions.autoscalingPolicies.create, the resource name of the region has the following format: projects\/{project/id}\/regions\/{region} For projects.locations.autoscalingPolicies.create, the resource name of the location has the following format: projects\/{project_id}\/locations\/{location} See 'parent'.+  Core.Text ->+  -- |  Multipart request metadata. See 'payload'.+  AutoscalingPolicy ->+  DataprocProjectsRegionsAutoscalingPoliciesCreate+newDataprocProjectsRegionsAutoscalingPoliciesCreate parent payload =+  DataprocProjectsRegionsAutoscalingPoliciesCreate+    { xgafv =+        Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      parent = parent,+      payload = payload,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance+  Core.GoogleRequest+    DataprocProjectsRegionsAutoscalingPoliciesCreate+  where+  type+    Rs DataprocProjectsRegionsAutoscalingPoliciesCreate =+      AutoscalingPolicy+  type+    Scopes DataprocProjectsRegionsAutoscalingPoliciesCreate =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsRegionsAutoscalingPoliciesCreate {..} =+    go+      parent+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      payload+      dataprocService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy+                DataprocProjectsRegionsAutoscalingPoliciesCreateResource+          )+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Regions/AutoscalingPolicies/Delete.hs view
@@ -0,0 +1,116 @@+{-# 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.Dataproc.Projects.Regions.AutoscalingPolicies.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 an autoscaling policy. It is an error to delete an autoscaling policy that is in use by one or more clusters.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.autoscalingPolicies.delete@.+module Gogol.Dataproc.Projects.Regions.AutoscalingPolicies.Delete+  ( -- * Resource+    DataprocProjectsRegionsAutoscalingPoliciesDeleteResource,++    -- ** Constructing a Request+    DataprocProjectsRegionsAutoscalingPoliciesDelete (..),+    newDataprocProjectsRegionsAutoscalingPoliciesDelete,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.regions.autoscalingPolicies.delete@ method which the+-- 'DataprocProjectsRegionsAutoscalingPoliciesDelete' request conforms to.+type DataprocProjectsRegionsAutoscalingPoliciesDeleteResource =+  "v1"+    Core.:> Core.Capture "name" 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] Empty++-- | Deletes an autoscaling policy. It is an error to delete an autoscaling policy that is in use by one or more clusters.+--+-- /See:/ 'newDataprocProjectsRegionsAutoscalingPoliciesDelete' smart constructor.+data DataprocProjectsRegionsAutoscalingPoliciesDelete = DataprocProjectsRegionsAutoscalingPoliciesDelete+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The \"resource name\" of the autoscaling policy, as described in https:\/\/cloud.google.com\/apis\/design\/resource/names. For projects.regions.autoscalingPolicies.delete, the resource name of the policy has the following format: projects\/{project/id}\/regions\/{region}\/autoscalingPolicies\/{policy/id} For projects.locations.autoscalingPolicies.delete, the resource name of the policy has the following format: projects\/{project/id}\/locations\/{location}\/autoscalingPolicies\/{policy_id}+    name :: 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 'DataprocProjectsRegionsAutoscalingPoliciesDelete' with the minimum fields required to make a request.+newDataprocProjectsRegionsAutoscalingPoliciesDelete ::+  -- |  Required. The \"resource name\" of the autoscaling policy, as described in https:\/\/cloud.google.com\/apis\/design\/resource/names. For projects.regions.autoscalingPolicies.delete, the resource name of the policy has the following format: projects\/{project/id}\/regions\/{region}\/autoscalingPolicies\/{policy/id} For projects.locations.autoscalingPolicies.delete, the resource name of the policy has the following format: projects\/{project/id}\/locations\/{location}\/autoscalingPolicies\/{policy_id} See 'name'.+  Core.Text ->+  DataprocProjectsRegionsAutoscalingPoliciesDelete+newDataprocProjectsRegionsAutoscalingPoliciesDelete name =+  DataprocProjectsRegionsAutoscalingPoliciesDelete+    { xgafv =+        Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      name = name,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance+  Core.GoogleRequest+    DataprocProjectsRegionsAutoscalingPoliciesDelete+  where+  type Rs DataprocProjectsRegionsAutoscalingPoliciesDelete = Empty+  type+    Scopes DataprocProjectsRegionsAutoscalingPoliciesDelete =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsRegionsAutoscalingPoliciesDelete {..} =+    go+      name+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      dataprocService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy+                DataprocProjectsRegionsAutoscalingPoliciesDeleteResource+          )+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Regions/AutoscalingPolicies/Get.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.Dataproc.Projects.Regions.AutoscalingPolicies.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)+--+-- Retrieves autoscaling policy.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.autoscalingPolicies.get@.+module Gogol.Dataproc.Projects.Regions.AutoscalingPolicies.Get+  ( -- * Resource+    DataprocProjectsRegionsAutoscalingPoliciesGetResource,++    -- ** Constructing a Request+    DataprocProjectsRegionsAutoscalingPoliciesGet (..),+    newDataprocProjectsRegionsAutoscalingPoliciesGet,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.regions.autoscalingPolicies.get@ method which the+-- 'DataprocProjectsRegionsAutoscalingPoliciesGet' request conforms to.+type DataprocProjectsRegionsAutoscalingPoliciesGetResource =+  "v1"+    Core.:> Core.Capture "name" 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] AutoscalingPolicy++-- | Retrieves autoscaling policy.+--+-- /See:/ 'newDataprocProjectsRegionsAutoscalingPoliciesGet' smart constructor.+data DataprocProjectsRegionsAutoscalingPoliciesGet = DataprocProjectsRegionsAutoscalingPoliciesGet+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The \"resource name\" of the autoscaling policy, as described in https:\/\/cloud.google.com\/apis\/design\/resource/names. For projects.regions.autoscalingPolicies.get, the resource name of the policy has the following format: projects\/{project/id}\/regions\/{region}\/autoscalingPolicies\/{policy/id} For projects.locations.autoscalingPolicies.get, the resource name of the policy has the following format: projects\/{project/id}\/locations\/{location}\/autoscalingPolicies\/{policy_id}+    name :: 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 'DataprocProjectsRegionsAutoscalingPoliciesGet' with the minimum fields required to make a request.+newDataprocProjectsRegionsAutoscalingPoliciesGet ::+  -- |  Required. The \"resource name\" of the autoscaling policy, as described in https:\/\/cloud.google.com\/apis\/design\/resource/names. For projects.regions.autoscalingPolicies.get, the resource name of the policy has the following format: projects\/{project/id}\/regions\/{region}\/autoscalingPolicies\/{policy/id} For projects.locations.autoscalingPolicies.get, the resource name of the policy has the following format: projects\/{project/id}\/locations\/{location}\/autoscalingPolicies\/{policy_id} See 'name'.+  Core.Text ->+  DataprocProjectsRegionsAutoscalingPoliciesGet+newDataprocProjectsRegionsAutoscalingPoliciesGet name =+  DataprocProjectsRegionsAutoscalingPoliciesGet+    { xgafv =+        Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      name = name,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance+  Core.GoogleRequest+    DataprocProjectsRegionsAutoscalingPoliciesGet+  where+  type+    Rs DataprocProjectsRegionsAutoscalingPoliciesGet =+      AutoscalingPolicy+  type+    Scopes DataprocProjectsRegionsAutoscalingPoliciesGet =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsRegionsAutoscalingPoliciesGet {..} =+    go+      name+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      dataprocService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy DataprocProjectsRegionsAutoscalingPoliciesGetResource+          )+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Regions/AutoscalingPolicies/GetIamPolicy.hs view
@@ -0,0 +1,128 @@+{-# 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.Dataproc.Projects.Regions.AutoscalingPolicies.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/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.autoscalingPolicies.getIamPolicy@.+module Gogol.Dataproc.Projects.Regions.AutoscalingPolicies.GetIamPolicy+  ( -- * Resource+    DataprocProjectsRegionsAutoscalingPoliciesGetIamPolicyResource,++    -- ** Constructing a Request+    DataprocProjectsRegionsAutoscalingPoliciesGetIamPolicy (..),+    newDataprocProjectsRegionsAutoscalingPoliciesGetIamPolicy,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.regions.autoscalingPolicies.getIamPolicy@ method which the+-- 'DataprocProjectsRegionsAutoscalingPoliciesGetIamPolicy' request conforms to.+type DataprocProjectsRegionsAutoscalingPoliciesGetIamPolicyResource =+  "v1"+    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:/ 'newDataprocProjectsRegionsAutoscalingPoliciesGetIamPolicy' smart constructor.+data DataprocProjectsRegionsAutoscalingPoliciesGetIamPolicy = DataprocProjectsRegionsAutoscalingPoliciesGetIamPolicy+  { -- | 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 Resource names (https:\/\/cloud.google.com\/apis\/design\/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 'DataprocProjectsRegionsAutoscalingPoliciesGetIamPolicy' with the minimum fields required to make a request.+newDataprocProjectsRegionsAutoscalingPoliciesGetIamPolicy ::+  -- |  Multipart request metadata. See 'payload'.+  GetIamPolicyRequest ->+  -- |  REQUIRED: The resource for which the policy is being requested. See Resource names (https:\/\/cloud.google.com\/apis\/design\/resource_names) for the appropriate value for this field. See 'resource'.+  Core.Text ->+  DataprocProjectsRegionsAutoscalingPoliciesGetIamPolicy+newDataprocProjectsRegionsAutoscalingPoliciesGetIamPolicy+  payload+  resource =+    DataprocProjectsRegionsAutoscalingPoliciesGetIamPolicy+      { xgafv =+          Core.Nothing,+        accessToken = Core.Nothing,+        callback = Core.Nothing,+        payload = payload,+        resource = resource,+        uploadType = Core.Nothing,+        uploadProtocol = Core.Nothing+      }++instance+  Core.GoogleRequest+    DataprocProjectsRegionsAutoscalingPoliciesGetIamPolicy+  where+  type+    Rs DataprocProjectsRegionsAutoscalingPoliciesGetIamPolicy =+      Policy+  type+    Scopes DataprocProjectsRegionsAutoscalingPoliciesGetIamPolicy =+      '[CloudPlatform'FullControl]+  requestClient+    DataprocProjectsRegionsAutoscalingPoliciesGetIamPolicy {..} =+      go+        resource+        xgafv+        accessToken+        callback+        uploadType+        uploadProtocol+        (Core.Just Core.AltJSON)+        payload+        dataprocService+      where+        go =+          Core.buildClient+            ( Core.Proxy ::+                Core.Proxy+                  DataprocProjectsRegionsAutoscalingPoliciesGetIamPolicyResource+            )+            Core.mempty
+ gen/Gogol/Dataproc/Projects/Regions/AutoscalingPolicies/List.hs view
@@ -0,0 +1,128 @@+{-# 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.Dataproc.Projects.Regions.AutoscalingPolicies.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 autoscaling policies in the project.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.autoscalingPolicies.list@.+module Gogol.Dataproc.Projects.Regions.AutoscalingPolicies.List+  ( -- * Resource+    DataprocProjectsRegionsAutoscalingPoliciesListResource,++    -- ** Constructing a Request+    DataprocProjectsRegionsAutoscalingPoliciesList (..),+    newDataprocProjectsRegionsAutoscalingPoliciesList,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.regions.autoscalingPolicies.list@ method which the+-- 'DataprocProjectsRegionsAutoscalingPoliciesList' request conforms to.+type DataprocProjectsRegionsAutoscalingPoliciesListResource =+  "v1"+    Core.:> Core.Capture "parent" Core.Text+    Core.:> "autoscalingPolicies"+    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] ListAutoscalingPoliciesResponse++-- | Lists autoscaling policies in the project.+--+-- /See:/ 'newDataprocProjectsRegionsAutoscalingPoliciesList' smart constructor.+data DataprocProjectsRegionsAutoscalingPoliciesList = DataprocProjectsRegionsAutoscalingPoliciesList+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Optional. The maximum number of results to return in each response. Must be less than or equal to 1000. Defaults to 100.+    pageSize :: (Core.Maybe Core.Int32),+    -- | Optional. The page token, returned by a previous call, to request the next page of results.+    pageToken :: (Core.Maybe Core.Text),+    -- | Required. The \"resource name\" of the region or location, as described in https:\/\/cloud.google.com\/apis\/design\/resource/names. For projects.regions.autoscalingPolicies.list, the resource name of the region has the following format: projects\/{project/id}\/regions\/{region} For projects.locations.autoscalingPolicies.list, the resource name of the location has the following format: projects\/{project_id}\/locations\/{location}+    parent :: 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 'DataprocProjectsRegionsAutoscalingPoliciesList' with the minimum fields required to make a request.+newDataprocProjectsRegionsAutoscalingPoliciesList ::+  -- |  Required. The \"resource name\" of the region or location, as described in https:\/\/cloud.google.com\/apis\/design\/resource/names. For projects.regions.autoscalingPolicies.list, the resource name of the region has the following format: projects\/{project/id}\/regions\/{region} For projects.locations.autoscalingPolicies.list, the resource name of the location has the following format: projects\/{project_id}\/locations\/{location} See 'parent'.+  Core.Text ->+  DataprocProjectsRegionsAutoscalingPoliciesList+newDataprocProjectsRegionsAutoscalingPoliciesList parent =+  DataprocProjectsRegionsAutoscalingPoliciesList+    { xgafv =+        Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      pageSize = Core.Nothing,+      pageToken = Core.Nothing,+      parent = parent,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance+  Core.GoogleRequest+    DataprocProjectsRegionsAutoscalingPoliciesList+  where+  type+    Rs DataprocProjectsRegionsAutoscalingPoliciesList =+      ListAutoscalingPoliciesResponse+  type+    Scopes DataprocProjectsRegionsAutoscalingPoliciesList =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsRegionsAutoscalingPoliciesList {..} =+    go+      parent+      xgafv+      accessToken+      callback+      pageSize+      pageToken+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      dataprocService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy DataprocProjectsRegionsAutoscalingPoliciesListResource+          )+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Regions/AutoscalingPolicies/SetIamPolicy.hs view
@@ -0,0 +1,128 @@+{-# 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.Dataproc.Projects.Regions.AutoscalingPolicies.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/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.autoscalingPolicies.setIamPolicy@.+module Gogol.Dataproc.Projects.Regions.AutoscalingPolicies.SetIamPolicy+  ( -- * Resource+    DataprocProjectsRegionsAutoscalingPoliciesSetIamPolicyResource,++    -- ** Constructing a Request+    DataprocProjectsRegionsAutoscalingPoliciesSetIamPolicy (..),+    newDataprocProjectsRegionsAutoscalingPoliciesSetIamPolicy,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.regions.autoscalingPolicies.setIamPolicy@ method which the+-- 'DataprocProjectsRegionsAutoscalingPoliciesSetIamPolicy' request conforms to.+type DataprocProjectsRegionsAutoscalingPoliciesSetIamPolicyResource =+  "v1"+    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:/ 'newDataprocProjectsRegionsAutoscalingPoliciesSetIamPolicy' smart constructor.+data DataprocProjectsRegionsAutoscalingPoliciesSetIamPolicy = DataprocProjectsRegionsAutoscalingPoliciesSetIamPolicy+  { -- | 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 Resource names (https:\/\/cloud.google.com\/apis\/design\/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 'DataprocProjectsRegionsAutoscalingPoliciesSetIamPolicy' with the minimum fields required to make a request.+newDataprocProjectsRegionsAutoscalingPoliciesSetIamPolicy ::+  -- |  Multipart request metadata. See 'payload'.+  SetIamPolicyRequest ->+  -- |  REQUIRED: The resource for which the policy is being specified. See Resource names (https:\/\/cloud.google.com\/apis\/design\/resource_names) for the appropriate value for this field. See 'resource'.+  Core.Text ->+  DataprocProjectsRegionsAutoscalingPoliciesSetIamPolicy+newDataprocProjectsRegionsAutoscalingPoliciesSetIamPolicy+  payload+  resource =+    DataprocProjectsRegionsAutoscalingPoliciesSetIamPolicy+      { xgafv =+          Core.Nothing,+        accessToken = Core.Nothing,+        callback = Core.Nothing,+        payload = payload,+        resource = resource,+        uploadType = Core.Nothing,+        uploadProtocol = Core.Nothing+      }++instance+  Core.GoogleRequest+    DataprocProjectsRegionsAutoscalingPoliciesSetIamPolicy+  where+  type+    Rs DataprocProjectsRegionsAutoscalingPoliciesSetIamPolicy =+      Policy+  type+    Scopes DataprocProjectsRegionsAutoscalingPoliciesSetIamPolicy =+      '[CloudPlatform'FullControl]+  requestClient+    DataprocProjectsRegionsAutoscalingPoliciesSetIamPolicy {..} =+      go+        resource+        xgafv+        accessToken+        callback+        uploadType+        uploadProtocol+        (Core.Just Core.AltJSON)+        payload+        dataprocService+      where+        go =+          Core.buildClient+            ( Core.Proxy ::+                Core.Proxy+                  DataprocProjectsRegionsAutoscalingPoliciesSetIamPolicyResource+            )+            Core.mempty
+ gen/Gogol/Dataproc/Projects/Regions/AutoscalingPolicies/TestIamPermissions.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.Dataproc.Projects.Regions.AutoscalingPolicies.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/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.autoscalingPolicies.testIamPermissions@.+module Gogol.Dataproc.Projects.Regions.AutoscalingPolicies.TestIamPermissions+  ( -- * Resource+    DataprocProjectsRegionsAutoscalingPoliciesTestIamPermissionsResource,++    -- ** Constructing a Request+    DataprocProjectsRegionsAutoscalingPoliciesTestIamPermissions (..),+    newDataprocProjectsRegionsAutoscalingPoliciesTestIamPermissions,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.regions.autoscalingPolicies.testIamPermissions@ method which the+-- 'DataprocProjectsRegionsAutoscalingPoliciesTestIamPermissions' request conforms to.+type DataprocProjectsRegionsAutoscalingPoliciesTestIamPermissionsResource =+  "v1"+    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:/ 'newDataprocProjectsRegionsAutoscalingPoliciesTestIamPermissions' smart constructor.+data DataprocProjectsRegionsAutoscalingPoliciesTestIamPermissions = DataprocProjectsRegionsAutoscalingPoliciesTestIamPermissions+  { -- | 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 Resource names (https:\/\/cloud.google.com\/apis\/design\/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 'DataprocProjectsRegionsAutoscalingPoliciesTestIamPermissions' with the minimum fields required to make a request.+newDataprocProjectsRegionsAutoscalingPoliciesTestIamPermissions ::+  -- |  Multipart request metadata. See 'payload'.+  TestIamPermissionsRequest ->+  -- |  REQUIRED: The resource for which the policy detail is being requested. See Resource names (https:\/\/cloud.google.com\/apis\/design\/resource_names) for the appropriate value for this field. See 'resource'.+  Core.Text ->+  DataprocProjectsRegionsAutoscalingPoliciesTestIamPermissions+newDataprocProjectsRegionsAutoscalingPoliciesTestIamPermissions+  payload+  resource =+    DataprocProjectsRegionsAutoscalingPoliciesTestIamPermissions+      { xgafv =+          Core.Nothing,+        accessToken = Core.Nothing,+        callback = Core.Nothing,+        payload = payload,+        resource = resource,+        uploadType = Core.Nothing,+        uploadProtocol = Core.Nothing+      }++instance+  Core.GoogleRequest+    DataprocProjectsRegionsAutoscalingPoliciesTestIamPermissions+  where+  type+    Rs+      DataprocProjectsRegionsAutoscalingPoliciesTestIamPermissions =+      TestIamPermissionsResponse+  type+    Scopes+      DataprocProjectsRegionsAutoscalingPoliciesTestIamPermissions =+      '[CloudPlatform'FullControl]+  requestClient+    DataprocProjectsRegionsAutoscalingPoliciesTestIamPermissions {..} =+      go+        resource+        xgafv+        accessToken+        callback+        uploadType+        uploadProtocol+        (Core.Just Core.AltJSON)+        payload+        dataprocService+      where+        go =+          Core.buildClient+            ( Core.Proxy ::+                Core.Proxy+                  DataprocProjectsRegionsAutoscalingPoliciesTestIamPermissionsResource+            )+            Core.mempty
+ gen/Gogol/Dataproc/Projects/Regions/AutoscalingPolicies/Update.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.Dataproc.Projects.Regions.AutoscalingPolicies.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 (replaces) autoscaling policy.Disabled check for update_mask, because all updates will be full replacements.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.autoscalingPolicies.update@.+module Gogol.Dataproc.Projects.Regions.AutoscalingPolicies.Update+  ( -- * Resource+    DataprocProjectsRegionsAutoscalingPoliciesUpdateResource,++    -- ** Constructing a Request+    DataprocProjectsRegionsAutoscalingPoliciesUpdate (..),+    newDataprocProjectsRegionsAutoscalingPoliciesUpdate,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.regions.autoscalingPolicies.update@ method which the+-- 'DataprocProjectsRegionsAutoscalingPoliciesUpdate' request conforms to.+type DataprocProjectsRegionsAutoscalingPoliciesUpdateResource =+  "v1"+    Core.:> Core.Capture "name" 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] AutoscalingPolicy+    Core.:> Core.Put '[Core.JSON] AutoscalingPolicy++-- | Updates (replaces) autoscaling policy.Disabled check for update_mask, because all updates will be full replacements.+--+-- /See:/ 'newDataprocProjectsRegionsAutoscalingPoliciesUpdate' smart constructor.+data DataprocProjectsRegionsAutoscalingPoliciesUpdate = DataprocProjectsRegionsAutoscalingPoliciesUpdate+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Output only. The \"resource name\" of the autoscaling policy, as described in https:\/\/cloud.google.com\/apis\/design\/resource/names. For projects.regions.autoscalingPolicies, the resource name of the policy has the following format: projects\/{project/id}\/regions\/{region}\/autoscalingPolicies\/{policy/id} For projects.locations.autoscalingPolicies, the resource name of the policy has the following format: projects\/{project/id}\/locations\/{location}\/autoscalingPolicies\/{policy_id}+    name :: Core.Text,+    -- | Multipart request metadata.+    payload :: AutoscalingPolicy,+    -- | 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 'DataprocProjectsRegionsAutoscalingPoliciesUpdate' with the minimum fields required to make a request.+newDataprocProjectsRegionsAutoscalingPoliciesUpdate ::+  -- |  Output only. The \"resource name\" of the autoscaling policy, as described in https:\/\/cloud.google.com\/apis\/design\/resource/names. For projects.regions.autoscalingPolicies, the resource name of the policy has the following format: projects\/{project/id}\/regions\/{region}\/autoscalingPolicies\/{policy/id} For projects.locations.autoscalingPolicies, the resource name of the policy has the following format: projects\/{project/id}\/locations\/{location}\/autoscalingPolicies\/{policy_id} See 'name'.+  Core.Text ->+  -- |  Multipart request metadata. See 'payload'.+  AutoscalingPolicy ->+  DataprocProjectsRegionsAutoscalingPoliciesUpdate+newDataprocProjectsRegionsAutoscalingPoliciesUpdate name payload =+  DataprocProjectsRegionsAutoscalingPoliciesUpdate+    { xgafv =+        Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      name = name,+      payload = payload,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance+  Core.GoogleRequest+    DataprocProjectsRegionsAutoscalingPoliciesUpdate+  where+  type+    Rs DataprocProjectsRegionsAutoscalingPoliciesUpdate =+      AutoscalingPolicy+  type+    Scopes DataprocProjectsRegionsAutoscalingPoliciesUpdate =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsRegionsAutoscalingPoliciesUpdate {..} =+    go+      name+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      payload+      dataprocService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy+                DataprocProjectsRegionsAutoscalingPoliciesUpdateResource+          )+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Regions/Clusters/Create.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.Dataproc.Projects.Regions.Clusters.Create+-- 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 cluster in a project. The returned Operation.metadata will be ClusterOperationMetadata (https:\/\/cloud.google.com\/dataproc\/docs\/reference\/rpc\/google.cloud.dataproc.v1#clusteroperationmetadata).+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.clusters.create@.+module Gogol.Dataproc.Projects.Regions.Clusters.Create+  ( -- * Resource+    DataprocProjectsRegionsClustersCreateResource,++    -- ** Constructing a Request+    DataprocProjectsRegionsClustersCreate (..),+    newDataprocProjectsRegionsClustersCreate,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.regions.clusters.create@ method which the+-- 'DataprocProjectsRegionsClustersCreate' request conforms to.+type DataprocProjectsRegionsClustersCreateResource =+  "v1"+    Core.:> "projects"+    Core.:> Core.Capture "projectId" Core.Text+    Core.:> "regions"+    Core.:> Core.Capture "region" Core.Text+    Core.:> "clusters"+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam+              "actionOnFailedPrimaryWorkers"+              ProjectsRegionsClustersCreateActionOnFailedPrimaryWorkers+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "requestId" 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] Cluster+    Core.:> Core.Post '[Core.JSON] Operation++-- | Creates a cluster in a project. The returned Operation.metadata will be ClusterOperationMetadata (https:\/\/cloud.google.com\/dataproc\/docs\/reference\/rpc\/google.cloud.dataproc.v1#clusteroperationmetadata).+--+-- /See:/ 'newDataprocProjectsRegionsClustersCreate' smart constructor.+data DataprocProjectsRegionsClustersCreate = DataprocProjectsRegionsClustersCreate+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | Optional. Failure action when primary worker creation fails.+    actionOnFailedPrimaryWorkers ::+      ( Core.Maybe+          ProjectsRegionsClustersCreateActionOnFailedPrimaryWorkers+      ),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Multipart request metadata.+    payload :: Cluster,+    -- | Required. The ID of the Google Cloud Platform project that the cluster belongs to.+    projectId :: Core.Text,+    -- | Required. The Dataproc region in which to handle the request.+    region :: Core.Text,+    -- | Optional. A unique ID used to identify the request. If the server receives two CreateClusterRequest (https:\/\/cloud.google.com\/dataproc\/docs\/reference\/rpc\/google.cloud.dataproc.v1#google.cloud.dataproc.v1.CreateClusterRequest)s with the same id, then the second request will be ignored and the first google.longrunning.Operation created and stored in the backend is returned.It is recommended to always set this value to a UUID (https:\/\/en.wikipedia.org\/wiki\/Universally/unique/identifier).The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.+    requestId :: (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 'DataprocProjectsRegionsClustersCreate' with the minimum fields required to make a request.+newDataprocProjectsRegionsClustersCreate ::+  -- |  Multipart request metadata. See 'payload'.+  Cluster ->+  -- |  Required. The ID of the Google Cloud Platform project that the cluster belongs to. See 'projectId'.+  Core.Text ->+  -- |  Required. The Dataproc region in which to handle the request. See 'region'.+  Core.Text ->+  DataprocProjectsRegionsClustersCreate+newDataprocProjectsRegionsClustersCreate payload projectId region =+  DataprocProjectsRegionsClustersCreate+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      actionOnFailedPrimaryWorkers = Core.Nothing,+      callback = Core.Nothing,+      payload = payload,+      projectId = projectId,+      region = region,+      requestId = Core.Nothing,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest DataprocProjectsRegionsClustersCreate where+  type Rs DataprocProjectsRegionsClustersCreate = Operation+  type+    Scopes DataprocProjectsRegionsClustersCreate =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsRegionsClustersCreate {..} =+    go+      projectId+      region+      xgafv+      accessToken+      actionOnFailedPrimaryWorkers+      callback+      requestId+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      payload+      dataprocService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy DataprocProjectsRegionsClustersCreateResource+          )+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Regions/Clusters/Delete.hs view
@@ -0,0 +1,146 @@+{-# 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.Dataproc.Projects.Regions.Clusters.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 cluster in a project. The returned Operation.metadata will be ClusterOperationMetadata (https:\/\/cloud.google.com\/dataproc\/docs\/reference\/rpc\/google.cloud.dataproc.v1#clusteroperationmetadata).+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.clusters.delete@.+module Gogol.Dataproc.Projects.Regions.Clusters.Delete+  ( -- * Resource+    DataprocProjectsRegionsClustersDeleteResource,++    -- ** Constructing a Request+    DataprocProjectsRegionsClustersDelete (..),+    newDataprocProjectsRegionsClustersDelete,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.regions.clusters.delete@ method which the+-- 'DataprocProjectsRegionsClustersDelete' request conforms to.+type DataprocProjectsRegionsClustersDeleteResource =+  "v1"+    Core.:> "projects"+    Core.:> Core.Capture "projectId" Core.Text+    Core.:> "regions"+    Core.:> Core.Capture "region" Core.Text+    Core.:> "clusters"+    Core.:> Core.Capture "clusterName" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "clusterUuid" Core.Text+    Core.:> Core.QueryParam "gracefulTerminationTimeout" Core.Duration+    Core.:> Core.QueryParam "requestId" 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] Operation++-- | Deletes a cluster in a project. The returned Operation.metadata will be ClusterOperationMetadata (https:\/\/cloud.google.com\/dataproc\/docs\/reference\/rpc\/google.cloud.dataproc.v1#clusteroperationmetadata).+--+-- /See:/ 'newDataprocProjectsRegionsClustersDelete' smart constructor.+data DataprocProjectsRegionsClustersDelete = DataprocProjectsRegionsClustersDelete+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The cluster name.+    clusterName :: Core.Text,+    -- | Optional. Specifying the cluster/uuid means the RPC should fail (with error NOT/FOUND) if cluster with specified UUID does not exist.+    clusterUuid :: (Core.Maybe Core.Text),+    -- | Optional. The graceful termination timeout for the deletion of the cluster. Indicate the time the request will wait to complete the running jobs on the cluster before its forceful deletion. Default value is 0 indicating that the user has not enabled the graceful termination. Value can be between 60 second and 6 Hours, in case the graceful termination is enabled. (There is no separate flag to check the enabling or disabling of graceful termination, it can be checked by the values in the field).+    gracefulTerminationTimeout :: (Core.Maybe Core.Duration),+    -- | Required. The ID of the Google Cloud Platform project that the cluster belongs to.+    projectId :: Core.Text,+    -- | Required. The Dataproc region in which to handle the request.+    region :: Core.Text,+    -- | Optional. A unique ID used to identify the request. If the server receives two DeleteClusterRequest (https:\/\/cloud.google.com\/dataproc\/docs\/reference\/rpc\/google.cloud.dataproc.v1#google.cloud.dataproc.v1.DeleteClusterRequest)s with the same id, then the second request will be ignored and the first google.longrunning.Operation created and stored in the backend is returned.It is recommended to always set this value to a UUID (https:\/\/en.wikipedia.org\/wiki\/Universally/unique/identifier).The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.+    requestId :: (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 'DataprocProjectsRegionsClustersDelete' with the minimum fields required to make a request.+newDataprocProjectsRegionsClustersDelete ::+  -- |  Required. The cluster name. See 'clusterName'.+  Core.Text ->+  -- |  Required. The ID of the Google Cloud Platform project that the cluster belongs to. See 'projectId'.+  Core.Text ->+  -- |  Required. The Dataproc region in which to handle the request. See 'region'.+  Core.Text ->+  DataprocProjectsRegionsClustersDelete+newDataprocProjectsRegionsClustersDelete+  clusterName+  projectId+  region =+    DataprocProjectsRegionsClustersDelete+      { xgafv = Core.Nothing,+        accessToken = Core.Nothing,+        callback = Core.Nothing,+        clusterName = clusterName,+        clusterUuid = Core.Nothing,+        gracefulTerminationTimeout = Core.Nothing,+        projectId = projectId,+        region = region,+        requestId = Core.Nothing,+        uploadType = Core.Nothing,+        uploadProtocol = Core.Nothing+      }++instance Core.GoogleRequest DataprocProjectsRegionsClustersDelete where+  type Rs DataprocProjectsRegionsClustersDelete = Operation+  type+    Scopes DataprocProjectsRegionsClustersDelete =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsRegionsClustersDelete {..} =+    go+      projectId+      region+      clusterName+      xgafv+      accessToken+      callback+      clusterUuid+      gracefulTerminationTimeout+      requestId+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      dataprocService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy DataprocProjectsRegionsClustersDeleteResource+          )+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Regions/Clusters/Diagnose.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.Dataproc.Projects.Regions.Clusters.Diagnose+-- 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 cluster diagnostic information. The returned Operation.metadata will be ClusterOperationMetadata (https:\/\/cloud.google.com\/dataproc\/docs\/reference\/rpc\/google.cloud.dataproc.v1#clusteroperationmetadata). After the operation completes, Operation.response contains DiagnoseClusterResults (https:\/\/cloud.google.com\/dataproc\/docs\/reference\/rpc\/google.cloud.dataproc.v1#diagnoseclusterresults).+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.clusters.diagnose@.+module Gogol.Dataproc.Projects.Regions.Clusters.Diagnose+  ( -- * Resource+    DataprocProjectsRegionsClustersDiagnoseResource,++    -- ** Constructing a Request+    DataprocProjectsRegionsClustersDiagnose (..),+    newDataprocProjectsRegionsClustersDiagnose,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.regions.clusters.diagnose@ method which the+-- 'DataprocProjectsRegionsClustersDiagnose' request conforms to.+type DataprocProjectsRegionsClustersDiagnoseResource =+  "v1"+    Core.:> "projects"+    Core.:> Core.Capture "projectId" Core.Text+    Core.:> "regions"+    Core.:> Core.Capture "region" Core.Text+    Core.:> "clusters"+    Core.:> Core.CaptureMode "clusterName" "diagnose" 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] DiagnoseClusterRequest+    Core.:> Core.Post '[Core.JSON] Operation++-- | Gets cluster diagnostic information. The returned Operation.metadata will be ClusterOperationMetadata (https:\/\/cloud.google.com\/dataproc\/docs\/reference\/rpc\/google.cloud.dataproc.v1#clusteroperationmetadata). After the operation completes, Operation.response contains DiagnoseClusterResults (https:\/\/cloud.google.com\/dataproc\/docs\/reference\/rpc\/google.cloud.dataproc.v1#diagnoseclusterresults).+--+-- /See:/ 'newDataprocProjectsRegionsClustersDiagnose' smart constructor.+data DataprocProjectsRegionsClustersDiagnose = DataprocProjectsRegionsClustersDiagnose+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The cluster name.+    clusterName :: Core.Text,+    -- | Multipart request metadata.+    payload :: DiagnoseClusterRequest,+    -- | Required. The ID of the Google Cloud Platform project that the cluster belongs to.+    projectId :: Core.Text,+    -- | Required. The Dataproc region in which to handle the request.+    region :: 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 'DataprocProjectsRegionsClustersDiagnose' with the minimum fields required to make a request.+newDataprocProjectsRegionsClustersDiagnose ::+  -- |  Required. The cluster name. See 'clusterName'.+  Core.Text ->+  -- |  Multipart request metadata. See 'payload'.+  DiagnoseClusterRequest ->+  -- |  Required. The ID of the Google Cloud Platform project that the cluster belongs to. See 'projectId'.+  Core.Text ->+  -- |  Required. The Dataproc region in which to handle the request. See 'region'.+  Core.Text ->+  DataprocProjectsRegionsClustersDiagnose+newDataprocProjectsRegionsClustersDiagnose+  clusterName+  payload+  projectId+  region =+    DataprocProjectsRegionsClustersDiagnose+      { xgafv = Core.Nothing,+        accessToken = Core.Nothing,+        callback = Core.Nothing,+        clusterName = clusterName,+        payload = payload,+        projectId = projectId,+        region = region,+        uploadType = Core.Nothing,+        uploadProtocol = Core.Nothing+      }++instance Core.GoogleRequest DataprocProjectsRegionsClustersDiagnose where+  type Rs DataprocProjectsRegionsClustersDiagnose = Operation+  type+    Scopes DataprocProjectsRegionsClustersDiagnose =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsRegionsClustersDiagnose {..} =+    go+      projectId+      region+      clusterName+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      payload+      dataprocService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy DataprocProjectsRegionsClustersDiagnoseResource+          )+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Regions/Clusters/Get.hs view
@@ -0,0 +1,128 @@+{-# 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.Dataproc.Projects.Regions.Clusters.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 resource representation for a cluster in a project.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.clusters.get@.+module Gogol.Dataproc.Projects.Regions.Clusters.Get+  ( -- * Resource+    DataprocProjectsRegionsClustersGetResource,++    -- ** Constructing a Request+    DataprocProjectsRegionsClustersGet (..),+    newDataprocProjectsRegionsClustersGet,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.regions.clusters.get@ method which the+-- 'DataprocProjectsRegionsClustersGet' request conforms to.+type DataprocProjectsRegionsClustersGetResource =+  "v1"+    Core.:> "projects"+    Core.:> Core.Capture "projectId" Core.Text+    Core.:> "regions"+    Core.:> Core.Capture "region" Core.Text+    Core.:> "clusters"+    Core.:> Core.Capture "clusterName" 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] Cluster++-- | Gets the resource representation for a cluster in a project.+--+-- /See:/ 'newDataprocProjectsRegionsClustersGet' smart constructor.+data DataprocProjectsRegionsClustersGet = DataprocProjectsRegionsClustersGet+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The cluster name.+    clusterName :: Core.Text,+    -- | Required. The ID of the Google Cloud Platform project that the cluster belongs to.+    projectId :: Core.Text,+    -- | Required. The Dataproc region in which to handle the request.+    region :: 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 'DataprocProjectsRegionsClustersGet' with the minimum fields required to make a request.+newDataprocProjectsRegionsClustersGet ::+  -- |  Required. The cluster name. See 'clusterName'.+  Core.Text ->+  -- |  Required. The ID of the Google Cloud Platform project that the cluster belongs to. See 'projectId'.+  Core.Text ->+  -- |  Required. The Dataproc region in which to handle the request. See 'region'.+  Core.Text ->+  DataprocProjectsRegionsClustersGet+newDataprocProjectsRegionsClustersGet clusterName projectId region =+  DataprocProjectsRegionsClustersGet+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      clusterName = clusterName,+      projectId = projectId,+      region = region,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest DataprocProjectsRegionsClustersGet where+  type Rs DataprocProjectsRegionsClustersGet = Cluster+  type+    Scopes DataprocProjectsRegionsClustersGet =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsRegionsClustersGet {..} =+    go+      projectId+      region+      clusterName+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      dataprocService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy DataprocProjectsRegionsClustersGetResource+          )+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Regions/Clusters/GetIamPolicy.hs view
@@ -0,0 +1,121 @@+{-# 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.Dataproc.Projects.Regions.Clusters.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/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.clusters.getIamPolicy@.+module Gogol.Dataproc.Projects.Regions.Clusters.GetIamPolicy+  ( -- * Resource+    DataprocProjectsRegionsClustersGetIamPolicyResource,++    -- ** Constructing a Request+    DataprocProjectsRegionsClustersGetIamPolicy (..),+    newDataprocProjectsRegionsClustersGetIamPolicy,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.regions.clusters.getIamPolicy@ method which the+-- 'DataprocProjectsRegionsClustersGetIamPolicy' request conforms to.+type DataprocProjectsRegionsClustersGetIamPolicyResource =+  "v1"+    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:/ 'newDataprocProjectsRegionsClustersGetIamPolicy' smart constructor.+data DataprocProjectsRegionsClustersGetIamPolicy = DataprocProjectsRegionsClustersGetIamPolicy+  { -- | 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 Resource names (https:\/\/cloud.google.com\/apis\/design\/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 'DataprocProjectsRegionsClustersGetIamPolicy' with the minimum fields required to make a request.+newDataprocProjectsRegionsClustersGetIamPolicy ::+  -- |  Multipart request metadata. See 'payload'.+  GetIamPolicyRequest ->+  -- |  REQUIRED: The resource for which the policy is being requested. See Resource names (https:\/\/cloud.google.com\/apis\/design\/resource_names) for the appropriate value for this field. See 'resource'.+  Core.Text ->+  DataprocProjectsRegionsClustersGetIamPolicy+newDataprocProjectsRegionsClustersGetIamPolicy payload resource =+  DataprocProjectsRegionsClustersGetIamPolicy+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      payload = payload,+      resource = resource,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance+  Core.GoogleRequest+    DataprocProjectsRegionsClustersGetIamPolicy+  where+  type Rs DataprocProjectsRegionsClustersGetIamPolicy = Policy+  type+    Scopes DataprocProjectsRegionsClustersGetIamPolicy =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsRegionsClustersGetIamPolicy {..} =+    go+      resource+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      payload+      dataprocService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy DataprocProjectsRegionsClustersGetIamPolicyResource+          )+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Regions/Clusters/InjectCredentials.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.Dataproc.Projects.Regions.Clusters.InjectCredentials+-- 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)+--+-- Inject encrypted credentials into all of the VMs in a cluster.The target cluster must be a personal auth cluster assigned to the user who is issuing the RPC.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.clusters.injectCredentials@.+module Gogol.Dataproc.Projects.Regions.Clusters.InjectCredentials+  ( -- * Resource+    DataprocProjectsRegionsClustersInjectCredentialsResource,++    -- ** Constructing a Request+    DataprocProjectsRegionsClustersInjectCredentials (..),+    newDataprocProjectsRegionsClustersInjectCredentials,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.regions.clusters.injectCredentials@ method which the+-- 'DataprocProjectsRegionsClustersInjectCredentials' request conforms to.+type DataprocProjectsRegionsClustersInjectCredentialsResource =+  "v1"+    Core.:> Core.Capture "project" Core.Text+    Core.:> Core.Capture "region" Core.Text+    Core.:> Core.CaptureMode "cluster" "injectCredentials" 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] InjectCredentialsRequest+    Core.:> Core.Post '[Core.JSON] Operation++-- | Inject encrypted credentials into all of the VMs in a cluster.The target cluster must be a personal auth cluster assigned to the user who is issuing the RPC.+--+-- /See:/ 'newDataprocProjectsRegionsClustersInjectCredentials' smart constructor.+data DataprocProjectsRegionsClustersInjectCredentials = DataprocProjectsRegionsClustersInjectCredentials+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The cluster, in the form clusters\/.+    cluster :: Core.Text,+    -- | Multipart request metadata.+    payload :: InjectCredentialsRequest,+    -- | Required. The ID of the Google Cloud Platform project the cluster belongs to, of the form projects\/.+    project :: Core.Text,+    -- | Required. The region containing the cluster, of the form regions\/.+    region :: 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 'DataprocProjectsRegionsClustersInjectCredentials' with the minimum fields required to make a request.+newDataprocProjectsRegionsClustersInjectCredentials ::+  -- |  Required. The cluster, in the form clusters\/. See 'cluster'.+  Core.Text ->+  -- |  Multipart request metadata. See 'payload'.+  InjectCredentialsRequest ->+  -- |  Required. The ID of the Google Cloud Platform project the cluster belongs to, of the form projects\/. See 'project'.+  Core.Text ->+  -- |  Required. The region containing the cluster, of the form regions\/. See 'region'.+  Core.Text ->+  DataprocProjectsRegionsClustersInjectCredentials+newDataprocProjectsRegionsClustersInjectCredentials+  cluster+  payload+  project+  region =+    DataprocProjectsRegionsClustersInjectCredentials+      { xgafv =+          Core.Nothing,+        accessToken = Core.Nothing,+        callback = Core.Nothing,+        cluster = cluster,+        payload = payload,+        project = project,+        region = region,+        uploadType = Core.Nothing,+        uploadProtocol = Core.Nothing+      }++instance+  Core.GoogleRequest+    DataprocProjectsRegionsClustersInjectCredentials+  where+  type+    Rs DataprocProjectsRegionsClustersInjectCredentials =+      Operation+  type+    Scopes DataprocProjectsRegionsClustersInjectCredentials =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsRegionsClustersInjectCredentials {..} =+    go+      project+      region+      cluster+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      payload+      dataprocService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy+                DataprocProjectsRegionsClustersInjectCredentialsResource+          )+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Regions/Clusters/List.hs view
@@ -0,0 +1,136 @@+{-# 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.Dataproc.Projects.Regions.Clusters.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 regions\/{region}\/clusters in a project alphabetically.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.clusters.list@.+module Gogol.Dataproc.Projects.Regions.Clusters.List+  ( -- * Resource+    DataprocProjectsRegionsClustersListResource,++    -- ** Constructing a Request+    DataprocProjectsRegionsClustersList (..),+    newDataprocProjectsRegionsClustersList,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.regions.clusters.list@ method which the+-- 'DataprocProjectsRegionsClustersList' request conforms to.+type DataprocProjectsRegionsClustersListResource =+  "v1"+    Core.:> "projects"+    Core.:> Core.Capture "projectId" Core.Text+    Core.:> "regions"+    Core.:> Core.Capture "region" Core.Text+    Core.:> "clusters"+    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 "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] ListClustersResponse++-- | Lists all regions\/{region}\/clusters in a project alphabetically.+--+-- /See:/ 'newDataprocProjectsRegionsClustersList' smart constructor.+data DataprocProjectsRegionsClustersList = DataprocProjectsRegionsClustersList+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Optional. A filter constraining the clusters to list. Filters are case-sensitive and have the following syntax:field = value AND field = value ...where field is one of status.state, clusterName, or labels.[KEY], and [KEY] is a label key. value can be * to match all values. status.state can be one of the following: ACTIVE, INACTIVE, CREATING, RUNNING, ERROR, DELETING, UPDATING, STOPPING, or STOPPED. ACTIVE contains the CREATING, UPDATING, and RUNNING states. INACTIVE contains the DELETING, ERROR, STOPPING, and STOPPED states. clusterName is the name of the cluster provided at creation time. Only the logical AND operator is supported; space-separated items are treated as having an implicit AND operator.Example filter:status.state = ACTIVE AND clusterName = mycluster AND labels.env = staging AND labels.starred = *+    filter :: (Core.Maybe Core.Text),+    -- | Optional. The standard List page size.+    pageSize :: (Core.Maybe Core.Int32),+    -- | Optional. The standard List page token.+    pageToken :: (Core.Maybe Core.Text),+    -- | Required. The ID of the Google Cloud Platform project that the cluster belongs to.+    projectId :: Core.Text,+    -- | Required. The Dataproc region in which to handle the request.+    region :: 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 'DataprocProjectsRegionsClustersList' with the minimum fields required to make a request.+newDataprocProjectsRegionsClustersList ::+  -- |  Required. The ID of the Google Cloud Platform project that the cluster belongs to. See 'projectId'.+  Core.Text ->+  -- |  Required. The Dataproc region in which to handle the request. See 'region'.+  Core.Text ->+  DataprocProjectsRegionsClustersList+newDataprocProjectsRegionsClustersList projectId region =+  DataprocProjectsRegionsClustersList+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      filter = Core.Nothing,+      pageSize = Core.Nothing,+      pageToken = Core.Nothing,+      projectId = projectId,+      region = region,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest DataprocProjectsRegionsClustersList where+  type Rs DataprocProjectsRegionsClustersList = ListClustersResponse+  type+    Scopes DataprocProjectsRegionsClustersList =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsRegionsClustersList {..} =+    go+      projectId+      region+      xgafv+      accessToken+      callback+      filter+      pageSize+      pageToken+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      dataprocService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy DataprocProjectsRegionsClustersListResource+          )+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Regions/Clusters/NodeGroups/Create.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.Dataproc.Projects.Regions.Clusters.NodeGroups.Create+-- 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 node group in a cluster. The returned Operation.metadata is NodeGroupOperationMetadata (https:\/\/cloud.google.com\/dataproc\/docs\/reference\/rpc\/google.cloud.dataproc.v1#nodegroupoperationmetadata).+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.clusters.nodeGroups.create@.+module Gogol.Dataproc.Projects.Regions.Clusters.NodeGroups.Create+  ( -- * Resource+    DataprocProjectsRegionsClustersNodeGroupsCreateResource,++    -- ** Constructing a Request+    DataprocProjectsRegionsClustersNodeGroupsCreate (..),+    newDataprocProjectsRegionsClustersNodeGroupsCreate,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.regions.clusters.nodeGroups.create@ method which the+-- 'DataprocProjectsRegionsClustersNodeGroupsCreate' request conforms to.+type DataprocProjectsRegionsClustersNodeGroupsCreateResource =+  "v1"+    Core.:> Core.Capture "parent" Core.Text+    Core.:> "nodeGroups"+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "nodeGroupId" Core.Text+    Core.:> Core.QueryParam "parentOperationId" Core.Text+    Core.:> Core.QueryParam "requestId" 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] NodeGroup+    Core.:> Core.Post '[Core.JSON] Operation++-- | Creates a node group in a cluster. The returned Operation.metadata is NodeGroupOperationMetadata (https:\/\/cloud.google.com\/dataproc\/docs\/reference\/rpc\/google.cloud.dataproc.v1#nodegroupoperationmetadata).+--+-- /See:/ 'newDataprocProjectsRegionsClustersNodeGroupsCreate' smart constructor.+data DataprocProjectsRegionsClustersNodeGroupsCreate = DataprocProjectsRegionsClustersNodeGroupsCreate+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Optional. An optional node group ID. Generated if not specified.The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of from 3 to 33 characters.+    nodeGroupId :: (Core.Maybe Core.Text),+    -- | Required. The parent resource where this node group will be created. Format: projects\/{project}\/regions\/{region}\/clusters\/{cluster}+    parent :: Core.Text,+    -- | Optional. operation id of the parent operation sending the create request+    parentOperationId :: (Core.Maybe Core.Text),+    -- | Multipart request metadata.+    payload :: NodeGroup,+    -- | Optional. A unique ID used to identify the request. If the server receives two CreateNodeGroupRequest (https:\/\/cloud.google.com\/dataproc\/docs\/reference\/rpc\/google.cloud.dataproc.v1#google.cloud.dataproc.v1.CreateNodeGroupRequest) with the same ID, the second request is ignored and the first google.longrunning.Operation created and stored in the backend is returned.Recommendation: Set this value to a UUID (https:\/\/en.wikipedia.org\/wiki\/Universally/unique/identifier).The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.+    requestId :: (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 'DataprocProjectsRegionsClustersNodeGroupsCreate' with the minimum fields required to make a request.+newDataprocProjectsRegionsClustersNodeGroupsCreate ::+  -- |  Required. The parent resource where this node group will be created. Format: projects\/{project}\/regions\/{region}\/clusters\/{cluster} See 'parent'.+  Core.Text ->+  -- |  Multipart request metadata. See 'payload'.+  NodeGroup ->+  DataprocProjectsRegionsClustersNodeGroupsCreate+newDataprocProjectsRegionsClustersNodeGroupsCreate parent payload =+  DataprocProjectsRegionsClustersNodeGroupsCreate+    { xgafv =+        Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      nodeGroupId = Core.Nothing,+      parent = parent,+      parentOperationId = Core.Nothing,+      payload = payload,+      requestId = Core.Nothing,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance+  Core.GoogleRequest+    DataprocProjectsRegionsClustersNodeGroupsCreate+  where+  type Rs DataprocProjectsRegionsClustersNodeGroupsCreate = Operation+  type+    Scopes DataprocProjectsRegionsClustersNodeGroupsCreate =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsRegionsClustersNodeGroupsCreate {..} =+    go+      parent+      xgafv+      accessToken+      callback+      nodeGroupId+      parentOperationId+      requestId+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      payload+      dataprocService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy DataprocProjectsRegionsClustersNodeGroupsCreateResource+          )+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Regions/Clusters/NodeGroups/Get.hs view
@@ -0,0 +1,115 @@+{-# 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.Dataproc.Projects.Regions.Clusters.NodeGroups.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 resource representation for a node group in a cluster.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.clusters.nodeGroups.get@.+module Gogol.Dataproc.Projects.Regions.Clusters.NodeGroups.Get+  ( -- * Resource+    DataprocProjectsRegionsClustersNodeGroupsGetResource,++    -- ** Constructing a Request+    DataprocProjectsRegionsClustersNodeGroupsGet (..),+    newDataprocProjectsRegionsClustersNodeGroupsGet,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.regions.clusters.nodeGroups.get@ method which the+-- 'DataprocProjectsRegionsClustersNodeGroupsGet' request conforms to.+type DataprocProjectsRegionsClustersNodeGroupsGetResource =+  "v1"+    Core.:> Core.Capture "name" 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] NodeGroup++-- | Gets the resource representation for a node group in a cluster.+--+-- /See:/ 'newDataprocProjectsRegionsClustersNodeGroupsGet' smart constructor.+data DataprocProjectsRegionsClustersNodeGroupsGet = DataprocProjectsRegionsClustersNodeGroupsGet+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The name of the node group to retrieve. Format: projects\/{project}\/regions\/{region}\/clusters\/{cluster}\/nodeGroups\/{nodeGroup}+    name :: 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 'DataprocProjectsRegionsClustersNodeGroupsGet' with the minimum fields required to make a request.+newDataprocProjectsRegionsClustersNodeGroupsGet ::+  -- |  Required. The name of the node group to retrieve. Format: projects\/{project}\/regions\/{region}\/clusters\/{cluster}\/nodeGroups\/{nodeGroup} See 'name'.+  Core.Text ->+  DataprocProjectsRegionsClustersNodeGroupsGet+newDataprocProjectsRegionsClustersNodeGroupsGet name =+  DataprocProjectsRegionsClustersNodeGroupsGet+    { xgafv =+        Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      name = name,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance+  Core.GoogleRequest+    DataprocProjectsRegionsClustersNodeGroupsGet+  where+  type Rs DataprocProjectsRegionsClustersNodeGroupsGet = NodeGroup+  type+    Scopes DataprocProjectsRegionsClustersNodeGroupsGet =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsRegionsClustersNodeGroupsGet {..} =+    go+      name+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      dataprocService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy DataprocProjectsRegionsClustersNodeGroupsGetResource+          )+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Regions/Clusters/NodeGroups/Repair.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.Dataproc.Projects.Regions.Clusters.NodeGroups.Repair+-- 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)+--+-- Repair nodes in a node group.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.clusters.nodeGroups.repair@.+module Gogol.Dataproc.Projects.Regions.Clusters.NodeGroups.Repair+  ( -- * Resource+    DataprocProjectsRegionsClustersNodeGroupsRepairResource,++    -- ** Constructing a Request+    DataprocProjectsRegionsClustersNodeGroupsRepair (..),+    newDataprocProjectsRegionsClustersNodeGroupsRepair,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.regions.clusters.nodeGroups.repair@ method which the+-- 'DataprocProjectsRegionsClustersNodeGroupsRepair' request conforms to.+type DataprocProjectsRegionsClustersNodeGroupsRepairResource =+  "v1"+    Core.:> Core.CaptureMode "name" "repair" 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] RepairNodeGroupRequest+    Core.:> Core.Post '[Core.JSON] Operation++-- | Repair nodes in a node group.+--+-- /See:/ 'newDataprocProjectsRegionsClustersNodeGroupsRepair' smart constructor.+data DataprocProjectsRegionsClustersNodeGroupsRepair = DataprocProjectsRegionsClustersNodeGroupsRepair+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The name of the node group to resize. Format: projects\/{project}\/regions\/{region}\/clusters\/{cluster}\/nodeGroups\/{nodeGroup}+    name :: Core.Text,+    -- | Multipart request metadata.+    payload :: RepairNodeGroupRequest,+    -- | 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 'DataprocProjectsRegionsClustersNodeGroupsRepair' with the minimum fields required to make a request.+newDataprocProjectsRegionsClustersNodeGroupsRepair ::+  -- |  Required. The name of the node group to resize. Format: projects\/{project}\/regions\/{region}\/clusters\/{cluster}\/nodeGroups\/{nodeGroup} See 'name'.+  Core.Text ->+  -- |  Multipart request metadata. See 'payload'.+  RepairNodeGroupRequest ->+  DataprocProjectsRegionsClustersNodeGroupsRepair+newDataprocProjectsRegionsClustersNodeGroupsRepair name payload =+  DataprocProjectsRegionsClustersNodeGroupsRepair+    { xgafv =+        Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      name = name,+      payload = payload,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance+  Core.GoogleRequest+    DataprocProjectsRegionsClustersNodeGroupsRepair+  where+  type Rs DataprocProjectsRegionsClustersNodeGroupsRepair = Operation+  type+    Scopes DataprocProjectsRegionsClustersNodeGroupsRepair =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsRegionsClustersNodeGroupsRepair {..} =+    go+      name+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      payload+      dataprocService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy DataprocProjectsRegionsClustersNodeGroupsRepairResource+          )+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Regions/Clusters/NodeGroups/Resize.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.Dataproc.Projects.Regions.Clusters.NodeGroups.Resize+-- 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)+--+-- Resizes a node group in a cluster. The returned Operation.metadata is NodeGroupOperationMetadata (https:\/\/cloud.google.com\/dataproc\/docs\/reference\/rpc\/google.cloud.dataproc.v1#nodegroupoperationmetadata).+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.clusters.nodeGroups.resize@.+module Gogol.Dataproc.Projects.Regions.Clusters.NodeGroups.Resize+  ( -- * Resource+    DataprocProjectsRegionsClustersNodeGroupsResizeResource,++    -- ** Constructing a Request+    DataprocProjectsRegionsClustersNodeGroupsResize (..),+    newDataprocProjectsRegionsClustersNodeGroupsResize,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.regions.clusters.nodeGroups.resize@ method which the+-- 'DataprocProjectsRegionsClustersNodeGroupsResize' request conforms to.+type DataprocProjectsRegionsClustersNodeGroupsResizeResource =+  "v1"+    Core.:> Core.CaptureMode "name" "resize" 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] ResizeNodeGroupRequest+    Core.:> Core.Post '[Core.JSON] Operation++-- | Resizes a node group in a cluster. The returned Operation.metadata is NodeGroupOperationMetadata (https:\/\/cloud.google.com\/dataproc\/docs\/reference\/rpc\/google.cloud.dataproc.v1#nodegroupoperationmetadata).+--+-- /See:/ 'newDataprocProjectsRegionsClustersNodeGroupsResize' smart constructor.+data DataprocProjectsRegionsClustersNodeGroupsResize = DataprocProjectsRegionsClustersNodeGroupsResize+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The name of the node group to resize. Format: projects\/{project}\/regions\/{region}\/clusters\/{cluster}\/nodeGroups\/{nodeGroup}+    name :: Core.Text,+    -- | Multipart request metadata.+    payload :: ResizeNodeGroupRequest,+    -- | 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 'DataprocProjectsRegionsClustersNodeGroupsResize' with the minimum fields required to make a request.+newDataprocProjectsRegionsClustersNodeGroupsResize ::+  -- |  Required. The name of the node group to resize. Format: projects\/{project}\/regions\/{region}\/clusters\/{cluster}\/nodeGroups\/{nodeGroup} See 'name'.+  Core.Text ->+  -- |  Multipart request metadata. See 'payload'.+  ResizeNodeGroupRequest ->+  DataprocProjectsRegionsClustersNodeGroupsResize+newDataprocProjectsRegionsClustersNodeGroupsResize name payload =+  DataprocProjectsRegionsClustersNodeGroupsResize+    { xgafv =+        Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      name = name,+      payload = payload,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance+  Core.GoogleRequest+    DataprocProjectsRegionsClustersNodeGroupsResize+  where+  type Rs DataprocProjectsRegionsClustersNodeGroupsResize = Operation+  type+    Scopes DataprocProjectsRegionsClustersNodeGroupsResize =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsRegionsClustersNodeGroupsResize {..} =+    go+      name+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      payload+      dataprocService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy DataprocProjectsRegionsClustersNodeGroupsResizeResource+          )+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Regions/Clusters/Patch.hs view
@@ -0,0 +1,154 @@+{-# 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.Dataproc.Projects.Regions.Clusters.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 a cluster in a project. The returned Operation.metadata will be ClusterOperationMetadata (https:\/\/cloud.google.com\/dataproc\/docs\/reference\/rpc\/google.cloud.dataproc.v1#clusteroperationmetadata). The cluster must be in a RUNNING state or an error is returned.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.clusters.patch@.+module Gogol.Dataproc.Projects.Regions.Clusters.Patch+  ( -- * Resource+    DataprocProjectsRegionsClustersPatchResource,++    -- ** Constructing a Request+    DataprocProjectsRegionsClustersPatch (..),+    newDataprocProjectsRegionsClustersPatch,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.regions.clusters.patch@ method which the+-- 'DataprocProjectsRegionsClustersPatch' request conforms to.+type DataprocProjectsRegionsClustersPatchResource =+  "v1"+    Core.:> "projects"+    Core.:> Core.Capture "projectId" Core.Text+    Core.:> "regions"+    Core.:> Core.Capture "region" Core.Text+    Core.:> "clusters"+    Core.:> Core.Capture "clusterName" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "gracefulDecommissionTimeout" Core.Duration+    Core.:> Core.QueryParam "requestId" Core.Text+    Core.:> Core.QueryParam "updateMask" Core.FieldMask+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.ReqBody '[Core.JSON] Cluster+    Core.:> Core.Patch '[Core.JSON] Operation++-- | Updates a cluster in a project. The returned Operation.metadata will be ClusterOperationMetadata (https:\/\/cloud.google.com\/dataproc\/docs\/reference\/rpc\/google.cloud.dataproc.v1#clusteroperationmetadata). The cluster must be in a RUNNING state or an error is returned.+--+-- /See:/ 'newDataprocProjectsRegionsClustersPatch' smart constructor.+data DataprocProjectsRegionsClustersPatch = DataprocProjectsRegionsClustersPatch+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The cluster name.+    clusterName :: Core.Text,+    -- | Optional. Timeout for graceful YARN decommissioning. Graceful decommissioning allows removing nodes from the cluster without interrupting jobs in progress. Timeout specifies how long to wait for jobs in progress to finish before forcefully removing nodes (and potentially interrupting jobs). Default timeout is 0 (for forceful decommission), and the maximum allowed timeout is 1 day. (see JSON representation of Duration (https:\/\/developers.google.com\/protocol-buffers\/docs\/proto3#json)).Only supported on Dataproc image versions 1.2 and higher.+    gracefulDecommissionTimeout :: (Core.Maybe Core.Duration),+    -- | Multipart request metadata.+    payload :: Cluster,+    -- | Required. The ID of the Google Cloud Platform project the cluster belongs to.+    projectId :: Core.Text,+    -- | Required. The Dataproc region in which to handle the request.+    region :: Core.Text,+    -- | Optional. A unique ID used to identify the request. If the server receives two UpdateClusterRequest (https:\/\/cloud.google.com\/dataproc\/docs\/reference\/rpc\/google.cloud.dataproc.v1#google.cloud.dataproc.v1.UpdateClusterRequest)s with the same id, then the second request will be ignored and the first google.longrunning.Operation created and stored in the backend is returned.It is recommended to always set this value to a UUID (https:\/\/en.wikipedia.org\/wiki\/Universally/unique/identifier).The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.+    requestId :: (Core.Maybe Core.Text),+    -- | Required. Specifies the path, relative to Cluster, of the field to update. For example, to change the number of workers in a cluster to 5, the update/mask parameter would be specified as config.worker/config.num/instances, and the PATCH request body would specify the new value, as follows: { \"config\":{ \"workerConfig\":{ \"numInstances\":\"5\" } } } Similarly, to change the number of preemptible workers in a cluster to 5, the update/mask parameter would be config.secondary/worker/config.num_instances, and the PATCH request body would be set as follows: { \"config\":{ \"secondaryWorkerConfig\":{ \"numInstances\":\"5\" } } } /Note:/ Currently, only the following fields can be updated: /Mask/ /Purpose/ /labels/ Update labels /config.worker/config.num/instances/ Resize primary worker group *config.secondary/worker/config.num/instances* Resize secondary worker group config.autoscaling/config.policy_uri Use, stop using, or change autoscaling policies+    updateMask :: (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 'DataprocProjectsRegionsClustersPatch' with the minimum fields required to make a request.+newDataprocProjectsRegionsClustersPatch ::+  -- |  Required. The cluster name. See 'clusterName'.+  Core.Text ->+  -- |  Multipart request metadata. See 'payload'.+  Cluster ->+  -- |  Required. The ID of the Google Cloud Platform project the cluster belongs to. See 'projectId'.+  Core.Text ->+  -- |  Required. The Dataproc region in which to handle the request. See 'region'.+  Core.Text ->+  DataprocProjectsRegionsClustersPatch+newDataprocProjectsRegionsClustersPatch+  clusterName+  payload+  projectId+  region =+    DataprocProjectsRegionsClustersPatch+      { xgafv = Core.Nothing,+        accessToken = Core.Nothing,+        callback = Core.Nothing,+        clusterName = clusterName,+        gracefulDecommissionTimeout = Core.Nothing,+        payload = payload,+        projectId = projectId,+        region = region,+        requestId = Core.Nothing,+        updateMask = Core.Nothing,+        uploadType = Core.Nothing,+        uploadProtocol = Core.Nothing+      }++instance Core.GoogleRequest DataprocProjectsRegionsClustersPatch where+  type Rs DataprocProjectsRegionsClustersPatch = Operation+  type+    Scopes DataprocProjectsRegionsClustersPatch =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsRegionsClustersPatch {..} =+    go+      projectId+      region+      clusterName+      xgafv+      accessToken+      callback+      gracefulDecommissionTimeout+      requestId+      updateMask+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      payload+      dataprocService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy DataprocProjectsRegionsClustersPatchResource+          )+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Regions/Clusters/Repair.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.Dataproc.Projects.Regions.Clusters.Repair+-- 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)+--+-- Repairs a cluster.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.clusters.repair@.+module Gogol.Dataproc.Projects.Regions.Clusters.Repair+  ( -- * Resource+    DataprocProjectsRegionsClustersRepairResource,++    -- ** Constructing a Request+    DataprocProjectsRegionsClustersRepair (..),+    newDataprocProjectsRegionsClustersRepair,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.regions.clusters.repair@ method which the+-- 'DataprocProjectsRegionsClustersRepair' request conforms to.+type DataprocProjectsRegionsClustersRepairResource =+  "v1"+    Core.:> "projects"+    Core.:> Core.Capture "projectId" Core.Text+    Core.:> "regions"+    Core.:> Core.Capture "region" Core.Text+    Core.:> "clusters"+    Core.:> Core.CaptureMode "clusterName" "repair" 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] RepairClusterRequest+    Core.:> Core.Post '[Core.JSON] Operation++-- | Repairs a cluster.+--+-- /See:/ 'newDataprocProjectsRegionsClustersRepair' smart constructor.+data DataprocProjectsRegionsClustersRepair = DataprocProjectsRegionsClustersRepair+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The cluster name.+    clusterName :: Core.Text,+    -- | Multipart request metadata.+    payload :: RepairClusterRequest,+    -- | Required. The ID of the Google Cloud Platform project the cluster belongs to.+    projectId :: Core.Text,+    -- | Required. The Dataproc region in which to handle the request.+    region :: 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 'DataprocProjectsRegionsClustersRepair' with the minimum fields required to make a request.+newDataprocProjectsRegionsClustersRepair ::+  -- |  Required. The cluster name. See 'clusterName'.+  Core.Text ->+  -- |  Multipart request metadata. See 'payload'.+  RepairClusterRequest ->+  -- |  Required. The ID of the Google Cloud Platform project the cluster belongs to. See 'projectId'.+  Core.Text ->+  -- |  Required. The Dataproc region in which to handle the request. See 'region'.+  Core.Text ->+  DataprocProjectsRegionsClustersRepair+newDataprocProjectsRegionsClustersRepair+  clusterName+  payload+  projectId+  region =+    DataprocProjectsRegionsClustersRepair+      { xgafv = Core.Nothing,+        accessToken = Core.Nothing,+        callback = Core.Nothing,+        clusterName = clusterName,+        payload = payload,+        projectId = projectId,+        region = region,+        uploadType = Core.Nothing,+        uploadProtocol = Core.Nothing+      }++instance Core.GoogleRequest DataprocProjectsRegionsClustersRepair where+  type Rs DataprocProjectsRegionsClustersRepair = Operation+  type+    Scopes DataprocProjectsRegionsClustersRepair =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsRegionsClustersRepair {..} =+    go+      projectId+      region+      clusterName+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      payload+      dataprocService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy DataprocProjectsRegionsClustersRepairResource+          )+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Regions/Clusters/SetIamPolicy.hs view
@@ -0,0 +1,121 @@+{-# 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.Dataproc.Projects.Regions.Clusters.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/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.clusters.setIamPolicy@.+module Gogol.Dataproc.Projects.Regions.Clusters.SetIamPolicy+  ( -- * Resource+    DataprocProjectsRegionsClustersSetIamPolicyResource,++    -- ** Constructing a Request+    DataprocProjectsRegionsClustersSetIamPolicy (..),+    newDataprocProjectsRegionsClustersSetIamPolicy,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.regions.clusters.setIamPolicy@ method which the+-- 'DataprocProjectsRegionsClustersSetIamPolicy' request conforms to.+type DataprocProjectsRegionsClustersSetIamPolicyResource =+  "v1"+    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:/ 'newDataprocProjectsRegionsClustersSetIamPolicy' smart constructor.+data DataprocProjectsRegionsClustersSetIamPolicy = DataprocProjectsRegionsClustersSetIamPolicy+  { -- | 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 Resource names (https:\/\/cloud.google.com\/apis\/design\/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 'DataprocProjectsRegionsClustersSetIamPolicy' with the minimum fields required to make a request.+newDataprocProjectsRegionsClustersSetIamPolicy ::+  -- |  Multipart request metadata. See 'payload'.+  SetIamPolicyRequest ->+  -- |  REQUIRED: The resource for which the policy is being specified. See Resource names (https:\/\/cloud.google.com\/apis\/design\/resource_names) for the appropriate value for this field. See 'resource'.+  Core.Text ->+  DataprocProjectsRegionsClustersSetIamPolicy+newDataprocProjectsRegionsClustersSetIamPolicy payload resource =+  DataprocProjectsRegionsClustersSetIamPolicy+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      payload = payload,+      resource = resource,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance+  Core.GoogleRequest+    DataprocProjectsRegionsClustersSetIamPolicy+  where+  type Rs DataprocProjectsRegionsClustersSetIamPolicy = Policy+  type+    Scopes DataprocProjectsRegionsClustersSetIamPolicy =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsRegionsClustersSetIamPolicy {..} =+    go+      resource+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      payload+      dataprocService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy DataprocProjectsRegionsClustersSetIamPolicyResource+          )+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Regions/Clusters/Start.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.Dataproc.Projects.Regions.Clusters.Start+-- 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 cluster in a project.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.clusters.start@.+module Gogol.Dataproc.Projects.Regions.Clusters.Start+  ( -- * Resource+    DataprocProjectsRegionsClustersStartResource,++    -- ** Constructing a Request+    DataprocProjectsRegionsClustersStart (..),+    newDataprocProjectsRegionsClustersStart,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.regions.clusters.start@ method which the+-- 'DataprocProjectsRegionsClustersStart' request conforms to.+type DataprocProjectsRegionsClustersStartResource =+  "v1"+    Core.:> "projects"+    Core.:> Core.Capture "projectId" Core.Text+    Core.:> "regions"+    Core.:> Core.Capture "region" Core.Text+    Core.:> "clusters"+    Core.:> Core.CaptureMode "clusterName" "start" 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] StartClusterRequest+    Core.:> Core.Post '[Core.JSON] Operation++-- | Starts a cluster in a project.+--+-- /See:/ 'newDataprocProjectsRegionsClustersStart' smart constructor.+data DataprocProjectsRegionsClustersStart = DataprocProjectsRegionsClustersStart+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The cluster name.+    clusterName :: Core.Text,+    -- | Multipart request metadata.+    payload :: StartClusterRequest,+    -- | Required. The ID of the Google Cloud Platform project the cluster belongs to.+    projectId :: Core.Text,+    -- | Required. The Dataproc region in which to handle the request.+    region :: 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 'DataprocProjectsRegionsClustersStart' with the minimum fields required to make a request.+newDataprocProjectsRegionsClustersStart ::+  -- |  Required. The cluster name. See 'clusterName'.+  Core.Text ->+  -- |  Multipart request metadata. See 'payload'.+  StartClusterRequest ->+  -- |  Required. The ID of the Google Cloud Platform project the cluster belongs to. See 'projectId'.+  Core.Text ->+  -- |  Required. The Dataproc region in which to handle the request. See 'region'.+  Core.Text ->+  DataprocProjectsRegionsClustersStart+newDataprocProjectsRegionsClustersStart+  clusterName+  payload+  projectId+  region =+    DataprocProjectsRegionsClustersStart+      { xgafv = Core.Nothing,+        accessToken = Core.Nothing,+        callback = Core.Nothing,+        clusterName = clusterName,+        payload = payload,+        projectId = projectId,+        region = region,+        uploadType = Core.Nothing,+        uploadProtocol = Core.Nothing+      }++instance Core.GoogleRequest DataprocProjectsRegionsClustersStart where+  type Rs DataprocProjectsRegionsClustersStart = Operation+  type+    Scopes DataprocProjectsRegionsClustersStart =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsRegionsClustersStart {..} =+    go+      projectId+      region+      clusterName+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      payload+      dataprocService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy DataprocProjectsRegionsClustersStartResource+          )+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Regions/Clusters/Stop.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.Dataproc.Projects.Regions.Clusters.Stop+-- 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)+--+-- Stops a cluster in a project.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.clusters.stop@.+module Gogol.Dataproc.Projects.Regions.Clusters.Stop+  ( -- * Resource+    DataprocProjectsRegionsClustersStopResource,++    -- ** Constructing a Request+    DataprocProjectsRegionsClustersStop (..),+    newDataprocProjectsRegionsClustersStop,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.regions.clusters.stop@ method which the+-- 'DataprocProjectsRegionsClustersStop' request conforms to.+type DataprocProjectsRegionsClustersStopResource =+  "v1"+    Core.:> "projects"+    Core.:> Core.Capture "projectId" Core.Text+    Core.:> "regions"+    Core.:> Core.Capture "region" Core.Text+    Core.:> "clusters"+    Core.:> Core.CaptureMode "clusterName" "stop" 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] StopClusterRequest+    Core.:> Core.Post '[Core.JSON] Operation++-- | Stops a cluster in a project.+--+-- /See:/ 'newDataprocProjectsRegionsClustersStop' smart constructor.+data DataprocProjectsRegionsClustersStop = DataprocProjectsRegionsClustersStop+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The cluster name.+    clusterName :: Core.Text,+    -- | Multipart request metadata.+    payload :: StopClusterRequest,+    -- | Required. The ID of the Google Cloud Platform project the cluster belongs to.+    projectId :: Core.Text,+    -- | Required. The Dataproc region in which to handle the request.+    region :: 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 'DataprocProjectsRegionsClustersStop' with the minimum fields required to make a request.+newDataprocProjectsRegionsClustersStop ::+  -- |  Required. The cluster name. See 'clusterName'.+  Core.Text ->+  -- |  Multipart request metadata. See 'payload'.+  StopClusterRequest ->+  -- |  Required. The ID of the Google Cloud Platform project the cluster belongs to. See 'projectId'.+  Core.Text ->+  -- |  Required. The Dataproc region in which to handle the request. See 'region'.+  Core.Text ->+  DataprocProjectsRegionsClustersStop+newDataprocProjectsRegionsClustersStop+  clusterName+  payload+  projectId+  region =+    DataprocProjectsRegionsClustersStop+      { xgafv = Core.Nothing,+        accessToken = Core.Nothing,+        callback = Core.Nothing,+        clusterName = clusterName,+        payload = payload,+        projectId = projectId,+        region = region,+        uploadType = Core.Nothing,+        uploadProtocol = Core.Nothing+      }++instance Core.GoogleRequest DataprocProjectsRegionsClustersStop where+  type Rs DataprocProjectsRegionsClustersStop = Operation+  type+    Scopes DataprocProjectsRegionsClustersStop =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsRegionsClustersStop {..} =+    go+      projectId+      region+      clusterName+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      payload+      dataprocService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy DataprocProjectsRegionsClustersStopResource+          )+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Regions/Clusters/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.Dataproc.Projects.Regions.Clusters.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/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.clusters.testIamPermissions@.+module Gogol.Dataproc.Projects.Regions.Clusters.TestIamPermissions+  ( -- * Resource+    DataprocProjectsRegionsClustersTestIamPermissionsResource,++    -- ** Constructing a Request+    DataprocProjectsRegionsClustersTestIamPermissions (..),+    newDataprocProjectsRegionsClustersTestIamPermissions,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.regions.clusters.testIamPermissions@ method which the+-- 'DataprocProjectsRegionsClustersTestIamPermissions' request conforms to.+type DataprocProjectsRegionsClustersTestIamPermissionsResource =+  "v1"+    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:/ 'newDataprocProjectsRegionsClustersTestIamPermissions' smart constructor.+data DataprocProjectsRegionsClustersTestIamPermissions = DataprocProjectsRegionsClustersTestIamPermissions+  { -- | 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 Resource names (https:\/\/cloud.google.com\/apis\/design\/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 'DataprocProjectsRegionsClustersTestIamPermissions' with the minimum fields required to make a request.+newDataprocProjectsRegionsClustersTestIamPermissions ::+  -- |  Multipart request metadata. See 'payload'.+  TestIamPermissionsRequest ->+  -- |  REQUIRED: The resource for which the policy detail is being requested. See Resource names (https:\/\/cloud.google.com\/apis\/design\/resource_names) for the appropriate value for this field. See 'resource'.+  Core.Text ->+  DataprocProjectsRegionsClustersTestIamPermissions+newDataprocProjectsRegionsClustersTestIamPermissions+  payload+  resource =+    DataprocProjectsRegionsClustersTestIamPermissions+      { xgafv =+          Core.Nothing,+        accessToken = Core.Nothing,+        callback = Core.Nothing,+        payload = payload,+        resource = resource,+        uploadType = Core.Nothing,+        uploadProtocol = Core.Nothing+      }++instance+  Core.GoogleRequest+    DataprocProjectsRegionsClustersTestIamPermissions+  where+  type+    Rs DataprocProjectsRegionsClustersTestIamPermissions =+      TestIamPermissionsResponse+  type+    Scopes DataprocProjectsRegionsClustersTestIamPermissions =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsRegionsClustersTestIamPermissions {..} =+    go+      resource+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      payload+      dataprocService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy+                DataprocProjectsRegionsClustersTestIamPermissionsResource+          )+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Regions/Jobs/Cancel.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.Dataproc.Projects.Regions.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)+--+-- Starts a job cancellation request. To access the job resource after cancellation, call regions\/{region}\/jobs.list (https:\/\/cloud.google.com\/dataproc\/docs\/reference\/rest\/v1\/projects.regions.jobs\/list) or regions\/{region}\/jobs.get (https:\/\/cloud.google.com\/dataproc\/docs\/reference\/rest\/v1\/projects.regions.jobs\/get).+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.jobs.cancel@.+module Gogol.Dataproc.Projects.Regions.Jobs.Cancel+  ( -- * Resource+    DataprocProjectsRegionsJobsCancelResource,++    -- ** Constructing a Request+    DataprocProjectsRegionsJobsCancel (..),+    newDataprocProjectsRegionsJobsCancel,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.regions.jobs.cancel@ method which the+-- 'DataprocProjectsRegionsJobsCancel' request conforms to.+type DataprocProjectsRegionsJobsCancelResource =+  "v1"+    Core.:> "projects"+    Core.:> Core.Capture "projectId" Core.Text+    Core.:> "regions"+    Core.:> Core.Capture "region" Core.Text+    Core.:> "jobs"+    Core.:> Core.CaptureMode "jobId" "cancel" 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] CancelJobRequest+    Core.:> Core.Post '[Core.JSON] Job++-- | Starts a job cancellation request. To access the job resource after cancellation, call regions\/{region}\/jobs.list (https:\/\/cloud.google.com\/dataproc\/docs\/reference\/rest\/v1\/projects.regions.jobs\/list) or regions\/{region}\/jobs.get (https:\/\/cloud.google.com\/dataproc\/docs\/reference\/rest\/v1\/projects.regions.jobs\/get).+--+-- /See:/ 'newDataprocProjectsRegionsJobsCancel' smart constructor.+data DataprocProjectsRegionsJobsCancel = DataprocProjectsRegionsJobsCancel+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The job ID.+    jobId :: Core.Text,+    -- | Multipart request metadata.+    payload :: CancelJobRequest,+    -- | Required. The ID of the Google Cloud Platform project that the job belongs to.+    projectId :: Core.Text,+    -- | Required. The Dataproc region in which to handle the request.+    region :: 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 'DataprocProjectsRegionsJobsCancel' with the minimum fields required to make a request.+newDataprocProjectsRegionsJobsCancel ::+  -- |  Required. The job ID. See 'jobId'.+  Core.Text ->+  -- |  Multipart request metadata. See 'payload'.+  CancelJobRequest ->+  -- |  Required. The ID of the Google Cloud Platform project that the job belongs to. See 'projectId'.+  Core.Text ->+  -- |  Required. The Dataproc region in which to handle the request. See 'region'.+  Core.Text ->+  DataprocProjectsRegionsJobsCancel+newDataprocProjectsRegionsJobsCancel jobId payload projectId region =+  DataprocProjectsRegionsJobsCancel+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      jobId = jobId,+      payload = payload,+      projectId = projectId,+      region = region,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest DataprocProjectsRegionsJobsCancel where+  type Rs DataprocProjectsRegionsJobsCancel = Job+  type+    Scopes DataprocProjectsRegionsJobsCancel =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsRegionsJobsCancel {..} =+    go+      projectId+      region+      jobId+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      payload+      dataprocService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy DataprocProjectsRegionsJobsCancelResource+          )+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Regions/Jobs/Delete.hs view
@@ -0,0 +1,128 @@+{-# 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.Dataproc.Projects.Regions.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)+--+-- Deletes the job from the project. If the job is active, the delete fails, and the response returns FAILED_PRECONDITION.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.jobs.delete@.+module Gogol.Dataproc.Projects.Regions.Jobs.Delete+  ( -- * Resource+    DataprocProjectsRegionsJobsDeleteResource,++    -- ** Constructing a Request+    DataprocProjectsRegionsJobsDelete (..),+    newDataprocProjectsRegionsJobsDelete,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.regions.jobs.delete@ method which the+-- 'DataprocProjectsRegionsJobsDelete' request conforms to.+type DataprocProjectsRegionsJobsDeleteResource =+  "v1"+    Core.:> "projects"+    Core.:> Core.Capture "projectId" Core.Text+    Core.:> "regions"+    Core.:> Core.Capture "region" 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 "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Delete '[Core.JSON] Empty++-- | Deletes the job from the project. If the job is active, the delete fails, and the response returns FAILED_PRECONDITION.+--+-- /See:/ 'newDataprocProjectsRegionsJobsDelete' smart constructor.+data DataprocProjectsRegionsJobsDelete = DataprocProjectsRegionsJobsDelete+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The job ID.+    jobId :: Core.Text,+    -- | Required. The ID of the Google Cloud Platform project that the job belongs to.+    projectId :: Core.Text,+    -- | Required. The Dataproc region in which to handle the request.+    region :: 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 'DataprocProjectsRegionsJobsDelete' with the minimum fields required to make a request.+newDataprocProjectsRegionsJobsDelete ::+  -- |  Required. The job ID. See 'jobId'.+  Core.Text ->+  -- |  Required. The ID of the Google Cloud Platform project that the job belongs to. See 'projectId'.+  Core.Text ->+  -- |  Required. The Dataproc region in which to handle the request. See 'region'.+  Core.Text ->+  DataprocProjectsRegionsJobsDelete+newDataprocProjectsRegionsJobsDelete jobId projectId region =+  DataprocProjectsRegionsJobsDelete+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      jobId = jobId,+      projectId = projectId,+      region = region,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest DataprocProjectsRegionsJobsDelete where+  type Rs DataprocProjectsRegionsJobsDelete = Empty+  type+    Scopes DataprocProjectsRegionsJobsDelete =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsRegionsJobsDelete {..} =+    go+      projectId+      region+      jobId+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      dataprocService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy DataprocProjectsRegionsJobsDeleteResource+          )+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Regions/Jobs/Get.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.Dataproc.Projects.Regions.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)+--+-- Gets the resource representation for a job in a project.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.jobs.get@.+module Gogol.Dataproc.Projects.Regions.Jobs.Get+  ( -- * Resource+    DataprocProjectsRegionsJobsGetResource,++    -- ** Constructing a Request+    DataprocProjectsRegionsJobsGet (..),+    newDataprocProjectsRegionsJobsGet,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.regions.jobs.get@ method which the+-- 'DataprocProjectsRegionsJobsGet' request conforms to.+type DataprocProjectsRegionsJobsGetResource =+  "v1"+    Core.:> "projects"+    Core.:> Core.Capture "projectId" Core.Text+    Core.:> "regions"+    Core.:> Core.Capture "region" 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 "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Get '[Core.JSON] Job++-- | Gets the resource representation for a job in a project.+--+-- /See:/ 'newDataprocProjectsRegionsJobsGet' smart constructor.+data DataprocProjectsRegionsJobsGet = DataprocProjectsRegionsJobsGet+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The job ID.+    jobId :: Core.Text,+    -- | Required. The ID of the Google Cloud Platform project that the job belongs to.+    projectId :: Core.Text,+    -- | Required. The Dataproc region in which to handle the request.+    region :: 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 'DataprocProjectsRegionsJobsGet' with the minimum fields required to make a request.+newDataprocProjectsRegionsJobsGet ::+  -- |  Required. The job ID. See 'jobId'.+  Core.Text ->+  -- |  Required. The ID of the Google Cloud Platform project that the job belongs to. See 'projectId'.+  Core.Text ->+  -- |  Required. The Dataproc region in which to handle the request. See 'region'.+  Core.Text ->+  DataprocProjectsRegionsJobsGet+newDataprocProjectsRegionsJobsGet jobId projectId region =+  DataprocProjectsRegionsJobsGet+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      jobId = jobId,+      projectId = projectId,+      region = region,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest DataprocProjectsRegionsJobsGet where+  type Rs DataprocProjectsRegionsJobsGet = Job+  type+    Scopes DataprocProjectsRegionsJobsGet =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsRegionsJobsGet {..} =+    go+      projectId+      region+      jobId+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      dataprocService+    where+      go =+        Core.buildClient+          (Core.Proxy :: Core.Proxy DataprocProjectsRegionsJobsGetResource)+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Regions/Jobs/GetIamPolicy.hs view
@@ -0,0 +1,118 @@+{-# 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.Dataproc.Projects.Regions.Jobs.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/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.jobs.getIamPolicy@.+module Gogol.Dataproc.Projects.Regions.Jobs.GetIamPolicy+  ( -- * Resource+    DataprocProjectsRegionsJobsGetIamPolicyResource,++    -- ** Constructing a Request+    DataprocProjectsRegionsJobsGetIamPolicy (..),+    newDataprocProjectsRegionsJobsGetIamPolicy,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.regions.jobs.getIamPolicy@ method which the+-- 'DataprocProjectsRegionsJobsGetIamPolicy' request conforms to.+type DataprocProjectsRegionsJobsGetIamPolicyResource =+  "v1"+    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:/ 'newDataprocProjectsRegionsJobsGetIamPolicy' smart constructor.+data DataprocProjectsRegionsJobsGetIamPolicy = DataprocProjectsRegionsJobsGetIamPolicy+  { -- | 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 Resource names (https:\/\/cloud.google.com\/apis\/design\/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 'DataprocProjectsRegionsJobsGetIamPolicy' with the minimum fields required to make a request.+newDataprocProjectsRegionsJobsGetIamPolicy ::+  -- |  Multipart request metadata. See 'payload'.+  GetIamPolicyRequest ->+  -- |  REQUIRED: The resource for which the policy is being requested. See Resource names (https:\/\/cloud.google.com\/apis\/design\/resource_names) for the appropriate value for this field. See 'resource'.+  Core.Text ->+  DataprocProjectsRegionsJobsGetIamPolicy+newDataprocProjectsRegionsJobsGetIamPolicy payload resource =+  DataprocProjectsRegionsJobsGetIamPolicy+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      payload = payload,+      resource = resource,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest DataprocProjectsRegionsJobsGetIamPolicy where+  type Rs DataprocProjectsRegionsJobsGetIamPolicy = Policy+  type+    Scopes DataprocProjectsRegionsJobsGetIamPolicy =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsRegionsJobsGetIamPolicy {..} =+    go+      resource+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      payload+      dataprocService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy DataprocProjectsRegionsJobsGetIamPolicyResource+          )+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Regions/Jobs/List.hs view
@@ -0,0 +1,146 @@+{-# 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.Dataproc.Projects.Regions.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 regions\/{region}\/jobs in a project.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.jobs.list@.+module Gogol.Dataproc.Projects.Regions.Jobs.List+  ( -- * Resource+    DataprocProjectsRegionsJobsListResource,++    -- ** Constructing a Request+    DataprocProjectsRegionsJobsList (..),+    newDataprocProjectsRegionsJobsList,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.regions.jobs.list@ method which the+-- 'DataprocProjectsRegionsJobsList' request conforms to.+type DataprocProjectsRegionsJobsListResource =+  "v1"+    Core.:> "projects"+    Core.:> Core.Capture "projectId" Core.Text+    Core.:> "regions"+    Core.:> Core.Capture "region" 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 "clusterName" Core.Text+    Core.:> Core.QueryParam "filter" Core.Text+    Core.:> Core.QueryParam+              "jobStateMatcher"+              ProjectsRegionsJobsListJobStateMatcher+    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] ListJobsResponse++-- | Lists regions\/{region}\/jobs in a project.+--+-- /See:/ 'newDataprocProjectsRegionsJobsList' smart constructor.+data DataprocProjectsRegionsJobsList = DataprocProjectsRegionsJobsList+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Optional. If set, the returned jobs list includes only jobs that were submitted to the named cluster.+    clusterName :: (Core.Maybe Core.Text),+    -- | Optional. A filter constraining the jobs to list. Filters are case-sensitive and have the following syntax:field = value AND field = value ...where field is status.state or labels.[KEY], and [KEY] is a label key. value can be * to match all values. status.state can be either ACTIVE or NON_ACTIVE. Only the logical AND operator is supported; space-separated items are treated as having an implicit AND operator.Example filter:status.state = ACTIVE AND labels.env = staging AND labels.starred = *+    filter :: (Core.Maybe Core.Text),+    -- | Optional. Specifies enumerated categories of jobs to list. (default = match ALL jobs).If filter is provided, jobStateMatcher will be ignored.+    jobStateMatcher :: (Core.Maybe ProjectsRegionsJobsListJobStateMatcher),+    -- | Optional. The number of results to return in each response.+    pageSize :: (Core.Maybe Core.Int32),+    -- | Optional. The page token, returned by a previous call, to request the next page of results.+    pageToken :: (Core.Maybe Core.Text),+    -- | Required. The ID of the Google Cloud Platform project that the job belongs to.+    projectId :: Core.Text,+    -- | Required. The Dataproc region in which to handle the request.+    region :: 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 'DataprocProjectsRegionsJobsList' with the minimum fields required to make a request.+newDataprocProjectsRegionsJobsList ::+  -- |  Required. The ID of the Google Cloud Platform project that the job belongs to. See 'projectId'.+  Core.Text ->+  -- |  Required. The Dataproc region in which to handle the request. See 'region'.+  Core.Text ->+  DataprocProjectsRegionsJobsList+newDataprocProjectsRegionsJobsList projectId region =+  DataprocProjectsRegionsJobsList+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      clusterName = Core.Nothing,+      filter = Core.Nothing,+      jobStateMatcher = Core.Nothing,+      pageSize = Core.Nothing,+      pageToken = Core.Nothing,+      projectId = projectId,+      region = region,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest DataprocProjectsRegionsJobsList where+  type Rs DataprocProjectsRegionsJobsList = ListJobsResponse+  type+    Scopes DataprocProjectsRegionsJobsList =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsRegionsJobsList {..} =+    go+      projectId+      region+      xgafv+      accessToken+      callback+      clusterName+      filter+      jobStateMatcher+      pageSize+      pageToken+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      dataprocService+    where+      go =+        Core.buildClient+          (Core.Proxy :: Core.Proxy DataprocProjectsRegionsJobsListResource)+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Regions/Jobs/Patch.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.Dataproc.Projects.Regions.Jobs.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 a job in a project.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.jobs.patch@.+module Gogol.Dataproc.Projects.Regions.Jobs.Patch+  ( -- * Resource+    DataprocProjectsRegionsJobsPatchResource,++    -- ** Constructing a Request+    DataprocProjectsRegionsJobsPatch (..),+    newDataprocProjectsRegionsJobsPatch,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.regions.jobs.patch@ method which the+-- 'DataprocProjectsRegionsJobsPatch' request conforms to.+type DataprocProjectsRegionsJobsPatchResource =+  "v1"+    Core.:> "projects"+    Core.:> Core.Capture "projectId" Core.Text+    Core.:> "regions"+    Core.:> Core.Capture "region" 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 "updateMask" Core.FieldMask+    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.Patch '[Core.JSON] Job++-- | Updates a job in a project.+--+-- /See:/ 'newDataprocProjectsRegionsJobsPatch' smart constructor.+data DataprocProjectsRegionsJobsPatch = DataprocProjectsRegionsJobsPatch+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The job ID.+    jobId :: Core.Text,+    -- | Multipart request metadata.+    payload :: Job,+    -- | Required. The ID of the Google Cloud Platform project that the job belongs to.+    projectId :: Core.Text,+    -- | Required. The Dataproc region in which to handle the request.+    region :: Core.Text,+    -- | Required. Specifies the path, relative to Job, of the field to update. For example, to update the labels of a Job the update_mask parameter would be specified as labels, and the PATCH request body would specify the new value. /Note:/ Currently, labels is the only field that can be updated.+    updateMask :: (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 'DataprocProjectsRegionsJobsPatch' with the minimum fields required to make a request.+newDataprocProjectsRegionsJobsPatch ::+  -- |  Required. The job ID. See 'jobId'.+  Core.Text ->+  -- |  Multipart request metadata. See 'payload'.+  Job ->+  -- |  Required. The ID of the Google Cloud Platform project that the job belongs to. See 'projectId'.+  Core.Text ->+  -- |  Required. The Dataproc region in which to handle the request. See 'region'.+  Core.Text ->+  DataprocProjectsRegionsJobsPatch+newDataprocProjectsRegionsJobsPatch jobId payload projectId region =+  DataprocProjectsRegionsJobsPatch+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      jobId = jobId,+      payload = payload,+      projectId = projectId,+      region = region,+      updateMask = Core.Nothing,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest DataprocProjectsRegionsJobsPatch where+  type Rs DataprocProjectsRegionsJobsPatch = Job+  type+    Scopes DataprocProjectsRegionsJobsPatch =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsRegionsJobsPatch {..} =+    go+      projectId+      region+      jobId+      xgafv+      accessToken+      callback+      updateMask+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      payload+      dataprocService+    where+      go =+        Core.buildClient+          (Core.Proxy :: Core.Proxy DataprocProjectsRegionsJobsPatchResource)+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Regions/Jobs/SetIamPolicy.hs view
@@ -0,0 +1,118 @@+{-# 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.Dataproc.Projects.Regions.Jobs.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/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.jobs.setIamPolicy@.+module Gogol.Dataproc.Projects.Regions.Jobs.SetIamPolicy+  ( -- * Resource+    DataprocProjectsRegionsJobsSetIamPolicyResource,++    -- ** Constructing a Request+    DataprocProjectsRegionsJobsSetIamPolicy (..),+    newDataprocProjectsRegionsJobsSetIamPolicy,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.regions.jobs.setIamPolicy@ method which the+-- 'DataprocProjectsRegionsJobsSetIamPolicy' request conforms to.+type DataprocProjectsRegionsJobsSetIamPolicyResource =+  "v1"+    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:/ 'newDataprocProjectsRegionsJobsSetIamPolicy' smart constructor.+data DataprocProjectsRegionsJobsSetIamPolicy = DataprocProjectsRegionsJobsSetIamPolicy+  { -- | 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 Resource names (https:\/\/cloud.google.com\/apis\/design\/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 'DataprocProjectsRegionsJobsSetIamPolicy' with the minimum fields required to make a request.+newDataprocProjectsRegionsJobsSetIamPolicy ::+  -- |  Multipart request metadata. See 'payload'.+  SetIamPolicyRequest ->+  -- |  REQUIRED: The resource for which the policy is being specified. See Resource names (https:\/\/cloud.google.com\/apis\/design\/resource_names) for the appropriate value for this field. See 'resource'.+  Core.Text ->+  DataprocProjectsRegionsJobsSetIamPolicy+newDataprocProjectsRegionsJobsSetIamPolicy payload resource =+  DataprocProjectsRegionsJobsSetIamPolicy+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      payload = payload,+      resource = resource,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest DataprocProjectsRegionsJobsSetIamPolicy where+  type Rs DataprocProjectsRegionsJobsSetIamPolicy = Policy+  type+    Scopes DataprocProjectsRegionsJobsSetIamPolicy =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsRegionsJobsSetIamPolicy {..} =+    go+      resource+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      payload+      dataprocService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy DataprocProjectsRegionsJobsSetIamPolicyResource+          )+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Regions/Jobs/Submit.hs view
@@ -0,0 +1,128 @@+{-# 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.Dataproc.Projects.Regions.Jobs.Submit+-- 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)+--+-- Submits a job to a cluster.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.jobs.submit@.+module Gogol.Dataproc.Projects.Regions.Jobs.Submit+  ( -- * Resource+    DataprocProjectsRegionsJobsSubmitResource,++    -- ** Constructing a Request+    DataprocProjectsRegionsJobsSubmit (..),+    newDataprocProjectsRegionsJobsSubmit,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.regions.jobs.submit@ method which the+-- 'DataprocProjectsRegionsJobsSubmit' request conforms to.+type DataprocProjectsRegionsJobsSubmitResource =+  "v1"+    Core.:> "projects"+    Core.:> Core.Capture "projectId" Core.Text+    Core.:> "regions"+    Core.:> Core.Capture "region" Core.Text+    Core.:> "jobs:submit"+    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] SubmitJobRequest+    Core.:> Core.Post '[Core.JSON] Job++-- | Submits a job to a cluster.+--+-- /See:/ 'newDataprocProjectsRegionsJobsSubmit' smart constructor.+data DataprocProjectsRegionsJobsSubmit = DataprocProjectsRegionsJobsSubmit+  { -- | 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 :: SubmitJobRequest,+    -- | Required. The ID of the Google Cloud Platform project that the job belongs to.+    projectId :: Core.Text,+    -- | Required. The Dataproc region in which to handle the request.+    region :: 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 'DataprocProjectsRegionsJobsSubmit' with the minimum fields required to make a request.+newDataprocProjectsRegionsJobsSubmit ::+  -- |  Multipart request metadata. See 'payload'.+  SubmitJobRequest ->+  -- |  Required. The ID of the Google Cloud Platform project that the job belongs to. See 'projectId'.+  Core.Text ->+  -- |  Required. The Dataproc region in which to handle the request. See 'region'.+  Core.Text ->+  DataprocProjectsRegionsJobsSubmit+newDataprocProjectsRegionsJobsSubmit payload projectId region =+  DataprocProjectsRegionsJobsSubmit+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      payload = payload,+      projectId = projectId,+      region = region,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest DataprocProjectsRegionsJobsSubmit where+  type Rs DataprocProjectsRegionsJobsSubmit = Job+  type+    Scopes DataprocProjectsRegionsJobsSubmit =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsRegionsJobsSubmit {..} =+    go+      projectId+      region+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      payload+      dataprocService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy DataprocProjectsRegionsJobsSubmitResource+          )+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Regions/Jobs/SubmitAsOperation.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.Dataproc.Projects.Regions.Jobs.SubmitAsOperation+-- 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)+--+-- Submits job to a cluster.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.jobs.submitAsOperation@.+module Gogol.Dataproc.Projects.Regions.Jobs.SubmitAsOperation+  ( -- * Resource+    DataprocProjectsRegionsJobsSubmitAsOperationResource,++    -- ** Constructing a Request+    DataprocProjectsRegionsJobsSubmitAsOperation (..),+    newDataprocProjectsRegionsJobsSubmitAsOperation,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.regions.jobs.submitAsOperation@ method which the+-- 'DataprocProjectsRegionsJobsSubmitAsOperation' request conforms to.+type DataprocProjectsRegionsJobsSubmitAsOperationResource =+  "v1"+    Core.:> "projects"+    Core.:> Core.Capture "projectId" Core.Text+    Core.:> "regions"+    Core.:> Core.Capture "region" Core.Text+    Core.:> "jobs:submitAsOperation"+    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] SubmitJobRequest+    Core.:> Core.Post '[Core.JSON] Operation++-- | Submits job to a cluster.+--+-- /See:/ 'newDataprocProjectsRegionsJobsSubmitAsOperation' smart constructor.+data DataprocProjectsRegionsJobsSubmitAsOperation = DataprocProjectsRegionsJobsSubmitAsOperation+  { -- | 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 :: SubmitJobRequest,+    -- | Required. The ID of the Google Cloud Platform project that the job belongs to.+    projectId :: Core.Text,+    -- | Required. The Dataproc region in which to handle the request.+    region :: 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 'DataprocProjectsRegionsJobsSubmitAsOperation' with the minimum fields required to make a request.+newDataprocProjectsRegionsJobsSubmitAsOperation ::+  -- |  Multipart request metadata. See 'payload'.+  SubmitJobRequest ->+  -- |  Required. The ID of the Google Cloud Platform project that the job belongs to. See 'projectId'.+  Core.Text ->+  -- |  Required. The Dataproc region in which to handle the request. See 'region'.+  Core.Text ->+  DataprocProjectsRegionsJobsSubmitAsOperation+newDataprocProjectsRegionsJobsSubmitAsOperation+  payload+  projectId+  region =+    DataprocProjectsRegionsJobsSubmitAsOperation+      { xgafv =+          Core.Nothing,+        accessToken = Core.Nothing,+        callback = Core.Nothing,+        payload = payload,+        projectId = projectId,+        region = region,+        uploadType = Core.Nothing,+        uploadProtocol = Core.Nothing+      }++instance+  Core.GoogleRequest+    DataprocProjectsRegionsJobsSubmitAsOperation+  where+  type Rs DataprocProjectsRegionsJobsSubmitAsOperation = Operation+  type+    Scopes DataprocProjectsRegionsJobsSubmitAsOperation =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsRegionsJobsSubmitAsOperation {..} =+    go+      projectId+      region+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      payload+      dataprocService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy DataprocProjectsRegionsJobsSubmitAsOperationResource+          )+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Regions/Jobs/TestIamPermissions.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.Dataproc.Projects.Regions.Jobs.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/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.jobs.testIamPermissions@.+module Gogol.Dataproc.Projects.Regions.Jobs.TestIamPermissions+  ( -- * Resource+    DataprocProjectsRegionsJobsTestIamPermissionsResource,++    -- ** Constructing a Request+    DataprocProjectsRegionsJobsTestIamPermissions (..),+    newDataprocProjectsRegionsJobsTestIamPermissions,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.regions.jobs.testIamPermissions@ method which the+-- 'DataprocProjectsRegionsJobsTestIamPermissions' request conforms to.+type DataprocProjectsRegionsJobsTestIamPermissionsResource =+  "v1"+    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:/ 'newDataprocProjectsRegionsJobsTestIamPermissions' smart constructor.+data DataprocProjectsRegionsJobsTestIamPermissions = DataprocProjectsRegionsJobsTestIamPermissions+  { -- | 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 Resource names (https:\/\/cloud.google.com\/apis\/design\/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 'DataprocProjectsRegionsJobsTestIamPermissions' with the minimum fields required to make a request.+newDataprocProjectsRegionsJobsTestIamPermissions ::+  -- |  Multipart request metadata. See 'payload'.+  TestIamPermissionsRequest ->+  -- |  REQUIRED: The resource for which the policy detail is being requested. See Resource names (https:\/\/cloud.google.com\/apis\/design\/resource_names) for the appropriate value for this field. See 'resource'.+  Core.Text ->+  DataprocProjectsRegionsJobsTestIamPermissions+newDataprocProjectsRegionsJobsTestIamPermissions payload resource =+  DataprocProjectsRegionsJobsTestIamPermissions+    { xgafv =+        Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      payload = payload,+      resource = resource,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance+  Core.GoogleRequest+    DataprocProjectsRegionsJobsTestIamPermissions+  where+  type+    Rs DataprocProjectsRegionsJobsTestIamPermissions =+      TestIamPermissionsResponse+  type+    Scopes DataprocProjectsRegionsJobsTestIamPermissions =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsRegionsJobsTestIamPermissions {..} =+    go+      resource+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      payload+      dataprocService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy DataprocProjectsRegionsJobsTestIamPermissionsResource+          )+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Regions/Operations/Cancel.hs view
@@ -0,0 +1,111 @@+{-# 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.Dataproc.Projects.Regions.Operations.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)+--+-- Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn\'t support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.operations.cancel@.+module Gogol.Dataproc.Projects.Regions.Operations.Cancel+  ( -- * Resource+    DataprocProjectsRegionsOperationsCancelResource,++    -- ** Constructing a Request+    DataprocProjectsRegionsOperationsCancel (..),+    newDataprocProjectsRegionsOperationsCancel,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.regions.operations.cancel@ method which the+-- 'DataprocProjectsRegionsOperationsCancel' request conforms to.+type DataprocProjectsRegionsOperationsCancelResource =+  "v1"+    Core.:> Core.CaptureMode "name" "cancel" 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.Post '[Core.JSON] Empty++-- | Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn\'t support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.+--+-- /See:/ 'newDataprocProjectsRegionsOperationsCancel' smart constructor.+data DataprocProjectsRegionsOperationsCancel = DataprocProjectsRegionsOperationsCancel+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | The name of the operation resource to be cancelled.+    name :: 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 'DataprocProjectsRegionsOperationsCancel' with the minimum fields required to make a request.+newDataprocProjectsRegionsOperationsCancel ::+  -- |  The name of the operation resource to be cancelled. See 'name'.+  Core.Text ->+  DataprocProjectsRegionsOperationsCancel+newDataprocProjectsRegionsOperationsCancel name =+  DataprocProjectsRegionsOperationsCancel+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      name = name,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest DataprocProjectsRegionsOperationsCancel where+  type Rs DataprocProjectsRegionsOperationsCancel = Empty+  type+    Scopes DataprocProjectsRegionsOperationsCancel =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsRegionsOperationsCancel {..} =+    go+      name+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      dataprocService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy DataprocProjectsRegionsOperationsCancelResource+          )+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Regions/Operations/Delete.hs view
@@ -0,0 +1,111 @@+{-# 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.Dataproc.Projects.Regions.Operations.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 long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn\'t support this method, it returns google.rpc.Code.UNIMPLEMENTED.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.operations.delete@.+module Gogol.Dataproc.Projects.Regions.Operations.Delete+  ( -- * Resource+    DataprocProjectsRegionsOperationsDeleteResource,++    -- ** Constructing a Request+    DataprocProjectsRegionsOperationsDelete (..),+    newDataprocProjectsRegionsOperationsDelete,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.regions.operations.delete@ method which the+-- 'DataprocProjectsRegionsOperationsDelete' request conforms to.+type DataprocProjectsRegionsOperationsDeleteResource =+  "v1"+    Core.:> Core.Capture "name" 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] Empty++-- | Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn\'t support this method, it returns google.rpc.Code.UNIMPLEMENTED.+--+-- /See:/ 'newDataprocProjectsRegionsOperationsDelete' smart constructor.+data DataprocProjectsRegionsOperationsDelete = DataprocProjectsRegionsOperationsDelete+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | The name of the operation resource to be deleted.+    name :: 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 'DataprocProjectsRegionsOperationsDelete' with the minimum fields required to make a request.+newDataprocProjectsRegionsOperationsDelete ::+  -- |  The name of the operation resource to be deleted. See 'name'.+  Core.Text ->+  DataprocProjectsRegionsOperationsDelete+newDataprocProjectsRegionsOperationsDelete name =+  DataprocProjectsRegionsOperationsDelete+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      name = name,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest DataprocProjectsRegionsOperationsDelete where+  type Rs DataprocProjectsRegionsOperationsDelete = Empty+  type+    Scopes DataprocProjectsRegionsOperationsDelete =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsRegionsOperationsDelete {..} =+    go+      name+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      dataprocService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy DataprocProjectsRegionsOperationsDeleteResource+          )+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Regions/Operations/Get.hs view
@@ -0,0 +1,111 @@+{-# 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.Dataproc.Projects.Regions.Operations.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 latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.operations.get@.+module Gogol.Dataproc.Projects.Regions.Operations.Get+  ( -- * Resource+    DataprocProjectsRegionsOperationsGetResource,++    -- ** Constructing a Request+    DataprocProjectsRegionsOperationsGet (..),+    newDataprocProjectsRegionsOperationsGet,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.regions.operations.get@ method which the+-- 'DataprocProjectsRegionsOperationsGet' request conforms to.+type DataprocProjectsRegionsOperationsGetResource =+  "v1"+    Core.:> Core.Capture "name" 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] Operation++-- | Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.+--+-- /See:/ 'newDataprocProjectsRegionsOperationsGet' smart constructor.+data DataprocProjectsRegionsOperationsGet = DataprocProjectsRegionsOperationsGet+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | The name of the operation resource.+    name :: 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 'DataprocProjectsRegionsOperationsGet' with the minimum fields required to make a request.+newDataprocProjectsRegionsOperationsGet ::+  -- |  The name of the operation resource. See 'name'.+  Core.Text ->+  DataprocProjectsRegionsOperationsGet+newDataprocProjectsRegionsOperationsGet name =+  DataprocProjectsRegionsOperationsGet+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      name = name,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest DataprocProjectsRegionsOperationsGet where+  type Rs DataprocProjectsRegionsOperationsGet = Operation+  type+    Scopes DataprocProjectsRegionsOperationsGet =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsRegionsOperationsGet {..} =+    go+      name+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      dataprocService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy DataprocProjectsRegionsOperationsGetResource+          )+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Regions/Operations/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.Dataproc.Projects.Regions.Operations.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/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.operations.getIamPolicy@.+module Gogol.Dataproc.Projects.Regions.Operations.GetIamPolicy+  ( -- * Resource+    DataprocProjectsRegionsOperationsGetIamPolicyResource,++    -- ** Constructing a Request+    DataprocProjectsRegionsOperationsGetIamPolicy (..),+    newDataprocProjectsRegionsOperationsGetIamPolicy,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.regions.operations.getIamPolicy@ method which the+-- 'DataprocProjectsRegionsOperationsGetIamPolicy' request conforms to.+type DataprocProjectsRegionsOperationsGetIamPolicyResource =+  "v1"+    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:/ 'newDataprocProjectsRegionsOperationsGetIamPolicy' smart constructor.+data DataprocProjectsRegionsOperationsGetIamPolicy = DataprocProjectsRegionsOperationsGetIamPolicy+  { -- | 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 Resource names (https:\/\/cloud.google.com\/apis\/design\/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 'DataprocProjectsRegionsOperationsGetIamPolicy' with the minimum fields required to make a request.+newDataprocProjectsRegionsOperationsGetIamPolicy ::+  -- |  Multipart request metadata. See 'payload'.+  GetIamPolicyRequest ->+  -- |  REQUIRED: The resource for which the policy is being requested. See Resource names (https:\/\/cloud.google.com\/apis\/design\/resource_names) for the appropriate value for this field. See 'resource'.+  Core.Text ->+  DataprocProjectsRegionsOperationsGetIamPolicy+newDataprocProjectsRegionsOperationsGetIamPolicy payload resource =+  DataprocProjectsRegionsOperationsGetIamPolicy+    { xgafv =+        Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      payload = payload,+      resource = resource,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance+  Core.GoogleRequest+    DataprocProjectsRegionsOperationsGetIamPolicy+  where+  type Rs DataprocProjectsRegionsOperationsGetIamPolicy = Policy+  type+    Scopes DataprocProjectsRegionsOperationsGetIamPolicy =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsRegionsOperationsGetIamPolicy {..} =+    go+      resource+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      payload+      dataprocService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy DataprocProjectsRegionsOperationsGetIamPolicyResource+          )+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Regions/Operations/List.hs view
@@ -0,0 +1,128 @@+{-# 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.Dataproc.Projects.Regions.Operations.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 operations that match the specified filter in the request. If the server doesn\'t support this method, it returns UNIMPLEMENTED.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.operations.list@.+module Gogol.Dataproc.Projects.Regions.Operations.List+  ( -- * Resource+    DataprocProjectsRegionsOperationsListResource,++    -- ** Constructing a Request+    DataprocProjectsRegionsOperationsList (..),+    newDataprocProjectsRegionsOperationsList,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.regions.operations.list@ method which the+-- 'DataprocProjectsRegionsOperationsList' request conforms to.+type DataprocProjectsRegionsOperationsListResource =+  "v1"+    Core.:> Core.Capture "name" Core.Text+    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 "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] ListOperationsResponse++-- | Lists operations that match the specified filter in the request. If the server doesn\'t support this method, it returns UNIMPLEMENTED.+--+-- /See:/ 'newDataprocProjectsRegionsOperationsList' smart constructor.+data DataprocProjectsRegionsOperationsList = DataprocProjectsRegionsOperationsList+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | The standard list filter.+    filter :: (Core.Maybe Core.Text),+    -- | The name of the operation\'s parent resource.+    name :: Core.Text,+    -- | The standard list page size.+    pageSize :: (Core.Maybe Core.Int32),+    -- | The standard list page token.+    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 'DataprocProjectsRegionsOperationsList' with the minimum fields required to make a request.+newDataprocProjectsRegionsOperationsList ::+  -- |  The name of the operation\'s parent resource. See 'name'.+  Core.Text ->+  DataprocProjectsRegionsOperationsList+newDataprocProjectsRegionsOperationsList name =+  DataprocProjectsRegionsOperationsList+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      filter = Core.Nothing,+      name = name,+      pageSize = Core.Nothing,+      pageToken = Core.Nothing,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest DataprocProjectsRegionsOperationsList where+  type+    Rs DataprocProjectsRegionsOperationsList =+      ListOperationsResponse+  type+    Scopes DataprocProjectsRegionsOperationsList =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsRegionsOperationsList {..} =+    go+      name+      xgafv+      accessToken+      callback+      filter+      pageSize+      pageToken+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      dataprocService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy DataprocProjectsRegionsOperationsListResource+          )+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Regions/Operations/SetIamPolicy.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.Dataproc.Projects.Regions.Operations.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/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.operations.setIamPolicy@.+module Gogol.Dataproc.Projects.Regions.Operations.SetIamPolicy+  ( -- * Resource+    DataprocProjectsRegionsOperationsSetIamPolicyResource,++    -- ** Constructing a Request+    DataprocProjectsRegionsOperationsSetIamPolicy (..),+    newDataprocProjectsRegionsOperationsSetIamPolicy,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.regions.operations.setIamPolicy@ method which the+-- 'DataprocProjectsRegionsOperationsSetIamPolicy' request conforms to.+type DataprocProjectsRegionsOperationsSetIamPolicyResource =+  "v1"+    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:/ 'newDataprocProjectsRegionsOperationsSetIamPolicy' smart constructor.+data DataprocProjectsRegionsOperationsSetIamPolicy = DataprocProjectsRegionsOperationsSetIamPolicy+  { -- | 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 Resource names (https:\/\/cloud.google.com\/apis\/design\/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 'DataprocProjectsRegionsOperationsSetIamPolicy' with the minimum fields required to make a request.+newDataprocProjectsRegionsOperationsSetIamPolicy ::+  -- |  Multipart request metadata. See 'payload'.+  SetIamPolicyRequest ->+  -- |  REQUIRED: The resource for which the policy is being specified. See Resource names (https:\/\/cloud.google.com\/apis\/design\/resource_names) for the appropriate value for this field. See 'resource'.+  Core.Text ->+  DataprocProjectsRegionsOperationsSetIamPolicy+newDataprocProjectsRegionsOperationsSetIamPolicy payload resource =+  DataprocProjectsRegionsOperationsSetIamPolicy+    { xgafv =+        Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      payload = payload,+      resource = resource,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance+  Core.GoogleRequest+    DataprocProjectsRegionsOperationsSetIamPolicy+  where+  type Rs DataprocProjectsRegionsOperationsSetIamPolicy = Policy+  type+    Scopes DataprocProjectsRegionsOperationsSetIamPolicy =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsRegionsOperationsSetIamPolicy {..} =+    go+      resource+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      payload+      dataprocService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy DataprocProjectsRegionsOperationsSetIamPolicyResource+          )+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Regions/Operations/TestIamPermissions.hs view
@@ -0,0 +1,128 @@+{-# 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.Dataproc.Projects.Regions.Operations.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/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.operations.testIamPermissions@.+module Gogol.Dataproc.Projects.Regions.Operations.TestIamPermissions+  ( -- * Resource+    DataprocProjectsRegionsOperationsTestIamPermissionsResource,++    -- ** Constructing a Request+    DataprocProjectsRegionsOperationsTestIamPermissions (..),+    newDataprocProjectsRegionsOperationsTestIamPermissions,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.regions.operations.testIamPermissions@ method which the+-- 'DataprocProjectsRegionsOperationsTestIamPermissions' request conforms to.+type DataprocProjectsRegionsOperationsTestIamPermissionsResource =+  "v1"+    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:/ 'newDataprocProjectsRegionsOperationsTestIamPermissions' smart constructor.+data DataprocProjectsRegionsOperationsTestIamPermissions = DataprocProjectsRegionsOperationsTestIamPermissions+  { -- | 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 Resource names (https:\/\/cloud.google.com\/apis\/design\/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 'DataprocProjectsRegionsOperationsTestIamPermissions' with the minimum fields required to make a request.+newDataprocProjectsRegionsOperationsTestIamPermissions ::+  -- |  Multipart request metadata. See 'payload'.+  TestIamPermissionsRequest ->+  -- |  REQUIRED: The resource for which the policy detail is being requested. See Resource names (https:\/\/cloud.google.com\/apis\/design\/resource_names) for the appropriate value for this field. See 'resource'.+  Core.Text ->+  DataprocProjectsRegionsOperationsTestIamPermissions+newDataprocProjectsRegionsOperationsTestIamPermissions+  payload+  resource =+    DataprocProjectsRegionsOperationsTestIamPermissions+      { xgafv =+          Core.Nothing,+        accessToken = Core.Nothing,+        callback = Core.Nothing,+        payload = payload,+        resource = resource,+        uploadType = Core.Nothing,+        uploadProtocol = Core.Nothing+      }++instance+  Core.GoogleRequest+    DataprocProjectsRegionsOperationsTestIamPermissions+  where+  type+    Rs DataprocProjectsRegionsOperationsTestIamPermissions =+      TestIamPermissionsResponse+  type+    Scopes DataprocProjectsRegionsOperationsTestIamPermissions =+      '[CloudPlatform'FullControl]+  requestClient+    DataprocProjectsRegionsOperationsTestIamPermissions {..} =+      go+        resource+        xgafv+        accessToken+        callback+        uploadType+        uploadProtocol+        (Core.Just Core.AltJSON)+        payload+        dataprocService+      where+        go =+          Core.buildClient+            ( Core.Proxy ::+                Core.Proxy+                  DataprocProjectsRegionsOperationsTestIamPermissionsResource+            )+            Core.mempty
+ gen/Gogol/Dataproc/Projects/Regions/WorkflowTemplates/Create.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.Dataproc.Projects.Regions.WorkflowTemplates.Create+-- 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 new workflow template.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.workflowTemplates.create@.+module Gogol.Dataproc.Projects.Regions.WorkflowTemplates.Create+  ( -- * Resource+    DataprocProjectsRegionsWorkflowTemplatesCreateResource,++    -- ** Constructing a Request+    DataprocProjectsRegionsWorkflowTemplatesCreate (..),+    newDataprocProjectsRegionsWorkflowTemplatesCreate,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.regions.workflowTemplates.create@ method which the+-- 'DataprocProjectsRegionsWorkflowTemplatesCreate' request conforms to.+type DataprocProjectsRegionsWorkflowTemplatesCreateResource =+  "v1"+    Core.:> Core.Capture "parent" Core.Text+    Core.:> "workflowTemplates"+    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] WorkflowTemplate+    Core.:> Core.Post '[Core.JSON] WorkflowTemplate++-- | Creates new workflow template.+--+-- /See:/ 'newDataprocProjectsRegionsWorkflowTemplatesCreate' smart constructor.+data DataprocProjectsRegionsWorkflowTemplatesCreate = DataprocProjectsRegionsWorkflowTemplatesCreate+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The resource name of the region or location, as described in https:\/\/cloud.google.com\/apis\/design\/resource/names. For projects.regions.workflowTemplates.create, the resource name of the region has the following format: projects\/{project/id}\/regions\/{region} For projects.locations.workflowTemplates.create, the resource name of the location has the following format: projects\/{project_id}\/locations\/{location}+    parent :: Core.Text,+    -- | Multipart request metadata.+    payload :: WorkflowTemplate,+    -- | 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 'DataprocProjectsRegionsWorkflowTemplatesCreate' with the minimum fields required to make a request.+newDataprocProjectsRegionsWorkflowTemplatesCreate ::+  -- |  Required. The resource name of the region or location, as described in https:\/\/cloud.google.com\/apis\/design\/resource/names. For projects.regions.workflowTemplates.create, the resource name of the region has the following format: projects\/{project/id}\/regions\/{region} For projects.locations.workflowTemplates.create, the resource name of the location has the following format: projects\/{project_id}\/locations\/{location} See 'parent'.+  Core.Text ->+  -- |  Multipart request metadata. See 'payload'.+  WorkflowTemplate ->+  DataprocProjectsRegionsWorkflowTemplatesCreate+newDataprocProjectsRegionsWorkflowTemplatesCreate parent payload =+  DataprocProjectsRegionsWorkflowTemplatesCreate+    { xgafv =+        Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      parent = parent,+      payload = payload,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance+  Core.GoogleRequest+    DataprocProjectsRegionsWorkflowTemplatesCreate+  where+  type+    Rs DataprocProjectsRegionsWorkflowTemplatesCreate =+      WorkflowTemplate+  type+    Scopes DataprocProjectsRegionsWorkflowTemplatesCreate =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsRegionsWorkflowTemplatesCreate {..} =+    go+      parent+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      payload+      dataprocService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy DataprocProjectsRegionsWorkflowTemplatesCreateResource+          )+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Regions/WorkflowTemplates/Delete.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.Dataproc.Projects.Regions.WorkflowTemplates.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 workflow template. It does not cancel in-progress workflows.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.workflowTemplates.delete@.+module Gogol.Dataproc.Projects.Regions.WorkflowTemplates.Delete+  ( -- * Resource+    DataprocProjectsRegionsWorkflowTemplatesDeleteResource,++    -- ** Constructing a Request+    DataprocProjectsRegionsWorkflowTemplatesDelete (..),+    newDataprocProjectsRegionsWorkflowTemplatesDelete,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.regions.workflowTemplates.delete@ method which the+-- 'DataprocProjectsRegionsWorkflowTemplatesDelete' request conforms to.+type DataprocProjectsRegionsWorkflowTemplatesDeleteResource =+  "v1"+    Core.:> Core.Capture "name" 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 "version" Core.Int32+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Delete '[Core.JSON] Empty++-- | Deletes a workflow template. It does not cancel in-progress workflows.+--+-- /See:/ 'newDataprocProjectsRegionsWorkflowTemplatesDelete' smart constructor.+data DataprocProjectsRegionsWorkflowTemplatesDelete = DataprocProjectsRegionsWorkflowTemplatesDelete+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The resource name of the workflow template, as described in https:\/\/cloud.google.com\/apis\/design\/resource/names. For projects.regions.workflowTemplates.delete, the resource name of the template has the following format: projects\/{project/id}\/regions\/{region}\/workflowTemplates\/{template/id} For projects.locations.workflowTemplates.instantiate, the resource name of the template has the following format: projects\/{project/id}\/locations\/{location}\/workflowTemplates\/{template_id}+    name :: 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. The version of workflow template to delete. If specified, will only delete the template if the current server version matches specified version.+    version :: (Core.Maybe Core.Int32)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DataprocProjectsRegionsWorkflowTemplatesDelete' with the minimum fields required to make a request.+newDataprocProjectsRegionsWorkflowTemplatesDelete ::+  -- |  Required. The resource name of the workflow template, as described in https:\/\/cloud.google.com\/apis\/design\/resource/names. For projects.regions.workflowTemplates.delete, the resource name of the template has the following format: projects\/{project/id}\/regions\/{region}\/workflowTemplates\/{template/id} For projects.locations.workflowTemplates.instantiate, the resource name of the template has the following format: projects\/{project/id}\/locations\/{location}\/workflowTemplates\/{template_id} See 'name'.+  Core.Text ->+  DataprocProjectsRegionsWorkflowTemplatesDelete+newDataprocProjectsRegionsWorkflowTemplatesDelete name =+  DataprocProjectsRegionsWorkflowTemplatesDelete+    { xgafv =+        Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      name = name,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing,+      version = Core.Nothing+    }++instance+  Core.GoogleRequest+    DataprocProjectsRegionsWorkflowTemplatesDelete+  where+  type Rs DataprocProjectsRegionsWorkflowTemplatesDelete = Empty+  type+    Scopes DataprocProjectsRegionsWorkflowTemplatesDelete =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsRegionsWorkflowTemplatesDelete {..} =+    go+      name+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      version+      (Core.Just Core.AltJSON)+      dataprocService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy DataprocProjectsRegionsWorkflowTemplatesDeleteResource+          )+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Regions/WorkflowTemplates/Get.hs view
@@ -0,0 +1,121 @@+{-# 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.Dataproc.Projects.Regions.WorkflowTemplates.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)+--+-- Retrieves the latest workflow template.Can retrieve previously instantiated template by specifying optional version parameter.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.workflowTemplates.get@.+module Gogol.Dataproc.Projects.Regions.WorkflowTemplates.Get+  ( -- * Resource+    DataprocProjectsRegionsWorkflowTemplatesGetResource,++    -- ** Constructing a Request+    DataprocProjectsRegionsWorkflowTemplatesGet (..),+    newDataprocProjectsRegionsWorkflowTemplatesGet,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.regions.workflowTemplates.get@ method which the+-- 'DataprocProjectsRegionsWorkflowTemplatesGet' request conforms to.+type DataprocProjectsRegionsWorkflowTemplatesGetResource =+  "v1"+    Core.:> Core.Capture "name" 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 "version" Core.Int32+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Get '[Core.JSON] WorkflowTemplate++-- | Retrieves the latest workflow template.Can retrieve previously instantiated template by specifying optional version parameter.+--+-- /See:/ 'newDataprocProjectsRegionsWorkflowTemplatesGet' smart constructor.+data DataprocProjectsRegionsWorkflowTemplatesGet = DataprocProjectsRegionsWorkflowTemplatesGet+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The resource name of the workflow template, as described in https:\/\/cloud.google.com\/apis\/design\/resource/names. For projects.regions.workflowTemplates.get, the resource name of the template has the following format: projects\/{project/id}\/regions\/{region}\/workflowTemplates\/{template/id} For projects.locations.workflowTemplates.get, the resource name of the template has the following format: projects\/{project/id}\/locations\/{location}\/workflowTemplates\/{template_id}+    name :: 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. The version of workflow template to retrieve. Only previously instantiated versions can be retrieved.If unspecified, retrieves the current version.+    version :: (Core.Maybe Core.Int32)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DataprocProjectsRegionsWorkflowTemplatesGet' with the minimum fields required to make a request.+newDataprocProjectsRegionsWorkflowTemplatesGet ::+  -- |  Required. The resource name of the workflow template, as described in https:\/\/cloud.google.com\/apis\/design\/resource/names. For projects.regions.workflowTemplates.get, the resource name of the template has the following format: projects\/{project/id}\/regions\/{region}\/workflowTemplates\/{template/id} For projects.locations.workflowTemplates.get, the resource name of the template has the following format: projects\/{project/id}\/locations\/{location}\/workflowTemplates\/{template_id} See 'name'.+  Core.Text ->+  DataprocProjectsRegionsWorkflowTemplatesGet+newDataprocProjectsRegionsWorkflowTemplatesGet name =+  DataprocProjectsRegionsWorkflowTemplatesGet+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      name = name,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing,+      version = Core.Nothing+    }++instance+  Core.GoogleRequest+    DataprocProjectsRegionsWorkflowTemplatesGet+  where+  type+    Rs DataprocProjectsRegionsWorkflowTemplatesGet =+      WorkflowTemplate+  type+    Scopes DataprocProjectsRegionsWorkflowTemplatesGet =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsRegionsWorkflowTemplatesGet {..} =+    go+      name+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      version+      (Core.Just Core.AltJSON)+      dataprocService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy DataprocProjectsRegionsWorkflowTemplatesGetResource+          )+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Regions/WorkflowTemplates/GetIamPolicy.hs view
@@ -0,0 +1,128 @@+{-# 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.Dataproc.Projects.Regions.WorkflowTemplates.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/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.workflowTemplates.getIamPolicy@.+module Gogol.Dataproc.Projects.Regions.WorkflowTemplates.GetIamPolicy+  ( -- * Resource+    DataprocProjectsRegionsWorkflowTemplatesGetIamPolicyResource,++    -- ** Constructing a Request+    DataprocProjectsRegionsWorkflowTemplatesGetIamPolicy (..),+    newDataprocProjectsRegionsWorkflowTemplatesGetIamPolicy,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.regions.workflowTemplates.getIamPolicy@ method which the+-- 'DataprocProjectsRegionsWorkflowTemplatesGetIamPolicy' request conforms to.+type DataprocProjectsRegionsWorkflowTemplatesGetIamPolicyResource =+  "v1"+    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:/ 'newDataprocProjectsRegionsWorkflowTemplatesGetIamPolicy' smart constructor.+data DataprocProjectsRegionsWorkflowTemplatesGetIamPolicy = DataprocProjectsRegionsWorkflowTemplatesGetIamPolicy+  { -- | 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 Resource names (https:\/\/cloud.google.com\/apis\/design\/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 'DataprocProjectsRegionsWorkflowTemplatesGetIamPolicy' with the minimum fields required to make a request.+newDataprocProjectsRegionsWorkflowTemplatesGetIamPolicy ::+  -- |  Multipart request metadata. See 'payload'.+  GetIamPolicyRequest ->+  -- |  REQUIRED: The resource for which the policy is being requested. See Resource names (https:\/\/cloud.google.com\/apis\/design\/resource_names) for the appropriate value for this field. See 'resource'.+  Core.Text ->+  DataprocProjectsRegionsWorkflowTemplatesGetIamPolicy+newDataprocProjectsRegionsWorkflowTemplatesGetIamPolicy+  payload+  resource =+    DataprocProjectsRegionsWorkflowTemplatesGetIamPolicy+      { xgafv =+          Core.Nothing,+        accessToken = Core.Nothing,+        callback = Core.Nothing,+        payload = payload,+        resource = resource,+        uploadType = Core.Nothing,+        uploadProtocol = Core.Nothing+      }++instance+  Core.GoogleRequest+    DataprocProjectsRegionsWorkflowTemplatesGetIamPolicy+  where+  type+    Rs DataprocProjectsRegionsWorkflowTemplatesGetIamPolicy =+      Policy+  type+    Scopes DataprocProjectsRegionsWorkflowTemplatesGetIamPolicy =+      '[CloudPlatform'FullControl]+  requestClient+    DataprocProjectsRegionsWorkflowTemplatesGetIamPolicy {..} =+      go+        resource+        xgafv+        accessToken+        callback+        uploadType+        uploadProtocol+        (Core.Just Core.AltJSON)+        payload+        dataprocService+      where+        go =+          Core.buildClient+            ( Core.Proxy ::+                Core.Proxy+                  DataprocProjectsRegionsWorkflowTemplatesGetIamPolicyResource+            )+            Core.mempty
+ gen/Gogol/Dataproc/Projects/Regions/WorkflowTemplates/Instantiate.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.Dataproc.Projects.Regions.WorkflowTemplates.Instantiate+-- 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)+--+-- Instantiates a template and begins execution.The returned Operation can be used to track execution of workflow by polling operations.get. The Operation will complete when entire workflow is finished.The running workflow can be aborted via operations.cancel. This will cause any inflight jobs to be cancelled and workflow-owned clusters to be deleted.The Operation.metadata will be WorkflowMetadata (https:\/\/cloud.google.com\/dataproc\/docs\/reference\/rpc\/google.cloud.dataproc.v1#workflowmetadata). Also see Using WorkflowMetadata (https:\/\/cloud.google.com\/dataproc\/docs\/concepts\/workflows\/debugging#using_workflowmetadata).On successful completion, Operation.response will be Empty.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.workflowTemplates.instantiate@.+module Gogol.Dataproc.Projects.Regions.WorkflowTemplates.Instantiate+  ( -- * Resource+    DataprocProjectsRegionsWorkflowTemplatesInstantiateResource,++    -- ** Constructing a Request+    DataprocProjectsRegionsWorkflowTemplatesInstantiate (..),+    newDataprocProjectsRegionsWorkflowTemplatesInstantiate,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.regions.workflowTemplates.instantiate@ method which the+-- 'DataprocProjectsRegionsWorkflowTemplatesInstantiate' request conforms to.+type DataprocProjectsRegionsWorkflowTemplatesInstantiateResource =+  "v1"+    Core.:> Core.CaptureMode "name" "instantiate" 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] InstantiateWorkflowTemplateRequest+    Core.:> Core.Post '[Core.JSON] Operation++-- | Instantiates a template and begins execution.The returned Operation can be used to track execution of workflow by polling operations.get. The Operation will complete when entire workflow is finished.The running workflow can be aborted via operations.cancel. This will cause any inflight jobs to be cancelled and workflow-owned clusters to be deleted.The Operation.metadata will be WorkflowMetadata (https:\/\/cloud.google.com\/dataproc\/docs\/reference\/rpc\/google.cloud.dataproc.v1#workflowmetadata). Also see Using WorkflowMetadata (https:\/\/cloud.google.com\/dataproc\/docs\/concepts\/workflows\/debugging#using_workflowmetadata).On successful completion, Operation.response will be Empty.+--+-- /See:/ 'newDataprocProjectsRegionsWorkflowTemplatesInstantiate' smart constructor.+data DataprocProjectsRegionsWorkflowTemplatesInstantiate = DataprocProjectsRegionsWorkflowTemplatesInstantiate+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The resource name of the workflow template, as described in https:\/\/cloud.google.com\/apis\/design\/resource/names. For projects.regions.workflowTemplates.instantiate, the resource name of the template has the following format: projects\/{project/id}\/regions\/{region}\/workflowTemplates\/{template/id} For projects.locations.workflowTemplates.instantiate, the resource name of the template has the following format: projects\/{project/id}\/locations\/{location}\/workflowTemplates\/{template_id}+    name :: Core.Text,+    -- | Multipart request metadata.+    payload :: InstantiateWorkflowTemplateRequest,+    -- | 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 'DataprocProjectsRegionsWorkflowTemplatesInstantiate' with the minimum fields required to make a request.+newDataprocProjectsRegionsWorkflowTemplatesInstantiate ::+  -- |  Required. The resource name of the workflow template, as described in https:\/\/cloud.google.com\/apis\/design\/resource/names. For projects.regions.workflowTemplates.instantiate, the resource name of the template has the following format: projects\/{project/id}\/regions\/{region}\/workflowTemplates\/{template/id} For projects.locations.workflowTemplates.instantiate, the resource name of the template has the following format: projects\/{project/id}\/locations\/{location}\/workflowTemplates\/{template_id} See 'name'.+  Core.Text ->+  -- |  Multipart request metadata. See 'payload'.+  InstantiateWorkflowTemplateRequest ->+  DataprocProjectsRegionsWorkflowTemplatesInstantiate+newDataprocProjectsRegionsWorkflowTemplatesInstantiate name payload =+  DataprocProjectsRegionsWorkflowTemplatesInstantiate+    { xgafv =+        Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      name = name,+      payload = payload,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance+  Core.GoogleRequest+    DataprocProjectsRegionsWorkflowTemplatesInstantiate+  where+  type+    Rs DataprocProjectsRegionsWorkflowTemplatesInstantiate =+      Operation+  type+    Scopes DataprocProjectsRegionsWorkflowTemplatesInstantiate =+      '[CloudPlatform'FullControl]+  requestClient+    DataprocProjectsRegionsWorkflowTemplatesInstantiate {..} =+      go+        name+        xgafv+        accessToken+        callback+        uploadType+        uploadProtocol+        (Core.Just Core.AltJSON)+        payload+        dataprocService+      where+        go =+          Core.buildClient+            ( Core.Proxy ::+                Core.Proxy+                  DataprocProjectsRegionsWorkflowTemplatesInstantiateResource+            )+            Core.mempty
+ gen/Gogol/Dataproc/Projects/Regions/WorkflowTemplates/InstantiateInline.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.Dataproc.Projects.Regions.WorkflowTemplates.InstantiateInline+-- 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)+--+-- Instantiates a template and begins execution.This method is equivalent to executing the sequence CreateWorkflowTemplate, InstantiateWorkflowTemplate, DeleteWorkflowTemplate.The returned Operation can be used to track execution of workflow by polling operations.get. The Operation will complete when entire workflow is finished.The running workflow can be aborted via operations.cancel. This will cause any inflight jobs to be cancelled and workflow-owned clusters to be deleted.The Operation.metadata will be WorkflowMetadata (https:\/\/cloud.google.com\/dataproc\/docs\/reference\/rpc\/google.cloud.dataproc.v1#workflowmetadata). Also see Using WorkflowMetadata (https:\/\/cloud.google.com\/dataproc\/docs\/concepts\/workflows\/debugging#using_workflowmetadata).On successful completion, Operation.response will be Empty.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.workflowTemplates.instantiateInline@.+module Gogol.Dataproc.Projects.Regions.WorkflowTemplates.InstantiateInline+  ( -- * Resource+    DataprocProjectsRegionsWorkflowTemplatesInstantiateInlineResource,++    -- ** Constructing a Request+    DataprocProjectsRegionsWorkflowTemplatesInstantiateInline (..),+    newDataprocProjectsRegionsWorkflowTemplatesInstantiateInline,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.regions.workflowTemplates.instantiateInline@ method which the+-- 'DataprocProjectsRegionsWorkflowTemplatesInstantiateInline' request conforms to.+type DataprocProjectsRegionsWorkflowTemplatesInstantiateInlineResource =+  "v1"+    Core.:> Core.Capture "parent" Core.Text+    Core.:> "workflowTemplates:instantiateInline"+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "requestId" 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] WorkflowTemplate+    Core.:> Core.Post '[Core.JSON] Operation++-- | Instantiates a template and begins execution.This method is equivalent to executing the sequence CreateWorkflowTemplate, InstantiateWorkflowTemplate, DeleteWorkflowTemplate.The returned Operation can be used to track execution of workflow by polling operations.get. The Operation will complete when entire workflow is finished.The running workflow can be aborted via operations.cancel. This will cause any inflight jobs to be cancelled and workflow-owned clusters to be deleted.The Operation.metadata will be WorkflowMetadata (https:\/\/cloud.google.com\/dataproc\/docs\/reference\/rpc\/google.cloud.dataproc.v1#workflowmetadata). Also see Using WorkflowMetadata (https:\/\/cloud.google.com\/dataproc\/docs\/concepts\/workflows\/debugging#using_workflowmetadata).On successful completion, Operation.response will be Empty.+--+-- /See:/ 'newDataprocProjectsRegionsWorkflowTemplatesInstantiateInline' smart constructor.+data DataprocProjectsRegionsWorkflowTemplatesInstantiateInline = DataprocProjectsRegionsWorkflowTemplatesInstantiateInline+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The resource name of the region or location, as described in https:\/\/cloud.google.com\/apis\/design\/resource/names. For projects.regions.workflowTemplates,instantiateinline, the resource name of the region has the following format: projects\/{project/id}\/regions\/{region} For projects.locations.workflowTemplates.instantiateinline, the resource name of the location has the following format: projects\/{project_id}\/locations\/{location}+    parent :: Core.Text,+    -- | Multipart request metadata.+    payload :: WorkflowTemplate,+    -- | Optional. A tag that prevents multiple concurrent workflow instances with the same tag from running. This mitigates risk of concurrent instances started due to retries.It is recommended to always set this value to a UUID (https:\/\/en.wikipedia.org\/wiki\/Universally/unique/identifier).The tag must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.+    requestId :: (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 'DataprocProjectsRegionsWorkflowTemplatesInstantiateInline' with the minimum fields required to make a request.+newDataprocProjectsRegionsWorkflowTemplatesInstantiateInline ::+  -- |  Required. The resource name of the region or location, as described in https:\/\/cloud.google.com\/apis\/design\/resource/names. For projects.regions.workflowTemplates,instantiateinline, the resource name of the region has the following format: projects\/{project/id}\/regions\/{region} For projects.locations.workflowTemplates.instantiateinline, the resource name of the location has the following format: projects\/{project_id}\/locations\/{location} See 'parent'.+  Core.Text ->+  -- |  Multipart request metadata. See 'payload'.+  WorkflowTemplate ->+  DataprocProjectsRegionsWorkflowTemplatesInstantiateInline+newDataprocProjectsRegionsWorkflowTemplatesInstantiateInline+  parent+  payload =+    DataprocProjectsRegionsWorkflowTemplatesInstantiateInline+      { xgafv =+          Core.Nothing,+        accessToken = Core.Nothing,+        callback = Core.Nothing,+        parent = parent,+        payload = payload,+        requestId = Core.Nothing,+        uploadType = Core.Nothing,+        uploadProtocol = Core.Nothing+      }++instance+  Core.GoogleRequest+    DataprocProjectsRegionsWorkflowTemplatesInstantiateInline+  where+  type+    Rs DataprocProjectsRegionsWorkflowTemplatesInstantiateInline =+      Operation+  type+    Scopes+      DataprocProjectsRegionsWorkflowTemplatesInstantiateInline =+      '[CloudPlatform'FullControl]+  requestClient+    DataprocProjectsRegionsWorkflowTemplatesInstantiateInline {..} =+      go+        parent+        xgafv+        accessToken+        callback+        requestId+        uploadType+        uploadProtocol+        (Core.Just Core.AltJSON)+        payload+        dataprocService+      where+        go =+          Core.buildClient+            ( Core.Proxy ::+                Core.Proxy+                  DataprocProjectsRegionsWorkflowTemplatesInstantiateInlineResource+            )+            Core.mempty
+ gen/Gogol/Dataproc/Projects/Regions/WorkflowTemplates/List.hs view
@@ -0,0 +1,128 @@+{-# 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.Dataproc.Projects.Regions.WorkflowTemplates.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 workflows that match the specified filter in the request.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.workflowTemplates.list@.+module Gogol.Dataproc.Projects.Regions.WorkflowTemplates.List+  ( -- * Resource+    DataprocProjectsRegionsWorkflowTemplatesListResource,++    -- ** Constructing a Request+    DataprocProjectsRegionsWorkflowTemplatesList (..),+    newDataprocProjectsRegionsWorkflowTemplatesList,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.regions.workflowTemplates.list@ method which the+-- 'DataprocProjectsRegionsWorkflowTemplatesList' request conforms to.+type DataprocProjectsRegionsWorkflowTemplatesListResource =+  "v1"+    Core.:> Core.Capture "parent" Core.Text+    Core.:> "workflowTemplates"+    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] ListWorkflowTemplatesResponse++-- | Lists workflows that match the specified filter in the request.+--+-- /See:/ 'newDataprocProjectsRegionsWorkflowTemplatesList' smart constructor.+data DataprocProjectsRegionsWorkflowTemplatesList = DataprocProjectsRegionsWorkflowTemplatesList+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Optional. The maximum number of results to return in each response.+    pageSize :: (Core.Maybe Core.Int32),+    -- | Optional. The page token, returned by a previous call, to request the next page of results.+    pageToken :: (Core.Maybe Core.Text),+    -- | Required. The resource name of the region or location, as described in https:\/\/cloud.google.com\/apis\/design\/resource/names. For projects.regions.workflowTemplates,list, the resource name of the region has the following format: projects\/{project/id}\/regions\/{region} For projects.locations.workflowTemplates.list, the resource name of the location has the following format: projects\/{project_id}\/locations\/{location}+    parent :: 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 'DataprocProjectsRegionsWorkflowTemplatesList' with the minimum fields required to make a request.+newDataprocProjectsRegionsWorkflowTemplatesList ::+  -- |  Required. The resource name of the region or location, as described in https:\/\/cloud.google.com\/apis\/design\/resource/names. For projects.regions.workflowTemplates,list, the resource name of the region has the following format: projects\/{project/id}\/regions\/{region} For projects.locations.workflowTemplates.list, the resource name of the location has the following format: projects\/{project_id}\/locations\/{location} See 'parent'.+  Core.Text ->+  DataprocProjectsRegionsWorkflowTemplatesList+newDataprocProjectsRegionsWorkflowTemplatesList parent =+  DataprocProjectsRegionsWorkflowTemplatesList+    { xgafv =+        Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      pageSize = Core.Nothing,+      pageToken = Core.Nothing,+      parent = parent,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance+  Core.GoogleRequest+    DataprocProjectsRegionsWorkflowTemplatesList+  where+  type+    Rs DataprocProjectsRegionsWorkflowTemplatesList =+      ListWorkflowTemplatesResponse+  type+    Scopes DataprocProjectsRegionsWorkflowTemplatesList =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsRegionsWorkflowTemplatesList {..} =+    go+      parent+      xgafv+      accessToken+      callback+      pageSize+      pageToken+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      dataprocService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy DataprocProjectsRegionsWorkflowTemplatesListResource+          )+          Core.mempty
+ gen/Gogol/Dataproc/Projects/Regions/WorkflowTemplates/SetIamPolicy.hs view
@@ -0,0 +1,128 @@+{-# 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.Dataproc.Projects.Regions.WorkflowTemplates.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/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.workflowTemplates.setIamPolicy@.+module Gogol.Dataproc.Projects.Regions.WorkflowTemplates.SetIamPolicy+  ( -- * Resource+    DataprocProjectsRegionsWorkflowTemplatesSetIamPolicyResource,++    -- ** Constructing a Request+    DataprocProjectsRegionsWorkflowTemplatesSetIamPolicy (..),+    newDataprocProjectsRegionsWorkflowTemplatesSetIamPolicy,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.regions.workflowTemplates.setIamPolicy@ method which the+-- 'DataprocProjectsRegionsWorkflowTemplatesSetIamPolicy' request conforms to.+type DataprocProjectsRegionsWorkflowTemplatesSetIamPolicyResource =+  "v1"+    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:/ 'newDataprocProjectsRegionsWorkflowTemplatesSetIamPolicy' smart constructor.+data DataprocProjectsRegionsWorkflowTemplatesSetIamPolicy = DataprocProjectsRegionsWorkflowTemplatesSetIamPolicy+  { -- | 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 Resource names (https:\/\/cloud.google.com\/apis\/design\/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 'DataprocProjectsRegionsWorkflowTemplatesSetIamPolicy' with the minimum fields required to make a request.+newDataprocProjectsRegionsWorkflowTemplatesSetIamPolicy ::+  -- |  Multipart request metadata. See 'payload'.+  SetIamPolicyRequest ->+  -- |  REQUIRED: The resource for which the policy is being specified. See Resource names (https:\/\/cloud.google.com\/apis\/design\/resource_names) for the appropriate value for this field. See 'resource'.+  Core.Text ->+  DataprocProjectsRegionsWorkflowTemplatesSetIamPolicy+newDataprocProjectsRegionsWorkflowTemplatesSetIamPolicy+  payload+  resource =+    DataprocProjectsRegionsWorkflowTemplatesSetIamPolicy+      { xgafv =+          Core.Nothing,+        accessToken = Core.Nothing,+        callback = Core.Nothing,+        payload = payload,+        resource = resource,+        uploadType = Core.Nothing,+        uploadProtocol = Core.Nothing+      }++instance+  Core.GoogleRequest+    DataprocProjectsRegionsWorkflowTemplatesSetIamPolicy+  where+  type+    Rs DataprocProjectsRegionsWorkflowTemplatesSetIamPolicy =+      Policy+  type+    Scopes DataprocProjectsRegionsWorkflowTemplatesSetIamPolicy =+      '[CloudPlatform'FullControl]+  requestClient+    DataprocProjectsRegionsWorkflowTemplatesSetIamPolicy {..} =+      go+        resource+        xgafv+        accessToken+        callback+        uploadType+        uploadProtocol+        (Core.Just Core.AltJSON)+        payload+        dataprocService+      where+        go =+          Core.buildClient+            ( Core.Proxy ::+                Core.Proxy+                  DataprocProjectsRegionsWorkflowTemplatesSetIamPolicyResource+            )+            Core.mempty
+ gen/Gogol/Dataproc/Projects/Regions/WorkflowTemplates/TestIamPermissions.hs view
@@ -0,0 +1,129 @@+{-# 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.Dataproc.Projects.Regions.WorkflowTemplates.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/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.workflowTemplates.testIamPermissions@.+module Gogol.Dataproc.Projects.Regions.WorkflowTemplates.TestIamPermissions+  ( -- * Resource+    DataprocProjectsRegionsWorkflowTemplatesTestIamPermissionsResource,++    -- ** Constructing a Request+    DataprocProjectsRegionsWorkflowTemplatesTestIamPermissions (..),+    newDataprocProjectsRegionsWorkflowTemplatesTestIamPermissions,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.regions.workflowTemplates.testIamPermissions@ method which the+-- 'DataprocProjectsRegionsWorkflowTemplatesTestIamPermissions' request conforms to.+type DataprocProjectsRegionsWorkflowTemplatesTestIamPermissionsResource =+  "v1"+    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:/ 'newDataprocProjectsRegionsWorkflowTemplatesTestIamPermissions' smart constructor.+data DataprocProjectsRegionsWorkflowTemplatesTestIamPermissions = DataprocProjectsRegionsWorkflowTemplatesTestIamPermissions+  { -- | 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 Resource names (https:\/\/cloud.google.com\/apis\/design\/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 'DataprocProjectsRegionsWorkflowTemplatesTestIamPermissions' with the minimum fields required to make a request.+newDataprocProjectsRegionsWorkflowTemplatesTestIamPermissions ::+  -- |  Multipart request metadata. See 'payload'.+  TestIamPermissionsRequest ->+  -- |  REQUIRED: The resource for which the policy detail is being requested. See Resource names (https:\/\/cloud.google.com\/apis\/design\/resource_names) for the appropriate value for this field. See 'resource'.+  Core.Text ->+  DataprocProjectsRegionsWorkflowTemplatesTestIamPermissions+newDataprocProjectsRegionsWorkflowTemplatesTestIamPermissions+  payload+  resource =+    DataprocProjectsRegionsWorkflowTemplatesTestIamPermissions+      { xgafv =+          Core.Nothing,+        accessToken = Core.Nothing,+        callback = Core.Nothing,+        payload = payload,+        resource = resource,+        uploadType = Core.Nothing,+        uploadProtocol = Core.Nothing+      }++instance+  Core.GoogleRequest+    DataprocProjectsRegionsWorkflowTemplatesTestIamPermissions+  where+  type+    Rs DataprocProjectsRegionsWorkflowTemplatesTestIamPermissions =+      TestIamPermissionsResponse+  type+    Scopes+      DataprocProjectsRegionsWorkflowTemplatesTestIamPermissions =+      '[CloudPlatform'FullControl]+  requestClient+    DataprocProjectsRegionsWorkflowTemplatesTestIamPermissions {..} =+      go+        resource+        xgafv+        accessToken+        callback+        uploadType+        uploadProtocol+        (Core.Just Core.AltJSON)+        payload+        dataprocService+      where+        go =+          Core.buildClient+            ( Core.Proxy ::+                Core.Proxy+                  DataprocProjectsRegionsWorkflowTemplatesTestIamPermissionsResource+            )+            Core.mempty
+ gen/Gogol/Dataproc/Projects/Regions/WorkflowTemplates/Update.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.Dataproc.Projects.Regions.WorkflowTemplates.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 (replaces) workflow template. The updated template must contain version that matches the current server version.+--+-- /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.workflowTemplates.update@.+module Gogol.Dataproc.Projects.Regions.WorkflowTemplates.Update+  ( -- * Resource+    DataprocProjectsRegionsWorkflowTemplatesUpdateResource,++    -- ** Constructing a Request+    DataprocProjectsRegionsWorkflowTemplatesUpdate (..),+    newDataprocProjectsRegionsWorkflowTemplatesUpdate,+  )+where++import Gogol.Dataproc.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dataproc.projects.regions.workflowTemplates.update@ method which the+-- 'DataprocProjectsRegionsWorkflowTemplatesUpdate' request conforms to.+type DataprocProjectsRegionsWorkflowTemplatesUpdateResource =+  "v1"+    Core.:> Core.Capture "name" 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] WorkflowTemplate+    Core.:> Core.Put '[Core.JSON] WorkflowTemplate++-- | Updates (replaces) workflow template. The updated template must contain version that matches the current server version.+--+-- /See:/ 'newDataprocProjectsRegionsWorkflowTemplatesUpdate' smart constructor.+data DataprocProjectsRegionsWorkflowTemplatesUpdate = DataprocProjectsRegionsWorkflowTemplatesUpdate+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Output only. The resource name of the workflow template, as described in https:\/\/cloud.google.com\/apis\/design\/resource/names. For projects.regions.workflowTemplates, the resource name of the template has the following format: projects\/{project/id}\/regions\/{region}\/workflowTemplates\/{template/id} For projects.locations.workflowTemplates, the resource name of the template has the following format: projects\/{project/id}\/locations\/{location}\/workflowTemplates\/{template_id}+    name :: Core.Text,+    -- | Multipart request metadata.+    payload :: WorkflowTemplate,+    -- | 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 'DataprocProjectsRegionsWorkflowTemplatesUpdate' with the minimum fields required to make a request.+newDataprocProjectsRegionsWorkflowTemplatesUpdate ::+  -- |  Output only. The resource name of the workflow template, as described in https:\/\/cloud.google.com\/apis\/design\/resource/names. For projects.regions.workflowTemplates, the resource name of the template has the following format: projects\/{project/id}\/regions\/{region}\/workflowTemplates\/{template/id} For projects.locations.workflowTemplates, the resource name of the template has the following format: projects\/{project/id}\/locations\/{location}\/workflowTemplates\/{template_id} See 'name'.+  Core.Text ->+  -- |  Multipart request metadata. See 'payload'.+  WorkflowTemplate ->+  DataprocProjectsRegionsWorkflowTemplatesUpdate+newDataprocProjectsRegionsWorkflowTemplatesUpdate name payload =+  DataprocProjectsRegionsWorkflowTemplatesUpdate+    { xgafv =+        Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      name = name,+      payload = payload,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance+  Core.GoogleRequest+    DataprocProjectsRegionsWorkflowTemplatesUpdate+  where+  type+    Rs DataprocProjectsRegionsWorkflowTemplatesUpdate =+      WorkflowTemplate+  type+    Scopes DataprocProjectsRegionsWorkflowTemplatesUpdate =+      '[CloudPlatform'FullControl]+  requestClient DataprocProjectsRegionsWorkflowTemplatesUpdate {..} =+    go+      name+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      payload+      dataprocService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy DataprocProjectsRegionsWorkflowTemplatesUpdateResource+          )+          Core.mempty
+ gen/Gogol/Dataproc/Types.hs view
@@ -0,0 +1,1533 @@+{-# 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.Dataproc.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.Dataproc.Types+  ( -- * Configuration+    dataprocService,++    -- * OAuth Scopes+    CloudPlatform'FullControl,++    -- * Types++    -- ** Xgafv+    Xgafv (..),++    -- ** AcceleratorConfig+    AcceleratorConfig (..),+    newAcceleratorConfig,++    -- ** AccessSessionSparkApplicationEnvironmentInfoResponse+    AccessSessionSparkApplicationEnvironmentInfoResponse (..),+    newAccessSessionSparkApplicationEnvironmentInfoResponse,++    -- ** AccessSessionSparkApplicationJobResponse+    AccessSessionSparkApplicationJobResponse (..),+    newAccessSessionSparkApplicationJobResponse,++    -- ** AccessSessionSparkApplicationResponse+    AccessSessionSparkApplicationResponse (..),+    newAccessSessionSparkApplicationResponse,++    -- ** AccessSessionSparkApplicationSqlQueryResponse+    AccessSessionSparkApplicationSqlQueryResponse (..),+    newAccessSessionSparkApplicationSqlQueryResponse,++    -- ** AccessSessionSparkApplicationSqlSparkPlanGraphResponse+    AccessSessionSparkApplicationSqlSparkPlanGraphResponse (..),+    newAccessSessionSparkApplicationSqlSparkPlanGraphResponse,++    -- ** AccessSessionSparkApplicationStageAttemptResponse+    AccessSessionSparkApplicationStageAttemptResponse (..),+    newAccessSessionSparkApplicationStageAttemptResponse,++    -- ** AccessSessionSparkApplicationStageRddOperationGraphResponse+    AccessSessionSparkApplicationStageRddOperationGraphResponse (..),+    newAccessSessionSparkApplicationStageRddOperationGraphResponse,++    -- ** AccessSparkApplicationEnvironmentInfoResponse+    AccessSparkApplicationEnvironmentInfoResponse (..),+    newAccessSparkApplicationEnvironmentInfoResponse,++    -- ** AccessSparkApplicationJobResponse+    AccessSparkApplicationJobResponse (..),+    newAccessSparkApplicationJobResponse,++    -- ** AccessSparkApplicationResponse+    AccessSparkApplicationResponse (..),+    newAccessSparkApplicationResponse,++    -- ** AccessSparkApplicationSqlQueryResponse+    AccessSparkApplicationSqlQueryResponse (..),+    newAccessSparkApplicationSqlQueryResponse,++    -- ** AccessSparkApplicationSqlSparkPlanGraphResponse+    AccessSparkApplicationSqlSparkPlanGraphResponse (..),+    newAccessSparkApplicationSqlSparkPlanGraphResponse,++    -- ** AccessSparkApplicationStageAttemptResponse+    AccessSparkApplicationStageAttemptResponse (..),+    newAccessSparkApplicationStageAttemptResponse,++    -- ** AccessSparkApplicationStageRddOperationGraphResponse+    AccessSparkApplicationStageRddOperationGraphResponse (..),+    newAccessSparkApplicationStageRddOperationGraphResponse,++    -- ** AccumulableInfo+    AccumulableInfo (..),+    newAccumulableInfo,++    -- ** AnalyzeBatchRequest+    AnalyzeBatchRequest (..),+    newAnalyzeBatchRequest,++    -- ** AnalyzeOperationMetadata+    AnalyzeOperationMetadata (..),+    newAnalyzeOperationMetadata,++    -- ** AnalyzeOperationMetadata_AnalyzedWorkloadType+    AnalyzeOperationMetadata_AnalyzedWorkloadType (..),++    -- ** AnalyzeOperationMetadata_Labels+    AnalyzeOperationMetadata_Labels (..),+    newAnalyzeOperationMetadata_Labels,++    -- ** AppSummary+    AppSummary (..),+    newAppSummary,++    -- ** ApplicationAttemptInfo+    ApplicationAttemptInfo (..),+    newApplicationAttemptInfo,++    -- ** ApplicationEnvironmentInfo+    ApplicationEnvironmentInfo (..),+    newApplicationEnvironmentInfo,++    -- ** ApplicationEnvironmentInfo_ClasspathEntries+    ApplicationEnvironmentInfo_ClasspathEntries (..),+    newApplicationEnvironmentInfo_ClasspathEntries,++    -- ** ApplicationEnvironmentInfo_HadoopProperties+    ApplicationEnvironmentInfo_HadoopProperties (..),+    newApplicationEnvironmentInfo_HadoopProperties,++    -- ** ApplicationEnvironmentInfo_MetricsProperties+    ApplicationEnvironmentInfo_MetricsProperties (..),+    newApplicationEnvironmentInfo_MetricsProperties,++    -- ** ApplicationEnvironmentInfo_SparkProperties+    ApplicationEnvironmentInfo_SparkProperties (..),+    newApplicationEnvironmentInfo_SparkProperties,++    -- ** ApplicationEnvironmentInfo_SystemProperties+    ApplicationEnvironmentInfo_SystemProperties (..),+    newApplicationEnvironmentInfo_SystemProperties,++    -- ** ApplicationInfo+    ApplicationInfo (..),+    newApplicationInfo,++    -- ** ApplicationInfo_ApplicationContextIngestionStatus+    ApplicationInfo_ApplicationContextIngestionStatus (..),++    -- ** ApplicationInfo_QuantileDataStatus+    ApplicationInfo_QuantileDataStatus (..),++    -- ** AutoscalingConfig+    AutoscalingConfig (..),+    newAutoscalingConfig,++    -- ** AutoscalingPolicy+    AutoscalingPolicy (..),+    newAutoscalingPolicy,++    -- ** AutoscalingPolicy_Labels+    AutoscalingPolicy_Labels (..),+    newAutoscalingPolicy_Labels,++    -- ** AutotuningConfig+    AutotuningConfig (..),+    newAutotuningConfig,++    -- ** AutotuningConfig_ScenariosItem+    AutotuningConfig_ScenariosItem (..),++    -- ** AuxiliaryNodeGroup+    AuxiliaryNodeGroup (..),+    newAuxiliaryNodeGroup,++    -- ** AuxiliaryServicesConfig+    AuxiliaryServicesConfig (..),+    newAuxiliaryServicesConfig,++    -- ** BasicAutoscalingAlgorithm+    BasicAutoscalingAlgorithm (..),+    newBasicAutoscalingAlgorithm,++    -- ** BasicYarnAutoscalingConfig+    BasicYarnAutoscalingConfig (..),+    newBasicYarnAutoscalingConfig,++    -- ** Batch+    Batch (..),+    newBatch,++    -- ** Batch_Labels+    Batch_Labels (..),+    newBatch_Labels,++    -- ** Batch_State+    Batch_State (..),++    -- ** BatchOperationMetadata+    BatchOperationMetadata (..),+    newBatchOperationMetadata,++    -- ** BatchOperationMetadata_Labels+    BatchOperationMetadata_Labels (..),+    newBatchOperationMetadata_Labels,++    -- ** BatchOperationMetadata_OperationType+    BatchOperationMetadata_OperationType (..),++    -- ** Binding+    Binding (..),+    newBinding,++    -- ** BuildInfo+    BuildInfo (..),+    newBuildInfo,++    -- ** CancelJobRequest+    CancelJobRequest (..),+    newCancelJobRequest,++    -- ** Cluster+    Cluster (..),+    newCluster,++    -- ** Cluster_Labels+    Cluster_Labels (..),+    newCluster_Labels,++    -- ** ClusterConfig+    ClusterConfig (..),+    newClusterConfig,++    -- ** ClusterMetrics+    ClusterMetrics (..),+    newClusterMetrics,++    -- ** ClusterMetrics_HdfsMetrics+    ClusterMetrics_HdfsMetrics (..),+    newClusterMetrics_HdfsMetrics,++    -- ** ClusterMetrics_YarnMetrics+    ClusterMetrics_YarnMetrics (..),+    newClusterMetrics_YarnMetrics,++    -- ** ClusterOperation+    ClusterOperation (..),+    newClusterOperation,++    -- ** ClusterOperationMetadata+    ClusterOperationMetadata (..),+    newClusterOperationMetadata,++    -- ** ClusterOperationMetadata_Labels+    ClusterOperationMetadata_Labels (..),+    newClusterOperationMetadata_Labels,++    -- ** ClusterOperationStatus+    ClusterOperationStatus (..),+    newClusterOperationStatus,++    -- ** ClusterOperationStatus_State+    ClusterOperationStatus_State (..),++    -- ** ClusterSelector+    ClusterSelector (..),+    newClusterSelector,++    -- ** ClusterSelector_ClusterLabels+    ClusterSelector_ClusterLabels (..),+    newClusterSelector_ClusterLabels,++    -- ** ClusterStatus+    ClusterStatus (..),+    newClusterStatus,++    -- ** ClusterStatus_State+    ClusterStatus_State (..),++    -- ** ClusterStatus_Substate+    ClusterStatus_Substate (..),++    -- ** ClusterToRepair+    ClusterToRepair (..),+    newClusterToRepair,++    -- ** ClusterToRepair_ClusterRepairAction+    ClusterToRepair_ClusterRepairAction (..),++    -- ** ConfidentialInstanceConfig+    ConfidentialInstanceConfig (..),+    newConfidentialInstanceConfig,++    -- ** ConsolidatedExecutorSummary+    ConsolidatedExecutorSummary (..),+    newConsolidatedExecutorSummary,++    -- ** DataprocMetricConfig+    DataprocMetricConfig (..),+    newDataprocMetricConfig,++    -- ** DiagnoseClusterRequest+    DiagnoseClusterRequest (..),+    newDiagnoseClusterRequest,++    -- ** DiagnoseClusterRequest_TarballAccess+    DiagnoseClusterRequest_TarballAccess (..),++    -- ** DiagnoseClusterResults+    DiagnoseClusterResults (..),+    newDiagnoseClusterResults,++    -- ** DiskConfig+    DiskConfig (..),+    newDiskConfig,++    -- ** DriverSchedulingConfig+    DriverSchedulingConfig (..),+    newDriverSchedulingConfig,++    -- ** Empty+    Empty (..),+    newEmpty,++    -- ** EncryptionConfig+    EncryptionConfig (..),+    newEncryptionConfig,++    -- ** EndpointConfig+    EndpointConfig (..),+    newEndpointConfig,++    -- ** EndpointConfig_HttpPorts+    EndpointConfig_HttpPorts (..),+    newEndpointConfig_HttpPorts,++    -- ** EnvironmentConfig+    EnvironmentConfig (..),+    newEnvironmentConfig,++    -- ** ExecutionConfig+    ExecutionConfig (..),+    newExecutionConfig,++    -- ** ExecutorMetrics+    ExecutorMetrics (..),+    newExecutorMetrics,++    -- ** ExecutorMetrics_Metrics+    ExecutorMetrics_Metrics (..),+    newExecutorMetrics_Metrics,++    -- ** ExecutorMetricsDistributions+    ExecutorMetricsDistributions (..),+    newExecutorMetricsDistributions,++    -- ** ExecutorPeakMetricsDistributions+    ExecutorPeakMetricsDistributions (..),+    newExecutorPeakMetricsDistributions,++    -- ** ExecutorResourceRequest+    ExecutorResourceRequest (..),+    newExecutorResourceRequest,++    -- ** ExecutorStageSummary+    ExecutorStageSummary (..),+    newExecutorStageSummary,++    -- ** ExecutorSummary+    ExecutorSummary (..),+    newExecutorSummary,++    -- ** ExecutorSummary_Attributes+    ExecutorSummary_Attributes (..),+    newExecutorSummary_Attributes,++    -- ** ExecutorSummary_ExecutorLogs+    ExecutorSummary_ExecutorLogs (..),+    newExecutorSummary_ExecutorLogs,++    -- ** ExecutorSummary_Resources+    ExecutorSummary_Resources (..),+    newExecutorSummary_Resources,++    -- ** Expr+    Expr (..),+    newExpr,++    -- ** FallbackReason+    FallbackReason (..),+    newFallbackReason,++    -- ** FlinkJob+    FlinkJob (..),+    newFlinkJob,++    -- ** FlinkJob_Properties+    FlinkJob_Properties (..),+    newFlinkJob_Properties,++    -- ** GceClusterConfig+    GceClusterConfig (..),+    newGceClusterConfig,++    -- ** GceClusterConfig_Metadata+    GceClusterConfig_Metadata (..),+    newGceClusterConfig_Metadata,++    -- ** GceClusterConfig_PrivateIpv6GoogleAccess+    GceClusterConfig_PrivateIpv6GoogleAccess (..),++    -- ** GceClusterConfig_ResourceManagerTags+    GceClusterConfig_ResourceManagerTags (..),+    newGceClusterConfig_ResourceManagerTags,++    -- ** GetIamPolicyRequest+    GetIamPolicyRequest (..),+    newGetIamPolicyRequest,++    -- ** GetPolicyOptions+    GetPolicyOptions (..),+    newGetPolicyOptions,++    -- ** GkeClusterConfig+    GkeClusterConfig (..),+    newGkeClusterConfig,++    -- ** GkeNodeConfig+    GkeNodeConfig (..),+    newGkeNodeConfig,++    -- ** GkeNodePoolAcceleratorConfig+    GkeNodePoolAcceleratorConfig (..),+    newGkeNodePoolAcceleratorConfig,++    -- ** GkeNodePoolAutoscalingConfig+    GkeNodePoolAutoscalingConfig (..),+    newGkeNodePoolAutoscalingConfig,++    -- ** GkeNodePoolConfig+    GkeNodePoolConfig (..),+    newGkeNodePoolConfig,++    -- ** GkeNodePoolTarget+    GkeNodePoolTarget (..),+    newGkeNodePoolTarget,++    -- ** GkeNodePoolTarget_RolesItem+    GkeNodePoolTarget_RolesItem (..),++    -- ** GoogleCloudDataprocV1WorkflowTemplateEncryptionConfig+    GoogleCloudDataprocV1WorkflowTemplateEncryptionConfig (..),+    newGoogleCloudDataprocV1WorkflowTemplateEncryptionConfig,++    -- ** HadoopJob+    HadoopJob (..),+    newHadoopJob,++    -- ** HadoopJob_Properties+    HadoopJob_Properties (..),+    newHadoopJob_Properties,++    -- ** HiveJob+    HiveJob (..),+    newHiveJob,++    -- ** HiveJob_Properties+    HiveJob_Properties (..),+    newHiveJob_Properties,++    -- ** HiveJob_ScriptVariables+    HiveJob_ScriptVariables (..),+    newHiveJob_ScriptVariables,++    -- ** IdentityConfig+    IdentityConfig (..),+    newIdentityConfig,++    -- ** IdentityConfig_UserServiceAccountMapping+    IdentityConfig_UserServiceAccountMapping (..),+    newIdentityConfig_UserServiceAccountMapping,++    -- ** InjectCredentialsRequest+    InjectCredentialsRequest (..),+    newInjectCredentialsRequest,++    -- ** InputMetrics+    InputMetrics (..),+    newInputMetrics,++    -- ** InputQuantileMetrics+    InputQuantileMetrics (..),+    newInputQuantileMetrics,++    -- ** InstanceFlexibilityPolicy+    InstanceFlexibilityPolicy (..),+    newInstanceFlexibilityPolicy,++    -- ** InstanceGroupAutoscalingPolicyConfig+    InstanceGroupAutoscalingPolicyConfig (..),+    newInstanceGroupAutoscalingPolicyConfig,++    -- ** InstanceGroupConfig+    InstanceGroupConfig (..),+    newInstanceGroupConfig,++    -- ** InstanceGroupConfig_Preemptibility+    InstanceGroupConfig_Preemptibility (..),++    -- ** InstanceReference+    InstanceReference (..),+    newInstanceReference,++    -- ** InstanceSelection+    InstanceSelection (..),+    newInstanceSelection,++    -- ** InstanceSelectionResult+    InstanceSelectionResult (..),+    newInstanceSelectionResult,++    -- ** InstantiateWorkflowTemplateRequest+    InstantiateWorkflowTemplateRequest (..),+    newInstantiateWorkflowTemplateRequest,++    -- ** InstantiateWorkflowTemplateRequest_Parameters+    InstantiateWorkflowTemplateRequest_Parameters (..),+    newInstantiateWorkflowTemplateRequest_Parameters,++    -- ** Interval+    Interval (..),+    newInterval,++    -- ** Job+    Job (..),+    newJob,++    -- ** Job_Labels+    Job_Labels (..),+    newJob_Labels,++    -- ** JobData+    JobData (..),+    newJobData,++    -- ** JobData_KillTasksSummary+    JobData_KillTasksSummary (..),+    newJobData_KillTasksSummary,++    -- ** JobData_Status+    JobData_Status (..),++    -- ** JobMetadata+    JobMetadata (..),+    newJobMetadata,++    -- ** JobPlacement+    JobPlacement (..),+    newJobPlacement,++    -- ** JobPlacement_ClusterLabels+    JobPlacement_ClusterLabels (..),+    newJobPlacement_ClusterLabels,++    -- ** JobReference+    JobReference (..),+    newJobReference,++    -- ** JobScheduling+    JobScheduling (..),+    newJobScheduling,++    -- ** JobStatus+    JobStatus (..),+    newJobStatus,++    -- ** JobStatus_State+    JobStatus_State (..),++    -- ** JobStatus_Substate+    JobStatus_Substate (..),++    -- ** JobsSummary+    JobsSummary (..),+    newJobsSummary,++    -- ** JupyterConfig+    JupyterConfig (..),+    newJupyterConfig,++    -- ** JupyterConfig_Kernel+    JupyterConfig_Kernel (..),++    -- ** KerberosConfig+    KerberosConfig (..),+    newKerberosConfig,++    -- ** KubernetesClusterConfig+    KubernetesClusterConfig (..),+    newKubernetesClusterConfig,++    -- ** KubernetesSoftwareConfig+    KubernetesSoftwareConfig (..),+    newKubernetesSoftwareConfig,++    -- ** KubernetesSoftwareConfig_ComponentVersion+    KubernetesSoftwareConfig_ComponentVersion (..),+    newKubernetesSoftwareConfig_ComponentVersion,++    -- ** KubernetesSoftwareConfig_Properties+    KubernetesSoftwareConfig_Properties (..),+    newKubernetesSoftwareConfig_Properties,++    -- ** LifecycleConfig+    LifecycleConfig (..),+    newLifecycleConfig,++    -- ** ListAutoscalingPoliciesResponse+    ListAutoscalingPoliciesResponse (..),+    newListAutoscalingPoliciesResponse,++    -- ** ListBatchesResponse+    ListBatchesResponse (..),+    newListBatchesResponse,++    -- ** ListClustersResponse+    ListClustersResponse (..),+    newListClustersResponse,++    -- ** ListJobsResponse+    ListJobsResponse (..),+    newListJobsResponse,++    -- ** ListOperationsResponse+    ListOperationsResponse (..),+    newListOperationsResponse,++    -- ** ListSessionTemplatesResponse+    ListSessionTemplatesResponse (..),+    newListSessionTemplatesResponse,++    -- ** ListSessionsResponse+    ListSessionsResponse (..),+    newListSessionsResponse,++    -- ** ListWorkflowTemplatesResponse+    ListWorkflowTemplatesResponse (..),+    newListWorkflowTemplatesResponse,++    -- ** LoggingConfig+    LoggingConfig (..),+    newLoggingConfig,++    -- ** LoggingConfig_DriverLogLevels+    LoggingConfig_DriverLogLevels (..),+    newLoggingConfig_DriverLogLevels,++    -- ** LoggingConfig_DriverLogLevelsAdditional+    LoggingConfig_DriverLogLevelsAdditional (..),++    -- ** ManagedCluster+    ManagedCluster (..),+    newManagedCluster,++    -- ** ManagedCluster_Labels+    ManagedCluster_Labels (..),+    newManagedCluster_Labels,++    -- ** ManagedGroupConfig+    ManagedGroupConfig (..),+    newManagedGroupConfig,++    -- ** MemoryMetrics+    MemoryMetrics (..),+    newMemoryMetrics,++    -- ** MetastoreConfig+    MetastoreConfig (..),+    newMetastoreConfig,++    -- ** Metric+    Metric (..),+    newMetric,++    -- ** Metric_MetricSource+    Metric_MetricSource (..),++    -- ** NamespacedGkeDeploymentTarget+    NamespacedGkeDeploymentTarget (..),+    newNamespacedGkeDeploymentTarget,++    -- ** NativeBuildInfoUiData+    NativeBuildInfoUiData (..),+    newNativeBuildInfoUiData,++    -- ** NativeSqlExecutionUiData+    NativeSqlExecutionUiData (..),+    newNativeSqlExecutionUiData,++    -- ** NodeGroup+    NodeGroup (..),+    newNodeGroup,++    -- ** NodeGroup_Labels+    NodeGroup_Labels (..),+    newNodeGroup_Labels,++    -- ** NodeGroup_RolesItem+    NodeGroup_RolesItem (..),++    -- ** NodeGroupAffinity+    NodeGroupAffinity (..),+    newNodeGroupAffinity,++    -- ** NodeGroupOperationMetadata+    NodeGroupOperationMetadata (..),+    newNodeGroupOperationMetadata,++    -- ** NodeGroupOperationMetadata_Labels+    NodeGroupOperationMetadata_Labels (..),+    newNodeGroupOperationMetadata_Labels,++    -- ** NodeGroupOperationMetadata_OperationType+    NodeGroupOperationMetadata_OperationType (..),++    -- ** NodeInitializationAction+    NodeInitializationAction (..),+    newNodeInitializationAction,++    -- ** NodePool+    NodePool (..),+    newNodePool,++    -- ** NodePool_RepairAction+    NodePool_RepairAction (..),++    -- ** Operation+    Operation (..),+    newOperation,++    -- ** Operation_Metadata+    Operation_Metadata (..),+    newOperation_Metadata,++    -- ** Operation_Response+    Operation_Response (..),+    newOperation_Response,++    -- ** OrderedJob+    OrderedJob (..),+    newOrderedJob,++    -- ** OrderedJob_Labels+    OrderedJob_Labels (..),+    newOrderedJob_Labels,++    -- ** OutputMetrics+    OutputMetrics (..),+    newOutputMetrics,++    -- ** OutputQuantileMetrics+    OutputQuantileMetrics (..),+    newOutputQuantileMetrics,++    -- ** ParameterValidation+    ParameterValidation (..),+    newParameterValidation,++    -- ** PeripheralsConfig+    PeripheralsConfig (..),+    newPeripheralsConfig,++    -- ** PigJob+    PigJob (..),+    newPigJob,++    -- ** PigJob_Properties+    PigJob_Properties (..),+    newPigJob_Properties,++    -- ** PigJob_ScriptVariables+    PigJob_ScriptVariables (..),+    newPigJob_ScriptVariables,++    -- ** Policy+    Policy (..),+    newPolicy,++    -- ** PoolData+    PoolData (..),+    newPoolData,++    -- ** PrestoJob+    PrestoJob (..),+    newPrestoJob,++    -- ** PrestoJob_Properties+    PrestoJob_Properties (..),+    newPrestoJob_Properties,++    -- ** ProcessSummary+    ProcessSummary (..),+    newProcessSummary,++    -- ** ProcessSummary_ProcessLogs+    ProcessSummary_ProcessLogs (..),+    newProcessSummary_ProcessLogs,++    -- ** ProvisioningModelMix+    ProvisioningModelMix (..),+    newProvisioningModelMix,++    -- ** PyPiRepositoryConfig+    PyPiRepositoryConfig (..),+    newPyPiRepositoryConfig,++    -- ** PySparkBatch+    PySparkBatch (..),+    newPySparkBatch,++    -- ** PySparkJob+    PySparkJob (..),+    newPySparkJob,++    -- ** PySparkJob_Properties+    PySparkJob_Properties (..),+    newPySparkJob_Properties,++    -- ** Quantiles+    Quantiles (..),+    newQuantiles,++    -- ** QueryList+    QueryList (..),+    newQueryList,++    -- ** RddDataDistribution+    RddDataDistribution (..),+    newRddDataDistribution,++    -- ** RddOperationCluster+    RddOperationCluster (..),+    newRddOperationCluster,++    -- ** RddOperationEdge+    RddOperationEdge (..),+    newRddOperationEdge,++    -- ** RddOperationGraph+    RddOperationGraph (..),+    newRddOperationGraph,++    -- ** RddOperationNode+    RddOperationNode (..),+    newRddOperationNode,++    -- ** RddOperationNode_OutputDeterministicLevel+    RddOperationNode_OutputDeterministicLevel (..),++    -- ** RddPartitionInfo+    RddPartitionInfo (..),+    newRddPartitionInfo,++    -- ** RddStorageInfo+    RddStorageInfo (..),+    newRddStorageInfo,++    -- ** RegexValidation+    RegexValidation (..),+    newRegexValidation,++    -- ** RepairClusterRequest+    RepairClusterRequest (..),+    newRepairClusterRequest,++    -- ** RepairNodeGroupRequest+    RepairNodeGroupRequest (..),+    newRepairNodeGroupRequest,++    -- ** RepairNodeGroupRequest_RepairAction+    RepairNodeGroupRequest_RepairAction (..),++    -- ** RepositoryConfig+    RepositoryConfig (..),+    newRepositoryConfig,++    -- ** ReservationAffinity+    ReservationAffinity (..),+    newReservationAffinity,++    -- ** ReservationAffinity_ConsumeReservationType+    ReservationAffinity_ConsumeReservationType (..),++    -- ** ResizeNodeGroupRequest+    ResizeNodeGroupRequest (..),+    newResizeNodeGroupRequest,++    -- ** ResourceInformation+    ResourceInformation (..),+    newResourceInformation,++    -- ** ResourceProfileInfo+    ResourceProfileInfo (..),+    newResourceProfileInfo,++    -- ** ResourceProfileInfo_ExecutorResources+    ResourceProfileInfo_ExecutorResources (..),+    newResourceProfileInfo_ExecutorResources,++    -- ** ResourceProfileInfo_TaskResources+    ResourceProfileInfo_TaskResources (..),+    newResourceProfileInfo_TaskResources,++    -- ** RuntimeConfig+    RuntimeConfig (..),+    newRuntimeConfig,++    -- ** RuntimeConfig_Properties+    RuntimeConfig_Properties (..),+    newRuntimeConfig_Properties,++    -- ** RuntimeInfo+    RuntimeInfo (..),+    newRuntimeInfo,++    -- ** RuntimeInfo_Endpoints+    RuntimeInfo_Endpoints (..),+    newRuntimeInfo_Endpoints,++    -- ** SearchSessionSparkApplicationExecutorStageSummaryResponse+    SearchSessionSparkApplicationExecutorStageSummaryResponse (..),+    newSearchSessionSparkApplicationExecutorStageSummaryResponse,++    -- ** SearchSessionSparkApplicationExecutorsResponse+    SearchSessionSparkApplicationExecutorsResponse (..),+    newSearchSessionSparkApplicationExecutorsResponse,++    -- ** SearchSessionSparkApplicationJobsResponse+    SearchSessionSparkApplicationJobsResponse (..),+    newSearchSessionSparkApplicationJobsResponse,++    -- ** SearchSessionSparkApplicationSqlQueriesResponse+    SearchSessionSparkApplicationSqlQueriesResponse (..),+    newSearchSessionSparkApplicationSqlQueriesResponse,++    -- ** SearchSessionSparkApplicationStageAttemptTasksResponse+    SearchSessionSparkApplicationStageAttemptTasksResponse (..),+    newSearchSessionSparkApplicationStageAttemptTasksResponse,++    -- ** SearchSessionSparkApplicationStageAttemptsResponse+    SearchSessionSparkApplicationStageAttemptsResponse (..),+    newSearchSessionSparkApplicationStageAttemptsResponse,++    -- ** SearchSessionSparkApplicationStagesResponse+    SearchSessionSparkApplicationStagesResponse (..),+    newSearchSessionSparkApplicationStagesResponse,++    -- ** SearchSessionSparkApplicationsResponse+    SearchSessionSparkApplicationsResponse (..),+    newSearchSessionSparkApplicationsResponse,++    -- ** SearchSparkApplicationExecutorStageSummaryResponse+    SearchSparkApplicationExecutorStageSummaryResponse (..),+    newSearchSparkApplicationExecutorStageSummaryResponse,++    -- ** SearchSparkApplicationExecutorsResponse+    SearchSparkApplicationExecutorsResponse (..),+    newSearchSparkApplicationExecutorsResponse,++    -- ** SearchSparkApplicationJobsResponse+    SearchSparkApplicationJobsResponse (..),+    newSearchSparkApplicationJobsResponse,++    -- ** SearchSparkApplicationSqlQueriesResponse+    SearchSparkApplicationSqlQueriesResponse (..),+    newSearchSparkApplicationSqlQueriesResponse,++    -- ** SearchSparkApplicationStageAttemptTasksResponse+    SearchSparkApplicationStageAttemptTasksResponse (..),+    newSearchSparkApplicationStageAttemptTasksResponse,++    -- ** SearchSparkApplicationStageAttemptsResponse+    SearchSparkApplicationStageAttemptsResponse (..),+    newSearchSparkApplicationStageAttemptsResponse,++    -- ** SearchSparkApplicationStagesResponse+    SearchSparkApplicationStagesResponse (..),+    newSearchSparkApplicationStagesResponse,++    -- ** SearchSparkApplicationsResponse+    SearchSparkApplicationsResponse (..),+    newSearchSparkApplicationsResponse,++    -- ** SecurityConfig+    SecurityConfig (..),+    newSecurityConfig,++    -- ** Session+    Session (..),+    newSession,++    -- ** Session_Labels+    Session_Labels (..),+    newSession_Labels,++    -- ** Session_State+    Session_State (..),++    -- ** SessionOperationMetadata+    SessionOperationMetadata (..),+    newSessionOperationMetadata,++    -- ** SessionOperationMetadata_Labels+    SessionOperationMetadata_Labels (..),+    newSessionOperationMetadata_Labels,++    -- ** SessionOperationMetadata_OperationType+    SessionOperationMetadata_OperationType (..),++    -- ** SessionStateHistory+    SessionStateHistory (..),+    newSessionStateHistory,++    -- ** SessionStateHistory_State+    SessionStateHistory_State (..),++    -- ** SessionTemplate+    SessionTemplate (..),+    newSessionTemplate,++    -- ** SessionTemplate_Labels+    SessionTemplate_Labels (..),+    newSessionTemplate_Labels,++    -- ** SetIamPolicyRequest+    SetIamPolicyRequest (..),+    newSetIamPolicyRequest,++    -- ** ShieldedInstanceConfig+    ShieldedInstanceConfig (..),+    newShieldedInstanceConfig,++    -- ** ShufflePushReadMetrics+    ShufflePushReadMetrics (..),+    newShufflePushReadMetrics,++    -- ** ShufflePushReadQuantileMetrics+    ShufflePushReadQuantileMetrics (..),+    newShufflePushReadQuantileMetrics,++    -- ** ShuffleReadMetrics+    ShuffleReadMetrics (..),+    newShuffleReadMetrics,++    -- ** ShuffleReadQuantileMetrics+    ShuffleReadQuantileMetrics (..),+    newShuffleReadQuantileMetrics,++    -- ** ShuffleWriteMetrics+    ShuffleWriteMetrics (..),+    newShuffleWriteMetrics,++    -- ** ShuffleWriteQuantileMetrics+    ShuffleWriteQuantileMetrics (..),+    newShuffleWriteQuantileMetrics,++    -- ** SinkProgress+    SinkProgress (..),+    newSinkProgress,++    -- ** SinkProgress_Metrics+    SinkProgress_Metrics (..),+    newSinkProgress_Metrics,++    -- ** SoftwareConfig+    SoftwareConfig (..),+    newSoftwareConfig,++    -- ** SoftwareConfig_OptionalComponentsItem+    SoftwareConfig_OptionalComponentsItem (..),++    -- ** SoftwareConfig_Properties+    SoftwareConfig_Properties (..),+    newSoftwareConfig_Properties,++    -- ** SourceProgress+    SourceProgress (..),+    newSourceProgress,++    -- ** SourceProgress_Metrics+    SourceProgress_Metrics (..),+    newSourceProgress_Metrics,++    -- ** SparkApplication+    SparkApplication (..),+    newSparkApplication,++    -- ** SparkBatch+    SparkBatch (..),+    newSparkBatch,++    -- ** SparkConnectConfig+    SparkConnectConfig (..),+    newSparkConnectConfig,++    -- ** SparkHistoryServerConfig+    SparkHistoryServerConfig (..),+    newSparkHistoryServerConfig,++    -- ** SparkJob+    SparkJob (..),+    newSparkJob,++    -- ** SparkJob_Properties+    SparkJob_Properties (..),+    newSparkJob_Properties,++    -- ** SparkPlanGraph+    SparkPlanGraph (..),+    newSparkPlanGraph,++    -- ** SparkPlanGraphCluster+    SparkPlanGraphCluster (..),+    newSparkPlanGraphCluster,++    -- ** SparkPlanGraphEdge+    SparkPlanGraphEdge (..),+    newSparkPlanGraphEdge,++    -- ** SparkPlanGraphNode+    SparkPlanGraphNode (..),+    newSparkPlanGraphNode,++    -- ** SparkPlanGraphNodeWrapper+    SparkPlanGraphNodeWrapper (..),+    newSparkPlanGraphNodeWrapper,++    -- ** SparkRBatch+    SparkRBatch (..),+    newSparkRBatch,++    -- ** SparkRJob+    SparkRJob (..),+    newSparkRJob,++    -- ** SparkRJob_Properties+    SparkRJob_Properties (..),+    newSparkRJob_Properties,++    -- ** SparkRuntimeInfo+    SparkRuntimeInfo (..),+    newSparkRuntimeInfo,++    -- ** SparkSqlBatch+    SparkSqlBatch (..),+    newSparkSqlBatch,++    -- ** SparkSqlBatch_QueryVariables+    SparkSqlBatch_QueryVariables (..),+    newSparkSqlBatch_QueryVariables,++    -- ** SparkSqlJob+    SparkSqlJob (..),+    newSparkSqlJob,++    -- ** SparkSqlJob_Properties+    SparkSqlJob_Properties (..),+    newSparkSqlJob_Properties,++    -- ** SparkSqlJob_ScriptVariables+    SparkSqlJob_ScriptVariables (..),+    newSparkSqlJob_ScriptVariables,++    -- ** SparkStandaloneAutoscalingConfig+    SparkStandaloneAutoscalingConfig (..),+    newSparkStandaloneAutoscalingConfig,++    -- ** SparkWrapperObject+    SparkWrapperObject (..),+    newSparkWrapperObject,++    -- ** SpeculationStageSummary+    SpeculationStageSummary (..),+    newSpeculationStageSummary,++    -- ** SqlExecutionUiData+    SqlExecutionUiData (..),+    newSqlExecutionUiData,++    -- ** SqlExecutionUiData_Jobs+    SqlExecutionUiData_Jobs (..),+    newSqlExecutionUiData_Jobs,++    -- ** SqlExecutionUiData_JobsAdditional+    SqlExecutionUiData_JobsAdditional (..),++    -- ** SqlExecutionUiData_MetricValues+    SqlExecutionUiData_MetricValues (..),+    newSqlExecutionUiData_MetricValues,++    -- ** SqlExecutionUiData_ModifiedConfigs+    SqlExecutionUiData_ModifiedConfigs (..),+    newSqlExecutionUiData_ModifiedConfigs,++    -- ** SqlPlanMetric+    SqlPlanMetric (..),+    newSqlPlanMetric,++    -- ** StageAttemptTasksSummary+    StageAttemptTasksSummary (..),+    newStageAttemptTasksSummary,++    -- ** StageData+    StageData (..),+    newStageData,++    -- ** StageData_ExecutorSummary+    StageData_ExecutorSummary (..),+    newStageData_ExecutorSummary,++    -- ** StageData_KilledTasksSummary+    StageData_KilledTasksSummary (..),+    newStageData_KilledTasksSummary,++    -- ** StageData_Locality+    StageData_Locality (..),+    newStageData_Locality,++    -- ** StageData_Status+    StageData_Status (..),++    -- ** StageData_Tasks+    StageData_Tasks (..),+    newStageData_Tasks,++    -- ** StageInputMetrics+    StageInputMetrics (..),+    newStageInputMetrics,++    -- ** StageMetrics+    StageMetrics (..),+    newStageMetrics,++    -- ** StageOutputMetrics+    StageOutputMetrics (..),+    newStageOutputMetrics,++    -- ** StageShufflePushReadMetrics+    StageShufflePushReadMetrics (..),+    newStageShufflePushReadMetrics,++    -- ** StageShuffleReadMetrics+    StageShuffleReadMetrics (..),+    newStageShuffleReadMetrics,++    -- ** StageShuffleWriteMetrics+    StageShuffleWriteMetrics (..),+    newStageShuffleWriteMetrics,++    -- ** StagesSummary+    StagesSummary (..),+    newStagesSummary,++    -- ** StartClusterRequest+    StartClusterRequest (..),+    newStartClusterRequest,++    -- ** StartupConfig+    StartupConfig (..),+    newStartupConfig,++    -- ** StateHistory+    StateHistory (..),+    newStateHistory,++    -- ** StateHistory_State+    StateHistory_State (..),++    -- ** StateOperatorProgress+    StateOperatorProgress (..),+    newStateOperatorProgress,++    -- ** StateOperatorProgress_CustomMetrics+    StateOperatorProgress_CustomMetrics (..),+    newStateOperatorProgress_CustomMetrics,++    -- ** Status+    Status (..),+    newStatus,++    -- ** Status_DetailsItem+    Status_DetailsItem (..),+    newStatus_DetailsItem,++    -- ** StopClusterRequest+    StopClusterRequest (..),+    newStopClusterRequest,++    -- ** StreamBlockData+    StreamBlockData (..),+    newStreamBlockData,++    -- ** StreamingQueryData+    StreamingQueryData (..),+    newStreamingQueryData,++    -- ** StreamingQueryProgress+    StreamingQueryProgress (..),+    newStreamingQueryProgress,++    -- ** StreamingQueryProgress_DurationMillis+    StreamingQueryProgress_DurationMillis (..),+    newStreamingQueryProgress_DurationMillis,++    -- ** StreamingQueryProgress_EventTime+    StreamingQueryProgress_EventTime (..),+    newStreamingQueryProgress_EventTime,++    -- ** StreamingQueryProgress_ObservedMetrics+    StreamingQueryProgress_ObservedMetrics (..),+    newStreamingQueryProgress_ObservedMetrics,++    -- ** SubmitJobRequest+    SubmitJobRequest (..),+    newSubmitJobRequest,++    -- ** SummarizeSessionSparkApplicationExecutorsResponse+    SummarizeSessionSparkApplicationExecutorsResponse (..),+    newSummarizeSessionSparkApplicationExecutorsResponse,++    -- ** SummarizeSessionSparkApplicationJobsResponse+    SummarizeSessionSparkApplicationJobsResponse (..),+    newSummarizeSessionSparkApplicationJobsResponse,++    -- ** SummarizeSessionSparkApplicationStageAttemptTasksResponse+    SummarizeSessionSparkApplicationStageAttemptTasksResponse (..),+    newSummarizeSessionSparkApplicationStageAttemptTasksResponse,++    -- ** SummarizeSessionSparkApplicationStagesResponse+    SummarizeSessionSparkApplicationStagesResponse (..),+    newSummarizeSessionSparkApplicationStagesResponse,++    -- ** SummarizeSparkApplicationExecutorsResponse+    SummarizeSparkApplicationExecutorsResponse (..),+    newSummarizeSparkApplicationExecutorsResponse,++    -- ** SummarizeSparkApplicationJobsResponse+    SummarizeSparkApplicationJobsResponse (..),+    newSummarizeSparkApplicationJobsResponse,++    -- ** SummarizeSparkApplicationStageAttemptTasksResponse+    SummarizeSparkApplicationStageAttemptTasksResponse (..),+    newSummarizeSparkApplicationStageAttemptTasksResponse,++    -- ** SummarizeSparkApplicationStagesResponse+    SummarizeSparkApplicationStagesResponse (..),+    newSummarizeSparkApplicationStagesResponse,++    -- ** TaskData+    TaskData (..),+    newTaskData,++    -- ** TaskData_ExecutorLogs+    TaskData_ExecutorLogs (..),+    newTaskData_ExecutorLogs,++    -- ** TaskMetrics+    TaskMetrics (..),+    newTaskMetrics,++    -- ** TaskQuantileMetrics+    TaskQuantileMetrics (..),+    newTaskQuantileMetrics,++    -- ** TaskResourceRequest+    TaskResourceRequest (..),+    newTaskResourceRequest,++    -- ** TemplateParameter+    TemplateParameter (..),+    newTemplateParameter,++    -- ** TerminateSessionRequest+    TerminateSessionRequest (..),+    newTerminateSessionRequest,++    -- ** TestIamPermissionsRequest+    TestIamPermissionsRequest (..),+    newTestIamPermissionsRequest,++    -- ** TestIamPermissionsResponse+    TestIamPermissionsResponse (..),+    newTestIamPermissionsResponse,++    -- ** TrinoJob+    TrinoJob (..),+    newTrinoJob,++    -- ** TrinoJob_Properties+    TrinoJob_Properties (..),+    newTrinoJob_Properties,++    -- ** UsageMetrics+    UsageMetrics (..),+    newUsageMetrics,++    -- ** UsageSnapshot+    UsageSnapshot (..),+    newUsageSnapshot,++    -- ** ValueValidation+    ValueValidation (..),+    newValueValidation,++    -- ** VirtualClusterConfig+    VirtualClusterConfig (..),+    newVirtualClusterConfig,++    -- ** WorkflowGraph+    WorkflowGraph (..),+    newWorkflowGraph,++    -- ** WorkflowMetadata+    WorkflowMetadata (..),+    newWorkflowMetadata,++    -- ** WorkflowMetadata_Parameters+    WorkflowMetadata_Parameters (..),+    newWorkflowMetadata_Parameters,++    -- ** WorkflowMetadata_State+    WorkflowMetadata_State (..),++    -- ** WorkflowNode+    WorkflowNode (..),+    newWorkflowNode,++    -- ** WorkflowNode_State+    WorkflowNode_State (..),++    -- ** WorkflowTemplate+    WorkflowTemplate (..),+    newWorkflowTemplate,++    -- ** WorkflowTemplate_Labels+    WorkflowTemplate_Labels (..),+    newWorkflowTemplate_Labels,++    -- ** WorkflowTemplatePlacement+    WorkflowTemplatePlacement (..),+    newWorkflowTemplatePlacement,++    -- ** WriteSessionSparkApplicationContextRequest+    WriteSessionSparkApplicationContextRequest (..),+    newWriteSessionSparkApplicationContextRequest,++    -- ** WriteSessionSparkApplicationContextResponse+    WriteSessionSparkApplicationContextResponse (..),+    newWriteSessionSparkApplicationContextResponse,++    -- ** WriteSparkApplicationContextRequest+    WriteSparkApplicationContextRequest (..),+    newWriteSparkApplicationContextRequest,++    -- ** WriteSparkApplicationContextResponse+    WriteSparkApplicationContextResponse (..),+    newWriteSparkApplicationContextResponse,++    -- ** YarnApplication+    YarnApplication (..),+    newYarnApplication,++    -- ** YarnApplication_State+    YarnApplication_State (..),++    -- ** ProjectsLocationsBatchesSparkApplicationsSearchApplicationStatus+    ProjectsLocationsBatchesSparkApplicationsSearchApplicationStatus (..),++    -- ** ProjectsLocationsBatchesSparkApplicationsSearchExecutorsExecutorStatus+    ProjectsLocationsBatchesSparkApplicationsSearchExecutorsExecutorStatus (..),++    -- ** ProjectsLocationsBatchesSparkApplicationsSearchJobsJobStatus+    ProjectsLocationsBatchesSparkApplicationsSearchJobsJobStatus (..),++    -- ** ProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasksTaskStatus+    ProjectsLocationsBatchesSparkApplicationsSearchStageAttemptTasksTaskStatus (..),++    -- ** ProjectsLocationsBatchesSparkApplicationsSearchStagesStageStatus+    ProjectsLocationsBatchesSparkApplicationsSearchStagesStageStatus (..),++    -- ** ProjectsLocationsSessionsSparkApplicationsSearchApplicationStatus+    ProjectsLocationsSessionsSparkApplicationsSearchApplicationStatus (..),++    -- ** ProjectsLocationsSessionsSparkApplicationsSearchExecutorsExecutorStatus+    ProjectsLocationsSessionsSparkApplicationsSearchExecutorsExecutorStatus (..),++    -- ** ProjectsLocationsSessionsSparkApplicationsSearchJobsJobStatus+    ProjectsLocationsSessionsSparkApplicationsSearchJobsJobStatus (..),++    -- ** ProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasksTaskStatus+    ProjectsLocationsSessionsSparkApplicationsSearchStageAttemptTasksTaskStatus (..),++    -- ** ProjectsLocationsSessionsSparkApplicationsSearchStagesStageStatus+    ProjectsLocationsSessionsSparkApplicationsSearchStagesStageStatus (..),++    -- ** ProjectsRegionsClustersCreateActionOnFailedPrimaryWorkers+    ProjectsRegionsClustersCreateActionOnFailedPrimaryWorkers (..),++    -- ** ProjectsRegionsJobsListJobStateMatcher+    ProjectsRegionsJobsListJobStateMatcher (..),+  )+where++import Gogol.Dataproc.Internal.Product+import Gogol.Dataproc.Internal.Sum+import Gogol.Prelude qualified as Core++-- | Default request referring to version @v1@ of the Cloud Dataproc API. This contains the host and root path used as a starting point for constructing service requests.+dataprocService :: Core.ServiceConfig+dataprocService =+  Core.defaultService+    (Core.ServiceId "dataproc:v1")+    "dataproc.googleapis.com"++-- | 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"
− gen/Network/Google/Dataproc.hs
@@ -1,902 +0,0 @@-{-# LANGUAGE DataKinds         #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE TypeOperators     #-}--{-# OPTIONS_GHC -fno-warn-unused-imports    #-}-{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}---- |--- Module      : Network.Google.Dataproc--- 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)------ Manages Hadoop-based clusters and jobs on Google Cloud Platform.------ /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference>-module Network.Google.Dataproc-    (-    -- * Service Configuration-      dataprocService--    -- * OAuth Scopes-    , cloudPlatformScope--    -- * API Declaration-    , DataprocAPI--    -- * Resources--    -- ** dataproc.projects.locations.workflowTemplates.create-    , module Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.Create--    -- ** dataproc.projects.locations.workflowTemplates.delete-    , module Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.Delete--    -- ** dataproc.projects.locations.workflowTemplates.get-    , module Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.Get--    -- ** dataproc.projects.locations.workflowTemplates.getIamPolicy-    , module Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.GetIAMPolicy--    -- ** dataproc.projects.locations.workflowTemplates.instantiate-    , module Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.Instantiate--    -- ** dataproc.projects.locations.workflowTemplates.instantiateInline-    , module Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.InstantiateInline--    -- ** dataproc.projects.locations.workflowTemplates.list-    , module Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.List--    -- ** dataproc.projects.locations.workflowTemplates.setIamPolicy-    , module Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.SetIAMPolicy--    -- ** dataproc.projects.locations.workflowTemplates.testIamPermissions-    , module Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.TestIAMPermissions--    -- ** dataproc.projects.locations.workflowTemplates.update-    , module Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.Update--    -- ** dataproc.projects.regions.clusters.create-    , module Network.Google.Resource.Dataproc.Projects.Regions.Clusters.Create--    -- ** dataproc.projects.regions.clusters.delete-    , module Network.Google.Resource.Dataproc.Projects.Regions.Clusters.Delete--    -- ** dataproc.projects.regions.clusters.diagnose-    , module Network.Google.Resource.Dataproc.Projects.Regions.Clusters.Diagnose--    -- ** dataproc.projects.regions.clusters.get-    , module Network.Google.Resource.Dataproc.Projects.Regions.Clusters.Get--    -- ** dataproc.projects.regions.clusters.getIamPolicy-    , module Network.Google.Resource.Dataproc.Projects.Regions.Clusters.GetIAMPolicy--    -- ** dataproc.projects.regions.clusters.list-    , module Network.Google.Resource.Dataproc.Projects.Regions.Clusters.List--    -- ** dataproc.projects.regions.clusters.patch-    , module Network.Google.Resource.Dataproc.Projects.Regions.Clusters.Patch--    -- ** dataproc.projects.regions.clusters.setIamPolicy-    , module Network.Google.Resource.Dataproc.Projects.Regions.Clusters.SetIAMPolicy--    -- ** dataproc.projects.regions.clusters.testIamPermissions-    , module Network.Google.Resource.Dataproc.Projects.Regions.Clusters.TestIAMPermissions--    -- ** dataproc.projects.regions.jobs.cancel-    , module Network.Google.Resource.Dataproc.Projects.Regions.Jobs.Cancel--    -- ** dataproc.projects.regions.jobs.delete-    , module Network.Google.Resource.Dataproc.Projects.Regions.Jobs.Delete--    -- ** dataproc.projects.regions.jobs.get-    , module Network.Google.Resource.Dataproc.Projects.Regions.Jobs.Get--    -- ** dataproc.projects.regions.jobs.getIamPolicy-    , module Network.Google.Resource.Dataproc.Projects.Regions.Jobs.GetIAMPolicy--    -- ** dataproc.projects.regions.jobs.list-    , module Network.Google.Resource.Dataproc.Projects.Regions.Jobs.List--    -- ** dataproc.projects.regions.jobs.patch-    , module Network.Google.Resource.Dataproc.Projects.Regions.Jobs.Patch--    -- ** dataproc.projects.regions.jobs.setIamPolicy-    , module Network.Google.Resource.Dataproc.Projects.Regions.Jobs.SetIAMPolicy--    -- ** dataproc.projects.regions.jobs.submit-    , module Network.Google.Resource.Dataproc.Projects.Regions.Jobs.Submit--    -- ** dataproc.projects.regions.jobs.testIamPermissions-    , module Network.Google.Resource.Dataproc.Projects.Regions.Jobs.TestIAMPermissions--    -- ** dataproc.projects.regions.operations.cancel-    , module Network.Google.Resource.Dataproc.Projects.Regions.Operations.Cancel--    -- ** dataproc.projects.regions.operations.delete-    , module Network.Google.Resource.Dataproc.Projects.Regions.Operations.Delete--    -- ** dataproc.projects.regions.operations.get-    , module Network.Google.Resource.Dataproc.Projects.Regions.Operations.Get--    -- ** dataproc.projects.regions.operations.getIamPolicy-    , module Network.Google.Resource.Dataproc.Projects.Regions.Operations.GetIAMPolicy--    -- ** dataproc.projects.regions.operations.list-    , module Network.Google.Resource.Dataproc.Projects.Regions.Operations.List--    -- ** dataproc.projects.regions.operations.setIamPolicy-    , module Network.Google.Resource.Dataproc.Projects.Regions.Operations.SetIAMPolicy--    -- ** dataproc.projects.regions.operations.testIamPermissions-    , module Network.Google.Resource.Dataproc.Projects.Regions.Operations.TestIAMPermissions--    -- ** dataproc.projects.regions.workflowTemplates.create-    , module Network.Google.Resource.Dataproc.Projects.Regions.WorkflowTemplates.Create--    -- ** dataproc.projects.regions.workflowTemplates.delete-    , module Network.Google.Resource.Dataproc.Projects.Regions.WorkflowTemplates.Delete--    -- ** dataproc.projects.regions.workflowTemplates.get-    , module Network.Google.Resource.Dataproc.Projects.Regions.WorkflowTemplates.Get--    -- ** dataproc.projects.regions.workflowTemplates.getIamPolicy-    , module Network.Google.Resource.Dataproc.Projects.Regions.WorkflowTemplates.GetIAMPolicy--    -- ** dataproc.projects.regions.workflowTemplates.instantiate-    , module Network.Google.Resource.Dataproc.Projects.Regions.WorkflowTemplates.Instantiate--    -- ** dataproc.projects.regions.workflowTemplates.instantiateInline-    , module Network.Google.Resource.Dataproc.Projects.Regions.WorkflowTemplates.InstantiateInline--    -- ** dataproc.projects.regions.workflowTemplates.list-    , module Network.Google.Resource.Dataproc.Projects.Regions.WorkflowTemplates.List--    -- ** dataproc.projects.regions.workflowTemplates.setIamPolicy-    , module Network.Google.Resource.Dataproc.Projects.Regions.WorkflowTemplates.SetIAMPolicy--    -- ** dataproc.projects.regions.workflowTemplates.testIamPermissions-    , module Network.Google.Resource.Dataproc.Projects.Regions.WorkflowTemplates.TestIAMPermissions--    -- ** dataproc.projects.regions.workflowTemplates.update-    , module Network.Google.Resource.Dataproc.Projects.Regions.WorkflowTemplates.Update--    -- * Types--    -- ** JobReference-    , JobReference-    , jobReference-    , jrJobId-    , jrProjectId--    -- ** JobStatusState-    , JobStatusState (..)--    -- ** WorkflowNodeState-    , WorkflowNodeState (..)--    -- ** Status-    , Status-    , status-    , sDetails-    , sCode-    , sMessage--    -- ** PySparkJobProperties-    , PySparkJobProperties-    , pySparkJobProperties-    , psjpAddtional--    -- ** DiagnoseClusterResults-    , DiagnoseClusterResults-    , diagnoseClusterResults-    , dcrOutputURI--    -- ** InstanceGroupConfig-    , InstanceGroupConfig-    , instanceGroupConfig-    , igcNumInstances-    , igcDiskConfig-    , igcIsPreemptible-    , igcImageURI-    , igcAccelerators-    , igcInstanceNames-    , igcManagedGroupConfig-    , igcMachineTypeURI--    -- ** SparkJob-    , SparkJob-    , sparkJob-    , sjArgs-    , sjMainJarFileURI-    , sjJarFileURIs-    , sjFileURIs-    , sjArchiveURIs-    , sjMainClass-    , sjLoggingConfig-    , sjProperties--    -- ** SoftwareConfigProperties-    , SoftwareConfigProperties-    , softwareConfigProperties-    , scpAddtional--    -- ** WorkflowGraph-    , WorkflowGraph-    , workflowGraph-    , wgNodes--    -- ** ClusterOperation-    , ClusterOperation-    , clusterOperation-    , coDone-    , coError-    , coOperationId--    -- ** ClusterSelector-    , ClusterSelector-    , clusterSelector-    , csZone-    , csClusterLabels--    -- ** JobScheduling-    , JobScheduling-    , jobScheduling-    , jsMaxFailuresPerHour--    -- ** DiskConfig-    , DiskConfig-    , diskConfig-    , dcNumLocalSsds-    , dcBootDiskType-    , dcBootDiskSizeGb--    -- ** ClusterOperationMetadataLabels-    , ClusterOperationMetadataLabels-    , clusterOperationMetadataLabels-    , comlAddtional--    -- ** Expr-    , Expr-    , expr-    , eLocation-    , eExpression-    , eTitle-    , eDescription--    -- ** ListOperationsResponse-    , ListOperationsResponse-    , listOperationsResponse-    , lorNextPageToken-    , lorOperations--    -- ** HiveJobScriptVariables-    , HiveJobScriptVariables-    , hiveJobScriptVariables-    , hjsvAddtional--    -- ** GetIAMPolicyRequest-    , GetIAMPolicyRequest-    , getIAMPolicyRequest--    -- ** WorkflowTemplatePlacement-    , WorkflowTemplatePlacement-    , workflowTemplatePlacement-    , wtpClusterSelector-    , wtpManagedCluster--    -- ** Cluster-    , Cluster-    , cluster-    , cStatus-    , cMetrics-    , cClusterUuid-    , cConfig-    , cClusterName-    , cLabels-    , cProjectId-    , cStatusHistory--    -- ** ManagedClusterLabels-    , ManagedClusterLabels-    , managedClusterLabels-    , mclAddtional--    -- ** ParameterValidation-    , ParameterValidation-    , parameterValidation-    , pvRegex-    , pvValues--    -- ** JobLabels-    , JobLabels-    , jobLabels-    , jlAddtional--    -- ** SubmitJobRequest-    , SubmitJobRequest-    , submitJobRequest-    , sjrRequestId-    , sjrJob--    -- ** ClusterStatusSubState-    , ClusterStatusSubState (..)--    -- ** ClusterMetrics-    , ClusterMetrics-    , clusterMetrics-    , cmYarnMetrics-    , cmHdfsMetrics--    -- ** Operation-    , Operation-    , operation-    , oDone-    , oError-    , oResponse-    , oName-    , oMetadata--    -- ** Empty-    , Empty-    , empty--    -- ** HiveJob-    , HiveJob-    , hiveJob-    , hjQueryFileURI-    , hjJarFileURIs-    , hjScriptVariables-    , hjQueryList-    , hjContinueOnFailure-    , hjProperties--    -- ** OrderedJobLabels-    , OrderedJobLabels-    , orderedJobLabels-    , ojlAddtional--    -- ** ClusterSelectorClusterLabels-    , ClusterSelectorClusterLabels-    , clusterSelectorClusterLabels-    , csclAddtional--    -- ** SparkSQLJobScriptVariables-    , SparkSQLJobScriptVariables-    , sparkSQLJobScriptVariables-    , ssqljsvAddtional--    -- ** PigJobProperties-    , PigJobProperties-    , pigJobProperties-    , pjpAddtional--    -- ** ClusterConfig-    , ClusterConfig-    , clusterConfig-    , ccWorkerConfig-    , ccInitializationActions-    , ccMasterConfig-    , ccGceClusterConfig-    , ccConfigBucket-    , ccEncryptionConfig-    , ccSoftwareConfig-    , ccSecondaryWorkerConfig--    -- ** InstantiateWorkflowTemplateRequest-    , InstantiateWorkflowTemplateRequest-    , instantiateWorkflowTemplateRequest-    , iwtrRequestId-    , iwtrVersion-    , iwtrParameters--    -- ** HadoopJobProperties-    , HadoopJobProperties-    , hadoopJobProperties-    , hjpAddtional--    -- ** WorkflowTemplate-    , WorkflowTemplate-    , workflowTemplate-    , wtJobs-    , wtUpdateTime-    , wtName-    , wtVersion-    , wtParameters-    , wtId-    , wtLabels-    , wtCreateTime-    , wtPlacement--    -- ** ClusterOperationStatus-    , ClusterOperationStatus-    , clusterOperationStatus-    , cosState-    , cosInnerState-    , cosStateStartTime-    , cosDetails--    -- ** StatusDetailsItem-    , StatusDetailsItem-    , statusDetailsItem-    , sdiAddtional--    -- ** SparkSQLJobProperties-    , SparkSQLJobProperties-    , sparkSQLJobProperties-    , ssqljpAddtional--    -- ** WorkflowTemplateLabels-    , WorkflowTemplateLabels-    , workflowTemplateLabels-    , wtlAddtional--    -- ** NodeInitializationAction-    , NodeInitializationAction-    , nodeInitializationAction-    , niaExecutionTimeout-    , niaExecutableFile--    -- ** ClusterMetricsYarnMetrics-    , ClusterMetricsYarnMetrics-    , clusterMetricsYarnMetrics-    , cmymAddtional--    -- ** RegexValidation-    , RegexValidation-    , regexValidation-    , rvRegexes--    -- ** JobPlacement-    , JobPlacement-    , jobPlacement-    , jpClusterUuid-    , jpClusterName--    -- ** SetIAMPolicyRequest-    , SetIAMPolicyRequest-    , setIAMPolicyRequest-    , siprPolicy--    -- ** TemplateParameter-    , TemplateParameter-    , templateParameter-    , tpName-    , tpValidation-    , tpDescription-    , tpFields--    -- ** GceClusterConfig-    , GceClusterConfig-    , gceClusterConfig-    , gccSubnetworkURI-    , gccInternalIPOnly-    , gccNetworkURI-    , gccZoneURI-    , gccServiceAccount-    , gccMetadata-    , gccServiceAccountScopes-    , gccTags--    -- ** WorkflowMetadataState-    , WorkflowMetadataState (..)--    -- ** YarnApplicationState-    , YarnApplicationState (..)--    -- ** ClusterStatusState-    , ClusterStatusState (..)--    -- ** ListWorkflowTemplatesResponse-    , ListWorkflowTemplatesResponse-    , listWorkflowTemplatesResponse-    , lwtrNextPageToken-    , lwtrTemplates--    -- ** GceClusterConfigMetadata-    , GceClusterConfigMetadata-    , gceClusterConfigMetadata-    , gccmAddtional--    -- ** ClusterOperationStatusState-    , ClusterOperationStatusState (..)--    -- ** HiveJobProperties-    , HiveJobProperties-    , hiveJobProperties-    , hAddtional--    -- ** WorkflowMetadataParameters-    , WorkflowMetadataParameters-    , workflowMetadataParameters-    , wmpAddtional--    -- ** ManagedCluster-    , ManagedCluster-    , managedCluster-    , mcConfig-    , mcClusterName-    , mcLabels--    -- ** ClusterLabels-    , ClusterLabels-    , clusterLabels-    , clAddtional--    -- ** Job-    , Job-    , job-    , jSparkJob-    , jStatus-    , jDriverControlFilesURI-    , jHiveJob-    , jReference-    , jSparkSQLJob-    , jHadoopJob-    , jJobUuid-    , jYarnApplications-    , jLabels-    , jPysparkJob-    , jDriverOutputResourceURI-    , jScheduling-    , jStatusHistory-    , jPlacement-    , jPigJob--    -- ** DiagnoseClusterRequest-    , DiagnoseClusterRequest-    , diagnoseClusterRequest--    -- ** HadoopJob-    , HadoopJob-    , hadoopJob-    , hArgs-    , hMainJarFileURI-    , hJarFileURIs-    , hFileURIs-    , hArchiveURIs-    , hMainClass-    , hLoggingConfig-    , hProperties--    -- ** Xgafv-    , Xgafv (..)--    -- ** InstantiateWorkflowTemplateRequestParameters-    , InstantiateWorkflowTemplateRequestParameters-    , instantiateWorkflowTemplateRequestParameters-    , iwtrpAddtional--    -- ** ClusterOperationMetadata-    , ClusterOperationMetadata-    , clusterOperationMetadata-    , comStatus-    , comClusterUuid-    , comWarnings-    , comClusterName-    , comLabels-    , comOperationType-    , comStatusHistory-    , comDescription--    -- ** TestIAMPermissionsRequest-    , TestIAMPermissionsRequest-    , testIAMPermissionsRequest-    , tiprPermissions--    -- ** SparkSQLJob-    , SparkSQLJob-    , sparkSQLJob-    , ssqljQueryFileURI-    , ssqljJarFileURIs-    , ssqljScriptVariables-    , ssqljQueryList-    , ssqljLoggingConfig-    , ssqljProperties--    -- ** SoftwareConfig-    , SoftwareConfig-    , softwareConfig-    , scOptionalComponents-    , scImageVersion-    , scProperties--    -- ** ListJobsResponse-    , ListJobsResponse-    , listJobsResponse-    , ljrNextPageToken-    , ljrJobs--    -- ** AcceleratorConfig-    , AcceleratorConfig-    , acceleratorConfig-    , acAcceleratorCount-    , acAcceleratorTypeURI--    -- ** SparkJobProperties-    , SparkJobProperties-    , sparkJobProperties-    , sjpAddtional--    -- ** EncryptionConfig-    , EncryptionConfig-    , encryptionConfig-    , ecGcePdKmsKeyName--    -- ** PySparkJob-    , PySparkJob-    , pySparkJob-    , psjPythonFileURIs-    , psjMainPythonFileURI-    , psjArgs-    , psjJarFileURIs-    , psjFileURIs-    , psjArchiveURIs-    , psjLoggingConfig-    , psjProperties--    -- ** ManagedGroupConfig-    , ManagedGroupConfig-    , managedGroupConfig-    , mgcInstanceTemplateName-    , mgcInstanceGroupManagerName--    -- ** TestIAMPermissionsResponse-    , TestIAMPermissionsResponse-    , testIAMPermissionsResponse-    , tiamprPermissions--    -- ** ListClustersResponse-    , ListClustersResponse-    , listClustersResponse-    , lcrNextPageToken-    , lcrClusters--    -- ** ValueValidation-    , ValueValidation-    , valueValidation-    , vvValues--    -- ** JobStatusSubState-    , JobStatusSubState (..)--    -- ** Policy-    , Policy-    , policy-    , pEtag-    , pVersion-    , pBindings--    -- ** OrderedJob-    , OrderedJob-    , orderedJob-    , ojSparkJob-    , ojStepId-    , ojPrerequisiteStepIds-    , ojHiveJob-    , ojSparkSQLJob-    , ojHadoopJob-    , ojLabels-    , ojPysparkJob-    , ojScheduling-    , ojPigJob--    -- ** CancelJobRequest-    , CancelJobRequest-    , cancelJobRequest--    -- ** QueryList-    , QueryList-    , queryList-    , qlQueries--    -- ** OperationMetadata-    , OperationMetadata-    , operationMetadata-    , omAddtional--    -- ** JobStatus-    , JobStatus-    , jobStatus-    , jsState-    , jsSubState-    , jsStateStartTime-    , jsDetails--    -- ** PigJobScriptVariables-    , PigJobScriptVariables-    , pigJobScriptVariables-    , pjsvAddtional--    -- ** ClusterMetricsHdfsMetrics-    , ClusterMetricsHdfsMetrics-    , clusterMetricsHdfsMetrics-    , cmhmAddtional--    -- ** WorkflowNode-    , WorkflowNode-    , workflowNode-    , wnState-    , wnStepId-    , wnJobId-    , wnPrerequisiteStepIds-    , wnError--    -- ** WorkflowMetadata-    , WorkflowMetadata-    , workflowMetadata-    , wmGraph-    , wmState-    , wmClusterUuid-    , wmStartTime-    , wmDeleteCluster-    , wmCreateCluster-    , wmVersion-    , wmEndTime-    , wmParameters-    , wmClusterName-    , wmTemplate--    -- ** OperationResponse-    , OperationResponse-    , operationResponse-    , orAddtional--    -- ** LoggingConfigDriverLogLevels-    , LoggingConfigDriverLogLevels-    , loggingConfigDriverLogLevels-    , lcdllAddtional--    -- ** ClusterStatus-    , ClusterStatus-    , clusterStatus-    , csState-    , csSubState-    , csStateStartTime-    , csDetail--    -- ** YarnApplication-    , YarnApplication-    , yarnApplication-    , yaTrackingURL-    , yaState-    , yaProgress-    , yaName--    -- ** PigJob-    , PigJob-    , pigJob-    , pjQueryFileURI-    , pjJarFileURIs-    , pjScriptVariables-    , pjQueryList-    , pjContinueOnFailure-    , pjLoggingConfig-    , pjProperties--    -- ** LoggingConfig-    , LoggingConfig-    , loggingConfig-    , lcDriverLogLevels--    -- ** Binding-    , Binding-    , binding-    , bMembers-    , bRole-    , bCondition-    ) where--import           Network.Google.Dataproc.Types-import           Network.Google.Prelude-import           Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.Create-import           Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.Delete-import           Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.Get-import           Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.GetIAMPolicy-import           Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.Instantiate-import           Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.InstantiateInline-import           Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.List-import           Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.SetIAMPolicy-import           Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.TestIAMPermissions-import           Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.Update-import           Network.Google.Resource.Dataproc.Projects.Regions.Clusters.Create-import           Network.Google.Resource.Dataproc.Projects.Regions.Clusters.Delete-import           Network.Google.Resource.Dataproc.Projects.Regions.Clusters.Diagnose-import           Network.Google.Resource.Dataproc.Projects.Regions.Clusters.Get-import           Network.Google.Resource.Dataproc.Projects.Regions.Clusters.GetIAMPolicy-import           Network.Google.Resource.Dataproc.Projects.Regions.Clusters.List-import           Network.Google.Resource.Dataproc.Projects.Regions.Clusters.Patch-import           Network.Google.Resource.Dataproc.Projects.Regions.Clusters.SetIAMPolicy-import           Network.Google.Resource.Dataproc.Projects.Regions.Clusters.TestIAMPermissions-import           Network.Google.Resource.Dataproc.Projects.Regions.Jobs.Cancel-import           Network.Google.Resource.Dataproc.Projects.Regions.Jobs.Delete-import           Network.Google.Resource.Dataproc.Projects.Regions.Jobs.Get-import           Network.Google.Resource.Dataproc.Projects.Regions.Jobs.GetIAMPolicy-import           Network.Google.Resource.Dataproc.Projects.Regions.Jobs.List-import           Network.Google.Resource.Dataproc.Projects.Regions.Jobs.Patch-import           Network.Google.Resource.Dataproc.Projects.Regions.Jobs.SetIAMPolicy-import           Network.Google.Resource.Dataproc.Projects.Regions.Jobs.Submit-import           Network.Google.Resource.Dataproc.Projects.Regions.Jobs.TestIAMPermissions-import           Network.Google.Resource.Dataproc.Projects.Regions.Operations.Cancel-import           Network.Google.Resource.Dataproc.Projects.Regions.Operations.Delete-import           Network.Google.Resource.Dataproc.Projects.Regions.Operations.Get-import           Network.Google.Resource.Dataproc.Projects.Regions.Operations.GetIAMPolicy-import           Network.Google.Resource.Dataproc.Projects.Regions.Operations.List-import           Network.Google.Resource.Dataproc.Projects.Regions.Operations.SetIAMPolicy-import           Network.Google.Resource.Dataproc.Projects.Regions.Operations.TestIAMPermissions-import           Network.Google.Resource.Dataproc.Projects.Regions.WorkflowTemplates.Create-import           Network.Google.Resource.Dataproc.Projects.Regions.WorkflowTemplates.Delete-import           Network.Google.Resource.Dataproc.Projects.Regions.WorkflowTemplates.Get-import           Network.Google.Resource.Dataproc.Projects.Regions.WorkflowTemplates.GetIAMPolicy-import           Network.Google.Resource.Dataproc.Projects.Regions.WorkflowTemplates.Instantiate-import           Network.Google.Resource.Dataproc.Projects.Regions.WorkflowTemplates.InstantiateInline-import           Network.Google.Resource.Dataproc.Projects.Regions.WorkflowTemplates.List-import           Network.Google.Resource.Dataproc.Projects.Regions.WorkflowTemplates.SetIAMPolicy-import           Network.Google.Resource.Dataproc.Projects.Regions.WorkflowTemplates.TestIAMPermissions-import           Network.Google.Resource.Dataproc.Projects.Regions.WorkflowTemplates.Update--{- $resources-TODO--}---- | Represents the entirety of the methods and resources available for the Cloud Dataproc API service.-type DataprocAPI =-     ProjectsRegionsWorkflowTemplatesListResource :<|>-       ProjectsRegionsWorkflowTemplatesInstantiateResource-       :<|>-       ProjectsRegionsWorkflowTemplatesInstantiateInlineResource-       :<|>-       ProjectsRegionsWorkflowTemplatesGetIAMPolicyResource-       :<|> ProjectsRegionsWorkflowTemplatesGetResource-       :<|> ProjectsRegionsWorkflowTemplatesCreateResource-       :<|>-       ProjectsRegionsWorkflowTemplatesSetIAMPolicyResource-       :<|>-       ProjectsRegionsWorkflowTemplatesTestIAMPermissionsResource-       :<|> ProjectsRegionsWorkflowTemplatesDeleteResource-       :<|> ProjectsRegionsWorkflowTemplatesUpdateResource-       :<|> ProjectsRegionsJobsListResource-       :<|> ProjectsRegionsJobsGetIAMPolicyResource-       :<|> ProjectsRegionsJobsPatchResource-       :<|> ProjectsRegionsJobsGetResource-       :<|> ProjectsRegionsJobsSubmitResource-       :<|> ProjectsRegionsJobsSetIAMPolicyResource-       :<|> ProjectsRegionsJobsTestIAMPermissionsResource-       :<|> ProjectsRegionsJobsCancelResource-       :<|> ProjectsRegionsJobsDeleteResource-       :<|> ProjectsRegionsOperationsListResource-       :<|> ProjectsRegionsOperationsGetIAMPolicyResource-       :<|> ProjectsRegionsOperationsGetResource-       :<|> ProjectsRegionsOperationsSetIAMPolicyResource-       :<|>-       ProjectsRegionsOperationsTestIAMPermissionsResource-       :<|> ProjectsRegionsOperationsCancelResource-       :<|> ProjectsRegionsOperationsDeleteResource-       :<|> ProjectsRegionsClustersDiagnoseResource-       :<|> ProjectsRegionsClustersListResource-       :<|> ProjectsRegionsClustersGetIAMPolicyResource-       :<|> ProjectsRegionsClustersPatchResource-       :<|> ProjectsRegionsClustersGetResource-       :<|> ProjectsRegionsClustersCreateResource-       :<|> ProjectsRegionsClustersSetIAMPolicyResource-       :<|>-       ProjectsRegionsClustersTestIAMPermissionsResource-       :<|> ProjectsRegionsClustersDeleteResource-       :<|> ProjectsLocationsWorkflowTemplatesListResource-       :<|>-       ProjectsLocationsWorkflowTemplatesInstantiateResource-       :<|>-       ProjectsLocationsWorkflowTemplatesInstantiateInlineResource-       :<|>-       ProjectsLocationsWorkflowTemplatesGetIAMPolicyResource-       :<|> ProjectsLocationsWorkflowTemplatesGetResource-       :<|> ProjectsLocationsWorkflowTemplatesCreateResource-       :<|>-       ProjectsLocationsWorkflowTemplatesSetIAMPolicyResource-       :<|>-       ProjectsLocationsWorkflowTemplatesTestIAMPermissionsResource-       :<|> ProjectsLocationsWorkflowTemplatesDeleteResource-       :<|> ProjectsLocationsWorkflowTemplatesUpdateResource
− gen/Network/Google/Dataproc/Types.hs
@@ -1,661 +0,0 @@-{-# LANGUAGE DataKinds          #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module      : Network.Google.Dataproc.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.Dataproc.Types-    (-    -- * Service Configuration-      dataprocService--    -- * OAuth Scopes-    , cloudPlatformScope--    -- * JobReference-    , JobReference-    , jobReference-    , jrJobId-    , jrProjectId--    -- * JobStatusState-    , JobStatusState (..)--    -- * WorkflowNodeState-    , WorkflowNodeState (..)--    -- * Status-    , Status-    , status-    , sDetails-    , sCode-    , sMessage--    -- * PySparkJobProperties-    , PySparkJobProperties-    , pySparkJobProperties-    , psjpAddtional--    -- * DiagnoseClusterResults-    , DiagnoseClusterResults-    , diagnoseClusterResults-    , dcrOutputURI--    -- * InstanceGroupConfig-    , InstanceGroupConfig-    , instanceGroupConfig-    , igcNumInstances-    , igcDiskConfig-    , igcIsPreemptible-    , igcImageURI-    , igcAccelerators-    , igcInstanceNames-    , igcManagedGroupConfig-    , igcMachineTypeURI--    -- * SparkJob-    , SparkJob-    , sparkJob-    , sjArgs-    , sjMainJarFileURI-    , sjJarFileURIs-    , sjFileURIs-    , sjArchiveURIs-    , sjMainClass-    , sjLoggingConfig-    , sjProperties--    -- * SoftwareConfigProperties-    , SoftwareConfigProperties-    , softwareConfigProperties-    , scpAddtional--    -- * WorkflowGraph-    , WorkflowGraph-    , workflowGraph-    , wgNodes--    -- * ClusterOperation-    , ClusterOperation-    , clusterOperation-    , coDone-    , coError-    , coOperationId--    -- * ClusterSelector-    , ClusterSelector-    , clusterSelector-    , csZone-    , csClusterLabels--    -- * JobScheduling-    , JobScheduling-    , jobScheduling-    , jsMaxFailuresPerHour--    -- * DiskConfig-    , DiskConfig-    , diskConfig-    , dcNumLocalSsds-    , dcBootDiskType-    , dcBootDiskSizeGb--    -- * ClusterOperationMetadataLabels-    , ClusterOperationMetadataLabels-    , clusterOperationMetadataLabels-    , comlAddtional--    -- * Expr-    , Expr-    , expr-    , eLocation-    , eExpression-    , eTitle-    , eDescription--    -- * ListOperationsResponse-    , ListOperationsResponse-    , listOperationsResponse-    , lorNextPageToken-    , lorOperations--    -- * HiveJobScriptVariables-    , HiveJobScriptVariables-    , hiveJobScriptVariables-    , hjsvAddtional--    -- * GetIAMPolicyRequest-    , GetIAMPolicyRequest-    , getIAMPolicyRequest--    -- * WorkflowTemplatePlacement-    , WorkflowTemplatePlacement-    , workflowTemplatePlacement-    , wtpClusterSelector-    , wtpManagedCluster--    -- * Cluster-    , Cluster-    , cluster-    , cStatus-    , cMetrics-    , cClusterUuid-    , cConfig-    , cClusterName-    , cLabels-    , cProjectId-    , cStatusHistory--    -- * ManagedClusterLabels-    , ManagedClusterLabels-    , managedClusterLabels-    , mclAddtional--    -- * ParameterValidation-    , ParameterValidation-    , parameterValidation-    , pvRegex-    , pvValues--    -- * JobLabels-    , JobLabels-    , jobLabels-    , jlAddtional--    -- * SubmitJobRequest-    , SubmitJobRequest-    , submitJobRequest-    , sjrRequestId-    , sjrJob--    -- * ClusterStatusSubState-    , ClusterStatusSubState (..)--    -- * ClusterMetrics-    , ClusterMetrics-    , clusterMetrics-    , cmYarnMetrics-    , cmHdfsMetrics--    -- * Operation-    , Operation-    , operation-    , oDone-    , oError-    , oResponse-    , oName-    , oMetadata--    -- * Empty-    , Empty-    , empty--    -- * HiveJob-    , HiveJob-    , hiveJob-    , hjQueryFileURI-    , hjJarFileURIs-    , hjScriptVariables-    , hjQueryList-    , hjContinueOnFailure-    , hjProperties--    -- * OrderedJobLabels-    , OrderedJobLabels-    , orderedJobLabels-    , ojlAddtional--    -- * ClusterSelectorClusterLabels-    , ClusterSelectorClusterLabels-    , clusterSelectorClusterLabels-    , csclAddtional--    -- * SparkSQLJobScriptVariables-    , SparkSQLJobScriptVariables-    , sparkSQLJobScriptVariables-    , ssqljsvAddtional--    -- * PigJobProperties-    , PigJobProperties-    , pigJobProperties-    , pjpAddtional--    -- * ClusterConfig-    , ClusterConfig-    , clusterConfig-    , ccWorkerConfig-    , ccInitializationActions-    , ccMasterConfig-    , ccGceClusterConfig-    , ccConfigBucket-    , ccEncryptionConfig-    , ccSoftwareConfig-    , ccSecondaryWorkerConfig--    -- * InstantiateWorkflowTemplateRequest-    , InstantiateWorkflowTemplateRequest-    , instantiateWorkflowTemplateRequest-    , iwtrRequestId-    , iwtrVersion-    , iwtrParameters--    -- * HadoopJobProperties-    , HadoopJobProperties-    , hadoopJobProperties-    , hjpAddtional--    -- * WorkflowTemplate-    , WorkflowTemplate-    , workflowTemplate-    , wtJobs-    , wtUpdateTime-    , wtName-    , wtVersion-    , wtParameters-    , wtId-    , wtLabels-    , wtCreateTime-    , wtPlacement--    -- * ClusterOperationStatus-    , ClusterOperationStatus-    , clusterOperationStatus-    , cosState-    , cosInnerState-    , cosStateStartTime-    , cosDetails--    -- * StatusDetailsItem-    , StatusDetailsItem-    , statusDetailsItem-    , sdiAddtional--    -- * SparkSQLJobProperties-    , SparkSQLJobProperties-    , sparkSQLJobProperties-    , ssqljpAddtional--    -- * WorkflowTemplateLabels-    , WorkflowTemplateLabels-    , workflowTemplateLabels-    , wtlAddtional--    -- * NodeInitializationAction-    , NodeInitializationAction-    , nodeInitializationAction-    , niaExecutionTimeout-    , niaExecutableFile--    -- * ClusterMetricsYarnMetrics-    , ClusterMetricsYarnMetrics-    , clusterMetricsYarnMetrics-    , cmymAddtional--    -- * RegexValidation-    , RegexValidation-    , regexValidation-    , rvRegexes--    -- * JobPlacement-    , JobPlacement-    , jobPlacement-    , jpClusterUuid-    , jpClusterName--    -- * SetIAMPolicyRequest-    , SetIAMPolicyRequest-    , setIAMPolicyRequest-    , siprPolicy--    -- * TemplateParameter-    , TemplateParameter-    , templateParameter-    , tpName-    , tpValidation-    , tpDescription-    , tpFields--    -- * GceClusterConfig-    , GceClusterConfig-    , gceClusterConfig-    , gccSubnetworkURI-    , gccInternalIPOnly-    , gccNetworkURI-    , gccZoneURI-    , gccServiceAccount-    , gccMetadata-    , gccServiceAccountScopes-    , gccTags--    -- * WorkflowMetadataState-    , WorkflowMetadataState (..)--    -- * YarnApplicationState-    , YarnApplicationState (..)--    -- * ClusterStatusState-    , ClusterStatusState (..)--    -- * ListWorkflowTemplatesResponse-    , ListWorkflowTemplatesResponse-    , listWorkflowTemplatesResponse-    , lwtrNextPageToken-    , lwtrTemplates--    -- * GceClusterConfigMetadata-    , GceClusterConfigMetadata-    , gceClusterConfigMetadata-    , gccmAddtional--    -- * ClusterOperationStatusState-    , ClusterOperationStatusState (..)--    -- * HiveJobProperties-    , HiveJobProperties-    , hiveJobProperties-    , hAddtional--    -- * WorkflowMetadataParameters-    , WorkflowMetadataParameters-    , workflowMetadataParameters-    , wmpAddtional--    -- * ManagedCluster-    , ManagedCluster-    , managedCluster-    , mcConfig-    , mcClusterName-    , mcLabels--    -- * ClusterLabels-    , ClusterLabels-    , clusterLabels-    , clAddtional--    -- * Job-    , Job-    , job-    , jSparkJob-    , jStatus-    , jDriverControlFilesURI-    , jHiveJob-    , jReference-    , jSparkSQLJob-    , jHadoopJob-    , jJobUuid-    , jYarnApplications-    , jLabels-    , jPysparkJob-    , jDriverOutputResourceURI-    , jScheduling-    , jStatusHistory-    , jPlacement-    , jPigJob--    -- * DiagnoseClusterRequest-    , DiagnoseClusterRequest-    , diagnoseClusterRequest--    -- * HadoopJob-    , HadoopJob-    , hadoopJob-    , hArgs-    , hMainJarFileURI-    , hJarFileURIs-    , hFileURIs-    , hArchiveURIs-    , hMainClass-    , hLoggingConfig-    , hProperties--    -- * Xgafv-    , Xgafv (..)--    -- * InstantiateWorkflowTemplateRequestParameters-    , InstantiateWorkflowTemplateRequestParameters-    , instantiateWorkflowTemplateRequestParameters-    , iwtrpAddtional--    -- * ClusterOperationMetadata-    , ClusterOperationMetadata-    , clusterOperationMetadata-    , comStatus-    , comClusterUuid-    , comWarnings-    , comClusterName-    , comLabels-    , comOperationType-    , comStatusHistory-    , comDescription--    -- * TestIAMPermissionsRequest-    , TestIAMPermissionsRequest-    , testIAMPermissionsRequest-    , tiprPermissions--    -- * SparkSQLJob-    , SparkSQLJob-    , sparkSQLJob-    , ssqljQueryFileURI-    , ssqljJarFileURIs-    , ssqljScriptVariables-    , ssqljQueryList-    , ssqljLoggingConfig-    , ssqljProperties--    -- * SoftwareConfig-    , SoftwareConfig-    , softwareConfig-    , scOptionalComponents-    , scImageVersion-    , scProperties--    -- * ListJobsResponse-    , ListJobsResponse-    , listJobsResponse-    , ljrNextPageToken-    , ljrJobs--    -- * AcceleratorConfig-    , AcceleratorConfig-    , acceleratorConfig-    , acAcceleratorCount-    , acAcceleratorTypeURI--    -- * SparkJobProperties-    , SparkJobProperties-    , sparkJobProperties-    , sjpAddtional--    -- * EncryptionConfig-    , EncryptionConfig-    , encryptionConfig-    , ecGcePdKmsKeyName--    -- * PySparkJob-    , PySparkJob-    , pySparkJob-    , psjPythonFileURIs-    , psjMainPythonFileURI-    , psjArgs-    , psjJarFileURIs-    , psjFileURIs-    , psjArchiveURIs-    , psjLoggingConfig-    , psjProperties--    -- * ManagedGroupConfig-    , ManagedGroupConfig-    , managedGroupConfig-    , mgcInstanceTemplateName-    , mgcInstanceGroupManagerName--    -- * TestIAMPermissionsResponse-    , TestIAMPermissionsResponse-    , testIAMPermissionsResponse-    , tiamprPermissions--    -- * ListClustersResponse-    , ListClustersResponse-    , listClustersResponse-    , lcrNextPageToken-    , lcrClusters--    -- * ValueValidation-    , ValueValidation-    , valueValidation-    , vvValues--    -- * JobStatusSubState-    , JobStatusSubState (..)--    -- * Policy-    , Policy-    , policy-    , pEtag-    , pVersion-    , pBindings--    -- * OrderedJob-    , OrderedJob-    , orderedJob-    , ojSparkJob-    , ojStepId-    , ojPrerequisiteStepIds-    , ojHiveJob-    , ojSparkSQLJob-    , ojHadoopJob-    , ojLabels-    , ojPysparkJob-    , ojScheduling-    , ojPigJob--    -- * CancelJobRequest-    , CancelJobRequest-    , cancelJobRequest--    -- * QueryList-    , QueryList-    , queryList-    , qlQueries--    -- * OperationMetadata-    , OperationMetadata-    , operationMetadata-    , omAddtional--    -- * JobStatus-    , JobStatus-    , jobStatus-    , jsState-    , jsSubState-    , jsStateStartTime-    , jsDetails--    -- * PigJobScriptVariables-    , PigJobScriptVariables-    , pigJobScriptVariables-    , pjsvAddtional--    -- * ClusterMetricsHdfsMetrics-    , ClusterMetricsHdfsMetrics-    , clusterMetricsHdfsMetrics-    , cmhmAddtional--    -- * WorkflowNode-    , WorkflowNode-    , workflowNode-    , wnState-    , wnStepId-    , wnJobId-    , wnPrerequisiteStepIds-    , wnError--    -- * WorkflowMetadata-    , WorkflowMetadata-    , workflowMetadata-    , wmGraph-    , wmState-    , wmClusterUuid-    , wmStartTime-    , wmDeleteCluster-    , wmCreateCluster-    , wmVersion-    , wmEndTime-    , wmParameters-    , wmClusterName-    , wmTemplate--    -- * OperationResponse-    , OperationResponse-    , operationResponse-    , orAddtional--    -- * LoggingConfigDriverLogLevels-    , LoggingConfigDriverLogLevels-    , loggingConfigDriverLogLevels-    , lcdllAddtional--    -- * ClusterStatus-    , ClusterStatus-    , clusterStatus-    , csState-    , csSubState-    , csStateStartTime-    , csDetail--    -- * YarnApplication-    , YarnApplication-    , yarnApplication-    , yaTrackingURL-    , yaState-    , yaProgress-    , yaName--    -- * PigJob-    , PigJob-    , pigJob-    , pjQueryFileURI-    , pjJarFileURIs-    , pjScriptVariables-    , pjQueryList-    , pjContinueOnFailure-    , pjLoggingConfig-    , pjProperties--    -- * LoggingConfig-    , LoggingConfig-    , loggingConfig-    , lcDriverLogLevels--    -- * Binding-    , Binding-    , binding-    , bMembers-    , bRole-    , bCondition-    ) where--import           Network.Google.Dataproc.Types.Product-import           Network.Google.Dataproc.Types.Sum-import           Network.Google.Prelude---- | Default request referring to version 'v1' of the Cloud Dataproc API. This contains the host and root path used as a starting point for constructing service requests.-dataprocService :: ServiceConfig-dataprocService-  = defaultService (ServiceId "dataproc:v1")-      "dataproc.googleapis.com"---- | View and manage your data across Google Cloud Platform services-cloudPlatformScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform"]-cloudPlatformScope = Proxy
− gen/Network/Google/Dataproc/Types/Product.hs
@@ -1,5758 +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.Dataproc.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.Dataproc.Types.Product where--import           Network.Google.Dataproc.Types.Sum-import           Network.Google.Prelude---- | Encapsulates the full scoping used to reference a job.------ /See:/ 'jobReference' smart constructor.-data JobReference =-  JobReference'-    { _jrJobId     :: !(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'------ * 'jrProjectId'-jobReference-    :: JobReference-jobReference = JobReference' {_jrJobId = Nothing, _jrProjectId = Nothing}----- | Optional. The job ID, which must be unique within the project.The ID--- must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), or--- hyphens (-). The maximum length is 100 characters.If not specified by--- the caller, the job ID will be provided by the server.-jrJobId :: Lens' JobReference (Maybe Text)-jrJobId = lens _jrJobId (\ s a -> s{_jrJobId = a})---- | Required. The ID of the Google Cloud Platform project that the job--- belongs to.-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 .:? "projectId"))--instance ToJSON JobReference where-        toJSON JobReference'{..}-          = object-              (catMaybes-                 [("jobId" .=) <$> _jrJobId,-                  ("projectId" .=) <$> _jrProjectId])---- | The Status type defines a logical error model that is suitable for--- different programming environments, including REST APIs and RPC APIs. It--- is used by gRPC (https:\/\/github.com\/grpc). The error model is--- designed to be: Simple to use and understand for most users Flexible--- enough to meet unexpected needsOverviewThe Status message contains three--- pieces of data: error code, error message, and error details. The error--- code should be an enum value of google.rpc.Code, but it may accept--- additional error codes if needed. The error message should be a--- developer-facing English message that helps developers understand and--- resolve the error. If a localized user-facing error message is needed,--- put the localized message in the error details or localize it in the--- client. The optional error details may contain arbitrary information--- about the error. There is a predefined set of error detail types in the--- package google.rpc that can be used for common error conditions.Language--- mappingThe Status message is the logical representation of the error--- model, but it is not necessarily the actual wire format. When the Status--- message is exposed in different client libraries and different wire--- protocols, it can be mapped differently. For example, it will likely be--- mapped to some exceptions in Java, but more likely mapped to some error--- codes in C.Other usesThe error model and the Status message can be used--- in a variety of environments, either with or without APIs, to provide a--- consistent developer experience across different environments.Example--- uses of this error model include: Partial errors. If a service needs to--- return partial errors to the client, it may embed the Status in the--- normal response to indicate the partial errors. Workflow errors. A--- typical workflow has multiple steps. Each step may have a Status message--- for error reporting. Batch operations. If a client uses batch request--- and batch response, the Status message should be used directly inside--- batch response, one for each error sub-response. Asynchronous--- operations. If an API call embeds asynchronous operation results in its--- response, the status of those operations should be represented directly--- using the Status message. Logging. If some API errors are stored in--- logs, the message Status could be used directly after any stripping--- needed for security\/privacy reasons.------ /See:/ 'status' smart constructor.-data Status =-  Status'-    { _sDetails :: !(Maybe [StatusDetailsItem])-    , _sCode    :: !(Maybe (Textual Int32))-    , _sMessage :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'Status' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'sDetails'------ * 'sCode'------ * 'sMessage'-status-    :: Status-status = Status' {_sDetails = Nothing, _sCode = Nothing, _sMessage = Nothing}----- | A list of messages that carry the error details. There is a common set--- of message types for APIs to use.-sDetails :: Lens' Status [StatusDetailsItem]-sDetails-  = lens _sDetails (\ s a -> s{_sDetails = a}) .-      _Default-      . _Coerce---- | The status code, which should be an enum value of google.rpc.Code.-sCode :: Lens' Status (Maybe Int32)-sCode-  = lens _sCode (\ s a -> s{_sCode = a}) .-      mapping _Coerce---- | A developer-facing error message, which should be in English. Any--- user-facing error message should be localized and sent in the--- google.rpc.Status.details field, or localized by the client.-sMessage :: Lens' Status (Maybe Text)-sMessage = lens _sMessage (\ s a -> s{_sMessage = a})--instance FromJSON Status where-        parseJSON-          = withObject "Status"-              (\ o ->-                 Status' <$>-                   (o .:? "details" .!= mempty) <*> (o .:? "code") <*>-                     (o .:? "message"))--instance ToJSON Status where-        toJSON Status'{..}-          = object-              (catMaybes-                 [("details" .=) <$> _sDetails,-                  ("code" .=) <$> _sCode,-                  ("message" .=) <$> _sMessage])---- | Optional. A mapping of property names to values, used to configure--- PySpark. Properties that conflict with values set by the Cloud Dataproc--- API may be overwritten. Can include properties set in--- \/etc\/spark\/conf\/spark-defaults.conf and classes in user code.------ /See:/ 'pySparkJobProperties' smart constructor.-newtype PySparkJobProperties =-  PySparkJobProperties'-    { _psjpAddtional :: HashMap Text Text-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'PySparkJobProperties' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'psjpAddtional'-pySparkJobProperties-    :: HashMap Text Text -- ^ 'psjpAddtional'-    -> PySparkJobProperties-pySparkJobProperties pPsjpAddtional_ =-  PySparkJobProperties' {_psjpAddtional = _Coerce # pPsjpAddtional_}---psjpAddtional :: Lens' PySparkJobProperties (HashMap Text Text)-psjpAddtional-  = lens _psjpAddtional-      (\ s a -> s{_psjpAddtional = a})-      . _Coerce--instance FromJSON PySparkJobProperties where-        parseJSON-          = withObject "PySparkJobProperties"-              (\ o ->-                 PySparkJobProperties' <$> (parseJSONObject o))--instance ToJSON PySparkJobProperties where-        toJSON = toJSON . _psjpAddtional---- | The location of diagnostic output.------ /See:/ 'diagnoseClusterResults' smart constructor.-newtype DiagnoseClusterResults =-  DiagnoseClusterResults'-    { _dcrOutputURI :: Maybe Text-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'DiagnoseClusterResults' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dcrOutputURI'-diagnoseClusterResults-    :: DiagnoseClusterResults-diagnoseClusterResults = DiagnoseClusterResults' {_dcrOutputURI = Nothing}----- | Output only. The Cloud Storage URI of the diagnostic output. The output--- report is a plain text file with a summary of collected diagnostics.-dcrOutputURI :: Lens' DiagnoseClusterResults (Maybe Text)-dcrOutputURI-  = lens _dcrOutputURI (\ s a -> s{_dcrOutputURI = a})--instance FromJSON DiagnoseClusterResults where-        parseJSON-          = withObject "DiagnoseClusterResults"-              (\ o ->-                 DiagnoseClusterResults' <$> (o .:? "outputUri"))--instance ToJSON DiagnoseClusterResults where-        toJSON DiagnoseClusterResults'{..}-          = object-              (catMaybes [("outputUri" .=) <$> _dcrOutputURI])---- | Optional. The config settings for Compute Engine resources in an--- instance group, such as a master or worker group.------ /See:/ 'instanceGroupConfig' smart constructor.-data InstanceGroupConfig =-  InstanceGroupConfig'-    { _igcNumInstances       :: !(Maybe (Textual Int32))-    , _igcDiskConfig         :: !(Maybe DiskConfig)-    , _igcIsPreemptible      :: !(Maybe Bool)-    , _igcImageURI           :: !(Maybe Text)-    , _igcAccelerators       :: !(Maybe [AcceleratorConfig])-    , _igcInstanceNames      :: !(Maybe [Text])-    , _igcManagedGroupConfig :: !(Maybe ManagedGroupConfig)-    , _igcMachineTypeURI     :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'InstanceGroupConfig' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'igcNumInstances'------ * 'igcDiskConfig'------ * 'igcIsPreemptible'------ * 'igcImageURI'------ * 'igcAccelerators'------ * 'igcInstanceNames'------ * 'igcManagedGroupConfig'------ * 'igcMachineTypeURI'-instanceGroupConfig-    :: InstanceGroupConfig-instanceGroupConfig =-  InstanceGroupConfig'-    { _igcNumInstances = Nothing-    , _igcDiskConfig = Nothing-    , _igcIsPreemptible = Nothing-    , _igcImageURI = Nothing-    , _igcAccelerators = Nothing-    , _igcInstanceNames = Nothing-    , _igcManagedGroupConfig = Nothing-    , _igcMachineTypeURI = Nothing-    }----- | Optional. The number of VM instances in the instance group. For master--- instance groups, must be set to 1.-igcNumInstances :: Lens' InstanceGroupConfig (Maybe Int32)-igcNumInstances-  = lens _igcNumInstances-      (\ s a -> s{_igcNumInstances = a})-      . mapping _Coerce---- | Optional. Disk option config settings.-igcDiskConfig :: Lens' InstanceGroupConfig (Maybe DiskConfig)-igcDiskConfig-  = lens _igcDiskConfig-      (\ s a -> s{_igcDiskConfig = a})---- | Optional. Specifies that this instance group contains preemptible--- instances.-igcIsPreemptible :: Lens' InstanceGroupConfig (Maybe Bool)-igcIsPreemptible-  = lens _igcIsPreemptible-      (\ s a -> s{_igcIsPreemptible = a})---- | Optional. The Compute Engine image resource used for cluster instances.--- It can be specified or may be inferred from--- SoftwareConfig.image_version.-igcImageURI :: Lens' InstanceGroupConfig (Maybe Text)-igcImageURI-  = lens _igcImageURI (\ s a -> s{_igcImageURI = a})---- | Optional. The Compute Engine accelerator configuration for these--- instances.Beta Feature: This feature is still under development. It may--- be changed before final release.-igcAccelerators :: Lens' InstanceGroupConfig [AcceleratorConfig]-igcAccelerators-  = lens _igcAccelerators-      (\ s a -> s{_igcAccelerators = a})-      . _Default-      . _Coerce---- | Output only. The list of instance names. Cloud Dataproc derives the--- names from cluster_name, num_instances, and the instance group.-igcInstanceNames :: Lens' InstanceGroupConfig [Text]-igcInstanceNames-  = lens _igcInstanceNames-      (\ s a -> s{_igcInstanceNames = a})-      . _Default-      . _Coerce---- | Output only. The config for Compute Engine Instance Group Manager that--- manages this group. This is only used for preemptible instance groups.-igcManagedGroupConfig :: Lens' InstanceGroupConfig (Maybe ManagedGroupConfig)-igcManagedGroupConfig-  = lens _igcManagedGroupConfig-      (\ s a -> s{_igcManagedGroupConfig = a})---- | Optional. The Compute Engine machine type used for cluster instances.A--- full URL, partial URI, or short name are valid. Examples:--- https:\/\/www.googleapis.com\/compute\/v1\/projects\/[project_id]\/zones\/us-east1-a\/machineTypes\/n1-standard-2--- projects\/[project_id]\/zones\/us-east1-a\/machineTypes\/n1-standard-2--- n1-standard-2Auto Zone Exception: If you are using the Cloud Dataproc--- Auto Zone Placement feature, you must use the short name of the machine--- type resource, for example, n1-standard-2.-igcMachineTypeURI :: Lens' InstanceGroupConfig (Maybe Text)-igcMachineTypeURI-  = lens _igcMachineTypeURI-      (\ s a -> s{_igcMachineTypeURI = a})--instance FromJSON InstanceGroupConfig where-        parseJSON-          = withObject "InstanceGroupConfig"-              (\ o ->-                 InstanceGroupConfig' <$>-                   (o .:? "numInstances") <*> (o .:? "diskConfig") <*>-                     (o .:? "isPreemptible")-                     <*> (o .:? "imageUri")-                     <*> (o .:? "accelerators" .!= mempty)-                     <*> (o .:? "instanceNames" .!= mempty)-                     <*> (o .:? "managedGroupConfig")-                     <*> (o .:? "machineTypeUri"))--instance ToJSON InstanceGroupConfig where-        toJSON InstanceGroupConfig'{..}-          = object-              (catMaybes-                 [("numInstances" .=) <$> _igcNumInstances,-                  ("diskConfig" .=) <$> _igcDiskConfig,-                  ("isPreemptible" .=) <$> _igcIsPreemptible,-                  ("imageUri" .=) <$> _igcImageURI,-                  ("accelerators" .=) <$> _igcAccelerators,-                  ("instanceNames" .=) <$> _igcInstanceNames,-                  ("managedGroupConfig" .=) <$> _igcManagedGroupConfig,-                  ("machineTypeUri" .=) <$> _igcMachineTypeURI])---- | A Cloud Dataproc job for running Apache Spark--- (http:\/\/spark.apache.org\/) applications on YARN.------ /See:/ 'sparkJob' smart constructor.-data SparkJob =-  SparkJob'-    { _sjArgs           :: !(Maybe [Text])-    , _sjMainJarFileURI :: !(Maybe Text)-    , _sjJarFileURIs    :: !(Maybe [Text])-    , _sjFileURIs       :: !(Maybe [Text])-    , _sjArchiveURIs    :: !(Maybe [Text])-    , _sjMainClass      :: !(Maybe Text)-    , _sjLoggingConfig  :: !(Maybe LoggingConfig)-    , _sjProperties     :: !(Maybe SparkJobProperties)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'SparkJob' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'sjArgs'------ * 'sjMainJarFileURI'------ * 'sjJarFileURIs'------ * 'sjFileURIs'------ * 'sjArchiveURIs'------ * 'sjMainClass'------ * 'sjLoggingConfig'------ * 'sjProperties'-sparkJob-    :: SparkJob-sparkJob =-  SparkJob'-    { _sjArgs = Nothing-    , _sjMainJarFileURI = Nothing-    , _sjJarFileURIs = Nothing-    , _sjFileURIs = Nothing-    , _sjArchiveURIs = Nothing-    , _sjMainClass = Nothing-    , _sjLoggingConfig = Nothing-    , _sjProperties = Nothing-    }----- | Optional. The arguments to pass to the driver. Do not include arguments,--- such as --conf, that can be set as job properties, since a collision may--- occur that causes an incorrect job submission.-sjArgs :: Lens' SparkJob [Text]-sjArgs-  = lens _sjArgs (\ s a -> s{_sjArgs = a}) . _Default .-      _Coerce---- | The HCFS URI of the jar file that contains the main class.-sjMainJarFileURI :: Lens' SparkJob (Maybe Text)-sjMainJarFileURI-  = lens _sjMainJarFileURI-      (\ s a -> s{_sjMainJarFileURI = a})---- | Optional. HCFS URIs of jar files to add to the CLASSPATHs of the Spark--- driver and tasks.-sjJarFileURIs :: Lens' SparkJob [Text]-sjJarFileURIs-  = lens _sjJarFileURIs-      (\ s a -> s{_sjJarFileURIs = a})-      . _Default-      . _Coerce---- | Optional. HCFS URIs of files to be copied to the working directory of--- Spark drivers and distributed tasks. Useful for naively parallel tasks.-sjFileURIs :: Lens' SparkJob [Text]-sjFileURIs-  = lens _sjFileURIs (\ s a -> s{_sjFileURIs = a}) .-      _Default-      . _Coerce---- | Optional. HCFS URIs of archives to be extracted in the working directory--- of Spark drivers and tasks. Supported file types: .jar, .tar, .tar.gz,--- .tgz, and .zip.-sjArchiveURIs :: Lens' SparkJob [Text]-sjArchiveURIs-  = lens _sjArchiveURIs-      (\ s a -> s{_sjArchiveURIs = a})-      . _Default-      . _Coerce---- | The name of the driver\'s main class. The jar file that contains the--- class must be in the default CLASSPATH or specified in jar_file_uris.-sjMainClass :: Lens' SparkJob (Maybe Text)-sjMainClass-  = lens _sjMainClass (\ s a -> s{_sjMainClass = a})---- | Optional. The runtime log config for job execution.-sjLoggingConfig :: Lens' SparkJob (Maybe LoggingConfig)-sjLoggingConfig-  = lens _sjLoggingConfig-      (\ s a -> s{_sjLoggingConfig = a})---- | Optional. A mapping of property names to values, used to configure--- Spark. Properties that conflict with values set by the Cloud Dataproc--- API may be overwritten. Can include properties set in--- \/etc\/spark\/conf\/spark-defaults.conf and classes in user code.-sjProperties :: Lens' SparkJob (Maybe SparkJobProperties)-sjProperties-  = lens _sjProperties (\ s a -> s{_sjProperties = a})--instance FromJSON SparkJob where-        parseJSON-          = withObject "SparkJob"-              (\ o ->-                 SparkJob' <$>-                   (o .:? "args" .!= mempty) <*>-                     (o .:? "mainJarFileUri")-                     <*> (o .:? "jarFileUris" .!= mempty)-                     <*> (o .:? "fileUris" .!= mempty)-                     <*> (o .:? "archiveUris" .!= mempty)-                     <*> (o .:? "mainClass")-                     <*> (o .:? "loggingConfig")-                     <*> (o .:? "properties"))--instance ToJSON SparkJob where-        toJSON SparkJob'{..}-          = object-              (catMaybes-                 [("args" .=) <$> _sjArgs,-                  ("mainJarFileUri" .=) <$> _sjMainJarFileURI,-                  ("jarFileUris" .=) <$> _sjJarFileURIs,-                  ("fileUris" .=) <$> _sjFileURIs,-                  ("archiveUris" .=) <$> _sjArchiveURIs,-                  ("mainClass" .=) <$> _sjMainClass,-                  ("loggingConfig" .=) <$> _sjLoggingConfig,-                  ("properties" .=) <$> _sjProperties])---- | Optional. The properties to set on daemon config files.Property keys are--- specified in prefix:property format, for example core:hadoop.tmp.dir.--- The following are supported prefixes and their mappings:--- capacity-scheduler: capacity-scheduler.xml core: core-site.xml distcp:--- distcp-default.xml hdfs: hdfs-site.xml hive: hive-site.xml mapred:--- mapred-site.xml pig: pig.properties spark: spark-defaults.conf yarn:--- yarn-site.xmlFor more information, see Cluster properties.------ /See:/ 'softwareConfigProperties' smart constructor.-newtype SoftwareConfigProperties =-  SoftwareConfigProperties'-    { _scpAddtional :: HashMap Text Text-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'SoftwareConfigProperties' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'scpAddtional'-softwareConfigProperties-    :: HashMap Text Text -- ^ 'scpAddtional'-    -> SoftwareConfigProperties-softwareConfigProperties pScpAddtional_ =-  SoftwareConfigProperties' {_scpAddtional = _Coerce # pScpAddtional_}---scpAddtional :: Lens' SoftwareConfigProperties (HashMap Text Text)-scpAddtional-  = lens _scpAddtional (\ s a -> s{_scpAddtional = a})-      . _Coerce--instance FromJSON SoftwareConfigProperties where-        parseJSON-          = withObject "SoftwareConfigProperties"-              (\ o ->-                 SoftwareConfigProperties' <$> (parseJSONObject o))--instance ToJSON SoftwareConfigProperties where-        toJSON = toJSON . _scpAddtional---- | The workflow graph.------ /See:/ 'workflowGraph' smart constructor.-newtype WorkflowGraph =-  WorkflowGraph'-    { _wgNodes :: Maybe [WorkflowNode]-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'WorkflowGraph' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'wgNodes'-workflowGraph-    :: WorkflowGraph-workflowGraph = WorkflowGraph' {_wgNodes = Nothing}----- | Output only. The workflow nodes.-wgNodes :: Lens' WorkflowGraph [WorkflowNode]-wgNodes-  = lens _wgNodes (\ s a -> s{_wgNodes = a}) . _Default-      . _Coerce--instance FromJSON WorkflowGraph where-        parseJSON-          = withObject "WorkflowGraph"-              (\ o ->-                 WorkflowGraph' <$> (o .:? "nodes" .!= mempty))--instance ToJSON WorkflowGraph where-        toJSON WorkflowGraph'{..}-          = object (catMaybes [("nodes" .=) <$> _wgNodes])---- | The cluster operation triggered by a workflow.------ /See:/ 'clusterOperation' smart constructor.-data ClusterOperation =-  ClusterOperation'-    { _coDone        :: !(Maybe Bool)-    , _coError       :: !(Maybe Text)-    , _coOperationId :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ClusterOperation' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'coDone'------ * 'coError'------ * 'coOperationId'-clusterOperation-    :: ClusterOperation-clusterOperation =-  ClusterOperation'-    {_coDone = Nothing, _coError = Nothing, _coOperationId = Nothing}----- | Output only. Indicates the operation is done.-coDone :: Lens' ClusterOperation (Maybe Bool)-coDone = lens _coDone (\ s a -> s{_coDone = a})---- | Output only. Error, if operation failed.-coError :: Lens' ClusterOperation (Maybe Text)-coError = lens _coError (\ s a -> s{_coError = a})---- | Output only. The id of the cluster operation.-coOperationId :: Lens' ClusterOperation (Maybe Text)-coOperationId-  = lens _coOperationId-      (\ s a -> s{_coOperationId = a})--instance FromJSON ClusterOperation where-        parseJSON-          = withObject "ClusterOperation"-              (\ o ->-                 ClusterOperation' <$>-                   (o .:? "done") <*> (o .:? "error") <*>-                     (o .:? "operationId"))--instance ToJSON ClusterOperation where-        toJSON ClusterOperation'{..}-          = object-              (catMaybes-                 [("done" .=) <$> _coDone, ("error" .=) <$> _coError,-                  ("operationId" .=) <$> _coOperationId])---- | A selector that chooses target cluster for jobs based on metadata.------ /See:/ 'clusterSelector' smart constructor.-data ClusterSelector =-  ClusterSelector'-    { _csZone          :: !(Maybe Text)-    , _csClusterLabels :: !(Maybe ClusterSelectorClusterLabels)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ClusterSelector' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'csZone'------ * 'csClusterLabels'-clusterSelector-    :: ClusterSelector-clusterSelector =-  ClusterSelector' {_csZone = Nothing, _csClusterLabels = Nothing}----- | Optional. The zone where workflow process executes. This parameter does--- not affect the selection of the cluster.If unspecified, the zone of the--- first cluster matching the selector is used.-csZone :: Lens' ClusterSelector (Maybe Text)-csZone = lens _csZone (\ s a -> s{_csZone = a})---- | Required. The cluster labels. Cluster must have all labels to match.-csClusterLabels :: Lens' ClusterSelector (Maybe ClusterSelectorClusterLabels)-csClusterLabels-  = lens _csClusterLabels-      (\ s a -> s{_csClusterLabels = a})--instance FromJSON ClusterSelector where-        parseJSON-          = withObject "ClusterSelector"-              (\ o ->-                 ClusterSelector' <$>-                   (o .:? "zone") <*> (o .:? "clusterLabels"))--instance ToJSON ClusterSelector where-        toJSON ClusterSelector'{..}-          = object-              (catMaybes-                 [("zone" .=) <$> _csZone,-                  ("clusterLabels" .=) <$> _csClusterLabels])---- | Job scheduling options.------ /See:/ 'jobScheduling' smart constructor.-newtype JobScheduling =-  JobScheduling'-    { _jsMaxFailuresPerHour :: Maybe (Textual Int32)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'JobScheduling' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'jsMaxFailuresPerHour'-jobScheduling-    :: JobScheduling-jobScheduling = JobScheduling' {_jsMaxFailuresPerHour = Nothing}----- | Optional. Maximum number of times per hour a driver may be restarted as--- a result of driver terminating with non-zero code before job is reported--- failed.A job may be reported as thrashing if driver exits with non-zero--- code 4 times within 10 minute window.Maximum value is 10.-jsMaxFailuresPerHour :: Lens' JobScheduling (Maybe Int32)-jsMaxFailuresPerHour-  = lens _jsMaxFailuresPerHour-      (\ s a -> s{_jsMaxFailuresPerHour = a})-      . mapping _Coerce--instance FromJSON JobScheduling where-        parseJSON-          = withObject "JobScheduling"-              (\ o ->-                 JobScheduling' <$> (o .:? "maxFailuresPerHour"))--instance ToJSON JobScheduling where-        toJSON JobScheduling'{..}-          = object-              (catMaybes-                 [("maxFailuresPerHour" .=) <$>-                    _jsMaxFailuresPerHour])---- | Specifies the config of disk options for a group of VM instances.------ /See:/ 'diskConfig' smart constructor.-data DiskConfig =-  DiskConfig'-    { _dcNumLocalSsds   :: !(Maybe (Textual Int32))-    , _dcBootDiskType   :: !(Maybe Text)-    , _dcBootDiskSizeGb :: !(Maybe (Textual Int32))-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'DiskConfig' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dcNumLocalSsds'------ * 'dcBootDiskType'------ * 'dcBootDiskSizeGb'-diskConfig-    :: DiskConfig-diskConfig =-  DiskConfig'-    { _dcNumLocalSsds = Nothing-    , _dcBootDiskType = Nothing-    , _dcBootDiskSizeGb = Nothing-    }----- | Optional. Number of attached SSDs, from 0 to 4 (default is 0). If SSDs--- are not attached, the boot disk is used to store runtime logs and HDFS--- (https:\/\/hadoop.apache.org\/docs\/r1.2.1\/hdfs_user_guide.html) data.--- If one or more SSDs are attached, this runtime bulk data is spread--- across them, and the boot disk contains only basic config and installed--- binaries.-dcNumLocalSsds :: Lens' DiskConfig (Maybe Int32)-dcNumLocalSsds-  = lens _dcNumLocalSsds-      (\ s a -> s{_dcNumLocalSsds = a})-      . mapping _Coerce---- | Optional. Type of the boot disk (default is \"pd-standard\"). Valid--- values: \"pd-ssd\" (Persistent Disk Solid State Drive) or--- \"pd-standard\" (Persistent Disk Hard Disk Drive).-dcBootDiskType :: Lens' DiskConfig (Maybe Text)-dcBootDiskType-  = lens _dcBootDiskType-      (\ s a -> s{_dcBootDiskType = a})---- | Optional. Size in GB of the boot disk (default is 500GB).-dcBootDiskSizeGb :: Lens' DiskConfig (Maybe Int32)-dcBootDiskSizeGb-  = lens _dcBootDiskSizeGb-      (\ s a -> s{_dcBootDiskSizeGb = a})-      . mapping _Coerce--instance FromJSON DiskConfig where-        parseJSON-          = withObject "DiskConfig"-              (\ o ->-                 DiskConfig' <$>-                   (o .:? "numLocalSsds") <*> (o .:? "bootDiskType") <*>-                     (o .:? "bootDiskSizeGb"))--instance ToJSON DiskConfig where-        toJSON DiskConfig'{..}-          = object-              (catMaybes-                 [("numLocalSsds" .=) <$> _dcNumLocalSsds,-                  ("bootDiskType" .=) <$> _dcBootDiskType,-                  ("bootDiskSizeGb" .=) <$> _dcBootDiskSizeGb])---- | Output only. Labels associated with the operation------ /See:/ 'clusterOperationMetadataLabels' smart constructor.-newtype ClusterOperationMetadataLabels =-  ClusterOperationMetadataLabels'-    { _comlAddtional :: HashMap Text Text-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ClusterOperationMetadataLabels' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'comlAddtional'-clusterOperationMetadataLabels-    :: HashMap Text Text -- ^ 'comlAddtional'-    -> ClusterOperationMetadataLabels-clusterOperationMetadataLabels pComlAddtional_ =-  ClusterOperationMetadataLabels' {_comlAddtional = _Coerce # pComlAddtional_}---comlAddtional :: Lens' ClusterOperationMetadataLabels (HashMap Text Text)-comlAddtional-  = lens _comlAddtional-      (\ s a -> s{_comlAddtional = a})-      . _Coerce--instance FromJSON ClusterOperationMetadataLabels-         where-        parseJSON-          = withObject "ClusterOperationMetadataLabels"-              (\ o ->-                 ClusterOperationMetadataLabels' <$>-                   (parseJSONObject o))--instance ToJSON ClusterOperationMetadataLabels where-        toJSON = toJSON . _comlAddtional---- | Represents an expression text. Example: title: \"User account presence\"--- description: \"Determines whether the request has a user account\"--- expression: \"size(request.user) > 0\"------ /See:/ 'expr' smart constructor.-data Expr =-  Expr'-    { _eLocation    :: !(Maybe Text)-    , _eExpression  :: !(Maybe Text)-    , _eTitle       :: !(Maybe Text)-    , _eDescription :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'Expr' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'eLocation'------ * 'eExpression'------ * 'eTitle'------ * 'eDescription'-expr-    :: Expr-expr =-  Expr'-    { _eLocation = Nothing-    , _eExpression = Nothing-    , _eTitle = Nothing-    , _eDescription = Nothing-    }----- | An optional string indicating the location of the expression for error--- reporting, e.g. a file name and a position in the file.-eLocation :: Lens' Expr (Maybe Text)-eLocation-  = lens _eLocation (\ s a -> s{_eLocation = a})---- | Textual representation of an expression in Common Expression Language--- syntax.The application context of the containing message determines--- which well-known feature set of CEL is supported.-eExpression :: Lens' Expr (Maybe Text)-eExpression-  = lens _eExpression (\ s a -> s{_eExpression = a})---- | An 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.-eTitle :: Lens' Expr (Maybe Text)-eTitle = lens _eTitle (\ s a -> s{_eTitle = a})---- | An optional description of the expression. This is a longer text which--- describes the expression, e.g. when hovered over it in a UI.-eDescription :: Lens' Expr (Maybe Text)-eDescription-  = lens _eDescription (\ s a -> s{_eDescription = a})--instance FromJSON Expr where-        parseJSON-          = withObject "Expr"-              (\ o ->-                 Expr' <$>-                   (o .:? "location") <*> (o .:? "expression") <*>-                     (o .:? "title")-                     <*> (o .:? "description"))--instance ToJSON Expr where-        toJSON Expr'{..}-          = object-              (catMaybes-                 [("location" .=) <$> _eLocation,-                  ("expression" .=) <$> _eExpression,-                  ("title" .=) <$> _eTitle,-                  ("description" .=) <$> _eDescription])---- | The response message for Operations.ListOperations.------ /See:/ 'listOperationsResponse' smart constructor.-data ListOperationsResponse =-  ListOperationsResponse'-    { _lorNextPageToken :: !(Maybe Text)-    , _lorOperations    :: !(Maybe [Operation])-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ListOperationsResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lorNextPageToken'------ * 'lorOperations'-listOperationsResponse-    :: ListOperationsResponse-listOperationsResponse =-  ListOperationsResponse'-    {_lorNextPageToken = Nothing, _lorOperations = Nothing}----- | The standard List next-page token.-lorNextPageToken :: Lens' ListOperationsResponse (Maybe Text)-lorNextPageToken-  = lens _lorNextPageToken-      (\ s a -> s{_lorNextPageToken = a})---- | A list of operations that matches the specified filter in the request.-lorOperations :: Lens' ListOperationsResponse [Operation]-lorOperations-  = lens _lorOperations-      (\ s a -> s{_lorOperations = a})-      . _Default-      . _Coerce--instance FromJSON ListOperationsResponse where-        parseJSON-          = withObject "ListOperationsResponse"-              (\ o ->-                 ListOperationsResponse' <$>-                   (o .:? "nextPageToken") <*>-                     (o .:? "operations" .!= mempty))--instance ToJSON ListOperationsResponse where-        toJSON ListOperationsResponse'{..}-          = object-              (catMaybes-                 [("nextPageToken" .=) <$> _lorNextPageToken,-                  ("operations" .=) <$> _lorOperations])---- | Optional. Mapping of query variable names to values (equivalent to the--- Hive command: SET name=\"value\";).------ /See:/ 'hiveJobScriptVariables' smart constructor.-newtype HiveJobScriptVariables =-  HiveJobScriptVariables'-    { _hjsvAddtional :: HashMap Text Text-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'HiveJobScriptVariables' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'hjsvAddtional'-hiveJobScriptVariables-    :: HashMap Text Text -- ^ 'hjsvAddtional'-    -> HiveJobScriptVariables-hiveJobScriptVariables pHjsvAddtional_ =-  HiveJobScriptVariables' {_hjsvAddtional = _Coerce # pHjsvAddtional_}---hjsvAddtional :: Lens' HiveJobScriptVariables (HashMap Text Text)-hjsvAddtional-  = lens _hjsvAddtional-      (\ s a -> s{_hjsvAddtional = a})-      . _Coerce--instance FromJSON HiveJobScriptVariables where-        parseJSON-          = withObject "HiveJobScriptVariables"-              (\ o ->-                 HiveJobScriptVariables' <$> (parseJSONObject o))--instance ToJSON HiveJobScriptVariables where-        toJSON = toJSON . _hjsvAddtional---- | Request message for GetIamPolicy method.------ /See:/ 'getIAMPolicyRequest' smart constructor.-data GetIAMPolicyRequest =-  GetIAMPolicyRequest'-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GetIAMPolicyRequest' with the minimum fields required to make a request.----getIAMPolicyRequest-    :: GetIAMPolicyRequest-getIAMPolicyRequest = GetIAMPolicyRequest'---instance FromJSON GetIAMPolicyRequest where-        parseJSON-          = withObject "GetIAMPolicyRequest"-              (\ o -> pure GetIAMPolicyRequest')--instance ToJSON GetIAMPolicyRequest where-        toJSON = const emptyObject---- | Specifies workflow execution target.Either managed_cluster or--- cluster_selector is required.------ /See:/ 'workflowTemplatePlacement' smart constructor.-data WorkflowTemplatePlacement =-  WorkflowTemplatePlacement'-    { _wtpClusterSelector :: !(Maybe ClusterSelector)-    , _wtpManagedCluster  :: !(Maybe ManagedCluster)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'WorkflowTemplatePlacement' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'wtpClusterSelector'------ * 'wtpManagedCluster'-workflowTemplatePlacement-    :: WorkflowTemplatePlacement-workflowTemplatePlacement =-  WorkflowTemplatePlacement'-    {_wtpClusterSelector = Nothing, _wtpManagedCluster = Nothing}----- | Optional. A selector that chooses target cluster for jobs based on--- metadata.The selector is evaluated at the time each job is submitted.-wtpClusterSelector :: Lens' WorkflowTemplatePlacement (Maybe ClusterSelector)-wtpClusterSelector-  = lens _wtpClusterSelector-      (\ s a -> s{_wtpClusterSelector = a})---- | Optional. A cluster that is managed by the workflow.-wtpManagedCluster :: Lens' WorkflowTemplatePlacement (Maybe ManagedCluster)-wtpManagedCluster-  = lens _wtpManagedCluster-      (\ s a -> s{_wtpManagedCluster = a})--instance FromJSON WorkflowTemplatePlacement where-        parseJSON-          = withObject "WorkflowTemplatePlacement"-              (\ o ->-                 WorkflowTemplatePlacement' <$>-                   (o .:? "clusterSelector") <*>-                     (o .:? "managedCluster"))--instance ToJSON WorkflowTemplatePlacement where-        toJSON WorkflowTemplatePlacement'{..}-          = object-              (catMaybes-                 [("clusterSelector" .=) <$> _wtpClusterSelector,-                  ("managedCluster" .=) <$> _wtpManagedCluster])---- | Describes the identifying information, config, and status of a cluster--- of Compute Engine instances.------ /See:/ 'cluster' smart constructor.-data Cluster =-  Cluster'-    { _cStatus        :: !(Maybe ClusterStatus)-    , _cMetrics       :: !(Maybe ClusterMetrics)-    , _cClusterUuid   :: !(Maybe Text)-    , _cConfig        :: !(Maybe ClusterConfig)-    , _cClusterName   :: !(Maybe Text)-    , _cLabels        :: !(Maybe ClusterLabels)-    , _cProjectId     :: !(Maybe Text)-    , _cStatusHistory :: !(Maybe [ClusterStatus])-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'Cluster' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cStatus'------ * 'cMetrics'------ * 'cClusterUuid'------ * 'cConfig'------ * 'cClusterName'------ * 'cLabels'------ * 'cProjectId'------ * 'cStatusHistory'-cluster-    :: Cluster-cluster =-  Cluster'-    { _cStatus = Nothing-    , _cMetrics = Nothing-    , _cClusterUuid = Nothing-    , _cConfig = Nothing-    , _cClusterName = Nothing-    , _cLabels = Nothing-    , _cProjectId = Nothing-    , _cStatusHistory = Nothing-    }----- | Output only. Cluster status.-cStatus :: Lens' Cluster (Maybe ClusterStatus)-cStatus = lens _cStatus (\ s a -> s{_cStatus = a})---- | Contains cluster daemon metrics such as HDFS and YARN stats.Beta--- Feature: This report is available for testing purposes only. It may be--- changed before final release.-cMetrics :: Lens' Cluster (Maybe ClusterMetrics)-cMetrics = lens _cMetrics (\ s a -> s{_cMetrics = a})---- | Output only. A cluster UUID (Unique Universal Identifier). Cloud--- Dataproc generates this value when it creates the cluster.-cClusterUuid :: Lens' Cluster (Maybe Text)-cClusterUuid-  = lens _cClusterUuid (\ s a -> s{_cClusterUuid = a})---- | Required. The cluster config. Note that Cloud Dataproc may set default--- values, and values may change when clusters are updated.-cConfig :: Lens' Cluster (Maybe ClusterConfig)-cConfig = lens _cConfig (\ s a -> s{_cConfig = a})---- | Required. The cluster name. Cluster names within a project must be--- unique. Names of deleted clusters can be reused.-cClusterName :: Lens' Cluster (Maybe Text)-cClusterName-  = lens _cClusterName (\ s a -> s{_cClusterName = a})---- | Optional. The labels to associate with this cluster. Label keys must--- contain 1 to 63 characters, and must conform to RFC 1035--- (https:\/\/www.ietf.org\/rfc\/rfc1035.txt). Label values may be empty,--- but, if present, must contain 1 to 63 characters, and must conform to--- RFC 1035 (https:\/\/www.ietf.org\/rfc\/rfc1035.txt). No more than 32--- labels can be associated with a cluster.-cLabels :: Lens' Cluster (Maybe ClusterLabels)-cLabels = lens _cLabels (\ s a -> s{_cLabels = a})---- | Required. The Google Cloud Platform project ID that the cluster belongs--- to.-cProjectId :: Lens' Cluster (Maybe Text)-cProjectId-  = lens _cProjectId (\ s a -> s{_cProjectId = a})---- | Output only. The previous cluster status.-cStatusHistory :: Lens' Cluster [ClusterStatus]-cStatusHistory-  = lens _cStatusHistory-      (\ s a -> s{_cStatusHistory = a})-      . _Default-      . _Coerce--instance FromJSON Cluster where-        parseJSON-          = withObject "Cluster"-              (\ o ->-                 Cluster' <$>-                   (o .:? "status") <*> (o .:? "metrics") <*>-                     (o .:? "clusterUuid")-                     <*> (o .:? "config")-                     <*> (o .:? "clusterName")-                     <*> (o .:? "labels")-                     <*> (o .:? "projectId")-                     <*> (o .:? "statusHistory" .!= mempty))--instance ToJSON Cluster where-        toJSON Cluster'{..}-          = object-              (catMaybes-                 [("status" .=) <$> _cStatus,-                  ("metrics" .=) <$> _cMetrics,-                  ("clusterUuid" .=) <$> _cClusterUuid,-                  ("config" .=) <$> _cConfig,-                  ("clusterName" .=) <$> _cClusterName,-                  ("labels" .=) <$> _cLabels,-                  ("projectId" .=) <$> _cProjectId,-                  ("statusHistory" .=) <$> _cStatusHistory])---- | Optional. The labels to associate with this cluster.Label keys must be--- between 1 and 63 characters long, and must conform to the following PCRE--- regular expression: \\p{Ll}\\p{Lo}{0,62}Label values must be between 1--- and 63 characters long, and must conform to the following PCRE regular--- expression: \\p{Ll}\\p{Lo}\\p{N}_-{0,63}No more than 32 labels can be--- associated with a given cluster.------ /See:/ 'managedClusterLabels' smart constructor.-newtype ManagedClusterLabels =-  ManagedClusterLabels'-    { _mclAddtional :: HashMap Text Text-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ManagedClusterLabels' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'mclAddtional'-managedClusterLabels-    :: HashMap Text Text -- ^ 'mclAddtional'-    -> ManagedClusterLabels-managedClusterLabels pMclAddtional_ =-  ManagedClusterLabels' {_mclAddtional = _Coerce # pMclAddtional_}---mclAddtional :: Lens' ManagedClusterLabels (HashMap Text Text)-mclAddtional-  = lens _mclAddtional (\ s a -> s{_mclAddtional = a})-      . _Coerce--instance FromJSON ManagedClusterLabels where-        parseJSON-          = withObject "ManagedClusterLabels"-              (\ o ->-                 ManagedClusterLabels' <$> (parseJSONObject o))--instance ToJSON ManagedClusterLabels where-        toJSON = toJSON . _mclAddtional---- | Configuration for parameter validation.------ /See:/ 'parameterValidation' smart constructor.-data ParameterValidation =-  ParameterValidation'-    { _pvRegex  :: !(Maybe RegexValidation)-    , _pvValues :: !(Maybe ValueValidation)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ParameterValidation' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pvRegex'------ * 'pvValues'-parameterValidation-    :: ParameterValidation-parameterValidation =-  ParameterValidation' {_pvRegex = Nothing, _pvValues = Nothing}----- | Validation based on regular expressions.-pvRegex :: Lens' ParameterValidation (Maybe RegexValidation)-pvRegex = lens _pvRegex (\ s a -> s{_pvRegex = a})---- | Validation based on a list of allowed values.-pvValues :: Lens' ParameterValidation (Maybe ValueValidation)-pvValues = lens _pvValues (\ s a -> s{_pvValues = a})--instance FromJSON ParameterValidation where-        parseJSON-          = withObject "ParameterValidation"-              (\ o ->-                 ParameterValidation' <$>-                   (o .:? "regex") <*> (o .:? "values"))--instance ToJSON ParameterValidation where-        toJSON ParameterValidation'{..}-          = object-              (catMaybes-                 [("regex" .=) <$> _pvRegex,-                  ("values" .=) <$> _pvValues])---- | Optional. The labels to associate with this job. Label keys must contain--- 1 to 63 characters, and must conform to RFC 1035--- (https:\/\/www.ietf.org\/rfc\/rfc1035.txt). Label values may be empty,--- but, if present, must contain 1 to 63 characters, and must conform to--- RFC 1035 (https:\/\/www.ietf.org\/rfc\/rfc1035.txt). No more than 32--- labels can be associated with a job.------ /See:/ 'jobLabels' smart constructor.-newtype JobLabels =-  JobLabels'-    { _jlAddtional :: HashMap Text Text-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'JobLabels' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'jlAddtional'-jobLabels-    :: HashMap Text Text -- ^ 'jlAddtional'-    -> JobLabels-jobLabels pJlAddtional_ = JobLabels' {_jlAddtional = _Coerce # pJlAddtional_}---jlAddtional :: Lens' JobLabels (HashMap Text Text)-jlAddtional-  = lens _jlAddtional (\ s a -> s{_jlAddtional = a}) .-      _Coerce--instance FromJSON JobLabels where-        parseJSON-          = withObject "JobLabels"-              (\ o -> JobLabels' <$> (parseJSONObject o))--instance ToJSON JobLabels where-        toJSON = toJSON . _jlAddtional---- | A request to submit a job.------ /See:/ 'submitJobRequest' smart constructor.-data SubmitJobRequest =-  SubmitJobRequest'-    { _sjrRequestId :: !(Maybe Text)-    , _sjrJob       :: !(Maybe Job)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'SubmitJobRequest' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'sjrRequestId'------ * 'sjrJob'-submitJobRequest-    :: SubmitJobRequest-submitJobRequest =-  SubmitJobRequest' {_sjrRequestId = Nothing, _sjrJob = Nothing}----- | Optional. A unique id used to identify the request. If the server--- receives two SubmitJobRequest requests with the same id, then the second--- request will be ignored and the first Job created and stored in the--- backend is returned.It is recommended to always set this value to a UUID--- (https:\/\/en.wikipedia.org\/wiki\/Universally_unique_identifier).The id--- must contain only letters (a-z, A-Z), numbers (0-9), underscores (_),--- and hyphens (-). The maximum length is 40 characters.-sjrRequestId :: Lens' SubmitJobRequest (Maybe Text)-sjrRequestId-  = lens _sjrRequestId (\ s a -> s{_sjrRequestId = a})---- | Required. The job resource.-sjrJob :: Lens' SubmitJobRequest (Maybe Job)-sjrJob = lens _sjrJob (\ s a -> s{_sjrJob = a})--instance FromJSON SubmitJobRequest where-        parseJSON-          = withObject "SubmitJobRequest"-              (\ o ->-                 SubmitJobRequest' <$>-                   (o .:? "requestId") <*> (o .:? "job"))--instance ToJSON SubmitJobRequest where-        toJSON SubmitJobRequest'{..}-          = object-              (catMaybes-                 [("requestId" .=) <$> _sjrRequestId,-                  ("job" .=) <$> _sjrJob])---- | Contains cluster daemon metrics, such as HDFS and YARN stats.Beta--- Feature: This report is available for testing purposes only. It may be--- changed before final release.------ /See:/ 'clusterMetrics' smart constructor.-data ClusterMetrics =-  ClusterMetrics'-    { _cmYarnMetrics :: !(Maybe ClusterMetricsYarnMetrics)-    , _cmHdfsMetrics :: !(Maybe ClusterMetricsHdfsMetrics)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ClusterMetrics' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cmYarnMetrics'------ * 'cmHdfsMetrics'-clusterMetrics-    :: ClusterMetrics-clusterMetrics =-  ClusterMetrics' {_cmYarnMetrics = Nothing, _cmHdfsMetrics = Nothing}----- | The YARN metrics.-cmYarnMetrics :: Lens' ClusterMetrics (Maybe ClusterMetricsYarnMetrics)-cmYarnMetrics-  = lens _cmYarnMetrics-      (\ s a -> s{_cmYarnMetrics = a})---- | The HDFS metrics.-cmHdfsMetrics :: Lens' ClusterMetrics (Maybe ClusterMetricsHdfsMetrics)-cmHdfsMetrics-  = lens _cmHdfsMetrics-      (\ s a -> s{_cmHdfsMetrics = a})--instance FromJSON ClusterMetrics where-        parseJSON-          = withObject "ClusterMetrics"-              (\ o ->-                 ClusterMetrics' <$>-                   (o .:? "yarnMetrics") <*> (o .:? "hdfsMetrics"))--instance ToJSON ClusterMetrics where-        toJSON ClusterMetrics'{..}-          = object-              (catMaybes-                 [("yarnMetrics" .=) <$> _cmYarnMetrics,-                  ("hdfsMetrics" .=) <$> _cmHdfsMetrics])---- | This resource represents a long-running operation that is the result of--- a network API call.------ /See:/ 'operation' smart constructor.-data Operation =-  Operation'-    { _oDone     :: !(Maybe Bool)-    , _oError    :: !(Maybe Status)-    , _oResponse :: !(Maybe OperationResponse)-    , _oName     :: !(Maybe Text)-    , _oMetadata :: !(Maybe OperationMetadata)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'Operation' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'oDone'------ * 'oError'------ * 'oResponse'------ * 'oName'------ * 'oMetadata'-operation-    :: Operation-operation =-  Operation'-    { _oDone = Nothing-    , _oError = Nothing-    , _oResponse = Nothing-    , _oName = Nothing-    , _oMetadata = Nothing-    }----- | If the value is false, it means the operation is still in progress. If--- true, the operation is completed, and either error or response is--- available.-oDone :: Lens' Operation (Maybe Bool)-oDone = lens _oDone (\ s a -> s{_oDone = a})---- | The error result of the operation in case of failure or cancellation.-oError :: Lens' Operation (Maybe Status)-oError = lens _oError (\ s a -> s{_oError = a})---- | The normal response of the operation in case of success. If the original--- method returns no data on success, such as Delete, the response is--- google.protobuf.Empty. If the original method is standard--- Get\/Create\/Update, the response should be the resource. For other--- methods, the response should have the type XxxResponse, where Xxx is the--- original method name. For example, if the original method name is--- TakeSnapshot(), the inferred response type is TakeSnapshotResponse.-oResponse :: Lens' Operation (Maybe OperationResponse)-oResponse-  = lens _oResponse (\ s a -> s{_oResponse = a})---- | The server-assigned name, which is only unique within the same service--- that originally returns it. If you use the default HTTP mapping, the--- name should have the format of operations\/some\/unique\/name.-oName :: Lens' Operation (Maybe Text)-oName = lens _oName (\ s a -> s{_oName = a})---- | Service-specific metadata associated with the operation. It typically--- contains progress information and common metadata such as create time.--- Some services might not provide such metadata. Any method that returns a--- long-running operation should document the metadata type, if any.-oMetadata :: Lens' Operation (Maybe OperationMetadata)-oMetadata-  = lens _oMetadata (\ s a -> s{_oMetadata = a})--instance FromJSON Operation where-        parseJSON-          = withObject "Operation"-              (\ o ->-                 Operation' <$>-                   (o .:? "done") <*> (o .:? "error") <*>-                     (o .:? "response")-                     <*> (o .:? "name")-                     <*> (o .:? "metadata"))--instance ToJSON Operation where-        toJSON Operation'{..}-          = object-              (catMaybes-                 [("done" .=) <$> _oDone, ("error" .=) <$> _oError,-                  ("response" .=) <$> _oResponse,-                  ("name" .=) <$> _oName,-                  ("metadata" .=) <$> _oMetadata])---- | A generic empty message that you can re-use to avoid defining duplicated--- empty messages in your APIs. A typical example is to use it as the--- request or the response type of an API method. For instance: service Foo--- { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The--- JSON representation for Empty is empty JSON object {}.------ /See:/ 'empty' smart constructor.-data Empty =-  Empty'-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'Empty' with the minimum fields required to make a request.----empty-    :: Empty-empty = Empty'---instance FromJSON Empty where-        parseJSON = withObject "Empty" (\ o -> pure Empty')--instance ToJSON Empty where-        toJSON = const emptyObject---- | A Cloud Dataproc job for running Apache Hive--- (https:\/\/hive.apache.org\/) queries on YARN.------ /See:/ 'hiveJob' smart constructor.-data HiveJob =-  HiveJob'-    { _hjQueryFileURI      :: !(Maybe Text)-    , _hjJarFileURIs       :: !(Maybe [Text])-    , _hjScriptVariables   :: !(Maybe HiveJobScriptVariables)-    , _hjQueryList         :: !(Maybe QueryList)-    , _hjContinueOnFailure :: !(Maybe Bool)-    , _hjProperties        :: !(Maybe HiveJobProperties)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'HiveJob' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'hjQueryFileURI'------ * 'hjJarFileURIs'------ * 'hjScriptVariables'------ * 'hjQueryList'------ * 'hjContinueOnFailure'------ * 'hjProperties'-hiveJob-    :: HiveJob-hiveJob =-  HiveJob'-    { _hjQueryFileURI = Nothing-    , _hjJarFileURIs = Nothing-    , _hjScriptVariables = Nothing-    , _hjQueryList = Nothing-    , _hjContinueOnFailure = Nothing-    , _hjProperties = Nothing-    }----- | The HCFS URI of the script that contains Hive queries.-hjQueryFileURI :: Lens' HiveJob (Maybe Text)-hjQueryFileURI-  = lens _hjQueryFileURI-      (\ s a -> s{_hjQueryFileURI = a})---- | Optional. HCFS URIs of jar files to add to the CLASSPATH of the Hive--- server and Hadoop MapReduce (MR) tasks. Can contain Hive SerDes and--- UDFs.-hjJarFileURIs :: Lens' HiveJob [Text]-hjJarFileURIs-  = lens _hjJarFileURIs-      (\ s a -> s{_hjJarFileURIs = a})-      . _Default-      . _Coerce---- | Optional. Mapping of query variable names to values (equivalent to the--- Hive command: SET name=\"value\";).-hjScriptVariables :: Lens' HiveJob (Maybe HiveJobScriptVariables)-hjScriptVariables-  = lens _hjScriptVariables-      (\ s a -> s{_hjScriptVariables = a})---- | A list of queries.-hjQueryList :: Lens' HiveJob (Maybe QueryList)-hjQueryList-  = lens _hjQueryList (\ s a -> s{_hjQueryList = a})---- | Optional. Whether to continue executing queries if a query fails. The--- default value is false. Setting to true can be useful when executing--- independent parallel queries.-hjContinueOnFailure :: Lens' HiveJob (Maybe Bool)-hjContinueOnFailure-  = lens _hjContinueOnFailure-      (\ s a -> s{_hjContinueOnFailure = a})---- | Optional. A mapping of property names and values, used to configure--- Hive. Properties that conflict with values set by the Cloud Dataproc API--- may be overwritten. Can include properties set in--- \/etc\/hadoop\/conf\/*-site.xml, \/etc\/hive\/conf\/hive-site.xml, and--- classes in user code.-hjProperties :: Lens' HiveJob (Maybe HiveJobProperties)-hjProperties-  = lens _hjProperties (\ s a -> s{_hjProperties = a})--instance FromJSON HiveJob where-        parseJSON-          = withObject "HiveJob"-              (\ o ->-                 HiveJob' <$>-                   (o .:? "queryFileUri") <*>-                     (o .:? "jarFileUris" .!= mempty)-                     <*> (o .:? "scriptVariables")-                     <*> (o .:? "queryList")-                     <*> (o .:? "continueOnFailure")-                     <*> (o .:? "properties"))--instance ToJSON HiveJob where-        toJSON HiveJob'{..}-          = object-              (catMaybes-                 [("queryFileUri" .=) <$> _hjQueryFileURI,-                  ("jarFileUris" .=) <$> _hjJarFileURIs,-                  ("scriptVariables" .=) <$> _hjScriptVariables,-                  ("queryList" .=) <$> _hjQueryList,-                  ("continueOnFailure" .=) <$> _hjContinueOnFailure,-                  ("properties" .=) <$> _hjProperties])---- | Optional. The labels to associate with this job.Label keys must be--- between 1 and 63 characters long, and must conform to the following--- regular expression: \\p{Ll}\\p{Lo}{0,62}Label values must be between 1--- and 63 characters long, and must conform to the following regular--- expression: \\p{Ll}\\p{Lo}\\p{N}_-{0,63}No more than 32 labels can be--- associated with a given job.------ /See:/ 'orderedJobLabels' smart constructor.-newtype OrderedJobLabels =-  OrderedJobLabels'-    { _ojlAddtional :: HashMap Text Text-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'OrderedJobLabels' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ojlAddtional'-orderedJobLabels-    :: HashMap Text Text -- ^ 'ojlAddtional'-    -> OrderedJobLabels-orderedJobLabels pOjlAddtional_ =-  OrderedJobLabels' {_ojlAddtional = _Coerce # pOjlAddtional_}---ojlAddtional :: Lens' OrderedJobLabels (HashMap Text Text)-ojlAddtional-  = lens _ojlAddtional (\ s a -> s{_ojlAddtional = a})-      . _Coerce--instance FromJSON OrderedJobLabels where-        parseJSON-          = withObject "OrderedJobLabels"-              (\ o -> OrderedJobLabels' <$> (parseJSONObject o))--instance ToJSON OrderedJobLabels where-        toJSON = toJSON . _ojlAddtional---- | Required. The cluster labels. Cluster must have all labels to match.------ /See:/ 'clusterSelectorClusterLabels' smart constructor.-newtype ClusterSelectorClusterLabels =-  ClusterSelectorClusterLabels'-    { _csclAddtional :: HashMap Text Text-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ClusterSelectorClusterLabels' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'csclAddtional'-clusterSelectorClusterLabels-    :: HashMap Text Text -- ^ 'csclAddtional'-    -> ClusterSelectorClusterLabels-clusterSelectorClusterLabels pCsclAddtional_ =-  ClusterSelectorClusterLabels' {_csclAddtional = _Coerce # pCsclAddtional_}---csclAddtional :: Lens' ClusterSelectorClusterLabels (HashMap Text Text)-csclAddtional-  = lens _csclAddtional-      (\ s a -> s{_csclAddtional = a})-      . _Coerce--instance FromJSON ClusterSelectorClusterLabels where-        parseJSON-          = withObject "ClusterSelectorClusterLabels"-              (\ o ->-                 ClusterSelectorClusterLabels' <$>-                   (parseJSONObject o))--instance ToJSON ClusterSelectorClusterLabels where-        toJSON = toJSON . _csclAddtional---- | Optional. Mapping of query variable names to values (equivalent to the--- Spark SQL command: SET name=\"value\";).------ /See:/ 'sparkSQLJobScriptVariables' smart constructor.-newtype SparkSQLJobScriptVariables =-  SparkSQLJobScriptVariables'-    { _ssqljsvAddtional :: HashMap Text Text-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'SparkSQLJobScriptVariables' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ssqljsvAddtional'-sparkSQLJobScriptVariables-    :: HashMap Text Text -- ^ 'ssqljsvAddtional'-    -> SparkSQLJobScriptVariables-sparkSQLJobScriptVariables pSsqljsvAddtional_ =-  SparkSQLJobScriptVariables' {_ssqljsvAddtional = _Coerce # pSsqljsvAddtional_}---ssqljsvAddtional :: Lens' SparkSQLJobScriptVariables (HashMap Text Text)-ssqljsvAddtional-  = lens _ssqljsvAddtional-      (\ s a -> s{_ssqljsvAddtional = a})-      . _Coerce--instance FromJSON SparkSQLJobScriptVariables where-        parseJSON-          = withObject "SparkSQLJobScriptVariables"-              (\ o ->-                 SparkSQLJobScriptVariables' <$> (parseJSONObject o))--instance ToJSON SparkSQLJobScriptVariables where-        toJSON = toJSON . _ssqljsvAddtional---- | Optional. A mapping of property names to values, used to configure Pig.--- Properties that conflict with values set by the Cloud Dataproc API may--- be overwritten. Can include properties set in--- \/etc\/hadoop\/conf\/*-site.xml, \/etc\/pig\/conf\/pig.properties, and--- classes in user code.------ /See:/ 'pigJobProperties' smart constructor.-newtype PigJobProperties =-  PigJobProperties'-    { _pjpAddtional :: HashMap Text Text-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'PigJobProperties' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pjpAddtional'-pigJobProperties-    :: HashMap Text Text -- ^ 'pjpAddtional'-    -> PigJobProperties-pigJobProperties pPjpAddtional_ =-  PigJobProperties' {_pjpAddtional = _Coerce # pPjpAddtional_}---pjpAddtional :: Lens' PigJobProperties (HashMap Text Text)-pjpAddtional-  = lens _pjpAddtional (\ s a -> s{_pjpAddtional = a})-      . _Coerce--instance FromJSON PigJobProperties where-        parseJSON-          = withObject "PigJobProperties"-              (\ o -> PigJobProperties' <$> (parseJSONObject o))--instance ToJSON PigJobProperties where-        toJSON = toJSON . _pjpAddtional---- | The cluster config.------ /See:/ 'clusterConfig' smart constructor.-data ClusterConfig =-  ClusterConfig'-    { _ccWorkerConfig          :: !(Maybe InstanceGroupConfig)-    , _ccInitializationActions :: !(Maybe [NodeInitializationAction])-    , _ccMasterConfig          :: !(Maybe InstanceGroupConfig)-    , _ccGceClusterConfig      :: !(Maybe GceClusterConfig)-    , _ccConfigBucket          :: !(Maybe Text)-    , _ccEncryptionConfig      :: !(Maybe EncryptionConfig)-    , _ccSoftwareConfig        :: !(Maybe SoftwareConfig)-    , _ccSecondaryWorkerConfig :: !(Maybe InstanceGroupConfig)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ClusterConfig' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ccWorkerConfig'------ * 'ccInitializationActions'------ * 'ccMasterConfig'------ * 'ccGceClusterConfig'------ * 'ccConfigBucket'------ * 'ccEncryptionConfig'------ * 'ccSoftwareConfig'------ * 'ccSecondaryWorkerConfig'-clusterConfig-    :: ClusterConfig-clusterConfig =-  ClusterConfig'-    { _ccWorkerConfig = Nothing-    , _ccInitializationActions = Nothing-    , _ccMasterConfig = Nothing-    , _ccGceClusterConfig = Nothing-    , _ccConfigBucket = Nothing-    , _ccEncryptionConfig = Nothing-    , _ccSoftwareConfig = Nothing-    , _ccSecondaryWorkerConfig = Nothing-    }----- | Optional. The Compute Engine config settings for worker instances in a--- cluster.-ccWorkerConfig :: Lens' ClusterConfig (Maybe InstanceGroupConfig)-ccWorkerConfig-  = lens _ccWorkerConfig-      (\ s a -> s{_ccWorkerConfig = a})---- | Optional. Commands to execute on each node after config is completed. By--- default, executables are run on master and all worker nodes. You can--- test a node\'s role metadata to run an executable on a master or worker--- node, as shown below using curl (you can also use wget): ROLE=$(curl -H--- Metadata-Flavor:Google--- http:\/\/metadata\/computeMetadata\/v1\/instance\/attributes\/dataproc-role)--- if [[ \"${ROLE}\" == \'Master\' ]]; then ... master specific actions ...--- else ... worker specific actions ... fi-ccInitializationActions :: Lens' ClusterConfig [NodeInitializationAction]-ccInitializationActions-  = lens _ccInitializationActions-      (\ s a -> s{_ccInitializationActions = a})-      . _Default-      . _Coerce---- | Optional. The Compute Engine config settings for the master instance in--- a cluster.-ccMasterConfig :: Lens' ClusterConfig (Maybe InstanceGroupConfig)-ccMasterConfig-  = lens _ccMasterConfig-      (\ s a -> s{_ccMasterConfig = a})---- | Optional. The shared Compute Engine config settings for all instances in--- a cluster.-ccGceClusterConfig :: Lens' ClusterConfig (Maybe GceClusterConfig)-ccGceClusterConfig-  = lens _ccGceClusterConfig-      (\ s a -> s{_ccGceClusterConfig = a})---- | Optional. A Google Cloud Storage bucket used to stage job dependencies,--- config files, and job driver console output. If you do not specify a--- staging bucket, Cloud Dataproc will determine a Cloud Storage location--- (US, ASIA, or EU) for your cluster\'s staging bucket according to the--- Google Compute Engine zone where your cluster is deployed, and then--- create and manage this project-level, per-location bucket (see Cloud--- Dataproc staging bucket).-ccConfigBucket :: Lens' ClusterConfig (Maybe Text)-ccConfigBucket-  = lens _ccConfigBucket-      (\ s a -> s{_ccConfigBucket = a})---- | Optional. Encryption settings for the cluster.-ccEncryptionConfig :: Lens' ClusterConfig (Maybe EncryptionConfig)-ccEncryptionConfig-  = lens _ccEncryptionConfig-      (\ s a -> s{_ccEncryptionConfig = a})---- | Optional. The config settings for software inside the cluster.-ccSoftwareConfig :: Lens' ClusterConfig (Maybe SoftwareConfig)-ccSoftwareConfig-  = lens _ccSoftwareConfig-      (\ s a -> s{_ccSoftwareConfig = a})---- | Optional. The Compute Engine config settings for additional worker--- instances in a cluster.-ccSecondaryWorkerConfig :: Lens' ClusterConfig (Maybe InstanceGroupConfig)-ccSecondaryWorkerConfig-  = lens _ccSecondaryWorkerConfig-      (\ s a -> s{_ccSecondaryWorkerConfig = a})--instance FromJSON ClusterConfig where-        parseJSON-          = withObject "ClusterConfig"-              (\ o ->-                 ClusterConfig' <$>-                   (o .:? "workerConfig") <*>-                     (o .:? "initializationActions" .!= mempty)-                     <*> (o .:? "masterConfig")-                     <*> (o .:? "gceClusterConfig")-                     <*> (o .:? "configBucket")-                     <*> (o .:? "encryptionConfig")-                     <*> (o .:? "softwareConfig")-                     <*> (o .:? "secondaryWorkerConfig"))--instance ToJSON ClusterConfig where-        toJSON ClusterConfig'{..}-          = object-              (catMaybes-                 [("workerConfig" .=) <$> _ccWorkerConfig,-                  ("initializationActions" .=) <$>-                    _ccInitializationActions,-                  ("masterConfig" .=) <$> _ccMasterConfig,-                  ("gceClusterConfig" .=) <$> _ccGceClusterConfig,-                  ("configBucket" .=) <$> _ccConfigBucket,-                  ("encryptionConfig" .=) <$> _ccEncryptionConfig,-                  ("softwareConfig" .=) <$> _ccSoftwareConfig,-                  ("secondaryWorkerConfig" .=) <$>-                    _ccSecondaryWorkerConfig])---- | A request to instantiate a workflow template.------ /See:/ 'instantiateWorkflowTemplateRequest' smart constructor.-data InstantiateWorkflowTemplateRequest =-  InstantiateWorkflowTemplateRequest'-    { _iwtrRequestId  :: !(Maybe Text)-    , _iwtrVersion    :: !(Maybe (Textual Int32))-    , _iwtrParameters :: !(Maybe InstantiateWorkflowTemplateRequestParameters)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'InstantiateWorkflowTemplateRequest' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'iwtrRequestId'------ * 'iwtrVersion'------ * 'iwtrParameters'-instantiateWorkflowTemplateRequest-    :: InstantiateWorkflowTemplateRequest-instantiateWorkflowTemplateRequest =-  InstantiateWorkflowTemplateRequest'-    { _iwtrRequestId = Nothing-    , _iwtrVersion = Nothing-    , _iwtrParameters = Nothing-    }----- | Optional. A tag that prevents multiple concurrent workflow instances--- with the same tag from running. This mitigates risk of concurrent--- instances started due to retries.It is recommended to always set this--- value to a UUID--- (https:\/\/en.wikipedia.org\/wiki\/Universally_unique_identifier).The--- tag must contain only letters (a-z, A-Z), numbers (0-9), underscores--- (_), and hyphens (-). The maximum length is 40 characters.-iwtrRequestId :: Lens' InstantiateWorkflowTemplateRequest (Maybe Text)-iwtrRequestId-  = lens _iwtrRequestId-      (\ s a -> s{_iwtrRequestId = a})---- | Optional. The version of workflow template to instantiate. If specified,--- the workflow will be instantiated only if the current version of the--- workflow template has the supplied version.This option cannot be used to--- instantiate a previous version of workflow template.-iwtrVersion :: Lens' InstantiateWorkflowTemplateRequest (Maybe Int32)-iwtrVersion-  = lens _iwtrVersion (\ s a -> s{_iwtrVersion = a}) .-      mapping _Coerce---- | Optional. Map from parameter names to values that should be used for--- those parameters. Values may not exceed 100 characters.-iwtrParameters :: Lens' InstantiateWorkflowTemplateRequest (Maybe InstantiateWorkflowTemplateRequestParameters)-iwtrParameters-  = lens _iwtrParameters-      (\ s a -> s{_iwtrParameters = a})--instance FromJSON InstantiateWorkflowTemplateRequest-         where-        parseJSON-          = withObject "InstantiateWorkflowTemplateRequest"-              (\ o ->-                 InstantiateWorkflowTemplateRequest' <$>-                   (o .:? "requestId") <*> (o .:? "version") <*>-                     (o .:? "parameters"))--instance ToJSON InstantiateWorkflowTemplateRequest-         where-        toJSON InstantiateWorkflowTemplateRequest'{..}-          = object-              (catMaybes-                 [("requestId" .=) <$> _iwtrRequestId,-                  ("version" .=) <$> _iwtrVersion,-                  ("parameters" .=) <$> _iwtrParameters])---- | Optional. A mapping of property names to values, used to configure--- Hadoop. Properties that conflict with values set by the Cloud Dataproc--- API may be overwritten. Can include properties set in--- \/etc\/hadoop\/conf\/*-site and classes in user code.------ /See:/ 'hadoopJobProperties' smart constructor.-newtype HadoopJobProperties =-  HadoopJobProperties'-    { _hjpAddtional :: HashMap Text Text-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'HadoopJobProperties' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'hjpAddtional'-hadoopJobProperties-    :: HashMap Text Text -- ^ 'hjpAddtional'-    -> HadoopJobProperties-hadoopJobProperties pHjpAddtional_ =-  HadoopJobProperties' {_hjpAddtional = _Coerce # pHjpAddtional_}---hjpAddtional :: Lens' HadoopJobProperties (HashMap Text Text)-hjpAddtional-  = lens _hjpAddtional (\ s a -> s{_hjpAddtional = a})-      . _Coerce--instance FromJSON HadoopJobProperties where-        parseJSON-          = withObject "HadoopJobProperties"-              (\ o -> HadoopJobProperties' <$> (parseJSONObject o))--instance ToJSON HadoopJobProperties where-        toJSON = toJSON . _hjpAddtional---- | A Cloud Dataproc workflow template resource.------ /See:/ 'workflowTemplate' smart constructor.-data WorkflowTemplate =-  WorkflowTemplate'-    { _wtJobs       :: !(Maybe [OrderedJob])-    , _wtUpdateTime :: !(Maybe DateTime')-    , _wtName       :: !(Maybe Text)-    , _wtVersion    :: !(Maybe (Textual Int32))-    , _wtParameters :: !(Maybe [TemplateParameter])-    , _wtId         :: !(Maybe Text)-    , _wtLabels     :: !(Maybe WorkflowTemplateLabels)-    , _wtCreateTime :: !(Maybe DateTime')-    , _wtPlacement  :: !(Maybe WorkflowTemplatePlacement)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'WorkflowTemplate' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'wtJobs'------ * 'wtUpdateTime'------ * 'wtName'------ * 'wtVersion'------ * 'wtParameters'------ * 'wtId'------ * 'wtLabels'------ * 'wtCreateTime'------ * 'wtPlacement'-workflowTemplate-    :: WorkflowTemplate-workflowTemplate =-  WorkflowTemplate'-    { _wtJobs = Nothing-    , _wtUpdateTime = Nothing-    , _wtName = Nothing-    , _wtVersion = Nothing-    , _wtParameters = Nothing-    , _wtId = Nothing-    , _wtLabels = Nothing-    , _wtCreateTime = Nothing-    , _wtPlacement = Nothing-    }----- | Required. The Directed Acyclic Graph of Jobs to submit.-wtJobs :: Lens' WorkflowTemplate [OrderedJob]-wtJobs-  = lens _wtJobs (\ s a -> s{_wtJobs = a}) . _Default .-      _Coerce---- | Output only. The time template was last updated.-wtUpdateTime :: Lens' WorkflowTemplate (Maybe UTCTime)-wtUpdateTime-  = lens _wtUpdateTime (\ s a -> s{_wtUpdateTime = a})-      . mapping _DateTime---- | Output only. The \"resource name\" of the template, as described in--- https:\/\/cloud.google.com\/apis\/design\/resource_names of the form--- projects\/{project_id}\/regions\/{region}\/workflowTemplates\/{template_id}-wtName :: Lens' WorkflowTemplate (Maybe Text)-wtName = lens _wtName (\ s a -> s{_wtName = a})---- | Optional. Used to perform a consistent read-modify-write.This field--- should be left blank for a CreateWorkflowTemplate request. It is--- required for an UpdateWorkflowTemplate request, and must match the--- current server version. A typical update template flow would fetch the--- current template with a GetWorkflowTemplate request, which will return--- the current template with the version field filled in with the current--- server version. The user updates other fields in the template, then--- returns it as part of the UpdateWorkflowTemplate request.-wtVersion :: Lens' WorkflowTemplate (Maybe Int32)-wtVersion-  = lens _wtVersion (\ s a -> s{_wtVersion = a}) .-      mapping _Coerce---- | Optional. Template parameters whose values are substituted into the--- template. Values for parameters must be provided when the template is--- instantiated.-wtParameters :: Lens' WorkflowTemplate [TemplateParameter]-wtParameters-  = lens _wtParameters (\ s a -> s{_wtParameters = a})-      . _Default-      . _Coerce---- | Required. The template id.The id must contain only letters (a-z, A-Z),--- numbers (0-9), underscores (_), and hyphens (-). Cannot begin or end--- with underscore or hyphen. Must consist of between 3 and 50 characters.-wtId :: Lens' WorkflowTemplate (Maybe Text)-wtId = lens _wtId (\ s a -> s{_wtId = a})---- | Optional. The labels to associate with this template. These labels will--- be propagated to all jobs and clusters created by the workflow--- instance.Label keys must contain 1 to 63 characters, and must conform to--- RFC 1035 (https:\/\/www.ietf.org\/rfc\/rfc1035.txt).Label values may be--- empty, but, if present, must contain 1 to 63 characters, and must--- conform to RFC 1035 (https:\/\/www.ietf.org\/rfc\/rfc1035.txt).No more--- than 32 labels can be associated with a template.-wtLabels :: Lens' WorkflowTemplate (Maybe WorkflowTemplateLabels)-wtLabels = lens _wtLabels (\ s a -> s{_wtLabels = a})---- | Output only. The time template was created.-wtCreateTime :: Lens' WorkflowTemplate (Maybe UTCTime)-wtCreateTime-  = lens _wtCreateTime (\ s a -> s{_wtCreateTime = a})-      . mapping _DateTime---- | Required. WorkflowTemplate scheduling information.-wtPlacement :: Lens' WorkflowTemplate (Maybe WorkflowTemplatePlacement)-wtPlacement-  = lens _wtPlacement (\ s a -> s{_wtPlacement = a})--instance FromJSON WorkflowTemplate where-        parseJSON-          = withObject "WorkflowTemplate"-              (\ o ->-                 WorkflowTemplate' <$>-                   (o .:? "jobs" .!= mempty) <*> (o .:? "updateTime")-                     <*> (o .:? "name")-                     <*> (o .:? "version")-                     <*> (o .:? "parameters" .!= mempty)-                     <*> (o .:? "id")-                     <*> (o .:? "labels")-                     <*> (o .:? "createTime")-                     <*> (o .:? "placement"))--instance ToJSON WorkflowTemplate where-        toJSON WorkflowTemplate'{..}-          = object-              (catMaybes-                 [("jobs" .=) <$> _wtJobs,-                  ("updateTime" .=) <$> _wtUpdateTime,-                  ("name" .=) <$> _wtName,-                  ("version" .=) <$> _wtVersion,-                  ("parameters" .=) <$> _wtParameters,-                  ("id" .=) <$> _wtId, ("labels" .=) <$> _wtLabels,-                  ("createTime" .=) <$> _wtCreateTime,-                  ("placement" .=) <$> _wtPlacement])---- | The status of the operation.------ /See:/ 'clusterOperationStatus' smart constructor.-data ClusterOperationStatus =-  ClusterOperationStatus'-    { _cosState          :: !(Maybe ClusterOperationStatusState)-    , _cosInnerState     :: !(Maybe Text)-    , _cosStateStartTime :: !(Maybe DateTime')-    , _cosDetails        :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ClusterOperationStatus' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cosState'------ * 'cosInnerState'------ * 'cosStateStartTime'------ * 'cosDetails'-clusterOperationStatus-    :: ClusterOperationStatus-clusterOperationStatus =-  ClusterOperationStatus'-    { _cosState = Nothing-    , _cosInnerState = Nothing-    , _cosStateStartTime = Nothing-    , _cosDetails = Nothing-    }----- | Output only. A message containing the operation state.-cosState :: Lens' ClusterOperationStatus (Maybe ClusterOperationStatusState)-cosState = lens _cosState (\ s a -> s{_cosState = a})---- | Output only. A message containing the detailed operation state.-cosInnerState :: Lens' ClusterOperationStatus (Maybe Text)-cosInnerState-  = lens _cosInnerState-      (\ s a -> s{_cosInnerState = a})---- | Output only. The time this state was entered.-cosStateStartTime :: Lens' ClusterOperationStatus (Maybe UTCTime)-cosStateStartTime-  = lens _cosStateStartTime-      (\ s a -> s{_cosStateStartTime = a})-      . mapping _DateTime---- | Output only. A message containing any operation metadata details.-cosDetails :: Lens' ClusterOperationStatus (Maybe Text)-cosDetails-  = lens _cosDetails (\ s a -> s{_cosDetails = a})--instance FromJSON ClusterOperationStatus where-        parseJSON-          = withObject "ClusterOperationStatus"-              (\ o ->-                 ClusterOperationStatus' <$>-                   (o .:? "state") <*> (o .:? "innerState") <*>-                     (o .:? "stateStartTime")-                     <*> (o .:? "details"))--instance ToJSON ClusterOperationStatus where-        toJSON ClusterOperationStatus'{..}-          = object-              (catMaybes-                 [("state" .=) <$> _cosState,-                  ("innerState" .=) <$> _cosInnerState,-                  ("stateStartTime" .=) <$> _cosStateStartTime,-                  ("details" .=) <$> _cosDetails])------- /See:/ 'statusDetailsItem' smart constructor.-newtype StatusDetailsItem =-  StatusDetailsItem'-    { _sdiAddtional :: HashMap Text JSONValue-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'StatusDetailsItem' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'sdiAddtional'-statusDetailsItem-    :: HashMap Text JSONValue -- ^ 'sdiAddtional'-    -> StatusDetailsItem-statusDetailsItem pSdiAddtional_ =-  StatusDetailsItem' {_sdiAddtional = _Coerce # pSdiAddtional_}----- | Properties of the object. Contains field \'type with type URL.-sdiAddtional :: Lens' StatusDetailsItem (HashMap Text JSONValue)-sdiAddtional-  = lens _sdiAddtional (\ s a -> s{_sdiAddtional = a})-      . _Coerce--instance FromJSON StatusDetailsItem where-        parseJSON-          = withObject "StatusDetailsItem"-              (\ o -> StatusDetailsItem' <$> (parseJSONObject o))--instance ToJSON StatusDetailsItem where-        toJSON = toJSON . _sdiAddtional---- | Optional. A mapping of property names to values, used to configure Spark--- SQL\'s SparkConf. Properties that conflict with values set by the Cloud--- Dataproc API may be overwritten.------ /See:/ 'sparkSQLJobProperties' smart constructor.-newtype SparkSQLJobProperties =-  SparkSQLJobProperties'-    { _ssqljpAddtional :: HashMap Text Text-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'SparkSQLJobProperties' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ssqljpAddtional'-sparkSQLJobProperties-    :: HashMap Text Text -- ^ 'ssqljpAddtional'-    -> SparkSQLJobProperties-sparkSQLJobProperties pSsqljpAddtional_ =-  SparkSQLJobProperties' {_ssqljpAddtional = _Coerce # pSsqljpAddtional_}---ssqljpAddtional :: Lens' SparkSQLJobProperties (HashMap Text Text)-ssqljpAddtional-  = lens _ssqljpAddtional-      (\ s a -> s{_ssqljpAddtional = a})-      . _Coerce--instance FromJSON SparkSQLJobProperties where-        parseJSON-          = withObject "SparkSQLJobProperties"-              (\ o ->-                 SparkSQLJobProperties' <$> (parseJSONObject o))--instance ToJSON SparkSQLJobProperties where-        toJSON = toJSON . _ssqljpAddtional---- | Optional. The labels to associate with this template. These labels will--- be propagated to all jobs and clusters created by the workflow--- instance.Label keys must contain 1 to 63 characters, and must conform to--- RFC 1035 (https:\/\/www.ietf.org\/rfc\/rfc1035.txt).Label values may be--- empty, but, if present, must contain 1 to 63 characters, and must--- conform to RFC 1035 (https:\/\/www.ietf.org\/rfc\/rfc1035.txt).No more--- than 32 labels can be associated with a template.------ /See:/ 'workflowTemplateLabels' smart constructor.-newtype WorkflowTemplateLabels =-  WorkflowTemplateLabels'-    { _wtlAddtional :: HashMap Text Text-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'WorkflowTemplateLabels' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'wtlAddtional'-workflowTemplateLabels-    :: HashMap Text Text -- ^ 'wtlAddtional'-    -> WorkflowTemplateLabels-workflowTemplateLabels pWtlAddtional_ =-  WorkflowTemplateLabels' {_wtlAddtional = _Coerce # pWtlAddtional_}---wtlAddtional :: Lens' WorkflowTemplateLabels (HashMap Text Text)-wtlAddtional-  = lens _wtlAddtional (\ s a -> s{_wtlAddtional = a})-      . _Coerce--instance FromJSON WorkflowTemplateLabels where-        parseJSON-          = withObject "WorkflowTemplateLabels"-              (\ o ->-                 WorkflowTemplateLabels' <$> (parseJSONObject o))--instance ToJSON WorkflowTemplateLabels where-        toJSON = toJSON . _wtlAddtional---- | Specifies an executable to run on a fully configured node and a timeout--- period for executable completion.------ /See:/ 'nodeInitializationAction' smart constructor.-data NodeInitializationAction =-  NodeInitializationAction'-    { _niaExecutionTimeout :: !(Maybe GDuration)-    , _niaExecutableFile   :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'NodeInitializationAction' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'niaExecutionTimeout'------ * 'niaExecutableFile'-nodeInitializationAction-    :: NodeInitializationAction-nodeInitializationAction =-  NodeInitializationAction'-    {_niaExecutionTimeout = Nothing, _niaExecutableFile = Nothing}----- | Optional. Amount of time executable has to complete. Default is 10--- minutes. Cluster creation fails with an explanatory error message (the--- name of the executable that caused the error and the exceeded timeout--- period) if the executable is not completed at end of the timeout period.-niaExecutionTimeout :: Lens' NodeInitializationAction (Maybe Scientific)-niaExecutionTimeout-  = lens _niaExecutionTimeout-      (\ s a -> s{_niaExecutionTimeout = a})-      . mapping _GDuration---- | Required. Cloud Storage URI of executable file.-niaExecutableFile :: Lens' NodeInitializationAction (Maybe Text)-niaExecutableFile-  = lens _niaExecutableFile-      (\ s a -> s{_niaExecutableFile = a})--instance FromJSON NodeInitializationAction where-        parseJSON-          = withObject "NodeInitializationAction"-              (\ o ->-                 NodeInitializationAction' <$>-                   (o .:? "executionTimeout") <*>-                     (o .:? "executableFile"))--instance ToJSON NodeInitializationAction where-        toJSON NodeInitializationAction'{..}-          = object-              (catMaybes-                 [("executionTimeout" .=) <$> _niaExecutionTimeout,-                  ("executableFile" .=) <$> _niaExecutableFile])---- | The YARN metrics.------ /See:/ 'clusterMetricsYarnMetrics' smart constructor.-newtype ClusterMetricsYarnMetrics =-  ClusterMetricsYarnMetrics'-    { _cmymAddtional :: HashMap Text (Textual Int64)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ClusterMetricsYarnMetrics' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cmymAddtional'-clusterMetricsYarnMetrics-    :: HashMap Text Int64 -- ^ 'cmymAddtional'-    -> ClusterMetricsYarnMetrics-clusterMetricsYarnMetrics pCmymAddtional_ =-  ClusterMetricsYarnMetrics' {_cmymAddtional = _Coerce # pCmymAddtional_}---cmymAddtional :: Lens' ClusterMetricsYarnMetrics (HashMap Text Int64)-cmymAddtional-  = lens _cmymAddtional-      (\ s a -> s{_cmymAddtional = a})-      . _Coerce--instance FromJSON ClusterMetricsYarnMetrics where-        parseJSON-          = withObject "ClusterMetricsYarnMetrics"-              (\ o ->-                 ClusterMetricsYarnMetrics' <$> (parseJSONObject o))--instance ToJSON ClusterMetricsYarnMetrics where-        toJSON = toJSON . _cmymAddtional---- | Validation based on regular expressions.------ /See:/ 'regexValidation' smart constructor.-newtype RegexValidation =-  RegexValidation'-    { _rvRegexes :: Maybe [Text]-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'RegexValidation' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'rvRegexes'-regexValidation-    :: RegexValidation-regexValidation = RegexValidation' {_rvRegexes = Nothing}----- | Required. RE2 regular expressions used to validate the parameter\'s--- value. The value must match the regex in its entirety (substring matches--- are not sufficient).-rvRegexes :: Lens' RegexValidation [Text]-rvRegexes-  = lens _rvRegexes (\ s a -> s{_rvRegexes = a}) .-      _Default-      . _Coerce--instance FromJSON RegexValidation where-        parseJSON-          = withObject "RegexValidation"-              (\ o ->-                 RegexValidation' <$> (o .:? "regexes" .!= mempty))--instance ToJSON RegexValidation where-        toJSON RegexValidation'{..}-          = object (catMaybes [("regexes" .=) <$> _rvRegexes])---- | Cloud Dataproc job config.------ /See:/ 'jobPlacement' smart constructor.-data JobPlacement =-  JobPlacement'-    { _jpClusterUuid :: !(Maybe Text)-    , _jpClusterName :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'JobPlacement' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'jpClusterUuid'------ * 'jpClusterName'-jobPlacement-    :: JobPlacement-jobPlacement =-  JobPlacement' {_jpClusterUuid = Nothing, _jpClusterName = Nothing}----- | Output only. A cluster UUID generated by the Cloud Dataproc service when--- the job is submitted.-jpClusterUuid :: Lens' JobPlacement (Maybe Text)-jpClusterUuid-  = lens _jpClusterUuid-      (\ s a -> s{_jpClusterUuid = a})---- | Required. The name of the cluster where the job will be submitted.-jpClusterName :: Lens' JobPlacement (Maybe Text)-jpClusterName-  = lens _jpClusterName-      (\ s a -> s{_jpClusterName = a})--instance FromJSON JobPlacement where-        parseJSON-          = withObject "JobPlacement"-              (\ o ->-                 JobPlacement' <$>-                   (o .:? "clusterUuid") <*> (o .:? "clusterName"))--instance ToJSON JobPlacement where-        toJSON JobPlacement'{..}-          = object-              (catMaybes-                 [("clusterUuid" .=) <$> _jpClusterUuid,-                  ("clusterName" .=) <$> _jpClusterName])---- | Request message for SetIamPolicy method.------ /See:/ 'setIAMPolicyRequest' smart constructor.-newtype SetIAMPolicyRequest =-  SetIAMPolicyRequest'-    { _siprPolicy :: Maybe Policy-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'SetIAMPolicyRequest' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'siprPolicy'-setIAMPolicyRequest-    :: SetIAMPolicyRequest-setIAMPolicyRequest = SetIAMPolicyRequest' {_siprPolicy = Nothing}----- | 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 Cloud Platform services (such as Projects) might--- reject them.-siprPolicy :: Lens' SetIAMPolicyRequest (Maybe Policy)-siprPolicy-  = lens _siprPolicy (\ s a -> s{_siprPolicy = a})--instance FromJSON SetIAMPolicyRequest where-        parseJSON-          = withObject "SetIAMPolicyRequest"-              (\ o -> SetIAMPolicyRequest' <$> (o .:? "policy"))--instance ToJSON SetIAMPolicyRequest where-        toJSON SetIAMPolicyRequest'{..}-          = object (catMaybes [("policy" .=) <$> _siprPolicy])---- | A configurable parameter that replaces one or more fields in the--- template. Parameterizable fields: - Labels - File uris - Job properties--- - Job arguments - Script variables - Main class (in HadoopJob and--- SparkJob) - Zone (in ClusterSelector)------ /See:/ 'templateParameter' smart constructor.-data TemplateParameter =-  TemplateParameter'-    { _tpName        :: !(Maybe Text)-    , _tpValidation  :: !(Maybe ParameterValidation)-    , _tpDescription :: !(Maybe Text)-    , _tpFields      :: !(Maybe [Text])-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'TemplateParameter' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'tpName'------ * 'tpValidation'------ * 'tpDescription'------ * 'tpFields'-templateParameter-    :: TemplateParameter-templateParameter =-  TemplateParameter'-    { _tpName = Nothing-    , _tpValidation = Nothing-    , _tpDescription = Nothing-    , _tpFields = Nothing-    }----- | Required. Parameter name. The parameter name is used as the key, and--- paired with the parameter value, which are passed to the template when--- the template is instantiated. The name must contain only capital letters--- (A-Z), numbers (0-9), and underscores (_), and must not start with a--- number. The maximum length is 40 characters.-tpName :: Lens' TemplateParameter (Maybe Text)-tpName = lens _tpName (\ s a -> s{_tpName = a})---- | Optional. Validation rules to be applied to this parameter\'s value.-tpValidation :: Lens' TemplateParameter (Maybe ParameterValidation)-tpValidation-  = lens _tpValidation (\ s a -> s{_tpValidation = a})---- | Optional. Brief description of the parameter. Must not exceed 1024--- characters.-tpDescription :: Lens' TemplateParameter (Maybe Text)-tpDescription-  = lens _tpDescription-      (\ s a -> s{_tpDescription = a})---- | Required. Paths to all fields that the parameter replaces. A field is--- allowed to appear in at most one parameter\'s list of field paths.A--- field path is similar in syntax to a google.protobuf.FieldMask. For--- example, a field path that references the zone field of a workflow--- template\'s cluster selector would be specified as--- placement.clusterSelector.zone.Also, field paths can reference fields--- using the following syntax: Values in maps can be referenced by key:--- labels\'key\' placement.clusterSelector.clusterLabels\'key\'--- placement.managedCluster.labels\'key\'--- placement.clusterSelector.clusterLabels\'key\'--- jobs\'step-id\'.labels\'key\' Jobs in the jobs list can be referenced by--- step-id: jobs\'step-id\'.hadoopJob.mainJarFileUri--- jobs\'step-id\'.hiveJob.queryFileUri--- jobs\'step-id\'.pySparkJob.mainPythonFileUri--- jobs\'step-id\'.hadoopJob.jarFileUris0--- jobs\'step-id\'.hadoopJob.archiveUris0--- jobs\'step-id\'.hadoopJob.fileUris0--- jobs\'step-id\'.pySparkJob.pythonFileUris0 Items in repeated fields can--- be referenced by a zero-based index: jobs\'step-id\'.sparkJob.args0--- Other examples: jobs\'step-id\'.hadoopJob.properties\'key\'--- jobs\'step-id\'.hadoopJob.args0--- jobs\'step-id\'.hiveJob.scriptVariables\'key\'--- jobs\'step-id\'.hadoopJob.mainJarFileUri--- placement.clusterSelector.zoneIt may not be possible to parameterize--- maps and repeated fields in their entirety since only individual map--- values and individual items in repeated fields can be referenced. For--- example, the following field paths are invalid:--- placement.clusterSelector.clusterLabels jobs\'step-id\'.sparkJob.args-tpFields :: Lens' TemplateParameter [Text]-tpFields-  = lens _tpFields (\ s a -> s{_tpFields = a}) .-      _Default-      . _Coerce--instance FromJSON TemplateParameter where-        parseJSON-          = withObject "TemplateParameter"-              (\ o ->-                 TemplateParameter' <$>-                   (o .:? "name") <*> (o .:? "validation") <*>-                     (o .:? "description")-                     <*> (o .:? "fields" .!= mempty))--instance ToJSON TemplateParameter where-        toJSON TemplateParameter'{..}-          = object-              (catMaybes-                 [("name" .=) <$> _tpName,-                  ("validation" .=) <$> _tpValidation,-                  ("description" .=) <$> _tpDescription,-                  ("fields" .=) <$> _tpFields])---- | Common config settings for resources of Compute Engine cluster--- instances, applicable to all instances in the cluster.------ /See:/ 'gceClusterConfig' smart constructor.-data GceClusterConfig =-  GceClusterConfig'-    { _gccSubnetworkURI        :: !(Maybe Text)-    , _gccInternalIPOnly       :: !(Maybe Bool)-    , _gccNetworkURI           :: !(Maybe Text)-    , _gccZoneURI              :: !(Maybe Text)-    , _gccServiceAccount       :: !(Maybe Text)-    , _gccMetadata             :: !(Maybe GceClusterConfigMetadata)-    , _gccServiceAccountScopes :: !(Maybe [Text])-    , _gccTags                 :: !(Maybe [Text])-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GceClusterConfig' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gccSubnetworkURI'------ * 'gccInternalIPOnly'------ * 'gccNetworkURI'------ * 'gccZoneURI'------ * 'gccServiceAccount'------ * 'gccMetadata'------ * 'gccServiceAccountScopes'------ * 'gccTags'-gceClusterConfig-    :: GceClusterConfig-gceClusterConfig =-  GceClusterConfig'-    { _gccSubnetworkURI = Nothing-    , _gccInternalIPOnly = Nothing-    , _gccNetworkURI = Nothing-    , _gccZoneURI = Nothing-    , _gccServiceAccount = Nothing-    , _gccMetadata = Nothing-    , _gccServiceAccountScopes = Nothing-    , _gccTags = Nothing-    }----- | Optional. The Compute Engine subnetwork to be used for machine--- communications. Cannot be specified with network_uri.A full URL, partial--- URI, or short name are valid. Examples:--- https:\/\/www.googleapis.com\/compute\/v1\/projects\/[project_id]\/regions\/us-east1\/subnetworks\/sub0--- projects\/[project_id]\/regions\/us-east1\/subnetworks\/sub0 sub0-gccSubnetworkURI :: Lens' GceClusterConfig (Maybe Text)-gccSubnetworkURI-  = lens _gccSubnetworkURI-      (\ s a -> s{_gccSubnetworkURI = a})---- | Optional. If true, all instances in the cluster will only have internal--- IP addresses. By default, clusters are not restricted to internal IP--- addresses, and will have ephemeral external IP addresses assigned to--- each instance. This internal_ip_only restriction can only be enabled for--- subnetwork enabled networks, and all off-cluster dependencies must be--- configured to be accessible without external IP addresses.-gccInternalIPOnly :: Lens' GceClusterConfig (Maybe Bool)-gccInternalIPOnly-  = lens _gccInternalIPOnly-      (\ s a -> s{_gccInternalIPOnly = a})---- | Optional. The Compute Engine network to be used for machine--- communications. Cannot be specified with subnetwork_uri. If neither--- network_uri nor subnetwork_uri is specified, the \"default\" network of--- the project is used, if it exists. Cannot be a \"Custom Subnet Network\"--- (see Using Subnetworks for more information).A full URL, partial URI, or--- short name are valid. Examples:--- https:\/\/www.googleapis.com\/compute\/v1\/projects\/[project_id]\/regions\/global\/default--- projects\/[project_id]\/regions\/global\/default default-gccNetworkURI :: Lens' GceClusterConfig (Maybe Text)-gccNetworkURI-  = lens _gccNetworkURI-      (\ s a -> s{_gccNetworkURI = a})---- | Optional. The zone where the Compute Engine cluster will be located. On--- a create request, it is required in the \"global\" region. If omitted in--- a non-global Cloud Dataproc region, the service will pick a zone in the--- corresponding Compute Engine region. On a get request, zone will always--- be present.A full URL, partial URI, or short name are valid. Examples:--- https:\/\/www.googleapis.com\/compute\/v1\/projects\/[project_id]\/zones\/[zone]--- projects\/[project_id]\/zones\/[zone] us-central1-f-gccZoneURI :: Lens' GceClusterConfig (Maybe Text)-gccZoneURI-  = lens _gccZoneURI (\ s a -> s{_gccZoneURI = a})---- | Optional. The service account of the instances. Defaults to the default--- Compute Engine service account. Custom service accounts need permissions--- equivalent to the following IAM roles: roles\/logging.logWriter--- roles\/storage.objectAdmin(see--- https:\/\/cloud.google.com\/compute\/docs\/access\/service-accounts#custom_service_accounts--- for more information). Example:--- [account_id]\'[project_id].iam.gserviceaccount.com-gccServiceAccount :: Lens' GceClusterConfig (Maybe Text)-gccServiceAccount-  = lens _gccServiceAccount-      (\ s a -> s{_gccServiceAccount = a})---- | The Compute Engine metadata entries to add to all instances (see Project--- and instance metadata--- (https:\/\/cloud.google.com\/compute\/docs\/storing-retrieving-metadata#project_and_instance_metadata)).-gccMetadata :: Lens' GceClusterConfig (Maybe GceClusterConfigMetadata)-gccMetadata-  = lens _gccMetadata (\ s a -> s{_gccMetadata = a})---- | Optional. The URIs of service account scopes to be included in Compute--- Engine instances. The following base set of scopes is always included:--- https:\/\/www.googleapis.com\/auth\/cloud.useraccounts.readonly--- https:\/\/www.googleapis.com\/auth\/devstorage.read_write--- https:\/\/www.googleapis.com\/auth\/logging.writeIf no scopes are--- specified, the following defaults are also provided:--- https:\/\/www.googleapis.com\/auth\/bigquery--- https:\/\/www.googleapis.com\/auth\/bigtable.admin.table--- https:\/\/www.googleapis.com\/auth\/bigtable.data--- https:\/\/www.googleapis.com\/auth\/devstorage.full_control-gccServiceAccountScopes :: Lens' GceClusterConfig [Text]-gccServiceAccountScopes-  = lens _gccServiceAccountScopes-      (\ s a -> s{_gccServiceAccountScopes = a})-      . _Default-      . _Coerce---- | The Compute Engine tags to add to all instances (see Tagging instances).-gccTags :: Lens' GceClusterConfig [Text]-gccTags-  = lens _gccTags (\ s a -> s{_gccTags = a}) . _Default-      . _Coerce--instance FromJSON GceClusterConfig where-        parseJSON-          = withObject "GceClusterConfig"-              (\ o ->-                 GceClusterConfig' <$>-                   (o .:? "subnetworkUri") <*> (o .:? "internalIpOnly")-                     <*> (o .:? "networkUri")-                     <*> (o .:? "zoneUri")-                     <*> (o .:? "serviceAccount")-                     <*> (o .:? "metadata")-                     <*> (o .:? "serviceAccountScopes" .!= mempty)-                     <*> (o .:? "tags" .!= mempty))--instance ToJSON GceClusterConfig where-        toJSON GceClusterConfig'{..}-          = object-              (catMaybes-                 [("subnetworkUri" .=) <$> _gccSubnetworkURI,-                  ("internalIpOnly" .=) <$> _gccInternalIPOnly,-                  ("networkUri" .=) <$> _gccNetworkURI,-                  ("zoneUri" .=) <$> _gccZoneURI,-                  ("serviceAccount" .=) <$> _gccServiceAccount,-                  ("metadata" .=) <$> _gccMetadata,-                  ("serviceAccountScopes" .=) <$>-                    _gccServiceAccountScopes,-                  ("tags" .=) <$> _gccTags])---- | A response to a request to list workflow templates in a project.------ /See:/ 'listWorkflowTemplatesResponse' smart constructor.-data ListWorkflowTemplatesResponse =-  ListWorkflowTemplatesResponse'-    { _lwtrNextPageToken :: !(Maybe Text)-    , _lwtrTemplates     :: !(Maybe [WorkflowTemplate])-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ListWorkflowTemplatesResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lwtrNextPageToken'------ * 'lwtrTemplates'-listWorkflowTemplatesResponse-    :: ListWorkflowTemplatesResponse-listWorkflowTemplatesResponse =-  ListWorkflowTemplatesResponse'-    {_lwtrNextPageToken = Nothing, _lwtrTemplates = Nothing}----- | Output only. This token is included in the response if there are more--- results to fetch. To fetch additional results, provide this value as the--- page_token in a subsequent 'ListWorkflowTemplatesRequest'.-lwtrNextPageToken :: Lens' ListWorkflowTemplatesResponse (Maybe Text)-lwtrNextPageToken-  = lens _lwtrNextPageToken-      (\ s a -> s{_lwtrNextPageToken = a})---- | Output only. WorkflowTemplates list.-lwtrTemplates :: Lens' ListWorkflowTemplatesResponse [WorkflowTemplate]-lwtrTemplates-  = lens _lwtrTemplates-      (\ s a -> s{_lwtrTemplates = a})-      . _Default-      . _Coerce--instance FromJSON ListWorkflowTemplatesResponse where-        parseJSON-          = withObject "ListWorkflowTemplatesResponse"-              (\ o ->-                 ListWorkflowTemplatesResponse' <$>-                   (o .:? "nextPageToken") <*>-                     (o .:? "templates" .!= mempty))--instance ToJSON ListWorkflowTemplatesResponse where-        toJSON ListWorkflowTemplatesResponse'{..}-          = object-              (catMaybes-                 [("nextPageToken" .=) <$> _lwtrNextPageToken,-                  ("templates" .=) <$> _lwtrTemplates])---- | The Compute Engine metadata entries to add to all instances (see Project--- and instance metadata--- (https:\/\/cloud.google.com\/compute\/docs\/storing-retrieving-metadata#project_and_instance_metadata)).------ /See:/ 'gceClusterConfigMetadata' smart constructor.-newtype GceClusterConfigMetadata =-  GceClusterConfigMetadata'-    { _gccmAddtional :: HashMap Text Text-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GceClusterConfigMetadata' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gccmAddtional'-gceClusterConfigMetadata-    :: HashMap Text Text -- ^ 'gccmAddtional'-    -> GceClusterConfigMetadata-gceClusterConfigMetadata pGccmAddtional_ =-  GceClusterConfigMetadata' {_gccmAddtional = _Coerce # pGccmAddtional_}---gccmAddtional :: Lens' GceClusterConfigMetadata (HashMap Text Text)-gccmAddtional-  = lens _gccmAddtional-      (\ s a -> s{_gccmAddtional = a})-      . _Coerce--instance FromJSON GceClusterConfigMetadata where-        parseJSON-          = withObject "GceClusterConfigMetadata"-              (\ o ->-                 GceClusterConfigMetadata' <$> (parseJSONObject o))--instance ToJSON GceClusterConfigMetadata where-        toJSON = toJSON . _gccmAddtional---- | Optional. A mapping of property names and values, used to configure--- Hive. Properties that conflict with values set by the Cloud Dataproc API--- may be overwritten. Can include properties set in--- \/etc\/hadoop\/conf\/*-site.xml, \/etc\/hive\/conf\/hive-site.xml, and--- classes in user code.------ /See:/ 'hiveJobProperties' smart constructor.-newtype HiveJobProperties =-  HiveJobProperties'-    { _hAddtional :: HashMap Text Text-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'HiveJobProperties' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'hAddtional'-hiveJobProperties-    :: HashMap Text Text -- ^ 'hAddtional'-    -> HiveJobProperties-hiveJobProperties pHAddtional_ =-  HiveJobProperties' {_hAddtional = _Coerce # pHAddtional_}---hAddtional :: Lens' HiveJobProperties (HashMap Text Text)-hAddtional-  = lens _hAddtional (\ s a -> s{_hAddtional = a}) .-      _Coerce--instance FromJSON HiveJobProperties where-        parseJSON-          = withObject "HiveJobProperties"-              (\ o -> HiveJobProperties' <$> (parseJSONObject o))--instance ToJSON HiveJobProperties where-        toJSON = toJSON . _hAddtional---- | Map from parameter names to values that were used for those parameters.------ /See:/ 'workflowMetadataParameters' smart constructor.-newtype WorkflowMetadataParameters =-  WorkflowMetadataParameters'-    { _wmpAddtional :: HashMap Text Text-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'WorkflowMetadataParameters' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'wmpAddtional'-workflowMetadataParameters-    :: HashMap Text Text -- ^ 'wmpAddtional'-    -> WorkflowMetadataParameters-workflowMetadataParameters pWmpAddtional_ =-  WorkflowMetadataParameters' {_wmpAddtional = _Coerce # pWmpAddtional_}---wmpAddtional :: Lens' WorkflowMetadataParameters (HashMap Text Text)-wmpAddtional-  = lens _wmpAddtional (\ s a -> s{_wmpAddtional = a})-      . _Coerce--instance FromJSON WorkflowMetadataParameters where-        parseJSON-          = withObject "WorkflowMetadataParameters"-              (\ o ->-                 WorkflowMetadataParameters' <$> (parseJSONObject o))--instance ToJSON WorkflowMetadataParameters where-        toJSON = toJSON . _wmpAddtional---- | Cluster that is managed by the workflow.------ /See:/ 'managedCluster' smart constructor.-data ManagedCluster =-  ManagedCluster'-    { _mcConfig      :: !(Maybe ClusterConfig)-    , _mcClusterName :: !(Maybe Text)-    , _mcLabels      :: !(Maybe ManagedClusterLabels)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ManagedCluster' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'mcConfig'------ * 'mcClusterName'------ * 'mcLabels'-managedCluster-    :: ManagedCluster-managedCluster =-  ManagedCluster'-    {_mcConfig = Nothing, _mcClusterName = Nothing, _mcLabels = Nothing}----- | Required. The cluster configuration.-mcConfig :: Lens' ManagedCluster (Maybe ClusterConfig)-mcConfig = lens _mcConfig (\ s a -> s{_mcConfig = a})---- | Required. The cluster name prefix. A unique cluster name will be formed--- by appending a random suffix.The name must contain only lower-case--- letters (a-z), numbers (0-9), and hyphens (-). Must begin with a letter.--- Cannot begin or end with hyphen. Must consist of between 2 and 35--- characters.-mcClusterName :: Lens' ManagedCluster (Maybe Text)-mcClusterName-  = lens _mcClusterName-      (\ s a -> s{_mcClusterName = a})---- | Optional. The labels to associate with this cluster.Label keys must be--- between 1 and 63 characters long, and must conform to the following PCRE--- regular expression: \\p{Ll}\\p{Lo}{0,62}Label values must be between 1--- and 63 characters long, and must conform to the following PCRE regular--- expression: \\p{Ll}\\p{Lo}\\p{N}_-{0,63}No more than 32 labels can be--- associated with a given cluster.-mcLabels :: Lens' ManagedCluster (Maybe ManagedClusterLabels)-mcLabels = lens _mcLabels (\ s a -> s{_mcLabels = a})--instance FromJSON ManagedCluster where-        parseJSON-          = withObject "ManagedCluster"-              (\ o ->-                 ManagedCluster' <$>-                   (o .:? "config") <*> (o .:? "clusterName") <*>-                     (o .:? "labels"))--instance ToJSON ManagedCluster where-        toJSON ManagedCluster'{..}-          = object-              (catMaybes-                 [("config" .=) <$> _mcConfig,-                  ("clusterName" .=) <$> _mcClusterName,-                  ("labels" .=) <$> _mcLabels])---- | Optional. The labels to associate with this cluster. Label keys must--- contain 1 to 63 characters, and must conform to RFC 1035--- (https:\/\/www.ietf.org\/rfc\/rfc1035.txt). Label values may be empty,--- but, if present, must contain 1 to 63 characters, and must conform to--- RFC 1035 (https:\/\/www.ietf.org\/rfc\/rfc1035.txt). No more than 32--- labels can be associated with a cluster.------ /See:/ 'clusterLabels' smart constructor.-newtype ClusterLabels =-  ClusterLabels'-    { _clAddtional :: HashMap Text Text-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ClusterLabels' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'clAddtional'-clusterLabels-    :: HashMap Text Text -- ^ 'clAddtional'-    -> ClusterLabels-clusterLabels pClAddtional_ =-  ClusterLabels' {_clAddtional = _Coerce # pClAddtional_}---clAddtional :: Lens' ClusterLabels (HashMap Text Text)-clAddtional-  = lens _clAddtional (\ s a -> s{_clAddtional = a}) .-      _Coerce--instance FromJSON ClusterLabels where-        parseJSON-          = withObject "ClusterLabels"-              (\ o -> ClusterLabels' <$> (parseJSONObject o))--instance ToJSON ClusterLabels where-        toJSON = toJSON . _clAddtional---- | A Cloud Dataproc job resource.------ /See:/ 'job' smart constructor.-data Job =-  Job'-    { _jSparkJob                :: !(Maybe SparkJob)-    , _jStatus                  :: !(Maybe JobStatus)-    , _jDriverControlFilesURI   :: !(Maybe Text)-    , _jHiveJob                 :: !(Maybe HiveJob)-    , _jReference               :: !(Maybe JobReference)-    , _jSparkSQLJob             :: !(Maybe SparkSQLJob)-    , _jHadoopJob               :: !(Maybe HadoopJob)-    , _jJobUuid                 :: !(Maybe Text)-    , _jYarnApplications        :: !(Maybe [YarnApplication])-    , _jLabels                  :: !(Maybe JobLabels)-    , _jPysparkJob              :: !(Maybe PySparkJob)-    , _jDriverOutputResourceURI :: !(Maybe Text)-    , _jScheduling              :: !(Maybe JobScheduling)-    , _jStatusHistory           :: !(Maybe [JobStatus])-    , _jPlacement               :: !(Maybe JobPlacement)-    , _jPigJob                  :: !(Maybe PigJob)-    }-  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:------ * 'jSparkJob'------ * 'jStatus'------ * 'jDriverControlFilesURI'------ * 'jHiveJob'------ * 'jReference'------ * 'jSparkSQLJob'------ * 'jHadoopJob'------ * 'jJobUuid'------ * 'jYarnApplications'------ * 'jLabels'------ * 'jPysparkJob'------ * 'jDriverOutputResourceURI'------ * 'jScheduling'------ * 'jStatusHistory'------ * 'jPlacement'------ * 'jPigJob'-job-    :: Job-job =-  Job'-    { _jSparkJob = Nothing-    , _jStatus = Nothing-    , _jDriverControlFilesURI = Nothing-    , _jHiveJob = Nothing-    , _jReference = Nothing-    , _jSparkSQLJob = Nothing-    , _jHadoopJob = Nothing-    , _jJobUuid = Nothing-    , _jYarnApplications = Nothing-    , _jLabels = Nothing-    , _jPysparkJob = Nothing-    , _jDriverOutputResourceURI = Nothing-    , _jScheduling = Nothing-    , _jStatusHistory = Nothing-    , _jPlacement = Nothing-    , _jPigJob = Nothing-    }----- | Job is a Spark job.-jSparkJob :: Lens' Job (Maybe SparkJob)-jSparkJob-  = lens _jSparkJob (\ s a -> s{_jSparkJob = a})---- | Output only. The job status. Additional application-specific status--- information may be contained in the 'type_job' and 'yarn_applications'--- fields.-jStatus :: Lens' Job (Maybe JobStatus)-jStatus = lens _jStatus (\ s a -> s{_jStatus = a})---- | Output only. If present, the location of miscellaneous control files--- which may be used as part of job setup and handling. If not present,--- control files may be placed in the same location as driver_output_uri.-jDriverControlFilesURI :: Lens' Job (Maybe Text)-jDriverControlFilesURI-  = lens _jDriverControlFilesURI-      (\ s a -> s{_jDriverControlFilesURI = a})---- | Job is a Hive job.-jHiveJob :: Lens' Job (Maybe HiveJob)-jHiveJob = lens _jHiveJob (\ s a -> s{_jHiveJob = a})---- | Optional. The fully qualified reference to the job, which can be used to--- obtain the equivalent REST path of the job resource. If this property is--- not specified when a job is created, the server generates a 'job_id'.-jReference :: Lens' Job (Maybe JobReference)-jReference-  = lens _jReference (\ s a -> s{_jReference = a})---- | Job is a SparkSql job.-jSparkSQLJob :: Lens' Job (Maybe SparkSQLJob)-jSparkSQLJob-  = lens _jSparkSQLJob (\ s a -> s{_jSparkSQLJob = a})---- | Job is a Hadoop job.-jHadoopJob :: Lens' Job (Maybe HadoopJob)-jHadoopJob-  = lens _jHadoopJob (\ s a -> s{_jHadoopJob = a})---- | Output only. A UUID that uniquely identifies a job within the project--- over time. This is in contrast to a user-settable reference.job_id that--- may be reused over time.-jJobUuid :: Lens' Job (Maybe Text)-jJobUuid = lens _jJobUuid (\ s a -> s{_jJobUuid = a})---- | Output only. The collection of YARN applications spun up by this--- job.Beta Feature: This report is available for testing purposes only. It--- may be changed before final release.-jYarnApplications :: Lens' Job [YarnApplication]-jYarnApplications-  = lens _jYarnApplications-      (\ s a -> s{_jYarnApplications = a})-      . _Default-      . _Coerce---- | Optional. The labels to associate with this job. Label keys must contain--- 1 to 63 characters, and must conform to RFC 1035--- (https:\/\/www.ietf.org\/rfc\/rfc1035.txt). Label values may be empty,--- but, if present, must contain 1 to 63 characters, and must conform to--- RFC 1035 (https:\/\/www.ietf.org\/rfc\/rfc1035.txt). No more than 32--- labels can be associated with a job.-jLabels :: Lens' Job (Maybe JobLabels)-jLabels = lens _jLabels (\ s a -> s{_jLabels = a})---- | Job is a Pyspark job.-jPysparkJob :: Lens' Job (Maybe PySparkJob)-jPysparkJob-  = lens _jPysparkJob (\ s a -> s{_jPysparkJob = a})---- | Output only. A URI pointing to the location of the stdout of the job\'s--- driver program.-jDriverOutputResourceURI :: Lens' Job (Maybe Text)-jDriverOutputResourceURI-  = lens _jDriverOutputResourceURI-      (\ s a -> s{_jDriverOutputResourceURI = a})---- | Optional. Job scheduling configuration.-jScheduling :: Lens' Job (Maybe JobScheduling)-jScheduling-  = lens _jScheduling (\ s a -> s{_jScheduling = a})---- | Output only. The previous job status.-jStatusHistory :: Lens' Job [JobStatus]-jStatusHistory-  = lens _jStatusHistory-      (\ s a -> s{_jStatusHistory = a})-      . _Default-      . _Coerce---- | Required. Job information, including how, when, and where to run the--- job.-jPlacement :: Lens' Job (Maybe JobPlacement)-jPlacement-  = lens _jPlacement (\ s a -> s{_jPlacement = a})---- | Job is a Pig job.-jPigJob :: Lens' Job (Maybe PigJob)-jPigJob = lens _jPigJob (\ s a -> s{_jPigJob = a})--instance FromJSON Job where-        parseJSON-          = withObject "Job"-              (\ o ->-                 Job' <$>-                   (o .:? "sparkJob") <*> (o .:? "status") <*>-                     (o .:? "driverControlFilesUri")-                     <*> (o .:? "hiveJob")-                     <*> (o .:? "reference")-                     <*> (o .:? "sparkSqlJob")-                     <*> (o .:? "hadoopJob")-                     <*> (o .:? "jobUuid")-                     <*> (o .:? "yarnApplications" .!= mempty)-                     <*> (o .:? "labels")-                     <*> (o .:? "pysparkJob")-                     <*> (o .:? "driverOutputResourceUri")-                     <*> (o .:? "scheduling")-                     <*> (o .:? "statusHistory" .!= mempty)-                     <*> (o .:? "placement")-                     <*> (o .:? "pigJob"))--instance ToJSON Job where-        toJSON Job'{..}-          = object-              (catMaybes-                 [("sparkJob" .=) <$> _jSparkJob,-                  ("status" .=) <$> _jStatus,-                  ("driverControlFilesUri" .=) <$>-                    _jDriverControlFilesURI,-                  ("hiveJob" .=) <$> _jHiveJob,-                  ("reference" .=) <$> _jReference,-                  ("sparkSqlJob" .=) <$> _jSparkSQLJob,-                  ("hadoopJob" .=) <$> _jHadoopJob,-                  ("jobUuid" .=) <$> _jJobUuid,-                  ("yarnApplications" .=) <$> _jYarnApplications,-                  ("labels" .=) <$> _jLabels,-                  ("pysparkJob" .=) <$> _jPysparkJob,-                  ("driverOutputResourceUri" .=) <$>-                    _jDriverOutputResourceURI,-                  ("scheduling" .=) <$> _jScheduling,-                  ("statusHistory" .=) <$> _jStatusHistory,-                  ("placement" .=) <$> _jPlacement,-                  ("pigJob" .=) <$> _jPigJob])---- | A request to collect cluster diagnostic information.------ /See:/ 'diagnoseClusterRequest' smart constructor.-data DiagnoseClusterRequest =-  DiagnoseClusterRequest'-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'DiagnoseClusterRequest' with the minimum fields required to make a request.----diagnoseClusterRequest-    :: DiagnoseClusterRequest-diagnoseClusterRequest = DiagnoseClusterRequest'---instance FromJSON DiagnoseClusterRequest where-        parseJSON-          = withObject "DiagnoseClusterRequest"-              (\ o -> pure DiagnoseClusterRequest')--instance ToJSON DiagnoseClusterRequest where-        toJSON = const emptyObject---- | A Cloud Dataproc job for running Apache Hadoop MapReduce--- (https:\/\/hadoop.apache.org\/docs\/current\/hadoop-mapreduce-client\/hadoop-mapreduce-client-core\/MapReduceTutorial.html)--- jobs on Apache Hadoop YARN--- (https:\/\/hadoop.apache.org\/docs\/r2.7.1\/hadoop-yarn\/hadoop-yarn-site\/YARN.html).------ /See:/ 'hadoopJob' smart constructor.-data HadoopJob =-  HadoopJob'-    { _hArgs           :: !(Maybe [Text])-    , _hMainJarFileURI :: !(Maybe Text)-    , _hJarFileURIs    :: !(Maybe [Text])-    , _hFileURIs       :: !(Maybe [Text])-    , _hArchiveURIs    :: !(Maybe [Text])-    , _hMainClass      :: !(Maybe Text)-    , _hLoggingConfig  :: !(Maybe LoggingConfig)-    , _hProperties     :: !(Maybe HadoopJobProperties)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'HadoopJob' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'hArgs'------ * 'hMainJarFileURI'------ * 'hJarFileURIs'------ * 'hFileURIs'------ * 'hArchiveURIs'------ * 'hMainClass'------ * 'hLoggingConfig'------ * 'hProperties'-hadoopJob-    :: HadoopJob-hadoopJob =-  HadoopJob'-    { _hArgs = Nothing-    , _hMainJarFileURI = Nothing-    , _hJarFileURIs = Nothing-    , _hFileURIs = Nothing-    , _hArchiveURIs = Nothing-    , _hMainClass = Nothing-    , _hLoggingConfig = Nothing-    , _hProperties = Nothing-    }----- | Optional. The arguments to pass to the driver. Do not include arguments,--- such as -libjars or -Dfoo=bar, that can be set as job properties, since--- a collision may occur that causes an incorrect job submission.-hArgs :: Lens' HadoopJob [Text]-hArgs-  = lens _hArgs (\ s a -> s{_hArgs = a}) . _Default .-      _Coerce---- | The HCFS URI of the jar file containing the main class. Examples:--- \'gs:\/\/foo-bucket\/analytics-binaries\/extract-useful-metrics-mr.jar\'--- \'hdfs:\/tmp\/test-samples\/custom-wordcount.jar\'--- \'file:\/\/\/home\/usr\/lib\/hadoop-mapreduce\/hadoop-mapreduce-examples.jar\'-hMainJarFileURI :: Lens' HadoopJob (Maybe Text)-hMainJarFileURI-  = lens _hMainJarFileURI-      (\ s a -> s{_hMainJarFileURI = a})---- | Optional. Jar file URIs to add to the CLASSPATHs of the Hadoop driver--- and tasks.-hJarFileURIs :: Lens' HadoopJob [Text]-hJarFileURIs-  = lens _hJarFileURIs (\ s a -> s{_hJarFileURIs = a})-      . _Default-      . _Coerce---- | Optional. HCFS (Hadoop Compatible Filesystem) URIs of files to be copied--- to the working directory of Hadoop drivers and distributed tasks. Useful--- for naively parallel tasks.-hFileURIs :: Lens' HadoopJob [Text]-hFileURIs-  = lens _hFileURIs (\ s a -> s{_hFileURIs = a}) .-      _Default-      . _Coerce---- | Optional. HCFS URIs of archives to be extracted in the working directory--- of Hadoop drivers and tasks. Supported file types: .jar, .tar, .tar.gz,--- .tgz, or .zip.-hArchiveURIs :: Lens' HadoopJob [Text]-hArchiveURIs-  = lens _hArchiveURIs (\ s a -> s{_hArchiveURIs = a})-      . _Default-      . _Coerce---- | The name of the driver\'s main class. The jar file containing the class--- must be in the default CLASSPATH or specified in jar_file_uris.-hMainClass :: Lens' HadoopJob (Maybe Text)-hMainClass-  = lens _hMainClass (\ s a -> s{_hMainClass = a})---- | Optional. The runtime log config for job execution.-hLoggingConfig :: Lens' HadoopJob (Maybe LoggingConfig)-hLoggingConfig-  = lens _hLoggingConfig-      (\ s a -> s{_hLoggingConfig = a})---- | Optional. A mapping of property names to values, used to configure--- Hadoop. Properties that conflict with values set by the Cloud Dataproc--- API may be overwritten. Can include properties set in--- \/etc\/hadoop\/conf\/*-site and classes in user code.-hProperties :: Lens' HadoopJob (Maybe HadoopJobProperties)-hProperties-  = lens _hProperties (\ s a -> s{_hProperties = a})--instance FromJSON HadoopJob where-        parseJSON-          = withObject "HadoopJob"-              (\ o ->-                 HadoopJob' <$>-                   (o .:? "args" .!= mempty) <*>-                     (o .:? "mainJarFileUri")-                     <*> (o .:? "jarFileUris" .!= mempty)-                     <*> (o .:? "fileUris" .!= mempty)-                     <*> (o .:? "archiveUris" .!= mempty)-                     <*> (o .:? "mainClass")-                     <*> (o .:? "loggingConfig")-                     <*> (o .:? "properties"))--instance ToJSON HadoopJob where-        toJSON HadoopJob'{..}-          = object-              (catMaybes-                 [("args" .=) <$> _hArgs,-                  ("mainJarFileUri" .=) <$> _hMainJarFileURI,-                  ("jarFileUris" .=) <$> _hJarFileURIs,-                  ("fileUris" .=) <$> _hFileURIs,-                  ("archiveUris" .=) <$> _hArchiveURIs,-                  ("mainClass" .=) <$> _hMainClass,-                  ("loggingConfig" .=) <$> _hLoggingConfig,-                  ("properties" .=) <$> _hProperties])---- | Optional. Map from parameter names to values that should be used for--- those parameters. Values may not exceed 100 characters.------ /See:/ 'instantiateWorkflowTemplateRequestParameters' smart constructor.-newtype InstantiateWorkflowTemplateRequestParameters =-  InstantiateWorkflowTemplateRequestParameters'-    { _iwtrpAddtional :: HashMap Text Text-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'InstantiateWorkflowTemplateRequestParameters' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'iwtrpAddtional'-instantiateWorkflowTemplateRequestParameters-    :: HashMap Text Text -- ^ 'iwtrpAddtional'-    -> InstantiateWorkflowTemplateRequestParameters-instantiateWorkflowTemplateRequestParameters pIwtrpAddtional_ =-  InstantiateWorkflowTemplateRequestParameters'-    {_iwtrpAddtional = _Coerce # pIwtrpAddtional_}---iwtrpAddtional :: Lens' InstantiateWorkflowTemplateRequestParameters (HashMap Text Text)-iwtrpAddtional-  = lens _iwtrpAddtional-      (\ s a -> s{_iwtrpAddtional = a})-      . _Coerce--instance FromJSON-           InstantiateWorkflowTemplateRequestParameters-         where-        parseJSON-          = withObject-              "InstantiateWorkflowTemplateRequestParameters"-              (\ o ->-                 InstantiateWorkflowTemplateRequestParameters' <$>-                   (parseJSONObject o))--instance ToJSON-           InstantiateWorkflowTemplateRequestParameters-         where-        toJSON = toJSON . _iwtrpAddtional---- | Metadata describing the operation.------ /See:/ 'clusterOperationMetadata' smart constructor.-data ClusterOperationMetadata =-  ClusterOperationMetadata'-    { _comStatus        :: !(Maybe ClusterOperationStatus)-    , _comClusterUuid   :: !(Maybe Text)-    , _comWarnings      :: !(Maybe [Text])-    , _comClusterName   :: !(Maybe Text)-    , _comLabels        :: !(Maybe ClusterOperationMetadataLabels)-    , _comOperationType :: !(Maybe Text)-    , _comStatusHistory :: !(Maybe [ClusterOperationStatus])-    , _comDescription   :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ClusterOperationMetadata' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'comStatus'------ * 'comClusterUuid'------ * 'comWarnings'------ * 'comClusterName'------ * 'comLabels'------ * 'comOperationType'------ * 'comStatusHistory'------ * 'comDescription'-clusterOperationMetadata-    :: ClusterOperationMetadata-clusterOperationMetadata =-  ClusterOperationMetadata'-    { _comStatus = Nothing-    , _comClusterUuid = Nothing-    , _comWarnings = Nothing-    , _comClusterName = Nothing-    , _comLabels = Nothing-    , _comOperationType = Nothing-    , _comStatusHistory = Nothing-    , _comDescription = Nothing-    }----- | Output only. Current operation status.-comStatus :: Lens' ClusterOperationMetadata (Maybe ClusterOperationStatus)-comStatus-  = lens _comStatus (\ s a -> s{_comStatus = a})---- | Output only. Cluster UUID for the operation.-comClusterUuid :: Lens' ClusterOperationMetadata (Maybe Text)-comClusterUuid-  = lens _comClusterUuid-      (\ s a -> s{_comClusterUuid = a})---- | Output only. Errors encountered during operation execution.-comWarnings :: Lens' ClusterOperationMetadata [Text]-comWarnings-  = lens _comWarnings (\ s a -> s{_comWarnings = a}) .-      _Default-      . _Coerce---- | Output only. Name of the cluster for the operation.-comClusterName :: Lens' ClusterOperationMetadata (Maybe Text)-comClusterName-  = lens _comClusterName-      (\ s a -> s{_comClusterName = a})---- | Output only. Labels associated with the operation-comLabels :: Lens' ClusterOperationMetadata (Maybe ClusterOperationMetadataLabels)-comLabels-  = lens _comLabels (\ s a -> s{_comLabels = a})---- | Output only. The operation type.-comOperationType :: Lens' ClusterOperationMetadata (Maybe Text)-comOperationType-  = lens _comOperationType-      (\ s a -> s{_comOperationType = a})---- | Output only. The previous operation status.-comStatusHistory :: Lens' ClusterOperationMetadata [ClusterOperationStatus]-comStatusHistory-  = lens _comStatusHistory-      (\ s a -> s{_comStatusHistory = a})-      . _Default-      . _Coerce---- | Output only. Short description of operation.-comDescription :: Lens' ClusterOperationMetadata (Maybe Text)-comDescription-  = lens _comDescription-      (\ s a -> s{_comDescription = a})--instance FromJSON ClusterOperationMetadata where-        parseJSON-          = withObject "ClusterOperationMetadata"-              (\ o ->-                 ClusterOperationMetadata' <$>-                   (o .:? "status") <*> (o .:? "clusterUuid") <*>-                     (o .:? "warnings" .!= mempty)-                     <*> (o .:? "clusterName")-                     <*> (o .:? "labels")-                     <*> (o .:? "operationType")-                     <*> (o .:? "statusHistory" .!= mempty)-                     <*> (o .:? "description"))--instance ToJSON ClusterOperationMetadata where-        toJSON ClusterOperationMetadata'{..}-          = object-              (catMaybes-                 [("status" .=) <$> _comStatus,-                  ("clusterUuid" .=) <$> _comClusterUuid,-                  ("warnings" .=) <$> _comWarnings,-                  ("clusterName" .=) <$> _comClusterName,-                  ("labels" .=) <$> _comLabels,-                  ("operationType" .=) <$> _comOperationType,-                  ("statusHistory" .=) <$> _comStatusHistory,-                  ("description" .=) <$> _comDescription])---- | Request message for TestIamPermissions method.------ /See:/ 'testIAMPermissionsRequest' smart constructor.-newtype TestIAMPermissionsRequest =-  TestIAMPermissionsRequest'-    { _tiprPermissions :: Maybe [Text]-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'TestIAMPermissionsRequest' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'tiprPermissions'-testIAMPermissionsRequest-    :: TestIAMPermissionsRequest-testIAMPermissionsRequest =-  TestIAMPermissionsRequest' {_tiprPermissions = Nothing}----- | The set of permissions to check for the resource. Permissions with--- wildcards (such as \'*\' or \'storage.*\') are not allowed. For more--- information see IAM Overview--- (https:\/\/cloud.google.com\/iam\/docs\/overview#permissions).-tiprPermissions :: Lens' TestIAMPermissionsRequest [Text]-tiprPermissions-  = lens _tiprPermissions-      (\ s a -> s{_tiprPermissions = a})-      . _Default-      . _Coerce--instance FromJSON TestIAMPermissionsRequest where-        parseJSON-          = withObject "TestIAMPermissionsRequest"-              (\ o ->-                 TestIAMPermissionsRequest' <$>-                   (o .:? "permissions" .!= mempty))--instance ToJSON TestIAMPermissionsRequest where-        toJSON TestIAMPermissionsRequest'{..}-          = object-              (catMaybes [("permissions" .=) <$> _tiprPermissions])---- | A Cloud Dataproc job for running Apache Spark SQL--- (http:\/\/spark.apache.org\/sql\/) queries.------ /See:/ 'sparkSQLJob' smart constructor.-data SparkSQLJob =-  SparkSQLJob'-    { _ssqljQueryFileURI    :: !(Maybe Text)-    , _ssqljJarFileURIs     :: !(Maybe [Text])-    , _ssqljScriptVariables :: !(Maybe SparkSQLJobScriptVariables)-    , _ssqljQueryList       :: !(Maybe QueryList)-    , _ssqljLoggingConfig   :: !(Maybe LoggingConfig)-    , _ssqljProperties      :: !(Maybe SparkSQLJobProperties)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'SparkSQLJob' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ssqljQueryFileURI'------ * 'ssqljJarFileURIs'------ * 'ssqljScriptVariables'------ * 'ssqljQueryList'------ * 'ssqljLoggingConfig'------ * 'ssqljProperties'-sparkSQLJob-    :: SparkSQLJob-sparkSQLJob =-  SparkSQLJob'-    { _ssqljQueryFileURI = Nothing-    , _ssqljJarFileURIs = Nothing-    , _ssqljScriptVariables = Nothing-    , _ssqljQueryList = Nothing-    , _ssqljLoggingConfig = Nothing-    , _ssqljProperties = Nothing-    }----- | The HCFS URI of the script that contains SQL queries.-ssqljQueryFileURI :: Lens' SparkSQLJob (Maybe Text)-ssqljQueryFileURI-  = lens _ssqljQueryFileURI-      (\ s a -> s{_ssqljQueryFileURI = a})---- | Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH.-ssqljJarFileURIs :: Lens' SparkSQLJob [Text]-ssqljJarFileURIs-  = lens _ssqljJarFileURIs-      (\ s a -> s{_ssqljJarFileURIs = a})-      . _Default-      . _Coerce---- | Optional. Mapping of query variable names to values (equivalent to the--- Spark SQL command: SET name=\"value\";).-ssqljScriptVariables :: Lens' SparkSQLJob (Maybe SparkSQLJobScriptVariables)-ssqljScriptVariables-  = lens _ssqljScriptVariables-      (\ s a -> s{_ssqljScriptVariables = a})---- | A list of queries.-ssqljQueryList :: Lens' SparkSQLJob (Maybe QueryList)-ssqljQueryList-  = lens _ssqljQueryList-      (\ s a -> s{_ssqljQueryList = a})---- | Optional. The runtime log config for job execution.-ssqljLoggingConfig :: Lens' SparkSQLJob (Maybe LoggingConfig)-ssqljLoggingConfig-  = lens _ssqljLoggingConfig-      (\ s a -> s{_ssqljLoggingConfig = a})---- | Optional. A mapping of property names to values, used to configure Spark--- SQL\'s SparkConf. Properties that conflict with values set by the Cloud--- Dataproc API may be overwritten.-ssqljProperties :: Lens' SparkSQLJob (Maybe SparkSQLJobProperties)-ssqljProperties-  = lens _ssqljProperties-      (\ s a -> s{_ssqljProperties = a})--instance FromJSON SparkSQLJob where-        parseJSON-          = withObject "SparkSQLJob"-              (\ o ->-                 SparkSQLJob' <$>-                   (o .:? "queryFileUri") <*>-                     (o .:? "jarFileUris" .!= mempty)-                     <*> (o .:? "scriptVariables")-                     <*> (o .:? "queryList")-                     <*> (o .:? "loggingConfig")-                     <*> (o .:? "properties"))--instance ToJSON SparkSQLJob where-        toJSON SparkSQLJob'{..}-          = object-              (catMaybes-                 [("queryFileUri" .=) <$> _ssqljQueryFileURI,-                  ("jarFileUris" .=) <$> _ssqljJarFileURIs,-                  ("scriptVariables" .=) <$> _ssqljScriptVariables,-                  ("queryList" .=) <$> _ssqljQueryList,-                  ("loggingConfig" .=) <$> _ssqljLoggingConfig,-                  ("properties" .=) <$> _ssqljProperties])---- | Specifies the selection and config of software inside the cluster.------ /See:/ 'softwareConfig' smart constructor.-data SoftwareConfig =-  SoftwareConfig'-    { _scOptionalComponents :: !(Maybe [Text])-    , _scImageVersion       :: !(Maybe Text)-    , _scProperties         :: !(Maybe SoftwareConfigProperties)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'SoftwareConfig' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'scOptionalComponents'------ * 'scImageVersion'------ * 'scProperties'-softwareConfig-    :: SoftwareConfig-softwareConfig =-  SoftwareConfig'-    { _scOptionalComponents = Nothing-    , _scImageVersion = Nothing-    , _scProperties = Nothing-    }----- | The set of optional components to activate on the cluster.-scOptionalComponents :: Lens' SoftwareConfig [Text]-scOptionalComponents-  = lens _scOptionalComponents-      (\ s a -> s{_scOptionalComponents = a})-      . _Default-      . _Coerce---- | Optional. The version of software inside the cluster. It must be one of--- the supported Cloud Dataproc Versions, such as \"1.2\" (including a--- subminor version, such as \"1.2.29\"), or the \"preview\" version. If--- unspecified, it defaults to the latest Debian version.-scImageVersion :: Lens' SoftwareConfig (Maybe Text)-scImageVersion-  = lens _scImageVersion-      (\ s a -> s{_scImageVersion = a})---- | Optional. The properties to set on daemon config files.Property keys are--- specified in prefix:property format, for example core:hadoop.tmp.dir.--- The following are supported prefixes and their mappings:--- capacity-scheduler: capacity-scheduler.xml core: core-site.xml distcp:--- distcp-default.xml hdfs: hdfs-site.xml hive: hive-site.xml mapred:--- mapred-site.xml pig: pig.properties spark: spark-defaults.conf yarn:--- yarn-site.xmlFor more information, see Cluster properties.-scProperties :: Lens' SoftwareConfig (Maybe SoftwareConfigProperties)-scProperties-  = lens _scProperties (\ s a -> s{_scProperties = a})--instance FromJSON SoftwareConfig where-        parseJSON-          = withObject "SoftwareConfig"-              (\ o ->-                 SoftwareConfig' <$>-                   (o .:? "optionalComponents" .!= mempty) <*>-                     (o .:? "imageVersion")-                     <*> (o .:? "properties"))--instance ToJSON SoftwareConfig where-        toJSON SoftwareConfig'{..}-          = object-              (catMaybes-                 [("optionalComponents" .=) <$> _scOptionalComponents,-                  ("imageVersion" .=) <$> _scImageVersion,-                  ("properties" .=) <$> _scProperties])---- | A list of jobs in a project.------ /See:/ 'listJobsResponse' smart constructor.-data ListJobsResponse =-  ListJobsResponse'-    { _ljrNextPageToken :: !(Maybe Text)-    , _ljrJobs          :: !(Maybe [Job])-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ListJobsResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ljrNextPageToken'------ * 'ljrJobs'-listJobsResponse-    :: ListJobsResponse-listJobsResponse =-  ListJobsResponse' {_ljrNextPageToken = Nothing, _ljrJobs = Nothing}----- | Optional. This token is included in the response if there are more--- results to fetch. To fetch additional results, provide this value as the--- page_token in a subsequent 'ListJobsRequest'.-ljrNextPageToken :: Lens' ListJobsResponse (Maybe Text)-ljrNextPageToken-  = lens _ljrNextPageToken-      (\ s a -> s{_ljrNextPageToken = a})---- | Output only. Jobs list.-ljrJobs :: Lens' ListJobsResponse [Job]-ljrJobs-  = lens _ljrJobs (\ s a -> s{_ljrJobs = a}) . _Default-      . _Coerce--instance FromJSON ListJobsResponse where-        parseJSON-          = withObject "ListJobsResponse"-              (\ o ->-                 ListJobsResponse' <$>-                   (o .:? "nextPageToken") <*>-                     (o .:? "jobs" .!= mempty))--instance ToJSON ListJobsResponse where-        toJSON ListJobsResponse'{..}-          = object-              (catMaybes-                 [("nextPageToken" .=) <$> _ljrNextPageToken,-                  ("jobs" .=) <$> _ljrJobs])---- | Specifies the type and number of accelerator cards attached to the--- instances of an instance. See GPUs on Compute Engine.------ /See:/ 'acceleratorConfig' smart constructor.-data AcceleratorConfig =-  AcceleratorConfig'-    { _acAcceleratorCount   :: !(Maybe (Textual Int32))-    , _acAcceleratorTypeURI :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'AcceleratorConfig' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'acAcceleratorCount'------ * 'acAcceleratorTypeURI'-acceleratorConfig-    :: AcceleratorConfig-acceleratorConfig =-  AcceleratorConfig'-    {_acAcceleratorCount = Nothing, _acAcceleratorTypeURI = Nothing}----- | The number of the accelerator cards of this type exposed to this--- instance.-acAcceleratorCount :: Lens' AcceleratorConfig (Maybe Int32)-acAcceleratorCount-  = lens _acAcceleratorCount-      (\ s a -> s{_acAcceleratorCount = a})-      . mapping _Coerce---- | Full URL, partial URI, or short name of the accelerator type resource to--- expose to this instance. See Compute Engine AcceleratorTypes.Examples:--- https:\/\/www.googleapis.com\/compute\/beta\/projects\/[project_id]\/zones\/us-east1-a\/acceleratorTypes\/nvidia-tesla-k80--- projects\/[project_id]\/zones\/us-east1-a\/acceleratorTypes\/nvidia-tesla-k80--- nvidia-tesla-k80Auto Zone Exception: If you are using the Cloud Dataproc--- Auto Zone Placement feature, you must use the short name of the--- accelerator type resource, for example, nvidia-tesla-k80.-acAcceleratorTypeURI :: Lens' AcceleratorConfig (Maybe Text)-acAcceleratorTypeURI-  = lens _acAcceleratorTypeURI-      (\ s a -> s{_acAcceleratorTypeURI = a})--instance FromJSON AcceleratorConfig where-        parseJSON-          = withObject "AcceleratorConfig"-              (\ o ->-                 AcceleratorConfig' <$>-                   (o .:? "acceleratorCount") <*>-                     (o .:? "acceleratorTypeUri"))--instance ToJSON AcceleratorConfig where-        toJSON AcceleratorConfig'{..}-          = object-              (catMaybes-                 [("acceleratorCount" .=) <$> _acAcceleratorCount,-                  ("acceleratorTypeUri" .=) <$> _acAcceleratorTypeURI])---- | Optional. A mapping of property names to values, used to configure--- Spark. Properties that conflict with values set by the Cloud Dataproc--- API may be overwritten. Can include properties set in--- \/etc\/spark\/conf\/spark-defaults.conf and classes in user code.------ /See:/ 'sparkJobProperties' smart constructor.-newtype SparkJobProperties =-  SparkJobProperties'-    { _sjpAddtional :: HashMap Text Text-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'SparkJobProperties' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'sjpAddtional'-sparkJobProperties-    :: HashMap Text Text -- ^ 'sjpAddtional'-    -> SparkJobProperties-sparkJobProperties pSjpAddtional_ =-  SparkJobProperties' {_sjpAddtional = _Coerce # pSjpAddtional_}---sjpAddtional :: Lens' SparkJobProperties (HashMap Text Text)-sjpAddtional-  = lens _sjpAddtional (\ s a -> s{_sjpAddtional = a})-      . _Coerce--instance FromJSON SparkJobProperties where-        parseJSON-          = withObject "SparkJobProperties"-              (\ o -> SparkJobProperties' <$> (parseJSONObject o))--instance ToJSON SparkJobProperties where-        toJSON = toJSON . _sjpAddtional---- | Encryption settings for the cluster.------ /See:/ 'encryptionConfig' smart constructor.-newtype EncryptionConfig =-  EncryptionConfig'-    { _ecGcePdKmsKeyName :: Maybe Text-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'EncryptionConfig' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ecGcePdKmsKeyName'-encryptionConfig-    :: EncryptionConfig-encryptionConfig = EncryptionConfig' {_ecGcePdKmsKeyName = Nothing}----- | Optional. The Cloud KMS key name to use for PD disk encryption for all--- instances in the cluster.-ecGcePdKmsKeyName :: Lens' EncryptionConfig (Maybe Text)-ecGcePdKmsKeyName-  = lens _ecGcePdKmsKeyName-      (\ s a -> s{_ecGcePdKmsKeyName = a})--instance FromJSON EncryptionConfig where-        parseJSON-          = withObject "EncryptionConfig"-              (\ o ->-                 EncryptionConfig' <$> (o .:? "gcePdKmsKeyName"))--instance ToJSON EncryptionConfig where-        toJSON EncryptionConfig'{..}-          = object-              (catMaybes-                 [("gcePdKmsKeyName" .=) <$> _ecGcePdKmsKeyName])---- | A Cloud Dataproc job for running Apache PySpark--- (https:\/\/spark.apache.org\/docs\/0.9.0\/python-programming-guide.html)--- applications on YARN.------ /See:/ 'pySparkJob' smart constructor.-data PySparkJob =-  PySparkJob'-    { _psjPythonFileURIs    :: !(Maybe [Text])-    , _psjMainPythonFileURI :: !(Maybe Text)-    , _psjArgs              :: !(Maybe [Text])-    , _psjJarFileURIs       :: !(Maybe [Text])-    , _psjFileURIs          :: !(Maybe [Text])-    , _psjArchiveURIs       :: !(Maybe [Text])-    , _psjLoggingConfig     :: !(Maybe LoggingConfig)-    , _psjProperties        :: !(Maybe PySparkJobProperties)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'PySparkJob' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'psjPythonFileURIs'------ * 'psjMainPythonFileURI'------ * 'psjArgs'------ * 'psjJarFileURIs'------ * 'psjFileURIs'------ * 'psjArchiveURIs'------ * 'psjLoggingConfig'------ * 'psjProperties'-pySparkJob-    :: PySparkJob-pySparkJob =-  PySparkJob'-    { _psjPythonFileURIs = Nothing-    , _psjMainPythonFileURI = Nothing-    , _psjArgs = Nothing-    , _psjJarFileURIs = Nothing-    , _psjFileURIs = Nothing-    , _psjArchiveURIs = Nothing-    , _psjLoggingConfig = Nothing-    , _psjProperties = Nothing-    }----- | Optional. HCFS file URIs of Python files to pass to the PySpark--- framework. Supported file types: .py, .egg, and .zip.-psjPythonFileURIs :: Lens' PySparkJob [Text]-psjPythonFileURIs-  = lens _psjPythonFileURIs-      (\ s a -> s{_psjPythonFileURIs = a})-      . _Default-      . _Coerce---- | Required. The HCFS URI of the main Python file to use as the driver.--- Must be a .py file.-psjMainPythonFileURI :: Lens' PySparkJob (Maybe Text)-psjMainPythonFileURI-  = lens _psjMainPythonFileURI-      (\ s a -> s{_psjMainPythonFileURI = a})---- | Optional. The arguments to pass to the driver. Do not include arguments,--- such as --conf, that can be set as job properties, since a collision may--- occur that causes an incorrect job submission.-psjArgs :: Lens' PySparkJob [Text]-psjArgs-  = lens _psjArgs (\ s a -> s{_psjArgs = a}) . _Default-      . _Coerce---- | Optional. HCFS URIs of jar files to add to the CLASSPATHs of the Python--- driver and tasks.-psjJarFileURIs :: Lens' PySparkJob [Text]-psjJarFileURIs-  = lens _psjJarFileURIs-      (\ s a -> s{_psjJarFileURIs = a})-      . _Default-      . _Coerce---- | Optional. HCFS URIs of files to be copied to the working directory of--- Python drivers and distributed tasks. Useful for naively parallel tasks.-psjFileURIs :: Lens' PySparkJob [Text]-psjFileURIs-  = lens _psjFileURIs (\ s a -> s{_psjFileURIs = a}) .-      _Default-      . _Coerce---- | Optional. HCFS URIs of archives to be extracted in the working directory--- of .jar, .tar, .tar.gz, .tgz, and .zip.-psjArchiveURIs :: Lens' PySparkJob [Text]-psjArchiveURIs-  = lens _psjArchiveURIs-      (\ s a -> s{_psjArchiveURIs = a})-      . _Default-      . _Coerce---- | Optional. The runtime log config for job execution.-psjLoggingConfig :: Lens' PySparkJob (Maybe LoggingConfig)-psjLoggingConfig-  = lens _psjLoggingConfig-      (\ s a -> s{_psjLoggingConfig = a})---- | Optional. A mapping of property names to values, used to configure--- PySpark. Properties that conflict with values set by the Cloud Dataproc--- API may be overwritten. Can include properties set in--- \/etc\/spark\/conf\/spark-defaults.conf and classes in user code.-psjProperties :: Lens' PySparkJob (Maybe PySparkJobProperties)-psjProperties-  = lens _psjProperties-      (\ s a -> s{_psjProperties = a})--instance FromJSON PySparkJob where-        parseJSON-          = withObject "PySparkJob"-              (\ o ->-                 PySparkJob' <$>-                   (o .:? "pythonFileUris" .!= mempty) <*>-                     (o .:? "mainPythonFileUri")-                     <*> (o .:? "args" .!= mempty)-                     <*> (o .:? "jarFileUris" .!= mempty)-                     <*> (o .:? "fileUris" .!= mempty)-                     <*> (o .:? "archiveUris" .!= mempty)-                     <*> (o .:? "loggingConfig")-                     <*> (o .:? "properties"))--instance ToJSON PySparkJob where-        toJSON PySparkJob'{..}-          = object-              (catMaybes-                 [("pythonFileUris" .=) <$> _psjPythonFileURIs,-                  ("mainPythonFileUri" .=) <$> _psjMainPythonFileURI,-                  ("args" .=) <$> _psjArgs,-                  ("jarFileUris" .=) <$> _psjJarFileURIs,-                  ("fileUris" .=) <$> _psjFileURIs,-                  ("archiveUris" .=) <$> _psjArchiveURIs,-                  ("loggingConfig" .=) <$> _psjLoggingConfig,-                  ("properties" .=) <$> _psjProperties])---- | Specifies the resources used to actively manage an instance group.------ /See:/ 'managedGroupConfig' smart constructor.-data ManagedGroupConfig =-  ManagedGroupConfig'-    { _mgcInstanceTemplateName     :: !(Maybe Text)-    , _mgcInstanceGroupManagerName :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ManagedGroupConfig' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'mgcInstanceTemplateName'------ * 'mgcInstanceGroupManagerName'-managedGroupConfig-    :: ManagedGroupConfig-managedGroupConfig =-  ManagedGroupConfig'-    {_mgcInstanceTemplateName = Nothing, _mgcInstanceGroupManagerName = Nothing}----- | Output only. The name of the Instance Template used for the Managed--- Instance Group.-mgcInstanceTemplateName :: Lens' ManagedGroupConfig (Maybe Text)-mgcInstanceTemplateName-  = lens _mgcInstanceTemplateName-      (\ s a -> s{_mgcInstanceTemplateName = a})---- | Output only. The name of the Instance Group Manager for this group.-mgcInstanceGroupManagerName :: Lens' ManagedGroupConfig (Maybe Text)-mgcInstanceGroupManagerName-  = lens _mgcInstanceGroupManagerName-      (\ s a -> s{_mgcInstanceGroupManagerName = a})--instance FromJSON ManagedGroupConfig where-        parseJSON-          = withObject "ManagedGroupConfig"-              (\ o ->-                 ManagedGroupConfig' <$>-                   (o .:? "instanceTemplateName") <*>-                     (o .:? "instanceGroupManagerName"))--instance ToJSON ManagedGroupConfig where-        toJSON ManagedGroupConfig'{..}-          = object-              (catMaybes-                 [("instanceTemplateName" .=) <$>-                    _mgcInstanceTemplateName,-                  ("instanceGroupManagerName" .=) <$>-                    _mgcInstanceGroupManagerName])---- | Response message for TestIamPermissions method.------ /See:/ 'testIAMPermissionsResponse' smart constructor.-newtype TestIAMPermissionsResponse =-  TestIAMPermissionsResponse'-    { _tiamprPermissions :: Maybe [Text]-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'TestIAMPermissionsResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'tiamprPermissions'-testIAMPermissionsResponse-    :: TestIAMPermissionsResponse-testIAMPermissionsResponse =-  TestIAMPermissionsResponse' {_tiamprPermissions = Nothing}----- | A subset of TestPermissionsRequest.permissions that the caller is--- allowed.-tiamprPermissions :: Lens' TestIAMPermissionsResponse [Text]-tiamprPermissions-  = lens _tiamprPermissions-      (\ s a -> s{_tiamprPermissions = a})-      . _Default-      . _Coerce--instance FromJSON TestIAMPermissionsResponse where-        parseJSON-          = withObject "TestIAMPermissionsResponse"-              (\ o ->-                 TestIAMPermissionsResponse' <$>-                   (o .:? "permissions" .!= mempty))--instance ToJSON TestIAMPermissionsResponse where-        toJSON TestIAMPermissionsResponse'{..}-          = object-              (catMaybes-                 [("permissions" .=) <$> _tiamprPermissions])---- | The list of all clusters in a project.------ /See:/ 'listClustersResponse' smart constructor.-data ListClustersResponse =-  ListClustersResponse'-    { _lcrNextPageToken :: !(Maybe Text)-    , _lcrClusters      :: !(Maybe [Cluster])-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ListClustersResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lcrNextPageToken'------ * 'lcrClusters'-listClustersResponse-    :: ListClustersResponse-listClustersResponse =-  ListClustersResponse' {_lcrNextPageToken = Nothing, _lcrClusters = Nothing}----- | Output only. This token is included in the response if there are more--- results to fetch. To fetch additional results, provide this value as the--- page_token in a subsequent ListClustersRequest.-lcrNextPageToken :: Lens' ListClustersResponse (Maybe Text)-lcrNextPageToken-  = lens _lcrNextPageToken-      (\ s a -> s{_lcrNextPageToken = a})---- | Output only. The clusters in the project.-lcrClusters :: Lens' ListClustersResponse [Cluster]-lcrClusters-  = lens _lcrClusters (\ s a -> s{_lcrClusters = a}) .-      _Default-      . _Coerce--instance FromJSON ListClustersResponse where-        parseJSON-          = withObject "ListClustersResponse"-              (\ o ->-                 ListClustersResponse' <$>-                   (o .:? "nextPageToken") <*>-                     (o .:? "clusters" .!= mempty))--instance ToJSON ListClustersResponse where-        toJSON ListClustersResponse'{..}-          = object-              (catMaybes-                 [("nextPageToken" .=) <$> _lcrNextPageToken,-                  ("clusters" .=) <$> _lcrClusters])---- | Validation based on a list of allowed values.------ /See:/ 'valueValidation' smart constructor.-newtype ValueValidation =-  ValueValidation'-    { _vvValues :: Maybe [Text]-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ValueValidation' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'vvValues'-valueValidation-    :: ValueValidation-valueValidation = ValueValidation' {_vvValues = Nothing}----- | Required. List of allowed values for the parameter.-vvValues :: Lens' ValueValidation [Text]-vvValues-  = lens _vvValues (\ s a -> s{_vvValues = a}) .-      _Default-      . _Coerce--instance FromJSON ValueValidation where-        parseJSON-          = withObject "ValueValidation"-              (\ o ->-                 ValueValidation' <$> (o .:? "values" .!= mempty))--instance ToJSON ValueValidation where-        toJSON ValueValidation'{..}-          = object (catMaybes [("values" .=) <$> _vvValues])---- | Defines an Identity and Access Management (IAM) policy. It is used to--- specify access control policies for Cloud Platform resources.A Policy--- consists of a list of bindings. A binding binds a list of members to a--- role, where the members can be user accounts, Google groups, Google--- domains, and service accounts. A role is a named list of permissions--- defined by IAM.JSON Example { \"bindings\": [ { \"role\":--- \"roles\/owner\", \"members\": [ \"user:mike\'example.com\",--- \"group:admins\'example.com\", \"domain:google.com\",--- \"serviceAccount:my-other-app\'appspot.gserviceaccount.com\" ] }, {--- \"role\": \"roles\/viewer\", \"members\": [\"user:sean\'example.com\"] }--- ] } YAML Example bindings: - members: - user:mike\'example.com ---- group:admins\'example.com - domain:google.com ---- serviceAccount:my-other-app\'appspot.gserviceaccount.com role:--- roles\/owner - members: - user:sean\'example.com role: roles\/viewer For--- a description of IAM and its features, see the IAM developer\'s guide--- (https:\/\/cloud.google.com\/iam\/docs).------ /See:/ 'policy' smart constructor.-data Policy =-  Policy'-    { _pEtag     :: !(Maybe Bytes)-    , _pVersion  :: !(Maybe (Textual Int32))-    , _pBindings :: !(Maybe [Binding])-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'Policy' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pEtag'------ * 'pVersion'------ * 'pBindings'-policy-    :: Policy-policy = Policy' {_pEtag = Nothing, _pVersion = Nothing, _pBindings = Nothing}----- | 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.If no etag is provided in the call to setIamPolicy, then the--- existing policy is overwritten blindly.-pEtag :: Lens' Policy (Maybe ByteString)-pEtag-  = lens _pEtag (\ s a -> s{_pEtag = a}) .-      mapping _Bytes---- | Deprecated.-pVersion :: Lens' Policy (Maybe Int32)-pVersion-  = lens _pVersion (\ s a -> s{_pVersion = a}) .-      mapping _Coerce---- | Associates a list of members to a role. bindings with no members will--- result in an error.-pBindings :: Lens' Policy [Binding]-pBindings-  = lens _pBindings (\ s a -> s{_pBindings = a}) .-      _Default-      . _Coerce--instance FromJSON Policy where-        parseJSON-          = withObject "Policy"-              (\ o ->-                 Policy' <$>-                   (o .:? "etag") <*> (o .:? "version") <*>-                     (o .:? "bindings" .!= mempty))--instance ToJSON Policy where-        toJSON Policy'{..}-          = object-              (catMaybes-                 [("etag" .=) <$> _pEtag,-                  ("version" .=) <$> _pVersion,-                  ("bindings" .=) <$> _pBindings])---- | A job executed by the workflow.------ /See:/ 'orderedJob' smart constructor.-data OrderedJob =-  OrderedJob'-    { _ojSparkJob            :: !(Maybe SparkJob)-    , _ojStepId              :: !(Maybe Text)-    , _ojPrerequisiteStepIds :: !(Maybe [Text])-    , _ojHiveJob             :: !(Maybe HiveJob)-    , _ojSparkSQLJob         :: !(Maybe SparkSQLJob)-    , _ojHadoopJob           :: !(Maybe HadoopJob)-    , _ojLabels              :: !(Maybe OrderedJobLabels)-    , _ojPysparkJob          :: !(Maybe PySparkJob)-    , _ojScheduling          :: !(Maybe JobScheduling)-    , _ojPigJob              :: !(Maybe PigJob)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'OrderedJob' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ojSparkJob'------ * 'ojStepId'------ * 'ojPrerequisiteStepIds'------ * 'ojHiveJob'------ * 'ojSparkSQLJob'------ * 'ojHadoopJob'------ * 'ojLabels'------ * 'ojPysparkJob'------ * 'ojScheduling'------ * 'ojPigJob'-orderedJob-    :: OrderedJob-orderedJob =-  OrderedJob'-    { _ojSparkJob = Nothing-    , _ojStepId = Nothing-    , _ojPrerequisiteStepIds = Nothing-    , _ojHiveJob = Nothing-    , _ojSparkSQLJob = Nothing-    , _ojHadoopJob = Nothing-    , _ojLabels = Nothing-    , _ojPysparkJob = Nothing-    , _ojScheduling = Nothing-    , _ojPigJob = Nothing-    }----- | Job is a Spark job.-ojSparkJob :: Lens' OrderedJob (Maybe SparkJob)-ojSparkJob-  = lens _ojSparkJob (\ s a -> s{_ojSparkJob = a})---- | Required. The step id. The id must be unique among all jobs within the--- template.The step id is used as prefix for job id, as job--- goog-dataproc-workflow-step-id label, and in prerequisiteStepIds field--- from other steps.The id must contain only letters (a-z, A-Z), numbers--- (0-9), underscores (_), and hyphens (-). Cannot begin or end with--- underscore or hyphen. Must consist of between 3 and 50 characters.-ojStepId :: Lens' OrderedJob (Maybe Text)-ojStepId = lens _ojStepId (\ s a -> s{_ojStepId = a})---- | Optional. The optional list of prerequisite job step_ids. If not--- specified, the job will start at the beginning of workflow.-ojPrerequisiteStepIds :: Lens' OrderedJob [Text]-ojPrerequisiteStepIds-  = lens _ojPrerequisiteStepIds-      (\ s a -> s{_ojPrerequisiteStepIds = a})-      . _Default-      . _Coerce---- | Job is a Hive job.-ojHiveJob :: Lens' OrderedJob (Maybe HiveJob)-ojHiveJob-  = lens _ojHiveJob (\ s a -> s{_ojHiveJob = a})---- | Job is a SparkSql job.-ojSparkSQLJob :: Lens' OrderedJob (Maybe SparkSQLJob)-ojSparkSQLJob-  = lens _ojSparkSQLJob-      (\ s a -> s{_ojSparkSQLJob = a})---- | Job is a Hadoop job.-ojHadoopJob :: Lens' OrderedJob (Maybe HadoopJob)-ojHadoopJob-  = lens _ojHadoopJob (\ s a -> s{_ojHadoopJob = a})---- | Optional. The labels to associate with this job.Label keys must be--- between 1 and 63 characters long, and must conform to the following--- regular expression: \\p{Ll}\\p{Lo}{0,62}Label values must be between 1--- and 63 characters long, and must conform to the following regular--- expression: \\p{Ll}\\p{Lo}\\p{N}_-{0,63}No more than 32 labels can be--- associated with a given job.-ojLabels :: Lens' OrderedJob (Maybe OrderedJobLabels)-ojLabels = lens _ojLabels (\ s a -> s{_ojLabels = a})---- | Job is a Pyspark job.-ojPysparkJob :: Lens' OrderedJob (Maybe PySparkJob)-ojPysparkJob-  = lens _ojPysparkJob (\ s a -> s{_ojPysparkJob = a})---- | Optional. Job scheduling configuration.-ojScheduling :: Lens' OrderedJob (Maybe JobScheduling)-ojScheduling-  = lens _ojScheduling (\ s a -> s{_ojScheduling = a})---- | Job is a Pig job.-ojPigJob :: Lens' OrderedJob (Maybe PigJob)-ojPigJob = lens _ojPigJob (\ s a -> s{_ojPigJob = a})--instance FromJSON OrderedJob where-        parseJSON-          = withObject "OrderedJob"-              (\ o ->-                 OrderedJob' <$>-                   (o .:? "sparkJob") <*> (o .:? "stepId") <*>-                     (o .:? "prerequisiteStepIds" .!= mempty)-                     <*> (o .:? "hiveJob")-                     <*> (o .:? "sparkSqlJob")-                     <*> (o .:? "hadoopJob")-                     <*> (o .:? "labels")-                     <*> (o .:? "pysparkJob")-                     <*> (o .:? "scheduling")-                     <*> (o .:? "pigJob"))--instance ToJSON OrderedJob where-        toJSON OrderedJob'{..}-          = object-              (catMaybes-                 [("sparkJob" .=) <$> _ojSparkJob,-                  ("stepId" .=) <$> _ojStepId,-                  ("prerequisiteStepIds" .=) <$>-                    _ojPrerequisiteStepIds,-                  ("hiveJob" .=) <$> _ojHiveJob,-                  ("sparkSqlJob" .=) <$> _ojSparkSQLJob,-                  ("hadoopJob" .=) <$> _ojHadoopJob,-                  ("labels" .=) <$> _ojLabels,-                  ("pysparkJob" .=) <$> _ojPysparkJob,-                  ("scheduling" .=) <$> _ojScheduling,-                  ("pigJob" .=) <$> _ojPigJob])---- | A request to cancel a job.------ /See:/ 'cancelJobRequest' smart constructor.-data CancelJobRequest =-  CancelJobRequest'-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'CancelJobRequest' with the minimum fields required to make a request.----cancelJobRequest-    :: CancelJobRequest-cancelJobRequest = CancelJobRequest'---instance FromJSON CancelJobRequest where-        parseJSON-          = withObject "CancelJobRequest"-              (\ o -> pure CancelJobRequest')--instance ToJSON CancelJobRequest where-        toJSON = const emptyObject---- | A list of queries to run on a cluster.------ /See:/ 'queryList' smart constructor.-newtype QueryList =-  QueryList'-    { _qlQueries :: Maybe [Text]-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'QueryList' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'qlQueries'-queryList-    :: QueryList-queryList = QueryList' {_qlQueries = Nothing}----- | Required. The queries to execute. You do not need to terminate a query--- with a semicolon. Multiple queries can be specified in one string by--- separating each with a semicolon. Here is an example of an Cloud--- Dataproc API snippet that uses a QueryList to specify a HiveJob:--- \"hiveJob\": { \"queryList\": { \"queries\": [ \"query1\", \"query2\",--- \"query3;query4\", ] } }-qlQueries :: Lens' QueryList [Text]-qlQueries-  = lens _qlQueries (\ s a -> s{_qlQueries = a}) .-      _Default-      . _Coerce--instance FromJSON QueryList where-        parseJSON-          = withObject "QueryList"-              (\ o -> QueryList' <$> (o .:? "queries" .!= mempty))--instance ToJSON QueryList where-        toJSON QueryList'{..}-          = object (catMaybes [("queries" .=) <$> _qlQueries])---- | Service-specific metadata associated with the operation. It typically--- contains progress information and common metadata such as create time.--- Some services might not provide such metadata. Any method that returns a--- long-running operation should document the metadata type, if any.------ /See:/ 'operationMetadata' smart constructor.-newtype OperationMetadata =-  OperationMetadata'-    { _omAddtional :: HashMap Text JSONValue-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'OperationMetadata' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'omAddtional'-operationMetadata-    :: HashMap Text JSONValue -- ^ 'omAddtional'-    -> OperationMetadata-operationMetadata pOmAddtional_ =-  OperationMetadata' {_omAddtional = _Coerce # pOmAddtional_}----- | Properties of the object. Contains field \'type with type URL.-omAddtional :: Lens' OperationMetadata (HashMap Text JSONValue)-omAddtional-  = lens _omAddtional (\ s a -> s{_omAddtional = a}) .-      _Coerce--instance FromJSON OperationMetadata where-        parseJSON-          = withObject "OperationMetadata"-              (\ o -> OperationMetadata' <$> (parseJSONObject o))--instance ToJSON OperationMetadata where-        toJSON = toJSON . _omAddtional---- | Cloud Dataproc job status.------ /See:/ 'jobStatus' smart constructor.-data JobStatus =-  JobStatus'-    { _jsState          :: !(Maybe JobStatusState)-    , _jsSubState       :: !(Maybe JobStatusSubState)-    , _jsStateStartTime :: !(Maybe DateTime')-    , _jsDetails        :: !(Maybe Text)-    }-  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'------ * 'jsSubState'------ * 'jsStateStartTime'------ * 'jsDetails'-jobStatus-    :: JobStatus-jobStatus =-  JobStatus'-    { _jsState = Nothing-    , _jsSubState = Nothing-    , _jsStateStartTime = Nothing-    , _jsDetails = Nothing-    }----- | Output only. A state message specifying the overall job state.-jsState :: Lens' JobStatus (Maybe JobStatusState)-jsState = lens _jsState (\ s a -> s{_jsState = a})---- | Output only. Additional state information, which includes status--- reported by the agent.-jsSubState :: Lens' JobStatus (Maybe JobStatusSubState)-jsSubState-  = lens _jsSubState (\ s a -> s{_jsSubState = a})---- | Output only. The time when this state was entered.-jsStateStartTime :: Lens' JobStatus (Maybe UTCTime)-jsStateStartTime-  = lens _jsStateStartTime-      (\ s a -> s{_jsStateStartTime = a})-      . mapping _DateTime---- | Output only. Optional job state details, such as an error description if--- the state is 'ERROR'.-jsDetails :: Lens' JobStatus (Maybe Text)-jsDetails-  = lens _jsDetails (\ s a -> s{_jsDetails = a})--instance FromJSON JobStatus where-        parseJSON-          = withObject "JobStatus"-              (\ o ->-                 JobStatus' <$>-                   (o .:? "state") <*> (o .:? "substate") <*>-                     (o .:? "stateStartTime")-                     <*> (o .:? "details"))--instance ToJSON JobStatus where-        toJSON JobStatus'{..}-          = object-              (catMaybes-                 [("state" .=) <$> _jsState,-                  ("substate" .=) <$> _jsSubState,-                  ("stateStartTime" .=) <$> _jsStateStartTime,-                  ("details" .=) <$> _jsDetails])---- | Optional. Mapping of query variable names to values (equivalent to the--- Pig command: name=[value]).------ /See:/ 'pigJobScriptVariables' smart constructor.-newtype PigJobScriptVariables =-  PigJobScriptVariables'-    { _pjsvAddtional :: HashMap Text Text-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'PigJobScriptVariables' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pjsvAddtional'-pigJobScriptVariables-    :: HashMap Text Text -- ^ 'pjsvAddtional'-    -> PigJobScriptVariables-pigJobScriptVariables pPjsvAddtional_ =-  PigJobScriptVariables' {_pjsvAddtional = _Coerce # pPjsvAddtional_}---pjsvAddtional :: Lens' PigJobScriptVariables (HashMap Text Text)-pjsvAddtional-  = lens _pjsvAddtional-      (\ s a -> s{_pjsvAddtional = a})-      . _Coerce--instance FromJSON PigJobScriptVariables where-        parseJSON-          = withObject "PigJobScriptVariables"-              (\ o ->-                 PigJobScriptVariables' <$> (parseJSONObject o))--instance ToJSON PigJobScriptVariables where-        toJSON = toJSON . _pjsvAddtional---- | The HDFS metrics.------ /See:/ 'clusterMetricsHdfsMetrics' smart constructor.-newtype ClusterMetricsHdfsMetrics =-  ClusterMetricsHdfsMetrics'-    { _cmhmAddtional :: HashMap Text (Textual Int64)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ClusterMetricsHdfsMetrics' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cmhmAddtional'-clusterMetricsHdfsMetrics-    :: HashMap Text Int64 -- ^ 'cmhmAddtional'-    -> ClusterMetricsHdfsMetrics-clusterMetricsHdfsMetrics pCmhmAddtional_ =-  ClusterMetricsHdfsMetrics' {_cmhmAddtional = _Coerce # pCmhmAddtional_}---cmhmAddtional :: Lens' ClusterMetricsHdfsMetrics (HashMap Text Int64)-cmhmAddtional-  = lens _cmhmAddtional-      (\ s a -> s{_cmhmAddtional = a})-      . _Coerce--instance FromJSON ClusterMetricsHdfsMetrics where-        parseJSON-          = withObject "ClusterMetricsHdfsMetrics"-              (\ o ->-                 ClusterMetricsHdfsMetrics' <$> (parseJSONObject o))--instance ToJSON ClusterMetricsHdfsMetrics where-        toJSON = toJSON . _cmhmAddtional---- | The workflow node.------ /See:/ 'workflowNode' smart constructor.-data WorkflowNode =-  WorkflowNode'-    { _wnState               :: !(Maybe WorkflowNodeState)-    , _wnStepId              :: !(Maybe Text)-    , _wnJobId               :: !(Maybe Text)-    , _wnPrerequisiteStepIds :: !(Maybe [Text])-    , _wnError               :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'WorkflowNode' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'wnState'------ * 'wnStepId'------ * 'wnJobId'------ * 'wnPrerequisiteStepIds'------ * 'wnError'-workflowNode-    :: WorkflowNode-workflowNode =-  WorkflowNode'-    { _wnState = Nothing-    , _wnStepId = Nothing-    , _wnJobId = Nothing-    , _wnPrerequisiteStepIds = Nothing-    , _wnError = Nothing-    }----- | Output only. The node state.-wnState :: Lens' WorkflowNode (Maybe WorkflowNodeState)-wnState = lens _wnState (\ s a -> s{_wnState = a})---- | Output only. The name of the node.-wnStepId :: Lens' WorkflowNode (Maybe Text)-wnStepId = lens _wnStepId (\ s a -> s{_wnStepId = a})---- | Output only. The job id; populated after the node enters RUNNING state.-wnJobId :: Lens' WorkflowNode (Maybe Text)-wnJobId = lens _wnJobId (\ s a -> s{_wnJobId = a})---- | Output only. Node\'s prerequisite nodes.-wnPrerequisiteStepIds :: Lens' WorkflowNode [Text]-wnPrerequisiteStepIds-  = lens _wnPrerequisiteStepIds-      (\ s a -> s{_wnPrerequisiteStepIds = a})-      . _Default-      . _Coerce---- | Output only. The error detail.-wnError :: Lens' WorkflowNode (Maybe Text)-wnError = lens _wnError (\ s a -> s{_wnError = a})--instance FromJSON WorkflowNode where-        parseJSON-          = withObject "WorkflowNode"-              (\ o ->-                 WorkflowNode' <$>-                   (o .:? "state") <*> (o .:? "stepId") <*>-                     (o .:? "jobId")-                     <*> (o .:? "prerequisiteStepIds" .!= mempty)-                     <*> (o .:? "error"))--instance ToJSON WorkflowNode where-        toJSON WorkflowNode'{..}-          = object-              (catMaybes-                 [("state" .=) <$> _wnState,-                  ("stepId" .=) <$> _wnStepId,-                  ("jobId" .=) <$> _wnJobId,-                  ("prerequisiteStepIds" .=) <$>-                    _wnPrerequisiteStepIds,-                  ("error" .=) <$> _wnError])---- | A Cloud Dataproc workflow template resource.------ /See:/ 'workflowMetadata' smart constructor.-data WorkflowMetadata =-  WorkflowMetadata'-    { _wmGraph         :: !(Maybe WorkflowGraph)-    , _wmState         :: !(Maybe WorkflowMetadataState)-    , _wmClusterUuid   :: !(Maybe Text)-    , _wmStartTime     :: !(Maybe DateTime')-    , _wmDeleteCluster :: !(Maybe ClusterOperation)-    , _wmCreateCluster :: !(Maybe ClusterOperation)-    , _wmVersion       :: !(Maybe (Textual Int32))-    , _wmEndTime       :: !(Maybe DateTime')-    , _wmParameters    :: !(Maybe WorkflowMetadataParameters)-    , _wmClusterName   :: !(Maybe Text)-    , _wmTemplate      :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'WorkflowMetadata' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'wmGraph'------ * 'wmState'------ * 'wmClusterUuid'------ * 'wmStartTime'------ * 'wmDeleteCluster'------ * 'wmCreateCluster'------ * 'wmVersion'------ * 'wmEndTime'------ * 'wmParameters'------ * 'wmClusterName'------ * 'wmTemplate'-workflowMetadata-    :: WorkflowMetadata-workflowMetadata =-  WorkflowMetadata'-    { _wmGraph = Nothing-    , _wmState = Nothing-    , _wmClusterUuid = Nothing-    , _wmStartTime = Nothing-    , _wmDeleteCluster = Nothing-    , _wmCreateCluster = Nothing-    , _wmVersion = Nothing-    , _wmEndTime = Nothing-    , _wmParameters = Nothing-    , _wmClusterName = Nothing-    , _wmTemplate = Nothing-    }----- | Output only. The workflow graph.-wmGraph :: Lens' WorkflowMetadata (Maybe WorkflowGraph)-wmGraph = lens _wmGraph (\ s a -> s{_wmGraph = a})---- | Output only. The workflow state.-wmState :: Lens' WorkflowMetadata (Maybe WorkflowMetadataState)-wmState = lens _wmState (\ s a -> s{_wmState = a})---- | Output only. The UUID of target cluster.-wmClusterUuid :: Lens' WorkflowMetadata (Maybe Text)-wmClusterUuid-  = lens _wmClusterUuid-      (\ s a -> s{_wmClusterUuid = a})---- | Output only. Workflow start time.-wmStartTime :: Lens' WorkflowMetadata (Maybe UTCTime)-wmStartTime-  = lens _wmStartTime (\ s a -> s{_wmStartTime = a}) .-      mapping _DateTime---- | Output only. The delete cluster operation metadata.-wmDeleteCluster :: Lens' WorkflowMetadata (Maybe ClusterOperation)-wmDeleteCluster-  = lens _wmDeleteCluster-      (\ s a -> s{_wmDeleteCluster = a})---- | Output only. The create cluster operation metadata.-wmCreateCluster :: Lens' WorkflowMetadata (Maybe ClusterOperation)-wmCreateCluster-  = lens _wmCreateCluster-      (\ s a -> s{_wmCreateCluster = a})---- | Output only. The version of template at the time of workflow--- instantiation.-wmVersion :: Lens' WorkflowMetadata (Maybe Int32)-wmVersion-  = lens _wmVersion (\ s a -> s{_wmVersion = a}) .-      mapping _Coerce---- | Output only. Workflow end time.-wmEndTime :: Lens' WorkflowMetadata (Maybe UTCTime)-wmEndTime-  = lens _wmEndTime (\ s a -> s{_wmEndTime = a}) .-      mapping _DateTime---- | Map from parameter names to values that were used for those parameters.-wmParameters :: Lens' WorkflowMetadata (Maybe WorkflowMetadataParameters)-wmParameters-  = lens _wmParameters (\ s a -> s{_wmParameters = a})---- | Output only. The name of the target cluster.-wmClusterName :: Lens' WorkflowMetadata (Maybe Text)-wmClusterName-  = lens _wmClusterName-      (\ s a -> s{_wmClusterName = a})---- | Output only. The \"resource name\" of the template.-wmTemplate :: Lens' WorkflowMetadata (Maybe Text)-wmTemplate-  = lens _wmTemplate (\ s a -> s{_wmTemplate = a})--instance FromJSON WorkflowMetadata where-        parseJSON-          = withObject "WorkflowMetadata"-              (\ o ->-                 WorkflowMetadata' <$>-                   (o .:? "graph") <*> (o .:? "state") <*>-                     (o .:? "clusterUuid")-                     <*> (o .:? "startTime")-                     <*> (o .:? "deleteCluster")-                     <*> (o .:? "createCluster")-                     <*> (o .:? "version")-                     <*> (o .:? "endTime")-                     <*> (o .:? "parameters")-                     <*> (o .:? "clusterName")-                     <*> (o .:? "template"))--instance ToJSON WorkflowMetadata where-        toJSON WorkflowMetadata'{..}-          = object-              (catMaybes-                 [("graph" .=) <$> _wmGraph,-                  ("state" .=) <$> _wmState,-                  ("clusterUuid" .=) <$> _wmClusterUuid,-                  ("startTime" .=) <$> _wmStartTime,-                  ("deleteCluster" .=) <$> _wmDeleteCluster,-                  ("createCluster" .=) <$> _wmCreateCluster,-                  ("version" .=) <$> _wmVersion,-                  ("endTime" .=) <$> _wmEndTime,-                  ("parameters" .=) <$> _wmParameters,-                  ("clusterName" .=) <$> _wmClusterName,-                  ("template" .=) <$> _wmTemplate])---- | The normal response of the operation in case of success. If the original--- method returns no data on success, such as Delete, the response is--- google.protobuf.Empty. If the original method is standard--- Get\/Create\/Update, the response should be the resource. For other--- methods, the response should have the type XxxResponse, where Xxx is the--- original method name. For example, if the original method name is--- TakeSnapshot(), the inferred response type is TakeSnapshotResponse.------ /See:/ 'operationResponse' smart constructor.-newtype OperationResponse =-  OperationResponse'-    { _orAddtional :: HashMap Text JSONValue-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'OperationResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'orAddtional'-operationResponse-    :: HashMap Text JSONValue -- ^ 'orAddtional'-    -> OperationResponse-operationResponse pOrAddtional_ =-  OperationResponse' {_orAddtional = _Coerce # pOrAddtional_}----- | Properties of the object. Contains field \'type with type URL.-orAddtional :: Lens' OperationResponse (HashMap Text JSONValue)-orAddtional-  = lens _orAddtional (\ s a -> s{_orAddtional = a}) .-      _Coerce--instance FromJSON OperationResponse where-        parseJSON-          = withObject "OperationResponse"-              (\ o -> OperationResponse' <$> (parseJSONObject o))--instance ToJSON OperationResponse where-        toJSON = toJSON . _orAddtional---- | The per-package log levels for the driver. This may include \"root\"--- package name to configure rootLogger. Examples: \'com.google = FATAL\',--- \'root = INFO\', \'org.apache = DEBUG\'------ /See:/ 'loggingConfigDriverLogLevels' smart constructor.-newtype LoggingConfigDriverLogLevels =-  LoggingConfigDriverLogLevels'-    { _lcdllAddtional :: HashMap Text Text-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'LoggingConfigDriverLogLevels' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lcdllAddtional'-loggingConfigDriverLogLevels-    :: HashMap Text Text -- ^ 'lcdllAddtional'-    -> LoggingConfigDriverLogLevels-loggingConfigDriverLogLevels pLcdllAddtional_ =-  LoggingConfigDriverLogLevels' {_lcdllAddtional = _Coerce # pLcdllAddtional_}---lcdllAddtional :: Lens' LoggingConfigDriverLogLevels (HashMap Text Text)-lcdllAddtional-  = lens _lcdllAddtional-      (\ s a -> s{_lcdllAddtional = a})-      . _Coerce--instance FromJSON LoggingConfigDriverLogLevels where-        parseJSON-          = withObject "LoggingConfigDriverLogLevels"-              (\ o ->-                 LoggingConfigDriverLogLevels' <$>-                   (parseJSONObject o))--instance ToJSON LoggingConfigDriverLogLevels where-        toJSON = toJSON . _lcdllAddtional---- | The status of a cluster and its instances.------ /See:/ 'clusterStatus' smart constructor.-data ClusterStatus =-  ClusterStatus'-    { _csState          :: !(Maybe ClusterStatusState)-    , _csSubState       :: !(Maybe ClusterStatusSubState)-    , _csStateStartTime :: !(Maybe DateTime')-    , _csDetail         :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ClusterStatus' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'csState'------ * 'csSubState'------ * 'csStateStartTime'------ * 'csDetail'-clusterStatus-    :: ClusterStatus-clusterStatus =-  ClusterStatus'-    { _csState = Nothing-    , _csSubState = Nothing-    , _csStateStartTime = Nothing-    , _csDetail = Nothing-    }----- | Output only. The cluster\'s state.-csState :: Lens' ClusterStatus (Maybe ClusterStatusState)-csState = lens _csState (\ s a -> s{_csState = a})---- | Output only. Additional state information that includes status reported--- by the agent.-csSubState :: Lens' ClusterStatus (Maybe ClusterStatusSubState)-csSubState-  = lens _csSubState (\ s a -> s{_csSubState = a})---- | Output only. Time when this state was entered.-csStateStartTime :: Lens' ClusterStatus (Maybe UTCTime)-csStateStartTime-  = lens _csStateStartTime-      (\ s a -> s{_csStateStartTime = a})-      . mapping _DateTime---- | Output only. Optional details of cluster\'s state.-csDetail :: Lens' ClusterStatus (Maybe Text)-csDetail = lens _csDetail (\ s a -> s{_csDetail = a})--instance FromJSON ClusterStatus where-        parseJSON-          = withObject "ClusterStatus"-              (\ o ->-                 ClusterStatus' <$>-                   (o .:? "state") <*> (o .:? "substate") <*>-                     (o .:? "stateStartTime")-                     <*> (o .:? "detail"))--instance ToJSON ClusterStatus where-        toJSON ClusterStatus'{..}-          = object-              (catMaybes-                 [("state" .=) <$> _csState,-                  ("substate" .=) <$> _csSubState,-                  ("stateStartTime" .=) <$> _csStateStartTime,-                  ("detail" .=) <$> _csDetail])---- | A YARN application created by a job. Application information is a subset--- of 'org.apache.hadoop.yarn.proto.YarnProtos.ApplicationReportProto'.Beta--- Feature: This report is available for testing purposes only. It may be--- changed before final release.------ /See:/ 'yarnApplication' smart constructor.-data YarnApplication =-  YarnApplication'-    { _yaTrackingURL :: !(Maybe Text)-    , _yaState       :: !(Maybe YarnApplicationState)-    , _yaProgress    :: !(Maybe (Textual Double))-    , _yaName        :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'YarnApplication' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'yaTrackingURL'------ * 'yaState'------ * 'yaProgress'------ * 'yaName'-yarnApplication-    :: YarnApplication-yarnApplication =-  YarnApplication'-    { _yaTrackingURL = Nothing-    , _yaState = Nothing-    , _yaProgress = Nothing-    , _yaName = Nothing-    }----- | Optional. The HTTP URL of the ApplicationMaster, HistoryServer, or--- TimelineServer that provides application-specific information. The URL--- uses the internal hostname, and requires a proxy server for resolution--- and, possibly, access.-yaTrackingURL :: Lens' YarnApplication (Maybe Text)-yaTrackingURL-  = lens _yaTrackingURL-      (\ s a -> s{_yaTrackingURL = a})---- | Required. The application state.-yaState :: Lens' YarnApplication (Maybe YarnApplicationState)-yaState = lens _yaState (\ s a -> s{_yaState = a})---- | Required. The numerical progress of the application, from 1 to 100.-yaProgress :: Lens' YarnApplication (Maybe Double)-yaProgress-  = lens _yaProgress (\ s a -> s{_yaProgress = a}) .-      mapping _Coerce---- | Required. The application name.-yaName :: Lens' YarnApplication (Maybe Text)-yaName = lens _yaName (\ s a -> s{_yaName = a})--instance FromJSON YarnApplication where-        parseJSON-          = withObject "YarnApplication"-              (\ o ->-                 YarnApplication' <$>-                   (o .:? "trackingUrl") <*> (o .:? "state") <*>-                     (o .:? "progress")-                     <*> (o .:? "name"))--instance ToJSON YarnApplication where-        toJSON YarnApplication'{..}-          = object-              (catMaybes-                 [("trackingUrl" .=) <$> _yaTrackingURL,-                  ("state" .=) <$> _yaState,-                  ("progress" .=) <$> _yaProgress,-                  ("name" .=) <$> _yaName])---- | A Cloud Dataproc job for running Apache Pig (https:\/\/pig.apache.org\/)--- queries on YARN.------ /See:/ 'pigJob' smart constructor.-data PigJob =-  PigJob'-    { _pjQueryFileURI      :: !(Maybe Text)-    , _pjJarFileURIs       :: !(Maybe [Text])-    , _pjScriptVariables   :: !(Maybe PigJobScriptVariables)-    , _pjQueryList         :: !(Maybe QueryList)-    , _pjContinueOnFailure :: !(Maybe Bool)-    , _pjLoggingConfig     :: !(Maybe LoggingConfig)-    , _pjProperties        :: !(Maybe PigJobProperties)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'PigJob' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pjQueryFileURI'------ * 'pjJarFileURIs'------ * 'pjScriptVariables'------ * 'pjQueryList'------ * 'pjContinueOnFailure'------ * 'pjLoggingConfig'------ * 'pjProperties'-pigJob-    :: PigJob-pigJob =-  PigJob'-    { _pjQueryFileURI = Nothing-    , _pjJarFileURIs = Nothing-    , _pjScriptVariables = Nothing-    , _pjQueryList = Nothing-    , _pjContinueOnFailure = Nothing-    , _pjLoggingConfig = Nothing-    , _pjProperties = Nothing-    }----- | The HCFS URI of the script that contains the Pig queries.-pjQueryFileURI :: Lens' PigJob (Maybe Text)-pjQueryFileURI-  = lens _pjQueryFileURI-      (\ s a -> s{_pjQueryFileURI = a})---- | Optional. HCFS URIs of jar files to add to the CLASSPATH of the Pig--- Client and Hadoop MapReduce (MR) tasks. Can contain Pig UDFs.-pjJarFileURIs :: Lens' PigJob [Text]-pjJarFileURIs-  = lens _pjJarFileURIs-      (\ s a -> s{_pjJarFileURIs = a})-      . _Default-      . _Coerce---- | Optional. Mapping of query variable names to values (equivalent to the--- Pig command: name=[value]).-pjScriptVariables :: Lens' PigJob (Maybe PigJobScriptVariables)-pjScriptVariables-  = lens _pjScriptVariables-      (\ s a -> s{_pjScriptVariables = a})---- | A list of queries.-pjQueryList :: Lens' PigJob (Maybe QueryList)-pjQueryList-  = lens _pjQueryList (\ s a -> s{_pjQueryList = a})---- | Optional. Whether to continue executing queries if a query fails. The--- default value is false. Setting to true can be useful when executing--- independent parallel queries.-pjContinueOnFailure :: Lens' PigJob (Maybe Bool)-pjContinueOnFailure-  = lens _pjContinueOnFailure-      (\ s a -> s{_pjContinueOnFailure = a})---- | Optional. The runtime log config for job execution.-pjLoggingConfig :: Lens' PigJob (Maybe LoggingConfig)-pjLoggingConfig-  = lens _pjLoggingConfig-      (\ s a -> s{_pjLoggingConfig = a})---- | Optional. A mapping of property names to values, used to configure Pig.--- Properties that conflict with values set by the Cloud Dataproc API may--- be overwritten. Can include properties set in--- \/etc\/hadoop\/conf\/*-site.xml, \/etc\/pig\/conf\/pig.properties, and--- classes in user code.-pjProperties :: Lens' PigJob (Maybe PigJobProperties)-pjProperties-  = lens _pjProperties (\ s a -> s{_pjProperties = a})--instance FromJSON PigJob where-        parseJSON-          = withObject "PigJob"-              (\ o ->-                 PigJob' <$>-                   (o .:? "queryFileUri") <*>-                     (o .:? "jarFileUris" .!= mempty)-                     <*> (o .:? "scriptVariables")-                     <*> (o .:? "queryList")-                     <*> (o .:? "continueOnFailure")-                     <*> (o .:? "loggingConfig")-                     <*> (o .:? "properties"))--instance ToJSON PigJob where-        toJSON PigJob'{..}-          = object-              (catMaybes-                 [("queryFileUri" .=) <$> _pjQueryFileURI,-                  ("jarFileUris" .=) <$> _pjJarFileURIs,-                  ("scriptVariables" .=) <$> _pjScriptVariables,-                  ("queryList" .=) <$> _pjQueryList,-                  ("continueOnFailure" .=) <$> _pjContinueOnFailure,-                  ("loggingConfig" .=) <$> _pjLoggingConfig,-                  ("properties" .=) <$> _pjProperties])---- | The runtime logging config of the job.------ /See:/ 'loggingConfig' smart constructor.-newtype LoggingConfig =-  LoggingConfig'-    { _lcDriverLogLevels :: Maybe LoggingConfigDriverLogLevels-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'LoggingConfig' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lcDriverLogLevels'-loggingConfig-    :: LoggingConfig-loggingConfig = LoggingConfig' {_lcDriverLogLevels = Nothing}----- | The per-package log levels for the driver. This may include \"root\"--- package name to configure rootLogger. Examples: \'com.google = FATAL\',--- \'root = INFO\', \'org.apache = DEBUG\'-lcDriverLogLevels :: Lens' LoggingConfig (Maybe LoggingConfigDriverLogLevels)-lcDriverLogLevels-  = lens _lcDriverLogLevels-      (\ s a -> s{_lcDriverLogLevels = a})--instance FromJSON LoggingConfig where-        parseJSON-          = withObject "LoggingConfig"-              (\ o -> LoggingConfig' <$> (o .:? "driverLogLevels"))--instance ToJSON LoggingConfig where-        toJSON LoggingConfig'{..}-          = object-              (catMaybes-                 [("driverLogLevels" .=) <$> _lcDriverLogLevels])---- | Associates members with a role.------ /See:/ 'binding' smart constructor.-data Binding =-  Binding'-    { _bMembers   :: !(Maybe [Text])-    , _bRole      :: !(Maybe Text)-    , _bCondition :: !(Maybe Expr)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'Binding' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'bMembers'------ * 'bRole'------ * 'bCondition'-binding-    :: Binding-binding =-  Binding' {_bMembers = Nothing, _bRole = Nothing, _bCondition = Nothing}----- | Specifies the identities requesting access for a Cloud Platform--- 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. user:{emailid}: An email address that represents a--- specific Google account. For example, alice\'gmail.com .--- serviceAccount:{emailid}: An email address that represents a service--- account. For example, my-other-app\'appspot.gserviceaccount.com.--- 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.-bMembers :: Lens' Binding [Text]-bMembers-  = lens _bMembers (\ s a -> s{_bMembers = a}) .-      _Default-      . _Coerce---- | Role that is assigned to members. For example, roles\/viewer,--- roles\/editor, or roles\/owner.-bRole :: Lens' Binding (Maybe Text)-bRole = lens _bRole (\ s a -> s{_bRole = a})---- | The condition that is associated with this binding. NOTE: An unsatisfied--- condition will not allow user access via current binding. Different--- bindings, including their conditions, are examined independently.-bCondition :: Lens' Binding (Maybe Expr)-bCondition-  = lens _bCondition (\ s a -> s{_bCondition = a})--instance FromJSON Binding where-        parseJSON-          = withObject "Binding"-              (\ o ->-                 Binding' <$>-                   (o .:? "members" .!= mempty) <*> (o .:? "role") <*>-                     (o .:? "condition"))--instance ToJSON Binding where-        toJSON Binding'{..}-          = object-              (catMaybes-                 [("members" .=) <$> _bMembers,-                  ("role" .=) <$> _bRole,-                  ("condition" .=) <$> _bCondition])
− gen/Network/Google/Dataproc/Types/Sum.hs
@@ -1,443 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE LambdaCase         #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module      : Network.Google.Dataproc.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.Dataproc.Types.Sum where--import           Network.Google.Prelude hiding (Bytes)---- | Output only. A state message specifying the overall job state.-data JobStatusState-    = StateUnspecified-      -- ^ @STATE_UNSPECIFIED@-      -- The job state is unknown.-    | Pending-      -- ^ @PENDING@-      -- The job is pending; it has been submitted, but is not yet running.-    | SetupDone-      -- ^ @SETUP_DONE@-      -- Job has been received by the service and completed initial setup; it-      -- will soon be submitted to the cluster.-    | Running-      -- ^ @RUNNING@-      -- The job is running on the cluster.-    | CancelPending-      -- ^ @CANCEL_PENDING@-      -- A CancelJob request has been received, but is pending.-    | CancelStarted-      -- ^ @CANCEL_STARTED@-      -- Transient in-flight resources have been canceled, and the request to-      -- cancel the running job has been issued to the cluster.-    | Cancelled-      -- ^ @CANCELLED@-      -- The job cancellation was successful.-    | Done-      -- ^ @DONE@-      -- The job has completed successfully.-    | Error'-      -- ^ @ERROR@-      -- The job has completed, but encountered an error.-    | AttemptFailure-      -- ^ @ATTEMPT_FAILURE@-      -- Job attempt has failed. The detail field contains failure details for-      -- this attempt.Applies to restartable jobs only.-      deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable JobStatusState--instance FromHttpApiData JobStatusState where-    parseQueryParam = \case-        "STATE_UNSPECIFIED" -> Right StateUnspecified-        "PENDING" -> Right Pending-        "SETUP_DONE" -> Right SetupDone-        "RUNNING" -> Right Running-        "CANCEL_PENDING" -> Right CancelPending-        "CANCEL_STARTED" -> Right CancelStarted-        "CANCELLED" -> Right Cancelled-        "DONE" -> Right Done-        "ERROR" -> Right Error'-        "ATTEMPT_FAILURE" -> Right AttemptFailure-        x -> Left ("Unable to parse JobStatusState from: " <> x)--instance ToHttpApiData JobStatusState where-    toQueryParam = \case-        StateUnspecified -> "STATE_UNSPECIFIED"-        Pending -> "PENDING"-        SetupDone -> "SETUP_DONE"-        Running -> "RUNNING"-        CancelPending -> "CANCEL_PENDING"-        CancelStarted -> "CANCEL_STARTED"-        Cancelled -> "CANCELLED"-        Done -> "DONE"-        Error' -> "ERROR"-        AttemptFailure -> "ATTEMPT_FAILURE"--instance FromJSON JobStatusState where-    parseJSON = parseJSONText "JobStatusState"--instance ToJSON JobStatusState where-    toJSON = toJSONText---- | Output only. The node state.-data WorkflowNodeState-    = WNSNodeStateUnspecified-      -- ^ @NODE_STATE_UNSPECIFIED@-      -- State is unspecified.-    | WNSBlocked-      -- ^ @BLOCKED@-      -- The node is awaiting prerequisite node to finish.-    | WNSRunnable-      -- ^ @RUNNABLE@-      -- The node is runnable but not running.-    | WNSRunning-      -- ^ @RUNNING@-      -- The node is running.-    | WNSCompleted-      -- ^ @COMPLETED@-      -- The node completed successfully.-    | WNSFailed-      -- ^ @FAILED@-      -- The node failed. A node can be marked FAILED because its ancestor or-      -- peer failed.-      deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable WorkflowNodeState--instance FromHttpApiData WorkflowNodeState where-    parseQueryParam = \case-        "NODE_STATE_UNSPECIFIED" -> Right WNSNodeStateUnspecified-        "BLOCKED" -> Right WNSBlocked-        "RUNNABLE" -> Right WNSRunnable-        "RUNNING" -> Right WNSRunning-        "COMPLETED" -> Right WNSCompleted-        "FAILED" -> Right WNSFailed-        x -> Left ("Unable to parse WorkflowNodeState from: " <> x)--instance ToHttpApiData WorkflowNodeState where-    toQueryParam = \case-        WNSNodeStateUnspecified -> "NODE_STATE_UNSPECIFIED"-        WNSBlocked -> "BLOCKED"-        WNSRunnable -> "RUNNABLE"-        WNSRunning -> "RUNNING"-        WNSCompleted -> "COMPLETED"-        WNSFailed -> "FAILED"--instance FromJSON WorkflowNodeState where-    parseJSON = parseJSONText "WorkflowNodeState"--instance ToJSON WorkflowNodeState where-    toJSON = toJSONText---- | Output only. Additional state information that includes status reported--- by the agent.-data ClusterStatusSubState-    = Unspecified-      -- ^ @UNSPECIFIED@-      -- The cluster substate is unknown.-    | Unhealthy-      -- ^ @UNHEALTHY@-      -- The cluster is known to be in an unhealthy state (for example, critical-      -- daemons are not running or HDFS capacity is exhausted).Applies to-      -- RUNNING state.-    | StaleStatus-      -- ^ @STALE_STATUS@-      -- The agent-reported status is out of date (may occur if Cloud Dataproc-      -- loses communication with Agent).Applies to RUNNING state.-      deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable ClusterStatusSubState--instance FromHttpApiData ClusterStatusSubState where-    parseQueryParam = \case-        "UNSPECIFIED" -> Right Unspecified-        "UNHEALTHY" -> Right Unhealthy-        "STALE_STATUS" -> Right StaleStatus-        x -> Left ("Unable to parse ClusterStatusSubState from: " <> x)--instance ToHttpApiData ClusterStatusSubState where-    toQueryParam = \case-        Unspecified -> "UNSPECIFIED"-        Unhealthy -> "UNHEALTHY"-        StaleStatus -> "STALE_STATUS"--instance FromJSON ClusterStatusSubState where-    parseJSON = parseJSONText "ClusterStatusSubState"--instance ToJSON ClusterStatusSubState where-    toJSON = toJSONText---- | Output only. The workflow state.-data WorkflowMetadataState-    = WMSUnknown-      -- ^ @UNKNOWN@-      -- Unused.-    | WMSPending-      -- ^ @PENDING@-      -- The operation has been created.-    | WMSRunning-      -- ^ @RUNNING@-      -- The operation is running.-    | WMSDone-      -- ^ @DONE@-      -- The operation is done; either cancelled or completed.-      deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable WorkflowMetadataState--instance FromHttpApiData WorkflowMetadataState where-    parseQueryParam = \case-        "UNKNOWN" -> Right WMSUnknown-        "PENDING" -> Right WMSPending-        "RUNNING" -> Right WMSRunning-        "DONE" -> Right WMSDone-        x -> Left ("Unable to parse WorkflowMetadataState from: " <> x)--instance ToHttpApiData WorkflowMetadataState where-    toQueryParam = \case-        WMSUnknown -> "UNKNOWN"-        WMSPending -> "PENDING"-        WMSRunning -> "RUNNING"-        WMSDone -> "DONE"--instance FromJSON WorkflowMetadataState where-    parseJSON = parseJSONText "WorkflowMetadataState"--instance ToJSON WorkflowMetadataState where-    toJSON = toJSONText---- | Required. The application state.-data YarnApplicationState-    = YASStateUnspecified-      -- ^ @STATE_UNSPECIFIED@-      -- Status is unspecified.-    | YASNew-      -- ^ @NEW@-      -- Status is NEW.-    | YASNewSaving-      -- ^ @NEW_SAVING@-      -- Status is NEW_SAVING.-    | YASSubmitted-      -- ^ @SUBMITTED@-      -- Status is SUBMITTED.-    | YASAccepted-      -- ^ @ACCEPTED@-      -- Status is ACCEPTED.-    | YASRunning-      -- ^ @RUNNING@-      -- Status is RUNNING.-    | YASFinished-      -- ^ @FINISHED@-      -- Status is FINISHED.-    | YASFailed-      -- ^ @FAILED@-      -- Status is FAILED.-    | YASKilled-      -- ^ @KILLED@-      -- Status is KILLED.-      deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable YarnApplicationState--instance FromHttpApiData YarnApplicationState where-    parseQueryParam = \case-        "STATE_UNSPECIFIED" -> Right YASStateUnspecified-        "NEW" -> Right YASNew-        "NEW_SAVING" -> Right YASNewSaving-        "SUBMITTED" -> Right YASSubmitted-        "ACCEPTED" -> Right YASAccepted-        "RUNNING" -> Right YASRunning-        "FINISHED" -> Right YASFinished-        "FAILED" -> Right YASFailed-        "KILLED" -> Right YASKilled-        x -> Left ("Unable to parse YarnApplicationState from: " <> x)--instance ToHttpApiData YarnApplicationState where-    toQueryParam = \case-        YASStateUnspecified -> "STATE_UNSPECIFIED"-        YASNew -> "NEW"-        YASNewSaving -> "NEW_SAVING"-        YASSubmitted -> "SUBMITTED"-        YASAccepted -> "ACCEPTED"-        YASRunning -> "RUNNING"-        YASFinished -> "FINISHED"-        YASFailed -> "FAILED"-        YASKilled -> "KILLED"--instance FromJSON YarnApplicationState where-    parseJSON = parseJSONText "YarnApplicationState"--instance ToJSON YarnApplicationState where-    toJSON = toJSONText---- | Output only. The cluster\'s state.-data ClusterStatusState-    = CSSUnknown-      -- ^ @UNKNOWN@-      -- The cluster state is unknown.-    | CSSCreating-      -- ^ @CREATING@-      -- The cluster is being created and set up. It is not ready for use.-    | CSSRunning-      -- ^ @RUNNING@-      -- The cluster is currently running and healthy. It is ready for use.-    | CSSError'-      -- ^ @ERROR@-      -- The cluster encountered an error. It is not ready for use.-    | CSSDeleting-      -- ^ @DELETING@-      -- The cluster is being deleted. It cannot be used.-    | CSSUpdating-      -- ^ @UPDATING@-      -- The cluster is being updated. It continues to accept and process jobs.-      deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable ClusterStatusState--instance FromHttpApiData ClusterStatusState where-    parseQueryParam = \case-        "UNKNOWN" -> Right CSSUnknown-        "CREATING" -> Right CSSCreating-        "RUNNING" -> Right CSSRunning-        "ERROR" -> Right CSSError'-        "DELETING" -> Right CSSDeleting-        "UPDATING" -> Right CSSUpdating-        x -> Left ("Unable to parse ClusterStatusState from: " <> x)--instance ToHttpApiData ClusterStatusState where-    toQueryParam = \case-        CSSUnknown -> "UNKNOWN"-        CSSCreating -> "CREATING"-        CSSRunning -> "RUNNING"-        CSSError' -> "ERROR"-        CSSDeleting -> "DELETING"-        CSSUpdating -> "UPDATING"--instance FromJSON ClusterStatusState where-    parseJSON = parseJSONText "ClusterStatusState"--instance ToJSON ClusterStatusState where-    toJSON = toJSONText---- | Output only. A message containing the operation state.-data ClusterOperationStatusState-    = COSSUnknown-      -- ^ @UNKNOWN@-      -- Unused.-    | COSSPending-      -- ^ @PENDING@-      -- The operation has been created.-    | COSSRunning-      -- ^ @RUNNING@-      -- The operation is running.-    | COSSDone-      -- ^ @DONE@-      -- The operation is done; either cancelled or completed.-      deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable ClusterOperationStatusState--instance FromHttpApiData ClusterOperationStatusState where-    parseQueryParam = \case-        "UNKNOWN" -> Right COSSUnknown-        "PENDING" -> Right COSSPending-        "RUNNING" -> Right COSSRunning-        "DONE" -> Right COSSDone-        x -> Left ("Unable to parse ClusterOperationStatusState from: " <> x)--instance ToHttpApiData ClusterOperationStatusState where-    toQueryParam = \case-        COSSUnknown -> "UNKNOWN"-        COSSPending -> "PENDING"-        COSSRunning -> "RUNNING"-        COSSDone -> "DONE"--instance FromJSON ClusterOperationStatusState where-    parseJSON = parseJSONText "ClusterOperationStatusState"--instance ToJSON ClusterOperationStatusState where-    toJSON = toJSONText---- | V1 error format.-data Xgafv-    = X1-      -- ^ @1@-      -- v1 error format-    | X2-      -- ^ @2@-      -- v2 error format-      deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable Xgafv--instance FromHttpApiData Xgafv where-    parseQueryParam = \case-        "1" -> Right X1-        "2" -> Right X2-        x -> Left ("Unable to parse Xgafv from: " <> x)--instance ToHttpApiData Xgafv where-    toQueryParam = \case-        X1 -> "1"-        X2 -> "2"--instance FromJSON Xgafv where-    parseJSON = parseJSONText "Xgafv"--instance ToJSON Xgafv where-    toJSON = toJSONText---- | Output only. Additional state information, which includes status--- reported by the agent.-data JobStatusSubState-    = JSSSUnspecified-      -- ^ @UNSPECIFIED@-      -- The job substate is unknown.-    | JSSSSubmitted-      -- ^ @SUBMITTED@-      -- The Job is submitted to the agent.Applies to RUNNING state.-    | JSSSQueued-      -- ^ @QUEUED@-      -- The Job has been received and is awaiting execution (it may be waiting-      -- for a condition to be met). See the \"details\" field for the reason for-      -- the delay.Applies to RUNNING state.-    | JSSSStaleStatus-      -- ^ @STALE_STATUS@-      -- The agent-reported status is out of date, which may be caused by a loss-      -- of communication between the agent and Cloud Dataproc. If the agent does-      -- not send a timely update, the job will fail.Applies to RUNNING state.-      deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable JobStatusSubState--instance FromHttpApiData JobStatusSubState where-    parseQueryParam = \case-        "UNSPECIFIED" -> Right JSSSUnspecified-        "SUBMITTED" -> Right JSSSSubmitted-        "QUEUED" -> Right JSSSQueued-        "STALE_STATUS" -> Right JSSSStaleStatus-        x -> Left ("Unable to parse JobStatusSubState from: " <> x)--instance ToHttpApiData JobStatusSubState where-    toQueryParam = \case-        JSSSUnspecified -> "UNSPECIFIED"-        JSSSSubmitted -> "SUBMITTED"-        JSSSQueued -> "QUEUED"-        JSSSStaleStatus -> "STALE_STATUS"--instance FromJSON JobStatusSubState where-    parseJSON = parseJSONText "JobStatusSubState"--instance ToJSON JobStatusSubState where-    toJSON = toJSONText
− gen/Network/Google/Resource/Dataproc/Projects/Locations/WorkflowTemplates/Create.hs
@@ -1,175 +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.Dataproc.Projects.Locations.WorkflowTemplates.Create--- 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 new workflow template.------ /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.workflowTemplates.create@.-module Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.Create-    (-    -- * REST Resource-      ProjectsLocationsWorkflowTemplatesCreateResource--    -- * Creating a Request-    , projectsLocationsWorkflowTemplatesCreate-    , ProjectsLocationsWorkflowTemplatesCreate--    -- * Request Lenses-    , plwtcParent-    , plwtcXgafv-    , plwtcUploadProtocol-    , plwtcAccessToken-    , plwtcUploadType-    , plwtcPayload-    , plwtcCallback-    ) where--import           Network.Google.Dataproc.Types-import           Network.Google.Prelude---- | A resource alias for @dataproc.projects.locations.workflowTemplates.create@ method which the--- 'ProjectsLocationsWorkflowTemplatesCreate' request conforms to.-type ProjectsLocationsWorkflowTemplatesCreateResource-     =-     "v1" :>-       Capture "parent" Text :>-         "workflowTemplates" :>-           QueryParam "$.xgafv" Xgafv :>-             QueryParam "upload_protocol" Text :>-               QueryParam "access_token" Text :>-                 QueryParam "uploadType" Text :>-                   QueryParam "callback" Text :>-                     QueryParam "alt" AltJSON :>-                       ReqBody '[JSON] WorkflowTemplate :>-                         Post '[JSON] WorkflowTemplate---- | Creates new workflow template.------ /See:/ 'projectsLocationsWorkflowTemplatesCreate' smart constructor.-data ProjectsLocationsWorkflowTemplatesCreate =-  ProjectsLocationsWorkflowTemplatesCreate'-    { _plwtcParent         :: !Text-    , _plwtcXgafv          :: !(Maybe Xgafv)-    , _plwtcUploadProtocol :: !(Maybe Text)-    , _plwtcAccessToken    :: !(Maybe Text)-    , _plwtcUploadType     :: !(Maybe Text)-    , _plwtcPayload        :: !WorkflowTemplate-    , _plwtcCallback       :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsLocationsWorkflowTemplatesCreate' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'plwtcParent'------ * 'plwtcXgafv'------ * 'plwtcUploadProtocol'------ * 'plwtcAccessToken'------ * 'plwtcUploadType'------ * 'plwtcPayload'------ * 'plwtcCallback'-projectsLocationsWorkflowTemplatesCreate-    :: Text -- ^ 'plwtcParent'-    -> WorkflowTemplate -- ^ 'plwtcPayload'-    -> ProjectsLocationsWorkflowTemplatesCreate-projectsLocationsWorkflowTemplatesCreate pPlwtcParent_ pPlwtcPayload_ =-  ProjectsLocationsWorkflowTemplatesCreate'-    { _plwtcParent = pPlwtcParent_-    , _plwtcXgafv = Nothing-    , _plwtcUploadProtocol = Nothing-    , _plwtcAccessToken = Nothing-    , _plwtcUploadType = Nothing-    , _plwtcPayload = pPlwtcPayload_-    , _plwtcCallback = Nothing-    }----- | Required. The \"resource name\" of the region, as described in--- https:\/\/cloud.google.com\/apis\/design\/resource_names of the form--- projects\/{project_id}\/regions\/{region}-plwtcParent :: Lens' ProjectsLocationsWorkflowTemplatesCreate Text-plwtcParent-  = lens _plwtcParent (\ s a -> s{_plwtcParent = a})---- | V1 error format.-plwtcXgafv :: Lens' ProjectsLocationsWorkflowTemplatesCreate (Maybe Xgafv)-plwtcXgafv-  = lens _plwtcXgafv (\ s a -> s{_plwtcXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-plwtcUploadProtocol :: Lens' ProjectsLocationsWorkflowTemplatesCreate (Maybe Text)-plwtcUploadProtocol-  = lens _plwtcUploadProtocol-      (\ s a -> s{_plwtcUploadProtocol = a})---- | OAuth access token.-plwtcAccessToken :: Lens' ProjectsLocationsWorkflowTemplatesCreate (Maybe Text)-plwtcAccessToken-  = lens _plwtcAccessToken-      (\ s a -> s{_plwtcAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-plwtcUploadType :: Lens' ProjectsLocationsWorkflowTemplatesCreate (Maybe Text)-plwtcUploadType-  = lens _plwtcUploadType-      (\ s a -> s{_plwtcUploadType = a})---- | Multipart request metadata.-plwtcPayload :: Lens' ProjectsLocationsWorkflowTemplatesCreate WorkflowTemplate-plwtcPayload-  = lens _plwtcPayload (\ s a -> s{_plwtcPayload = a})---- | JSONP-plwtcCallback :: Lens' ProjectsLocationsWorkflowTemplatesCreate (Maybe Text)-plwtcCallback-  = lens _plwtcCallback-      (\ s a -> s{_plwtcCallback = a})--instance GoogleRequest-           ProjectsLocationsWorkflowTemplatesCreate-         where-        type Rs ProjectsLocationsWorkflowTemplatesCreate =-             WorkflowTemplate-        type Scopes ProjectsLocationsWorkflowTemplatesCreate-             = '["https://www.googleapis.com/auth/cloud-platform"]-        requestClient-          ProjectsLocationsWorkflowTemplatesCreate'{..}-          = go _plwtcParent _plwtcXgafv _plwtcUploadProtocol-              _plwtcAccessToken-              _plwtcUploadType-              _plwtcCallback-              (Just AltJSON)-              _plwtcPayload-              dataprocService-          where go-                  = buildClient-                      (Proxy ::-                         Proxy-                           ProjectsLocationsWorkflowTemplatesCreateResource)-                      mempty
− gen/Network/Google/Resource/Dataproc/Projects/Locations/WorkflowTemplates/Delete.hs
@@ -1,175 +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.Dataproc.Projects.Locations.WorkflowTemplates.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 a workflow template. It does not cancel in-progress workflows.------ /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.workflowTemplates.delete@.-module Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.Delete-    (-    -- * REST Resource-      ProjectsLocationsWorkflowTemplatesDeleteResource--    -- * Creating a Request-    , projectsLocationsWorkflowTemplatesDelete-    , ProjectsLocationsWorkflowTemplatesDelete--    -- * Request Lenses-    , plwtdXgafv-    , plwtdUploadProtocol-    , plwtdAccessToken-    , plwtdUploadType-    , plwtdName-    , plwtdVersion-    , plwtdCallback-    ) where--import           Network.Google.Dataproc.Types-import           Network.Google.Prelude---- | A resource alias for @dataproc.projects.locations.workflowTemplates.delete@ method which the--- 'ProjectsLocationsWorkflowTemplatesDelete' request conforms to.-type ProjectsLocationsWorkflowTemplatesDeleteResource-     =-     "v1" :>-       Capture "name" Text :>-         QueryParam "$.xgafv" Xgafv :>-           QueryParam "upload_protocol" Text :>-             QueryParam "access_token" Text :>-               QueryParam "uploadType" Text :>-                 QueryParam "version" (Textual Int32) :>-                   QueryParam "callback" Text :>-                     QueryParam "alt" AltJSON :> Delete '[JSON] Empty---- | Deletes a workflow template. It does not cancel in-progress workflows.------ /See:/ 'projectsLocationsWorkflowTemplatesDelete' smart constructor.-data ProjectsLocationsWorkflowTemplatesDelete =-  ProjectsLocationsWorkflowTemplatesDelete'-    { _plwtdXgafv          :: !(Maybe Xgafv)-    , _plwtdUploadProtocol :: !(Maybe Text)-    , _plwtdAccessToken    :: !(Maybe Text)-    , _plwtdUploadType     :: !(Maybe Text)-    , _plwtdName           :: !Text-    , _plwtdVersion        :: !(Maybe (Textual Int32))-    , _plwtdCallback       :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsLocationsWorkflowTemplatesDelete' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'plwtdXgafv'------ * 'plwtdUploadProtocol'------ * 'plwtdAccessToken'------ * 'plwtdUploadType'------ * 'plwtdName'------ * 'plwtdVersion'------ * 'plwtdCallback'-projectsLocationsWorkflowTemplatesDelete-    :: Text -- ^ 'plwtdName'-    -> ProjectsLocationsWorkflowTemplatesDelete-projectsLocationsWorkflowTemplatesDelete pPlwtdName_ =-  ProjectsLocationsWorkflowTemplatesDelete'-    { _plwtdXgafv = Nothing-    , _plwtdUploadProtocol = Nothing-    , _plwtdAccessToken = Nothing-    , _plwtdUploadType = Nothing-    , _plwtdName = pPlwtdName_-    , _plwtdVersion = Nothing-    , _plwtdCallback = Nothing-    }----- | V1 error format.-plwtdXgafv :: Lens' ProjectsLocationsWorkflowTemplatesDelete (Maybe Xgafv)-plwtdXgafv-  = lens _plwtdXgafv (\ s a -> s{_plwtdXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-plwtdUploadProtocol :: Lens' ProjectsLocationsWorkflowTemplatesDelete (Maybe Text)-plwtdUploadProtocol-  = lens _plwtdUploadProtocol-      (\ s a -> s{_plwtdUploadProtocol = a})---- | OAuth access token.-plwtdAccessToken :: Lens' ProjectsLocationsWorkflowTemplatesDelete (Maybe Text)-plwtdAccessToken-  = lens _plwtdAccessToken-      (\ s a -> s{_plwtdAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-plwtdUploadType :: Lens' ProjectsLocationsWorkflowTemplatesDelete (Maybe Text)-plwtdUploadType-  = lens _plwtdUploadType-      (\ s a -> s{_plwtdUploadType = a})---- | Required. The \"resource name\" of the workflow template, as described--- in https:\/\/cloud.google.com\/apis\/design\/resource_names of the form--- projects\/{project_id}\/regions\/{region}\/workflowTemplates\/{template_id}-plwtdName :: Lens' ProjectsLocationsWorkflowTemplatesDelete Text-plwtdName-  = lens _plwtdName (\ s a -> s{_plwtdName = a})---- | Optional. The version of workflow template to delete. If specified, will--- only delete the template if the current server version matches specified--- version.-plwtdVersion :: Lens' ProjectsLocationsWorkflowTemplatesDelete (Maybe Int32)-plwtdVersion-  = lens _plwtdVersion (\ s a -> s{_plwtdVersion = a})-      . mapping _Coerce---- | JSONP-plwtdCallback :: Lens' ProjectsLocationsWorkflowTemplatesDelete (Maybe Text)-plwtdCallback-  = lens _plwtdCallback-      (\ s a -> s{_plwtdCallback = a})--instance GoogleRequest-           ProjectsLocationsWorkflowTemplatesDelete-         where-        type Rs ProjectsLocationsWorkflowTemplatesDelete =-             Empty-        type Scopes ProjectsLocationsWorkflowTemplatesDelete-             = '["https://www.googleapis.com/auth/cloud-platform"]-        requestClient-          ProjectsLocationsWorkflowTemplatesDelete'{..}-          = go _plwtdName _plwtdXgafv _plwtdUploadProtocol-              _plwtdAccessToken-              _plwtdUploadType-              _plwtdVersion-              _plwtdCallback-              (Just AltJSON)-              dataprocService-          where go-                  = buildClient-                      (Proxy ::-                         Proxy-                           ProjectsLocationsWorkflowTemplatesDeleteResource)-                      mempty
− gen/Network/Google/Resource/Dataproc/Projects/Locations/WorkflowTemplates/Get.hs
@@ -1,176 +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.Dataproc.Projects.Locations.WorkflowTemplates.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)------ Retrieves the latest workflow template.Can retrieve previously--- instantiated template by specifying optional version parameter.------ /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.workflowTemplates.get@.-module Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.Get-    (-    -- * REST Resource-      ProjectsLocationsWorkflowTemplatesGetResource--    -- * Creating a Request-    , projectsLocationsWorkflowTemplatesGet-    , ProjectsLocationsWorkflowTemplatesGet--    -- * Request Lenses-    , plwtgXgafv-    , plwtgUploadProtocol-    , plwtgAccessToken-    , plwtgUploadType-    , plwtgName-    , plwtgVersion-    , plwtgCallback-    ) where--import           Network.Google.Dataproc.Types-import           Network.Google.Prelude---- | A resource alias for @dataproc.projects.locations.workflowTemplates.get@ method which the--- 'ProjectsLocationsWorkflowTemplatesGet' request conforms to.-type ProjectsLocationsWorkflowTemplatesGetResource =-     "v1" :>-       Capture "name" Text :>-         QueryParam "$.xgafv" Xgafv :>-           QueryParam "upload_protocol" Text :>-             QueryParam "access_token" Text :>-               QueryParam "uploadType" Text :>-                 QueryParam "version" (Textual Int32) :>-                   QueryParam "callback" Text :>-                     QueryParam "alt" AltJSON :>-                       Get '[JSON] WorkflowTemplate---- | Retrieves the latest workflow template.Can retrieve previously--- instantiated template by specifying optional version parameter.------ /See:/ 'projectsLocationsWorkflowTemplatesGet' smart constructor.-data ProjectsLocationsWorkflowTemplatesGet =-  ProjectsLocationsWorkflowTemplatesGet'-    { _plwtgXgafv          :: !(Maybe Xgafv)-    , _plwtgUploadProtocol :: !(Maybe Text)-    , _plwtgAccessToken    :: !(Maybe Text)-    , _plwtgUploadType     :: !(Maybe Text)-    , _plwtgName           :: !Text-    , _plwtgVersion        :: !(Maybe (Textual Int32))-    , _plwtgCallback       :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsLocationsWorkflowTemplatesGet' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'plwtgXgafv'------ * 'plwtgUploadProtocol'------ * 'plwtgAccessToken'------ * 'plwtgUploadType'------ * 'plwtgName'------ * 'plwtgVersion'------ * 'plwtgCallback'-projectsLocationsWorkflowTemplatesGet-    :: Text -- ^ 'plwtgName'-    -> ProjectsLocationsWorkflowTemplatesGet-projectsLocationsWorkflowTemplatesGet pPlwtgName_ =-  ProjectsLocationsWorkflowTemplatesGet'-    { _plwtgXgafv = Nothing-    , _plwtgUploadProtocol = Nothing-    , _plwtgAccessToken = Nothing-    , _plwtgUploadType = Nothing-    , _plwtgName = pPlwtgName_-    , _plwtgVersion = Nothing-    , _plwtgCallback = Nothing-    }----- | V1 error format.-plwtgXgafv :: Lens' ProjectsLocationsWorkflowTemplatesGet (Maybe Xgafv)-plwtgXgafv-  = lens _plwtgXgafv (\ s a -> s{_plwtgXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-plwtgUploadProtocol :: Lens' ProjectsLocationsWorkflowTemplatesGet (Maybe Text)-plwtgUploadProtocol-  = lens _plwtgUploadProtocol-      (\ s a -> s{_plwtgUploadProtocol = a})---- | OAuth access token.-plwtgAccessToken :: Lens' ProjectsLocationsWorkflowTemplatesGet (Maybe Text)-plwtgAccessToken-  = lens _plwtgAccessToken-      (\ s a -> s{_plwtgAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-plwtgUploadType :: Lens' ProjectsLocationsWorkflowTemplatesGet (Maybe Text)-plwtgUploadType-  = lens _plwtgUploadType-      (\ s a -> s{_plwtgUploadType = a})---- | Required. The \"resource name\" of the workflow template, as described--- in https:\/\/cloud.google.com\/apis\/design\/resource_names of the form--- projects\/{project_id}\/regions\/{region}\/workflowTemplates\/{template_id}-plwtgName :: Lens' ProjectsLocationsWorkflowTemplatesGet Text-plwtgName-  = lens _plwtgName (\ s a -> s{_plwtgName = a})---- | Optional. The version of workflow template to retrieve. Only previously--- instatiated versions can be retrieved.If unspecified, retrieves the--- current version.-plwtgVersion :: Lens' ProjectsLocationsWorkflowTemplatesGet (Maybe Int32)-plwtgVersion-  = lens _plwtgVersion (\ s a -> s{_plwtgVersion = a})-      . mapping _Coerce---- | JSONP-plwtgCallback :: Lens' ProjectsLocationsWorkflowTemplatesGet (Maybe Text)-plwtgCallback-  = lens _plwtgCallback-      (\ s a -> s{_plwtgCallback = a})--instance GoogleRequest-           ProjectsLocationsWorkflowTemplatesGet-         where-        type Rs ProjectsLocationsWorkflowTemplatesGet =-             WorkflowTemplate-        type Scopes ProjectsLocationsWorkflowTemplatesGet =-             '["https://www.googleapis.com/auth/cloud-platform"]-        requestClient-          ProjectsLocationsWorkflowTemplatesGet'{..}-          = go _plwtgName _plwtgXgafv _plwtgUploadProtocol-              _plwtgAccessToken-              _plwtgUploadType-              _plwtgVersion-              _plwtgCallback-              (Just AltJSON)-              dataprocService-          where go-                  = buildClient-                      (Proxy ::-                         Proxy ProjectsLocationsWorkflowTemplatesGetResource)-                      mempty
− gen/Network/Google/Resource/Dataproc/Projects/Locations/WorkflowTemplates/GetIAMPolicy.hs
@@ -1,180 +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.Dataproc.Projects.Locations.WorkflowTemplates.GetIAMPolicy--- 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 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/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.workflowTemplates.getIamPolicy@.-module Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.GetIAMPolicy-    (-    -- * REST Resource-      ProjectsLocationsWorkflowTemplatesGetIAMPolicyResource--    -- * Creating a Request-    , projectsLocationsWorkflowTemplatesGetIAMPolicy-    , ProjectsLocationsWorkflowTemplatesGetIAMPolicy--    -- * Request Lenses-    , plwtgipXgafv-    , plwtgipUploadProtocol-    , plwtgipAccessToken-    , plwtgipUploadType-    , plwtgipPayload-    , plwtgipResource-    , plwtgipCallback-    ) where--import           Network.Google.Dataproc.Types-import           Network.Google.Prelude---- | A resource alias for @dataproc.projects.locations.workflowTemplates.getIamPolicy@ method which the--- 'ProjectsLocationsWorkflowTemplatesGetIAMPolicy' request conforms to.-type ProjectsLocationsWorkflowTemplatesGetIAMPolicyResource-     =-     "v1" :>-       CaptureMode "resource" "getIamPolicy" Text :>-         QueryParam "$.xgafv" Xgafv :>-           QueryParam "upload_protocol" Text :>-             QueryParam "access_token" Text :>-               QueryParam "uploadType" Text :>-                 QueryParam "callback" Text :>-                   QueryParam "alt" AltJSON :>-                     ReqBody '[JSON] GetIAMPolicyRequest :>-                       Post '[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:/ 'projectsLocationsWorkflowTemplatesGetIAMPolicy' smart constructor.-data ProjectsLocationsWorkflowTemplatesGetIAMPolicy =-  ProjectsLocationsWorkflowTemplatesGetIAMPolicy'-    { _plwtgipXgafv          :: !(Maybe Xgafv)-    , _plwtgipUploadProtocol :: !(Maybe Text)-    , _plwtgipAccessToken    :: !(Maybe Text)-    , _plwtgipUploadType     :: !(Maybe Text)-    , _plwtgipPayload        :: !GetIAMPolicyRequest-    , _plwtgipResource       :: !Text-    , _plwtgipCallback       :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsLocationsWorkflowTemplatesGetIAMPolicy' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'plwtgipXgafv'------ * 'plwtgipUploadProtocol'------ * 'plwtgipAccessToken'------ * 'plwtgipUploadType'------ * 'plwtgipPayload'------ * 'plwtgipResource'------ * 'plwtgipCallback'-projectsLocationsWorkflowTemplatesGetIAMPolicy-    :: GetIAMPolicyRequest -- ^ 'plwtgipPayload'-    -> Text -- ^ 'plwtgipResource'-    -> ProjectsLocationsWorkflowTemplatesGetIAMPolicy-projectsLocationsWorkflowTemplatesGetIAMPolicy pPlwtgipPayload_ pPlwtgipResource_ =-  ProjectsLocationsWorkflowTemplatesGetIAMPolicy'-    { _plwtgipXgafv = Nothing-    , _plwtgipUploadProtocol = Nothing-    , _plwtgipAccessToken = Nothing-    , _plwtgipUploadType = Nothing-    , _plwtgipPayload = pPlwtgipPayload_-    , _plwtgipResource = pPlwtgipResource_-    , _plwtgipCallback = Nothing-    }----- | V1 error format.-plwtgipXgafv :: Lens' ProjectsLocationsWorkflowTemplatesGetIAMPolicy (Maybe Xgafv)-plwtgipXgafv-  = lens _plwtgipXgafv (\ s a -> s{_plwtgipXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-plwtgipUploadProtocol :: Lens' ProjectsLocationsWorkflowTemplatesGetIAMPolicy (Maybe Text)-plwtgipUploadProtocol-  = lens _plwtgipUploadProtocol-      (\ s a -> s{_plwtgipUploadProtocol = a})---- | OAuth access token.-plwtgipAccessToken :: Lens' ProjectsLocationsWorkflowTemplatesGetIAMPolicy (Maybe Text)-plwtgipAccessToken-  = lens _plwtgipAccessToken-      (\ s a -> s{_plwtgipAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-plwtgipUploadType :: Lens' ProjectsLocationsWorkflowTemplatesGetIAMPolicy (Maybe Text)-plwtgipUploadType-  = lens _plwtgipUploadType-      (\ s a -> s{_plwtgipUploadType = a})---- | Multipart request metadata.-plwtgipPayload :: Lens' ProjectsLocationsWorkflowTemplatesGetIAMPolicy GetIAMPolicyRequest-plwtgipPayload-  = lens _plwtgipPayload-      (\ s a -> s{_plwtgipPayload = a})---- | REQUIRED: The resource for which the policy is being requested. See the--- operation documentation for the appropriate value for this field.-plwtgipResource :: Lens' ProjectsLocationsWorkflowTemplatesGetIAMPolicy Text-plwtgipResource-  = lens _plwtgipResource-      (\ s a -> s{_plwtgipResource = a})---- | JSONP-plwtgipCallback :: Lens' ProjectsLocationsWorkflowTemplatesGetIAMPolicy (Maybe Text)-plwtgipCallback-  = lens _plwtgipCallback-      (\ s a -> s{_plwtgipCallback = a})--instance GoogleRequest-           ProjectsLocationsWorkflowTemplatesGetIAMPolicy-         where-        type Rs-               ProjectsLocationsWorkflowTemplatesGetIAMPolicy-             = Policy-        type Scopes-               ProjectsLocationsWorkflowTemplatesGetIAMPolicy-             = '["https://www.googleapis.com/auth/cloud-platform"]-        requestClient-          ProjectsLocationsWorkflowTemplatesGetIAMPolicy'{..}-          = go _plwtgipResource _plwtgipXgafv-              _plwtgipUploadProtocol-              _plwtgipAccessToken-              _plwtgipUploadType-              _plwtgipCallback-              (Just AltJSON)-              _plwtgipPayload-              dataprocService-          where go-                  = buildClient-                      (Proxy ::-                         Proxy-                           ProjectsLocationsWorkflowTemplatesGetIAMPolicyResource)-                      mempty
− gen/Network/Google/Resource/Dataproc/Projects/Locations/WorkflowTemplates/Instantiate.hs
@@ -1,187 +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.Dataproc.Projects.Locations.WorkflowTemplates.Instantiate--- 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)------ Instantiates a template and begins execution.The returned Operation can--- be used to track execution of workflow by polling operations.get. The--- Operation will complete when entire workflow is finished.The running--- workflow can be aborted via operations.cancel. This will cause any--- inflight jobs to be cancelled and workflow-owned clusters to be--- deleted.The Operation.metadata will be WorkflowMetadata.On successful--- completion, Operation.response will be Empty.------ /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.workflowTemplates.instantiate@.-module Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.Instantiate-    (-    -- * REST Resource-      ProjectsLocationsWorkflowTemplatesInstantiateResource--    -- * Creating a Request-    , projectsLocationsWorkflowTemplatesInstantiate-    , ProjectsLocationsWorkflowTemplatesInstantiate--    -- * Request Lenses-    , plwtiXgafv-    , plwtiUploadProtocol-    , plwtiAccessToken-    , plwtiUploadType-    , plwtiPayload-    , plwtiName-    , plwtiCallback-    ) where--import           Network.Google.Dataproc.Types-import           Network.Google.Prelude---- | A resource alias for @dataproc.projects.locations.workflowTemplates.instantiate@ method which the--- 'ProjectsLocationsWorkflowTemplatesInstantiate' request conforms to.-type ProjectsLocationsWorkflowTemplatesInstantiateResource-     =-     "v1" :>-       CaptureMode "name" "instantiate" Text :>-         QueryParam "$.xgafv" Xgafv :>-           QueryParam "upload_protocol" Text :>-             QueryParam "access_token" Text :>-               QueryParam "uploadType" Text :>-                 QueryParam "callback" Text :>-                   QueryParam "alt" AltJSON :>-                     ReqBody '[JSON] InstantiateWorkflowTemplateRequest :>-                       Post '[JSON] Operation---- | Instantiates a template and begins execution.The returned Operation can--- be used to track execution of workflow by polling operations.get. The--- Operation will complete when entire workflow is finished.The running--- workflow can be aborted via operations.cancel. This will cause any--- inflight jobs to be cancelled and workflow-owned clusters to be--- deleted.The Operation.metadata will be WorkflowMetadata.On successful--- completion, Operation.response will be Empty.------ /See:/ 'projectsLocationsWorkflowTemplatesInstantiate' smart constructor.-data ProjectsLocationsWorkflowTemplatesInstantiate =-  ProjectsLocationsWorkflowTemplatesInstantiate'-    { _plwtiXgafv          :: !(Maybe Xgafv)-    , _plwtiUploadProtocol :: !(Maybe Text)-    , _plwtiAccessToken    :: !(Maybe Text)-    , _plwtiUploadType     :: !(Maybe Text)-    , _plwtiPayload        :: !InstantiateWorkflowTemplateRequest-    , _plwtiName           :: !Text-    , _plwtiCallback       :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsLocationsWorkflowTemplatesInstantiate' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'plwtiXgafv'------ * 'plwtiUploadProtocol'------ * 'plwtiAccessToken'------ * 'plwtiUploadType'------ * 'plwtiPayload'------ * 'plwtiName'------ * 'plwtiCallback'-projectsLocationsWorkflowTemplatesInstantiate-    :: InstantiateWorkflowTemplateRequest -- ^ 'plwtiPayload'-    -> Text -- ^ 'plwtiName'-    -> ProjectsLocationsWorkflowTemplatesInstantiate-projectsLocationsWorkflowTemplatesInstantiate pPlwtiPayload_ pPlwtiName_ =-  ProjectsLocationsWorkflowTemplatesInstantiate'-    { _plwtiXgafv = Nothing-    , _plwtiUploadProtocol = Nothing-    , _plwtiAccessToken = Nothing-    , _plwtiUploadType = Nothing-    , _plwtiPayload = pPlwtiPayload_-    , _plwtiName = pPlwtiName_-    , _plwtiCallback = Nothing-    }----- | V1 error format.-plwtiXgafv :: Lens' ProjectsLocationsWorkflowTemplatesInstantiate (Maybe Xgafv)-plwtiXgafv-  = lens _plwtiXgafv (\ s a -> s{_plwtiXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-plwtiUploadProtocol :: Lens' ProjectsLocationsWorkflowTemplatesInstantiate (Maybe Text)-plwtiUploadProtocol-  = lens _plwtiUploadProtocol-      (\ s a -> s{_plwtiUploadProtocol = a})---- | OAuth access token.-plwtiAccessToken :: Lens' ProjectsLocationsWorkflowTemplatesInstantiate (Maybe Text)-plwtiAccessToken-  = lens _plwtiAccessToken-      (\ s a -> s{_plwtiAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-plwtiUploadType :: Lens' ProjectsLocationsWorkflowTemplatesInstantiate (Maybe Text)-plwtiUploadType-  = lens _plwtiUploadType-      (\ s a -> s{_plwtiUploadType = a})---- | Multipart request metadata.-plwtiPayload :: Lens' ProjectsLocationsWorkflowTemplatesInstantiate InstantiateWorkflowTemplateRequest-plwtiPayload-  = lens _plwtiPayload (\ s a -> s{_plwtiPayload = a})---- | Required. The \"resource name\" of the workflow template, as described--- in https:\/\/cloud.google.com\/apis\/design\/resource_names of the form--- projects\/{project_id}\/regions\/{region}\/workflowTemplates\/{template_id}-plwtiName :: Lens' ProjectsLocationsWorkflowTemplatesInstantiate Text-plwtiName-  = lens _plwtiName (\ s a -> s{_plwtiName = a})---- | JSONP-plwtiCallback :: Lens' ProjectsLocationsWorkflowTemplatesInstantiate (Maybe Text)-plwtiCallback-  = lens _plwtiCallback-      (\ s a -> s{_plwtiCallback = a})--instance GoogleRequest-           ProjectsLocationsWorkflowTemplatesInstantiate-         where-        type Rs ProjectsLocationsWorkflowTemplatesInstantiate-             = Operation-        type Scopes-               ProjectsLocationsWorkflowTemplatesInstantiate-             = '["https://www.googleapis.com/auth/cloud-platform"]-        requestClient-          ProjectsLocationsWorkflowTemplatesInstantiate'{..}-          = go _plwtiName _plwtiXgafv _plwtiUploadProtocol-              _plwtiAccessToken-              _plwtiUploadType-              _plwtiCallback-              (Just AltJSON)-              _plwtiPayload-              dataprocService-          where go-                  = buildClient-                      (Proxy ::-                         Proxy-                           ProjectsLocationsWorkflowTemplatesInstantiateResource)-                      mempty
− gen/Network/Google/Resource/Dataproc/Projects/Locations/WorkflowTemplates/InstantiateInline.hs
@@ -1,213 +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.Dataproc.Projects.Locations.WorkflowTemplates.InstantiateInline--- 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)------ Instantiates a template and begins execution.This method is equivalent--- to executing the sequence CreateWorkflowTemplate,--- InstantiateWorkflowTemplate, DeleteWorkflowTemplate.The returned--- Operation can be used to track execution of workflow by polling--- operations.get. The Operation will complete when entire workflow is--- finished.The running workflow can be aborted via operations.cancel. This--- will cause any inflight jobs to be cancelled and workflow-owned clusters--- to be deleted.The Operation.metadata will be WorkflowMetadata.On--- successful completion, Operation.response will be Empty.------ /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.workflowTemplates.instantiateInline@.-module Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.InstantiateInline-    (-    -- * REST Resource-      ProjectsLocationsWorkflowTemplatesInstantiateInlineResource--    -- * Creating a Request-    , projectsLocationsWorkflowTemplatesInstantiateInline-    , ProjectsLocationsWorkflowTemplatesInstantiateInline--    -- * Request Lenses-    , plwtiiParent-    , plwtiiXgafv-    , plwtiiRequestId-    , plwtiiUploadProtocol-    , plwtiiAccessToken-    , plwtiiUploadType-    , plwtiiPayload-    , plwtiiCallback-    ) where--import           Network.Google.Dataproc.Types-import           Network.Google.Prelude---- | A resource alias for @dataproc.projects.locations.workflowTemplates.instantiateInline@ method which the--- 'ProjectsLocationsWorkflowTemplatesInstantiateInline' request conforms to.-type ProjectsLocationsWorkflowTemplatesInstantiateInlineResource-     =-     "v1" :>-       Capture "parent" Text :>-         "workflowTemplates:instantiateInline" :>-           QueryParam "$.xgafv" Xgafv :>-             QueryParam "requestId" Text :>-               QueryParam "upload_protocol" Text :>-                 QueryParam "access_token" Text :>-                   QueryParam "uploadType" Text :>-                     QueryParam "callback" Text :>-                       QueryParam "alt" AltJSON :>-                         ReqBody '[JSON] WorkflowTemplate :>-                           Post '[JSON] Operation---- | Instantiates a template and begins execution.This method is equivalent--- to executing the sequence CreateWorkflowTemplate,--- InstantiateWorkflowTemplate, DeleteWorkflowTemplate.The returned--- Operation can be used to track execution of workflow by polling--- operations.get. The Operation will complete when entire workflow is--- finished.The running workflow can be aborted via operations.cancel. This--- will cause any inflight jobs to be cancelled and workflow-owned clusters--- to be deleted.The Operation.metadata will be WorkflowMetadata.On--- successful completion, Operation.response will be Empty.------ /See:/ 'projectsLocationsWorkflowTemplatesInstantiateInline' smart constructor.-data ProjectsLocationsWorkflowTemplatesInstantiateInline =-  ProjectsLocationsWorkflowTemplatesInstantiateInline'-    { _plwtiiParent         :: !Text-    , _plwtiiXgafv          :: !(Maybe Xgafv)-    , _plwtiiRequestId      :: !(Maybe Text)-    , _plwtiiUploadProtocol :: !(Maybe Text)-    , _plwtiiAccessToken    :: !(Maybe Text)-    , _plwtiiUploadType     :: !(Maybe Text)-    , _plwtiiPayload        :: !WorkflowTemplate-    , _plwtiiCallback       :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsLocationsWorkflowTemplatesInstantiateInline' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'plwtiiParent'------ * 'plwtiiXgafv'------ * 'plwtiiRequestId'------ * 'plwtiiUploadProtocol'------ * 'plwtiiAccessToken'------ * 'plwtiiUploadType'------ * 'plwtiiPayload'------ * 'plwtiiCallback'-projectsLocationsWorkflowTemplatesInstantiateInline-    :: Text -- ^ 'plwtiiParent'-    -> WorkflowTemplate -- ^ 'plwtiiPayload'-    -> ProjectsLocationsWorkflowTemplatesInstantiateInline-projectsLocationsWorkflowTemplatesInstantiateInline pPlwtiiParent_ pPlwtiiPayload_ =-  ProjectsLocationsWorkflowTemplatesInstantiateInline'-    { _plwtiiParent = pPlwtiiParent_-    , _plwtiiXgafv = Nothing-    , _plwtiiRequestId = Nothing-    , _plwtiiUploadProtocol = Nothing-    , _plwtiiAccessToken = Nothing-    , _plwtiiUploadType = Nothing-    , _plwtiiPayload = pPlwtiiPayload_-    , _plwtiiCallback = Nothing-    }----- | Required. The \"resource name\" of the workflow template region, as--- described in https:\/\/cloud.google.com\/apis\/design\/resource_names of--- the form projects\/{project_id}\/regions\/{region}-plwtiiParent :: Lens' ProjectsLocationsWorkflowTemplatesInstantiateInline Text-plwtiiParent-  = lens _plwtiiParent (\ s a -> s{_plwtiiParent = a})---- | V1 error format.-plwtiiXgafv :: Lens' ProjectsLocationsWorkflowTemplatesInstantiateInline (Maybe Xgafv)-plwtiiXgafv-  = lens _plwtiiXgafv (\ s a -> s{_plwtiiXgafv = a})---- | Optional. A tag that prevents multiple concurrent workflow instances--- with the same tag from running. This mitigates risk of concurrent--- instances started due to retries.It is recommended to always set this--- value to a UUID--- (https:\/\/en.wikipedia.org\/wiki\/Universally_unique_identifier).The--- tag must contain only letters (a-z, A-Z), numbers (0-9), underscores--- (_), and hyphens (-). The maximum length is 40 characters.-plwtiiRequestId :: Lens' ProjectsLocationsWorkflowTemplatesInstantiateInline (Maybe Text)-plwtiiRequestId-  = lens _plwtiiRequestId-      (\ s a -> s{_plwtiiRequestId = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-plwtiiUploadProtocol :: Lens' ProjectsLocationsWorkflowTemplatesInstantiateInline (Maybe Text)-plwtiiUploadProtocol-  = lens _plwtiiUploadProtocol-      (\ s a -> s{_plwtiiUploadProtocol = a})---- | OAuth access token.-plwtiiAccessToken :: Lens' ProjectsLocationsWorkflowTemplatesInstantiateInline (Maybe Text)-plwtiiAccessToken-  = lens _plwtiiAccessToken-      (\ s a -> s{_plwtiiAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-plwtiiUploadType :: Lens' ProjectsLocationsWorkflowTemplatesInstantiateInline (Maybe Text)-plwtiiUploadType-  = lens _plwtiiUploadType-      (\ s a -> s{_plwtiiUploadType = a})---- | Multipart request metadata.-plwtiiPayload :: Lens' ProjectsLocationsWorkflowTemplatesInstantiateInline WorkflowTemplate-plwtiiPayload-  = lens _plwtiiPayload-      (\ s a -> s{_plwtiiPayload = a})---- | JSONP-plwtiiCallback :: Lens' ProjectsLocationsWorkflowTemplatesInstantiateInline (Maybe Text)-plwtiiCallback-  = lens _plwtiiCallback-      (\ s a -> s{_plwtiiCallback = a})--instance GoogleRequest-           ProjectsLocationsWorkflowTemplatesInstantiateInline-         where-        type Rs-               ProjectsLocationsWorkflowTemplatesInstantiateInline-             = Operation-        type Scopes-               ProjectsLocationsWorkflowTemplatesInstantiateInline-             = '["https://www.googleapis.com/auth/cloud-platform"]-        requestClient-          ProjectsLocationsWorkflowTemplatesInstantiateInline'{..}-          = go _plwtiiParent _plwtiiXgafv _plwtiiRequestId-              _plwtiiUploadProtocol-              _plwtiiAccessToken-              _plwtiiUploadType-              _plwtiiCallback-              (Just AltJSON)-              _plwtiiPayload-              dataprocService-          where go-                  = buildClient-                      (Proxy ::-                         Proxy-                           ProjectsLocationsWorkflowTemplatesInstantiateInlineResource)-                      mempty
− gen/Network/Google/Resource/Dataproc/Projects/Locations/WorkflowTemplates/List.hs
@@ -1,188 +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.Dataproc.Projects.Locations.WorkflowTemplates.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 workflows that match the specified filter in the request.------ /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.workflowTemplates.list@.-module Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.List-    (-    -- * REST Resource-      ProjectsLocationsWorkflowTemplatesListResource--    -- * Creating a Request-    , projectsLocationsWorkflowTemplatesList-    , ProjectsLocationsWorkflowTemplatesList--    -- * Request Lenses-    , plwtlParent-    , plwtlXgafv-    , plwtlUploadProtocol-    , plwtlAccessToken-    , plwtlUploadType-    , plwtlPageToken-    , plwtlPageSize-    , plwtlCallback-    ) where--import           Network.Google.Dataproc.Types-import           Network.Google.Prelude---- | A resource alias for @dataproc.projects.locations.workflowTemplates.list@ method which the--- 'ProjectsLocationsWorkflowTemplatesList' request conforms to.-type ProjectsLocationsWorkflowTemplatesListResource =-     "v1" :>-       Capture "parent" Text :>-         "workflowTemplates" :>-           QueryParam "$.xgafv" Xgafv :>-             QueryParam "upload_protocol" Text :>-               QueryParam "access_token" Text :>-                 QueryParam "uploadType" Text :>-                   QueryParam "pageToken" Text :>-                     QueryParam "pageSize" (Textual Int32) :>-                       QueryParam "callback" Text :>-                         QueryParam "alt" AltJSON :>-                           Get '[JSON] ListWorkflowTemplatesResponse---- | Lists workflows that match the specified filter in the request.------ /See:/ 'projectsLocationsWorkflowTemplatesList' smart constructor.-data ProjectsLocationsWorkflowTemplatesList =-  ProjectsLocationsWorkflowTemplatesList'-    { _plwtlParent         :: !Text-    , _plwtlXgafv          :: !(Maybe Xgafv)-    , _plwtlUploadProtocol :: !(Maybe Text)-    , _plwtlAccessToken    :: !(Maybe Text)-    , _plwtlUploadType     :: !(Maybe Text)-    , _plwtlPageToken      :: !(Maybe Text)-    , _plwtlPageSize       :: !(Maybe (Textual Int32))-    , _plwtlCallback       :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsLocationsWorkflowTemplatesList' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'plwtlParent'------ * 'plwtlXgafv'------ * 'plwtlUploadProtocol'------ * 'plwtlAccessToken'------ * 'plwtlUploadType'------ * 'plwtlPageToken'------ * 'plwtlPageSize'------ * 'plwtlCallback'-projectsLocationsWorkflowTemplatesList-    :: Text -- ^ 'plwtlParent'-    -> ProjectsLocationsWorkflowTemplatesList-projectsLocationsWorkflowTemplatesList pPlwtlParent_ =-  ProjectsLocationsWorkflowTemplatesList'-    { _plwtlParent = pPlwtlParent_-    , _plwtlXgafv = Nothing-    , _plwtlUploadProtocol = Nothing-    , _plwtlAccessToken = Nothing-    , _plwtlUploadType = Nothing-    , _plwtlPageToken = Nothing-    , _plwtlPageSize = Nothing-    , _plwtlCallback = Nothing-    }----- | Required. The \"resource name\" of the region, as described in--- https:\/\/cloud.google.com\/apis\/design\/resource_names of the form--- projects\/{project_id}\/regions\/{region}-plwtlParent :: Lens' ProjectsLocationsWorkflowTemplatesList Text-plwtlParent-  = lens _plwtlParent (\ s a -> s{_plwtlParent = a})---- | V1 error format.-plwtlXgafv :: Lens' ProjectsLocationsWorkflowTemplatesList (Maybe Xgafv)-plwtlXgafv-  = lens _plwtlXgafv (\ s a -> s{_plwtlXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-plwtlUploadProtocol :: Lens' ProjectsLocationsWorkflowTemplatesList (Maybe Text)-plwtlUploadProtocol-  = lens _plwtlUploadProtocol-      (\ s a -> s{_plwtlUploadProtocol = a})---- | OAuth access token.-plwtlAccessToken :: Lens' ProjectsLocationsWorkflowTemplatesList (Maybe Text)-plwtlAccessToken-  = lens _plwtlAccessToken-      (\ s a -> s{_plwtlAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-plwtlUploadType :: Lens' ProjectsLocationsWorkflowTemplatesList (Maybe Text)-plwtlUploadType-  = lens _plwtlUploadType-      (\ s a -> s{_plwtlUploadType = a})---- | Optional. The page token, returned by a previous call, to request the--- next page of results.-plwtlPageToken :: Lens' ProjectsLocationsWorkflowTemplatesList (Maybe Text)-plwtlPageToken-  = lens _plwtlPageToken-      (\ s a -> s{_plwtlPageToken = a})---- | Optional. The maximum number of results to return in each response.-plwtlPageSize :: Lens' ProjectsLocationsWorkflowTemplatesList (Maybe Int32)-plwtlPageSize-  = lens _plwtlPageSize-      (\ s a -> s{_plwtlPageSize = a})-      . mapping _Coerce---- | JSONP-plwtlCallback :: Lens' ProjectsLocationsWorkflowTemplatesList (Maybe Text)-plwtlCallback-  = lens _plwtlCallback-      (\ s a -> s{_plwtlCallback = a})--instance GoogleRequest-           ProjectsLocationsWorkflowTemplatesList-         where-        type Rs ProjectsLocationsWorkflowTemplatesList =-             ListWorkflowTemplatesResponse-        type Scopes ProjectsLocationsWorkflowTemplatesList =-             '["https://www.googleapis.com/auth/cloud-platform"]-        requestClient-          ProjectsLocationsWorkflowTemplatesList'{..}-          = go _plwtlParent _plwtlXgafv _plwtlUploadProtocol-              _plwtlAccessToken-              _plwtlUploadType-              _plwtlPageToken-              _plwtlPageSize-              _plwtlCallback-              (Just AltJSON)-              dataprocService-          where go-                  = buildClient-                      (Proxy ::-                         Proxy ProjectsLocationsWorkflowTemplatesListResource)-                      mempty
− gen/Network/Google/Resource/Dataproc/Projects/Locations/WorkflowTemplates/SetIAMPolicy.hs
@@ -1,180 +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.Dataproc.Projects.Locations.WorkflowTemplates.SetIAMPolicy--- 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)------ Sets the access control policy on the specified resource. Replaces any--- existing policy.------ /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.workflowTemplates.setIamPolicy@.-module Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.SetIAMPolicy-    (-    -- * REST Resource-      ProjectsLocationsWorkflowTemplatesSetIAMPolicyResource--    -- * Creating a Request-    , projectsLocationsWorkflowTemplatesSetIAMPolicy-    , ProjectsLocationsWorkflowTemplatesSetIAMPolicy--    -- * Request Lenses-    , plwtsipXgafv-    , plwtsipUploadProtocol-    , plwtsipAccessToken-    , plwtsipUploadType-    , plwtsipPayload-    , plwtsipResource-    , plwtsipCallback-    ) where--import           Network.Google.Dataproc.Types-import           Network.Google.Prelude---- | A resource alias for @dataproc.projects.locations.workflowTemplates.setIamPolicy@ method which the--- 'ProjectsLocationsWorkflowTemplatesSetIAMPolicy' request conforms to.-type ProjectsLocationsWorkflowTemplatesSetIAMPolicyResource-     =-     "v1" :>-       CaptureMode "resource" "setIamPolicy" Text :>-         QueryParam "$.xgafv" Xgafv :>-           QueryParam "upload_protocol" Text :>-             QueryParam "access_token" Text :>-               QueryParam "uploadType" Text :>-                 QueryParam "callback" Text :>-                   QueryParam "alt" AltJSON :>-                     ReqBody '[JSON] SetIAMPolicyRequest :>-                       Post '[JSON] Policy---- | Sets the access control policy on the specified resource. Replaces any--- existing policy.------ /See:/ 'projectsLocationsWorkflowTemplatesSetIAMPolicy' smart constructor.-data ProjectsLocationsWorkflowTemplatesSetIAMPolicy =-  ProjectsLocationsWorkflowTemplatesSetIAMPolicy'-    { _plwtsipXgafv          :: !(Maybe Xgafv)-    , _plwtsipUploadProtocol :: !(Maybe Text)-    , _plwtsipAccessToken    :: !(Maybe Text)-    , _plwtsipUploadType     :: !(Maybe Text)-    , _plwtsipPayload        :: !SetIAMPolicyRequest-    , _plwtsipResource       :: !Text-    , _plwtsipCallback       :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsLocationsWorkflowTemplatesSetIAMPolicy' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'plwtsipXgafv'------ * 'plwtsipUploadProtocol'------ * 'plwtsipAccessToken'------ * 'plwtsipUploadType'------ * 'plwtsipPayload'------ * 'plwtsipResource'------ * 'plwtsipCallback'-projectsLocationsWorkflowTemplatesSetIAMPolicy-    :: SetIAMPolicyRequest -- ^ 'plwtsipPayload'-    -> Text -- ^ 'plwtsipResource'-    -> ProjectsLocationsWorkflowTemplatesSetIAMPolicy-projectsLocationsWorkflowTemplatesSetIAMPolicy pPlwtsipPayload_ pPlwtsipResource_ =-  ProjectsLocationsWorkflowTemplatesSetIAMPolicy'-    { _plwtsipXgafv = Nothing-    , _plwtsipUploadProtocol = Nothing-    , _plwtsipAccessToken = Nothing-    , _plwtsipUploadType = Nothing-    , _plwtsipPayload = pPlwtsipPayload_-    , _plwtsipResource = pPlwtsipResource_-    , _plwtsipCallback = Nothing-    }----- | V1 error format.-plwtsipXgafv :: Lens' ProjectsLocationsWorkflowTemplatesSetIAMPolicy (Maybe Xgafv)-plwtsipXgafv-  = lens _plwtsipXgafv (\ s a -> s{_plwtsipXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-plwtsipUploadProtocol :: Lens' ProjectsLocationsWorkflowTemplatesSetIAMPolicy (Maybe Text)-plwtsipUploadProtocol-  = lens _plwtsipUploadProtocol-      (\ s a -> s{_plwtsipUploadProtocol = a})---- | OAuth access token.-plwtsipAccessToken :: Lens' ProjectsLocationsWorkflowTemplatesSetIAMPolicy (Maybe Text)-plwtsipAccessToken-  = lens _plwtsipAccessToken-      (\ s a -> s{_plwtsipAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-plwtsipUploadType :: Lens' ProjectsLocationsWorkflowTemplatesSetIAMPolicy (Maybe Text)-plwtsipUploadType-  = lens _plwtsipUploadType-      (\ s a -> s{_plwtsipUploadType = a})---- | Multipart request metadata.-plwtsipPayload :: Lens' ProjectsLocationsWorkflowTemplatesSetIAMPolicy SetIAMPolicyRequest-plwtsipPayload-  = lens _plwtsipPayload-      (\ s a -> s{_plwtsipPayload = a})---- | REQUIRED: The resource for which the policy is being specified. See the--- operation documentation for the appropriate value for this field.-plwtsipResource :: Lens' ProjectsLocationsWorkflowTemplatesSetIAMPolicy Text-plwtsipResource-  = lens _plwtsipResource-      (\ s a -> s{_plwtsipResource = a})---- | JSONP-plwtsipCallback :: Lens' ProjectsLocationsWorkflowTemplatesSetIAMPolicy (Maybe Text)-plwtsipCallback-  = lens _plwtsipCallback-      (\ s a -> s{_plwtsipCallback = a})--instance GoogleRequest-           ProjectsLocationsWorkflowTemplatesSetIAMPolicy-         where-        type Rs-               ProjectsLocationsWorkflowTemplatesSetIAMPolicy-             = Policy-        type Scopes-               ProjectsLocationsWorkflowTemplatesSetIAMPolicy-             = '["https://www.googleapis.com/auth/cloud-platform"]-        requestClient-          ProjectsLocationsWorkflowTemplatesSetIAMPolicy'{..}-          = go _plwtsipResource _plwtsipXgafv-              _plwtsipUploadProtocol-              _plwtsipAccessToken-              _plwtsipUploadType-              _plwtsipCallback-              (Just AltJSON)-              _plwtsipPayload-              dataprocService-          where go-                  = buildClient-                      (Proxy ::-                         Proxy-                           ProjectsLocationsWorkflowTemplatesSetIAMPolicyResource)-                      mempty
− gen/Network/Google/Resource/Dataproc/Projects/Locations/WorkflowTemplates/TestIAMPermissions.hs
@@ -1,189 +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.Dataproc.Projects.Locations.WorkflowTemplates.TestIAMPermissions--- 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 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/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.workflowTemplates.testIamPermissions@.-module Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.TestIAMPermissions-    (-    -- * REST Resource-      ProjectsLocationsWorkflowTemplatesTestIAMPermissionsResource--    -- * Creating a Request-    , projectsLocationsWorkflowTemplatesTestIAMPermissions-    , ProjectsLocationsWorkflowTemplatesTestIAMPermissions--    -- * Request Lenses-    , plwttipXgafv-    , plwttipUploadProtocol-    , plwttipAccessToken-    , plwttipUploadType-    , plwttipPayload-    , plwttipResource-    , plwttipCallback-    ) where--import           Network.Google.Dataproc.Types-import           Network.Google.Prelude---- | A resource alias for @dataproc.projects.locations.workflowTemplates.testIamPermissions@ method which the--- 'ProjectsLocationsWorkflowTemplatesTestIAMPermissions' request conforms to.-type ProjectsLocationsWorkflowTemplatesTestIAMPermissionsResource-     =-     "v1" :>-       CaptureMode "resource" "testIamPermissions" Text :>-         QueryParam "$.xgafv" Xgafv :>-           QueryParam "upload_protocol" Text :>-             QueryParam "access_token" Text :>-               QueryParam "uploadType" Text :>-                 QueryParam "callback" Text :>-                   QueryParam "alt" AltJSON :>-                     ReqBody '[JSON] TestIAMPermissionsRequest :>-                       Post '[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:/ 'projectsLocationsWorkflowTemplatesTestIAMPermissions' smart constructor.-data ProjectsLocationsWorkflowTemplatesTestIAMPermissions =-  ProjectsLocationsWorkflowTemplatesTestIAMPermissions'-    { _plwttipXgafv          :: !(Maybe Xgafv)-    , _plwttipUploadProtocol :: !(Maybe Text)-    , _plwttipAccessToken    :: !(Maybe Text)-    , _plwttipUploadType     :: !(Maybe Text)-    , _plwttipPayload        :: !TestIAMPermissionsRequest-    , _plwttipResource       :: !Text-    , _plwttipCallback       :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsLocationsWorkflowTemplatesTestIAMPermissions' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'plwttipXgafv'------ * 'plwttipUploadProtocol'------ * 'plwttipAccessToken'------ * 'plwttipUploadType'------ * 'plwttipPayload'------ * 'plwttipResource'------ * 'plwttipCallback'-projectsLocationsWorkflowTemplatesTestIAMPermissions-    :: TestIAMPermissionsRequest -- ^ 'plwttipPayload'-    -> Text -- ^ 'plwttipResource'-    -> ProjectsLocationsWorkflowTemplatesTestIAMPermissions-projectsLocationsWorkflowTemplatesTestIAMPermissions pPlwttipPayload_ pPlwttipResource_ =-  ProjectsLocationsWorkflowTemplatesTestIAMPermissions'-    { _plwttipXgafv = Nothing-    , _plwttipUploadProtocol = Nothing-    , _plwttipAccessToken = Nothing-    , _plwttipUploadType = Nothing-    , _plwttipPayload = pPlwttipPayload_-    , _plwttipResource = pPlwttipResource_-    , _plwttipCallback = Nothing-    }----- | V1 error format.-plwttipXgafv :: Lens' ProjectsLocationsWorkflowTemplatesTestIAMPermissions (Maybe Xgafv)-plwttipXgafv-  = lens _plwttipXgafv (\ s a -> s{_plwttipXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-plwttipUploadProtocol :: Lens' ProjectsLocationsWorkflowTemplatesTestIAMPermissions (Maybe Text)-plwttipUploadProtocol-  = lens _plwttipUploadProtocol-      (\ s a -> s{_plwttipUploadProtocol = a})---- | OAuth access token.-plwttipAccessToken :: Lens' ProjectsLocationsWorkflowTemplatesTestIAMPermissions (Maybe Text)-plwttipAccessToken-  = lens _plwttipAccessToken-      (\ s a -> s{_plwttipAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-plwttipUploadType :: Lens' ProjectsLocationsWorkflowTemplatesTestIAMPermissions (Maybe Text)-plwttipUploadType-  = lens _plwttipUploadType-      (\ s a -> s{_plwttipUploadType = a})---- | Multipart request metadata.-plwttipPayload :: Lens' ProjectsLocationsWorkflowTemplatesTestIAMPermissions TestIAMPermissionsRequest-plwttipPayload-  = lens _plwttipPayload-      (\ s a -> s{_plwttipPayload = a})---- | REQUIRED: The resource for which the policy detail is being requested.--- See the operation documentation for the appropriate value for this--- field.-plwttipResource :: Lens' ProjectsLocationsWorkflowTemplatesTestIAMPermissions Text-plwttipResource-  = lens _plwttipResource-      (\ s a -> s{_plwttipResource = a})---- | JSONP-plwttipCallback :: Lens' ProjectsLocationsWorkflowTemplatesTestIAMPermissions (Maybe Text)-plwttipCallback-  = lens _plwttipCallback-      (\ s a -> s{_plwttipCallback = a})--instance GoogleRequest-           ProjectsLocationsWorkflowTemplatesTestIAMPermissions-         where-        type Rs-               ProjectsLocationsWorkflowTemplatesTestIAMPermissions-             = TestIAMPermissionsResponse-        type Scopes-               ProjectsLocationsWorkflowTemplatesTestIAMPermissions-             = '["https://www.googleapis.com/auth/cloud-platform"]-        requestClient-          ProjectsLocationsWorkflowTemplatesTestIAMPermissions'{..}-          = go _plwttipResource _plwttipXgafv-              _plwttipUploadProtocol-              _plwttipAccessToken-              _plwttipUploadType-              _plwttipCallback-              (Just AltJSON)-              _plwttipPayload-              dataprocService-          where go-                  = buildClient-                      (Proxy ::-                         Proxy-                           ProjectsLocationsWorkflowTemplatesTestIAMPermissionsResource)-                      mempty
− gen/Network/Google/Resource/Dataproc/Projects/Locations/WorkflowTemplates/Update.hs
@@ -1,176 +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.Dataproc.Projects.Locations.WorkflowTemplates.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 (replaces) workflow template. The updated template must contain--- version that matches the current server version.------ /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.locations.workflowTemplates.update@.-module Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.Update-    (-    -- * REST Resource-      ProjectsLocationsWorkflowTemplatesUpdateResource--    -- * Creating a Request-    , projectsLocationsWorkflowTemplatesUpdate-    , ProjectsLocationsWorkflowTemplatesUpdate--    -- * Request Lenses-    , plwtuXgafv-    , plwtuUploadProtocol-    , plwtuAccessToken-    , plwtuUploadType-    , plwtuPayload-    , plwtuName-    , plwtuCallback-    ) where--import           Network.Google.Dataproc.Types-import           Network.Google.Prelude---- | A resource alias for @dataproc.projects.locations.workflowTemplates.update@ method which the--- 'ProjectsLocationsWorkflowTemplatesUpdate' request conforms to.-type ProjectsLocationsWorkflowTemplatesUpdateResource-     =-     "v1" :>-       Capture "name" Text :>-         QueryParam "$.xgafv" Xgafv :>-           QueryParam "upload_protocol" Text :>-             QueryParam "access_token" Text :>-               QueryParam "uploadType" Text :>-                 QueryParam "callback" Text :>-                   QueryParam "alt" AltJSON :>-                     ReqBody '[JSON] WorkflowTemplate :>-                       Put '[JSON] WorkflowTemplate---- | Updates (replaces) workflow template. The updated template must contain--- version that matches the current server version.------ /See:/ 'projectsLocationsWorkflowTemplatesUpdate' smart constructor.-data ProjectsLocationsWorkflowTemplatesUpdate =-  ProjectsLocationsWorkflowTemplatesUpdate'-    { _plwtuXgafv          :: !(Maybe Xgafv)-    , _plwtuUploadProtocol :: !(Maybe Text)-    , _plwtuAccessToken    :: !(Maybe Text)-    , _plwtuUploadType     :: !(Maybe Text)-    , _plwtuPayload        :: !WorkflowTemplate-    , _plwtuName           :: !Text-    , _plwtuCallback       :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsLocationsWorkflowTemplatesUpdate' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'plwtuXgafv'------ * 'plwtuUploadProtocol'------ * 'plwtuAccessToken'------ * 'plwtuUploadType'------ * 'plwtuPayload'------ * 'plwtuName'------ * 'plwtuCallback'-projectsLocationsWorkflowTemplatesUpdate-    :: WorkflowTemplate -- ^ 'plwtuPayload'-    -> Text -- ^ 'plwtuName'-    -> ProjectsLocationsWorkflowTemplatesUpdate-projectsLocationsWorkflowTemplatesUpdate pPlwtuPayload_ pPlwtuName_ =-  ProjectsLocationsWorkflowTemplatesUpdate'-    { _plwtuXgafv = Nothing-    , _plwtuUploadProtocol = Nothing-    , _plwtuAccessToken = Nothing-    , _plwtuUploadType = Nothing-    , _plwtuPayload = pPlwtuPayload_-    , _plwtuName = pPlwtuName_-    , _plwtuCallback = Nothing-    }----- | V1 error format.-plwtuXgafv :: Lens' ProjectsLocationsWorkflowTemplatesUpdate (Maybe Xgafv)-plwtuXgafv-  = lens _plwtuXgafv (\ s a -> s{_plwtuXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-plwtuUploadProtocol :: Lens' ProjectsLocationsWorkflowTemplatesUpdate (Maybe Text)-plwtuUploadProtocol-  = lens _plwtuUploadProtocol-      (\ s a -> s{_plwtuUploadProtocol = a})---- | OAuth access token.-plwtuAccessToken :: Lens' ProjectsLocationsWorkflowTemplatesUpdate (Maybe Text)-plwtuAccessToken-  = lens _plwtuAccessToken-      (\ s a -> s{_plwtuAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-plwtuUploadType :: Lens' ProjectsLocationsWorkflowTemplatesUpdate (Maybe Text)-plwtuUploadType-  = lens _plwtuUploadType-      (\ s a -> s{_plwtuUploadType = a})---- | Multipart request metadata.-plwtuPayload :: Lens' ProjectsLocationsWorkflowTemplatesUpdate WorkflowTemplate-plwtuPayload-  = lens _plwtuPayload (\ s a -> s{_plwtuPayload = a})---- | Output only. The \"resource name\" of the template, as described in--- https:\/\/cloud.google.com\/apis\/design\/resource_names of the form--- projects\/{project_id}\/regions\/{region}\/workflowTemplates\/{template_id}-plwtuName :: Lens' ProjectsLocationsWorkflowTemplatesUpdate Text-plwtuName-  = lens _plwtuName (\ s a -> s{_plwtuName = a})---- | JSONP-plwtuCallback :: Lens' ProjectsLocationsWorkflowTemplatesUpdate (Maybe Text)-plwtuCallback-  = lens _plwtuCallback-      (\ s a -> s{_plwtuCallback = a})--instance GoogleRequest-           ProjectsLocationsWorkflowTemplatesUpdate-         where-        type Rs ProjectsLocationsWorkflowTemplatesUpdate =-             WorkflowTemplate-        type Scopes ProjectsLocationsWorkflowTemplatesUpdate-             = '["https://www.googleapis.com/auth/cloud-platform"]-        requestClient-          ProjectsLocationsWorkflowTemplatesUpdate'{..}-          = go _plwtuName _plwtuXgafv _plwtuUploadProtocol-              _plwtuAccessToken-              _plwtuUploadType-              _plwtuCallback-              (Just AltJSON)-              _plwtuPayload-              dataprocService-          where go-                  = buildClient-                      (Proxy ::-                         Proxy-                           ProjectsLocationsWorkflowTemplatesUpdateResource)-                      mempty
− gen/Network/Google/Resource/Dataproc/Projects/Regions/Clusters/Create.hs
@@ -1,203 +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.Dataproc.Projects.Regions.Clusters.Create--- 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 cluster in a project.------ /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.clusters.create@.-module Network.Google.Resource.Dataproc.Projects.Regions.Clusters.Create-    (-    -- * REST Resource-      ProjectsRegionsClustersCreateResource--    -- * Creating a Request-    , projectsRegionsClustersCreate-    , ProjectsRegionsClustersCreate--    -- * Request Lenses-    , prccXgafv-    , prccRequestId-    , prccUploadProtocol-    , prccAccessToken-    , prccUploadType-    , prccPayload-    , prccRegion-    , prccProjectId-    , prccCallback-    ) where--import           Network.Google.Dataproc.Types-import           Network.Google.Prelude---- | A resource alias for @dataproc.projects.regions.clusters.create@ method which the--- 'ProjectsRegionsClustersCreate' request conforms to.-type ProjectsRegionsClustersCreateResource =-     "v1" :>-       "projects" :>-         Capture "projectId" Text :>-           "regions" :>-             Capture "region" Text :>-               "clusters" :>-                 QueryParam "$.xgafv" Xgafv :>-                   QueryParam "requestId" Text :>-                     QueryParam "upload_protocol" Text :>-                       QueryParam "access_token" Text :>-                         QueryParam "uploadType" Text :>-                           QueryParam "callback" Text :>-                             QueryParam "alt" AltJSON :>-                               ReqBody '[JSON] Cluster :> Post '[JSON] Operation---- | Creates a cluster in a project.------ /See:/ 'projectsRegionsClustersCreate' smart constructor.-data ProjectsRegionsClustersCreate =-  ProjectsRegionsClustersCreate'-    { _prccXgafv          :: !(Maybe Xgafv)-    , _prccRequestId      :: !(Maybe Text)-    , _prccUploadProtocol :: !(Maybe Text)-    , _prccAccessToken    :: !(Maybe Text)-    , _prccUploadType     :: !(Maybe Text)-    , _prccPayload        :: !Cluster-    , _prccRegion         :: !Text-    , _prccProjectId      :: !Text-    , _prccCallback       :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsRegionsClustersCreate' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'prccXgafv'------ * 'prccRequestId'------ * 'prccUploadProtocol'------ * 'prccAccessToken'------ * 'prccUploadType'------ * 'prccPayload'------ * 'prccRegion'------ * 'prccProjectId'------ * 'prccCallback'-projectsRegionsClustersCreate-    :: Cluster -- ^ 'prccPayload'-    -> Text -- ^ 'prccRegion'-    -> Text -- ^ 'prccProjectId'-    -> ProjectsRegionsClustersCreate-projectsRegionsClustersCreate pPrccPayload_ pPrccRegion_ pPrccProjectId_ =-  ProjectsRegionsClustersCreate'-    { _prccXgafv = Nothing-    , _prccRequestId = Nothing-    , _prccUploadProtocol = Nothing-    , _prccAccessToken = Nothing-    , _prccUploadType = Nothing-    , _prccPayload = pPrccPayload_-    , _prccRegion = pPrccRegion_-    , _prccProjectId = pPrccProjectId_-    , _prccCallback = Nothing-    }----- | V1 error format.-prccXgafv :: Lens' ProjectsRegionsClustersCreate (Maybe Xgafv)-prccXgafv-  = lens _prccXgafv (\ s a -> s{_prccXgafv = a})---- | Optional. A unique id used to identify the request. If the server--- receives two CreateClusterRequest requests with the same id, then the--- second request will be ignored and the first--- google.longrunning.Operation created and stored in the backend is--- returned.It is recommended to always set this value to a UUID--- (https:\/\/en.wikipedia.org\/wiki\/Universally_unique_identifier).The id--- must contain only letters (a-z, A-Z), numbers (0-9), underscores (_),--- and hyphens (-). The maximum length is 40 characters.-prccRequestId :: Lens' ProjectsRegionsClustersCreate (Maybe Text)-prccRequestId-  = lens _prccRequestId-      (\ s a -> s{_prccRequestId = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-prccUploadProtocol :: Lens' ProjectsRegionsClustersCreate (Maybe Text)-prccUploadProtocol-  = lens _prccUploadProtocol-      (\ s a -> s{_prccUploadProtocol = a})---- | OAuth access token.-prccAccessToken :: Lens' ProjectsRegionsClustersCreate (Maybe Text)-prccAccessToken-  = lens _prccAccessToken-      (\ s a -> s{_prccAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-prccUploadType :: Lens' ProjectsRegionsClustersCreate (Maybe Text)-prccUploadType-  = lens _prccUploadType-      (\ s a -> s{_prccUploadType = a})---- | Multipart request metadata.-prccPayload :: Lens' ProjectsRegionsClustersCreate Cluster-prccPayload-  = lens _prccPayload (\ s a -> s{_prccPayload = a})---- | Required. The Cloud Dataproc region in which to handle the request.-prccRegion :: Lens' ProjectsRegionsClustersCreate Text-prccRegion-  = lens _prccRegion (\ s a -> s{_prccRegion = a})---- | Required. The ID of the Google Cloud Platform project that the cluster--- belongs to.-prccProjectId :: Lens' ProjectsRegionsClustersCreate Text-prccProjectId-  = lens _prccProjectId-      (\ s a -> s{_prccProjectId = a})---- | JSONP-prccCallback :: Lens' ProjectsRegionsClustersCreate (Maybe Text)-prccCallback-  = lens _prccCallback (\ s a -> s{_prccCallback = a})--instance GoogleRequest ProjectsRegionsClustersCreate-         where-        type Rs ProjectsRegionsClustersCreate = Operation-        type Scopes ProjectsRegionsClustersCreate =-             '["https://www.googleapis.com/auth/cloud-platform"]-        requestClient ProjectsRegionsClustersCreate'{..}-          = go _prccProjectId _prccRegion _prccXgafv-              _prccRequestId-              _prccUploadProtocol-              _prccAccessToken-              _prccUploadType-              _prccCallback-              (Just AltJSON)-              _prccPayload-              dataprocService-          where go-                  = buildClient-                      (Proxy ::-                         Proxy ProjectsRegionsClustersCreateResource)-                      mempty
− gen/Network/Google/Resource/Dataproc/Projects/Regions/Clusters/Delete.hs
@@ -1,219 +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.Dataproc.Projects.Regions.Clusters.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 a cluster in a project.------ /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.clusters.delete@.-module Network.Google.Resource.Dataproc.Projects.Regions.Clusters.Delete-    (-    -- * REST Resource-      ProjectsRegionsClustersDeleteResource--    -- * Creating a Request-    , projectsRegionsClustersDelete-    , ProjectsRegionsClustersDelete--    -- * Request Lenses-    , prcdXgafv-    , prcdRequestId-    , prcdClusterUuid-    , prcdUploadProtocol-    , prcdAccessToken-    , prcdUploadType-    , prcdClusterName-    , prcdRegion-    , prcdProjectId-    , prcdCallback-    ) where--import           Network.Google.Dataproc.Types-import           Network.Google.Prelude---- | A resource alias for @dataproc.projects.regions.clusters.delete@ method which the--- 'ProjectsRegionsClustersDelete' request conforms to.-type ProjectsRegionsClustersDeleteResource =-     "v1" :>-       "projects" :>-         Capture "projectId" Text :>-           "regions" :>-             Capture "region" Text :>-               "clusters" :>-                 Capture "clusterName" Text :>-                   QueryParam "$.xgafv" Xgafv :>-                     QueryParam "requestId" Text :>-                       QueryParam "clusterUuid" Text :>-                         QueryParam "upload_protocol" Text :>-                           QueryParam "access_token" Text :>-                             QueryParam "uploadType" Text :>-                               QueryParam "callback" Text :>-                                 QueryParam "alt" AltJSON :>-                                   Delete '[JSON] Operation---- | Deletes a cluster in a project.------ /See:/ 'projectsRegionsClustersDelete' smart constructor.-data ProjectsRegionsClustersDelete =-  ProjectsRegionsClustersDelete'-    { _prcdXgafv          :: !(Maybe Xgafv)-    , _prcdRequestId      :: !(Maybe Text)-    , _prcdClusterUuid    :: !(Maybe Text)-    , _prcdUploadProtocol :: !(Maybe Text)-    , _prcdAccessToken    :: !(Maybe Text)-    , _prcdUploadType     :: !(Maybe Text)-    , _prcdClusterName    :: !Text-    , _prcdRegion         :: !Text-    , _prcdProjectId      :: !Text-    , _prcdCallback       :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsRegionsClustersDelete' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'prcdXgafv'------ * 'prcdRequestId'------ * 'prcdClusterUuid'------ * 'prcdUploadProtocol'------ * 'prcdAccessToken'------ * 'prcdUploadType'------ * 'prcdClusterName'------ * 'prcdRegion'------ * 'prcdProjectId'------ * 'prcdCallback'-projectsRegionsClustersDelete-    :: Text -- ^ 'prcdClusterName'-    -> Text -- ^ 'prcdRegion'-    -> Text -- ^ 'prcdProjectId'-    -> ProjectsRegionsClustersDelete-projectsRegionsClustersDelete pPrcdClusterName_ pPrcdRegion_ pPrcdProjectId_ =-  ProjectsRegionsClustersDelete'-    { _prcdXgafv = Nothing-    , _prcdRequestId = Nothing-    , _prcdClusterUuid = Nothing-    , _prcdUploadProtocol = Nothing-    , _prcdAccessToken = Nothing-    , _prcdUploadType = Nothing-    , _prcdClusterName = pPrcdClusterName_-    , _prcdRegion = pPrcdRegion_-    , _prcdProjectId = pPrcdProjectId_-    , _prcdCallback = Nothing-    }----- | V1 error format.-prcdXgafv :: Lens' ProjectsRegionsClustersDelete (Maybe Xgafv)-prcdXgafv-  = lens _prcdXgafv (\ s a -> s{_prcdXgafv = a})---- | Optional. A unique id used to identify the request. If the server--- receives two DeleteClusterRequest requests with the same id, then the--- second request will be ignored and the first--- google.longrunning.Operation created and stored in the backend is--- returned.It is recommended to always set this value to a UUID--- (https:\/\/en.wikipedia.org\/wiki\/Universally_unique_identifier).The id--- must contain only letters (a-z, A-Z), numbers (0-9), underscores (_),--- and hyphens (-). The maximum length is 40 characters.-prcdRequestId :: Lens' ProjectsRegionsClustersDelete (Maybe Text)-prcdRequestId-  = lens _prcdRequestId-      (\ s a -> s{_prcdRequestId = a})---- | Optional. Specifying the cluster_uuid means the RPC should fail (with--- error NOT_FOUND) if cluster with specified UUID does not exist.-prcdClusterUuid :: Lens' ProjectsRegionsClustersDelete (Maybe Text)-prcdClusterUuid-  = lens _prcdClusterUuid-      (\ s a -> s{_prcdClusterUuid = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-prcdUploadProtocol :: Lens' ProjectsRegionsClustersDelete (Maybe Text)-prcdUploadProtocol-  = lens _prcdUploadProtocol-      (\ s a -> s{_prcdUploadProtocol = a})---- | OAuth access token.-prcdAccessToken :: Lens' ProjectsRegionsClustersDelete (Maybe Text)-prcdAccessToken-  = lens _prcdAccessToken-      (\ s a -> s{_prcdAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-prcdUploadType :: Lens' ProjectsRegionsClustersDelete (Maybe Text)-prcdUploadType-  = lens _prcdUploadType-      (\ s a -> s{_prcdUploadType = a})---- | Required. The cluster name.-prcdClusterName :: Lens' ProjectsRegionsClustersDelete Text-prcdClusterName-  = lens _prcdClusterName-      (\ s a -> s{_prcdClusterName = a})---- | Required. The Cloud Dataproc region in which to handle the request.-prcdRegion :: Lens' ProjectsRegionsClustersDelete Text-prcdRegion-  = lens _prcdRegion (\ s a -> s{_prcdRegion = a})---- | Required. The ID of the Google Cloud Platform project that the cluster--- belongs to.-prcdProjectId :: Lens' ProjectsRegionsClustersDelete Text-prcdProjectId-  = lens _prcdProjectId-      (\ s a -> s{_prcdProjectId = a})---- | JSONP-prcdCallback :: Lens' ProjectsRegionsClustersDelete (Maybe Text)-prcdCallback-  = lens _prcdCallback (\ s a -> s{_prcdCallback = a})--instance GoogleRequest ProjectsRegionsClustersDelete-         where-        type Rs ProjectsRegionsClustersDelete = Operation-        type Scopes ProjectsRegionsClustersDelete =-             '["https://www.googleapis.com/auth/cloud-platform"]-        requestClient ProjectsRegionsClustersDelete'{..}-          = go _prcdProjectId _prcdRegion _prcdClusterName-              _prcdXgafv-              _prcdRequestId-              _prcdClusterUuid-              _prcdUploadProtocol-              _prcdAccessToken-              _prcdUploadType-              _prcdCallback-              (Just AltJSON)-              dataprocService-          where go-                  = buildClient-                      (Proxy ::-                         Proxy ProjectsRegionsClustersDeleteResource)-                      mempty
− gen/Network/Google/Resource/Dataproc/Projects/Regions/Clusters/Diagnose.hs
@@ -1,193 +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.Dataproc.Projects.Regions.Clusters.Diagnose--- 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 cluster diagnostic information. After the operation completes, the--- Operation.response field contains DiagnoseClusterOutputLocation.------ /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.clusters.diagnose@.-module Network.Google.Resource.Dataproc.Projects.Regions.Clusters.Diagnose-    (-    -- * REST Resource-      ProjectsRegionsClustersDiagnoseResource--    -- * Creating a Request-    , projectsRegionsClustersDiagnose-    , ProjectsRegionsClustersDiagnose--    -- * Request Lenses-    , pXgafv-    , pUploadProtocol-    , pAccessToken-    , pUploadType-    , pPayload-    , pClusterName-    , pRegion-    , pProjectId-    , pCallback-    ) where--import           Network.Google.Dataproc.Types-import           Network.Google.Prelude---- | A resource alias for @dataproc.projects.regions.clusters.diagnose@ method which the--- 'ProjectsRegionsClustersDiagnose' request conforms to.-type ProjectsRegionsClustersDiagnoseResource =-     "v1" :>-       "projects" :>-         Capture "projectId" Text :>-           "regions" :>-             Capture "region" Text :>-               "clusters" :>-                 CaptureMode "clusterName" "diagnose" Text :>-                   QueryParam "$.xgafv" Xgafv :>-                     QueryParam "upload_protocol" Text :>-                       QueryParam "access_token" Text :>-                         QueryParam "uploadType" Text :>-                           QueryParam "callback" Text :>-                             QueryParam "alt" AltJSON :>-                               ReqBody '[JSON] DiagnoseClusterRequest :>-                                 Post '[JSON] Operation---- | Gets cluster diagnostic information. After the operation completes, the--- Operation.response field contains DiagnoseClusterOutputLocation.------ /See:/ 'projectsRegionsClustersDiagnose' smart constructor.-data ProjectsRegionsClustersDiagnose =-  ProjectsRegionsClustersDiagnose'-    { _pXgafv          :: !(Maybe Xgafv)-    , _pUploadProtocol :: !(Maybe Text)-    , _pAccessToken    :: !(Maybe Text)-    , _pUploadType     :: !(Maybe Text)-    , _pPayload        :: !DiagnoseClusterRequest-    , _pClusterName    :: !Text-    , _pRegion         :: !Text-    , _pProjectId      :: !Text-    , _pCallback       :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsRegionsClustersDiagnose' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pXgafv'------ * 'pUploadProtocol'------ * 'pAccessToken'------ * 'pUploadType'------ * 'pPayload'------ * 'pClusterName'------ * 'pRegion'------ * 'pProjectId'------ * 'pCallback'-projectsRegionsClustersDiagnose-    :: DiagnoseClusterRequest -- ^ 'pPayload'-    -> Text -- ^ 'pClusterName'-    -> Text -- ^ 'pRegion'-    -> Text -- ^ 'pProjectId'-    -> ProjectsRegionsClustersDiagnose-projectsRegionsClustersDiagnose pPPayload_ pPClusterName_ pPRegion_ pPProjectId_ =-  ProjectsRegionsClustersDiagnose'-    { _pXgafv = Nothing-    , _pUploadProtocol = Nothing-    , _pAccessToken = Nothing-    , _pUploadType = Nothing-    , _pPayload = pPPayload_-    , _pClusterName = pPClusterName_-    , _pRegion = pPRegion_-    , _pProjectId = pPProjectId_-    , _pCallback = Nothing-    }----- | V1 error format.-pXgafv :: Lens' ProjectsRegionsClustersDiagnose (Maybe Xgafv)-pXgafv = lens _pXgafv (\ s a -> s{_pXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-pUploadProtocol :: Lens' ProjectsRegionsClustersDiagnose (Maybe Text)-pUploadProtocol-  = lens _pUploadProtocol-      (\ s a -> s{_pUploadProtocol = a})---- | OAuth access token.-pAccessToken :: Lens' ProjectsRegionsClustersDiagnose (Maybe Text)-pAccessToken-  = lens _pAccessToken (\ s a -> s{_pAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-pUploadType :: Lens' ProjectsRegionsClustersDiagnose (Maybe Text)-pUploadType-  = lens _pUploadType (\ s a -> s{_pUploadType = a})---- | Multipart request metadata.-pPayload :: Lens' ProjectsRegionsClustersDiagnose DiagnoseClusterRequest-pPayload = lens _pPayload (\ s a -> s{_pPayload = a})---- | Required. The cluster name.-pClusterName :: Lens' ProjectsRegionsClustersDiagnose Text-pClusterName-  = lens _pClusterName (\ s a -> s{_pClusterName = a})---- | Required. The Cloud Dataproc region in which to handle the request.-pRegion :: Lens' ProjectsRegionsClustersDiagnose Text-pRegion = lens _pRegion (\ s a -> s{_pRegion = a})---- | Required. The ID of the Google Cloud Platform project that the cluster--- belongs to.-pProjectId :: Lens' ProjectsRegionsClustersDiagnose Text-pProjectId-  = lens _pProjectId (\ s a -> s{_pProjectId = a})---- | JSONP-pCallback :: Lens' ProjectsRegionsClustersDiagnose (Maybe Text)-pCallback-  = lens _pCallback (\ s a -> s{_pCallback = a})--instance GoogleRequest-           ProjectsRegionsClustersDiagnose-         where-        type Rs ProjectsRegionsClustersDiagnose = Operation-        type Scopes ProjectsRegionsClustersDiagnose =-             '["https://www.googleapis.com/auth/cloud-platform"]-        requestClient ProjectsRegionsClustersDiagnose'{..}-          = go _pProjectId _pRegion _pClusterName _pXgafv-              _pUploadProtocol-              _pAccessToken-              _pUploadType-              _pCallback-              (Just AltJSON)-              _pPayload-              dataprocService-          where go-                  = buildClient-                      (Proxy ::-                         Proxy ProjectsRegionsClustersDiagnoseResource)-                      mempty
− gen/Network/Google/Resource/Dataproc/Projects/Regions/Clusters/Get.hs
@@ -1,183 +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.Dataproc.Projects.Regions.Clusters.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 resource representation for a cluster in a project.------ /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.clusters.get@.-module Network.Google.Resource.Dataproc.Projects.Regions.Clusters.Get-    (-    -- * REST Resource-      ProjectsRegionsClustersGetResource--    -- * Creating a Request-    , projectsRegionsClustersGet-    , ProjectsRegionsClustersGet--    -- * Request Lenses-    , prcgXgafv-    , prcgUploadProtocol-    , prcgAccessToken-    , prcgUploadType-    , prcgClusterName-    , prcgRegion-    , prcgProjectId-    , prcgCallback-    ) where--import           Network.Google.Dataproc.Types-import           Network.Google.Prelude---- | A resource alias for @dataproc.projects.regions.clusters.get@ method which the--- 'ProjectsRegionsClustersGet' request conforms to.-type ProjectsRegionsClustersGetResource =-     "v1" :>-       "projects" :>-         Capture "projectId" Text :>-           "regions" :>-             Capture "region" Text :>-               "clusters" :>-                 Capture "clusterName" Text :>-                   QueryParam "$.xgafv" Xgafv :>-                     QueryParam "upload_protocol" Text :>-                       QueryParam "access_token" Text :>-                         QueryParam "uploadType" Text :>-                           QueryParam "callback" Text :>-                             QueryParam "alt" AltJSON :> Get '[JSON] Cluster---- | Gets the resource representation for a cluster in a project.------ /See:/ 'projectsRegionsClustersGet' smart constructor.-data ProjectsRegionsClustersGet =-  ProjectsRegionsClustersGet'-    { _prcgXgafv          :: !(Maybe Xgafv)-    , _prcgUploadProtocol :: !(Maybe Text)-    , _prcgAccessToken    :: !(Maybe Text)-    , _prcgUploadType     :: !(Maybe Text)-    , _prcgClusterName    :: !Text-    , _prcgRegion         :: !Text-    , _prcgProjectId      :: !Text-    , _prcgCallback       :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsRegionsClustersGet' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'prcgXgafv'------ * 'prcgUploadProtocol'------ * 'prcgAccessToken'------ * 'prcgUploadType'------ * 'prcgClusterName'------ * 'prcgRegion'------ * 'prcgProjectId'------ * 'prcgCallback'-projectsRegionsClustersGet-    :: Text -- ^ 'prcgClusterName'-    -> Text -- ^ 'prcgRegion'-    -> Text -- ^ 'prcgProjectId'-    -> ProjectsRegionsClustersGet-projectsRegionsClustersGet pPrcgClusterName_ pPrcgRegion_ pPrcgProjectId_ =-  ProjectsRegionsClustersGet'-    { _prcgXgafv = Nothing-    , _prcgUploadProtocol = Nothing-    , _prcgAccessToken = Nothing-    , _prcgUploadType = Nothing-    , _prcgClusterName = pPrcgClusterName_-    , _prcgRegion = pPrcgRegion_-    , _prcgProjectId = pPrcgProjectId_-    , _prcgCallback = Nothing-    }----- | V1 error format.-prcgXgafv :: Lens' ProjectsRegionsClustersGet (Maybe Xgafv)-prcgXgafv-  = lens _prcgXgafv (\ s a -> s{_prcgXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-prcgUploadProtocol :: Lens' ProjectsRegionsClustersGet (Maybe Text)-prcgUploadProtocol-  = lens _prcgUploadProtocol-      (\ s a -> s{_prcgUploadProtocol = a})---- | OAuth access token.-prcgAccessToken :: Lens' ProjectsRegionsClustersGet (Maybe Text)-prcgAccessToken-  = lens _prcgAccessToken-      (\ s a -> s{_prcgAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-prcgUploadType :: Lens' ProjectsRegionsClustersGet (Maybe Text)-prcgUploadType-  = lens _prcgUploadType-      (\ s a -> s{_prcgUploadType = a})---- | Required. The cluster name.-prcgClusterName :: Lens' ProjectsRegionsClustersGet Text-prcgClusterName-  = lens _prcgClusterName-      (\ s a -> s{_prcgClusterName = a})---- | Required. The Cloud Dataproc region in which to handle the request.-prcgRegion :: Lens' ProjectsRegionsClustersGet Text-prcgRegion-  = lens _prcgRegion (\ s a -> s{_prcgRegion = a})---- | Required. The ID of the Google Cloud Platform project that the cluster--- belongs to.-prcgProjectId :: Lens' ProjectsRegionsClustersGet Text-prcgProjectId-  = lens _prcgProjectId-      (\ s a -> s{_prcgProjectId = a})---- | JSONP-prcgCallback :: Lens' ProjectsRegionsClustersGet (Maybe Text)-prcgCallback-  = lens _prcgCallback (\ s a -> s{_prcgCallback = a})--instance GoogleRequest ProjectsRegionsClustersGet-         where-        type Rs ProjectsRegionsClustersGet = Cluster-        type Scopes ProjectsRegionsClustersGet =-             '["https://www.googleapis.com/auth/cloud-platform"]-        requestClient ProjectsRegionsClustersGet'{..}-          = go _prcgProjectId _prcgRegion _prcgClusterName-              _prcgXgafv-              _prcgUploadProtocol-              _prcgAccessToken-              _prcgUploadType-              _prcgCallback-              (Just AltJSON)-              dataprocService-          where go-                  = buildClient-                      (Proxy :: Proxy ProjectsRegionsClustersGetResource)-                      mempty
− gen/Network/Google/Resource/Dataproc/Projects/Regions/Clusters/GetIAMPolicy.hs
@@ -1,175 +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.Dataproc.Projects.Regions.Clusters.GetIAMPolicy--- 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 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/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.clusters.getIamPolicy@.-module Network.Google.Resource.Dataproc.Projects.Regions.Clusters.GetIAMPolicy-    (-    -- * REST Resource-      ProjectsRegionsClustersGetIAMPolicyResource--    -- * Creating a Request-    , projectsRegionsClustersGetIAMPolicy-    , ProjectsRegionsClustersGetIAMPolicy--    -- * Request Lenses-    , prcgipXgafv-    , prcgipUploadProtocol-    , prcgipAccessToken-    , prcgipUploadType-    , prcgipPayload-    , prcgipResource-    , prcgipCallback-    ) where--import           Network.Google.Dataproc.Types-import           Network.Google.Prelude---- | A resource alias for @dataproc.projects.regions.clusters.getIamPolicy@ method which the--- 'ProjectsRegionsClustersGetIAMPolicy' request conforms to.-type ProjectsRegionsClustersGetIAMPolicyResource =-     "v1" :>-       CaptureMode "resource" "getIamPolicy" Text :>-         QueryParam "$.xgafv" Xgafv :>-           QueryParam "upload_protocol" Text :>-             QueryParam "access_token" Text :>-               QueryParam "uploadType" Text :>-                 QueryParam "callback" Text :>-                   QueryParam "alt" AltJSON :>-                     ReqBody '[JSON] GetIAMPolicyRequest :>-                       Post '[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:/ 'projectsRegionsClustersGetIAMPolicy' smart constructor.-data ProjectsRegionsClustersGetIAMPolicy =-  ProjectsRegionsClustersGetIAMPolicy'-    { _prcgipXgafv          :: !(Maybe Xgafv)-    , _prcgipUploadProtocol :: !(Maybe Text)-    , _prcgipAccessToken    :: !(Maybe Text)-    , _prcgipUploadType     :: !(Maybe Text)-    , _prcgipPayload        :: !GetIAMPolicyRequest-    , _prcgipResource       :: !Text-    , _prcgipCallback       :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsRegionsClustersGetIAMPolicy' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'prcgipXgafv'------ * 'prcgipUploadProtocol'------ * 'prcgipAccessToken'------ * 'prcgipUploadType'------ * 'prcgipPayload'------ * 'prcgipResource'------ * 'prcgipCallback'-projectsRegionsClustersGetIAMPolicy-    :: GetIAMPolicyRequest -- ^ 'prcgipPayload'-    -> Text -- ^ 'prcgipResource'-    -> ProjectsRegionsClustersGetIAMPolicy-projectsRegionsClustersGetIAMPolicy pPrcgipPayload_ pPrcgipResource_ =-  ProjectsRegionsClustersGetIAMPolicy'-    { _prcgipXgafv = Nothing-    , _prcgipUploadProtocol = Nothing-    , _prcgipAccessToken = Nothing-    , _prcgipUploadType = Nothing-    , _prcgipPayload = pPrcgipPayload_-    , _prcgipResource = pPrcgipResource_-    , _prcgipCallback = Nothing-    }----- | V1 error format.-prcgipXgafv :: Lens' ProjectsRegionsClustersGetIAMPolicy (Maybe Xgafv)-prcgipXgafv-  = lens _prcgipXgafv (\ s a -> s{_prcgipXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-prcgipUploadProtocol :: Lens' ProjectsRegionsClustersGetIAMPolicy (Maybe Text)-prcgipUploadProtocol-  = lens _prcgipUploadProtocol-      (\ s a -> s{_prcgipUploadProtocol = a})---- | OAuth access token.-prcgipAccessToken :: Lens' ProjectsRegionsClustersGetIAMPolicy (Maybe Text)-prcgipAccessToken-  = lens _prcgipAccessToken-      (\ s a -> s{_prcgipAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-prcgipUploadType :: Lens' ProjectsRegionsClustersGetIAMPolicy (Maybe Text)-prcgipUploadType-  = lens _prcgipUploadType-      (\ s a -> s{_prcgipUploadType = a})---- | Multipart request metadata.-prcgipPayload :: Lens' ProjectsRegionsClustersGetIAMPolicy GetIAMPolicyRequest-prcgipPayload-  = lens _prcgipPayload-      (\ s a -> s{_prcgipPayload = a})---- | REQUIRED: The resource for which the policy is being requested. See the--- operation documentation for the appropriate value for this field.-prcgipResource :: Lens' ProjectsRegionsClustersGetIAMPolicy Text-prcgipResource-  = lens _prcgipResource-      (\ s a -> s{_prcgipResource = a})---- | JSONP-prcgipCallback :: Lens' ProjectsRegionsClustersGetIAMPolicy (Maybe Text)-prcgipCallback-  = lens _prcgipCallback-      (\ s a -> s{_prcgipCallback = a})--instance GoogleRequest-           ProjectsRegionsClustersGetIAMPolicy-         where-        type Rs ProjectsRegionsClustersGetIAMPolicy = Policy-        type Scopes ProjectsRegionsClustersGetIAMPolicy =-             '["https://www.googleapis.com/auth/cloud-platform"]-        requestClient-          ProjectsRegionsClustersGetIAMPolicy'{..}-          = go _prcgipResource _prcgipXgafv-              _prcgipUploadProtocol-              _prcgipAccessToken-              _prcgipUploadType-              _prcgipCallback-              (Just AltJSON)-              _prcgipPayload-              dataprocService-          where go-                  = buildClient-                      (Proxy ::-                         Proxy ProjectsRegionsClustersGetIAMPolicyResource)-                      mempty
− gen/Network/Google/Resource/Dataproc/Projects/Regions/Clusters/List.hs
@@ -1,220 +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.Dataproc.Projects.Regions.Clusters.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 regions\/{region}\/clusters in a project.------ /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.clusters.list@.-module Network.Google.Resource.Dataproc.Projects.Regions.Clusters.List-    (-    -- * REST Resource-      ProjectsRegionsClustersListResource--    -- * Creating a Request-    , projectsRegionsClustersList-    , ProjectsRegionsClustersList--    -- * Request Lenses-    , prclXgafv-    , prclUploadProtocol-    , prclAccessToken-    , prclUploadType-    , prclFilter-    , prclRegion-    , prclPageToken-    , prclProjectId-    , prclPageSize-    , prclCallback-    ) where--import           Network.Google.Dataproc.Types-import           Network.Google.Prelude---- | A resource alias for @dataproc.projects.regions.clusters.list@ method which the--- 'ProjectsRegionsClustersList' request conforms to.-type ProjectsRegionsClustersListResource =-     "v1" :>-       "projects" :>-         Capture "projectId" Text :>-           "regions" :>-             Capture "region" Text :>-               "clusters" :>-                 QueryParam "$.xgafv" Xgafv :>-                   QueryParam "upload_protocol" Text :>-                     QueryParam "access_token" Text :>-                       QueryParam "uploadType" Text :>-                         QueryParam "filter" Text :>-                           QueryParam "pageToken" Text :>-                             QueryParam "pageSize" (Textual Int32) :>-                               QueryParam "callback" Text :>-                                 QueryParam "alt" AltJSON :>-                                   Get '[JSON] ListClustersResponse---- | Lists all regions\/{region}\/clusters in a project.------ /See:/ 'projectsRegionsClustersList' smart constructor.-data ProjectsRegionsClustersList =-  ProjectsRegionsClustersList'-    { _prclXgafv          :: !(Maybe Xgafv)-    , _prclUploadProtocol :: !(Maybe Text)-    , _prclAccessToken    :: !(Maybe Text)-    , _prclUploadType     :: !(Maybe Text)-    , _prclFilter         :: !(Maybe Text)-    , _prclRegion         :: !Text-    , _prclPageToken      :: !(Maybe Text)-    , _prclProjectId      :: !Text-    , _prclPageSize       :: !(Maybe (Textual Int32))-    , _prclCallback       :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsRegionsClustersList' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'prclXgafv'------ * 'prclUploadProtocol'------ * 'prclAccessToken'------ * 'prclUploadType'------ * 'prclFilter'------ * 'prclRegion'------ * 'prclPageToken'------ * 'prclProjectId'------ * 'prclPageSize'------ * 'prclCallback'-projectsRegionsClustersList-    :: Text -- ^ 'prclRegion'-    -> Text -- ^ 'prclProjectId'-    -> ProjectsRegionsClustersList-projectsRegionsClustersList pPrclRegion_ pPrclProjectId_ =-  ProjectsRegionsClustersList'-    { _prclXgafv = Nothing-    , _prclUploadProtocol = Nothing-    , _prclAccessToken = Nothing-    , _prclUploadType = Nothing-    , _prclFilter = Nothing-    , _prclRegion = pPrclRegion_-    , _prclPageToken = Nothing-    , _prclProjectId = pPrclProjectId_-    , _prclPageSize = Nothing-    , _prclCallback = Nothing-    }----- | V1 error format.-prclXgafv :: Lens' ProjectsRegionsClustersList (Maybe Xgafv)-prclXgafv-  = lens _prclXgafv (\ s a -> s{_prclXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-prclUploadProtocol :: Lens' ProjectsRegionsClustersList (Maybe Text)-prclUploadProtocol-  = lens _prclUploadProtocol-      (\ s a -> s{_prclUploadProtocol = a})---- | OAuth access token.-prclAccessToken :: Lens' ProjectsRegionsClustersList (Maybe Text)-prclAccessToken-  = lens _prclAccessToken-      (\ s a -> s{_prclAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-prclUploadType :: Lens' ProjectsRegionsClustersList (Maybe Text)-prclUploadType-  = lens _prclUploadType-      (\ s a -> s{_prclUploadType = a})---- | Optional. A filter constraining the clusters to list. Filters are--- case-sensitive and have the following syntax:field = value AND field =--- value ...where field is one of status.state, clusterName, or--- labels.[KEY], and [KEY] is a label key. value can be * to match all--- values. status.state can be one of the following: ACTIVE, INACTIVE,--- CREATING, RUNNING, ERROR, DELETING, or UPDATING. ACTIVE contains the--- CREATING, UPDATING, and RUNNING states. INACTIVE contains the DELETING--- and ERROR states. clusterName is the name of the cluster provided at--- creation time. Only the logical AND operator is supported;--- space-separated items are treated as having an implicit AND--- operator.Example filter:status.state = ACTIVE AND clusterName =--- mycluster AND labels.env = staging AND labels.starred = *-prclFilter :: Lens' ProjectsRegionsClustersList (Maybe Text)-prclFilter-  = lens _prclFilter (\ s a -> s{_prclFilter = a})---- | Required. The Cloud Dataproc region in which to handle the request.-prclRegion :: Lens' ProjectsRegionsClustersList Text-prclRegion-  = lens _prclRegion (\ s a -> s{_prclRegion = a})---- | Optional. The standard List page token.-prclPageToken :: Lens' ProjectsRegionsClustersList (Maybe Text)-prclPageToken-  = lens _prclPageToken-      (\ s a -> s{_prclPageToken = a})---- | Required. The ID of the Google Cloud Platform project that the cluster--- belongs to.-prclProjectId :: Lens' ProjectsRegionsClustersList Text-prclProjectId-  = lens _prclProjectId-      (\ s a -> s{_prclProjectId = a})---- | Optional. The standard List page size.-prclPageSize :: Lens' ProjectsRegionsClustersList (Maybe Int32)-prclPageSize-  = lens _prclPageSize (\ s a -> s{_prclPageSize = a})-      . mapping _Coerce---- | JSONP-prclCallback :: Lens' ProjectsRegionsClustersList (Maybe Text)-prclCallback-  = lens _prclCallback (\ s a -> s{_prclCallback = a})--instance GoogleRequest ProjectsRegionsClustersList-         where-        type Rs ProjectsRegionsClustersList =-             ListClustersResponse-        type Scopes ProjectsRegionsClustersList =-             '["https://www.googleapis.com/auth/cloud-platform"]-        requestClient ProjectsRegionsClustersList'{..}-          = go _prclProjectId _prclRegion _prclXgafv-              _prclUploadProtocol-              _prclAccessToken-              _prclUploadType-              _prclFilter-              _prclPageToken-              _prclPageSize-              _prclCallback-              (Just AltJSON)-              dataprocService-          where go-                  = buildClient-                      (Proxy :: Proxy ProjectsRegionsClustersListResource)-                      mempty
− gen/Network/Google/Resource/Dataproc/Projects/Regions/Clusters/Patch.hs
@@ -1,273 +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.Dataproc.Projects.Regions.Clusters.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 a cluster in a project.------ /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.clusters.patch@.-module Network.Google.Resource.Dataproc.Projects.Regions.Clusters.Patch-    (-    -- * REST Resource-      ProjectsRegionsClustersPatchResource--    -- * Creating a Request-    , projectsRegionsClustersPatch-    , ProjectsRegionsClustersPatch--    -- * Request Lenses-    , prcpXgafv-    , prcpRequestId-    , prcpUploadProtocol-    , prcpUpdateMask-    , prcpAccessToken-    , prcpUploadType-    , prcpPayload-    , prcpGracefulDecommissionTimeout-    , prcpClusterName-    , prcpRegion-    , prcpProjectId-    , prcpCallback-    ) where--import           Network.Google.Dataproc.Types-import           Network.Google.Prelude---- | A resource alias for @dataproc.projects.regions.clusters.patch@ method which the--- 'ProjectsRegionsClustersPatch' request conforms to.-type ProjectsRegionsClustersPatchResource =-     "v1" :>-       "projects" :>-         Capture "projectId" Text :>-           "regions" :>-             Capture "region" Text :>-               "clusters" :>-                 Capture "clusterName" Text :>-                   QueryParam "$.xgafv" Xgafv :>-                     QueryParam "requestId" Text :>-                       QueryParam "upload_protocol" Text :>-                         QueryParam "updateMask" GFieldMask :>-                           QueryParam "access_token" Text :>-                             QueryParam "uploadType" Text :>-                               QueryParam "gracefulDecommissionTimeout"-                                 GDuration-                                 :>-                                 QueryParam "callback" Text :>-                                   QueryParam "alt" AltJSON :>-                                     ReqBody '[JSON] Cluster :>-                                       Patch '[JSON] Operation---- | Updates a cluster in a project.------ /See:/ 'projectsRegionsClustersPatch' smart constructor.-data ProjectsRegionsClustersPatch =-  ProjectsRegionsClustersPatch'-    { _prcpXgafv                       :: !(Maybe Xgafv)-    , _prcpRequestId                   :: !(Maybe Text)-    , _prcpUploadProtocol              :: !(Maybe Text)-    , _prcpUpdateMask                  :: !(Maybe GFieldMask)-    , _prcpAccessToken                 :: !(Maybe Text)-    , _prcpUploadType                  :: !(Maybe Text)-    , _prcpPayload                     :: !Cluster-    , _prcpGracefulDecommissionTimeout :: !(Maybe GDuration)-    , _prcpClusterName                 :: !Text-    , _prcpRegion                      :: !Text-    , _prcpProjectId                   :: !Text-    , _prcpCallback                    :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsRegionsClustersPatch' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'prcpXgafv'------ * 'prcpRequestId'------ * 'prcpUploadProtocol'------ * 'prcpUpdateMask'------ * 'prcpAccessToken'------ * 'prcpUploadType'------ * 'prcpPayload'------ * 'prcpGracefulDecommissionTimeout'------ * 'prcpClusterName'------ * 'prcpRegion'------ * 'prcpProjectId'------ * 'prcpCallback'-projectsRegionsClustersPatch-    :: Cluster -- ^ 'prcpPayload'-    -> Text -- ^ 'prcpClusterName'-    -> Text -- ^ 'prcpRegion'-    -> Text -- ^ 'prcpProjectId'-    -> ProjectsRegionsClustersPatch-projectsRegionsClustersPatch pPrcpPayload_ pPrcpClusterName_ pPrcpRegion_ pPrcpProjectId_ =-  ProjectsRegionsClustersPatch'-    { _prcpXgafv = Nothing-    , _prcpRequestId = Nothing-    , _prcpUploadProtocol = Nothing-    , _prcpUpdateMask = Nothing-    , _prcpAccessToken = Nothing-    , _prcpUploadType = Nothing-    , _prcpPayload = pPrcpPayload_-    , _prcpGracefulDecommissionTimeout = Nothing-    , _prcpClusterName = pPrcpClusterName_-    , _prcpRegion = pPrcpRegion_-    , _prcpProjectId = pPrcpProjectId_-    , _prcpCallback = Nothing-    }----- | V1 error format.-prcpXgafv :: Lens' ProjectsRegionsClustersPatch (Maybe Xgafv)-prcpXgafv-  = lens _prcpXgafv (\ s a -> s{_prcpXgafv = a})---- | Optional. A unique id used to identify the request. If the server--- receives two UpdateClusterRequest requests with the same id, then the--- second request will be ignored and the first--- google.longrunning.Operation created and stored in the backend is--- returned.It is recommended to always set this value to a UUID--- (https:\/\/en.wikipedia.org\/wiki\/Universally_unique_identifier).The id--- must contain only letters (a-z, A-Z), numbers (0-9), underscores (_),--- and hyphens (-). The maximum length is 40 characters.-prcpRequestId :: Lens' ProjectsRegionsClustersPatch (Maybe Text)-prcpRequestId-  = lens _prcpRequestId-      (\ s a -> s{_prcpRequestId = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-prcpUploadProtocol :: Lens' ProjectsRegionsClustersPatch (Maybe Text)-prcpUploadProtocol-  = lens _prcpUploadProtocol-      (\ s a -> s{_prcpUploadProtocol = a})---- | Required. Specifies the path, relative to Cluster, of the field to--- update. For example, to change the number of workers in a cluster to 5,--- the update_mask parameter would be specified as--- config.worker_config.num_instances, and the PATCH request body would--- specify the new value, as follows: { \"config\":{ \"workerConfig\":{--- \"numInstances\":\"5\" } } } Similarly, to change the number of--- preemptible workers in a cluster to 5, the update_mask parameter would--- be config.secondary_worker_config.num_instances, and the PATCH request--- body would be set as follows: { \"config\":{ \"secondaryWorkerConfig\":{--- \"numInstances\":\"5\" } } } __Note:__ Currently, only the following--- fields can be updated:--- > +-----------------------------------+-----------------------------------+--- > | __Mask__                          | __Purpose__                       |--- > +-----------------------------------+-----------------------------------+--- > | __/labels/__                      | Update labels                     |--- > +-----------------------------------+-----------------------------------+--- > | __/config.worker_config.num_insta | Resize primary worker group       |--- > | nces/__                           |                                   |--- > +-----------------------------------+-----------------------------------+--- > | __/config.secondary_worker_config | Resize secondary worker group     |--- > | .num_instances/__                 |                                   |--- > +-----------------------------------+-----------------------------------+-prcpUpdateMask :: Lens' ProjectsRegionsClustersPatch (Maybe GFieldMask)-prcpUpdateMask-  = lens _prcpUpdateMask-      (\ s a -> s{_prcpUpdateMask = a})---- | OAuth access token.-prcpAccessToken :: Lens' ProjectsRegionsClustersPatch (Maybe Text)-prcpAccessToken-  = lens _prcpAccessToken-      (\ s a -> s{_prcpAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-prcpUploadType :: Lens' ProjectsRegionsClustersPatch (Maybe Text)-prcpUploadType-  = lens _prcpUploadType-      (\ s a -> s{_prcpUploadType = a})---- | Multipart request metadata.-prcpPayload :: Lens' ProjectsRegionsClustersPatch Cluster-prcpPayload-  = lens _prcpPayload (\ s a -> s{_prcpPayload = a})---- | Optional. Timeout for graceful YARN decomissioning. Graceful--- decommissioning allows removing nodes from the cluster without--- interrupting jobs in progress. Timeout specifies how long to wait for--- jobs in progress to finish before forcefully removing nodes (and--- potentially interrupting jobs). Default timeout is 0 (for forceful--- decommission), and the maximum allowed timeout is 1 day.Only supported--- on Dataproc image versions 1.2 and higher.-prcpGracefulDecommissionTimeout :: Lens' ProjectsRegionsClustersPatch (Maybe Scientific)-prcpGracefulDecommissionTimeout-  = lens _prcpGracefulDecommissionTimeout-      (\ s a -> s{_prcpGracefulDecommissionTimeout = a})-      . mapping _GDuration---- | Required. The cluster name.-prcpClusterName :: Lens' ProjectsRegionsClustersPatch Text-prcpClusterName-  = lens _prcpClusterName-      (\ s a -> s{_prcpClusterName = a})---- | Required. The Cloud Dataproc region in which to handle the request.-prcpRegion :: Lens' ProjectsRegionsClustersPatch Text-prcpRegion-  = lens _prcpRegion (\ s a -> s{_prcpRegion = a})---- | Required. The ID of the Google Cloud Platform project the cluster--- belongs to.-prcpProjectId :: Lens' ProjectsRegionsClustersPatch Text-prcpProjectId-  = lens _prcpProjectId-      (\ s a -> s{_prcpProjectId = a})---- | JSONP-prcpCallback :: Lens' ProjectsRegionsClustersPatch (Maybe Text)-prcpCallback-  = lens _prcpCallback (\ s a -> s{_prcpCallback = a})--instance GoogleRequest ProjectsRegionsClustersPatch-         where-        type Rs ProjectsRegionsClustersPatch = Operation-        type Scopes ProjectsRegionsClustersPatch =-             '["https://www.googleapis.com/auth/cloud-platform"]-        requestClient ProjectsRegionsClustersPatch'{..}-          = go _prcpProjectId _prcpRegion _prcpClusterName-              _prcpXgafv-              _prcpRequestId-              _prcpUploadProtocol-              _prcpUpdateMask-              _prcpAccessToken-              _prcpUploadType-              _prcpGracefulDecommissionTimeout-              _prcpCallback-              (Just AltJSON)-              _prcpPayload-              dataprocService-          where go-                  = buildClient-                      (Proxy :: Proxy ProjectsRegionsClustersPatchResource)-                      mempty
− gen/Network/Google/Resource/Dataproc/Projects/Regions/Clusters/SetIAMPolicy.hs
@@ -1,175 +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.Dataproc.Projects.Regions.Clusters.SetIAMPolicy--- 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)------ Sets the access control policy on the specified resource. Replaces any--- existing policy.------ /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.clusters.setIamPolicy@.-module Network.Google.Resource.Dataproc.Projects.Regions.Clusters.SetIAMPolicy-    (-    -- * REST Resource-      ProjectsRegionsClustersSetIAMPolicyResource--    -- * Creating a Request-    , projectsRegionsClustersSetIAMPolicy-    , ProjectsRegionsClustersSetIAMPolicy--    -- * Request Lenses-    , prcsipXgafv-    , prcsipUploadProtocol-    , prcsipAccessToken-    , prcsipUploadType-    , prcsipPayload-    , prcsipResource-    , prcsipCallback-    ) where--import           Network.Google.Dataproc.Types-import           Network.Google.Prelude---- | A resource alias for @dataproc.projects.regions.clusters.setIamPolicy@ method which the--- 'ProjectsRegionsClustersSetIAMPolicy' request conforms to.-type ProjectsRegionsClustersSetIAMPolicyResource =-     "v1" :>-       CaptureMode "resource" "setIamPolicy" Text :>-         QueryParam "$.xgafv" Xgafv :>-           QueryParam "upload_protocol" Text :>-             QueryParam "access_token" Text :>-               QueryParam "uploadType" Text :>-                 QueryParam "callback" Text :>-                   QueryParam "alt" AltJSON :>-                     ReqBody '[JSON] SetIAMPolicyRequest :>-                       Post '[JSON] Policy---- | Sets the access control policy on the specified resource. Replaces any--- existing policy.------ /See:/ 'projectsRegionsClustersSetIAMPolicy' smart constructor.-data ProjectsRegionsClustersSetIAMPolicy =-  ProjectsRegionsClustersSetIAMPolicy'-    { _prcsipXgafv          :: !(Maybe Xgafv)-    , _prcsipUploadProtocol :: !(Maybe Text)-    , _prcsipAccessToken    :: !(Maybe Text)-    , _prcsipUploadType     :: !(Maybe Text)-    , _prcsipPayload        :: !SetIAMPolicyRequest-    , _prcsipResource       :: !Text-    , _prcsipCallback       :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsRegionsClustersSetIAMPolicy' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'prcsipXgafv'------ * 'prcsipUploadProtocol'------ * 'prcsipAccessToken'------ * 'prcsipUploadType'------ * 'prcsipPayload'------ * 'prcsipResource'------ * 'prcsipCallback'-projectsRegionsClustersSetIAMPolicy-    :: SetIAMPolicyRequest -- ^ 'prcsipPayload'-    -> Text -- ^ 'prcsipResource'-    -> ProjectsRegionsClustersSetIAMPolicy-projectsRegionsClustersSetIAMPolicy pPrcsipPayload_ pPrcsipResource_ =-  ProjectsRegionsClustersSetIAMPolicy'-    { _prcsipXgafv = Nothing-    , _prcsipUploadProtocol = Nothing-    , _prcsipAccessToken = Nothing-    , _prcsipUploadType = Nothing-    , _prcsipPayload = pPrcsipPayload_-    , _prcsipResource = pPrcsipResource_-    , _prcsipCallback = Nothing-    }----- | V1 error format.-prcsipXgafv :: Lens' ProjectsRegionsClustersSetIAMPolicy (Maybe Xgafv)-prcsipXgafv-  = lens _prcsipXgafv (\ s a -> s{_prcsipXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-prcsipUploadProtocol :: Lens' ProjectsRegionsClustersSetIAMPolicy (Maybe Text)-prcsipUploadProtocol-  = lens _prcsipUploadProtocol-      (\ s a -> s{_prcsipUploadProtocol = a})---- | OAuth access token.-prcsipAccessToken :: Lens' ProjectsRegionsClustersSetIAMPolicy (Maybe Text)-prcsipAccessToken-  = lens _prcsipAccessToken-      (\ s a -> s{_prcsipAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-prcsipUploadType :: Lens' ProjectsRegionsClustersSetIAMPolicy (Maybe Text)-prcsipUploadType-  = lens _prcsipUploadType-      (\ s a -> s{_prcsipUploadType = a})---- | Multipart request metadata.-prcsipPayload :: Lens' ProjectsRegionsClustersSetIAMPolicy SetIAMPolicyRequest-prcsipPayload-  = lens _prcsipPayload-      (\ s a -> s{_prcsipPayload = a})---- | REQUIRED: The resource for which the policy is being specified. See the--- operation documentation for the appropriate value for this field.-prcsipResource :: Lens' ProjectsRegionsClustersSetIAMPolicy Text-prcsipResource-  = lens _prcsipResource-      (\ s a -> s{_prcsipResource = a})---- | JSONP-prcsipCallback :: Lens' ProjectsRegionsClustersSetIAMPolicy (Maybe Text)-prcsipCallback-  = lens _prcsipCallback-      (\ s a -> s{_prcsipCallback = a})--instance GoogleRequest-           ProjectsRegionsClustersSetIAMPolicy-         where-        type Rs ProjectsRegionsClustersSetIAMPolicy = Policy-        type Scopes ProjectsRegionsClustersSetIAMPolicy =-             '["https://www.googleapis.com/auth/cloud-platform"]-        requestClient-          ProjectsRegionsClustersSetIAMPolicy'{..}-          = go _prcsipResource _prcsipXgafv-              _prcsipUploadProtocol-              _prcsipAccessToken-              _prcsipUploadType-              _prcsipCallback-              (Just AltJSON)-              _prcsipPayload-              dataprocService-          where go-                  = buildClient-                      (Proxy ::-                         Proxy ProjectsRegionsClustersSetIAMPolicyResource)-                      mempty
− gen/Network/Google/Resource/Dataproc/Projects/Regions/Clusters/TestIAMPermissions.hs
@@ -1,187 +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.Dataproc.Projects.Regions.Clusters.TestIAMPermissions--- 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 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/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.clusters.testIamPermissions@.-module Network.Google.Resource.Dataproc.Projects.Regions.Clusters.TestIAMPermissions-    (-    -- * REST Resource-      ProjectsRegionsClustersTestIAMPermissionsResource--    -- * Creating a Request-    , projectsRegionsClustersTestIAMPermissions-    , ProjectsRegionsClustersTestIAMPermissions--    -- * Request Lenses-    , prctipXgafv-    , prctipUploadProtocol-    , prctipAccessToken-    , prctipUploadType-    , prctipPayload-    , prctipResource-    , prctipCallback-    ) where--import           Network.Google.Dataproc.Types-import           Network.Google.Prelude---- | A resource alias for @dataproc.projects.regions.clusters.testIamPermissions@ method which the--- 'ProjectsRegionsClustersTestIAMPermissions' request conforms to.-type ProjectsRegionsClustersTestIAMPermissionsResource-     =-     "v1" :>-       CaptureMode "resource" "testIamPermissions" Text :>-         QueryParam "$.xgafv" Xgafv :>-           QueryParam "upload_protocol" Text :>-             QueryParam "access_token" Text :>-               QueryParam "uploadType" Text :>-                 QueryParam "callback" Text :>-                   QueryParam "alt" AltJSON :>-                     ReqBody '[JSON] TestIAMPermissionsRequest :>-                       Post '[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:/ 'projectsRegionsClustersTestIAMPermissions' smart constructor.-data ProjectsRegionsClustersTestIAMPermissions =-  ProjectsRegionsClustersTestIAMPermissions'-    { _prctipXgafv          :: !(Maybe Xgafv)-    , _prctipUploadProtocol :: !(Maybe Text)-    , _prctipAccessToken    :: !(Maybe Text)-    , _prctipUploadType     :: !(Maybe Text)-    , _prctipPayload        :: !TestIAMPermissionsRequest-    , _prctipResource       :: !Text-    , _prctipCallback       :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsRegionsClustersTestIAMPermissions' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'prctipXgafv'------ * 'prctipUploadProtocol'------ * 'prctipAccessToken'------ * 'prctipUploadType'------ * 'prctipPayload'------ * 'prctipResource'------ * 'prctipCallback'-projectsRegionsClustersTestIAMPermissions-    :: TestIAMPermissionsRequest -- ^ 'prctipPayload'-    -> Text -- ^ 'prctipResource'-    -> ProjectsRegionsClustersTestIAMPermissions-projectsRegionsClustersTestIAMPermissions pPrctipPayload_ pPrctipResource_ =-  ProjectsRegionsClustersTestIAMPermissions'-    { _prctipXgafv = Nothing-    , _prctipUploadProtocol = Nothing-    , _prctipAccessToken = Nothing-    , _prctipUploadType = Nothing-    , _prctipPayload = pPrctipPayload_-    , _prctipResource = pPrctipResource_-    , _prctipCallback = Nothing-    }----- | V1 error format.-prctipXgafv :: Lens' ProjectsRegionsClustersTestIAMPermissions (Maybe Xgafv)-prctipXgafv-  = lens _prctipXgafv (\ s a -> s{_prctipXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-prctipUploadProtocol :: Lens' ProjectsRegionsClustersTestIAMPermissions (Maybe Text)-prctipUploadProtocol-  = lens _prctipUploadProtocol-      (\ s a -> s{_prctipUploadProtocol = a})---- | OAuth access token.-prctipAccessToken :: Lens' ProjectsRegionsClustersTestIAMPermissions (Maybe Text)-prctipAccessToken-  = lens _prctipAccessToken-      (\ s a -> s{_prctipAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-prctipUploadType :: Lens' ProjectsRegionsClustersTestIAMPermissions (Maybe Text)-prctipUploadType-  = lens _prctipUploadType-      (\ s a -> s{_prctipUploadType = a})---- | Multipart request metadata.-prctipPayload :: Lens' ProjectsRegionsClustersTestIAMPermissions TestIAMPermissionsRequest-prctipPayload-  = lens _prctipPayload-      (\ s a -> s{_prctipPayload = a})---- | REQUIRED: The resource for which the policy detail is being requested.--- See the operation documentation for the appropriate value for this--- field.-prctipResource :: Lens' ProjectsRegionsClustersTestIAMPermissions Text-prctipResource-  = lens _prctipResource-      (\ s a -> s{_prctipResource = a})---- | JSONP-prctipCallback :: Lens' ProjectsRegionsClustersTestIAMPermissions (Maybe Text)-prctipCallback-  = lens _prctipCallback-      (\ s a -> s{_prctipCallback = a})--instance GoogleRequest-           ProjectsRegionsClustersTestIAMPermissions-         where-        type Rs ProjectsRegionsClustersTestIAMPermissions =-             TestIAMPermissionsResponse-        type Scopes ProjectsRegionsClustersTestIAMPermissions-             = '["https://www.googleapis.com/auth/cloud-platform"]-        requestClient-          ProjectsRegionsClustersTestIAMPermissions'{..}-          = go _prctipResource _prctipXgafv-              _prctipUploadProtocol-              _prctipAccessToken-              _prctipUploadType-              _prctipCallback-              (Just AltJSON)-              _prctipPayload-              dataprocService-          where go-                  = buildClient-                      (Proxy ::-                         Proxy-                           ProjectsRegionsClustersTestIAMPermissionsResource)-                      mempty
− gen/Network/Google/Resource/Dataproc/Projects/Regions/Jobs/Cancel.hs
@@ -1,199 +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.Dataproc.Projects.Regions.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)------ Starts a job cancellation request. To access the job resource after--- cancellation, call regions\/{region}\/jobs.list or--- regions\/{region}\/jobs.get.------ /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.jobs.cancel@.-module Network.Google.Resource.Dataproc.Projects.Regions.Jobs.Cancel-    (-    -- * REST Resource-      ProjectsRegionsJobsCancelResource--    -- * Creating a Request-    , projectsRegionsJobsCancel-    , ProjectsRegionsJobsCancel--    -- * Request Lenses-    , prjcXgafv-    , prjcJobId-    , prjcUploadProtocol-    , prjcAccessToken-    , prjcUploadType-    , prjcPayload-    , prjcRegion-    , prjcProjectId-    , prjcCallback-    ) where--import           Network.Google.Dataproc.Types-import           Network.Google.Prelude---- | A resource alias for @dataproc.projects.regions.jobs.cancel@ method which the--- 'ProjectsRegionsJobsCancel' request conforms to.-type ProjectsRegionsJobsCancelResource =-     "v1" :>-       "projects" :>-         Capture "projectId" Text :>-           "regions" :>-             Capture "region" Text :>-               "jobs" :>-                 CaptureMode "jobId" "cancel" Text :>-                   QueryParam "$.xgafv" Xgafv :>-                     QueryParam "upload_protocol" Text :>-                       QueryParam "access_token" Text :>-                         QueryParam "uploadType" Text :>-                           QueryParam "callback" Text :>-                             QueryParam "alt" AltJSON :>-                               ReqBody '[JSON] CancelJobRequest :>-                                 Post '[JSON] Job---- | Starts a job cancellation request. To access the job resource after--- cancellation, call regions\/{region}\/jobs.list or--- regions\/{region}\/jobs.get.------ /See:/ 'projectsRegionsJobsCancel' smart constructor.-data ProjectsRegionsJobsCancel =-  ProjectsRegionsJobsCancel'-    { _prjcXgafv          :: !(Maybe Xgafv)-    , _prjcJobId          :: !Text-    , _prjcUploadProtocol :: !(Maybe Text)-    , _prjcAccessToken    :: !(Maybe Text)-    , _prjcUploadType     :: !(Maybe Text)-    , _prjcPayload        :: !CancelJobRequest-    , _prjcRegion         :: !Text-    , _prjcProjectId      :: !Text-    , _prjcCallback       :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsRegionsJobsCancel' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'prjcXgafv'------ * 'prjcJobId'------ * 'prjcUploadProtocol'------ * 'prjcAccessToken'------ * 'prjcUploadType'------ * 'prjcPayload'------ * 'prjcRegion'------ * 'prjcProjectId'------ * 'prjcCallback'-projectsRegionsJobsCancel-    :: Text -- ^ 'prjcJobId'-    -> CancelJobRequest -- ^ 'prjcPayload'-    -> Text -- ^ 'prjcRegion'-    -> Text -- ^ 'prjcProjectId'-    -> ProjectsRegionsJobsCancel-projectsRegionsJobsCancel pPrjcJobId_ pPrjcPayload_ pPrjcRegion_ pPrjcProjectId_ =-  ProjectsRegionsJobsCancel'-    { _prjcXgafv = Nothing-    , _prjcJobId = pPrjcJobId_-    , _prjcUploadProtocol = Nothing-    , _prjcAccessToken = Nothing-    , _prjcUploadType = Nothing-    , _prjcPayload = pPrjcPayload_-    , _prjcRegion = pPrjcRegion_-    , _prjcProjectId = pPrjcProjectId_-    , _prjcCallback = Nothing-    }----- | V1 error format.-prjcXgafv :: Lens' ProjectsRegionsJobsCancel (Maybe Xgafv)-prjcXgafv-  = lens _prjcXgafv (\ s a -> s{_prjcXgafv = a})---- | Required. The job ID.-prjcJobId :: Lens' ProjectsRegionsJobsCancel Text-prjcJobId-  = lens _prjcJobId (\ s a -> s{_prjcJobId = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-prjcUploadProtocol :: Lens' ProjectsRegionsJobsCancel (Maybe Text)-prjcUploadProtocol-  = lens _prjcUploadProtocol-      (\ s a -> s{_prjcUploadProtocol = a})---- | OAuth access token.-prjcAccessToken :: Lens' ProjectsRegionsJobsCancel (Maybe Text)-prjcAccessToken-  = lens _prjcAccessToken-      (\ s a -> s{_prjcAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-prjcUploadType :: Lens' ProjectsRegionsJobsCancel (Maybe Text)-prjcUploadType-  = lens _prjcUploadType-      (\ s a -> s{_prjcUploadType = a})---- | Multipart request metadata.-prjcPayload :: Lens' ProjectsRegionsJobsCancel CancelJobRequest-prjcPayload-  = lens _prjcPayload (\ s a -> s{_prjcPayload = a})---- | Required. The Cloud Dataproc region in which to handle the request.-prjcRegion :: Lens' ProjectsRegionsJobsCancel Text-prjcRegion-  = lens _prjcRegion (\ s a -> s{_prjcRegion = a})---- | Required. The ID of the Google Cloud Platform project that the job--- belongs to.-prjcProjectId :: Lens' ProjectsRegionsJobsCancel Text-prjcProjectId-  = lens _prjcProjectId-      (\ s a -> s{_prjcProjectId = a})---- | JSONP-prjcCallback :: Lens' ProjectsRegionsJobsCancel (Maybe Text)-prjcCallback-  = lens _prjcCallback (\ s a -> s{_prjcCallback = a})--instance GoogleRequest ProjectsRegionsJobsCancel-         where-        type Rs ProjectsRegionsJobsCancel = Job-        type Scopes ProjectsRegionsJobsCancel =-             '["https://www.googleapis.com/auth/cloud-platform"]-        requestClient ProjectsRegionsJobsCancel'{..}-          = go _prjcProjectId _prjcRegion _prjcJobId _prjcXgafv-              _prjcUploadProtocol-              _prjcAccessToken-              _prjcUploadType-              _prjcCallback-              (Just AltJSON)-              _prjcPayload-              dataprocService-          where go-                  = buildClient-                      (Proxy :: Proxy ProjectsRegionsJobsCancelResource)-                      mempty
− gen/Network/Google/Resource/Dataproc/Projects/Regions/Jobs/Delete.hs
@@ -1,183 +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.Dataproc.Projects.Regions.Jobs.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 job from the project. If the job is active, the delete--- fails, and the response returns FAILED_PRECONDITION.------ /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.jobs.delete@.-module Network.Google.Resource.Dataproc.Projects.Regions.Jobs.Delete-    (-    -- * REST Resource-      ProjectsRegionsJobsDeleteResource--    -- * Creating a Request-    , projectsRegionsJobsDelete-    , ProjectsRegionsJobsDelete--    -- * Request Lenses-    , prjdXgafv-    , prjdJobId-    , prjdUploadProtocol-    , prjdAccessToken-    , prjdUploadType-    , prjdRegion-    , prjdProjectId-    , prjdCallback-    ) where--import           Network.Google.Dataproc.Types-import           Network.Google.Prelude---- | A resource alias for @dataproc.projects.regions.jobs.delete@ method which the--- 'ProjectsRegionsJobsDelete' request conforms to.-type ProjectsRegionsJobsDeleteResource =-     "v1" :>-       "projects" :>-         Capture "projectId" Text :>-           "regions" :>-             Capture "region" Text :>-               "jobs" :>-                 Capture "jobId" Text :>-                   QueryParam "$.xgafv" Xgafv :>-                     QueryParam "upload_protocol" Text :>-                       QueryParam "access_token" Text :>-                         QueryParam "uploadType" Text :>-                           QueryParam "callback" Text :>-                             QueryParam "alt" AltJSON :> Delete '[JSON] Empty---- | Deletes the job from the project. If the job is active, the delete--- fails, and the response returns FAILED_PRECONDITION.------ /See:/ 'projectsRegionsJobsDelete' smart constructor.-data ProjectsRegionsJobsDelete =-  ProjectsRegionsJobsDelete'-    { _prjdXgafv          :: !(Maybe Xgafv)-    , _prjdJobId          :: !Text-    , _prjdUploadProtocol :: !(Maybe Text)-    , _prjdAccessToken    :: !(Maybe Text)-    , _prjdUploadType     :: !(Maybe Text)-    , _prjdRegion         :: !Text-    , _prjdProjectId      :: !Text-    , _prjdCallback       :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsRegionsJobsDelete' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'prjdXgafv'------ * 'prjdJobId'------ * 'prjdUploadProtocol'------ * 'prjdAccessToken'------ * 'prjdUploadType'------ * 'prjdRegion'------ * 'prjdProjectId'------ * 'prjdCallback'-projectsRegionsJobsDelete-    :: Text -- ^ 'prjdJobId'-    -> Text -- ^ 'prjdRegion'-    -> Text -- ^ 'prjdProjectId'-    -> ProjectsRegionsJobsDelete-projectsRegionsJobsDelete pPrjdJobId_ pPrjdRegion_ pPrjdProjectId_ =-  ProjectsRegionsJobsDelete'-    { _prjdXgafv = Nothing-    , _prjdJobId = pPrjdJobId_-    , _prjdUploadProtocol = Nothing-    , _prjdAccessToken = Nothing-    , _prjdUploadType = Nothing-    , _prjdRegion = pPrjdRegion_-    , _prjdProjectId = pPrjdProjectId_-    , _prjdCallback = Nothing-    }----- | V1 error format.-prjdXgafv :: Lens' ProjectsRegionsJobsDelete (Maybe Xgafv)-prjdXgafv-  = lens _prjdXgafv (\ s a -> s{_prjdXgafv = a})---- | Required. The job ID.-prjdJobId :: Lens' ProjectsRegionsJobsDelete Text-prjdJobId-  = lens _prjdJobId (\ s a -> s{_prjdJobId = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-prjdUploadProtocol :: Lens' ProjectsRegionsJobsDelete (Maybe Text)-prjdUploadProtocol-  = lens _prjdUploadProtocol-      (\ s a -> s{_prjdUploadProtocol = a})---- | OAuth access token.-prjdAccessToken :: Lens' ProjectsRegionsJobsDelete (Maybe Text)-prjdAccessToken-  = lens _prjdAccessToken-      (\ s a -> s{_prjdAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-prjdUploadType :: Lens' ProjectsRegionsJobsDelete (Maybe Text)-prjdUploadType-  = lens _prjdUploadType-      (\ s a -> s{_prjdUploadType = a})---- | Required. The Cloud Dataproc region in which to handle the request.-prjdRegion :: Lens' ProjectsRegionsJobsDelete Text-prjdRegion-  = lens _prjdRegion (\ s a -> s{_prjdRegion = a})---- | Required. The ID of the Google Cloud Platform project that the job--- belongs to.-prjdProjectId :: Lens' ProjectsRegionsJobsDelete Text-prjdProjectId-  = lens _prjdProjectId-      (\ s a -> s{_prjdProjectId = a})---- | JSONP-prjdCallback :: Lens' ProjectsRegionsJobsDelete (Maybe Text)-prjdCallback-  = lens _prjdCallback (\ s a -> s{_prjdCallback = a})--instance GoogleRequest ProjectsRegionsJobsDelete-         where-        type Rs ProjectsRegionsJobsDelete = Empty-        type Scopes ProjectsRegionsJobsDelete =-             '["https://www.googleapis.com/auth/cloud-platform"]-        requestClient ProjectsRegionsJobsDelete'{..}-          = go _prjdProjectId _prjdRegion _prjdJobId _prjdXgafv-              _prjdUploadProtocol-              _prjdAccessToken-              _prjdUploadType-              _prjdCallback-              (Just AltJSON)-              dataprocService-          where go-                  = buildClient-                      (Proxy :: Proxy ProjectsRegionsJobsDeleteResource)-                      mempty
− gen/Network/Google/Resource/Dataproc/Projects/Regions/Jobs/Get.hs
@@ -1,180 +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.Dataproc.Projects.Regions.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)------ Gets the resource representation for a job in a project.------ /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.jobs.get@.-module Network.Google.Resource.Dataproc.Projects.Regions.Jobs.Get-    (-    -- * REST Resource-      ProjectsRegionsJobsGetResource--    -- * Creating a Request-    , projectsRegionsJobsGet-    , ProjectsRegionsJobsGet--    -- * Request Lenses-    , prjgXgafv-    , prjgJobId-    , prjgUploadProtocol-    , prjgAccessToken-    , prjgUploadType-    , prjgRegion-    , prjgProjectId-    , prjgCallback-    ) where--import           Network.Google.Dataproc.Types-import           Network.Google.Prelude---- | A resource alias for @dataproc.projects.regions.jobs.get@ method which the--- 'ProjectsRegionsJobsGet' request conforms to.-type ProjectsRegionsJobsGetResource =-     "v1" :>-       "projects" :>-         Capture "projectId" Text :>-           "regions" :>-             Capture "region" Text :>-               "jobs" :>-                 Capture "jobId" Text :>-                   QueryParam "$.xgafv" Xgafv :>-                     QueryParam "upload_protocol" Text :>-                       QueryParam "access_token" Text :>-                         QueryParam "uploadType" Text :>-                           QueryParam "callback" Text :>-                             QueryParam "alt" AltJSON :> Get '[JSON] Job---- | Gets the resource representation for a job in a project.------ /See:/ 'projectsRegionsJobsGet' smart constructor.-data ProjectsRegionsJobsGet =-  ProjectsRegionsJobsGet'-    { _prjgXgafv          :: !(Maybe Xgafv)-    , _prjgJobId          :: !Text-    , _prjgUploadProtocol :: !(Maybe Text)-    , _prjgAccessToken    :: !(Maybe Text)-    , _prjgUploadType     :: !(Maybe Text)-    , _prjgRegion         :: !Text-    , _prjgProjectId      :: !Text-    , _prjgCallback       :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsRegionsJobsGet' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'prjgXgafv'------ * 'prjgJobId'------ * 'prjgUploadProtocol'------ * 'prjgAccessToken'------ * 'prjgUploadType'------ * 'prjgRegion'------ * 'prjgProjectId'------ * 'prjgCallback'-projectsRegionsJobsGet-    :: Text -- ^ 'prjgJobId'-    -> Text -- ^ 'prjgRegion'-    -> Text -- ^ 'prjgProjectId'-    -> ProjectsRegionsJobsGet-projectsRegionsJobsGet pPrjgJobId_ pPrjgRegion_ pPrjgProjectId_ =-  ProjectsRegionsJobsGet'-    { _prjgXgafv = Nothing-    , _prjgJobId = pPrjgJobId_-    , _prjgUploadProtocol = Nothing-    , _prjgAccessToken = Nothing-    , _prjgUploadType = Nothing-    , _prjgRegion = pPrjgRegion_-    , _prjgProjectId = pPrjgProjectId_-    , _prjgCallback = Nothing-    }----- | V1 error format.-prjgXgafv :: Lens' ProjectsRegionsJobsGet (Maybe Xgafv)-prjgXgafv-  = lens _prjgXgafv (\ s a -> s{_prjgXgafv = a})---- | Required. The job ID.-prjgJobId :: Lens' ProjectsRegionsJobsGet Text-prjgJobId-  = lens _prjgJobId (\ s a -> s{_prjgJobId = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-prjgUploadProtocol :: Lens' ProjectsRegionsJobsGet (Maybe Text)-prjgUploadProtocol-  = lens _prjgUploadProtocol-      (\ s a -> s{_prjgUploadProtocol = a})---- | OAuth access token.-prjgAccessToken :: Lens' ProjectsRegionsJobsGet (Maybe Text)-prjgAccessToken-  = lens _prjgAccessToken-      (\ s a -> s{_prjgAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-prjgUploadType :: Lens' ProjectsRegionsJobsGet (Maybe Text)-prjgUploadType-  = lens _prjgUploadType-      (\ s a -> s{_prjgUploadType = a})---- | Required. The Cloud Dataproc region in which to handle the request.-prjgRegion :: Lens' ProjectsRegionsJobsGet Text-prjgRegion-  = lens _prjgRegion (\ s a -> s{_prjgRegion = a})---- | Required. The ID of the Google Cloud Platform project that the job--- belongs to.-prjgProjectId :: Lens' ProjectsRegionsJobsGet Text-prjgProjectId-  = lens _prjgProjectId-      (\ s a -> s{_prjgProjectId = a})---- | JSONP-prjgCallback :: Lens' ProjectsRegionsJobsGet (Maybe Text)-prjgCallback-  = lens _prjgCallback (\ s a -> s{_prjgCallback = a})--instance GoogleRequest ProjectsRegionsJobsGet where-        type Rs ProjectsRegionsJobsGet = Job-        type Scopes ProjectsRegionsJobsGet =-             '["https://www.googleapis.com/auth/cloud-platform"]-        requestClient ProjectsRegionsJobsGet'{..}-          = go _prjgProjectId _prjgRegion _prjgJobId _prjgXgafv-              _prjgUploadProtocol-              _prjgAccessToken-              _prjgUploadType-              _prjgCallback-              (Just AltJSON)-              dataprocService-          where go-                  = buildClient-                      (Proxy :: Proxy ProjectsRegionsJobsGetResource)-                      mempty
− gen/Network/Google/Resource/Dataproc/Projects/Regions/Jobs/GetIAMPolicy.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.Dataproc.Projects.Regions.Jobs.GetIAMPolicy--- 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 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/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.jobs.getIamPolicy@.-module Network.Google.Resource.Dataproc.Projects.Regions.Jobs.GetIAMPolicy-    (-    -- * REST Resource-      ProjectsRegionsJobsGetIAMPolicyResource--    -- * Creating a Request-    , projectsRegionsJobsGetIAMPolicy-    , ProjectsRegionsJobsGetIAMPolicy--    -- * Request Lenses-    , prjgipXgafv-    , prjgipUploadProtocol-    , prjgipAccessToken-    , prjgipUploadType-    , prjgipPayload-    , prjgipResource-    , prjgipCallback-    ) where--import           Network.Google.Dataproc.Types-import           Network.Google.Prelude---- | A resource alias for @dataproc.projects.regions.jobs.getIamPolicy@ method which the--- 'ProjectsRegionsJobsGetIAMPolicy' request conforms to.-type ProjectsRegionsJobsGetIAMPolicyResource =-     "v1" :>-       CaptureMode "resource" "getIamPolicy" Text :>-         QueryParam "$.xgafv" Xgafv :>-           QueryParam "upload_protocol" Text :>-             QueryParam "access_token" Text :>-               QueryParam "uploadType" Text :>-                 QueryParam "callback" Text :>-                   QueryParam "alt" AltJSON :>-                     ReqBody '[JSON] GetIAMPolicyRequest :>-                       Post '[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:/ 'projectsRegionsJobsGetIAMPolicy' smart constructor.-data ProjectsRegionsJobsGetIAMPolicy =-  ProjectsRegionsJobsGetIAMPolicy'-    { _prjgipXgafv          :: !(Maybe Xgafv)-    , _prjgipUploadProtocol :: !(Maybe Text)-    , _prjgipAccessToken    :: !(Maybe Text)-    , _prjgipUploadType     :: !(Maybe Text)-    , _prjgipPayload        :: !GetIAMPolicyRequest-    , _prjgipResource       :: !Text-    , _prjgipCallback       :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsRegionsJobsGetIAMPolicy' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'prjgipXgafv'------ * 'prjgipUploadProtocol'------ * 'prjgipAccessToken'------ * 'prjgipUploadType'------ * 'prjgipPayload'------ * 'prjgipResource'------ * 'prjgipCallback'-projectsRegionsJobsGetIAMPolicy-    :: GetIAMPolicyRequest -- ^ 'prjgipPayload'-    -> Text -- ^ 'prjgipResource'-    -> ProjectsRegionsJobsGetIAMPolicy-projectsRegionsJobsGetIAMPolicy pPrjgipPayload_ pPrjgipResource_ =-  ProjectsRegionsJobsGetIAMPolicy'-    { _prjgipXgafv = Nothing-    , _prjgipUploadProtocol = Nothing-    , _prjgipAccessToken = Nothing-    , _prjgipUploadType = Nothing-    , _prjgipPayload = pPrjgipPayload_-    , _prjgipResource = pPrjgipResource_-    , _prjgipCallback = Nothing-    }----- | V1 error format.-prjgipXgafv :: Lens' ProjectsRegionsJobsGetIAMPolicy (Maybe Xgafv)-prjgipXgafv-  = lens _prjgipXgafv (\ s a -> s{_prjgipXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-prjgipUploadProtocol :: Lens' ProjectsRegionsJobsGetIAMPolicy (Maybe Text)-prjgipUploadProtocol-  = lens _prjgipUploadProtocol-      (\ s a -> s{_prjgipUploadProtocol = a})---- | OAuth access token.-prjgipAccessToken :: Lens' ProjectsRegionsJobsGetIAMPolicy (Maybe Text)-prjgipAccessToken-  = lens _prjgipAccessToken-      (\ s a -> s{_prjgipAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-prjgipUploadType :: Lens' ProjectsRegionsJobsGetIAMPolicy (Maybe Text)-prjgipUploadType-  = lens _prjgipUploadType-      (\ s a -> s{_prjgipUploadType = a})---- | Multipart request metadata.-prjgipPayload :: Lens' ProjectsRegionsJobsGetIAMPolicy GetIAMPolicyRequest-prjgipPayload-  = lens _prjgipPayload-      (\ s a -> s{_prjgipPayload = a})---- | REQUIRED: The resource for which the policy is being requested. See the--- operation documentation for the appropriate value for this field.-prjgipResource :: Lens' ProjectsRegionsJobsGetIAMPolicy Text-prjgipResource-  = lens _prjgipResource-      (\ s a -> s{_prjgipResource = a})---- | JSONP-prjgipCallback :: Lens' ProjectsRegionsJobsGetIAMPolicy (Maybe Text)-prjgipCallback-  = lens _prjgipCallback-      (\ s a -> s{_prjgipCallback = a})--instance GoogleRequest-           ProjectsRegionsJobsGetIAMPolicy-         where-        type Rs ProjectsRegionsJobsGetIAMPolicy = Policy-        type Scopes ProjectsRegionsJobsGetIAMPolicy =-             '["https://www.googleapis.com/auth/cloud-platform"]-        requestClient ProjectsRegionsJobsGetIAMPolicy'{..}-          = go _prjgipResource _prjgipXgafv-              _prjgipUploadProtocol-              _prjgipAccessToken-              _prjgipUploadType-              _prjgipCallback-              (Just AltJSON)-              _prjgipPayload-              dataprocService-          where go-                  = buildClient-                      (Proxy ::-                         Proxy ProjectsRegionsJobsGetIAMPolicyResource)-                      mempty
− gen/Network/Google/Resource/Dataproc/Projects/Regions/Jobs/List.hs
@@ -1,243 +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.Dataproc.Projects.Regions.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 regions\/{region}\/jobs in a project.------ /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.jobs.list@.-module Network.Google.Resource.Dataproc.Projects.Regions.Jobs.List-    (-    -- * REST Resource-      ProjectsRegionsJobsListResource--    -- * Creating a Request-    , projectsRegionsJobsList-    , ProjectsRegionsJobsList--    -- * Request Lenses-    , prjlJobStateMatcher-    , prjlXgafv-    , prjlUploadProtocol-    , prjlAccessToken-    , prjlUploadType-    , prjlClusterName-    , prjlFilter-    , prjlRegion-    , prjlPageToken-    , prjlProjectId-    , prjlPageSize-    , prjlCallback-    ) where--import           Network.Google.Dataproc.Types-import           Network.Google.Prelude---- | A resource alias for @dataproc.projects.regions.jobs.list@ method which the--- 'ProjectsRegionsJobsList' request conforms to.-type ProjectsRegionsJobsListResource =-     "v1" :>-       "projects" :>-         Capture "projectId" Text :>-           "regions" :>-             Capture "region" Text :>-               "jobs" :>-                 QueryParam "jobStateMatcher" Text :>-                   QueryParam "$.xgafv" Xgafv :>-                     QueryParam "upload_protocol" Text :>-                       QueryParam "access_token" Text :>-                         QueryParam "uploadType" Text :>-                           QueryParam "clusterName" Text :>-                             QueryParam "filter" Text :>-                               QueryParam "pageToken" Text :>-                                 QueryParam "pageSize" (Textual Int32) :>-                                   QueryParam "callback" Text :>-                                     QueryParam "alt" AltJSON :>-                                       Get '[JSON] ListJobsResponse---- | Lists regions\/{region}\/jobs in a project.------ /See:/ 'projectsRegionsJobsList' smart constructor.-data ProjectsRegionsJobsList =-  ProjectsRegionsJobsList'-    { _prjlJobStateMatcher :: !(Maybe Text)-    , _prjlXgafv           :: !(Maybe Xgafv)-    , _prjlUploadProtocol  :: !(Maybe Text)-    , _prjlAccessToken     :: !(Maybe Text)-    , _prjlUploadType      :: !(Maybe Text)-    , _prjlClusterName     :: !(Maybe Text)-    , _prjlFilter          :: !(Maybe Text)-    , _prjlRegion          :: !Text-    , _prjlPageToken       :: !(Maybe Text)-    , _prjlProjectId       :: !Text-    , _prjlPageSize        :: !(Maybe (Textual Int32))-    , _prjlCallback        :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsRegionsJobsList' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'prjlJobStateMatcher'------ * 'prjlXgafv'------ * 'prjlUploadProtocol'------ * 'prjlAccessToken'------ * 'prjlUploadType'------ * 'prjlClusterName'------ * 'prjlFilter'------ * 'prjlRegion'------ * 'prjlPageToken'------ * 'prjlProjectId'------ * 'prjlPageSize'------ * 'prjlCallback'-projectsRegionsJobsList-    :: Text -- ^ 'prjlRegion'-    -> Text -- ^ 'prjlProjectId'-    -> ProjectsRegionsJobsList-projectsRegionsJobsList pPrjlRegion_ pPrjlProjectId_ =-  ProjectsRegionsJobsList'-    { _prjlJobStateMatcher = Nothing-    , _prjlXgafv = Nothing-    , _prjlUploadProtocol = Nothing-    , _prjlAccessToken = Nothing-    , _prjlUploadType = Nothing-    , _prjlClusterName = Nothing-    , _prjlFilter = Nothing-    , _prjlRegion = pPrjlRegion_-    , _prjlPageToken = Nothing-    , _prjlProjectId = pPrjlProjectId_-    , _prjlPageSize = Nothing-    , _prjlCallback = Nothing-    }----- | Optional. Specifies enumerated categories of jobs to list. (default =--- match ALL jobs).If filter is provided, jobStateMatcher will be ignored.-prjlJobStateMatcher :: Lens' ProjectsRegionsJobsList (Maybe Text)-prjlJobStateMatcher-  = lens _prjlJobStateMatcher-      (\ s a -> s{_prjlJobStateMatcher = a})---- | V1 error format.-prjlXgafv :: Lens' ProjectsRegionsJobsList (Maybe Xgafv)-prjlXgafv-  = lens _prjlXgafv (\ s a -> s{_prjlXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-prjlUploadProtocol :: Lens' ProjectsRegionsJobsList (Maybe Text)-prjlUploadProtocol-  = lens _prjlUploadProtocol-      (\ s a -> s{_prjlUploadProtocol = a})---- | OAuth access token.-prjlAccessToken :: Lens' ProjectsRegionsJobsList (Maybe Text)-prjlAccessToken-  = lens _prjlAccessToken-      (\ s a -> s{_prjlAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-prjlUploadType :: Lens' ProjectsRegionsJobsList (Maybe Text)-prjlUploadType-  = lens _prjlUploadType-      (\ s a -> s{_prjlUploadType = a})---- | Optional. If set, the returned jobs list includes only jobs that were--- submitted to the named cluster.-prjlClusterName :: Lens' ProjectsRegionsJobsList (Maybe Text)-prjlClusterName-  = lens _prjlClusterName-      (\ s a -> s{_prjlClusterName = a})---- | Optional. A filter constraining the jobs to list. Filters are--- case-sensitive and have the following syntax:field = value AND field =--- value ...where field is status.state or labels.[KEY], and [KEY] is a--- label key. value can be * to match all values. status.state can be--- either ACTIVE or NON_ACTIVE. Only the logical AND operator is supported;--- space-separated items are treated as having an implicit AND--- operator.Example filter:status.state = ACTIVE AND labels.env = staging--- AND labels.starred = *-prjlFilter :: Lens' ProjectsRegionsJobsList (Maybe Text)-prjlFilter-  = lens _prjlFilter (\ s a -> s{_prjlFilter = a})---- | Required. The Cloud Dataproc region in which to handle the request.-prjlRegion :: Lens' ProjectsRegionsJobsList Text-prjlRegion-  = lens _prjlRegion (\ s a -> s{_prjlRegion = a})---- | Optional. The page token, returned by a previous call, to request the--- next page of results.-prjlPageToken :: Lens' ProjectsRegionsJobsList (Maybe Text)-prjlPageToken-  = lens _prjlPageToken-      (\ s a -> s{_prjlPageToken = a})---- | Required. The ID of the Google Cloud Platform project that the job--- belongs to.-prjlProjectId :: Lens' ProjectsRegionsJobsList Text-prjlProjectId-  = lens _prjlProjectId-      (\ s a -> s{_prjlProjectId = a})---- | Optional. The number of results to return in each response.-prjlPageSize :: Lens' ProjectsRegionsJobsList (Maybe Int32)-prjlPageSize-  = lens _prjlPageSize (\ s a -> s{_prjlPageSize = a})-      . mapping _Coerce---- | JSONP-prjlCallback :: Lens' ProjectsRegionsJobsList (Maybe Text)-prjlCallback-  = lens _prjlCallback (\ s a -> s{_prjlCallback = a})--instance GoogleRequest ProjectsRegionsJobsList where-        type Rs ProjectsRegionsJobsList = ListJobsResponse-        type Scopes ProjectsRegionsJobsList =-             '["https://www.googleapis.com/auth/cloud-platform"]-        requestClient ProjectsRegionsJobsList'{..}-          = go _prjlProjectId _prjlRegion _prjlJobStateMatcher-              _prjlXgafv-              _prjlUploadProtocol-              _prjlAccessToken-              _prjlUploadType-              _prjlClusterName-              _prjlFilter-              _prjlPageToken-              _prjlPageSize-              _prjlCallback-              (Just AltJSON)-              dataprocService-          where go-                  = buildClient-                      (Proxy :: Proxy ProjectsRegionsJobsListResource)-                      mempty
− gen/Network/Google/Resource/Dataproc/Projects/Regions/Jobs/Patch.hs
@@ -1,210 +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.Dataproc.Projects.Regions.Jobs.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 a job in a project.------ /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.jobs.patch@.-module Network.Google.Resource.Dataproc.Projects.Regions.Jobs.Patch-    (-    -- * REST Resource-      ProjectsRegionsJobsPatchResource--    -- * Creating a Request-    , projectsRegionsJobsPatch-    , ProjectsRegionsJobsPatch--    -- * Request Lenses-    , prjpXgafv-    , prjpJobId-    , prjpUploadProtocol-    , prjpUpdateMask-    , prjpAccessToken-    , prjpUploadType-    , prjpPayload-    , prjpRegion-    , prjpProjectId-    , prjpCallback-    ) where--import           Network.Google.Dataproc.Types-import           Network.Google.Prelude---- | A resource alias for @dataproc.projects.regions.jobs.patch@ method which the--- 'ProjectsRegionsJobsPatch' request conforms to.-type ProjectsRegionsJobsPatchResource =-     "v1" :>-       "projects" :>-         Capture "projectId" Text :>-           "regions" :>-             Capture "region" Text :>-               "jobs" :>-                 Capture "jobId" Text :>-                   QueryParam "$.xgafv" Xgafv :>-                     QueryParam "upload_protocol" Text :>-                       QueryParam "updateMask" GFieldMask :>-                         QueryParam "access_token" Text :>-                           QueryParam "uploadType" Text :>-                             QueryParam "callback" Text :>-                               QueryParam "alt" AltJSON :>-                                 ReqBody '[JSON] Job :> Patch '[JSON] Job---- | Updates a job in a project.------ /See:/ 'projectsRegionsJobsPatch' smart constructor.-data ProjectsRegionsJobsPatch =-  ProjectsRegionsJobsPatch'-    { _prjpXgafv          :: !(Maybe Xgafv)-    , _prjpJobId          :: !Text-    , _prjpUploadProtocol :: !(Maybe Text)-    , _prjpUpdateMask     :: !(Maybe GFieldMask)-    , _prjpAccessToken    :: !(Maybe Text)-    , _prjpUploadType     :: !(Maybe Text)-    , _prjpPayload        :: !Job-    , _prjpRegion         :: !Text-    , _prjpProjectId      :: !Text-    , _prjpCallback       :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsRegionsJobsPatch' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'prjpXgafv'------ * 'prjpJobId'------ * 'prjpUploadProtocol'------ * 'prjpUpdateMask'------ * 'prjpAccessToken'------ * 'prjpUploadType'------ * 'prjpPayload'------ * 'prjpRegion'------ * 'prjpProjectId'------ * 'prjpCallback'-projectsRegionsJobsPatch-    :: Text -- ^ 'prjpJobId'-    -> Job -- ^ 'prjpPayload'-    -> Text -- ^ 'prjpRegion'-    -> Text -- ^ 'prjpProjectId'-    -> ProjectsRegionsJobsPatch-projectsRegionsJobsPatch pPrjpJobId_ pPrjpPayload_ pPrjpRegion_ pPrjpProjectId_ =-  ProjectsRegionsJobsPatch'-    { _prjpXgafv = Nothing-    , _prjpJobId = pPrjpJobId_-    , _prjpUploadProtocol = Nothing-    , _prjpUpdateMask = Nothing-    , _prjpAccessToken = Nothing-    , _prjpUploadType = Nothing-    , _prjpPayload = pPrjpPayload_-    , _prjpRegion = pPrjpRegion_-    , _prjpProjectId = pPrjpProjectId_-    , _prjpCallback = Nothing-    }----- | V1 error format.-prjpXgafv :: Lens' ProjectsRegionsJobsPatch (Maybe Xgafv)-prjpXgafv-  = lens _prjpXgafv (\ s a -> s{_prjpXgafv = a})---- | Required. The job ID.-prjpJobId :: Lens' ProjectsRegionsJobsPatch Text-prjpJobId-  = lens _prjpJobId (\ s a -> s{_prjpJobId = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-prjpUploadProtocol :: Lens' ProjectsRegionsJobsPatch (Maybe Text)-prjpUploadProtocol-  = lens _prjpUploadProtocol-      (\ s a -> s{_prjpUploadProtocol = a})---- | Required. Specifies the path, relative to 'Job', of the field to update.--- For example, to update the labels of a Job the 'update_mask' parameter--- would be specified as 'labels', and the PATCH request body would specify--- the new value. __Note:__ Currently, 'labels' is the only field that can--- be updated.-prjpUpdateMask :: Lens' ProjectsRegionsJobsPatch (Maybe GFieldMask)-prjpUpdateMask-  = lens _prjpUpdateMask-      (\ s a -> s{_prjpUpdateMask = a})---- | OAuth access token.-prjpAccessToken :: Lens' ProjectsRegionsJobsPatch (Maybe Text)-prjpAccessToken-  = lens _prjpAccessToken-      (\ s a -> s{_prjpAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-prjpUploadType :: Lens' ProjectsRegionsJobsPatch (Maybe Text)-prjpUploadType-  = lens _prjpUploadType-      (\ s a -> s{_prjpUploadType = a})---- | Multipart request metadata.-prjpPayload :: Lens' ProjectsRegionsJobsPatch Job-prjpPayload-  = lens _prjpPayload (\ s a -> s{_prjpPayload = a})---- | Required. The Cloud Dataproc region in which to handle the request.-prjpRegion :: Lens' ProjectsRegionsJobsPatch Text-prjpRegion-  = lens _prjpRegion (\ s a -> s{_prjpRegion = a})---- | Required. The ID of the Google Cloud Platform project that the job--- belongs to.-prjpProjectId :: Lens' ProjectsRegionsJobsPatch Text-prjpProjectId-  = lens _prjpProjectId-      (\ s a -> s{_prjpProjectId = a})---- | JSONP-prjpCallback :: Lens' ProjectsRegionsJobsPatch (Maybe Text)-prjpCallback-  = lens _prjpCallback (\ s a -> s{_prjpCallback = a})--instance GoogleRequest ProjectsRegionsJobsPatch where-        type Rs ProjectsRegionsJobsPatch = Job-        type Scopes ProjectsRegionsJobsPatch =-             '["https://www.googleapis.com/auth/cloud-platform"]-        requestClient ProjectsRegionsJobsPatch'{..}-          = go _prjpProjectId _prjpRegion _prjpJobId _prjpXgafv-              _prjpUploadProtocol-              _prjpUpdateMask-              _prjpAccessToken-              _prjpUploadType-              _prjpCallback-              (Just AltJSON)-              _prjpPayload-              dataprocService-          where go-                  = buildClient-                      (Proxy :: Proxy ProjectsRegionsJobsPatchResource)-                      mempty
− gen/Network/Google/Resource/Dataproc/Projects/Regions/Jobs/SetIAMPolicy.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.Dataproc.Projects.Regions.Jobs.SetIAMPolicy--- 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)------ Sets the access control policy on the specified resource. Replaces any--- existing policy.------ /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.jobs.setIamPolicy@.-module Network.Google.Resource.Dataproc.Projects.Regions.Jobs.SetIAMPolicy-    (-    -- * REST Resource-      ProjectsRegionsJobsSetIAMPolicyResource--    -- * Creating a Request-    , projectsRegionsJobsSetIAMPolicy-    , ProjectsRegionsJobsSetIAMPolicy--    -- * Request Lenses-    , prjsipXgafv-    , prjsipUploadProtocol-    , prjsipAccessToken-    , prjsipUploadType-    , prjsipPayload-    , prjsipResource-    , prjsipCallback-    ) where--import           Network.Google.Dataproc.Types-import           Network.Google.Prelude---- | A resource alias for @dataproc.projects.regions.jobs.setIamPolicy@ method which the--- 'ProjectsRegionsJobsSetIAMPolicy' request conforms to.-type ProjectsRegionsJobsSetIAMPolicyResource =-     "v1" :>-       CaptureMode "resource" "setIamPolicy" Text :>-         QueryParam "$.xgafv" Xgafv :>-           QueryParam "upload_protocol" Text :>-             QueryParam "access_token" Text :>-               QueryParam "uploadType" Text :>-                 QueryParam "callback" Text :>-                   QueryParam "alt" AltJSON :>-                     ReqBody '[JSON] SetIAMPolicyRequest :>-                       Post '[JSON] Policy---- | Sets the access control policy on the specified resource. Replaces any--- existing policy.------ /See:/ 'projectsRegionsJobsSetIAMPolicy' smart constructor.-data ProjectsRegionsJobsSetIAMPolicy =-  ProjectsRegionsJobsSetIAMPolicy'-    { _prjsipXgafv          :: !(Maybe Xgafv)-    , _prjsipUploadProtocol :: !(Maybe Text)-    , _prjsipAccessToken    :: !(Maybe Text)-    , _prjsipUploadType     :: !(Maybe Text)-    , _prjsipPayload        :: !SetIAMPolicyRequest-    , _prjsipResource       :: !Text-    , _prjsipCallback       :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsRegionsJobsSetIAMPolicy' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'prjsipXgafv'------ * 'prjsipUploadProtocol'------ * 'prjsipAccessToken'------ * 'prjsipUploadType'------ * 'prjsipPayload'------ * 'prjsipResource'------ * 'prjsipCallback'-projectsRegionsJobsSetIAMPolicy-    :: SetIAMPolicyRequest -- ^ 'prjsipPayload'-    -> Text -- ^ 'prjsipResource'-    -> ProjectsRegionsJobsSetIAMPolicy-projectsRegionsJobsSetIAMPolicy pPrjsipPayload_ pPrjsipResource_ =-  ProjectsRegionsJobsSetIAMPolicy'-    { _prjsipXgafv = Nothing-    , _prjsipUploadProtocol = Nothing-    , _prjsipAccessToken = Nothing-    , _prjsipUploadType = Nothing-    , _prjsipPayload = pPrjsipPayload_-    , _prjsipResource = pPrjsipResource_-    , _prjsipCallback = Nothing-    }----- | V1 error format.-prjsipXgafv :: Lens' ProjectsRegionsJobsSetIAMPolicy (Maybe Xgafv)-prjsipXgafv-  = lens _prjsipXgafv (\ s a -> s{_prjsipXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-prjsipUploadProtocol :: Lens' ProjectsRegionsJobsSetIAMPolicy (Maybe Text)-prjsipUploadProtocol-  = lens _prjsipUploadProtocol-      (\ s a -> s{_prjsipUploadProtocol = a})---- | OAuth access token.-prjsipAccessToken :: Lens' ProjectsRegionsJobsSetIAMPolicy (Maybe Text)-prjsipAccessToken-  = lens _prjsipAccessToken-      (\ s a -> s{_prjsipAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-prjsipUploadType :: Lens' ProjectsRegionsJobsSetIAMPolicy (Maybe Text)-prjsipUploadType-  = lens _prjsipUploadType-      (\ s a -> s{_prjsipUploadType = a})---- | Multipart request metadata.-prjsipPayload :: Lens' ProjectsRegionsJobsSetIAMPolicy SetIAMPolicyRequest-prjsipPayload-  = lens _prjsipPayload-      (\ s a -> s{_prjsipPayload = a})---- | REQUIRED: The resource for which the policy is being specified. See the--- operation documentation for the appropriate value for this field.-prjsipResource :: Lens' ProjectsRegionsJobsSetIAMPolicy Text-prjsipResource-  = lens _prjsipResource-      (\ s a -> s{_prjsipResource = a})---- | JSONP-prjsipCallback :: Lens' ProjectsRegionsJobsSetIAMPolicy (Maybe Text)-prjsipCallback-  = lens _prjsipCallback-      (\ s a -> s{_prjsipCallback = a})--instance GoogleRequest-           ProjectsRegionsJobsSetIAMPolicy-         where-        type Rs ProjectsRegionsJobsSetIAMPolicy = Policy-        type Scopes ProjectsRegionsJobsSetIAMPolicy =-             '["https://www.googleapis.com/auth/cloud-platform"]-        requestClient ProjectsRegionsJobsSetIAMPolicy'{..}-          = go _prjsipResource _prjsipXgafv-              _prjsipUploadProtocol-              _prjsipAccessToken-              _prjsipUploadType-              _prjsipCallback-              (Just AltJSON)-              _prjsipPayload-              dataprocService-          where go-                  = buildClient-                      (Proxy ::-                         Proxy ProjectsRegionsJobsSetIAMPolicyResource)-                      mempty
− gen/Network/Google/Resource/Dataproc/Projects/Regions/Jobs/Submit.hs
@@ -1,183 +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.Dataproc.Projects.Regions.Jobs.Submit--- 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)------ Submits a job to a cluster.------ /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.jobs.submit@.-module Network.Google.Resource.Dataproc.Projects.Regions.Jobs.Submit-    (-    -- * REST Resource-      ProjectsRegionsJobsSubmitResource--    -- * Creating a Request-    , projectsRegionsJobsSubmit-    , ProjectsRegionsJobsSubmit--    -- * Request Lenses-    , prjsXgafv-    , prjsUploadProtocol-    , prjsAccessToken-    , prjsUploadType-    , prjsPayload-    , prjsRegion-    , prjsProjectId-    , prjsCallback-    ) where--import           Network.Google.Dataproc.Types-import           Network.Google.Prelude---- | A resource alias for @dataproc.projects.regions.jobs.submit@ method which the--- 'ProjectsRegionsJobsSubmit' request conforms to.-type ProjectsRegionsJobsSubmitResource =-     "v1" :>-       "projects" :>-         Capture "projectId" Text :>-           "regions" :>-             Capture "region" Text :>-               "jobs:submit" :>-                 QueryParam "$.xgafv" Xgafv :>-                   QueryParam "upload_protocol" Text :>-                     QueryParam "access_token" Text :>-                       QueryParam "uploadType" Text :>-                         QueryParam "callback" Text :>-                           QueryParam "alt" AltJSON :>-                             ReqBody '[JSON] SubmitJobRequest :>-                               Post '[JSON] Job---- | Submits a job to a cluster.------ /See:/ 'projectsRegionsJobsSubmit' smart constructor.-data ProjectsRegionsJobsSubmit =-  ProjectsRegionsJobsSubmit'-    { _prjsXgafv          :: !(Maybe Xgafv)-    , _prjsUploadProtocol :: !(Maybe Text)-    , _prjsAccessToken    :: !(Maybe Text)-    , _prjsUploadType     :: !(Maybe Text)-    , _prjsPayload        :: !SubmitJobRequest-    , _prjsRegion         :: !Text-    , _prjsProjectId      :: !Text-    , _prjsCallback       :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsRegionsJobsSubmit' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'prjsXgafv'------ * 'prjsUploadProtocol'------ * 'prjsAccessToken'------ * 'prjsUploadType'------ * 'prjsPayload'------ * 'prjsRegion'------ * 'prjsProjectId'------ * 'prjsCallback'-projectsRegionsJobsSubmit-    :: SubmitJobRequest -- ^ 'prjsPayload'-    -> Text -- ^ 'prjsRegion'-    -> Text -- ^ 'prjsProjectId'-    -> ProjectsRegionsJobsSubmit-projectsRegionsJobsSubmit pPrjsPayload_ pPrjsRegion_ pPrjsProjectId_ =-  ProjectsRegionsJobsSubmit'-    { _prjsXgafv = Nothing-    , _prjsUploadProtocol = Nothing-    , _prjsAccessToken = Nothing-    , _prjsUploadType = Nothing-    , _prjsPayload = pPrjsPayload_-    , _prjsRegion = pPrjsRegion_-    , _prjsProjectId = pPrjsProjectId_-    , _prjsCallback = Nothing-    }----- | V1 error format.-prjsXgafv :: Lens' ProjectsRegionsJobsSubmit (Maybe Xgafv)-prjsXgafv-  = lens _prjsXgafv (\ s a -> s{_prjsXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-prjsUploadProtocol :: Lens' ProjectsRegionsJobsSubmit (Maybe Text)-prjsUploadProtocol-  = lens _prjsUploadProtocol-      (\ s a -> s{_prjsUploadProtocol = a})---- | OAuth access token.-prjsAccessToken :: Lens' ProjectsRegionsJobsSubmit (Maybe Text)-prjsAccessToken-  = lens _prjsAccessToken-      (\ s a -> s{_prjsAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-prjsUploadType :: Lens' ProjectsRegionsJobsSubmit (Maybe Text)-prjsUploadType-  = lens _prjsUploadType-      (\ s a -> s{_prjsUploadType = a})---- | Multipart request metadata.-prjsPayload :: Lens' ProjectsRegionsJobsSubmit SubmitJobRequest-prjsPayload-  = lens _prjsPayload (\ s a -> s{_prjsPayload = a})---- | Required. The Cloud Dataproc region in which to handle the request.-prjsRegion :: Lens' ProjectsRegionsJobsSubmit Text-prjsRegion-  = lens _prjsRegion (\ s a -> s{_prjsRegion = a})---- | Required. The ID of the Google Cloud Platform project that the job--- belongs to.-prjsProjectId :: Lens' ProjectsRegionsJobsSubmit Text-prjsProjectId-  = lens _prjsProjectId-      (\ s a -> s{_prjsProjectId = a})---- | JSONP-prjsCallback :: Lens' ProjectsRegionsJobsSubmit (Maybe Text)-prjsCallback-  = lens _prjsCallback (\ s a -> s{_prjsCallback = a})--instance GoogleRequest ProjectsRegionsJobsSubmit-         where-        type Rs ProjectsRegionsJobsSubmit = Job-        type Scopes ProjectsRegionsJobsSubmit =-             '["https://www.googleapis.com/auth/cloud-platform"]-        requestClient ProjectsRegionsJobsSubmit'{..}-          = go _prjsProjectId _prjsRegion _prjsXgafv-              _prjsUploadProtocol-              _prjsAccessToken-              _prjsUploadType-              _prjsCallback-              (Just AltJSON)-              _prjsPayload-              dataprocService-          where go-                  = buildClient-                      (Proxy :: Proxy ProjectsRegionsJobsSubmitResource)-                      mempty
− gen/Network/Google/Resource/Dataproc/Projects/Regions/Jobs/TestIAMPermissions.hs
@@ -1,185 +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.Dataproc.Projects.Regions.Jobs.TestIAMPermissions--- 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 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/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.jobs.testIamPermissions@.-module Network.Google.Resource.Dataproc.Projects.Regions.Jobs.TestIAMPermissions-    (-    -- * REST Resource-      ProjectsRegionsJobsTestIAMPermissionsResource--    -- * Creating a Request-    , projectsRegionsJobsTestIAMPermissions-    , ProjectsRegionsJobsTestIAMPermissions--    -- * Request Lenses-    , prjtipXgafv-    , prjtipUploadProtocol-    , prjtipAccessToken-    , prjtipUploadType-    , prjtipPayload-    , prjtipResource-    , prjtipCallback-    ) where--import           Network.Google.Dataproc.Types-import           Network.Google.Prelude---- | A resource alias for @dataproc.projects.regions.jobs.testIamPermissions@ method which the--- 'ProjectsRegionsJobsTestIAMPermissions' request conforms to.-type ProjectsRegionsJobsTestIAMPermissionsResource =-     "v1" :>-       CaptureMode "resource" "testIamPermissions" Text :>-         QueryParam "$.xgafv" Xgafv :>-           QueryParam "upload_protocol" Text :>-             QueryParam "access_token" Text :>-               QueryParam "uploadType" Text :>-                 QueryParam "callback" Text :>-                   QueryParam "alt" AltJSON :>-                     ReqBody '[JSON] TestIAMPermissionsRequest :>-                       Post '[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:/ 'projectsRegionsJobsTestIAMPermissions' smart constructor.-data ProjectsRegionsJobsTestIAMPermissions =-  ProjectsRegionsJobsTestIAMPermissions'-    { _prjtipXgafv          :: !(Maybe Xgafv)-    , _prjtipUploadProtocol :: !(Maybe Text)-    , _prjtipAccessToken    :: !(Maybe Text)-    , _prjtipUploadType     :: !(Maybe Text)-    , _prjtipPayload        :: !TestIAMPermissionsRequest-    , _prjtipResource       :: !Text-    , _prjtipCallback       :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsRegionsJobsTestIAMPermissions' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'prjtipXgafv'------ * 'prjtipUploadProtocol'------ * 'prjtipAccessToken'------ * 'prjtipUploadType'------ * 'prjtipPayload'------ * 'prjtipResource'------ * 'prjtipCallback'-projectsRegionsJobsTestIAMPermissions-    :: TestIAMPermissionsRequest -- ^ 'prjtipPayload'-    -> Text -- ^ 'prjtipResource'-    -> ProjectsRegionsJobsTestIAMPermissions-projectsRegionsJobsTestIAMPermissions pPrjtipPayload_ pPrjtipResource_ =-  ProjectsRegionsJobsTestIAMPermissions'-    { _prjtipXgafv = Nothing-    , _prjtipUploadProtocol = Nothing-    , _prjtipAccessToken = Nothing-    , _prjtipUploadType = Nothing-    , _prjtipPayload = pPrjtipPayload_-    , _prjtipResource = pPrjtipResource_-    , _prjtipCallback = Nothing-    }----- | V1 error format.-prjtipXgafv :: Lens' ProjectsRegionsJobsTestIAMPermissions (Maybe Xgafv)-prjtipXgafv-  = lens _prjtipXgafv (\ s a -> s{_prjtipXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-prjtipUploadProtocol :: Lens' ProjectsRegionsJobsTestIAMPermissions (Maybe Text)-prjtipUploadProtocol-  = lens _prjtipUploadProtocol-      (\ s a -> s{_prjtipUploadProtocol = a})---- | OAuth access token.-prjtipAccessToken :: Lens' ProjectsRegionsJobsTestIAMPermissions (Maybe Text)-prjtipAccessToken-  = lens _prjtipAccessToken-      (\ s a -> s{_prjtipAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-prjtipUploadType :: Lens' ProjectsRegionsJobsTestIAMPermissions (Maybe Text)-prjtipUploadType-  = lens _prjtipUploadType-      (\ s a -> s{_prjtipUploadType = a})---- | Multipart request metadata.-prjtipPayload :: Lens' ProjectsRegionsJobsTestIAMPermissions TestIAMPermissionsRequest-prjtipPayload-  = lens _prjtipPayload-      (\ s a -> s{_prjtipPayload = a})---- | REQUIRED: The resource for which the policy detail is being requested.--- See the operation documentation for the appropriate value for this--- field.-prjtipResource :: Lens' ProjectsRegionsJobsTestIAMPermissions Text-prjtipResource-  = lens _prjtipResource-      (\ s a -> s{_prjtipResource = a})---- | JSONP-prjtipCallback :: Lens' ProjectsRegionsJobsTestIAMPermissions (Maybe Text)-prjtipCallback-  = lens _prjtipCallback-      (\ s a -> s{_prjtipCallback = a})--instance GoogleRequest-           ProjectsRegionsJobsTestIAMPermissions-         where-        type Rs ProjectsRegionsJobsTestIAMPermissions =-             TestIAMPermissionsResponse-        type Scopes ProjectsRegionsJobsTestIAMPermissions =-             '["https://www.googleapis.com/auth/cloud-platform"]-        requestClient-          ProjectsRegionsJobsTestIAMPermissions'{..}-          = go _prjtipResource _prjtipXgafv-              _prjtipUploadProtocol-              _prjtipAccessToken-              _prjtipUploadType-              _prjtipCallback-              (Just AltJSON)-              _prjtipPayload-              dataprocService-          where go-                  = buildClient-                      (Proxy ::-                         Proxy ProjectsRegionsJobsTestIAMPermissionsResource)-                      mempty
− gen/Network/Google/Resource/Dataproc/Projects/Regions/Operations/Cancel.hs
@@ -1,168 +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.Dataproc.Projects.Regions.Operations.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)------ Starts asynchronous cancellation on a long-running operation. The server--- makes a best effort to cancel the operation, but success is not--- guaranteed. If the server doesn\'t support this method, it returns--- google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation--- or other methods to check whether the cancellation succeeded or whether--- the operation completed despite cancellation. On successful--- cancellation, the operation is not deleted; instead, it becomes an--- operation with an Operation.error value with a google.rpc.Status.code of--- 1, corresponding to Code.CANCELLED.------ /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.operations.cancel@.-module Network.Google.Resource.Dataproc.Projects.Regions.Operations.Cancel-    (-    -- * REST Resource-      ProjectsRegionsOperationsCancelResource--    -- * Creating a Request-    , projectsRegionsOperationsCancel-    , ProjectsRegionsOperationsCancel--    -- * Request Lenses-    , procXgafv-    , procUploadProtocol-    , procAccessToken-    , procUploadType-    , procName-    , procCallback-    ) where--import           Network.Google.Dataproc.Types-import           Network.Google.Prelude---- | A resource alias for @dataproc.projects.regions.operations.cancel@ method which the--- 'ProjectsRegionsOperationsCancel' request conforms to.-type ProjectsRegionsOperationsCancelResource =-     "v1" :>-       CaptureMode "name" "cancel" Text :>-         QueryParam "$.xgafv" Xgafv :>-           QueryParam "upload_protocol" Text :>-             QueryParam "access_token" Text :>-               QueryParam "uploadType" Text :>-                 QueryParam "callback" Text :>-                   QueryParam "alt" AltJSON :> Post '[JSON] Empty---- | Starts asynchronous cancellation on a long-running operation. The server--- makes a best effort to cancel the operation, but success is not--- guaranteed. If the server doesn\'t support this method, it returns--- google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation--- or other methods to check whether the cancellation succeeded or whether--- the operation completed despite cancellation. On successful--- cancellation, the operation is not deleted; instead, it becomes an--- operation with an Operation.error value with a google.rpc.Status.code of--- 1, corresponding to Code.CANCELLED.------ /See:/ 'projectsRegionsOperationsCancel' smart constructor.-data ProjectsRegionsOperationsCancel =-  ProjectsRegionsOperationsCancel'-    { _procXgafv          :: !(Maybe Xgafv)-    , _procUploadProtocol :: !(Maybe Text)-    , _procAccessToken    :: !(Maybe Text)-    , _procUploadType     :: !(Maybe Text)-    , _procName           :: !Text-    , _procCallback       :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsRegionsOperationsCancel' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'procXgafv'------ * 'procUploadProtocol'------ * 'procAccessToken'------ * 'procUploadType'------ * 'procName'------ * 'procCallback'-projectsRegionsOperationsCancel-    :: Text -- ^ 'procName'-    -> ProjectsRegionsOperationsCancel-projectsRegionsOperationsCancel pProcName_ =-  ProjectsRegionsOperationsCancel'-    { _procXgafv = Nothing-    , _procUploadProtocol = Nothing-    , _procAccessToken = Nothing-    , _procUploadType = Nothing-    , _procName = pProcName_-    , _procCallback = Nothing-    }----- | V1 error format.-procXgafv :: Lens' ProjectsRegionsOperationsCancel (Maybe Xgafv)-procXgafv-  = lens _procXgafv (\ s a -> s{_procXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-procUploadProtocol :: Lens' ProjectsRegionsOperationsCancel (Maybe Text)-procUploadProtocol-  = lens _procUploadProtocol-      (\ s a -> s{_procUploadProtocol = a})---- | OAuth access token.-procAccessToken :: Lens' ProjectsRegionsOperationsCancel (Maybe Text)-procAccessToken-  = lens _procAccessToken-      (\ s a -> s{_procAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-procUploadType :: Lens' ProjectsRegionsOperationsCancel (Maybe Text)-procUploadType-  = lens _procUploadType-      (\ s a -> s{_procUploadType = a})---- | The name of the operation resource to be cancelled.-procName :: Lens' ProjectsRegionsOperationsCancel Text-procName = lens _procName (\ s a -> s{_procName = a})---- | JSONP-procCallback :: Lens' ProjectsRegionsOperationsCancel (Maybe Text)-procCallback-  = lens _procCallback (\ s a -> s{_procCallback = a})--instance GoogleRequest-           ProjectsRegionsOperationsCancel-         where-        type Rs ProjectsRegionsOperationsCancel = Empty-        type Scopes ProjectsRegionsOperationsCancel =-             '["https://www.googleapis.com/auth/cloud-platform"]-        requestClient ProjectsRegionsOperationsCancel'{..}-          = go _procName _procXgafv _procUploadProtocol-              _procAccessToken-              _procUploadType-              _procCallback-              (Just AltJSON)-              dataprocService-          where go-                  = buildClient-                      (Proxy ::-                         Proxy ProjectsRegionsOperationsCancelResource)-                      mempty
− gen/Network/Google/Resource/Dataproc/Projects/Regions/Operations/Delete.hs
@@ -1,158 +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.Dataproc.Projects.Regions.Operations.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 a long-running operation. This method indicates that the client--- is no longer interested in the operation result. It does not cancel the--- operation. If the server doesn\'t support this method, it returns--- google.rpc.Code.UNIMPLEMENTED.------ /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.operations.delete@.-module Network.Google.Resource.Dataproc.Projects.Regions.Operations.Delete-    (-    -- * REST Resource-      ProjectsRegionsOperationsDeleteResource--    -- * Creating a Request-    , projectsRegionsOperationsDelete-    , ProjectsRegionsOperationsDelete--    -- * Request Lenses-    , prodXgafv-    , prodUploadProtocol-    , prodAccessToken-    , prodUploadType-    , prodName-    , prodCallback-    ) where--import           Network.Google.Dataproc.Types-import           Network.Google.Prelude---- | A resource alias for @dataproc.projects.regions.operations.delete@ method which the--- 'ProjectsRegionsOperationsDelete' request conforms to.-type ProjectsRegionsOperationsDeleteResource =-     "v1" :>-       Capture "name" Text :>-         QueryParam "$.xgafv" Xgafv :>-           QueryParam "upload_protocol" Text :>-             QueryParam "access_token" Text :>-               QueryParam "uploadType" Text :>-                 QueryParam "callback" Text :>-                   QueryParam "alt" AltJSON :> Delete '[JSON] Empty---- | Deletes a long-running operation. This method indicates that the client--- is no longer interested in the operation result. It does not cancel the--- operation. If the server doesn\'t support this method, it returns--- google.rpc.Code.UNIMPLEMENTED.------ /See:/ 'projectsRegionsOperationsDelete' smart constructor.-data ProjectsRegionsOperationsDelete =-  ProjectsRegionsOperationsDelete'-    { _prodXgafv          :: !(Maybe Xgafv)-    , _prodUploadProtocol :: !(Maybe Text)-    , _prodAccessToken    :: !(Maybe Text)-    , _prodUploadType     :: !(Maybe Text)-    , _prodName           :: !Text-    , _prodCallback       :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsRegionsOperationsDelete' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'prodXgafv'------ * 'prodUploadProtocol'------ * 'prodAccessToken'------ * 'prodUploadType'------ * 'prodName'------ * 'prodCallback'-projectsRegionsOperationsDelete-    :: Text -- ^ 'prodName'-    -> ProjectsRegionsOperationsDelete-projectsRegionsOperationsDelete pProdName_ =-  ProjectsRegionsOperationsDelete'-    { _prodXgafv = Nothing-    , _prodUploadProtocol = Nothing-    , _prodAccessToken = Nothing-    , _prodUploadType = Nothing-    , _prodName = pProdName_-    , _prodCallback = Nothing-    }----- | V1 error format.-prodXgafv :: Lens' ProjectsRegionsOperationsDelete (Maybe Xgafv)-prodXgafv-  = lens _prodXgafv (\ s a -> s{_prodXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-prodUploadProtocol :: Lens' ProjectsRegionsOperationsDelete (Maybe Text)-prodUploadProtocol-  = lens _prodUploadProtocol-      (\ s a -> s{_prodUploadProtocol = a})---- | OAuth access token.-prodAccessToken :: Lens' ProjectsRegionsOperationsDelete (Maybe Text)-prodAccessToken-  = lens _prodAccessToken-      (\ s a -> s{_prodAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-prodUploadType :: Lens' ProjectsRegionsOperationsDelete (Maybe Text)-prodUploadType-  = lens _prodUploadType-      (\ s a -> s{_prodUploadType = a})---- | The name of the operation resource to be deleted.-prodName :: Lens' ProjectsRegionsOperationsDelete Text-prodName = lens _prodName (\ s a -> s{_prodName = a})---- | JSONP-prodCallback :: Lens' ProjectsRegionsOperationsDelete (Maybe Text)-prodCallback-  = lens _prodCallback (\ s a -> s{_prodCallback = a})--instance GoogleRequest-           ProjectsRegionsOperationsDelete-         where-        type Rs ProjectsRegionsOperationsDelete = Empty-        type Scopes ProjectsRegionsOperationsDelete =-             '["https://www.googleapis.com/auth/cloud-platform"]-        requestClient ProjectsRegionsOperationsDelete'{..}-          = go _prodName _prodXgafv _prodUploadProtocol-              _prodAccessToken-              _prodUploadType-              _prodCallback-              (Just AltJSON)-              dataprocService-          where go-                  = buildClient-                      (Proxy ::-                         Proxy ProjectsRegionsOperationsDeleteResource)-                      mempty
− gen/Network/Google/Resource/Dataproc/Projects/Regions/Operations/Get.hs
@@ -1,154 +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.Dataproc.Projects.Regions.Operations.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 latest state of a long-running operation. Clients can use this--- method to poll the operation result at intervals as recommended by the--- API service.------ /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.operations.get@.-module Network.Google.Resource.Dataproc.Projects.Regions.Operations.Get-    (-    -- * REST Resource-      ProjectsRegionsOperationsGetResource--    -- * Creating a Request-    , projectsRegionsOperationsGet-    , ProjectsRegionsOperationsGet--    -- * Request Lenses-    , progXgafv-    , progUploadProtocol-    , progAccessToken-    , progUploadType-    , progName-    , progCallback-    ) where--import           Network.Google.Dataproc.Types-import           Network.Google.Prelude---- | A resource alias for @dataproc.projects.regions.operations.get@ method which the--- 'ProjectsRegionsOperationsGet' request conforms to.-type ProjectsRegionsOperationsGetResource =-     "v1" :>-       Capture "name" Text :>-         QueryParam "$.xgafv" Xgafv :>-           QueryParam "upload_protocol" Text :>-             QueryParam "access_token" Text :>-               QueryParam "uploadType" Text :>-                 QueryParam "callback" Text :>-                   QueryParam "alt" AltJSON :> Get '[JSON] Operation---- | Gets the latest state of a long-running operation. Clients can use this--- method to poll the operation result at intervals as recommended by the--- API service.------ /See:/ 'projectsRegionsOperationsGet' smart constructor.-data ProjectsRegionsOperationsGet =-  ProjectsRegionsOperationsGet'-    { _progXgafv          :: !(Maybe Xgafv)-    , _progUploadProtocol :: !(Maybe Text)-    , _progAccessToken    :: !(Maybe Text)-    , _progUploadType     :: !(Maybe Text)-    , _progName           :: !Text-    , _progCallback       :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsRegionsOperationsGet' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'progXgafv'------ * 'progUploadProtocol'------ * 'progAccessToken'------ * 'progUploadType'------ * 'progName'------ * 'progCallback'-projectsRegionsOperationsGet-    :: Text -- ^ 'progName'-    -> ProjectsRegionsOperationsGet-projectsRegionsOperationsGet pProgName_ =-  ProjectsRegionsOperationsGet'-    { _progXgafv = Nothing-    , _progUploadProtocol = Nothing-    , _progAccessToken = Nothing-    , _progUploadType = Nothing-    , _progName = pProgName_-    , _progCallback = Nothing-    }----- | V1 error format.-progXgafv :: Lens' ProjectsRegionsOperationsGet (Maybe Xgafv)-progXgafv-  = lens _progXgafv (\ s a -> s{_progXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-progUploadProtocol :: Lens' ProjectsRegionsOperationsGet (Maybe Text)-progUploadProtocol-  = lens _progUploadProtocol-      (\ s a -> s{_progUploadProtocol = a})---- | OAuth access token.-progAccessToken :: Lens' ProjectsRegionsOperationsGet (Maybe Text)-progAccessToken-  = lens _progAccessToken-      (\ s a -> s{_progAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-progUploadType :: Lens' ProjectsRegionsOperationsGet (Maybe Text)-progUploadType-  = lens _progUploadType-      (\ s a -> s{_progUploadType = a})---- | The name of the operation resource.-progName :: Lens' ProjectsRegionsOperationsGet Text-progName = lens _progName (\ s a -> s{_progName = a})---- | JSONP-progCallback :: Lens' ProjectsRegionsOperationsGet (Maybe Text)-progCallback-  = lens _progCallback (\ s a -> s{_progCallback = a})--instance GoogleRequest ProjectsRegionsOperationsGet-         where-        type Rs ProjectsRegionsOperationsGet = Operation-        type Scopes ProjectsRegionsOperationsGet =-             '["https://www.googleapis.com/auth/cloud-platform"]-        requestClient ProjectsRegionsOperationsGet'{..}-          = go _progName _progXgafv _progUploadProtocol-              _progAccessToken-              _progUploadType-              _progCallback-              (Just AltJSON)-              dataprocService-          where go-                  = buildClient-                      (Proxy :: Proxy ProjectsRegionsOperationsGetResource)-                      mempty
− gen/Network/Google/Resource/Dataproc/Projects/Regions/Operations/GetIAMPolicy.hs
@@ -1,176 +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.Dataproc.Projects.Regions.Operations.GetIAMPolicy--- 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 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/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.operations.getIamPolicy@.-module Network.Google.Resource.Dataproc.Projects.Regions.Operations.GetIAMPolicy-    (-    -- * REST Resource-      ProjectsRegionsOperationsGetIAMPolicyResource--    -- * Creating a Request-    , projectsRegionsOperationsGetIAMPolicy-    , ProjectsRegionsOperationsGetIAMPolicy--    -- * Request Lenses-    , progipXgafv-    , progipUploadProtocol-    , progipAccessToken-    , progipUploadType-    , progipPayload-    , progipResource-    , progipCallback-    ) where--import           Network.Google.Dataproc.Types-import           Network.Google.Prelude---- | A resource alias for @dataproc.projects.regions.operations.getIamPolicy@ method which the--- 'ProjectsRegionsOperationsGetIAMPolicy' request conforms to.-type ProjectsRegionsOperationsGetIAMPolicyResource =-     "v1" :>-       CaptureMode "resource" "getIamPolicy" Text :>-         QueryParam "$.xgafv" Xgafv :>-           QueryParam "upload_protocol" Text :>-             QueryParam "access_token" Text :>-               QueryParam "uploadType" Text :>-                 QueryParam "callback" Text :>-                   QueryParam "alt" AltJSON :>-                     ReqBody '[JSON] GetIAMPolicyRequest :>-                       Post '[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:/ 'projectsRegionsOperationsGetIAMPolicy' smart constructor.-data ProjectsRegionsOperationsGetIAMPolicy =-  ProjectsRegionsOperationsGetIAMPolicy'-    { _progipXgafv          :: !(Maybe Xgafv)-    , _progipUploadProtocol :: !(Maybe Text)-    , _progipAccessToken    :: !(Maybe Text)-    , _progipUploadType     :: !(Maybe Text)-    , _progipPayload        :: !GetIAMPolicyRequest-    , _progipResource       :: !Text-    , _progipCallback       :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsRegionsOperationsGetIAMPolicy' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'progipXgafv'------ * 'progipUploadProtocol'------ * 'progipAccessToken'------ * 'progipUploadType'------ * 'progipPayload'------ * 'progipResource'------ * 'progipCallback'-projectsRegionsOperationsGetIAMPolicy-    :: GetIAMPolicyRequest -- ^ 'progipPayload'-    -> Text -- ^ 'progipResource'-    -> ProjectsRegionsOperationsGetIAMPolicy-projectsRegionsOperationsGetIAMPolicy pProgipPayload_ pProgipResource_ =-  ProjectsRegionsOperationsGetIAMPolicy'-    { _progipXgafv = Nothing-    , _progipUploadProtocol = Nothing-    , _progipAccessToken = Nothing-    , _progipUploadType = Nothing-    , _progipPayload = pProgipPayload_-    , _progipResource = pProgipResource_-    , _progipCallback = Nothing-    }----- | V1 error format.-progipXgafv :: Lens' ProjectsRegionsOperationsGetIAMPolicy (Maybe Xgafv)-progipXgafv-  = lens _progipXgafv (\ s a -> s{_progipXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-progipUploadProtocol :: Lens' ProjectsRegionsOperationsGetIAMPolicy (Maybe Text)-progipUploadProtocol-  = lens _progipUploadProtocol-      (\ s a -> s{_progipUploadProtocol = a})---- | OAuth access token.-progipAccessToken :: Lens' ProjectsRegionsOperationsGetIAMPolicy (Maybe Text)-progipAccessToken-  = lens _progipAccessToken-      (\ s a -> s{_progipAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-progipUploadType :: Lens' ProjectsRegionsOperationsGetIAMPolicy (Maybe Text)-progipUploadType-  = lens _progipUploadType-      (\ s a -> s{_progipUploadType = a})---- | Multipart request metadata.-progipPayload :: Lens' ProjectsRegionsOperationsGetIAMPolicy GetIAMPolicyRequest-progipPayload-  = lens _progipPayload-      (\ s a -> s{_progipPayload = a})---- | REQUIRED: The resource for which the policy is being requested. See the--- operation documentation for the appropriate value for this field.-progipResource :: Lens' ProjectsRegionsOperationsGetIAMPolicy Text-progipResource-  = lens _progipResource-      (\ s a -> s{_progipResource = a})---- | JSONP-progipCallback :: Lens' ProjectsRegionsOperationsGetIAMPolicy (Maybe Text)-progipCallback-  = lens _progipCallback-      (\ s a -> s{_progipCallback = a})--instance GoogleRequest-           ProjectsRegionsOperationsGetIAMPolicy-         where-        type Rs ProjectsRegionsOperationsGetIAMPolicy =-             Policy-        type Scopes ProjectsRegionsOperationsGetIAMPolicy =-             '["https://www.googleapis.com/auth/cloud-platform"]-        requestClient-          ProjectsRegionsOperationsGetIAMPolicy'{..}-          = go _progipResource _progipXgafv-              _progipUploadProtocol-              _progipAccessToken-              _progipUploadType-              _progipCallback-              (Just AltJSON)-              _progipPayload-              dataprocService-          where go-                  = buildClient-                      (Proxy ::-                         Proxy ProjectsRegionsOperationsGetIAMPolicyResource)-                      mempty
− gen/Network/Google/Resource/Dataproc/Projects/Regions/Operations/List.hs
@@ -1,207 +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.Dataproc.Projects.Regions.Operations.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 operations that match the specified filter in the request. If the--- server doesn\'t support this method, it returns UNIMPLEMENTED.NOTE: the--- name binding allows API services to override the binding to use--- different resource name schemes, such as users\/*\/operations. To--- override the binding, API services can add a binding such as--- \"\/v1\/{name=users\/*}\/operations\" to their service configuration.--- For backwards compatibility, the default name includes the operations--- collection id, however overriding users must ensure the name binding is--- the parent resource, without the operations collection id.------ /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.operations.list@.-module Network.Google.Resource.Dataproc.Projects.Regions.Operations.List-    (-    -- * REST Resource-      ProjectsRegionsOperationsListResource--    -- * Creating a Request-    , projectsRegionsOperationsList-    , ProjectsRegionsOperationsList--    -- * Request Lenses-    , prolXgafv-    , prolUploadProtocol-    , prolAccessToken-    , prolUploadType-    , prolName-    , prolFilter-    , prolPageToken-    , prolPageSize-    , prolCallback-    ) where--import           Network.Google.Dataproc.Types-import           Network.Google.Prelude---- | A resource alias for @dataproc.projects.regions.operations.list@ method which the--- 'ProjectsRegionsOperationsList' request conforms to.-type ProjectsRegionsOperationsListResource =-     "v1" :>-       Capture "name" Text :>-         QueryParam "$.xgafv" Xgafv :>-           QueryParam "upload_protocol" Text :>-             QueryParam "access_token" Text :>-               QueryParam "uploadType" Text :>-                 QueryParam "filter" Text :>-                   QueryParam "pageToken" Text :>-                     QueryParam "pageSize" (Textual Int32) :>-                       QueryParam "callback" Text :>-                         QueryParam "alt" AltJSON :>-                           Get '[JSON] ListOperationsResponse---- | Lists operations that match the specified filter in the request. If the--- server doesn\'t support this method, it returns UNIMPLEMENTED.NOTE: the--- name binding allows API services to override the binding to use--- different resource name schemes, such as users\/*\/operations. To--- override the binding, API services can add a binding such as--- \"\/v1\/{name=users\/*}\/operations\" to their service configuration.--- For backwards compatibility, the default name includes the operations--- collection id, however overriding users must ensure the name binding is--- the parent resource, without the operations collection id.------ /See:/ 'projectsRegionsOperationsList' smart constructor.-data ProjectsRegionsOperationsList =-  ProjectsRegionsOperationsList'-    { _prolXgafv          :: !(Maybe Xgafv)-    , _prolUploadProtocol :: !(Maybe Text)-    , _prolAccessToken    :: !(Maybe Text)-    , _prolUploadType     :: !(Maybe Text)-    , _prolName           :: !Text-    , _prolFilter         :: !(Maybe Text)-    , _prolPageToken      :: !(Maybe Text)-    , _prolPageSize       :: !(Maybe (Textual Int32))-    , _prolCallback       :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsRegionsOperationsList' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'prolXgafv'------ * 'prolUploadProtocol'------ * 'prolAccessToken'------ * 'prolUploadType'------ * 'prolName'------ * 'prolFilter'------ * 'prolPageToken'------ * 'prolPageSize'------ * 'prolCallback'-projectsRegionsOperationsList-    :: Text -- ^ 'prolName'-    -> ProjectsRegionsOperationsList-projectsRegionsOperationsList pProlName_ =-  ProjectsRegionsOperationsList'-    { _prolXgafv = Nothing-    , _prolUploadProtocol = Nothing-    , _prolAccessToken = Nothing-    , _prolUploadType = Nothing-    , _prolName = pProlName_-    , _prolFilter = Nothing-    , _prolPageToken = Nothing-    , _prolPageSize = Nothing-    , _prolCallback = Nothing-    }----- | V1 error format.-prolXgafv :: Lens' ProjectsRegionsOperationsList (Maybe Xgafv)-prolXgafv-  = lens _prolXgafv (\ s a -> s{_prolXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-prolUploadProtocol :: Lens' ProjectsRegionsOperationsList (Maybe Text)-prolUploadProtocol-  = lens _prolUploadProtocol-      (\ s a -> s{_prolUploadProtocol = a})---- | OAuth access token.-prolAccessToken :: Lens' ProjectsRegionsOperationsList (Maybe Text)-prolAccessToken-  = lens _prolAccessToken-      (\ s a -> s{_prolAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-prolUploadType :: Lens' ProjectsRegionsOperationsList (Maybe Text)-prolUploadType-  = lens _prolUploadType-      (\ s a -> s{_prolUploadType = a})---- | The name of the operation\'s parent resource.-prolName :: Lens' ProjectsRegionsOperationsList Text-prolName = lens _prolName (\ s a -> s{_prolName = a})---- | The standard list filter.-prolFilter :: Lens' ProjectsRegionsOperationsList (Maybe Text)-prolFilter-  = lens _prolFilter (\ s a -> s{_prolFilter = a})---- | The standard list page token.-prolPageToken :: Lens' ProjectsRegionsOperationsList (Maybe Text)-prolPageToken-  = lens _prolPageToken-      (\ s a -> s{_prolPageToken = a})---- | The standard list page size.-prolPageSize :: Lens' ProjectsRegionsOperationsList (Maybe Int32)-prolPageSize-  = lens _prolPageSize (\ s a -> s{_prolPageSize = a})-      . mapping _Coerce---- | JSONP-prolCallback :: Lens' ProjectsRegionsOperationsList (Maybe Text)-prolCallback-  = lens _prolCallback (\ s a -> s{_prolCallback = a})--instance GoogleRequest ProjectsRegionsOperationsList-         where-        type Rs ProjectsRegionsOperationsList =-             ListOperationsResponse-        type Scopes ProjectsRegionsOperationsList =-             '["https://www.googleapis.com/auth/cloud-platform"]-        requestClient ProjectsRegionsOperationsList'{..}-          = go _prolName _prolXgafv _prolUploadProtocol-              _prolAccessToken-              _prolUploadType-              _prolFilter-              _prolPageToken-              _prolPageSize-              _prolCallback-              (Just AltJSON)-              dataprocService-          where go-                  = buildClient-                      (Proxy ::-                         Proxy ProjectsRegionsOperationsListResource)-                      mempty
− gen/Network/Google/Resource/Dataproc/Projects/Regions/Operations/SetIAMPolicy.hs
@@ -1,176 +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.Dataproc.Projects.Regions.Operations.SetIAMPolicy--- 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)------ Sets the access control policy on the specified resource. Replaces any--- existing policy.------ /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.operations.setIamPolicy@.-module Network.Google.Resource.Dataproc.Projects.Regions.Operations.SetIAMPolicy-    (-    -- * REST Resource-      ProjectsRegionsOperationsSetIAMPolicyResource--    -- * Creating a Request-    , projectsRegionsOperationsSetIAMPolicy-    , ProjectsRegionsOperationsSetIAMPolicy--    -- * Request Lenses-    , prosipXgafv-    , prosipUploadProtocol-    , prosipAccessToken-    , prosipUploadType-    , prosipPayload-    , prosipResource-    , prosipCallback-    ) where--import           Network.Google.Dataproc.Types-import           Network.Google.Prelude---- | A resource alias for @dataproc.projects.regions.operations.setIamPolicy@ method which the--- 'ProjectsRegionsOperationsSetIAMPolicy' request conforms to.-type ProjectsRegionsOperationsSetIAMPolicyResource =-     "v1" :>-       CaptureMode "resource" "setIamPolicy" Text :>-         QueryParam "$.xgafv" Xgafv :>-           QueryParam "upload_protocol" Text :>-             QueryParam "access_token" Text :>-               QueryParam "uploadType" Text :>-                 QueryParam "callback" Text :>-                   QueryParam "alt" AltJSON :>-                     ReqBody '[JSON] SetIAMPolicyRequest :>-                       Post '[JSON] Policy---- | Sets the access control policy on the specified resource. Replaces any--- existing policy.------ /See:/ 'projectsRegionsOperationsSetIAMPolicy' smart constructor.-data ProjectsRegionsOperationsSetIAMPolicy =-  ProjectsRegionsOperationsSetIAMPolicy'-    { _prosipXgafv          :: !(Maybe Xgafv)-    , _prosipUploadProtocol :: !(Maybe Text)-    , _prosipAccessToken    :: !(Maybe Text)-    , _prosipUploadType     :: !(Maybe Text)-    , _prosipPayload        :: !SetIAMPolicyRequest-    , _prosipResource       :: !Text-    , _prosipCallback       :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsRegionsOperationsSetIAMPolicy' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'prosipXgafv'------ * 'prosipUploadProtocol'------ * 'prosipAccessToken'------ * 'prosipUploadType'------ * 'prosipPayload'------ * 'prosipResource'------ * 'prosipCallback'-projectsRegionsOperationsSetIAMPolicy-    :: SetIAMPolicyRequest -- ^ 'prosipPayload'-    -> Text -- ^ 'prosipResource'-    -> ProjectsRegionsOperationsSetIAMPolicy-projectsRegionsOperationsSetIAMPolicy pProsipPayload_ pProsipResource_ =-  ProjectsRegionsOperationsSetIAMPolicy'-    { _prosipXgafv = Nothing-    , _prosipUploadProtocol = Nothing-    , _prosipAccessToken = Nothing-    , _prosipUploadType = Nothing-    , _prosipPayload = pProsipPayload_-    , _prosipResource = pProsipResource_-    , _prosipCallback = Nothing-    }----- | V1 error format.-prosipXgafv :: Lens' ProjectsRegionsOperationsSetIAMPolicy (Maybe Xgafv)-prosipXgafv-  = lens _prosipXgafv (\ s a -> s{_prosipXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-prosipUploadProtocol :: Lens' ProjectsRegionsOperationsSetIAMPolicy (Maybe Text)-prosipUploadProtocol-  = lens _prosipUploadProtocol-      (\ s a -> s{_prosipUploadProtocol = a})---- | OAuth access token.-prosipAccessToken :: Lens' ProjectsRegionsOperationsSetIAMPolicy (Maybe Text)-prosipAccessToken-  = lens _prosipAccessToken-      (\ s a -> s{_prosipAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-prosipUploadType :: Lens' ProjectsRegionsOperationsSetIAMPolicy (Maybe Text)-prosipUploadType-  = lens _prosipUploadType-      (\ s a -> s{_prosipUploadType = a})---- | Multipart request metadata.-prosipPayload :: Lens' ProjectsRegionsOperationsSetIAMPolicy SetIAMPolicyRequest-prosipPayload-  = lens _prosipPayload-      (\ s a -> s{_prosipPayload = a})---- | REQUIRED: The resource for which the policy is being specified. See the--- operation documentation for the appropriate value for this field.-prosipResource :: Lens' ProjectsRegionsOperationsSetIAMPolicy Text-prosipResource-  = lens _prosipResource-      (\ s a -> s{_prosipResource = a})---- | JSONP-prosipCallback :: Lens' ProjectsRegionsOperationsSetIAMPolicy (Maybe Text)-prosipCallback-  = lens _prosipCallback-      (\ s a -> s{_prosipCallback = a})--instance GoogleRequest-           ProjectsRegionsOperationsSetIAMPolicy-         where-        type Rs ProjectsRegionsOperationsSetIAMPolicy =-             Policy-        type Scopes ProjectsRegionsOperationsSetIAMPolicy =-             '["https://www.googleapis.com/auth/cloud-platform"]-        requestClient-          ProjectsRegionsOperationsSetIAMPolicy'{..}-          = go _prosipResource _prosipXgafv-              _prosipUploadProtocol-              _prosipAccessToken-              _prosipUploadType-              _prosipCallback-              (Just AltJSON)-              _prosipPayload-              dataprocService-          where go-                  = buildClient-                      (Proxy ::-                         Proxy ProjectsRegionsOperationsSetIAMPolicyResource)-                      mempty
− gen/Network/Google/Resource/Dataproc/Projects/Regions/Operations/TestIAMPermissions.hs
@@ -1,188 +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.Dataproc.Projects.Regions.Operations.TestIAMPermissions--- 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 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/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.operations.testIamPermissions@.-module Network.Google.Resource.Dataproc.Projects.Regions.Operations.TestIAMPermissions-    (-    -- * REST Resource-      ProjectsRegionsOperationsTestIAMPermissionsResource--    -- * Creating a Request-    , projectsRegionsOperationsTestIAMPermissions-    , ProjectsRegionsOperationsTestIAMPermissions--    -- * Request Lenses-    , protipXgafv-    , protipUploadProtocol-    , protipAccessToken-    , protipUploadType-    , protipPayload-    , protipResource-    , protipCallback-    ) where--import           Network.Google.Dataproc.Types-import           Network.Google.Prelude---- | A resource alias for @dataproc.projects.regions.operations.testIamPermissions@ method which the--- 'ProjectsRegionsOperationsTestIAMPermissions' request conforms to.-type ProjectsRegionsOperationsTestIAMPermissionsResource-     =-     "v1" :>-       CaptureMode "resource" "testIamPermissions" Text :>-         QueryParam "$.xgafv" Xgafv :>-           QueryParam "upload_protocol" Text :>-             QueryParam "access_token" Text :>-               QueryParam "uploadType" Text :>-                 QueryParam "callback" Text :>-                   QueryParam "alt" AltJSON :>-                     ReqBody '[JSON] TestIAMPermissionsRequest :>-                       Post '[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:/ 'projectsRegionsOperationsTestIAMPermissions' smart constructor.-data ProjectsRegionsOperationsTestIAMPermissions =-  ProjectsRegionsOperationsTestIAMPermissions'-    { _protipXgafv          :: !(Maybe Xgafv)-    , _protipUploadProtocol :: !(Maybe Text)-    , _protipAccessToken    :: !(Maybe Text)-    , _protipUploadType     :: !(Maybe Text)-    , _protipPayload        :: !TestIAMPermissionsRequest-    , _protipResource       :: !Text-    , _protipCallback       :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsRegionsOperationsTestIAMPermissions' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'protipXgafv'------ * 'protipUploadProtocol'------ * 'protipAccessToken'------ * 'protipUploadType'------ * 'protipPayload'------ * 'protipResource'------ * 'protipCallback'-projectsRegionsOperationsTestIAMPermissions-    :: TestIAMPermissionsRequest -- ^ 'protipPayload'-    -> Text -- ^ 'protipResource'-    -> ProjectsRegionsOperationsTestIAMPermissions-projectsRegionsOperationsTestIAMPermissions pProtipPayload_ pProtipResource_ =-  ProjectsRegionsOperationsTestIAMPermissions'-    { _protipXgafv = Nothing-    , _protipUploadProtocol = Nothing-    , _protipAccessToken = Nothing-    , _protipUploadType = Nothing-    , _protipPayload = pProtipPayload_-    , _protipResource = pProtipResource_-    , _protipCallback = Nothing-    }----- | V1 error format.-protipXgafv :: Lens' ProjectsRegionsOperationsTestIAMPermissions (Maybe Xgafv)-protipXgafv-  = lens _protipXgafv (\ s a -> s{_protipXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-protipUploadProtocol :: Lens' ProjectsRegionsOperationsTestIAMPermissions (Maybe Text)-protipUploadProtocol-  = lens _protipUploadProtocol-      (\ s a -> s{_protipUploadProtocol = a})---- | OAuth access token.-protipAccessToken :: Lens' ProjectsRegionsOperationsTestIAMPermissions (Maybe Text)-protipAccessToken-  = lens _protipAccessToken-      (\ s a -> s{_protipAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-protipUploadType :: Lens' ProjectsRegionsOperationsTestIAMPermissions (Maybe Text)-protipUploadType-  = lens _protipUploadType-      (\ s a -> s{_protipUploadType = a})---- | Multipart request metadata.-protipPayload :: Lens' ProjectsRegionsOperationsTestIAMPermissions TestIAMPermissionsRequest-protipPayload-  = lens _protipPayload-      (\ s a -> s{_protipPayload = a})---- | REQUIRED: The resource for which the policy detail is being requested.--- See the operation documentation for the appropriate value for this--- field.-protipResource :: Lens' ProjectsRegionsOperationsTestIAMPermissions Text-protipResource-  = lens _protipResource-      (\ s a -> s{_protipResource = a})---- | JSONP-protipCallback :: Lens' ProjectsRegionsOperationsTestIAMPermissions (Maybe Text)-protipCallback-  = lens _protipCallback-      (\ s a -> s{_protipCallback = a})--instance GoogleRequest-           ProjectsRegionsOperationsTestIAMPermissions-         where-        type Rs ProjectsRegionsOperationsTestIAMPermissions =-             TestIAMPermissionsResponse-        type Scopes-               ProjectsRegionsOperationsTestIAMPermissions-             = '["https://www.googleapis.com/auth/cloud-platform"]-        requestClient-          ProjectsRegionsOperationsTestIAMPermissions'{..}-          = go _protipResource _protipXgafv-              _protipUploadProtocol-              _protipAccessToken-              _protipUploadType-              _protipCallback-              (Just AltJSON)-              _protipPayload-              dataprocService-          where go-                  = buildClient-                      (Proxy ::-                         Proxy-                           ProjectsRegionsOperationsTestIAMPermissionsResource)-                      mempty
− gen/Network/Google/Resource/Dataproc/Projects/Regions/WorkflowTemplates/Create.hs
@@ -1,173 +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.Dataproc.Projects.Regions.WorkflowTemplates.Create--- 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 new workflow template.------ /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.workflowTemplates.create@.-module Network.Google.Resource.Dataproc.Projects.Regions.WorkflowTemplates.Create-    (-    -- * REST Resource-      ProjectsRegionsWorkflowTemplatesCreateResource--    -- * Creating a Request-    , projectsRegionsWorkflowTemplatesCreate-    , ProjectsRegionsWorkflowTemplatesCreate--    -- * Request Lenses-    , prwtcParent-    , prwtcXgafv-    , prwtcUploadProtocol-    , prwtcAccessToken-    , prwtcUploadType-    , prwtcPayload-    , prwtcCallback-    ) where--import           Network.Google.Dataproc.Types-import           Network.Google.Prelude---- | A resource alias for @dataproc.projects.regions.workflowTemplates.create@ method which the--- 'ProjectsRegionsWorkflowTemplatesCreate' request conforms to.-type ProjectsRegionsWorkflowTemplatesCreateResource =-     "v1" :>-       Capture "parent" Text :>-         "workflowTemplates" :>-           QueryParam "$.xgafv" Xgafv :>-             QueryParam "upload_protocol" Text :>-               QueryParam "access_token" Text :>-                 QueryParam "uploadType" Text :>-                   QueryParam "callback" Text :>-                     QueryParam "alt" AltJSON :>-                       ReqBody '[JSON] WorkflowTemplate :>-                         Post '[JSON] WorkflowTemplate---- | Creates new workflow template.------ /See:/ 'projectsRegionsWorkflowTemplatesCreate' smart constructor.-data ProjectsRegionsWorkflowTemplatesCreate =-  ProjectsRegionsWorkflowTemplatesCreate'-    { _prwtcParent         :: !Text-    , _prwtcXgafv          :: !(Maybe Xgafv)-    , _prwtcUploadProtocol :: !(Maybe Text)-    , _prwtcAccessToken    :: !(Maybe Text)-    , _prwtcUploadType     :: !(Maybe Text)-    , _prwtcPayload        :: !WorkflowTemplate-    , _prwtcCallback       :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsRegionsWorkflowTemplatesCreate' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'prwtcParent'------ * 'prwtcXgafv'------ * 'prwtcUploadProtocol'------ * 'prwtcAccessToken'------ * 'prwtcUploadType'------ * 'prwtcPayload'------ * 'prwtcCallback'-projectsRegionsWorkflowTemplatesCreate-    :: Text -- ^ 'prwtcParent'-    -> WorkflowTemplate -- ^ 'prwtcPayload'-    -> ProjectsRegionsWorkflowTemplatesCreate-projectsRegionsWorkflowTemplatesCreate pPrwtcParent_ pPrwtcPayload_ =-  ProjectsRegionsWorkflowTemplatesCreate'-    { _prwtcParent = pPrwtcParent_-    , _prwtcXgafv = Nothing-    , _prwtcUploadProtocol = Nothing-    , _prwtcAccessToken = Nothing-    , _prwtcUploadType = Nothing-    , _prwtcPayload = pPrwtcPayload_-    , _prwtcCallback = Nothing-    }----- | Required. The \"resource name\" of the region, as described in--- https:\/\/cloud.google.com\/apis\/design\/resource_names of the form--- projects\/{project_id}\/regions\/{region}-prwtcParent :: Lens' ProjectsRegionsWorkflowTemplatesCreate Text-prwtcParent-  = lens _prwtcParent (\ s a -> s{_prwtcParent = a})---- | V1 error format.-prwtcXgafv :: Lens' ProjectsRegionsWorkflowTemplatesCreate (Maybe Xgafv)-prwtcXgafv-  = lens _prwtcXgafv (\ s a -> s{_prwtcXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-prwtcUploadProtocol :: Lens' ProjectsRegionsWorkflowTemplatesCreate (Maybe Text)-prwtcUploadProtocol-  = lens _prwtcUploadProtocol-      (\ s a -> s{_prwtcUploadProtocol = a})---- | OAuth access token.-prwtcAccessToken :: Lens' ProjectsRegionsWorkflowTemplatesCreate (Maybe Text)-prwtcAccessToken-  = lens _prwtcAccessToken-      (\ s a -> s{_prwtcAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-prwtcUploadType :: Lens' ProjectsRegionsWorkflowTemplatesCreate (Maybe Text)-prwtcUploadType-  = lens _prwtcUploadType-      (\ s a -> s{_prwtcUploadType = a})---- | Multipart request metadata.-prwtcPayload :: Lens' ProjectsRegionsWorkflowTemplatesCreate WorkflowTemplate-prwtcPayload-  = lens _prwtcPayload (\ s a -> s{_prwtcPayload = a})---- | JSONP-prwtcCallback :: Lens' ProjectsRegionsWorkflowTemplatesCreate (Maybe Text)-prwtcCallback-  = lens _prwtcCallback-      (\ s a -> s{_prwtcCallback = a})--instance GoogleRequest-           ProjectsRegionsWorkflowTemplatesCreate-         where-        type Rs ProjectsRegionsWorkflowTemplatesCreate =-             WorkflowTemplate-        type Scopes ProjectsRegionsWorkflowTemplatesCreate =-             '["https://www.googleapis.com/auth/cloud-platform"]-        requestClient-          ProjectsRegionsWorkflowTemplatesCreate'{..}-          = go _prwtcParent _prwtcXgafv _prwtcUploadProtocol-              _prwtcAccessToken-              _prwtcUploadType-              _prwtcCallback-              (Just AltJSON)-              _prwtcPayload-              dataprocService-          where go-                  = buildClient-                      (Proxy ::-                         Proxy ProjectsRegionsWorkflowTemplatesCreateResource)-                      mempty
− gen/Network/Google/Resource/Dataproc/Projects/Regions/WorkflowTemplates/Delete.hs
@@ -1,173 +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.Dataproc.Projects.Regions.WorkflowTemplates.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 a workflow template. It does not cancel in-progress workflows.------ /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.workflowTemplates.delete@.-module Network.Google.Resource.Dataproc.Projects.Regions.WorkflowTemplates.Delete-    (-    -- * REST Resource-      ProjectsRegionsWorkflowTemplatesDeleteResource--    -- * Creating a Request-    , projectsRegionsWorkflowTemplatesDelete-    , ProjectsRegionsWorkflowTemplatesDelete--    -- * Request Lenses-    , prwtdXgafv-    , prwtdUploadProtocol-    , prwtdAccessToken-    , prwtdUploadType-    , prwtdName-    , prwtdVersion-    , prwtdCallback-    ) where--import           Network.Google.Dataproc.Types-import           Network.Google.Prelude---- | A resource alias for @dataproc.projects.regions.workflowTemplates.delete@ method which the--- 'ProjectsRegionsWorkflowTemplatesDelete' request conforms to.-type ProjectsRegionsWorkflowTemplatesDeleteResource =-     "v1" :>-       Capture "name" Text :>-         QueryParam "$.xgafv" Xgafv :>-           QueryParam "upload_protocol" Text :>-             QueryParam "access_token" Text :>-               QueryParam "uploadType" Text :>-                 QueryParam "version" (Textual Int32) :>-                   QueryParam "callback" Text :>-                     QueryParam "alt" AltJSON :> Delete '[JSON] Empty---- | Deletes a workflow template. It does not cancel in-progress workflows.------ /See:/ 'projectsRegionsWorkflowTemplatesDelete' smart constructor.-data ProjectsRegionsWorkflowTemplatesDelete =-  ProjectsRegionsWorkflowTemplatesDelete'-    { _prwtdXgafv          :: !(Maybe Xgafv)-    , _prwtdUploadProtocol :: !(Maybe Text)-    , _prwtdAccessToken    :: !(Maybe Text)-    , _prwtdUploadType     :: !(Maybe Text)-    , _prwtdName           :: !Text-    , _prwtdVersion        :: !(Maybe (Textual Int32))-    , _prwtdCallback       :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsRegionsWorkflowTemplatesDelete' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'prwtdXgafv'------ * 'prwtdUploadProtocol'------ * 'prwtdAccessToken'------ * 'prwtdUploadType'------ * 'prwtdName'------ * 'prwtdVersion'------ * 'prwtdCallback'-projectsRegionsWorkflowTemplatesDelete-    :: Text -- ^ 'prwtdName'-    -> ProjectsRegionsWorkflowTemplatesDelete-projectsRegionsWorkflowTemplatesDelete pPrwtdName_ =-  ProjectsRegionsWorkflowTemplatesDelete'-    { _prwtdXgafv = Nothing-    , _prwtdUploadProtocol = Nothing-    , _prwtdAccessToken = Nothing-    , _prwtdUploadType = Nothing-    , _prwtdName = pPrwtdName_-    , _prwtdVersion = Nothing-    , _prwtdCallback = Nothing-    }----- | V1 error format.-prwtdXgafv :: Lens' ProjectsRegionsWorkflowTemplatesDelete (Maybe Xgafv)-prwtdXgafv-  = lens _prwtdXgafv (\ s a -> s{_prwtdXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-prwtdUploadProtocol :: Lens' ProjectsRegionsWorkflowTemplatesDelete (Maybe Text)-prwtdUploadProtocol-  = lens _prwtdUploadProtocol-      (\ s a -> s{_prwtdUploadProtocol = a})---- | OAuth access token.-prwtdAccessToken :: Lens' ProjectsRegionsWorkflowTemplatesDelete (Maybe Text)-prwtdAccessToken-  = lens _prwtdAccessToken-      (\ s a -> s{_prwtdAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-prwtdUploadType :: Lens' ProjectsRegionsWorkflowTemplatesDelete (Maybe Text)-prwtdUploadType-  = lens _prwtdUploadType-      (\ s a -> s{_prwtdUploadType = a})---- | Required. The \"resource name\" of the workflow template, as described--- in https:\/\/cloud.google.com\/apis\/design\/resource_names of the form--- projects\/{project_id}\/regions\/{region}\/workflowTemplates\/{template_id}-prwtdName :: Lens' ProjectsRegionsWorkflowTemplatesDelete Text-prwtdName-  = lens _prwtdName (\ s a -> s{_prwtdName = a})---- | Optional. The version of workflow template to delete. If specified, will--- only delete the template if the current server version matches specified--- version.-prwtdVersion :: Lens' ProjectsRegionsWorkflowTemplatesDelete (Maybe Int32)-prwtdVersion-  = lens _prwtdVersion (\ s a -> s{_prwtdVersion = a})-      . mapping _Coerce---- | JSONP-prwtdCallback :: Lens' ProjectsRegionsWorkflowTemplatesDelete (Maybe Text)-prwtdCallback-  = lens _prwtdCallback-      (\ s a -> s{_prwtdCallback = a})--instance GoogleRequest-           ProjectsRegionsWorkflowTemplatesDelete-         where-        type Rs ProjectsRegionsWorkflowTemplatesDelete =-             Empty-        type Scopes ProjectsRegionsWorkflowTemplatesDelete =-             '["https://www.googleapis.com/auth/cloud-platform"]-        requestClient-          ProjectsRegionsWorkflowTemplatesDelete'{..}-          = go _prwtdName _prwtdXgafv _prwtdUploadProtocol-              _prwtdAccessToken-              _prwtdUploadType-              _prwtdVersion-              _prwtdCallback-              (Just AltJSON)-              dataprocService-          where go-                  = buildClient-                      (Proxy ::-                         Proxy ProjectsRegionsWorkflowTemplatesDeleteResource)-                      mempty
− gen/Network/Google/Resource/Dataproc/Projects/Regions/WorkflowTemplates/Get.hs
@@ -1,176 +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.Dataproc.Projects.Regions.WorkflowTemplates.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)------ Retrieves the latest workflow template.Can retrieve previously--- instantiated template by specifying optional version parameter.------ /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.workflowTemplates.get@.-module Network.Google.Resource.Dataproc.Projects.Regions.WorkflowTemplates.Get-    (-    -- * REST Resource-      ProjectsRegionsWorkflowTemplatesGetResource--    -- * Creating a Request-    , projectsRegionsWorkflowTemplatesGet-    , ProjectsRegionsWorkflowTemplatesGet--    -- * Request Lenses-    , prwtgXgafv-    , prwtgUploadProtocol-    , prwtgAccessToken-    , prwtgUploadType-    , prwtgName-    , prwtgVersion-    , prwtgCallback-    ) where--import           Network.Google.Dataproc.Types-import           Network.Google.Prelude---- | A resource alias for @dataproc.projects.regions.workflowTemplates.get@ method which the--- 'ProjectsRegionsWorkflowTemplatesGet' request conforms to.-type ProjectsRegionsWorkflowTemplatesGetResource =-     "v1" :>-       Capture "name" Text :>-         QueryParam "$.xgafv" Xgafv :>-           QueryParam "upload_protocol" Text :>-             QueryParam "access_token" Text :>-               QueryParam "uploadType" Text :>-                 QueryParam "version" (Textual Int32) :>-                   QueryParam "callback" Text :>-                     QueryParam "alt" AltJSON :>-                       Get '[JSON] WorkflowTemplate---- | Retrieves the latest workflow template.Can retrieve previously--- instantiated template by specifying optional version parameter.------ /See:/ 'projectsRegionsWorkflowTemplatesGet' smart constructor.-data ProjectsRegionsWorkflowTemplatesGet =-  ProjectsRegionsWorkflowTemplatesGet'-    { _prwtgXgafv          :: !(Maybe Xgafv)-    , _prwtgUploadProtocol :: !(Maybe Text)-    , _prwtgAccessToken    :: !(Maybe Text)-    , _prwtgUploadType     :: !(Maybe Text)-    , _prwtgName           :: !Text-    , _prwtgVersion        :: !(Maybe (Textual Int32))-    , _prwtgCallback       :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsRegionsWorkflowTemplatesGet' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'prwtgXgafv'------ * 'prwtgUploadProtocol'------ * 'prwtgAccessToken'------ * 'prwtgUploadType'------ * 'prwtgName'------ * 'prwtgVersion'------ * 'prwtgCallback'-projectsRegionsWorkflowTemplatesGet-    :: Text -- ^ 'prwtgName'-    -> ProjectsRegionsWorkflowTemplatesGet-projectsRegionsWorkflowTemplatesGet pPrwtgName_ =-  ProjectsRegionsWorkflowTemplatesGet'-    { _prwtgXgafv = Nothing-    , _prwtgUploadProtocol = Nothing-    , _prwtgAccessToken = Nothing-    , _prwtgUploadType = Nothing-    , _prwtgName = pPrwtgName_-    , _prwtgVersion = Nothing-    , _prwtgCallback = Nothing-    }----- | V1 error format.-prwtgXgafv :: Lens' ProjectsRegionsWorkflowTemplatesGet (Maybe Xgafv)-prwtgXgafv-  = lens _prwtgXgafv (\ s a -> s{_prwtgXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-prwtgUploadProtocol :: Lens' ProjectsRegionsWorkflowTemplatesGet (Maybe Text)-prwtgUploadProtocol-  = lens _prwtgUploadProtocol-      (\ s a -> s{_prwtgUploadProtocol = a})---- | OAuth access token.-prwtgAccessToken :: Lens' ProjectsRegionsWorkflowTemplatesGet (Maybe Text)-prwtgAccessToken-  = lens _prwtgAccessToken-      (\ s a -> s{_prwtgAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-prwtgUploadType :: Lens' ProjectsRegionsWorkflowTemplatesGet (Maybe Text)-prwtgUploadType-  = lens _prwtgUploadType-      (\ s a -> s{_prwtgUploadType = a})---- | Required. The \"resource name\" of the workflow template, as described--- in https:\/\/cloud.google.com\/apis\/design\/resource_names of the form--- projects\/{project_id}\/regions\/{region}\/workflowTemplates\/{template_id}-prwtgName :: Lens' ProjectsRegionsWorkflowTemplatesGet Text-prwtgName-  = lens _prwtgName (\ s a -> s{_prwtgName = a})---- | Optional. The version of workflow template to retrieve. Only previously--- instatiated versions can be retrieved.If unspecified, retrieves the--- current version.-prwtgVersion :: Lens' ProjectsRegionsWorkflowTemplatesGet (Maybe Int32)-prwtgVersion-  = lens _prwtgVersion (\ s a -> s{_prwtgVersion = a})-      . mapping _Coerce---- | JSONP-prwtgCallback :: Lens' ProjectsRegionsWorkflowTemplatesGet (Maybe Text)-prwtgCallback-  = lens _prwtgCallback-      (\ s a -> s{_prwtgCallback = a})--instance GoogleRequest-           ProjectsRegionsWorkflowTemplatesGet-         where-        type Rs ProjectsRegionsWorkflowTemplatesGet =-             WorkflowTemplate-        type Scopes ProjectsRegionsWorkflowTemplatesGet =-             '["https://www.googleapis.com/auth/cloud-platform"]-        requestClient-          ProjectsRegionsWorkflowTemplatesGet'{..}-          = go _prwtgName _prwtgXgafv _prwtgUploadProtocol-              _prwtgAccessToken-              _prwtgUploadType-              _prwtgVersion-              _prwtgCallback-              (Just AltJSON)-              dataprocService-          where go-                  = buildClient-                      (Proxy ::-                         Proxy ProjectsRegionsWorkflowTemplatesGetResource)-                      mempty
− gen/Network/Google/Resource/Dataproc/Projects/Regions/WorkflowTemplates/GetIAMPolicy.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.Dataproc.Projects.Regions.WorkflowTemplates.GetIAMPolicy--- 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 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/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.workflowTemplates.getIamPolicy@.-module Network.Google.Resource.Dataproc.Projects.Regions.WorkflowTemplates.GetIAMPolicy-    (-    -- * REST Resource-      ProjectsRegionsWorkflowTemplatesGetIAMPolicyResource--    -- * Creating a Request-    , projectsRegionsWorkflowTemplatesGetIAMPolicy-    , ProjectsRegionsWorkflowTemplatesGetIAMPolicy--    -- * Request Lenses-    , prwtgipXgafv-    , prwtgipUploadProtocol-    , prwtgipAccessToken-    , prwtgipUploadType-    , prwtgipPayload-    , prwtgipResource-    , prwtgipCallback-    ) where--import           Network.Google.Dataproc.Types-import           Network.Google.Prelude---- | A resource alias for @dataproc.projects.regions.workflowTemplates.getIamPolicy@ method which the--- 'ProjectsRegionsWorkflowTemplatesGetIAMPolicy' request conforms to.-type ProjectsRegionsWorkflowTemplatesGetIAMPolicyResource-     =-     "v1" :>-       CaptureMode "resource" "getIamPolicy" Text :>-         QueryParam "$.xgafv" Xgafv :>-           QueryParam "upload_protocol" Text :>-             QueryParam "access_token" Text :>-               QueryParam "uploadType" Text :>-                 QueryParam "callback" Text :>-                   QueryParam "alt" AltJSON :>-                     ReqBody '[JSON] GetIAMPolicyRequest :>-                       Post '[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:/ 'projectsRegionsWorkflowTemplatesGetIAMPolicy' smart constructor.-data ProjectsRegionsWorkflowTemplatesGetIAMPolicy =-  ProjectsRegionsWorkflowTemplatesGetIAMPolicy'-    { _prwtgipXgafv          :: !(Maybe Xgafv)-    , _prwtgipUploadProtocol :: !(Maybe Text)-    , _prwtgipAccessToken    :: !(Maybe Text)-    , _prwtgipUploadType     :: !(Maybe Text)-    , _prwtgipPayload        :: !GetIAMPolicyRequest-    , _prwtgipResource       :: !Text-    , _prwtgipCallback       :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsRegionsWorkflowTemplatesGetIAMPolicy' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'prwtgipXgafv'------ * 'prwtgipUploadProtocol'------ * 'prwtgipAccessToken'------ * 'prwtgipUploadType'------ * 'prwtgipPayload'------ * 'prwtgipResource'------ * 'prwtgipCallback'-projectsRegionsWorkflowTemplatesGetIAMPolicy-    :: GetIAMPolicyRequest -- ^ 'prwtgipPayload'-    -> Text -- ^ 'prwtgipResource'-    -> ProjectsRegionsWorkflowTemplatesGetIAMPolicy-projectsRegionsWorkflowTemplatesGetIAMPolicy pPrwtgipPayload_ pPrwtgipResource_ =-  ProjectsRegionsWorkflowTemplatesGetIAMPolicy'-    { _prwtgipXgafv = Nothing-    , _prwtgipUploadProtocol = Nothing-    , _prwtgipAccessToken = Nothing-    , _prwtgipUploadType = Nothing-    , _prwtgipPayload = pPrwtgipPayload_-    , _prwtgipResource = pPrwtgipResource_-    , _prwtgipCallback = Nothing-    }----- | V1 error format.-prwtgipXgafv :: Lens' ProjectsRegionsWorkflowTemplatesGetIAMPolicy (Maybe Xgafv)-prwtgipXgafv-  = lens _prwtgipXgafv (\ s a -> s{_prwtgipXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-prwtgipUploadProtocol :: Lens' ProjectsRegionsWorkflowTemplatesGetIAMPolicy (Maybe Text)-prwtgipUploadProtocol-  = lens _prwtgipUploadProtocol-      (\ s a -> s{_prwtgipUploadProtocol = a})---- | OAuth access token.-prwtgipAccessToken :: Lens' ProjectsRegionsWorkflowTemplatesGetIAMPolicy (Maybe Text)-prwtgipAccessToken-  = lens _prwtgipAccessToken-      (\ s a -> s{_prwtgipAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-prwtgipUploadType :: Lens' ProjectsRegionsWorkflowTemplatesGetIAMPolicy (Maybe Text)-prwtgipUploadType-  = lens _prwtgipUploadType-      (\ s a -> s{_prwtgipUploadType = a})---- | Multipart request metadata.-prwtgipPayload :: Lens' ProjectsRegionsWorkflowTemplatesGetIAMPolicy GetIAMPolicyRequest-prwtgipPayload-  = lens _prwtgipPayload-      (\ s a -> s{_prwtgipPayload = a})---- | REQUIRED: The resource for which the policy is being requested. See the--- operation documentation for the appropriate value for this field.-prwtgipResource :: Lens' ProjectsRegionsWorkflowTemplatesGetIAMPolicy Text-prwtgipResource-  = lens _prwtgipResource-      (\ s a -> s{_prwtgipResource = a})---- | JSONP-prwtgipCallback :: Lens' ProjectsRegionsWorkflowTemplatesGetIAMPolicy (Maybe Text)-prwtgipCallback-  = lens _prwtgipCallback-      (\ s a -> s{_prwtgipCallback = a})--instance GoogleRequest-           ProjectsRegionsWorkflowTemplatesGetIAMPolicy-         where-        type Rs ProjectsRegionsWorkflowTemplatesGetIAMPolicy-             = Policy-        type Scopes-               ProjectsRegionsWorkflowTemplatesGetIAMPolicy-             = '["https://www.googleapis.com/auth/cloud-platform"]-        requestClient-          ProjectsRegionsWorkflowTemplatesGetIAMPolicy'{..}-          = go _prwtgipResource _prwtgipXgafv-              _prwtgipUploadProtocol-              _prwtgipAccessToken-              _prwtgipUploadType-              _prwtgipCallback-              (Just AltJSON)-              _prwtgipPayload-              dataprocService-          where go-                  = buildClient-                      (Proxy ::-                         Proxy-                           ProjectsRegionsWorkflowTemplatesGetIAMPolicyResource)-                      mempty
− gen/Network/Google/Resource/Dataproc/Projects/Regions/WorkflowTemplates/Instantiate.hs
@@ -1,187 +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.Dataproc.Projects.Regions.WorkflowTemplates.Instantiate--- 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)------ Instantiates a template and begins execution.The returned Operation can--- be used to track execution of workflow by polling operations.get. The--- Operation will complete when entire workflow is finished.The running--- workflow can be aborted via operations.cancel. This will cause any--- inflight jobs to be cancelled and workflow-owned clusters to be--- deleted.The Operation.metadata will be WorkflowMetadata.On successful--- completion, Operation.response will be Empty.------ /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.workflowTemplates.instantiate@.-module Network.Google.Resource.Dataproc.Projects.Regions.WorkflowTemplates.Instantiate-    (-    -- * REST Resource-      ProjectsRegionsWorkflowTemplatesInstantiateResource--    -- * Creating a Request-    , projectsRegionsWorkflowTemplatesInstantiate-    , ProjectsRegionsWorkflowTemplatesInstantiate--    -- * Request Lenses-    , prwtiXgafv-    , prwtiUploadProtocol-    , prwtiAccessToken-    , prwtiUploadType-    , prwtiPayload-    , prwtiName-    , prwtiCallback-    ) where--import           Network.Google.Dataproc.Types-import           Network.Google.Prelude---- | A resource alias for @dataproc.projects.regions.workflowTemplates.instantiate@ method which the--- 'ProjectsRegionsWorkflowTemplatesInstantiate' request conforms to.-type ProjectsRegionsWorkflowTemplatesInstantiateResource-     =-     "v1" :>-       CaptureMode "name" "instantiate" Text :>-         QueryParam "$.xgafv" Xgafv :>-           QueryParam "upload_protocol" Text :>-             QueryParam "access_token" Text :>-               QueryParam "uploadType" Text :>-                 QueryParam "callback" Text :>-                   QueryParam "alt" AltJSON :>-                     ReqBody '[JSON] InstantiateWorkflowTemplateRequest :>-                       Post '[JSON] Operation---- | Instantiates a template and begins execution.The returned Operation can--- be used to track execution of workflow by polling operations.get. The--- Operation will complete when entire workflow is finished.The running--- workflow can be aborted via operations.cancel. This will cause any--- inflight jobs to be cancelled and workflow-owned clusters to be--- deleted.The Operation.metadata will be WorkflowMetadata.On successful--- completion, Operation.response will be Empty.------ /See:/ 'projectsRegionsWorkflowTemplatesInstantiate' smart constructor.-data ProjectsRegionsWorkflowTemplatesInstantiate =-  ProjectsRegionsWorkflowTemplatesInstantiate'-    { _prwtiXgafv          :: !(Maybe Xgafv)-    , _prwtiUploadProtocol :: !(Maybe Text)-    , _prwtiAccessToken    :: !(Maybe Text)-    , _prwtiUploadType     :: !(Maybe Text)-    , _prwtiPayload        :: !InstantiateWorkflowTemplateRequest-    , _prwtiName           :: !Text-    , _prwtiCallback       :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsRegionsWorkflowTemplatesInstantiate' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'prwtiXgafv'------ * 'prwtiUploadProtocol'------ * 'prwtiAccessToken'------ * 'prwtiUploadType'------ * 'prwtiPayload'------ * 'prwtiName'------ * 'prwtiCallback'-projectsRegionsWorkflowTemplatesInstantiate-    :: InstantiateWorkflowTemplateRequest -- ^ 'prwtiPayload'-    -> Text -- ^ 'prwtiName'-    -> ProjectsRegionsWorkflowTemplatesInstantiate-projectsRegionsWorkflowTemplatesInstantiate pPrwtiPayload_ pPrwtiName_ =-  ProjectsRegionsWorkflowTemplatesInstantiate'-    { _prwtiXgafv = Nothing-    , _prwtiUploadProtocol = Nothing-    , _prwtiAccessToken = Nothing-    , _prwtiUploadType = Nothing-    , _prwtiPayload = pPrwtiPayload_-    , _prwtiName = pPrwtiName_-    , _prwtiCallback = Nothing-    }----- | V1 error format.-prwtiXgafv :: Lens' ProjectsRegionsWorkflowTemplatesInstantiate (Maybe Xgafv)-prwtiXgafv-  = lens _prwtiXgafv (\ s a -> s{_prwtiXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-prwtiUploadProtocol :: Lens' ProjectsRegionsWorkflowTemplatesInstantiate (Maybe Text)-prwtiUploadProtocol-  = lens _prwtiUploadProtocol-      (\ s a -> s{_prwtiUploadProtocol = a})---- | OAuth access token.-prwtiAccessToken :: Lens' ProjectsRegionsWorkflowTemplatesInstantiate (Maybe Text)-prwtiAccessToken-  = lens _prwtiAccessToken-      (\ s a -> s{_prwtiAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-prwtiUploadType :: Lens' ProjectsRegionsWorkflowTemplatesInstantiate (Maybe Text)-prwtiUploadType-  = lens _prwtiUploadType-      (\ s a -> s{_prwtiUploadType = a})---- | Multipart request metadata.-prwtiPayload :: Lens' ProjectsRegionsWorkflowTemplatesInstantiate InstantiateWorkflowTemplateRequest-prwtiPayload-  = lens _prwtiPayload (\ s a -> s{_prwtiPayload = a})---- | Required. The \"resource name\" of the workflow template, as described--- in https:\/\/cloud.google.com\/apis\/design\/resource_names of the form--- projects\/{project_id}\/regions\/{region}\/workflowTemplates\/{template_id}-prwtiName :: Lens' ProjectsRegionsWorkflowTemplatesInstantiate Text-prwtiName-  = lens _prwtiName (\ s a -> s{_prwtiName = a})---- | JSONP-prwtiCallback :: Lens' ProjectsRegionsWorkflowTemplatesInstantiate (Maybe Text)-prwtiCallback-  = lens _prwtiCallback-      (\ s a -> s{_prwtiCallback = a})--instance GoogleRequest-           ProjectsRegionsWorkflowTemplatesInstantiate-         where-        type Rs ProjectsRegionsWorkflowTemplatesInstantiate =-             Operation-        type Scopes-               ProjectsRegionsWorkflowTemplatesInstantiate-             = '["https://www.googleapis.com/auth/cloud-platform"]-        requestClient-          ProjectsRegionsWorkflowTemplatesInstantiate'{..}-          = go _prwtiName _prwtiXgafv _prwtiUploadProtocol-              _prwtiAccessToken-              _prwtiUploadType-              _prwtiCallback-              (Just AltJSON)-              _prwtiPayload-              dataprocService-          where go-                  = buildClient-                      (Proxy ::-                         Proxy-                           ProjectsRegionsWorkflowTemplatesInstantiateResource)-                      mempty
− gen/Network/Google/Resource/Dataproc/Projects/Regions/WorkflowTemplates/InstantiateInline.hs
@@ -1,213 +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.Dataproc.Projects.Regions.WorkflowTemplates.InstantiateInline--- 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)------ Instantiates a template and begins execution.This method is equivalent--- to executing the sequence CreateWorkflowTemplate,--- InstantiateWorkflowTemplate, DeleteWorkflowTemplate.The returned--- Operation can be used to track execution of workflow by polling--- operations.get. The Operation will complete when entire workflow is--- finished.The running workflow can be aborted via operations.cancel. This--- will cause any inflight jobs to be cancelled and workflow-owned clusters--- to be deleted.The Operation.metadata will be WorkflowMetadata.On--- successful completion, Operation.response will be Empty.------ /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.workflowTemplates.instantiateInline@.-module Network.Google.Resource.Dataproc.Projects.Regions.WorkflowTemplates.InstantiateInline-    (-    -- * REST Resource-      ProjectsRegionsWorkflowTemplatesInstantiateInlineResource--    -- * Creating a Request-    , projectsRegionsWorkflowTemplatesInstantiateInline-    , ProjectsRegionsWorkflowTemplatesInstantiateInline--    -- * Request Lenses-    , prwtiiParent-    , prwtiiXgafv-    , prwtiiRequestId-    , prwtiiUploadProtocol-    , prwtiiAccessToken-    , prwtiiUploadType-    , prwtiiPayload-    , prwtiiCallback-    ) where--import           Network.Google.Dataproc.Types-import           Network.Google.Prelude---- | A resource alias for @dataproc.projects.regions.workflowTemplates.instantiateInline@ method which the--- 'ProjectsRegionsWorkflowTemplatesInstantiateInline' request conforms to.-type ProjectsRegionsWorkflowTemplatesInstantiateInlineResource-     =-     "v1" :>-       Capture "parent" Text :>-         "workflowTemplates:instantiateInline" :>-           QueryParam "$.xgafv" Xgafv :>-             QueryParam "requestId" Text :>-               QueryParam "upload_protocol" Text :>-                 QueryParam "access_token" Text :>-                   QueryParam "uploadType" Text :>-                     QueryParam "callback" Text :>-                       QueryParam "alt" AltJSON :>-                         ReqBody '[JSON] WorkflowTemplate :>-                           Post '[JSON] Operation---- | Instantiates a template and begins execution.This method is equivalent--- to executing the sequence CreateWorkflowTemplate,--- InstantiateWorkflowTemplate, DeleteWorkflowTemplate.The returned--- Operation can be used to track execution of workflow by polling--- operations.get. The Operation will complete when entire workflow is--- finished.The running workflow can be aborted via operations.cancel. This--- will cause any inflight jobs to be cancelled and workflow-owned clusters--- to be deleted.The Operation.metadata will be WorkflowMetadata.On--- successful completion, Operation.response will be Empty.------ /See:/ 'projectsRegionsWorkflowTemplatesInstantiateInline' smart constructor.-data ProjectsRegionsWorkflowTemplatesInstantiateInline =-  ProjectsRegionsWorkflowTemplatesInstantiateInline'-    { _prwtiiParent         :: !Text-    , _prwtiiXgafv          :: !(Maybe Xgafv)-    , _prwtiiRequestId      :: !(Maybe Text)-    , _prwtiiUploadProtocol :: !(Maybe Text)-    , _prwtiiAccessToken    :: !(Maybe Text)-    , _prwtiiUploadType     :: !(Maybe Text)-    , _prwtiiPayload        :: !WorkflowTemplate-    , _prwtiiCallback       :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsRegionsWorkflowTemplatesInstantiateInline' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'prwtiiParent'------ * 'prwtiiXgafv'------ * 'prwtiiRequestId'------ * 'prwtiiUploadProtocol'------ * 'prwtiiAccessToken'------ * 'prwtiiUploadType'------ * 'prwtiiPayload'------ * 'prwtiiCallback'-projectsRegionsWorkflowTemplatesInstantiateInline-    :: Text -- ^ 'prwtiiParent'-    -> WorkflowTemplate -- ^ 'prwtiiPayload'-    -> ProjectsRegionsWorkflowTemplatesInstantiateInline-projectsRegionsWorkflowTemplatesInstantiateInline pPrwtiiParent_ pPrwtiiPayload_ =-  ProjectsRegionsWorkflowTemplatesInstantiateInline'-    { _prwtiiParent = pPrwtiiParent_-    , _prwtiiXgafv = Nothing-    , _prwtiiRequestId = Nothing-    , _prwtiiUploadProtocol = Nothing-    , _prwtiiAccessToken = Nothing-    , _prwtiiUploadType = Nothing-    , _prwtiiPayload = pPrwtiiPayload_-    , _prwtiiCallback = Nothing-    }----- | Required. The \"resource name\" of the workflow template region, as--- described in https:\/\/cloud.google.com\/apis\/design\/resource_names of--- the form projects\/{project_id}\/regions\/{region}-prwtiiParent :: Lens' ProjectsRegionsWorkflowTemplatesInstantiateInline Text-prwtiiParent-  = lens _prwtiiParent (\ s a -> s{_prwtiiParent = a})---- | V1 error format.-prwtiiXgafv :: Lens' ProjectsRegionsWorkflowTemplatesInstantiateInline (Maybe Xgafv)-prwtiiXgafv-  = lens _prwtiiXgafv (\ s a -> s{_prwtiiXgafv = a})---- | Optional. A tag that prevents multiple concurrent workflow instances--- with the same tag from running. This mitigates risk of concurrent--- instances started due to retries.It is recommended to always set this--- value to a UUID--- (https:\/\/en.wikipedia.org\/wiki\/Universally_unique_identifier).The--- tag must contain only letters (a-z, A-Z), numbers (0-9), underscores--- (_), and hyphens (-). The maximum length is 40 characters.-prwtiiRequestId :: Lens' ProjectsRegionsWorkflowTemplatesInstantiateInline (Maybe Text)-prwtiiRequestId-  = lens _prwtiiRequestId-      (\ s a -> s{_prwtiiRequestId = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-prwtiiUploadProtocol :: Lens' ProjectsRegionsWorkflowTemplatesInstantiateInline (Maybe Text)-prwtiiUploadProtocol-  = lens _prwtiiUploadProtocol-      (\ s a -> s{_prwtiiUploadProtocol = a})---- | OAuth access token.-prwtiiAccessToken :: Lens' ProjectsRegionsWorkflowTemplatesInstantiateInline (Maybe Text)-prwtiiAccessToken-  = lens _prwtiiAccessToken-      (\ s a -> s{_prwtiiAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-prwtiiUploadType :: Lens' ProjectsRegionsWorkflowTemplatesInstantiateInline (Maybe Text)-prwtiiUploadType-  = lens _prwtiiUploadType-      (\ s a -> s{_prwtiiUploadType = a})---- | Multipart request metadata.-prwtiiPayload :: Lens' ProjectsRegionsWorkflowTemplatesInstantiateInline WorkflowTemplate-prwtiiPayload-  = lens _prwtiiPayload-      (\ s a -> s{_prwtiiPayload = a})---- | JSONP-prwtiiCallback :: Lens' ProjectsRegionsWorkflowTemplatesInstantiateInline (Maybe Text)-prwtiiCallback-  = lens _prwtiiCallback-      (\ s a -> s{_prwtiiCallback = a})--instance GoogleRequest-           ProjectsRegionsWorkflowTemplatesInstantiateInline-         where-        type Rs-               ProjectsRegionsWorkflowTemplatesInstantiateInline-             = Operation-        type Scopes-               ProjectsRegionsWorkflowTemplatesInstantiateInline-             = '["https://www.googleapis.com/auth/cloud-platform"]-        requestClient-          ProjectsRegionsWorkflowTemplatesInstantiateInline'{..}-          = go _prwtiiParent _prwtiiXgafv _prwtiiRequestId-              _prwtiiUploadProtocol-              _prwtiiAccessToken-              _prwtiiUploadType-              _prwtiiCallback-              (Just AltJSON)-              _prwtiiPayload-              dataprocService-          where go-                  = buildClient-                      (Proxy ::-                         Proxy-                           ProjectsRegionsWorkflowTemplatesInstantiateInlineResource)-                      mempty
− gen/Network/Google/Resource/Dataproc/Projects/Regions/WorkflowTemplates/List.hs
@@ -1,188 +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.Dataproc.Projects.Regions.WorkflowTemplates.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 workflows that match the specified filter in the request.------ /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.workflowTemplates.list@.-module Network.Google.Resource.Dataproc.Projects.Regions.WorkflowTemplates.List-    (-    -- * REST Resource-      ProjectsRegionsWorkflowTemplatesListResource--    -- * Creating a Request-    , projectsRegionsWorkflowTemplatesList-    , ProjectsRegionsWorkflowTemplatesList--    -- * Request Lenses-    , prwtlParent-    , prwtlXgafv-    , prwtlUploadProtocol-    , prwtlAccessToken-    , prwtlUploadType-    , prwtlPageToken-    , prwtlPageSize-    , prwtlCallback-    ) where--import           Network.Google.Dataproc.Types-import           Network.Google.Prelude---- | A resource alias for @dataproc.projects.regions.workflowTemplates.list@ method which the--- 'ProjectsRegionsWorkflowTemplatesList' request conforms to.-type ProjectsRegionsWorkflowTemplatesListResource =-     "v1" :>-       Capture "parent" Text :>-         "workflowTemplates" :>-           QueryParam "$.xgafv" Xgafv :>-             QueryParam "upload_protocol" Text :>-               QueryParam "access_token" Text :>-                 QueryParam "uploadType" Text :>-                   QueryParam "pageToken" Text :>-                     QueryParam "pageSize" (Textual Int32) :>-                       QueryParam "callback" Text :>-                         QueryParam "alt" AltJSON :>-                           Get '[JSON] ListWorkflowTemplatesResponse---- | Lists workflows that match the specified filter in the request.------ /See:/ 'projectsRegionsWorkflowTemplatesList' smart constructor.-data ProjectsRegionsWorkflowTemplatesList =-  ProjectsRegionsWorkflowTemplatesList'-    { _prwtlParent         :: !Text-    , _prwtlXgafv          :: !(Maybe Xgafv)-    , _prwtlUploadProtocol :: !(Maybe Text)-    , _prwtlAccessToken    :: !(Maybe Text)-    , _prwtlUploadType     :: !(Maybe Text)-    , _prwtlPageToken      :: !(Maybe Text)-    , _prwtlPageSize       :: !(Maybe (Textual Int32))-    , _prwtlCallback       :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsRegionsWorkflowTemplatesList' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'prwtlParent'------ * 'prwtlXgafv'------ * 'prwtlUploadProtocol'------ * 'prwtlAccessToken'------ * 'prwtlUploadType'------ * 'prwtlPageToken'------ * 'prwtlPageSize'------ * 'prwtlCallback'-projectsRegionsWorkflowTemplatesList-    :: Text -- ^ 'prwtlParent'-    -> ProjectsRegionsWorkflowTemplatesList-projectsRegionsWorkflowTemplatesList pPrwtlParent_ =-  ProjectsRegionsWorkflowTemplatesList'-    { _prwtlParent = pPrwtlParent_-    , _prwtlXgafv = Nothing-    , _prwtlUploadProtocol = Nothing-    , _prwtlAccessToken = Nothing-    , _prwtlUploadType = Nothing-    , _prwtlPageToken = Nothing-    , _prwtlPageSize = Nothing-    , _prwtlCallback = Nothing-    }----- | Required. The \"resource name\" of the region, as described in--- https:\/\/cloud.google.com\/apis\/design\/resource_names of the form--- projects\/{project_id}\/regions\/{region}-prwtlParent :: Lens' ProjectsRegionsWorkflowTemplatesList Text-prwtlParent-  = lens _prwtlParent (\ s a -> s{_prwtlParent = a})---- | V1 error format.-prwtlXgafv :: Lens' ProjectsRegionsWorkflowTemplatesList (Maybe Xgafv)-prwtlXgafv-  = lens _prwtlXgafv (\ s a -> s{_prwtlXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-prwtlUploadProtocol :: Lens' ProjectsRegionsWorkflowTemplatesList (Maybe Text)-prwtlUploadProtocol-  = lens _prwtlUploadProtocol-      (\ s a -> s{_prwtlUploadProtocol = a})---- | OAuth access token.-prwtlAccessToken :: Lens' ProjectsRegionsWorkflowTemplatesList (Maybe Text)-prwtlAccessToken-  = lens _prwtlAccessToken-      (\ s a -> s{_prwtlAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-prwtlUploadType :: Lens' ProjectsRegionsWorkflowTemplatesList (Maybe Text)-prwtlUploadType-  = lens _prwtlUploadType-      (\ s a -> s{_prwtlUploadType = a})---- | Optional. The page token, returned by a previous call, to request the--- next page of results.-prwtlPageToken :: Lens' ProjectsRegionsWorkflowTemplatesList (Maybe Text)-prwtlPageToken-  = lens _prwtlPageToken-      (\ s a -> s{_prwtlPageToken = a})---- | Optional. The maximum number of results to return in each response.-prwtlPageSize :: Lens' ProjectsRegionsWorkflowTemplatesList (Maybe Int32)-prwtlPageSize-  = lens _prwtlPageSize-      (\ s a -> s{_prwtlPageSize = a})-      . mapping _Coerce---- | JSONP-prwtlCallback :: Lens' ProjectsRegionsWorkflowTemplatesList (Maybe Text)-prwtlCallback-  = lens _prwtlCallback-      (\ s a -> s{_prwtlCallback = a})--instance GoogleRequest-           ProjectsRegionsWorkflowTemplatesList-         where-        type Rs ProjectsRegionsWorkflowTemplatesList =-             ListWorkflowTemplatesResponse-        type Scopes ProjectsRegionsWorkflowTemplatesList =-             '["https://www.googleapis.com/auth/cloud-platform"]-        requestClient-          ProjectsRegionsWorkflowTemplatesList'{..}-          = go _prwtlParent _prwtlXgafv _prwtlUploadProtocol-              _prwtlAccessToken-              _prwtlUploadType-              _prwtlPageToken-              _prwtlPageSize-              _prwtlCallback-              (Just AltJSON)-              dataprocService-          where go-                  = buildClient-                      (Proxy ::-                         Proxy ProjectsRegionsWorkflowTemplatesListResource)-                      mempty
− gen/Network/Google/Resource/Dataproc/Projects/Regions/WorkflowTemplates/SetIAMPolicy.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.Dataproc.Projects.Regions.WorkflowTemplates.SetIAMPolicy--- 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)------ Sets the access control policy on the specified resource. Replaces any--- existing policy.------ /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.workflowTemplates.setIamPolicy@.-module Network.Google.Resource.Dataproc.Projects.Regions.WorkflowTemplates.SetIAMPolicy-    (-    -- * REST Resource-      ProjectsRegionsWorkflowTemplatesSetIAMPolicyResource--    -- * Creating a Request-    , projectsRegionsWorkflowTemplatesSetIAMPolicy-    , ProjectsRegionsWorkflowTemplatesSetIAMPolicy--    -- * Request Lenses-    , prwtsipXgafv-    , prwtsipUploadProtocol-    , prwtsipAccessToken-    , prwtsipUploadType-    , prwtsipPayload-    , prwtsipResource-    , prwtsipCallback-    ) where--import           Network.Google.Dataproc.Types-import           Network.Google.Prelude---- | A resource alias for @dataproc.projects.regions.workflowTemplates.setIamPolicy@ method which the--- 'ProjectsRegionsWorkflowTemplatesSetIAMPolicy' request conforms to.-type ProjectsRegionsWorkflowTemplatesSetIAMPolicyResource-     =-     "v1" :>-       CaptureMode "resource" "setIamPolicy" Text :>-         QueryParam "$.xgafv" Xgafv :>-           QueryParam "upload_protocol" Text :>-             QueryParam "access_token" Text :>-               QueryParam "uploadType" Text :>-                 QueryParam "callback" Text :>-                   QueryParam "alt" AltJSON :>-                     ReqBody '[JSON] SetIAMPolicyRequest :>-                       Post '[JSON] Policy---- | Sets the access control policy on the specified resource. Replaces any--- existing policy.------ /See:/ 'projectsRegionsWorkflowTemplatesSetIAMPolicy' smart constructor.-data ProjectsRegionsWorkflowTemplatesSetIAMPolicy =-  ProjectsRegionsWorkflowTemplatesSetIAMPolicy'-    { _prwtsipXgafv          :: !(Maybe Xgafv)-    , _prwtsipUploadProtocol :: !(Maybe Text)-    , _prwtsipAccessToken    :: !(Maybe Text)-    , _prwtsipUploadType     :: !(Maybe Text)-    , _prwtsipPayload        :: !SetIAMPolicyRequest-    , _prwtsipResource       :: !Text-    , _prwtsipCallback       :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsRegionsWorkflowTemplatesSetIAMPolicy' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'prwtsipXgafv'------ * 'prwtsipUploadProtocol'------ * 'prwtsipAccessToken'------ * 'prwtsipUploadType'------ * 'prwtsipPayload'------ * 'prwtsipResource'------ * 'prwtsipCallback'-projectsRegionsWorkflowTemplatesSetIAMPolicy-    :: SetIAMPolicyRequest -- ^ 'prwtsipPayload'-    -> Text -- ^ 'prwtsipResource'-    -> ProjectsRegionsWorkflowTemplatesSetIAMPolicy-projectsRegionsWorkflowTemplatesSetIAMPolicy pPrwtsipPayload_ pPrwtsipResource_ =-  ProjectsRegionsWorkflowTemplatesSetIAMPolicy'-    { _prwtsipXgafv = Nothing-    , _prwtsipUploadProtocol = Nothing-    , _prwtsipAccessToken = Nothing-    , _prwtsipUploadType = Nothing-    , _prwtsipPayload = pPrwtsipPayload_-    , _prwtsipResource = pPrwtsipResource_-    , _prwtsipCallback = Nothing-    }----- | V1 error format.-prwtsipXgafv :: Lens' ProjectsRegionsWorkflowTemplatesSetIAMPolicy (Maybe Xgafv)-prwtsipXgafv-  = lens _prwtsipXgafv (\ s a -> s{_prwtsipXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-prwtsipUploadProtocol :: Lens' ProjectsRegionsWorkflowTemplatesSetIAMPolicy (Maybe Text)-prwtsipUploadProtocol-  = lens _prwtsipUploadProtocol-      (\ s a -> s{_prwtsipUploadProtocol = a})---- | OAuth access token.-prwtsipAccessToken :: Lens' ProjectsRegionsWorkflowTemplatesSetIAMPolicy (Maybe Text)-prwtsipAccessToken-  = lens _prwtsipAccessToken-      (\ s a -> s{_prwtsipAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-prwtsipUploadType :: Lens' ProjectsRegionsWorkflowTemplatesSetIAMPolicy (Maybe Text)-prwtsipUploadType-  = lens _prwtsipUploadType-      (\ s a -> s{_prwtsipUploadType = a})---- | Multipart request metadata.-prwtsipPayload :: Lens' ProjectsRegionsWorkflowTemplatesSetIAMPolicy SetIAMPolicyRequest-prwtsipPayload-  = lens _prwtsipPayload-      (\ s a -> s{_prwtsipPayload = a})---- | REQUIRED: The resource for which the policy is being specified. See the--- operation documentation for the appropriate value for this field.-prwtsipResource :: Lens' ProjectsRegionsWorkflowTemplatesSetIAMPolicy Text-prwtsipResource-  = lens _prwtsipResource-      (\ s a -> s{_prwtsipResource = a})---- | JSONP-prwtsipCallback :: Lens' ProjectsRegionsWorkflowTemplatesSetIAMPolicy (Maybe Text)-prwtsipCallback-  = lens _prwtsipCallback-      (\ s a -> s{_prwtsipCallback = a})--instance GoogleRequest-           ProjectsRegionsWorkflowTemplatesSetIAMPolicy-         where-        type Rs ProjectsRegionsWorkflowTemplatesSetIAMPolicy-             = Policy-        type Scopes-               ProjectsRegionsWorkflowTemplatesSetIAMPolicy-             = '["https://www.googleapis.com/auth/cloud-platform"]-        requestClient-          ProjectsRegionsWorkflowTemplatesSetIAMPolicy'{..}-          = go _prwtsipResource _prwtsipXgafv-              _prwtsipUploadProtocol-              _prwtsipAccessToken-              _prwtsipUploadType-              _prwtsipCallback-              (Just AltJSON)-              _prwtsipPayload-              dataprocService-          where go-                  = buildClient-                      (Proxy ::-                         Proxy-                           ProjectsRegionsWorkflowTemplatesSetIAMPolicyResource)-                      mempty
− gen/Network/Google/Resource/Dataproc/Projects/Regions/WorkflowTemplates/TestIAMPermissions.hs
@@ -1,189 +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.Dataproc.Projects.Regions.WorkflowTemplates.TestIAMPermissions--- 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 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/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.workflowTemplates.testIamPermissions@.-module Network.Google.Resource.Dataproc.Projects.Regions.WorkflowTemplates.TestIAMPermissions-    (-    -- * REST Resource-      ProjectsRegionsWorkflowTemplatesTestIAMPermissionsResource--    -- * Creating a Request-    , projectsRegionsWorkflowTemplatesTestIAMPermissions-    , ProjectsRegionsWorkflowTemplatesTestIAMPermissions--    -- * Request Lenses-    , prwttipXgafv-    , prwttipUploadProtocol-    , prwttipAccessToken-    , prwttipUploadType-    , prwttipPayload-    , prwttipResource-    , prwttipCallback-    ) where--import           Network.Google.Dataproc.Types-import           Network.Google.Prelude---- | A resource alias for @dataproc.projects.regions.workflowTemplates.testIamPermissions@ method which the--- 'ProjectsRegionsWorkflowTemplatesTestIAMPermissions' request conforms to.-type ProjectsRegionsWorkflowTemplatesTestIAMPermissionsResource-     =-     "v1" :>-       CaptureMode "resource" "testIamPermissions" Text :>-         QueryParam "$.xgafv" Xgafv :>-           QueryParam "upload_protocol" Text :>-             QueryParam "access_token" Text :>-               QueryParam "uploadType" Text :>-                 QueryParam "callback" Text :>-                   QueryParam "alt" AltJSON :>-                     ReqBody '[JSON] TestIAMPermissionsRequest :>-                       Post '[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:/ 'projectsRegionsWorkflowTemplatesTestIAMPermissions' smart constructor.-data ProjectsRegionsWorkflowTemplatesTestIAMPermissions =-  ProjectsRegionsWorkflowTemplatesTestIAMPermissions'-    { _prwttipXgafv          :: !(Maybe Xgafv)-    , _prwttipUploadProtocol :: !(Maybe Text)-    , _prwttipAccessToken    :: !(Maybe Text)-    , _prwttipUploadType     :: !(Maybe Text)-    , _prwttipPayload        :: !TestIAMPermissionsRequest-    , _prwttipResource       :: !Text-    , _prwttipCallback       :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsRegionsWorkflowTemplatesTestIAMPermissions' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'prwttipXgafv'------ * 'prwttipUploadProtocol'------ * 'prwttipAccessToken'------ * 'prwttipUploadType'------ * 'prwttipPayload'------ * 'prwttipResource'------ * 'prwttipCallback'-projectsRegionsWorkflowTemplatesTestIAMPermissions-    :: TestIAMPermissionsRequest -- ^ 'prwttipPayload'-    -> Text -- ^ 'prwttipResource'-    -> ProjectsRegionsWorkflowTemplatesTestIAMPermissions-projectsRegionsWorkflowTemplatesTestIAMPermissions pPrwttipPayload_ pPrwttipResource_ =-  ProjectsRegionsWorkflowTemplatesTestIAMPermissions'-    { _prwttipXgafv = Nothing-    , _prwttipUploadProtocol = Nothing-    , _prwttipAccessToken = Nothing-    , _prwttipUploadType = Nothing-    , _prwttipPayload = pPrwttipPayload_-    , _prwttipResource = pPrwttipResource_-    , _prwttipCallback = Nothing-    }----- | V1 error format.-prwttipXgafv :: Lens' ProjectsRegionsWorkflowTemplatesTestIAMPermissions (Maybe Xgafv)-prwttipXgafv-  = lens _prwttipXgafv (\ s a -> s{_prwttipXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-prwttipUploadProtocol :: Lens' ProjectsRegionsWorkflowTemplatesTestIAMPermissions (Maybe Text)-prwttipUploadProtocol-  = lens _prwttipUploadProtocol-      (\ s a -> s{_prwttipUploadProtocol = a})---- | OAuth access token.-prwttipAccessToken :: Lens' ProjectsRegionsWorkflowTemplatesTestIAMPermissions (Maybe Text)-prwttipAccessToken-  = lens _prwttipAccessToken-      (\ s a -> s{_prwttipAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-prwttipUploadType :: Lens' ProjectsRegionsWorkflowTemplatesTestIAMPermissions (Maybe Text)-prwttipUploadType-  = lens _prwttipUploadType-      (\ s a -> s{_prwttipUploadType = a})---- | Multipart request metadata.-prwttipPayload :: Lens' ProjectsRegionsWorkflowTemplatesTestIAMPermissions TestIAMPermissionsRequest-prwttipPayload-  = lens _prwttipPayload-      (\ s a -> s{_prwttipPayload = a})---- | REQUIRED: The resource for which the policy detail is being requested.--- See the operation documentation for the appropriate value for this--- field.-prwttipResource :: Lens' ProjectsRegionsWorkflowTemplatesTestIAMPermissions Text-prwttipResource-  = lens _prwttipResource-      (\ s a -> s{_prwttipResource = a})---- | JSONP-prwttipCallback :: Lens' ProjectsRegionsWorkflowTemplatesTestIAMPermissions (Maybe Text)-prwttipCallback-  = lens _prwttipCallback-      (\ s a -> s{_prwttipCallback = a})--instance GoogleRequest-           ProjectsRegionsWorkflowTemplatesTestIAMPermissions-         where-        type Rs-               ProjectsRegionsWorkflowTemplatesTestIAMPermissions-             = TestIAMPermissionsResponse-        type Scopes-               ProjectsRegionsWorkflowTemplatesTestIAMPermissions-             = '["https://www.googleapis.com/auth/cloud-platform"]-        requestClient-          ProjectsRegionsWorkflowTemplatesTestIAMPermissions'{..}-          = go _prwttipResource _prwttipXgafv-              _prwttipUploadProtocol-              _prwttipAccessToken-              _prwttipUploadType-              _prwttipCallback-              (Just AltJSON)-              _prwttipPayload-              dataprocService-          where go-                  = buildClient-                      (Proxy ::-                         Proxy-                           ProjectsRegionsWorkflowTemplatesTestIAMPermissionsResource)-                      mempty
− gen/Network/Google/Resource/Dataproc/Projects/Regions/WorkflowTemplates/Update.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.Dataproc.Projects.Regions.WorkflowTemplates.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 (replaces) workflow template. The updated template must contain--- version that matches the current server version.------ /See:/ <https://cloud.google.com/dataproc/ Cloud Dataproc API Reference> for @dataproc.projects.regions.workflowTemplates.update@.-module Network.Google.Resource.Dataproc.Projects.Regions.WorkflowTemplates.Update-    (-    -- * REST Resource-      ProjectsRegionsWorkflowTemplatesUpdateResource--    -- * Creating a Request-    , projectsRegionsWorkflowTemplatesUpdate-    , ProjectsRegionsWorkflowTemplatesUpdate--    -- * Request Lenses-    , prwtuXgafv-    , prwtuUploadProtocol-    , prwtuAccessToken-    , prwtuUploadType-    , prwtuPayload-    , prwtuName-    , prwtuCallback-    ) where--import           Network.Google.Dataproc.Types-import           Network.Google.Prelude---- | A resource alias for @dataproc.projects.regions.workflowTemplates.update@ method which the--- 'ProjectsRegionsWorkflowTemplatesUpdate' request conforms to.-type ProjectsRegionsWorkflowTemplatesUpdateResource =-     "v1" :>-       Capture "name" Text :>-         QueryParam "$.xgafv" Xgafv :>-           QueryParam "upload_protocol" Text :>-             QueryParam "access_token" Text :>-               QueryParam "uploadType" Text :>-                 QueryParam "callback" Text :>-                   QueryParam "alt" AltJSON :>-                     ReqBody '[JSON] WorkflowTemplate :>-                       Put '[JSON] WorkflowTemplate---- | Updates (replaces) workflow template. The updated template must contain--- version that matches the current server version.------ /See:/ 'projectsRegionsWorkflowTemplatesUpdate' smart constructor.-data ProjectsRegionsWorkflowTemplatesUpdate =-  ProjectsRegionsWorkflowTemplatesUpdate'-    { _prwtuXgafv          :: !(Maybe Xgafv)-    , _prwtuUploadProtocol :: !(Maybe Text)-    , _prwtuAccessToken    :: !(Maybe Text)-    , _prwtuUploadType     :: !(Maybe Text)-    , _prwtuPayload        :: !WorkflowTemplate-    , _prwtuName           :: !Text-    , _prwtuCallback       :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsRegionsWorkflowTemplatesUpdate' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'prwtuXgafv'------ * 'prwtuUploadProtocol'------ * 'prwtuAccessToken'------ * 'prwtuUploadType'------ * 'prwtuPayload'------ * 'prwtuName'------ * 'prwtuCallback'-projectsRegionsWorkflowTemplatesUpdate-    :: WorkflowTemplate -- ^ 'prwtuPayload'-    -> Text -- ^ 'prwtuName'-    -> ProjectsRegionsWorkflowTemplatesUpdate-projectsRegionsWorkflowTemplatesUpdate pPrwtuPayload_ pPrwtuName_ =-  ProjectsRegionsWorkflowTemplatesUpdate'-    { _prwtuXgafv = Nothing-    , _prwtuUploadProtocol = Nothing-    , _prwtuAccessToken = Nothing-    , _prwtuUploadType = Nothing-    , _prwtuPayload = pPrwtuPayload_-    , _prwtuName = pPrwtuName_-    , _prwtuCallback = Nothing-    }----- | V1 error format.-prwtuXgafv :: Lens' ProjectsRegionsWorkflowTemplatesUpdate (Maybe Xgafv)-prwtuXgafv-  = lens _prwtuXgafv (\ s a -> s{_prwtuXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-prwtuUploadProtocol :: Lens' ProjectsRegionsWorkflowTemplatesUpdate (Maybe Text)-prwtuUploadProtocol-  = lens _prwtuUploadProtocol-      (\ s a -> s{_prwtuUploadProtocol = a})---- | OAuth access token.-prwtuAccessToken :: Lens' ProjectsRegionsWorkflowTemplatesUpdate (Maybe Text)-prwtuAccessToken-  = lens _prwtuAccessToken-      (\ s a -> s{_prwtuAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-prwtuUploadType :: Lens' ProjectsRegionsWorkflowTemplatesUpdate (Maybe Text)-prwtuUploadType-  = lens _prwtuUploadType-      (\ s a -> s{_prwtuUploadType = a})---- | Multipart request metadata.-prwtuPayload :: Lens' ProjectsRegionsWorkflowTemplatesUpdate WorkflowTemplate-prwtuPayload-  = lens _prwtuPayload (\ s a -> s{_prwtuPayload = a})---- | Output only. The \"resource name\" of the template, as described in--- https:\/\/cloud.google.com\/apis\/design\/resource_names of the form--- projects\/{project_id}\/regions\/{region}\/workflowTemplates\/{template_id}-prwtuName :: Lens' ProjectsRegionsWorkflowTemplatesUpdate Text-prwtuName-  = lens _prwtuName (\ s a -> s{_prwtuName = a})---- | JSONP-prwtuCallback :: Lens' ProjectsRegionsWorkflowTemplatesUpdate (Maybe Text)-prwtuCallback-  = lens _prwtuCallback-      (\ s a -> s{_prwtuCallback = a})--instance GoogleRequest-           ProjectsRegionsWorkflowTemplatesUpdate-         where-        type Rs ProjectsRegionsWorkflowTemplatesUpdate =-             WorkflowTemplate-        type Scopes ProjectsRegionsWorkflowTemplatesUpdate =-             '["https://www.googleapis.com/auth/cloud-platform"]-        requestClient-          ProjectsRegionsWorkflowTemplatesUpdate'{..}-          = go _prwtuName _prwtuXgafv _prwtuUploadProtocol-              _prwtuAccessToken-              _prwtuUploadType-              _prwtuCallback-              (Just AltJSON)-              _prwtuPayload-              dataprocService-          where go-                  = buildClient-                      (Proxy ::-                         Proxy ProjectsRegionsWorkflowTemplatesUpdateResource)-                      mempty
gogol-dataproc.cabal view
@@ -1,90 +1,189 @@-name:                  gogol-dataproc-version:               0.5.0-synopsis:              Google Cloud Dataproc 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-dataproc+version:            1.0.0+synopsis:           Google Cloud Dataproc 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:-    Manages Hadoop-based clusters and jobs on Google Cloud Platform.-    .-    /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 @v1@-    of the API.+  Manages Hadoop-based clusters and jobs on Google Cloud Platform.+  .+  /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 @v1@+  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-dataproc +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.Dataproc-        , Network.Google.Dataproc.Types-        , Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.Create-        , Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.Delete-        , Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.Get-        , Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.GetIAMPolicy-        , Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.Instantiate-        , Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.InstantiateInline-        , Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.List-        , Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.SetIAMPolicy-        , Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.TestIAMPermissions-        , Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.Update-        , Network.Google.Resource.Dataproc.Projects.Regions.Clusters.Create-        , Network.Google.Resource.Dataproc.Projects.Regions.Clusters.Delete-        , Network.Google.Resource.Dataproc.Projects.Regions.Clusters.Diagnose-        , Network.Google.Resource.Dataproc.Projects.Regions.Clusters.Get-        , Network.Google.Resource.Dataproc.Projects.Regions.Clusters.GetIAMPolicy-        , Network.Google.Resource.Dataproc.Projects.Regions.Clusters.List-        , Network.Google.Resource.Dataproc.Projects.Regions.Clusters.Patch-        , Network.Google.Resource.Dataproc.Projects.Regions.Clusters.SetIAMPolicy-        , Network.Google.Resource.Dataproc.Projects.Regions.Clusters.TestIAMPermissions-        , Network.Google.Resource.Dataproc.Projects.Regions.Jobs.Cancel-        , Network.Google.Resource.Dataproc.Projects.Regions.Jobs.Delete-        , Network.Google.Resource.Dataproc.Projects.Regions.Jobs.Get-        , Network.Google.Resource.Dataproc.Projects.Regions.Jobs.GetIAMPolicy-        , Network.Google.Resource.Dataproc.Projects.Regions.Jobs.List-        , Network.Google.Resource.Dataproc.Projects.Regions.Jobs.Patch-        , Network.Google.Resource.Dataproc.Projects.Regions.Jobs.SetIAMPolicy-        , Network.Google.Resource.Dataproc.Projects.Regions.Jobs.Submit-        , Network.Google.Resource.Dataproc.Projects.Regions.Jobs.TestIAMPermissions-        , Network.Google.Resource.Dataproc.Projects.Regions.Operations.Cancel-        , Network.Google.Resource.Dataproc.Projects.Regions.Operations.Delete-        , Network.Google.Resource.Dataproc.Projects.Regions.Operations.Get-        , Network.Google.Resource.Dataproc.Projects.Regions.Operations.GetIAMPolicy-        , Network.Google.Resource.Dataproc.Projects.Regions.Operations.List-        , Network.Google.Resource.Dataproc.Projects.Regions.Operations.SetIAMPolicy-        , Network.Google.Resource.Dataproc.Projects.Regions.Operations.TestIAMPermissions-        , Network.Google.Resource.Dataproc.Projects.Regions.WorkflowTemplates.Create-        , Network.Google.Resource.Dataproc.Projects.Regions.WorkflowTemplates.Delete-        , Network.Google.Resource.Dataproc.Projects.Regions.WorkflowTemplates.Get-        , Network.Google.Resource.Dataproc.Projects.Regions.WorkflowTemplates.GetIAMPolicy-        , Network.Google.Resource.Dataproc.Projects.Regions.WorkflowTemplates.Instantiate-        , Network.Google.Resource.Dataproc.Projects.Regions.WorkflowTemplates.InstantiateInline-        , Network.Google.Resource.Dataproc.Projects.Regions.WorkflowTemplates.List-        , Network.Google.Resource.Dataproc.Projects.Regions.WorkflowTemplates.SetIAMPolicy-        , Network.Google.Resource.Dataproc.Projects.Regions.WorkflowTemplates.TestIAMPermissions-        , Network.Google.Resource.Dataproc.Projects.Regions.WorkflowTemplates.Update+  exposed-modules:+    Gogol.Dataproc+    Gogol.Dataproc.Projects.Locations.AutoscalingPolicies.Create+    Gogol.Dataproc.Projects.Locations.AutoscalingPolicies.Delete+    Gogol.Dataproc.Projects.Locations.AutoscalingPolicies.Get+    Gogol.Dataproc.Projects.Locations.AutoscalingPolicies.GetIamPolicy+    Gogol.Dataproc.Projects.Locations.AutoscalingPolicies.List+    Gogol.Dataproc.Projects.Locations.AutoscalingPolicies.SetIamPolicy+    Gogol.Dataproc.Projects.Locations.AutoscalingPolicies.TestIamPermissions+    Gogol.Dataproc.Projects.Locations.AutoscalingPolicies.Update+    Gogol.Dataproc.Projects.Locations.Batches.Analyze+    Gogol.Dataproc.Projects.Locations.Batches.Create+    Gogol.Dataproc.Projects.Locations.Batches.Delete+    Gogol.Dataproc.Projects.Locations.Batches.Get+    Gogol.Dataproc.Projects.Locations.Batches.List+    Gogol.Dataproc.Projects.Locations.Batches.SparkApplications.Access+    Gogol.Dataproc.Projects.Locations.Batches.SparkApplications.AccessEnvironmentInfo+    Gogol.Dataproc.Projects.Locations.Batches.SparkApplications.AccessJob+    Gogol.Dataproc.Projects.Locations.Batches.SparkApplications.AccessSqlPlan+    Gogol.Dataproc.Projects.Locations.Batches.SparkApplications.AccessSqlQuery+    Gogol.Dataproc.Projects.Locations.Batches.SparkApplications.AccessStageAttempt+    Gogol.Dataproc.Projects.Locations.Batches.SparkApplications.AccessStageRddGraph+    Gogol.Dataproc.Projects.Locations.Batches.SparkApplications.Search+    Gogol.Dataproc.Projects.Locations.Batches.SparkApplications.SearchExecutors+    Gogol.Dataproc.Projects.Locations.Batches.SparkApplications.SearchExecutorStageSummary+    Gogol.Dataproc.Projects.Locations.Batches.SparkApplications.SearchJobs+    Gogol.Dataproc.Projects.Locations.Batches.SparkApplications.SearchSqlQueries+    Gogol.Dataproc.Projects.Locations.Batches.SparkApplications.SearchStageAttempts+    Gogol.Dataproc.Projects.Locations.Batches.SparkApplications.SearchStageAttemptTasks+    Gogol.Dataproc.Projects.Locations.Batches.SparkApplications.SearchStages+    Gogol.Dataproc.Projects.Locations.Batches.SparkApplications.SummarizeExecutors+    Gogol.Dataproc.Projects.Locations.Batches.SparkApplications.SummarizeJobs+    Gogol.Dataproc.Projects.Locations.Batches.SparkApplications.SummarizeStageAttemptTasks+    Gogol.Dataproc.Projects.Locations.Batches.SparkApplications.SummarizeStages+    Gogol.Dataproc.Projects.Locations.Batches.SparkApplications.Write+    Gogol.Dataproc.Projects.Locations.Operations.Cancel+    Gogol.Dataproc.Projects.Locations.Operations.Delete+    Gogol.Dataproc.Projects.Locations.Operations.Get+    Gogol.Dataproc.Projects.Locations.Operations.List+    Gogol.Dataproc.Projects.Locations.Sessions.Create+    Gogol.Dataproc.Projects.Locations.Sessions.Delete+    Gogol.Dataproc.Projects.Locations.Sessions.Get+    Gogol.Dataproc.Projects.Locations.Sessions.List+    Gogol.Dataproc.Projects.Locations.Sessions.SparkApplications.Access+    Gogol.Dataproc.Projects.Locations.Sessions.SparkApplications.AccessEnvironmentInfo+    Gogol.Dataproc.Projects.Locations.Sessions.SparkApplications.AccessJob+    Gogol.Dataproc.Projects.Locations.Sessions.SparkApplications.AccessSqlPlan+    Gogol.Dataproc.Projects.Locations.Sessions.SparkApplications.AccessSqlQuery+    Gogol.Dataproc.Projects.Locations.Sessions.SparkApplications.AccessStageAttempt+    Gogol.Dataproc.Projects.Locations.Sessions.SparkApplications.AccessStageRddGraph+    Gogol.Dataproc.Projects.Locations.Sessions.SparkApplications.Search+    Gogol.Dataproc.Projects.Locations.Sessions.SparkApplications.SearchExecutors+    Gogol.Dataproc.Projects.Locations.Sessions.SparkApplications.SearchExecutorStageSummary+    Gogol.Dataproc.Projects.Locations.Sessions.SparkApplications.SearchJobs+    Gogol.Dataproc.Projects.Locations.Sessions.SparkApplications.SearchSqlQueries+    Gogol.Dataproc.Projects.Locations.Sessions.SparkApplications.SearchStageAttempts+    Gogol.Dataproc.Projects.Locations.Sessions.SparkApplications.SearchStageAttemptTasks+    Gogol.Dataproc.Projects.Locations.Sessions.SparkApplications.SearchStages+    Gogol.Dataproc.Projects.Locations.Sessions.SparkApplications.SummarizeExecutors+    Gogol.Dataproc.Projects.Locations.Sessions.SparkApplications.SummarizeJobs+    Gogol.Dataproc.Projects.Locations.Sessions.SparkApplications.SummarizeStageAttemptTasks+    Gogol.Dataproc.Projects.Locations.Sessions.SparkApplications.SummarizeStages+    Gogol.Dataproc.Projects.Locations.Sessions.SparkApplications.Write+    Gogol.Dataproc.Projects.Locations.Sessions.Terminate+    Gogol.Dataproc.Projects.Locations.SessionTemplates.Create+    Gogol.Dataproc.Projects.Locations.SessionTemplates.Delete+    Gogol.Dataproc.Projects.Locations.SessionTemplates.Get+    Gogol.Dataproc.Projects.Locations.SessionTemplates.List+    Gogol.Dataproc.Projects.Locations.SessionTemplates.Patch+    Gogol.Dataproc.Projects.Locations.WorkflowTemplates.Create+    Gogol.Dataproc.Projects.Locations.WorkflowTemplates.Delete+    Gogol.Dataproc.Projects.Locations.WorkflowTemplates.Get+    Gogol.Dataproc.Projects.Locations.WorkflowTemplates.GetIamPolicy+    Gogol.Dataproc.Projects.Locations.WorkflowTemplates.Instantiate+    Gogol.Dataproc.Projects.Locations.WorkflowTemplates.InstantiateInline+    Gogol.Dataproc.Projects.Locations.WorkflowTemplates.List+    Gogol.Dataproc.Projects.Locations.WorkflowTemplates.SetIamPolicy+    Gogol.Dataproc.Projects.Locations.WorkflowTemplates.TestIamPermissions+    Gogol.Dataproc.Projects.Locations.WorkflowTemplates.Update+    Gogol.Dataproc.Projects.Regions.AutoscalingPolicies.Create+    Gogol.Dataproc.Projects.Regions.AutoscalingPolicies.Delete+    Gogol.Dataproc.Projects.Regions.AutoscalingPolicies.Get+    Gogol.Dataproc.Projects.Regions.AutoscalingPolicies.GetIamPolicy+    Gogol.Dataproc.Projects.Regions.AutoscalingPolicies.List+    Gogol.Dataproc.Projects.Regions.AutoscalingPolicies.SetIamPolicy+    Gogol.Dataproc.Projects.Regions.AutoscalingPolicies.TestIamPermissions+    Gogol.Dataproc.Projects.Regions.AutoscalingPolicies.Update+    Gogol.Dataproc.Projects.Regions.Clusters.Create+    Gogol.Dataproc.Projects.Regions.Clusters.Delete+    Gogol.Dataproc.Projects.Regions.Clusters.Diagnose+    Gogol.Dataproc.Projects.Regions.Clusters.Get+    Gogol.Dataproc.Projects.Regions.Clusters.GetIamPolicy+    Gogol.Dataproc.Projects.Regions.Clusters.InjectCredentials+    Gogol.Dataproc.Projects.Regions.Clusters.List+    Gogol.Dataproc.Projects.Regions.Clusters.NodeGroups.Create+    Gogol.Dataproc.Projects.Regions.Clusters.NodeGroups.Get+    Gogol.Dataproc.Projects.Regions.Clusters.NodeGroups.Repair+    Gogol.Dataproc.Projects.Regions.Clusters.NodeGroups.Resize+    Gogol.Dataproc.Projects.Regions.Clusters.Patch+    Gogol.Dataproc.Projects.Regions.Clusters.Repair+    Gogol.Dataproc.Projects.Regions.Clusters.SetIamPolicy+    Gogol.Dataproc.Projects.Regions.Clusters.Start+    Gogol.Dataproc.Projects.Regions.Clusters.Stop+    Gogol.Dataproc.Projects.Regions.Clusters.TestIamPermissions+    Gogol.Dataproc.Projects.Regions.Jobs.Cancel+    Gogol.Dataproc.Projects.Regions.Jobs.Delete+    Gogol.Dataproc.Projects.Regions.Jobs.Get+    Gogol.Dataproc.Projects.Regions.Jobs.GetIamPolicy+    Gogol.Dataproc.Projects.Regions.Jobs.List+    Gogol.Dataproc.Projects.Regions.Jobs.Patch+    Gogol.Dataproc.Projects.Regions.Jobs.SetIamPolicy+    Gogol.Dataproc.Projects.Regions.Jobs.Submit+    Gogol.Dataproc.Projects.Regions.Jobs.SubmitAsOperation+    Gogol.Dataproc.Projects.Regions.Jobs.TestIamPermissions+    Gogol.Dataproc.Projects.Regions.Operations.Cancel+    Gogol.Dataproc.Projects.Regions.Operations.Delete+    Gogol.Dataproc.Projects.Regions.Operations.Get+    Gogol.Dataproc.Projects.Regions.Operations.GetIamPolicy+    Gogol.Dataproc.Projects.Regions.Operations.List+    Gogol.Dataproc.Projects.Regions.Operations.SetIamPolicy+    Gogol.Dataproc.Projects.Regions.Operations.TestIamPermissions+    Gogol.Dataproc.Projects.Regions.WorkflowTemplates.Create+    Gogol.Dataproc.Projects.Regions.WorkflowTemplates.Delete+    Gogol.Dataproc.Projects.Regions.WorkflowTemplates.Get+    Gogol.Dataproc.Projects.Regions.WorkflowTemplates.GetIamPolicy+    Gogol.Dataproc.Projects.Regions.WorkflowTemplates.Instantiate+    Gogol.Dataproc.Projects.Regions.WorkflowTemplates.InstantiateInline+    Gogol.Dataproc.Projects.Regions.WorkflowTemplates.List+    Gogol.Dataproc.Projects.Regions.WorkflowTemplates.SetIamPolicy+    Gogol.Dataproc.Projects.Regions.WorkflowTemplates.TestIamPermissions+    Gogol.Dataproc.Projects.Regions.WorkflowTemplates.Update+    Gogol.Dataproc.Types -    other-modules:-          Network.Google.Dataproc.Types.Product-        , Network.Google.Dataproc.Types.Sum+  other-modules:+    Gogol.Dataproc.Internal.Product+    Gogol.Dataproc.Internal.Sum -    build-depends:-          gogol-core == 0.5.0.*-        , base       >= 4.7 && < 5+  build-depends:    gogol-core ^>=1.0.0