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.appengine.v1beta; 18 19import "google/protobuf/timestamp.proto"; 20 21option csharp_namespace = "Google.Cloud.AppEngine.V1Beta"; 22option go_package = "google.golang.org/genproto/googleapis/appengine/v1beta;appengine"; 23option java_multiple_files = true; 24option java_outer_classname = "OperationProto"; 25option java_package = "com.google.appengine.v1beta"; 26option php_namespace = "Google\\Cloud\\AppEngine\\V1beta"; 27option ruby_package = "Google::Cloud::AppEngine::V1beta"; 28 29// Metadata for the given [google.longrunning.Operation][google.longrunning.Operation]. 30message OperationMetadataV1Beta { 31 // API method that initiated this operation. Example: 32 // `google.appengine.v1beta.Versions.CreateVersion`. 33 // 34 // @OutputOnly 35 string method = 1; 36 37 // Time that this operation was created. 38 // 39 // @OutputOnly 40 google.protobuf.Timestamp insert_time = 2; 41 42 // Time that this operation completed. 43 // 44 // @OutputOnly 45 google.protobuf.Timestamp end_time = 3; 46 47 // User who requested this operation. 48 // 49 // @OutputOnly 50 string user = 4; 51 52 // Name of the resource that this operation is acting on. Example: 53 // `apps/myapp/services/default`. 54 // 55 // @OutputOnly 56 string target = 5; 57 58 // Ephemeral message that may change every time the operation is polled. 59 // @OutputOnly 60 string ephemeral_message = 6; 61 62 // Durable messages that persist on every operation poll. 63 // @OutputOnly 64 repeated string warning = 7; 65 66 // Metadata specific to the type of operation in progress. 67 // @OutputOnly 68 oneof method_metadata { 69 CreateVersionMetadataV1Beta create_version_metadata = 8; 70 } 71} 72 73// Metadata for the given [google.longrunning.Operation][google.longrunning.Operation] during a 74// [google.appengine.v1beta.CreateVersionRequest][google.appengine.v1beta.CreateVersionRequest]. 75message CreateVersionMetadataV1Beta { 76 // The Cloud Build ID if one was created as part of the version create. 77 // @OutputOnly 78 string cloud_build_id = 1; 79} 80