Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Gets a sink.
See: Stackdriver Logging API Reference for logging.folders.sinks.get
.
Synopsis
- type FoldersSinksGetResource = "v2" :> (Capture "sinkName" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] LogSink)))))))
- foldersSinksGet :: Text -> FoldersSinksGet
- data FoldersSinksGet
- fsgXgafv :: Lens' FoldersSinksGet (Maybe Xgafv)
- fsgUploadProtocol :: Lens' FoldersSinksGet (Maybe Text)
- fsgAccessToken :: Lens' FoldersSinksGet (Maybe Text)
- fsgUploadType :: Lens' FoldersSinksGet (Maybe Text)
- fsgSinkName :: Lens' FoldersSinksGet Text
- fsgCallback :: Lens' FoldersSinksGet (Maybe Text)
REST Resource
type FoldersSinksGetResource = "v2" :> (Capture "sinkName" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] LogSink))))))) Source #
A resource alias for logging.folders.sinks.get
method which the
FoldersSinksGet
request conforms to.
Creating a Request
Creates a value of FoldersSinksGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data FoldersSinksGet Source #
Gets a sink.
See: foldersSinksGet
smart constructor.
Instances
Request Lenses
fsgUploadProtocol :: Lens' FoldersSinksGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
fsgAccessToken :: Lens' FoldersSinksGet (Maybe Text) Source #
OAuth access token.
fsgUploadType :: Lens' FoldersSinksGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
fsgSinkName :: Lens' FoldersSinksGet Text Source #
Required. The resource name of the sink: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" "folders/[FOLDER_ID]/sinks/[SINK_ID]" Example: "projects/my-project-id/sinks/my-sink-id".
fsgCallback :: Lens' FoldersSinksGet (Maybe Text) Source #
JSONP