google-cloud-security_center_management-v1 1.0.1 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +1 -1
- data/README.md +32 -22
- data/lib/google/cloud/security_center_management/v1/security_center_management/client.rb +322 -230
- data/lib/google/cloud/security_center_management/v1/security_center_management/rest/client.rb +322 -230
- data/lib/google/cloud/security_center_management/v1/security_center_management/rest/service_stub.rb +182 -128
- data/lib/google/cloud/security_center_management/v1/version.rb +1 -1
- data/lib/google/cloud/securitycentermanagement/v1/security_center_management_services_pb.rb +60 -41
- data/proto_docs/README.md +1 -1
- data/proto_docs/google/api/client.rb +39 -0
- data/proto_docs/google/cloud/securitycentermanagement/v1/security_center_management.rb +511 -430
- metadata +5 -5
@@ -33,64 +33,83 @@ module Google
|
|
33
33
|
self.unmarshal_class_method = :decode
|
34
34
|
self.service_name = 'google.cloud.securitycentermanagement.v1.SecurityCenterManagement'
|
35
35
|
|
36
|
-
# Returns a list of all
|
37
|
-
#
|
38
|
-
#
|
39
|
-
#
|
36
|
+
# Returns a list of all
|
37
|
+
# [EffectiveSecurityHealthAnalyticsCustomModule][google.cloud.securitycentermanagement.v1.EffectiveSecurityHealthAnalyticsCustomModule]
|
38
|
+
# resources for the given parent. This includes resident modules defined at
|
39
|
+
# the scope of the parent, and inherited modules, inherited from ancestor
|
40
|
+
# organizations, folders, and projects (no descendants).
|
40
41
|
rpc :ListEffectiveSecurityHealthAnalyticsCustomModules, ::Google::Cloud::SecurityCenterManagement::V1::ListEffectiveSecurityHealthAnalyticsCustomModulesRequest, ::Google::Cloud::SecurityCenterManagement::V1::ListEffectiveSecurityHealthAnalyticsCustomModulesResponse
|
41
|
-
# Gets details of a single
|
42
|
+
# Gets details of a single
|
43
|
+
# [EffectiveSecurityHealthAnalyticsCustomModule][google.cloud.securitycentermanagement.v1.EffectiveSecurityHealthAnalyticsCustomModule].
|
42
44
|
rpc :GetEffectiveSecurityHealthAnalyticsCustomModule, ::Google::Cloud::SecurityCenterManagement::V1::GetEffectiveSecurityHealthAnalyticsCustomModuleRequest, ::Google::Cloud::SecurityCenterManagement::V1::EffectiveSecurityHealthAnalyticsCustomModule
|
43
|
-
# Returns a list of all
|
44
|
-
#
|
45
|
-
#
|
45
|
+
# Returns a list of all
|
46
|
+
# [SecurityHealthAnalyticsCustomModule][google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule]
|
47
|
+
# resources for the given parent. This includes resident modules defined at
|
48
|
+
# the scope of the parent, and inherited modules, inherited from ancestor
|
49
|
+
# organizations, folders, and projects (no descendants).
|
46
50
|
rpc :ListSecurityHealthAnalyticsCustomModules, ::Google::Cloud::SecurityCenterManagement::V1::ListSecurityHealthAnalyticsCustomModulesRequest, ::Google::Cloud::SecurityCenterManagement::V1::ListSecurityHealthAnalyticsCustomModulesResponse
|
47
|
-
# Returns a list of all resident
|
48
|
-
#
|
51
|
+
# Returns a list of all resident
|
52
|
+
# [SecurityHealthAnalyticsCustomModule][google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule]
|
53
|
+
# resources under the given organization, folder, or project and all of its
|
54
|
+
# descendants.
|
49
55
|
rpc :ListDescendantSecurityHealthAnalyticsCustomModules, ::Google::Cloud::SecurityCenterManagement::V1::ListDescendantSecurityHealthAnalyticsCustomModulesRequest, ::Google::Cloud::SecurityCenterManagement::V1::ListDescendantSecurityHealthAnalyticsCustomModulesResponse
|
50
|
-
# Retrieves a
|
56
|
+
# Retrieves a
|
57
|
+
# [SecurityHealthAnalyticsCustomModule][google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule].
|
51
58
|
rpc :GetSecurityHealthAnalyticsCustomModule, ::Google::Cloud::SecurityCenterManagement::V1::GetSecurityHealthAnalyticsCustomModuleRequest, ::Google::Cloud::SecurityCenterManagement::V1::SecurityHealthAnalyticsCustomModule
|
52
|
-
# Creates a resident
|
53
|
-
#
|
54
|
-
#
|
55
|
-
#
|
59
|
+
# Creates a resident
|
60
|
+
# [SecurityHealthAnalyticsCustomModule][google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule]
|
61
|
+
# at the scope of the given organization, folder, or project, and also
|
62
|
+
# creates inherited `SecurityHealthAnalyticsCustomModule` resources for all
|
63
|
+
# folders and projects that are descendants of the given parent. These
|
64
|
+
# modules are enabled by default.
|
56
65
|
rpc :CreateSecurityHealthAnalyticsCustomModule, ::Google::Cloud::SecurityCenterManagement::V1::CreateSecurityHealthAnalyticsCustomModuleRequest, ::Google::Cloud::SecurityCenterManagement::V1::SecurityHealthAnalyticsCustomModule
|
57
|
-
# Updates the
|
58
|
-
#
|
59
|
-
#
|
60
|
-
# enablement state
|
61
|
-
#
|
66
|
+
# Updates the
|
67
|
+
# [SecurityHealthAnalyticsCustomModule][google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule]
|
68
|
+
# under the given name based on the given update mask. Updating the
|
69
|
+
# enablement state is supported on both resident and inherited modules
|
70
|
+
# (though resident modules cannot have an enablement state of "inherited").
|
71
|
+
# Updating the display name and custom configuration of a module is supported
|
72
|
+
# on resident modules only.
|
62
73
|
rpc :UpdateSecurityHealthAnalyticsCustomModule, ::Google::Cloud::SecurityCenterManagement::V1::UpdateSecurityHealthAnalyticsCustomModuleRequest, ::Google::Cloud::SecurityCenterManagement::V1::SecurityHealthAnalyticsCustomModule
|
63
|
-
# Deletes the specified
|
64
|
-
#
|
65
|
-
#
|
74
|
+
# Deletes the specified
|
75
|
+
# [SecurityHealthAnalyticsCustomModule][google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule]
|
76
|
+
# and all of its descendants in the resource hierarchy. This method is only
|
77
|
+
# supported for resident custom modules.
|
66
78
|
rpc :DeleteSecurityHealthAnalyticsCustomModule, ::Google::Cloud::SecurityCenterManagement::V1::DeleteSecurityHealthAnalyticsCustomModuleRequest, ::Google::Protobuf::Empty
|
67
|
-
# Simulates
|
79
|
+
# Simulates the result of using a
|
80
|
+
# [SecurityHealthAnalyticsCustomModule][google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule]
|
81
|
+
# to check a resource.
|
68
82
|
rpc :SimulateSecurityHealthAnalyticsCustomModule, ::Google::Cloud::SecurityCenterManagement::V1::SimulateSecurityHealthAnalyticsCustomModuleRequest, ::Google::Cloud::SecurityCenterManagement::V1::SimulateSecurityHealthAnalyticsCustomModuleResponse
|
69
83
|
# Lists all effective Event Threat Detection custom modules for the
|
70
84
|
# given parent. This includes resident modules defined at the scope of the
|
71
85
|
# parent along with modules inherited from its ancestors.
|
72
86
|
rpc :ListEffectiveEventThreatDetectionCustomModules, ::Google::Cloud::SecurityCenterManagement::V1::ListEffectiveEventThreatDetectionCustomModulesRequest, ::Google::Cloud::SecurityCenterManagement::V1::ListEffectiveEventThreatDetectionCustomModulesResponse
|
73
|
-
# Gets
|
74
|
-
#
|
75
|
-
#
|
76
|
-
#
|
77
|
-
#
|
78
|
-
#
|
79
|
-
#
|
87
|
+
# Gets the effective Event Threat Detection custom module at the given level.
|
88
|
+
#
|
89
|
+
# The difference between an
|
90
|
+
# [EffectiveEventThreatDetectionCustomModule][google.cloud.securitycentermanagement.v1.EffectiveEventThreatDetectionCustomModule]
|
91
|
+
# and an
|
92
|
+
# [EventThreatDetectionCustomModule][google.cloud.securitycentermanagement.v1.EventThreatDetectionCustomModule]
|
93
|
+
# is that the fields for an `EffectiveEventThreatDetectionCustomModule` are
|
94
|
+
# computed from ancestors if needed. For example, the enablement state for an
|
95
|
+
# `EventThreatDetectionCustomModule` can be `ENABLED`, `DISABLED`, or
|
96
|
+
# `INHERITED`. In contrast, the enablement state for an
|
97
|
+
# `EffectiveEventThreatDetectionCustomModule` is always computed as `ENABLED`
|
98
|
+
# or `DISABLED`.
|
80
99
|
rpc :GetEffectiveEventThreatDetectionCustomModule, ::Google::Cloud::SecurityCenterManagement::V1::GetEffectiveEventThreatDetectionCustomModuleRequest, ::Google::Cloud::SecurityCenterManagement::V1::EffectiveEventThreatDetectionCustomModule
|
81
|
-
# Lists all Event Threat Detection custom modules for the given
|
82
|
-
#
|
83
|
-
#
|
100
|
+
# Lists all Event Threat Detection custom modules for the given organization,
|
101
|
+
# folder, or project. This includes resident modules defined at the scope of
|
102
|
+
# the parent along with modules inherited from ancestors.
|
84
103
|
rpc :ListEventThreatDetectionCustomModules, ::Google::Cloud::SecurityCenterManagement::V1::ListEventThreatDetectionCustomModulesRequest, ::Google::Cloud::SecurityCenterManagement::V1::ListEventThreatDetectionCustomModulesResponse
|
85
|
-
# Lists all resident Event Threat Detection custom modules
|
86
|
-
#
|
104
|
+
# Lists all resident Event Threat Detection custom modules for the given
|
105
|
+
# organization, folder, or project and its descendants.
|
87
106
|
rpc :ListDescendantEventThreatDetectionCustomModules, ::Google::Cloud::SecurityCenterManagement::V1::ListDescendantEventThreatDetectionCustomModulesRequest, ::Google::Cloud::SecurityCenterManagement::V1::ListDescendantEventThreatDetectionCustomModulesResponse
|
88
107
|
# Gets an Event Threat Detection custom module.
|
89
108
|
rpc :GetEventThreatDetectionCustomModule, ::Google::Cloud::SecurityCenterManagement::V1::GetEventThreatDetectionCustomModuleRequest, ::Google::Cloud::SecurityCenterManagement::V1::EventThreatDetectionCustomModule
|
90
109
|
# Creates a resident Event Threat Detection custom module at the scope of the
|
91
|
-
# given
|
92
|
-
# for all descendants of the given parent. These modules are enabled
|
93
|
-
# default.
|
110
|
+
# given organization, folder, or project, and creates inherited custom
|
111
|
+
# modules for all descendants of the given parent. These modules are enabled
|
112
|
+
# by default.
|
94
113
|
rpc :CreateEventThreatDetectionCustomModule, ::Google::Cloud::SecurityCenterManagement::V1::CreateEventThreatDetectionCustomModuleRequest, ::Google::Cloud::SecurityCenterManagement::V1::EventThreatDetectionCustomModule
|
95
114
|
# Updates the Event Threat Detection custom module with the given name based
|
96
115
|
# on the given update mask. Updating the enablement state is supported for
|
@@ -100,8 +119,8 @@ module Google
|
|
100
119
|
# of a module cannot be changed.
|
101
120
|
rpc :UpdateEventThreatDetectionCustomModule, ::Google::Cloud::SecurityCenterManagement::V1::UpdateEventThreatDetectionCustomModuleRequest, ::Google::Cloud::SecurityCenterManagement::V1::EventThreatDetectionCustomModule
|
102
121
|
# Deletes the specified Event Threat Detection custom module and all of its
|
103
|
-
# descendants in the
|
104
|
-
#
|
122
|
+
# descendants in the resource hierarchy. This method is only supported for
|
123
|
+
# resident custom modules.
|
105
124
|
rpc :DeleteEventThreatDetectionCustomModule, ::Google::Cloud::SecurityCenterManagement::V1::DeleteEventThreatDetectionCustomModuleRequest, ::Google::Protobuf::Empty
|
106
125
|
# Validates the given Event Threat Detection custom module.
|
107
126
|
rpc :ValidateEventThreatDetectionCustomModule, ::Google::Cloud::SecurityCenterManagement::V1::ValidateEventThreatDetectionCustomModuleRequest, ::Google::Cloud::SecurityCenterManagement::V1::ValidateEventThreatDetectionCustomModuleResponse
|
data/proto_docs/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Security Center Management V1 Protocol Buffer Documentation
|
1
|
+
# Security Command Center Management V1 Protocol Buffer Documentation
|
2
2
|
|
3
3
|
These files are for the YARD documentation of the generated protobuf files.
|
4
4
|
They are not intended to be required or loaded at runtime.
|
@@ -28,6 +28,9 @@ module Google
|
|
28
28
|
# @!attribute [rw] destinations
|
29
29
|
# @return [::Array<::Google::Api::ClientLibraryDestination>]
|
30
30
|
# The destination where API teams want this client library to be published.
|
31
|
+
# @!attribute [rw] selective_gapic_generation
|
32
|
+
# @return [::Google::Api::SelectiveGapicGeneration]
|
33
|
+
# Configuration for which RPCs should be generated in the GAPIC client.
|
31
34
|
class CommonLanguageSettings
|
32
35
|
include ::Google::Protobuf::MessageExts
|
33
36
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -212,6 +215,12 @@ module Google
|
|
212
215
|
# enabled. By default, asynchronous REST clients will not be generated.
|
213
216
|
# This feature will be enabled by default 1 month after launching the
|
214
217
|
# feature in preview packages.
|
218
|
+
# @!attribute [rw] protobuf_pythonic_types_enabled
|
219
|
+
# @return [::Boolean]
|
220
|
+
# Enables generation of protobuf code using new types that are more
|
221
|
+
# Pythonic which are included in `protobuf>=5.29.x`. This feature will be
|
222
|
+
# enabled by default 1 month after launching the feature in preview
|
223
|
+
# packages.
|
215
224
|
class ExperimentalFeatures
|
216
225
|
include ::Google::Protobuf::MessageExts
|
217
226
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -297,9 +306,28 @@ module Google
|
|
297
306
|
# @!attribute [rw] common
|
298
307
|
# @return [::Google::Api::CommonLanguageSettings]
|
299
308
|
# Some settings.
|
309
|
+
# @!attribute [rw] renamed_services
|
310
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
311
|
+
# Map of service names to renamed services. Keys are the package relative
|
312
|
+
# service names and values are the name to be used for the service client
|
313
|
+
# and call options.
|
314
|
+
#
|
315
|
+
# publishing:
|
316
|
+
# go_settings:
|
317
|
+
# renamed_services:
|
318
|
+
# Publisher: TopicAdmin
|
300
319
|
class GoSettings
|
301
320
|
include ::Google::Protobuf::MessageExts
|
302
321
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
322
|
+
|
323
|
+
# @!attribute [rw] key
|
324
|
+
# @return [::String]
|
325
|
+
# @!attribute [rw] value
|
326
|
+
# @return [::String]
|
327
|
+
class RenamedServicesEntry
|
328
|
+
include ::Google::Protobuf::MessageExts
|
329
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
330
|
+
end
|
303
331
|
end
|
304
332
|
|
305
333
|
# Describes the generator configuration for a method.
|
@@ -375,6 +403,17 @@ module Google
|
|
375
403
|
end
|
376
404
|
end
|
377
405
|
|
406
|
+
# This message is used to configure the generation of a subset of the RPCs in
|
407
|
+
# a service for client libraries.
|
408
|
+
# @!attribute [rw] methods
|
409
|
+
# @return [::Array<::String>]
|
410
|
+
# An allowlist of the fully qualified names of RPCs that should be included
|
411
|
+
# on public client surfaces.
|
412
|
+
class SelectiveGapicGeneration
|
413
|
+
include ::Google::Protobuf::MessageExts
|
414
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
415
|
+
end
|
416
|
+
|
378
417
|
# The organization for which the client libraries are being published.
|
379
418
|
# Affects the url where generated docs are published, etc.
|
380
419
|
module ClientLibraryOrganization
|