google-cloud-security_center_management-v1 0.a → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +122 -0
  4. data/README.md +144 -8
  5. data/lib/google/cloud/security_center_management/v1/bindings_override.rb +102 -0
  6. data/lib/google/cloud/security_center_management/v1/rest.rb +38 -0
  7. data/lib/google/cloud/security_center_management/v1/security_center_management/client.rb +2321 -0
  8. data/lib/google/cloud/security_center_management/v1/security_center_management/credentials.rb +47 -0
  9. data/lib/google/cloud/security_center_management/v1/security_center_management/paths.rb +316 -0
  10. data/lib/google/cloud/security_center_management/v1/security_center_management/rest/client.rb +2177 -0
  11. data/lib/google/cloud/security_center_management/v1/security_center_management/rest/service_stub.rb +1401 -0
  12. data/lib/google/cloud/security_center_management/v1/security_center_management/rest.rb +53 -0
  13. data/lib/google/cloud/security_center_management/v1/security_center_management.rb +55 -0
  14. data/lib/google/cloud/security_center_management/v1/version.rb +7 -2
  15. data/lib/google/cloud/security_center_management/v1.rb +45 -0
  16. data/lib/google/cloud/securitycentermanagement/v1/security_center_management_pb.rb +107 -0
  17. data/lib/google/cloud/securitycentermanagement/v1/security_center_management_services_pb.rb +115 -0
  18. data/lib/google-cloud-security_center_management-v1.rb +21 -0
  19. data/proto_docs/README.md +4 -0
  20. data/proto_docs/google/api/client.rb +399 -0
  21. data/proto_docs/google/api/field_behavior.rb +85 -0
  22. data/proto_docs/google/api/launch_stage.rb +71 -0
  23. data/proto_docs/google/api/resource.rb +222 -0
  24. data/proto_docs/google/cloud/securitycentermanagement/v1/security_center_management.rb +1055 -0
  25. data/proto_docs/google/iam/v1/policy.rb +426 -0
  26. data/proto_docs/google/protobuf/any.rb +145 -0
  27. data/proto_docs/google/protobuf/duration.rb +98 -0
  28. data/proto_docs/google/protobuf/empty.rb +34 -0
  29. data/proto_docs/google/protobuf/field_mask.rb +229 -0
  30. data/proto_docs/google/protobuf/struct.rb +96 -0
  31. data/proto_docs/google/protobuf/timestamp.rb +127 -0
  32. data/proto_docs/google/rpc/status.rb +48 -0
  33. data/proto_docs/google/type/expr.rb +75 -0
  34. metadata +112 -11
@@ -0,0 +1,53 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2024 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ require "gapic/rest"
20
+ require "gapic/config"
21
+ require "gapic/config/method"
22
+
23
+ require "google/cloud/security_center_management/v1/version"
24
+ require "google/cloud/security_center_management/v1/bindings_override"
25
+
26
+ require "google/cloud/security_center_management/v1/security_center_management/credentials"
27
+ require "google/cloud/security_center_management/v1/security_center_management/paths"
28
+ require "google/cloud/security_center_management/v1/security_center_management/rest/client"
29
+
30
+ module Google
31
+ module Cloud
32
+ module SecurityCenterManagement
33
+ module V1
34
+ ##
35
+ # Service describing handlers for resources
36
+ #
37
+ # To load this service and instantiate a REST client:
38
+ #
39
+ # require "google/cloud/security_center_management/v1/security_center_management/rest"
40
+ # client = ::Google::Cloud::SecurityCenterManagement::V1::SecurityCenterManagement::Rest::Client.new
41
+ #
42
+ module SecurityCenterManagement
43
+ # Client for the REST transport
44
+ module Rest
45
+ end
46
+ end
47
+ end
48
+ end
49
+ end
50
+ end
51
+
52
+ helper_path = ::File.join __dir__, "rest", "helpers.rb"
53
+ require "google/cloud/security_center_management/v1/security_center_management/rest/helpers" if ::File.file? helper_path
@@ -0,0 +1,55 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2024 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ require "gapic/common"
20
+ require "gapic/config"
21
+ require "gapic/config/method"
22
+
23
+ require "google/cloud/security_center_management/v1/version"
24
+
25
+ require "google/cloud/security_center_management/v1/security_center_management/credentials"
26
+ require "google/cloud/security_center_management/v1/security_center_management/paths"
27
+ require "google/cloud/security_center_management/v1/security_center_management/client"
28
+ require "google/cloud/security_center_management/v1/security_center_management/rest"
29
+
30
+ module Google
31
+ module Cloud
32
+ module SecurityCenterManagement
33
+ module V1
34
+ ##
35
+ # Service describing handlers for resources
36
+ #
37
+ # @example Load this service and instantiate a gRPC client
38
+ #
39
+ # require "google/cloud/security_center_management/v1/security_center_management"
40
+ # client = ::Google::Cloud::SecurityCenterManagement::V1::SecurityCenterManagement::Client.new
41
+ #
42
+ # @example Load this service and instantiate a REST client
43
+ #
44
+ # require "google/cloud/security_center_management/v1/security_center_management/rest"
45
+ # client = ::Google::Cloud::SecurityCenterManagement::V1::SecurityCenterManagement::Rest::Client.new
46
+ #
47
+ module SecurityCenterManagement
48
+ end
49
+ end
50
+ end
51
+ end
52
+ end
53
+
54
+ helper_path = ::File.join __dir__, "security_center_management", "helpers.rb"
55
+ require "google/cloud/security_center_management/v1/security_center_management/helpers" if ::File.file? helper_path
@@ -1,10 +1,12 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # Copyright 2024 Google LLC
2
4
  #
3
5
  # Licensed under the Apache License, Version 2.0 (the "License");
4
6
  # you may not use this file except in compliance with the License.
5
7
  # You may obtain a copy of the License at
6
8
  #
7
- # http://www.apache.org/licenses/LICENSE-2.0
9
+ # https://www.apache.org/licenses/LICENSE-2.0
8
10
  #
9
11
  # Unless required by applicable law or agreed to in writing, software
10
12
  # distributed under the License is distributed on an "AS IS" BASIS,
@@ -12,11 +14,14 @@
12
14
  # See the License for the specific language governing permissions and
13
15
  # limitations under the License.
14
16
 
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
15
20
  module Google
16
21
  module Cloud
17
22
  module SecurityCenterManagement
18
23
  module V1
19
- VERSION = "0.a"
24
+ VERSION = "0.1.0"
20
25
  end
21
26
  end
22
27
  end
@@ -0,0 +1,45 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2024 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ require "google/cloud/security_center_management/v1/security_center_management"
20
+ require "google/cloud/security_center_management/v1/version"
21
+
22
+ module Google
23
+ module Cloud
24
+ module SecurityCenterManagement
25
+ ##
26
+ # API client module.
27
+ #
28
+ # @example Load this package, including all its services, and instantiate a gRPC client
29
+ #
30
+ # require "google/cloud/security_center_management/v1"
31
+ # client = ::Google::Cloud::SecurityCenterManagement::V1::SecurityCenterManagement::Client.new
32
+ #
33
+ # @example Load this package, including all its services, and instantiate a REST client
34
+ #
35
+ # require "google/cloud/security_center_management/v1"
36
+ # client = ::Google::Cloud::SecurityCenterManagement::V1::SecurityCenterManagement::Rest::Client.new
37
+ #
38
+ module V1
39
+ end
40
+ end
41
+ end
42
+ end
43
+
44
+ helper_path = ::File.join __dir__, "v1", "_helpers.rb"
45
+ require "google/cloud/security_center_management/v1/_helpers" if ::File.file? helper_path
@@ -0,0 +1,107 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/cloud/securitycentermanagement/v1/security_center_management.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/annotations_pb'
8
+ require 'google/api/client_pb'
9
+ require 'google/api/field_behavior_pb'
10
+ require 'google/api/resource_pb'
11
+ require 'google/iam/v1/policy_pb'
12
+ require 'google/protobuf/empty_pb'
13
+ require 'google/protobuf/field_mask_pb'
14
+ require 'google/protobuf/struct_pb'
15
+ require 'google/protobuf/timestamp_pb'
16
+ require 'google/rpc/status_pb'
17
+ require 'google/type/expr_pb'
18
+
19
+
20
+ descriptor_data = "\nIgoogle/cloud/securitycentermanagement/v1/security_center_management.proto\x12(google.cloud.securitycentermanagement.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\x1a\x16google/type/expr.proto\"\xee\x07\n,EffectiveSecurityHealthAnalyticsCustomModule\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12R\n\rcustom_config\x18\x02 \x01(\x0b\x32\x36.google.cloud.securitycentermanagement.v1.CustomConfigB\x03\xe0\x41\x03\x12\x85\x01\n\x10\x65nablement_state\x18\x03 \x01(\x0e\x32\x66.google.cloud.securitycentermanagement.v1.EffectiveSecurityHealthAnalyticsCustomModule.EnablementStateB\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x04 \x01(\tB\x03\xe0\x41\x03\"N\n\x0f\x45nablementState\x12 \n\x1c\x45NABLEMENT_STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x45NABLED\x10\x01\x12\x0c\n\x08\x44ISABLED\x10\x02:\xe3\x04\xea\x41\xdf\x04\nTsecuritycentermanagement.googleapis.com/EffectiveSecurityHealthAnalyticsCustomModule\x12\x93\x01organizations/{organization}/locations/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}\x12\x89\x01projects/{project}/locations/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}\x12\x87\x01\x66olders/{folder}/locations/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}*-effectiveSecurityHealthAnalyticsCustomModules2,effectiveSecurityHealthAnalyticsCustomModule\"\xd9\x01\n8ListEffectiveSecurityHealthAnalyticsCustomModulesRequest\x12l\n\x06parent\x18\x01 \x01(\tB\\\xe0\x41\x02\xfa\x41V\x12Tsecuritycentermanagement.googleapis.com/EffectiveSecurityHealthAnalyticsCustomModule\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\xe9\x01\n9ListEffectiveSecurityHealthAnalyticsCustomModulesResponse\x12\x92\x01\n2effective_security_health_analytics_custom_modules\x18\x01 \x03(\x0b\x32V.google.cloud.securitycentermanagement.v1.EffectiveSecurityHealthAnalyticsCustomModule\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xa4\x01\n6GetEffectiveSecurityHealthAnalyticsCustomModuleRequest\x12j\n\x04name\x18\x01 \x01(\tB\\\xe0\x41\x02\xfa\x41V\nTsecuritycentermanagement.googleapis.com/EffectiveSecurityHealthAnalyticsCustomModule\"\xd2\x08\n#SecurityHealthAnalyticsCustomModule\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12|\n\x10\x65nablement_state\x18\x03 \x01(\x0e\x32].google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule.EnablementStateB\x03\xe0\x41\x01\x12\x34\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x18\n\x0blast_editor\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12l\n\x0f\x61ncestor_module\x18\x06 \x01(\tBS\xe0\x41\x03\xfa\x41M\nKsecuritycentermanagement.googleapis.com/SecurityHealthAnalyticsCustomModule\x12R\n\rcustom_config\x18\x07 \x01(\x0b\x32\x36.google.cloud.securitycentermanagement.v1.CustomConfigB\x03\xe0\x41\x01\"]\n\x0f\x45nablementState\x12 \n\x1c\x45NABLEMENT_STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x45NABLED\x10\x01\x12\x0c\n\x08\x44ISABLED\x10\x02\x12\r\n\tINHERITED\x10\x03:\x8d\x04\xea\x41\x89\x04\nKsecuritycentermanagement.googleapis.com/SecurityHealthAnalyticsCustomModule\x12\x80\x01organizations/{organization}/locations/{location}/securityHealthAnalyticsCustomModules/{security_health_analytics_custom_module}\x12vprojects/{project}/locations/{location}/securityHealthAnalyticsCustomModules/{security_health_analytics_custom_module}\x12tfolders/{folder}/locations/{location}/securityHealthAnalyticsCustomModules/{security_health_analytics_custom_module}*$securityHealthAnalyticsCustomModules2#securityHealthAnalyticsCustomModule\"\xeb\x05\n\x0c\x43ustomConfig\x12)\n\tpredicate\x18\x01 \x01(\x0b\x32\x11.google.type.ExprB\x03\xe0\x41\x01\x12\x63\n\rcustom_output\x18\x02 \x01(\x0b\x32G.google.cloud.securitycentermanagement.v1.CustomConfig.CustomOutputSpecB\x03\xe0\x41\x01\x12g\n\x11resource_selector\x18\x03 \x01(\x0b\x32G.google.cloud.securitycentermanagement.v1.CustomConfig.ResourceSelectorB\x03\xe0\x41\x01\x12V\n\x08severity\x18\x04 \x01(\x0e\x32?.google.cloud.securitycentermanagement.v1.CustomConfig.SeverityB\x03\xe0\x41\x01\x12\x18\n\x0b\x64\x65scription\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x1b\n\x0erecommendation\x18\x06 \x01(\tB\x03\xe0\x41\x01\x1a\xce\x01\n\x10\x43ustomOutputSpec\x12i\n\nproperties\x18\x01 \x03(\x0b\x32P.google.cloud.securitycentermanagement.v1.CustomConfig.CustomOutputSpec.PropertyB\x03\xe0\x41\x01\x1aO\n\x08Property\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x30\n\x10value_expression\x18\x02 \x01(\x0b\x32\x11.google.type.ExprB\x03\xe0\x41\x01\x1a/\n\x10ResourceSelector\x12\x1b\n\x0eresource_types\x18\x01 \x03(\tB\x03\xe0\x41\x01\"Q\n\x08Severity\x12\x18\n\x14SEVERITY_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43RITICAL\x10\x01\x12\x08\n\x04HIGH\x10\x02\x12\n\n\x06MEDIUM\x10\x03\x12\x07\n\x03LOW\x10\x04\"\xc7\x01\n/ListSecurityHealthAnalyticsCustomModulesRequest\x12\x63\n\x06parent\x18\x01 \x01(\tBS\xe0\x41\x02\xfa\x41M\x12Ksecuritycentermanagement.googleapis.com/SecurityHealthAnalyticsCustomModule\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\xcc\x01\n0ListSecurityHealthAnalyticsCustomModulesResponse\x12\x7f\n(security_health_analytics_custom_modules\x18\x01 \x03(\x0b\x32M.google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xd1\x01\n9ListDescendantSecurityHealthAnalyticsCustomModulesRequest\x12\x63\n\x06parent\x18\x01 \x01(\tBS\xe0\x41\x02\xfa\x41M\x12Ksecuritycentermanagement.googleapis.com/SecurityHealthAnalyticsCustomModule\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\xd6\x01\n:ListDescendantSecurityHealthAnalyticsCustomModulesResponse\x12\x7f\n(security_health_analytics_custom_modules\x18\x01 \x03(\x0b\x32M.google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x92\x01\n-GetSecurityHealthAnalyticsCustomModuleRequest\x12\x61\n\x04name\x18\x01 \x01(\tBS\xe0\x41\x02\xfa\x41M\nKsecuritycentermanagement.googleapis.com/SecurityHealthAnalyticsCustomModule\"\xb9\x02\n0CreateSecurityHealthAnalyticsCustomModuleRequest\x12\x63\n\x06parent\x18\x01 \x01(\tBS\xe0\x41\x02\xfa\x41M\x12Ksecuritycentermanagement.googleapis.com/SecurityHealthAnalyticsCustomModule\x12\x83\x01\n\'security_health_analytics_custom_module\x18\x02 \x01(\x0b\x32M.google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModuleB\x03\xe0\x41\x02\x12\x1a\n\rvalidate_only\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"\x8a\x02\n0UpdateSecurityHealthAnalyticsCustomModuleRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x83\x01\n\'security_health_analytics_custom_module\x18\x02 \x01(\x0b\x32M.google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModuleB\x03\xe0\x41\x02\x12\x1a\n\rvalidate_only\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"\xb1\x01\n0DeleteSecurityHealthAnalyticsCustomModuleRequest\x12\x61\n\x04name\x18\x01 \x01(\tBS\xe0\x41\x02\xfa\x41M\nKsecuritycentermanagement.googleapis.com/SecurityHealthAnalyticsCustomModule\x12\x1a\n\rvalidate_only\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\"\xc1\x03\n2SimulateSecurityHealthAnalyticsCustomModuleRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12R\n\rcustom_config\x18\x02 \x01(\x0b\x32\x36.google.cloud.securitycentermanagement.v1.CustomConfigB\x03\xe0\x41\x02\x12\x85\x01\n\x08resource\x18\x03 \x01(\x0b\x32n.google.cloud.securitycentermanagement.v1.SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResourceB\x03\xe0\x41\x02\x1a\x99\x01\n\x11SimulatedResource\x12\x1a\n\rresource_type\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x33\n\rresource_data\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01\x12\x33\n\x0fiam_policy_data\x18\x03 \x01(\x0b\x32\x15.google.iam.v1.PolicyB\x03\xe0\x41\x01\"\xf3\x08\n\x10SimulatedFinding\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x0e\n\x06parent\x18\x02 \x01(\t\x12\x15\n\rresource_name\x18\x03 \x01(\t\x12\x10\n\x08\x63\x61tegory\x18\x04 \x01(\t\x12T\n\x05state\x18\x05 \x01(\x0e\x32@.google.cloud.securitycentermanagement.v1.SimulatedFinding.StateB\x03\xe0\x41\x03\x12k\n\x11source_properties\x18\x06 \x03(\x0b\x32P.google.cloud.securitycentermanagement.v1.SimulatedFinding.SourcePropertiesEntry\x12.\n\nevent_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12U\n\x08severity\x18\x08 \x01(\x0e\x32\x43.google.cloud.securitycentermanagement.v1.SimulatedFinding.Severity\x12^\n\rfinding_class\x18\t \x01(\x0e\x32G.google.cloud.securitycentermanagement.v1.SimulatedFinding.FindingClass\x1aO\n\x15SourcePropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01\"8\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\x0c\n\x08INACTIVE\x10\x02\"Q\n\x08Severity\x12\x18\n\x14SEVERITY_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43RITICAL\x10\x01\x12\x08\n\x04HIGH\x10\x02\x12\n\n\x06MEDIUM\x10\x03\x12\x07\n\x03LOW\x10\x04\"\x99\x01\n\x0c\x46indingClass\x12\x1d\n\x19\x46INDING_CLASS_UNSPECIFIED\x10\x00\x12\n\n\x06THREAT\x10\x01\x12\x11\n\rVULNERABILITY\x10\x02\x12\x14\n\x10MISCONFIGURATION\x10\x03\x12\x0f\n\x0bOBSERVATION\x10\x04\x12\r\n\tSCC_ERROR\x10\x05\x12\x15\n\x11POSTURE_VIOLATION\x10\x06:\xee\x01\xea\x41\xea\x01\n%securitycenter.googleapis.com/Finding\x12@organizations/{organization}/sources/{source}/findings/{finding}\x12\x34\x66olders/{folder}/sources/{source}/findings/{finding}\x12\x36projects/{project}/sources/{source}/findings/{finding}*\x08\x66indings2\x07\x66inding\"\xf6\x02\n3SimulateSecurityHealthAnalyticsCustomModuleResponse\x12}\n\x06result\x18\x01 \x01(\x0b\x32m.google.cloud.securitycentermanagement.v1.SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult\x1a\xbf\x01\n\x0fSimulatedResult\x12M\n\x07\x66inding\x18\x01 \x01(\x0b\x32:.google.cloud.securitycentermanagement.v1.SimulatedFindingH\x00\x12.\n\x0cno_violation\x18\x02 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00\x12#\n\x05\x65rror\x18\x03 \x01(\x0b\x32\x12.google.rpc.StatusH\x00\x42\x08\n\x06result\"\xd4\x07\n)EffectiveEventThreatDetectionCustomModule\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12,\n\x06\x63onfig\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x03\x12\x82\x01\n\x10\x65nablement_state\x18\x03 \x01(\x0e\x32\x63.google.cloud.securitycentermanagement.v1.EffectiveEventThreatDetectionCustomModule.EnablementStateB\x03\xe0\x41\x03\x12\x11\n\x04type\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0b\x64\x65scription\x18\x06 \x01(\tB\x03\xe0\x41\x03\"N\n\x0f\x45nablementState\x12 \n\x1c\x45NABLEMENT_STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x45NABLED\x10\x01\x12\x0c\n\x08\x44ISABLED\x10\x02:\xc8\x04\xea\x41\xc4\x04\nQsecuritycentermanagement.googleapis.com/EffectiveEventThreatDetectionCustomModule\x12\x8d\x01organizations/{organization}/locations/{location}/effectiveEventThreatDetectionCustomModules/{effective_event_threat_detection_custom_module}\x12\x83\x01projects/{project}/locations/{location}/effectiveEventThreatDetectionCustomModules/{effective_event_threat_detection_custom_module}\x12\x81\x01\x66olders/{folder}/locations/{location}/effectiveEventThreatDetectionCustomModules/{effective_event_threat_detection_custom_module}**effectiveEventThreatDetectionCustomModules2)effectiveEventThreatDetectionCustomModule\"\xd3\x01\n5ListEffectiveEventThreatDetectionCustomModulesRequest\x12i\n\x06parent\x18\x01 \x01(\tBY\xe0\x41\x02\xfa\x41S\x12Qsecuritycentermanagement.googleapis.com/EffectiveEventThreatDetectionCustomModule\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\xe0\x01\n6ListEffectiveEventThreatDetectionCustomModulesResponse\x12\x8c\x01\n/effective_event_threat_detection_custom_modules\x18\x01 \x03(\x0b\x32S.google.cloud.securitycentermanagement.v1.EffectiveEventThreatDetectionCustomModule\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x9e\x01\n3GetEffectiveEventThreatDetectionCustomModuleRequest\x12g\n\x04name\x18\x01 \x01(\tBY\xe0\x41\x02\xfa\x41S\nQsecuritycentermanagement.googleapis.com/EffectiveEventThreatDetectionCustomModule\"\xb4\x08\n EventThreatDetectionCustomModule\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12,\n\x06\x63onfig\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01\x12i\n\x0f\x61ncestor_module\x18\x03 \x01(\tBP\xe0\x41\x03\xfa\x41J\nHsecuritycentermanagement.googleapis.com/EventThreatDetectionCustomModule\x12y\n\x10\x65nablement_state\x18\x04 \x01(\x0e\x32Z.google.cloud.securitycentermanagement.v1.EventThreatDetectionCustomModule.EnablementStateB\x03\xe0\x41\x01\x12\x11\n\x04type\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x19\n\x0c\x64isplay_name\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0b\x64\x65scription\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12\x34\n\x0bupdate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x18\n\x0blast_editor\x18\t \x01(\tB\x03\xe0\x41\x03\"]\n\x0f\x45nablementState\x12 \n\x1c\x45NABLEMENT_STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x45NABLED\x10\x01\x12\x0c\n\x08\x44ISABLED\x10\x02\x12\r\n\tINHERITED\x10\x03:\xf1\x03\xea\x41\xed\x03\nHsecuritycentermanagement.googleapis.com/EventThreatDetectionCustomModule\x12zorganizations/{organization}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}\x12pprojects/{project}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}\x12nfolders/{folder}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}*!eventThreatDetectionCustomModules2 eventThreatDetectionCustomModule\"\xc1\x01\n,ListEventThreatDetectionCustomModulesRequest\x12`\n\x06parent\x18\x01 \x01(\tBP\xe0\x41\x02\xfa\x41J\x12Hsecuritycentermanagement.googleapis.com/EventThreatDetectionCustomModule\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\xc3\x01\n-ListEventThreatDetectionCustomModulesResponse\x12y\n%event_threat_detection_custom_modules\x18\x01 \x03(\x0b\x32J.google.cloud.securitycentermanagement.v1.EventThreatDetectionCustomModule\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xcb\x01\n6ListDescendantEventThreatDetectionCustomModulesRequest\x12`\n\x06parent\x18\x01 \x01(\tBP\xe0\x41\x02\xfa\x41J\x12Hsecuritycentermanagement.googleapis.com/EventThreatDetectionCustomModule\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\xcd\x01\n7ListDescendantEventThreatDetectionCustomModulesResponse\x12y\n%event_threat_detection_custom_modules\x18\x01 \x03(\x0b\x32J.google.cloud.securitycentermanagement.v1.EventThreatDetectionCustomModule\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x8c\x01\n*GetEventThreatDetectionCustomModuleRequest\x12^\n\x04name\x18\x01 \x01(\tBP\xe0\x41\x02\xfa\x41J\nHsecuritycentermanagement.googleapis.com/EventThreatDetectionCustomModule\"\xac\x02\n-CreateEventThreatDetectionCustomModuleRequest\x12`\n\x06parent\x18\x01 \x01(\tBP\xe0\x41\x02\xfa\x41J\x12Hsecuritycentermanagement.googleapis.com/EventThreatDetectionCustomModule\x12}\n$event_threat_detection_custom_module\x18\x03 \x01(\x0b\x32J.google.cloud.securitycentermanagement.v1.EventThreatDetectionCustomModuleB\x03\xe0\x41\x02\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"\x80\x02\n-UpdateEventThreatDetectionCustomModuleRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12}\n$event_threat_detection_custom_module\x18\x02 \x01(\x0b\x32J.google.cloud.securitycentermanagement.v1.EventThreatDetectionCustomModuleB\x03\xe0\x41\x02\x12\x1a\n\rvalidate_only\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"\xab\x01\n-DeleteEventThreatDetectionCustomModuleRequest\x12^\n\x04name\x18\x01 \x01(\tBP\xe0\x41\x02\xfa\x41J\nHsecuritycentermanagement.googleapis.com/EventThreatDetectionCustomModule\x12\x1a\n\rvalidate_only\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\"\xbd\x01\n/ValidateEventThreatDetectionCustomModuleRequest\x12`\n\x06parent\x18\x01 \x01(\tBP\xe0\x41\x02\xfa\x41J\x12Hsecuritycentermanagement.googleapis.com/EventThreatDetectionCustomModule\x12\x15\n\x08raw_text\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\x04type\x18\x03 \x01(\tB\x03\xe0\x41\x02\"\xbe\x04\n0ValidateEventThreatDetectionCustomModuleResponse\x12\x86\x01\n\x06\x65rrors\x18\x02 \x03(\x0b\x32v.google.cloud.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError\x1a\xc8\x02\n\x1b\x43ustomModuleValidationError\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\t\x12\x12\n\nfield_path\x18\x02 \x01(\t\x12w\n\x05start\x18\x03 \x01(\x0b\x32\x63.google.cloud.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse.PositionH\x00\x88\x01\x01\x12u\n\x03\x65nd\x18\x04 \x01(\x0b\x32\x63.google.cloud.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse.PositionH\x01\x88\x01\x01\x42\x08\n\x06_startB\x06\n\x04_end\x1a\x36\n\x08Position\x12\x13\n\x0bline_number\x18\x01 \x01(\x05\x12\x15\n\rcolumn_number\x18\x02 \x01(\x05\x32\xa1K\n\x18SecurityCenterManagement\x12\x90\x04\n1ListEffectiveSecurityHealthAnalyticsCustomModules\x12\x62.google.cloud.securitycentermanagement.v1.ListEffectiveSecurityHealthAnalyticsCustomModulesRequest\x1a\x63.google.cloud.securitycentermanagement.v1.ListEffectiveSecurityHealthAnalyticsCustomModulesResponse\"\x91\x02\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x81\x02\x12Q/v1/{parent=projects/*/locations/*}/effectiveSecurityHealthAnalyticsCustomModulesZR\x12P/v1/{parent=folders/*/locations/*}/effectiveSecurityHealthAnalyticsCustomModulesZX\x12V/v1/{parent=organizations/*/locations/*}/effectiveSecurityHealthAnalyticsCustomModules\x12\xfd\x03\n/GetEffectiveSecurityHealthAnalyticsCustomModule\x12`.google.cloud.securitycentermanagement.v1.GetEffectiveSecurityHealthAnalyticsCustomModuleRequest\x1aV.google.cloud.securitycentermanagement.v1.EffectiveSecurityHealthAnalyticsCustomModule\"\x8f\x02\xda\x41\x04name\x82\xd3\xe4\x93\x02\x81\x02\x12Q/v1/{name=projects/*/locations/*/effectiveSecurityHealthAnalyticsCustomModules/*}ZR\x12P/v1/{name=folders/*/locations/*/effectiveSecurityHealthAnalyticsCustomModules/*}ZX\x12V/v1/{name=organizations/*/locations/*/effectiveSecurityHealthAnalyticsCustomModules/*}\x12\xda\x03\n(ListSecurityHealthAnalyticsCustomModules\x12Y.google.cloud.securitycentermanagement.v1.ListSecurityHealthAnalyticsCustomModulesRequest\x1aZ.google.cloud.securitycentermanagement.v1.ListSecurityHealthAnalyticsCustomModulesResponse\"\xf6\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\xe6\x01\x12H/v1/{parent=projects/*/locations/*}/securityHealthAnalyticsCustomModulesZI\x12G/v1/{parent=folders/*/locations/*}/securityHealthAnalyticsCustomModulesZO\x12M/v1/{parent=organizations/*/locations/*}/securityHealthAnalyticsCustomModules\x12\xa5\x04\n2ListDescendantSecurityHealthAnalyticsCustomModules\x12\x63.google.cloud.securitycentermanagement.v1.ListDescendantSecurityHealthAnalyticsCustomModulesRequest\x1a\x64.google.cloud.securitycentermanagement.v1.ListDescendantSecurityHealthAnalyticsCustomModulesResponse\"\xa3\x02\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x93\x02\x12W/v1/{parent=projects/*/locations/*}/securityHealthAnalyticsCustomModules:listDescendantZX\x12V/v1/{parent=folders/*/locations/*}/securityHealthAnalyticsCustomModules:listDescendantZ^\x12\\/v1/{parent=organizations/*/locations/*}/securityHealthAnalyticsCustomModules:listDescendant\x12\xc7\x03\n&GetSecurityHealthAnalyticsCustomModule\x12W.google.cloud.securitycentermanagement.v1.GetSecurityHealthAnalyticsCustomModuleRequest\x1aM.google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule\"\xf4\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\xe6\x01\x12H/v1/{name=projects/*/locations/*/securityHealthAnalyticsCustomModules/*}ZI\x12G/v1/{name=folders/*/locations/*/securityHealthAnalyticsCustomModules/*}ZO\x12M/v1/{name=organizations/*/locations/*/securityHealthAnalyticsCustomModules/*}\x12\xf2\x04\n)CreateSecurityHealthAnalyticsCustomModule\x12Z.google.cloud.securitycentermanagement.v1.CreateSecurityHealthAnalyticsCustomModuleRequest\x1aM.google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule\"\x99\x03\xda\x41.parent,security_health_analytics_custom_module\x82\xd3\xe4\x93\x02\xe1\x02\"H/v1/{parent=projects/*/locations/*}/securityHealthAnalyticsCustomModules:\'security_health_analytics_custom_moduleZr\"G/v1/{parent=folders/*/locations/*}/securityHealthAnalyticsCustomModules:\'security_health_analytics_custom_moduleZx\"M/v1/{parent=organizations/*/locations/*}/securityHealthAnalyticsCustomModules:\'security_health_analytics_custom_module\x12\xf1\x05\n)UpdateSecurityHealthAnalyticsCustomModule\x12Z.google.cloud.securitycentermanagement.v1.UpdateSecurityHealthAnalyticsCustomModuleRequest\x1aM.google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule\"\x98\x04\xda\x41\x33security_health_analytics_custom_module,update_mask\x82\xd3\xe4\x93\x02\xdb\x03\x32p/v1/{security_health_analytics_custom_module.name=projects/*/locations/*/securityHealthAnalyticsCustomModules/*}:\'security_health_analytics_custom_moduleZ\x9a\x01\x32o/v1/{security_health_analytics_custom_module.name=folders/*/locations/*/securityHealthAnalyticsCustomModules/*}:\'security_health_analytics_custom_moduleZ\xa0\x01\x32u/v1/{security_health_analytics_custom_module.name=organizations/*/locations/*/securityHealthAnalyticsCustomModules/*}:\'security_health_analytics_custom_module\x12\x96\x03\n)DeleteSecurityHealthAnalyticsCustomModule\x12Z.google.cloud.securitycentermanagement.v1.DeleteSecurityHealthAnalyticsCustomModuleRequest\x1a\x16.google.protobuf.Empty\"\xf4\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\xe6\x01*H/v1/{name=projects/*/locations/*/securityHealthAnalyticsCustomModules/*}ZI*G/v1/{name=folders/*/locations/*/securityHealthAnalyticsCustomModules/*}ZO*M/v1/{name=organizations/*/locations/*/securityHealthAnalyticsCustomModules/*}\x12\x9e\x04\n+SimulateSecurityHealthAnalyticsCustomModule\x12\\.google.cloud.securitycentermanagement.v1.SimulateSecurityHealthAnalyticsCustomModuleRequest\x1a].google.cloud.securitycentermanagement.v1.SimulateSecurityHealthAnalyticsCustomModuleResponse\"\xb1\x02\xda\x41\x1dparent,custom_config,resource\x82\xd3\xe4\x93\x02\x8a\x02\"Q/v1/{parent=projects/*/locations/*}/securityHealthAnalyticsCustomModules:simulate:\x01*ZU\"P/v1/{parent=folders/*/locations/*}/securityHealthAnalyticsCustomModules:simulate:\x01*Z[\"V/v1/{parent=organizations/*/locations/*}/securityHealthAnalyticsCustomModules:simulate:\x01*\x12\xfe\x03\n.ListEffectiveEventThreatDetectionCustomModules\x12_.google.cloud.securitycentermanagement.v1.ListEffectiveEventThreatDetectionCustomModulesRequest\x1a`.google.cloud.securitycentermanagement.v1.ListEffectiveEventThreatDetectionCustomModulesResponse\"\x88\x02\xda\x41\x06parent\x82\xd3\xe4\x93\x02\xf8\x01\x12N/v1/{parent=projects/*/locations/*}/effectiveEventThreatDetectionCustomModulesZO\x12M/v1/{parent=folders/*/locations/*}/effectiveEventThreatDetectionCustomModulesZU\x12S/v1/{parent=organizations/*/locations/*}/effectiveEventThreatDetectionCustomModules\x12\xeb\x03\n,GetEffectiveEventThreatDetectionCustomModule\x12].google.cloud.securitycentermanagement.v1.GetEffectiveEventThreatDetectionCustomModuleRequest\x1aS.google.cloud.securitycentermanagement.v1.EffectiveEventThreatDetectionCustomModule\"\x86\x02\xda\x41\x04name\x82\xd3\xe4\x93\x02\xf8\x01\x12N/v1/{name=projects/*/locations/*/effectiveEventThreatDetectionCustomModules/*}ZO\x12M/v1/{name=folders/*/locations/*/effectiveEventThreatDetectionCustomModules/*}ZU\x12S/v1/{name=organizations/*/locations/*/effectiveEventThreatDetectionCustomModules/*}\x12\xc8\x03\n%ListEventThreatDetectionCustomModules\x12V.google.cloud.securitycentermanagement.v1.ListEventThreatDetectionCustomModulesRequest\x1aW.google.cloud.securitycentermanagement.v1.ListEventThreatDetectionCustomModulesResponse\"\xed\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\xdd\x01\x12\x45/v1/{parent=projects/*/locations/*}/eventThreatDetectionCustomModulesZF\x12\x44/v1/{parent=folders/*/locations/*}/eventThreatDetectionCustomModulesZL\x12J/v1/{parent=organizations/*/locations/*}/eventThreatDetectionCustomModules\x12\x93\x04\n/ListDescendantEventThreatDetectionCustomModules\x12`.google.cloud.securitycentermanagement.v1.ListDescendantEventThreatDetectionCustomModulesRequest\x1a\x61.google.cloud.securitycentermanagement.v1.ListDescendantEventThreatDetectionCustomModulesResponse\"\x9a\x02\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x8a\x02\x12T/v1/{parent=projects/*/locations/*}/eventThreatDetectionCustomModules:listDescendantZU\x12S/v1/{parent=folders/*/locations/*}/eventThreatDetectionCustomModules:listDescendantZ[\x12Y/v1/{parent=organizations/*/locations/*}/eventThreatDetectionCustomModules:listDescendant\x12\xb5\x03\n#GetEventThreatDetectionCustomModule\x12T.google.cloud.securitycentermanagement.v1.GetEventThreatDetectionCustomModuleRequest\x1aJ.google.cloud.securitycentermanagement.v1.EventThreatDetectionCustomModule\"\xeb\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\xdd\x01\x12\x45/v1/{name=projects/*/locations/*/eventThreatDetectionCustomModules/*}ZF\x12\x44/v1/{name=folders/*/locations/*/eventThreatDetectionCustomModules/*}ZL\x12J/v1/{name=organizations/*/locations/*/eventThreatDetectionCustomModules/*}\x12\xd4\x04\n&CreateEventThreatDetectionCustomModule\x12W.google.cloud.securitycentermanagement.v1.CreateEventThreatDetectionCustomModuleRequest\x1aJ.google.cloud.securitycentermanagement.v1.EventThreatDetectionCustomModule\"\x84\x03\xda\x41+parent,event_threat_detection_custom_module\x82\xd3\xe4\x93\x02\xcf\x02\"E/v1/{parent=projects/*/locations/*}/eventThreatDetectionCustomModules:$event_threat_detection_custom_moduleZl\"D/v1/{parent=folders/*/locations/*}/eventThreatDetectionCustomModules:$event_threat_detection_custom_moduleZr\"J/v1/{parent=organizations/*/locations/*}/eventThreatDetectionCustomModules:$event_threat_detection_custom_module\x12\xca\x05\n&UpdateEventThreatDetectionCustomModule\x12W.google.cloud.securitycentermanagement.v1.UpdateEventThreatDetectionCustomModuleRequest\x1aJ.google.cloud.securitycentermanagement.v1.EventThreatDetectionCustomModule\"\xfa\x03\xda\x41\x30\x65vent_threat_detection_custom_module,update_mask\x82\xd3\xe4\x93\x02\xc0\x03\x32j/v1/{event_threat_detection_custom_module.name=projects/*/locations/*/eventThreatDetectionCustomModules/*}:$event_threat_detection_custom_moduleZ\x91\x01\x32i/v1/{event_threat_detection_custom_module.name=folders/*/locations/*/eventThreatDetectionCustomModules/*}:$event_threat_detection_custom_moduleZ\x97\x01\x32o/v1/{event_threat_detection_custom_module.name=organizations/*/locations/*/eventThreatDetectionCustomModules/*}:$event_threat_detection_custom_module\x12\x87\x03\n&DeleteEventThreatDetectionCustomModule\x12W.google.cloud.securitycentermanagement.v1.DeleteEventThreatDetectionCustomModuleRequest\x1a\x16.google.protobuf.Empty\"\xeb\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\xdd\x01*E/v1/{name=projects/*/locations/*/eventThreatDetectionCustomModules/*}ZF*D/v1/{name=folders/*/locations/*/eventThreatDetectionCustomModules/*}ZL*J/v1/{name=organizations/*/locations/*/eventThreatDetectionCustomModules/*}\x12\xec\x03\n(ValidateEventThreatDetectionCustomModule\x12Y.google.cloud.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleRequest\x1aZ.google.cloud.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse\"\x88\x02\x82\xd3\xe4\x93\x02\x81\x02\"N/v1/{parent=projects/*/locations/*}/eventThreatDetectionCustomModules:validate:\x01*ZR\"M/v1/{parent=folders/*/locations/*}/eventThreatDetectionCustomModules:validate:\x01*ZX\"S/v1/{parent=organizations/*/locations/*}/eventThreatDetectionCustomModules:validate:\x01*\x1a[\xca\x41\'securitycentermanagement.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x93\x04\n,com.google.cloud.securitycentermanagement.v1B\x1dSecurityCenterManagementProtoP\x01Zhcloud.google.com/go/securitycentermanagement/apiv1/securitycentermanagementpb;securitycentermanagementpb\xaa\x02(Google.Cloud.SecurityCenterManagement.V1\xca\x02(Google\\Cloud\\SecurityCenterManagement\\V1\xea\x02+Google::Cloud::SecurityCenterManagement::V1\xea\x41q\n<securitycentermanagement.googleapis.com/OrganizationLocation\x12\x31organizations/{organization}/locations/{location}\xea\x41_\n6securitycentermanagement.googleapis.com/FolderLocation\x12%folders/{folder}/locations/{location}b\x06proto3"
21
+
22
+ pool = Google::Protobuf::DescriptorPool.generated_pool
23
+
24
+ begin
25
+ pool.add_serialized_file(descriptor_data)
26
+ rescue TypeError
27
+ # Compatibility code: will be removed in the next major version.
28
+ require 'google/protobuf/descriptor_pb'
29
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
30
+ parsed.clear_dependency
31
+ serialized = parsed.class.encode(parsed)
32
+ file = pool.add_serialized_file(serialized)
33
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
34
+ imports = [
35
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
36
+ ["google.type.Expr", "google/type/expr.proto"],
37
+ ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
38
+ ["google.protobuf.Struct", "google/protobuf/struct.proto"],
39
+ ["google.iam.v1.Policy", "google/iam/v1/policy.proto"],
40
+ ["google.protobuf.Empty", "google/protobuf/empty.proto"],
41
+ ["google.rpc.Status", "google/rpc/status.proto"],
42
+ ]
43
+ imports.each do |type_name, expected_filename|
44
+ import_file = pool.lookup(type_name).file_descriptor
45
+ if import_file.name != expected_filename
46
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
47
+ end
48
+ end
49
+ warn "Each proto file must use a consistent fully-qualified name."
50
+ warn "This will become an error in the next major version."
51
+ end
52
+
53
+ module Google
54
+ module Cloud
55
+ module SecurityCenterManagement
56
+ module V1
57
+ EffectiveSecurityHealthAnalyticsCustomModule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycentermanagement.v1.EffectiveSecurityHealthAnalyticsCustomModule").msgclass
58
+ EffectiveSecurityHealthAnalyticsCustomModule::EnablementState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycentermanagement.v1.EffectiveSecurityHealthAnalyticsCustomModule.EnablementState").enummodule
59
+ ListEffectiveSecurityHealthAnalyticsCustomModulesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycentermanagement.v1.ListEffectiveSecurityHealthAnalyticsCustomModulesRequest").msgclass
60
+ ListEffectiveSecurityHealthAnalyticsCustomModulesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycentermanagement.v1.ListEffectiveSecurityHealthAnalyticsCustomModulesResponse").msgclass
61
+ GetEffectiveSecurityHealthAnalyticsCustomModuleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycentermanagement.v1.GetEffectiveSecurityHealthAnalyticsCustomModuleRequest").msgclass
62
+ SecurityHealthAnalyticsCustomModule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule").msgclass
63
+ SecurityHealthAnalyticsCustomModule::EnablementState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule.EnablementState").enummodule
64
+ CustomConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycentermanagement.v1.CustomConfig").msgclass
65
+ CustomConfig::CustomOutputSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycentermanagement.v1.CustomConfig.CustomOutputSpec").msgclass
66
+ CustomConfig::CustomOutputSpec::Property = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycentermanagement.v1.CustomConfig.CustomOutputSpec.Property").msgclass
67
+ CustomConfig::ResourceSelector = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycentermanagement.v1.CustomConfig.ResourceSelector").msgclass
68
+ CustomConfig::Severity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycentermanagement.v1.CustomConfig.Severity").enummodule
69
+ ListSecurityHealthAnalyticsCustomModulesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycentermanagement.v1.ListSecurityHealthAnalyticsCustomModulesRequest").msgclass
70
+ ListSecurityHealthAnalyticsCustomModulesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycentermanagement.v1.ListSecurityHealthAnalyticsCustomModulesResponse").msgclass
71
+ ListDescendantSecurityHealthAnalyticsCustomModulesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycentermanagement.v1.ListDescendantSecurityHealthAnalyticsCustomModulesRequest").msgclass
72
+ ListDescendantSecurityHealthAnalyticsCustomModulesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycentermanagement.v1.ListDescendantSecurityHealthAnalyticsCustomModulesResponse").msgclass
73
+ GetSecurityHealthAnalyticsCustomModuleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycentermanagement.v1.GetSecurityHealthAnalyticsCustomModuleRequest").msgclass
74
+ CreateSecurityHealthAnalyticsCustomModuleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycentermanagement.v1.CreateSecurityHealthAnalyticsCustomModuleRequest").msgclass
75
+ UpdateSecurityHealthAnalyticsCustomModuleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycentermanagement.v1.UpdateSecurityHealthAnalyticsCustomModuleRequest").msgclass
76
+ DeleteSecurityHealthAnalyticsCustomModuleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycentermanagement.v1.DeleteSecurityHealthAnalyticsCustomModuleRequest").msgclass
77
+ SimulateSecurityHealthAnalyticsCustomModuleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycentermanagement.v1.SimulateSecurityHealthAnalyticsCustomModuleRequest").msgclass
78
+ SimulateSecurityHealthAnalyticsCustomModuleRequest::SimulatedResource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycentermanagement.v1.SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource").msgclass
79
+ SimulatedFinding = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycentermanagement.v1.SimulatedFinding").msgclass
80
+ SimulatedFinding::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycentermanagement.v1.SimulatedFinding.State").enummodule
81
+ SimulatedFinding::Severity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycentermanagement.v1.SimulatedFinding.Severity").enummodule
82
+ SimulatedFinding::FindingClass = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycentermanagement.v1.SimulatedFinding.FindingClass").enummodule
83
+ SimulateSecurityHealthAnalyticsCustomModuleResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycentermanagement.v1.SimulateSecurityHealthAnalyticsCustomModuleResponse").msgclass
84
+ SimulateSecurityHealthAnalyticsCustomModuleResponse::SimulatedResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycentermanagement.v1.SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult").msgclass
85
+ EffectiveEventThreatDetectionCustomModule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycentermanagement.v1.EffectiveEventThreatDetectionCustomModule").msgclass
86
+ EffectiveEventThreatDetectionCustomModule::EnablementState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycentermanagement.v1.EffectiveEventThreatDetectionCustomModule.EnablementState").enummodule
87
+ ListEffectiveEventThreatDetectionCustomModulesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycentermanagement.v1.ListEffectiveEventThreatDetectionCustomModulesRequest").msgclass
88
+ ListEffectiveEventThreatDetectionCustomModulesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycentermanagement.v1.ListEffectiveEventThreatDetectionCustomModulesResponse").msgclass
89
+ GetEffectiveEventThreatDetectionCustomModuleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycentermanagement.v1.GetEffectiveEventThreatDetectionCustomModuleRequest").msgclass
90
+ EventThreatDetectionCustomModule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycentermanagement.v1.EventThreatDetectionCustomModule").msgclass
91
+ EventThreatDetectionCustomModule::EnablementState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycentermanagement.v1.EventThreatDetectionCustomModule.EnablementState").enummodule
92
+ ListEventThreatDetectionCustomModulesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycentermanagement.v1.ListEventThreatDetectionCustomModulesRequest").msgclass
93
+ ListEventThreatDetectionCustomModulesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycentermanagement.v1.ListEventThreatDetectionCustomModulesResponse").msgclass
94
+ ListDescendantEventThreatDetectionCustomModulesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycentermanagement.v1.ListDescendantEventThreatDetectionCustomModulesRequest").msgclass
95
+ ListDescendantEventThreatDetectionCustomModulesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycentermanagement.v1.ListDescendantEventThreatDetectionCustomModulesResponse").msgclass
96
+ GetEventThreatDetectionCustomModuleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycentermanagement.v1.GetEventThreatDetectionCustomModuleRequest").msgclass
97
+ CreateEventThreatDetectionCustomModuleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycentermanagement.v1.CreateEventThreatDetectionCustomModuleRequest").msgclass
98
+ UpdateEventThreatDetectionCustomModuleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycentermanagement.v1.UpdateEventThreatDetectionCustomModuleRequest").msgclass
99
+ DeleteEventThreatDetectionCustomModuleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycentermanagement.v1.DeleteEventThreatDetectionCustomModuleRequest").msgclass
100
+ ValidateEventThreatDetectionCustomModuleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleRequest").msgclass
101
+ ValidateEventThreatDetectionCustomModuleResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse").msgclass
102
+ ValidateEventThreatDetectionCustomModuleResponse::CustomModuleValidationError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError").msgclass
103
+ ValidateEventThreatDetectionCustomModuleResponse::Position = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse.Position").msgclass
104
+ end
105
+ end
106
+ end
107
+ end
@@ -0,0 +1,115 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: google/cloud/securitycentermanagement/v1/security_center_management.proto for package 'Google.Cloud.SecurityCenterManagement.V1'
3
+ # Original file comments:
4
+ # Copyright 2023 Google LLC
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+ #
18
+
19
+ require 'grpc'
20
+ require 'google/cloud/securitycentermanagement/v1/security_center_management_pb'
21
+
22
+ module Google
23
+ module Cloud
24
+ module SecurityCenterManagement
25
+ module V1
26
+ module SecurityCenterManagement
27
+ # Service describing handlers for resources
28
+ class Service
29
+
30
+ include ::GRPC::GenericService
31
+
32
+ self.marshal_class_method = :encode
33
+ self.unmarshal_class_method = :decode
34
+ self.service_name = 'google.cloud.securitycentermanagement.v1.SecurityCenterManagement'
35
+
36
+ # Returns a list of all EffectiveSecurityHealthAnalyticsCustomModules for the
37
+ # given parent. This includes resident modules defined at the scope of the
38
+ # parent, and inherited modules, inherited from CRM ancestors (no
39
+ # descendants).
40
+ rpc :ListEffectiveSecurityHealthAnalyticsCustomModules, ::Google::Cloud::SecurityCenterManagement::V1::ListEffectiveSecurityHealthAnalyticsCustomModulesRequest, ::Google::Cloud::SecurityCenterManagement::V1::ListEffectiveSecurityHealthAnalyticsCustomModulesResponse
41
+ # Gets details of a single EffectiveSecurityHealthAnalyticsCustomModule.
42
+ rpc :GetEffectiveSecurityHealthAnalyticsCustomModule, ::Google::Cloud::SecurityCenterManagement::V1::GetEffectiveSecurityHealthAnalyticsCustomModuleRequest, ::Google::Cloud::SecurityCenterManagement::V1::EffectiveSecurityHealthAnalyticsCustomModule
43
+ # Returns a list of all SecurityHealthAnalyticsCustomModules for the given
44
+ # parent. This includes resident modules defined at the scope of the parent,
45
+ # and inherited modules, inherited from CRM ancestors (no descendants).
46
+ rpc :ListSecurityHealthAnalyticsCustomModules, ::Google::Cloud::SecurityCenterManagement::V1::ListSecurityHealthAnalyticsCustomModulesRequest, ::Google::Cloud::SecurityCenterManagement::V1::ListSecurityHealthAnalyticsCustomModulesResponse
47
+ # Returns a list of all resident SecurityHealthAnalyticsCustomModules under
48
+ # the given CRM parent and all of the parent's CRM descendants.
49
+ rpc :ListDescendantSecurityHealthAnalyticsCustomModules, ::Google::Cloud::SecurityCenterManagement::V1::ListDescendantSecurityHealthAnalyticsCustomModulesRequest, ::Google::Cloud::SecurityCenterManagement::V1::ListDescendantSecurityHealthAnalyticsCustomModulesResponse
50
+ # Retrieves a SecurityHealthAnalyticsCustomModule.
51
+ rpc :GetSecurityHealthAnalyticsCustomModule, ::Google::Cloud::SecurityCenterManagement::V1::GetSecurityHealthAnalyticsCustomModuleRequest, ::Google::Cloud::SecurityCenterManagement::V1::SecurityHealthAnalyticsCustomModule
52
+ # Creates a resident SecurityHealthAnalyticsCustomModule at the scope of the
53
+ # given CRM parent, and also creates inherited
54
+ # SecurityHealthAnalyticsCustomModules for all CRM descendants of the given
55
+ # parent. These modules are enabled by default.
56
+ rpc :CreateSecurityHealthAnalyticsCustomModule, ::Google::Cloud::SecurityCenterManagement::V1::CreateSecurityHealthAnalyticsCustomModuleRequest, ::Google::Cloud::SecurityCenterManagement::V1::SecurityHealthAnalyticsCustomModule
57
+ # Updates the SecurityHealthAnalyticsCustomModule under the given name based
58
+ # on the given update mask. Updating the enablement state is supported on
59
+ # both resident and inherited modules (though resident modules cannot have an
60
+ # enablement state of "inherited"). Updating the display name and custom
61
+ # config of a module is supported on resident modules only.
62
+ rpc :UpdateSecurityHealthAnalyticsCustomModule, ::Google::Cloud::SecurityCenterManagement::V1::UpdateSecurityHealthAnalyticsCustomModuleRequest, ::Google::Cloud::SecurityCenterManagement::V1::SecurityHealthAnalyticsCustomModule
63
+ # Deletes the specified SecurityHealthAnalyticsCustomModule and all of its
64
+ # descendants in the CRM hierarchy. This method is only supported for
65
+ # resident custom modules.
66
+ rpc :DeleteSecurityHealthAnalyticsCustomModule, ::Google::Cloud::SecurityCenterManagement::V1::DeleteSecurityHealthAnalyticsCustomModuleRequest, ::Google::Protobuf::Empty
67
+ # Simulates a given SecurityHealthAnalyticsCustomModule and Resource.
68
+ rpc :SimulateSecurityHealthAnalyticsCustomModule, ::Google::Cloud::SecurityCenterManagement::V1::SimulateSecurityHealthAnalyticsCustomModuleRequest, ::Google::Cloud::SecurityCenterManagement::V1::SimulateSecurityHealthAnalyticsCustomModuleResponse
69
+ # Lists all effective Event Threat Detection custom modules for the
70
+ # given parent. This includes resident modules defined at the scope of the
71
+ # parent along with modules inherited from its ancestors.
72
+ rpc :ListEffectiveEventThreatDetectionCustomModules, ::Google::Cloud::SecurityCenterManagement::V1::ListEffectiveEventThreatDetectionCustomModulesRequest, ::Google::Cloud::SecurityCenterManagement::V1::ListEffectiveEventThreatDetectionCustomModulesResponse
73
+ # Gets an effective ETD custom module. Retrieves the effective module at the
74
+ # given level. The difference between an EffectiveCustomModule and a
75
+ # CustomModule is that the fields for an EffectiveCustomModule are computed
76
+ # from ancestors if needed. For example, the enablement_state for a
77
+ # CustomModule can be either ENABLED, DISABLED, or INHERITED. Where as the
78
+ # enablement_state for an EffectiveCustomModule is always computed to ENABLED
79
+ # or DISABLED (the effective enablement_state).
80
+ rpc :GetEffectiveEventThreatDetectionCustomModule, ::Google::Cloud::SecurityCenterManagement::V1::GetEffectiveEventThreatDetectionCustomModuleRequest, ::Google::Cloud::SecurityCenterManagement::V1::EffectiveEventThreatDetectionCustomModule
81
+ # Lists all Event Threat Detection custom modules for the given
82
+ # Resource Manager parent. This includes resident modules defined at the
83
+ # scope of the parent along with modules inherited from ancestors.
84
+ rpc :ListEventThreatDetectionCustomModules, ::Google::Cloud::SecurityCenterManagement::V1::ListEventThreatDetectionCustomModulesRequest, ::Google::Cloud::SecurityCenterManagement::V1::ListEventThreatDetectionCustomModulesResponse
85
+ # Lists all resident Event Threat Detection custom modules under the
86
+ # given Resource Manager parent and its descendants.
87
+ rpc :ListDescendantEventThreatDetectionCustomModules, ::Google::Cloud::SecurityCenterManagement::V1::ListDescendantEventThreatDetectionCustomModulesRequest, ::Google::Cloud::SecurityCenterManagement::V1::ListDescendantEventThreatDetectionCustomModulesResponse
88
+ # Gets an Event Threat Detection custom module.
89
+ rpc :GetEventThreatDetectionCustomModule, ::Google::Cloud::SecurityCenterManagement::V1::GetEventThreatDetectionCustomModuleRequest, ::Google::Cloud::SecurityCenterManagement::V1::EventThreatDetectionCustomModule
90
+ # Creates a resident Event Threat Detection custom module at the scope of the
91
+ # given Resource Manager parent, and also creates inherited custom modules
92
+ # for all descendants of the given parent. These modules are enabled by
93
+ # default.
94
+ rpc :CreateEventThreatDetectionCustomModule, ::Google::Cloud::SecurityCenterManagement::V1::CreateEventThreatDetectionCustomModuleRequest, ::Google::Cloud::SecurityCenterManagement::V1::EventThreatDetectionCustomModule
95
+ # Updates the Event Threat Detection custom module with the given name based
96
+ # on the given update mask. Updating the enablement state is supported for
97
+ # both resident and inherited modules (though resident modules cannot have an
98
+ # enablement state of "inherited"). Updating the display name or
99
+ # configuration of a module is supported for resident modules only. The type
100
+ # of a module cannot be changed.
101
+ rpc :UpdateEventThreatDetectionCustomModule, ::Google::Cloud::SecurityCenterManagement::V1::UpdateEventThreatDetectionCustomModuleRequest, ::Google::Cloud::SecurityCenterManagement::V1::EventThreatDetectionCustomModule
102
+ # Deletes the specified Event Threat Detection custom module and all of its
103
+ # descendants in the Resource Manager hierarchy. This method is only
104
+ # supported for resident custom modules.
105
+ rpc :DeleteEventThreatDetectionCustomModule, ::Google::Cloud::SecurityCenterManagement::V1::DeleteEventThreatDetectionCustomModuleRequest, ::Google::Protobuf::Empty
106
+ # Validates the given Event Threat Detection custom module.
107
+ rpc :ValidateEventThreatDetectionCustomModule, ::Google::Cloud::SecurityCenterManagement::V1::ValidateEventThreatDetectionCustomModuleRequest, ::Google::Cloud::SecurityCenterManagement::V1::ValidateEventThreatDetectionCustomModuleResponse
108
+ end
109
+
110
+ Stub = Service.rpc_stub_class
111
+ end
112
+ end
113
+ end
114
+ end
115
+ end
@@ -0,0 +1,21 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2024 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ # This gem does not autoload during Bundler.require. To load this gem,
20
+ # issue explicit require statements for the packages desired, e.g.:
21
+ # require "google/cloud/security_center_management/v1"
@@ -0,0 +1,4 @@
1
+ # Security Center Management V1 Protocol Buffer Documentation
2
+
3
+ These files are for the YARD documentation of the generated protobuf files.
4
+ They are not intended to be required or loaded at runtime.