on develop help sign in
Regenerating gogol-genomics from latest service definition
commit5c0fe547e62f09cc0964f41023945439b3f4b534 authorBrendan Hay <brendan.g.hay@gmail.com> dateTue 25 Oct 2016, 11:37 (10 years ago) parentf229be0
9 files changed+571−169
gen/model/genomics/v1/genomics-api.json+127−62 gen/model/genomics/v1alpha2/genomics-api.json+126−57 gen/model/genomics/v1beta2/genomics-api.json+5−5 gogol-genomics/gen/Network/Google/Genomics.hs+25−3 gogol-genomics/gen/Network/Google/Genomics/Types.hs+24 gogol-genomics/gen/Network/Google/Genomics/Types/Product.hs+260−34 gogol-genomics/gen/Network/Google/Resource/Genomics/DataSets/List.hs+1−1 gogol-genomics/gen/Network/Google/Resource/Genomics/ReadGroupSets/Export.hs+2−4 gogol-genomics/gogol-genomics.cabal+1−3
gen/model/genomics/v1/genomics-api.json+127−62
@@ -1,13 +1,13 @@
11{
22 "kind": "discovery#restDescription",
3− "etag": "\"jQLIOHBVnDZie4rQHGH1WJF-INE/uCfZ89jCBSMEb12mk9u--jqG1xA\"",
3+ "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/TKQGsoI5uymkCaRsPv6PtM7WLsw\"",
44 "discoveryVersion": "v1",
55 "id": "genomics:v1",
66 "name": "genomics",
77 "version": "v1",
8− "revision": "20160510",
8+ "revision": "20161004",
99 "title": "Genomics API",
10− "description": "Stores, processes, explores and shares genomic data. This API implements the Global Alliance for Genomics and Health (GA4GH) v0.5.1 API as well as several extensions.",
10+ "description": "Stores, processes, explores and shares genomic data.",
1111 "ownerDomain": "google.com",
1212 "ownerName": "Google",
1313 "icons": {
@@ -501,6 +501,10 @@
501501 "items": {
502502 "$ref": "Annotation"
503503 }
504+ },
505+ "requestId": {
506+ "type": "string",
507+ "description": "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."
504508 }
505509 }
506510 },
@@ -552,7 +556,7 @@
552556 "type": "object",
553557 "additionalProperties": {
554558 "type": "any",
555− "description": "Properties of the object. Contains field @ype with type URL."
559+ "description": "Properties of the object. Contains field @type with type URL."
556560 }
557561 }
558562 }
@@ -644,7 +648,7 @@
644648 },
645649 "projectId": {
646650 "type": "string",
647− "description": "The Google Developers Console project ID that this dataset belongs to."
651+ "description": "The Google Cloud project ID that this dataset belongs to."
648652 },
649653 "name": {
650654 "type": "string",
@@ -746,6 +750,24 @@
746750 }
747751 }
748752 },
753+ "ListOperationsResponse": {
754+ "id": "ListOperationsResponse",
755+ "type": "object",
756+ "description": "The response message for Operations.ListOperations.",
757+ "properties": {
758+ "operations": {
759+ "type": "array",
760+ "description": "A list of operations that matches the specified filter in the request.",
761+ "items": {
762+ "$ref": "Operation"
763+ }
764+ },
765+ "nextPageToken": {
766+ "type": "string",
767+ "description": "The standard List next-page token."
768+ }
769+ }
770+ },
749771 "Operation": {
750772 "id": "Operation",
751773 "type": "object",
@@ -760,7 +782,7 @@
760782 "description": "An OperationMetadata object. This will always be returned with the Operation.",
761783 "additionalProperties": {
762784 "type": "any",
763− "description": "Properties of the object. Contains field @ype with type URL."
785+ "description": "Properties of the object. Contains field @type with type URL."
764786 }
765787 },
766788 "done": {
@@ -769,33 +791,15 @@
769791 },
770792 "error": {
771793 "$ref": "Status",
772− "description": "The error result of the operation in case of failure."
794+ "description": "The error result of the operation in case of failure or cancellation."
773795 },
774796 "response": {
775797 "type": "object",
776798 "description": "If importing ReadGroupSets, an ImportReadGroupSetsResponse is returned. If importing Variants, an ImportVariantsResponse is returned. For exports, an empty response is returned.",
777799 "additionalProperties": {
778800 "type": "any",
779− "description": "Properties of the object. Contains field @ype with type URL."
780− }
781− }
782− }
783− },
784− "ListOperationsResponse": {
785− "id": "ListOperationsResponse",
786− "type": "object",
787− "description": "The response message for Operations.ListOperations.",
788− "properties": {
789− "operations": {
790− "type": "array",
791− "description": "A list of operations that matches the specified filter in the request.",
792− "items": {
793− "$ref": "Operation"
801+ "description": "Properties of the object. Contains field @type with type URL."
794802 }
795− },
796− "nextPageToken": {
797− "type": "string",
798− "description": "The standard List next-page token."
799803 }
800804 }
801805 },
@@ -842,7 +846,7 @@
842846 "properties": {
843847 "projectId": {
844848 "type": "string",
845− "description": "Required. The Google Developers Console project ID that owns this export. The caller must have WRITE access to this project."
849+ "description": "Required. The Google Cloud project ID that owns this export. The caller must have WRITE access to this project."
846850 },
847851 "exportUri": {
848852 "type": "string",
@@ -1341,7 +1345,7 @@
13411345 "properties": {
13421346 "projectId": {
13431347 "type": "string",
1344− "description": "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."
1348+ "description": "The Google Cloud project ID which will be billed for this access. The caller must have WRITE access to this project. Required."
13451349 },
13461350 "readGroupSetId": {
13471351 "type": "string",
@@ -1832,7 +1836,7 @@
18321836 },
18331837 "callSetIds": {
18341838 "type": "array",
1835− "description": "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.",
1839+ "description": "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.",
18361840 "items": {
18371841 "type": "string"
18381842 }
@@ -2133,7 +2137,7 @@
21332137 "properties": {
21342138 "projectId": {
21352139 "type": "string",
2136− "description": "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."
2140+ "description": "The Google Cloud project ID which will be billed for this access. The caller must have WRITE access to this project. Required."
21372141 },
21382142 "variantSetId": {
21392143 "type": "string",
@@ -2215,6 +2219,10 @@
22152219 "type": "string",
22162220 "description": "The time at which the job was submitted to the Genomics service."
22172221 },
2222+ "startTime": {
2223+ "type": "string",
2224+ "description": "The time at which the job began to run."
2225+ },
22182226 "endTime": {
22192227 "type": "string",
22202228 "description": "The time at which the job stopped running."
@@ -2224,7 +2232,7 @@
22242232 "description": "The original request that started the operation. Note that this will be in current version of the API. If the operation was started with v1beta2 API and a GetOperation is performed on v1 API, a v1 request will be returned.",
22252233 "additionalProperties": {
22262234 "type": "any",
2227− "description": "Properties of the object. Contains field @ype with type URL."
2235+ "description": "Properties of the object. Contains field @type with type URL."
22282236 }
22292237 },
22302238 "events": {
@@ -2233,6 +2241,18 @@
22332241 "items": {
22342242 "$ref": "OperationEvent"
22352243 }
2244+ },
2245+ "clientId": {
2246+ "type": "string",
2247+ "description": "Optionally provided by the caller when submitting the request that creates the operation."
2248+ },
2249+ "runtimeMetadata": {
2250+ "type": "object",
2251+ "description": "Runtime metadata on this Operation.",
2252+ "additionalProperties": {
2253+ "type": "any",
2254+ "description": "Properties of the object. Contains field @type with type URL."
2255+ }
22362256 }
22372257 }
22382258 },
@@ -2241,11 +2261,56 @@
22412261 "type": "object",
22422262 "description": "An event that occurred during an Operation.",
22432263 "properties": {
2264+ "startTime": {
2265+ "type": "string",
2266+ "description": "Optional time of when event started."
2267+ },
2268+ "endTime": {
2269+ "type": "string",
2270+ "description": "Optional time of when event finished. An event can have a start time and no finish time. If an event has a finish time, there must be a start time."
2271+ },
22442272 "description": {
22452273 "type": "string",
22462274 "description": "Required description of event."
22472275 }
22482276 }
2277+ },
2278+ "RuntimeMetadata": {
2279+ "id": "RuntimeMetadata",
2280+ "type": "object",
2281+ "description": "Runtime metadata that will be populated in the runtimeMetadata field of the Operation associated with a RunPipeline execution.",
2282+ "properties": {
2283+ "computeEngine": {
2284+ "$ref": "ComputeEngine",
2285+ "description": "Execution information specific to Google Compute Engine."
2286+ }
2287+ }
2288+ },
2289+ "ComputeEngine": {
2290+ "id": "ComputeEngine",
2291+ "type": "object",
2292+ "description": "Describes a Compute Engine resource that is being managed by a running pipeline.",
2293+ "properties": {
2294+ "instanceName": {
2295+ "type": "string",
2296+ "description": "The instance on which the operation is running."
2297+ },
2298+ "zone": {
2299+ "type": "string",
2300+ "description": "The availability zone in which the instance resides."
2301+ },
2302+ "machineType": {
2303+ "type": "string",
2304+ "description": "The machine type of the instance."
2305+ },
2306+ "diskNames": {
2307+ "type": "array",
2308+ "description": "The names of the disks that were created for this pipeline.",
2309+ "items": {
2310+ "type": "string"
2311+ }
2312+ }
2313+ }
22492314 }
22502315 },
22512316 "resources": {
@@ -2511,7 +2576,7 @@
25112576 "parameters": {
25122577 "projectId": {
25132578 "type": "string",
2514− "description": "Required. The project to list datasets for.",
2579+ "description": "Required. The Google Cloud project ID to list datasets for.",
25152580 "location": "query"
25162581 },
25172582 "pageSize": {
@@ -2669,7 +2734,7 @@
26692734 "type": "string",
26702735 "description": "REQUIRED: The resource for which policy is being specified. Format is `datasets/`.",
26712736 "required": true,
2672− "pattern": "^datasets/[^/]*$",
2737+ "pattern": "^datasets/[^/]+$",
26732738 "location": "path"
26742739 }
26752740 },
@@ -2697,7 +2762,7 @@
26972762 "type": "string",
26982763 "description": "REQUIRED: The resource for which policy is being specified. Format is `datasets/`.",
26992764 "required": true,
2700− "pattern": "^datasets/[^/]*$",
2765+ "pattern": "^datasets/[^/]+$",
27012766 "location": "path"
27022767 }
27032768 },
@@ -2725,7 +2790,7 @@
27252790 "type": "string",
27262791 "description": "REQUIRED: The resource for which policy is being specified. Format is `datasets/`.",
27272792 "required": true,
2728− "pattern": "^datasets/[^/]*$",
2793+ "pattern": "^datasets/[^/]+$",
27292794 "location": "path"
27302795 }
27312796 },
@@ -2747,31 +2812,6 @@
27472812 },
27482813 "operations": {
27492814 "methods": {
2750− "get": {
2751− "id": "genomics.operations.get",
2752− "path": "v1/{+name}",
2753− "httpMethod": "GET",
2754− "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.",
2755− "parameters": {
2756− "name": {
2757− "type": "string",
2758− "description": "The name of the operation resource.",
2759− "required": true,
2760− "pattern": "^operations/.*$",
2761− "location": "path"
2762− }
2763− },
2764− "parameterOrder": [
2765− "name"
2766− ],
2767− "response": {
2768− "$ref": "Operation"
2769− },
2770− "scopes": [
2771− "https://www.googleapis.com/auth/cloud-platform",
2772− "https://www.googleapis.com/auth/genomics"
2773− ]
2774− },
27752815 "list": {
27762816 "id": "genomics.operations.list",
27772817 "path": "v1/{+name}",
@@ -2813,6 +2853,31 @@
28132853 "https://www.googleapis.com/auth/genomics"
28142854 ]
28152855 },
2856+ "get": {
2857+ "id": "genomics.operations.get",
2858+ "path": "v1/{+name}",
2859+ "httpMethod": "GET",
2860+ "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.",
2861+ "parameters": {
2862+ "name": {
2863+ "type": "string",
2864+ "description": "The name of the operation resource.",
2865+ "required": true,
2866+ "pattern": "^operations/.+$",
2867+ "location": "path"
2868+ }
2869+ },
2870+ "parameterOrder": [
2871+ "name"
2872+ ],
2873+ "response": {
2874+ "$ref": "Operation"
2875+ },
2876+ "scopes": [
2877+ "https://www.googleapis.com/auth/cloud-platform",
2878+ "https://www.googleapis.com/auth/genomics"
2879+ ]
2880+ },
28162881 "cancel": {
28172882 "id": "genomics.operations.cancel",
28182883 "path": "v1/{+name}:cancel",
@@ -2823,7 +2888,7 @@
28232888 "type": "string",
28242889 "description": "The name of the operation resource to be cancelled.",
28252890 "required": true,
2826− "pattern": "^operations/.*$",
2891+ "pattern": "^operations/.+$",
28272892 "location": "path"
28282893 }
28292894 },
@@ -2866,7 +2931,7 @@
28662931 "id": "genomics.readgroupsets.export",
28672932 "path": "v1/readgroupsets/{readGroupSetId}:export",
28682933 "httpMethod": "POST",
2869− "description": "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.",
2934+ "description": "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.",
28702935 "parameters": {
28712936 "readGroupSetId": {
28722937 "type": "string",
gen/model/genomics/v1alpha2/genomics-api.json+126−57
@@ -1,13 +1,13 @@
11{
22 "kind": "discovery#restDescription",
3− "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/YJZDfgBAkY_goEu1RqMh1ylKzG0\"",
3+ "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/sjgIoej2C1Tt39j2WIe_uBS1OOY\"",
44 "discoveryVersion": "v1",
55 "id": "genomics:v1alpha2",
66 "name": "genomics",
77 "version": "v1alpha2",
8− "revision": "20160519",
8+ "revision": "20161004",
99 "title": "Genomics API",
10− "description": "Stores, processes, explores and shares genomic data. This API implements the Global Alliance for Genomics and Health (GA4GH) v0.5.1 API as well as several extensions.",
10+ "description": "Stores, processes, explores and shares genomic data.",
1111 "ownerDomain": "google.com",
1212 "ownerName": "Google",
1313 "icons": {
@@ -116,6 +116,24 @@
116116 }
117117 },
118118 "schemas": {
119+ "ListOperationsResponse": {
120+ "id": "ListOperationsResponse",
121+ "type": "object",
122+ "description": "The response message for Operations.ListOperations.",
123+ "properties": {
124+ "operations": {
125+ "type": "array",
126+ "description": "A list of operations that matches the specified filter in the request.",
127+ "items": {
128+ "$ref": "Operation"
129+ }
130+ },
131+ "nextPageToken": {
132+ "type": "string",
133+ "description": "The standard List next-page token."
134+ }
135+ }
136+ },
119137 "Operation": {
120138 "id": "Operation",
121139 "type": "object",
@@ -130,7 +148,7 @@
130148 "description": "An OperationMetadata object. This will always be returned with the Operation.",
131149 "additionalProperties": {
132150 "type": "any",
133− "description": "Properties of the object. Contains field @ype with type URL."
151+ "description": "Properties of the object. Contains field @type with type URL."
134152 }
135153 },
136154 "done": {
@@ -139,14 +157,14 @@
139157 },
140158 "error": {
141159 "$ref": "Status",
142− "description": "The error result of the operation in case of failure."
160+ "description": "The error result of the operation in case of failure or cancellation."
143161 },
144162 "response": {
145163 "type": "object",
146164 "description": "If importing ReadGroupSets, an ImportReadGroupSetsResponse is returned. If importing Variants, an ImportVariantsResponse is returned. For exports, an empty response is returned.",
147165 "additionalProperties": {
148166 "type": "any",
149− "description": "Properties of the object. Contains field @ype with type URL."
167+ "description": "Properties of the object. Contains field @type with type URL."
150168 }
151169 }
152170 }
@@ -172,30 +190,12 @@
172190 "type": "object",
173191 "additionalProperties": {
174192 "type": "any",
175− "description": "Properties of the object. Contains field @ype with type URL."
193+ "description": "Properties of the object. Contains field @type with type URL."
176194 }
177195 }
178196 }
179197 }
180198 },
181− "ListOperationsResponse": {
182− "id": "ListOperationsResponse",
183− "type": "object",
184− "description": "The response message for Operations.ListOperations.",
185− "properties": {
186− "operations": {
187− "type": "array",
188− "description": "A list of operations that matches the specified filter in the request.",
189− "items": {
190− "$ref": "Operation"
191− }
192− },
193− "nextPageToken": {
194− "type": "string",
195− "description": "The standard List next-page token."
196− }
197− }
198− },
199199 "CancelOperationRequest": {
200200 "id": "CancelOperationRequest",
201201 "type": "object",
@@ -296,11 +296,11 @@
296296 "properties": {
297297 "imageName": {
298298 "type": "string",
299− "description": "Required. Image name from either Docker Hub or Google Container Repository. Users that run pipelines must have READ access to the image."
299+ "description": "Required. Image name from either Docker Hub or Google Container Registry. Users that run pipelines must have READ access to the image."
300300 },
301301 "cmd": {
302302 "type": "string",
303− "description": "Required. The command string to run. Parameters that do not have `localCopy` specified should be used as environment variables, while those that do can be accessed at the defined paths."
303+ "description": "Required. The command or newline delimited script to run. The command string will be executed within a bash shell. If the command exits with a non-zero exit code, output parameter de-localization will be skipped and the pipeline operation's `error` field will be populated. Maximum command string length is 16384."
304304 }
305305 }
306306 },
@@ -316,7 +316,7 @@
316316 },
317317 "preemptible": {
318318 "type": "boolean",
319− "description": "At create time means that preemptible machines may be used for the run. At run time, means they should be used. Cannot be true at run time if false at create time. Defaults to `false`."
319+ "description": "Whether to use preemptible VMs. Defaults to `false`. In order to use this, must be true for both create time and run time. Cannot be true at run time if false at create time."
320320 },
321321 "minimumRamGb": {
322322 "type": "number",
@@ -341,6 +341,10 @@
341341 "type": "integer",
342342 "description": "The size of the boot disk. Defaults to 10 (GB).",
343343 "format": "int32"
344+ },
345+ "noAddress": {
346+ "type": "boolean",
347+ "description": "Whether to assign an external IP to the instance. This is an experimental feature that may go away. Defaults to false. Corresponds to `--no_address` flag for [gcloud compute instances create] (https://cloud.google.com/sdk/gcloud/reference/compute/instances/create). In order to use this, must be true for both create time and run time. Cannot be true at run time if false at create time. If you need to ssh into a private IP VM for debugging, you can ssh to a public VM and then ssh into the private VM's Internal IP. If noAddress is set, this pipeline run may only load docker images from Google Container Registry and not Docker Hub. ** Note: To use this option, your project must be in Google Access for Private IPs Early Access Program.**"
344348 }
345349 }
346350 },
@@ -443,6 +447,10 @@
443447 "logging": {
444448 "$ref": "LoggingOptions",
445449 "description": "Required. Logging options. Used by the service to communicate results to the user."
450+ },
451+ "keepVmAliveOnFailureDuration": {
452+ "type": "string",
453+ "description": "How long to keep the VM up after a failure (for example docker command failed, copying input or output files failed, etc). While the VM is up, one can ssh into the VM to debug. Default is 0; maximum allowed value is 1 day."
446454 }
447455 }
448456 },
@@ -457,7 +465,7 @@
457465 },
458466 "scopes": {
459467 "type": "array",
460− "description": "List of scopes to be enabled for this service account on the pipeline virtual machine. The following scopes are automatically included: * https://www.googleapis.com/auth/genomics * https://www.googleapis.com/auth/compute * https://www.googleapis.com/auth/devstorage.full_control",
468+ "description": "List of scopes to be enabled for this service account on the VM. The following scopes are automatically included: * https://www.googleapis.com/auth/compute * https://www.googleapis.com/auth/devstorage.full_control * https://www.googleapis.com/auth/genomics * https://www.googleapis.com/auth/logging.write * https://www.googleapis.com/auth/monitoring.write",
461469 "items": {
462470 "type": "string"
463471 }
@@ -649,6 +657,10 @@
649657 "type": "string",
650658 "description": "The time at which the job was submitted to the Genomics service."
651659 },
660+ "startTime": {
661+ "type": "string",
662+ "description": "The time at which the job began to run."
663+ },
652664 "endTime": {
653665 "type": "string",
654666 "description": "The time at which the job stopped running."
@@ -658,7 +670,7 @@
658670 "description": "The original request that started the operation. Note that this will be in current version of the API. If the operation was started with v1beta2 API and a GetOperation is performed on v1 API, a v1 request will be returned.",
659671 "additionalProperties": {
660672 "type": "any",
661− "description": "Properties of the object. Contains field @ype with type URL."
673+ "description": "Properties of the object. Contains field @type with type URL."
662674 }
663675 },
664676 "events": {
@@ -667,6 +679,18 @@
667679 "items": {
668680 "$ref": "OperationEvent"
669681 }
682+ },
683+ "clientId": {
684+ "type": "string",
685+ "description": "Optionally provided by the caller when submitting the request that creates the operation."
686+ },
687+ "runtimeMetadata": {
688+ "type": "object",
689+ "description": "Runtime metadata on this Operation.",
690+ "additionalProperties": {
691+ "type": "any",
692+ "description": "Properties of the object. Contains field @type with type URL."
693+ }
670694 }
671695 }
672696 },
@@ -675,41 +699,61 @@
675699 "type": "object",
676700 "description": "An event that occurred during an Operation.",
677701 "properties": {
702+ "startTime": {
703+ "type": "string",
704+ "description": "Optional time of when event started."
705+ },
706+ "endTime": {
707+ "type": "string",
708+ "description": "Optional time of when event finished. An event can have a start time and no finish time. If an event has a finish time, there must be a start time."
709+ },
678710 "description": {
679711 "type": "string",
680712 "description": "Required description of event."
681713 }
682714 }
715+ },
716+ "RuntimeMetadata": {
717+ "id": "RuntimeMetadata",
718+ "type": "object",
719+ "description": "Runtime metadata that will be populated in the runtimeMetadata field of the Operation associated with a RunPipeline execution.",
720+ "properties": {
721+ "computeEngine": {
722+ "$ref": "ComputeEngine",
723+ "description": "Execution information specific to Google Compute Engine."
724+ }
725+ }
726+ },
727+ "ComputeEngine": {
728+ "id": "ComputeEngine",
729+ "type": "object",
730+ "description": "Describes a Compute Engine resource that is being managed by a running pipeline.",
731+ "properties": {
732+ "instanceName": {
733+ "type": "string",
734+ "description": "The instance on which the operation is running."
735+ },
736+ "zone": {
737+ "type": "string",
738+ "description": "The availability zone in which the instance resides."
739+ },
740+ "machineType": {
741+ "type": "string",
742+ "description": "The machine type of the instance."
743+ },
744+ "diskNames": {
745+ "type": "array",
746+ "description": "The names of the disks that were created for this pipeline.",
747+ "items": {
748+ "type": "string"
749+ }
750+ }
751+ }
683752 }
684753 },
685754 "resources": {
686755 "operations": {
687756 "methods": {
688− "get": {
689− "id": "genomics.operations.get",
690− "path": "v1alpha2/{+name}",
691− "httpMethod": "GET",
692− "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.",
693− "parameters": {
694− "name": {
695− "type": "string",
696− "description": "The name of the operation resource.",
697− "required": true,
698− "pattern": "^operations/.*$",
699− "location": "path"
700− }
701− },
702− "parameterOrder": [
703− "name"
704− ],
705− "response": {
706− "$ref": "Operation"
707− },
708− "scopes": [
709− "https://www.googleapis.com/auth/cloud-platform",
710− "https://www.googleapis.com/auth/genomics"
711− ]
712− },
713757 "list": {
714758 "id": "genomics.operations.list",
715759 "path": "v1alpha2/{+name}",
@@ -751,6 +795,31 @@
751795 "https://www.googleapis.com/auth/genomics"
752796 ]
753797 },
798+ "get": {
799+ "id": "genomics.operations.get",
800+ "path": "v1alpha2/{+name}",
801+ "httpMethod": "GET",
802+ "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.",
803+ "parameters": {
804+ "name": {
805+ "type": "string",
806+ "description": "The name of the operation resource.",
807+ "required": true,
808+ "pattern": "^operations/.+$",
809+ "location": "path"
810+ }
811+ },
812+ "parameterOrder": [
813+ "name"
814+ ],
815+ "response": {
816+ "$ref": "Operation"
817+ },
818+ "scopes": [
819+ "https://www.googleapis.com/auth/cloud-platform",
820+ "https://www.googleapis.com/auth/genomics"
821+ ]
822+ },
754823 "cancel": {
755824 "id": "genomics.operations.cancel",
756825 "path": "v1alpha2/{+name}:cancel",
@@ -761,7 +830,7 @@
761830 "type": "string",
762831 "description": "The name of the operation resource to be cancelled.",
763832 "required": true,
764− "pattern": "^operations/.*$",
833+ "pattern": "^operations/.+$",
765834 "location": "path"
766835 }
767836 },
@@ -929,7 +998,7 @@
929998 "id": "genomics.pipelines.setOperationStatus",
930999 "path": "v1alpha2/pipelines:setOperationStatus",
9311000 "httpMethod": "PUT",
932− "description": "Sets status of a given operation. All timestamps are sent on each call, and the whole series of events is replaced, in case intermediate calls are lost. Should only be called by VMs created by the Pipelines Service and not by end users.",
1001+ "description": "Sets status of a given operation. Any new timestamps (as determined by description) are appended to TimestampEvents. Should only be called by VMs created by the Pipelines Service and not by end users.",
9331002 "request": {
9341003 "$ref": "SetOperationStatusRequest"
9351004 },
gen/model/genomics/v1beta2/genomics-api.json+5−5
@@ -1,11 +1,11 @@
11{
22 "kind": "discovery#restDescription",
3− "etag": "\"jQLIOHBVnDZie4rQHGH1WJF-INE/cqmN0e-a2iXyncjE_7getTXN76E\"",
3+ "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/peTg1VLz8A_QRKG9neYlV2yZuhE\"",
44 "discoveryVersion": "v1",
55 "id": "genomics:v1beta2",
66 "name": "genomics",
77 "version": "v1beta2",
8− "revision": "20160509",
8+ "revision": "20161003",
99 "title": "Genomics API",
1010 "description": "Provides access to Genomics data.",
1111 "ownerDomain": "google.com",
@@ -1890,7 +1890,7 @@
18901890 "properties": {
18911891 "callSetIds": {
18921892 "type": "array",
1893− "description": "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.",
1893+ "description": "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.",
18941894 "items": {
18951895 "type": "string"
18961896 }
@@ -2642,7 +2642,7 @@
26422642 "parameters": {
26432643 "callSetId": {
26442644 "type": "string",
2645− "description": "The ID of the call set to be updated.",
2645+ "description": "Required. The ID of the call set to be updated.",
26462646 "required": true,
26472647 "location": "path"
26482648 }
@@ -2686,7 +2686,7 @@
26862686 "parameters": {
26872687 "callSetId": {
26882688 "type": "string",
2689− "description": "The ID of the call set to be updated.",
2689+ "description": "Required. The ID of the call set to be updated.",
26902690 "required": true,
26912691 "location": "path"
26922692 }
gogol-genomics/gen/Network/Google/Genomics.hs+25−3
@@ -13,9 +13,7 @@
1313-- Stability : auto-generated
1414-- Portability : non-portable (GHC extensions)
1515--
16−-- Stores, processes, explores and shares genomic data. This API implements
17−-- the Global Alliance for Genomics and Health (GA4GH) v0.5.1 API as well
18−-- as several extensions.
16+-- Stores, processes, explores and shares genomic data.
1917--
2018-- /See:/ <https://cloud.google.com/genomics/ Genomics API Reference>
2119module Network.Google.Genomics
@@ -331,6 +329,7 @@ module Network.Google.Genomics
331329 , BatchCreateAnnotationsRequest
332330 , batchCreateAnnotationsRequest
333331 , bcarAnnotations
332+ , bcarRequestId
334333
335334 -- ** MergeVariantsRequest
336335 , MergeVariantsRequest
@@ -542,6 +541,11 @@ module Network.Google.Genomics
542541 , sVariants
543542 , sNextPageToken
544543
544+ -- ** OperationMetadataRuntimeMetadata
545+ , OperationMetadataRuntimeMetadata
546+ , operationMetadataRuntimeMetadata
547+ , omrmAddtional
548+
545549 -- ** ClinicalCondition
546550 , ClinicalCondition
547551 , clinicalCondition
@@ -752,10 +756,13 @@ module Network.Google.Genomics
752756 -- ** OperationMetadata
753757 , OperationMetadata
754758 , operationMetadata
759+ , omClientId
760+ , omStartTime
755761 , omEvents
756762 , omEndTime
757763 , omProjectId
758764 , omCreateTime
765+ , omRuntimeMetadata
759766 , omRequest
760767
761768 -- ** SearchAnnotationsRequest
@@ -793,6 +800,14 @@ module Network.Google.Genomics
793800 , annotationSetInfo
794801 , asiAddtional
795802
803+ -- ** ComputeEngine
804+ , ComputeEngine
805+ , computeEngine
806+ , ceZone
807+ , ceDiskNames
808+ , ceMachineType
809+ , ceInstanceName
810+
796811 -- ** SearchAnnotationSetsResponse
797812 , SearchAnnotationSetsResponse
798813 , searchAnnotationSetsResponse
@@ -824,6 +839,8 @@ module Network.Google.Genomics
824839 -- ** OperationEvent
825840 , OperationEvent
826841 , operationEvent
842+ , oeStartTime
843+ , oeEndTime
827844 , oeDescription
828845
829846 -- ** StreamVariantsRequest
@@ -859,6 +876,11 @@ module Network.Google.Genomics
859876 , pReferenceName
860877 , pPosition
861878
879+ -- ** RuntimeMetadata
880+ , RuntimeMetadata
881+ , runtimeMetadata
882+ , rmComputeEngine
883+
862884 -- ** SearchReadGroupSetsResponse
863885 , SearchReadGroupSetsResponse
864886 , searchReadGroupSetsResponse
gogol-genomics/gen/Network/Google/Genomics/Types.hs+24
@@ -152,6 +152,7 @@ module Network.Google.Genomics.Types
152152 , BatchCreateAnnotationsRequest
153153 , batchCreateAnnotationsRequest
154154 , bcarAnnotations
155+ , bcarRequestId
155156
156157 -- * MergeVariantsRequest
157158 , MergeVariantsRequest
@@ -363,6 +364,11 @@ module Network.Google.Genomics.Types
363364 , sVariants
364365 , sNextPageToken
365366
367+ -- * OperationMetadataRuntimeMetadata
368+ , OperationMetadataRuntimeMetadata
369+ , operationMetadataRuntimeMetadata
370+ , omrmAddtional
371+
366372 -- * ClinicalCondition
367373 , ClinicalCondition
368374 , clinicalCondition
@@ -573,10 +579,13 @@ module Network.Google.Genomics.Types
573579 -- * OperationMetadata
574580 , OperationMetadata
575581 , operationMetadata
582+ , omClientId
583+ , omStartTime
576584 , omEvents
577585 , omEndTime
578586 , omProjectId
579587 , omCreateTime
588+ , omRuntimeMetadata
580589 , omRequest
581590
582591 -- * SearchAnnotationsRequest
@@ -614,6 +623,14 @@ module Network.Google.Genomics.Types
614623 , annotationSetInfo
615624 , asiAddtional
616625
626+ -- * ComputeEngine
627+ , ComputeEngine
628+ , computeEngine
629+ , ceZone
630+ , ceDiskNames
631+ , ceMachineType
632+ , ceInstanceName
633+
617634 -- * SearchAnnotationSetsResponse
618635 , SearchAnnotationSetsResponse
619636 , searchAnnotationSetsResponse
@@ -645,6 +662,8 @@ module Network.Google.Genomics.Types
645662 -- * OperationEvent
646663 , OperationEvent
647664 , operationEvent
665+ , oeStartTime
666+ , oeEndTime
648667 , oeDescription
649668
650669 -- * StreamVariantsRequest
@@ -680,6 +699,11 @@ module Network.Google.Genomics.Types
680699 , pReferenceName
681700 , pPosition
682701
702+ -- * RuntimeMetadata
703+ , RuntimeMetadata
704+ , runtimeMetadata
705+ , rmComputeEngine
706+
683707 -- * SearchReadGroupSetsResponse
684708 , SearchReadGroupSetsResponse
685709 , searchReadGroupSetsResponse
gogol-genomics/gen/Network/Google/Genomics/Types/Product.hs+260−34
@@ -283,7 +283,7 @@ operationSchema pOsAddtional_ =
283283 { _osAddtional = _Coerce # pOsAddtional_
284284 }
285285
286−-- | Properties of the object. Contains field \'ype with type URL.
286+-- | Properties of the object. Contains field \'type with type URL.
287287osAddtional :: Lens' OperationSchema (HashMap Text JSONValue)
288288osAddtional
289289 = lens _osAddtional (\ s a -> s{_osAddtional = a}) .
@@ -861,7 +861,7 @@ dsName = lens _dsName (\ s a -> s{_dsName = a})
861861dsId :: Lens' DataSet (Maybe Text)
862862dsId = lens _dsId (\ s a -> s{_dsId = a})
863863
864−-- | The Google Developers Console project ID that this dataset belongs to.
864+-- | The Google Cloud project ID that this dataset belongs to.
865865dsProjectId :: Lens' DataSet (Maybe Text)
866866dsProjectId
867867 = lens _dsProjectId (\ s a -> s{_dsProjectId = a})
@@ -1318,8 +1318,9 @@ instance ToJSON VariantCall where
13181318
13191319--
13201320-- /See:/ 'batchCreateAnnotationsRequest' smart constructor.
1321−newtype BatchCreateAnnotationsRequest = BatchCreateAnnotationsRequest'
1322− { _bcarAnnotations :: Maybe [Annotation]
1321+data BatchCreateAnnotationsRequest = BatchCreateAnnotationsRequest'
1322+ { _bcarAnnotations :: !(Maybe [Annotation])
1323+ , _bcarRequestId :: !(Maybe Text)
13231324 } deriving (Eq,Show,Data,Typeable,Generic)
13241325
13251326-- | Creates a value of 'BatchCreateAnnotationsRequest' with the minimum fields required to make a request.
@@ -1327,11 +1328,14 @@ newtype BatchCreateAnnotationsRequest = BatchCreateAnnotationsRequest'
13271328-- Use one of the following lenses to modify other fields as desired:
13281329--
13291330-- * 'bcarAnnotations'
1331+--
1332+-- * 'bcarRequestId'
13301333batchCreateAnnotationsRequest
13311334 :: BatchCreateAnnotationsRequest
13321335batchCreateAnnotationsRequest =
13331336 BatchCreateAnnotationsRequest'
13341337 { _bcarAnnotations = Nothing
1338+ , _bcarRequestId = Nothing
13351339 }
13361340
13371341-- | The annotations to be created. At most 4096 can be specified in a single
@@ -1343,17 +1347,33 @@ bcarAnnotations
13431347 . _Default
13441348 . _Coerce
13451349
1350+-- | A unique request ID which enables the server to detect duplicated
1351+-- requests. If provided, duplicated requests will result in the same
1352+-- response; if not provided, duplicated requests may result in duplicated
1353+-- data. For a given annotation set, callers should not reuse
1354+-- \`request_id\`s when writing different batches of annotations - behavior
1355+-- in this case is undefined. A common approach is to use a UUID. For batch
1356+-- jobs where worker crashes are a possibility, consider using some unique
1357+-- variant of a worker or run ID.
1358+bcarRequestId :: Lens' BatchCreateAnnotationsRequest (Maybe Text)
1359+bcarRequestId
1360+ = lens _bcarRequestId
1361+ (\ s a -> s{_bcarRequestId = a})
1362+
13461363instance FromJSON BatchCreateAnnotationsRequest where
13471364 parseJSON
13481365 = withObject "BatchCreateAnnotationsRequest"
13491366 (\ o ->
13501367 BatchCreateAnnotationsRequest' <$>
1351− (o .:? "annotations" .!= mempty))
1368+ (o .:? "annotations" .!= mempty) <*>
1369+ (o .:? "requestId"))
13521370
13531371instance ToJSON BatchCreateAnnotationsRequest where
13541372 toJSON BatchCreateAnnotationsRequest'{..}
13551373 = object
1356− (catMaybes [("annotations" .=) <$> _bcarAnnotations])
1374+ (catMaybes
1375+ [("annotations" .=) <$> _bcarAnnotations,
1376+ ("requestId" .=) <$> _bcarRequestId])
13571377
13581378--
13591379-- /See:/ 'mergeVariantsRequest' smart constructor.
@@ -1611,7 +1631,7 @@ operation =
16111631oDone :: Lens' Operation (Maybe Bool)
16121632oDone = lens _oDone (\ s a -> s{_oDone = a})
16131633
1614−-- | The error result of the operation in case of failure.
1634+-- | The error result of the operation in case of failure or cancellation.
16151635oError :: Lens' Operation (Maybe Status)
16161636oError = lens _oError (\ s a -> s{_oError = a})
16171637
@@ -2509,7 +2529,7 @@ statusDetailsItem pSdiAddtional_ =
25092529 { _sdiAddtional = _Coerce # pSdiAddtional_
25102530 }
25112531
2512−-- | Properties of the object. Contains field \'ype with type URL.
2532+-- | Properties of the object. Contains field \'type with type URL.
25132533sdiAddtional :: Lens' StatusDetailsItem (HashMap Text JSONValue)
25142534sdiAddtional
25152535 = lens _sdiAddtional (\ s a -> s{_sdiAddtional = a})
@@ -2797,7 +2817,7 @@ operationMetadataRequest pOmrAddtional_ =
27972817 { _omrAddtional = _Coerce # pOmrAddtional_
27982818 }
27992819
2800−-- | Properties of the object. Contains field \'ype with type URL.
2820+-- | Properties of the object. Contains field \'type with type URL.
28012821omrAddtional :: Lens' OperationMetadataRequest (HashMap Text JSONValue)
28022822omrAddtional
28032823 = lens _omrAddtional (\ s a -> s{_omrAddtional = a})
@@ -3277,6 +3297,45 @@ instance ToJSON SearchVariantsResponse where
32773297 [("variants" .=) <$> _sVariants,
32783298 ("nextPageToken" .=) <$> _sNextPageToken])
32793299
3300+-- | Runtime metadata on this Operation.
3301+--
3302+-- /See:/ 'operationMetadataRuntimeMetadata' smart constructor.
3303+newtype OperationMetadataRuntimeMetadata = OperationMetadataRuntimeMetadata'
3304+ { _omrmAddtional :: HashMap Text JSONValue
3305+ } deriving (Eq,Show,Data,Typeable,Generic)
3306+
3307+-- | Creates a value of 'OperationMetadataRuntimeMetadata' with the minimum fields required to make a request.
3308+--
3309+-- Use one of the following lenses to modify other fields as desired:
3310+--
3311+-- * 'omrmAddtional'
3312+operationMetadataRuntimeMetadata
3313+ :: HashMap Text JSONValue -- ^ 'omrmAddtional'
3314+ -> OperationMetadataRuntimeMetadata
3315+operationMetadataRuntimeMetadata pOmrmAddtional_ =
3316+ OperationMetadataRuntimeMetadata'
3317+ { _omrmAddtional = _Coerce # pOmrmAddtional_
3318+ }
3319+
3320+-- | Properties of the object. Contains field \'type with type URL.
3321+omrmAddtional :: Lens' OperationMetadataRuntimeMetadata (HashMap Text JSONValue)
3322+omrmAddtional
3323+ = lens _omrmAddtional
3324+ (\ s a -> s{_omrmAddtional = a})
3325+ . _Coerce
3326+
3327+instance FromJSON OperationMetadataRuntimeMetadata
3328+ where
3329+ parseJSON
3330+ = withObject "OperationMetadataRuntimeMetadata"
3331+ (\ o ->
3332+ OperationMetadataRuntimeMetadata' <$>
3333+ (parseJSONObject o))
3334+
3335+instance ToJSON OperationMetadataRuntimeMetadata
3336+ where
3337+ toJSON = toJSON . _omrmAddtional
3338+
32803339--
32813340-- /See:/ 'clinicalCondition' smart constructor.
32823341data ClinicalCondition = ClinicalCondition'
@@ -3449,9 +3508,8 @@ sEnd
34493508 = lens _sEnd (\ s a -> s{_sEnd = a}) .
34503509 mapping _Coerce
34513510
3452−-- | The Google Developers Console project ID or number which will be billed
3453−-- for this access. The caller must have WRITE access to this project.
3454−-- Required.
3511+-- | The Google Cloud project ID which will be billed for this access. The
3512+-- caller must have WRITE access to this project. Required.
34553513sProjectId :: Lens' StreamReadsRequest (Maybe Text)
34563514sProjectId
34573515 = lens _sProjectId (\ s a -> s{_sProjectId = a})
@@ -4191,8 +4249,8 @@ ergsrExportURI
41914249 = lens _ergsrExportURI
41924250 (\ s a -> s{_ergsrExportURI = a})
41934251
4194−-- | Required. The Google Developers Console project ID that owns this
4195−-- export. The caller must have WRITE access to this project.
4252+-- | Required. The Google Cloud project ID that owns this export. The caller
4253+-- must have WRITE access to this project.
41964254ergsrProjectId :: Lens' ExportReadGroupSetRequest (Maybe Text)
41974255ergsrProjectId
41984256 = lens _ergsrProjectId
@@ -5266,17 +5324,24 @@ instance ToJSON ExportVariantSetRequest where
52665324--
52675325-- /See:/ 'operationMetadata' smart constructor.
52685326data OperationMetadata = OperationMetadata'
5269− { _omEvents :: !(Maybe [OperationEvent])
5270− , _omEndTime :: !(Maybe Text)
5271− , _omProjectId :: !(Maybe Text)
5272− , _omCreateTime :: !(Maybe Text)
5273− , _omRequest :: !(Maybe OperationMetadataRequest)
5327+ { _omClientId :: !(Maybe Text)
5328+ , _omStartTime :: !(Maybe Text)
5329+ , _omEvents :: !(Maybe [OperationEvent])
5330+ , _omEndTime :: !(Maybe Text)
5331+ , _omProjectId :: !(Maybe Text)
5332+ , _omCreateTime :: !(Maybe Text)
5333+ , _omRuntimeMetadata :: !(Maybe OperationMetadataRuntimeMetadata)
5334+ , _omRequest :: !(Maybe OperationMetadataRequest)
52745335 } deriving (Eq,Show,Data,Typeable,Generic)
52755336
52765337-- | Creates a value of 'OperationMetadata' with the minimum fields required to make a request.
52775338--
52785339-- Use one of the following lenses to modify other fields as desired:
52795340--
5341+-- * 'omClientId'
5342+--
5343+-- * 'omStartTime'
5344+--
52805345-- * 'omEvents'
52815346--
52825347-- * 'omEndTime'
@@ -5285,18 +5350,34 @@ data OperationMetadata = OperationMetadata'
52855350--
52865351-- * 'omCreateTime'
52875352--
5353+-- * 'omRuntimeMetadata'
5354+--
52885355-- * 'omRequest'
52895356operationMetadata
52905357 :: OperationMetadata
52915358operationMetadata =
52925359 OperationMetadata'
5293− { _omEvents = Nothing
5360+ { _omClientId = Nothing
5361+ , _omStartTime = Nothing
5362+ , _omEvents = Nothing
52945363 , _omEndTime = Nothing
52955364 , _omProjectId = Nothing
52965365 , _omCreateTime = Nothing
5366+ , _omRuntimeMetadata = Nothing
52975367 , _omRequest = Nothing
52985368 }
52995369
5370+-- | Optionally provided by the caller when submitting the request that
5371+-- creates the operation.
5372+omClientId :: Lens' OperationMetadata (Maybe Text)
5373+omClientId
5374+ = lens _omClientId (\ s a -> s{_omClientId = a})
5375+
5376+-- | The time at which the job began to run.
5377+omStartTime :: Lens' OperationMetadata (Maybe Text)
5378+omStartTime
5379+ = lens _omStartTime (\ s a -> s{_omStartTime = a})
5380+
53005381-- | Optional event messages that were generated during the job\'s execution.
53015382-- This also contains any warnings that were generated during import or
53025383-- export.
@@ -5321,6 +5402,12 @@ omCreateTime :: Lens' OperationMetadata (Maybe Text)
53215402omCreateTime
53225403 = lens _omCreateTime (\ s a -> s{_omCreateTime = a})
53235404
5405+-- | Runtime metadata on this Operation.
5406+omRuntimeMetadata :: Lens' OperationMetadata (Maybe OperationMetadataRuntimeMetadata)
5407+omRuntimeMetadata
5408+ = lens _omRuntimeMetadata
5409+ (\ s a -> s{_omRuntimeMetadata = a})
5410+
53245411-- | The original request that started the operation. Note that this will be
53255412-- in current version of the API. If the operation was started with v1beta2
53265413-- API and a GetOperation is performed on v1 API, a v1 request will be
@@ -5334,19 +5421,25 @@ instance FromJSON OperationMetadata where
53345421 = withObject "OperationMetadata"
53355422 (\ o ->
53365423 OperationMetadata' <$>
5337− (o .:? "events" .!= mempty) <*> (o .:? "endTime") <*>
5338− (o .:? "projectId")
5424+ (o .:? "clientId") <*> (o .:? "startTime") <*>
5425+ (o .:? "events" .!= mempty)
5426+ <*> (o .:? "endTime")
5427+ <*> (o .:? "projectId")
53395428 <*> (o .:? "createTime")
5429+ <*> (o .:? "runtimeMetadata")
53405430 <*> (o .:? "request"))
53415431
53425432instance ToJSON OperationMetadata where
53435433 toJSON OperationMetadata'{..}
53445434 = object
53455435 (catMaybes
5346− [("events" .=) <$> _omEvents,
5436+ [("clientId" .=) <$> _omClientId,
5437+ ("startTime" .=) <$> _omStartTime,
5438+ ("events" .=) <$> _omEvents,
53475439 ("endTime" .=) <$> _omEndTime,
53485440 ("projectId" .=) <$> _omProjectId,
53495441 ("createTime" .=) <$> _omCreateTime,
5442+ ("runtimeMetadata" .=) <$> _omRuntimeMetadata,
53505443 ("request" .=) <$> _omRequest])
53515444
53525445--
@@ -5584,8 +5677,6 @@ svrStart
55845677-- | Only return variant calls which belong to call sets with these ids.
55855678-- Leaving this blank returns all variant calls. If a variant has no calls
55865679-- belonging to any of these call sets, it won\'t be returned at all.
5587−-- Currently, variants with no calls from any call set will never be
5588−-- returned.
55895680svrCallSetIds :: Lens' SearchVariantsRequest [Text]
55905681svrCallSetIds
55915682 = lens _svrCallSetIds
@@ -5707,6 +5798,79 @@ instance FromJSON AnnotationSetInfo where
57075798instance ToJSON AnnotationSetInfo where
57085799 toJSON = toJSON . _asiAddtional
57095800
5801+-- | Describes a Compute Engine resource that is being managed by a running
5802+-- pipeline.
5803+--
5804+-- /See:/ 'computeEngine' smart constructor.
5805+data ComputeEngine = ComputeEngine'
5806+ { _ceZone :: !(Maybe Text)
5807+ , _ceDiskNames :: !(Maybe [Text])
5808+ , _ceMachineType :: !(Maybe Text)
5809+ , _ceInstanceName :: !(Maybe Text)
5810+ } deriving (Eq,Show,Data,Typeable,Generic)
5811+
5812+-- | Creates a value of 'ComputeEngine' with the minimum fields required to make a request.
5813+--
5814+-- Use one of the following lenses to modify other fields as desired:
5815+--
5816+-- * 'ceZone'
5817+--
5818+-- * 'ceDiskNames'
5819+--
5820+-- * 'ceMachineType'
5821+--
5822+-- * 'ceInstanceName'
5823+computeEngine
5824+ :: ComputeEngine
5825+computeEngine =
5826+ ComputeEngine'
5827+ { _ceZone = Nothing
5828+ , _ceDiskNames = Nothing
5829+ , _ceMachineType = Nothing
5830+ , _ceInstanceName = Nothing
5831+ }
5832+
5833+-- | The availability zone in which the instance resides.
5834+ceZone :: Lens' ComputeEngine (Maybe Text)
5835+ceZone = lens _ceZone (\ s a -> s{_ceZone = a})
5836+
5837+-- | The names of the disks that were created for this pipeline.
5838+ceDiskNames :: Lens' ComputeEngine [Text]
5839+ceDiskNames
5840+ = lens _ceDiskNames (\ s a -> s{_ceDiskNames = a}) .
5841+ _Default
5842+ . _Coerce
5843+
5844+-- | The machine type of the instance.
5845+ceMachineType :: Lens' ComputeEngine (Maybe Text)
5846+ceMachineType
5847+ = lens _ceMachineType
5848+ (\ s a -> s{_ceMachineType = a})
5849+
5850+-- | The instance on which the operation is running.
5851+ceInstanceName :: Lens' ComputeEngine (Maybe Text)
5852+ceInstanceName
5853+ = lens _ceInstanceName
5854+ (\ s a -> s{_ceInstanceName = a})
5855+
5856+instance FromJSON ComputeEngine where
5857+ parseJSON
5858+ = withObject "ComputeEngine"
5859+ (\ o ->
5860+ ComputeEngine' <$>
5861+ (o .:? "zone") <*> (o .:? "diskNames" .!= mempty) <*>
5862+ (o .:? "machineType")
5863+ <*> (o .:? "instanceName"))
5864+
5865+instance ToJSON ComputeEngine where
5866+ toJSON ComputeEngine'{..}
5867+ = object
5868+ (catMaybes
5869+ [("zone" .=) <$> _ceZone,
5870+ ("diskNames" .=) <$> _ceDiskNames,
5871+ ("machineType" .=) <$> _ceMachineType,
5872+ ("instanceName" .=) <$> _ceInstanceName])
5873+
57105874--
57115875-- /See:/ 'searchAnnotationSetsResponse' smart constructor.
57125876data SearchAnnotationSetsResponse = SearchAnnotationSetsResponse'
@@ -5853,7 +6017,7 @@ operationResponse pOrAddtional_ =
58536017 { _orAddtional = _Coerce # pOrAddtional_
58546018 }
58556019
5856−-- | Properties of the object. Contains field \'ype with type URL.
6020+-- | Properties of the object. Contains field \'type with type URL.
58576021orAddtional :: Lens' OperationResponse (HashMap Text JSONValue)
58586022orAddtional
58596023 = lens _orAddtional (\ s a -> s{_orAddtional = a}) .
@@ -5946,22 +6110,42 @@ instance ToJSON Transcript where
59466110-- | An event that occurred during an Operation.
59476111--
59486112-- /See:/ 'operationEvent' smart constructor.
5949−newtype OperationEvent = OperationEvent'
5950− { _oeDescription :: Maybe Text
6113+data OperationEvent = OperationEvent'
6114+ { _oeStartTime :: !(Maybe Text)
6115+ , _oeEndTime :: !(Maybe Text)
6116+ , _oeDescription :: !(Maybe Text)
59516117 } deriving (Eq,Show,Data,Typeable,Generic)
59526118
59536119-- | Creates a value of 'OperationEvent' with the minimum fields required to make a request.
59546120--
59556121-- Use one of the following lenses to modify other fields as desired:
59566122--
6123+-- * 'oeStartTime'
6124+--
6125+-- * 'oeEndTime'
6126+--
59576127-- * 'oeDescription'
59586128operationEvent
59596129 :: OperationEvent
59606130operationEvent =
59616131 OperationEvent'
5962− { _oeDescription = Nothing
6132+ { _oeStartTime = Nothing
6133+ , _oeEndTime = Nothing
6134+ , _oeDescription = Nothing
59636135 }
59646136
6137+-- | Optional time of when event started.
6138+oeStartTime :: Lens' OperationEvent (Maybe Text)
6139+oeStartTime
6140+ = lens _oeStartTime (\ s a -> s{_oeStartTime = a})
6141+
6142+-- | Optional time of when event finished. An event can have a start time and
6143+-- no finish time. If an event has a finish time, there must be a start
6144+-- time.
6145+oeEndTime :: Lens' OperationEvent (Maybe Text)
6146+oeEndTime
6147+ = lens _oeEndTime (\ s a -> s{_oeEndTime = a})
6148+
59656149-- | Required description of event.
59666150oeDescription :: Lens' OperationEvent (Maybe Text)
59676151oeDescription
@@ -5971,12 +6155,18 @@ oeDescription
59716155instance FromJSON OperationEvent where
59726156 parseJSON
59736157 = withObject "OperationEvent"
5974− (\ o -> OperationEvent' <$> (o .:? "description"))
6158+ (\ o ->
6159+ OperationEvent' <$>
6160+ (o .:? "startTime") <*> (o .:? "endTime") <*>
6161+ (o .:? "description"))
59756162
59766163instance ToJSON OperationEvent where
59776164 toJSON OperationEvent'{..}
59786165 = object
5979− (catMaybes [("description" .=) <$> _oeDescription])
6166+ (catMaybes
6167+ [("startTime" .=) <$> _oeStartTime,
6168+ ("endTime" .=) <$> _oeEndTime,
6169+ ("description" .=) <$> _oeDescription])
59806170
59816171-- | The stream variants request.
59826172--
@@ -6052,9 +6242,8 @@ strEnd
60526242 = lens _strEnd (\ s a -> s{_strEnd = a}) .
60536243 mapping _Coerce
60546244
6055−-- | The Google Developers Console project ID or number which will be billed
6056−-- for this access. The caller must have WRITE access to this project.
6057−-- Required.
6245+-- | The Google Cloud project ID which will be billed for this access. The
6246+-- caller must have WRITE access to this project. Required.
60586247strProjectId :: Lens' StreamVariantsRequest (Maybe Text)
60596248strProjectId
60606249 = lens _strProjectId (\ s a -> s{_strProjectId = a})
@@ -6280,6 +6469,43 @@ instance ToJSON Position where
62806469 ("referenceName" .=) <$> _pReferenceName,
62816470 ("position" .=) <$> _pPosition])
62826471
6472+-- | Runtime metadata that will be populated in the runtimeMetadata field of
6473+-- the Operation associated with a RunPipeline execution.
6474+--
6475+-- /See:/ 'runtimeMetadata' smart constructor.
6476+newtype RuntimeMetadata = RuntimeMetadata'
6477+ { _rmComputeEngine :: Maybe ComputeEngine
6478+ } deriving (Eq,Show,Data,Typeable,Generic)
6479+
6480+-- | Creates a value of 'RuntimeMetadata' with the minimum fields required to make a request.
6481+--
6482+-- Use one of the following lenses to modify other fields as desired:
6483+--
6484+-- * 'rmComputeEngine'
6485+runtimeMetadata
6486+ :: RuntimeMetadata
6487+runtimeMetadata =
6488+ RuntimeMetadata'
6489+ { _rmComputeEngine = Nothing
6490+ }
6491+
6492+-- | Execution information specific to Google Compute Engine.
6493+rmComputeEngine :: Lens' RuntimeMetadata (Maybe ComputeEngine)
6494+rmComputeEngine
6495+ = lens _rmComputeEngine
6496+ (\ s a -> s{_rmComputeEngine = a})
6497+
6498+instance FromJSON RuntimeMetadata where
6499+ parseJSON
6500+ = withObject "RuntimeMetadata"
6501+ (\ o -> RuntimeMetadata' <$> (o .:? "computeEngine"))
6502+
6503+instance ToJSON RuntimeMetadata where
6504+ toJSON RuntimeMetadata'{..}
6505+ = object
6506+ (catMaybes
6507+ [("computeEngine" .=) <$> _rmComputeEngine])
6508+
62836509-- | The read group set search response.
62846510--
62856511-- /See:/ 'searchReadGroupSetsResponse' smart constructor.
gogol-genomics/gen/Network/Google/Resource/Genomics/DataSets/List.hs+1−1
@@ -164,7 +164,7 @@ dslPageToken :: Lens' DataSetsList (Maybe Text)
164164dslPageToken
165165 = lens _dslPageToken (\ s a -> s{_dslPageToken = a})
166166
167−-- | Required. The project to list datasets for.
167+-- | Required. The Google Cloud project ID to list datasets for.
168168dslProjectId :: Lens' DataSetsList (Maybe Text)
169169dslProjectId
170170 = lens _dslProjectId (\ s a -> s{_dslProjectId = a})
gogol-genomics/gen/Network/Google/Resource/Genomics/ReadGroupSets/Export.hs+2−4
@@ -26,8 +26,7 @@
2626-- Genomics](https:\/\/cloud.google.com\/genomics\/fundamentals-of-google-genomics)
2727-- Note that currently there may be some differences between exported BAM
2828-- files and the original BAM file at the time of import. See
29−-- [ImportReadGroupSets](google.genomics.v1.ReadServiceV1.ImportReadGroupSets)
30−-- for caveats.
29+-- ImportReadGroupSets for caveats.
3130--
3231-- /See:/ <https://cloud.google.com/genomics/ Genomics API Reference> for @genomics.readgroupsets.export@.
3332module Network.Google.Resource.Genomics.ReadGroupSets.Export
@@ -77,8 +76,7 @@ type ReadGroupSetsExportResource =
7776-- Genomics](https:\/\/cloud.google.com\/genomics\/fundamentals-of-google-genomics)
7877-- Note that currently there may be some differences between exported BAM
7978-- files and the original BAM file at the time of import. See
80−-- [ImportReadGroupSets](google.genomics.v1.ReadServiceV1.ImportReadGroupSets)
81−-- for caveats.
79+-- ImportReadGroupSets for caveats.
8280--
8381-- /See:/ 'readGroupSetsExport' smart constructor.
8482data ReadGroupSetsExport = ReadGroupSetsExport'
gogol-genomics/gogol-genomics.cabal+1−3
@@ -14,9 +14,7 @@ cabal-version: >= 1.10
1414extra-source-files: README.md
1515
1616description:
17− Stores, processes, explores and shares genomic data. This API implements
18− the Global Alliance for Genomics and Health (GA4GH) v0.5.1 API as well
19− as several extensions.
17+ Stores, processes, explores and shares genomic data.
2018 .
2119 /Warning:/ This is an experimental prototype/preview release which is still
2220 under exploratory development and not intended for public use, caveat emptor!