Update protos for genomics API.

This commit is contained in:
Ethan Bao 2016-07-25 09:06:10 -07:00
parent 222ab0cdf0
commit 9fdb8821e1
2 changed files with 17 additions and 3 deletions

View File

@ -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;
}

View File

@ -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