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 monitored resource descriptors that match a filter. This method does not require a Stackdriver account.
See: Stackdriver Monitoring API Reference for monitoring.projects.monitoredResourceDescriptors.list
.
Synopsis
- type ProjectsMonitoredResourceDescriptorsListResource = "v3" :> (Capture "name" Text :> ("monitoredResourceDescriptors" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "filter" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListMonitoredResourceDescriptorsResponse)))))))))))
- projectsMonitoredResourceDescriptorsList :: Text -> ProjectsMonitoredResourceDescriptorsList
- data ProjectsMonitoredResourceDescriptorsList
- pmrdlXgafv :: Lens' ProjectsMonitoredResourceDescriptorsList (Maybe Xgafv)
- pmrdlUploadProtocol :: Lens' ProjectsMonitoredResourceDescriptorsList (Maybe Text)
- pmrdlAccessToken :: Lens' ProjectsMonitoredResourceDescriptorsList (Maybe Text)
- pmrdlUploadType :: Lens' ProjectsMonitoredResourceDescriptorsList (Maybe Text)
- pmrdlName :: Lens' ProjectsMonitoredResourceDescriptorsList Text
- pmrdlFilter :: Lens' ProjectsMonitoredResourceDescriptorsList (Maybe Text)
- pmrdlPageToken :: Lens' ProjectsMonitoredResourceDescriptorsList (Maybe Text)
- pmrdlPageSize :: Lens' ProjectsMonitoredResourceDescriptorsList (Maybe Int32)
- pmrdlCallback :: Lens' ProjectsMonitoredResourceDescriptorsList (Maybe Text)
REST Resource
type ProjectsMonitoredResourceDescriptorsListResource = "v3" :> (Capture "name" Text :> ("monitoredResourceDescriptors" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "filter" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListMonitoredResourceDescriptorsResponse))))))))))) Source #
A resource alias for monitoring.projects.monitoredResourceDescriptors.list
method which the
ProjectsMonitoredResourceDescriptorsList
request conforms to.
Creating a Request
projectsMonitoredResourceDescriptorsList Source #
Creates a value of ProjectsMonitoredResourceDescriptorsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsMonitoredResourceDescriptorsList Source #
Lists monitored resource descriptors that match a filter. This method does not require a Stackdriver account.
See: projectsMonitoredResourceDescriptorsList
smart constructor.
Instances
Request Lenses
pmrdlXgafv :: Lens' ProjectsMonitoredResourceDescriptorsList (Maybe Xgafv) Source #
V1 error format.
pmrdlUploadProtocol :: Lens' ProjectsMonitoredResourceDescriptorsList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pmrdlAccessToken :: Lens' ProjectsMonitoredResourceDescriptorsList (Maybe Text) Source #
OAuth access token.
pmrdlUploadType :: Lens' ProjectsMonitoredResourceDescriptorsList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pmrdlName :: Lens' ProjectsMonitoredResourceDescriptorsList Text Source #
The project on which to execute the request. The format is "projects/{project_id_or_number}".
pmrdlFilter :: Lens' ProjectsMonitoredResourceDescriptorsList (Maybe Text) Source #
An optional filter describing the descriptors to be returned. The filter can reference the descriptor's type and labels. For example, the following filter returns only Google Compute Engine descriptors that have an id label: resource.type = starts_with("gce_") AND resource.label:id
pmrdlPageToken :: Lens' ProjectsMonitoredResourceDescriptorsList (Maybe Text) Source #
If this field is not empty then it must contain the nextPageToken value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.
pmrdlPageSize :: Lens' ProjectsMonitoredResourceDescriptorsList (Maybe Int32) Source #
A positive number that is the maximum number of results to return.