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 existing groups.
See: Stackdriver Monitoring API Reference for monitoring.projects.groups.list
.
Synopsis
- type ProjectsGroupsListResource = "v3" :> (Capture "name" Text :> ("groups" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "childrenOfGroup" Text :> (QueryParam "descendantsOfGroup" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "ancestorsOfGroup" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListGroupsResponse)))))))))))))
- projectsGroupsList :: Text -> ProjectsGroupsList
- data ProjectsGroupsList
- pglXgafv :: Lens' ProjectsGroupsList (Maybe Xgafv)
- pglUploadProtocol :: Lens' ProjectsGroupsList (Maybe Text)
- pglChildrenOfGroup :: Lens' ProjectsGroupsList (Maybe Text)
- pglDescendantsOfGroup :: Lens' ProjectsGroupsList (Maybe Text)
- pglAccessToken :: Lens' ProjectsGroupsList (Maybe Text)
- pglUploadType :: Lens' ProjectsGroupsList (Maybe Text)
- pglName :: Lens' ProjectsGroupsList Text
- pglPageToken :: Lens' ProjectsGroupsList (Maybe Text)
- pglPageSize :: Lens' ProjectsGroupsList (Maybe Int32)
- pglAncestorsOfGroup :: Lens' ProjectsGroupsList (Maybe Text)
- pglCallback :: Lens' ProjectsGroupsList (Maybe Text)
REST Resource
type ProjectsGroupsListResource = "v3" :> (Capture "name" Text :> ("groups" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "childrenOfGroup" Text :> (QueryParam "descendantsOfGroup" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "ancestorsOfGroup" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListGroupsResponse))))))))))))) Source #
A resource alias for monitoring.projects.groups.list
method which the
ProjectsGroupsList
request conforms to.
Creating a Request
Creates a value of ProjectsGroupsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsGroupsList Source #
Lists the existing groups.
See: projectsGroupsList
smart constructor.
Instances
Request Lenses
pglUploadProtocol :: Lens' ProjectsGroupsList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pglChildrenOfGroup :: Lens' ProjectsGroupsList (Maybe Text) Source #
A group name: "projects/{project_id_or_number}/groups/{group_id}". Returns groups whose parentName field contains the group name. If no groups have this parent, the results are empty.
pglDescendantsOfGroup :: Lens' ProjectsGroupsList (Maybe Text) Source #
A group name: "projects/{project_id_or_number}/groups/{group_id}". Returns the descendants of the specified group. This is a superset of the results returned by the childrenOfGroup filter, and includes children-of-children, and so forth.
pglAccessToken :: Lens' ProjectsGroupsList (Maybe Text) Source #
OAuth access token.
pglUploadType :: Lens' ProjectsGroupsList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pglName :: Lens' ProjectsGroupsList Text Source #
The project whose groups are to be listed. The format is "projects/{project_id_or_number}".
pglPageToken :: Lens' ProjectsGroupsList (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.
pglPageSize :: Lens' ProjectsGroupsList (Maybe Int32) Source #
A positive number that is the maximum number of results to return.
pglAncestorsOfGroup :: Lens' ProjectsGroupsList (Maybe Text) Source #
A group name: "projects/{project_id_or_number}/groups/{group_id}". Returns groups that are ancestors of the specified group. The groups are returned in order, starting with the immediate parent and ending with the most distant ancestor. If the specified group has no immediate parent, the results are empty.
pglCallback :: Lens' ProjectsGroupsList (Maybe Text) Source #
JSONP