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.Connections.Patch

Contents

Description

Updates the allocated ranges that are assigned to a connection. The response from the `get` operation will be of type `Connection` if the operation successfully completes.

See: Service Networking API Reference for servicenetworking.services.connections.patch.

Synopsis

REST Resource

type ServicesConnectionsPatchResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "force" Bool :> (QueryParam "updateMask" GFieldMask :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Connection :> Patch '[JSON] Operation)))))))))) Source #

A resource alias for servicenetworking.services.connections.patch method which the ServicesConnectionsPatch request conforms to.

Creating a Request

servicesConnectionsPatch Source #

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

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

data ServicesConnectionsPatch Source #

Updates the allocated ranges that are assigned to a connection. The response from the `get` operation will be of type `Connection` if the operation successfully completes.

See: servicesConnectionsPatch smart constructor.

Instances
Eq ServicesConnectionsPatch Source # 
Instance details

Defined in Network.Google.Resource.ServiceNetworking.Services.Connections.Patch

Data ServicesConnectionsPatch Source # 
Instance details

Defined in Network.Google.Resource.ServiceNetworking.Services.Connections.Patch

Methods

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

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

toConstr :: ServicesConnectionsPatch -> Constr #

dataTypeOf :: ServicesConnectionsPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ServicesConnectionsPatch Source # 
Instance details

Defined in Network.Google.Resource.ServiceNetworking.Services.Connections.Patch

Generic ServicesConnectionsPatch Source # 
Instance details

Defined in Network.Google.Resource.ServiceNetworking.Services.Connections.Patch

Associated Types

type Rep ServicesConnectionsPatch :: Type -> Type #

GoogleRequest ServicesConnectionsPatch Source # 
Instance details

Defined in Network.Google.Resource.ServiceNetworking.Services.Connections.Patch

type Rep ServicesConnectionsPatch Source # 
Instance details

Defined in Network.Google.Resource.ServiceNetworking.Services.Connections.Patch

type Rep ServicesConnectionsPatch = D1 (MetaData "ServicesConnectionsPatch" "Network.Google.Resource.ServiceNetworking.Services.Connections.Patch" "gogol-servicenetworking-0.5.0-8ZYyNJVUNnRE5WvJBnqzZ8" False) (C1 (MetaCons "ServicesConnectionsPatch'" PrefixI True) (((S1 (MetaSel (Just "_scpXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_scpUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_scpForce") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_scpUpdateMask") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GFieldMask)))) :*: ((S1 (MetaSel (Just "_scpAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_scpUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_scpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Connection) :*: (S1 (MetaSel (Just "_scpName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_scpCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))
type Scopes ServicesConnectionsPatch Source # 
Instance details

Defined in Network.Google.Resource.ServiceNetworking.Services.Connections.Patch

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

Defined in Network.Google.Resource.ServiceNetworking.Services.Connections.Patch

Request Lenses

scpUploadProtocol :: Lens' ServicesConnectionsPatch (Maybe Text) Source #

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

scpForce :: Lens' ServicesConnectionsPatch (Maybe Bool) Source #

If a previously defined allocated range is removed, force flag must be set to true.

scpUpdateMask :: Lens' ServicesConnectionsPatch (Maybe GFieldMask) Source #

The update mask. If this is omitted, it defaults to "*". You can only update the listed peering ranges.

scpUploadType :: Lens' ServicesConnectionsPatch (Maybe Text) Source #

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

scpName :: Lens' ServicesConnectionsPatch Text Source #

The private service connection that connects to a service producer organization. The name includes both the private service name and the VPC network peering name in the format of `services/{peering_service_name}/connections/{vpc_peering_name}`. For Google services that support this functionality, this is `services/servicenetworking.googleapis.com/connections/servicenetworking-googleapis-com`.