1 // Copyright 2016 Google Inc.
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
7 // http://www.apache.org/licenses/LICENSE-2.0
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
17 package google.genomics.v1;
19 import "google/api/annotations.proto";
20 import "google/protobuf/any.proto";
21 import "google/protobuf/timestamp.proto";
23 option cc_enable_arenas = true;
24 option go_package = "google.golang.org/genproto/googleapis/genomics/v1;genomics";
25 option java_multiple_files = true;
26 option java_outer_classname = "OperationsProto";
27 option java_package = "com.google.genomics.v1";
29 // Metadata describing an [Operation][google.longrunning.Operation].
30 message OperationMetadata {
31 // The Google Cloud Project in which the job is scoped.
32 string project_id = 1;
34 // The time at which the job was submitted to the Genomics service.
35 google.protobuf.Timestamp create_time = 2;
37 // The time at which the job began to run.
38 google.protobuf.Timestamp start_time = 3;
40 // The time at which the job stopped running.
41 google.protobuf.Timestamp end_time = 4;
43 // The original request that started the operation. Note that this will be in
44 // current version of the API. If the operation was started with v1beta2 API
45 // and a GetOperation is performed on v1 API, a v1 request will be returned.
46 google.protobuf.Any request = 5;
48 // Optional event messages that were generated during the job's execution.
49 // This also contains any warnings that were generated during import
51 repeated OperationEvent events = 6;
53 // This field is deprecated. Use `labels` instead. Optionally provided by the
54 // caller when submitting the request that creates the operation.
57 // Runtime metadata on this Operation.
58 google.protobuf.Any runtime_metadata = 8;
60 // Optionally provided by the caller when submitting the request that creates
62 map<string, string> labels = 9;
65 // An event that occurred during an [Operation][google.longrunning.Operation].
66 message OperationEvent {
67 // Optional time of when event started.
68 google.protobuf.Timestamp start_time = 1;
70 // Optional time of when event finished. An event can have a start time and no
71 // finish time. If an event has a finish time, there must be a start time.
72 google.protobuf.Timestamp end_time = 2;
74 // Required description of event.
75 string description = 3;