google-cloud-security_center_management-v1 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -21,6 +21,103 @@ module Google
21
21
  module Cloud
22
22
  module SecurityCenterManagement
23
23
  module V1
24
+ # Represents a particular Security Command Center service. This includes
25
+ # settings information such as top-level enablement in addition to individual
26
+ # module settings. Service settings can be configured at the organization,
27
+ # folder, or project level. Service settings at the organization or folder
28
+ # level are inherited by those in child folders and projects.
29
+ # @!attribute [rw] name
30
+ # @return [::String]
31
+ # Identifier. The name of the service.
32
+ #
33
+ # Its format is:
34
+ #
35
+ # * organizations/\\{organization}/locations/\\{location}/securityCenterServices/\\{service}
36
+ # * folders/\\{folder}/locations/\\{location}/securityCenterServices/\\{service}
37
+ # * projects/\\{project}/locations/\\{location}/securityCenterServices/\\{service}
38
+ #
39
+ # The possible values for id \\{service} are:
40
+ #
41
+ # * container-threat-detection
42
+ # * event-threat-detection
43
+ # * security-health-analytics
44
+ # * vm-threat-detection
45
+ # * web-security-scanner
46
+ # @!attribute [rw] intended_enablement_state
47
+ # @return [::Google::Cloud::SecurityCenterManagement::V1::SecurityCenterService::EnablementState]
48
+ # Optional. The intended state of enablement for the service at its level of
49
+ # the resource hierarchy. A DISABLED state will override all module
50
+ # enablement_states to DISABLED.
51
+ # @!attribute [r] effective_enablement_state
52
+ # @return [::Google::Cloud::SecurityCenterManagement::V1::SecurityCenterService::EnablementState]
53
+ # Output only. The effective enablement state for the service at its level of
54
+ # the resource hierarchy. If the intended state is set to INHERITED, the
55
+ # effective state will be inherited from the enablement state of an ancestor.
56
+ # This state may differ from the intended enablement state due to billing
57
+ # eligibility or onboarding status.
58
+ # @!attribute [rw] modules
59
+ # @return [::Google::Protobuf::Map{::String => ::Google::Cloud::SecurityCenterManagement::V1::SecurityCenterService::ModuleSettings}]
60
+ # Optional. The configurations including the state of enablement for the
61
+ # service's different modules. The absence of a module in the map implies its
62
+ # configuration is inherited from its parents.
63
+ # @!attribute [r] update_time
64
+ # @return [::Google::Protobuf::Timestamp]
65
+ # Output only. The time the service was last updated. This could be due to an
66
+ # explicit user update or due to a side effect of another system change such
67
+ # as billing subscription expiry.
68
+ # @!attribute [rw] service_config
69
+ # @return [::Google::Protobuf::Struct]
70
+ # Optional. Additional service specific configuration. Not all services will
71
+ # utilize this field.
72
+ class SecurityCenterService
73
+ include ::Google::Protobuf::MessageExts
74
+ extend ::Google::Protobuf::MessageExts::ClassMethods
75
+
76
+ # The settings for individual modules.
77
+ # @!attribute [rw] intended_enablement_state
78
+ # @return [::Google::Cloud::SecurityCenterManagement::V1::SecurityCenterService::EnablementState]
79
+ # Optional. The intended state of enablement for the module at its level of
80
+ # the resource hierarchy.
81
+ # @!attribute [r] effective_enablement_state
82
+ # @return [::Google::Cloud::SecurityCenterManagement::V1::SecurityCenterService::EnablementState]
83
+ # Output only. The effective enablement state for the module at its level
84
+ # of the resource hierarchy. If the intended state is set to INHERITED, the
85
+ # effective state will be inherited from the enablement state of an
86
+ # ancestor. This state may
87
+ # differ from the intended enablement state due to billing eligibility or
88
+ # onboarding status.
89
+ class ModuleSettings
90
+ include ::Google::Protobuf::MessageExts
91
+ extend ::Google::Protobuf::MessageExts::ClassMethods
92
+ end
93
+
94
+ # @!attribute [rw] key
95
+ # @return [::String]
96
+ # @!attribute [rw] value
97
+ # @return [::Google::Cloud::SecurityCenterManagement::V1::SecurityCenterService::ModuleSettings]
98
+ class ModulesEntry
99
+ include ::Google::Protobuf::MessageExts
100
+ extend ::Google::Protobuf::MessageExts::ClassMethods
101
+ end
102
+
103
+ # Represents the possible intended states of enablement for a service or
104
+ # module.
105
+ module EnablementState
106
+ # Default value. This value is unused.
107
+ ENABLEMENT_STATE_UNSPECIFIED = 0
108
+
109
+ # State is inherited from the parent resource. Not a valid effective
110
+ # enablement state.
111
+ INHERITED = 1
112
+
113
+ # State is enabled.
114
+ ENABLED = 2
115
+
116
+ # State is disabled.
117
+ DISABLED = 3
118
+ end
119
+ end
120
+
24
121
  # An EffectiveSecurityHealthAnalyticsCustomModule is the representation of
25
122
  # a Security Health Analytics custom module at a specified level of the
26
123
  # resource hierarchy: organization, folder, or project. If a custom module is
@@ -32,13 +129,12 @@ module Google
32
129
  # also `enabled`. EffectiveSecurityHealthAnalyticsCustomModule is read-only.
33
130
  # @!attribute [rw] name
34
131
  # @return [::String]
35
- # Identifier. The resource name of the custom module.
36
- # Its format is
37
- # "organizations/\\{organization}/locations/\\{location}/effectiveSecurityHealthAnalyticsCustomModules/\\{effective_security_health_analytics_custom_module}",
38
- # or
39
- # "folders/\\{folder}/locations/\\{location}/effectiveSecurityHealthAnalyticsCustomModules/\\{effective_security_health_analytics_custom_module}",
40
- # or
41
- # "projects/\\{project}/locations/\\{location}/effectiveSecurityHealthAnalyticsCustomModules/\\{effective_security_health_analytics_custom_module}"
132
+ # Identifier. The full resource name of the custom module, specified in one
133
+ # of the following formats:
134
+ #
135
+ # * `organizations/organization/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}`
136
+ # * `folders/folder/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}`
137
+ # * `projects/project/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}`
42
138
  # @!attribute [r] custom_config
43
139
  # @return [::Google::Cloud::SecurityCenterManagement::V1::CustomConfig]
44
140
  # Output only. The user-specified configuration for the module.
@@ -72,11 +168,12 @@ module Google
72
168
  # modules.
73
169
  # @!attribute [rw] parent
74
170
  # @return [::String]
75
- # Required. Name of parent to list effective custom modules. Its format is
76
- # "organizations/\\{organization}/locations/\\{location}",
77
- # "folders/\\{folder}/locations/\\{location}",
171
+ # Required. Name of parent to list effective custom modules. specified in one
172
+ # of the following formats:
173
+ # * `organizations/{organization}/locations/{location}`
174
+ # * `folders/{folder}/locations/{location}`
78
175
  # or
79
- # "projects/\\{project}/locations/\\{location}"
176
+ # `projects/{project}/locations/{location}`
80
177
  # @!attribute [rw] page_size
81
178
  # @return [::Integer]
82
179
  # Optional. The maximum number of results to return in a single response.
@@ -105,13 +202,12 @@ module Google
105
202
  # Message for getting a EffectiveSecurityHealthAnalyticsCustomModule
106
203
  # @!attribute [rw] name
107
204
  # @return [::String]
108
- # Required. The resource name of the SHA custom module.
109
- #
110
- # Its format is:
205
+ # Required. The full resource name of the custom module, specified in one of
206
+ # the following formats:
111
207
  #
112
- # * "organizations/\\{organization}/locations/\\{location}/effectiveSecurityHealthAnalyticsCustomModules/\\{module_id}".
113
- # * "folders/\\{folder}/locations/\\{location}/effectiveSecurityHealthAnalyticsCustomModules/\\{module_id}".
114
- # * "projects/\\{project}/locations/\\{location}/effectiveSecurityHealthAnalyticsCustomModules/\\{module_id}".
208
+ # * `organizations/organization/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}`
209
+ # * `folders/folder/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}`
210
+ # * `projects/project/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}`
115
211
  class GetEffectiveSecurityHealthAnalyticsCustomModuleRequest
116
212
  include ::Google::Protobuf::MessageExts
117
213
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -124,16 +220,11 @@ module Google
124
220
  # level are inherited by the child folders and projects.
125
221
  # @!attribute [rw] name
126
222
  # @return [::String]
127
- # Identifier. The resource name of the custom module.
128
- # Its format is
129
- # "organizations/\\{organization}/locations/\\{location}/securityHealthAnalyticsCustomModules/\\{security_health_analytics_custom_module}",
130
- # or
131
- # "folders/\\{folder}/locations/\\{location}/securityHealthAnalyticsCustomModules/\\{security_health_analytics_custom_module}",
132
- # or
133
- # "projects/\\{project}/locations/\\{location}/securityHealthAnalyticsCustomModules/\\{security_health_analytics_custom_module}"
134
- #
135
- # The id \\{customModule} is server-generated and is not user settable.
136
- # It will be a numeric id containing 1-20 digits.
223
+ # Identifier. The full resource name of the custom module, specified in one
224
+ # of the following formats:
225
+ # * `organizations/{organization}/locations/{location}/securityHealthAnalyticsCustomModules/{security_health_analytics_custom_module}`
226
+ # * `folders/{folder}/locations/{location}/securityHealthAnalyticsCustomModules/{security_health_analytics_custom_module}`
227
+ # * `projects/{project}/locations/{location}/securityHealthAnalyticsCustomModules/{security_health_analytics_custom_module}`
137
228
  # @!attribute [rw] display_name
138
229
  # @return [::String]
139
230
  # Optional. The display name of the Security Health Analytics custom module.
@@ -275,11 +366,12 @@ module Google
275
366
  # Request message for listing Security Health Analytics custom modules.
276
367
  # @!attribute [rw] parent
277
368
  # @return [::String]
278
- # Required. Name of parent to list custom modules. Its format is
279
- # "organizations/\\{organization}/locations/\\{location}",
280
- # "folders/\\{folder}/locations/\\{location}",
281
- # or
282
- # "projects/\\{project}/locations/\\{location}"
369
+ # Required. Name of parent organization, folder, or project in which to list
370
+ # custom modules, specified in one of the following formats:
371
+ #
372
+ # * `organizations/{organization}/locations/{location}`
373
+ # * `folders/{folder}/locations/{location}`
374
+ # * `projects/{project}/locations/{location}`
283
375
  # @!attribute [rw] page_size
284
376
  # @return [::Integer]
285
377
  # Optional. The maximum number of results to return in a single response.
@@ -308,11 +400,12 @@ module Google
308
400
  # modules.
309
401
  # @!attribute [rw] parent
310
402
  # @return [::String]
311
- # Required. Name of parent to list custom modules. Its format is
312
- # "organizations/\\{organization}/locations/\\{location}",
313
- # "folders/\\{folder}/locations/\\{location}",
314
- # or
315
- # "projects/\\{project}/locations/\\{location}"
403
+ # Required. Name of the parent organization, folder, or project in which to
404
+ # list custom modules, specified in one of the following formats:
405
+ #
406
+ # * `organizations/{organization}/locations/{location}`
407
+ # * `folders/{folder}/locations/{location}`
408
+ # * `projects/{project}/locations/{location}`
316
409
  # @!attribute [rw] page_size
317
410
  # @return [::Integer]
318
411
  # Optional. The maximum number of results to return in a single response.
@@ -350,11 +443,12 @@ module Google
350
443
  # Message for creating a SecurityHealthAnalyticsCustomModule
351
444
  # @!attribute [rw] parent
352
445
  # @return [::String]
353
- # Required. Name of the parent for the module. Its format is
354
- # "organizations/\\{organization}/locations/\\{location}",
355
- # "folders/\\{folder}/locations/\\{location}",
356
- # or
357
- # "projects/\\{project}/locations/\\{location}"
446
+ # Required. Name of the parent organization, folder, or project of the
447
+ # module, specified in one of the following formats:
448
+ #
449
+ # * `organizations/{organization}/locations/{location}`
450
+ # * `folders/{folder}/locations/{location}`
451
+ # * `projects/{project}/locations/{location}`
358
452
  # @!attribute [rw] security_health_analytics_custom_module
359
453
  # @return [::Google::Cloud::SecurityCenterManagement::V1::SecurityHealthAnalyticsCustomModule]
360
454
  # Required. The resource being created
@@ -404,9 +498,9 @@ module Google
404
498
  #
405
499
  # Its format is:
406
500
  #
407
- # * "organizations/\\{organization}/locations/\\{location}/securityHealthAnalyticsCustomModules/\\{security_health_analytics_custom_module}".
408
- # * "folders/\\{folder}/locations/\\{location}/securityHealthAnalyticsCustomModules/\\{security_health_analytics_custom_module}".
409
- # * "projects/\\{project}/locations/\\{location}/securityHealthAnalyticsCustomModules/\\{security_health_analytics_custom_module}".
501
+ # * `organizations/{organization}/locations/{location}/securityHealthAnalyticsCustomModules/{security_health_analytics_custom_module}`.
502
+ # * `folders/{folder}/locations/{location}/securityHealthAnalyticsCustomModules/{security_health_analytics_custom_module}`.
503
+ # * `projects/{project}/locations/{location}/securityHealthAnalyticsCustomModules/{security_health_analytics_custom_module}`.
410
504
  # @!attribute [rw] validate_only
411
505
  # @return [::Boolean]
412
506
  # Optional. When set to true, only validations (including IAM checks) will
@@ -467,16 +561,16 @@ module Google
467
561
  # Identifier. The [relative resource
468
562
  # name](https://cloud.google.com/apis/design/resource_names#relative_resource_name)
469
563
  # of the finding. Example:
470
- # "organizations/\\{organization_id}/sources/\\{source_id}/findings/\\{finding_id}",
471
- # "folders/\\{folder_id}/sources/\\{source_id}/findings/\\{finding_id}",
472
- # "projects/\\{project_id}/sources/\\{source_id}/findings/\\{finding_id}".
564
+ # `organizations/{organization_id}/sources/{source_id}/findings/{finding_id}`,
565
+ # `folders/{folder_id}/sources/{source_id}/findings/{finding_id}`,
566
+ # `projects/{project_id}/sources/{source_id}/findings/{finding_id}`.
473
567
  # @!attribute [rw] parent
474
568
  # @return [::String]
475
569
  # The relative resource name of the source the finding belongs to. See:
476
570
  # https://cloud.google.com/apis/design/resource_names#relative_resource_name
477
571
  # This field is immutable after creation time.
478
572
  # For example:
479
- # "organizations/\\{organization_id}/sources/\\{source_id}"
573
+ # `organizations/{organization_id}/sources/{source_id}`
480
574
  # @!attribute [rw] resource_name
481
575
  # @return [::String]
482
576
  # For findings on Google Cloud resources, the full resource
@@ -668,9 +762,9 @@ module Google
668
762
  #
669
763
  # Its format is:
670
764
  #
671
- # * "organizations/\\{organization}/locations/\\{location}/effectiveEventThreatDetectionCustomModules/\\{effective_event_threat_detection_custom_module}".
672
- # * "folders/\\{folder}/locations/\\{location}/effectiveEventThreatDetectionCustomModules/\\{effective_event_threat_detection_custom_module}".
673
- # * "projects/\\{project}/locations/\\{location}/effectiveEventThreatDetectionCustomModules/\\{effective_event_threat_detection_custom_module}".
765
+ # * `organizations/{organization}/locations/{location}/effectiveEventThreatDetectionCustomModules/{effective_event_threat_detection_custom_module}`.
766
+ # * `folders/{folder}/locations/{location}/effectiveEventThreatDetectionCustomModules/{effective_event_threat_detection_custom_module}`.
767
+ # * `projects/{project}/locations/{location}/effectiveEventThreatDetectionCustomModules/{effective_event_threat_detection_custom_module}`.
674
768
  # @!attribute [r] config
675
769
  # @return [::Google::Protobuf::Struct]
676
770
  # Output only. Config for the effective module.
@@ -709,10 +803,10 @@ module Google
709
803
  # @!attribute [rw] parent
710
804
  # @return [::String]
711
805
  # Required. Name of parent to list effective custom modules. Its format is
712
- # "organizations/\\{organization}/locations/\\{location}",
713
- # "folders/\\{folder}/locations/\\{location}",
806
+ # `organizations/{organization}/locations/{location}`,
807
+ # `folders/{folder}/locations/{location}`,
714
808
  # or
715
- # "projects/\\{project}/locations/\\{location}"
809
+ # `projects/{project}/locations/{location}`
716
810
  # @!attribute [rw] page_size
717
811
  # @return [::Integer]
718
812
  # Optional. The maximum number of results to return in a single response.
@@ -745,9 +839,9 @@ module Google
745
839
  #
746
840
  # Its format is:
747
841
  #
748
- # * "organizations/\\{organization}/locations/\\{location}/effectiveEventThreatDetectionCustomModules/\\{effective_event_threat_detection_custom_module}".
749
- # * "folders/\\{folder}/locations/\\{location}/effectiveEventThreatDetectionCustomModules/\\{effective_event_threat_detection_custom_module}".
750
- # * "projects/\\{project}/locations/\\{location}/effectiveEventThreatDetectionCustomModules/\\{effective_event_threat_detection_custom_module}".
842
+ # * `organizations/{organization}/locations/{location}/effectiveEventThreatDetectionCustomModules/{effective_event_threat_detection_custom_module}`.
843
+ # * `folders/{folder}/locations/{location}/effectiveEventThreatDetectionCustomModules/{effective_event_threat_detection_custom_module}`.
844
+ # * `projects/{project}/locations/{location}/effectiveEventThreatDetectionCustomModules/{effective_event_threat_detection_custom_module}`.
751
845
  class GetEffectiveEventThreatDetectionCustomModuleRequest
752
846
  include ::Google::Protobuf::MessageExts
753
847
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -762,9 +856,9 @@ module Google
762
856
  #
763
857
  # Its format is:
764
858
  #
765
- # * "organizations/\\{organization}/locations/\\{location}/eventThreatDetectionCustomModules/\\{event_threat_detection_custom_module}".
766
- # * "folders/\\{folder}/locations/\\{location}/eventThreatDetectionCustomModules/\\{event_threat_detection_custom_module}".
767
- # * "projects/\\{project}/locations/\\{location}/eventThreatDetectionCustomModules/\\{event_threat_detection_custom_module}".
859
+ # * `organizations/{organization}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}`.
860
+ # * `folders/{folder}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}`.
861
+ # * `projects/{project}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}`.
768
862
  # @!attribute [rw] config
769
863
  # @return [::Google::Protobuf::Struct]
770
864
  # Optional. Config for the module. For the resident module, its config value
@@ -823,10 +917,10 @@ module Google
823
917
  # @!attribute [rw] parent
824
918
  # @return [::String]
825
919
  # Required. Name of parent to list custom modules. Its format is
826
- # "organizations/\\{organization}/locations/\\{location}",
827
- # "folders/\\{folder}/locations/\\{location}",
920
+ # `organizations/{organization}/locations/{location}`,
921
+ # `folders/{folder}/locations/{location}`,
828
922
  # or
829
- # "projects/\\{project}/locations/\\{location}"
923
+ # `projects/{project}/locations/{location}`
830
924
  # @!attribute [rw] page_size
831
925
  # @return [::Integer]
832
926
  # Optional. The maximum number of modules to return. The service may return
@@ -863,10 +957,10 @@ module Google
863
957
  # @!attribute [rw] parent
864
958
  # @return [::String]
865
959
  # Required. Name of parent to list custom modules. Its format is
866
- # "organizations/\\{organization}/locations/\\{location}",
867
- # "folders/\\{folder}/locations/\\{location}",
960
+ # `organizations/{organization}/locations/{location}`,
961
+ # `folders/{folder}/locations/{location}`,
868
962
  # or
869
- # "projects/\\{project}/locations/\\{location}"
963
+ # `projects/{project}/locations/{location}`
870
964
  # @!attribute [rw] page_size
871
965
  # @return [::Integer]
872
966
  # Optional. The maximum number of modules to return. The service may return
@@ -900,9 +994,9 @@ module Google
900
994
  #
901
995
  # Its format is:
902
996
  #
903
- # * "organizations/\\{organization}/locations/\\{location}/eventThreatDetectionCustomModules/\\{event_threat_detection_custom_module}".
904
- # * "folders/\\{folder}/locations/\\{location}/eventThreatDetectionCustomModules/\\{event_threat_detection_custom_module}".
905
- # * "projects/\\{project}/locations/\\{location}/eventThreatDetectionCustomModules/\\{event_threat_detection_custom_module}".
997
+ # * `organizations/{organization}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}`.
998
+ # * `folders/{folder}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}`.
999
+ # * `projects/{project}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}`.
906
1000
  class GetEventThreatDetectionCustomModuleRequest
907
1001
  include ::Google::Protobuf::MessageExts
908
1002
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -912,10 +1006,10 @@ module Google
912
1006
  # @!attribute [rw] parent
913
1007
  # @return [::String]
914
1008
  # Required. Name of parent for the module. Its format is
915
- # "organizations/\\{organization}/locations/\\{location}",
916
- # "folders/\\{folder}/locations/\\{location}",
1009
+ # `organizations/{organization}/locations/{location}`,
1010
+ # `folders/{folder}/locations/{location}`,
917
1011
  # or
918
- # "projects/\\{project}/locations/\\{location}"
1012
+ # `projects/{project}/locations/{location}`
919
1013
  # @!attribute [rw] event_threat_detection_custom_module
920
1014
  # @return [::Google::Cloud::SecurityCenterManagement::V1::EventThreatDetectionCustomModule]
921
1015
  # Required. The module to create. The
@@ -967,9 +1061,9 @@ module Google
967
1061
  #
968
1062
  # Its format is:
969
1063
  #
970
- # * "organizations/\\{organization}/locations/\\{location}/eventThreatDetectionCustomModules/\\{event_threat_detection_custom_module}".
971
- # * "folders/\\{folder}/locations/\\{location}/eventThreatDetectionCustomModules/\\{event_threat_detection_custom_module}".
972
- # * "projects/\\{project}/locations/\\{location}/eventThreatDetectionCustomModules/\\{event_threat_detection_custom_module}".
1064
+ # * `organizations/{organization}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}`.
1065
+ # * `folders/{folder}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}`.
1066
+ # * `projects/{project}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}`.
973
1067
  # @!attribute [rw] validate_only
974
1068
  # @return [::Boolean]
975
1069
  # Optional. When set to true, only validations (including IAM checks) will
@@ -991,7 +1085,7 @@ module Google
991
1085
  #
992
1086
  # Its format is:
993
1087
  #
994
- # * "organizations/\\{organization}/locations/\\{location}".
1088
+ # * `organizations/{organization}/locations/{location}`.
995
1089
  # @!attribute [rw] raw_text
996
1090
  # @return [::String]
997
1091
  # Required. The raw text of the module's contents. Used to generate error
@@ -1049,6 +1143,87 @@ module Google
1049
1143
  extend ::Google::Protobuf::MessageExts::ClassMethods
1050
1144
  end
1051
1145
  end
1146
+
1147
+ # Request message for getting a Security Command Center service.
1148
+ # @!attribute [rw] name
1149
+ # @return [::String]
1150
+ # Required. The Security Command Center service to retrieve.
1151
+ #
1152
+ # Formats:
1153
+ #
1154
+ # * organizations/\\{organization}/locations/\\{location}/securityCenterServices/\\{service}
1155
+ # * folders/\\{folder}/locations/\\{location}/securityCenterServices/\\{service}
1156
+ # * projects/\\{project}/locations/\\{location}/securityCenterServices/\\{service}
1157
+ #
1158
+ # The possible values for id \\{service} are:
1159
+ #
1160
+ # * container-threat-detection
1161
+ # * event-threat-detection
1162
+ # * security-health-analytics
1163
+ # * vm-threat-detection
1164
+ # * web-security-scanner
1165
+ class GetSecurityCenterServiceRequest
1166
+ include ::Google::Protobuf::MessageExts
1167
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1168
+ end
1169
+
1170
+ # Request message for listing Security Command Center services.
1171
+ # @!attribute [rw] parent
1172
+ # @return [::String]
1173
+ # Required. The name of the parent to list Security Command Center services.
1174
+ #
1175
+ # Formats:
1176
+ #
1177
+ # * organizations/\\{organization}/locations/\\{location}
1178
+ # * folders/\\{folder}/locations/\\{location}
1179
+ # * projects/\\{project}/locations/\\{location}
1180
+ # @!attribute [rw] page_size
1181
+ # @return [::Integer]
1182
+ # Optional. The maximum number of results to return in a single response.
1183
+ # Default is 10, minimum is 1, maximum is 1000.
1184
+ # @!attribute [rw] page_token
1185
+ # @return [::String]
1186
+ # Optional. The value returned by the last call indicating a continuation.
1187
+ class ListSecurityCenterServicesRequest
1188
+ include ::Google::Protobuf::MessageExts
1189
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1190
+ end
1191
+
1192
+ # Response message for listing Security Command Center services.
1193
+ # @!attribute [rw] security_center_services
1194
+ # @return [::Array<::Google::Cloud::SecurityCenterManagement::V1::SecurityCenterService>]
1195
+ # The list of services.
1196
+ # @!attribute [rw] next_page_token
1197
+ # @return [::String]
1198
+ # A token identifying a page of results the server should return.
1199
+ class ListSecurityCenterServicesResponse
1200
+ include ::Google::Protobuf::MessageExts
1201
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1202
+ end
1203
+
1204
+ # Request message for updating a Security Command Center service.
1205
+ # @!attribute [rw] security_center_service
1206
+ # @return [::Google::Cloud::SecurityCenterManagement::V1::SecurityCenterService]
1207
+ # Required. The updated service.
1208
+ # @!attribute [rw] update_mask
1209
+ # @return [::Google::Protobuf::FieldMask]
1210
+ # Required. The list of fields to be updated. Possible values:
1211
+ #
1212
+ # * "intended_enablement_state"
1213
+ # * "modules"
1214
+ # @!attribute [rw] validate_only
1215
+ # @return [::Boolean]
1216
+ # Optional. When set to true, only validations (including IAM checks) will
1217
+ # done for the request (service will not be updated). An OK response
1218
+ # indicates the request is valid while an error response indicates the
1219
+ # request is invalid. Note that a subsequent request to actually update the
1220
+ # service could still fail because 1. the state could have changed (e.g. IAM
1221
+ # permission lost) or
1222
+ # 2. A failure occurred while trying to delete the module.
1223
+ class UpdateSecurityCenterServiceRequest
1224
+ include ::Google::Protobuf::MessageExts
1225
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1226
+ end
1052
1227
  end
1053
1228
  end
1054
1229
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-security_center_management-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-25 00:00:00.000000000 Z
11
+ date: 2024-05-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common