scans
Creates, updates, deletes, gets or lists a scans
resource.
Overview
Name | scans |
Type | Resource |
Id | google.spanner.scans |
Fields
The following fields are returned by SELECT
queries:
- scans_list
Successful response
Name | Datatype | Description |
---|---|---|
name | string | The unique name of the scan, specific to the Database service implementing this interface. |
details | object | Additional information provided by the implementer. |
endTime | string (google-datetime) | The upper bound for when the scan is defined. |
scanData | object | Output only. Cloud Key Visualizer scan data. Note, this field is not available to the ListScans method. (id: ScanData) |
startTime | string (google-datetime) | A range of time (inclusive) for when the scan is defined. The lower bound for when the scan is defined. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
scans_list | select | view , filter , pageSize , pageToken | Return available scans given a Database-specific resource name. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
filter | string | |
pageSize | integer (int32) | |
pageToken | string | |
view | string |
SELECT
examples
- scans_list
Return available scans given a Database-specific resource name.
SELECT
name,
details,
endTime,
scanData,
startTime
FROM google.spanner.scans
WHERE view = '{{ view }}'
AND filter = '{{ filter }}'
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}';