Struct google_genomics1::VariantsetMethods
[−]
[src]
pub struct VariantsetMethods<'a, C, A> where
C: 'a,
A: 'a, { /* fields omitted */ }
A builder providing access to all methods supported on variantset resources.
It is not used directly, but through the Genomics
hub.
Example
Instantiate a resource builder
extern crate hyper; extern crate yup_oauth2 as oauth2; extern crate google_genomics1 as genomics1; use std::default::Default; use oauth2::{Authenticator, DefaultAuthenticatorDelegate, ApplicationSecret, MemoryStorage}; use genomics1::Genomics; let secret: ApplicationSecret = Default::default(); let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, hyper::Client::new(), <MemoryStorage as Default>::default(), None); let mut hub = Genomics::new(hyper::Client::new(), auth); // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* // like `create(...)`, `delete(...)`, `export(...)`, `get(...)`, `patch(...)` and `search(...)` // to build up your call. let rb = hub.variantsets();
Methods
impl<'a, C, A> VariantsetMethods<'a, C, A>
[src]
fn create(&self, request: VariantSet) -> VariantsetCreateCall<'a, C, A>
Create a builder to help you perform the following task:
Creates a new variant set. For the definitions of variant sets and other genomics resources, see Fundamentals of Google Genomics The provided variant set must have a valid datasetId
set - all other fields are optional. Note that the id
field will be ignored, as this is assigned by the server.
Arguments
request
- No description provided.
fn delete(&self, variant_set_id: &str) -> VariantsetDeleteCall<'a, C, A>
Create a builder to help you perform the following task:
Deletes a variant set including all variants, call sets, and calls within. This is not reversible. For the definitions of variant sets and other genomics resources, see Fundamentals of Google Genomics
Arguments
variantSetId
- The ID of the variant set to be deleted.
fn export(
&self,
request: ExportVariantSetRequest,
variant_set_id: &str
) -> VariantsetExportCall<'a, C, A>
&self,
request: ExportVariantSetRequest,
variant_set_id: &str
) -> VariantsetExportCall<'a, C, A>
Create a builder to help you perform the following task:
Exports variant set data to an external destination. For the definitions of variant sets and other genomics resources, see Fundamentals of Google Genomics
Arguments
request
- No description provided.variantSetId
- Required. The ID of the variant set that contains variant data which should be exported. The caller must have READ access to this variant set.
fn patch(
&self,
request: VariantSet,
variant_set_id: &str
) -> VariantsetPatchCall<'a, C, A>
&self,
request: VariantSet,
variant_set_id: &str
) -> VariantsetPatchCall<'a, C, A>
Create a builder to help you perform the following task:
Updates a variant set using patch semantics. For the definitions of variant sets and other genomics resources, see Fundamentals of Google Genomics
Arguments
request
- No description provided.variantSetId
- The ID of the variant to be updated (must already exist).
fn search(
&self,
request: SearchVariantSetsRequest
) -> VariantsetSearchCall<'a, C, A>
&self,
request: SearchVariantSetsRequest
) -> VariantsetSearchCall<'a, C, A>
Create a builder to help you perform the following task:
Returns a list of all variant sets matching search criteria. For the definitions of variant sets and other genomics resources, see Fundamentals of Google Genomics Implements GlobalAllianceApi.searchVariantSets.
Arguments
request
- No description provided.
fn get(&self, variant_set_id: &str) -> VariantsetGetCall<'a, C, A>
Create a builder to help you perform the following task:
Gets a variant set by ID. For the definitions of variant sets and other genomics resources, see Fundamentals of Google Genomics
Arguments
variantSetId
- Required. The ID of the variant set.