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 |
Updates an instance within a project. This method updates only the display name and type for an Instance. To update other Instance properties, such as labels, use PartialUpdateInstance.
See: Cloud Bigtable Admin API Reference for bigtableadmin.projects.instances.update
.
Synopsis
- type ProjectsInstancesUpdateResource = "v2" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Instance :> Put '[JSON] Instance))))))))
- projectsInstancesUpdate :: Instance -> Text -> ProjectsInstancesUpdate
- data ProjectsInstancesUpdate
- piuXgafv :: Lens' ProjectsInstancesUpdate (Maybe Xgafv)
- piuUploadProtocol :: Lens' ProjectsInstancesUpdate (Maybe Text)
- piuAccessToken :: Lens' ProjectsInstancesUpdate (Maybe Text)
- piuUploadType :: Lens' ProjectsInstancesUpdate (Maybe Text)
- piuPayload :: Lens' ProjectsInstancesUpdate Instance
- piuName :: Lens' ProjectsInstancesUpdate Text
- piuCallback :: Lens' ProjectsInstancesUpdate (Maybe Text)
REST Resource
type ProjectsInstancesUpdateResource = "v2" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Instance :> Put '[JSON] Instance)))))))) Source #
A resource alias for bigtableadmin.projects.instances.update
method which the
ProjectsInstancesUpdate
request conforms to.
Creating a Request
projectsInstancesUpdate Source #
Creates a value of ProjectsInstancesUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsInstancesUpdate Source #
Updates an instance within a project. This method updates only the display name and type for an Instance. To update other Instance properties, such as labels, use PartialUpdateInstance.
See: projectsInstancesUpdate
smart constructor.
Instances
Request Lenses
piuUploadProtocol :: Lens' ProjectsInstancesUpdate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
piuAccessToken :: Lens' ProjectsInstancesUpdate (Maybe Text) Source #
OAuth access token.
piuUploadType :: Lens' ProjectsInstancesUpdate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
piuPayload :: Lens' ProjectsInstancesUpdate Instance Source #
Multipart request metadata.
piuName :: Lens' ProjectsInstancesUpdate Text Source #
(`OutputOnly`) The unique name of the instance. Values are of the form `projects//instances/a-z+[a-z0-9]`.
piuCallback :: Lens' ProjectsInstancesUpdate (Maybe Text) Source #
JSONP