chore(code-gen): update to latest version

Which is to be published
This commit is contained in:
Sebastian Thiel
2016-09-11 10:13:33 +02:00
parent 13ed4eaecb
commit 45d86f31f2
626 changed files with 285857 additions and 24274 deletions

View File

@@ -4,7 +4,7 @@
[package]
name = "google-genomics1"
version = "0.1.14+20160407"
version = "0.1.14+20160905"
authors = ["Sebastian Thiel <byronimo@gmail.com>"]
description = "A complete library to interact with genomics (protocol v1)"
repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/genomics1"
@@ -18,10 +18,10 @@ build = "src/build.rs"
[dependencies]
hyper = "^ 0.9"
mime = "^ 0.2.0"
serde = "^ 0.7.5"
serde_json = "^ 0.7.0"
yup-oauth2 = { version = "^ 0.6.0", optional = true, default-features = false }
serde_macros = { version = "^ 0.7.5", optional = true }
serde = "^ 0.8"
serde_json = "^ 0.8"
yup-oauth2 = { version = "^ 0.6", optional = true, default-features = false }
serde_macros = { version = "^ 0.8", optional = true }
url = "= 0.5"
[features]
@@ -30,5 +30,5 @@ nightly = ["serde_macros","yup-oauth2/nightly"]
with-serde-codegen = ["serde_codegen","yup-oauth2/with-serde-codegen"]
[build-dependencies]
serde_codegen = { version = "^ 0.7.14", optional = true }
serde_codegen = { version = "^ 0.8", optional = true }

View File

@@ -5,7 +5,7 @@ DO NOT EDIT !
-->
The `google-genomics1` library allows access to all features of the *Google genomics* service.
This documentation was generated from *genomics* crate version *0.1.14+20160407*, where *20160407* is the exact revision of the *genomics:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v0.1.14*.
This documentation was generated from *genomics* crate version *0.1.14+20160905*, where *20160905* is the exact revision of the *genomics:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v0.1.14*.
Everything else about the *genomics* *v1* API can be found at the
[official documentation site](https://cloud.google.com/genomics/).

View File

@@ -2,7 +2,7 @@
// This file was generated automatically from 'src/mako/api/lib.rs.mako'
// DO NOT EDIT !
//! This documentation was generated from *genomics* crate version *0.1.14+20160407*, where *20160407* is the exact revision of the *genomics:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v0.1.14*.
//! This documentation was generated from *genomics* crate version *0.1.14+20160905*, where *20160905* is the exact revision of the *genomics:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v0.1.14*.
//!
//! Everything else about the *genomics* *v1* API can be found at the
//! [official documentation site](https://cloud.google.com/genomics/).

View File

@@ -279,7 +279,7 @@ impl RequestValue for SearchVariantSetsRequest {}
///
#[derive(Default, Clone, Debug, Serialize, Deserialize)]
pub struct ExportReadGroupSetRequest {
/// Required. The Google Developers Console project ID that owns this export. The caller must have WRITE access to this project.
/// Required. The Google Cloud project ID that owns this export. The caller must have WRITE access to this project.
#[serde(rename="projectId")]
pub project_id: Option<String>,
/// The reference names to export. If this is not specified, all reference sequences, including unmapped reads, are exported. Use `*` to export only unmapped reads.
@@ -528,13 +528,13 @@ impl ResponseResult for SearchAnnotationsResponse {}
///
#[derive(Default, Clone, Debug, Serialize, Deserialize)]
pub struct Transcript {
/// The range of the coding sequence for this transcript, if any. To determine the exact ranges of coding sequence, intersect this range with those of the `exons`, if any. If there are any `exons`, the `codingSequence` must start and end within them. Note that in some cases, the reference genome will not exactly match the observed mRNA transcript e.g. due to variance in the source genome from reference. In these cases, `exon.frame` will not necessarily match the expected reference reading frame and coding exon reference bases cannot necessarily be concatenated to produce the original transcript mRNA.
/// The range of the coding sequence for this transcript, if any. To determine the exact ranges of coding sequence, intersect this range with those of the exons, if any. If there are any exons, the codingSequence must start and end within them. Note that in some cases, the reference genome will not exactly match the observed mRNA transcript e.g. due to variance in the source genome from reference. In these cases, exon.frame will not necessarily match the expected reference reading frame and coding exon reference bases cannot necessarily be concatenated to produce the original transcript mRNA.
#[serde(rename="codingSequence")]
pub coding_sequence: Option<CodingSequence>,
/// The annotation ID of the gene from which this transcript is transcribed.
#[serde(rename="geneId")]
pub gene_id: Option<String>,
/// The exons that compose this transcript. This field should be unset for genomes where transcript splicing does not occur, for example prokaryotes. Introns are regions of the transcript that are not included in the spliced RNA product. Though not explicitly modeled here, intron ranges can be deduced; all regions of this transcript that are not exons are introns. Exonic sequences do not necessarily code for a translational product (amino acids). Only the regions of exons bounded by the `codingSequence` correspond to coding DNA sequence. Exons are ordered by start position and may not overlap.
/// The exons that compose this transcript. This field should be unset for genomes where transcript splicing does not occur, for example prokaryotes. Introns are regions of the transcript that are not included in the spliced RNA product. Though not explicitly modeled here, intron ranges can be deduced; all regions of this transcript that are not exons are introns. Exonic sequences do not necessarily code for a translational product (amino acids). Only the regions of exons bounded by the codingSequence correspond to coding DNA sequence. Exons are ordered by start position and may not overlap.
pub exons: Option<Vec<Exon>>,
}
@@ -1193,7 +1193,7 @@ pub struct SearchVariantsRequest {
pub max_calls: Option<i32>,
/// The beginning of the window (0-based, inclusive) for which overlapping variants should be returned. If unspecified, defaults to 0.
pub start: Option<String>,
/// Only return variant calls which belong to call sets with these ids. Leaving this blank returns all variant calls. If a variant has no calls belonging to any of these call sets, it won't be returned at all. Currently, variants with no calls from any call set will never be returned.
/// Only return variant calls which belong to call sets with these ids. Leaving this blank returns all variant calls. If a variant has no calls belonging to any of these call sets, it won't be returned at all.
#[serde(rename="callSetIds")]
pub call_set_ids: Option<Vec<String>>,
/// Only return variants which have exactly this name.
@@ -1360,7 +1360,7 @@ impl ResponseResult for SearchAnnotationSetsResponse {}
pub struct Exon {
/// The start position of the exon on this annotation's reference sequence, 0-based inclusive. Note that this is relative to the reference start, and **not** the containing annotation start.
pub start: Option<String>,
/// The frame of this exon. Contains a value of 0, 1, or 2, which indicates the offset of the first coding base of the exon within the reading frame of the coding DNA sequence, if any. This field is dependent on the strandedness of this annotation (see Annotation.reverse_strand). For forward stranded annotations, this offset is relative to the `exon.start`. For reverse strand annotations, this offset is relative to the `exon.end - 1`. Unset if this exon does not intersect the coding sequence. Upon creation of a transcript, the frame must be populated for all or none of the coding exons.
/// The frame of this exon. Contains a value of 0, 1, or 2, which indicates the offset of the first coding base of the exon within the reading frame of the coding DNA sequence, if any. This field is dependent on the strandedness of this annotation (see Annotation.reverse_strand). For forward stranded annotations, this offset is relative to the exon.start. For reverse strand annotations, this offset is relative to the exon.end `- 1`. Unset if this exon does not intersect the coding sequence. Upon creation of a transcript, the frame must be populated for all or none of the coding exons.
pub frame: Option<i32>,
/// The end position of the exon on this annotation's reference sequence, 0-based exclusive. Note that this is relative to the reference start, and *not* the containing annotation start.
pub end: Option<String>,
@@ -1418,6 +1418,9 @@ impl Part for CodingSequence {}
pub struct BatchCreateAnnotationsRequest {
/// The annotations to be created. At most 4096 can be specified in a single request.
pub annotations: Option<Vec<Annotation>>,
/// A unique request ID which enables the server to detect duplicated requests. If provided, duplicated requests will result in the same response; if not provided, duplicated requests may result in duplicated data. For a given annotation set, callers should not reuse `request_id`s when writing different batches of annotations - behavior in this case is undefined. A common approach is to use a UUID. For batch jobs where worker crashes are a possibility, consider using some unique variant of a worker or run ID.
#[serde(rename="requestId")]
pub request_id: Option<String>,
}
impl RequestValue for BatchCreateAnnotationsRequest {}
@@ -1496,9 +1499,13 @@ impl ResponseResult for ReferenceSet {}
///
#[derive(Default, Clone, Debug, Serialize, Deserialize)]
pub struct VariantSet {
/// User-specified, mutable name.
pub name: Option<String>,
/// A list of all references used by the variants in a variant set with associated coordinate upper bounds for each one.
#[serde(rename="referenceBounds")]
pub reference_bounds: Option<Vec<ReferenceBound>>,
/// The metadata associated with this variant set.
pub metadata: Option<Vec<VariantSetMetadata>>,
/// The reference set to which the variant set is mapped. The reference set describes the alignment provenance of the variant set, while the `referenceBounds` describe the shape of the actual variant data. The reference set's reference names are a superset of those found in the `referenceBounds`. For example, given a variant set that is mapped to the GRCh38 reference set and contains a single variant on reference 'X', `referenceBounds` would contain only an entry for 'X', while the associated reference set enumerates all possible references: '1', '2', 'X', 'Y', 'MT', etc.
#[serde(rename="referenceSetId")]
pub reference_set_id: Option<String>,
@@ -1507,8 +1514,8 @@ pub struct VariantSet {
/// The dataset to which this variant set belongs.
#[serde(rename="datasetId")]
pub dataset_id: Option<String>,
/// The metadata associated with this variant set.
pub metadata: Option<Vec<VariantSetMetadata>>,
/// A textual description of this variant set.
pub description: Option<String>,
}
impl RequestValue for VariantSet {}
@@ -1711,7 +1718,7 @@ pub struct StreamVariantsRequest {
/// Required. Only return variants in this reference sequence.
#[serde(rename="referenceName")]
pub reference_name: Option<String>,
/// The Google Developers Console project ID or number which will be billed for this access. The caller must have WRITE access to this project. Required.
/// The Google Cloud project ID which will be billed for this access. The caller must have WRITE access to this project. Required.
#[serde(rename="projectId")]
pub project_id: Option<String>,
/// Only return variant calls which belong to call sets with these IDs. Leaving this blank returns all variant calls.
@@ -1782,7 +1789,7 @@ pub struct StreamReadsRequest {
/// The reference sequence name, for example `chr1`, `1`, or `chrX`. If set to *, only unmapped reads are returned.
#[serde(rename="referenceName")]
pub reference_name: Option<String>,
/// The Google Developers Console project ID or number which will be billed for this access. The caller must have WRITE access to this project. Required.
/// The Google Cloud project ID which will be billed for this access. The caller must have WRITE access to this project. Required.
#[serde(rename="projectId")]
pub project_id: Option<String>,
/// Restricts results to a shard containing approximately `1/totalShards` of the normal response payload for this query. Results from a sharded request are disjoint from those returned by all queries which differ only in their shard parameter. A shard may yield 0 results; this is especially likely for large values of `totalShards`. Valid values are `[0, totalShards)`.
@@ -1907,7 +1914,7 @@ impl Part for CigarUnit {}
///
#[derive(Default, Clone, Debug, Serialize, Deserialize)]
pub struct Dataset {
/// The Google Developers Console project ID that this dataset belongs to.
/// The Google Cloud project ID that this dataset belongs to.
#[serde(rename="projectId")]
pub project_id: Option<String>,
/// The server-generated dataset ID, unique across all datasets.
@@ -2673,7 +2680,7 @@ impl<'a, C, A> ReadgroupsetMethods<'a, C, A> {
/// Create a builder to help you perform the following task:
///
/// Exports a read group set to a BAM file in Google Cloud Storage. For the definitions of read group sets and other genomics resources, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) Note that currently there may be some differences between exported BAM files and the original BAM file at the time of import. See [ImportReadGroupSets](google.genomics.v1.ReadServiceV1.ImportReadGroupSets) for caveats.
/// Exports a read group set to a BAM file in Google Cloud Storage. For the definitions of read group sets and other genomics resources, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) Note that currently there may be some differences between exported BAM files and the original BAM file at the time of import. See ImportReadGroupSets for caveats.
///
/// # Arguments
///
@@ -3191,7 +3198,7 @@ impl<'a, C, A> AnnotationMethods<'a, C, A> {
/// Create a builder to help you perform the following task:
///
/// Creates a new annotation. Caller must have WRITE permission for the associated annotation set. The following fields are required: * annotationSetId * referenceName or referenceId ### Transcripts For annotations of type TRANSCRIPT, the following fields of transcript must be provided: * `exons.start` * `exons.end` All other fields may be optionally specified, unless documented as being server-generated (for example, the `id` field). The annotated range must be no longer than 100Mbp (mega base pairs). See the Annotation resource for additional restrictions on each field.
/// Creates a new annotation. Caller must have WRITE permission for the associated annotation set. The following fields are required: * annotationSetId * referenceName or referenceId ### Transcripts For annotations of type TRANSCRIPT, the following fields of transcript must be provided: * exons.start * exons.end All other fields may be optionally specified, unless documented as being server-generated (for example, the `id` field). The annotated range must be no longer than 100Mbp (mega base pairs). See the Annotation resource for additional restrictions on each field.
///
/// # Arguments
///
@@ -6021,7 +6028,7 @@ impl<'a, C, A> DatasetListCall<'a, C, A> where C: BorrowMut<hyper::Client>, A: o
}
/// Required. The project to list datasets for.
/// Required. The Google Cloud project ID to list datasets for.
///
/// Sets the *project id* query property to the given value.
pub fn project_id(mut self, new_value: &str) -> DatasetListCall<'a, C, A> {
@@ -8862,7 +8869,7 @@ impl<'a, C, A> ReadStreamCall<'a, C, A> where C: BorrowMut<hyper::Client>, A: oa
}
/// Exports a read group set to a BAM file in Google Cloud Storage. For the definitions of read group sets and other genomics resources, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) Note that currently there may be some differences between exported BAM files and the original BAM file at the time of import. See [ImportReadGroupSets](google.genomics.v1.ReadServiceV1.ImportReadGroupSets) for caveats.
/// Exports a read group set to a BAM file in Google Cloud Storage. For the definitions of read group sets and other genomics resources, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) Note that currently there may be some differences between exported BAM files and the original BAM file at the time of import. See ImportReadGroupSets for caveats.
///
/// A builder for the *export* method supported by a *readgroupset* resource.
/// It is not used directly, but through a `ReadgroupsetMethods` instance.
@@ -14426,7 +14433,7 @@ impl<'a, C, A> AnnotationDeleteCall<'a, C, A> where C: BorrowMut<hyper::Client>,
}
/// Creates a new annotation. Caller must have WRITE permission for the associated annotation set. The following fields are required: * annotationSetId * referenceName or referenceId ### Transcripts For annotations of type TRANSCRIPT, the following fields of transcript must be provided: * `exons.start` * `exons.end` All other fields may be optionally specified, unless documented as being server-generated (for example, the `id` field). The annotated range must be no longer than 100Mbp (mega base pairs). See the Annotation resource for additional restrictions on each field.
/// Creates a new annotation. Caller must have WRITE permission for the associated annotation set. The following fields are required: * annotationSetId * referenceName or referenceId ### Transcripts For annotations of type TRANSCRIPT, the following fields of transcript must be provided: * exons.start * exons.end All other fields may be optionally specified, unless documented as being server-generated (for example, the `id` field). The annotated range must be no longer than 100Mbp (mega base pairs). See the Annotation resource for additional restrictions on each field.
///
/// A builder for the *create* method supported by a *annotation* resource.
/// It is not used directly, but through a `AnnotationMethods` instance.
@@ -17119,7 +17126,7 @@ impl<'a, C, A> VariantsetPatchCall<'a, C, A> where C: BorrowMut<hyper::Client>,
self._variant_set_id = new_value.to_string();
self
}
/// An optional mask specifying which fields to update. Supported fields: * metadata. Leaving `updateMask` unset is equivalent to specifying all mutable fields.
/// An optional mask specifying which fields to update. Supported fields: * metadata. * name. * description. Leaving `updateMask` unset is equivalent to specifying all mutable fields.
///
/// Sets the *update mask* query property to the given value.
pub fn update_mask(mut self, new_value: &str) -> VariantsetPatchCall<'a, C, A> {