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 |
List all Categories for a host project.
See: Stackdriver Monitoring API Reference for monitoring.categories.list
.
- type CategoriesListResource = "v3" :> ("categories" :> (QueryParam "parent" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "filter" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListCategoriesResponse)))))))))))))
- categoriesList :: CategoriesList
- data CategoriesList
- clParent :: Lens' CategoriesList (Maybe Text)
- clXgafv :: Lens' CategoriesList (Maybe Xgafv)
- clUploadProtocol :: Lens' CategoriesList (Maybe Text)
- clPp :: Lens' CategoriesList Bool
- clAccessToken :: Lens' CategoriesList (Maybe Text)
- clUploadType :: Lens' CategoriesList (Maybe Text)
- clBearerToken :: Lens' CategoriesList (Maybe Text)
- clFilter :: Lens' CategoriesList (Maybe Text)
- clPageToken :: Lens' CategoriesList (Maybe Text)
- clPageSize :: Lens' CategoriesList (Maybe Int32)
- clCallback :: Lens' CategoriesList (Maybe Text)
REST Resource
type CategoriesListResource = "v3" :> ("categories" :> (QueryParam "parent" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "filter" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListCategoriesResponse))))))))))))) Source #
A resource alias for monitoring.categories.list
method which the
CategoriesList
request conforms to.
Creating a Request
categoriesList :: CategoriesList Source #
Creates a value of CategoriesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CategoriesList Source #
List all Categories for a host project.
See: categoriesList
smart constructor.
Request Lenses
clParent :: Lens' CategoriesList (Maybe Text) Source #
Resource parent of the project to get. Resource parent form is projects/{project_id_or_number}.
clUploadProtocol :: Lens' CategoriesList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
clAccessToken :: Lens' CategoriesList (Maybe Text) Source #
OAuth access token.
clUploadType :: Lens' CategoriesList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
clBearerToken :: Lens' CategoriesList (Maybe Text) Source #
OAuth bearer token.
clFilter :: Lens' CategoriesList (Maybe Text) Source #
A filter that specifies what Categories to return.
clPageToken :: Lens' CategoriesList (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.
clPageSize :: Lens' CategoriesList (Maybe Int32) Source #
A positive number that is the maximum number of results to return. When 0, use default page size.
clCallback :: Lens' CategoriesList (Maybe Text) Source #
JSONP