@@ -54,18 +54,22 @@ instance ToJSON
5454--
5555-- /See:/ 'googleCloudMlV1beta1__Version' smart constructor.
5656data GoogleCloudMlV1beta1__Version = GoogleCloudMlV1beta1__Version'
57− { _gcmvvLastUseTime :: !(Maybe DateTime')
58− , _gcmvvName :: !(Maybe Text)
59− , _gcmvvDeploymentURI :: !(Maybe Text)
60− , _gcmvvDescription :: !(Maybe Text)
61− , _gcmvvCreateTime :: !(Maybe DateTime')
62− , _gcmvvIsDefault :: !(Maybe Bool)
57+ { _gcmvvRuntimeVersion :: !(Maybe Text)
58+ , _gcmvvLastUseTime :: !(Maybe DateTime')
59+ , _gcmvvName :: !(Maybe Text)
60+ , _gcmvvDeploymentURI :: !(Maybe Text)
61+ , _gcmvvDescription :: !(Maybe Text)
62+ , _gcmvvCreateTime :: !(Maybe DateTime')
63+ , _gcmvvOnlinePredictionLogging :: !(Maybe Bool)
64+ , _gcmvvIsDefault :: !(Maybe Bool)
6365 } deriving (Eq,Show,Data,Typeable,Generic)
6466
6567-- | Creates a value of 'GoogleCloudMlV1beta1__Version' with the minimum fields required to make a request.
6668--
6769-- Use one of the following lenses to modify other fields as desired:
6870--
71+-- * 'gcmvvRuntimeVersion'
72+--
6973-- * 'gcmvvLastUseTime'
7074--
7175-- * 'gcmvvName'
@@ -76,19 +80,30 @@ data GoogleCloudMlV1beta1__Version = GoogleCloudMlV1beta1__Version'
7680--
7781-- * 'gcmvvCreateTime'
7882--
83+-- * 'gcmvvOnlinePredictionLogging'
84+--
7985-- * 'gcmvvIsDefault'
8086googleCloudMlV1beta1__Version
8187 :: GoogleCloudMlV1beta1__Version
8288googleCloudMlV1beta1__Version =
8389 GoogleCloudMlV1beta1__Version'
84− { _gcmvvLastUseTime = Nothing
90+ { _gcmvvRuntimeVersion = Nothing
91+ , _gcmvvLastUseTime = Nothing
8592 , _gcmvvName = Nothing
8693 , _gcmvvDeploymentURI = Nothing
8794 , _gcmvvDescription = Nothing
8895 , _gcmvvCreateTime = Nothing
96+ , _gcmvvOnlinePredictionLogging = Nothing
8997 , _gcmvvIsDefault = Nothing
9098 }
9199
100+-- | Optional. The Google Cloud ML runtime version to use for this
101+-- deployment. If not set, Google Cloud ML will choose a version.
102+gcmvvRuntimeVersion :: Lens' GoogleCloudMlV1beta1__Version (Maybe Text)
103+gcmvvRuntimeVersion
104+ = lens _gcmvvRuntimeVersion
105+ (\ s a -> s{_gcmvvRuntimeVersion = a})
106+
92107-- | Output only. The time the version was last used for prediction.
93108gcmvvLastUseTime :: Lens' GoogleCloudMlV1beta1__Version (Maybe UTCTime)
94109gcmvvLastUseTime
@@ -128,6 +143,13 @@ gcmvvCreateTime
128143 (\ s a -> s{_gcmvvCreateTime = a})
129144 . mapping _DateTime
130145
146+-- | Optional. If true, enables StackDriver Logging for online prediction.
147+-- Default is false.
148+gcmvvOnlinePredictionLogging :: Lens' GoogleCloudMlV1beta1__Version (Maybe Bool)
149+gcmvvOnlinePredictionLogging
150+ = lens _gcmvvOnlinePredictionLogging
151+ (\ s a -> s{_gcmvvOnlinePredictionLogging = a})
152+
131153-- | Output only. If true, this version will be used to handle prediction
132154-- requests that do not specify a version. You can change the default
133155-- version by calling
@@ -142,21 +164,26 @@ instance FromJSON GoogleCloudMlV1beta1__Version where
142164 = withObject "GoogleCloudMlV1beta1Version"
143165 (\ o ->
144166 GoogleCloudMlV1beta1__Version' <$>
145− (o .:? "lastUseTime") <*> (o .:? "name") <*>
146− (o .:? "deploymentUri")
167+ (o .:? "runtimeVersion") <*> (o .:? "lastUseTime")
168+ <*> (o .:? "name")
169+ <*> (o .:? "deploymentUri")
147170 <*> (o .:? "description")
148171 <*> (o .:? "createTime")
172+ <*> (o .:? "onlinePredictionLogging")
149173 <*> (o .:? "isDefault"))
150174
151175instance ToJSON GoogleCloudMlV1beta1__Version where
152176 toJSON GoogleCloudMlV1beta1__Version'{..}
153177 = object
154178 (catMaybes
155− [("lastUseTime" .=) <$> _gcmvvLastUseTime,
179+ [("runtimeVersion" .=) <$> _gcmvvRuntimeVersion,
180+ ("lastUseTime" .=) <$> _gcmvvLastUseTime,
156181 ("name" .=) <$> _gcmvvName,
157182 ("deploymentUri" .=) <$> _gcmvvDeploymentURI,
158183 ("description" .=) <$> _gcmvvDescription,
159184 ("createTime" .=) <$> _gcmvvCreateTime,
185+ ("onlinePredictionLogging" .=) <$>
186+ _gcmvvOnlinePredictionLogging,
160187 ("isDefault" .=) <$> _gcmvvIsDefault])
161188
162189-- | Represents a set of hyperparameters to optimize.
@@ -444,37 +471,60 @@ instance ToJSON GoogleCloudMlV1beta1__Job where
444471 ("trainingInput" .=) <$> _gcmvjTrainingInput,
445472 ("createTime" .=) <$> _gcmvjCreateTime])
446473
447−-- | Represents results of a training job.
474+-- | Represents results of a training job. Output only.
448475--
449476-- /See:/ 'googleCloudMlV1beta1__TrainingOutput' smart constructor.
450477data GoogleCloudMlV1beta1__TrainingOutput = GoogleCloudMlV1beta1__TrainingOutput'
451− { _gcmvtoCompletedTrialCount :: !(Maybe (Textual Int64))
452− , _gcmvtoTrials :: !(Maybe [GoogleCloudMlV1beta1__HyperparameterOutput])
478+ { _gcmvtoIsHyperparameterTuningJob :: !(Maybe Bool)
479+ , _gcmvtoCompletedTrialCount :: !(Maybe (Textual Int64))
480+ , _gcmvtoConsumedMLUnits :: !(Maybe (Textual Double))
481+ , _gcmvtoTrials :: !(Maybe [GoogleCloudMlV1beta1__HyperparameterOutput])
453482 } deriving (Eq,Show,Data,Typeable,Generic)
454483
455484-- | Creates a value of 'GoogleCloudMlV1beta1__TrainingOutput' with the minimum fields required to make a request.
456485--
457486-- Use one of the following lenses to modify other fields as desired:
458487--
488+-- * 'gcmvtoIsHyperparameterTuningJob'
489+--
459490-- * 'gcmvtoCompletedTrialCount'
460491--
492+-- * 'gcmvtoConsumedMLUnits'
493+--
461494-- * 'gcmvtoTrials'
462495googleCloudMlV1beta1__TrainingOutput
463496 :: GoogleCloudMlV1beta1__TrainingOutput
464497googleCloudMlV1beta1__TrainingOutput =
465498 GoogleCloudMlV1beta1__TrainingOutput'
466− { _gcmvtoCompletedTrialCount = Nothing
499+ { _gcmvtoIsHyperparameterTuningJob = Nothing
500+ , _gcmvtoCompletedTrialCount = Nothing
501+ , _gcmvtoConsumedMLUnits = Nothing
467502 , _gcmvtoTrials = Nothing
468503 }
469504
505+-- | Whether this job is a hyperparameter tuning job.
506+gcmvtoIsHyperparameterTuningJob :: Lens' GoogleCloudMlV1beta1__TrainingOutput (Maybe Bool)
507+gcmvtoIsHyperparameterTuningJob
508+ = lens _gcmvtoIsHyperparameterTuningJob
509+ (\ s a -> s{_gcmvtoIsHyperparameterTuningJob = a})
510+
470511-- | The number of hyperparameter tuning trials that completed successfully.
512+-- Only set for hyperparameter tuning jobs.
471513gcmvtoCompletedTrialCount :: Lens' GoogleCloudMlV1beta1__TrainingOutput (Maybe Int64)
472514gcmvtoCompletedTrialCount
473515 = lens _gcmvtoCompletedTrialCount
474516 (\ s a -> s{_gcmvtoCompletedTrialCount = a})
475517 . mapping _Coerce
476518
477−-- | Results for individual Hyperparameter trials.
519+-- | The amount of ML units consumed by the job.
520+gcmvtoConsumedMLUnits :: Lens' GoogleCloudMlV1beta1__TrainingOutput (Maybe Double)
521+gcmvtoConsumedMLUnits
522+ = lens _gcmvtoConsumedMLUnits
523+ (\ s a -> s{_gcmvtoConsumedMLUnits = a})
524+ . mapping _Coerce
525+
526+-- | Results for individual Hyperparameter trials. Only set for
527+-- hyperparameter tuning jobs.
478528gcmvtoTrials :: Lens' GoogleCloudMlV1beta1__TrainingOutput [GoogleCloudMlV1beta1__HyperparameterOutput]
479529gcmvtoTrials
480530 = lens _gcmvtoTrials (\ s a -> s{_gcmvtoTrials = a})
@@ -487,16 +537,21 @@ instance FromJSON
487537 = withObject "GoogleCloudMlV1beta1TrainingOutput"
488538 (\ o ->
489539 GoogleCloudMlV1beta1__TrainingOutput' <$>
490− (o .:? "completedTrialCount") <*>
491− (o .:? "trials" .!= mempty))
540+ (o .:? "isHyperparameterTuningJob") <*>
541+ (o .:? "completedTrialCount")
542+ <*> (o .:? "consumedMLUnits")
543+ <*> (o .:? "trials" .!= mempty))
492544
493545instance ToJSON GoogleCloudMlV1beta1__TrainingOutput
494546 where
495547 toJSON GoogleCloudMlV1beta1__TrainingOutput'{..}
496548 = object
497549 (catMaybes
498− [("completedTrialCount" .=) <$>
550+ [("isHyperparameterTuningJob" .=) <$>
551+ _gcmvtoIsHyperparameterTuningJob,
552+ ("completedTrialCount" .=) <$>
499553 _gcmvtoCompletedTrialCount,
554+ ("consumedMLUnits" .=) <$> _gcmvtoConsumedMLUnits,
500555 ("trials" .=) <$> _gcmvtoTrials])
501556
502557-- | Represents a machine learning solution. A model can have multiple
@@ -505,7 +560,8 @@ instance ToJSON GoogleCloudMlV1beta1__TrainingOutput
505560--
506561-- /See:/ 'googleCloudMlV1beta1__Model' smart constructor.
507562data GoogleCloudMlV1beta1__Model = GoogleCloudMlV1beta1__Model'
508− { _gcmvmDefaultVersion :: !(Maybe GoogleCloudMlV1beta1__Version)
563+ { _gcmvmRegions :: !(Maybe [Text])
564+ , _gcmvmDefaultVersion :: !(Maybe GoogleCloudMlV1beta1__Version)
509565 , _gcmvmName :: !(Maybe Text)
510566 , _gcmvmDescription :: !(Maybe Text)
511567 } deriving (Eq,Show,Data,Typeable,Generic)
@@ -514,6 +570,8 @@ data GoogleCloudMlV1beta1__Model = GoogleCloudMlV1beta1__Model'
514570--
515571-- Use one of the following lenses to modify other fields as desired:
516572--
573+-- * 'gcmvmRegions'
574+--
517575-- * 'gcmvmDefaultVersion'
518576--
519577-- * 'gcmvmName'
@@ -523,11 +581,21 @@ googleCloudMlV1beta1__Model
523581 :: GoogleCloudMlV1beta1__Model
524582googleCloudMlV1beta1__Model =
525583 GoogleCloudMlV1beta1__Model'
526− { _gcmvmDefaultVersion = Nothing
584+ { _gcmvmRegions = Nothing
585+ , _gcmvmDefaultVersion = Nothing
527586 , _gcmvmName = Nothing
528587 , _gcmvmDescription = Nothing
529588 }
530589
590+-- | Optional. The list of regions where the model is going to be deployed.
591+-- Currently only one region per model is supported. Defaults to
592+-- \'us-central1\' if nothing is set.
593+gcmvmRegions :: Lens' GoogleCloudMlV1beta1__Model [Text]
594+gcmvmRegions
595+ = lens _gcmvmRegions (\ s a -> s{_gcmvmRegions = a})
596+ . _Default
597+ . _Coerce
598+
531599-- | Output only. The default version of the model. This version will be used
532600-- to handle prediction requests that do not specify a version. You can
533601-- change the default version by calling
@@ -554,14 +622,17 @@ instance FromJSON GoogleCloudMlV1beta1__Model where
554622 = withObject "GoogleCloudMlV1beta1Model"
555623 (\ o ->
556624 GoogleCloudMlV1beta1__Model' <$>
557− (o .:? "defaultVersion") <*> (o .:? "name") <*>
558− (o .:? "description"))
625+ (o .:? "regions" .!= mempty) <*>
626+ (o .:? "defaultVersion")
627+ <*> (o .:? "name")
628+ <*> (o .:? "description"))
559629
560630instance ToJSON GoogleCloudMlV1beta1__Model where
561631 toJSON GoogleCloudMlV1beta1__Model'{..}
562632 = object
563633 (catMaybes
564− [("defaultVersion" .=) <$> _gcmvmDefaultVersion,
634+ [("regions" .=) <$> _gcmvmRegions,
635+ ("defaultVersion" .=) <$> _gcmvmDefaultVersion,
565636 ("name" .=) <$> _gcmvmName,
566637 ("description" .=) <$> _gcmvmDescription])
567638
@@ -928,6 +999,7 @@ data GoogleCloudMlV1beta1__PredictionInput = GoogleCloudMlV1beta1__PredictionInp
928999 { _gcmvpiVersionName :: !(Maybe Text)
9291000 , _gcmvpiModelName :: !(Maybe Text)
9301001 , _gcmvpiDataFormat :: !(Maybe GoogleCloudMlV1beta1__PredictionInputDataFormat)
1002+ , _gcmvpiRuntimeVersion :: !(Maybe Text)
9311003 , _gcmvpiMaxWorkerCount :: !(Maybe (Textual Int64))
9321004 , _gcmvpiOutputPath :: !(Maybe Text)
9331005 , _gcmvpiRegion :: !(Maybe Text)
@@ -944,6 +1016,8 @@ data GoogleCloudMlV1beta1__PredictionInput = GoogleCloudMlV1beta1__PredictionInp
9441016--
9451017-- * 'gcmvpiDataFormat'
9461018--
1019+-- * 'gcmvpiRuntimeVersion'
1020+--
9471021-- * 'gcmvpiMaxWorkerCount'
9481022--
9491023-- * 'gcmvpiOutputPath'
@@ -958,6 +1032,7 @@ googleCloudMlV1beta1__PredictionInput =
9581032 { _gcmvpiVersionName = Nothing
9591033 , _gcmvpiModelName = Nothing
9601034 , _gcmvpiDataFormat = Nothing
1035+ , _gcmvpiRuntimeVersion = Nothing
9611036 , _gcmvpiMaxWorkerCount = Nothing
9621037 , _gcmvpiOutputPath = Nothing
9631038 , _gcmvpiRegion = Nothing
@@ -987,6 +1062,13 @@ gcmvpiDataFormat
9871062 = lens _gcmvpiDataFormat
9881063 (\ s a -> s{_gcmvpiDataFormat = a})
9891064
1065+-- | Optional. The Google Cloud ML runtime version to use for this batch
1066+-- prediction. If not set, Google Cloud ML will choose a version.
1067+gcmvpiRuntimeVersion :: Lens' GoogleCloudMlV1beta1__PredictionInput (Maybe Text)
1068+gcmvpiRuntimeVersion
1069+ = lens _gcmvpiRuntimeVersion
1070+ (\ s a -> s{_gcmvpiRuntimeVersion = a})
1071+
9901072-- | Optional. The maximum number of workers to be used for parallel
9911073-- processing. Defaults to 10 if not specified.
9921074gcmvpiMaxWorkerCount :: Lens' GoogleCloudMlV1beta1__PredictionInput (Maybe Int64)
@@ -1023,6 +1105,7 @@ instance FromJSON
10231105 GoogleCloudMlV1beta1__PredictionInput' <$>
10241106 (o .:? "versionName") <*> (o .:? "modelName") <*>
10251107 (o .:? "dataFormat")
1108+ <*> (o .:? "runtimeVersion")
10261109 <*> (o .:? "maxWorkerCount")
10271110 <*> (o .:? "outputPath")
10281111 <*> (o .:? "region")
@@ -1036,6 +1119,7 @@ instance ToJSON GoogleCloudMlV1beta1__PredictionInput
10361119 [("versionName" .=) <$> _gcmvpiVersionName,
10371120 ("modelName" .=) <$> _gcmvpiModelName,
10381121 ("dataFormat" .=) <$> _gcmvpiDataFormat,
1122+ ("runtimeVersion" .=) <$> _gcmvpiRuntimeVersion,
10391123 ("maxWorkerCount" .=) <$> _gcmvpiMaxWorkerCount,
10401124 ("outputPath" .=) <$> _gcmvpiOutputPath,
10411125 ("region" .=) <$> _gcmvpiRegion,
@@ -1318,7 +1402,8 @@ instance ToJSON GoogleLongrunning__OperationMetadata
13181402--
13191403-- /See:/ 'googleCloudMlV1beta1__PredictionOutput' smart constructor.
13201404data GoogleCloudMlV1beta1__PredictionOutput = GoogleCloudMlV1beta1__PredictionOutput'
1321− { _gcmvpoErrorCount :: !(Maybe (Textual Int64))
1405+ { _gcmvpoNodeHours :: !(Maybe (Textual Double))
1406+ , _gcmvpoErrorCount :: !(Maybe (Textual Int64))
13221407 , _gcmvpoPredictionCount :: !(Maybe (Textual Int64))
13231408 , _gcmvpoOutputPath :: !(Maybe Text)
13241409 } deriving (Eq,Show,Data,Typeable,Generic)
@@ -1327,6 +1412,8 @@ data GoogleCloudMlV1beta1__PredictionOutput = GoogleCloudMlV1beta1__PredictionOu
13271412--
13281413-- Use one of the following lenses to modify other fields as desired:
13291414--
1415+-- * 'gcmvpoNodeHours'
1416+--
13301417-- * 'gcmvpoErrorCount'
13311418--
13321419-- * 'gcmvpoPredictionCount'
@@ -1336,11 +1423,19 @@ googleCloudMlV1beta1__PredictionOutput
13361423 :: GoogleCloudMlV1beta1__PredictionOutput
13371424googleCloudMlV1beta1__PredictionOutput =
13381425 GoogleCloudMlV1beta1__PredictionOutput'
1339− { _gcmvpoErrorCount = Nothing
1426+ { _gcmvpoNodeHours = Nothing
1427+ , _gcmvpoErrorCount = Nothing
13401428 , _gcmvpoPredictionCount = Nothing
13411429 , _gcmvpoOutputPath = Nothing
13421430 }
13431431
1432+-- | Node hours used by the batch prediction job.
1433+gcmvpoNodeHours :: Lens' GoogleCloudMlV1beta1__PredictionOutput (Maybe Double)
1434+gcmvpoNodeHours
1435+ = lens _gcmvpoNodeHours
1436+ (\ s a -> s{_gcmvpoNodeHours = a})
1437+ . mapping _Coerce
1438+
13441439-- | The number of data instances which resulted in errors.
13451440gcmvpoErrorCount :: Lens' GoogleCloudMlV1beta1__PredictionOutput (Maybe Int64)
13461441gcmvpoErrorCount
@@ -1368,7 +1463,8 @@ instance FromJSON
13681463 = withObject "GoogleCloudMlV1beta1PredictionOutput"
13691464 (\ o ->
13701465 GoogleCloudMlV1beta1__PredictionOutput' <$>
1371− (o .:? "errorCount") <*> (o .:? "predictionCount")
1466+ (o .:? "nodeHours") <*> (o .:? "errorCount") <*>
1467+ (o .:? "predictionCount")
13721468 <*> (o .:? "outputPath"))
13731469
13741470instance ToJSON
@@ -1376,7 +1472,8 @@ instance ToJSON
13761472 toJSON GoogleCloudMlV1beta1__PredictionOutput'{..}
13771473 = object
13781474 (catMaybes
1379− [("errorCount" .=) <$> _gcmvpoErrorCount,
1475+ [("nodeHours" .=) <$> _gcmvpoNodeHours,
1476+ ("errorCount" .=) <$> _gcmvpoErrorCount,
13801477 ("predictionCount" .=) <$> _gcmvpoPredictionCount,
13811478 ("outputPath" .=) <$> _gcmvpoOutputPath])
13821479
@@ -1521,6 +1618,7 @@ data GoogleCloudMlV1beta1__TrainingInput = GoogleCloudMlV1beta1__TrainingInput'
15211618 , _gcmvtiParameterServerCount :: !(Maybe (Textual Int64))
15221619 , _gcmvtiArgs :: !(Maybe [Text])
15231620 , _gcmvtiWorkerCount :: !(Maybe (Textual Int64))
1621+ , _gcmvtiRuntimeVersion :: !(Maybe Text)
15241622 , _gcmvtiWorkerType :: !(Maybe Text)
15251623 , _gcmvtiPythonModule :: !(Maybe Text)
15261624 , _gcmvtiParameterServerType :: !(Maybe Text)
@@ -1542,6 +1640,8 @@ data GoogleCloudMlV1beta1__TrainingInput = GoogleCloudMlV1beta1__TrainingInput'
15421640--
15431641-- * 'gcmvtiWorkerCount'
15441642--
1643+-- * 'gcmvtiRuntimeVersion'
1644+--
15451645-- * 'gcmvtiWorkerType'
15461646--
15471647-- * 'gcmvtiPythonModule'
@@ -1563,6 +1663,7 @@ googleCloudMlV1beta1__TrainingInput =
15631663 , _gcmvtiParameterServerCount = Nothing
15641664 , _gcmvtiArgs = Nothing
15651665 , _gcmvtiWorkerCount = Nothing
1666+ , _gcmvtiRuntimeVersion = Nothing
15661667 , _gcmvtiWorkerType = Nothing
15671668 , _gcmvtiPythonModule = Nothing
15681669 , _gcmvtiParameterServerType = Nothing
@@ -1627,6 +1728,13 @@ gcmvtiWorkerCount
16271728 (\ s a -> s{_gcmvtiWorkerCount = a})
16281729 . mapping _Coerce
16291730
1731+-- | Optional. The Google Cloud ML runtime version to use for training. If
1732+-- not set, Google Cloud ML will choose the latest stable version.
1733+gcmvtiRuntimeVersion :: Lens' GoogleCloudMlV1beta1__TrainingInput (Maybe Text)
1734+gcmvtiRuntimeVersion
1735+ = lens _gcmvtiRuntimeVersion
1736+ (\ s a -> s{_gcmvtiRuntimeVersion = a})
1737+
16301738-- | Optional. Specifies the type of virtual machine to use for your training
16311739-- job\'s worker nodes. The supported values are the same as those
16321740-- described in the entry for \`masterType\`. This value must be present
@@ -1690,6 +1798,7 @@ instance FromJSON GoogleCloudMlV1beta1__TrainingInput
16901798 (o .:? "parameterServerCount")
16911799 <*> (o .:? "args" .!= mempty)
16921800 <*> (o .:? "workerCount")
1801+ <*> (o .:? "runtimeVersion")
16931802 <*> (o .:? "workerType")
16941803 <*> (o .:? "pythonModule")
16951804 <*> (o .:? "parameterServerType")
@@ -1708,6 +1817,7 @@ instance ToJSON GoogleCloudMlV1beta1__TrainingInput
17081817 _gcmvtiParameterServerCount,
17091818 ("args" .=) <$> _gcmvtiArgs,
17101819 ("workerCount" .=) <$> _gcmvtiWorkerCount,
1820+ ("runtimeVersion" .=) <$> _gcmvtiRuntimeVersion,
17111821 ("workerType" .=) <$> _gcmvtiWorkerType,
17121822 ("pythonModule" .=) <$> _gcmvtiPythonModule,
17131823 ("parameterServerType" .=) <$>
@@ -1857,7 +1967,7 @@ instance ToJSON
18571967--
18581968-- /See:/ 'googleAPI__HTTPBody' smart constructor.
18591969data GoogleAPI__HTTPBody = GoogleAPI__HTTPBody'
1860− { _gahttpbData :: !(Maybe Base64)
1970+ { _gahttpbData :: !(Maybe Bytes)
18611971 , _gahttpbContentType :: !(Maybe Text)
18621972 } deriving (Eq,Show,Data,Typeable,Generic)
18631973
@@ -1880,7 +1990,7 @@ googleAPI__HTTPBody =
18801990gahttpbData :: Lens' GoogleAPI__HTTPBody (Maybe ByteString)
18811991gahttpbData
18821992 = lens _gahttpbData (\ s a -> s{_gahttpbData = a}) .
1883− mapping _Base64
1993+ mapping _Bytes
18841994
18851995-- | The HTTP Content-Type string representing the content type of the body.
18861996gahttpbContentType :: Lens' GoogleAPI__HTTPBody (Maybe Text)