Skip to main content

versions

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

Overview​

Nameversions
TypeResource
Idgoogle.datafusion.versions

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
availableFeaturesarrayRepresents a list of available feature names for a given version.
defaultVersionbooleanWhether this is currently the default version for Cloud Data Fusion
typestringType represents the release availability of the version (TYPE_UNSPECIFIED, TYPE_PREVIEW, TYPE_GENERAL_AVAILABILITY, TYPE_DEPRECATED)
versionNumberstringThe version number of the Data Fusion instance, such as '6.0.1.0'.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectprojectsId, locationsIdlatestPatchOnly, pageSize, pageTokenLists possible versions for Data Fusion instances in the specified project and location.

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.

NameDatatypeDescription
locationsIdstring
projectsIdstring
latestPatchOnlyboolean
pageSizeinteger (int32)
pageTokenstring

SELECT examples​

Lists possible versions for Data Fusion instances in the specified project and location.

SELECT
availableFeatures,
defaultVersion,
type,
versionNumber
FROM google.datafusion.versions
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND latestPatchOnly = '{{ latestPatchOnly }}'
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}'
;