google-cloud-security_center-v1 0.26.0 → 0.28.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/google/cloud/security_center/v1/security_center/client.rb +856 -15
  4. data/lib/google/cloud/security_center/v1/security_center/operations.rb +2 -2
  5. data/lib/google/cloud/security_center/v1/security_center/paths.rb +229 -0
  6. data/lib/google/cloud/security_center/v1/security_center/rest/client.rb +647 -2
  7. data/lib/google/cloud/security_center/v1/security_center/rest/operations.rb +2 -2
  8. data/lib/google/cloud/security_center/v1/security_center/rest/service_stub.rb +590 -0
  9. data/lib/google/cloud/security_center/v1/version.rb +1 -1
  10. data/lib/google/cloud/securitycenter/v1/cloud_dlp_data_profile_pb.rb +24 -0
  11. data/lib/google/cloud/securitycenter/v1/cloud_dlp_inspection_pb.rb +27 -0
  12. data/lib/google/cloud/securitycenter/v1/effective_security_health_analytics_custom_module_pb.rb +35 -0
  13. data/lib/google/cloud/securitycenter/v1/finding_pb.rb +5 -0
  14. data/lib/google/cloud/securitycenter/v1/security_health_analytics_custom_config_pb.rb +50 -0
  15. data/lib/google/cloud/securitycenter/v1/security_health_analytics_custom_module_pb.rb +40 -0
  16. data/lib/google/cloud/securitycenter/v1/securitycenter_service_pb.rb +58 -1
  17. data/lib/google/cloud/securitycenter/v1/securitycenter_service_services_pb.rb +30 -0
  18. data/proto_docs/google/api/client.rb +57 -3
  19. data/proto_docs/google/cloud/securitycenter/v1/access.rb +28 -29
  20. data/proto_docs/google/cloud/securitycenter/v1/bigquery_export.rb +5 -5
  21. data/proto_docs/google/cloud/securitycenter/v1/cloud_dlp_data_profile.rb +37 -0
  22. data/proto_docs/google/cloud/securitycenter/v1/cloud_dlp_inspection.rb +50 -0
  23. data/proto_docs/google/cloud/securitycenter/v1/contact_details.rb +2 -2
  24. data/proto_docs/google/cloud/securitycenter/v1/database.rb +1 -1
  25. data/proto_docs/google/cloud/securitycenter/v1/effective_security_health_analytics_custom_module.rb +73 -0
  26. data/proto_docs/google/cloud/securitycenter/v1/exfiltration.rb +1 -1
  27. data/proto_docs/google/cloud/securitycenter/v1/finding.rb +41 -27
  28. data/proto_docs/google/cloud/securitycenter/v1/indicator.rb +4 -3
  29. data/proto_docs/google/cloud/securitycenter/v1/kernel_rootkit.rb +8 -8
  30. data/proto_docs/google/cloud/securitycenter/v1/kubernetes.rb +3 -3
  31. data/proto_docs/google/cloud/securitycenter/v1/mute_config.rb +5 -5
  32. data/proto_docs/google/cloud/securitycenter/v1/resource.rb +3 -3
  33. data/proto_docs/google/cloud/securitycenter/v1/security_health_analytics_custom_config.rb +112 -0
  34. data/proto_docs/google/cloud/securitycenter/v1/security_health_analytics_custom_module.rb +90 -0
  35. data/proto_docs/google/cloud/securitycenter/v1/securitycenter_service.rb +169 -0
  36. data/proto_docs/google/iam/v1/policy.rb +8 -4
  37. metadata +12 -2
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module SecurityCenter
23
23
  module V1
24
- VERSION = "0.26.0"
24
+ VERSION = "0.28.0"
25
25
  end
26
26
  end
27
27
  end
@@ -0,0 +1,24 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/cloud/securitycenter/v1/cloud_dlp_data_profile.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/api/resource_pb'
7
+
8
+ Google::Protobuf::DescriptorPool.generated_pool.build do
9
+ add_file("google/cloud/securitycenter/v1/cloud_dlp_data_profile.proto", :syntax => :proto3) do
10
+ add_message "google.cloud.securitycenter.v1.CloudDlpDataProfile" do
11
+ optional :data_profile, :string, 1
12
+ end
13
+ end
14
+ end
15
+
16
+ module Google
17
+ module Cloud
18
+ module SecurityCenter
19
+ module V1
20
+ CloudDlpDataProfile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.CloudDlpDataProfile").msgclass
21
+ end
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,27 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/cloud/securitycenter/v1/cloud_dlp_inspection.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/api/resource_pb'
7
+
8
+ Google::Protobuf::DescriptorPool.generated_pool.build do
9
+ add_file("google/cloud/securitycenter/v1/cloud_dlp_inspection.proto", :syntax => :proto3) do
10
+ add_message "google.cloud.securitycenter.v1.CloudDlpInspection" do
11
+ optional :inspect_job, :string, 1
12
+ optional :info_type, :string, 2
13
+ optional :info_type_count, :int64, 3
14
+ optional :full_scan, :bool, 4
15
+ end
16
+ end
17
+ end
18
+
19
+ module Google
20
+ module Cloud
21
+ module SecurityCenter
22
+ module V1
23
+ CloudDlpInspection = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.CloudDlpInspection").msgclass
24
+ end
25
+ end
26
+ end
27
+ end
@@ -0,0 +1,35 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/cloud/securitycenter/v1/effective_security_health_analytics_custom_module.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/api/field_behavior_pb'
7
+ require 'google/api/resource_pb'
8
+ require 'google/cloud/securitycenter/v1/security_health_analytics_custom_config_pb'
9
+
10
+ Google::Protobuf::DescriptorPool.generated_pool.build do
11
+ add_file("google/cloud/securitycenter/v1/effective_security_health_analytics_custom_module.proto", :syntax => :proto3) do
12
+ add_message "google.cloud.securitycenter.v1.EffectiveSecurityHealthAnalyticsCustomModule" do
13
+ optional :name, :string, 1
14
+ optional :custom_config, :message, 2, "google.cloud.securitycenter.v1.CustomConfig"
15
+ optional :enablement_state, :enum, 3, "google.cloud.securitycenter.v1.EffectiveSecurityHealthAnalyticsCustomModule.EnablementState"
16
+ optional :display_name, :string, 4
17
+ end
18
+ add_enum "google.cloud.securitycenter.v1.EffectiveSecurityHealthAnalyticsCustomModule.EnablementState" do
19
+ value :ENABLEMENT_STATE_UNSPECIFIED, 0
20
+ value :ENABLED, 1
21
+ value :DISABLED, 2
22
+ end
23
+ end
24
+ end
25
+
26
+ module Google
27
+ module Cloud
28
+ module SecurityCenter
29
+ module V1
30
+ EffectiveSecurityHealthAnalyticsCustomModule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.EffectiveSecurityHealthAnalyticsCustomModule").msgclass
31
+ EffectiveSecurityHealthAnalyticsCustomModule::EnablementState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.EffectiveSecurityHealthAnalyticsCustomModule.EnablementState").enummodule
32
+ end
33
+ end
34
+ end
35
+ end
@@ -6,6 +6,8 @@ require 'google/protobuf'
6
6
  require 'google/api/field_behavior_pb'
7
7
  require 'google/api/resource_pb'
8
8
  require 'google/cloud/securitycenter/v1/access_pb'
9
+ require 'google/cloud/securitycenter/v1/cloud_dlp_data_profile_pb'
10
+ require 'google/cloud/securitycenter/v1/cloud_dlp_inspection_pb'
9
11
  require 'google/cloud/securitycenter/v1/compliance_pb'
10
12
  require 'google/cloud/securitycenter/v1/connection_pb'
11
13
  require 'google/cloud/securitycenter/v1/contact_details_pb'
@@ -58,10 +60,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
58
60
  optional :exfiltration, :message, 38, "google.cloud.securitycenter.v1.Exfiltration"
59
61
  repeated :iam_bindings, :message, 39, "google.cloud.securitycenter.v1.IamBinding"
60
62
  optional :next_steps, :string, 40
63
+ optional :module_name, :string, 41
61
64
  repeated :containers, :message, 42, "google.cloud.securitycenter.v1.Container"
62
65
  optional :kubernetes, :message, 43, "google.cloud.securitycenter.v1.Kubernetes"
63
66
  optional :database, :message, 44, "google.cloud.securitycenter.v1.Database"
64
67
  repeated :files, :message, 46, "google.cloud.securitycenter.v1.File"
68
+ optional :cloud_dlp_inspection, :message, 48, "google.cloud.securitycenter.v1.CloudDlpInspection"
69
+ optional :cloud_dlp_data_profile, :message, 49, "google.cloud.securitycenter.v1.CloudDlpDataProfile"
65
70
  optional :kernel_rootkit, :message, 50, "google.cloud.securitycenter.v1.KernelRootkit"
66
71
  end
67
72
  add_enum "google.cloud.securitycenter.v1.Finding.State" do
@@ -0,0 +1,50 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/cloud/securitycenter/v1/security_health_analytics_custom_config.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/type/expr_pb'
7
+
8
+ Google::Protobuf::DescriptorPool.generated_pool.build do
9
+ add_file("google/cloud/securitycenter/v1/security_health_analytics_custom_config.proto", :syntax => :proto3) do
10
+ add_message "google.cloud.securitycenter.v1.CustomConfig" do
11
+ optional :predicate, :message, 1, "google.type.Expr"
12
+ optional :custom_output, :message, 2, "google.cloud.securitycenter.v1.CustomConfig.CustomOutputSpec"
13
+ optional :resource_selector, :message, 3, "google.cloud.securitycenter.v1.CustomConfig.ResourceSelector"
14
+ optional :severity, :enum, 4, "google.cloud.securitycenter.v1.CustomConfig.Severity"
15
+ optional :description, :string, 5
16
+ optional :recommendation, :string, 6
17
+ end
18
+ add_message "google.cloud.securitycenter.v1.CustomConfig.CustomOutputSpec" do
19
+ repeated :properties, :message, 1, "google.cloud.securitycenter.v1.CustomConfig.CustomOutputSpec.Property"
20
+ end
21
+ add_message "google.cloud.securitycenter.v1.CustomConfig.CustomOutputSpec.Property" do
22
+ optional :name, :string, 1
23
+ optional :value_expression, :message, 2, "google.type.Expr"
24
+ end
25
+ add_message "google.cloud.securitycenter.v1.CustomConfig.ResourceSelector" do
26
+ repeated :resource_types, :string, 1
27
+ end
28
+ add_enum "google.cloud.securitycenter.v1.CustomConfig.Severity" do
29
+ value :SEVERITY_UNSPECIFIED, 0
30
+ value :CRITICAL, 1
31
+ value :HIGH, 2
32
+ value :MEDIUM, 3
33
+ value :LOW, 4
34
+ end
35
+ end
36
+ end
37
+
38
+ module Google
39
+ module Cloud
40
+ module SecurityCenter
41
+ module V1
42
+ CustomConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.CustomConfig").msgclass
43
+ CustomConfig::CustomOutputSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.CustomConfig.CustomOutputSpec").msgclass
44
+ CustomConfig::CustomOutputSpec::Property = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.CustomConfig.CustomOutputSpec.Property").msgclass
45
+ CustomConfig::ResourceSelector = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.CustomConfig.ResourceSelector").msgclass
46
+ CustomConfig::Severity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.CustomConfig.Severity").enummodule
47
+ end
48
+ end
49
+ end
50
+ end
@@ -0,0 +1,40 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/cloud/securitycenter/v1/security_health_analytics_custom_module.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/api/field_behavior_pb'
7
+ require 'google/api/resource_pb'
8
+ require 'google/cloud/securitycenter/v1/security_health_analytics_custom_config_pb'
9
+ require 'google/protobuf/timestamp_pb'
10
+
11
+ Google::Protobuf::DescriptorPool.generated_pool.build do
12
+ add_file("google/cloud/securitycenter/v1/security_health_analytics_custom_module.proto", :syntax => :proto3) do
13
+ add_message "google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule" do
14
+ optional :name, :string, 1
15
+ optional :display_name, :string, 2
16
+ optional :enablement_state, :enum, 4, "google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule.EnablementState"
17
+ optional :update_time, :message, 5, "google.protobuf.Timestamp"
18
+ optional :last_editor, :string, 6
19
+ optional :ancestor_module, :string, 7
20
+ optional :custom_config, :message, 8, "google.cloud.securitycenter.v1.CustomConfig"
21
+ end
22
+ add_enum "google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule.EnablementState" do
23
+ value :ENABLEMENT_STATE_UNSPECIFIED, 0
24
+ value :ENABLED, 1
25
+ value :DISABLED, 2
26
+ value :INHERITED, 3
27
+ end
28
+ end
29
+ end
30
+
31
+ module Google
32
+ module Cloud
33
+ module SecurityCenter
34
+ module V1
35
+ SecurityHealthAnalyticsCustomModule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule").msgclass
36
+ SecurityHealthAnalyticsCustomModule::EnablementState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule.EnablementState").enummodule
37
+ end
38
+ end
39
+ end
40
+ end
@@ -3,19 +3,21 @@
3
3
 
4
4
  require 'google/protobuf'
5
5
 
6
- require 'google/cloud/securitycenter/v1/run_asset_discovery_response_pb'
7
6
  require 'google/api/annotations_pb'
8
7
  require 'google/api/client_pb'
9
8
  require 'google/api/field_behavior_pb'
10
9
  require 'google/api/resource_pb'
11
10
  require 'google/cloud/securitycenter/v1/asset_pb'
12
11
  require 'google/cloud/securitycenter/v1/bigquery_export_pb'
12
+ require 'google/cloud/securitycenter/v1/effective_security_health_analytics_custom_module_pb'
13
13
  require 'google/cloud/securitycenter/v1/external_system_pb'
14
14
  require 'google/cloud/securitycenter/v1/finding_pb'
15
15
  require 'google/cloud/securitycenter/v1/folder_pb'
16
16
  require 'google/cloud/securitycenter/v1/mute_config_pb'
17
17
  require 'google/cloud/securitycenter/v1/notification_config_pb'
18
18
  require 'google/cloud/securitycenter/v1/organization_settings_pb'
19
+ require 'google/cloud/securitycenter/v1/run_asset_discovery_response_pb'
20
+ require 'google/cloud/securitycenter/v1/security_health_analytics_custom_module_pb'
19
21
  require 'google/cloud/securitycenter/v1/security_marks_pb'
20
22
  require 'google/cloud/securitycenter/v1/source_pb'
21
23
  require 'google/iam/v1/iam_policy_pb'
@@ -51,6 +53,10 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
51
53
  optional :config_id, :string, 2
52
54
  optional :notification_config, :message, 3, "google.cloud.securitycenter.v1.NotificationConfig"
53
55
  end
56
+ add_message "google.cloud.securitycenter.v1.CreateSecurityHealthAnalyticsCustomModuleRequest" do
57
+ optional :parent, :string, 1
58
+ optional :security_health_analytics_custom_module, :message, 2, "google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule"
59
+ end
54
60
  add_message "google.cloud.securitycenter.v1.CreateSourceRequest" do
55
61
  optional :parent, :string, 1
56
62
  optional :source, :message, 2, "google.cloud.securitycenter.v1.Source"
@@ -61,6 +67,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
61
67
  add_message "google.cloud.securitycenter.v1.DeleteNotificationConfigRequest" do
62
68
  optional :name, :string, 1
63
69
  end
70
+ add_message "google.cloud.securitycenter.v1.DeleteSecurityHealthAnalyticsCustomModuleRequest" do
71
+ optional :name, :string, 1
72
+ end
64
73
  add_message "google.cloud.securitycenter.v1.GetBigQueryExportRequest" do
65
74
  optional :name, :string, 1
66
75
  end
@@ -73,6 +82,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
73
82
  add_message "google.cloud.securitycenter.v1.GetOrganizationSettingsRequest" do
74
83
  optional :name, :string, 1
75
84
  end
85
+ add_message "google.cloud.securitycenter.v1.GetEffectiveSecurityHealthAnalyticsCustomModuleRequest" do
86
+ optional :name, :string, 1
87
+ end
88
+ add_message "google.cloud.securitycenter.v1.GetSecurityHealthAnalyticsCustomModuleRequest" do
89
+ optional :name, :string, 1
90
+ end
76
91
  add_message "google.cloud.securitycenter.v1.GetSourceRequest" do
77
92
  optional :name, :string, 1
78
93
  end
@@ -110,6 +125,15 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
110
125
  map :properties, :string, :message, 1, "google.protobuf.Value"
111
126
  optional :count, :int64, 2
112
127
  end
128
+ add_message "google.cloud.securitycenter.v1.ListDescendantSecurityHealthAnalyticsCustomModulesRequest" do
129
+ optional :parent, :string, 1
130
+ optional :page_size, :int32, 2
131
+ optional :page_token, :string, 3
132
+ end
133
+ add_message "google.cloud.securitycenter.v1.ListDescendantSecurityHealthAnalyticsCustomModulesResponse" do
134
+ repeated :security_health_analytics_custom_modules, :message, 1, "google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule"
135
+ optional :next_page_token, :string, 2
136
+ end
113
137
  add_message "google.cloud.securitycenter.v1.ListMuteConfigsRequest" do
114
138
  optional :parent, :string, 1
115
139
  optional :page_size, :int32, 2
@@ -128,6 +152,24 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
128
152
  repeated :notification_configs, :message, 1, "google.cloud.securitycenter.v1.NotificationConfig"
129
153
  optional :next_page_token, :string, 2
130
154
  end
155
+ add_message "google.cloud.securitycenter.v1.ListEffectiveSecurityHealthAnalyticsCustomModulesRequest" do
156
+ optional :parent, :string, 1
157
+ optional :page_size, :int32, 2
158
+ optional :page_token, :string, 3
159
+ end
160
+ add_message "google.cloud.securitycenter.v1.ListEffectiveSecurityHealthAnalyticsCustomModulesResponse" do
161
+ repeated :effective_security_health_analytics_custom_modules, :message, 1, "google.cloud.securitycenter.v1.EffectiveSecurityHealthAnalyticsCustomModule"
162
+ optional :next_page_token, :string, 2
163
+ end
164
+ add_message "google.cloud.securitycenter.v1.ListSecurityHealthAnalyticsCustomModulesRequest" do
165
+ optional :parent, :string, 1
166
+ optional :page_size, :int32, 2
167
+ optional :page_token, :string, 3
168
+ end
169
+ add_message "google.cloud.securitycenter.v1.ListSecurityHealthAnalyticsCustomModulesResponse" do
170
+ repeated :security_health_analytics_custom_modules, :message, 1, "google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule"
171
+ optional :next_page_token, :string, 2
172
+ end
131
173
  add_message "google.cloud.securitycenter.v1.ListSourcesRequest" do
132
174
  optional :parent, :string, 1
133
175
  optional :page_token, :string, 2
@@ -233,6 +275,10 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
233
275
  optional :organization_settings, :message, 1, "google.cloud.securitycenter.v1.OrganizationSettings"
234
276
  optional :update_mask, :message, 2, "google.protobuf.FieldMask"
235
277
  end
278
+ add_message "google.cloud.securitycenter.v1.UpdateSecurityHealthAnalyticsCustomModuleRequest" do
279
+ optional :security_health_analytics_custom_module, :message, 1, "google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule"
280
+ optional :update_mask, :message, 2, "google.protobuf.FieldMask"
281
+ end
236
282
  add_message "google.cloud.securitycenter.v1.UpdateSourceRequest" do
237
283
  optional :source, :message, 1, "google.cloud.securitycenter.v1.Source"
238
284
  optional :update_mask, :message, 2, "google.protobuf.FieldMask"
@@ -275,23 +321,33 @@ module Google
275
321
  CreateFindingRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.CreateFindingRequest").msgclass
276
322
  CreateMuteConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.CreateMuteConfigRequest").msgclass
277
323
  CreateNotificationConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.CreateNotificationConfigRequest").msgclass
324
+ CreateSecurityHealthAnalyticsCustomModuleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.CreateSecurityHealthAnalyticsCustomModuleRequest").msgclass
278
325
  CreateSourceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.CreateSourceRequest").msgclass
279
326
  DeleteMuteConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.DeleteMuteConfigRequest").msgclass
280
327
  DeleteNotificationConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.DeleteNotificationConfigRequest").msgclass
328
+ DeleteSecurityHealthAnalyticsCustomModuleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.DeleteSecurityHealthAnalyticsCustomModuleRequest").msgclass
281
329
  GetBigQueryExportRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.GetBigQueryExportRequest").msgclass
282
330
  GetMuteConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.GetMuteConfigRequest").msgclass
283
331
  GetNotificationConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.GetNotificationConfigRequest").msgclass
284
332
  GetOrganizationSettingsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.GetOrganizationSettingsRequest").msgclass
333
+ GetEffectiveSecurityHealthAnalyticsCustomModuleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.GetEffectiveSecurityHealthAnalyticsCustomModuleRequest").msgclass
334
+ GetSecurityHealthAnalyticsCustomModuleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.GetSecurityHealthAnalyticsCustomModuleRequest").msgclass
285
335
  GetSourceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.GetSourceRequest").msgclass
286
336
  GroupAssetsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.GroupAssetsRequest").msgclass
287
337
  GroupAssetsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.GroupAssetsResponse").msgclass
288
338
  GroupFindingsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.GroupFindingsRequest").msgclass
289
339
  GroupFindingsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.GroupFindingsResponse").msgclass
290
340
  GroupResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.GroupResult").msgclass
341
+ ListDescendantSecurityHealthAnalyticsCustomModulesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.ListDescendantSecurityHealthAnalyticsCustomModulesRequest").msgclass
342
+ ListDescendantSecurityHealthAnalyticsCustomModulesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.ListDescendantSecurityHealthAnalyticsCustomModulesResponse").msgclass
291
343
  ListMuteConfigsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.ListMuteConfigsRequest").msgclass
292
344
  ListMuteConfigsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.ListMuteConfigsResponse").msgclass
293
345
  ListNotificationConfigsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.ListNotificationConfigsRequest").msgclass
294
346
  ListNotificationConfigsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.ListNotificationConfigsResponse").msgclass
347
+ ListEffectiveSecurityHealthAnalyticsCustomModulesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.ListEffectiveSecurityHealthAnalyticsCustomModulesRequest").msgclass
348
+ ListEffectiveSecurityHealthAnalyticsCustomModulesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.ListEffectiveSecurityHealthAnalyticsCustomModulesResponse").msgclass
349
+ ListSecurityHealthAnalyticsCustomModulesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.ListSecurityHealthAnalyticsCustomModulesRequest").msgclass
350
+ ListSecurityHealthAnalyticsCustomModulesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.ListSecurityHealthAnalyticsCustomModulesResponse").msgclass
295
351
  ListSourcesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.ListSourcesRequest").msgclass
296
352
  ListSourcesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.ListSourcesResponse").msgclass
297
353
  ListAssetsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.ListAssetsRequest").msgclass
@@ -311,6 +367,7 @@ module Google
311
367
  UpdateMuteConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.UpdateMuteConfigRequest").msgclass
312
368
  UpdateNotificationConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.UpdateNotificationConfigRequest").msgclass
313
369
  UpdateOrganizationSettingsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.UpdateOrganizationSettingsRequest").msgclass
370
+ UpdateSecurityHealthAnalyticsCustomModuleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.UpdateSecurityHealthAnalyticsCustomModuleRequest").msgclass
314
371
  UpdateSourceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.UpdateSourceRequest").msgclass
315
372
  UpdateSecurityMarksRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.UpdateSecurityMarksRequest").msgclass
316
373
  CreateBigQueryExportRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.CreateBigQueryExportRequest").msgclass
@@ -37,6 +37,11 @@ module Google
37
37
  # parent can be either an organization, folder or project. The findings
38
38
  # matched by the filter will be muted after the LRO is done.
39
39
  rpc :BulkMuteFindings, ::Google::Cloud::SecurityCenter::V1::BulkMuteFindingsRequest, ::Google::Longrunning::Operation
40
+ # Creates a resident SecurityHealthAnalyticsCustomModule at the scope of the
41
+ # given CRM parent, and also creates inherited
42
+ # SecurityHealthAnalyticsCustomModules for all CRM descendants of the given
43
+ # parent. These modules are enabled by default.
44
+ rpc :CreateSecurityHealthAnalyticsCustomModule, ::Google::Cloud::SecurityCenter::V1::CreateSecurityHealthAnalyticsCustomModuleRequest, ::Google::Cloud::SecurityCenter::V1::SecurityHealthAnalyticsCustomModule
40
45
  # Creates a source.
41
46
  rpc :CreateSource, ::Google::Cloud::SecurityCenter::V1::CreateSourceRequest, ::Google::Cloud::SecurityCenter::V1::Source
42
47
  # Creates a finding. The corresponding source must exist for finding creation
@@ -50,6 +55,10 @@ module Google
50
55
  rpc :DeleteMuteConfig, ::Google::Cloud::SecurityCenter::V1::DeleteMuteConfigRequest, ::Google::Protobuf::Empty
51
56
  # Deletes a notification config.
52
57
  rpc :DeleteNotificationConfig, ::Google::Cloud::SecurityCenter::V1::DeleteNotificationConfigRequest, ::Google::Protobuf::Empty
58
+ # Deletes the specified SecurityHealthAnalyticsCustomModule and all of its
59
+ # descendants in the CRM hierarchy. This method is only supported for
60
+ # resident custom modules.
61
+ rpc :DeleteSecurityHealthAnalyticsCustomModule, ::Google::Cloud::SecurityCenter::V1::DeleteSecurityHealthAnalyticsCustomModuleRequest, ::Google::Protobuf::Empty
53
62
  # Gets a BigQuery export.
54
63
  rpc :GetBigQueryExport, ::Google::Cloud::SecurityCenter::V1::GetBigQueryExportRequest, ::Google::Cloud::SecurityCenter::V1::BigQueryExport
55
64
  # Gets the access control policy on the specified Source.
@@ -60,6 +69,10 @@ module Google
60
69
  rpc :GetNotificationConfig, ::Google::Cloud::SecurityCenter::V1::GetNotificationConfigRequest, ::Google::Cloud::SecurityCenter::V1::NotificationConfig
61
70
  # Gets the settings for an organization.
62
71
  rpc :GetOrganizationSettings, ::Google::Cloud::SecurityCenter::V1::GetOrganizationSettingsRequest, ::Google::Cloud::SecurityCenter::V1::OrganizationSettings
72
+ # Retrieves an EffectiveSecurityHealthAnalyticsCustomModule.
73
+ rpc :GetEffectiveSecurityHealthAnalyticsCustomModule, ::Google::Cloud::SecurityCenter::V1::GetEffectiveSecurityHealthAnalyticsCustomModuleRequest, ::Google::Cloud::SecurityCenter::V1::EffectiveSecurityHealthAnalyticsCustomModule
74
+ # Retrieves a SecurityHealthAnalyticsCustomModule.
75
+ rpc :GetSecurityHealthAnalyticsCustomModule, ::Google::Cloud::SecurityCenter::V1::GetSecurityHealthAnalyticsCustomModuleRequest, ::Google::Cloud::SecurityCenter::V1::SecurityHealthAnalyticsCustomModule
63
76
  # Gets a source.
64
77
  rpc :GetSource, ::Google::Cloud::SecurityCenter::V1::GetSourceRequest, ::Google::Cloud::SecurityCenter::V1::Source
65
78
  # Filters an organization's assets and groups them by their specified
@@ -75,6 +88,9 @@ module Google
75
88
  rpc :GroupFindings, ::Google::Cloud::SecurityCenter::V1::GroupFindingsRequest, ::Google::Cloud::SecurityCenter::V1::GroupFindingsResponse
76
89
  # Lists an organization's assets.
77
90
  rpc :ListAssets, ::Google::Cloud::SecurityCenter::V1::ListAssetsRequest, ::Google::Cloud::SecurityCenter::V1::ListAssetsResponse
91
+ # Returns a list of all resident SecurityHealthAnalyticsCustomModules under
92
+ # the given CRM parent and all of the parent’s CRM descendants.
93
+ rpc :ListDescendantSecurityHealthAnalyticsCustomModules, ::Google::Cloud::SecurityCenter::V1::ListDescendantSecurityHealthAnalyticsCustomModulesRequest, ::Google::Cloud::SecurityCenter::V1::ListDescendantSecurityHealthAnalyticsCustomModulesResponse
78
94
  # Lists an organization or source's findings.
79
95
  #
80
96
  # To list across all sources provide a `-` as the source id.
@@ -84,6 +100,14 @@ module Google
84
100
  rpc :ListMuteConfigs, ::Google::Cloud::SecurityCenter::V1::ListMuteConfigsRequest, ::Google::Cloud::SecurityCenter::V1::ListMuteConfigsResponse
85
101
  # Lists notification configs.
86
102
  rpc :ListNotificationConfigs, ::Google::Cloud::SecurityCenter::V1::ListNotificationConfigsRequest, ::Google::Cloud::SecurityCenter::V1::ListNotificationConfigsResponse
103
+ # Returns a list of all EffectiveSecurityHealthAnalyticsCustomModules for the
104
+ # given parent. This includes resident modules defined at the scope of the
105
+ # parent, and inherited modules, inherited from CRM ancestors.
106
+ rpc :ListEffectiveSecurityHealthAnalyticsCustomModules, ::Google::Cloud::SecurityCenter::V1::ListEffectiveSecurityHealthAnalyticsCustomModulesRequest, ::Google::Cloud::SecurityCenter::V1::ListEffectiveSecurityHealthAnalyticsCustomModulesResponse
107
+ # Returns a list of all SecurityHealthAnalyticsCustomModules for the given
108
+ # parent. This includes resident modules defined at the scope of the parent,
109
+ # and inherited modules, inherited from CRM ancestors.
110
+ rpc :ListSecurityHealthAnalyticsCustomModules, ::Google::Cloud::SecurityCenter::V1::ListSecurityHealthAnalyticsCustomModulesRequest, ::Google::Cloud::SecurityCenter::V1::ListSecurityHealthAnalyticsCustomModulesResponse
87
111
  # Lists all sources belonging to an organization.
88
112
  rpc :ListSources, ::Google::Cloud::SecurityCenter::V1::ListSourcesRequest, ::Google::Cloud::SecurityCenter::V1::ListSourcesResponse
89
113
  # Runs asset discovery. The discovery is tracked with a long-running
@@ -114,6 +138,12 @@ module Google
114
138
  rpc :UpdateNotificationConfig, ::Google::Cloud::SecurityCenter::V1::UpdateNotificationConfigRequest, ::Google::Cloud::SecurityCenter::V1::NotificationConfig
115
139
  # Updates an organization's settings.
116
140
  rpc :UpdateOrganizationSettings, ::Google::Cloud::SecurityCenter::V1::UpdateOrganizationSettingsRequest, ::Google::Cloud::SecurityCenter::V1::OrganizationSettings
141
+ # Updates the SecurityHealthAnalyticsCustomModule under the given name based
142
+ # on the given update mask. Updating the enablement state is supported on
143
+ # both resident and inherited modules (though resident modules cannot have an
144
+ # enablement state of "inherited"). Updating the display name and custom
145
+ # config of a module is supported on resident modules only.
146
+ rpc :UpdateSecurityHealthAnalyticsCustomModule, ::Google::Cloud::SecurityCenter::V1::UpdateSecurityHealthAnalyticsCustomModuleRequest, ::Google::Cloud::SecurityCenter::V1::SecurityHealthAnalyticsCustomModule
117
147
  # Updates a source.
118
148
  rpc :UpdateSource, ::Google::Cloud::SecurityCenter::V1::UpdateSourceRequest, ::Google::Cloud::SecurityCenter::V1::Source
119
149
  # Updates security marks.
@@ -35,7 +35,9 @@ module Google
35
35
  # Details about how and where to publish client libraries.
36
36
  # @!attribute [rw] version
37
37
  # @return [::String]
38
- # Version of the API to apply these settings to.
38
+ # Version of the API to apply these settings to. This is the full protobuf
39
+ # package for the API, ending in the version element.
40
+ # Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1".
39
41
  # @!attribute [rw] launch_stage
40
42
  # @return [::Google::Api::LaunchStage]
41
43
  # Launch stage of this version of the API.
@@ -111,6 +113,10 @@ module Google
111
113
  # Client library settings. If the same version string appears multiple
112
114
  # times in this list, then the last one wins. Settings from earlier
113
115
  # settings with the same version string are discarded.
116
+ # @!attribute [rw] proto_reference_documentation_uri
117
+ # @return [::String]
118
+ # Optional link to proto reference documentation. Example:
119
+ # https://cloud.google.com/pubsub/lite/docs/reference/rpc
114
120
  class Publishing
115
121
  include ::Google::Protobuf::MessageExts
116
122
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -203,9 +209,57 @@ module Google
203
209
  # @!attribute [rw] common
204
210
  # @return [::Google::Api::CommonLanguageSettings]
205
211
  # Some settings.
212
+ # @!attribute [rw] renamed_services
213
+ # @return [::Google::Protobuf::Map{::String => ::String}]
214
+ # Map from original service names to renamed versions.
215
+ # This is used when the default generated types
216
+ # would cause a naming conflict. (Neither name is
217
+ # fully-qualified.)
218
+ # Example: Subscriber to SubscriberServiceApi.
219
+ # @!attribute [rw] renamed_resources
220
+ # @return [::Google::Protobuf::Map{::String => ::String}]
221
+ # Map from full resource types to the effective short name
222
+ # for the resource. This is used when otherwise resource
223
+ # named from different services would cause naming collisions.
224
+ # Example entry:
225
+ # "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
226
+ # @!attribute [rw] ignored_resources
227
+ # @return [::Array<::String>]
228
+ # List of full resource types to ignore during generation.
229
+ # This is typically used for API-specific Location resources,
230
+ # which should be handled by the generator as if they were actually
231
+ # the common Location resources.
232
+ # Example entry: "documentai.googleapis.com/Location"
233
+ # @!attribute [rw] forced_namespace_aliases
234
+ # @return [::Array<::String>]
235
+ # Namespaces which must be aliased in snippets due to
236
+ # a known (but non-generator-predictable) naming collision
237
+ # @!attribute [rw] handwritten_signatures
238
+ # @return [::Array<::String>]
239
+ # Method signatures (in the form "service.method(signature)")
240
+ # which are provided separately, so shouldn't be generated.
241
+ # Snippets *calling* these methods are still generated, however.
206
242
  class DotnetSettings
207
243
  include ::Google::Protobuf::MessageExts
208
244
  extend ::Google::Protobuf::MessageExts::ClassMethods
245
+
246
+ # @!attribute [rw] key
247
+ # @return [::String]
248
+ # @!attribute [rw] value
249
+ # @return [::String]
250
+ class RenamedServicesEntry
251
+ include ::Google::Protobuf::MessageExts
252
+ extend ::Google::Protobuf::MessageExts::ClassMethods
253
+ end
254
+
255
+ # @!attribute [rw] key
256
+ # @return [::String]
257
+ # @!attribute [rw] value
258
+ # @return [::String]
259
+ class RenamedResourcesEntry
260
+ include ::Google::Protobuf::MessageExts
261
+ extend ::Google::Protobuf::MessageExts::ClassMethods
262
+ end
209
263
  end
210
264
 
211
265
  # Settings for Ruby client libraries.
@@ -240,8 +294,8 @@ module Google
240
294
  # Example of a YAML configuration::
241
295
  #
242
296
  # publishing:
243
- # method_behavior:
244
- # - selector: CreateAdDomain
297
+ # method_settings:
298
+ # - selector: google.cloud.speech.v2.Speech.BatchRecognize
245
299
  # long_running:
246
300
  # initial_poll_delay:
247
301
  # seconds: 60 # 1 minute
@@ -26,11 +26,11 @@ module Google
26
26
  # @return [::String]
27
27
  # Associated email, such as "foo@google.com".
28
28
  #
29
- # The email address of the authenticated user (or service account on behalf
30
- # of third party principal) making the request. For third party identity
31
- # callers, the `principal_subject` field is populated instead of this field.
32
- # For privacy reasons, the principal email address is sometimes redacted.
33
- # For more information, see [Caller identities in audit
29
+ # The email address of the authenticated user or a service account acting on
30
+ # behalf of a third party principal making the request. For third party
31
+ # identity callers, the `principal_subject` field is populated instead of
32
+ # this field. For privacy reasons, the principal email address is sometimes
33
+ # redacted. For more information, see [Caller identities in audit
34
34
  # logs](https://cloud.google.com/logging/docs/audit#user-id).
35
35
  # @!attribute [rw] caller_ip
36
36
  # @return [::String]
@@ -40,8 +40,8 @@ module Google
40
40
  # The caller IP's geolocation, which identifies where the call came from.
41
41
  # @!attribute [rw] user_agent_family
42
42
  # @return [::String]
43
- # What kind of user agent is associated, for example operating system shells,
44
- # embedded or stand-alone applications, etc.
43
+ # Type of user agent associated with the finding. For example, an operating
44
+ # system shell or an embedded or standalone application.
45
45
  # @!attribute [rw] service_name
46
46
  # @return [::String]
47
47
  # This is the API service that the service account made a call to, e.g.
@@ -51,36 +51,35 @@ module Google
51
51
  # The method that the service account called, e.g. "SetIamPolicy".
52
52
  # @!attribute [rw] principal_subject
53
53
  # @return [::String]
54
- # A string representing the principal_subject associated with the identity.
55
- # As compared to `principal_email`, supports principals that aren't
56
- # associated with email addresses, such as third party principals. For most
57
- # identities, the format will be `principal://iam.googleapis.com/{identity
58
- # pool name}/subjects/\\{subject}` except for some GKE identities
59
- # (GKE_WORKLOAD, FREEFORM, GKE_HUB_WORKLOAD) that are still in the legacy
60
- # format `serviceAccount:{identity pool name}[{subject}]`
54
+ # A string that represents the principal_subject that is associated with the
55
+ # identity. Unlike `principal_email`, `principal_subject` supports principals
56
+ # that aren't associated with email addresses, such as third party
57
+ # principals. For most identities, the format is
58
+ # `principal://iam.googleapis.com/{identity pool name}/subject/{subject}`.
59
+ # Some GKE identities, such as GKE_WORKLOAD, FREEFORM, and GKE_HUB_WORKLOAD,
60
+ # still use the legacy format `serviceAccount:{identity pool
61
+ # name}[\\{subject}]`.
61
62
  # @!attribute [rw] service_account_key_name
62
63
  # @return [::String]
63
- # The name of the service account key used to create or exchange
64
- # credentials for authenticating the service account making the request.
64
+ # The name of the service account key that was used to create or exchange
65
+ # credentials when authenticating the service account that made the request.
65
66
  # This is a scheme-less URI full resource name. For example:
66
67
  #
67
- # "//iam.googleapis.com/projects/\\{PROJECT_ID}/serviceAccounts/\\{ACCOUNT}/keys/\\{key}"
68
+ # "//iam.googleapis.com/projects/\\{PROJECT_ID}/serviceAccounts/\\{ACCOUNT}/keys/\\{key}".
68
69
  # @!attribute [rw] service_account_delegation_info
69
70
  # @return [::Array<::Google::Cloud::SecurityCenter::V1::ServiceAccountDelegationInfo>]
70
- # Identity delegation history of an authenticated service account that makes
71
- # the request. It contains information on the real authorities that try to
72
- # access GCP resources by delegating on a service account. When multiple
73
- # authorities are present, they are guaranteed to be sorted based on the
74
- # original ordering of the identity delegation events.
71
+ # The identity delegation history of an authenticated service account that
72
+ # made the request. The `serviceAccountDelegationInfo[]` object contains
73
+ # information about the real authorities that try to access Google Cloud
74
+ # resources by delegating on a service account. When multiple authorities are
75
+ # present, they are guaranteed to be sorted based on the original ordering of
76
+ # the identity delegation events.
75
77
  # @!attribute [rw] user_name
76
78
  # @return [::String]
77
- # A string that represents the username of a user, user account, or other
78
- # entity involved in the access event. What the entity is and what its role
79
- # in the access event is depends on the finding that this field appears in.
80
- # The entity is likely not an IAM principal, but could be a user that is
81
- # logged into an operating system, if the finding is VM-related, or a user
82
- # that is logged into some type of application that is involved in the
83
- # access event.
79
+ # A string that represents a username. The username provided depends on the
80
+ # type of the finding and is likely not an IAM principal. For example, this
81
+ # can be a system username if the finding is related to a virtual machine, or
82
+ # it can be an application login username.
84
83
  class Access
85
84
  include ::Google::Protobuf::MessageExts
86
85
  extend ::Google::Protobuf::MessageExts::ClassMethods