common.proto 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. // Copyright 2022 Google LLC
  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.cloud.networksecurity.v1;
  16. import "google/api/field_behavior.proto";
  17. import "google/protobuf/timestamp.proto";
  18. option csharp_namespace = "Google.Cloud.NetworkSecurity.V1";
  19. option go_package = "google.golang.org/genproto/googleapis/cloud/networksecurity/v1;networksecurity";
  20. option java_multiple_files = true;
  21. option java_outer_classname = "CommonProto";
  22. option java_package = "com.google.cloud.networksecurity.v1";
  23. option php_namespace = "Google\\Cloud\\NetworkSecurity\\V1";
  24. option ruby_package = "Google::Cloud::NetworkSecurity::V1";
  25. // Represents the metadata of the long-running operation.
  26. message OperationMetadata {
  27. // Output only. The time the operation was created.
  28. google.protobuf.Timestamp create_time = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
  29. // Output only. The time the operation finished running.
  30. google.protobuf.Timestamp end_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
  31. // Output only. Server-defined resource path for the target of the operation.
  32. string target = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
  33. // Output only. Name of the verb executed by the operation.
  34. string verb = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
  35. // Output only. Human-readable status of the operation, if any.
  36. string status_message = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
  37. // Output only. Identifies whether the user has requested cancellation
  38. // of the operation. Operations that have successfully been cancelled
  39. // have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
  40. // corresponding to `Code.CANCELLED`.
  41. bool requested_cancellation = 6 [(google.api.field_behavior) = OUTPUT_ONLY];
  42. // Output only. API version used to start the operation.
  43. string api_version = 7 [(google.api.field_behavior) = OUTPUT_ONLY];
  44. }