gcloud datastream objects lookup

NAME
gcloud datastream objects lookup - lookup a Datastream stream object
SYNOPSIS
gcloud datastream objects lookup(--salesforce-object-name=SALESFORCE_OBJECT_NAME    |--mysql-database=MYSQL_DATABASE--mysql-table=MYSQL_TABLE    |--oracle-schema=ORACLE_SCHEMA--oracle-table=ORACLE_TABLE    |--postgresql-schema=POSTGRESQL_SCHEMA--postgresql-table=POSTGRESQL_TABLE    |--sqlserver-schema=SQLSERVER_SCHEMA--sqlserver-table=SQLSERVER_TABLE)(--stream=STREAM :--location=LOCATION)[GCLOUD_WIDE_FLAG]
DESCRIPTION
Lookup a stream object by its source object identifier (e.g. schema.table)
EXAMPLES
To lookup an existing Mysql stream object:
gclouddatastreamobjectslookup--stream=my-stream--location=us-central1--mysql-database=my-db--mysql-table=my-table

To lookup an existing Oracle stream object:

gclouddatastreamobjectslookup--stream=my-stream--location=us-central1--oracle-schema=my-schema--oracle-table=my-table

To lookup an existing PostgreSQL stream object:

gclouddatastreamobjectslookup--stream=my-stream--location=us-central1--postgresql-schema=my-schema--postgresql-table=my-table

To lookup an existing SQL Server stream object:

gclouddatastreamobjectslookup--stream=my-stream--location=us-central1--sqlserver-schema=my-schema--sqlserver-table=my-table

To lookup an existing Salesforce stream object:

gclouddatastreamobjectslookup--stream=my-stream--location=us-central1--salesforce-object-name=my-object
REQUIRED FLAGS
Exactly one of these must be specified:
--salesforce-object-name=SALESFORCE_OBJECT_NAME
Salesforce object name.
--mysql-database=MYSQL_DATABASE
Mysql database for the object.

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

--mysql-table=MYSQL_TABLE
Mysql table for the object.

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

--oracle-schema=ORACLE_SCHEMA
Oracle schema for the object.

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

--oracle-table=ORACLE_TABLE
Oracle table for the object.

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

--postgresql-schema=POSTGRESQL_SCHEMA
PostgreSQL schema for the object.

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

--postgresql-table=POSTGRESQL_TABLE
PostgreSQL table for the object.

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

--sqlserver-schema=SQLSERVER_SCHEMA
SQL Server schema for the object.

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

--sqlserver-table=SQLSERVER_TABLE
SQL Server table for the object.

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

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

To set theproject attribute:

  • provide the argument--stream on the command line with a fullyspecified name;
  • provide the argument--project on the command line;
  • set the propertycore/project.

This must be specified.

--stream=STREAM
ID of the stream or fully qualified identifier for the stream.

To set thestream attribute:

  • provide the argument--stream on the command line.

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

--location=LOCATION
The Cloud location for the stream.

To set thelocation attribute:

  • provide the argument--stream on the command line with a fullyspecified name;
  • provide the argument--location on the command line.
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$gcloud help for details.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-05-07 UTC.