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 hyper_rustls;
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::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())),
                              <MemoryStorage as Default>::default(), None);
let mut hub = Genomics::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::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]

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.

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.

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.

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).

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.

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.

Trait Implementations

impl<'a, C, A> MethodsBuilder for VariantsetMethods<'a, C, A>
[src]

Auto Trait Implementations

impl<'a, C, A> !Send for VariantsetMethods<'a, C, A>

impl<'a, C, A> !Sync for VariantsetMethods<'a, C, A>