1 // Copyright 2017 Google Inc.
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
7 // http://www.apache.org/licenses/LICENSE-2.0
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.
17 package google.cloud.functions.v1beta2;
19 import "google/api/annotations.proto";
20 import "google/protobuf/any.proto";
22 option go_package = "google.golang.org/genproto/googleapis/cloud/functions/v1beta2;functions";
23 option java_multiple_files = true;
24 option java_outer_classname = "FunctionsOperationsProto";
25 option java_package = "com.google.cloud.functions.v1beta2";
27 // Metadata describing an [Operation][google.longrunning.Operation]
28 message OperationMetadataV1Beta2 {
29 // Target of the operation - for example
30 // projects/project-1/locations/region-1/functions/function-1
34 OperationType type = 2;
36 // The original request that started the operation.
37 google.protobuf.Any request = 3;
40 // A type of an operation.
42 // Unknown operation type.
43 OPERATION_UNSPECIFIED = 0;
45 // Triggered by CreateFunction call
48 // Triggered by UpdateFunction call
51 // Triggered by DeleteFunction call.