# Copyright 2018 Google LLC. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#    http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
text_args:
  redact_info_type:
    _REF_: googlecloudsdk.surface.dlp.__init__:info_type
    api_field: googlePrivacyDlpV2DeidentifyContentRequest.inspectConfig.infoTypes
    required: true
  redact_content_arg:
    group:
      mutex: true
      required: true
      params:
      - api_field: googlePrivacyDlpV2DeidentifyContentRequest.item.value
        arg_name: content-file
        type: "googlecloudsdk.calliope.arg_parsers:FileContents:"
        help_text: |
          Text file to scan for sensitive data to redact. Can also be a CSV
          file specifying tabular data. For CSV files, up to 50,000 values
          per request are allowed. To read from stdin pass '-' as the file
          name.
      - api_field: googlePrivacyDlpV2DeidentifyContentRequest.item.value
        arg_name: content
        help_text: |
          Text content to redact sensitive data from.
  inspect_content_arg:
    group:
      mutex: true
      required: true
      params:
      - api_field: googlePrivacyDlpV2InspectContentRequest.item.value
        arg_name: content-file
        type: "googlecloudsdk.calliope.arg_parsers:FileContents:"
        help_text: |
          Text file to inspect for sensitive data. Can also be a CSV
          file specifying tabular data. For CSV files, up to 50,000 values
          per request are allowed. To read from stdin pass '-' as the file
          name.
      - api_field: googlePrivacyDlpV2InspectContentRequest.item.value
        arg_name: content
        help_text: |
          Text content to inspect for sensitive data.
