settings
Creates, updates, deletes, gets or lists a settings
resource.
Overview
Name | settings |
Type | Resource |
Id | google.migrationcenter.settings |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Output only. The name of the resource. |
disableCloudLogging | boolean | Disable Cloud Logging for the Migration Center API. Users are billed for the logs. |
preferenceSet | string | The preference set used by default for a project. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get_settings | SELECT | locationsId, projectsId | Gets the details of regional settings. |
update_settings | UPDATE | locationsId, projectsId | Updates the regional-level project settings. |
SELECT
examples
Gets the details of regional settings.
SELECT
name,
disableCloudLogging,
preferenceSet
FROM google.migrationcenter.settings
WHERE locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';
UPDATE
example
Updates a settings
resource.
/*+ update */
UPDATE google.migrationcenter.settings
SET
preferenceSet = '{{ preferenceSet }}',
disableCloudLogging = true|false
WHERE
locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';