- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Examples
- Try it!
Use this method to look up a stream object by its source object identifier.
HTTP request
POST https://datastream.googleapis.com/v1/{parent}/objects:lookup
Path parameters
| Parameters | |
|---|---|
parent
|
Required. The parent stream that owns the collection of objects. |
Request body
The request body contains data with the following structure:
| JSON representation |
|---|
{
"sourceObjectIdentifier"
:
{
object (
|
| Fields | |
|---|---|
sourceObjectIdentifier
|
Required. The source object identifier which maps to the stream object. |
Response body
If successful, the response body contains an instance of StreamObject
.
Authorization scopes
Requires the following OAuth scope:
-
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview .
IAM Permissions
Requires the following IAM
permission on the parent
resource:
-
datastream.objects.list
For more information, see the IAM documentation .

