gogol-datafusion-0.5.0: Google Cloud Data Fusion 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.DataFusion.Projects.Locations.Instances.Restart

Contents

Description

Restart a single Data Fusion instance. At the end of an operation instance is fully restarted.

See: Cloud Data Fusion API Reference for datafusion.projects.locations.instances.restart.

Synopsis

REST Resource

type ProjectsLocationsInstancesRestartResource = "v1beta1" :> (CaptureMode "name" "restart" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] RestartInstanceRequest :> Post '[JSON] Operation)))))))) Source #

A resource alias for datafusion.projects.locations.instances.restart method which the ProjectsLocationsInstancesRestart request conforms to.

Creating a Request

projectsLocationsInstancesRestart Source #

Creates a value of ProjectsLocationsInstancesRestart with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data ProjectsLocationsInstancesRestart Source #

Restart a single Data Fusion instance. At the end of an operation instance is fully restarted.

See: projectsLocationsInstancesRestart smart constructor.

Instances
Eq ProjectsLocationsInstancesRestart Source # 
Instance details

Defined in Network.Google.Resource.DataFusion.Projects.Locations.Instances.Restart

Data ProjectsLocationsInstancesRestart Source # 
Instance details

Defined in Network.Google.Resource.DataFusion.Projects.Locations.Instances.Restart

Methods

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

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

toConstr :: ProjectsLocationsInstancesRestart -> Constr #

dataTypeOf :: ProjectsLocationsInstancesRestart -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsLocationsInstancesRestart Source # 
Instance details

Defined in Network.Google.Resource.DataFusion.Projects.Locations.Instances.Restart

Generic ProjectsLocationsInstancesRestart Source # 
Instance details

Defined in Network.Google.Resource.DataFusion.Projects.Locations.Instances.Restart

Associated Types

type Rep ProjectsLocationsInstancesRestart :: Type -> Type #

GoogleRequest ProjectsLocationsInstancesRestart Source # 
Instance details

Defined in Network.Google.Resource.DataFusion.Projects.Locations.Instances.Restart

type Rep ProjectsLocationsInstancesRestart Source # 
Instance details

Defined in Network.Google.Resource.DataFusion.Projects.Locations.Instances.Restart

type Rep ProjectsLocationsInstancesRestart = D1 (MetaData "ProjectsLocationsInstancesRestart" "Network.Google.Resource.DataFusion.Projects.Locations.Instances.Restart" "gogol-datafusion-0.5.0-Gq6PbGlwVWDGQzR0eMBqAg" False) (C1 (MetaCons "ProjectsLocationsInstancesRestart'" PrefixI True) ((S1 (MetaSel (Just "_plirXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_plirUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_plirAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_plirUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_plirPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 RestartInstanceRequest)) :*: (S1 (MetaSel (Just "_plirName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_plirCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsLocationsInstancesRestart Source # 
Instance details

Defined in Network.Google.Resource.DataFusion.Projects.Locations.Instances.Restart

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

Defined in Network.Google.Resource.DataFusion.Projects.Locations.Instances.Restart

Request Lenses

plirUploadProtocol :: Lens' ProjectsLocationsInstancesRestart (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

plirUploadType :: Lens' ProjectsLocationsInstancesRestart (Maybe Text) Source #

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

plirName :: Lens' ProjectsLocationsInstancesRestart Text Source #

Name of the Data Fusion instance which need to be restarted in the form of projects/{project}/locations/{location}/instances/{instance}