Struct google_genomics1::DatasetMethods [] [src]

pub struct DatasetMethods<'a, C, A> where C: 'a, A: 'a { /* fields omitted */ }

A builder providing access to all methods supported on dataset 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(...)`, `get(...)`, `get_iam_policy(...)`, `list(...)`, `patch(...)`, `set_iam_policy(...)`, `test_iam_permissions(...)` and `undelete(...)`
// to build up your call.
let rb = hub.datasets();

Methods

impl<'a, C, A> DatasetMethods<'a, C, A>
[src]

Create a builder to help you perform the following task:

Creates a new dataset. For the definitions of datasets and other genomics resources, see Fundamentals of Google Genomics

Arguments

  • request - No description provided.

Create a builder to help you perform the following task:

Deletes a dataset and all of its contents (all read group sets, reference sets, variant sets, call sets, annotation sets, etc.) This is reversible (up to one week after the deletion) via the datasets.undelete operation. For the definitions of datasets and other genomics resources, see Fundamentals of Google Genomics

Arguments

  • datasetId - The ID of the dataset to be deleted.

Create a builder to help you perform the following task:

Undeletes a dataset by restoring a dataset which was deleted via this API. For the definitions of datasets and other genomics resources, see Fundamentals of Google Genomics This operation is only possible for a week after the deletion occurred.

Arguments

  • request - No description provided.
  • datasetId - The ID of the dataset to be undeleted.

Create a builder to help you perform the following task:

Sets the access control policy on the specified dataset. Replaces any existing policy. For the definitions of datasets and other genomics resources, see Fundamentals of Google Genomics See Setting a Policy for more information.

Arguments

  • request - No description provided.
  • resource - REQUIRED: The resource for which policy is being specified. Format is datasets/.

Create a builder to help you perform the following task:

Returns permissions that a caller has on the specified resource. See Testing Permissions for more information. For the definitions of datasets and other genomics resources, see Fundamentals of Google Genomics

Arguments

  • request - No description provided.
  • resource - REQUIRED: The resource for which policy is being specified. Format is datasets/.

Create a builder to help you perform the following task:

Gets a dataset by ID. For the definitions of datasets and other genomics resources, see Fundamentals of Google Genomics

Arguments

  • datasetId - The ID of the dataset.

Create a builder to help you perform the following task:

Lists datasets within a project. For the definitions of datasets and other genomics resources, see Fundamentals of Google Genomics

Create a builder to help you perform the following task:

Gets the access control policy for the dataset. This is empty if the policy or resource does not exist. See Getting a Policy for more information. For the definitions of datasets and other genomics resources, see Fundamentals of Google Genomics

Arguments

  • request - No description provided.
  • resource - REQUIRED: The resource for which policy is being specified. Format is datasets/.

Create a builder to help you perform the following task:

Updates a dataset. For the definitions of datasets and other genomics resources, see Fundamentals of Google Genomics This method supports patch semantics.

Arguments

  • request - No description provided.
  • datasetId - The ID of the dataset to be updated.

Trait Implementations

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