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/394/help/man/man1/gcloud_alpha_dlp_datasources_bigquery_inspect.1
.TH "GCLOUD_ALPHA_DLP_DATASOURCES_BIGQUERY_INSPECT" 1



.SH "NAME"
.HP
gcloud alpha dlp datasources bigquery inspect \- schedules a job to inspect content in a BigQuery table



.SH "SYNOPSIS"
.HP
\f5gcloud alpha dlp datasources bigquery inspect\fR \fIINPUT_TABLE\fR [\fB\-\-exclude\-info\-types\fR] [\fB\-\-identifying\-fields\fR=[\fIIDENTIFYING_FIELDS\fR,...]] [\fB\-\-include\-quote\fR] [\fB\-\-info\-types\fR=[\fIINFOTYPE\fR,...]] [\fB\-\-job\-id\fR=\fIJOB_ID\fR] [\fB\-\-max\-findings\fR=\fIMAX_FINDINGS\fR] [\fB\-\-max\-findings\-per\-item\fR=\fIMAX_FINDINGS_PER_ITEM\fR] [\fB\-\-max\-time\fR=\fIMAX_TIME\fR] [\fB\-\-min\-likelihood\fR=\fIMIN_LIKELIHOOD\fR;\ default="possible"] [\fB\-\-min\-time\fR=\fIMIN_TIME\fR] [\fB\-\-output\-table\fR=\fIOUTPUT_TABLE\fR\ |\ \fB\-\-output\-topics\fR=[\fIOUTPUT_TOPICS\fR,...]] [\fIGCLOUD_WIDE_FLAG\ ...\fR]



.SH "DESCRIPTION"

\fB(ALPHA)\fR Schedules a job to inspect content in a BigQuery table for
sensitive data.

.RS 2m
See Inspecting Storage and Databases for Sensitive Data (https://cloud.google.com/dlp/docs/inspecting\-storage)
for more details.
.RE



.SH "EXAMPLES"

The following command creates a job \f5my\-bq\-job\fR to scan records in
BigQuery table \f5myproject.myds.mytable\fR:

.RS 2m
$ gcloud alpha dlp datasources bigquery inspect \e
    `myproject.myds.mytable` \-\-job\-id my\-ds\-job \e
    \-\-min\-time '2018\-01\-01T12:00:00Z' \e
    \-\-max\-time '2018\-01\-31T12:00:00Z' \-\-output\-topics my\-topic \e
    \-\-max\-findings\-per\-item 3 \-\-max\-findings 1000 \e
    \-\-info\-types PHONE_NUMBER,EMAIL_ADDRESS \e
    \-\-min\-likelihood very\-likely \-\-include\-quote \e
    \-\-exclude\-info\-types
.RE



.SH "POSITIONAL ARGUMENTS"

.RS 2m
.TP 2m
\fIINPUT_TABLE\fR

BigQuery table to scan. BigQuery tables are uniquely identified by their
project_id, dataset_id, and table_id in the format
\f5<project_id>.<dataset_id>.<table_id>\fR.


.RE
.sp

.SH "FLAGS"

.RS 2m
.TP 2m
\fB\-\-exclude\-info\-types\fR

Whether or not to exclude type information of the findings. Type information is
included by default.

.TP 2m
\fB\-\-identifying\-fields\fR=[\fIIDENTIFYING_FIELDS\fR,...]

Comma separated list of references to field names uniquely identifying rows
within the BigQuery table. Nested fields in the format
\f5person.birthdate.year\fR are allowed.

.TP 2m
\fB\-\-include\-quote\fR

If True, a contextual quote from the data that triggered a finding is included
in the response. Even if the content is not text, it may be converted to a
textual representation in the response. For example, given the input value 'My
phone number is (415) 555\-0890' and a search for the infoType PHONE_NUMBER, the
contextual quote would be '(415) 555\-0890.'

.TP 2m
\fB\-\-info\-types\fR=[\fIINFOTYPE\fR,...]

Which infoTypes to scan input for. The values must correspond to infoType values
found in documentation. For more information about valid infoTypes, see
infoTypes Reference (https://cloud.google.com/dlp/docs/infotypes\-reference)

.TP 2m
\fB\-\-job\-id\fR=\fIJOB_ID\fR

Optional job ID to use for the created job. If not provided, a job ID will
automatically be generated. Must be unique within the project. The job ID can
contain uppercase and lowercase letters, numbers, and hyphens; that is, it must
match the regular expression: \f5[a\-zA\-Z\e\ed\-]+\fR. The maximum length is
100 characters. Can be empty to allow the system to generate one.

.TP 2m
\fB\-\-max\-findings\fR=\fIMAX_FINDINGS\fR

Maximum number of findings that will be returned per execution.

If not specified, no limits are applied.

.TP 2m
\fB\-\-max\-findings\-per\-item\fR=\fIMAX_FINDINGS_PER_ITEM\fR

Maximum number of findings that will be returned for each item scanned.

If not specified, no limits are applied.

.TP 2m
\fB\-\-max\-time\fR=\fIMAX_TIME\fR

Scan will include items in repository whose age is >= min\-time and <=
max\-time.

If max\-time is omitted then there is no maximum time limit.

See $ gcloud topic datetimes for information on time formats.

.TP 2m
\fB\-\-min\-likelihood\fR=\fIMIN_LIKELIHOOD\fR; default="possible"

Only return findings equal to or above this threshold. \fIMIN_LIKELIHOOD\fR must
be one of: \fBlikely\fR, \fBpossible\fR, \fBunlikely\fR, \fBvery\-likely\fR,
\fBvery\-unlikely\fR.

.TP 2m
\fB\-\-min\-time\fR=\fIMIN_TIME\fR

Scan will include items in repository whose age is >= min\-time and <=
max\-time.

If max\-time is omitted then there is no maximum time limit.

See $ gcloud topic datetimes for information on time formats.

.TP 2m

At most one of these can be specified:


.RS 2m
.TP 2m
\fB\-\-output\-table\fR=\fIOUTPUT_TABLE\fR

Publishes results of a Cloud DLP job a BigQuery table. BigQuery tables are
uniquely identified by their project_id, dataset_id, and table_id in the format
\f5<project_id>.<dataset_id>.<table_id>\fR or
\f5<project_id>.<dataset_id>.<table_id>\fR. If no table_id is specified, DLP
will create a table for you.

.TP 2m
\fB\-\-output\-topics\fR=[\fIOUTPUT_TOPICS\fR,...]

Publishes the results of a Cloud DLP job to one or more Cloud Pub/Sub topics.

Note: The topic must have given publishing access rights to the DLP API service
account executing the Cloud DLP job.


.RE
.RE
.sp

.SH "GCLOUD WIDE FLAGS"

These flags are available to all commands: \-\-access\-token\-file, \-\-account,
\-\-billing\-project, \-\-configuration, \-\-flags\-file, \-\-flatten,
\-\-format, \-\-help, \-\-impersonate\-service\-account, \-\-log\-http,
\-\-project, \-\-quiet, \-\-trace\-token, \-\-user\-output\-enabled,
\-\-verbosity.

Run \fB$ gcloud help\fR for details.



.SH "API REFERENCE"

This command uses the \fBdlp/v2\fR API. The full documentation for this API can
be found at: https://cloud.google.com/sensitive\-data\-protection/docs/



.SH "NOTES"

This command is currently in alpha and might change without notice. If this
command fails with API permission errors despite specifying the correct project,
you might be trying to access an API with an invitation\-only early access
allowlist.