{-# LANGUAGE DataKinds #-} {-# LANGUAGE DerivingStrategies #-} {-# LANGUAGE DuplicateRecordFields #-} {-# LANGUAGE ImportQualifiedPost #-} {-# LANGUAGE LambdaCase #-} {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE PatternSynonyms #-} {-# LANGUAGE RecordWildCards #-} {-# LANGUAGE StrictData #-} {-# LANGUAGE TypeFamilies #-} {-# LANGUAGE NoImplicitPrelude #-} {-# OPTIONS_GHC -fno-warn-duplicate-exports #-} {-# OPTIONS_GHC -fno-warn-name-shadowing #-} {-# OPTIONS_GHC -fno-warn-unused-binds #-} {-# OPTIONS_GHC -fno-warn-unused-imports #-} {-# OPTIONS_GHC -fno-warn-unused-matches #-} -- | -- Module : Gogol.AppState.Types -- Copyright : (c) 2015-2025 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay -- Toni Cebrián -- Stability : auto-generated -- Portability : non-portable (GHC extensions) module Gogol.AppState.Types ( -- * Configuration appStateService, -- * OAuth Scopes Appstate'FullControl, -- * Types -- ** GetResponse GetResponse (..), newGetResponse, -- ** ListResponse ListResponse (..), newListResponse, -- ** UpdateRequest UpdateRequest (..), newUpdateRequest, -- ** WriteResult WriteResult (..), newWriteResult, ) where import Gogol.AppState.Internal.Product import Gogol.AppState.Internal.Sum import Gogol.Prelude qualified as Core -- | Default request referring to version @v1@ of the Google App State API. This contains the host and root path used as a starting point for constructing service requests. appStateService :: Core.ServiceConfig appStateService = Core.defaultService (Core.ServiceId "appstate:v1") "www.googleapis.com" -- | View and manage your data for this application type Appstate'FullControl = "https://www.googleapis.com/auth/appstate"