@@ -495,10 +495,30 @@ public function __construct(Google_Client $client)
495495 'required ' => true ,
496496 ),
497497 ),
498+ ),'patch ' => array (
499+ 'path ' => 'variantsets/{variantSetId} ' ,
500+ 'httpMethod ' => 'PATCH ' ,
501+ 'parameters ' => array (
502+ 'variantSetId ' => array (
503+ 'location ' => 'path ' ,
504+ 'type ' => 'string ' ,
505+ 'required ' => true ,
506+ ),
507+ ),
498508 ),'search ' => array (
499509 'path ' => 'variantsets/search ' ,
500510 'httpMethod ' => 'POST ' ,
501511 'parameters ' => array (),
512+ ),'update ' => array (
513+ 'path ' => 'variantsets/{variantSetId} ' ,
514+ 'httpMethod ' => 'PUT ' ,
515+ 'parameters ' => array (
516+ 'variantSetId ' => array (
517+ 'location ' => 'path ' ,
518+ 'type ' => 'string ' ,
519+ 'required ' => true ,
520+ ),
521+ ),
502522 ),
503523 )
504524 )
@@ -1236,6 +1256,23 @@ public function mergeVariants($variantSetId, Google_Service_Genomics_MergeVarian
12361256 $ params = array_merge ($ params , $ optParams );
12371257 return $ this ->call ('mergeVariants ' , array ($ params ));
12381258 }
1259+ /**
1260+ * Updates a variant set's metadata. All other modifications are silently
1261+ * ignored. Returns the modified variant set. This method supports patch
1262+ * semantics. (variantsets.patch)
1263+ *
1264+ * @param string $variantSetId
1265+ * The ID of the variant to be updated.
1266+ * @param Google_VariantSet $postBody
1267+ * @param array $optParams Optional parameters.
1268+ * @return Google_Service_Genomics_VariantSet
1269+ */
1270+ public function patch ($ variantSetId , Google_Service_Genomics_VariantSet $ postBody , $ optParams = array ())
1271+ {
1272+ $ params = array ('variantSetId ' => $ variantSetId , 'postBody ' => $ postBody );
1273+ $ params = array_merge ($ params , $ optParams );
1274+ return $ this ->call ('patch ' , array ($ params ), "Google_Service_Genomics_VariantSet " );
1275+ }
12391276 /**
12401277 * Returns a list of all variant sets matching search criteria.
12411278 * (variantsets.search)
@@ -1250,6 +1287,22 @@ public function search(Google_Service_Genomics_SearchVariantSetsRequest $postBod
12501287 $ params = array_merge ($ params , $ optParams );
12511288 return $ this ->call ('search ' , array ($ params ), "Google_Service_Genomics_SearchVariantSetsResponse " );
12521289 }
1290+ /**
1291+ * Updates a variant set's metadata. All other modifications are silently
1292+ * ignored. Returns the modified variant set. (variantsets.update)
1293+ *
1294+ * @param string $variantSetId
1295+ * The ID of the variant to be updated.
1296+ * @param Google_VariantSet $postBody
1297+ * @param array $optParams Optional parameters.
1298+ * @return Google_Service_Genomics_VariantSet
1299+ */
1300+ public function update ($ variantSetId , Google_Service_Genomics_VariantSet $ postBody , $ optParams = array ())
1301+ {
1302+ $ params = array ('variantSetId ' => $ variantSetId , 'postBody ' => $ postBody );
1303+ $ params = array_merge ($ params , $ optParams );
1304+ return $ this ->call ('update ' , array ($ params ), "Google_Service_Genomics_VariantSet " );
1305+ }
12531306}
12541307
12551308
@@ -1517,13 +1570,8 @@ class Google_Service_Genomics_ExperimentalCreateJobRequest extends Google_Collec
15171570 public $ align ;
15181571 public $ callVariants ;
15191572 public $ gcsOutputPath ;
1520- public $ libraryName ;
15211573 public $ pairedSourceUris ;
1522- public $ platformName ;
1523- public $ platformUnit ;
15241574 public $ projectId ;
1525- public $ readGroupId ;
1526- public $ sampleName ;
15271575 public $ sourceUris ;
15281576
15291577 public function setAlign ($ align )
@@ -1556,16 +1604,6 @@ public function getGcsOutputPath()
15561604 return $ this ->gcsOutputPath ;
15571605 }
15581606
1559- public function setLibraryName ($ libraryName )
1560- {
1561- $ this ->libraryName = $ libraryName ;
1562- }
1563-
1564- public function getLibraryName ()
1565- {
1566- return $ this ->libraryName ;
1567- }
1568-
15691607 public function setPairedSourceUris ($ pairedSourceUris )
15701608 {
15711609 $ this ->pairedSourceUris = $ pairedSourceUris ;
@@ -1576,26 +1614,6 @@ public function getPairedSourceUris()
15761614 return $ this ->pairedSourceUris ;
15771615 }
15781616
1579- public function setPlatformName ($ platformName )
1580- {
1581- $ this ->platformName = $ platformName ;
1582- }
1583-
1584- public function getPlatformName ()
1585- {
1586- return $ this ->platformName ;
1587- }
1588-
1589- public function setPlatformUnit ($ platformUnit )
1590- {
1591- $ this ->platformUnit = $ platformUnit ;
1592- }
1593-
1594- public function getPlatformUnit ()
1595- {
1596- return $ this ->platformUnit ;
1597- }
1598-
15991617 public function setProjectId ($ projectId )
16001618 {
16011619 $ this ->projectId = $ projectId ;
@@ -1606,26 +1624,6 @@ public function getProjectId()
16061624 return $ this ->projectId ;
16071625 }
16081626
1609- public function setReadGroupId ($ readGroupId )
1610- {
1611- $ this ->readGroupId = $ readGroupId ;
1612- }
1613-
1614- public function getReadGroupId ()
1615- {
1616- return $ this ->readGroupId ;
1617- }
1618-
1619- public function setSampleName ($ sampleName )
1620- {
1621- $ this ->sampleName = $ sampleName ;
1622- }
1623-
1624- public function getSampleName ()
1625- {
1626- return $ this ->sampleName ;
1627- }
1628-
16291627 public function setSourceUris ($ sourceUris )
16301628 {
16311629 $ this ->sourceUris = $ sourceUris ;
0 commit comments