# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/securitycenter/v1p1beta1/securitycenter_service.proto require 'google/protobuf' require 'google/cloud/securitycenter/v1p1beta1/notification_message_pb' require 'google/cloud/securitycenter/v1p1beta1/run_asset_discovery_response_pb' require 'google/api/annotations_pb' require 'google/api/client_pb' require 'google/api/field_behavior_pb' require 'google/api/resource_pb' require 'google/cloud/securitycenter/v1p1beta1/asset_pb' require 'google/cloud/securitycenter/v1p1beta1/finding_pb' require 'google/cloud/securitycenter/v1p1beta1/notification_config_pb' require 'google/cloud/securitycenter/v1p1beta1/organization_settings_pb' require 'google/cloud/securitycenter/v1p1beta1/security_marks_pb' require 'google/cloud/securitycenter/v1p1beta1/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_file("google/cloud/securitycenter/v1p1beta1/securitycenter_service.proto", :syntax => :proto3) do add_message "google.cloud.securitycenter.v1p1beta1.CreateFindingRequest" do optional :parent, :string, 1 optional :finding_id, :string, 2 optional :finding, :message, 3, "google.cloud.securitycenter.v1p1beta1.Finding" end add_message "google.cloud.securitycenter.v1p1beta1.CreateNotificationConfigRequest" do optional :parent, :string, 1 optional :config_id, :string, 2 optional :notification_config, :message, 3, "google.cloud.securitycenter.v1p1beta1.NotificationConfig" end add_message "google.cloud.securitycenter.v1p1beta1.CreateSourceRequest" do optional :parent, :string, 1 optional :source, :message, 2, "google.cloud.securitycenter.v1p1beta1.Source" end add_message "google.cloud.securitycenter.v1p1beta1.DeleteNotificationConfigRequest" do optional :name, :string, 1 end add_message "google.cloud.securitycenter.v1p1beta1.GetNotificationConfigRequest" do optional :name, :string, 1 end add_message "google.cloud.securitycenter.v1p1beta1.GetOrganizationSettingsRequest" do optional :name, :string, 1 end add_message "google.cloud.securitycenter.v1p1beta1.GetSourceRequest" do optional :name, :string, 1 end add_message "google.cloud.securitycenter.v1p1beta1.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.v1p1beta1.GroupAssetsResponse" do repeated :group_by_results, :message, 1, "google.cloud.securitycenter.v1p1beta1.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.v1p1beta1.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.v1p1beta1.GroupFindingsResponse" do repeated :group_by_results, :message, 1, "google.cloud.securitycenter.v1p1beta1.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.v1p1beta1.GroupResult" do map :properties, :string, :message, 1, "google.protobuf.Value" optional :count, :int64, 2 end add_message "google.cloud.securitycenter.v1p1beta1.ListNotificationConfigsRequest" do optional :parent, :string, 1 optional :page_token, :string, 2 optional :page_size, :int32, 3 end add_message "google.cloud.securitycenter.v1p1beta1.ListNotificationConfigsResponse" do repeated :notification_configs, :message, 1, "google.cloud.securitycenter.v1p1beta1.NotificationConfig" optional :next_page_token, :string, 2 end add_message "google.cloud.securitycenter.v1p1beta1.ListSourcesRequest" do optional :parent, :string, 1 optional :page_token, :string, 2 optional :page_size, :int32, 7 end add_message "google.cloud.securitycenter.v1p1beta1.ListSourcesResponse" do repeated :sources, :message, 1, "google.cloud.securitycenter.v1p1beta1.Source" optional :next_page_token, :string, 2 end add_message "google.cloud.securitycenter.v1p1beta1.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.v1p1beta1.ListAssetsResponse" do repeated :list_assets_results, :message, 1, "google.cloud.securitycenter.v1p1beta1.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.v1p1beta1.ListAssetsResponse.ListAssetsResult" do optional :asset, :message, 1, "google.cloud.securitycenter.v1p1beta1.Asset" optional :state_change, :enum, 2, "google.cloud.securitycenter.v1p1beta1.ListAssetsResponse.ListAssetsResult.StateChange" end add_enum "google.cloud.securitycenter.v1p1beta1.ListAssetsResponse.ListAssetsResult.StateChange" do value :UNUSED, 0 value :ADDED, 1 value :REMOVED, 2 value :ACTIVE, 3 end add_message "google.cloud.securitycenter.v1p1beta1.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.v1p1beta1.ListFindingsResponse" do repeated :list_findings_results, :message, 1, "google.cloud.securitycenter.v1p1beta1.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.v1p1beta1.ListFindingsResponse.ListFindingsResult" do optional :finding, :message, 1, "google.cloud.securitycenter.v1p1beta1.Finding" optional :state_change, :enum, 2, "google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.ListFindingsResult.StateChange" optional :resource, :message, 3, "google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.ListFindingsResult.Resource" end add_message "google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.ListFindingsResult.Resource" do optional :name, :string, 1 optional :project_name, :string, 2 optional :project_display_name, :string, 3 optional :parent_name, :string, 4 optional :parent_display_name, :string, 5 end add_enum "google.cloud.securitycenter.v1p1beta1.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.v1p1beta1.SetFindingStateRequest" do optional :name, :string, 1 optional :state, :enum, 2, "google.cloud.securitycenter.v1p1beta1.Finding.State" optional :start_time, :message, 3, "google.protobuf.Timestamp" end add_message "google.cloud.securitycenter.v1p1beta1.RunAssetDiscoveryRequest" do optional :parent, :string, 1 end add_message "google.cloud.securitycenter.v1p1beta1.UpdateFindingRequest" do optional :finding, :message, 1, "google.cloud.securitycenter.v1p1beta1.Finding" optional :update_mask, :message, 2, "google.protobuf.FieldMask" end add_message "google.cloud.securitycenter.v1p1beta1.UpdateNotificationConfigRequest" do optional :notification_config, :message, 1, "google.cloud.securitycenter.v1p1beta1.NotificationConfig" optional :update_mask, :message, 2, "google.protobuf.FieldMask" end add_message "google.cloud.securitycenter.v1p1beta1.UpdateOrganizationSettingsRequest" do optional :organization_settings, :message, 1, "google.cloud.securitycenter.v1p1beta1.OrganizationSettings" optional :update_mask, :message, 2, "google.protobuf.FieldMask" end add_message "google.cloud.securitycenter.v1p1beta1.UpdateSourceRequest" do optional :source, :message, 1, "google.cloud.securitycenter.v1p1beta1.Source" optional :update_mask, :message, 2, "google.protobuf.FieldMask" end add_message "google.cloud.securitycenter.v1p1beta1.UpdateSecurityMarksRequest" do optional :security_marks, :message, 1, "google.cloud.securitycenter.v1p1beta1.SecurityMarks" optional :update_mask, :message, 2, "google.protobuf.FieldMask" optional :start_time, :message, 3, "google.protobuf.Timestamp" end end end module Google module Cloud module SecurityCenter module V1p1beta1 CreateFindingRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1p1beta1.CreateFindingRequest").msgclass CreateNotificationConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1p1beta1.CreateNotificationConfigRequest").msgclass CreateSourceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1p1beta1.CreateSourceRequest").msgclass DeleteNotificationConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1p1beta1.DeleteNotificationConfigRequest").msgclass GetNotificationConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1p1beta1.GetNotificationConfigRequest").msgclass GetOrganizationSettingsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1p1beta1.GetOrganizationSettingsRequest").msgclass GetSourceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1p1beta1.GetSourceRequest").msgclass GroupAssetsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1p1beta1.GroupAssetsRequest").msgclass GroupAssetsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1p1beta1.GroupAssetsResponse").msgclass GroupFindingsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1p1beta1.GroupFindingsRequest").msgclass GroupFindingsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1p1beta1.GroupFindingsResponse").msgclass GroupResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1p1beta1.GroupResult").msgclass ListNotificationConfigsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1p1beta1.ListNotificationConfigsRequest").msgclass ListNotificationConfigsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1p1beta1.ListNotificationConfigsResponse").msgclass ListSourcesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1p1beta1.ListSourcesRequest").msgclass ListSourcesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1p1beta1.ListSourcesResponse").msgclass ListAssetsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1p1beta1.ListAssetsRequest").msgclass ListAssetsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1p1beta1.ListAssetsResponse").msgclass ListAssetsResponse::ListAssetsResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1p1beta1.ListAssetsResponse.ListAssetsResult").msgclass ListAssetsResponse::ListAssetsResult::StateChange = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1p1beta1.ListAssetsResponse.ListAssetsResult.StateChange").enummodule ListFindingsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1p1beta1.ListFindingsRequest").msgclass ListFindingsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1p1beta1.ListFindingsResponse").msgclass ListFindingsResponse::ListFindingsResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.ListFindingsResult").msgclass ListFindingsResponse::ListFindingsResult::Resource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.ListFindingsResult.Resource").msgclass ListFindingsResponse::ListFindingsResult::StateChange = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.ListFindingsResult.StateChange").enummodule SetFindingStateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1p1beta1.SetFindingStateRequest").msgclass RunAssetDiscoveryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1p1beta1.RunAssetDiscoveryRequest").msgclass UpdateFindingRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1p1beta1.UpdateFindingRequest").msgclass UpdateNotificationConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1p1beta1.UpdateNotificationConfigRequest").msgclass UpdateOrganizationSettingsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1p1beta1.UpdateOrganizationSettingsRequest").msgclass UpdateSourceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1p1beta1.UpdateSourceRequest").msgclass UpdateSecurityMarksRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1p1beta1.UpdateSecurityMarksRequest").msgclass end end end end