gogol-proximitybeacon-0.5.0: Google Proximity Beacon 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.ProximityBeacon.Namespaces.Update

Contents

Description

Updates the information about the specified namespace. Only the namespace visibility can be updated.

See: Proximity Beacon API Reference for proximitybeacon.namespaces.update.

Synopsis

REST Resource

type NamespacesUpdateResource = "v1beta1" :> (Capture "namespaceName" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "projectId" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Namespace :> Put '[JSON] Namespace))))))))) Source #

A resource alias for proximitybeacon.namespaces.update method which the NamespacesUpdate request conforms to.

Creating a Request

namespacesUpdate Source #

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

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

data NamespacesUpdate Source #

Updates the information about the specified namespace. Only the namespace visibility can be updated.

See: namespacesUpdate smart constructor.

Instances
Eq NamespacesUpdate Source # 
Instance details

Defined in Network.Google.Resource.ProximityBeacon.Namespaces.Update

Data NamespacesUpdate Source # 
Instance details

Defined in Network.Google.Resource.ProximityBeacon.Namespaces.Update

Methods

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

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

toConstr :: NamespacesUpdate -> Constr #

dataTypeOf :: NamespacesUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show NamespacesUpdate Source # 
Instance details

Defined in Network.Google.Resource.ProximityBeacon.Namespaces.Update

Generic NamespacesUpdate Source # 
Instance details

Defined in Network.Google.Resource.ProximityBeacon.Namespaces.Update

Associated Types

type Rep NamespacesUpdate :: Type -> Type #

GoogleRequest NamespacesUpdate Source # 
Instance details

Defined in Network.Google.Resource.ProximityBeacon.Namespaces.Update

Associated Types

type Rs NamespacesUpdate :: Type #

type Scopes NamespacesUpdate :: [Symbol] #

type Rep NamespacesUpdate Source # 
Instance details

Defined in Network.Google.Resource.ProximityBeacon.Namespaces.Update

type Rep NamespacesUpdate = D1 (MetaData "NamespacesUpdate" "Network.Google.Resource.ProximityBeacon.Namespaces.Update" "gogol-proximitybeacon-0.5.0-GIbLE1WpA3yJs5qNogS5na" False) (C1 (MetaCons "NamespacesUpdate'" PrefixI True) (((S1 (MetaSel (Just "_nuXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_nuUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_nuAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_nuUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_nuPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Namespace) :*: S1 (MetaSel (Just "_nuNamespaceName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_nuProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_nuCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes NamespacesUpdate Source # 
Instance details

Defined in Network.Google.Resource.ProximityBeacon.Namespaces.Update

type Scopes NamespacesUpdate = "https://www.googleapis.com/auth/userlocation.beacon.registry" ': ([] :: [Symbol])
type Rs NamespacesUpdate Source # 
Instance details

Defined in Network.Google.Resource.ProximityBeacon.Namespaces.Update

Request Lenses

nuUploadProtocol :: Lens' NamespacesUpdate (Maybe Text) Source #

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

nuUploadType :: Lens' NamespacesUpdate (Maybe Text) Source #

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

nuPayload :: Lens' NamespacesUpdate Namespace Source #

Multipart request metadata.

nuNamespaceName :: Lens' NamespacesUpdate Text Source #

Resource name of this namespace. Namespaces names have the format: 'namespaces\/namespace'.

nuProjectId :: Lens' NamespacesUpdate (Maybe Text) Source #

The project id of the namespace to update. If the project id is not specified then the project making the request is used. The project id must match the project that owns the beacon. Optional.