# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/security_center/v1/securitycenter_service.proto require 'google/protobuf' require 'google/api/annotations_pb' require 'google/cloud/security_center/v1/asset_pb' require 'google/cloud/security_center/v1/finding_pb' require 'google/cloud/security_center/v1/organization_settings_pb' require 'google/cloud/security_center/v1/run_asset_discovery_response_pb' require 'google/cloud/security_center/v1/security_marks_pb' require 'google/cloud/security_center/v1/source_pb' require 'google/iam/v1/iam_policy_pb' require 'google/iam/v1/policy_pb' require 'google/longrunning/operations_pb' require 'google/protobuf/duration_pb' require 'google/protobuf/empty_pb' require 'google/protobuf/field_mask_pb' require 'google/protobuf/struct_pb' require 'google/protobuf/timestamp_pb' Google::Protobuf::DescriptorPool.generated_pool.build do add_message "google.cloud.securitycenter.v1.CreateFindingRequest" do optional :parent, :string, 1 optional :finding_id, :string, 2 optional :finding, :message, 3, "google.cloud.securitycenter.v1.Finding" end add_message "google.cloud.securitycenter.v1.CreateSourceRequest" do optional :parent, :string, 1 optional :source, :message, 2, "google.cloud.securitycenter.v1.Source" end add_message "google.cloud.securitycenter.v1.GetOrganizationSettingsRequest" do optional :name, :string, 1 end add_message "google.cloud.securitycenter.v1.GetSourceRequest" do optional :name, :string, 1 end add_message "google.cloud.securitycenter.v1.GroupAssetsRequest" do optional :parent, :string, 1 optional :filter, :string, 2 optional :group_by, :string, 3 optional :compare_duration, :message, 4, "google.protobuf.Duration" optional :read_time, :message, 5, "google.protobuf.Timestamp" optional :page_token, :string, 7 optional :page_size, :int32, 8 end add_message "google.cloud.securitycenter.v1.GroupAssetsResponse" do repeated :group_by_results, :message, 1, "google.cloud.securitycenter.v1.GroupResult" optional :read_time, :message, 2, "google.protobuf.Timestamp" optional :next_page_token, :string, 3 optional :total_size, :int32, 4 end add_message "google.cloud.securitycenter.v1.GroupFindingsRequest" do optional :parent, :string, 1 optional :filter, :string, 2 optional :group_by, :string, 3 optional :read_time, :message, 4, "google.protobuf.Timestamp" optional :compare_duration, :message, 5, "google.protobuf.Duration" optional :page_token, :string, 7 optional :page_size, :int32, 8 end add_message "google.cloud.securitycenter.v1.GroupFindingsResponse" do repeated :group_by_results, :message, 1, "google.cloud.securitycenter.v1.GroupResult" optional :read_time, :message, 2, "google.protobuf.Timestamp" optional :next_page_token, :string, 3 optional :total_size, :int32, 4 end add_message "google.cloud.securitycenter.v1.GroupResult" do map :properties, :string, :message, 1, "google.protobuf.Value" optional :count, :int64, 2 end add_message "google.cloud.securitycenter.v1.ListSourcesRequest" do optional :parent, :string, 1 optional :page_token, :string, 2 optional :page_size, :int32, 7 end add_message "google.cloud.securitycenter.v1.ListSourcesResponse" do repeated :sources, :message, 1, "google.cloud.securitycenter.v1.Source" optional :next_page_token, :string, 2 end add_message "google.cloud.securitycenter.v1.ListAssetsRequest" do optional :parent, :string, 1 optional :filter, :string, 2 optional :order_by, :string, 3 optional :read_time, :message, 4, "google.protobuf.Timestamp" optional :compare_duration, :message, 5, "google.protobuf.Duration" optional :field_mask, :message, 7, "google.protobuf.FieldMask" optional :page_token, :string, 8 optional :page_size, :int32, 9 end add_message "google.cloud.securitycenter.v1.ListAssetsResponse" do repeated :list_assets_results, :message, 1, "google.cloud.securitycenter.v1.ListAssetsResponse.ListAssetsResult" optional :read_time, :message, 2, "google.protobuf.Timestamp" optional :next_page_token, :string, 3 optional :total_size, :int32, 4 end add_message "google.cloud.securitycenter.v1.ListAssetsResponse.ListAssetsResult" do optional :asset, :message, 1, "google.cloud.securitycenter.v1.Asset" optional :state_change, :enum, 2, "google.cloud.securitycenter.v1.ListAssetsResponse.ListAssetsResult.StateChange" end add_enum "google.cloud.securitycenter.v1.ListAssetsResponse.ListAssetsResult.StateChange" do value :UNUSED, 0 value :ADDED, 1 value :REMOVED, 2 value :ACTIVE, 3 end add_message "google.cloud.securitycenter.v1.ListFindingsRequest" do optional :parent, :string, 1 optional :filter, :string, 2 optional :order_by, :string, 3 optional :read_time, :message, 4, "google.protobuf.Timestamp" optional :compare_duration, :message, 5, "google.protobuf.Duration" optional :field_mask, :message, 7, "google.protobuf.FieldMask" optional :page_token, :string, 8 optional :page_size, :int32, 9 end add_message "google.cloud.securitycenter.v1.ListFindingsResponse" do repeated :list_findings_results, :message, 1, "google.cloud.securitycenter.v1.ListFindingsResponse.ListFindingsResult" optional :read_time, :message, 2, "google.protobuf.Timestamp" optional :next_page_token, :string, 3 optional :total_size, :int32, 4 end add_message "google.cloud.securitycenter.v1.ListFindingsResponse.ListFindingsResult" do optional :finding, :message, 1, "google.cloud.securitycenter.v1.Finding" optional :state_change, :enum, 2, "google.cloud.securitycenter.v1.ListFindingsResponse.ListFindingsResult.StateChange" end add_enum "google.cloud.securitycenter.v1.ListFindingsResponse.ListFindingsResult.StateChange" do value :UNUSED, 0 value :CHANGED, 1 value :UNCHANGED, 2 value :ADDED, 3 value :REMOVED, 4 end add_message "google.cloud.securitycenter.v1.SetFindingStateRequest" do optional :name, :string, 1 optional :state, :enum, 2, "google.cloud.securitycenter.v1.Finding.State" optional :start_time, :message, 3, "google.protobuf.Timestamp" end add_message "google.cloud.securitycenter.v1.RunAssetDiscoveryRequest" do optional :parent, :string, 1 end add_message "google.cloud.securitycenter.v1.UpdateFindingRequest" do optional :finding, :message, 1, "google.cloud.securitycenter.v1.Finding" optional :update_mask, :message, 2, "google.protobuf.FieldMask" end add_message "google.cloud.securitycenter.v1.UpdateOrganizationSettingsRequest" do optional :organization_settings, :message, 1, "google.cloud.securitycenter.v1.OrganizationSettings" optional :update_mask, :message, 2, "google.protobuf.FieldMask" end add_message "google.cloud.securitycenter.v1.UpdateSourceRequest" do optional :source, :message, 1, "google.cloud.securitycenter.v1.Source" optional :update_mask, :message, 2, "google.protobuf.FieldMask" end add_message "google.cloud.securitycenter.v1.UpdateSecurityMarksRequest" do optional :security_marks, :message, 1, "google.cloud.securitycenter.v1.SecurityMarks" optional :update_mask, :message, 2, "google.protobuf.FieldMask" optional :start_time, :message, 3, "google.protobuf.Timestamp" end end module Google::Cloud::SecurityCenter::V1 CreateFindingRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.CreateFindingRequest").msgclass CreateSourceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.CreateSourceRequest").msgclass GetOrganizationSettingsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.GetOrganizationSettingsRequest").msgclass GetSourceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.GetSourceRequest").msgclass GroupAssetsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.GroupAssetsRequest").msgclass GroupAssetsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.GroupAssetsResponse").msgclass GroupFindingsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.GroupFindingsRequest").msgclass GroupFindingsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.GroupFindingsResponse").msgclass GroupResult = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.GroupResult").msgclass ListSourcesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.ListSourcesRequest").msgclass ListSourcesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.ListSourcesResponse").msgclass ListAssetsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.ListAssetsRequest").msgclass ListAssetsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.ListAssetsResponse").msgclass ListAssetsResponse::ListAssetsResult = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.ListAssetsResponse.ListAssetsResult").msgclass ListAssetsResponse::ListAssetsResult::StateChange = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.ListAssetsResponse.ListAssetsResult.StateChange").enummodule ListFindingsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.ListFindingsRequest").msgclass ListFindingsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.ListFindingsResponse").msgclass ListFindingsResponse::ListFindingsResult = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.ListFindingsResponse.ListFindingsResult").msgclass ListFindingsResponse::ListFindingsResult::StateChange = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.ListFindingsResponse.ListFindingsResult.StateChange").enummodule SetFindingStateRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.SetFindingStateRequest").msgclass RunAssetDiscoveryRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.RunAssetDiscoveryRequest").msgclass UpdateFindingRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.UpdateFindingRequest").msgclass UpdateOrganizationSettingsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.UpdateOrganizationSettingsRequest").msgclass UpdateSourceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.UpdateSourceRequest").msgclass UpdateSecurityMarksRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.UpdateSecurityMarksRequest").msgclass end