gogol-proximitybeacon-0.3.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))))))))))) #

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

Creating a Request

namespacesUpdate #

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 #

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

See: namespacesUpdate smart constructor.

Instances

Eq NamespacesUpdate # 
Data NamespacesUpdate # 

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

Request Lenses

nuXgafv :: Lens' NamespacesUpdate (Maybe Text) #

V1 error format.

nuUploadProtocol :: Lens' NamespacesUpdate (Maybe Text) #

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

nuPp :: Lens' NamespacesUpdate Bool #

Pretty-print response.

nuUploadType :: Lens' NamespacesUpdate (Maybe Text) #

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

nuPayload :: Lens' NamespacesUpdate Namespace #

Multipart request metadata.

nuNamespaceName :: Lens' NamespacesUpdate Text #

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

nuProjectId :: Lens' NamespacesUpdate (Maybe Text) #

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.