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 the settings of a specific instance.
See: Cloud Filestore API Reference for file.projects.locations.instances.patch
.
Synopsis
- type ProjectsLocationsInstancesPatchResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "updateMask" GFieldMask :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Instance :> Patch '[JSON] Operation)))))))))
- projectsLocationsInstancesPatch :: Instance -> Text -> ProjectsLocationsInstancesPatch
- data ProjectsLocationsInstancesPatch
- plipXgafv :: Lens' ProjectsLocationsInstancesPatch (Maybe Xgafv)
- plipUploadProtocol :: Lens' ProjectsLocationsInstancesPatch (Maybe Text)
- plipUpdateMask :: Lens' ProjectsLocationsInstancesPatch (Maybe GFieldMask)
- plipAccessToken :: Lens' ProjectsLocationsInstancesPatch (Maybe Text)
- plipUploadType :: Lens' ProjectsLocationsInstancesPatch (Maybe Text)
- plipPayload :: Lens' ProjectsLocationsInstancesPatch Instance
- plipName :: Lens' ProjectsLocationsInstancesPatch Text
- plipCallback :: Lens' ProjectsLocationsInstancesPatch (Maybe Text)
REST Resource
type ProjectsLocationsInstancesPatchResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "updateMask" GFieldMask :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Instance :> Patch '[JSON] Operation))))))))) Source #
A resource alias for file.projects.locations.instances.patch
method which the
ProjectsLocationsInstancesPatch
request conforms to.
Creating a Request
projectsLocationsInstancesPatch Source #
Creates a value of ProjectsLocationsInstancesPatch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsLocationsInstancesPatch Source #
Updates the settings of a specific instance.
See: projectsLocationsInstancesPatch
smart constructor.
Instances
Request Lenses
plipUploadProtocol :: Lens' ProjectsLocationsInstancesPatch (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
plipUpdateMask :: Lens' ProjectsLocationsInstancesPatch (Maybe GFieldMask) Source #
Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field may only include these fields: "description"
plipAccessToken :: Lens' ProjectsLocationsInstancesPatch (Maybe Text) Source #
OAuth access token.
plipUploadType :: Lens' ProjectsLocationsInstancesPatch (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
plipPayload :: Lens' ProjectsLocationsInstancesPatch Instance Source #
Multipart request metadata.
plipName :: Lens' ProjectsLocationsInstancesPatch Text Source #
Output only. The resource name of the instance, in the format projects/{project_id}/locations/{location_id}/instances/{instance_id}.
plipCallback :: Lens' ProjectsLocationsInstancesPatch (Maybe Text) Source #
JSONP