Skip to main content

config

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

Overview

Nameconfig
TypeResource
Idgoogle.clouddeploy.config

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
namestringName of the configuration.
defaultSkaffoldVersionstringDefault Skaffold version that is assigned when a Release is created without specifying a Skaffold version.
supportedVersionsarrayAll supported versions of Skaffold.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_configselectprojectsId, locationsIdGets the configuration for a 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

SELECT examples

Gets the configuration for a location.

SELECT
name,
defaultSkaffoldVersion,
supportedVersions
FROM google.clouddeploy.config
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required;