google-cloud-security_center-v1 0.28.0 → 0.29.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/security_center/v1/security_center/client.rb +4 -2
  3. data/lib/google/cloud/security_center/v1/security_center/operations.rb +3 -1
  4. data/lib/google/cloud/security_center/v1/security_center/rest/client.rb +4 -2
  5. data/lib/google/cloud/security_center/v1/security_center/rest/operations.rb +7 -5
  6. data/lib/google/cloud/security_center/v1/security_center/rest/service_stub.rb +44 -44
  7. data/lib/google/cloud/security_center/v1/version.rb +1 -1
  8. data/lib/google/cloud/securitycenter/v1/access_pb.rb +24 -20
  9. data/lib/google/cloud/securitycenter/v1/asset_pb.rb +28 -25
  10. data/lib/google/cloud/securitycenter/v1/bigquery_export_pb.rb +25 -11
  11. data/lib/google/cloud/securitycenter/v1/cloud_dlp_data_profile_pb.rb +24 -4
  12. data/lib/google/cloud/securitycenter/v1/cloud_dlp_inspection_pb.rb +24 -7
  13. data/lib/google/cloud/securitycenter/v1/compliance_pb.rb +24 -6
  14. data/lib/google/cloud/securitycenter/v1/connection_pb.rb +24 -16
  15. data/lib/google/cloud/securitycenter/v1/contact_details_pb.rb +24 -7
  16. data/lib/google/cloud/securitycenter/v1/container_pb.rb +25 -7
  17. data/lib/google/cloud/securitycenter/v1/database_pb.rb +24 -8
  18. data/lib/google/cloud/securitycenter/v1/effective_security_health_analytics_custom_module_pb.rb +25 -12
  19. data/lib/google/cloud/securitycenter/v1/exfiltration_pb.rb +24 -9
  20. data/lib/google/cloud/securitycenter/v1/external_system_pb.rb +25 -8
  21. data/lib/google/cloud/securitycenter/v1/file_pb.rb +24 -9
  22. data/lib/google/cloud/securitycenter/v1/finding_pb.rb +45 -67
  23. data/lib/google/cloud/securitycenter/v1/folder_pb.rb +24 -5
  24. data/lib/google/cloud/securitycenter/v1/iam_binding_pb.rb +24 -11
  25. data/lib/google/cloud/securitycenter/v1/indicator_pb.rb +24 -24
  26. data/lib/google/cloud/securitycenter/v1/kernel_rootkit_pb.rb +24 -12
  27. data/lib/google/cloud/securitycenter/v1/kubernetes_pb.rb +26 -58
  28. data/lib/google/cloud/securitycenter/v1/label_pb.rb +24 -5
  29. data/lib/google/cloud/securitycenter/v1/mitre_attack_pb.rb +24 -63
  30. data/lib/google/cloud/securitycenter/v1/mute_config_pb.rb +25 -10
  31. data/lib/google/cloud/securitycenter/v1/notification_config_pb.rb +24 -13
  32. data/lib/google/cloud/securitycenter/v1/notification_message_pb.rb +26 -8
  33. data/lib/google/cloud/securitycenter/v1/organization_settings_pb.rb +24 -16
  34. data/lib/google/cloud/securitycenter/v1/process_pb.rb +25 -17
  35. data/lib/google/cloud/securitycenter/v1/resource_pb.rb +25 -11
  36. data/lib/google/cloud/securitycenter/v1/run_asset_discovery_response_pb.rb +25 -11
  37. data/lib/google/cloud/securitycenter/v1/security_health_analytics_custom_config_pb.rb +25 -26
  38. data/lib/google/cloud/securitycenter/v1/security_health_analytics_custom_module_pb.rb +26 -16
  39. data/lib/google/cloud/securitycenter/v1/security_marks_pb.rb +24 -6
  40. data/lib/google/cloud/securitycenter/v1/securitycenter_service_pb.rb +40 -279
  41. data/lib/google/cloud/securitycenter/v1/source_pb.rb +24 -7
  42. data/lib/google/cloud/securitycenter/v1/vulnerability_pb.rb +24 -59
  43. data/proto_docs/google/api/client.rb +10 -1
  44. data/proto_docs/google/protobuf/any.rb +7 -4
  45. data/proto_docs/google/protobuf/struct.rb +1 -1
  46. data/proto_docs/google/protobuf/timestamp.rb +1 -3
  47. metadata +4 -4
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/securitycenter/v1/securitycenter_service.proto
3
4
 
@@ -29,287 +30,47 @@ require 'google/protobuf/field_mask_pb'
29
30
  require 'google/protobuf/struct_pb'
30
31
  require 'google/protobuf/timestamp_pb'
31
32
 
32
- Google::Protobuf::DescriptorPool.generated_pool.build do
33
- add_file("google/cloud/securitycenter/v1/securitycenter_service.proto", :syntax => :proto3) do
34
- add_message "google.cloud.securitycenter.v1.BulkMuteFindingsRequest" do
35
- optional :parent, :string, 1
36
- optional :filter, :string, 2
37
- optional :mute_annotation, :string, 3
38
- end
39
- add_message "google.cloud.securitycenter.v1.BulkMuteFindingsResponse" do
40
- end
41
- add_message "google.cloud.securitycenter.v1.CreateFindingRequest" do
42
- optional :parent, :string, 1
43
- optional :finding_id, :string, 2
44
- optional :finding, :message, 3, "google.cloud.securitycenter.v1.Finding"
45
- end
46
- add_message "google.cloud.securitycenter.v1.CreateMuteConfigRequest" do
47
- optional :parent, :string, 1
48
- optional :mute_config, :message, 2, "google.cloud.securitycenter.v1.MuteConfig"
49
- optional :mute_config_id, :string, 3
50
- end
51
- add_message "google.cloud.securitycenter.v1.CreateNotificationConfigRequest" do
52
- optional :parent, :string, 1
53
- optional :config_id, :string, 2
54
- optional :notification_config, :message, 3, "google.cloud.securitycenter.v1.NotificationConfig"
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
60
- add_message "google.cloud.securitycenter.v1.CreateSourceRequest" do
61
- optional :parent, :string, 1
62
- optional :source, :message, 2, "google.cloud.securitycenter.v1.Source"
63
- end
64
- add_message "google.cloud.securitycenter.v1.DeleteMuteConfigRequest" do
65
- optional :name, :string, 1
66
- end
67
- add_message "google.cloud.securitycenter.v1.DeleteNotificationConfigRequest" do
68
- optional :name, :string, 1
69
- end
70
- add_message "google.cloud.securitycenter.v1.DeleteSecurityHealthAnalyticsCustomModuleRequest" do
71
- optional :name, :string, 1
72
- end
73
- add_message "google.cloud.securitycenter.v1.GetBigQueryExportRequest" do
74
- optional :name, :string, 1
75
- end
76
- add_message "google.cloud.securitycenter.v1.GetMuteConfigRequest" do
77
- optional :name, :string, 1
78
- end
79
- add_message "google.cloud.securitycenter.v1.GetNotificationConfigRequest" do
80
- optional :name, :string, 1
81
- end
82
- add_message "google.cloud.securitycenter.v1.GetOrganizationSettingsRequest" do
83
- optional :name, :string, 1
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
91
- add_message "google.cloud.securitycenter.v1.GetSourceRequest" do
92
- optional :name, :string, 1
93
- end
94
- add_message "google.cloud.securitycenter.v1.GroupAssetsRequest" do
95
- optional :parent, :string, 1
96
- optional :filter, :string, 2
97
- optional :group_by, :string, 3
98
- optional :compare_duration, :message, 4, "google.protobuf.Duration"
99
- optional :read_time, :message, 5, "google.protobuf.Timestamp"
100
- optional :page_token, :string, 7
101
- optional :page_size, :int32, 8
102
- end
103
- add_message "google.cloud.securitycenter.v1.GroupAssetsResponse" do
104
- repeated :group_by_results, :message, 1, "google.cloud.securitycenter.v1.GroupResult"
105
- optional :read_time, :message, 2, "google.protobuf.Timestamp"
106
- optional :next_page_token, :string, 3
107
- optional :total_size, :int32, 4
108
- end
109
- add_message "google.cloud.securitycenter.v1.GroupFindingsRequest" do
110
- optional :parent, :string, 1
111
- optional :filter, :string, 2
112
- optional :group_by, :string, 3
113
- optional :read_time, :message, 4, "google.protobuf.Timestamp"
114
- optional :compare_duration, :message, 5, "google.protobuf.Duration"
115
- optional :page_token, :string, 7
116
- optional :page_size, :int32, 8
117
- end
118
- add_message "google.cloud.securitycenter.v1.GroupFindingsResponse" do
119
- repeated :group_by_results, :message, 1, "google.cloud.securitycenter.v1.GroupResult"
120
- optional :read_time, :message, 2, "google.protobuf.Timestamp"
121
- optional :next_page_token, :string, 3
122
- optional :total_size, :int32, 4
123
- end
124
- add_message "google.cloud.securitycenter.v1.GroupResult" do
125
- map :properties, :string, :message, 1, "google.protobuf.Value"
126
- optional :count, :int64, 2
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
137
- add_message "google.cloud.securitycenter.v1.ListMuteConfigsRequest" do
138
- optional :parent, :string, 1
139
- optional :page_size, :int32, 2
140
- optional :page_token, :string, 3
141
- end
142
- add_message "google.cloud.securitycenter.v1.ListMuteConfigsResponse" do
143
- repeated :mute_configs, :message, 1, "google.cloud.securitycenter.v1.MuteConfig"
144
- optional :next_page_token, :string, 2
145
- end
146
- add_message "google.cloud.securitycenter.v1.ListNotificationConfigsRequest" do
147
- optional :parent, :string, 1
148
- optional :page_token, :string, 2
149
- optional :page_size, :int32, 3
150
- end
151
- add_message "google.cloud.securitycenter.v1.ListNotificationConfigsResponse" do
152
- repeated :notification_configs, :message, 1, "google.cloud.securitycenter.v1.NotificationConfig"
153
- optional :next_page_token, :string, 2
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
173
- add_message "google.cloud.securitycenter.v1.ListSourcesRequest" do
174
- optional :parent, :string, 1
175
- optional :page_token, :string, 2
176
- optional :page_size, :int32, 7
177
- end
178
- add_message "google.cloud.securitycenter.v1.ListSourcesResponse" do
179
- repeated :sources, :message, 1, "google.cloud.securitycenter.v1.Source"
180
- optional :next_page_token, :string, 2
181
- end
182
- add_message "google.cloud.securitycenter.v1.ListAssetsRequest" do
183
- optional :parent, :string, 1
184
- optional :filter, :string, 2
185
- optional :order_by, :string, 3
186
- optional :read_time, :message, 4, "google.protobuf.Timestamp"
187
- optional :compare_duration, :message, 5, "google.protobuf.Duration"
188
- optional :field_mask, :message, 7, "google.protobuf.FieldMask"
189
- optional :page_token, :string, 8
190
- optional :page_size, :int32, 9
191
- end
192
- add_message "google.cloud.securitycenter.v1.ListAssetsResponse" do
193
- repeated :list_assets_results, :message, 1, "google.cloud.securitycenter.v1.ListAssetsResponse.ListAssetsResult"
194
- optional :read_time, :message, 2, "google.protobuf.Timestamp"
195
- optional :next_page_token, :string, 3
196
- optional :total_size, :int32, 4
197
- end
198
- add_message "google.cloud.securitycenter.v1.ListAssetsResponse.ListAssetsResult" do
199
- optional :asset, :message, 1, "google.cloud.securitycenter.v1.Asset"
200
- optional :state_change, :enum, 2, "google.cloud.securitycenter.v1.ListAssetsResponse.ListAssetsResult.StateChange"
201
- end
202
- add_enum "google.cloud.securitycenter.v1.ListAssetsResponse.ListAssetsResult.StateChange" do
203
- value :UNUSED, 0
204
- value :ADDED, 1
205
- value :REMOVED, 2
206
- value :ACTIVE, 3
207
- end
208
- add_message "google.cloud.securitycenter.v1.ListFindingsRequest" do
209
- optional :parent, :string, 1
210
- optional :filter, :string, 2
211
- optional :order_by, :string, 3
212
- optional :read_time, :message, 4, "google.protobuf.Timestamp"
213
- optional :compare_duration, :message, 5, "google.protobuf.Duration"
214
- optional :field_mask, :message, 7, "google.protobuf.FieldMask"
215
- optional :page_token, :string, 8
216
- optional :page_size, :int32, 9
217
- end
218
- add_message "google.cloud.securitycenter.v1.ListFindingsResponse" do
219
- repeated :list_findings_results, :message, 1, "google.cloud.securitycenter.v1.ListFindingsResponse.ListFindingsResult"
220
- optional :read_time, :message, 2, "google.protobuf.Timestamp"
221
- optional :next_page_token, :string, 3
222
- optional :total_size, :int32, 4
223
- end
224
- add_message "google.cloud.securitycenter.v1.ListFindingsResponse.ListFindingsResult" do
225
- optional :finding, :message, 1, "google.cloud.securitycenter.v1.Finding"
226
- optional :state_change, :enum, 2, "google.cloud.securitycenter.v1.ListFindingsResponse.ListFindingsResult.StateChange"
227
- optional :resource, :message, 3, "google.cloud.securitycenter.v1.ListFindingsResponse.ListFindingsResult.Resource"
228
- end
229
- add_message "google.cloud.securitycenter.v1.ListFindingsResponse.ListFindingsResult.Resource" do
230
- optional :name, :string, 1
231
- optional :display_name, :string, 8
232
- optional :type, :string, 6
233
- optional :project_name, :string, 2
234
- optional :project_display_name, :string, 3
235
- optional :parent_name, :string, 4
236
- optional :parent_display_name, :string, 5
237
- repeated :folders, :message, 7, "google.cloud.securitycenter.v1.Folder"
238
- end
239
- add_enum "google.cloud.securitycenter.v1.ListFindingsResponse.ListFindingsResult.StateChange" do
240
- value :UNUSED, 0
241
- value :CHANGED, 1
242
- value :UNCHANGED, 2
243
- value :ADDED, 3
244
- value :REMOVED, 4
245
- end
246
- add_message "google.cloud.securitycenter.v1.SetFindingStateRequest" do
247
- optional :name, :string, 1
248
- optional :state, :enum, 2, "google.cloud.securitycenter.v1.Finding.State"
249
- optional :start_time, :message, 3, "google.protobuf.Timestamp"
250
- end
251
- add_message "google.cloud.securitycenter.v1.SetMuteRequest" do
252
- optional :name, :string, 1
253
- optional :mute, :enum, 2, "google.cloud.securitycenter.v1.Finding.Mute"
254
- end
255
- add_message "google.cloud.securitycenter.v1.RunAssetDiscoveryRequest" do
256
- optional :parent, :string, 1
257
- end
258
- add_message "google.cloud.securitycenter.v1.UpdateExternalSystemRequest" do
259
- optional :external_system, :message, 1, "google.cloud.securitycenter.v1.ExternalSystem"
260
- optional :update_mask, :message, 2, "google.protobuf.FieldMask"
261
- end
262
- add_message "google.cloud.securitycenter.v1.UpdateFindingRequest" do
263
- optional :finding, :message, 1, "google.cloud.securitycenter.v1.Finding"
264
- optional :update_mask, :message, 2, "google.protobuf.FieldMask"
265
- end
266
- add_message "google.cloud.securitycenter.v1.UpdateMuteConfigRequest" do
267
- optional :mute_config, :message, 1, "google.cloud.securitycenter.v1.MuteConfig"
268
- optional :update_mask, :message, 2, "google.protobuf.FieldMask"
269
- end
270
- add_message "google.cloud.securitycenter.v1.UpdateNotificationConfigRequest" do
271
- optional :notification_config, :message, 1, "google.cloud.securitycenter.v1.NotificationConfig"
272
- optional :update_mask, :message, 2, "google.protobuf.FieldMask"
273
- end
274
- add_message "google.cloud.securitycenter.v1.UpdateOrganizationSettingsRequest" do
275
- optional :organization_settings, :message, 1, "google.cloud.securitycenter.v1.OrganizationSettings"
276
- optional :update_mask, :message, 2, "google.protobuf.FieldMask"
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
282
- add_message "google.cloud.securitycenter.v1.UpdateSourceRequest" do
283
- optional :source, :message, 1, "google.cloud.securitycenter.v1.Source"
284
- optional :update_mask, :message, 2, "google.protobuf.FieldMask"
285
- end
286
- add_message "google.cloud.securitycenter.v1.UpdateSecurityMarksRequest" do
287
- optional :security_marks, :message, 1, "google.cloud.securitycenter.v1.SecurityMarks"
288
- optional :update_mask, :message, 2, "google.protobuf.FieldMask"
289
- optional :start_time, :message, 3, "google.protobuf.Timestamp"
290
- end
291
- add_message "google.cloud.securitycenter.v1.CreateBigQueryExportRequest" do
292
- optional :parent, :string, 1
293
- optional :big_query_export, :message, 2, "google.cloud.securitycenter.v1.BigQueryExport"
294
- optional :big_query_export_id, :string, 3
295
- end
296
- add_message "google.cloud.securitycenter.v1.UpdateBigQueryExportRequest" do
297
- optional :big_query_export, :message, 1, "google.cloud.securitycenter.v1.BigQueryExport"
298
- optional :update_mask, :message, 2, "google.protobuf.FieldMask"
299
- end
300
- add_message "google.cloud.securitycenter.v1.ListBigQueryExportsRequest" do
301
- optional :parent, :string, 1
302
- optional :page_size, :int32, 2
303
- optional :page_token, :string, 3
304
- end
305
- add_message "google.cloud.securitycenter.v1.ListBigQueryExportsResponse" do
306
- repeated :big_query_exports, :message, 1, "google.cloud.securitycenter.v1.BigQueryExport"
307
- optional :next_page_token, :string, 2
308
- end
309
- add_message "google.cloud.securitycenter.v1.DeleteBigQueryExportRequest" do
310
- optional :name, :string, 1
33
+
34
+ descriptor_data = "\n;google/cloud/securitycenter/v1/securitycenter_service.proto\x12\x1egoogle.cloud.securitycenter.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a*google/cloud/securitycenter/v1/asset.proto\x1a\x34google/cloud/securitycenter/v1/bigquery_export.proto\x1aVgoogle/cloud/securitycenter/v1/effective_security_health_analytics_custom_module.proto\x1a\x34google/cloud/securitycenter/v1/external_system.proto\x1a,google/cloud/securitycenter/v1/finding.proto\x1a+google/cloud/securitycenter/v1/folder.proto\x1a\x30google/cloud/securitycenter/v1/mute_config.proto\x1a\x38google/cloud/securitycenter/v1/notification_config.proto\x1a:google/cloud/securitycenter/v1/organization_settings.proto\x1a\x41google/cloud/securitycenter/v1/run_asset_discovery_response.proto\x1aLgoogle/cloud/securitycenter/v1/security_health_analytics_custom_module.proto\x1a\x33google/cloud/securitycenter/v1/security_marks.proto\x1a+google/cloud/securitycenter/v1/source.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a#google/longrunning/operations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"a\n\x17\x42ulkMuteFindingsRequest\x12\x19\n\x06parent\x18\x01 \x01(\tB\t\xe0\x41\x02\xfa\x41\x03\n\x01*\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x1b\n\x0fmute_annotation\x18\x03 \x01(\tB\x02\x18\x01\"\x1a\n\x18\x42ulkMuteFindingsResponse\"\xac\x01\n\x14\x43reateFindingRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$securitycenter.googleapis.com/Source\x12\x17\n\nfinding_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12=\n\x07\x66inding\x18\x03 \x01(\x0b\x32\'.google.cloud.securitycenter.v1.FindingB\x03\xe0\x41\x02\"\xbe\x01\n\x17\x43reateMuteConfigRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\x12(securitycenter.googleapis.com/MuteConfig\x12\x44\n\x0bmute_config\x18\x02 \x01(\x0b\x32*.google.cloud.securitycenter.v1.MuteConfigB\x03\xe0\x41\x02\x12\x1b\n\x0emute_config_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"\xd9\x01\n\x1f\x43reateNotificationConfigRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\x12\x30securitycenter.googleapis.com/NotificationConfig\x12\x16\n\tconfig_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12T\n\x13notification_config\x18\x03 \x01(\x0b\x32\x32.google.cloud.securitycenter.v1.NotificationConfigB\x03\xe0\x41\x02\"\x88\x02\n0CreateSecurityHealthAnalyticsCustomModuleRequest\x12Y\n\x06parent\x18\x01 \x01(\tBI\xe0\x41\x02\xfa\x41\x43\x12\x41securitycenter.googleapis.com/SecurityHealthAnalyticsCustomModule\x12y\n\'security_health_analytics_custom_module\x18\x02 \x01(\x0b\x32\x43.google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModuleB\x03\xe0\x41\x02\"\x9c\x01\n\x13\x43reateSourceRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0cloudresourcemanager.googleapis.com/Organization\x12;\n\x06source\x18\x02 \x01(\x0b\x32&.google.cloud.securitycenter.v1.SourceB\x03\xe0\x41\x02\"Y\n\x17\x44\x65leteMuteConfigRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(securitycenter.googleapis.com/MuteConfig\"i\n\x1f\x44\x65leteNotificationConfigRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0securitycenter.googleapis.com/NotificationConfig\"\x8b\x01\n0DeleteSecurityHealthAnalyticsCustomModuleRequest\x12W\n\x04name\x18\x01 \x01(\tBI\xe0\x41\x02\xfa\x41\x43\nAsecuritycenter.googleapis.com/SecurityHealthAnalyticsCustomModule\"^\n\x18GetBigQueryExportRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,securitycenter.googleapis.com/BigQueryExport\"V\n\x14GetMuteConfigRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(securitycenter.googleapis.com/MuteConfig\"f\n\x1cGetNotificationConfigRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0securitycenter.googleapis.com/NotificationConfig\"j\n\x1eGetOrganizationSettingsRequest\x12H\n\x04name\x18\x01 \x01(\tB:\xe0\x41\x02\xfa\x41\x34\n2securitycenter.googleapis.com/OrganizationSettings\"\x9a\x01\n6GetEffectiveSecurityHealthAnalyticsCustomModuleRequest\x12`\n\x04name\x18\x01 \x01(\tBR\xe0\x41\x02\xfa\x41L\nJsecuritycenter.googleapis.com/EffectiveSecurityHealthAnalyticsCustomModule\"\x88\x01\n-GetSecurityHealthAnalyticsCustomModuleRequest\x12W\n\x04name\x18\x01 \x01(\tBI\xe0\x41\x02\xfa\x41\x43\nAsecuritycenter.googleapis.com/SecurityHealthAnalyticsCustomModule\"N\n\x10GetSourceRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$securitycenter.googleapis.com/Source\"\x83\x02\n\x12GroupAssetsRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\x12#securitycenter.googleapis.com/Asset\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x15\n\x08group_by\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x33\n\x10\x63ompare_duration\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12-\n\tread_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\npage_token\x18\x07 \x01(\t\x12\x11\n\tpage_size\x18\x08 \x01(\x05\"\xb8\x01\n\x13GroupAssetsResponse\x12\x45\n\x10group_by_results\x18\x01 \x03(\x0b\x32+.google.cloud.securitycenter.v1.GroupResult\x12-\n\tread_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\t\x12\x12\n\ntotal_size\x18\x04 \x01(\x05\"\x86\x02\n\x14GroupFindingsRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$securitycenter.googleapis.com/Source\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x15\n\x08group_by\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12-\n\tread_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x10\x63ompare_duration\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x12\n\npage_token\x18\x07 \x01(\t\x12\x11\n\tpage_size\x18\x08 \x01(\x05\"\xba\x01\n\x15GroupFindingsResponse\x12\x45\n\x10group_by_results\x18\x01 \x03(\x0b\x32+.google.cloud.securitycenter.v1.GroupResult\x12-\n\tread_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\t\x12\x12\n\ntotal_size\x18\x04 \x01(\x05\"\xb8\x01\n\x0bGroupResult\x12O\n\nproperties\x18\x01 \x03(\x0b\x32;.google.cloud.securitycenter.v1.GroupResult.PropertiesEntry\x12\r\n\x05\x63ount\x18\x02 \x01(\x03\x1aI\n\x0fPropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01\"\xbd\x01\n9ListDescendantSecurityHealthAnalyticsCustomModulesRequest\x12Y\n\x06parent\x18\x01 \x01(\tBI\xe0\x41\x02\xfa\x41\x43\x12\x41securitycenter.googleapis.com/SecurityHealthAnalyticsCustomModule\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\xcc\x01\n:ListDescendantSecurityHealthAnalyticsCustomModulesResponse\x12u\n(security_health_analytics_custom_modules\x18\x01 \x03(\x0b\x32\x43.google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x81\x01\n\x16ListMuteConfigsRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\x12(securitycenter.googleapis.com/MuteConfig\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"t\n\x17ListMuteConfigsResponse\x12@\n\x0cmute_configs\x18\x01 \x03(\x0b\x32*.google.cloud.securitycenter.v1.MuteConfig\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x91\x01\n\x1eListNotificationConfigsRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\x12\x30securitycenter.googleapis.com/NotificationConfig\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\"\x8c\x01\n\x1fListNotificationConfigsResponse\x12P\n\x14notification_configs\x18\x01 \x03(\x0b\x32\x32.google.cloud.securitycenter.v1.NotificationConfig\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xbc\x01\n8ListEffectiveSecurityHealthAnalyticsCustomModulesRequest\x12Y\n\x06parent\x18\x01 \x01(\tBI\xe0\x41\x02\xfa\x41\x43\x12\x41securitycenter.googleapis.com/SecurityHealthAnalyticsCustomModule\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\xdf\x01\n9ListEffectiveSecurityHealthAnalyticsCustomModulesResponse\x12\x88\x01\n2effective_security_health_analytics_custom_modules\x18\x01 \x03(\x0b\x32L.google.cloud.securitycenter.v1.EffectiveSecurityHealthAnalyticsCustomModule\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xb3\x01\n/ListSecurityHealthAnalyticsCustomModulesRequest\x12Y\n\x06parent\x18\x01 \x01(\tBI\xe0\x41\x02\xfa\x41\x43\x12\x41securitycenter.googleapis.com/SecurityHealthAnalyticsCustomModule\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\xc2\x01\n0ListSecurityHealthAnalyticsCustomModulesResponse\x12u\n(security_health_analytics_custom_modules\x18\x01 \x03(\x0b\x32\x43.google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"y\n\x12ListSourcesRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\x12$securitycenter.googleapis.com/Source\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x07 \x01(\x05\"g\n\x13ListSourcesResponse\x12\x37\n\x07sources\x18\x01 \x03(\x0b\x32&.google.cloud.securitycenter.v1.Source\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xad\x02\n\x11ListAssetsRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\x12#securitycenter.googleapis.com/Asset\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x10\n\x08order_by\x18\x03 \x01(\t\x12-\n\tread_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x10\x63ompare_duration\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12.\n\nfield_mask\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x12\n\npage_token\x18\x08 \x01(\t\x12\x11\n\tpage_size\x18\t \x01(\x05\"\xc3\x03\n\x12ListAssetsResponse\x12`\n\x13list_assets_results\x18\x01 \x03(\x0b\x32\x43.google.cloud.securitycenter.v1.ListAssetsResponse.ListAssetsResult\x12-\n\tread_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\t\x12\x12\n\ntotal_size\x18\x04 \x01(\x05\x1a\xee\x01\n\x10ListAssetsResult\x12\x34\n\x05\x61sset\x18\x01 \x01(\x0b\x32%.google.cloud.securitycenter.v1.Asset\x12\x65\n\x0cstate_change\x18\x02 \x01(\x0e\x32O.google.cloud.securitycenter.v1.ListAssetsResponse.ListAssetsResult.StateChange\"=\n\x0bStateChange\x12\n\n\x06UNUSED\x10\x00\x12\t\n\x05\x41\x44\x44\x45\x44\x10\x01\x12\x0b\n\x07REMOVED\x10\x02\x12\n\n\x06\x41\x43TIVE\x10\x03\"\xb0\x02\n\x13ListFindingsRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$securitycenter.googleapis.com/Source\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x10\n\x08order_by\x18\x03 \x01(\t\x12-\n\tread_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x10\x63ompare_duration\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12.\n\nfield_mask\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x12\n\npage_token\x18\x08 \x01(\t\x12\x11\n\tpage_size\x18\t \x01(\x05\"\xac\x06\n\x14ListFindingsResponse\x12\x66\n\x15list_findings_results\x18\x01 \x03(\x0b\x32G.google.cloud.securitycenter.v1.ListFindingsResponse.ListFindingsResult\x12-\n\tread_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\t\x12\x12\n\ntotal_size\x18\x04 \x01(\x05\x1a\xcf\x04\n\x12ListFindingsResult\x12\x38\n\x07\x66inding\x18\x01 \x01(\x0b\x32\'.google.cloud.securitycenter.v1.Finding\x12i\n\x0cstate_change\x18\x02 \x01(\x0e\x32S.google.cloud.securitycenter.v1.ListFindingsResponse.ListFindingsResult.StateChange\x12g\n\x08resource\x18\x03 \x01(\x0b\x32P.google.cloud.securitycenter.v1.ListFindingsResponse.ListFindingsResult.ResourceB\x03\xe0\x41\x03\x1a\xdb\x01\n\x08Resource\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x08 \x01(\t\x12\x0c\n\x04type\x18\x06 \x01(\t\x12\x14\n\x0cproject_name\x18\x02 \x01(\t\x12\x1c\n\x14project_display_name\x18\x03 \x01(\t\x12\x13\n\x0bparent_name\x18\x04 \x01(\t\x12\x1b\n\x13parent_display_name\x18\x05 \x01(\t\x12\x37\n\x07\x66olders\x18\x07 \x03(\x0b\x32&.google.cloud.securitycenter.v1.Folder\"M\n\x0bStateChange\x12\n\n\x06UNUSED\x10\x00\x12\x0b\n\x07\x43HANGED\x10\x01\x12\r\n\tUNCHANGED\x10\x02\x12\t\n\x05\x41\x44\x44\x45\x44\x10\x03\x12\x0b\n\x07REMOVED\x10\x04\"\xcd\x01\n\x16SetFindingStateRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%securitycenter.googleapis.com/Finding\x12\x41\n\x05state\x18\x02 \x01(\x0e\x32-.google.cloud.securitycenter.v1.Finding.StateB\x03\xe0\x41\x02\x12\x33\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\"\x8e\x01\n\x0eSetMuteRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%securitycenter.googleapis.com/Finding\x12?\n\x04mute\x18\x02 \x01(\x0e\x32,.google.cloud.securitycenter.v1.Finding.MuteB\x03\xe0\x41\x02\"d\n\x18RunAssetDiscoveryRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0cloudresourcemanager.googleapis.com/Organization\"\x9c\x01\n\x1bUpdateExternalSystemRequest\x12L\n\x0f\x65xternal_system\x18\x01 \x01(\x0b\x32..google.cloud.securitycenter.v1.ExternalSystemB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\x86\x01\n\x14UpdateFindingRequest\x12=\n\x07\x66inding\x18\x01 \x01(\x0b\x32\'.google.cloud.securitycenter.v1.FindingB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\x90\x01\n\x17UpdateMuteConfigRequest\x12\x44\n\x0bmute_config\x18\x01 \x01(\x0b\x32*.google.cloud.securitycenter.v1.MuteConfigB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\xa8\x01\n\x1fUpdateNotificationConfigRequest\x12T\n\x13notification_config\x18\x01 \x01(\x0b\x32\x32.google.cloud.securitycenter.v1.NotificationConfigB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\xae\x01\n!UpdateOrganizationSettingsRequest\x12X\n\x15organization_settings\x18\x01 \x01(\x0b\x32\x34.google.cloud.securitycenter.v1.OrganizationSettingsB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\xde\x01\n0UpdateSecurityHealthAnalyticsCustomModuleRequest\x12y\n\'security_health_analytics_custom_module\x18\x01 \x01(\x0b\x32\x43.google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModuleB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\x83\x01\n\x13UpdateSourceRequest\x12;\n\x06source\x18\x01 \x01(\x0b\x32&.google.cloud.securitycenter.v1.SourceB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\xc9\x01\n\x1aUpdateSecurityMarksRequest\x12J\n\x0esecurity_marks\x18\x01 \x01(\x0b\x32-.google.cloud.securitycenter.v1.SecurityMarksB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12.\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xd4\x01\n\x1b\x43reateBigQueryExportRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\x12,securitycenter.googleapis.com/BigQueryExport\x12M\n\x10\x62ig_query_export\x18\x02 \x01(\x0b\x32..google.cloud.securitycenter.v1.BigQueryExportB\x03\xe0\x41\x02\x12 \n\x13\x62ig_query_export_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"\x9d\x01\n\x1bUpdateBigQueryExportRequest\x12M\n\x10\x62ig_query_export\x18\x01 \x01(\x0b\x32..google.cloud.securitycenter.v1.BigQueryExportB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\x89\x01\n\x1aListBigQueryExportsRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\x12,securitycenter.googleapis.com/BigQueryExport\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x81\x01\n\x1bListBigQueryExportsResponse\x12I\n\x11\x62ig_query_exports\x18\x01 \x03(\x0b\x32..google.cloud.securitycenter.v1.BigQueryExport\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"a\n\x1b\x44\x65leteBigQueryExportRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,securitycenter.googleapis.com/BigQueryExport2\x82t\n\x0eSecurityCenter\x12\xe2\x02\n\x10\x42ulkMuteFindings\x12\x37.google.cloud.securitycenter.v1.BulkMuteFindingsRequest\x1a\x1d.google.longrunning.Operation\"\xf5\x01\x82\xd3\xe4\x93\x02\x92\x01\"./v1/{parent=organizations/*}/findings:bulkMute:\x01*Z-\"(/v1/{parent=folders/*}/findings:bulkMute:\x01*Z.\")/v1/{parent=projects/*}/findings:bulkMute:\x01*\xda\x41\x06parent\xca\x41P\n7google.cloud.securitycenter.v1.BulkMuteFindingsResponse\x12\x15google.protobuf.Empty\x12\xd5\x04\n)CreateSecurityHealthAnalyticsCustomModule\x12P.google.cloud.securitycenter.v1.CreateSecurityHealthAnalyticsCustomModuleRequest\x1a\x43.google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule\"\x90\x03\x82\xd3\xe4\x93\x02\xd8\x02\"J/v1/{parent=organizations/*/securityHealthAnalyticsSettings}/customModules:\'security_health_analytics_custom_moduleZo\"D/v1/{parent=folders/*/securityHealthAnalyticsSettings}/customModules:\'security_health_analytics_custom_moduleZp\"E/v1/{parent=projects/*/securityHealthAnalyticsSettings}/customModules:\'security_health_analytics_custom_module\xda\x41.parent,security_health_analytics_custom_module\x12\xb1\x01\n\x0c\x43reateSource\x12\x33.google.cloud.securitycenter.v1.CreateSourceRequest\x1a&.google.cloud.securitycenter.v1.Source\"D\x82\xd3\xe4\x93\x02.\"$/v1/{parent=organizations/*}/sources:\x06source\xda\x41\rparent,source\x12\xcc\x01\n\rCreateFinding\x12\x34.google.cloud.securitycenter.v1.CreateFindingRequest\x1a\'.google.cloud.securitycenter.v1.Finding\"\\\x82\xd3\xe4\x93\x02:\"//v1/{parent=organizations/*/sources/*}/findings:\x07\x66inding\xda\x41\x19parent,finding_id,finding\x12\xd8\x02\n\x10\x43reateMuteConfig\x12\x37.google.cloud.securitycenter.v1.CreateMuteConfigRequest\x1a*.google.cloud.securitycenter.v1.MuteConfig\"\xde\x01\x82\xd3\xe4\x93\x02\x9e\x01\"(/v1/{parent=organizations/*}/muteConfigs:\x0bmute_configZ1\"\"/v1/{parent=folders/*}/muteConfigs:\x0bmute_configZ2\"#/v1/{parent=projects/*}/muteConfigs:\x0bmute_config\xda\x41\x12parent,mute_config\xda\x41!parent,mute_config,mute_config_id\x12\xab\x03\n\x18\x43reateNotificationConfig\x12?.google.cloud.securitycenter.v1.CreateNotificationConfigRequest\x1a\x32.google.cloud.securitycenter.v1.NotificationConfig\"\x99\x02\x82\xd3\xe4\x93\x02\xce\x01\"0/v1/{parent=organizations/*}/notificationConfigs:\x13notification_configZA\"*/v1/{parent=folders/*}/notificationConfigs:\x13notification_configZB\"+/v1/{parent=projects/*}/notificationConfigs:\x13notification_config\xda\x41$parent,config_id,notification_config\xda\x41\x1aparent,notification_config\x12\xea\x01\n\x10\x44\x65leteMuteConfig\x12\x37.google.cloud.securitycenter.v1.DeleteMuteConfigRequest\x1a\x16.google.protobuf.Empty\"\x84\x01\x82\xd3\xe4\x93\x02w*(/v1/{name=organizations/*/muteConfigs/*}Z$*\"/v1/{name=folders/*/muteConfigs/*}Z%*#/v1/{name=projects/*/muteConfigs/*}\xda\x41\x04name\x12\x93\x02\n\x18\x44\x65leteNotificationConfig\x12?.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest\x1a\x16.google.protobuf.Empty\"\x9d\x01\x82\xd3\xe4\x93\x02\x8f\x01*0/v1/{name=organizations/*/notificationConfigs/*}Z,**/v1/{name=folders/*/notificationConfigs/*}Z-*+/v1/{name=projects/*/notificationConfigs/*}\xda\x41\x04name\x12\x83\x03\n)DeleteSecurityHealthAnalyticsCustomModule\x12P.google.cloud.securitycenter.v1.DeleteSecurityHealthAnalyticsCustomModuleRequest\x1a\x16.google.protobuf.Empty\"\xeb\x01\x82\xd3\xe4\x93\x02\xdd\x01*J/v1/{name=organizations/*/securityHealthAnalyticsSettings/customModules/*}ZF*D/v1/{name=folders/*/securityHealthAnalyticsSettings/customModules/*}ZG*E/v1/{name=projects/*/securityHealthAnalyticsSettings/customModules/*}\xda\x41\x04name\x12\x91\x02\n\x11GetBigQueryExport\x12\x38.google.cloud.securitycenter.v1.GetBigQueryExportRequest\x1a..google.cloud.securitycenter.v1.BigQueryExport\"\x91\x01\x82\xd3\xe4\x93\x02\x83\x01\x12,/v1/{name=organizations/*/bigQueryExports/*}Z(\x12&/v1/{name=folders/*/bigQueryExports/*}Z)\x12\'/v1/{name=projects/*/bigQueryExports/*}\xda\x41\x04name\x12\x96\x01\n\x0cGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"K\x82\xd3\xe4\x93\x02:\"5/v1/{resource=organizations/*/sources/*}:getIamPolicy:\x01*\xda\x41\x08resource\x12\xf8\x01\n\rGetMuteConfig\x12\x34.google.cloud.securitycenter.v1.GetMuteConfigRequest\x1a*.google.cloud.securitycenter.v1.MuteConfig\"\x84\x01\x82\xd3\xe4\x93\x02w\x12(/v1/{name=organizations/*/muteConfigs/*}Z$\x12\"/v1/{name=folders/*/muteConfigs/*}Z%\x12#/v1/{name=projects/*/muteConfigs/*}\xda\x41\x04name\x12\xa9\x02\n\x15GetNotificationConfig\x12<.google.cloud.securitycenter.v1.GetNotificationConfigRequest\x1a\x32.google.cloud.securitycenter.v1.NotificationConfig\"\x9d\x01\x82\xd3\xe4\x93\x02\x8f\x01\x12\x30/v1/{name=organizations/*/notificationConfigs/*}Z,\x12*/v1/{name=folders/*/notificationConfigs/*}Z-\x12+/v1/{name=projects/*/notificationConfigs/*}\xda\x41\x04name\x12\xcf\x01\n\x17GetOrganizationSettings\x12>.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest\x1a\x34.google.cloud.securitycenter.v1.OrganizationSettings\">\x82\xd3\xe4\x93\x02\x31\x12//v1/{name=organizations/*/organizationSettings}\xda\x41\x04name\x12\xe0\x03\n/GetEffectiveSecurityHealthAnalyticsCustomModule\x12V.google.cloud.securitycenter.v1.GetEffectiveSecurityHealthAnalyticsCustomModuleRequest\x1aL.google.cloud.securitycenter.v1.EffectiveSecurityHealthAnalyticsCustomModule\"\x86\x02\x82\xd3\xe4\x93\x02\xf8\x01\x12S/v1/{name=organizations/*/securityHealthAnalyticsSettings/effectiveCustomModules/*}ZO\x12M/v1/{name=folders/*/securityHealthAnalyticsSettings/effectiveCustomModules/*}ZP\x12N/v1/{name=projects/*/securityHealthAnalyticsSettings/effectiveCustomModules/*}\xda\x41\x04name\x12\xaa\x03\n&GetSecurityHealthAnalyticsCustomModule\x12M.google.cloud.securitycenter.v1.GetSecurityHealthAnalyticsCustomModuleRequest\x1a\x43.google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule\"\xeb\x01\x82\xd3\xe4\x93\x02\xdd\x01\x12J/v1/{name=organizations/*/securityHealthAnalyticsSettings/customModules/*}ZF\x12\x44/v1/{name=folders/*/securityHealthAnalyticsSettings/customModules/*}ZG\x12\x45/v1/{name=projects/*/securityHealthAnalyticsSettings/customModules/*}\xda\x41\x04name\x12\x9a\x01\n\tGetSource\x12\x30.google.cloud.securitycenter.v1.GetSourceRequest\x1a&.google.cloud.securitycenter.v1.Source\"3\x82\xd3\xe4\x93\x02&\x12$/v1/{name=organizations/*/sources/*}\xda\x41\x04name\x12\x83\x02\n\x0bGroupAssets\x12\x32.google.cloud.securitycenter.v1.GroupAssetsRequest\x1a\x33.google.cloud.securitycenter.v1.GroupAssetsResponse\"\x8a\x01\x82\xd3\xe4\x93\x02\x83\x01\")/v1/{parent=organizations/*}/assets:group:\x01*Z(\"#/v1/{parent=folders/*}/assets:group:\x01*Z)\"$/v1/{parent=projects/*}/assets:group:\x01*\x12\xbf\x02\n\rGroupFindings\x12\x34.google.cloud.securitycenter.v1.GroupFindingsRequest\x1a\x35.google.cloud.securitycenter.v1.GroupFindingsResponse\"\xc0\x01\x82\xd3\xe4\x93\x02\xa7\x01\"5/v1/{parent=organizations/*/sources/*}/findings:group:\x01*Z4\"//v1/{parent=folders/*/sources/*}/findings:group:\x01*Z5\"0/v1/{parent=projects/*/sources/*}/findings:group:\x01*\xda\x41\x0fparent,group_by\x12\xe3\x01\n\nListAssets\x12\x31.google.cloud.securitycenter.v1.ListAssetsRequest\x1a\x32.google.cloud.securitycenter.v1.ListAssetsResponse\"n\x82\xd3\xe4\x93\x02h\x12#/v1/{parent=organizations/*}/assetsZ\x1f\x12\x1d/v1/{parent=folders/*}/assetsZ \x12\x1e/v1/{parent=projects/*}/assets\x12\x88\x04\n2ListDescendantSecurityHealthAnalyticsCustomModules\x12Y.google.cloud.securitycenter.v1.ListDescendantSecurityHealthAnalyticsCustomModulesRequest\x1aZ.google.cloud.securitycenter.v1.ListDescendantSecurityHealthAnalyticsCustomModulesResponse\"\x9a\x02\x82\xd3\xe4\x93\x02\x8a\x02\x12Y/v1/{parent=organizations/*/securityHealthAnalyticsSettings}/customModules:listDescendantZU\x12S/v1/{parent=folders/*/securityHealthAnalyticsSettings}/customModules:listDescendantZV\x12T/v1/{parent=projects/*/securityHealthAnalyticsSettings}/customModules:listDescendant\xda\x41\x06parent\x12\x8f\x02\n\x0cListFindings\x12\x33.google.cloud.securitycenter.v1.ListFindingsRequest\x1a\x34.google.cloud.securitycenter.v1.ListFindingsResponse\"\x93\x01\x82\xd3\xe4\x93\x02\x8c\x01\x12//v1/{parent=organizations/*/sources/*}/findingsZ+\x12)/v1/{parent=folders/*/sources/*}/findingsZ,\x12*/v1/{parent=projects/*/sources/*}/findings\x12\x8b\x02\n\x0fListMuteConfigs\x12\x36.google.cloud.securitycenter.v1.ListMuteConfigsRequest\x1a\x37.google.cloud.securitycenter.v1.ListMuteConfigsResponse\"\x86\x01\x82\xd3\xe4\x93\x02w\x12(/v1/{parent=organizations/*}/muteConfigsZ$\x12\"/v1/{parent=folders/*}/muteConfigsZ%\x12#/v1/{parent=projects/*}/muteConfigs\xda\x41\x06parent\x12\xbc\x02\n\x17ListNotificationConfigs\x12>.google.cloud.securitycenter.v1.ListNotificationConfigsRequest\x1a?.google.cloud.securitycenter.v1.ListNotificationConfigsResponse\"\x9f\x01\x82\xd3\xe4\x93\x02\x8f\x01\x12\x30/v1/{parent=organizations/*}/notificationConfigsZ,\x12*/v1/{parent=folders/*}/notificationConfigsZ-\x12+/v1/{parent=projects/*}/notificationConfigs\xda\x41\x06parent\x12\xf3\x03\n1ListEffectiveSecurityHealthAnalyticsCustomModules\x12X.google.cloud.securitycenter.v1.ListEffectiveSecurityHealthAnalyticsCustomModulesRequest\x1aY.google.cloud.securitycenter.v1.ListEffectiveSecurityHealthAnalyticsCustomModulesResponse\"\x88\x02\x82\xd3\xe4\x93\x02\xf8\x01\x12S/v1/{parent=organizations/*/securityHealthAnalyticsSettings}/effectiveCustomModulesZO\x12M/v1/{parent=folders/*/securityHealthAnalyticsSettings}/effectiveCustomModulesZP\x12N/v1/{parent=projects/*/securityHealthAnalyticsSettings}/effectiveCustomModules\xda\x41\x06parent\x12\xbd\x03\n(ListSecurityHealthAnalyticsCustomModules\x12O.google.cloud.securitycenter.v1.ListSecurityHealthAnalyticsCustomModulesRequest\x1aP.google.cloud.securitycenter.v1.ListSecurityHealthAnalyticsCustomModulesResponse\"\xed\x01\x82\xd3\xe4\x93\x02\xdd\x01\x12J/v1/{parent=organizations/*/securityHealthAnalyticsSettings}/customModulesZF\x12\x44/v1/{parent=folders/*/securityHealthAnalyticsSettings}/customModulesZG\x12\x45/v1/{parent=projects/*/securityHealthAnalyticsSettings}/customModules\xda\x41\x06parent\x12\xf2\x01\n\x0bListSources\x12\x32.google.cloud.securitycenter.v1.ListSourcesRequest\x1a\x33.google.cloud.securitycenter.v1.ListSourcesResponse\"z\x82\xd3\xe4\x93\x02k\x12$/v1/{parent=organizations/*}/sourcesZ \x12\x1e/v1/{parent=folders/*}/sourcesZ!\x12\x1f/v1/{parent=projects/*}/sources\xda\x41\x06parent\x12\x87\x02\n\x11RunAssetDiscovery\x12\x38.google.cloud.securitycenter.v1.RunAssetDiscoveryRequest\x1a\x1d.google.longrunning.Operation\"\x98\x01\x82\xd3\xe4\x93\x02\x35\"0/v1/{parent=organizations/*}/assets:runDiscovery:\x01*\xda\x41\x06parent\xca\x41Q\n8google.cloud.securitycenter.v1.RunAssetDiscoveryResponse\x12\x15google.protobuf.Empty\x12\xc4\x02\n\x0fSetFindingState\x12\x36.google.cloud.securitycenter.v1.SetFindingStateRequest\x1a\'.google.cloud.securitycenter.v1.Finding\"\xcf\x01\x82\xd3\xe4\x93\x02\xb0\x01\"8/v1/{name=organizations/*/sources/*/findings/*}:setState:\x01*Z7\"2/v1/{name=folders/*/sources/*/findings/*}:setState:\x01*Z8\"3/v1/{name=projects/*/sources/*/findings/*}:setState:\x01*\xda\x41\x15name,state,start_time\x12\xa5\x02\n\x07SetMute\x12..google.cloud.securitycenter.v1.SetMuteRequest\x1a\'.google.cloud.securitycenter.v1.Finding\"\xc0\x01\x82\xd3\xe4\x93\x02\xad\x01\"7/v1/{name=organizations/*/sources/*/findings/*}:setMute:\x01*Z6\"1/v1/{name=folders/*/sources/*/findings/*}:setMute:\x01*Z7\"2/v1/{name=projects/*/sources/*/findings/*}:setMute:\x01*\xda\x41\tname,mute\x12\x9d\x01\n\x0cSetIamPolicy\x12\".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"R\x82\xd3\xe4\x93\x02:\"5/v1/{resource=organizations/*/sources/*}:setIamPolicy:\x01*\xda\x41\x0fresource,policy\x12\xc8\x01\n\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse\"]\x82\xd3\xe4\x93\x02@\";/v1/{resource=organizations/*/sources/*}:testIamPermissions:\x01*\xda\x41\x14resource,permissions\x12\xd0\x03\n\x14UpdateExternalSystem\x12;.google.cloud.securitycenter.v1.UpdateExternalSystemRequest\x1a..google.cloud.securitycenter.v1.ExternalSystem\"\xca\x02\x82\xd3\xe4\x93\x02\xa5\x02\x32Q/v1/{external_system.name=organizations/*/sources/*/findings/*/externalSystems/*}:\x0f\x65xternal_systemZ^2K/v1/{external_system.name=folders/*/sources/*/findings/*/externalSystems/*}:\x0f\x65xternal_systemZ_2L/v1/{external_system.name=projects/*/sources/*/findings/*/externalSystems/*}:\x0f\x65xternal_system\xda\x41\x1b\x65xternal_system,update_mask\x12\xc1\x02\n\rUpdateFinding\x12\x34.google.cloud.securitycenter.v1.UpdateFindingRequest\x1a\'.google.cloud.securitycenter.v1.Finding\"\xd0\x01\x82\xd3\xe4\x93\x02\xbf\x01\x32\x37/v1/{finding.name=organizations/*/sources/*/findings/*}:\x07\x66indingZ<21/v1/{finding.name=folders/*/sources/*/findings/*}:\x07\x66indingZ=22/v1/{finding.name=projects/*/sources/*/findings/*}:\x07\x66inding\xda\x41\x07\x66inding\x12\xdd\x02\n\x10UpdateMuteConfig\x12\x37.google.cloud.securitycenter.v1.UpdateMuteConfigRequest\x1a*.google.cloud.securitycenter.v1.MuteConfig\"\xe3\x01\x82\xd3\xe4\x93\x02\xc2\x01\x32\x34/v1/{mute_config.name=organizations/*/muteConfigs/*}:\x0bmute_configZ=2./v1/{mute_config.name=folders/*/muteConfigs/*}:\x0bmute_configZ>2//v1/{mute_config.name=projects/*/muteConfigs/*}:\x0bmute_config\xda\x41\x17mute_config,update_mask\x12\xdb\x03\n\x18UpdateNotificationConfig\x12?.google.cloud.securitycenter.v1.UpdateNotificationConfigRequest\x1a\x32.google.cloud.securitycenter.v1.NotificationConfig\"\xc9\x02\x82\xd3\xe4\x93\x02\x8a\x02\x32\x44/v1/{notification_config.name=organizations/*/notificationConfigs/*}:\x13notification_configZU2>/v1/{notification_config.name=folders/*/notificationConfigs/*}:\x13notification_configZV2?/v1/{notification_config.name=projects/*/notificationConfigs/*}:\x13notification_config\xda\x41\x13notification_config\xda\x41\x1fnotification_config,update_mask\x12\x93\x02\n\x1aUpdateOrganizationSettings\x12\x41.google.cloud.securitycenter.v1.UpdateOrganizationSettingsRequest\x1a\x34.google.cloud.securitycenter.v1.OrganizationSettings\"|\x82\xd3\xe4\x93\x02^2E/v1/{organization_settings.name=organizations/*/organizationSettings}:\x15organization_settings\xda\x41\x15organization_settings\x12\xd4\x05\n)UpdateSecurityHealthAnalyticsCustomModule\x12P.google.cloud.securitycenter.v1.UpdateSecurityHealthAnalyticsCustomModuleRequest\x1a\x43.google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule\"\x8f\x04\x82\xd3\xe4\x93\x02\xd2\x03\x32r/v1/{security_health_analytics_custom_module.name=organizations/*/securityHealthAnalyticsSettings/customModules/*}:\'security_health_analytics_custom_moduleZ\x97\x01\x32l/v1/{security_health_analytics_custom_module.name=folders/*/securityHealthAnalyticsSettings/customModules/*}:\'security_health_analytics_custom_moduleZ\x98\x01\x32m/v1/{security_health_analytics_custom_module.name=projects/*/securityHealthAnalyticsSettings/customModules/*}:\'security_health_analytics_custom_module\xda\x41\x33security_health_analytics_custom_module,update_mask\x12\xb1\x01\n\x0cUpdateSource\x12\x33.google.cloud.securitycenter.v1.UpdateSourceRequest\x1a&.google.cloud.securitycenter.v1.Source\"D\x82\xd3\xe4\x93\x02\x35\x32+/v1/{source.name=organizations/*/sources/*}:\x06source\xda\x41\x06source\x12\x9f\x05\n\x13UpdateSecurityMarks\x12:.google.cloud.securitycenter.v1.UpdateSecurityMarksRequest\x1a-.google.cloud.securitycenter.v1.SecurityMarks\"\x9c\x04\x82\xd3\xe4\x93\x02\x84\x04\x32@/v1/{security_marks.name=organizations/*/assets/*/securityMarks}:\x0esecurity_marksZL2:/v1/{security_marks.name=folders/*/assets/*/securityMarks}:\x0esecurity_marksZM2;/v1/{security_marks.name=projects/*/assets/*/securityMarks}:\x0esecurity_marksZ^2L/v1/{security_marks.name=organizations/*/sources/*/findings/*/securityMarks}:\x0esecurity_marksZX2F/v1/{security_marks.name=folders/*/sources/*/findings/*/securityMarks}:\x0esecurity_marksZY2G/v1/{security_marks.name=projects/*/sources/*/findings/*/securityMarks}:\x0esecurity_marks\xda\x41\x0esecurity_marks\x12\xf4\x02\n\x14\x43reateBigQueryExport\x12;.google.cloud.securitycenter.v1.CreateBigQueryExportRequest\x1a..google.cloud.securitycenter.v1.BigQueryExport\"\xee\x01\x82\xd3\xe4\x93\x02\xb9\x01\",/v1/{parent=organizations/*}/bigQueryExports:\x10\x62ig_query_exportZ:\"&/v1/{parent=folders/*}/bigQueryExports:\x10\x62ig_query_exportZ;\"\'/v1/{parent=projects/*}/bigQueryExports:\x10\x62ig_query_export\xda\x41+parent,big_query_export,big_query_export_id\x12\xff\x01\n\x14\x44\x65leteBigQueryExport\x12;.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest\x1a\x16.google.protobuf.Empty\"\x91\x01\x82\xd3\xe4\x93\x02\x83\x01*,/v1/{name=organizations/*/bigQueryExports/*}Z(*&/v1/{name=folders/*/bigQueryExports/*}Z)*\'/v1/{name=projects/*/bigQueryExports/*}\xda\x41\x04name\x12\x98\x03\n\x14UpdateBigQueryExport\x12;.google.cloud.securitycenter.v1.UpdateBigQueryExportRequest\x1a..google.cloud.securitycenter.v1.BigQueryExport\"\x92\x02\x82\xd3\xe4\x93\x02\xec\x01\x32=/v1/{big_query_export.name=organizations/*/bigQueryExports/*}:\x10\x62ig_query_exportZK27/v1/{big_query_export.name=folders/*/bigQueryExports/*}:\x10\x62ig_query_exportZL28/v1/{big_query_export.name=projects/*/bigQueryExports/*}:\x10\x62ig_query_export\xda\x41\x1c\x62ig_query_export,update_mask\x12\xa4\x02\n\x13ListBigQueryExports\x12:.google.cloud.securitycenter.v1.ListBigQueryExportsRequest\x1a;.google.cloud.securitycenter.v1.ListBigQueryExportsResponse\"\x93\x01\x82\xd3\xe4\x93\x02\x83\x01\x12,/v1/{parent=organizations/*}/bigQueryExportsZ(\x12&/v1/{parent=folders/*}/bigQueryExportsZ)\x12\'/v1/{parent=projects/*}/bigQueryExports\xda\x41\x06parent\x1aQ\xca\x41\x1dsecuritycenter.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xd8\x01\n\"com.google.cloud.securitycenter.v1P\x01ZJcloud.google.com/go/securitycenter/apiv1/securitycenterpb;securitycenterpb\xaa\x02\x1eGoogle.Cloud.SecurityCenter.V1\xca\x02\x1eGoogle\\Cloud\\SecurityCenter\\V1\xea\x02!Google::Cloud::SecurityCenter::V1b\x06proto3"
35
+
36
+ pool = Google::Protobuf::DescriptorPool.generated_pool
37
+
38
+ begin
39
+ pool.add_serialized_file(descriptor_data)
40
+ rescue TypeError => e
41
+ # Compatibility code: will be removed in the next major version.
42
+ require 'google/protobuf/descriptor_pb'
43
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
44
+ parsed.clear_dependency
45
+ serialized = parsed.class.encode(parsed)
46
+ file = pool.add_serialized_file(serialized)
47
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
48
+ imports = [
49
+ ["google.cloud.securitycenter.v1.Finding", "google/cloud/securitycenter/v1/finding.proto"],
50
+ ["google.cloud.securitycenter.v1.MuteConfig", "google/cloud/securitycenter/v1/mute_config.proto"],
51
+ ["google.cloud.securitycenter.v1.NotificationConfig", "google/cloud/securitycenter/v1/notification_config.proto"],
52
+ ["google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule", "google/cloud/securitycenter/v1/security_health_analytics_custom_module.proto"],
53
+ ["google.cloud.securitycenter.v1.Source", "google/cloud/securitycenter/v1/source.proto"],
54
+ ["google.protobuf.Duration", "google/protobuf/duration.proto"],
55
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
56
+ ["google.protobuf.Value", "google/protobuf/struct.proto"],
57
+ ["google.cloud.securitycenter.v1.EffectiveSecurityHealthAnalyticsCustomModule", "google/cloud/securitycenter/v1/effective_security_health_analytics_custom_module.proto"],
58
+ ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
59
+ ["google.cloud.securitycenter.v1.Asset", "google/cloud/securitycenter/v1/asset.proto"],
60
+ ["google.cloud.securitycenter.v1.Folder", "google/cloud/securitycenter/v1/folder.proto"],
61
+ ["google.cloud.securitycenter.v1.ExternalSystem", "google/cloud/securitycenter/v1/external_system.proto"],
62
+ ["google.cloud.securitycenter.v1.OrganizationSettings", "google/cloud/securitycenter/v1/organization_settings.proto"],
63
+ ["google.cloud.securitycenter.v1.SecurityMarks", "google/cloud/securitycenter/v1/security_marks.proto"],
64
+ ["google.cloud.securitycenter.v1.BigQueryExport", "google/cloud/securitycenter/v1/bigquery_export.proto"],
65
+ ]
66
+ imports.each do |type_name, expected_filename|
67
+ import_file = pool.lookup(type_name).file_descriptor
68
+ if import_file.name != expected_filename
69
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
311
70
  end
312
71
  end
72
+ warn "Each proto file must use a consistent fully-qualified name."
73
+ warn "This will become an error in the next major version."
313
74
  end
314
75
 
315
76
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/securitycenter/v1/source.proto
3
4
 
@@ -5,15 +6,31 @@ require 'google/protobuf'
5
6
 
6
7
  require 'google/api/resource_pb'
7
8
 
8
- Google::Protobuf::DescriptorPool.generated_pool.build do
9
- add_file("google/cloud/securitycenter/v1/source.proto", :syntax => :proto3) do
10
- add_message "google.cloud.securitycenter.v1.Source" do
11
- optional :name, :string, 1
12
- optional :display_name, :string, 2
13
- optional :description, :string, 3
14
- optional :canonical_name, :string, 14
9
+
10
+ descriptor_data = "\n+google/cloud/securitycenter/v1/source.proto\x12\x1egoogle.cloud.securitycenter.v1\x1a\x19google/api/resource.proto\"\xfd\x01\n\x06Source\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x16\n\x0e\x63\x61nonical_name\x18\x0e \x01(\t:\xa1\x01\xea\x41\x9d\x01\n$securitycenter.googleapis.com/Source\x12-organizations/{organization}/sources/{source}\x12!folders/{folder}/sources/{source}\x12#projects/{project}/sources/{source}B\xd8\x01\n\"com.google.cloud.securitycenter.v1P\x01ZJcloud.google.com/go/securitycenter/apiv1/securitycenterpb;securitycenterpb\xaa\x02\x1eGoogle.Cloud.SecurityCenter.V1\xca\x02\x1eGoogle\\Cloud\\SecurityCenter\\V1\xea\x02!Google::Cloud::SecurityCenter::V1b\x06proto3"
11
+
12
+ pool = Google::Protobuf::DescriptorPool.generated_pool
13
+
14
+ begin
15
+ pool.add_serialized_file(descriptor_data)
16
+ rescue TypeError => e
17
+ # Compatibility code: will be removed in the next major version.
18
+ require 'google/protobuf/descriptor_pb'
19
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
20
+ parsed.clear_dependency
21
+ serialized = parsed.class.encode(parsed)
22
+ file = pool.add_serialized_file(serialized)
23
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
24
+ imports = [
25
+ ]
26
+ imports.each do |type_name, expected_filename|
27
+ import_file = pool.lookup(type_name).file_descriptor
28
+ if import_file.name != expected_filename
29
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
15
30
  end
16
31
  end
32
+ warn "Each proto file must use a consistent fully-qualified name."
33
+ warn "This will become an error in the next major version."
17
34
  end
18
35
 
19
36
  module Google
@@ -1,69 +1,34 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/securitycenter/v1/vulnerability.proto
3
4
 
4
5
  require 'google/protobuf'
5
6
 
6
- Google::Protobuf::DescriptorPool.generated_pool.build do
7
- add_file("google/cloud/securitycenter/v1/vulnerability.proto", :syntax => :proto3) do
8
- add_message "google.cloud.securitycenter.v1.Vulnerability" do
9
- optional :cve, :message, 1, "google.cloud.securitycenter.v1.Cve"
10
- end
11
- add_message "google.cloud.securitycenter.v1.Cve" do
12
- optional :id, :string, 1
13
- repeated :references, :message, 2, "google.cloud.securitycenter.v1.Reference"
14
- optional :cvssv3, :message, 3, "google.cloud.securitycenter.v1.Cvssv3"
15
- optional :upstream_fix_available, :bool, 4
16
- end
17
- add_message "google.cloud.securitycenter.v1.Reference" do
18
- optional :source, :string, 1
19
- optional :uri, :string, 2
20
- end
21
- add_message "google.cloud.securitycenter.v1.Cvssv3" do
22
- optional :base_score, :double, 1
23
- optional :attack_vector, :enum, 5, "google.cloud.securitycenter.v1.Cvssv3.AttackVector"
24
- optional :attack_complexity, :enum, 6, "google.cloud.securitycenter.v1.Cvssv3.AttackComplexity"
25
- optional :privileges_required, :enum, 7, "google.cloud.securitycenter.v1.Cvssv3.PrivilegesRequired"
26
- optional :user_interaction, :enum, 8, "google.cloud.securitycenter.v1.Cvssv3.UserInteraction"
27
- optional :scope, :enum, 9, "google.cloud.securitycenter.v1.Cvssv3.Scope"
28
- optional :confidentiality_impact, :enum, 10, "google.cloud.securitycenter.v1.Cvssv3.Impact"
29
- optional :integrity_impact, :enum, 11, "google.cloud.securitycenter.v1.Cvssv3.Impact"
30
- optional :availability_impact, :enum, 12, "google.cloud.securitycenter.v1.Cvssv3.Impact"
31
- end
32
- add_enum "google.cloud.securitycenter.v1.Cvssv3.AttackVector" do
33
- value :ATTACK_VECTOR_UNSPECIFIED, 0
34
- value :ATTACK_VECTOR_NETWORK, 1
35
- value :ATTACK_VECTOR_ADJACENT, 2
36
- value :ATTACK_VECTOR_LOCAL, 3
37
- value :ATTACK_VECTOR_PHYSICAL, 4
38
- end
39
- add_enum "google.cloud.securitycenter.v1.Cvssv3.AttackComplexity" do
40
- value :ATTACK_COMPLEXITY_UNSPECIFIED, 0
41
- value :ATTACK_COMPLEXITY_LOW, 1
42
- value :ATTACK_COMPLEXITY_HIGH, 2
43
- end
44
- add_enum "google.cloud.securitycenter.v1.Cvssv3.PrivilegesRequired" do
45
- value :PRIVILEGES_REQUIRED_UNSPECIFIED, 0
46
- value :PRIVILEGES_REQUIRED_NONE, 1
47
- value :PRIVILEGES_REQUIRED_LOW, 2
48
- value :PRIVILEGES_REQUIRED_HIGH, 3
49
- end
50
- add_enum "google.cloud.securitycenter.v1.Cvssv3.UserInteraction" do
51
- value :USER_INTERACTION_UNSPECIFIED, 0
52
- value :USER_INTERACTION_NONE, 1
53
- value :USER_INTERACTION_REQUIRED, 2
54
- end
55
- add_enum "google.cloud.securitycenter.v1.Cvssv3.Scope" do
56
- value :SCOPE_UNSPECIFIED, 0
57
- value :SCOPE_UNCHANGED, 1
58
- value :SCOPE_CHANGED, 2
59
- end
60
- add_enum "google.cloud.securitycenter.v1.Cvssv3.Impact" do
61
- value :IMPACT_UNSPECIFIED, 0
62
- value :IMPACT_HIGH, 1
63
- value :IMPACT_LOW, 2
64
- value :IMPACT_NONE, 3
7
+
8
+ descriptor_data = "\n2google/cloud/securitycenter/v1/vulnerability.proto\x12\x1egoogle.cloud.securitycenter.v1\"A\n\rVulnerability\x12\x30\n\x03\x63ve\x18\x01 \x01(\x0b\x32#.google.cloud.securitycenter.v1.Cve\"\xa8\x01\n\x03\x43ve\x12\n\n\x02id\x18\x01 \x01(\t\x12=\n\nreferences\x18\x02 \x03(\x0b\x32).google.cloud.securitycenter.v1.Reference\x12\x36\n\x06\x63vssv3\x18\x03 \x01(\x0b\x32&.google.cloud.securitycenter.v1.Cvssv3\x12\x1e\n\x16upstream_fix_available\x18\x04 \x01(\x08\"(\n\tReference\x12\x0e\n\x06source\x18\x01 \x01(\t\x12\x0b\n\x03uri\x18\x02 \x01(\t\"\xb1\n\n\x06\x43vssv3\x12\x12\n\nbase_score\x18\x01 \x01(\x01\x12J\n\rattack_vector\x18\x05 \x01(\x0e\x32\x33.google.cloud.securitycenter.v1.Cvssv3.AttackVector\x12R\n\x11\x61ttack_complexity\x18\x06 \x01(\x0e\x32\x37.google.cloud.securitycenter.v1.Cvssv3.AttackComplexity\x12V\n\x13privileges_required\x18\x07 \x01(\x0e\x32\x39.google.cloud.securitycenter.v1.Cvssv3.PrivilegesRequired\x12P\n\x10user_interaction\x18\x08 \x01(\x0e\x32\x36.google.cloud.securitycenter.v1.Cvssv3.UserInteraction\x12;\n\x05scope\x18\t \x01(\x0e\x32,.google.cloud.securitycenter.v1.Cvssv3.Scope\x12M\n\x16\x63onfidentiality_impact\x18\n \x01(\x0e\x32-.google.cloud.securitycenter.v1.Cvssv3.Impact\x12G\n\x10integrity_impact\x18\x0b \x01(\x0e\x32-.google.cloud.securitycenter.v1.Cvssv3.Impact\x12J\n\x13\x61vailability_impact\x18\x0c \x01(\x0e\x32-.google.cloud.securitycenter.v1.Cvssv3.Impact\"\x99\x01\n\x0c\x41ttackVector\x12\x1d\n\x19\x41TTACK_VECTOR_UNSPECIFIED\x10\x00\x12\x19\n\x15\x41TTACK_VECTOR_NETWORK\x10\x01\x12\x1a\n\x16\x41TTACK_VECTOR_ADJACENT\x10\x02\x12\x17\n\x13\x41TTACK_VECTOR_LOCAL\x10\x03\x12\x1a\n\x16\x41TTACK_VECTOR_PHYSICAL\x10\x04\"l\n\x10\x41ttackComplexity\x12!\n\x1d\x41TTACK_COMPLEXITY_UNSPECIFIED\x10\x00\x12\x19\n\x15\x41TTACK_COMPLEXITY_LOW\x10\x01\x12\x1a\n\x16\x41TTACK_COMPLEXITY_HIGH\x10\x02\"\x92\x01\n\x12PrivilegesRequired\x12#\n\x1fPRIVILEGES_REQUIRED_UNSPECIFIED\x10\x00\x12\x1c\n\x18PRIVILEGES_REQUIRED_NONE\x10\x01\x12\x1b\n\x17PRIVILEGES_REQUIRED_LOW\x10\x02\x12\x1c\n\x18PRIVILEGES_REQUIRED_HIGH\x10\x03\"m\n\x0fUserInteraction\x12 \n\x1cUSER_INTERACTION_UNSPECIFIED\x10\x00\x12\x19\n\x15USER_INTERACTION_NONE\x10\x01\x12\x1d\n\x19USER_INTERACTION_REQUIRED\x10\x02\"F\n\x05Scope\x12\x15\n\x11SCOPE_UNSPECIFIED\x10\x00\x12\x13\n\x0fSCOPE_UNCHANGED\x10\x01\x12\x11\n\rSCOPE_CHANGED\x10\x02\"R\n\x06Impact\x12\x16\n\x12IMPACT_UNSPECIFIED\x10\x00\x12\x0f\n\x0bIMPACT_HIGH\x10\x01\x12\x0e\n\nIMPACT_LOW\x10\x02\x12\x0f\n\x0bIMPACT_NONE\x10\x03\x42\xec\x01\n\"com.google.cloud.securitycenter.v1B\x12VulnerabilityProtoP\x01ZJcloud.google.com/go/securitycenter/apiv1/securitycenterpb;securitycenterpb\xaa\x02\x1eGoogle.Cloud.SecurityCenter.V1\xca\x02\x1eGoogle\\Cloud\\SecurityCenter\\V1\xea\x02!Google::Cloud::SecurityCenter::V1b\x06proto3"
9
+
10
+ pool = Google::Protobuf::DescriptorPool.generated_pool
11
+
12
+ begin
13
+ pool.add_serialized_file(descriptor_data)
14
+ rescue TypeError => e
15
+ # Compatibility code: will be removed in the next major version.
16
+ require 'google/protobuf/descriptor_pb'
17
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
18
+ parsed.clear_dependency
19
+ serialized = parsed.class.encode(parsed)
20
+ file = pool.add_serialized_file(serialized)
21
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
22
+ imports = [
23
+ ]
24
+ imports.each do |type_name, expected_filename|
25
+ import_file = pool.lookup(type_name).file_descriptor
26
+ if import_file.name != expected_filename
27
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
65
28
  end
66
29
  end
30
+ warn "Each proto file must use a consistent fully-qualified name."
31
+ warn "This will become an error in the next major version."
67
32
  end
68
33
 
69
34
  module Google
@@ -83,7 +83,7 @@ module Google
83
83
  # long-running operation pattern.
84
84
  # @!attribute [rw] new_issue_uri
85
85
  # @return [::String]
86
- # Link to a place that API users can report issues. Example:
86
+ # Link to a *public* URI where users can report issues. Example:
87
87
  # https://issuetracker.google.com/issues/new?component=190865&template=1161103
88
88
  # @!attribute [rw] documentation_uri
89
89
  # @return [::String]
@@ -353,6 +353,15 @@ module Google
353
353
 
354
354
  # Street View Org.
355
355
  STREET_VIEW = 4
356
+
357
+ # Shopping Org.
358
+ SHOPPING = 5
359
+
360
+ # Geo Org.
361
+ GEO = 6
362
+
363
+ # Generative AI - https://developers.generativeai.google
364
+ GENERATIVE_AI = 7
356
365
  end
357
366
 
358
367
  # To where should client libraries be published?
@@ -43,8 +43,12 @@ module Google
43
43
  # if (any.is(Foo.class)) {
44
44
  # foo = any.unpack(Foo.class);
45
45
  # }
46
+ # // or ...
47
+ # if (any.isSameTypeAs(Foo.getDefaultInstance())) {
48
+ # foo = any.unpack(Foo.getDefaultInstance());
49
+ # }
46
50
  #
47
- # Example 3: Pack and unpack a message in Python.
51
+ # Example 3: Pack and unpack a message in Python.
48
52
  #
49
53
  # foo = Foo(...)
50
54
  # any = Any()
@@ -54,7 +58,7 @@ module Google
54
58
  # any.Unpack(foo)
55
59
  # ...
56
60
  #
57
- # Example 4: Pack and unpack a message in Go
61
+ # Example 4: Pack and unpack a message in Go
58
62
  #
59
63
  # foo := &pb.Foo{...}
60
64
  # any, err := anypb.New(foo)
@@ -73,9 +77,8 @@ module Google
73
77
  # in the type URL, for example "foo.bar.com/x/y.z" will yield type
74
78
  # name "y.z".
75
79
  #
76
- #
77
80
  # JSON
78
- #
81
+ # ====
79
82
  # The JSON representation of an `Any` value uses the regular
80
83
  # representation of the deserialized, embedded message, with an
81
84
  # additional field `@type` which contains the type URL. Example:
@@ -87,7 +87,7 @@ module Google
87
87
  # `NullValue` is a singleton enumeration to represent the null value for the
88
88
  # `Value` type union.
89
89
  #
90
- # The JSON representation for `NullValue` is JSON `null`.
90
+ # The JSON representation for `NullValue` is JSON `null`.
91
91
  module NullValue
92
92
  # Null value.
93
93
  NULL_VALUE = 0