Skip to content

Commit

Permalink
fix: annotate EffectiveSecurityHealthAnalyticsCustomModule.name as ID…
Browse files Browse the repository at this point in the history
…ENTIFIER

fix: annotate SecurityHealthAnalyticsCustomModule.name as IDENTIFIER
fix: annotate EffectiveEventThreatDetectionCustomModule.name as IDENTIFIER
fix: annotate EventThreatDetectionCustomModule.name as IDENTIFIER
docs: updated comments

PiperOrigin-RevId: 617880369
  • Loading branch information
Google APIs authored and Copybara-Service committed Mar 21, 2024
1 parent 7aad451 commit a47753e
Showing 1 changed file with 8 additions and 8 deletions.
Expand Up @@ -427,14 +427,14 @@ message EffectiveSecurityHealthAnalyticsCustomModule {
DISABLED = 2;
}

// Output only. The resource name of the custom module.
// Identifier. The resource name of the custom module.
// Its format is
// "organizations/{organization}/locations/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}",
// or
// "folders/{folder}/locations/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}",
// or
// "projects/{project}/locations/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}"
string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
string name = 1 [(google.api.field_behavior) = IDENTIFIER];

// Output only. The user-specified configuration for the module.
CustomConfig custom_config = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
Expand Down Expand Up @@ -535,7 +535,7 @@ message SecurityHealthAnalyticsCustomModule {
INHERITED = 3;
}

// Immutable. The resource name of the custom module.
// Identifier. The resource name of the custom module.
// Its format is
// "organizations/{organization}/locations/{location}/securityHealthAnalyticsCustomModules/{security_health_analytics_custom_module}",
// or
Expand All @@ -545,7 +545,7 @@ message SecurityHealthAnalyticsCustomModule {
//
// The id {customModule} is server-generated and is not user settable.
// It will be a numeric id containing 1-20 digits.
string name = 1 [(google.api.field_behavior) = IMMUTABLE];
string name = 1 [(google.api.field_behavior) = IDENTIFIER];

// Optional. The display name of the Security Health Analytics custom module.
// This display name becomes the finding category for all findings that are
Expand Down Expand Up @@ -1065,14 +1065,14 @@ message EffectiveEventThreatDetectionCustomModule {
DISABLED = 2;
}

// Immutable. The resource name of the ETD custom module.
// Identifier. The resource name of the ETD custom module.
//
// Its format is:
//
// * "organizations/{organization}/locations/{location}/effectiveEventThreatDetectionCustomModules/{effective_event_threat_detection_custom_module}".
// * "folders/{folder}/locations/{location}/effectiveEventThreatDetectionCustomModules/{effective_event_threat_detection_custom_module}".
// * "projects/{project}/locations/{location}/effectiveEventThreatDetectionCustomModules/{effective_event_threat_detection_custom_module}".
string name = 1 [(google.api.field_behavior) = IMMUTABLE];
string name = 1 [(google.api.field_behavior) = IDENTIFIER];

// Output only. Config for the effective module.
google.protobuf.Struct config = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
Expand Down Expand Up @@ -1175,14 +1175,14 @@ message EventThreatDetectionCustomModule {
INHERITED = 3;
}

// Immutable. The resource name of the ETD custom module.
// Identifier. The resource name of the ETD custom module.
//
// Its format is:
//
// * "organizations/{organization}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}".
// * "folders/{folder}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}".
// * "projects/{project}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}".
string name = 1 [(google.api.field_behavior) = IMMUTABLE];
string name = 1 [(google.api.field_behavior) = IDENTIFIER];

// Optional. Config for the module. For the resident module, its config value
// is defined at this level. For the inherited module, its config value is
Expand Down

0 comments on commit a47753e

Please sign in to comment.