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 |
GetCapabilities returns the server capabilities configuration.
See: Remote Build Execution API Reference for remotebuildexecution.getCapabilities
.
Synopsis
- type GetCapabilitiesResource = "v2" :> (Capture "instanceName" Text :> ("capabilities" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] BuildBazelRemoteExecutionV2ServerCapabilities))))))))
- getCapabilities :: Text -> GetCapabilities
- data GetCapabilities
- gcXgafv :: Lens' GetCapabilities (Maybe Xgafv)
- gcUploadProtocol :: Lens' GetCapabilities (Maybe Text)
- gcAccessToken :: Lens' GetCapabilities (Maybe Text)
- gcUploadType :: Lens' GetCapabilities (Maybe Text)
- gcInstanceName :: Lens' GetCapabilities Text
- gcCallback :: Lens' GetCapabilities (Maybe Text)
REST Resource
type GetCapabilitiesResource = "v2" :> (Capture "instanceName" Text :> ("capabilities" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] BuildBazelRemoteExecutionV2ServerCapabilities)))))))) Source #
A resource alias for remotebuildexecution.getCapabilities
method which the
GetCapabilities
request conforms to.
Creating a Request
Creates a value of GetCapabilities
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GetCapabilities Source #
GetCapabilities returns the server capabilities configuration.
See: getCapabilities
smart constructor.
Instances
Request Lenses
gcUploadProtocol :: Lens' GetCapabilities (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
gcAccessToken :: Lens' GetCapabilities (Maybe Text) Source #
OAuth access token.
gcUploadType :: Lens' GetCapabilities (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
gcInstanceName :: Lens' GetCapabilities Text Source #
The instance of the execution system to operate against. A server may support multiple instances of the execution system (with their own workers, storage, caches, etc.). The server MAY require use of this field to select between them in an implementation-defined fashion, otherwise it can be omitted.
gcCallback :: Lens' GetCapabilities (Maybe Text) Source #
JSONP