google-cloud-security_center_management-v1 1.0.0 → 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.
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module SecurityCenterManagement
23
23
  module V1
24
- VERSION = "1.0.0"
24
+ VERSION = "1.1.0"
25
25
  end
26
26
  end
27
27
  end
@@ -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 EffectiveSecurityHealthAnalyticsCustomModules for the
37
- # given parent. This includes resident modules defined at the scope of the
38
- # parent, and inherited modules, inherited from CRM ancestors (no
39
- # descendants).
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 EffectiveSecurityHealthAnalyticsCustomModule.
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 SecurityHealthAnalyticsCustomModules for the given
44
- # parent. This includes resident modules defined at the scope of the parent,
45
- # and inherited modules, inherited from CRM ancestors (no descendants).
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 SecurityHealthAnalyticsCustomModules under
48
- # the given CRM parent and all of the parent's CRM descendants.
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 SecurityHealthAnalyticsCustomModule.
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 SecurityHealthAnalyticsCustomModule at the scope of the
53
- # given CRM parent, and also creates inherited
54
- # SecurityHealthAnalyticsCustomModules for all CRM descendants of the given
55
- # parent. These modules are enabled by default.
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 SecurityHealthAnalyticsCustomModule under the given name based
58
- # on the given update mask. Updating the enablement state is supported on
59
- # both resident and inherited modules (though resident modules cannot have an
60
- # enablement state of "inherited"). Updating the display name and custom
61
- # config of a module is supported on resident modules only.
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 SecurityHealthAnalyticsCustomModule and all of its
64
- # descendants in the CRM hierarchy. This method is only supported for
65
- # resident custom modules.
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 a given SecurityHealthAnalyticsCustomModule and Resource.
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 an effective ETD custom module. Retrieves the effective module at the
74
- # given level. The difference between an EffectiveCustomModule and a
75
- # CustomModule is that the fields for an EffectiveCustomModule are computed
76
- # from ancestors if needed. For example, the enablement_state for a
77
- # CustomModule can be either ENABLED, DISABLED, or INHERITED. Where as the
78
- # enablement_state for an EffectiveCustomModule is always computed to ENABLED
79
- # or DISABLED (the effective enablement_state).
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
- # Resource Manager parent. This includes resident modules defined at the
83
- # scope of the parent along with modules inherited from ancestors.
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 under the
86
- # given Resource Manager parent and its descendants.
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 Resource Manager parent, and also creates inherited custom modules
92
- # for all descendants of the given parent. These modules are enabled by
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 Resource Manager hierarchy. This method is only
104
- # supported for resident custom modules.
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
@@ -196,9 +199,26 @@ module Google
196
199
  # @!attribute [rw] common
197
200
  # @return [::Google::Api::CommonLanguageSettings]
198
201
  # Some settings.
202
+ # @!attribute [rw] experimental_features
203
+ # @return [::Google::Api::PythonSettings::ExperimentalFeatures]
204
+ # Experimental features to be included during client library generation.
199
205
  class PythonSettings
200
206
  include ::Google::Protobuf::MessageExts
201
207
  extend ::Google::Protobuf::MessageExts::ClassMethods
208
+
209
+ # Experimental features to be included during client library generation.
210
+ # These fields will be deprecated once the feature graduates and is enabled
211
+ # by default.
212
+ # @!attribute [rw] rest_async_io_enabled
213
+ # @return [::Boolean]
214
+ # Enables generation of asynchronous REST clients if `rest` transport is
215
+ # enabled. By default, asynchronous REST clients will not be generated.
216
+ # This feature will be enabled by default 1 month after launching the
217
+ # feature in preview packages.
218
+ class ExperimentalFeatures
219
+ include ::Google::Protobuf::MessageExts
220
+ extend ::Google::Protobuf::MessageExts::ClassMethods
221
+ end
202
222
  end
203
223
 
204
224
  # Settings for Node client libraries.
@@ -290,6 +310,13 @@ module Google
290
310
  # @return [::String]
291
311
  # The fully qualified name of the method, for which the options below apply.
292
312
  # This is used to find the method to apply the options.
313
+ #
314
+ # Example:
315
+ #
316
+ # publishing:
317
+ # method_settings:
318
+ # - selector: google.storage.control.v2.StorageControl.CreateFolder
319
+ # # method settings for CreateFolder...
293
320
  # @!attribute [rw] long_running
294
321
  # @return [::Google::Api::MethodSettings::LongRunning]
295
322
  # Describes settings to use for long-running operations when generating
@@ -298,17 +325,14 @@ module Google
298
325
  #
299
326
  # Example of a YAML configuration::
300
327
  #
301
- # publishing:
302
- # method_settings:
328
+ # publishing:
329
+ # method_settings:
303
330
  # - selector: google.cloud.speech.v2.Speech.BatchRecognize
304
331
  # long_running:
305
- # initial_poll_delay:
306
- # seconds: 60 # 1 minute
332
+ # initial_poll_delay: 60s # 1 minute
307
333
  # poll_delay_multiplier: 1.5
308
- # max_poll_delay:
309
- # seconds: 360 # 6 minutes
310
- # total_poll_timeout:
311
- # seconds: 54000 # 90 minutes
334
+ # max_poll_delay: 360s # 6 minutes
335
+ # total_poll_timeout: 54000s # 90 minutes
312
336
  # @!attribute [rw] auto_populated_fields
313
337
  # @return [::Array<::String>]
314
338
  # List of top-level fields of the request message, that should be
@@ -317,8 +341,8 @@ module Google
317
341
  #
318
342
  # Example of a YAML configuration:
319
343
  #
320
- # publishing:
321
- # method_settings:
344
+ # publishing:
345
+ # method_settings:
322
346
  # - selector: google.example.v1.ExampleService.CreateExample
323
347
  # auto_populated_fields:
324
348
  # - request_id
@@ -354,6 +378,17 @@ module Google
354
378
  end
355
379
  end
356
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
+
357
392
  # The organization for which the client libraries are being published.
358
393
  # Affects the url where generated docs are published, etc.
359
394
  module ClientLibraryOrganization
@@ -124,8 +124,13 @@ module Google
124
124
  # @return [::String]
125
125
  # The plural name used in the resource name and permission names, such as
126
126
  # 'projects' for the resource name of 'projects/\\{project}' and the permission
127
- # name of 'cloudresourcemanager.googleapis.com/projects.get'. It is the same
128
- # concept of the `plural` field in k8s CRD spec
127
+ # name of 'cloudresourcemanager.googleapis.com/projects.get'. One exception
128
+ # to this is for Nested Collections that have stuttering names, as defined
129
+ # in [AIP-122](https://google.aip.dev/122#nested-collections), where the
130
+ # collection ID in the resource name pattern does not necessarily directly
131
+ # match the `plural` value.
132
+ #
133
+ # It is the same concept of the `plural` field in k8s CRD spec
129
134
  # https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
130
135
  #
131
136
  # Note: The plural form is required even for singleton resources. See