$schema: "http://json-schema.org/draft-06/schema#"

title: networksecurity v1alpha1 WildfireInlineCloudAnalysisRule export schema
description: A gcloud export/import command YAML validation schema.
type: object
required:
- action
- direction
- fileSelectionMode
additionalProperties: false
properties:
  COMMENT:
    type: object
    description: User specified info ignored by gcloud import.
    additionalProperties: false
    properties:
      template-id:
        type: string
      region:
        type: string
      description:
        type: string
      date:
        type: string
      version:
        type: string
  UNKNOWN:
    type: array
    description: Unknown API fields that cannot be imported.
    items:
      type: string
  action:
    description: |-
      Action to take when a threat is detected using WildFire Inline Cloud
      Analysis. The default Value is DENY.
    type: string
    enum:
    - ALLOW
    - DENY
    - WILDFIRE_INLINE_CLOUD_ANALYSIS_ACTION_UNSPECIFIED
  customFileTypes:
    description: Submit a custom list of file types for WildFire analysis.
    $ref: WildfireInlineCloudAnalysisRuleCustomFileTypes.yaml
  direction:
    description: |-
      Direction for the file to be analyzed by WildFire Inline Cloud Analysis.
    type: string
    enum:
    - BOTH
    - DIRECTION_UNSPECIFIED
    - DOWNLOAD
    - UPLOAD
  fileSelectionMode:
    description: File selection mode for WildFire inline cloud analysis.
    type: string
    enum:
    - ALL_FILE_TYPES
    - CUSTOM_FILE_TYPES
    - FILE_SELECTION_MODE_UNSPECIFIED
