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: Google Cloud Logging API Reference for logging.projects.sinks.list
.
- type ProjectsSinksListResource = "v2beta1" :> (Capture "projectName" Text :> ("sinks" :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListSinksResponse))))))))))))
- projectsSinksList :: Text -> ProjectsSinksList
- data ProjectsSinksList
- pslXgafv :: Lens' ProjectsSinksList (Maybe Text)
- pslUploadProtocol :: Lens' ProjectsSinksList (Maybe Text)
- pslPp :: Lens' ProjectsSinksList Bool
- pslAccessToken :: Lens' ProjectsSinksList (Maybe Text)
- pslUploadType :: Lens' ProjectsSinksList (Maybe Text)
- pslBearerToken :: Lens' ProjectsSinksList (Maybe Text)
- pslProjectName :: Lens' ProjectsSinksList Text
- pslPageToken :: Lens' ProjectsSinksList (Maybe Text)
- pslPageSize :: Lens' ProjectsSinksList (Maybe Int32)
- pslCallback :: Lens' ProjectsSinksList (Maybe Text)
REST Resource
type ProjectsSinksListResource = "v2beta1" :> (Capture "projectName" Text :> ("sinks" :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListSinksResponse)))))))))))) Source #
A resource alias for logging.projects.sinks.list
method which the
ProjectsSinksList
request conforms to.
Creating a Request
Creates a value of ProjectsSinksList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsSinksList Source #
Lists sinks.
See: projectsSinksList
smart constructor.
Request Lenses
pslUploadProtocol :: Lens' ProjectsSinksList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pslAccessToken :: Lens' ProjectsSinksList (Maybe Text) Source #
OAuth access token.
pslUploadType :: Lens' ProjectsSinksList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pslBearerToken :: Lens' ProjectsSinksList (Maybe Text) Source #
OAuth bearer token.
pslProjectName :: Lens' ProjectsSinksList Text Source #
Required. The resource name of the project containing the sinks. Example: `"projects/my-logging-project"`.
pslPageToken :: Lens' ProjectsSinksList (Maybe Text) Source #
Optional. If the `pageToken` parameter is supplied, then the next page of results is retrieved. The `pageToken` parameter must be set to the value of the `nextPageToken` from the previous response. The value of `projectName` must be the same as in the previous request.
pslPageSize :: Lens' ProjectsSinksList (Maybe Int32) Source #
Optional. The maximum number of results to return from this request. You must check for presence of `nextPageToken` to determine if additional results are available, which you can retrieve by passing the `nextPageToken` value as the `pageToken` parameter in the next request.
pslCallback :: Lens' ProjectsSinksList (Maybe Text) Source #
JSONP