Skip to content

Commit

Permalink
fix: [google-cloud-securitycentermanagement] annotate EffectiveSecuri…
Browse files Browse the repository at this point in the history
…tyHealthAnalyticsCustomModule.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 <partheniou@google.com>
  • Loading branch information
3 people committed Mar 22, 2024
1 parent d7cc4ae commit 9360249
Showing 1 changed file with 19 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class EffectiveSecurityHealthAnalyticsCustomModule(proto.Message):
Attributes:
name (str):
Output only. The resource name of the custom module. Its
Identifier. The resource name of the custom module. Its
format is
"organizations/{organization}/locations/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}",
or
Expand Down Expand Up @@ -233,7 +233,7 @@ class SecurityHealthAnalyticsCustomModule(proto.Message):
Attributes:
name (str):
Immutable. The resource name of the custom module. Its
Identifier. The resource name of the custom module. Its
format is
"organizations/{organization}/locations/{location}/securityHealthAnalyticsCustomModules/{security_health_analytics_custom_module}",
or
Expand Down Expand Up @@ -687,10 +687,9 @@ class UpdateSecurityHealthAnalyticsCustomModuleRequest(proto.Message):
indicates the request is valid while an error
response indicates the request is invalid. Note
that a subsequent request to actually update the
module could still fail because 1. the state
could have changed (e.g. IAM permission lost) or
2. A failure occurred while trying to update the
module.
module could still fail because:
1. the state could have changed (e.g. IAM permission lost) or
2. A failure occurred while trying to update the module.
"""

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

name: str = proto.Field(
Expand Down Expand Up @@ -1129,7 +1127,7 @@ class EffectiveEventThreatDetectionCustomModule(proto.Message):
Attributes:
name (str):
Immutable. The resource name of the ETD custom module.
Identifier. The resource name of the ETD custom module.
Its format is:
Expand Down Expand Up @@ -1288,7 +1286,7 @@ class EventThreatDetectionCustomModule(proto.Message):
Attributes:
name (str):
Immutable. The resource name of the ETD custom module.
Identifier. The resource name of the ETD custom module.
Its format is:
Expand Down Expand Up @@ -1570,10 +1568,9 @@ class CreateEventThreatDetectionCustomModuleRequest(proto.Message):
indicates the request is valid while an error
response indicates the request is invalid. Note
that a subsequent request to actually create the
module could still fail because 1. the state
could have changed (e.g. IAM permission lost) or
2. A failure occurred during creation of the
module.
module could still fail because:
1. the state could have changed (e.g. IAM permission lost) or
2. A failure occurred during creation of the module.
"""

parent: str = proto.Field(
Expand Down Expand Up @@ -1613,10 +1610,9 @@ class UpdateEventThreatDetectionCustomModuleRequest(proto.Message):
indicates the request is valid while an error
response indicates the request is invalid. Note
that a subsequent request to actually update the
module could still fail because 1. the state
could have changed (e.g. IAM permission lost) or
2. A failure occurred while trying to update the
module.
module could still fail because:
1. the state could have changed (e.g. IAM permission lost) or
2. A failure occurred while trying to update the module.
"""

update_mask: field_mask_pb2.FieldMask = proto.Field(
Expand Down Expand Up @@ -1656,10 +1652,9 @@ class DeleteEventThreatDetectionCustomModuleRequest(proto.Message):
indicates the request is valid while an error
response indicates the request is invalid. Note
that a subsequent request to actually delete the
module could still fail because 1. the state
could have changed (e.g. IAM permission lost) or
2. A failure occurred while trying to delete the
module.
module could still fail because:
1. the state could have changed (e.g. IAM permission lost) or
2. A failure occurred while trying to delete the module.
"""

name: str = proto.Field(
Expand Down

0 comments on commit 9360249

Please sign in to comment.