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) |
Safe Haskell | None |
Language | Haskell2010 |
- Service Configuration
- OAuth Scopes
- API Declaration
- Resources
- ml.projects.getConfig
- ml.projects.jobs.cancel
- ml.projects.jobs.create
- ml.projects.jobs.get
- ml.projects.jobs.getIamPolicy
- ml.projects.jobs.list
- ml.projects.jobs.patch
- ml.projects.jobs.setIamPolicy
- ml.projects.jobs.testIamPermissions
- ml.projects.locations.get
- ml.projects.locations.list
- ml.projects.models.create
- ml.projects.models.delete
- ml.projects.models.get
- ml.projects.models.getIamPolicy
- ml.projects.models.list
- ml.projects.models.patch
- ml.projects.models.setIamPolicy
- ml.projects.models.testIamPermissions
- ml.projects.models.versions.create
- ml.projects.models.versions.delete
- ml.projects.models.versions.get
- ml.projects.models.versions.list
- ml.projects.models.versions.patch
- ml.projects.models.versions.setDefault
- ml.projects.operations.cancel
- ml.projects.operations.delete
- ml.projects.operations.get
- ml.projects.operations.list
- ml.projects.predict
- Types
- GoogleIAMV1__AuditConfig
- GoogleCloudMlV1__Version
- GoogleCloudMlV1__PredictionOutput
- GoogleCloudMlV1__HyperparameterOutputHyperparameters
- GoogleCloudMlV1__PredictRequest
- GoogleCloudMlV1__ParameterSpecType
- GoogleCloudMlV1__TrainingInputScaleTier
- GoogleLongrunning__OperationResponse
- GoogleCloudMlV1__ParameterSpecScaleType
- GoogleIAMV1__AuditLogConfig
- GoogleCloudMlV1__VersionFramework
- GoogleCloudMlV1__ListModelsResponse
- GoogleCloudMlV1__VersionState
- GoogleLongrunning__ListOperationsResponse
- GoogleCloudMlV1__AcceleratorConfig
- GoogleIAMV1__Policy
- GoogleIAMV1__TestIAMPermissionsResponse
- GoogleCloudMlV1__HyperparameterSpecAlgorithm
- GoogleCloudMlV1__ListJobsResponse
- GoogleCloudMlV1__ListVersionsResponse
- GoogleType__Expr
- GoogleCloudMlV1__JobState
- GoogleCloudMlV1__PredictionInputDataFormat
- GoogleCloudMlV1__CapabilityType
- GoogleCloudMlV1__HyperparameterOutput
- GoogleCloudMlV1__GetConfigResponse
- GoogleCloudMlV1__PredictionInputOutputDataFormat
- GoogleCloudMlV1__ManualScaling
- GoogleLongrunning__Operation
- GoogleCloudMlV1__Model
- GoogleCloudMlV1__Job
- GoogleCloudMlV1__HyperparameterSpecGoal
- GoogleCloudMlV1__SetDefaultVersionRequest
- GoogleCloudMlV1__ModelLabels
- GoogleIAMV1__AuditLogConfigLogType
- GoogleCloudMlV1__JobLabels
- GoogleRpc__Status
- GoogleCloudMlV1__Config
- GoogleCloudMlV1__HyperparameterSpec
- GoogleCloudMlV1__AutoScaling
- GoogleLongrunning__OperationMetadata
- GoogleCloudMlV1__ParameterSpec
- Xgafv
- GoogleIAMV1__Binding
- GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric
- GoogleIAMV1__SetIAMPolicyRequest
- GoogleCloudMlV1__PredictionInput
- GoogleCloudMlV1__TrainingInput
- GoogleRpc__StatusDetailsItem
- GoogleCloudMlV1__OperationMetadataOperationType
- GoogleProtobuf__Empty
- GoogleCloudMlV1__Location
- GoogleCloudMlV1__OperationMetadataLabels
- GoogleCloudMlV1__AcceleratorConfigType
- GoogleCloudMlV1__Capability
- GoogleCloudMlV1__OperationMetadata
- GoogleAPI__HTTPBodyExtensionsItem
- GoogleCloudMlV1__CancelJobRequest
- GoogleCloudMlV1__TrainingOutput
- GoogleAPI__HTTPBody
- GoogleIAMV1__TestIAMPermissionsRequest
- GoogleCloudMlV1__ListLocationsResponse
- GoogleCloudMlV1__VersionLabels
An API to enable creating and using machine learning models.
Synopsis
- machineLearningService :: ServiceConfig
- cloudPlatformScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform"]
- type MachineLearningAPI = ProjectsModelsVersionsListResource :<|> (ProjectsModelsVersionsPatchResource :<|> (ProjectsModelsVersionsGetResource :<|> (ProjectsModelsVersionsSetDefaultResource :<|> (ProjectsModelsVersionsCreateResource :<|> (ProjectsModelsVersionsDeleteResource :<|> (ProjectsModelsListResource :<|> (ProjectsModelsGetIAMPolicyResource :<|> (ProjectsModelsPatchResource :<|> (ProjectsModelsGetResource :<|> (ProjectsModelsCreateResource :<|> (ProjectsModelsSetIAMPolicyResource :<|> (ProjectsModelsTestIAMPermissionsResource :<|> (ProjectsModelsDeleteResource :<|> (ProjectsJobsListResource :<|> (ProjectsJobsGetIAMPolicyResource :<|> (ProjectsJobsPatchResource :<|> (ProjectsJobsGetResource :<|> (ProjectsJobsCreateResource :<|> (ProjectsJobsSetIAMPolicyResource :<|> (ProjectsJobsTestIAMPermissionsResource :<|> (ProjectsJobsCancelResource :<|> (ProjectsOperationsListResource :<|> (ProjectsOperationsGetResource :<|> (ProjectsOperationsCancelResource :<|> (ProjectsOperationsDeleteResource :<|> (ProjectsLocationsListResource :<|> (ProjectsLocationsGetResource :<|> (ProjectsGetConfigResource :<|> ProjectsPredictResource))))))))))))))))))))))))))))
- module Network.Google.Resource.Ml.Projects.GetConfig
- module Network.Google.Resource.Ml.Projects.Jobs.Cancel
- module Network.Google.Resource.Ml.Projects.Jobs.Create
- module Network.Google.Resource.Ml.Projects.Jobs.Get
- module Network.Google.Resource.Ml.Projects.Jobs.GetIAMPolicy
- module Network.Google.Resource.Ml.Projects.Jobs.List
- module Network.Google.Resource.Ml.Projects.Jobs.Patch
- module Network.Google.Resource.Ml.Projects.Jobs.SetIAMPolicy
- module Network.Google.Resource.Ml.Projects.Jobs.TestIAMPermissions
- module Network.Google.Resource.Ml.Projects.Locations.Get
- module Network.Google.Resource.Ml.Projects.Locations.List
- module Network.Google.Resource.Ml.Projects.Models.Create
- module Network.Google.Resource.Ml.Projects.Models.Delete
- module Network.Google.Resource.Ml.Projects.Models.Get
- module Network.Google.Resource.Ml.Projects.Models.GetIAMPolicy
- module Network.Google.Resource.Ml.Projects.Models.List
- module Network.Google.Resource.Ml.Projects.Models.Patch
- module Network.Google.Resource.Ml.Projects.Models.SetIAMPolicy
- module Network.Google.Resource.Ml.Projects.Models.TestIAMPermissions
- module Network.Google.Resource.Ml.Projects.Models.Versions.Create
- module Network.Google.Resource.Ml.Projects.Models.Versions.Delete
- module Network.Google.Resource.Ml.Projects.Models.Versions.Get
- module Network.Google.Resource.Ml.Projects.Models.Versions.List
- module Network.Google.Resource.Ml.Projects.Models.Versions.Patch
- module Network.Google.Resource.Ml.Projects.Models.Versions.SetDefault
- module Network.Google.Resource.Ml.Projects.Operations.Cancel
- module Network.Google.Resource.Ml.Projects.Operations.Delete
- module Network.Google.Resource.Ml.Projects.Operations.Get
- module Network.Google.Resource.Ml.Projects.Operations.List
- module Network.Google.Resource.Ml.Projects.Predict
- data GoogleIAMV1__AuditConfig
- googleIAMV1__AuditConfig :: GoogleIAMV1__AuditConfig
- givacService :: Lens' GoogleIAMV1__AuditConfig (Maybe Text)
- givacAuditLogConfigs :: Lens' GoogleIAMV1__AuditConfig [GoogleIAMV1__AuditLogConfig]
- data GoogleCloudMlV1__Version
- googleCloudMlV1__Version :: GoogleCloudMlV1__Version
- gcmvvFramework :: Lens' GoogleCloudMlV1__Version (Maybe GoogleCloudMlV1__VersionFramework)
- gcmvvEtag :: Lens' GoogleCloudMlV1__Version (Maybe ByteString)
- gcmvvState :: Lens' GoogleCloudMlV1__Version (Maybe GoogleCloudMlV1__VersionState)
- gcmvvAutoScaling :: Lens' GoogleCloudMlV1__Version (Maybe GoogleCloudMlV1__AutoScaling)
- gcmvvPythonVersion :: Lens' GoogleCloudMlV1__Version (Maybe Text)
- gcmvvRuntimeVersion :: Lens' GoogleCloudMlV1__Version (Maybe Text)
- gcmvvLastUseTime :: Lens' GoogleCloudMlV1__Version (Maybe UTCTime)
- gcmvvName :: Lens' GoogleCloudMlV1__Version (Maybe Text)
- gcmvvDeploymentURI :: Lens' GoogleCloudMlV1__Version (Maybe Text)
- gcmvvManualScaling :: Lens' GoogleCloudMlV1__Version (Maybe GoogleCloudMlV1__ManualScaling)
- gcmvvMachineType :: Lens' GoogleCloudMlV1__Version (Maybe Text)
- gcmvvLabels :: Lens' GoogleCloudMlV1__Version (Maybe GoogleCloudMlV1__VersionLabels)
- gcmvvErrorMessage :: Lens' GoogleCloudMlV1__Version (Maybe Text)
- gcmvvDescription :: Lens' GoogleCloudMlV1__Version (Maybe Text)
- gcmvvCreateTime :: Lens' GoogleCloudMlV1__Version (Maybe UTCTime)
- gcmvvIsDefault :: Lens' GoogleCloudMlV1__Version (Maybe Bool)
- data GoogleCloudMlV1__PredictionOutput
- googleCloudMlV1__PredictionOutput :: GoogleCloudMlV1__PredictionOutput
- gcmvpoNodeHours :: Lens' GoogleCloudMlV1__PredictionOutput (Maybe Double)
- gcmvpoErrorCount :: Lens' GoogleCloudMlV1__PredictionOutput (Maybe Int64)
- gcmvpoPredictionCount :: Lens' GoogleCloudMlV1__PredictionOutput (Maybe Int64)
- gcmvpoOutputPath :: Lens' GoogleCloudMlV1__PredictionOutput (Maybe Text)
- data GoogleCloudMlV1__HyperparameterOutputHyperparameters
- googleCloudMlV1__HyperparameterOutputHyperparameters :: HashMap Text Text -> GoogleCloudMlV1__HyperparameterOutputHyperparameters
- gcmvhohAddtional :: Lens' GoogleCloudMlV1__HyperparameterOutputHyperparameters (HashMap Text Text)
- data GoogleCloudMlV1__PredictRequest
- googleCloudMlV1__PredictRequest :: GoogleCloudMlV1__PredictRequest
- gcmvprHTTPBody :: Lens' GoogleCloudMlV1__PredictRequest (Maybe GoogleAPI__HTTPBody)
- data GoogleCloudMlV1__ParameterSpecType
- data GoogleCloudMlV1__TrainingInputScaleTier
- data GoogleLongrunning__OperationResponse
- googleLongrunning__OperationResponse :: HashMap Text JSONValue -> GoogleLongrunning__OperationResponse
- glorAddtional :: Lens' GoogleLongrunning__OperationResponse (HashMap Text JSONValue)
- data GoogleCloudMlV1__ParameterSpecScaleType
- data GoogleIAMV1__AuditLogConfig
- googleIAMV1__AuditLogConfig :: GoogleIAMV1__AuditLogConfig
- givalcLogType :: Lens' GoogleIAMV1__AuditLogConfig (Maybe GoogleIAMV1__AuditLogConfigLogType)
- givalcExemptedMembers :: Lens' GoogleIAMV1__AuditLogConfig [Text]
- data GoogleCloudMlV1__VersionFramework
- data GoogleCloudMlV1__ListModelsResponse
- googleCloudMlV1__ListModelsResponse :: GoogleCloudMlV1__ListModelsResponse
- gcmvlmrNextPageToken :: Lens' GoogleCloudMlV1__ListModelsResponse (Maybe Text)
- gcmvlmrModels :: Lens' GoogleCloudMlV1__ListModelsResponse [GoogleCloudMlV1__Model]
- data GoogleCloudMlV1__VersionState
- data GoogleLongrunning__ListOperationsResponse
- googleLongrunning__ListOperationsResponse :: GoogleLongrunning__ListOperationsResponse
- gllorNextPageToken :: Lens' GoogleLongrunning__ListOperationsResponse (Maybe Text)
- gllorOperations :: Lens' GoogleLongrunning__ListOperationsResponse [GoogleLongrunning__Operation]
- data GoogleCloudMlV1__AcceleratorConfig
- googleCloudMlV1__AcceleratorConfig :: GoogleCloudMlV1__AcceleratorConfig
- gcmvacCount :: Lens' GoogleCloudMlV1__AcceleratorConfig (Maybe Int64)
- gcmvacType :: Lens' GoogleCloudMlV1__AcceleratorConfig (Maybe GoogleCloudMlV1__AcceleratorConfigType)
- data GoogleIAMV1__Policy
- googleIAMV1__Policy :: GoogleIAMV1__Policy
- givpAuditConfigs :: Lens' GoogleIAMV1__Policy [GoogleIAMV1__AuditConfig]
- givpEtag :: Lens' GoogleIAMV1__Policy (Maybe ByteString)
- givpVersion :: Lens' GoogleIAMV1__Policy (Maybe Int32)
- givpBindings :: Lens' GoogleIAMV1__Policy [GoogleIAMV1__Binding]
- data GoogleIAMV1__TestIAMPermissionsResponse
- googleIAMV1__TestIAMPermissionsResponse :: GoogleIAMV1__TestIAMPermissionsResponse
- givtiprPermissions :: Lens' GoogleIAMV1__TestIAMPermissionsResponse [Text]
- data GoogleCloudMlV1__HyperparameterSpecAlgorithm
- data GoogleCloudMlV1__ListJobsResponse
- googleCloudMlV1__ListJobsResponse :: GoogleCloudMlV1__ListJobsResponse
- gcmvljrNextPageToken :: Lens' GoogleCloudMlV1__ListJobsResponse (Maybe Text)
- gcmvljrJobs :: Lens' GoogleCloudMlV1__ListJobsResponse [GoogleCloudMlV1__Job]
- data GoogleCloudMlV1__ListVersionsResponse
- googleCloudMlV1__ListVersionsResponse :: GoogleCloudMlV1__ListVersionsResponse
- gcmvlvrNextPageToken :: Lens' GoogleCloudMlV1__ListVersionsResponse (Maybe Text)
- gcmvlvrVersions :: Lens' GoogleCloudMlV1__ListVersionsResponse [GoogleCloudMlV1__Version]
- data GoogleType__Expr
- googleType__Expr :: GoogleType__Expr
- gteLocation :: Lens' GoogleType__Expr (Maybe Text)
- gteExpression :: Lens' GoogleType__Expr (Maybe Text)
- gteTitle :: Lens' GoogleType__Expr (Maybe Text)
- gteDescription :: Lens' GoogleType__Expr (Maybe Text)
- data GoogleCloudMlV1__JobState
- data GoogleCloudMlV1__PredictionInputDataFormat
- data GoogleCloudMlV1__CapabilityType
- data GoogleCloudMlV1__HyperparameterOutput
- googleCloudMlV1__HyperparameterOutput :: GoogleCloudMlV1__HyperparameterOutput
- gcmvhoIsTrialStoppedEarly :: Lens' GoogleCloudMlV1__HyperparameterOutput (Maybe Bool)
- gcmvhoAllMetrics :: Lens' GoogleCloudMlV1__HyperparameterOutput [GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric]
- gcmvhoHyperparameters :: Lens' GoogleCloudMlV1__HyperparameterOutput (Maybe GoogleCloudMlV1__HyperparameterOutputHyperparameters)
- gcmvhoTrialId :: Lens' GoogleCloudMlV1__HyperparameterOutput (Maybe Text)
- gcmvhoFinalMetric :: Lens' GoogleCloudMlV1__HyperparameterOutput (Maybe GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric)
- data GoogleCloudMlV1__GetConfigResponse
- googleCloudMlV1__GetConfigResponse :: GoogleCloudMlV1__GetConfigResponse
- gcmvgcrConfig :: Lens' GoogleCloudMlV1__GetConfigResponse (Maybe GoogleCloudMlV1__Config)
- gcmvgcrServiceAccount :: Lens' GoogleCloudMlV1__GetConfigResponse (Maybe Text)
- gcmvgcrServiceAccountProject :: Lens' GoogleCloudMlV1__GetConfigResponse (Maybe Int64)
- data GoogleCloudMlV1__PredictionInputOutputDataFormat
- data GoogleCloudMlV1__ManualScaling
- googleCloudMlV1__ManualScaling :: GoogleCloudMlV1__ManualScaling
- gcmvmsNodes :: Lens' GoogleCloudMlV1__ManualScaling (Maybe Int32)
- data GoogleLongrunning__Operation
- googleLongrunning__Operation :: GoogleLongrunning__Operation
- gloDone :: Lens' GoogleLongrunning__Operation (Maybe Bool)
- gloError :: Lens' GoogleLongrunning__Operation (Maybe GoogleRpc__Status)
- gloResponse :: Lens' GoogleLongrunning__Operation (Maybe GoogleLongrunning__OperationResponse)
- gloName :: Lens' GoogleLongrunning__Operation (Maybe Text)
- gloMetadata :: Lens' GoogleLongrunning__Operation (Maybe GoogleLongrunning__OperationMetadata)
- data GoogleCloudMlV1__Model
- googleCloudMlV1__Model :: GoogleCloudMlV1__Model
- gcmvmEtag :: Lens' GoogleCloudMlV1__Model (Maybe ByteString)
- gcmvmRegions :: Lens' GoogleCloudMlV1__Model [Text]
- gcmvmDefaultVersion :: Lens' GoogleCloudMlV1__Model (Maybe GoogleCloudMlV1__Version)
- gcmvmName :: Lens' GoogleCloudMlV1__Model (Maybe Text)
- gcmvmLabels :: Lens' GoogleCloudMlV1__Model (Maybe GoogleCloudMlV1__ModelLabels)
- gcmvmDescription :: Lens' GoogleCloudMlV1__Model (Maybe Text)
- gcmvmOnlinePredictionLogging :: Lens' GoogleCloudMlV1__Model (Maybe Bool)
- data GoogleCloudMlV1__Job
- googleCloudMlV1__Job :: GoogleCloudMlV1__Job
- gcmvjEtag :: Lens' GoogleCloudMlV1__Job (Maybe ByteString)
- gcmvjState :: Lens' GoogleCloudMlV1__Job (Maybe GoogleCloudMlV1__JobState)
- gcmvjTrainingOutput :: Lens' GoogleCloudMlV1__Job (Maybe GoogleCloudMlV1__TrainingOutput)
- gcmvjJobId :: Lens' GoogleCloudMlV1__Job (Maybe Text)
- gcmvjStartTime :: Lens' GoogleCloudMlV1__Job (Maybe UTCTime)
- gcmvjPredictionInput :: Lens' GoogleCloudMlV1__Job (Maybe GoogleCloudMlV1__PredictionInput)
- gcmvjEndTime :: Lens' GoogleCloudMlV1__Job (Maybe UTCTime)
- gcmvjPredictionOutput :: Lens' GoogleCloudMlV1__Job (Maybe GoogleCloudMlV1__PredictionOutput)
- gcmvjLabels :: Lens' GoogleCloudMlV1__Job (Maybe GoogleCloudMlV1__JobLabels)
- gcmvjErrorMessage :: Lens' GoogleCloudMlV1__Job (Maybe Text)
- gcmvjTrainingInput :: Lens' GoogleCloudMlV1__Job (Maybe GoogleCloudMlV1__TrainingInput)
- gcmvjCreateTime :: Lens' GoogleCloudMlV1__Job (Maybe UTCTime)
- data GoogleCloudMlV1__HyperparameterSpecGoal
- data GoogleCloudMlV1__SetDefaultVersionRequest
- googleCloudMlV1__SetDefaultVersionRequest :: GoogleCloudMlV1__SetDefaultVersionRequest
- data GoogleCloudMlV1__ModelLabels
- googleCloudMlV1__ModelLabels :: HashMap Text Text -> GoogleCloudMlV1__ModelLabels
- gcmvmlAddtional :: Lens' GoogleCloudMlV1__ModelLabels (HashMap Text Text)
- data GoogleIAMV1__AuditLogConfigLogType
- data GoogleCloudMlV1__JobLabels
- googleCloudMlV1__JobLabels :: HashMap Text Text -> GoogleCloudMlV1__JobLabels
- gcmvjlAddtional :: Lens' GoogleCloudMlV1__JobLabels (HashMap Text Text)
- data GoogleRpc__Status
- googleRpc__Status :: GoogleRpc__Status
- grsDetails :: Lens' GoogleRpc__Status [GoogleRpc__StatusDetailsItem]
- grsCode :: Lens' GoogleRpc__Status (Maybe Int32)
- grsMessage :: Lens' GoogleRpc__Status (Maybe Text)
- data GoogleCloudMlV1__Config
- googleCloudMlV1__Config :: GoogleCloudMlV1__Config
- gcmvcTpuServiceAccount :: Lens' GoogleCloudMlV1__Config (Maybe Text)
- data GoogleCloudMlV1__HyperparameterSpec
- googleCloudMlV1__HyperparameterSpec :: GoogleCloudMlV1__HyperparameterSpec
- gcmvhsResumePreviousJobId :: Lens' GoogleCloudMlV1__HyperparameterSpec (Maybe Text)
- gcmvhsParams :: Lens' GoogleCloudMlV1__HyperparameterSpec [GoogleCloudMlV1__ParameterSpec]
- gcmvhsAlgorithm :: Lens' GoogleCloudMlV1__HyperparameterSpec (Maybe GoogleCloudMlV1__HyperparameterSpecAlgorithm)
- gcmvhsGoal :: Lens' GoogleCloudMlV1__HyperparameterSpec (Maybe GoogleCloudMlV1__HyperparameterSpecGoal)
- gcmvhsMaxTrials :: Lens' GoogleCloudMlV1__HyperparameterSpec (Maybe Int32)
- gcmvhsEnableTrialEarlyStopping :: Lens' GoogleCloudMlV1__HyperparameterSpec (Maybe Bool)
- gcmvhsMaxParallelTrials :: Lens' GoogleCloudMlV1__HyperparameterSpec (Maybe Int32)
- gcmvhsHyperparameterMetricTag :: Lens' GoogleCloudMlV1__HyperparameterSpec (Maybe Text)
- data GoogleCloudMlV1__AutoScaling
- googleCloudMlV1__AutoScaling :: GoogleCloudMlV1__AutoScaling
- gcmvasMinNodes :: Lens' GoogleCloudMlV1__AutoScaling (Maybe Int32)
- data GoogleLongrunning__OperationMetadata
- googleLongrunning__OperationMetadata :: HashMap Text JSONValue -> GoogleLongrunning__OperationMetadata
- glomAddtional :: Lens' GoogleLongrunning__OperationMetadata (HashMap Text JSONValue)
- data GoogleCloudMlV1__ParameterSpec
- googleCloudMlV1__ParameterSpec :: GoogleCloudMlV1__ParameterSpec
- gcmvpsMaxValue :: Lens' GoogleCloudMlV1__ParameterSpec (Maybe Double)
- gcmvpsScaleType :: Lens' GoogleCloudMlV1__ParameterSpec (Maybe GoogleCloudMlV1__ParameterSpecScaleType)
- gcmvpsType :: Lens' GoogleCloudMlV1__ParameterSpec (Maybe GoogleCloudMlV1__ParameterSpecType)
- gcmvpsDiscreteValues :: Lens' GoogleCloudMlV1__ParameterSpec [Double]
- gcmvpsParameterName :: Lens' GoogleCloudMlV1__ParameterSpec (Maybe Text)
- gcmvpsCategoricalValues :: Lens' GoogleCloudMlV1__ParameterSpec [Text]
- gcmvpsMinValue :: Lens' GoogleCloudMlV1__ParameterSpec (Maybe Double)
- data Xgafv
- data GoogleIAMV1__Binding
- googleIAMV1__Binding :: GoogleIAMV1__Binding
- givbMembers :: Lens' GoogleIAMV1__Binding [Text]
- givbRole :: Lens' GoogleIAMV1__Binding (Maybe Text)
- givbCondition :: Lens' GoogleIAMV1__Binding (Maybe GoogleType__Expr)
- data GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric
- googleCloudMlV1_HyperparameterOutput_HyperparameterMetric :: GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric
- gcmvhohmTrainingStep :: Lens' GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric (Maybe Int64)
- gcmvhohmObjectiveValue :: Lens' GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric (Maybe Double)
- data GoogleIAMV1__SetIAMPolicyRequest
- googleIAMV1__SetIAMPolicyRequest :: GoogleIAMV1__SetIAMPolicyRequest
- givsiprUpdateMask :: Lens' GoogleIAMV1__SetIAMPolicyRequest (Maybe GFieldMask)
- givsiprPolicy :: Lens' GoogleIAMV1__SetIAMPolicyRequest (Maybe GoogleIAMV1__Policy)
- data GoogleCloudMlV1__PredictionInput
- googleCloudMlV1__PredictionInput :: GoogleCloudMlV1__PredictionInput
- gcmvpiVersionName :: Lens' GoogleCloudMlV1__PredictionInput (Maybe Text)
- gcmvpiModelName :: Lens' GoogleCloudMlV1__PredictionInput (Maybe Text)
- gcmvpiDataFormat :: Lens' GoogleCloudMlV1__PredictionInput (Maybe GoogleCloudMlV1__PredictionInputDataFormat)
- gcmvpiURI :: Lens' GoogleCloudMlV1__PredictionInput (Maybe Text)
- gcmvpiRuntimeVersion :: Lens' GoogleCloudMlV1__PredictionInput (Maybe Text)
- gcmvpiBatchSize :: Lens' GoogleCloudMlV1__PredictionInput (Maybe Int64)
- gcmvpiMaxWorkerCount :: Lens' GoogleCloudMlV1__PredictionInput (Maybe Int64)
- gcmvpiOutputDataFormat :: Lens' GoogleCloudMlV1__PredictionInput (Maybe GoogleCloudMlV1__PredictionInputOutputDataFormat)
- gcmvpiAccelerator :: Lens' GoogleCloudMlV1__PredictionInput (Maybe GoogleCloudMlV1__AcceleratorConfig)
- gcmvpiOutputPath :: Lens' GoogleCloudMlV1__PredictionInput (Maybe Text)
- gcmvpiRegion :: Lens' GoogleCloudMlV1__PredictionInput (Maybe Text)
- gcmvpiInputPaths :: Lens' GoogleCloudMlV1__PredictionInput [Text]
- gcmvpiSignatureName :: Lens' GoogleCloudMlV1__PredictionInput (Maybe Text)
- data GoogleCloudMlV1__TrainingInput
- googleCloudMlV1__TrainingInput :: GoogleCloudMlV1__TrainingInput
- gcmvtiMasterType :: Lens' GoogleCloudMlV1__TrainingInput (Maybe Text)
- gcmvtiParameterServerCount :: Lens' GoogleCloudMlV1__TrainingInput (Maybe Int64)
- gcmvtiArgs :: Lens' GoogleCloudMlV1__TrainingInput [Text]
- gcmvtiWorkerCount :: Lens' GoogleCloudMlV1__TrainingInput (Maybe Int64)
- gcmvtiJobDir :: Lens' GoogleCloudMlV1__TrainingInput (Maybe Text)
- gcmvtiPythonVersion :: Lens' GoogleCloudMlV1__TrainingInput (Maybe Text)
- gcmvtiRuntimeVersion :: Lens' GoogleCloudMlV1__TrainingInput (Maybe Text)
- gcmvtiWorkerType :: Lens' GoogleCloudMlV1__TrainingInput (Maybe Text)
- gcmvtiPythonModule :: Lens' GoogleCloudMlV1__TrainingInput (Maybe Text)
- gcmvtiParameterServerType :: Lens' GoogleCloudMlV1__TrainingInput (Maybe Text)
- gcmvtiHyperparameters :: Lens' GoogleCloudMlV1__TrainingInput (Maybe GoogleCloudMlV1__HyperparameterSpec)
- gcmvtiPackageURIs :: Lens' GoogleCloudMlV1__TrainingInput [Text]
- gcmvtiScaleTier :: Lens' GoogleCloudMlV1__TrainingInput (Maybe GoogleCloudMlV1__TrainingInputScaleTier)
- gcmvtiRegion :: Lens' GoogleCloudMlV1__TrainingInput (Maybe Text)
- data GoogleRpc__StatusDetailsItem
- googleRpc__StatusDetailsItem :: HashMap Text JSONValue -> GoogleRpc__StatusDetailsItem
- grsdiAddtional :: Lens' GoogleRpc__StatusDetailsItem (HashMap Text JSONValue)
- data GoogleCloudMlV1__OperationMetadataOperationType
- data GoogleProtobuf__Empty
- googleProtobuf__Empty :: GoogleProtobuf__Empty
- data GoogleCloudMlV1__Location
- googleCloudMlV1__Location :: GoogleCloudMlV1__Location
- gcmvlName :: Lens' GoogleCloudMlV1__Location (Maybe Text)
- gcmvlCapabilities :: Lens' GoogleCloudMlV1__Location [GoogleCloudMlV1__Capability]
- data GoogleCloudMlV1__OperationMetadataLabels
- googleCloudMlV1__OperationMetadataLabels :: HashMap Text Text -> GoogleCloudMlV1__OperationMetadataLabels
- gcmvomlAddtional :: Lens' GoogleCloudMlV1__OperationMetadataLabels (HashMap Text Text)
- data GoogleCloudMlV1__AcceleratorConfigType
- data GoogleCloudMlV1__Capability
- googleCloudMlV1__Capability :: GoogleCloudMlV1__Capability
- gcmvcAvailableAccelerators :: Lens' GoogleCloudMlV1__Capability [Text]
- gcmvcType :: Lens' GoogleCloudMlV1__Capability (Maybe GoogleCloudMlV1__CapabilityType)
- data GoogleCloudMlV1__OperationMetadata
- googleCloudMlV1__OperationMetadata :: GoogleCloudMlV1__OperationMetadata
- gcmvomStartTime :: Lens' GoogleCloudMlV1__OperationMetadata (Maybe UTCTime)
- gcmvomModelName :: Lens' GoogleCloudMlV1__OperationMetadata (Maybe Text)
- gcmvomProjectNumber :: Lens' GoogleCloudMlV1__OperationMetadata (Maybe Int64)
- gcmvomVersion :: Lens' GoogleCloudMlV1__OperationMetadata (Maybe GoogleCloudMlV1__Version)
- gcmvomEndTime :: Lens' GoogleCloudMlV1__OperationMetadata (Maybe UTCTime)
- gcmvomIsCancellationRequested :: Lens' GoogleCloudMlV1__OperationMetadata (Maybe Bool)
- gcmvomLabels :: Lens' GoogleCloudMlV1__OperationMetadata (Maybe GoogleCloudMlV1__OperationMetadataLabels)
- gcmvomOperationType :: Lens' GoogleCloudMlV1__OperationMetadata (Maybe GoogleCloudMlV1__OperationMetadataOperationType)
- gcmvomCreateTime :: Lens' GoogleCloudMlV1__OperationMetadata (Maybe UTCTime)
- data GoogleAPI__HTTPBodyExtensionsItem
- googleAPI__HTTPBodyExtensionsItem :: HashMap Text JSONValue -> GoogleAPI__HTTPBodyExtensionsItem
- gahttpbeiAddtional :: Lens' GoogleAPI__HTTPBodyExtensionsItem (HashMap Text JSONValue)
- data GoogleCloudMlV1__CancelJobRequest
- googleCloudMlV1__CancelJobRequest :: GoogleCloudMlV1__CancelJobRequest
- data GoogleCloudMlV1__TrainingOutput
- googleCloudMlV1__TrainingOutput :: GoogleCloudMlV1__TrainingOutput
- gcmvtoIsHyperparameterTuningJob :: Lens' GoogleCloudMlV1__TrainingOutput (Maybe Bool)
- gcmvtoCompletedTrialCount :: Lens' GoogleCloudMlV1__TrainingOutput (Maybe Int64)
- gcmvtoConsumedMLUnits :: Lens' GoogleCloudMlV1__TrainingOutput (Maybe Double)
- gcmvtoTrials :: Lens' GoogleCloudMlV1__TrainingOutput [GoogleCloudMlV1__HyperparameterOutput]
- data GoogleAPI__HTTPBody
- googleAPI__HTTPBody :: GoogleAPI__HTTPBody
- gahttpbExtensions :: Lens' GoogleAPI__HTTPBody [GoogleAPI__HTTPBodyExtensionsItem]
- gahttpbData :: Lens' GoogleAPI__HTTPBody (Maybe ByteString)
- gahttpbContentType :: Lens' GoogleAPI__HTTPBody (Maybe Text)
- data GoogleIAMV1__TestIAMPermissionsRequest
- googleIAMV1__TestIAMPermissionsRequest :: GoogleIAMV1__TestIAMPermissionsRequest
- giamvtiamprPermissions :: Lens' GoogleIAMV1__TestIAMPermissionsRequest [Text]
- data GoogleCloudMlV1__ListLocationsResponse
- googleCloudMlV1__ListLocationsResponse :: GoogleCloudMlV1__ListLocationsResponse
- gcmvllrNextPageToken :: Lens' GoogleCloudMlV1__ListLocationsResponse (Maybe Text)
- gcmvllrLocations :: Lens' GoogleCloudMlV1__ListLocationsResponse [GoogleCloudMlV1__Location]
- data GoogleCloudMlV1__VersionLabels
- googleCloudMlV1__VersionLabels :: HashMap Text Text -> GoogleCloudMlV1__VersionLabels
- gcmvvlAddtional :: Lens' GoogleCloudMlV1__VersionLabels (HashMap Text Text)
Service Configuration
machineLearningService :: ServiceConfig Source #
Default request referring to version v1
of the Cloud Machine Learning Engine. This contains the host and root path used as a starting point for constructing service requests.
OAuth Scopes
cloudPlatformScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform"] Source #
View and manage your data across Google Cloud Platform services
API Declaration
type MachineLearningAPI = ProjectsModelsVersionsListResource :<|> (ProjectsModelsVersionsPatchResource :<|> (ProjectsModelsVersionsGetResource :<|> (ProjectsModelsVersionsSetDefaultResource :<|> (ProjectsModelsVersionsCreateResource :<|> (ProjectsModelsVersionsDeleteResource :<|> (ProjectsModelsListResource :<|> (ProjectsModelsGetIAMPolicyResource :<|> (ProjectsModelsPatchResource :<|> (ProjectsModelsGetResource :<|> (ProjectsModelsCreateResource :<|> (ProjectsModelsSetIAMPolicyResource :<|> (ProjectsModelsTestIAMPermissionsResource :<|> (ProjectsModelsDeleteResource :<|> (ProjectsJobsListResource :<|> (ProjectsJobsGetIAMPolicyResource :<|> (ProjectsJobsPatchResource :<|> (ProjectsJobsGetResource :<|> (ProjectsJobsCreateResource :<|> (ProjectsJobsSetIAMPolicyResource :<|> (ProjectsJobsTestIAMPermissionsResource :<|> (ProjectsJobsCancelResource :<|> (ProjectsOperationsListResource :<|> (ProjectsOperationsGetResource :<|> (ProjectsOperationsCancelResource :<|> (ProjectsOperationsDeleteResource :<|> (ProjectsLocationsListResource :<|> (ProjectsLocationsGetResource :<|> (ProjectsGetConfigResource :<|> ProjectsPredictResource)))))))))))))))))))))))))))) Source #
Represents the entirety of the methods and resources available for the Cloud Machine Learning Engine service.
Resources
ml.projects.getConfig
ml.projects.jobs.cancel
ml.projects.jobs.create
ml.projects.jobs.get
ml.projects.jobs.getIamPolicy
ml.projects.jobs.list
ml.projects.jobs.patch
ml.projects.jobs.setIamPolicy
ml.projects.jobs.testIamPermissions
ml.projects.locations.get
ml.projects.locations.list
ml.projects.models.create
ml.projects.models.delete
ml.projects.models.get
ml.projects.models.getIamPolicy
ml.projects.models.list
ml.projects.models.patch
ml.projects.models.setIamPolicy
ml.projects.models.testIamPermissions
ml.projects.models.versions.create
ml.projects.models.versions.delete
ml.projects.models.versions.get
ml.projects.models.versions.list
ml.projects.models.versions.patch
ml.projects.models.versions.setDefault
ml.projects.operations.cancel
ml.projects.operations.delete
ml.projects.operations.get
ml.projects.operations.list
ml.projects.predict
Types
GoogleIAMV1__AuditConfig
data GoogleIAMV1__AuditConfig Source #
Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices" "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:foo'gmail.com" ] }, { "log_type": "DATA_WRITE", }, { "log_type": "ADMIN_READ", } ] }, { "service": "fooservice.googleapis.com" "audit_log_configs": [ { "log_type": "DATA_READ", }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:bar'gmail.com" ] } ] } ] } For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts foo'gmail.com from DATA_READ logging, and bar'gmail.com from DATA_WRITE logging.
See: googleIAMV1__AuditConfig
smart constructor.
Instances
googleIAMV1__AuditConfig :: GoogleIAMV1__AuditConfig Source #
Creates a value of GoogleIAMV1__AuditConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
givacService :: Lens' GoogleIAMV1__AuditConfig (Maybe Text) Source #
Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.
givacAuditLogConfigs :: Lens' GoogleIAMV1__AuditConfig [GoogleIAMV1__AuditLogConfig] Source #
The configuration for logging of each type of permission.
GoogleCloudMlV1__Version
data GoogleCloudMlV1__Version Source #
Represents a version of the model. Each version is a trained model deployed in the cloud, ready to handle prediction requests. A model can have multiple versions. You can get information about all of the versions of a given model by calling projects.models.versions.list.
See: googleCloudMlV1__Version
smart constructor.
Instances
googleCloudMlV1__Version :: GoogleCloudMlV1__Version Source #
Creates a value of GoogleCloudMlV1__Version
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gcmvvFramework :: Lens' GoogleCloudMlV1__Version (Maybe GoogleCloudMlV1__VersionFramework) Source #
Optional. The machine learning framework Cloud ML Engine uses to train this version of the model. Valid values are `TENSORFLOW`, `SCIKIT_LEARN`, `XGBOOST`. If you do not specify a framework, Cloud ML Engine will analyze files in the deployment_uri to determine a framework. If you choose `SCIKIT_LEARN` or `XGBOOST`, you must also set the runtime version of the model to 1.4 or greater.
gcmvvEtag :: Lens' GoogleCloudMlV1__Version (Maybe ByteString) Source #
`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a model from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform model updates in order to avoid race conditions: An `etag` is returned in the response to `GetVersion`, and systems are expected to put that etag in the request to `UpdateVersion` to ensure that their change will be applied to the model as intended.
gcmvvState :: Lens' GoogleCloudMlV1__Version (Maybe GoogleCloudMlV1__VersionState) Source #
Output only. The state of a version.
gcmvvAutoScaling :: Lens' GoogleCloudMlV1__Version (Maybe GoogleCloudMlV1__AutoScaling) Source #
Automatically scale the number of nodes used to serve the model in response to increases and decreases in traffic. Care should be taken to ramp up traffic according to the model's ability to scale or you will start seeing increases in latency and 429 response codes.
gcmvvPythonVersion :: Lens' GoogleCloudMlV1__Version (Maybe Text) Source #
Optional. The version of Python used in prediction. If not set, the default version is '2.7'. Python '3.5' is available when `runtime_version` is set to '1.4' and above. Python '2.7' works with all supported runtime versions.
gcmvvRuntimeVersion :: Lens' GoogleCloudMlV1__Version (Maybe Text) Source #
Optional. The Cloud ML Engine runtime version to use for this deployment. If not set, Cloud ML Engine uses the default stable version, 1.0. For more information, see the runtime version list and how to manage runtime versions.
gcmvvLastUseTime :: Lens' GoogleCloudMlV1__Version (Maybe UTCTime) Source #
Output only. The time the version was last used for prediction.
gcmvvName :: Lens' GoogleCloudMlV1__Version (Maybe Text) Source #
Required.The name specified for the version when it was created. The version name must be unique within the model it is created in.
gcmvvDeploymentURI :: Lens' GoogleCloudMlV1__Version (Maybe Text) Source #
Required. The Google Cloud Storage location of the trained model used to create the version. See the guide to model deployment for more information. When passing Version to projects.models.versions.create the model service uses the specified location as the source of the model. Once deployed, the model version is hosted by the prediction service, so this location is useful only as a historical record. The total number of model files can't exceed 1000.
gcmvvManualScaling :: Lens' GoogleCloudMlV1__Version (Maybe GoogleCloudMlV1__ManualScaling) Source #
Manually select the number of nodes to use for serving the model. You should generally use `auto_scaling` with an appropriate `min_nodes` instead, but this option is available if you want more predictable billing. Beware that latency and error rates will increase if the traffic exceeds that capability of the system to serve it based on the selected number of nodes.
gcmvvMachineType :: Lens' GoogleCloudMlV1__Version (Maybe Text) Source #
Optional. The type of machine on which to serve the model. Currently only applies to online prediction service. The following are currently supported and will be deprecated in Beta release. mls1-highmem-1 1 core 2 Gb RAM mls1-highcpu-4 4 core 2 Gb RAM The following are available in Beta: mls1-c1-m2 1 core 2 Gb RAM Default mls1-c4-m2 4 core 2 Gb RAM
gcmvvLabels :: Lens' GoogleCloudMlV1__Version (Maybe GoogleCloudMlV1__VersionLabels) Source #
Optional. One or more labels that you can add, to organize your model versions. Each label is a key-value pair, where both the key and the value are arbitrary strings that you supply. For more information, see the documentation on using labels.
gcmvvErrorMessage :: Lens' GoogleCloudMlV1__Version (Maybe Text) Source #
Output only. The details of a failure or a cancellation.
gcmvvDescription :: Lens' GoogleCloudMlV1__Version (Maybe Text) Source #
Optional. The description specified for the version when it was created.
gcmvvCreateTime :: Lens' GoogleCloudMlV1__Version (Maybe UTCTime) Source #
Output only. The time the version was created.
gcmvvIsDefault :: Lens' GoogleCloudMlV1__Version (Maybe Bool) Source #
Output only. If true, this version will be used to handle prediction requests that do not specify a version. You can change the default version by calling projects.methods.versions.setDefault.
GoogleCloudMlV1__PredictionOutput
data GoogleCloudMlV1__PredictionOutput Source #
Represents results of a prediction job.
See: googleCloudMlV1__PredictionOutput
smart constructor.
Instances
googleCloudMlV1__PredictionOutput :: GoogleCloudMlV1__PredictionOutput Source #
Creates a value of GoogleCloudMlV1__PredictionOutput
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gcmvpoNodeHours :: Lens' GoogleCloudMlV1__PredictionOutput (Maybe Double) Source #
Node hours used by the batch prediction job.
gcmvpoErrorCount :: Lens' GoogleCloudMlV1__PredictionOutput (Maybe Int64) Source #
The number of data instances which resulted in errors.
gcmvpoPredictionCount :: Lens' GoogleCloudMlV1__PredictionOutput (Maybe Int64) Source #
The number of generated predictions.
gcmvpoOutputPath :: Lens' GoogleCloudMlV1__PredictionOutput (Maybe Text) Source #
The output Google Cloud Storage location provided at the job creation time.
GoogleCloudMlV1__HyperparameterOutputHyperparameters
data GoogleCloudMlV1__HyperparameterOutputHyperparameters Source #
The hyperparameters given to this trial.
See: googleCloudMlV1__HyperparameterOutputHyperparameters
smart constructor.
Instances
googleCloudMlV1__HyperparameterOutputHyperparameters Source #
Creates a value of GoogleCloudMlV1__HyperparameterOutputHyperparameters
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gcmvhohAddtional :: Lens' GoogleCloudMlV1__HyperparameterOutputHyperparameters (HashMap Text Text) Source #
GoogleCloudMlV1__PredictRequest
data GoogleCloudMlV1__PredictRequest Source #
Request for predictions to be issued against a trained model.
See: googleCloudMlV1__PredictRequest
smart constructor.
Instances
googleCloudMlV1__PredictRequest :: GoogleCloudMlV1__PredictRequest Source #
Creates a value of GoogleCloudMlV1__PredictRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gcmvprHTTPBody :: Lens' GoogleCloudMlV1__PredictRequest (Maybe GoogleAPI__HTTPBody) Source #
Required. The prediction request body.
GoogleCloudMlV1__ParameterSpecType
data GoogleCloudMlV1__ParameterSpecType Source #
Required. The type of the parameter.
ParameterTypeUnspecified |
|
Double |
|
Integer |
|
Categorical |
|
Discrete |
|
Instances
GoogleCloudMlV1__TrainingInputScaleTier
data GoogleCloudMlV1__TrainingInputScaleTier Source #
Required. Specifies the machine types, the number of replicas for workers and parameter servers.
Basic |
|
Standard1 |
|
Premium1 |
|
BasicGpu |
|
BasicTpu |
|
Custom |
|
Instances
GoogleLongrunning__OperationResponse
data GoogleLongrunning__OperationResponse Source #
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: googleLongrunning__OperationResponse
smart constructor.
Instances
googleLongrunning__OperationResponse Source #
Creates a value of GoogleLongrunning__OperationResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
glorAddtional :: Lens' GoogleLongrunning__OperationResponse (HashMap Text JSONValue) Source #
Properties of the object. Contains field 'type with type URL.
GoogleCloudMlV1__ParameterSpecScaleType
data GoogleCloudMlV1__ParameterSpecScaleType Source #
Optional. How the parameter should be scaled to the hypercube. Leave unset for categorical parameters. Some kind of scaling is strongly recommended for real or integral parameters (e.g., `UNIT_LINEAR_SCALE`).
None |
|
UnitLinearScale |
|
UnitLogScale |
|
UnitReverseLogScale |
|
Instances
GoogleIAMV1__AuditLogConfig
data GoogleIAMV1__AuditLogConfig Source #
Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:foo'gmail.com" ] }, { "log_type": "DATA_WRITE", } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting foo'gmail.com from DATA_READ logging.
See: googleIAMV1__AuditLogConfig
smart constructor.
Instances
googleIAMV1__AuditLogConfig :: GoogleIAMV1__AuditLogConfig Source #
Creates a value of GoogleIAMV1__AuditLogConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
givalcLogType :: Lens' GoogleIAMV1__AuditLogConfig (Maybe GoogleIAMV1__AuditLogConfigLogType) Source #
The log type that this config enables.
givalcExemptedMembers :: Lens' GoogleIAMV1__AuditLogConfig [Text] Source #
Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.
GoogleCloudMlV1__VersionFramework
data GoogleCloudMlV1__VersionFramework Source #
Optional. The machine learning framework Cloud ML Engine uses to train this version of the model. Valid values are `TENSORFLOW`, `SCIKIT_LEARN`, `XGBOOST`. If you do not specify a framework, Cloud ML Engine will analyze files in the deployment_uri to determine a framework. If you choose `SCIKIT_LEARN` or `XGBOOST`, you must also set the runtime version of the model to 1.4 or greater.
FrameworkUnspecified |
|
Tensorflow |
|
ScikitLearn |
|
Xgboost |
|
Instances
GoogleCloudMlV1__ListModelsResponse
data GoogleCloudMlV1__ListModelsResponse Source #
Response message for the ListModels method.
See: googleCloudMlV1__ListModelsResponse
smart constructor.
Instances
googleCloudMlV1__ListModelsResponse :: GoogleCloudMlV1__ListModelsResponse Source #
Creates a value of GoogleCloudMlV1__ListModelsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gcmvlmrNextPageToken :: Lens' GoogleCloudMlV1__ListModelsResponse (Maybe Text) Source #
Optional. Pass this token as the `page_token` field of the request for a subsequent call.
gcmvlmrModels :: Lens' GoogleCloudMlV1__ListModelsResponse [GoogleCloudMlV1__Model] Source #
The list of models.
GoogleCloudMlV1__VersionState
data GoogleCloudMlV1__VersionState Source #
Output only. The state of a version.
Unknown |
|
Ready |
|
Creating |
|
Failed |
|
Deleting |
|
Updating |
|
Instances
GoogleLongrunning__ListOperationsResponse
data GoogleLongrunning__ListOperationsResponse Source #
The response message for Operations.ListOperations.
See: googleLongrunning__ListOperationsResponse
smart constructor.
Instances
googleLongrunning__ListOperationsResponse :: GoogleLongrunning__ListOperationsResponse Source #
Creates a value of GoogleLongrunning__ListOperationsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gllorNextPageToken :: Lens' GoogleLongrunning__ListOperationsResponse (Maybe Text) Source #
The standard List next-page token.
gllorOperations :: Lens' GoogleLongrunning__ListOperationsResponse [GoogleLongrunning__Operation] Source #
A list of operations that matches the specified filter in the request.
GoogleCloudMlV1__AcceleratorConfig
data GoogleCloudMlV1__AcceleratorConfig Source #
Represents a hardware accelerator request config.
See: googleCloudMlV1__AcceleratorConfig
smart constructor.
Instances
googleCloudMlV1__AcceleratorConfig :: GoogleCloudMlV1__AcceleratorConfig Source #
Creates a value of GoogleCloudMlV1__AcceleratorConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gcmvacCount :: Lens' GoogleCloudMlV1__AcceleratorConfig (Maybe Int64) Source #
The number of accelerators to attach to each machine running the job.
gcmvacType :: Lens' GoogleCloudMlV1__AcceleratorConfig (Maybe GoogleCloudMlV1__AcceleratorConfigType) Source #
The available types of accelerators.
GoogleIAMV1__Policy
data GoogleIAMV1__Policy Source #
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.
See: googleIAMV1__Policy
smart constructor.
Instances
googleIAMV1__Policy :: GoogleIAMV1__Policy Source #
Creates a value of GoogleIAMV1__Policy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
givpAuditConfigs :: Lens' GoogleIAMV1__Policy [GoogleIAMV1__AuditConfig] Source #
Specifies cloud audit logging configuration for this policy.
givpEtag :: Lens' GoogleIAMV1__Policy (Maybe ByteString) Source #
`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.
givpVersion :: Lens' GoogleIAMV1__Policy (Maybe Int32) Source #
Deprecated.
givpBindings :: Lens' GoogleIAMV1__Policy [GoogleIAMV1__Binding] Source #
Associates a list of `members` to a `role`. `bindings` with no members will result in an error.
GoogleIAMV1__TestIAMPermissionsResponse
data GoogleIAMV1__TestIAMPermissionsResponse Source #
Response message for `TestIamPermissions` method.
See: googleIAMV1__TestIAMPermissionsResponse
smart constructor.
Instances
googleIAMV1__TestIAMPermissionsResponse :: GoogleIAMV1__TestIAMPermissionsResponse Source #
Creates a value of GoogleIAMV1__TestIAMPermissionsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
givtiprPermissions :: Lens' GoogleIAMV1__TestIAMPermissionsResponse [Text] Source #
A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
GoogleCloudMlV1__HyperparameterSpecAlgorithm
data GoogleCloudMlV1__HyperparameterSpecAlgorithm Source #
Optional. The search algorithm specified for the hyperparameter tuning job. Uses the default CloudML Engine hyperparameter tuning algorithm if unspecified.
AlgorithmUnspecified |
|
GridSearch |
|
RandomSearch |
|
Instances
GoogleCloudMlV1__ListJobsResponse
data GoogleCloudMlV1__ListJobsResponse Source #
Response message for the ListJobs method.
See: googleCloudMlV1__ListJobsResponse
smart constructor.
Instances
googleCloudMlV1__ListJobsResponse :: GoogleCloudMlV1__ListJobsResponse Source #
Creates a value of GoogleCloudMlV1__ListJobsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gcmvljrNextPageToken :: Lens' GoogleCloudMlV1__ListJobsResponse (Maybe Text) Source #
Optional. Pass this token as the `page_token` field of the request for a subsequent call.
gcmvljrJobs :: Lens' GoogleCloudMlV1__ListJobsResponse [GoogleCloudMlV1__Job] Source #
The list of jobs.
GoogleCloudMlV1__ListVersionsResponse
data GoogleCloudMlV1__ListVersionsResponse Source #
Response message for the ListVersions method.
See: googleCloudMlV1__ListVersionsResponse
smart constructor.
Instances
googleCloudMlV1__ListVersionsResponse :: GoogleCloudMlV1__ListVersionsResponse Source #
Creates a value of GoogleCloudMlV1__ListVersionsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gcmvlvrNextPageToken :: Lens' GoogleCloudMlV1__ListVersionsResponse (Maybe Text) Source #
Optional. Pass this token as the `page_token` field of the request for a subsequent call.
gcmvlvrVersions :: Lens' GoogleCloudMlV1__ListVersionsResponse [GoogleCloudMlV1__Version] Source #
The list of versions.
GoogleType__Expr
data GoogleType__Expr Source #
Represents an expression text. Example: title: "User account presence" description: "Determines whether the request has a user account" expression: "size(request.user) > 0"
See: googleType__Expr
smart constructor.
Instances
googleType__Expr :: GoogleType__Expr Source #
Creates a value of GoogleType__Expr
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gteLocation :: Lens' GoogleType__Expr (Maybe Text) Source #
An optional string indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
gteExpression :: Lens' GoogleType__Expr (Maybe Text) Source #
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.
gteTitle :: Lens' GoogleType__Expr (Maybe Text) Source #
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.
gteDescription :: Lens' GoogleType__Expr (Maybe Text) Source #
An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
GoogleCloudMlV1__JobState
data GoogleCloudMlV1__JobState Source #
Output only. The detailed state of a job.
GCMVJSStateUnspecified |
|
GCMVJSQueued |
|
GCMVJSPreparing |
|
GCMVJSRunning |
|
GCMVJSSucceeded |
|
GCMVJSFailed |
|
GCMVJSCancelling |
|
GCMVJSCancelled |
|
Instances
GoogleCloudMlV1__PredictionInputDataFormat
data GoogleCloudMlV1__PredictionInputDataFormat Source #
Required. The format of the input data files.
DataFormatUnspecified |
|
JSON |
|
Text |
|
TfRecord |
|
TfRecordGzip |
|
CSV |
|
Instances
GoogleCloudMlV1__CapabilityType
data GoogleCloudMlV1__CapabilityType Source #
TypeUnspecified | TYPE_UNSPECIFIED |
Training | TRAINING |
BatchPrediction | BATCH_PREDICTION |
OnlinePrediction | ONLINE_PREDICTION |
Instances
GoogleCloudMlV1__HyperparameterOutput
data GoogleCloudMlV1__HyperparameterOutput Source #
Represents the result of a single hyperparameter tuning trial from a training job. The TrainingOutput object that is returned on successful completion of a training job with hyperparameter tuning includes a list of HyperparameterOutput objects, one for each successful trial.
See: googleCloudMlV1__HyperparameterOutput
smart constructor.
Instances
googleCloudMlV1__HyperparameterOutput :: GoogleCloudMlV1__HyperparameterOutput Source #
Creates a value of GoogleCloudMlV1__HyperparameterOutput
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gcmvhoIsTrialStoppedEarly :: Lens' GoogleCloudMlV1__HyperparameterOutput (Maybe Bool) Source #
True if the trial is stopped early.
gcmvhoAllMetrics :: Lens' GoogleCloudMlV1__HyperparameterOutput [GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric] Source #
All recorded object metrics for this trial. This field is not currently populated.
gcmvhoHyperparameters :: Lens' GoogleCloudMlV1__HyperparameterOutput (Maybe GoogleCloudMlV1__HyperparameterOutputHyperparameters) Source #
The hyperparameters given to this trial.
gcmvhoTrialId :: Lens' GoogleCloudMlV1__HyperparameterOutput (Maybe Text) Source #
The trial id for these results.
gcmvhoFinalMetric :: Lens' GoogleCloudMlV1__HyperparameterOutput (Maybe GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric) Source #
The final objective metric seen for this trial.
GoogleCloudMlV1__GetConfigResponse
data GoogleCloudMlV1__GetConfigResponse Source #
Returns service account information associated with a project.
See: googleCloudMlV1__GetConfigResponse
smart constructor.
Instances
googleCloudMlV1__GetConfigResponse :: GoogleCloudMlV1__GetConfigResponse Source #
Creates a value of GoogleCloudMlV1__GetConfigResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gcmvgcrServiceAccount :: Lens' GoogleCloudMlV1__GetConfigResponse (Maybe Text) Source #
The service account Cloud ML uses to access resources in the project.
gcmvgcrServiceAccountProject :: Lens' GoogleCloudMlV1__GetConfigResponse (Maybe Int64) Source #
The project number for `service_account`.
GoogleCloudMlV1__PredictionInputOutputDataFormat
data GoogleCloudMlV1__PredictionInputOutputDataFormat Source #
Optional. Format of the output data files, defaults to JSON.
GCMVPIODFDataFormatUnspecified |
|
GCMVPIODFJSON |
|
GCMVPIODFText |
|
GCMVPIODFTfRecord |
|
GCMVPIODFTfRecordGzip |
|
GCMVPIODFCSV |
|
Instances
GoogleCloudMlV1__ManualScaling
data GoogleCloudMlV1__ManualScaling Source #
Options for manually scaling a model.
See: googleCloudMlV1__ManualScaling
smart constructor.
Instances
googleCloudMlV1__ManualScaling :: GoogleCloudMlV1__ManualScaling Source #
Creates a value of GoogleCloudMlV1__ManualScaling
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gcmvmsNodes :: Lens' GoogleCloudMlV1__ManualScaling (Maybe Int32) Source #
The number of nodes to allocate for this model. These nodes are always up, starting from the time the model is deployed, so the cost of operating this model will be proportional to `nodes` * number of hours since last billing cycle plus the cost for each prediction performed.
GoogleLongrunning__Operation
data GoogleLongrunning__Operation Source #
This resource represents a long-running operation that is the result of a network API call.
See: googleLongrunning__Operation
smart constructor.
Instances
googleLongrunning__Operation :: GoogleLongrunning__Operation Source #
Creates a value of GoogleLongrunning__Operation
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gloDone :: Lens' GoogleLongrunning__Operation (Maybe Bool) Source #
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.
gloError :: Lens' GoogleLongrunning__Operation (Maybe GoogleRpc__Status) Source #
The error result of the operation in case of failure or cancellation.
gloResponse :: Lens' GoogleLongrunning__Operation (Maybe GoogleLongrunning__OperationResponse) Source #
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`.
gloName :: Lens' GoogleLongrunning__Operation (Maybe Text) Source #
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`.
gloMetadata :: Lens' GoogleLongrunning__Operation (Maybe GoogleLongrunning__OperationMetadata) Source #
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.
GoogleCloudMlV1__Model
data GoogleCloudMlV1__Model Source #
Represents a machine learning solution. A model can have multiple versions, each of which is a deployed, trained model ready to receive prediction requests. The model itself is just a container.
See: googleCloudMlV1__Model
smart constructor.
Instances
googleCloudMlV1__Model :: GoogleCloudMlV1__Model Source #
Creates a value of GoogleCloudMlV1__Model
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gcmvmEtag :: Lens' GoogleCloudMlV1__Model (Maybe ByteString) Source #
`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a model from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform model updates in order to avoid race conditions: An `etag` is returned in the response to `GetModel`, and systems are expected to put that etag in the request to `UpdateModel` to ensure that their change will be applied to the model as intended.
gcmvmRegions :: Lens' GoogleCloudMlV1__Model [Text] Source #
Optional. The list of regions where the model is going to be deployed. Currently only one region per model is supported. Defaults to 'us-central1' if nothing is set. See the available regions for ML Engine services. Note: * No matter where a model is deployed, it can always be accessed by users from anywhere, both for online and batch prediction. * The region for a batch prediction job is set by the region field when submitting the batch prediction job and does not take its value from this field.
gcmvmDefaultVersion :: Lens' GoogleCloudMlV1__Model (Maybe GoogleCloudMlV1__Version) Source #
Output only. The default version of the model. This version will be used to handle prediction requests that do not specify a version. You can change the default version by calling projects.methods.versions.setDefault.
gcmvmName :: Lens' GoogleCloudMlV1__Model (Maybe Text) Source #
Required. The name specified for the model when it was created. The model name must be unique within the project it is created in.
gcmvmLabels :: Lens' GoogleCloudMlV1__Model (Maybe GoogleCloudMlV1__ModelLabels) Source #
Optional. One or more labels that you can add, to organize your models. Each label is a key-value pair, where both the key and the value are arbitrary strings that you supply. For more information, see the documentation on using labels.
gcmvmDescription :: Lens' GoogleCloudMlV1__Model (Maybe Text) Source #
Optional. The description specified for the model when it was created.
gcmvmOnlinePredictionLogging :: Lens' GoogleCloudMlV1__Model (Maybe Bool) Source #
Optional. If true, enables StackDriver Logging for online prediction. Default is false.
GoogleCloudMlV1__Job
data GoogleCloudMlV1__Job Source #
Represents a training or prediction job.
See: googleCloudMlV1__Job
smart constructor.
Instances
googleCloudMlV1__Job :: GoogleCloudMlV1__Job Source #
Creates a value of GoogleCloudMlV1__Job
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gcmvjEtag :: Lens' GoogleCloudMlV1__Job (Maybe ByteString) Source #
`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a job from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform job updates in order to avoid race conditions: An `etag` is returned in the response to `GetJob`, and systems are expected to put that etag in the request to `UpdateJob` to ensure that their change will be applied to the same version of the job.
gcmvjState :: Lens' GoogleCloudMlV1__Job (Maybe GoogleCloudMlV1__JobState) Source #
Output only. The detailed state of a job.
gcmvjTrainingOutput :: Lens' GoogleCloudMlV1__Job (Maybe GoogleCloudMlV1__TrainingOutput) Source #
The current training job result.
gcmvjJobId :: Lens' GoogleCloudMlV1__Job (Maybe Text) Source #
Required. The user-specified id of the job.
gcmvjStartTime :: Lens' GoogleCloudMlV1__Job (Maybe UTCTime) Source #
Output only. When the job processing was started.
gcmvjPredictionInput :: Lens' GoogleCloudMlV1__Job (Maybe GoogleCloudMlV1__PredictionInput) Source #
Input parameters to create a prediction job.
gcmvjEndTime :: Lens' GoogleCloudMlV1__Job (Maybe UTCTime) Source #
Output only. When the job processing was completed.
gcmvjPredictionOutput :: Lens' GoogleCloudMlV1__Job (Maybe GoogleCloudMlV1__PredictionOutput) Source #
The current prediction job result.
gcmvjLabels :: Lens' GoogleCloudMlV1__Job (Maybe GoogleCloudMlV1__JobLabels) Source #
Optional. One or more labels that you can add, to organize your jobs. Each label is a key-value pair, where both the key and the value are arbitrary strings that you supply. For more information, see the documentation on using labels.
gcmvjErrorMessage :: Lens' GoogleCloudMlV1__Job (Maybe Text) Source #
Output only. The details of a failure or a cancellation.
gcmvjTrainingInput :: Lens' GoogleCloudMlV1__Job (Maybe GoogleCloudMlV1__TrainingInput) Source #
Input parameters to create a training job.
gcmvjCreateTime :: Lens' GoogleCloudMlV1__Job (Maybe UTCTime) Source #
Output only. When the job was created.
GoogleCloudMlV1__HyperparameterSpecGoal
data GoogleCloudMlV1__HyperparameterSpecGoal Source #
Required. The type of goal to use for tuning. Available types are `MAXIMIZE` and `MINIMIZE`. Defaults to `MAXIMIZE`.
GoalTypeUnspecified |
|
Maximize |
|
Minimize |
|
Instances
GoogleCloudMlV1__SetDefaultVersionRequest
data GoogleCloudMlV1__SetDefaultVersionRequest Source #
Request message for the SetDefaultVersion request.
See: googleCloudMlV1__SetDefaultVersionRequest
smart constructor.
Instances
googleCloudMlV1__SetDefaultVersionRequest :: GoogleCloudMlV1__SetDefaultVersionRequest Source #
Creates a value of GoogleCloudMlV1__SetDefaultVersionRequest
with the minimum fields required to make a request.
GoogleCloudMlV1__ModelLabels
data GoogleCloudMlV1__ModelLabels Source #
Optional. One or more labels that you can add, to organize your models. Each label is a key-value pair, where both the key and the value are arbitrary strings that you supply. For more information, see the documentation on using labels.
See: googleCloudMlV1__ModelLabels
smart constructor.
Instances
googleCloudMlV1__ModelLabels Source #
Creates a value of GoogleCloudMlV1__ModelLabels
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
GoogleIAMV1__AuditLogConfigLogType
data GoogleIAMV1__AuditLogConfigLogType Source #
The log type that this config enables.
LogTypeUnspecified |
|
AdminRead |
|
DataWrite |
|
DataRead |
|
Instances
GoogleCloudMlV1__JobLabels
data GoogleCloudMlV1__JobLabels Source #
Optional. One or more labels that you can add, to organize your jobs. Each label is a key-value pair, where both the key and the value are arbitrary strings that you supply. For more information, see the documentation on using labels.
See: googleCloudMlV1__JobLabels
smart constructor.
Instances
googleCloudMlV1__JobLabels Source #
Creates a value of GoogleCloudMlV1__JobLabels
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
GoogleRpc__Status
data GoogleRpc__Status Source #
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. The error model is designed to be: - Simple to use and understand for most users - Flexible enough to meet unexpected needs # Overview The `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 mapping The `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 uses The 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: googleRpc__Status
smart constructor.
Instances
googleRpc__Status :: GoogleRpc__Status Source #
Creates a value of GoogleRpc__Status
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
grsDetails :: Lens' GoogleRpc__Status [GoogleRpc__StatusDetailsItem] Source #
A list of messages that carry the error details. There is a common set of message types for APIs to use.
grsCode :: Lens' GoogleRpc__Status (Maybe Int32) Source #
The status code, which should be an enum value of google.rpc.Code.
grsMessage :: Lens' GoogleRpc__Status (Maybe Text) Source #
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.
GoogleCloudMlV1__Config
data GoogleCloudMlV1__Config Source #
Instances
googleCloudMlV1__Config :: GoogleCloudMlV1__Config Source #
Creates a value of GoogleCloudMlV1__Config
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gcmvcTpuServiceAccount :: Lens' GoogleCloudMlV1__Config (Maybe Text) Source #
The service account Cloud ML uses to run on TPU node.
GoogleCloudMlV1__HyperparameterSpec
data GoogleCloudMlV1__HyperparameterSpec Source #
Represents a set of hyperparameters to optimize.
See: googleCloudMlV1__HyperparameterSpec
smart constructor.
Instances
googleCloudMlV1__HyperparameterSpec :: GoogleCloudMlV1__HyperparameterSpec Source #
Creates a value of GoogleCloudMlV1__HyperparameterSpec
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gcmvhsResumePreviousJobId :: Lens' GoogleCloudMlV1__HyperparameterSpec (Maybe Text) Source #
Optional. The prior hyperparameter tuning job id that users hope to continue with. The job id will be used to find the corresponding vizier study guid and resume the study.
gcmvhsParams :: Lens' GoogleCloudMlV1__HyperparameterSpec [GoogleCloudMlV1__ParameterSpec] Source #
Required. The set of parameters to tune.
gcmvhsAlgorithm :: Lens' GoogleCloudMlV1__HyperparameterSpec (Maybe GoogleCloudMlV1__HyperparameterSpecAlgorithm) Source #
Optional. The search algorithm specified for the hyperparameter tuning job. Uses the default CloudML Engine hyperparameter tuning algorithm if unspecified.
gcmvhsGoal :: Lens' GoogleCloudMlV1__HyperparameterSpec (Maybe GoogleCloudMlV1__HyperparameterSpecGoal) Source #
Required. The type of goal to use for tuning. Available types are `MAXIMIZE` and `MINIMIZE`. Defaults to `MAXIMIZE`.
gcmvhsMaxTrials :: Lens' GoogleCloudMlV1__HyperparameterSpec (Maybe Int32) Source #
Optional. How many training trials should be attempted to optimize the specified hyperparameters. Defaults to one.
gcmvhsEnableTrialEarlyStopping :: Lens' GoogleCloudMlV1__HyperparameterSpec (Maybe Bool) Source #
Optional. Indicates if the hyperparameter tuning job enables auto trial early stopping.
gcmvhsMaxParallelTrials :: Lens' GoogleCloudMlV1__HyperparameterSpec (Maybe Int32) Source #
Optional. The number of training trials to run concurrently. You can reduce the time it takes to perform hyperparameter tuning by adding trials in parallel. However, each trail only benefits from the information gained in completed trials. That means that a trial does not get access to the results of trials running at the same time, which could reduce the quality of the overall optimization. Each trial will use the same scale tier and machine types. Defaults to one.
gcmvhsHyperparameterMetricTag :: Lens' GoogleCloudMlV1__HyperparameterSpec (Maybe Text) Source #
Optional. The Tensorflow summary tag name to use for optimizing trials. For current versions of Tensorflow, this tag name should exactly match what is shown in Tensorboard, including all scopes. For versions of Tensorflow prior to 0.12, this should be only the tag passed to tf.Summary. By default, "training/hptuning/metric" will be used.
GoogleCloudMlV1__AutoScaling
data GoogleCloudMlV1__AutoScaling Source #
Options for automatically scaling a model.
See: googleCloudMlV1__AutoScaling
smart constructor.
Instances
googleCloudMlV1__AutoScaling :: GoogleCloudMlV1__AutoScaling Source #
Creates a value of GoogleCloudMlV1__AutoScaling
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gcmvasMinNodes :: Lens' GoogleCloudMlV1__AutoScaling (Maybe Int32) Source #
Optional. The minimum number of nodes to allocate for this model. These nodes are always up, starting from the time the model is deployed. Therefore, the cost of operating this model will be at least `rate` * `min_nodes` * number of hours since last billing cycle, where `rate` is the cost per node-hour as documented in the pricing guide, even if no predictions are performed. There is additional cost for each prediction performed. Unlike manual scaling, if the load gets too heavy for the nodes that are up, the service will automatically add nodes to handle the increased load as well as scale back as traffic drops, always maintaining at least `min_nodes`. You will be charged for the time in which additional nodes are used. If not specified, `min_nodes` defaults to 0, in which case, when traffic to a model stops (and after a cool-down period), nodes will be shut down and no charges will be incurred until traffic to the model resumes. You can set `min_nodes` when creating the model version, and you can also update `min_nodes` for an existing version:
update_body.json: { 'autoScaling': { 'minNodes': 5 } }
HTTP request:
PATCH https://ml.googleapis.com/v1/{name=projects/*/models/*/versions/*}?update_mask=autoScaling.minNodes -d './update_body.json
GoogleLongrunning__OperationMetadata
data GoogleLongrunning__OperationMetadata Source #
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: googleLongrunning__OperationMetadata
smart constructor.
Instances
googleLongrunning__OperationMetadata Source #
Creates a value of GoogleLongrunning__OperationMetadata
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
glomAddtional :: Lens' GoogleLongrunning__OperationMetadata (HashMap Text JSONValue) Source #
Properties of the object. Contains field 'type with type URL.
GoogleCloudMlV1__ParameterSpec
data GoogleCloudMlV1__ParameterSpec Source #
Represents a single hyperparameter to optimize.
See: googleCloudMlV1__ParameterSpec
smart constructor.
Instances
googleCloudMlV1__ParameterSpec :: GoogleCloudMlV1__ParameterSpec Source #
Creates a value of GoogleCloudMlV1__ParameterSpec
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gcmvpsMaxValue :: Lens' GoogleCloudMlV1__ParameterSpec (Maybe Double) Source #
Required if type is `DOUBLE` or `INTEGER`. This field should be unset if type is `CATEGORICAL`. This value should be integers if type is `INTEGER`.
gcmvpsScaleType :: Lens' GoogleCloudMlV1__ParameterSpec (Maybe GoogleCloudMlV1__ParameterSpecScaleType) Source #
Optional. How the parameter should be scaled to the hypercube. Leave unset for categorical parameters. Some kind of scaling is strongly recommended for real or integral parameters (e.g., `UNIT_LINEAR_SCALE`).
gcmvpsType :: Lens' GoogleCloudMlV1__ParameterSpec (Maybe GoogleCloudMlV1__ParameterSpecType) Source #
Required. The type of the parameter.
gcmvpsDiscreteValues :: Lens' GoogleCloudMlV1__ParameterSpec [Double] Source #
Required if type is `DISCRETE`. A list of feasible points. The list should be in strictly increasing order. For instance, this parameter might have possible settings of 1.5, 2.5, and 4.0. This list should not contain more than 1,000 values.
gcmvpsParameterName :: Lens' GoogleCloudMlV1__ParameterSpec (Maybe Text) Source #
Required. The parameter name must be unique amongst all ParameterConfigs in a HyperparameterSpec message. E.g., "learning_rate".
gcmvpsCategoricalValues :: Lens' GoogleCloudMlV1__ParameterSpec [Text] Source #
Required if type is `CATEGORICAL`. The list of possible categories.
gcmvpsMinValue :: Lens' GoogleCloudMlV1__ParameterSpec (Maybe Double) Source #
Required if type is `DOUBLE` or `INTEGER`. This field should be unset if type is `CATEGORICAL`. This value should be integers if type is INTEGER.
Xgafv
V1 error format.
Instances
GoogleIAMV1__Binding
data GoogleIAMV1__Binding Source #
Associates `members` with a `role`.
See: googleIAMV1__Binding
smart constructor.
Instances
googleIAMV1__Binding :: GoogleIAMV1__Binding Source #
Creates a value of GoogleIAMV1__Binding
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
givbMembers :: Lens' GoogleIAMV1__Binding [Text] Source #
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}`: A Google Apps domain name that represents all the users of that domain. For example, `google.com` or `example.com`.
givbRole :: Lens' GoogleIAMV1__Binding (Maybe Text) Source #
Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
givbCondition :: Lens' GoogleIAMV1__Binding (Maybe GoogleType__Expr) Source #
Unimplemented. 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.
GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric
data GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric Source #
An observed value of a metric.
See: googleCloudMlV1_HyperparameterOutput_HyperparameterMetric
smart constructor.
Instances
googleCloudMlV1_HyperparameterOutput_HyperparameterMetric :: GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric Source #
Creates a value of GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gcmvhohmTrainingStep :: Lens' GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric (Maybe Int64) Source #
The global training step for this metric.
gcmvhohmObjectiveValue :: Lens' GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric (Maybe Double) Source #
The objective value at this training step.
GoogleIAMV1__SetIAMPolicyRequest
data GoogleIAMV1__SetIAMPolicyRequest Source #
Request message for `SetIamPolicy` method.
See: googleIAMV1__SetIAMPolicyRequest
smart constructor.
Instances
googleIAMV1__SetIAMPolicyRequest :: GoogleIAMV1__SetIAMPolicyRequest Source #
Creates a value of GoogleIAMV1__SetIAMPolicyRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
givsiprUpdateMask :: Lens' GoogleIAMV1__SetIAMPolicyRequest (Maybe GFieldMask) Source #
OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: paths: "bindings, etag" This field is only used by Cloud IAM.
givsiprPolicy :: Lens' GoogleIAMV1__SetIAMPolicyRequest (Maybe GoogleIAMV1__Policy) Source #
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.
GoogleCloudMlV1__PredictionInput
data GoogleCloudMlV1__PredictionInput Source #
Represents input parameters for a prediction job. Next field: 20
See: googleCloudMlV1__PredictionInput
smart constructor.
Instances
googleCloudMlV1__PredictionInput :: GoogleCloudMlV1__PredictionInput Source #
Creates a value of GoogleCloudMlV1__PredictionInput
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gcmvpiVersionName :: Lens' GoogleCloudMlV1__PredictionInput (Maybe Text) Source #
Use this field if you want to specify a version of the model to use. The string is formatted the same way as `model_version`, with the addition of the version information: `"projects/YOUR_PROJECT/models/YOUR_MODEL/versions/YOUR_VERSION"`
gcmvpiModelName :: Lens' GoogleCloudMlV1__PredictionInput (Maybe Text) Source #
Use this field if you want to use the default version for the specified model. The string must use the following format: `"projects/YOUR_PROJECT/models/YOUR_MODEL"`
gcmvpiDataFormat :: Lens' GoogleCloudMlV1__PredictionInput (Maybe GoogleCloudMlV1__PredictionInputDataFormat) Source #
Required. The format of the input data files.
gcmvpiURI :: Lens' GoogleCloudMlV1__PredictionInput (Maybe Text) Source #
Use this field if you want to specify a Google Cloud Storage path for the model to use.
gcmvpiRuntimeVersion :: Lens' GoogleCloudMlV1__PredictionInput (Maybe Text) Source #
Optional. The Cloud ML Engine runtime version to use for this batch prediction. If not set, Cloud ML Engine will pick the runtime version used during the CreateVersion request for this model version, or choose the latest stable version when model version information is not available such as when the model is specified by uri.
gcmvpiBatchSize :: Lens' GoogleCloudMlV1__PredictionInput (Maybe Int64) Source #
Optional. Number of records per batch, defaults to 64. The service will buffer batch_size number of records in memory before invoking one Tensorflow prediction call internally. So take the record size and memory available into consideration when setting this parameter.
gcmvpiMaxWorkerCount :: Lens' GoogleCloudMlV1__PredictionInput (Maybe Int64) Source #
Optional. The maximum number of workers to be used for parallel processing. Defaults to 10 if not specified.
gcmvpiOutputDataFormat :: Lens' GoogleCloudMlV1__PredictionInput (Maybe GoogleCloudMlV1__PredictionInputOutputDataFormat) Source #
Optional. Format of the output data files, defaults to JSON.
gcmvpiAccelerator :: Lens' GoogleCloudMlV1__PredictionInput (Maybe GoogleCloudMlV1__AcceleratorConfig) Source #
Optional. The type and number of accelerators to be attached to each machine running the job.
gcmvpiOutputPath :: Lens' GoogleCloudMlV1__PredictionInput (Maybe Text) Source #
Required. The output Google Cloud Storage location.
gcmvpiRegion :: Lens' GoogleCloudMlV1__PredictionInput (Maybe Text) Source #
Required. The Google Compute Engine region to run the prediction job in. See the available regions for ML Engine services.
gcmvpiInputPaths :: Lens' GoogleCloudMlV1__PredictionInput [Text] Source #
Required. The Google Cloud Storage location of the input data files. May contain wildcards.
gcmvpiSignatureName :: Lens' GoogleCloudMlV1__PredictionInput (Maybe Text) Source #
Optional. The name of the signature defined in the SavedModel to use for this job. Please refer to SavedModel for information about how to use signatures. Defaults to DEFAULT_SERVING_SIGNATURE_DEF_KEY , which is "serving_default".
GoogleCloudMlV1__TrainingInput
data GoogleCloudMlV1__TrainingInput Source #
Represents input parameters for a training job. When using the gcloud command to submit your training job, you can specify the input parameters as command-line arguments and/or in a YAML configuration file referenced from the --config command-line argument. For details, see the guide to submitting a training job.
See: googleCloudMlV1__TrainingInput
smart constructor.
Instances
googleCloudMlV1__TrainingInput :: GoogleCloudMlV1__TrainingInput Source #
Creates a value of GoogleCloudMlV1__TrainingInput
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gcmvtiMasterType :: Lens' GoogleCloudMlV1__TrainingInput (Maybe Text) Source #
Optional. Specifies the type of virtual machine to use for your training job's master worker. The following types are supported:
- standard
- A basic machine configuration suitable for training simple models with small to moderate datasets.
- large_model
- A machine with a lot of memory, specially suited for parameter servers when your model is large (having many hidden layers or layers with very large numbers of nodes).
- complex_model_s
- A machine suitable for the master and workers of the cluster when your model requires more computation than the standard machine can handle satisfactorily.
- complex_model_m
- A machine with roughly twice the number of cores and roughly double the memory of complex_model_s.
- complex_model_l
- A machine with roughly twice the number of cores and roughly double the memory of complex_model_m.
- standard_gpu
- A machine equivalent to standard that also includes a single NVIDIA Tesla K80 GPU. See more about using GPUs to train your model.
- complex_model_m_gpu
- A machine equivalent to complex_model_m that also includes four NVIDIA Tesla K80 GPUs.
- complex_model_l_gpu
- A machine equivalent to complex_model_l that also includes eight NVIDIA Tesla K80 GPUs.
- standard_p100
- A machine equivalent to standard that also includes a single NVIDIA Tesla P100 GPU.
- complex_model_m_p100
- A machine equivalent to complex_model_m that also includes four NVIDIA Tesla P100 GPUs.
- standard_v100
- A machine equivalent to standard that also includes a single NVIDIA Tesla V100 GPU. The availability of these GPUs is in the Beta launch stage.
- large_model_v100
- A machine equivalent to large_model that also includes a single NVIDIA Tesla V100 GPU. The availability of these GPUs is in the Beta launch stage.
- complex_model_m_v100
- A machine equivalent to complex_model_m that also includes four NVIDIA Tesla V100 GPUs. The availability of these GPUs is in the Beta launch stage.
- complex_model_l_v100
- A machine equivalent to complex_model_l that also includes eight NVIDIA Tesla V100 GPUs. The availability of these GPUs is in the Beta launch stage.
- cloud_tpu
- A TPU VM including one Cloud TPU. See more about using TPUs to train your model.
You must set this value when `scaleTier` is set to `CUSTOM`.
gcmvtiParameterServerCount :: Lens' GoogleCloudMlV1__TrainingInput (Maybe Int64) Source #
Optional. The number of parameter server replicas to use for the training job. Each replica in the cluster will be of the type specified in `parameter_server_type`. This value can only be used when `scale_tier` is set to `CUSTOM`.If you set this value, you must also set `parameter_server_type`.
gcmvtiArgs :: Lens' GoogleCloudMlV1__TrainingInput [Text] Source #
Optional. Command line arguments to pass to the program.
gcmvtiWorkerCount :: Lens' GoogleCloudMlV1__TrainingInput (Maybe Int64) Source #
Optional. The number of worker replicas to use for the training job. Each replica in the cluster will be of the type specified in `worker_type`. This value can only be used when `scale_tier` is set to `CUSTOM`. If you set this value, you must also set `worker_type`.
gcmvtiJobDir :: Lens' GoogleCloudMlV1__TrainingInput (Maybe Text) Source #
Optional. A Google Cloud Storage path in which to store training outputs and other data needed for training. This path is passed to your TensorFlow program as the '--job-dir' command-line argument. The benefit of specifying this field is that Cloud ML validates the path for use in training.
gcmvtiPythonVersion :: Lens' GoogleCloudMlV1__TrainingInput (Maybe Text) Source #
Optional. The version of Python used in training. If not set, the default version is '2.7'. Python '3.5' is available when `runtime_version` is set to '1.4' and above. Python '2.7' works with all supported runtime versions.
gcmvtiRuntimeVersion :: Lens' GoogleCloudMlV1__TrainingInput (Maybe Text) Source #
Optional. The Cloud ML Engine runtime version to use for training. If not set, Cloud ML Engine uses the default stable version, 1.0. For more information, see the runtime version list and how to manage runtime versions.
gcmvtiWorkerType :: Lens' GoogleCloudMlV1__TrainingInput (Maybe Text) Source #
Optional. Specifies the type of virtual machine to use for your training job's worker nodes. The supported values are the same as those described in the entry for `masterType`. This value must be present when `scaleTier` is set to `CUSTOM` and `workerCount` is greater than zero.
gcmvtiPythonModule :: Lens' GoogleCloudMlV1__TrainingInput (Maybe Text) Source #
Required. The Python module name to run after installing the packages.
gcmvtiParameterServerType :: Lens' GoogleCloudMlV1__TrainingInput (Maybe Text) Source #
Optional. Specifies the type of virtual machine to use for your training job's parameter server. The supported values are the same as those described in the entry for `master_type`. This value must be present when `scaleTier` is set to `CUSTOM` and `parameter_server_count` is greater than zero.
gcmvtiHyperparameters :: Lens' GoogleCloudMlV1__TrainingInput (Maybe GoogleCloudMlV1__HyperparameterSpec) Source #
Optional. The set of Hyperparameters to tune.
gcmvtiPackageURIs :: Lens' GoogleCloudMlV1__TrainingInput [Text] Source #
Required. The Google Cloud Storage location of the packages with the training program and any additional dependencies. The maximum number of package URIs is 100.
gcmvtiScaleTier :: Lens' GoogleCloudMlV1__TrainingInput (Maybe GoogleCloudMlV1__TrainingInputScaleTier) Source #
Required. Specifies the machine types, the number of replicas for workers and parameter servers.
gcmvtiRegion :: Lens' GoogleCloudMlV1__TrainingInput (Maybe Text) Source #
Required. The Google Compute Engine region to run the training job in. See the available regions for ML Engine services.
GoogleRpc__StatusDetailsItem
data GoogleRpc__StatusDetailsItem Source #
Instances
googleRpc__StatusDetailsItem Source #
Creates a value of GoogleRpc__StatusDetailsItem
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
grsdiAddtional :: Lens' GoogleRpc__StatusDetailsItem (HashMap Text JSONValue) Source #
Properties of the object. Contains field 'type with type URL.
GoogleCloudMlV1__OperationMetadataOperationType
data GoogleCloudMlV1__OperationMetadataOperationType Source #
The operation type.
OperationTypeUnspecified |
|
CreateVersion |
|
DeleteVersion |
|
DeleteModel |
|
UpdateModel |
|
UpdateVersion |
|
UpdateConfig |
|
Instances
GoogleProtobuf__Empty
data GoogleProtobuf__Empty Source #
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: googleProtobuf__Empty
smart constructor.
Instances
googleProtobuf__Empty :: GoogleProtobuf__Empty Source #
Creates a value of GoogleProtobuf__Empty
with the minimum fields required to make a request.
GoogleCloudMlV1__Location
data GoogleCloudMlV1__Location Source #
Instances
googleCloudMlV1__Location :: GoogleCloudMlV1__Location Source #
Creates a value of GoogleCloudMlV1__Location
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gcmvlCapabilities :: Lens' GoogleCloudMlV1__Location [GoogleCloudMlV1__Capability] Source #
Capabilities available in the location.
GoogleCloudMlV1__OperationMetadataLabels
data GoogleCloudMlV1__OperationMetadataLabels Source #
The user labels, inherited from the model or the model version being operated on.
See: googleCloudMlV1__OperationMetadataLabels
smart constructor.
Instances
googleCloudMlV1__OperationMetadataLabels Source #
Creates a value of GoogleCloudMlV1__OperationMetadataLabels
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
GoogleCloudMlV1__AcceleratorConfigType
data GoogleCloudMlV1__AcceleratorConfigType Source #
The available types of accelerators.
AcceleratorTypeUnspecified |
|
NvidiaTeslaK80 |
|
NvidiaTeslaP100 |
|
NvidiaTeslaV100 |
|
NvidiaTeslaP4 |
|
NvidiaTeslaT4 |
|
Instances
GoogleCloudMlV1__Capability
data GoogleCloudMlV1__Capability Source #
Instances
googleCloudMlV1__Capability :: GoogleCloudMlV1__Capability Source #
Creates a value of GoogleCloudMlV1__Capability
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gcmvcAvailableAccelerators :: Lens' GoogleCloudMlV1__Capability [Text] Source #
Available accelerators for the capability.
GoogleCloudMlV1__OperationMetadata
data GoogleCloudMlV1__OperationMetadata Source #
Represents the metadata of the long-running operation.
See: googleCloudMlV1__OperationMetadata
smart constructor.
Instances
googleCloudMlV1__OperationMetadata :: GoogleCloudMlV1__OperationMetadata Source #
Creates a value of GoogleCloudMlV1__OperationMetadata
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gcmvomStartTime :: Lens' GoogleCloudMlV1__OperationMetadata (Maybe UTCTime) Source #
The time operation processing started.
gcmvomModelName :: Lens' GoogleCloudMlV1__OperationMetadata (Maybe Text) Source #
Contains the name of the model associated with the operation.
gcmvomProjectNumber :: Lens' GoogleCloudMlV1__OperationMetadata (Maybe Int64) Source #
Contains the project number associated with the operation.
gcmvomVersion :: Lens' GoogleCloudMlV1__OperationMetadata (Maybe GoogleCloudMlV1__Version) Source #
Contains the version associated with the operation.
gcmvomEndTime :: Lens' GoogleCloudMlV1__OperationMetadata (Maybe UTCTime) Source #
The time operation processing completed.
gcmvomIsCancellationRequested :: Lens' GoogleCloudMlV1__OperationMetadata (Maybe Bool) Source #
Indicates whether a request to cancel this operation has been made.
gcmvomLabels :: Lens' GoogleCloudMlV1__OperationMetadata (Maybe GoogleCloudMlV1__OperationMetadataLabels) Source #
The user labels, inherited from the model or the model version being operated on.
gcmvomOperationType :: Lens' GoogleCloudMlV1__OperationMetadata (Maybe GoogleCloudMlV1__OperationMetadataOperationType) Source #
The operation type.
gcmvomCreateTime :: Lens' GoogleCloudMlV1__OperationMetadata (Maybe UTCTime) Source #
The time the operation was submitted.
GoogleAPI__HTTPBodyExtensionsItem
data GoogleAPI__HTTPBodyExtensionsItem Source #
Instances
googleAPI__HTTPBodyExtensionsItem Source #
Creates a value of GoogleAPI__HTTPBodyExtensionsItem
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gahttpbeiAddtional :: Lens' GoogleAPI__HTTPBodyExtensionsItem (HashMap Text JSONValue) Source #
Properties of the object. Contains field 'type with type URL.
GoogleCloudMlV1__CancelJobRequest
data GoogleCloudMlV1__CancelJobRequest Source #
Request message for the CancelJob method.
See: googleCloudMlV1__CancelJobRequest
smart constructor.
Instances
googleCloudMlV1__CancelJobRequest :: GoogleCloudMlV1__CancelJobRequest Source #
Creates a value of GoogleCloudMlV1__CancelJobRequest
with the minimum fields required to make a request.
GoogleCloudMlV1__TrainingOutput
data GoogleCloudMlV1__TrainingOutput Source #
Represents results of a training job. Output only.
See: googleCloudMlV1__TrainingOutput
smart constructor.
Instances
googleCloudMlV1__TrainingOutput :: GoogleCloudMlV1__TrainingOutput Source #
Creates a value of GoogleCloudMlV1__TrainingOutput
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gcmvtoIsHyperparameterTuningJob :: Lens' GoogleCloudMlV1__TrainingOutput (Maybe Bool) Source #
Whether this job is a hyperparameter tuning job.
gcmvtoCompletedTrialCount :: Lens' GoogleCloudMlV1__TrainingOutput (Maybe Int64) Source #
The number of hyperparameter tuning trials that completed successfully. Only set for hyperparameter tuning jobs.
gcmvtoConsumedMLUnits :: Lens' GoogleCloudMlV1__TrainingOutput (Maybe Double) Source #
The amount of ML units consumed by the job.
gcmvtoTrials :: Lens' GoogleCloudMlV1__TrainingOutput [GoogleCloudMlV1__HyperparameterOutput] Source #
Results for individual Hyperparameter trials. Only set for hyperparameter tuning jobs.
GoogleAPI__HTTPBody
data GoogleAPI__HTTPBody Source #
Message that represents an arbitrary HTTP body. It should only be used for payload formats that can't be represented as JSON, such as raw binary or an HTML page. This message can be used both in streaming and non-streaming API methods in the request as well as the response. It can be used as a top-level request field, which is convenient if one wants to extract parameters from either the URL or HTTP template into the request fields and also want access to the raw HTTP body. Example: message GetResourceRequest { // A unique request id. string request_id = 1; // The raw HTTP body is bound to this field. google.api.HttpBody http_body = 2; } service ResourceService { rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); } Example with streaming methods: service CaldavService { rpc GetCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); } Use of this type only changes how the request and response bodies are handled, all other features will continue to work unchanged.
See: googleAPI__HTTPBody
smart constructor.
Instances
googleAPI__HTTPBody :: GoogleAPI__HTTPBody Source #
Creates a value of GoogleAPI__HTTPBody
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gahttpbExtensions :: Lens' GoogleAPI__HTTPBody [GoogleAPI__HTTPBodyExtensionsItem] Source #
Application specific response metadata. Must be set in the first response for streaming APIs.
gahttpbData :: Lens' GoogleAPI__HTTPBody (Maybe ByteString) Source #
HTTP body binary data.
gahttpbContentType :: Lens' GoogleAPI__HTTPBody (Maybe Text) Source #
The HTTP Content-Type string representing the content type of the body.
GoogleIAMV1__TestIAMPermissionsRequest
data GoogleIAMV1__TestIAMPermissionsRequest Source #
Request message for `TestIamPermissions` method.
See: googleIAMV1__TestIAMPermissionsRequest
smart constructor.
Instances
googleIAMV1__TestIAMPermissionsRequest :: GoogleIAMV1__TestIAMPermissionsRequest Source #
Creates a value of GoogleIAMV1__TestIAMPermissionsRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
giamvtiamprPermissions :: Lens' GoogleIAMV1__TestIAMPermissionsRequest [Text] Source #
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.
GoogleCloudMlV1__ListLocationsResponse
data GoogleCloudMlV1__ListLocationsResponse Source #
Instances
googleCloudMlV1__ListLocationsResponse :: GoogleCloudMlV1__ListLocationsResponse Source #
Creates a value of GoogleCloudMlV1__ListLocationsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gcmvllrNextPageToken :: Lens' GoogleCloudMlV1__ListLocationsResponse (Maybe Text) Source #
Optional. Pass this token as the `page_token` field of the request for a subsequent call.
gcmvllrLocations :: Lens' GoogleCloudMlV1__ListLocationsResponse [GoogleCloudMlV1__Location] Source #
Locations where at least one type of CMLE capability is available.
GoogleCloudMlV1__VersionLabels
data GoogleCloudMlV1__VersionLabels Source #
Optional. One or more labels that you can add, to organize your model versions. Each label is a key-value pair, where both the key and the value are arbitrary strings that you supply. For more information, see the documentation on using labels.
See: googleCloudMlV1__VersionLabels
smart constructor.
Instances
googleCloudMlV1__VersionLabels Source #
Creates a value of GoogleCloudMlV1__VersionLabels
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired: