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 the descriptors for monitored resource types used by Logging.
See: Stackdriver Logging API Reference for logging.monitoredResourceDescriptors.list
.
Synopsis
- type MonitoredResourceDescriptorsListResource = "v2" :> ("monitoredResourceDescriptors" :> (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] ListMonitoredResourceDescriptorsResponse)))))))))
- monitoredResourceDescriptorsList :: MonitoredResourceDescriptorsList
- data MonitoredResourceDescriptorsList
- mrdlXgafv :: Lens' MonitoredResourceDescriptorsList (Maybe Xgafv)
- mrdlUploadProtocol :: Lens' MonitoredResourceDescriptorsList (Maybe Text)
- mrdlAccessToken :: Lens' MonitoredResourceDescriptorsList (Maybe Text)
- mrdlUploadType :: Lens' MonitoredResourceDescriptorsList (Maybe Text)
- mrdlPageToken :: Lens' MonitoredResourceDescriptorsList (Maybe Text)
- mrdlPageSize :: Lens' MonitoredResourceDescriptorsList (Maybe Int32)
- mrdlCallback :: Lens' MonitoredResourceDescriptorsList (Maybe Text)
REST Resource
type MonitoredResourceDescriptorsListResource = "v2" :> ("monitoredResourceDescriptors" :> (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] ListMonitoredResourceDescriptorsResponse))))))))) Source #
A resource alias for logging.monitoredResourceDescriptors.list
method which the
MonitoredResourceDescriptorsList
request conforms to.
Creating a Request
monitoredResourceDescriptorsList :: MonitoredResourceDescriptorsList Source #
Creates a value of MonitoredResourceDescriptorsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data MonitoredResourceDescriptorsList Source #
Lists the descriptors for monitored resource types used by Logging.
See: monitoredResourceDescriptorsList
smart constructor.
Instances
Request Lenses
mrdlUploadProtocol :: Lens' MonitoredResourceDescriptorsList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
mrdlAccessToken :: Lens' MonitoredResourceDescriptorsList (Maybe Text) Source #
OAuth access token.
mrdlUploadType :: Lens' MonitoredResourceDescriptorsList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
mrdlPageToken :: Lens' MonitoredResourceDescriptorsList (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.
mrdlPageSize :: Lens' MonitoredResourceDescriptorsList (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.