Skip to content

Commit 9360249

Browse files
fix: [google-cloud-securitycentermanagement] annotate EffectiveSecurityHealthAnalyticsCustomModule.name as IDENTIFIER (#12480)
- [ ] Regenerate this pull request now. BEGIN_COMMIT_OVERRIDE fix: annotate EffectiveSecurityHealthAnalyticsCustomModule.name as IDENTIFIER fix: annotate SecurityHealthAnalyticsCustomModule.name as IDENTIFIER fix: annotate EffectiveEventThreatDetectionCustomModule.name as IDENTIFIER fix: annotate EventThreatDetectionCustomModule.name as IDENTIFIER docs: updated comments END_COMMIT_OVERRIDE PiperOrigin-RevId: 617880369 Source-Link: googleapis/googleapis@a47753e Source-Link: googleapis/googleapis-gen@36db228 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXNlY3VyaXR5Y2VudGVybWFuYWdlbWVudC8uT3dsQm90LnlhbWwiLCJoIjoiMzZkYjIyOGVmMzcwZTVmMWIwNjczNGQ1ODczOTMwMGVhOWViYjJiZSJ9 --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Anthonios Partheniou <[email protected]>
1 parent d7cc4ae commit 9360249

File tree

1 file changed

+19
-24
lines changed

1 file changed

+19
-24
lines changed

packages/google-cloud-securitycentermanagement/google/cloud/securitycentermanagement_v1/types/security_center_management.py

Lines changed: 19 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ class EffectiveSecurityHealthAnalyticsCustomModule(proto.Message):
8080
8181
Attributes:
8282
name (str):
83-
Output only. The resource name of the custom module. Its
83+
Identifier. The resource name of the custom module. Its
8484
format is
8585
"organizations/{organization}/locations/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}",
8686
or
@@ -233,7 +233,7 @@ class SecurityHealthAnalyticsCustomModule(proto.Message):
233233
234234
Attributes:
235235
name (str):
236-
Immutable. The resource name of the custom module. Its
236+
Identifier. The resource name of the custom module. Its
237237
format is
238238
"organizations/{organization}/locations/{location}/securityHealthAnalyticsCustomModules/{security_health_analytics_custom_module}",
239239
or
@@ -687,10 +687,9 @@ class UpdateSecurityHealthAnalyticsCustomModuleRequest(proto.Message):
687687
indicates the request is valid while an error
688688
response indicates the request is invalid. Note
689689
that a subsequent request to actually update the
690-
module could still fail because 1. the state
691-
could have changed (e.g. IAM permission lost) or
692-
2. A failure occurred while trying to update the
693-
module.
690+
module could still fail because:
691+
1. the state could have changed (e.g. IAM permission lost) or
692+
2. A failure occurred while trying to update the module.
694693
"""
695694

696695
update_mask: field_mask_pb2.FieldMask = proto.Field(
@@ -730,10 +729,9 @@ class DeleteSecurityHealthAnalyticsCustomModuleRequest(proto.Message):
730729
indicates the request is valid while an error
731730
response indicates the request is invalid. Note
732731
that a subsequent request to actually delete the
733-
module could still fail because 1. the state
734-
could have changed (e.g. IAM permission lost) or
735-
2. A failure occurred while trying to delete the
736-
module.
732+
module could still fail because:
733+
1. the state could have changed (e.g. IAM permission lost) or
734+
2. A failure occurred while trying to delete the module.
737735
"""
738736

739737
name: str = proto.Field(
@@ -1129,7 +1127,7 @@ class EffectiveEventThreatDetectionCustomModule(proto.Message):
11291127
11301128
Attributes:
11311129
name (str):
1132-
Immutable. The resource name of the ETD custom module.
1130+
Identifier. The resource name of the ETD custom module.
11331131
11341132
Its format is:
11351133
@@ -1288,7 +1286,7 @@ class EventThreatDetectionCustomModule(proto.Message):
12881286
12891287
Attributes:
12901288
name (str):
1291-
Immutable. The resource name of the ETD custom module.
1289+
Identifier. The resource name of the ETD custom module.
12921290
12931291
Its format is:
12941292
@@ -1570,10 +1568,9 @@ class CreateEventThreatDetectionCustomModuleRequest(proto.Message):
15701568
indicates the request is valid while an error
15711569
response indicates the request is invalid. Note
15721570
that a subsequent request to actually create the
1573-
module could still fail because 1. the state
1574-
could have changed (e.g. IAM permission lost) or
1575-
2. A failure occurred during creation of the
1576-
module.
1571+
module could still fail because:
1572+
1. the state could have changed (e.g. IAM permission lost) or
1573+
2. A failure occurred during creation of the module.
15771574
"""
15781575

15791576
parent: str = proto.Field(
@@ -1613,10 +1610,9 @@ class UpdateEventThreatDetectionCustomModuleRequest(proto.Message):
16131610
indicates the request is valid while an error
16141611
response indicates the request is invalid. Note
16151612
that a subsequent request to actually update the
1616-
module could still fail because 1. the state
1617-
could have changed (e.g. IAM permission lost) or
1618-
2. A failure occurred while trying to update the
1619-
module.
1613+
module could still fail because:
1614+
1. the state could have changed (e.g. IAM permission lost) or
1615+
2. A failure occurred while trying to update the module.
16201616
"""
16211617

16221618
update_mask: field_mask_pb2.FieldMask = proto.Field(
@@ -1656,10 +1652,9 @@ class DeleteEventThreatDetectionCustomModuleRequest(proto.Message):
16561652
indicates the request is valid while an error
16571653
response indicates the request is invalid. Note
16581654
that a subsequent request to actually delete the
1659-
module could still fail because 1. the state
1660-
could have changed (e.g. IAM permission lost) or
1661-
2. A failure occurred while trying to delete the
1662-
module.
1655+
module could still fail because:
1656+
1. the state could have changed (e.g. IAM permission lost) or
1657+
2. A failure occurred while trying to delete the module.
16631658
"""
16641659

16651660
name: str = proto.Field(

0 commit comments

Comments
 (0)