HEX
Server: Apache/2.4.65 (Ubuntu)
System: Linux ielts-store-v2 6.8.0-1036-gcp #38~22.04.1-Ubuntu SMP Thu Aug 14 01:19:18 UTC 2025 x86_64
User: root (0)
PHP: 7.2.34-54+ubuntu20.04.1+deb.sury.org+1
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
File: //snap/google-cloud-cli/current/lib/surface/dlp/datasources/datastore/inspect.yaml
# 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.
- release_tracks: [ALPHA]
  help_text:
    brief: Schedules a job to inspect content in a Cloud Datastore.
    description: |
      Schedules a job to inspect content in a Cloud Datastore for sensitive data.

       See [Inspecting Storage and Databases for Sensitive Data](https://cloud.google.com/dlp/docs/inspecting-storage)
       for more details.
    examples: |
      The following command creates a job `my-ds-job` to scan records in
      Cloud Datastore table `myds:mykind`:

        $ {command}  `myds:mykind` --job-id my-ds-job --min-time '2018-01-01T12:00:00Z' --max-time '2018-01-31T12:00:00Z' --output-topics my-topic --max-findings-per-item 3 --max-findings 1000 --info-types PHONE_NUMBER,EMAIL_ADDRESS --min-likelihood very-likely --include-quote --exclude-info-types

  request:
    collection: dlp.projects.dlpJobs
    display_resource_type: job
    method: create
    api_version: v2
    modify_request_hooks:
    - googlecloudsdk.command_lib.dlp.hooks:SetRequestParent
  arguments:
    params:
    - _REF_: googlecloudsdk.command_lib.dlp.flags:datastore_kind
      arg_name: datastore_kind
      api_field: googlePrivacyDlpV2CreateDlpJobRequest.inspectJob.storageConfig.datastoreOptions
      is_positional: true
      required: true
    - _REF_: googlecloudsdk.command_lib.dlp.flags:max_item_findings
    - _REF_: googlecloudsdk.command_lib.dlp.flags:min_time
    - _REF_: googlecloudsdk.command_lib.dlp.flags:max_time
    - _REF_: googlecloudsdk.command_lib.dlp.flags:jobs_output_group
    - _REF_: googlecloudsdk.command_lib.dlp.flags:info_type
      api_field: googlePrivacyDlpV2CreateDlpJobRequest.inspectJob.inspectConfig.infoTypes
    - _REF_: googlecloudsdk.command_lib.dlp.flags:min_likelihood
      api_field: googlePrivacyDlpV2CreateDlpJobRequest.inspectJob.inspectConfig.minLikelihood
    - _REF_: googlecloudsdk.command_lib.dlp.flags:include_quote
      api_field: googlePrivacyDlpV2CreateDlpJobRequest.inspectJob.inspectConfig.includeQuote
    - _REF_: googlecloudsdk.command_lib.dlp.flags:max_findings
      api_field: googlePrivacyDlpV2CreateDlpJobRequest.inspectJob.inspectConfig.limits.maxFindingsPerRequest
    - _REF_: googlecloudsdk.command_lib.dlp.flags:exclude_info_types
      api_field: googlePrivacyDlpV2CreateDlpJobRequest.inspectJob.inspectConfig.excludeInfoTypes
    - _REF_: googlecloudsdk.command_lib.dlp.flags:job_id
    resource:
      help_text: |
        The Cloud DLP project to create Job In.
      spec: !REF googlecloudsdk.command_lib.dlp.resources:project
      is_parent_resource: true