| 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 |
Network.Google.Resource.BinaryAuthorization.Projects.Attestors.List
Description
Lists attestors. Returns INVALID_ARGUMENT if the project does not exist.
See: Binary Authorization API Reference for binaryauthorization.projects.attestors.list.
Synopsis
- type ProjectsAttestorsListResource = "v1beta1" :> (Capture "parent" Text :> ("attestors" :> (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] ListAttestorsResponse))))))))))
- projectsAttestorsList :: Text -> ProjectsAttestorsList
- data ProjectsAttestorsList
- palParent :: Lens' ProjectsAttestorsList Text
- palXgafv :: Lens' ProjectsAttestorsList (Maybe Xgafv)
- palUploadProtocol :: Lens' ProjectsAttestorsList (Maybe Text)
- palAccessToken :: Lens' ProjectsAttestorsList (Maybe Text)
- palUploadType :: Lens' ProjectsAttestorsList (Maybe Text)
- palPageToken :: Lens' ProjectsAttestorsList (Maybe Text)
- palPageSize :: Lens' ProjectsAttestorsList (Maybe Int32)
- palCallback :: Lens' ProjectsAttestorsList (Maybe Text)
REST Resource
type ProjectsAttestorsListResource = "v1beta1" :> (Capture "parent" Text :> ("attestors" :> (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] ListAttestorsResponse)))))))))) Source #
A resource alias for binaryauthorization.projects.attestors.list method which the
ProjectsAttestorsList request conforms to.
Creating a Request
projectsAttestorsList Source #
Arguments
| :: Text | |
| -> ProjectsAttestorsList |
Creates a value of ProjectsAttestorsList with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsAttestorsList Source #
Lists attestors. Returns INVALID_ARGUMENT if the project does not exist.
See: projectsAttestorsList smart constructor.
Instances
Request Lenses
palParent :: Lens' ProjectsAttestorsList Text Source #
Required. The resource name of the project associated with the attestors, in the format `projects/*`.
palUploadProtocol :: Lens' ProjectsAttestorsList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
palAccessToken :: Lens' ProjectsAttestorsList (Maybe Text) Source #
OAuth access token.
palUploadType :: Lens' ProjectsAttestorsList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
palPageToken :: Lens' ProjectsAttestorsList (Maybe Text) Source #
A token identifying a page of results the server should return. Typically, this is the value of ListAttestorsResponse.next_page_token returned from the previous call to the `ListAttestors` method.
palPageSize :: Lens' ProjectsAttestorsList (Maybe Int32) Source #
Requested page size. The server may return fewer results than requested. If unspecified, the server will pick an appropriate default.
palCallback :: Lens' ProjectsAttestorsList (Maybe Text) Source #
JSONP