Skip to main content

databases_scans

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

Overview

Namedatabases_scans
TypeResource
Idgoogle.spanner.databases_scans

Fields

NameDatatypeDescription
namestringThe unique name of the scan, specific to the Database service implementing this interface.
detailsobjectAdditional information provided by the implementer.
endTimestringThe upper bound for when the scan is defined.
scanDataobjectScanData contains Cloud Key Visualizer scan data used by the caller to construct a visualization.
startTimestringA range of time (inclusive) for when the scan is defined. The lower bound for when the scan is defined.

Methods

NameAccessible byRequired ParamsDescription
projects_instances_databases_get_scansSELECTdatabasesId, instancesId, projectsIdRequest a specific scan with Database-specific data for Cloud Key Visualizer.

SELECT examples

Request a specific scan with Database-specific data for Cloud Key Visualizer.

SELECT
name,
details,
endTime,
scanData,
startTime
FROM google.spanner.databases_scans
WHERE databasesId = '{{ databasesId }}'
AND instancesId = '{{ instancesId }}'
AND projectsId = '{{ projectsId }}';