Skip to main content

objects

Creates, updates, deletes, gets or lists a objects resource.

Overview

Nameobjects
TypeResource
Idgoogle.datastream.objects

Fields

NameDatatypeDescription
namestringOutput only. The object resource's name.
backfillJobobjectRepresents a backfill job on a specific stream object.
createTimestringOutput only. The creation time of the object.
displayNamestringRequired. Display name.
errorsarrayOutput only. Active errors on the object.
sourceObjectobjectRepresents an identifier of an object in the data source.
updateTimestringOutput only. The last update time of the object.

Methods

NameAccessible byRequired ParamsDescription
getSELECTlocationsId, objectsId, projectsId, streamsIdUse this method to get details about a stream object.
listSELECTlocationsId, projectsId, streamsIdUse this method to list the objects of a specific stream.
lookupEXEClocationsId, projectsId, streamsIdUse this method to look up a stream object by its source object identifier.
start_backfill_jobEXEClocationsId, objectsId, projectsId, streamsIdUse this method to start a backfill job for the specified stream object.
stop_backfill_jobEXEClocationsId, objectsId, projectsId, streamsIdUse 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 }}';