google-cloud-security_center_management-v1 1.0.1 → 1.1.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.
- checksums.yaml +4 -4
- data/.yardopts +1 -1
- data/README.md +2 -2
- data/lib/google/cloud/security_center_management/v1/security_center_management/client.rb +287 -208
- data/lib/google/cloud/security_center_management/v1/security_center_management/rest/client.rb +287 -208
- 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 +14 -0
- data/proto_docs/google/cloud/securitycentermanagement/v1/security_center_management.rb +511 -430
- metadata +3 -3
@@ -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
|
@@ -375,6 +378,17 @@ module Google
|
|
375
378
|
end
|
376
379
|
end
|
377
380
|
|
381
|
+
# This message is used to configure the generation of a subset of the RPCs in
|
382
|
+
# a service for client libraries.
|
383
|
+
# @!attribute [rw] methods
|
384
|
+
# @return [::Array<::String>]
|
385
|
+
# An allowlist of the fully qualified names of RPCs that should be included
|
386
|
+
# on public client surfaces.
|
387
|
+
class SelectiveGapicGeneration
|
388
|
+
include ::Google::Protobuf::MessageExts
|
389
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
390
|
+
end
|
391
|
+
|
378
392
|
# The organization for which the client libraries are being published.
|
379
393
|
# Affects the url where generated docs are published, etc.
|
380
394
|
module ClientLibraryOrganization
|