@@ -2054,15 +2054,16 @@ message RunAssetDiscoveryRequest {
20542054// Request message to simulate a CustomConfig against a given test resource.
20552055// Maximum size of the request is 4 MB by default.
20562056message SimulateSecurityHealthAnalyticsCustomModuleRequest {
2057- // Manually constructed resource. If the custom module only evaluates against
2058- // the resource data, the iam_policy_data field can be omitted, and vice
2059- // versa .
2057+ // Manually constructed resource name . If the custom module evaluates against
2058+ // only the resource data, you can omit the ` iam_policy_data` field. If it
2059+ // evaluates only the `iam_policy_data` field, you can omit the resource data .
20602060 message SimulatedResource {
2061- // Required. The type of the resource, e.g. `compute.googleapis.com/Disk`.
2061+ // Required. The type of the resource, for example,
2062+ // `compute.googleapis.com/Disk`.
20622063 string resource_type = 1 [(google.api.field_behavior ) = REQUIRED ];
20632064
2064- // Optional. A representation of the GCP resource. Should match the GCP
2065- // resource JSON format.
2065+ // Optional. A representation of the Google Cloud resource. Should match the
2066+ // Google Cloud resource JSON format.
20662067 google.protobuf.Struct resource_data = 2
20672068 [(google.api.field_behavior ) = OPTIONAL ];
20682069
@@ -2072,21 +2073,21 @@ message SimulateSecurityHealthAnalyticsCustomModuleRequest {
20722073 }
20732074
20742075 // Required. The relative resource name of the organization, project, or
2075- // folder. See:
2076- // https://cloud.google.com/apis/design/resource_names#relative_resource_name
2077- // An example is:
2078- // " organizations/{organization_id}".
2076+ // folder. For more information about relative resource names, see [Relative
2077+ // Resource
2078+ // Name](https://cloud.google.com/apis/design/resource_names#relative_resource_name)
2079+ // Example: ` organizations/{organization_id}`
20792080 string parent = 1 [(google.api.field_behavior ) = REQUIRED ];
20802081
2081- // Required. The user specified custom configuration to test.
2082+ // Required. The custom configuration that you need to test.
20822083 CustomConfig custom_config = 2 [(google.api.field_behavior ) = REQUIRED ];
20832084
20842085 // Required. Resource data to simulate custom module against.
20852086 SimulatedResource resource = 3 [(google.api.field_behavior ) = REQUIRED ];
20862087}
20872088
2088- // Response message for simulating a SecurityHealthAnalyticsCustomModule against
2089- // a given resource.
2089+ // Response message for simulating a ` SecurityHealthAnalyticsCustomModule`
2090+ // against a given resource.
20902091message SimulateSecurityHealthAnalyticsCustomModuleResponse {
20912092 // Possible test result.
20922093 message SimulatedResult {
0 commit comments