gogol-monitoring-0.4.0: Google Stackdriver Monitoring 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.Monitoring.Projects.Groups.Create

Contents

Description

Creates a new group.

See: Stackdriver Monitoring API Reference for monitoring.projects.groups.create.

Synopsis

REST Resource

type ProjectsGroupsCreateResource = "v3" :> (Capture "name" Text :> ("groups" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "validateOnly" Bool :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Group :> Post '[JSON] Group)))))))))) Source #

A resource alias for monitoring.projects.groups.create method which the ProjectsGroupsCreate request conforms to.

Creating a Request

projectsGroupsCreate Source #

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

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

data ProjectsGroupsCreate Source #

Creates a new group.

See: projectsGroupsCreate smart constructor.

Instances
Eq ProjectsGroupsCreate Source # 
Instance details

Defined in Network.Google.Resource.Monitoring.Projects.Groups.Create

Data ProjectsGroupsCreate Source # 
Instance details

Defined in Network.Google.Resource.Monitoring.Projects.Groups.Create

Methods

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

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

toConstr :: ProjectsGroupsCreate -> Constr #

dataTypeOf :: ProjectsGroupsCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsGroupsCreate Source # 
Instance details

Defined in Network.Google.Resource.Monitoring.Projects.Groups.Create

Generic ProjectsGroupsCreate Source # 
Instance details

Defined in Network.Google.Resource.Monitoring.Projects.Groups.Create

Associated Types

type Rep ProjectsGroupsCreate :: Type -> Type #

GoogleRequest ProjectsGroupsCreate Source # 
Instance details

Defined in Network.Google.Resource.Monitoring.Projects.Groups.Create

Associated Types

type Rs ProjectsGroupsCreate :: Type #

type Scopes ProjectsGroupsCreate :: [Symbol] #

type Rep ProjectsGroupsCreate Source # 
Instance details

Defined in Network.Google.Resource.Monitoring.Projects.Groups.Create

type Rep ProjectsGroupsCreate = D1 (MetaData "ProjectsGroupsCreate" "Network.Google.Resource.Monitoring.Projects.Groups.Create" "gogol-monitoring-0.4.0-2c26UZAXxP5IDqve62RFQh" False) (C1 (MetaCons "ProjectsGroupsCreate'" PrefixI True) (((S1 (MetaSel (Just "_pgcXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_pgcValidateOnly") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "_pgcUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pgcAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pgcUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pgcPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Group)) :*: (S1 (MetaSel (Just "_pgcName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pgcCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsGroupsCreate Source # 
Instance details

Defined in Network.Google.Resource.Monitoring.Projects.Groups.Create

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

Defined in Network.Google.Resource.Monitoring.Projects.Groups.Create

Request Lenses

pgcValidateOnly :: Lens' ProjectsGroupsCreate (Maybe Bool) Source #

If true, validate this request but do not create the group.

pgcUploadProtocol :: Lens' ProjectsGroupsCreate (Maybe Text) Source #

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

pgcUploadType :: Lens' ProjectsGroupsCreate (Maybe Text) Source #

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

pgcPayload :: Lens' ProjectsGroupsCreate Group Source #

Multipart request metadata.

pgcName :: Lens' ProjectsGroupsCreate Text Source #

The project in which to create the group. The format is "projects/{project_id_or_number}".