operation.proto 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. // Copyright 2016 Google Inc.
  2. //
  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
  6. //
  7. // http://www.apache.org/licenses/LICENSE-2.0
  8. //
  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.
  14. syntax = "proto3";
  15. package google.appengine.v1;
  16. import "google/api/annotations.proto";
  17. import "google/protobuf/timestamp.proto";
  18. option java_multiple_files = true;
  19. option java_outer_classname = "OperationProto";
  20. option java_package = "com.google.appengine.v1";
  21. // Metadata for the given [google.longrunning.Operation][google.longrunning.Operation].
  22. message OperationMetadataV1 {
  23. // API method that initiated this operation. Example:
  24. // `google.appengine.v1.Versions.CreateVersion`.
  25. //
  26. // @OutputOnly
  27. string method = 1;
  28. // Time that this operation was created.
  29. //
  30. // @OutputOnly
  31. google.protobuf.Timestamp insert_time = 2;
  32. // Time that this operation completed.
  33. //
  34. // @OutputOnly
  35. google.protobuf.Timestamp end_time = 3;
  36. // User who requested this operation.
  37. //
  38. // @OutputOnly
  39. string user = 4;
  40. // Name of the resource that this operation is acting on. Example:
  41. // `apps/myapp/services/default`.
  42. //
  43. // @OutputOnly
  44. string target = 5;
  45. }