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 a single Data Fusion instance.
See: Cloud Data Fusion API Reference for datafusion.projects.locations.instances.patch
.
Synopsis
- type ProjectsLocationsInstancesPatchResource = "v1beta1" :> (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 = "v1beta1" :> (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 datafusion.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 a single Data Fusion 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 #
Field mask is used to specify the fields that the update will overwrite in an instance resource. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask, all the supported fields (labels and options currently) will be overwritten.
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 name of this instance is in the form of projects/{project}/locations/{location}/instances/{instance}.
plipCallback :: Lens' ProjectsLocationsInstancesPatch (Maybe Text) Source #
JSONP