chromium/components/policy/test/data/pref_mapping/ContextualGoogleIntegrationsEnabled.json

[
  {
    "os": [
      "chromeos_ash"
    ],
    "policy_pref_mapping_tests": [
      {
        "note": "default",
        "policies": {},
        "prefs": {
          "ash.contextual_google_integrations_configuration": {
            "default_value": [
              "GoogleCalendar",
              "GoogleClassroom",
              "GoogleTasks",
              "ChromeSync",
              "GoogleDrive",
              "Weather"
            ]
          }
        }
      },
      {
        "note": "invalid type",
        "policies": {
          "ContextualGoogleIntegrationsEnabled": 123
        },
        "prefs": {
          "ash.contextual_google_integrations_configuration": {
            "default_value": [
              "GoogleCalendar",
              "GoogleClassroom",
              "GoogleTasks",
              "ChromeSync",
              "GoogleDrive",
              "Weather"
            ]
          }
        }
      },
      {
        "note": "false",
        "policies": {
          "ContextualGoogleIntegrationsEnabled": false
        },
        "prefs": {
          "ash.contextual_google_integrations_configuration": {
            "value": []
          }
        }
      },
      {
        "note": "true",
        "policies": {
          "ContextualGoogleIntegrationsEnabled": true,
          "ContextualGoogleIntegrationsConfiguration": [
            "GoogleCalendar",
            "GoogleClassroom",
            "GoogleTasks",
            "ChromeSync",
            "GoogleDrive",
            "Weather"
          ]
        },
        "prefs": {
          "ash.contextual_google_integrations_configuration": {
            "value": [
              "GoogleCalendar",
              "GoogleClassroom",
              "GoogleTasks",
              "ChromeSync",
              "GoogleDrive",
              "Weather"
            ]
          }
        }
      }
    ]
  }
]