gogol-proximitybeacon-0.2.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: Google Proximity Beacon API Reference for proximitybeacon.namespaces.update.

Synopsis

REST Resource

type NamespacesUpdateResource = "v1beta1" :> (Capture "namespaceName" Text :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" 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 # 
Data NamespacesUpdate Source # 

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 # 
Generic NamespacesUpdate Source # 
GoogleRequest NamespacesUpdate Source # 
type Rep NamespacesUpdate Source # 
type Scopes NamespacesUpdate Source # 
type Scopes NamespacesUpdate = (:) Symbol "https://www.googleapis.com/auth/userlocation.beacon.registry" ([] Symbol)
type Rs NamespacesUpdate Source # 

Request Lenses

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

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

nuPp :: Lens' NamespacesUpdate Bool Source #

Pretty-print response.

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.