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 |
Hard deletes a Version.
See: Cloud Private Catalog Producer API Reference for cloudprivatecatalogproducer.catalogs.products.versions.delete
.
Synopsis
- type CatalogsProductsVersionsDeleteResource = "v1beta1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] GoogleProtobufEmpty)))))))
- catalogsProductsVersionsDelete :: Text -> CatalogsProductsVersionsDelete
- data CatalogsProductsVersionsDelete
- cpvdXgafv :: Lens' CatalogsProductsVersionsDelete (Maybe Xgafv)
- cpvdUploadProtocol :: Lens' CatalogsProductsVersionsDelete (Maybe Text)
- cpvdAccessToken :: Lens' CatalogsProductsVersionsDelete (Maybe Text)
- cpvdUploadType :: Lens' CatalogsProductsVersionsDelete (Maybe Text)
- cpvdName :: Lens' CatalogsProductsVersionsDelete Text
- cpvdCallback :: Lens' CatalogsProductsVersionsDelete (Maybe Text)
REST Resource
type CatalogsProductsVersionsDeleteResource = "v1beta1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] GoogleProtobufEmpty))))))) Source #
A resource alias for cloudprivatecatalogproducer.catalogs.products.versions.delete
method which the
CatalogsProductsVersionsDelete
request conforms to.
Creating a Request
catalogsProductsVersionsDelete Source #
Creates a value of CatalogsProductsVersionsDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CatalogsProductsVersionsDelete Source #
Hard deletes a Version.
See: catalogsProductsVersionsDelete
smart constructor.
Instances
Request Lenses
cpvdUploadProtocol :: Lens' CatalogsProductsVersionsDelete (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
cpvdAccessToken :: Lens' CatalogsProductsVersionsDelete (Maybe Text) Source #
OAuth access token.
cpvdUploadType :: Lens' CatalogsProductsVersionsDelete (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
cpvdCallback :: Lens' CatalogsProductsVersionsDelete (Maybe Text) Source #
JSONP