config
Creates, updates, deletes, gets or lists a config
resource.
Overview
Name | config |
Type | Resource |
Id | google.dataform.config |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Identifier. The config name. |
defaultKmsKeyName | string | Optional. The default KMS key that is used if no encryption key is provided when a repository is created. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get_config | SELECT | locationsId, projectsId | Get default config for a given project and location. |
update_config | UPDATE | locationsId, projectsId | Update default config for a given project and location. |
SELECT
examples
Get default config for a given project and location.
SELECT
name,
defaultKmsKeyName
FROM google.dataform.config
WHERE locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';
UPDATE
example
Updates a config
resource.
/*+ update */
UPDATE google.dataform.config
SET
name = '{{ name }}',
defaultKmsKeyName = '{{ defaultKmsKeyName }}'
WHERE
locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';