gogol-file-0.4.0: Google Cloud Filestore SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.File.Projects.Locations.Instances.Patch

Contents

Description

Updates the settings of a specific instance.

See: Cloud Filestore API Reference for file.projects.locations.instances.patch.

Synopsis

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 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
Eq ProjectsLocationsInstancesPatch Source # 
Instance details

Defined in Network.Google.Resource.File.Projects.Locations.Instances.Patch

Data ProjectsLocationsInstancesPatch Source # 
Instance details

Defined in Network.Google.Resource.File.Projects.Locations.Instances.Patch

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ProjectsLocationsInstancesPatch -> c ProjectsLocationsInstancesPatch #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ProjectsLocationsInstancesPatch #

toConstr :: ProjectsLocationsInstancesPatch -> Constr #

dataTypeOf :: ProjectsLocationsInstancesPatch -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ProjectsLocationsInstancesPatch) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ProjectsLocationsInstancesPatch) #

gmapT :: (forall b. Data b => b -> b) -> ProjectsLocationsInstancesPatch -> ProjectsLocationsInstancesPatch #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ProjectsLocationsInstancesPatch -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ProjectsLocationsInstancesPatch -> r #

gmapQ :: (forall d. Data d => d -> u) -> ProjectsLocationsInstancesPatch -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ProjectsLocationsInstancesPatch -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ProjectsLocationsInstancesPatch -> m ProjectsLocationsInstancesPatch #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ProjectsLocationsInstancesPatch -> m ProjectsLocationsInstancesPatch #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ProjectsLocationsInstancesPatch -> m ProjectsLocationsInstancesPatch #

Show ProjectsLocationsInstancesPatch Source # 
Instance details

Defined in Network.Google.Resource.File.Projects.Locations.Instances.Patch

Generic ProjectsLocationsInstancesPatch Source # 
Instance details

Defined in Network.Google.Resource.File.Projects.Locations.Instances.Patch

Associated Types

type Rep ProjectsLocationsInstancesPatch :: Type -> Type #

GoogleRequest ProjectsLocationsInstancesPatch Source # 
Instance details

Defined in Network.Google.Resource.File.Projects.Locations.Instances.Patch

type Rep ProjectsLocationsInstancesPatch Source # 
Instance details

Defined in Network.Google.Resource.File.Projects.Locations.Instances.Patch

type Rep ProjectsLocationsInstancesPatch = D1 (MetaData "ProjectsLocationsInstancesPatch" "Network.Google.Resource.File.Projects.Locations.Instances.Patch" "gogol-file-0.4.0-9fk2PL5JEmGAVGvmRg4nZ" False) (C1 (MetaCons "ProjectsLocationsInstancesPatch'" PrefixI True) (((S1 (MetaSel (Just "_plipXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_plipUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_plipUpdateMask") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GFieldMask)) :*: S1 (MetaSel (Just "_plipAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_plipUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_plipPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Instance)) :*: (S1 (MetaSel (Just "_plipName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_plipCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsLocationsInstancesPatch Source # 
Instance details

Defined in Network.Google.Resource.File.Projects.Locations.Instances.Patch

type Scopes ProjectsLocationsInstancesPatch = "https://www.googleapis.com/auth/cloud-platform" ': ([] :: [Symbol])
type Rs ProjectsLocationsInstancesPatch Source # 
Instance details

Defined in Network.Google.Resource.File.Projects.Locations.Instances.Patch

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"

plipUploadType :: Lens' ProjectsLocationsInstancesPatch (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").

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}.