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.sinks.list
.
Synopsis
- type SinksListResource = "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))))))))))
- sinksList :: Text -> SinksList
- data SinksList
- slParent :: Lens' SinksList Text
- slXgafv :: Lens' SinksList (Maybe Xgafv)
- slUploadProtocol :: Lens' SinksList (Maybe Text)
- slAccessToken :: Lens' SinksList (Maybe Text)
- slUploadType :: Lens' SinksList (Maybe Text)
- slPageToken :: Lens' SinksList (Maybe Text)
- slPageSize :: Lens' SinksList (Maybe Int32)
- slCallback :: Lens' SinksList (Maybe Text)
REST Resource
type SinksListResource = "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.sinks.list
method which the
SinksList
request conforms to.
Creating a Request
Creates a value of SinksList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Lists sinks.
See: sinksList
smart constructor.
Instances
Request Lenses
slParent :: Lens' SinksList 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]"
slUploadProtocol :: Lens' SinksList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
slUploadType :: Lens' SinksList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
slPageToken :: Lens' SinksList (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.