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.projects.sinks.list
.
- type ProjectsSinksListResource = "v2" :> (Capture "parent" Text :> ("sinks" :> (QueryParam "$.xgafv" Xgafv :> (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
- pslParent :: Lens' ProjectsSinksList Text
- pslXgafv :: Lens' ProjectsSinksList (Maybe Xgafv)
- pslUploadProtocol :: Lens' ProjectsSinksList (Maybe Text)
- pslPp :: Lens' ProjectsSinksList Bool
- pslAccessToken :: Lens' ProjectsSinksList (Maybe Text)
- pslUploadType :: Lens' ProjectsSinksList (Maybe Text)
- pslBearerToken :: Lens' ProjectsSinksList (Maybe Text)
- pslPageToken :: Lens' ProjectsSinksList (Maybe Text)
- pslPageSize :: Lens' ProjectsSinksList (Maybe Int32)
- pslCallback :: Lens' ProjectsSinksList (Maybe Text)
REST Resource
type ProjectsSinksListResource = "v2" :> (Capture "parent" Text :> ("sinks" :> (QueryParam "$.xgafv" Xgafv :> (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
pslParent :: Lens' ProjectsSinksList Text Source #
Required. The cloud resource containing the sinks. Example: `"projects/my-logging-project"`.
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.
pslPageToken :: Lens' ProjectsSinksList (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.
pslPageSize :: Lens' ProjectsSinksList (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.
pslCallback :: Lens' ProjectsSinksList (Maybe Text) Source #
JSONP