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

Contents

Description

Updates an existing group. You can change any group attributes except name.

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

Synopsis

REST Resource

type ProjectsGroupsUpdateResource = "v3" :> (Capture "name" Text :> (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 :> Put '[JSON] Group))))))))) Source #

A resource alias for monitoring.projects.groups.update method which the ProjectsGroupsUpdate request conforms to.

Creating a Request

projectsGroupsUpdate Source #

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

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

data ProjectsGroupsUpdate Source #

Updates an existing group. You can change any group attributes except name.

See: projectsGroupsUpdate smart constructor.

Instances
Eq ProjectsGroupsUpdate Source # 
Instance details

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

Data ProjectsGroupsUpdate Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsGroupsUpdate -> Constr #

dataTypeOf :: ProjectsGroupsUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsGroupsUpdate Source # 
Instance details

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

Generic ProjectsGroupsUpdate Source # 
Instance details

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

Associated Types

type Rep ProjectsGroupsUpdate :: Type -> Type #

GoogleRequest ProjectsGroupsUpdate Source # 
Instance details

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

Associated Types

type Rs ProjectsGroupsUpdate :: Type #

type Scopes ProjectsGroupsUpdate :: [Symbol] #

type Rep ProjectsGroupsUpdate Source # 
Instance details

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

type Rep ProjectsGroupsUpdate = D1 (MetaData "ProjectsGroupsUpdate" "Network.Google.Resource.Monitoring.Projects.Groups.Update" "gogol-monitoring-0.4.0-2c26UZAXxP5IDqve62RFQh" False) (C1 (MetaCons "ProjectsGroupsUpdate'" PrefixI True) (((S1 (MetaSel (Just "_pguXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_pguValidateOnly") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "_pguUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pguAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pguUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pguPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Group)) :*: (S1 (MetaSel (Just "_pguName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pguCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsGroupsUpdate Source # 
Instance details

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

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

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

Request Lenses

pguValidateOnly :: Lens' ProjectsGroupsUpdate (Maybe Bool) Source #

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

pguUploadProtocol :: Lens' ProjectsGroupsUpdate (Maybe Text) Source #

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

pguUploadType :: Lens' ProjectsGroupsUpdate (Maybe Text) Source #

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

pguPayload :: Lens' ProjectsGroupsUpdate Group Source #

Multipart request metadata.

pguName :: Lens' ProjectsGroupsUpdate Text Source #

Output only. The name of this group. The format is "projects/{project_id_or_number}/groups/{group_id}". When creating a group, this field is ignored and a new name is created consisting of the project specified in the call to CreateGroup and a unique {group_id} that is generated automatically.