xref: /aosp_15_r20/external/googleapis/google/cloud/networksecurity/v1beta1/common.proto (revision d5c09012810ac0c9f33fe448fb6da8260d444cc9)
1// Copyright 2021 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
15syntax = "proto3";
16
17package google.cloud.networksecurity.v1beta1;
18
19import "google/api/field_behavior.proto";
20import "google/protobuf/timestamp.proto";
21
22option csharp_namespace = "Google.Cloud.NetworkSecurity.V1Beta1";
23option go_package = "cloud.google.com/go/networksecurity/apiv1beta1/networksecuritypb;networksecuritypb";
24option java_multiple_files = true;
25option java_outer_classname = "CommonProto";
26option java_package = "com.google.cloud.networksecurity.v1beta1";
27option php_namespace = "Google\\Cloud\\NetworkSecurity\\V1beta1";
28option ruby_package = "Google::Cloud::NetworkSecurity::V1beta1";
29
30// Represents the metadata of the long-running operation.
31message OperationMetadata {
32  // Output only. The time the operation was created.
33  google.protobuf.Timestamp create_time = 1
34      [(google.api.field_behavior) = OUTPUT_ONLY];
35
36  // Output only. The time the operation finished running.
37  google.protobuf.Timestamp end_time = 2
38      [(google.api.field_behavior) = OUTPUT_ONLY];
39
40  // Output only. Server-defined resource path for the target of the operation.
41  string target = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
42
43  // Output only. Name of the verb executed by the operation.
44  string verb = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
45
46  // Output only. Human-readable status of the operation, if any.
47  string status_message = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
48
49  // Output only. Identifies whether the user has requested cancellation
50  // of the operation. Operations that have successfully been cancelled
51  // have [Operation.error][] value with a
52  // [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
53  // `Code.CANCELLED`.
54  bool requested_cancellation = 6 [(google.api.field_behavior) = OUTPUT_ONLY];
55
56  // Output only. API version used to start the operation.
57  string api_version = 7 [(google.api.field_behavior) = OUTPUT_ONLY];
58}
59