Skip to content

Commit 67a61f0

Browse files
committed
Updated Genomics.php
This change has been generated by a script that has detected changes in the discovery doc of the API. Check http://developers.google.com/discovery for more info.
1 parent 07646aa commit 67a61f0

File tree

1 file changed

+96
-0
lines changed

1 file changed

+96
-0
lines changed

src/Google/Service/Genomics.php

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ class Google_Service_Genomics extends Google_Service
5555
public $references;
5656
public $references_bases;
5757
public $referencesets;
58+
public $streamingVariantStore;
5859
public $variants;
5960
public $variantsets;
6061

@@ -590,6 +591,20 @@ public function __construct(Google_Client $client)
590591
)
591592
)
592593
);
594+
$this->streamingVariantStore = new Google_Service_Genomics_StreamingVariantStore_Resource(
595+
$this,
596+
$this->serviceName,
597+
'streamingVariantStore',
598+
array(
599+
'methods' => array(
600+
'streamvariants' => array(
601+
'path' => 'streamingVariantStore/streamvariants',
602+
'httpMethod' => 'POST',
603+
'parameters' => array(),
604+
),
605+
)
606+
)
607+
);
593608
$this->variants = new Google_Service_Genomics_Variants_Resource(
594609
$this,
595610
$this->serviceName,
@@ -1659,6 +1674,33 @@ public function search(Google_Service_Genomics_SearchReferenceSetsRequest $postB
16591674
}
16601675
}
16611676

1677+
/**
1678+
* The "streamingVariantStore" collection of methods.
1679+
* Typical usage is:
1680+
* <code>
1681+
* $genomicsService = new Google_Service_Genomics(...);
1682+
* $streamingVariantStore = $genomicsService->streamingVariantStore;
1683+
* </code>
1684+
*/
1685+
class Google_Service_Genomics_StreamingVariantStore_Resource extends Google_Service_Resource
1686+
{
1687+
1688+
/**
1689+
* Returns a stream of all the variants matching the search request, ordered by
1690+
* reference name, position, and ID. (streamingVariantStore.streamvariants)
1691+
*
1692+
* @param Google_StreamVariantsRequest $postBody
1693+
* @param array $optParams Optional parameters.
1694+
* @return Google_Service_Genomics_Variant
1695+
*/
1696+
public function streamvariants(Google_Service_Genomics_StreamVariantsRequest $postBody, $optParams = array())
1697+
{
1698+
$params = array('postBody' => $postBody);
1699+
$params = array_merge($params, $optParams);
1700+
return $this->call('streamvariants', array($params), "Google_Service_Genomics_Variant");
1701+
}
1702+
}
1703+
16621704
/**
16631705
* The "variants" collection of methods.
16641706
* Typical usage is:
@@ -4998,6 +5040,60 @@ public function getVariants()
49985040
}
49995041
}
50005042

5043+
class Google_Service_Genomics_StreamVariantsRequest extends Google_Collection
5044+
{
5045+
protected $collection_key = 'variantSetIds';
5046+
protected $internal_gapi_mappings = array(
5047+
);
5048+
public $callSetIds;
5049+
public $end;
5050+
public $referenceName;
5051+
public $start;
5052+
public $variantSetIds;
5053+
5054+
5055+
public function setCallSetIds($callSetIds)
5056+
{
5057+
$this->callSetIds = $callSetIds;
5058+
}
5059+
public function getCallSetIds()
5060+
{
5061+
return $this->callSetIds;
5062+
}
5063+
public function setEnd($end)
5064+
{
5065+
$this->end = $end;
5066+
}
5067+
public function getEnd()
5068+
{
5069+
return $this->end;
5070+
}
5071+
public function setReferenceName($referenceName)
5072+
{
5073+
$this->referenceName = $referenceName;
5074+
}
5075+
public function getReferenceName()
5076+
{
5077+
return $this->referenceName;
5078+
}
5079+
public function setStart($start)
5080+
{
5081+
$this->start = $start;
5082+
}
5083+
public function getStart()
5084+
{
5085+
return $this->start;
5086+
}
5087+
public function setVariantSetIds($variantSetIds)
5088+
{
5089+
$this->variantSetIds = $variantSetIds;
5090+
}
5091+
public function getVariantSetIds()
5092+
{
5093+
return $this->variantSetIds;
5094+
}
5095+
}
5096+
50015097
class Google_Service_Genomics_Transcript extends Google_Collection
50025098
{
50035099
protected $collection_key = 'exons';

0 commit comments

Comments
 (0)