run_asset_discovery_response.proto 1.7 KB

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