@@ -283,7 +283,7 @@ operationSchema pOsAddtional_ =
283283 { _osAddtional = _Coerce # pOsAddtional_
284284 }
285285
286−-- | Properties of the object. Contains field \'ype with type URL.
286+-- | Properties of the object. Contains field \'type with type URL.
287287osAddtional :: Lens' OperationSchema (HashMap Text JSONValue)
288288osAddtional
289289 = lens _osAddtional (\ s a -> s{_osAddtional = a}) .
@@ -861,7 +861,7 @@ dsName = lens _dsName (\ s a -> s{_dsName = a})
861861dsId :: Lens' DataSet (Maybe Text)
862862dsId = lens _dsId (\ s a -> s{_dsId = a})
863863
864−-- | The Google Developers Console project ID that this dataset belongs to.
864+-- | The Google Cloud project ID that this dataset belongs to.
865865dsProjectId :: Lens' DataSet (Maybe Text)
866866dsProjectId
867867 = lens _dsProjectId (\ s a -> s{_dsProjectId = a})
@@ -1318,8 +1318,9 @@ instance ToJSON VariantCall where
13181318
13191319--
13201320-- /See:/ 'batchCreateAnnotationsRequest' smart constructor.
1321−newtype BatchCreateAnnotationsRequest = BatchCreateAnnotationsRequest'
1322− { _bcarAnnotations :: Maybe [Annotation]
1321+data BatchCreateAnnotationsRequest = BatchCreateAnnotationsRequest'
1322+ { _bcarAnnotations :: !(Maybe [Annotation])
1323+ , _bcarRequestId :: !(Maybe Text)
13231324 } deriving (Eq,Show,Data,Typeable,Generic)
13241325
13251326-- | Creates a value of 'BatchCreateAnnotationsRequest' with the minimum fields required to make a request.
@@ -1327,11 +1328,14 @@ newtype BatchCreateAnnotationsRequest = BatchCreateAnnotationsRequest'
13271328-- Use one of the following lenses to modify other fields as desired:
13281329--
13291330-- * 'bcarAnnotations'
1331+--
1332+-- * 'bcarRequestId'
13301333batchCreateAnnotationsRequest
13311334 :: BatchCreateAnnotationsRequest
13321335batchCreateAnnotationsRequest =
13331336 BatchCreateAnnotationsRequest'
13341337 { _bcarAnnotations = Nothing
1338+ , _bcarRequestId = Nothing
13351339 }
13361340
13371341-- | The annotations to be created. At most 4096 can be specified in a single
@@ -1343,17 +1347,33 @@ bcarAnnotations
13431347 . _Default
13441348 . _Coerce
13451349
1350+-- | A unique request ID which enables the server to detect duplicated
1351+-- requests. If provided, duplicated requests will result in the same
1352+-- response; if not provided, duplicated requests may result in duplicated
1353+-- data. For a given annotation set, callers should not reuse
1354+-- \`request_id\`s when writing different batches of annotations - behavior
1355+-- in this case is undefined. A common approach is to use a UUID. For batch
1356+-- jobs where worker crashes are a possibility, consider using some unique
1357+-- variant of a worker or run ID.
1358+bcarRequestId :: Lens' BatchCreateAnnotationsRequest (Maybe Text)
1359+bcarRequestId
1360+ = lens _bcarRequestId
1361+ (\ s a -> s{_bcarRequestId = a})
1362+
13461363instance FromJSON BatchCreateAnnotationsRequest where
13471364 parseJSON
13481365 = withObject "BatchCreateAnnotationsRequest"
13491366 (\ o ->
13501367 BatchCreateAnnotationsRequest' <$>
1351− (o .:? "annotations" .!= mempty))
1368+ (o .:? "annotations" .!= mempty) <*>
1369+ (o .:? "requestId"))
13521370
13531371instance ToJSON BatchCreateAnnotationsRequest where
13541372 toJSON BatchCreateAnnotationsRequest'{..}
13551373 = object
1356− (catMaybes [("annotations" .=) <$> _bcarAnnotations])
1374+ (catMaybes
1375+ [("annotations" .=) <$> _bcarAnnotations,
1376+ ("requestId" .=) <$> _bcarRequestId])
13571377
13581378--
13591379-- /See:/ 'mergeVariantsRequest' smart constructor.
@@ -1611,7 +1631,7 @@ operation =
16111631oDone :: Lens' Operation (Maybe Bool)
16121632oDone = lens _oDone (\ s a -> s{_oDone = a})
16131633
1614−-- | The error result of the operation in case of failure.
1634+-- | The error result of the operation in case of failure or cancellation.
16151635oError :: Lens' Operation (Maybe Status)
16161636oError = lens _oError (\ s a -> s{_oError = a})
16171637
@@ -2509,7 +2529,7 @@ statusDetailsItem pSdiAddtional_ =
25092529 { _sdiAddtional = _Coerce # pSdiAddtional_
25102530 }
25112531
2512−-- | Properties of the object. Contains field \'ype with type URL.
2532+-- | Properties of the object. Contains field \'type with type URL.
25132533sdiAddtional :: Lens' StatusDetailsItem (HashMap Text JSONValue)
25142534sdiAddtional
25152535 = lens _sdiAddtional (\ s a -> s{_sdiAddtional = a})
@@ -2797,7 +2817,7 @@ operationMetadataRequest pOmrAddtional_ =
27972817 { _omrAddtional = _Coerce # pOmrAddtional_
27982818 }
27992819
2800−-- | Properties of the object. Contains field \'ype with type URL.
2820+-- | Properties of the object. Contains field \'type with type URL.
28012821omrAddtional :: Lens' OperationMetadataRequest (HashMap Text JSONValue)
28022822omrAddtional
28032823 = lens _omrAddtional (\ s a -> s{_omrAddtional = a})
@@ -3277,6 +3297,45 @@ instance ToJSON SearchVariantsResponse where
32773297 [("variants" .=) <$> _sVariants,
32783298 ("nextPageToken" .=) <$> _sNextPageToken])
32793299
3300+-- | Runtime metadata on this Operation.
3301+--
3302+-- /See:/ 'operationMetadataRuntimeMetadata' smart constructor.
3303+newtype OperationMetadataRuntimeMetadata = OperationMetadataRuntimeMetadata'
3304+ { _omrmAddtional :: HashMap Text JSONValue
3305+ } deriving (Eq,Show,Data,Typeable,Generic)
3306+
3307+-- | Creates a value of 'OperationMetadataRuntimeMetadata' with the minimum fields required to make a request.
3308+--
3309+-- Use one of the following lenses to modify other fields as desired:
3310+--
3311+-- * 'omrmAddtional'
3312+operationMetadataRuntimeMetadata
3313+ :: HashMap Text JSONValue -- ^ 'omrmAddtional'
3314+ -> OperationMetadataRuntimeMetadata
3315+operationMetadataRuntimeMetadata pOmrmAddtional_ =
3316+ OperationMetadataRuntimeMetadata'
3317+ { _omrmAddtional = _Coerce # pOmrmAddtional_
3318+ }
3319+
3320+-- | Properties of the object. Contains field \'type with type URL.
3321+omrmAddtional :: Lens' OperationMetadataRuntimeMetadata (HashMap Text JSONValue)
3322+omrmAddtional
3323+ = lens _omrmAddtional
3324+ (\ s a -> s{_omrmAddtional = a})
3325+ . _Coerce
3326+
3327+instance FromJSON OperationMetadataRuntimeMetadata
3328+ where
3329+ parseJSON
3330+ = withObject "OperationMetadataRuntimeMetadata"
3331+ (\ o ->
3332+ OperationMetadataRuntimeMetadata' <$>
3333+ (parseJSONObject o))
3334+
3335+instance ToJSON OperationMetadataRuntimeMetadata
3336+ where
3337+ toJSON = toJSON . _omrmAddtional
3338+
32803339--
32813340-- /See:/ 'clinicalCondition' smart constructor.
32823341data ClinicalCondition = ClinicalCondition'
@@ -3449,9 +3508,8 @@ sEnd
34493508 = lens _sEnd (\ s a -> s{_sEnd = a}) .
34503509 mapping _Coerce
34513510
3452−-- | The Google Developers Console project ID or number which will be billed
3453−-- for this access. The caller must have WRITE access to this project.
3454−-- Required.
3511+-- | The Google Cloud project ID which will be billed for this access. The
3512+-- caller must have WRITE access to this project. Required.
34553513sProjectId :: Lens' StreamReadsRequest (Maybe Text)
34563514sProjectId
34573515 = lens _sProjectId (\ s a -> s{_sProjectId = a})
@@ -4191,8 +4249,8 @@ ergsrExportURI
41914249 = lens _ergsrExportURI
41924250 (\ s a -> s{_ergsrExportURI = a})
41934251
4194−-- | Required. The Google Developers Console project ID that owns this
4195−-- export. The caller must have WRITE access to this project.
4252+-- | Required. The Google Cloud project ID that owns this export. The caller
4253+-- must have WRITE access to this project.
41964254ergsrProjectId :: Lens' ExportReadGroupSetRequest (Maybe Text)
41974255ergsrProjectId
41984256 = lens _ergsrProjectId
@@ -5266,17 +5324,24 @@ instance ToJSON ExportVariantSetRequest where
52665324--
52675325-- /See:/ 'operationMetadata' smart constructor.
52685326data OperationMetadata = OperationMetadata'
5269− { _omEvents :: !(Maybe [OperationEvent])
5270− , _omEndTime :: !(Maybe Text)
5271− , _omProjectId :: !(Maybe Text)
5272− , _omCreateTime :: !(Maybe Text)
5273− , _omRequest :: !(Maybe OperationMetadataRequest)
5327+ { _omClientId :: !(Maybe Text)
5328+ , _omStartTime :: !(Maybe Text)
5329+ , _omEvents :: !(Maybe [OperationEvent])
5330+ , _omEndTime :: !(Maybe Text)
5331+ , _omProjectId :: !(Maybe Text)
5332+ , _omCreateTime :: !(Maybe Text)
5333+ , _omRuntimeMetadata :: !(Maybe OperationMetadataRuntimeMetadata)
5334+ , _omRequest :: !(Maybe OperationMetadataRequest)
52745335 } deriving (Eq,Show,Data,Typeable,Generic)
52755336
52765337-- | Creates a value of 'OperationMetadata' with the minimum fields required to make a request.
52775338--
52785339-- Use one of the following lenses to modify other fields as desired:
52795340--
5341+-- * 'omClientId'
5342+--
5343+-- * 'omStartTime'
5344+--
52805345-- * 'omEvents'
52815346--
52825347-- * 'omEndTime'
@@ -5285,18 +5350,34 @@ data OperationMetadata = OperationMetadata'
52855350--
52865351-- * 'omCreateTime'
52875352--
5353+-- * 'omRuntimeMetadata'
5354+--
52885355-- * 'omRequest'
52895356operationMetadata
52905357 :: OperationMetadata
52915358operationMetadata =
52925359 OperationMetadata'
5293− { _omEvents = Nothing
5360+ { _omClientId = Nothing
5361+ , _omStartTime = Nothing
5362+ , _omEvents = Nothing
52945363 , _omEndTime = Nothing
52955364 , _omProjectId = Nothing
52965365 , _omCreateTime = Nothing
5366+ , _omRuntimeMetadata = Nothing
52975367 , _omRequest = Nothing
52985368 }
52995369
5370+-- | Optionally provided by the caller when submitting the request that
5371+-- creates the operation.
5372+omClientId :: Lens' OperationMetadata (Maybe Text)
5373+omClientId
5374+ = lens _omClientId (\ s a -> s{_omClientId = a})
5375+
5376+-- | The time at which the job began to run.
5377+omStartTime :: Lens' OperationMetadata (Maybe Text)
5378+omStartTime
5379+ = lens _omStartTime (\ s a -> s{_omStartTime = a})
5380+
53005381-- | Optional event messages that were generated during the job\'s execution.
53015382-- This also contains any warnings that were generated during import or
53025383-- export.
@@ -5321,6 +5402,12 @@ omCreateTime :: Lens' OperationMetadata (Maybe Text)
53215402omCreateTime
53225403 = lens _omCreateTime (\ s a -> s{_omCreateTime = a})
53235404
5405+-- | Runtime metadata on this Operation.
5406+omRuntimeMetadata :: Lens' OperationMetadata (Maybe OperationMetadataRuntimeMetadata)
5407+omRuntimeMetadata
5408+ = lens _omRuntimeMetadata
5409+ (\ s a -> s{_omRuntimeMetadata = a})
5410+
53245411-- | The original request that started the operation. Note that this will be
53255412-- in current version of the API. If the operation was started with v1beta2
53265413-- API and a GetOperation is performed on v1 API, a v1 request will be
@@ -5334,19 +5421,25 @@ instance FromJSON OperationMetadata where
53345421 = withObject "OperationMetadata"
53355422 (\ o ->
53365423 OperationMetadata' <$>
5337− (o .:? "events" .!= mempty) <*> (o .:? "endTime") <*>
5338− (o .:? "projectId")
5424+ (o .:? "clientId") <*> (o .:? "startTime") <*>
5425+ (o .:? "events" .!= mempty)
5426+ <*> (o .:? "endTime")
5427+ <*> (o .:? "projectId")
53395428 <*> (o .:? "createTime")
5429+ <*> (o .:? "runtimeMetadata")
53405430 <*> (o .:? "request"))
53415431
53425432instance ToJSON OperationMetadata where
53435433 toJSON OperationMetadata'{..}
53445434 = object
53455435 (catMaybes
5346− [("events" .=) <$> _omEvents,
5436+ [("clientId" .=) <$> _omClientId,
5437+ ("startTime" .=) <$> _omStartTime,
5438+ ("events" .=) <$> _omEvents,
53475439 ("endTime" .=) <$> _omEndTime,
53485440 ("projectId" .=) <$> _omProjectId,
53495441 ("createTime" .=) <$> _omCreateTime,
5442+ ("runtimeMetadata" .=) <$> _omRuntimeMetadata,
53505443 ("request" .=) <$> _omRequest])
53515444
53525445--
@@ -5584,8 +5677,6 @@ svrStart
55845677-- | Only return variant calls which belong to call sets with these ids.
55855678-- Leaving this blank returns all variant calls. If a variant has no calls
55865679-- belonging to any of these call sets, it won\'t be returned at all.
5587−-- Currently, variants with no calls from any call set will never be
5588−-- returned.
55895680svrCallSetIds :: Lens' SearchVariantsRequest [Text]
55905681svrCallSetIds
55915682 = lens _svrCallSetIds
@@ -5707,6 +5798,79 @@ instance FromJSON AnnotationSetInfo where
57075798instance ToJSON AnnotationSetInfo where
57085799 toJSON = toJSON . _asiAddtional
57095800
5801+-- | Describes a Compute Engine resource that is being managed by a running
5802+-- pipeline.
5803+--
5804+-- /See:/ 'computeEngine' smart constructor.
5805+data ComputeEngine = ComputeEngine'
5806+ { _ceZone :: !(Maybe Text)
5807+ , _ceDiskNames :: !(Maybe [Text])
5808+ , _ceMachineType :: !(Maybe Text)
5809+ , _ceInstanceName :: !(Maybe Text)
5810+ } deriving (Eq,Show,Data,Typeable,Generic)
5811+
5812+-- | Creates a value of 'ComputeEngine' with the minimum fields required to make a request.
5813+--
5814+-- Use one of the following lenses to modify other fields as desired:
5815+--
5816+-- * 'ceZone'
5817+--
5818+-- * 'ceDiskNames'
5819+--
5820+-- * 'ceMachineType'
5821+--
5822+-- * 'ceInstanceName'
5823+computeEngine
5824+ :: ComputeEngine
5825+computeEngine =
5826+ ComputeEngine'
5827+ { _ceZone = Nothing
5828+ , _ceDiskNames = Nothing
5829+ , _ceMachineType = Nothing
5830+ , _ceInstanceName = Nothing
5831+ }
5832+
5833+-- | The availability zone in which the instance resides.
5834+ceZone :: Lens' ComputeEngine (Maybe Text)
5835+ceZone = lens _ceZone (\ s a -> s{_ceZone = a})
5836+
5837+-- | The names of the disks that were created for this pipeline.
5838+ceDiskNames :: Lens' ComputeEngine [Text]
5839+ceDiskNames
5840+ = lens _ceDiskNames (\ s a -> s{_ceDiskNames = a}) .
5841+ _Default
5842+ . _Coerce
5843+
5844+-- | The machine type of the instance.
5845+ceMachineType :: Lens' ComputeEngine (Maybe Text)
5846+ceMachineType
5847+ = lens _ceMachineType
5848+ (\ s a -> s{_ceMachineType = a})
5849+
5850+-- | The instance on which the operation is running.
5851+ceInstanceName :: Lens' ComputeEngine (Maybe Text)
5852+ceInstanceName
5853+ = lens _ceInstanceName
5854+ (\ s a -> s{_ceInstanceName = a})
5855+
5856+instance FromJSON ComputeEngine where
5857+ parseJSON
5858+ = withObject "ComputeEngine"
5859+ (\ o ->
5860+ ComputeEngine' <$>
5861+ (o .:? "zone") <*> (o .:? "diskNames" .!= mempty) <*>
5862+ (o .:? "machineType")
5863+ <*> (o .:? "instanceName"))
5864+
5865+instance ToJSON ComputeEngine where
5866+ toJSON ComputeEngine'{..}
5867+ = object
5868+ (catMaybes
5869+ [("zone" .=) <$> _ceZone,
5870+ ("diskNames" .=) <$> _ceDiskNames,
5871+ ("machineType" .=) <$> _ceMachineType,
5872+ ("instanceName" .=) <$> _ceInstanceName])
5873+
57105874--
57115875-- /See:/ 'searchAnnotationSetsResponse' smart constructor.
57125876data SearchAnnotationSetsResponse = SearchAnnotationSetsResponse'
@@ -5853,7 +6017,7 @@ operationResponse pOrAddtional_ =
58536017 { _orAddtional = _Coerce # pOrAddtional_
58546018 }
58556019
5856−-- | Properties of the object. Contains field \'ype with type URL.
6020+-- | Properties of the object. Contains field \'type with type URL.
58576021orAddtional :: Lens' OperationResponse (HashMap Text JSONValue)
58586022orAddtional
58596023 = lens _orAddtional (\ s a -> s{_orAddtional = a}) .
@@ -5946,22 +6110,42 @@ instance ToJSON Transcript where
59466110-- | An event that occurred during an Operation.
59476111--
59486112-- /See:/ 'operationEvent' smart constructor.
5949−newtype OperationEvent = OperationEvent'
5950− { _oeDescription :: Maybe Text
6113+data OperationEvent = OperationEvent'
6114+ { _oeStartTime :: !(Maybe Text)
6115+ , _oeEndTime :: !(Maybe Text)
6116+ , _oeDescription :: !(Maybe Text)
59516117 } deriving (Eq,Show,Data,Typeable,Generic)
59526118
59536119-- | Creates a value of 'OperationEvent' with the minimum fields required to make a request.
59546120--
59556121-- Use one of the following lenses to modify other fields as desired:
59566122--
6123+-- * 'oeStartTime'
6124+--
6125+-- * 'oeEndTime'
6126+--
59576127-- * 'oeDescription'
59586128operationEvent
59596129 :: OperationEvent
59606130operationEvent =
59616131 OperationEvent'
5962− { _oeDescription = Nothing
6132+ { _oeStartTime = Nothing
6133+ , _oeEndTime = Nothing
6134+ , _oeDescription = Nothing
59636135 }
59646136
6137+-- | Optional time of when event started.
6138+oeStartTime :: Lens' OperationEvent (Maybe Text)
6139+oeStartTime
6140+ = lens _oeStartTime (\ s a -> s{_oeStartTime = a})
6141+
6142+-- | Optional time of when event finished. An event can have a start time and
6143+-- no finish time. If an event has a finish time, there must be a start
6144+-- time.
6145+oeEndTime :: Lens' OperationEvent (Maybe Text)
6146+oeEndTime
6147+ = lens _oeEndTime (\ s a -> s{_oeEndTime = a})
6148+
59656149-- | Required description of event.
59666150oeDescription :: Lens' OperationEvent (Maybe Text)
59676151oeDescription
@@ -5971,12 +6155,18 @@ oeDescription
59716155instance FromJSON OperationEvent where
59726156 parseJSON
59736157 = withObject "OperationEvent"
5974− (\ o -> OperationEvent' <$> (o .:? "description"))
6158+ (\ o ->
6159+ OperationEvent' <$>
6160+ (o .:? "startTime") <*> (o .:? "endTime") <*>
6161+ (o .:? "description"))
59756162
59766163instance ToJSON OperationEvent where
59776164 toJSON OperationEvent'{..}
59786165 = object
5979− (catMaybes [("description" .=) <$> _oeDescription])
6166+ (catMaybes
6167+ [("startTime" .=) <$> _oeStartTime,
6168+ ("endTime" .=) <$> _oeEndTime,
6169+ ("description" .=) <$> _oeDescription])
59806170
59816171-- | The stream variants request.
59826172--
@@ -6052,9 +6242,8 @@ strEnd
60526242 = lens _strEnd (\ s a -> s{_strEnd = a}) .
60536243 mapping _Coerce
60546244
6055−-- | The Google Developers Console project ID or number which will be billed
6056−-- for this access. The caller must have WRITE access to this project.
6057−-- Required.
6245+-- | The Google Cloud project ID which will be billed for this access. The
6246+-- caller must have WRITE access to this project. Required.
60586247strProjectId :: Lens' StreamVariantsRequest (Maybe Text)
60596248strProjectId
60606249 = lens _strProjectId (\ s a -> s{_strProjectId = a})
@@ -6280,6 +6469,43 @@ instance ToJSON Position where
62806469 ("referenceName" .=) <$> _pReferenceName,
62816470 ("position" .=) <$> _pPosition])
62826471
6472+-- | Runtime metadata that will be populated in the runtimeMetadata field of
6473+-- the Operation associated with a RunPipeline execution.
6474+--
6475+-- /See:/ 'runtimeMetadata' smart constructor.
6476+newtype RuntimeMetadata = RuntimeMetadata'
6477+ { _rmComputeEngine :: Maybe ComputeEngine
6478+ } deriving (Eq,Show,Data,Typeable,Generic)
6479+
6480+-- | Creates a value of 'RuntimeMetadata' with the minimum fields required to make a request.
6481+--
6482+-- Use one of the following lenses to modify other fields as desired:
6483+--
6484+-- * 'rmComputeEngine'
6485+runtimeMetadata
6486+ :: RuntimeMetadata
6487+runtimeMetadata =
6488+ RuntimeMetadata'
6489+ { _rmComputeEngine = Nothing
6490+ }
6491+
6492+-- | Execution information specific to Google Compute Engine.
6493+rmComputeEngine :: Lens' RuntimeMetadata (Maybe ComputeEngine)
6494+rmComputeEngine
6495+ = lens _rmComputeEngine
6496+ (\ s a -> s{_rmComputeEngine = a})
6497+
6498+instance FromJSON RuntimeMetadata where
6499+ parseJSON
6500+ = withObject "RuntimeMetadata"
6501+ (\ o -> RuntimeMetadata' <$> (o .:? "computeEngine"))
6502+
6503+instance ToJSON RuntimeMetadata where
6504+ toJSON RuntimeMetadata'{..}
6505+ = object
6506+ (catMaybes
6507+ [("computeEngine" .=) <$> _rmComputeEngine])
6508+
62836509-- | The read group set search response.
62846510--
62856511-- /See:/ 'searchReadGroupSetsResponse' smart constructor.