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/help/man/man1/gcloud_datastream_objects_lookup.1
.TH "GCLOUD_DATASTREAM_OBJECTS_LOOKUP" 1



.SH "NAME"
.HP
gcloud datastream objects lookup \- lookup a Datastream stream object



.SH "SYNOPSIS"
.HP
\f5gcloud datastream objects lookup\fR (\fB\-\-salesforce\-object\-name\fR=\fISALESFORCE_OBJECT_NAME\fR\ |\ \fB\-\-mysql\-database\fR=\fIMYSQL_DATABASE\fR\ \fB\-\-mysql\-table\fR=\fIMYSQL_TABLE\fR\ |\ \fB\-\-oracle\-schema\fR=\fIORACLE_SCHEMA\fR\ \fB\-\-oracle\-table\fR=\fIORACLE_TABLE\fR\ |\ \fB\-\-postgresql\-schema\fR=\fIPOSTGRESQL_SCHEMA\fR\ \fB\-\-postgresql\-table\fR=\fIPOSTGRESQL_TABLE\fR\ |\ \fB\-\-sqlserver\-schema\fR=\fISQLSERVER_SCHEMA\fR\ \fB\-\-sqlserver\-table\fR=\fISQLSERVER_TABLE\fR) (\fB\-\-stream\fR=\fISTREAM\fR\ :\ \fB\-\-location\fR=\fILOCATION\fR) [\fIGCLOUD_WIDE_FLAG\ ...\fR]



.SH "DESCRIPTION"

Lookup a stream object by its source object identifier (e.g. schema.table)



.SH "EXAMPLES"

To lookup an existing Mysql stream object:

.RS 2m
$ gcloud datastream objects lookup \-\-stream=my\-stream \e
  \-\-location=us\-central1 \-\-mysql\-database=my\-db \e
  \-\-mysql\-table=my\-table
.RE

To lookup an existing Oracle stream object:

.RS 2m
$ gcloud datastream objects lookup \-\-stream=my\-stream \e
  \-\-location=us\-central1 \-\-oracle\-schema=my\-schema \e
  \-\-oracle\-table=my\-table
.RE

To lookup an existing PostgreSQL stream object:

.RS 2m
$ gcloud datastream objects lookup \-\-stream=my\-stream \e
  \-\-location=us\-central1 \-\-postgresql\-schema=my\-schema \e
  \-\-postgresql\-table=my\-table
.RE

To lookup an existing SQL Server stream object:

.RS 2m
$ gcloud datastream objects lookup \-\-stream=my\-stream \e
   \-\-location=us\-central1 \-\-sqlserver\-schema=my\-schema \e
   \-\-sqlserver\-table=my\-table
.RE

To lookup an existing Salesforce stream object:

.RS 2m
$ gcloud datastream objects lookup \-\-stream=my\-stream \e
   \-\-location=us\-central1 \-\-salesforce\-object\-name=my\-object
.RE



.SH "REQUIRED FLAGS"

.RS 2m
.TP 2m

Exactly one of these must be specified:


.RS 2m
.TP 2m
\fB\-\-salesforce\-object\-name\fR=\fISALESFORCE_OBJECT_NAME\fR

Salesforce object name.

.TP 2m
\fB\-\-mysql\-database\fR=\fIMYSQL_DATABASE\fR

Mysql database for the object.

This flag argument must be specified if any of the other arguments in this group
are specified.

.TP 2m
\fB\-\-mysql\-table\fR=\fIMYSQL_TABLE\fR

Mysql table for the object.

This flag argument must be specified if any of the other arguments in this group
are specified.

.TP 2m
\fB\-\-oracle\-schema\fR=\fIORACLE_SCHEMA\fR

Oracle schema for the object.

This flag argument must be specified if any of the other arguments in this group
are specified.

.TP 2m
\fB\-\-oracle\-table\fR=\fIORACLE_TABLE\fR

Oracle table for the object.

This flag argument must be specified if any of the other arguments in this group
are specified.

.TP 2m
\fB\-\-postgresql\-schema\fR=\fIPOSTGRESQL_SCHEMA\fR

PostgreSQL schema for the object.

This flag argument must be specified if any of the other arguments in this group
are specified.

.TP 2m
\fB\-\-postgresql\-table\fR=\fIPOSTGRESQL_TABLE\fR

PostgreSQL table for the object.

This flag argument must be specified if any of the other arguments in this group
are specified.

.TP 2m
\fB\-\-sqlserver\-schema\fR=\fISQLSERVER_SCHEMA\fR

SQL Server schema for the object.

This flag argument must be specified if any of the other arguments in this group
are specified.

.TP 2m
\fB\-\-sqlserver\-table\fR=\fISQLSERVER_TABLE\fR

SQL Server table for the object.

This flag argument must be specified if any of the other arguments in this group
are specified.

.RE
.sp
.TP 2m

Stream resource \- The stream to list objects for. The arguments in this group
can be used to specify the attributes of this resource. (NOTE) Some attributes
are not given arguments in this group but can be set in other ways.

To set the \f5project\fR attribute:
.RS 2m
.IP "\(em" 2m
provide the argument \f5\-\-stream\fR on the command line with a fully specified
name;
.IP "\(em" 2m
provide the argument \f5\-\-project\fR on the command line;
.IP "\(em" 2m
set the property \f5core/project\fR.
.RE
.sp

This must be specified.


.RS 2m
.TP 2m
\fB\-\-stream\fR=\fISTREAM\fR

ID of the stream or fully qualified identifier for the stream.

To set the \f5stream\fR attribute:
.RS 2m
.IP "\(bu" 2m
provide the argument \f5\-\-stream\fR on the command line.
.RE
.sp

This flag argument must be specified if any of the other arguments in this group
are specified.

.TP 2m
\fB\-\-location\fR=\fILOCATION\fR

The Cloud location for the stream.

To set the \f5location\fR attribute:
.RS 2m
.IP "\(bu" 2m
provide the argument \f5\-\-stream\fR on the command line with a fully specified
name;
.IP "\(bu" 2m
provide the argument \f5\-\-location\fR on the command line.
.RE
.sp


.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.