From 0e983242a2d90ac58c935e493c3419f649e7a4d1 Mon Sep 17 00:00:00 2001 From: Ankit Goyal Date: Fri, 10 Jan 2025 11:16:36 +0000 Subject: [PATCH] fixing lint issues --- mmv1/products/chronicle/RuleDeployment.yaml | 194 ++++++++++---------- 1 file changed, 97 insertions(+), 97 deletions(-) diff --git a/mmv1/products/chronicle/RuleDeployment.yaml b/mmv1/products/chronicle/RuleDeployment.yaml index 1bdd08f0c254..d21ac17d76de 100644 --- a/mmv1/products/chronicle/RuleDeployment.yaml +++ b/mmv1/products/chronicle/RuleDeployment.yaml @@ -24,112 +24,112 @@ self_link: projects/{{project}}/locations/{{location}}/instances/{{instance}}/ru create_url: projects/{{project}}/locations/{{location}}/instances/{{instance}}/rules/{{rule}}/deployment?updateMask=enabled,alerting,archived,runFrequency id_format: projects/{{project}}/locations/{{location}}/instances/{{instance}}/rules/{{rule}}/deployment import_format: -- projects/{{project}}/locations/{{location}}/instances/{{instance}}/rules/{{rule}}/deployment + - projects/{{project}}/locations/{{location}}/instances/{{instance}}/rules/{{rule}}/deployment create_verb: PATCH update_verb: PATCH update_mask: true exclude_delete: true examples: -- name: 'chronicle_ruledeployment_basic' - primary_resource_id: 'example' - min_version: 'beta' - test_env_vars: - chronicle_id: 'CHRONICLE_ID' + - name: 'chronicle_ruledeployment_basic' + primary_resource_id: 'example' + min_version: 'beta' + test_env_vars: + chronicle_id: 'CHRONICLE_ID' parameters: -- name: location - type: String - description: The location of the resource. This is the geographical region where the Chronicle instance resides, such as "us" or "europe-west2". - immutable: true - url_param_only: true - required: true -- name: instance - type: String - description: The unique identifier for the Chronicle instance, which is the same as the customer ID. - immutable: true - url_param_only: true - required: true -- name: rule - type: String - description: The Rule ID of the rule. - immutable: true - url_param_only: true - required: true + - name: location + type: String + description: The location of the resource. This is the geographical region where the Chronicle instance resides, such as "us" or "europe-west2". + immutable: true + url_param_only: true + required: true + - name: instance + type: String + description: The unique identifier for the Chronicle instance, which is the same as the customer ID. + immutable: true + url_param_only: true + required: true + - name: rule + type: String + description: The Rule ID of the rule. + immutable: true + url_param_only: true + required: true properties: -- name: name - type: String - description: |- - The resource name of the rule deployment. - Note that RuleDeployment is a child of the overall Rule, not any individual - revision, so the resource ID segment for the Rule resource must not - reference a specific revision. - Format: - projects/{project}/locations/{location}/instances/{instance}/rules/{rule}/deployment - output: true -- name: enabled - type: Boolean - description: Whether the rule is currently deployed continuously against incoming data. -- name: alerting - type: Boolean - description: |- - Whether detections resulting from this deployment should be considered - alerts. -- name: archived - type: Boolean - description: |- - The archive state of the rule deployment. - Cannot be set to true unless enabled is set to false. - If set to true, alerting will automatically be set to false. - If currently set to true, enabled, alerting, and run_frequency cannot be - updated. -- name: archiveTime - type: String - description: Output only. The timestamp when the rule deployment archive state was last set to true. - If the rule deployment's current archive state is not set to true, the field will be empty. - output: true -- name: runFrequency - type: String - description: |2- - - The run frequency of the rule deployment. - Possible values: - LIVE - HOURLY - DAILY -- name: executionState - type: String - description: |2- + - name: name + type: String + description: |- + The resource name of the rule deployment. + Note that RuleDeployment is a child of the overall Rule, not any individual + revision, so the resource ID segment for the Rule resource must not + reference a specific revision. + Format: + projects/{project}/locations/{location}/instances/{instance}/rules/{rule}/deployment + output: true + - name: enabled + type: Boolean + description: Whether the rule is currently deployed continuously against incoming data. + - name: alerting + type: Boolean + description: |- + Whether detections resulting from this deployment should be considered + alerts. + - name: archived + type: Boolean + description: |- + The archive state of the rule deployment. + Cannot be set to true unless enabled is set to false. + If set to true, alerting will automatically be set to false. + If currently set to true, enabled, alerting, and run_frequency cannot be + updated. + - name: archiveTime + type: String + description: Output only. The timestamp when the rule deployment archive state was last set to true. + If the rule deployment's current archive state is not set to true, the field will be empty. + output: true + - name: runFrequency + type: String + description: |2- - The execution state of the rule deployment. - Possible values: - DEFAULT - LIMITED - PAUSED - output: true -- name: producerRules - type: Array - description: |2- - Output only. The names of the associated/chained producer rules. Rules are considered - producers for this rule if this rule explicitly filters on their ruleid. - Format: - projects/{project}/locations/{location}/instances/{instance}/rules/{rule} - output: true - item_type: + The run frequency of the rule deployment. + Possible values: + LIVE + HOURLY + DAILY + - name: executionState type: String -- name: consumerRules - type: Array - description: |2- - Output only. The names of the associated/chained consumer rules. Rules are considered - consumers of this rule if their rule text explicitly filters on this rule's ruleid. - Format: - projects/{project}/locations/{location}/instances/{instance}/rules/{rule} - output: true - item_type: + description: |2- + + The execution state of the rule deployment. + Possible values: + DEFAULT + LIMITED + PAUSED + output: true + - name: producerRules + type: Array + description: |2- + Output only. The names of the associated/chained producer rules. Rules are considered + producers for this rule if this rule explicitly filters on their ruleid. + Format: + projects/{project}/locations/{location}/instances/{instance}/rules/{rule} + output: true + item_type: + type: String + - name: consumerRules + type: Array + description: |2- + Output only. The names of the associated/chained consumer rules. Rules are considered + consumers of this rule if their rule text explicitly filters on this rule's ruleid. + Format: + projects/{project}/locations/{location}/instances/{instance}/rules/{rule} + output: true + item_type: + type: String + - name: lastAlertStatusChangeTime type: String -- name: lastAlertStatusChangeTime - type: String - description: Output only. The timestamp when the rule deployment alert state was lastly changed. - This is filled regardless of the current alert state.E.g. if the current alert status is false, - this timestamp will be the timestamp when the alert status was changed to false. - output: true + description: Output only. The timestamp when the rule deployment alert state was lastly changed. + This is filled regardless of the current alert state.E.g. if the current alert status is false, + this timestamp will be the timestamp when the alert status was changed to false. + output: true