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 |
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
- 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))))))))
- servicesSearchRange :: Text -> SearchRangeRequest -> ServicesSearchRange
- data ServicesSearchRange
- ssrParent :: Lens' ServicesSearchRange Text
- ssrXgafv :: Lens' ServicesSearchRange (Maybe Xgafv)
- ssrUploadProtocol :: Lens' ServicesSearchRange (Maybe Text)
- ssrAccessToken :: Lens' ServicesSearchRange (Maybe Text)
- ssrUploadType :: Lens' ServicesSearchRange (Maybe Text)
- ssrPayload :: Lens' ServicesSearchRange SearchRangeRequest
- ssrCallback :: Lens' ServicesSearchRange (Maybe Text)
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
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
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").
ssrAccessToken :: Lens' ServicesSearchRange (Maybe Text) Source #
OAuth access token.
ssrUploadType :: Lens' ServicesSearchRange (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
ssrPayload :: Lens' ServicesSearchRange SearchRangeRequest Source #
Multipart request metadata.
ssrCallback :: Lens' ServicesSearchRange (Maybe Text) Source #
JSONP