# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/securitycenter/v1/finding.proto require 'google/protobuf' require 'google/api/field_behavior_pb' require 'google/api/resource_pb' require 'google/cloud/securitycenter/v1/security_marks_pb' require 'google/protobuf/struct_pb' require 'google/protobuf/timestamp_pb' require 'google/api/annotations_pb' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("google/cloud/securitycenter/v1/finding.proto", :syntax => :proto3) do add_message "google.cloud.securitycenter.v1.Finding" do optional :name, :string, 1 optional :parent, :string, 2 optional :resource_name, :string, 3 optional :state, :enum, 4, "google.cloud.securitycenter.v1.Finding.State" optional :category, :string, 5 optional :external_uri, :string, 6 map :source_properties, :string, :message, 7, "google.protobuf.Value" optional :security_marks, :message, 8, "google.cloud.securitycenter.v1.SecurityMarks" optional :event_time, :message, 9, "google.protobuf.Timestamp" optional :create_time, :message, 10, "google.protobuf.Timestamp" optional :severity, :enum, 12, "google.cloud.securitycenter.v1.Finding.Severity" optional :canonical_name, :string, 14 end add_enum "google.cloud.securitycenter.v1.Finding.State" do value :STATE_UNSPECIFIED, 0 value :ACTIVE, 1 value :INACTIVE, 2 end add_enum "google.cloud.securitycenter.v1.Finding.Severity" do value :SEVERITY_UNSPECIFIED, 0 value :CRITICAL, 1 value :HIGH, 2 value :MEDIUM, 3 value :LOW, 4 end end end module Google module Cloud module SecurityCenter module V1 Finding = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.Finding").msgclass Finding::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.Finding.State").enummodule Finding::Severity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.Finding.Severity").enummodule end end end end