1// Copyright 2023 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.aiplatform.v1;
18
19import "google/api/field_behavior.proto";
20import "google/protobuf/timestamp.proto";
21import "google/rpc/status.proto";
22
23option csharp_namespace = "Google.Cloud.AIPlatform.V1";
24option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb";
25option java_multiple_files = true;
26option java_outer_classname = "OperationProto";
27option java_package = "com.google.cloud.aiplatform.v1";
28option php_namespace = "Google\\Cloud\\AIPlatform\\V1";
29option ruby_package = "Google::Cloud::AIPlatform::V1";
30
31// Generic Metadata shared by all operations.
32message GenericOperationMetadata {
33  // Output only. Partial failures encountered.
34  // E.g. single files that couldn't be read.
35  // This field should never exceed 20 entries.
36  // Status details field will contain standard Google Cloud error details.
37  repeated google.rpc.Status partial_failures = 1
38      [(google.api.field_behavior) = OUTPUT_ONLY];
39
40  // Output only. Time when the operation was created.
41  google.protobuf.Timestamp create_time = 2
42      [(google.api.field_behavior) = OUTPUT_ONLY];
43
44  // Output only. Time when the operation was updated for the last time.
45  // If the operation has finished (successfully or not), this is the finish
46  // time.
47  google.protobuf.Timestamp update_time = 3
48      [(google.api.field_behavior) = OUTPUT_ONLY];
49}
50
51// Details of operations that perform deletes of any entities.
52message DeleteOperationMetadata {
53  // The common part of the operation metadata.
54  GenericOperationMetadata generic_metadata = 1;
55}
56