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 Product.
See: Cloud Private Catalog Producer API Reference for cloudprivatecatalogproducer.catalogs.products.delete
.
Synopsis
- type CatalogsProductsDeleteResource = "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)))))))
- catalogsProductsDelete :: Text -> CatalogsProductsDelete
- data CatalogsProductsDelete
- cpdXgafv :: Lens' CatalogsProductsDelete (Maybe Xgafv)
- cpdUploadProtocol :: Lens' CatalogsProductsDelete (Maybe Text)
- cpdAccessToken :: Lens' CatalogsProductsDelete (Maybe Text)
- cpdUploadType :: Lens' CatalogsProductsDelete (Maybe Text)
- cpdName :: Lens' CatalogsProductsDelete Text
- cpdCallback :: Lens' CatalogsProductsDelete (Maybe Text)
REST Resource
type CatalogsProductsDeleteResource = "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.delete
method which the
CatalogsProductsDelete
request conforms to.
Creating a Request
catalogsProductsDelete Source #
Creates a value of CatalogsProductsDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CatalogsProductsDelete Source #
Hard deletes a Product.
See: catalogsProductsDelete
smart constructor.
Instances
Request Lenses
cpdUploadProtocol :: Lens' CatalogsProductsDelete (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
cpdAccessToken :: Lens' CatalogsProductsDelete (Maybe Text) Source #
OAuth access token.
cpdUploadType :: Lens' CatalogsProductsDelete (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
cpdCallback :: Lens' CatalogsProductsDelete (Maybe Text) Source #
JSONP