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 |
Lists sinks.
See: Stackdriver Logging API Reference for logging.folders.sinks.list
.
Synopsis
- type FoldersSinksListResource = "v2" :> (Capture "parent" Text :> ("sinks" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListSinksResponse))))))))))
- foldersSinksList :: Text -> FoldersSinksList
- data FoldersSinksList
- fslParent :: Lens' FoldersSinksList Text
- fslXgafv :: Lens' FoldersSinksList (Maybe Xgafv)
- fslUploadProtocol :: Lens' FoldersSinksList (Maybe Text)
- fslAccessToken :: Lens' FoldersSinksList (Maybe Text)
- fslUploadType :: Lens' FoldersSinksList (Maybe Text)
- fslPageToken :: Lens' FoldersSinksList (Maybe Text)
- fslPageSize :: Lens' FoldersSinksList (Maybe Int32)
- fslCallback :: Lens' FoldersSinksList (Maybe Text)
REST Resource
type FoldersSinksListResource = "v2" :> (Capture "parent" Text :> ("sinks" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListSinksResponse)))))))))) Source #
A resource alias for logging.folders.sinks.list
method which the
FoldersSinksList
request conforms to.
Creating a Request
Creates a value of FoldersSinksList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data FoldersSinksList Source #
Lists sinks.
See: foldersSinksList
smart constructor.
Instances
Request Lenses
fslParent :: Lens' FoldersSinksList Text Source #
Required. The parent resource whose sinks are to be listed: "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]"
fslUploadProtocol :: Lens' FoldersSinksList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
fslAccessToken :: Lens' FoldersSinksList (Maybe Text) Source #
OAuth access token.
fslUploadType :: Lens' FoldersSinksList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
fslPageToken :: Lens' FoldersSinksList (Maybe Text) Source #
Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.
fslPageSize :: Lens' FoldersSinksList (Maybe Int32) Source #
Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.
fslCallback :: Lens' FoldersSinksList (Maybe Text) Source #
JSONP