gogol-servicenetworking-0.5.0: Google Service Networking 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.ServiceNetworking.Services.SearchRange

Contents

Description

Service producers can use this method to find a currently unused range within consumer allocated ranges. This returned range is not reserved, and not guaranteed to remain unused. It will validate previously provided allocated ranges, find non-conflicting sub-range of requested size (expressed in number of leading bits of ipv4 network mask, as in CIDR range notation). Operation

See: Service Networking API Reference for servicenetworking.services.searchRange.

Synopsis

REST Resource

type ServicesSearchRangeResource = "v1" :> (CaptureMode "parent" "searchRange" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SearchRangeRequest :> Post '[JSON] Operation)))))))) Source #

A resource alias for servicenetworking.services.searchRange method which the ServicesSearchRange request conforms to.

Creating a Request

servicesSearchRange Source #

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

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

data ServicesSearchRange Source #

Service producers can use this method to find a currently unused range within consumer allocated ranges. This returned range is not reserved, and not guaranteed to remain unused. It will validate previously provided allocated ranges, find non-conflicting sub-range of requested size (expressed in number of leading bits of ipv4 network mask, as in CIDR range notation). Operation

See: servicesSearchRange smart constructor.

Instances
Eq ServicesSearchRange Source # 
Instance details

Defined in Network.Google.Resource.ServiceNetworking.Services.SearchRange

Data ServicesSearchRange Source # 
Instance details

Defined in Network.Google.Resource.ServiceNetworking.Services.SearchRange

Methods

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

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

toConstr :: ServicesSearchRange -> Constr #

dataTypeOf :: ServicesSearchRange -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ServicesSearchRange Source # 
Instance details

Defined in Network.Google.Resource.ServiceNetworking.Services.SearchRange

Generic ServicesSearchRange Source # 
Instance details

Defined in Network.Google.Resource.ServiceNetworking.Services.SearchRange

Associated Types

type Rep ServicesSearchRange :: Type -> Type #

GoogleRequest ServicesSearchRange Source # 
Instance details

Defined in Network.Google.Resource.ServiceNetworking.Services.SearchRange

Associated Types

type Rs ServicesSearchRange :: Type #

type Scopes ServicesSearchRange :: [Symbol] #

type Rep ServicesSearchRange Source # 
Instance details

Defined in Network.Google.Resource.ServiceNetworking.Services.SearchRange

type Rep ServicesSearchRange = D1 (MetaData "ServicesSearchRange" "Network.Google.Resource.ServiceNetworking.Services.SearchRange" "gogol-servicenetworking-0.5.0-8ZYyNJVUNnRE5WvJBnqzZ8" False) (C1 (MetaCons "ServicesSearchRange'" PrefixI True) ((S1 (MetaSel (Just "_ssrParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_ssrXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_ssrUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_ssrAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ssrUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_ssrPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 SearchRangeRequest) :*: S1 (MetaSel (Just "_ssrCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ServicesSearchRange Source # 
Instance details

Defined in Network.Google.Resource.ServiceNetworking.Services.SearchRange

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

Defined in Network.Google.Resource.ServiceNetworking.Services.SearchRange

Request Lenses

ssrParent :: Lens' ServicesSearchRange Text Source #

Required. This is in a form services/{service}. {service} the name of the private access management service, for example 'service-peering.example.com'.

ssrUploadProtocol :: Lens' ServicesSearchRange (Maybe Text) Source #

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

ssrUploadType :: Lens' ServicesSearchRange (Maybe Text) Source #

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