objects
Creates, updates, deletes, gets or lists a objects
resource.
Overview
Name | objects |
Type | Resource |
Id | google.datastream.objects |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Output only. The object resource's name. |
backfillJob | object | Represents a backfill job on a specific stream object. |
createTime | string | Output only. The creation time of the object. |
displayName | string | Required. Display name. |
errors | array | Output only. Active errors on the object. |
sourceObject | object | Represents an identifier of an object in the data source. |
updateTime | string | Output only. The last update time of the object. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | locationsId, objectsId, projectsId, streamsId | Use this method to get details about a stream object. |
list | SELECT | locationsId, projectsId, streamsId | Use this method to list the objects of a specific stream. |
lookup | EXEC | locationsId, projectsId, streamsId | Use this method to look up a stream object by its source object identifier. |
start_backfill_job | EXEC | locationsId, objectsId, projectsId, streamsId | Use this method to start a backfill job for the specified stream object. |
stop_backfill_job | EXEC | locationsId, objectsId, projectsId, streamsId | Use this method to stop a backfill job for the specified stream object. |
SELECT
examples
Use this method to list the objects of a specific stream.
SELECT
name,
backfillJob,
createTime,
displayName,
errors,
sourceObject,
updateTime
FROM google.datastream.objects
WHERE locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}'
AND streamsId = '{{ streamsId }}';