Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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
- 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))))))))))
- servicesConnectionsPatch :: Connection -> Text -> ServicesConnectionsPatch
- data ServicesConnectionsPatch
- scpXgafv :: Lens' ServicesConnectionsPatch (Maybe Xgafv)
- scpUploadProtocol :: Lens' ServicesConnectionsPatch (Maybe Text)
- scpForce :: Lens' ServicesConnectionsPatch (Maybe Bool)
- scpUpdateMask :: Lens' ServicesConnectionsPatch (Maybe GFieldMask)
- scpAccessToken :: Lens' ServicesConnectionsPatch (Maybe Text)
- scpUploadType :: Lens' ServicesConnectionsPatch (Maybe Text)
- scpPayload :: Lens' ServicesConnectionsPatch Connection
- scpName :: Lens' ServicesConnectionsPatch Text
- scpCallback :: Lens' ServicesConnectionsPatch (Maybe Text)
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
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.
scpAccessToken :: Lens' ServicesConnectionsPatch (Maybe Text) Source #
OAuth access token.
scpUploadType :: Lens' ServicesConnectionsPatch (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
scpPayload :: Lens' ServicesConnectionsPatch Connection Source #
Multipart request metadata.
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`.
scpCallback :: Lens' ServicesConnectionsPatch (Maybe Text) Source #
JSONP