config
Creates, updates, deletes, gets or lists a config resource.
Overview
| Name | config |
| Type | Resource |
| Id | google.clouddeploy.config |
Fields
The following fields are returned by SELECT queries:
- get_config
| Name | Datatype | Description |
|---|---|---|
name | string | Name of the configuration. |
defaultSkaffoldVersion | string | Default Skaffold version that is assigned when a Release is created without specifying a Skaffold version. |
supportedVersions | array | All supported versions of Skaffold. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_config | select | projectsId, locationsId | Gets 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.
| Name | Datatype | Description |
|---|---|---|
locationsId | string | |
projectsId | string |
SELECT examples
- get_config
Gets the configuration for a location.
SELECT
name,
defaultSkaffoldVersion,
supportedVersions
FROM google.clouddeploy.config
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
;