operation.proto 2.1 KB

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