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.securitycenter.v1; 18 19import "google/protobuf/duration.proto"; 20 21option csharp_namespace = "Google.Cloud.SecurityCenter.V1"; 22option go_package = "cloud.google.com/go/securitycenter/apiv1/securitycenterpb;securitycenterpb"; 23option java_multiple_files = true; 24option java_package = "com.google.cloud.securitycenter.v1"; 25option php_namespace = "Google\\Cloud\\SecurityCenter\\V1"; 26option ruby_package = "Google::Cloud::SecurityCenter::V1"; 27 28// Response of asset discovery run 29message RunAssetDiscoveryResponse { 30 // The state of an asset discovery run. 31 enum State { 32 // Asset discovery run state was unspecified. 33 STATE_UNSPECIFIED = 0; 34 35 // Asset discovery run completed successfully. 36 COMPLETED = 1; 37 38 // Asset discovery run was cancelled with tasks still pending, as another 39 // run for the same organization was started with a higher priority. 40 SUPERSEDED = 2; 41 42 // Asset discovery run was killed and terminated. 43 TERMINATED = 3; 44 } 45 46 // The state of an asset discovery run. 47 State state = 1; 48 49 // The duration between asset discovery run start and end 50 google.protobuf.Duration duration = 2; 51} 52