From 9fdb8821e109b76175cf467132edc2e00997495b Mon Sep 17 00:00:00 2001 From: Ethan Bao Date: Mon, 25 Jul 2016 09:06:10 -0700 Subject: [PATCH] Update protos for genomics API. --- google/genomics/v1/operations.proto | 14 ++++++++++++++ google/genomics/v1alpha2/pipelines.proto | 6 +++--- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/google/genomics/v1/operations.proto b/google/genomics/v1/operations.proto index 465bdd26..ed200523 100644 --- a/google/genomics/v1/operations.proto +++ b/google/genomics/v1/operations.proto @@ -34,6 +34,9 @@ message OperationMetadata { // The time at which the job was submitted to the Genomics service. google.protobuf.Timestamp create_time = 2; + // The time at which the job began to run. + google.protobuf.Timestamp start_time = 3; + // The time at which the job stopped running. google.protobuf.Timestamp end_time = 4; @@ -47,12 +50,23 @@ message OperationMetadata { // or export. repeated OperationEvent events = 6; + // Optionally provided by the caller when submitting the request that creates + // the operation. + string client_id = 7; + // Runtime metadata on this Operation. google.protobuf.Any runtime_metadata = 8; } // An event that occurred during an [Operation][google.longrunning.Operation]. message OperationEvent { + // Optional time of when event started. + google.protobuf.Timestamp start_time = 1; + + // 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. + google.protobuf.Timestamp end_time = 2; + // Required description of event. string description = 3; } diff --git a/google/genomics/v1alpha2/pipelines.proto b/google/genomics/v1alpha2/pipelines.proto index 46d6d8d8..c2a8299d 100644 --- a/google/genomics/v1alpha2/pipelines.proto +++ b/google/genomics/v1alpha2/pipelines.proto @@ -87,9 +87,9 @@ service PipelinesV1Alpha2 { } } -// Describes a GCE resource that is being managed by a running +// Describes a Compute Engine resource that is being managed by a running // [pipeline][google.genomics.v1alpha2.Pipeline]. -message GCE { +message ComputeEngine { // The instance on which the operation is running. string instance_name = 1; @@ -108,7 +108,7 @@ message GCE { // field of the Operation associated with a RunPipeline execution. message RuntimeMetadata { // Execution information specific to Google Compute Engine. - GCE gce = 1; + ComputeEngine compute_engine = 1; } // The pipeline object. Represents a transformation from a set of input